@burdenoff/microfe-bigconsole 2026.510.54

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 (912) hide show
  1. package/README.md +88 -0
  2. package/dist/bigconsole/BigConsoleRoot.d.ts +29 -0
  3. package/dist/bigconsole/BigConsoleRoot.d.ts.map +1 -0
  4. package/dist/bigconsole/BigConsoleRoot.js +215 -0
  5. package/dist/bigconsole/BigConsoleRoot.js.map +1 -0
  6. package/dist/bigconsole/BigConsoleRoutes.d.ts +6 -0
  7. package/dist/bigconsole/BigConsoleRoutes.d.ts.map +1 -0
  8. package/dist/bigconsole/BigConsoleRoutes.js +239 -0
  9. package/dist/bigconsole/BigConsoleRoutes.js.map +1 -0
  10. package/dist/bigconsole/components/DrilldownDashboardRenderer.d.ts +11 -0
  11. package/dist/bigconsole/components/DrilldownDashboardRenderer.d.ts.map +1 -0
  12. package/dist/bigconsole/components/DrilldownDashboardRenderer.js +199 -0
  13. package/dist/bigconsole/components/DrilldownDashboardRenderer.js.map +1 -0
  14. package/dist/bigconsole/components/DrilldownModal.d.ts +11 -0
  15. package/dist/bigconsole/components/DrilldownModal.d.ts.map +1 -0
  16. package/dist/bigconsole/components/DrilldownModal.js +117 -0
  17. package/dist/bigconsole/components/DrilldownModal.js.map +1 -0
  18. package/dist/bigconsole/components/dashboard/CreateDashboardDialog.d.ts +19 -0
  19. package/dist/bigconsole/components/dashboard/CreateDashboardDialog.d.ts.map +1 -0
  20. package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +430 -0
  21. package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js.map +1 -0
  22. package/dist/bigconsole/components/dashboard/DashboardCanvas.d.ts +44 -0
  23. package/dist/bigconsole/components/dashboard/DashboardCanvas.d.ts.map +1 -0
  24. package/dist/bigconsole/components/dashboard/DashboardCanvas.js +342 -0
  25. package/dist/bigconsole/components/dashboard/DashboardCanvas.js.map +1 -0
  26. package/dist/bigconsole/components/dashboard/DashboardGrid.d.ts +25 -0
  27. package/dist/bigconsole/components/dashboard/DashboardGrid.d.ts.map +1 -0
  28. package/dist/bigconsole/components/dashboard/DashboardGrid.js +88 -0
  29. package/dist/bigconsole/components/dashboard/DashboardGrid.js.map +1 -0
  30. package/dist/bigconsole/components/dashboard/DashboardToolbar.d.ts +27 -0
  31. package/dist/bigconsole/components/dashboard/DashboardToolbar.d.ts.map +1 -0
  32. package/dist/bigconsole/components/dashboard/DashboardToolbar.js +131 -0
  33. package/dist/bigconsole/components/dashboard/DashboardToolbar.js.map +1 -0
  34. package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.d.ts +26 -0
  35. package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.d.ts.map +1 -0
  36. package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js +107 -0
  37. package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js.map +1 -0
  38. package/dist/bigconsole/components/dashboard/ExportDashboardDialog.d.ts +17 -0
  39. package/dist/bigconsole/components/dashboard/ExportDashboardDialog.d.ts.map +1 -0
  40. package/dist/bigconsole/components/dashboard/ExportDashboardDialog.js +342 -0
  41. package/dist/bigconsole/components/dashboard/ExportDashboardDialog.js.map +1 -0
  42. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.d.ts +12 -0
  43. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.d.ts.map +1 -0
  44. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +449 -0
  45. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js.map +1 -0
  46. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.d.ts +16 -0
  47. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.d.ts.map +1 -0
  48. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js +415 -0
  49. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js.map +1 -0
  50. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.d.ts +13 -0
  51. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.d.ts.map +1 -0
  52. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js +315 -0
  53. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js.map +1 -0
  54. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.d.ts +19 -0
  55. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.d.ts.map +1 -0
  56. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js +365 -0
  57. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js.map +1 -0
  58. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/index.d.ts +8 -0
  59. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/index.d.ts.map +1 -0
  60. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/index.js +3 -0
  61. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.d.ts +10 -0
  62. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.d.ts.map +1 -0
  63. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +486 -0
  64. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js.map +1 -0
  65. package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.d.ts +26 -0
  66. package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.d.ts.map +1 -0
  67. package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.js +224 -0
  68. package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.js.map +1 -0
  69. package/dist/bigconsole/components/dashboard/PageTabsManager/index.d.ts +6 -0
  70. package/dist/bigconsole/components/dashboard/PageTabsManager/index.d.ts.map +1 -0
  71. package/dist/bigconsole/components/dashboard/PageTabsManager/index.js +1 -0
  72. package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.d.ts +12 -0
  73. package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.d.ts.map +1 -0
  74. package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js +494 -0
  75. package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js.map +1 -0
  76. package/dist/bigconsole/components/dashboard/SavedViewsDropdown/index.d.ts +6 -0
  77. package/dist/bigconsole/components/dashboard/SavedViewsDropdown/index.d.ts.map +1 -0
  78. package/dist/bigconsole/components/dashboard/SavedViewsDropdown/index.js +1 -0
  79. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.d.ts +11 -0
  80. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.d.ts.map +1 -0
  81. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +477 -0
  82. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js.map +1 -0
  83. package/dist/bigconsole/components/dashboard/ShareDialog/index.d.ts +6 -0
  84. package/dist/bigconsole/components/dashboard/ShareDialog/index.d.ts.map +1 -0
  85. package/dist/bigconsole/components/dashboard/ShareDialog/index.js +1 -0
  86. package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.d.ts +19 -0
  87. package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.d.ts.map +1 -0
  88. package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js +905 -0
  89. package/dist/bigconsole/components/dashboard/TemplatePicker/TemplatePicker.js.map +1 -0
  90. package/dist/bigconsole/components/dashboard/TemplatePicker/index.d.ts +6 -0
  91. package/dist/bigconsole/components/dashboard/TemplatePicker/index.d.ts.map +1 -0
  92. package/dist/bigconsole/components/dashboard/TemplatePicker/index.js +1 -0
  93. package/dist/bigconsole/components/dashboard/WidgetPalette.d.ts +23 -0
  94. package/dist/bigconsole/components/dashboard/WidgetPalette.d.ts.map +1 -0
  95. package/dist/bigconsole/components/dashboard/WidgetPalette.js +462 -0
  96. package/dist/bigconsole/components/dashboard/WidgetPalette.js.map +1 -0
  97. package/dist/bigconsole/components/dashboard/index.d.ts +19 -0
  98. package/dist/bigconsole/components/dashboard/index.d.ts.map +1 -0
  99. package/dist/bigconsole/components/dashboard/index.js +20 -0
  100. package/dist/bigconsole/components/datasink/CacheTTLSelector.d.ts +18 -0
  101. package/dist/bigconsole/components/datasink/CacheTTLSelector.d.ts.map +1 -0
  102. package/dist/bigconsole/components/datasink/CacheTTLSelector.js +247 -0
  103. package/dist/bigconsole/components/datasink/CacheTTLSelector.js.map +1 -0
  104. package/dist/bigconsole/components/datasink/ConfigurationForm.d.ts +21 -0
  105. package/dist/bigconsole/components/datasink/ConfigurationForm.d.ts.map +1 -0
  106. package/dist/bigconsole/components/datasink/DataPreviewPanel.d.ts +20 -0
  107. package/dist/bigconsole/components/datasink/DataPreviewPanel.d.ts.map +1 -0
  108. package/dist/bigconsole/components/datasink/DataSinkCard.d.ts +23 -0
  109. package/dist/bigconsole/components/datasink/DataSinkCard.d.ts.map +1 -0
  110. package/dist/bigconsole/components/datasink/DataSinkCard.js +137 -0
  111. package/dist/bigconsole/components/datasink/DataSinkCard.js.map +1 -0
  112. package/dist/bigconsole/components/datasink/DataSinkDataViewer.d.ts +18 -0
  113. package/dist/bigconsole/components/datasink/DataSinkDataViewer.d.ts.map +1 -0
  114. package/dist/bigconsole/components/datasink/DataSinkDataViewer.js +43 -0
  115. package/dist/bigconsole/components/datasink/DataSinkDataViewer.js.map +1 -0
  116. package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.d.ts +17 -0
  117. package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.d.ts.map +1 -0
  118. package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js +87 -0
  119. package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js.map +1 -0
  120. package/dist/bigconsole/components/datasink/DataSinkRefreshConfig.d.ts +22 -0
  121. package/dist/bigconsole/components/datasink/DataSinkRefreshConfig.d.ts.map +1 -0
  122. package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.d.ts +17 -0
  123. package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.d.ts.map +1 -0
  124. package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js +88 -0
  125. package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js.map +1 -0
  126. package/dist/bigconsole/components/datasink/DataSinkStatusBadge.d.ts +13 -0
  127. package/dist/bigconsole/components/datasink/DataSinkStatusBadge.d.ts.map +1 -0
  128. package/dist/bigconsole/components/datasink/DataSinkStatusBadge.js +98 -0
  129. package/dist/bigconsole/components/datasink/DataSinkStatusBadge.js.map +1 -0
  130. package/dist/bigconsole/components/datasink/DataSinkTableViewer.d.ts +13 -0
  131. package/dist/bigconsole/components/datasink/DataSinkTableViewer.d.ts.map +1 -0
  132. package/dist/bigconsole/components/datasink/DataSinkTableViewer.js +174 -0
  133. package/dist/bigconsole/components/datasink/DataSinkTableViewer.js.map +1 -0
  134. package/dist/bigconsole/components/datasink/ExportDataSinkDialog.d.ts +17 -0
  135. package/dist/bigconsole/components/datasink/ExportDataSinkDialog.d.ts.map +1 -0
  136. package/dist/bigconsole/components/datasink/ExportDataSinkDialog.js +322 -0
  137. package/dist/bigconsole/components/datasink/ExportDataSinkDialog.js.map +1 -0
  138. package/dist/bigconsole/components/datasink/FluidGridsPanel.d.ts +31 -0
  139. package/dist/bigconsole/components/datasink/FluidGridsPanel.d.ts.map +1 -0
  140. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.d.ts +10 -0
  141. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.d.ts.map +1 -0
  142. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +402 -0
  143. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js.map +1 -0
  144. package/dist/bigconsole/components/datasink/LinkedParsersPanel.d.ts +12 -0
  145. package/dist/bigconsole/components/datasink/LinkedParsersPanel.d.ts.map +1 -0
  146. package/dist/bigconsole/components/datasink/LinkedParsersPanel.js +128 -0
  147. package/dist/bigconsole/components/datasink/LinkedParsersPanel.js.map +1 -0
  148. package/dist/bigconsole/components/datasink/LinkedWorkflowsPanel.d.ts +11 -0
  149. package/dist/bigconsole/components/datasink/LinkedWorkflowsPanel.d.ts.map +1 -0
  150. package/dist/bigconsole/components/datasink/LinkedWorkflowsPanel.js +204 -0
  151. package/dist/bigconsole/components/datasink/LinkedWorkflowsPanel.js.map +1 -0
  152. package/dist/bigconsole/components/datasink/RefreshTypeSelector.d.ts +26 -0
  153. package/dist/bigconsole/components/datasink/RefreshTypeSelector.d.ts.map +1 -0
  154. package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +301 -0
  155. package/dist/bigconsole/components/datasink/RefreshTypeSelector.js.map +1 -0
  156. package/dist/bigconsole/components/datasink/SetupStateBadge.d.ts +13 -0
  157. package/dist/bigconsole/components/datasink/SetupStateBadge.d.ts.map +1 -0
  158. package/dist/bigconsole/components/datasink/SetupStateBadge.js +107 -0
  159. package/dist/bigconsole/components/datasink/SetupStateBadge.js.map +1 -0
  160. package/dist/bigconsole/components/datasink/WorkflowStatusPanel.d.ts +30 -0
  161. package/dist/bigconsole/components/datasink/WorkflowStatusPanel.d.ts.map +1 -0
  162. package/dist/bigconsole/components/datasink/WorkflowStatusPanel.js +163 -0
  163. package/dist/bigconsole/components/datasink/WorkflowStatusPanel.js.map +1 -0
  164. package/dist/bigconsole/components/datasink/index.d.ts +24 -0
  165. package/dist/bigconsole/components/datasink/index.d.ts.map +1 -0
  166. package/dist/bigconsole/components/parser/DataSinkSelector.d.ts +21 -0
  167. package/dist/bigconsole/components/parser/DataSinkSelector.d.ts.map +1 -0
  168. package/dist/bigconsole/components/parser/DataSinkSelector.js +174 -0
  169. package/dist/bigconsole/components/parser/DataSinkSelector.js.map +1 -0
  170. package/dist/bigconsole/components/parser/ExportParserDialog.d.ts +17 -0
  171. package/dist/bigconsole/components/parser/ExportParserDialog.d.ts.map +1 -0
  172. package/dist/bigconsole/components/parser/ExportParserDialog.js +322 -0
  173. package/dist/bigconsole/components/parser/ExportParserDialog.js.map +1 -0
  174. package/dist/bigconsole/components/parser/ExpressionEditor.d.ts +25 -0
  175. package/dist/bigconsole/components/parser/ExpressionEditor.d.ts.map +1 -0
  176. package/dist/bigconsole/components/parser/ExpressionEditor.js +119 -0
  177. package/dist/bigconsole/components/parser/ExpressionEditor.js.map +1 -0
  178. package/dist/bigconsole/components/parser/ImportParserDialog.d.ts +12 -0
  179. package/dist/bigconsole/components/parser/ImportParserDialog.d.ts.map +1 -0
  180. package/dist/bigconsole/components/parser/ImportParserDialog.js +427 -0
  181. package/dist/bigconsole/components/parser/ImportParserDialog.js.map +1 -0
  182. package/dist/bigconsole/components/parser/ParserBuilder.d.ts +41 -0
  183. package/dist/bigconsole/components/parser/ParserBuilder.d.ts.map +1 -0
  184. package/dist/bigconsole/components/parser/ParserCard.d.ts +23 -0
  185. package/dist/bigconsole/components/parser/ParserCard.d.ts.map +1 -0
  186. package/dist/bigconsole/components/parser/ParserCard.js +248 -0
  187. package/dist/bigconsole/components/parser/ParserCard.js.map +1 -0
  188. package/dist/bigconsole/components/parser/ParserFormDialog.d.ts +42 -0
  189. package/dist/bigconsole/components/parser/ParserFormDialog.d.ts.map +1 -0
  190. package/dist/bigconsole/components/parser/ParserSelector.d.ts +27 -0
  191. package/dist/bigconsole/components/parser/ParserSelector.d.ts.map +1 -0
  192. package/dist/bigconsole/components/parser/ParserSelector.js +263 -0
  193. package/dist/bigconsole/components/parser/ParserSelector.js.map +1 -0
  194. package/dist/bigconsole/components/parser/ParserStatusBadge.d.ts +13 -0
  195. package/dist/bigconsole/components/parser/ParserStatusBadge.d.ts.map +1 -0
  196. package/dist/bigconsole/components/parser/ParserStatusBadge.js +74 -0
  197. package/dist/bigconsole/components/parser/ParserStatusBadge.js.map +1 -0
  198. package/dist/bigconsole/components/parser/ParserTypeBadge.d.ts +11 -0
  199. package/dist/bigconsole/components/parser/ParserTypeBadge.d.ts.map +1 -0
  200. package/dist/bigconsole/components/parser/ParserTypeBadge.js +48 -0
  201. package/dist/bigconsole/components/parser/ParserTypeBadge.js.map +1 -0
  202. package/dist/bigconsole/components/parser/TestPanel.d.ts +25 -0
  203. package/dist/bigconsole/components/parser/TestPanel.d.ts.map +1 -0
  204. package/dist/bigconsole/components/parser/index.d.ts +17 -0
  205. package/dist/bigconsole/components/parser/index.d.ts.map +1 -0
  206. package/dist/bigconsole/components/pipeline/PipelineCard.d.ts +12 -0
  207. package/dist/bigconsole/components/pipeline/PipelineCard.d.ts.map +1 -0
  208. package/dist/bigconsole/components/pipeline/PipelineCard.js +159 -0
  209. package/dist/bigconsole/components/pipeline/PipelineCard.js.map +1 -0
  210. package/dist/bigconsole/components/pipeline/PipelineDeleteDialog.d.ts +11 -0
  211. package/dist/bigconsole/components/pipeline/PipelineDeleteDialog.d.ts.map +1 -0
  212. package/dist/bigconsole/components/pipeline/PipelineDeleteDialog.js +94 -0
  213. package/dist/bigconsole/components/pipeline/PipelineDeleteDialog.js.map +1 -0
  214. package/dist/bigconsole/components/pipeline/PipelineStatusBadge.d.ts +9 -0
  215. package/dist/bigconsole/components/pipeline/PipelineStatusBadge.d.ts.map +1 -0
  216. package/dist/bigconsole/components/pipeline/PipelineStatusBadge.js +36 -0
  217. package/dist/bigconsole/components/pipeline/PipelineStatusBadge.js.map +1 -0
  218. package/dist/bigconsole/components/pipeline/index.d.ts +9 -0
  219. package/dist/bigconsole/components/pipeline/index.d.ts.map +1 -0
  220. package/dist/bigconsole/components/widgets/ActionConfigDialog.d.ts +13 -0
  221. package/dist/bigconsole/components/widgets/ActionConfigDialog.d.ts.map +1 -0
  222. package/dist/bigconsole/components/widgets/ActionConfigDialog.js +671 -0
  223. package/dist/bigconsole/components/widgets/ActionConfigDialog.js.map +1 -0
  224. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.d.ts +26 -0
  225. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.d.ts.map +1 -0
  226. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +378 -0
  227. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js.map +1 -0
  228. package/dist/bigconsole/components/widgets/PropertiesPanel.d.ts +9 -0
  229. package/dist/bigconsole/components/widgets/PropertiesPanel.d.ts.map +1 -0
  230. package/dist/bigconsole/components/widgets/PropertiesPanel.js +1594 -0
  231. package/dist/bigconsole/components/widgets/PropertiesPanel.js.map +1 -0
  232. package/dist/bigconsole/components/widgets/WidgetConfigDialog.d.ts +25 -0
  233. package/dist/bigconsole/components/widgets/WidgetConfigDialog.d.ts.map +1 -0
  234. package/dist/bigconsole/components/widgets/WidgetConfigDialog.js +882 -0
  235. package/dist/bigconsole/components/widgets/WidgetConfigDialog.js.map +1 -0
  236. package/dist/bigconsole/components/widgets/WidgetErrorBoundary.d.ts +23 -0
  237. package/dist/bigconsole/components/widgets/WidgetErrorBoundary.d.ts.map +1 -0
  238. package/dist/bigconsole/components/widgets/WidgetErrorBoundary.js +75 -0
  239. package/dist/bigconsole/components/widgets/WidgetErrorBoundary.js.map +1 -0
  240. package/dist/bigconsole/components/widgets/WidgetHeader.d.ts +31 -0
  241. package/dist/bigconsole/components/widgets/WidgetHeader.d.ts.map +1 -0
  242. package/dist/bigconsole/components/widgets/WidgetHeader.js +265 -0
  243. package/dist/bigconsole/components/widgets/WidgetHeader.js.map +1 -0
  244. package/dist/bigconsole/components/widgets/WidgetMenu.d.ts +18 -0
  245. package/dist/bigconsole/components/widgets/WidgetMenu.d.ts.map +1 -0
  246. package/dist/bigconsole/components/widgets/WidgetMenu.js +296 -0
  247. package/dist/bigconsole/components/widgets/WidgetMenu.js.map +1 -0
  248. package/dist/bigconsole/components/widgets/WidgetRegistry.d.ts +113 -0
  249. package/dist/bigconsole/components/widgets/WidgetRegistry.d.ts.map +1 -0
  250. package/dist/bigconsole/components/widgets/WidgetRegistry.js +836 -0
  251. package/dist/bigconsole/components/widgets/WidgetRegistry.js.map +1 -0
  252. package/dist/bigconsole/components/widgets/WidgetTypeSelector.d.ts +16 -0
  253. package/dist/bigconsole/components/widgets/WidgetTypeSelector.d.ts.map +1 -0
  254. package/dist/bigconsole/components/widgets/WidgetTypeSelector.js +291 -0
  255. package/dist/bigconsole/components/widgets/WidgetTypeSelector.js.map +1 -0
  256. package/dist/bigconsole/components/widgets/WidgetWrapper.d.ts +31 -0
  257. package/dist/bigconsole/components/widgets/WidgetWrapper.d.ts.map +1 -0
  258. package/dist/bigconsole/components/widgets/WidgetWrapper.js +516 -0
  259. package/dist/bigconsole/components/widgets/WidgetWrapper.js.map +1 -0
  260. package/dist/bigconsole/components/widgets/adaptive-card/AdaptiveCardWidget.d.ts +38 -0
  261. package/dist/bigconsole/components/widgets/adaptive-card/AdaptiveCardWidget.d.ts.map +1 -0
  262. package/dist/bigconsole/components/widgets/adaptive-card/AdaptiveCardWidget.js +106 -0
  263. package/dist/bigconsole/components/widgets/adaptive-card/AdaptiveCardWidget.js.map +1 -0
  264. package/dist/bigconsole/components/widgets/adaptive-card/index.d.ts +7 -0
  265. package/dist/bigconsole/components/widgets/adaptive-card/index.d.ts.map +1 -0
  266. package/dist/bigconsole/components/widgets/adaptive-card/index.js +2 -0
  267. package/dist/bigconsole/components/widgets/area-chart/index.d.ts +12 -0
  268. package/dist/bigconsole/components/widgets/area-chart/index.d.ts.map +1 -0
  269. package/dist/bigconsole/components/widgets/bar-chart/index.d.ts +12 -0
  270. package/dist/bigconsole/components/widgets/bar-chart/index.d.ts.map +1 -0
  271. package/dist/bigconsole/components/widgets/calendar/CalendarWidget.d.ts +25 -0
  272. package/dist/bigconsole/components/widgets/calendar/CalendarWidget.d.ts.map +1 -0
  273. package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js +113 -0
  274. package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js.map +1 -0
  275. package/dist/bigconsole/components/widgets/calendar/index.d.ts +3 -0
  276. package/dist/bigconsole/components/widgets/calendar/index.d.ts.map +1 -0
  277. package/dist/bigconsole/components/widgets/calendar/index.js +2 -0
  278. package/dist/bigconsole/components/widgets/chart/ChartConfig.d.ts +12 -0
  279. package/dist/bigconsole/components/widgets/chart/ChartConfig.d.ts.map +1 -0
  280. package/dist/bigconsole/components/widgets/chart/ChartConfig.js +254 -0
  281. package/dist/bigconsole/components/widgets/chart/ChartConfig.js.map +1 -0
  282. package/dist/bigconsole/components/widgets/chart/ChartLegend.d.ts +25 -0
  283. package/dist/bigconsole/components/widgets/chart/ChartLegend.d.ts.map +1 -0
  284. package/dist/bigconsole/components/widgets/chart/ChartLegend.js +40 -0
  285. package/dist/bigconsole/components/widgets/chart/ChartLegend.js.map +1 -0
  286. package/dist/bigconsole/components/widgets/chart/ChartTooltip.d.ts +24 -0
  287. package/dist/bigconsole/components/widgets/chart/ChartTooltip.d.ts.map +1 -0
  288. package/dist/bigconsole/components/widgets/chart/ChartTooltip.js +34 -0
  289. package/dist/bigconsole/components/widgets/chart/ChartTooltip.js.map +1 -0
  290. package/dist/bigconsole/components/widgets/chart/ChartWidget.d.ts +17 -0
  291. package/dist/bigconsole/components/widgets/chart/ChartWidget.d.ts.map +1 -0
  292. package/dist/bigconsole/components/widgets/chart/ChartWidget.js +151 -0
  293. package/dist/bigconsole/components/widgets/chart/ChartWidget.js.map +1 -0
  294. package/dist/bigconsole/components/widgets/chart/charts/AreaChart.d.ts +16 -0
  295. package/dist/bigconsole/components/widgets/chart/charts/AreaChart.d.ts.map +1 -0
  296. package/dist/bigconsole/components/widgets/chart/charts/AreaChart.js +104 -0
  297. package/dist/bigconsole/components/widgets/chart/charts/AreaChart.js.map +1 -0
  298. package/dist/bigconsole/components/widgets/chart/charts/BarChart.d.ts +16 -0
  299. package/dist/bigconsole/components/widgets/chart/charts/BarChart.d.ts.map +1 -0
  300. package/dist/bigconsole/components/widgets/chart/charts/BarChart.js +90 -0
  301. package/dist/bigconsole/components/widgets/chart/charts/BarChart.js.map +1 -0
  302. package/dist/bigconsole/components/widgets/chart/charts/FunnelChart.d.ts +18 -0
  303. package/dist/bigconsole/components/widgets/chart/charts/FunnelChart.d.ts.map +1 -0
  304. package/dist/bigconsole/components/widgets/chart/charts/FunnelChart.js +70 -0
  305. package/dist/bigconsole/components/widgets/chart/charts/FunnelChart.js.map +1 -0
  306. package/dist/bigconsole/components/widgets/chart/charts/LineChart.d.ts +16 -0
  307. package/dist/bigconsole/components/widgets/chart/charts/LineChart.d.ts.map +1 -0
  308. package/dist/bigconsole/components/widgets/chart/charts/LineChart.js +96 -0
  309. package/dist/bigconsole/components/widgets/chart/charts/LineChart.js.map +1 -0
  310. package/dist/bigconsole/components/widgets/chart/charts/PieChart.d.ts +18 -0
  311. package/dist/bigconsole/components/widgets/chart/charts/PieChart.d.ts.map +1 -0
  312. package/dist/bigconsole/components/widgets/chart/charts/PieChart.js +98 -0
  313. package/dist/bigconsole/components/widgets/chart/charts/PieChart.js.map +1 -0
  314. package/dist/bigconsole/components/widgets/chart/charts/index.d.ts +12 -0
  315. package/dist/bigconsole/components/widgets/chart/charts/index.d.ts.map +1 -0
  316. package/dist/bigconsole/components/widgets/chart/charts/index.js +5 -0
  317. package/dist/bigconsole/components/widgets/chart/charts/types.d.ts +45 -0
  318. package/dist/bigconsole/components/widgets/chart/charts/types.d.ts.map +1 -0
  319. package/dist/bigconsole/components/widgets/chart/index.d.ts +11 -0
  320. package/dist/bigconsole/components/widgets/chart/index.d.ts.map +1 -0
  321. package/dist/bigconsole/components/widgets/chart/index.js +11 -0
  322. package/dist/bigconsole/components/widgets/custom/CustomWidget.d.ts +13 -0
  323. package/dist/bigconsole/components/widgets/custom/CustomWidget.d.ts.map +1 -0
  324. package/dist/bigconsole/components/widgets/custom/CustomWidget.js +201 -0
  325. package/dist/bigconsole/components/widgets/custom/CustomWidget.js.map +1 -0
  326. package/dist/bigconsole/components/widgets/custom/config.d.ts +9 -0
  327. package/dist/bigconsole/components/widgets/custom/config.d.ts.map +1 -0
  328. package/dist/bigconsole/components/widgets/custom/config.js +21 -0
  329. package/dist/bigconsole/components/widgets/custom/config.js.map +1 -0
  330. package/dist/bigconsole/components/widgets/custom/index.d.ts +8 -0
  331. package/dist/bigconsole/components/widgets/custom/index.d.ts.map +1 -0
  332. package/dist/bigconsole/components/widgets/custom/index.js +3 -0
  333. package/dist/bigconsole/components/widgets/custom/utils.d.ts +4 -0
  334. package/dist/bigconsole/components/widgets/custom/utils.d.ts.map +1 -0
  335. package/dist/bigconsole/components/widgets/custom/utils.js +13 -0
  336. package/dist/bigconsole/components/widgets/custom/utils.js.map +1 -0
  337. package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.d.ts +16 -0
  338. package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.d.ts.map +1 -0
  339. package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +377 -0
  340. package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js.map +1 -0
  341. package/dist/bigconsole/components/widgets/event-logs/index.d.ts +6 -0
  342. package/dist/bigconsole/components/widgets/event-logs/index.d.ts.map +1 -0
  343. package/dist/bigconsole/components/widgets/event-logs/index.js +1 -0
  344. package/dist/bigconsole/components/widgets/form/FormWidget.d.ts +27 -0
  345. package/dist/bigconsole/components/widgets/form/FormWidget.d.ts.map +1 -0
  346. package/dist/bigconsole/components/widgets/form/FormWidget.js +486 -0
  347. package/dist/bigconsole/components/widgets/form/FormWidget.js.map +1 -0
  348. package/dist/bigconsole/components/widgets/form/index.d.ts +6 -0
  349. package/dist/bigconsole/components/widgets/form/index.d.ts.map +1 -0
  350. package/dist/bigconsole/components/widgets/form/index.js +2 -0
  351. package/dist/bigconsole/components/widgets/funnel/index.d.ts +12 -0
  352. package/dist/bigconsole/components/widgets/funnel/index.d.ts.map +1 -0
  353. package/dist/bigconsole/components/widgets/funnel/index.js +22 -0
  354. package/dist/bigconsole/components/widgets/funnel/index.js.map +1 -0
  355. package/dist/bigconsole/components/widgets/gauge/CircularGauge.d.ts +31 -0
  356. package/dist/bigconsole/components/widgets/gauge/CircularGauge.d.ts.map +1 -0
  357. package/dist/bigconsole/components/widgets/gauge/CircularGauge.js +77 -0
  358. package/dist/bigconsole/components/widgets/gauge/CircularGauge.js.map +1 -0
  359. package/dist/bigconsole/components/widgets/gauge/GaugeConfig.d.ts +12 -0
  360. package/dist/bigconsole/components/widgets/gauge/GaugeConfig.d.ts.map +1 -0
  361. package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +180 -0
  362. package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js.map +1 -0
  363. package/dist/bigconsole/components/widgets/gauge/GaugeWidget.d.ts +22 -0
  364. package/dist/bigconsole/components/widgets/gauge/GaugeWidget.d.ts.map +1 -0
  365. package/dist/bigconsole/components/widgets/gauge/GaugeWidget.js +217 -0
  366. package/dist/bigconsole/components/widgets/gauge/GaugeWidget.js.map +1 -0
  367. package/dist/bigconsole/components/widgets/gauge/LinearGauge.d.ts +28 -0
  368. package/dist/bigconsole/components/widgets/gauge/LinearGauge.d.ts.map +1 -0
  369. package/dist/bigconsole/components/widgets/gauge/LinearGauge.js +92 -0
  370. package/dist/bigconsole/components/widgets/gauge/LinearGauge.js.map +1 -0
  371. package/dist/bigconsole/components/widgets/gauge/index.d.ts +10 -0
  372. package/dist/bigconsole/components/widgets/gauge/index.d.ts.map +1 -0
  373. package/dist/bigconsole/components/widgets/gauge/index.js +5 -0
  374. package/dist/bigconsole/components/widgets/heatmap/HeatmapWidget.d.ts +23 -0
  375. package/dist/bigconsole/components/widgets/heatmap/HeatmapWidget.d.ts.map +1 -0
  376. package/dist/bigconsole/components/widgets/heatmap/HeatmapWidget.js +98 -0
  377. package/dist/bigconsole/components/widgets/heatmap/HeatmapWidget.js.map +1 -0
  378. package/dist/bigconsole/components/widgets/heatmap/index.d.ts +7 -0
  379. package/dist/bigconsole/components/widgets/heatmap/index.d.ts.map +1 -0
  380. package/dist/bigconsole/components/widgets/heatmap/index.js +2 -0
  381. package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.d.ts +17 -0
  382. package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.d.ts.map +1 -0
  383. package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.js +45 -0
  384. package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.js.map +1 -0
  385. package/dist/bigconsole/components/widgets/iframe-widget/index.d.ts +3 -0
  386. package/dist/bigconsole/components/widgets/iframe-widget/index.d.ts.map +1 -0
  387. package/dist/bigconsole/components/widgets/iframe-widget/index.js +2 -0
  388. package/dist/bigconsole/components/widgets/index.d.ts +34 -0
  389. package/dist/bigconsole/components/widgets/index.d.ts.map +1 -0
  390. package/dist/bigconsole/components/widgets/index.js +51 -0
  391. package/dist/bigconsole/components/widgets/kanban/KanbanWidget.d.ts +29 -0
  392. package/dist/bigconsole/components/widgets/kanban/KanbanWidget.d.ts.map +1 -0
  393. package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js +92 -0
  394. package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js.map +1 -0
  395. package/dist/bigconsole/components/widgets/kanban/index.d.ts +3 -0
  396. package/dist/bigconsole/components/widgets/kanban/index.d.ts.map +1 -0
  397. package/dist/bigconsole/components/widgets/kanban/index.js +2 -0
  398. package/dist/bigconsole/components/widgets/kpi/KPIWidget.d.ts +23 -0
  399. package/dist/bigconsole/components/widgets/kpi/KPIWidget.d.ts.map +1 -0
  400. package/dist/bigconsole/components/widgets/kpi/KPIWidget.js +83 -0
  401. package/dist/bigconsole/components/widgets/kpi/KPIWidget.js.map +1 -0
  402. package/dist/bigconsole/components/widgets/kpi/index.d.ts +7 -0
  403. package/dist/bigconsole/components/widgets/kpi/index.d.ts.map +1 -0
  404. package/dist/bigconsole/components/widgets/kpi/index.js +1 -0
  405. package/dist/bigconsole/components/widgets/kpi-comparison/KPIComparisonWidget.d.ts +25 -0
  406. package/dist/bigconsole/components/widgets/kpi-comparison/KPIComparisonWidget.d.ts.map +1 -0
  407. package/dist/bigconsole/components/widgets/kpi-comparison/KPIComparisonWidget.js +188 -0
  408. package/dist/bigconsole/components/widgets/kpi-comparison/KPIComparisonWidget.js.map +1 -0
  409. package/dist/bigconsole/components/widgets/kpi-comparison/index.d.ts +3 -0
  410. package/dist/bigconsole/components/widgets/kpi-comparison/index.d.ts.map +1 -0
  411. package/dist/bigconsole/components/widgets/kpi-comparison/index.js +2 -0
  412. package/dist/bigconsole/components/widgets/line-chart/index.d.ts +12 -0
  413. package/dist/bigconsole/components/widgets/line-chart/index.d.ts.map +1 -0
  414. package/dist/bigconsole/components/widgets/list/ListConfig.d.ts +12 -0
  415. package/dist/bigconsole/components/widgets/list/ListConfig.d.ts.map +1 -0
  416. package/dist/bigconsole/components/widgets/list/ListConfig.js +131 -0
  417. package/dist/bigconsole/components/widgets/list/ListConfig.js.map +1 -0
  418. package/dist/bigconsole/components/widgets/list/ListItem.d.ts +39 -0
  419. package/dist/bigconsole/components/widgets/list/ListItem.d.ts.map +1 -0
  420. package/dist/bigconsole/components/widgets/list/ListItem.js +103 -0
  421. package/dist/bigconsole/components/widgets/list/ListItem.js.map +1 -0
  422. package/dist/bigconsole/components/widgets/list/ListWidget.d.ts +17 -0
  423. package/dist/bigconsole/components/widgets/list/ListWidget.d.ts.map +1 -0
  424. package/dist/bigconsole/components/widgets/list/ListWidget.js +106 -0
  425. package/dist/bigconsole/components/widgets/list/ListWidget.js.map +1 -0
  426. package/dist/bigconsole/components/widgets/list/index.d.ts +9 -0
  427. package/dist/bigconsole/components/widgets/list/index.d.ts.map +1 -0
  428. package/dist/bigconsole/components/widgets/list/index.js +4 -0
  429. package/dist/bigconsole/components/widgets/map-widget/MapWidget.d.ts +29 -0
  430. package/dist/bigconsole/components/widgets/map-widget/MapWidget.d.ts.map +1 -0
  431. package/dist/bigconsole/components/widgets/map-widget/MapWidget.js +125 -0
  432. package/dist/bigconsole/components/widgets/map-widget/MapWidget.js.map +1 -0
  433. package/dist/bigconsole/components/widgets/map-widget/index.d.ts +3 -0
  434. package/dist/bigconsole/components/widgets/map-widget/index.d.ts.map +1 -0
  435. package/dist/bigconsole/components/widgets/map-widget/index.js +2 -0
  436. package/dist/bigconsole/components/widgets/metric-card/ComparisonBadge.d.ts +15 -0
  437. package/dist/bigconsole/components/widgets/metric-card/ComparisonBadge.d.ts.map +1 -0
  438. package/dist/bigconsole/components/widgets/metric-card/ComparisonBadge.js +34 -0
  439. package/dist/bigconsole/components/widgets/metric-card/ComparisonBadge.js.map +1 -0
  440. package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.d.ts +12 -0
  441. package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.d.ts.map +1 -0
  442. package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +158 -0
  443. package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js.map +1 -0
  444. package/dist/bigconsole/components/widgets/metric-card/MetricCardWidget.d.ts +36 -0
  445. package/dist/bigconsole/components/widgets/metric-card/MetricCardWidget.d.ts.map +1 -0
  446. package/dist/bigconsole/components/widgets/metric-card/MetricCardWidget.js +195 -0
  447. package/dist/bigconsole/components/widgets/metric-card/MetricCardWidget.js.map +1 -0
  448. package/dist/bigconsole/components/widgets/metric-card/SparklineChart.d.ts +23 -0
  449. package/dist/bigconsole/components/widgets/metric-card/SparklineChart.d.ts.map +1 -0
  450. package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js +94 -0
  451. package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js.map +1 -0
  452. package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.d.ts +14 -0
  453. package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.d.ts.map +1 -0
  454. package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js +55 -0
  455. package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js.map +1 -0
  456. package/dist/bigconsole/components/widgets/metric-card/index.d.ts +11 -0
  457. package/dist/bigconsole/components/widgets/metric-card/index.d.ts.map +1 -0
  458. package/dist/bigconsole/components/widgets/metric-card/index.js +6 -0
  459. package/dist/bigconsole/components/widgets/pie-chart/index.d.ts +12 -0
  460. package/dist/bigconsole/components/widgets/pie-chart/index.d.ts.map +1 -0
  461. package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.d.ts +26 -0
  462. package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.d.ts.map +1 -0
  463. package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +281 -0
  464. package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js.map +1 -0
  465. package/dist/bigconsole/components/widgets/pivot-table/index.d.ts +6 -0
  466. package/dist/bigconsole/components/widgets/pivot-table/index.d.ts.map +1 -0
  467. package/dist/bigconsole/components/widgets/pivot-table/index.js +2 -0
  468. package/dist/bigconsole/components/widgets/progress/ProgressBar.d.ts +29 -0
  469. package/dist/bigconsole/components/widgets/progress/ProgressBar.d.ts.map +1 -0
  470. package/dist/bigconsole/components/widgets/progress/ProgressBar.js +94 -0
  471. package/dist/bigconsole/components/widgets/progress/ProgressBar.js.map +1 -0
  472. package/dist/bigconsole/components/widgets/progress/ProgressConfig.d.ts +12 -0
  473. package/dist/bigconsole/components/widgets/progress/ProgressConfig.d.ts.map +1 -0
  474. package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +187 -0
  475. package/dist/bigconsole/components/widgets/progress/ProgressConfig.js.map +1 -0
  476. package/dist/bigconsole/components/widgets/progress/ProgressWidget.d.ts +28 -0
  477. package/dist/bigconsole/components/widgets/progress/ProgressWidget.d.ts.map +1 -0
  478. package/dist/bigconsole/components/widgets/progress/ProgressWidget.js +201 -0
  479. package/dist/bigconsole/components/widgets/progress/ProgressWidget.js.map +1 -0
  480. package/dist/bigconsole/components/widgets/progress/index.d.ts +9 -0
  481. package/dist/bigconsole/components/widgets/progress/index.d.ts.map +1 -0
  482. package/dist/bigconsole/components/widgets/progress/index.js +4 -0
  483. package/dist/bigconsole/components/widgets/retention/RetentionWidget.d.ts +25 -0
  484. package/dist/bigconsole/components/widgets/retention/RetentionWidget.d.ts.map +1 -0
  485. package/dist/bigconsole/components/widgets/retention/RetentionWidget.js +159 -0
  486. package/dist/bigconsole/components/widgets/retention/RetentionWidget.js.map +1 -0
  487. package/dist/bigconsole/components/widgets/retention/index.d.ts +7 -0
  488. package/dist/bigconsole/components/widgets/retention/index.d.ts.map +1 -0
  489. package/dist/bigconsole/components/widgets/retention/index.js +2 -0
  490. package/dist/bigconsole/components/widgets/states/EmptyState.d.ts +14 -0
  491. package/dist/bigconsole/components/widgets/states/EmptyState.d.ts.map +1 -0
  492. package/dist/bigconsole/components/widgets/states/EmptyState.js +61 -0
  493. package/dist/bigconsole/components/widgets/states/EmptyState.js.map +1 -0
  494. package/dist/bigconsole/components/widgets/states/ErrorState.d.ts +11 -0
  495. package/dist/bigconsole/components/widgets/states/ErrorState.d.ts.map +1 -0
  496. package/dist/bigconsole/components/widgets/states/ErrorState.js +56 -0
  497. package/dist/bigconsole/components/widgets/states/ErrorState.js.map +1 -0
  498. package/dist/bigconsole/components/widgets/states/LoadingState.d.ts +9 -0
  499. package/dist/bigconsole/components/widgets/states/LoadingState.d.ts.map +1 -0
  500. package/dist/bigconsole/components/widgets/states/LoadingState.js +21 -0
  501. package/dist/bigconsole/components/widgets/states/LoadingState.js.map +1 -0
  502. package/dist/bigconsole/components/widgets/states/index.d.ts +9 -0
  503. package/dist/bigconsole/components/widgets/states/index.d.ts.map +1 -0
  504. package/dist/bigconsole/components/widgets/states/index.js +3 -0
  505. package/dist/bigconsole/components/widgets/table/TableCell.d.ts +31 -0
  506. package/dist/bigconsole/components/widgets/table/TableCell.d.ts.map +1 -0
  507. package/dist/bigconsole/components/widgets/table/TableCell.js +65 -0
  508. package/dist/bigconsole/components/widgets/table/TableCell.js.map +1 -0
  509. package/dist/bigconsole/components/widgets/table/TableConfig.d.ts +12 -0
  510. package/dist/bigconsole/components/widgets/table/TableConfig.d.ts.map +1 -0
  511. package/dist/bigconsole/components/widgets/table/TableConfig.js +254 -0
  512. package/dist/bigconsole/components/widgets/table/TableConfig.js.map +1 -0
  513. package/dist/bigconsole/components/widgets/table/TableHeader.d.ts +32 -0
  514. package/dist/bigconsole/components/widgets/table/TableHeader.d.ts.map +1 -0
  515. package/dist/bigconsole/components/widgets/table/TableHeader.js +85 -0
  516. package/dist/bigconsole/components/widgets/table/TableHeader.js.map +1 -0
  517. package/dist/bigconsole/components/widgets/table/TablePagination.d.ts +23 -0
  518. package/dist/bigconsole/components/widgets/table/TablePagination.d.ts.map +1 -0
  519. package/dist/bigconsole/components/widgets/table/TablePagination.js +166 -0
  520. package/dist/bigconsole/components/widgets/table/TablePagination.js.map +1 -0
  521. package/dist/bigconsole/components/widgets/table/TableWidget.d.ts +16 -0
  522. package/dist/bigconsole/components/widgets/table/TableWidget.d.ts.map +1 -0
  523. package/dist/bigconsole/components/widgets/table/TableWidget.js +258 -0
  524. package/dist/bigconsole/components/widgets/table/TableWidget.js.map +1 -0
  525. package/dist/bigconsole/components/widgets/table/index.d.ts +11 -0
  526. package/dist/bigconsole/components/widgets/table/index.d.ts.map +1 -0
  527. package/dist/bigconsole/components/widgets/table/index.js +6 -0
  528. package/dist/bigconsole/components/widgets/text-widget/TextWidget.d.ts +14 -0
  529. package/dist/bigconsole/components/widgets/text-widget/TextWidget.d.ts.map +1 -0
  530. package/dist/bigconsole/components/widgets/text-widget/TextWidget.js +47 -0
  531. package/dist/bigconsole/components/widgets/text-widget/TextWidget.js.map +1 -0
  532. package/dist/bigconsole/components/widgets/text-widget/index.d.ts +3 -0
  533. package/dist/bigconsole/components/widgets/text-widget/index.d.ts.map +1 -0
  534. package/dist/bigconsole/components/widgets/text-widget/index.js +2 -0
  535. package/dist/bigconsole/components/widgets/timeline/TimelineWidget.d.ts +31 -0
  536. package/dist/bigconsole/components/widgets/timeline/TimelineWidget.d.ts.map +1 -0
  537. package/dist/bigconsole/components/widgets/timeline/TimelineWidget.js +147 -0
  538. package/dist/bigconsole/components/widgets/timeline/TimelineWidget.js.map +1 -0
  539. package/dist/bigconsole/components/widgets/timeline/index.d.ts +3 -0
  540. package/dist/bigconsole/components/widgets/timeline/index.d.ts.map +1 -0
  541. package/dist/bigconsole/components/widgets/timeline/index.js +2 -0
  542. package/dist/bigconsole/components/widgets/utils/inferFields.d.ts +45 -0
  543. package/dist/bigconsole/components/widgets/utils/inferFields.d.ts.map +1 -0
  544. package/dist/bigconsole/components/widgets/utils/inferFields.js +58 -0
  545. package/dist/bigconsole/components/widgets/utils/inferFields.js.map +1 -0
  546. package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.d.ts +16 -0
  547. package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.d.ts.map +1 -0
  548. package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +500 -0
  549. package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js.map +1 -0
  550. package/dist/bigconsole/components/widgets/webhook-config/index.d.ts +6 -0
  551. package/dist/bigconsole/components/widgets/webhook-config/index.d.ts.map +1 -0
  552. package/dist/bigconsole/components/widgets/webhook-config/index.js +1 -0
  553. package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.d.ts +26 -0
  554. package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.d.ts.map +1 -0
  555. package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.js +467 -0
  556. package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.js.map +1 -0
  557. package/dist/bigconsole/components/widgets/widget-actions/index.d.ts +8 -0
  558. package/dist/bigconsole/components/widgets/widget-actions/index.d.ts.map +1 -0
  559. package/dist/bigconsole/components/widgets/widget-actions/index.js +1 -0
  560. package/dist/bigconsole/components/workflow/DataSinkMultiSelector.d.ts +19 -0
  561. package/dist/bigconsole/components/workflow/DataSinkMultiSelector.d.ts.map +1 -0
  562. package/dist/bigconsole/components/workflow/WorkflowCard.d.ts +11 -0
  563. package/dist/bigconsole/components/workflow/WorkflowCard.d.ts.map +1 -0
  564. package/dist/bigconsole/components/workflow/WorkflowCard.js +158 -0
  565. package/dist/bigconsole/components/workflow/WorkflowCard.js.map +1 -0
  566. package/dist/bigconsole/components/workflow/WorkflowDeleteDialog.d.ts +11 -0
  567. package/dist/bigconsole/components/workflow/WorkflowDeleteDialog.d.ts.map +1 -0
  568. package/dist/bigconsole/components/workflow/WorkflowDeleteDialog.js +94 -0
  569. package/dist/bigconsole/components/workflow/WorkflowDeleteDialog.js.map +1 -0
  570. package/dist/bigconsole/components/workflow/WorkflowStatusBadge.d.ts +13 -0
  571. package/dist/bigconsole/components/workflow/WorkflowStatusBadge.d.ts.map +1 -0
  572. package/dist/bigconsole/components/workflow/WorkflowStatusBadge.js +115 -0
  573. package/dist/bigconsole/components/workflow/WorkflowStatusBadge.js.map +1 -0
  574. package/dist/bigconsole/components/workflow/index.d.ts +10 -0
  575. package/dist/bigconsole/components/workflow/index.d.ts.map +1 -0
  576. package/dist/bigconsole/constants.d.ts +15 -0
  577. package/dist/bigconsole/constants.d.ts.map +1 -0
  578. package/dist/bigconsole/constants.js +6 -0
  579. package/dist/bigconsole/constants.js.map +1 -0
  580. package/dist/bigconsole/context/BigConsoleContext.d.ts +25 -0
  581. package/dist/bigconsole/context/BigConsoleContext.d.ts.map +1 -0
  582. package/dist/bigconsole/context/BigConsoleContext.js +53 -0
  583. package/dist/bigconsole/context/BigConsoleContext.js.map +1 -0
  584. package/dist/bigconsole/context/index.d.ts +2 -0
  585. package/dist/bigconsole/context/index.d.ts.map +1 -0
  586. package/dist/bigconsole/context/index.js +1 -0
  587. package/dist/bigconsole/contexts/CrossFilterContext.d.ts +48 -0
  588. package/dist/bigconsole/contexts/CrossFilterContext.d.ts.map +1 -0
  589. package/dist/bigconsole/contexts/CrossFilterContext.js +92 -0
  590. package/dist/bigconsole/contexts/CrossFilterContext.js.map +1 -0
  591. package/dist/bigconsole/contexts/NavigationContext.d.ts +45 -0
  592. package/dist/bigconsole/contexts/NavigationContext.d.ts.map +1 -0
  593. package/dist/bigconsole/contexts/NavigationContext.js +43 -0
  594. package/dist/bigconsole/contexts/NavigationContext.js.map +1 -0
  595. package/dist/bigconsole/contexts/index.d.ts +8 -0
  596. package/dist/bigconsole/contexts/index.d.ts.map +1 -0
  597. package/dist/bigconsole/contexts/index.js +2 -0
  598. package/dist/bigconsole/graphql/apollo-compat.d.ts +16 -0
  599. package/dist/bigconsole/graphql/apollo-compat.d.ts.map +1 -0
  600. package/dist/bigconsole/hooks/index.d.ts +35 -0
  601. package/dist/bigconsole/hooks/index.d.ts.map +1 -0
  602. package/dist/bigconsole/hooks/index.js +29 -0
  603. package/dist/bigconsole/hooks/useAutoRefresh.d.ts +51 -0
  604. package/dist/bigconsole/hooks/useAutoRefresh.d.ts.map +1 -0
  605. package/dist/bigconsole/hooks/useAutoRefresh.js +93 -0
  606. package/dist/bigconsole/hooks/useAutoRefresh.js.map +1 -0
  607. package/dist/bigconsole/hooks/useCrossFilter.d.ts +79 -0
  608. package/dist/bigconsole/hooks/useCrossFilter.d.ts.map +1 -0
  609. package/dist/bigconsole/hooks/useCrossFilter.js +63 -0
  610. package/dist/bigconsole/hooks/useCrossFilter.js.map +1 -0
  611. package/dist/bigconsole/hooks/useDashboardOperations.d.ts +43 -0
  612. package/dist/bigconsole/hooks/useDashboardOperations.d.ts.map +1 -0
  613. package/dist/bigconsole/hooks/useDashboardOperations.js +187 -0
  614. package/dist/bigconsole/hooks/useDashboardOperations.js.map +1 -0
  615. package/dist/bigconsole/hooks/useDashboardSharing.d.ts +60 -0
  616. package/dist/bigconsole/hooks/useDashboardSharing.d.ts.map +1 -0
  617. package/dist/bigconsole/hooks/useDashboardSharing.js +157 -0
  618. package/dist/bigconsole/hooks/useDashboardSharing.js.map +1 -0
  619. package/dist/bigconsole/hooks/useDashboardTemplates.d.ts +135 -0
  620. package/dist/bigconsole/hooks/useDashboardTemplates.d.ts.map +1 -0
  621. package/dist/bigconsole/hooks/useDashboardTemplates.js +298 -0
  622. package/dist/bigconsole/hooks/useDashboardTemplates.js.map +1 -0
  623. package/dist/bigconsole/hooks/useDashboardViews.d.ts +58 -0
  624. package/dist/bigconsole/hooks/useDashboardViews.d.ts.map +1 -0
  625. package/dist/bigconsole/hooks/useDashboardViews.js +170 -0
  626. package/dist/bigconsole/hooks/useDashboardViews.js.map +1 -0
  627. package/dist/bigconsole/hooks/useDataSinkOperations.d.ts +55 -0
  628. package/dist/bigconsole/hooks/useDataSinkOperations.d.ts.map +1 -0
  629. package/dist/bigconsole/hooks/useDataSinkOperations.js +245 -0
  630. package/dist/bigconsole/hooks/useDataSinkOperations.js.map +1 -0
  631. package/dist/bigconsole/hooks/useDataSinkSubscription.d.ts +31 -0
  632. package/dist/bigconsole/hooks/useDataSinkSubscription.d.ts.map +1 -0
  633. package/dist/bigconsole/hooks/useDataSinkSubscription.js +127 -0
  634. package/dist/bigconsole/hooks/useDataSinkSubscription.js.map +1 -0
  635. package/dist/bigconsole/hooks/useDrilldown.d.ts +63 -0
  636. package/dist/bigconsole/hooks/useDrilldown.d.ts.map +1 -0
  637. package/dist/bigconsole/hooks/useDrilldown.js +192 -0
  638. package/dist/bigconsole/hooks/useDrilldown.js.map +1 -0
  639. package/dist/bigconsole/hooks/useDrilldownOperations.d.ts +42 -0
  640. package/dist/bigconsole/hooks/useDrilldownOperations.d.ts.map +1 -0
  641. package/dist/bigconsole/hooks/useDrilldownOperations.js +62 -0
  642. package/dist/bigconsole/hooks/useDrilldownOperations.js.map +1 -0
  643. package/dist/bigconsole/hooks/useEventLogs.d.ts +94 -0
  644. package/dist/bigconsole/hooks/useEventLogs.d.ts.map +1 -0
  645. package/dist/bigconsole/hooks/useEventLogs.js +116 -0
  646. package/dist/bigconsole/hooks/useEventLogs.js.map +1 -0
  647. package/dist/bigconsole/hooks/useEventWebhooks.d.ts +91 -0
  648. package/dist/bigconsole/hooks/useEventWebhooks.d.ts.map +1 -0
  649. package/dist/bigconsole/hooks/useEventWebhooks.js +138 -0
  650. package/dist/bigconsole/hooks/useEventWebhooks.js.map +1 -0
  651. package/dist/bigconsole/hooks/useExportDashboard.d.ts +28 -0
  652. package/dist/bigconsole/hooks/useExportDashboard.d.ts.map +1 -0
  653. package/dist/bigconsole/hooks/useExportDashboard.js +65 -0
  654. package/dist/bigconsole/hooks/useExportDashboard.js.map +1 -0
  655. package/dist/bigconsole/hooks/useExportDataSink.d.ts +27 -0
  656. package/dist/bigconsole/hooks/useExportDataSink.d.ts.map +1 -0
  657. package/dist/bigconsole/hooks/useExportDataSink.js +87 -0
  658. package/dist/bigconsole/hooks/useExportDataSink.js.map +1 -0
  659. package/dist/bigconsole/hooks/useExportParser.d.ts +25 -0
  660. package/dist/bigconsole/hooks/useExportParser.d.ts.map +1 -0
  661. package/dist/bigconsole/hooks/useExportParser.js +81 -0
  662. package/dist/bigconsole/hooks/useExportParser.js.map +1 -0
  663. package/dist/bigconsole/hooks/useFilterPresets.d.ts +47 -0
  664. package/dist/bigconsole/hooks/useFilterPresets.d.ts.map +1 -0
  665. package/dist/bigconsole/hooks/useFilterPresets.js +157 -0
  666. package/dist/bigconsole/hooks/useFilterPresets.js.map +1 -0
  667. package/dist/bigconsole/hooks/useFilterUrlSync.d.ts +46 -0
  668. package/dist/bigconsole/hooks/useFilterUrlSync.d.ts.map +1 -0
  669. package/dist/bigconsole/hooks/useFilterUrlSync.js +179 -0
  670. package/dist/bigconsole/hooks/useFilterUrlSync.js.map +1 -0
  671. package/dist/bigconsole/hooks/useGlobalFilters.d.ts +69 -0
  672. package/dist/bigconsole/hooks/useGlobalFilters.d.ts.map +1 -0
  673. package/dist/bigconsole/hooks/useGlobalFilters.js +154 -0
  674. package/dist/bigconsole/hooks/useGlobalFilters.js.map +1 -0
  675. package/dist/bigconsole/hooks/useImportDashboard.d.ts +88 -0
  676. package/dist/bigconsole/hooks/useImportDashboard.d.ts.map +1 -0
  677. package/dist/bigconsole/hooks/useImportDashboard.js +157 -0
  678. package/dist/bigconsole/hooks/useImportDashboard.js.map +1 -0
  679. package/dist/bigconsole/hooks/useImportDataSink.d.ts +74 -0
  680. package/dist/bigconsole/hooks/useImportDataSink.d.ts.map +1 -0
  681. package/dist/bigconsole/hooks/useImportDataSink.js +219 -0
  682. package/dist/bigconsole/hooks/useImportDataSink.js.map +1 -0
  683. package/dist/bigconsole/hooks/useImportParser.d.ts +77 -0
  684. package/dist/bigconsole/hooks/useImportParser.d.ts.map +1 -0
  685. package/dist/bigconsole/hooks/useImportParser.js +222 -0
  686. package/dist/bigconsole/hooks/useImportParser.js.map +1 -0
  687. package/dist/bigconsole/hooks/useInstalledWidgets.d.ts +15 -0
  688. package/dist/bigconsole/hooks/useInstalledWidgets.d.ts.map +1 -0
  689. package/dist/bigconsole/hooks/useInstalledWidgets.js +81 -0
  690. package/dist/bigconsole/hooks/useInstalledWidgets.js.map +1 -0
  691. package/dist/bigconsole/hooks/usePageOperations.d.ts +35 -0
  692. package/dist/bigconsole/hooks/usePageOperations.d.ts.map +1 -0
  693. package/dist/bigconsole/hooks/usePageOperations.js +95 -0
  694. package/dist/bigconsole/hooks/usePageOperations.js.map +1 -0
  695. package/dist/bigconsole/hooks/useParserOperations.d.ts +64 -0
  696. package/dist/bigconsole/hooks/useParserOperations.d.ts.map +1 -0
  697. package/dist/bigconsole/hooks/useParserOperations.js +151 -0
  698. package/dist/bigconsole/hooks/useParserOperations.js.map +1 -0
  699. package/dist/bigconsole/hooks/usePipelineOperations.d.ts +76 -0
  700. package/dist/bigconsole/hooks/usePipelineOperations.d.ts.map +1 -0
  701. package/dist/bigconsole/hooks/usePipelineOperations.js +260 -0
  702. package/dist/bigconsole/hooks/usePipelineOperations.js.map +1 -0
  703. package/dist/bigconsole/hooks/useWidgetActions.d.ts +69 -0
  704. package/dist/bigconsole/hooks/useWidgetActions.d.ts.map +1 -0
  705. package/dist/bigconsole/hooks/useWidgetActions.js +114 -0
  706. package/dist/bigconsole/hooks/useWidgetActions.js.map +1 -0
  707. package/dist/bigconsole/hooks/useWidgetData.d.ts +45 -0
  708. package/dist/bigconsole/hooks/useWidgetData.d.ts.map +1 -0
  709. package/dist/bigconsole/hooks/useWidgetData.js +83 -0
  710. package/dist/bigconsole/hooks/useWidgetData.js.map +1 -0
  711. package/dist/bigconsole/hooks/useWidgetEvents.d.ts +60 -0
  712. package/dist/bigconsole/hooks/useWidgetEvents.d.ts.map +1 -0
  713. package/dist/bigconsole/hooks/useWidgetEvents.js +35 -0
  714. package/dist/bigconsole/hooks/useWidgetEvents.js.map +1 -0
  715. package/dist/bigconsole/hooks/useWidgetExport.d.ts +19 -0
  716. package/dist/bigconsole/hooks/useWidgetExport.d.ts.map +1 -0
  717. package/dist/bigconsole/hooks/useWidgetExport.js +77 -0
  718. package/dist/bigconsole/hooks/useWidgetExport.js.map +1 -0
  719. package/dist/bigconsole/hooks/useWidgetOperations.d.ts +61 -0
  720. package/dist/bigconsole/hooks/useWidgetOperations.d.ts.map +1 -0
  721. package/dist/bigconsole/hooks/useWidgetOperations.js +248 -0
  722. package/dist/bigconsole/hooks/useWidgetOperations.js.map +1 -0
  723. package/dist/bigconsole/hooks/useWorkflowOperations.d.ts +54 -0
  724. package/dist/bigconsole/hooks/useWorkflowOperations.d.ts.map +1 -0
  725. package/dist/bigconsole/hooks/useWorkflowOperations.js +237 -0
  726. package/dist/bigconsole/hooks/useWorkflowOperations.js.map +1 -0
  727. package/dist/bigconsole/index.d.ts +30 -0
  728. package/dist/bigconsole/index.d.ts.map +1 -0
  729. package/dist/bigconsole/index.js +8 -0
  730. package/dist/bigconsole/modules/dashboard/index.d.ts +15 -0
  731. package/dist/bigconsole/modules/dashboard/index.d.ts.map +1 -0
  732. package/dist/bigconsole/modules/index.d.ts +15 -0
  733. package/dist/bigconsole/modules/index.d.ts.map +1 -0
  734. package/dist/bigconsole/modules/renderer/index.d.ts +8 -0
  735. package/dist/bigconsole/modules/renderer/index.d.ts.map +1 -0
  736. package/dist/bigconsole/modules/widget/index.d.ts +20 -0
  737. package/dist/bigconsole/modules/widget/index.d.ts.map +1 -0
  738. package/dist/bigconsole/pages/DashboardBuilderPage.d.ts +5 -0
  739. package/dist/bigconsole/pages/DashboardBuilderPage.d.ts.map +1 -0
  740. package/dist/bigconsole/pages/DashboardBuilderPage.js +398 -0
  741. package/dist/bigconsole/pages/DashboardBuilderPage.js.map +1 -0
  742. package/dist/bigconsole/pages/DashboardViewPage.d.ts +5 -0
  743. package/dist/bigconsole/pages/DashboardViewPage.d.ts.map +1 -0
  744. package/dist/bigconsole/pages/DashboardViewPage.js +325 -0
  745. package/dist/bigconsole/pages/DashboardViewPage.js.map +1 -0
  746. package/dist/bigconsole/pages/DashboardsPage.d.ts +5 -0
  747. package/dist/bigconsole/pages/DashboardsPage.d.ts.map +1 -0
  748. package/dist/bigconsole/pages/DashboardsPage.js +555 -0
  749. package/dist/bigconsole/pages/DashboardsPage.js.map +1 -0
  750. package/dist/bigconsole/pages/DataParsersPage.d.ts +9 -0
  751. package/dist/bigconsole/pages/DataParsersPage.d.ts.map +1 -0
  752. package/dist/bigconsole/pages/DataParsersPage.js +444 -0
  753. package/dist/bigconsole/pages/DataParsersPage.js.map +1 -0
  754. package/dist/bigconsole/pages/DataSinkBuilderPage.d.ts +10 -0
  755. package/dist/bigconsole/pages/DataSinkBuilderPage.d.ts.map +1 -0
  756. package/dist/bigconsole/pages/DataSinkBuilderPage.js +538 -0
  757. package/dist/bigconsole/pages/DataSinkBuilderPage.js.map +1 -0
  758. package/dist/bigconsole/pages/DataSinkViewPage.d.ts +8 -0
  759. package/dist/bigconsole/pages/DataSinkViewPage.d.ts.map +1 -0
  760. package/dist/bigconsole/pages/DataSinkViewPage.js +342 -0
  761. package/dist/bigconsole/pages/DataSinkViewPage.js.map +1 -0
  762. package/dist/bigconsole/pages/DataSinksPage.d.ts +5 -0
  763. package/dist/bigconsole/pages/DataSinksPage.d.ts.map +1 -0
  764. package/dist/bigconsole/pages/DataSinksPage.js +835 -0
  765. package/dist/bigconsole/pages/DataSinksPage.js.map +1 -0
  766. package/dist/bigconsole/pages/DataSourcesPage.d.ts +10 -0
  767. package/dist/bigconsole/pages/DataSourcesPage.d.ts.map +1 -0
  768. package/dist/bigconsole/pages/DataSourcesPage.js +18 -0
  769. package/dist/bigconsole/pages/DataSourcesPage.js.map +1 -0
  770. package/dist/bigconsole/pages/HomePage.d.ts +5 -0
  771. package/dist/bigconsole/pages/HomePage.d.ts.map +1 -0
  772. package/dist/bigconsole/pages/HomePage.js +338 -0
  773. package/dist/bigconsole/pages/HomePage.js.map +1 -0
  774. package/dist/bigconsole/pages/InsightsPage.d.ts +5 -0
  775. package/dist/bigconsole/pages/InsightsPage.d.ts.map +1 -0
  776. package/dist/bigconsole/pages/InsightsPage.js +586 -0
  777. package/dist/bigconsole/pages/InsightsPage.js.map +1 -0
  778. package/dist/bigconsole/pages/ParserBuilderPage.d.ts +9 -0
  779. package/dist/bigconsole/pages/ParserBuilderPage.d.ts.map +1 -0
  780. package/dist/bigconsole/pages/ParserBuilderPage.js +727 -0
  781. package/dist/bigconsole/pages/ParserBuilderPage.js.map +1 -0
  782. package/dist/bigconsole/pages/ParserViewPage.d.ts +8 -0
  783. package/dist/bigconsole/pages/ParserViewPage.d.ts.map +1 -0
  784. package/dist/bigconsole/pages/ParserViewPage.js +394 -0
  785. package/dist/bigconsole/pages/ParserViewPage.js.map +1 -0
  786. package/dist/bigconsole/pages/PipelineBuilderPage.d.ts +9 -0
  787. package/dist/bigconsole/pages/PipelineBuilderPage.d.ts.map +1 -0
  788. package/dist/bigconsole/pages/PipelineBuilderPage.js +585 -0
  789. package/dist/bigconsole/pages/PipelineBuilderPage.js.map +1 -0
  790. package/dist/bigconsole/pages/PipelineViewPage.d.ts +9 -0
  791. package/dist/bigconsole/pages/PipelineViewPage.d.ts.map +1 -0
  792. package/dist/bigconsole/pages/PipelineViewPage.js +483 -0
  793. package/dist/bigconsole/pages/PipelineViewPage.js.map +1 -0
  794. package/dist/bigconsole/pages/PipelinesPage.d.ts +9 -0
  795. package/dist/bigconsole/pages/PipelinesPage.d.ts.map +1 -0
  796. package/dist/bigconsole/pages/PipelinesPage.js +375 -0
  797. package/dist/bigconsole/pages/PipelinesPage.js.map +1 -0
  798. package/dist/bigconsole/pages/SettingsPage.d.ts +5 -0
  799. package/dist/bigconsole/pages/SettingsPage.d.ts.map +1 -0
  800. package/dist/bigconsole/pages/SettingsPage.js +478 -0
  801. package/dist/bigconsole/pages/SettingsPage.js.map +1 -0
  802. package/dist/bigconsole/pages/WidgetDemoPage.d.ts +5 -0
  803. package/dist/bigconsole/pages/WidgetDemoPage.d.ts.map +1 -0
  804. package/dist/bigconsole/pages/WidgetDemoPage.js +257 -0
  805. package/dist/bigconsole/pages/WidgetDemoPage.js.map +1 -0
  806. package/dist/bigconsole/pages/WorkflowViewPage.d.ts +9 -0
  807. package/dist/bigconsole/pages/WorkflowViewPage.d.ts.map +1 -0
  808. package/dist/bigconsole/pages/WorkflowViewPage.js +532 -0
  809. package/dist/bigconsole/pages/WorkflowViewPage.js.map +1 -0
  810. package/dist/bigconsole/pages/WorkflowsPage.d.ts +9 -0
  811. package/dist/bigconsole/pages/WorkflowsPage.d.ts.map +1 -0
  812. package/dist/bigconsole/pages/WorkflowsPage.js +384 -0
  813. package/dist/bigconsole/pages/WorkflowsPage.js.map +1 -0
  814. package/dist/bigconsole/pages/index.d.ts +14 -0
  815. package/dist/bigconsole/pages/index.d.ts.map +1 -0
  816. package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.d.ts +6 -0
  817. package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.d.ts.map +1 -0
  818. package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js +471 -0
  819. package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js.map +1 -0
  820. package/dist/bigconsole/renderers/adapters/BigConsoleRenderer.d.ts +9 -0
  821. package/dist/bigconsole/renderers/adapters/BigConsoleRenderer.d.ts.map +1 -0
  822. package/dist/bigconsole/renderers/adapters/BigConsoleRenderer.js +66 -0
  823. package/dist/bigconsole/renderers/adapters/BigConsoleRenderer.js.map +1 -0
  824. package/dist/bigconsole/renderers/adapters/BlockKitRenderer.d.ts +6 -0
  825. package/dist/bigconsole/renderers/adapters/BlockKitRenderer.d.ts.map +1 -0
  826. package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +384 -0
  827. package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js.map +1 -0
  828. package/dist/bigconsole/renderers/adapters/CustomRenderer.d.ts +46 -0
  829. package/dist/bigconsole/renderers/adapters/CustomRenderer.d.ts.map +1 -0
  830. package/dist/bigconsole/renderers/adapters/CustomRenderer.js +172 -0
  831. package/dist/bigconsole/renderers/adapters/CustomRenderer.js.map +1 -0
  832. package/dist/bigconsole/renderers/adapters/index.d.ts +10 -0
  833. package/dist/bigconsole/renderers/adapters/index.d.ts.map +1 -0
  834. package/dist/bigconsole/renderers/factory/WidgetRendererFactory.d.ts +46 -0
  835. package/dist/bigconsole/renderers/factory/WidgetRendererFactory.d.ts.map +1 -0
  836. package/dist/bigconsole/renderers/factory/WidgetRendererFactory.js +55 -0
  837. package/dist/bigconsole/renderers/factory/WidgetRendererFactory.js.map +1 -0
  838. package/dist/bigconsole/renderers/index.d.ts +10 -0
  839. package/dist/bigconsole/renderers/index.d.ts.map +1 -0
  840. package/dist/bigconsole/renderers/registry/RendererRegistry.d.ts +42 -0
  841. package/dist/bigconsole/renderers/registry/RendererRegistry.d.ts.map +1 -0
  842. package/dist/bigconsole/renderers/registry/RendererRegistry.js +139 -0
  843. package/dist/bigconsole/renderers/registry/RendererRegistry.js.map +1 -0
  844. package/dist/bigconsole/renderers/types/index.d.ts +7 -0
  845. package/dist/bigconsole/renderers/types/index.d.ts.map +1 -0
  846. package/dist/bigconsole/renderers/types/renderer.d.ts +228 -0
  847. package/dist/bigconsole/renderers/types/renderer.d.ts.map +1 -0
  848. package/dist/bigconsole/store/dashboardStore.d.ts +132 -0
  849. package/dist/bigconsole/store/dashboardStore.d.ts.map +1 -0
  850. package/dist/bigconsole/store/dashboardStore.js +246 -0
  851. package/dist/bigconsole/store/dashboardStore.js.map +1 -0
  852. package/dist/bigconsole/store/dataSinkStore.d.ts +94 -0
  853. package/dist/bigconsole/store/dataSinkStore.d.ts.map +1 -0
  854. package/dist/bigconsole/store/dataSinkStore.js +138 -0
  855. package/dist/bigconsole/store/dataSinkStore.js.map +1 -0
  856. package/dist/bigconsole/store/drilldownStore.d.ts +63 -0
  857. package/dist/bigconsole/store/drilldownStore.d.ts.map +1 -0
  858. package/dist/bigconsole/store/drilldownStore.js +69 -0
  859. package/dist/bigconsole/store/drilldownStore.js.map +1 -0
  860. package/dist/bigconsole/store/index.d.ts +13 -0
  861. package/dist/bigconsole/store/index.d.ts.map +1 -0
  862. package/dist/bigconsole/store/index.js +7 -0
  863. package/dist/bigconsole/store/parserStore.d.ts +106 -0
  864. package/dist/bigconsole/store/parserStore.d.ts.map +1 -0
  865. package/dist/bigconsole/store/parserStore.js +175 -0
  866. package/dist/bigconsole/store/parserStore.js.map +1 -0
  867. package/dist/bigconsole/store/pipelineStore.d.ts +113 -0
  868. package/dist/bigconsole/store/pipelineStore.d.ts.map +1 -0
  869. package/dist/bigconsole/store/pipelineStore.js +231 -0
  870. package/dist/bigconsole/store/pipelineStore.js.map +1 -0
  871. package/dist/bigconsole/store/widgetStore.d.ts +106 -0
  872. package/dist/bigconsole/store/widgetStore.d.ts.map +1 -0
  873. package/dist/bigconsole/store/widgetStore.js +217 -0
  874. package/dist/bigconsole/store/widgetStore.js.map +1 -0
  875. package/dist/bigconsole/store/workflowStore.d.ts +120 -0
  876. package/dist/bigconsole/store/workflowStore.d.ts.map +1 -0
  877. package/dist/bigconsole/store/workflowStore.js +193 -0
  878. package/dist/bigconsole/store/workflowStore.js.map +1 -0
  879. package/dist/bigconsole/types/index.d.ts +1233 -0
  880. package/dist/bigconsole/types/index.d.ts.map +1 -0
  881. package/dist/bigconsole/utils/index.d.ts +9 -0
  882. package/dist/bigconsole/utils/index.d.ts.map +1 -0
  883. package/dist/bigconsole/utils/semanticTokens.d.ts +88 -0
  884. package/dist/bigconsole/utils/semanticTokens.d.ts.map +1 -0
  885. package/dist/bigconsole/utils/semanticTokens.js +41 -0
  886. package/dist/bigconsole/utils/semanticTokens.js.map +1 -0
  887. package/dist/bigconsole/utils/widgetPositioning.d.ts +81 -0
  888. package/dist/bigconsole/utils/widgetPositioning.d.ts.map +1 -0
  889. package/dist/bigconsole/utils/widgetPositioning.js +44 -0
  890. package/dist/bigconsole/utils/widgetPositioning.js.map +1 -0
  891. package/dist/bigconsole/utils/widgetTypeMapping.d.ts +34 -0
  892. package/dist/bigconsole/utils/widgetTypeMapping.d.ts.map +1 -0
  893. package/dist/bigconsole/utils/widgetTypeMapping.js +56 -0
  894. package/dist/bigconsole/utils/widgetTypeMapping.js.map +1 -0
  895. package/dist/generated/global-operations.d.ts +2 -0
  896. package/dist/generated/global-operations.d.ts.map +1 -0
  897. package/dist/generated/global-types.d.ts +20716 -0
  898. package/dist/generated/global-types.d.ts.map +1 -0
  899. package/dist/generated/wspace-operations.d.ts +9514 -0
  900. package/dist/generated/wspace-operations.d.ts.map +1 -0
  901. package/dist/generated/wspace-operations.js +1993 -0
  902. package/dist/generated/wspace-operations.js.map +1 -0
  903. package/dist/generated/wspace-types.d.ts +53363 -0
  904. package/dist/generated/wspace-types.d.ts.map +1 -0
  905. package/dist/index.d.ts +6 -0
  906. package/dist/index.d.ts.map +1 -0
  907. package/dist/index.js +7 -0
  908. package/dist/microfe-bigconsole.css +2 -0
  909. package/dist/utils/nativeBridge.d.ts +3 -0
  910. package/dist/utils/nativeBridge.d.ts.map +1 -0
  911. package/dist/utils/nativeBridge.js +2 -0
  912. package/package.json +118 -0
@@ -0,0 +1,151 @@
1
+ import { useParserStore as e } from "../store/parserStore.js";
2
+ import { CreateParserDocument as t, DeleteParserDocument as n, ExecuteParserDocument as r, GetParserDocument as i, ListParsersDocument as a, TestParserExpressionDocument as o, UpdateParserDocument as s } from "../../generated/wspace-operations.js";
3
+ import { useCallback as c, useEffect as l, useMemo as u, useState as d } from "react";
4
+ import { useApolloClient as f } from "@apollo/client/react";
5
+ //#region src/bigconsole/hooks/useParserOperations.ts
6
+ function p(p = {}) {
7
+ let { consoleId: m, skipFetch: h = !1 } = p, [g, _] = d(!1), [v, y] = d(null), b = f(), x = e((e) => e.parsers), S = e((e) => e.setParsers), C = e((e) => e.addParser), w = e((e) => e.updateParser), T = e((e) => e.removeParser), E = e((e) => e.setParserTesting), D = u(() => Array.from(x.values()), [x]), O = c(async (e) => {
8
+ if (!m) return [];
9
+ try {
10
+ _(!0), y(null);
11
+ let t = ((await b.query({
12
+ query: a,
13
+ variables: {
14
+ consoleId: m,
15
+ type: e?.type,
16
+ status: e?.status,
17
+ first: 100
18
+ },
19
+ fetchPolicy: "network-only"
20
+ })).data?.listParsers?.edges || []).map((e) => e.node);
21
+ return S(t), t;
22
+ } catch (e) {
23
+ return y(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch parsers")), [];
24
+ } finally {
25
+ _(!1);
26
+ }
27
+ }, [
28
+ b,
29
+ m,
30
+ S
31
+ ]), k = c(async (e) => {
32
+ try {
33
+ _(!0), y(null);
34
+ let t = (await b.query({
35
+ query: i,
36
+ variables: { id: e },
37
+ fetchPolicy: "network-only"
38
+ })).data?.parser;
39
+ return t ? (C(t), t) : null;
40
+ } catch (e) {
41
+ return y(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch parser")), null;
42
+ } finally {
43
+ _(!1);
44
+ }
45
+ }, [b, C]), A = c(async (e) => {
46
+ try {
47
+ _(!0), y(null);
48
+ let n = (await b.mutate({
49
+ mutation: t,
50
+ variables: { input: e }
51
+ })).data?.createParser;
52
+ return n ? (C(n), n) : null;
53
+ } catch (e) {
54
+ return y(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to create parser")), null;
55
+ } finally {
56
+ _(!1);
57
+ }
58
+ }, [b, C]), j = c(async (e, t, n) => {
59
+ try {
60
+ _(!0), y(null);
61
+ let r = (await b.mutate({
62
+ mutation: s,
63
+ variables: {
64
+ id: e,
65
+ input: t,
66
+ version: n
67
+ }
68
+ })).data?.updateParser;
69
+ return r ? (w(e, r), r) : null;
70
+ } catch (e) {
71
+ return y(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to update parser")), null;
72
+ } finally {
73
+ _(!1);
74
+ }
75
+ }, [b, w]), M = c(async (e) => {
76
+ try {
77
+ return _(!0), y(null), await b.mutate({
78
+ mutation: n,
79
+ variables: { id: e }
80
+ }), T(e), !0;
81
+ } catch (e) {
82
+ return y(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to delete parser")), !1;
83
+ } finally {
84
+ _(!1);
85
+ }
86
+ }, [b, T]), N = c(async (e) => {
87
+ try {
88
+ _(!0), y(null), E(e, !0);
89
+ let t = (await b.mutate({
90
+ mutation: r,
91
+ variables: { id: e }
92
+ })).data?.executeParser;
93
+ return t ? {
94
+ parserId: t.parserId,
95
+ success: t.success,
96
+ output: t.output,
97
+ error: t.error,
98
+ executionTimeMs: t.executionTimeMs,
99
+ cachedAt: t.cachedAt
100
+ } : null;
101
+ } catch (e) {
102
+ return y(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to execute parser")), null;
103
+ } finally {
104
+ _(!1), E(e, !1);
105
+ }
106
+ }, [b, E]), P = c(async (e) => {
107
+ try {
108
+ _(!0), y(null);
109
+ let t = (await b.query({
110
+ query: o,
111
+ variables: { input: e },
112
+ fetchPolicy: "network-only"
113
+ })).data?.testParserExpression;
114
+ return t ? {
115
+ success: t.success,
116
+ output: t.output,
117
+ error: t.error,
118
+ executionTimeMs: t.executionTimeMs
119
+ } : null;
120
+ } catch (e) {
121
+ return y(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to test expression")), null;
122
+ } finally {
123
+ _(!1);
124
+ }
125
+ }, [b]), F = c(async () => {
126
+ await O();
127
+ }, [O]);
128
+ return l(() => {
129
+ m && !h && O();
130
+ }, [
131
+ m,
132
+ h,
133
+ O
134
+ ]), {
135
+ loading: g,
136
+ error: v,
137
+ parsers: D,
138
+ fetchParsers: O,
139
+ fetchParser: k,
140
+ createParser: A,
141
+ updateParser: j,
142
+ deleteParser: M,
143
+ executeParser: N,
144
+ testParserExpression: P,
145
+ refetch: F
146
+ };
147
+ }
148
+ //#endregion
149
+ export { p as default };
150
+
151
+ //# sourceMappingURL=useParserOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useParserOperations.js","names":[],"sources":["../../../src/bigconsole/hooks/useParserOperations.ts"],"sourcesContent":["/**\n * Parser Operations Hook\n *\n * Custom hook for Parser CRUD operations with Apollo Client.\n * Integrates with the Parser Zustand store for state management.\n */\n\nimport { useState, useMemo, useCallback, useEffect } from 'react';\nimport { useApolloClient } from '@apollo/client/react';\nimport { useParserStore } from '../store/parserStore';\nimport {\n ListParsersDocument,\n GetParserDocument,\n CreateParserDocument,\n UpdateParserDocument,\n DeleteParserDocument,\n ExecuteParserDocument,\n TestParserExpressionDocument,\n} from '../../generated/wspace-operations';\nimport type { Parser, ParserType, ParserStatus } from '../types';\n\n// ============================================================================\n// TYPES\n// ============================================================================\n\ninterface UseParserOperationsOptions {\n consoleId?: string;\n skipFetch?: boolean;\n}\n\ninterface ParserFilters {\n type?: ParserType;\n status?: ParserStatus;\n}\n\ninterface CreateParserInput {\n consoleId: string;\n name: string;\n type: ParserType;\n expression: string;\n inputSinkKey: string;\n outputKey: string;\n description?: string;\n ttl?: number;\n}\n\ninterface UpdateParserInput {\n name?: string;\n description?: string;\n type?: ParserType;\n expression?: string;\n inputSinkKey?: string;\n outputKey?: string;\n // Allow explicit null so callers can distinguish \"clear caching\"\n // (send null) from \"don't touch\" (omit the field / undefined).\n ttl?: number | null;\n status?: ParserStatus;\n}\n\ninterface TestParserInput {\n type: ParserType;\n expression: string;\n sampleData: unknown; // Parsed JSON object\n}\n\ninterface TestParserResult {\n success: boolean;\n output: unknown;\n error: string | null;\n executionTimeMs: number;\n}\n\ninterface ExecuteParserResult {\n parserId: string;\n success: boolean;\n output: unknown;\n error: string | null;\n executionTimeMs: number;\n cachedAt: string | null;\n}\n\n// GraphQL Query/Mutation Result Types\ninterface ListParsersResult {\n listParsers?: {\n edges: Array<{ node: Parser }>;\n pageInfo?: { hasNextPage: boolean; endCursor?: string };\n };\n}\n\ninterface GetParserResult {\n parser?: Parser;\n}\n\ninterface CreateParserResult {\n createParser?: Parser;\n}\n\ninterface UpdateParserResult {\n updateParser?: Parser;\n}\n\ninterface DeleteParserResult {\n deleteParser?: boolean;\n}\n\ninterface ExecuteParserMutationResult {\n executeParser?: {\n parserId: string;\n success: boolean;\n output: unknown;\n error: string | null;\n executionTimeMs: number;\n cachedAt: string | null;\n };\n}\n\ninterface TestParserExpressionResult {\n testParserExpression?: {\n success: boolean;\n output: unknown;\n error: string | null;\n executionTimeMs: number;\n };\n}\n\n// ============================================================================\n// HOOK\n// ============================================================================\n\nexport function useParserOperations(options: UseParserOperationsOptions = {}) {\n const { consoleId, skipFetch = false } = options;\n\n // Local state\n const [loading, setLoading] = useState(false);\n const [error, setError] = useState<Error | null>(null);\n\n // Apollo client\n const client = useApolloClient();\n\n // Store selectors and actions\n const parsersMap = useParserStore((state) => state.parsers);\n const setParsers = useParserStore((state) => state.setParsers);\n const addParser = useParserStore((state) => state.addParser);\n const updateParserInStore = useParserStore((state) => state.updateParser);\n const removeParser = useParserStore((state) => state.removeParser);\n const setParserTesting = useParserStore((state) => state.setParserTesting);\n\n // Memoized array of parsers\n const parsers = useMemo(() => Array.from(parsersMap.values()), [parsersMap]);\n\n // ============================================================================\n // OPERATIONS\n // ============================================================================\n\n /**\n * Fetch all parsers with optional filters\n */\n const fetchParsers = useCallback(\n async (filters?: ParserFilters): Promise<Parser[]> => {\n if (!consoleId) {\n return [];\n }\n\n try {\n setLoading(true);\n setError(null);\n\n const result = await client.query<ListParsersResult>({\n query: ListParsersDocument,\n variables: {\n consoleId,\n type: filters?.type,\n status: filters?.status,\n first: 100,\n },\n fetchPolicy: 'network-only',\n });\n\n const edges = result.data?.listParsers?.edges || [];\n const normalized = edges.map((edge: { node: Parser }) => edge.node);\n\n setParsers(normalized);\n return normalized;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to fetch parsers');\n setError(error);\n return [];\n } finally {\n setLoading(false);\n }\n },\n [client, consoleId, setParsers]\n );\n\n /**\n * Fetch a single parser by ID\n */\n const fetchParser = useCallback(\n async (id: string): Promise<Parser | null> => {\n try {\n setLoading(true);\n setError(null);\n\n const result = await client.query<GetParserResult>({\n query: GetParserDocument,\n variables: { id },\n fetchPolicy: 'network-only',\n });\n\n const parser = result.data?.parser;\n if (parser) {\n addParser(parser);\n return parser;\n }\n\n return null;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to fetch parser');\n setError(error);\n return null;\n } finally {\n setLoading(false);\n }\n },\n [client, addParser]\n );\n\n /**\n * Create a new parser\n */\n const createParser = useCallback(\n async (input: CreateParserInput): Promise<Parser | null> => {\n try {\n setLoading(true);\n setError(null);\n\n const result = await client.mutate<CreateParserResult>({\n mutation: CreateParserDocument,\n variables: { input },\n });\n\n const parser = result.data?.createParser;\n if (parser) {\n addParser(parser);\n return parser;\n }\n\n return null;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to create parser');\n setError(error);\n return null;\n } finally {\n setLoading(false);\n }\n },\n [client, addParser]\n );\n\n /**\n * Update an existing parser\n */\n const updateParser = useCallback(\n async (id: string, input: UpdateParserInput, version: number): Promise<Parser | null> => {\n try {\n setLoading(true);\n setError(null);\n\n const result = await client.mutate<UpdateParserResult>({\n mutation: UpdateParserDocument,\n variables: { id, input, version },\n });\n\n const parser = result.data?.updateParser;\n if (parser) {\n updateParserInStore(id, parser);\n return parser;\n }\n\n return null;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to update parser');\n setError(error);\n return null;\n } finally {\n setLoading(false);\n }\n },\n [client, updateParserInStore]\n );\n\n /**\n * Delete a parser\n */\n const deleteParser = useCallback(\n async (id: string): Promise<boolean> => {\n try {\n setLoading(true);\n setError(null);\n\n await client.mutate<DeleteParserResult>({\n mutation: DeleteParserDocument,\n variables: { id },\n });\n\n removeParser(id);\n return true;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to delete parser');\n setError(error);\n return false;\n } finally {\n setLoading(false);\n }\n },\n [client, removeParser]\n );\n\n /**\n * Execute a parser against its input data sink\n */\n const executeParser = useCallback(\n async (id: string): Promise<ExecuteParserResult | null> => {\n try {\n setLoading(true);\n setError(null);\n setParserTesting(id, true);\n\n const result = await client.mutate<ExecuteParserMutationResult>({\n mutation: ExecuteParserDocument,\n variables: { id },\n });\n\n const execution = result.data?.executeParser;\n if (execution) {\n return {\n parserId: execution.parserId,\n success: execution.success,\n output: execution.output,\n error: execution.error,\n executionTimeMs: execution.executionTimeMs,\n cachedAt: execution.cachedAt,\n };\n }\n\n return null;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to execute parser');\n setError(error);\n return null;\n } finally {\n setLoading(false);\n setParserTesting(id, false);\n }\n },\n [client, setParserTesting]\n );\n\n /**\n * Test a parser expression with sample input\n */\n const testParserExpression = useCallback(\n async (input: TestParserInput): Promise<TestParserResult | null> => {\n try {\n setLoading(true);\n setError(null);\n\n const result = await client.query<TestParserExpressionResult>({\n query: TestParserExpressionDocument,\n variables: { input },\n fetchPolicy: 'network-only',\n });\n\n const testResult = result.data?.testParserExpression;\n if (testResult) {\n return {\n success: testResult.success,\n output: testResult.output,\n error: testResult.error,\n executionTimeMs: testResult.executionTimeMs,\n };\n }\n\n return null;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to test expression');\n setError(error);\n return null;\n } finally {\n setLoading(false);\n }\n },\n [client]\n );\n\n /**\n * Refetch all parsers\n */\n const refetch = useCallback(async () => {\n await fetchParsers();\n }, [fetchParsers]);\n\n // Auto-fetch on mount if not skipped\n useEffect(() => {\n if (consoleId && !skipFetch) {\n fetchParsers();\n }\n }, [consoleId, skipFetch, fetchParsers]);\n\n return {\n loading,\n error,\n parsers,\n fetchParsers,\n fetchParser,\n createParser,\n updateParser,\n deleteParser,\n executeParser,\n testParserExpression,\n refetch,\n };\n}\n\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AoD;AACzD,MAAI;AAGF,GAFA,EAAW,GAAK,EAChB,EAAS,KAAK,EACd,EAAiB,GAAI,GAAK;GAO1B,IAAM,KALS,MAAM,EAAO,OAAoC;IAC9D,UAAU;IACV,WAAW,EAAE,OAAI;IAClB,CAAC,EAEuB,MAAM;AAY/B,UAXI,IACK;IACL,UAAU,EAAU;IACpB,SAAS,EAAU;IACnB,QAAQ,EAAU;IAClB,OAAO,EAAU;IACjB,iBAAiB,EAAU;IAC3B,UAAU,EAAU;IACrB,GAGI;WACA,GAAK;AAGZ,UADA,EADc,aAAe,QAAQ,IAAM,gBAAI,MAAM,2BAA2B,CACjE,EACR;YACC;AAER,GADA,EAAW,GAAM,EACjB,EAAiB,GAAI,GAAM;;IAG/B,CAAC,GAAQ,EAAiB,CAC3B,EAKK,IAAuB,EAC3B,OAAO,MAA6D;AAClE,MAAI;AAEF,GADA,EAAW,GAAK,EAChB,EAAS,KAAK;GAQd,IAAM,KANS,MAAM,EAAO,MAAkC;IAC5D,OAAO;IACP,WAAW,EAAE,UAAO;IACpB,aAAa;IACd,CAAC,EAEwB,MAAM;AAUhC,UATI,IACK;IACL,SAAS,EAAW;IACpB,QAAQ,EAAW;IACnB,OAAO,EAAW;IAClB,iBAAiB,EAAW;IAC7B,GAGI;WACA,GAAK;AAGZ,UADA,EADc,aAAe,QAAQ,IAAM,gBAAI,MAAM,4BAA4B,CAClE,EACR;YACC;AACR,KAAW,GAAM;;IAGrB,CAAC,EAAO,CACT,EAKK,IAAU,EAAY,YAAY;AACtC,QAAM,GAAc;IACnB,CAAC,EAAa,CAAC;AASlB,QANA,QAAgB;AACd,EAAI,KAAa,CAAC,KAChB,GAAc;IAEf;EAAC;EAAW;EAAW;EAAa,CAAC,EAEjC;EACL;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACD"}
@@ -0,0 +1,76 @@
1
+ import { Pipeline, PipelineStage, PipelineStatus, PipelineExecution, StageErrorHandling, ParserType } from '../types';
2
+
3
+ interface UsePipelineOperationsOptions {
4
+ consoleId?: string;
5
+ skipFetch?: boolean;
6
+ }
7
+ interface PipelineFilters {
8
+ status?: PipelineStatus;
9
+ }
10
+ interface CreatePipelineInput {
11
+ consoleId: string;
12
+ name: string;
13
+ description?: string;
14
+ status?: PipelineStatus;
15
+ stages?: CreatePipelineStageInput[];
16
+ metadata?: Record<string, unknown>;
17
+ }
18
+ interface UpdatePipelineInput {
19
+ name?: string;
20
+ description?: string;
21
+ status?: PipelineStatus;
22
+ metadata?: Record<string, unknown>;
23
+ }
24
+ interface CreatePipelineStageInput {
25
+ parserId: string;
26
+ parserName?: string;
27
+ parserType?: ParserType;
28
+ expression?: string;
29
+ inputKey?: string;
30
+ outputKey?: string;
31
+ enabled?: boolean;
32
+ onError?: StageErrorHandling;
33
+ fallbackValue?: unknown;
34
+ description?: string;
35
+ }
36
+ interface UpdatePipelineStageInput {
37
+ parserId?: string;
38
+ parserName?: string;
39
+ parserType?: ParserType;
40
+ expression?: string;
41
+ inputKey?: string;
42
+ outputKey?: string;
43
+ enabled?: boolean;
44
+ onError?: StageErrorHandling;
45
+ fallbackValue?: unknown;
46
+ description?: string;
47
+ }
48
+ interface TestPipelineInput {
49
+ pipelineId: string;
50
+ inputData: string;
51
+ }
52
+ interface ExecutePipelineInput {
53
+ pipelineId: string;
54
+ inputData?: string;
55
+ }
56
+ export declare function usePipelineOperations(options?: UsePipelineOperationsOptions): {
57
+ loading: boolean;
58
+ error: Error | null;
59
+ pipelines: Pipeline[];
60
+ fetchPipelines: (filters?: PipelineFilters) => Promise<Pipeline[]>;
61
+ fetchPipeline: (id: string) => Promise<Pipeline | null>;
62
+ createPipeline: (input: CreatePipelineInput) => Promise<Pipeline | null>;
63
+ updatePipeline: (id: string, input: UpdatePipelineInput, version: number) => Promise<Pipeline | null>;
64
+ deletePipeline: (id: string) => Promise<boolean>;
65
+ addStage: (pipelineId: string, input: CreatePipelineStageInput, version: number) => Promise<Pipeline | null>;
66
+ updateStage: (stageId: string, input: UpdatePipelineStageInput, version: number) => Promise<PipelineStage | null>;
67
+ removeStage: (stageId: string, version: number) => Promise<boolean>;
68
+ reorderStages: (pipelineId: string, stageIds: string[], version: number) => Promise<Pipeline | null>;
69
+ testPipeline: (input: TestPipelineInput) => Promise<PipelineExecution | null>;
70
+ executePipeline: (input: ExecutePipelineInput) => Promise<PipelineExecution | null>;
71
+ getExecution: (id: string) => Promise<PipelineExecution | null>;
72
+ listExecutions: (pipelineId: string) => Promise<PipelineExecution[]>;
73
+ refetch: () => Promise<void>;
74
+ };
75
+ export default usePipelineOperations;
76
+ //# sourceMappingURL=usePipelineOperations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePipelineOperations.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/hooks/usePipelineOperations.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAgBH,OAAO,KAAK,EACV,QAAQ,EACR,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAClB,UAAU,EACX,MAAM,UAAU,CAAC;AAMlB,UAAU,4BAA4B;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,UAAU,eAAe;IACvB,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AAED,UAAU,mBAAmB;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,MAAM,CAAC,EAAE,wBAAwB,EAAE,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED,UAAU,mBAAmB;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,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D,MAAM,SAAS,mBAAmB,WAAW,MAAM,KAAG,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC;yBAgC9E,MAAM,KAAG,OAAO,CAAC,OAAO,CAAC;2BA2BjB,MAAM,SAAS,wBAAwB,WAAW,MAAM,KAAG,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC;2BAgCtF,MAAM,SAAS,wBAAwB,WAAW,MAAM,KAAG,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC;2BAuCxF,MAAM,WAAW,MAAM,KAAG,OAAO,CAAC,OAAO,CAAC;gCAmCvC,MAAM,YAAY,MAAM,EAAE,WAAW,MAAM,KAAG,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC;0BAgC3E,iBAAiB,KAAG,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC;6BAoCrD,oBAAoB,KAAG,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC;uBAiC3D,MAAM,KAAG,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC;iCA2BlC,MAAM,KAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;;EAwD3D;AAED,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,260 @@
1
+ import { usePipelineStore as e } from "../store/pipelineStore.js";
2
+ import { CreatePipelineDocument as t, DeletePipelineDocument as n, ExecutePipelineDocument as r, GetPipelineDocument as i, GetPipelineExecutionDocument as a, ListPipelineExecutionsDocument as o, ListPipelinesDocument as s, TestPipelineDocument as c, UpdatePipelineDocument as l } from "../../generated/wspace-operations.js";
3
+ import { useCallback as u, useEffect as d, useMemo as f, useState as p } from "react";
4
+ import { useApolloClient as m } from "@apollo/client/react";
5
+ //#region src/bigconsole/hooks/usePipelineOperations.ts
6
+ function h(h = {}) {
7
+ let { consoleId: g, skipFetch: _ = !1 } = h, [v, y] = p(!1), [b, x] = p(null), S = m(), C = e((e) => e.pipelines), w = e((e) => e.setPipelines), T = e((e) => e.addPipeline), E = e((e) => e.updatePipeline), D = e((e) => e.removePipeline), O = e((e) => e.updateStage), k = e((e) => e.removeStage), A = e((e) => e.setPipelineTesting), j = e((e) => e.setTestExecution), M = e((e) => e.setIsTestRunning), N = f(() => Array.from(C.values()), [C]), P = u(async (e) => {
8
+ if (!g) return [];
9
+ try {
10
+ y(!0), x(null);
11
+ let t = ((await S.query({
12
+ query: s,
13
+ variables: {
14
+ consoleId: g,
15
+ status: e?.status,
16
+ first: 100
17
+ },
18
+ fetchPolicy: "network-only"
19
+ })).data?.listPipelines?.edges || []).map((e) => e.node);
20
+ return w(t), t;
21
+ } catch (e) {
22
+ return x(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch pipelines")), [];
23
+ } finally {
24
+ y(!1);
25
+ }
26
+ }, [
27
+ S,
28
+ g,
29
+ w
30
+ ]), F = u(async (e) => {
31
+ try {
32
+ y(!0), x(null);
33
+ let t = (await S.query({
34
+ query: i,
35
+ variables: { id: e },
36
+ fetchPolicy: "network-only"
37
+ })).data?.pipeline;
38
+ return t ? (T(t), t) : null;
39
+ } catch (e) {
40
+ return x(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch pipeline")), null;
41
+ } finally {
42
+ y(!1);
43
+ }
44
+ }, [S, T]), I = u(async (e) => {
45
+ try {
46
+ y(!0), x(null);
47
+ let n = (await S.mutate({
48
+ mutation: t,
49
+ variables: { input: e }
50
+ })).data?.createPipeline;
51
+ return n ? (T(n), n) : null;
52
+ } catch (e) {
53
+ return x(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to create pipeline")), null;
54
+ } finally {
55
+ y(!1);
56
+ }
57
+ }, [S, T]), L = u(async (e, t, n) => {
58
+ try {
59
+ y(!0), x(null);
60
+ let r = (await S.mutate({
61
+ mutation: l,
62
+ variables: {
63
+ id: e,
64
+ input: t,
65
+ version: n
66
+ }
67
+ })).data?.updatePipeline;
68
+ return r ? (E(e, r), r) : null;
69
+ } catch (e) {
70
+ return x(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to update pipeline")), null;
71
+ } finally {
72
+ y(!1);
73
+ }
74
+ }, [S, E]), R = u(async (e) => {
75
+ try {
76
+ return y(!0), x(null), await S.mutate({
77
+ mutation: n,
78
+ variables: { id: e }
79
+ }), D(e), !0;
80
+ } catch (e) {
81
+ return x(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to delete pipeline")), !1;
82
+ } finally {
83
+ y(!1);
84
+ }
85
+ }, [S, D]), z = u(async (e, n, r) => {
86
+ try {
87
+ y(!0), x(null);
88
+ let i = (await S.mutate({
89
+ mutation: t,
90
+ variables: {
91
+ pipelineId: e,
92
+ input: n,
93
+ version: r
94
+ }
95
+ })).data?.addPipelineStage;
96
+ return i ? (E(e, i), i) : null;
97
+ } catch (e) {
98
+ return x(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to add stage")), null;
99
+ } finally {
100
+ y(!1);
101
+ }
102
+ }, [S, E]), B = u(async (e, t, n) => {
103
+ try {
104
+ y(!0), x(null);
105
+ let r = (await S.mutate({
106
+ mutation: l,
107
+ variables: {
108
+ stageId: e,
109
+ input: t,
110
+ version: n
111
+ }
112
+ })).data?.updatePipelineStage;
113
+ if (r) {
114
+ let t = Array.from(C.values()).find((t) => t.stages?.some((t) => t.id === e));
115
+ if (t) {
116
+ let n = t.stages?.findIndex((t) => t.id === e);
117
+ n !== void 0 && n >= 0 && O(t.id, n, r);
118
+ }
119
+ return r;
120
+ }
121
+ return null;
122
+ } catch (e) {
123
+ return x(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to update stage")), null;
124
+ } finally {
125
+ y(!1);
126
+ }
127
+ }, [
128
+ S,
129
+ C,
130
+ O
131
+ ]), V = u(async (e, t) => {
132
+ try {
133
+ y(!0), x(null), await S.mutate({
134
+ mutation: n,
135
+ variables: {
136
+ stageId: e,
137
+ version: t
138
+ }
139
+ });
140
+ let r = Array.from(C.values()).find((t) => t.stages?.some((t) => t.id === e));
141
+ if (r) {
142
+ let t = r.stages?.findIndex((t) => t.id === e);
143
+ t !== void 0 && t >= 0 && k(r.id, t);
144
+ }
145
+ return !0;
146
+ } catch (e) {
147
+ return x(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to remove stage")), !1;
148
+ } finally {
149
+ y(!1);
150
+ }
151
+ }, [
152
+ S,
153
+ C,
154
+ k
155
+ ]), H = u(async (e, t, n) => {
156
+ try {
157
+ y(!0), x(null);
158
+ let r = (await S.mutate({
159
+ mutation: l,
160
+ variables: {
161
+ pipelineId: e,
162
+ stageIds: t,
163
+ version: n
164
+ }
165
+ })).data?.reorderPipelineStages;
166
+ return r ? (E(e, r), r) : null;
167
+ } catch (e) {
168
+ return x(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to reorder stages")), null;
169
+ } finally {
170
+ y(!1);
171
+ }
172
+ }, [S, E]), U = u(async (e) => {
173
+ try {
174
+ y(!0), x(null), M(!0), A(e.pipelineId, !0);
175
+ let t = (await S.mutate({
176
+ mutation: c,
177
+ variables: { input: e }
178
+ })).data?.testPipeline;
179
+ return t ? (j(t), t) : null;
180
+ } catch (e) {
181
+ return x(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to test pipeline")), null;
182
+ } finally {
183
+ y(!1), M(!1), A(e.pipelineId, !1);
184
+ }
185
+ }, [
186
+ S,
187
+ M,
188
+ A,
189
+ j
190
+ ]), W = u(async (e) => {
191
+ try {
192
+ return y(!0), x(null), A(e.pipelineId, !0), (await S.mutate({
193
+ mutation: r,
194
+ variables: { input: e }
195
+ })).data?.executePipeline || null;
196
+ } catch (e) {
197
+ return x(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to execute pipeline")), null;
198
+ } finally {
199
+ y(!1), A(e.pipelineId, !1);
200
+ }
201
+ }, [S, A]), G = u(async (e) => {
202
+ try {
203
+ return y(!0), x(null), (await S.query({
204
+ query: a,
205
+ variables: { id: e },
206
+ fetchPolicy: "network-only"
207
+ })).data?.pipelineExecution || null;
208
+ } catch (e) {
209
+ return x(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to get execution")), null;
210
+ } finally {
211
+ y(!1);
212
+ }
213
+ }, [S]), K = u(async (e) => {
214
+ try {
215
+ return y(!0), x(null), (await S.query({
216
+ query: o,
217
+ variables: {
218
+ pipelineId: e,
219
+ first: 50
220
+ },
221
+ fetchPolicy: "network-only"
222
+ })).data?.listPipelineExecutions || [];
223
+ } catch (e) {
224
+ return x(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to list executions")), [];
225
+ } finally {
226
+ y(!1);
227
+ }
228
+ }, [S]), q = u(async () => {
229
+ await P();
230
+ }, [P]);
231
+ return d(() => {
232
+ g && !_ && P();
233
+ }, [
234
+ g,
235
+ _,
236
+ P
237
+ ]), {
238
+ loading: v,
239
+ error: b,
240
+ pipelines: N,
241
+ fetchPipelines: P,
242
+ fetchPipeline: F,
243
+ createPipeline: I,
244
+ updatePipeline: L,
245
+ deletePipeline: R,
246
+ addStage: z,
247
+ updateStage: B,
248
+ removeStage: V,
249
+ reorderStages: H,
250
+ testPipeline: U,
251
+ executePipeline: W,
252
+ getExecution: G,
253
+ listExecutions: K,
254
+ refetch: q
255
+ };
256
+ }
257
+ //#endregion
258
+ export { h as default };
259
+
260
+ //# sourceMappingURL=usePipelineOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePipelineOperations.js","names":[],"sources":["../../../src/bigconsole/hooks/usePipelineOperations.ts"],"sourcesContent":["/**\n * Pipeline Operations Hook\n *\n * Custom hook for Pipeline CRUD operations with Apollo Client.\n * Integrates with the Pipeline Zustand store for state management.\n */\n\nimport { useState, useMemo, useCallback, useEffect } from 'react';\nimport { useApolloClient } from '@apollo/client/react';\nimport { usePipelineStore } from '../store/pipelineStore';\nimport {\n ListPipelinesDocument,\n GetPipelineDocument,\n CreatePipelineDocument,\n UpdatePipelineDocument,\n DeletePipelineDocument,\n TestPipelineDocument,\n ExecutePipelineDocument,\n GetPipelineExecutionDocument,\n ListPipelineExecutionsDocument,\n} from '../../generated/wspace-operations';\nimport type {\n Pipeline,\n PipelineStage,\n PipelineStatus,\n PipelineExecution,\n StageErrorHandling,\n ParserType,\n} from '../types';\n\n// ============================================================================\n// TYPES\n// ============================================================================\n\ninterface UsePipelineOperationsOptions {\n consoleId?: string;\n skipFetch?: boolean;\n}\n\ninterface PipelineFilters {\n status?: PipelineStatus;\n}\n\ninterface CreatePipelineInput {\n consoleId: string;\n name: string;\n description?: string;\n status?: PipelineStatus;\n stages?: CreatePipelineStageInput[];\n metadata?: Record<string, unknown>;\n}\n\ninterface UpdatePipelineInput {\n name?: string;\n description?: string;\n status?: PipelineStatus;\n metadata?: Record<string, unknown>;\n}\n\ninterface CreatePipelineStageInput {\n parserId: string;\n parserName?: string;\n parserType?: ParserType;\n expression?: string;\n inputKey?: string;\n outputKey?: string;\n enabled?: boolean;\n onError?: StageErrorHandling;\n fallbackValue?: unknown;\n description?: string;\n}\n\ninterface UpdatePipelineStageInput {\n parserId?: string;\n parserName?: string;\n parserType?: ParserType;\n expression?: string;\n inputKey?: string;\n outputKey?: string;\n enabled?: boolean;\n onError?: StageErrorHandling;\n fallbackValue?: unknown;\n description?: string;\n}\n\ninterface TestPipelineInput {\n pipelineId: string;\n inputData: string; // JSON string\n}\n\ninterface ExecutePipelineInput {\n pipelineId: string;\n inputData?: string; // JSON string\n}\n\n// ============================================================================\n// GRAPHQL RESULT TYPES\n// ============================================================================\n\ninterface ListPipelinesResult {\n listPipelines?: {\n edges: Array<{ node: Pipeline; cursor: string }>;\n pageInfo?: { hasNextPage: boolean; endCursor?: string };\n totalCount?: number;\n };\n}\n\ninterface GetPipelineResult {\n pipeline?: Pipeline;\n}\n\ninterface CreatePipelineResult {\n createPipeline?: Pipeline;\n}\n\ninterface UpdatePipelineResult {\n updatePipeline?: Pipeline;\n}\n\ninterface DeletePipelineResult {\n deletePipeline?: boolean;\n}\n\ninterface AddPipelineStageResult {\n addPipelineStage?: Pipeline;\n}\n\ninterface UpdatePipelineStageResult {\n updatePipelineStage?: PipelineStage;\n}\n\ninterface RemovePipelineStageResult {\n removePipelineStage?: { id: string };\n}\n\ninterface ReorderPipelineStagesResult {\n reorderPipelineStages?: Pipeline;\n}\n\ninterface TestPipelineResult {\n testPipeline?: PipelineExecution;\n}\n\ninterface ExecutePipelineResult {\n executePipeline?: PipelineExecution;\n}\n\ninterface GetPipelineExecutionResult {\n pipelineExecution?: PipelineExecution;\n}\n\ninterface ListPipelineExecutionsResult {\n listPipelineExecutions?: PipelineExecution[];\n}\n\n// ============================================================================\n// HOOK\n// ============================================================================\n\nexport function usePipelineOperations(options: UsePipelineOperationsOptions = {}) {\n const { consoleId, skipFetch = false } = options;\n\n // Local state\n const [loading, setLoading] = useState(false);\n const [error, setError] = useState<Error | null>(null);\n\n // Apollo client\n const client = useApolloClient();\n\n // Store selectors and actions\n const pipelinesMap = usePipelineStore((state) => state.pipelines);\n const setPipelines = usePipelineStore((state) => state.setPipelines);\n const addPipeline = usePipelineStore((state) => state.addPipeline);\n const updatePipelineInStore = usePipelineStore((state) => state.updatePipeline);\n const removePipeline = usePipelineStore((state) => state.removePipeline);\n const updateStageInStore = usePipelineStore((state) => state.updateStage);\n const removeStageFromStore = usePipelineStore((state) => state.removeStage);\n const setPipelineTesting = usePipelineStore((state) => state.setPipelineTesting);\n const setTestExecution = usePipelineStore((state) => state.setTestExecution);\n const setIsTestRunning = usePipelineStore((state) => state.setIsTestRunning);\n\n // Memoized array of pipelines\n const pipelines = useMemo(() => Array.from(pipelinesMap.values()), [pipelinesMap]);\n\n // ============================================================================\n // OPERATIONS\n // ============================================================================\n\n /**\n * Fetch all pipelines with optional filters\n */\n const fetchPipelines = useCallback(\n async (filters?: PipelineFilters): Promise<Pipeline[]> => {\n if (!consoleId) {\n return [];\n }\n\n try {\n setLoading(true);\n setError(null);\n\n const result = await client.query<ListPipelinesResult>({\n query: ListPipelinesDocument,\n variables: {\n consoleId,\n status: filters?.status,\n first: 100,\n },\n fetchPolicy: 'network-only',\n });\n\n const edges = result.data?.listPipelines?.edges || [];\n const normalized = edges.map((edge: { node: Pipeline }) => edge.node);\n\n setPipelines(normalized);\n return normalized;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to fetch pipelines');\n setError(error);\n return [];\n } finally {\n setLoading(false);\n }\n },\n [client, consoleId, setPipelines]\n );\n\n /**\n * Fetch a single pipeline by ID\n */\n const fetchPipeline = useCallback(\n async (id: string): Promise<Pipeline | null> => {\n try {\n setLoading(true);\n setError(null);\n\n const result = await client.query<GetPipelineResult>({\n query: GetPipelineDocument,\n variables: { id },\n fetchPolicy: 'network-only',\n });\n\n const pipeline = result.data?.pipeline;\n if (pipeline) {\n addPipeline(pipeline);\n return pipeline;\n }\n\n return null;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to fetch pipeline');\n setError(error);\n return null;\n } finally {\n setLoading(false);\n }\n },\n [client, addPipeline]\n );\n\n /**\n * Create a new pipeline\n */\n const createPipeline = useCallback(\n async (input: CreatePipelineInput): Promise<Pipeline | null> => {\n try {\n setLoading(true);\n setError(null);\n\n const result = await client.mutate<CreatePipelineResult>({\n mutation: CreatePipelineDocument,\n variables: { input },\n });\n\n const pipeline = result.data?.createPipeline;\n if (pipeline) {\n addPipeline(pipeline);\n return pipeline;\n }\n\n return null;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to create pipeline');\n setError(error);\n return null;\n } finally {\n setLoading(false);\n }\n },\n [client, addPipeline]\n );\n\n /**\n * Update an existing pipeline\n */\n const updatePipeline = useCallback(\n async (id: string, input: UpdatePipelineInput, version: number): Promise<Pipeline | null> => {\n try {\n setLoading(true);\n setError(null);\n\n const result = await client.mutate<UpdatePipelineResult>({\n mutation: UpdatePipelineDocument,\n variables: { id, input, version },\n });\n\n const pipeline = result.data?.updatePipeline;\n if (pipeline) {\n updatePipelineInStore(id, pipeline);\n return pipeline;\n }\n\n return null;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to update pipeline');\n setError(error);\n return null;\n } finally {\n setLoading(false);\n }\n },\n [client, updatePipelineInStore]\n );\n\n /**\n * Delete a pipeline\n */\n const deletePipeline = useCallback(\n async (id: string): Promise<boolean> => {\n try {\n setLoading(true);\n setError(null);\n\n await client.mutate<DeletePipelineResult>({\n mutation: DeletePipelineDocument,\n variables: { id },\n });\n\n removePipeline(id);\n return true;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to delete pipeline');\n setError(error);\n return false;\n } finally {\n setLoading(false);\n }\n },\n [client, removePipeline]\n );\n\n /**\n * Add a stage to a pipeline\n */\n const addStage = useCallback(\n async (pipelineId: string, input: CreatePipelineStageInput, version: number): Promise<Pipeline | null> => {\n try {\n setLoading(true);\n setError(null);\n\n const result = await client.mutate<AddPipelineStageResult>({\n mutation: CreatePipelineDocument, // Note: addStage is not available in schema, using create pipeline\n variables: { pipelineId, input, version },\n });\n\n const pipeline = result.data?.addPipelineStage;\n if (pipeline) {\n updatePipelineInStore(pipelineId, pipeline);\n return pipeline;\n }\n\n return null;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to add stage');\n setError(error);\n return null;\n } finally {\n setLoading(false);\n }\n },\n [client, updatePipelineInStore]\n );\n\n /**\n * Update a pipeline stage\n */\n const updateStage = useCallback(\n async (stageId: string, input: UpdatePipelineStageInput, version: number): Promise<PipelineStage | null> => {\n try {\n setLoading(true);\n setError(null);\n\n const result = await client.mutate<UpdatePipelineStageResult>({\n mutation: UpdatePipelineDocument, // Note: updateStage is not available in schema, using update pipeline\n variables: { stageId, input, version },\n });\n\n const stage = result.data?.updatePipelineStage;\n if (stage) {\n // Find pipeline containing this stage and update\n const pipeline = Array.from(pipelinesMap.values()).find((p) => p.stages?.some((s) => s.id === stageId));\n if (pipeline) {\n const stageIndex = pipeline.stages?.findIndex((s) => s.id === stageId);\n if (stageIndex !== undefined && stageIndex >= 0) {\n updateStageInStore(pipeline.id, stageIndex, stage);\n }\n }\n return stage;\n }\n\n return null;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to update stage');\n setError(error);\n return null;\n } finally {\n setLoading(false);\n }\n },\n [client, pipelinesMap, updateStageInStore]\n );\n\n /**\n * Remove a stage from a pipeline\n */\n const removeStage = useCallback(\n async (stageId: string, version: number): Promise<boolean> => {\n try {\n setLoading(true);\n setError(null);\n\n await client.mutate<RemovePipelineStageResult>({\n mutation: DeletePipelineDocument, // Note: removeStage is not available in schema\n variables: { stageId, version },\n });\n\n // Find pipeline containing this stage and remove\n const pipeline = Array.from(pipelinesMap.values()).find((p) => p.stages?.some((s) => s.id === stageId));\n if (pipeline) {\n const stageIndex = pipeline.stages?.findIndex((s) => s.id === stageId);\n if (stageIndex !== undefined && stageIndex >= 0) {\n removeStageFromStore(pipeline.id, stageIndex);\n }\n }\n\n return true;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to remove stage');\n setError(error);\n return false;\n } finally {\n setLoading(false);\n }\n },\n [client, pipelinesMap, removeStageFromStore]\n );\n\n /**\n * Reorder stages in a pipeline\n */\n const reorderStages = useCallback(\n async (pipelineId: string, stageIds: string[], version: number): Promise<Pipeline | null> => {\n try {\n setLoading(true);\n setError(null);\n\n const result = await client.mutate<ReorderPipelineStagesResult>({\n mutation: UpdatePipelineDocument, // Note: reorderStages is not available in schema\n variables: { pipelineId, stageIds, version },\n });\n\n const pipeline = result.data?.reorderPipelineStages;\n if (pipeline) {\n updatePipelineInStore(pipelineId, pipeline);\n return pipeline;\n }\n\n return null;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to reorder stages');\n setError(error);\n return null;\n } finally {\n setLoading(false);\n }\n },\n [client, updatePipelineInStore]\n );\n\n /**\n * Test a pipeline with sample input (dry run)\n */\n const testPipeline = useCallback(\n async (input: TestPipelineInput): Promise<PipelineExecution | null> => {\n try {\n setLoading(true);\n setError(null);\n setIsTestRunning(true);\n setPipelineTesting(input.pipelineId, true);\n\n const result = await client.mutate<TestPipelineResult>({\n mutation: TestPipelineDocument,\n variables: { input },\n });\n\n const execution = result.data?.testPipeline;\n if (execution) {\n setTestExecution(execution);\n return execution;\n }\n\n return null;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to test pipeline');\n setError(error);\n return null;\n } finally {\n setLoading(false);\n setIsTestRunning(false);\n setPipelineTesting(input.pipelineId, false);\n }\n },\n [client, setIsTestRunning, setPipelineTesting, setTestExecution]\n );\n\n /**\n * Execute a pipeline for real\n */\n const executePipeline = useCallback(\n async (input: ExecutePipelineInput): Promise<PipelineExecution | null> => {\n try {\n setLoading(true);\n setError(null);\n setPipelineTesting(input.pipelineId, true);\n\n const result = await client.mutate<ExecutePipelineResult>({\n mutation: ExecutePipelineDocument,\n variables: { input },\n });\n\n const execution = result.data?.executePipeline;\n if (execution) {\n return execution;\n }\n\n return null;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to execute pipeline');\n setError(error);\n return null;\n } finally {\n setLoading(false);\n setPipelineTesting(input.pipelineId, false);\n }\n },\n [client, setPipelineTesting]\n );\n\n /**\n * Get a specific pipeline execution by ID\n */\n const getExecution = useCallback(\n async (id: string): Promise<PipelineExecution | null> => {\n try {\n setLoading(true);\n setError(null);\n\n const result = await client.query<GetPipelineExecutionResult>({\n query: GetPipelineExecutionDocument,\n variables: { id },\n fetchPolicy: 'network-only',\n });\n\n return result.data?.pipelineExecution || null;\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to get execution');\n setError(error);\n return null;\n } finally {\n setLoading(false);\n }\n },\n [client]\n );\n\n /**\n * List executions for a pipeline\n */\n const listExecutions = useCallback(\n async (pipelineId: string): Promise<PipelineExecution[]> => {\n try {\n setLoading(true);\n setError(null);\n\n const result = await client.query<ListPipelineExecutionsResult>({\n query: ListPipelineExecutionsDocument,\n variables: { pipelineId, first: 50 },\n fetchPolicy: 'network-only',\n });\n\n return result.data?.listPipelineExecutions || [];\n } catch (err) {\n const error = err instanceof Error ? err : new Error('Failed to list executions');\n setError(error);\n return [];\n } finally {\n setLoading(false);\n }\n },\n [client]\n );\n\n /**\n * Refetch all pipelines\n */\n const refetch = useCallback(async () => {\n await fetchPipelines();\n }, [fetchPipelines]);\n\n // Auto-fetch on mount if not skipped\n useEffect(() => {\n if (consoleId && !skipFetch) {\n fetchPipelines();\n }\n }, [consoleId, skipFetch, fetchPipelines]);\n\n return {\n loading,\n error,\n pipelines,\n fetchPipelines,\n fetchPipeline,\n createPipeline,\n updatePipeline,\n deletePipeline,\n addStage,\n updateStage,\n removeStage,\n reorderStages,\n testPipeline,\n executePipeline,\n getExecution,\n listExecutions,\n refetch,\n };\n}\n\nexport default usePipelineOperations;\n"],"mappings":";;;;;AA+JA,SAAgB,EAAsB,IAAwC,EAAE,EAAE;CAChF,IAAM,EAAE,cAAW,eAAY,OAAU,GAGnC,CAAC,GAAS,KAAc,EAAS,GAAM,EACvC,CAAC,GAAO,KAAY,EAAuB,KAAK,EAGhD,IAAS,GAAiB,EAG1B,IAAe,GAAkB,MAAU,EAAM,UAAU,EAC3D,IAAe,GAAkB,MAAU,EAAM,aAAa,EAC9D,IAAc,GAAkB,MAAU,EAAM,YAAY,EAC5D,IAAwB,GAAkB,MAAU,EAAM,eAAe,EACzE,IAAiB,GAAkB,MAAU,EAAM,eAAe,EAClE,IAAqB,GAAkB,MAAU,EAAM,YAAY,EACnE,IAAuB,GAAkB,MAAU,EAAM,YAAY,EACrE,IAAqB,GAAkB,MAAU,EAAM,mBAAmB,EAC1E,IAAmB,GAAkB,MAAU,EAAM,iBAAiB,EACtE,IAAmB,GAAkB,MAAU,EAAM,iBAAiB,EAGtE,IAAY,QAAc,MAAM,KAAK,EAAa,QAAQ,CAAC,EAAE,CAAC,EAAa,CAAC,EAS5E,IAAiB,EACrB,OAAO,MAAmD;AACxD,MAAI,CAAC,EACH,QAAO,EAAE;AAGX,MAAI;AAEF,GADA,EAAW,GAAK,EAChB,EAAS,KAAK;GAad,IAAM,MAXS,MAAM,EAAO,MAA2B;IACrD,OAAO;IACP,WAAW;KACT;KACA,QAAQ,GAAS;KACjB,OAAO;KACR;IACD,aAAa;IACd,CAAC,EAEmB,MAAM,eAAe,SAAS,EAAE,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AAI;AAUF,UATA,EAAW,GAAK,EAChB,EAAS,KAAK,GAEC,MAAM,EAAO,MAAoC;IAC9D,OAAO;IACP,WAAW;KAAE;KAAY,OAAO;KAAI;IACpC,aAAa;IACd,CAAC,EAEY,MAAM,0BAA0B,EAAE;WACzC,GAAK;AAGZ,UADA,EADc,aAAe,QAAQ,IAAM,gBAAI,MAAM,4BAA4B,CAClE,EACR,EAAE;YACD;AACR,KAAW,GAAM;;IAGrB,CAAC,EAAO,CACT,EAKK,IAAU,EAAY,YAAY;AACtC,QAAM,GAAgB;IACrB,CAAC,EAAe,CAAC;AASpB,QANA,QAAgB;AACd,EAAI,KAAa,CAAC,KAChB,GAAgB;IAEjB;EAAC;EAAW;EAAW;EAAe,CAAC,EAEnC;EACL;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACD"}
@@ -0,0 +1,69 @@
1
+ import { ActionType, ActionStyle, ActionConfirmation, WidgetAction } from '../types';
2
+
3
+ export type { ActionType, ActionStyle, ActionConfirmation, WidgetAction };
4
+ export interface CreateWidgetActionInput {
5
+ widgetId: string;
6
+ name: string;
7
+ label: string;
8
+ type?: ActionType;
9
+ style?: ActionStyle;
10
+ icon?: string | null;
11
+ confirmation?: ActionConfirmation | null;
12
+ disabled?: boolean;
13
+ hidden?: boolean;
14
+ order?: number;
15
+ metadata?: Record<string, unknown> | null;
16
+ }
17
+ export interface UpdateWidgetActionInput {
18
+ id: string;
19
+ name?: string;
20
+ label?: string;
21
+ type?: ActionType;
22
+ style?: ActionStyle;
23
+ icon?: string | null;
24
+ confirmation?: ActionConfirmation | null;
25
+ disabled?: boolean;
26
+ hidden?: boolean;
27
+ order?: number;
28
+ metadata?: Record<string, unknown> | null;
29
+ }
30
+ export interface UseWidgetActionsOptions {
31
+ /** Whether to skip fetching actions on mount */
32
+ skipFetch?: boolean;
33
+ /** Callback when actions are loaded */
34
+ onActionsLoaded?: (actions: WidgetAction[]) => void;
35
+ /** Callback when an action is created */
36
+ onActionCreated?: (action: WidgetAction) => void;
37
+ /** Callback when an action is updated */
38
+ onActionUpdated?: (action: WidgetAction) => void;
39
+ /** Callback when an action is deleted */
40
+ onActionDeleted?: (actionId: string) => void;
41
+ /** Callback when actions are reordered */
42
+ onActionsReordered?: (actions: {
43
+ id: string;
44
+ order: number;
45
+ }[]) => void;
46
+ /** Callback on error */
47
+ onError?: (error: Error) => void;
48
+ }
49
+ export interface UseWidgetActionsResult {
50
+ /** Loading state */
51
+ loading: boolean;
52
+ /** Error state */
53
+ error: Error | null;
54
+ /** List of widget actions */
55
+ actions: WidgetAction[];
56
+ /** Create a new action */
57
+ createAction: (input: Omit<CreateWidgetActionInput, 'widgetId'>) => Promise<WidgetAction | null>;
58
+ /** Update an existing action */
59
+ updateAction: (input: UpdateWidgetActionInput) => Promise<WidgetAction | null>;
60
+ /** Delete an action */
61
+ deleteAction: (actionId: string) => Promise<boolean>;
62
+ /** Reorder actions */
63
+ reorderActions: (actionIds: string[]) => Promise<boolean>;
64
+ /** Refetch actions */
65
+ refetch: () => void;
66
+ }
67
+ export declare function useWidgetActions(widgetId: string | undefined, options?: UseWidgetActionsOptions): UseWidgetActionsResult;
68
+ export default useWidgetActions;
69
+ //# sourceMappingURL=useWidgetActions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useWidgetActions.d.ts","sourceRoot":"","sources":["../../../src/bigconsole/hooks/useWidgetActions.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAWH,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAO1F,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,kBAAkB,EAAE,YAAY,EAAE,CAAC;AAE1E,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,C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