@burdenoff/microfe-bigconsole 2026.1030.4 → 2026.1031.2

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 (291) hide show
  1. package/README.md +5 -0
  2. package/dist/bigconsole/BigConsoleRoot.js +6 -4
  3. package/dist/bigconsole/assistant/assistantApi.js +1 -1
  4. package/dist/bigconsole/assistant/assistantProduct.js +70 -70
  5. package/dist/bigconsole/assistant/assistantRunPersistence.js +1 -1
  6. package/dist/bigconsole/assistant/assistantRuntime.js +1 -1
  7. package/dist/bigconsole/assistant/attachmentExtract.js +1 -1
  8. package/dist/bigconsole/assistant/conversationHistoryApi.js +1 -1
  9. package/dist/bigconsole/assistant/createSandboxAssistantTransport.js +5 -4
  10. package/dist/bigconsole/assistant/pageContext.js +1 -1
  11. package/dist/bigconsole/assistant/pageControls.js +1 -1
  12. package/dist/bigconsole/assistant/previewController.js +1 -1
  13. package/dist/bigconsole/assistant/recordAdapters.js +1 -1
  14. package/dist/bigconsole/components/DrilldownDashboardRenderer.js +2 -2
  15. package/dist/bigconsole/components/DrilldownModal.js +1 -1
  16. package/dist/bigconsole/components/builder/WidgetInspector.js +1 -1
  17. package/dist/bigconsole/components/builder/index.js +5 -4
  18. package/dist/bigconsole/components/builder/inspector/AppearanceSection.js +7 -7
  19. package/dist/bigconsole/components/builder/inspector/DataBindingSection.js +2 -2
  20. package/dist/bigconsole/components/builder/inspector/LayoutSection.js +1 -1
  21. package/dist/bigconsole/components/builder/inspector/index.js +6 -5
  22. package/dist/bigconsole/components/common/index.js +4 -3
  23. package/dist/bigconsole/components/dashboard/CreateDashboardDialog.js +3 -3
  24. package/dist/bigconsole/components/dashboard/DashboardCanvas.js +9 -9
  25. package/dist/bigconsole/components/dashboard/DashboardGrid.js +2 -2
  26. package/dist/bigconsole/components/dashboard/DashboardStatusPill.js +1 -1
  27. package/dist/bigconsole/components/dashboard/DashboardToolbar.js +2 -2
  28. package/dist/bigconsole/components/dashboard/DrilldownBreadcrumb.js +4 -3
  29. package/dist/bigconsole/components/dashboard/ExportDashboardDialog.js +1 -1
  30. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +1 -1
  31. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterEditor.js +1 -1
  32. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterPresetSelector.js +1 -1
  33. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js +4 -4
  34. package/dist/bigconsole/components/dashboard/GlobalFiltersBar/index.js +2 -1
  35. package/dist/bigconsole/components/dashboard/ImportDashboardDialog.js +1 -1
  36. package/dist/bigconsole/components/dashboard/LiveBoardBanner.js +1 -1
  37. package/dist/bigconsole/components/dashboard/LiveCanvasToggle.js +1 -1
  38. package/dist/bigconsole/components/dashboard/PageTabsManager/PageTabsManager.js +1 -1
  39. package/dist/bigconsole/components/dashboard/PageTabsManager/index.js +2 -1
  40. package/dist/bigconsole/components/dashboard/PublishToStoreDialog.js +1 -1
  41. package/dist/bigconsole/components/dashboard/QuotaLimitNotice.js +1 -1
  42. package/dist/bigconsole/components/dashboard/SavedViewsDropdown/SavedViewsDropdown.js +1 -1
  43. package/dist/bigconsole/components/dashboard/SavedViewsDropdown/index.js +2 -1
  44. package/dist/bigconsole/components/dashboard/ShareDialog/EmbedTab.js +152 -152
  45. package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +2 -2
  46. package/dist/bigconsole/components/dashboard/ShareDialog/index.js +2 -1
  47. package/dist/bigconsole/components/dashboard/StoreTemplatePicker.js +1 -1
  48. package/dist/bigconsole/components/dashboard/TemplateSetupBanner.js +1 -1
  49. package/dist/bigconsole/components/dashboard/WidgetPalette.js +2 -2
  50. package/dist/bigconsole/components/dashboard/index.js +6 -5
  51. package/dist/bigconsole/components/datasink/CacheTTLSelector.js +2 -2
  52. package/dist/bigconsole/components/datasink/DataSinkCard.js +2 -2
  53. package/dist/bigconsole/components/datasink/DataSinkDataViewer.js +1 -1
  54. package/dist/bigconsole/components/datasink/DataSinkDeleteDialog.js +1 -1
  55. package/dist/bigconsole/components/datasink/DataSinkRefreshDialog.js +1 -1
  56. package/dist/bigconsole/components/datasink/DataSinkStatusBadge.js +1 -1
  57. package/dist/bigconsole/components/datasink/DataSinkTableViewer.js +1 -1
  58. package/dist/bigconsole/components/datasink/ExportDataSinkDialog.js +1 -1
  59. package/dist/bigconsole/components/datasink/ImportDataGuideDialog.js +1 -1
  60. package/dist/bigconsole/components/datasink/ImportDataSinkDialog.js +1 -1
  61. package/dist/bigconsole/components/datasink/LinkedParsersPanel.js +1 -1
  62. package/dist/bigconsole/components/datasink/LinkedWorkflowsPanel.js +1 -1
  63. package/dist/bigconsole/components/datasink/RefreshTypeSelector.js +1 -1
  64. package/dist/bigconsole/components/datasink/SetupStateBadge.js +1 -1
  65. package/dist/bigconsole/components/datasink/WorkflowStatusPanel.js +1 -1
  66. package/dist/bigconsole/components/embed/widgets/CalendarEmbed.js +1 -1
  67. package/dist/bigconsole/components/embed/widgets/ChartEmbed.js +9 -9
  68. package/dist/bigconsole/components/embed/widgets/FormEmbed.js +2 -2
  69. package/dist/bigconsole/components/embed/widgets/GaugeEmbed.js +1 -1
  70. package/dist/bigconsole/components/embed/widgets/HeatmapEmbed.js +1 -1
  71. package/dist/bigconsole/components/embed/widgets/KanbanEmbed.js +2 -2
  72. package/dist/bigconsole/components/embed/widgets/ProgressEmbed.js +1 -1
  73. package/dist/bigconsole/components/embed/widgets/RetentionEmbed.js +1 -1
  74. package/dist/bigconsole/components/embed/widgets/TimelineEmbed.js +1 -1
  75. package/dist/bigconsole/components/overview/DashboardGuide.js +1 -1
  76. package/dist/bigconsole/components/overview/DataHealthCard.js +2 -2
  77. package/dist/bigconsole/components/overview/OverviewQuickActions.js +1 -1
  78. package/dist/bigconsole/components/overview/OverviewStatCard.js +1 -1
  79. package/dist/bigconsole/components/overview/RecentDashboardsPanel.js +2 -2
  80. package/dist/bigconsole/components/overview/index.js +9 -8
  81. package/dist/bigconsole/components/overview/overviewModel.js +1 -1
  82. package/dist/bigconsole/components/parser/DataSinkSelector.js +2 -2
  83. package/dist/bigconsole/components/parser/ExportParserDialog.js +1 -1
  84. package/dist/bigconsole/components/parser/ExpressionEditor.js +1 -1
  85. package/dist/bigconsole/components/parser/ImportParserDialog.js +10 -10
  86. package/dist/bigconsole/components/parser/ParserCard.js +3 -3
  87. package/dist/bigconsole/components/parser/ParserSelector.js +3 -3
  88. package/dist/bigconsole/components/parser/ParserStatusBadge.js +1 -1
  89. package/dist/bigconsole/components/parser/ParserTypeBadge.js +1 -1
  90. package/dist/bigconsole/components/pipeline/PipelineCard.js +2 -2
  91. package/dist/bigconsole/components/pipeline/PipelineDeleteDialog.js +1 -1
  92. package/dist/bigconsole/components/pipeline/PipelineStatusBadge.js +1 -1
  93. package/dist/bigconsole/components/preview/AiPreviewContent.js +3 -3
  94. package/dist/bigconsole/components/preview/confirmedPreviewWidgets.js +10 -12
  95. package/dist/bigconsole/components/widgets/ActionConfigDialog.js +314 -314
  96. package/dist/bigconsole/components/widgets/DrilldownConfigPanel.js +3 -2
  97. package/dist/bigconsole/components/widgets/PropertiesPanel.js +37 -22
  98. package/dist/bigconsole/components/widgets/WidgetErrorBoundary.js +1 -1
  99. package/dist/bigconsole/components/widgets/WidgetHeader.js +2 -2
  100. package/dist/bigconsole/components/widgets/WidgetMenu.js +1 -1
  101. package/dist/bigconsole/components/widgets/WidgetRegistry.js +1 -1
  102. package/dist/bigconsole/components/widgets/WidgetWrapper.js +16 -16
  103. package/dist/bigconsole/components/widgets/adaptive-card/AdaptiveCardWidget.js +1 -1
  104. package/dist/bigconsole/components/widgets/adaptive-card/index.js +1 -1
  105. package/dist/bigconsole/components/widgets/advanced/AdvancedWidgets.js +1 -1
  106. package/dist/bigconsole/components/widgets/calendar/CalendarView.js +1 -1
  107. package/dist/bigconsole/components/widgets/calendar/CalendarWidget.js +9 -9
  108. package/dist/bigconsole/components/widgets/calendar/index.js +1 -1
  109. package/dist/bigconsole/components/widgets/chart/ChartConfig.js +1 -1
  110. package/dist/bigconsole/components/widgets/chart/ChartLegend.js +1 -1
  111. package/dist/bigconsole/components/widgets/chart/ChartTooltip.js +1 -1
  112. package/dist/bigconsole/components/widgets/chart/ChartWidget.js +10 -10
  113. package/dist/bigconsole/components/widgets/chart/charts/AreaChart.js +2 -2
  114. package/dist/bigconsole/components/widgets/chart/charts/BarChart.js +2 -2
  115. package/dist/bigconsole/components/widgets/chart/charts/ComboChart.js +2 -2
  116. package/dist/bigconsole/components/widgets/chart/charts/FunnelChart.js +2 -2
  117. package/dist/bigconsole/components/widgets/chart/charts/LineChart.js +2 -2
  118. package/dist/bigconsole/components/widgets/chart/charts/PieChart.js +2 -2
  119. package/dist/bigconsole/components/widgets/chart/charts/ScatterChart.js +2 -2
  120. package/dist/bigconsole/components/widgets/chart/charts/WaterfallChart.js +1 -1
  121. package/dist/bigconsole/components/widgets/chart/charts/index.js +6 -5
  122. package/dist/bigconsole/components/widgets/chart/charts/numericSeries.js +4 -2
  123. package/dist/bigconsole/components/widgets/chart/index.js +9 -9
  124. package/dist/bigconsole/components/widgets/comments/WidgetComments.js +1 -1
  125. package/dist/bigconsole/components/widgets/custom/CustomWidget.js +1 -1
  126. package/dist/bigconsole/components/widgets/custom/index.js +1 -1
  127. package/dist/bigconsole/components/widgets/event-logs/EventLogViewer.js +1 -1
  128. package/dist/bigconsole/components/widgets/event-logs/index.js +2 -1
  129. package/dist/bigconsole/components/widgets/form/FormWidget.js +2 -2
  130. package/dist/bigconsole/components/widgets/form/index.js +1 -1
  131. package/dist/bigconsole/components/widgets/funnel/index.js +1 -1
  132. package/dist/bigconsole/components/widgets/gauge/CircularGauge.js +1 -1
  133. package/dist/bigconsole/components/widgets/gauge/GaugeConfig.js +1 -1
  134. package/dist/bigconsole/components/widgets/gauge/GaugeWidget.js +3 -3
  135. package/dist/bigconsole/components/widgets/gauge/LinearGauge.js +1 -1
  136. package/dist/bigconsole/components/widgets/gauge/index.js +4 -4
  137. package/dist/bigconsole/components/widgets/heatmap/HeatmapConfig.js +1 -1
  138. package/dist/bigconsole/components/widgets/heatmap/HeatmapWidget.js +1 -1
  139. package/dist/bigconsole/components/widgets/heatmap/index.js +2 -2
  140. package/dist/bigconsole/components/widgets/iframe-widget/IframeWidget.js +1 -1
  141. package/dist/bigconsole/components/widgets/iframe-widget/index.js +1 -1
  142. package/dist/bigconsole/components/widgets/index.js +2 -1
  143. package/dist/bigconsole/components/widgets/kanban/KanbanView.js +1 -1
  144. package/dist/bigconsole/components/widgets/kanban/KanbanWidget.js +2 -2
  145. package/dist/bigconsole/components/widgets/kanban/index.js +1 -1
  146. package/dist/bigconsole/components/widgets/kpi/KPIWidget.js +1 -1
  147. package/dist/bigconsole/components/widgets/kpi-comparison/KPIComparisonWidget.js +3 -3
  148. package/dist/bigconsole/components/widgets/kpi-comparison/index.js +1 -1
  149. package/dist/bigconsole/components/widgets/list/ListConfig.js +1 -1
  150. package/dist/bigconsole/components/widgets/list/ListItem.js +1 -1
  151. package/dist/bigconsole/components/widgets/list/ListWidget.js +2 -2
  152. package/dist/bigconsole/components/widgets/list/index.js +3 -3
  153. package/dist/bigconsole/components/widgets/map-widget/MapWidget.js +1 -1
  154. package/dist/bigconsole/components/widgets/map-widget/index.js +1 -1
  155. package/dist/bigconsole/components/widgets/metric-card/ComparisonBadge.js +2 -2
  156. package/dist/bigconsole/components/widgets/metric-card/MetricCardConfig.js +1 -1
  157. package/dist/bigconsole/components/widgets/metric-card/MetricCardWidget.js +4 -4
  158. package/dist/bigconsole/components/widgets/metric-card/SparklineChart.js +1 -1
  159. package/dist/bigconsole/components/widgets/metric-card/TrendIndicator.js +1 -1
  160. package/dist/bigconsole/components/widgets/metric-card/index.js +5 -5
  161. package/dist/bigconsole/components/widgets/pivot-table/PivotTableWidget.js +3 -3
  162. package/dist/bigconsole/components/widgets/pivot-table/index.js +1 -1
  163. package/dist/bigconsole/components/widgets/progress/ProgressBar.js +1 -1
  164. package/dist/bigconsole/components/widgets/progress/ProgressConfig.js +6 -4
  165. package/dist/bigconsole/components/widgets/progress/ProgressWidget.js +2 -2
  166. package/dist/bigconsole/components/widgets/progress/index.js +3 -3
  167. package/dist/bigconsole/components/widgets/retention/RetentionWidget.js +1 -1
  168. package/dist/bigconsole/components/widgets/retention/index.js +1 -1
  169. package/dist/bigconsole/components/widgets/states/EmptyState.js +1 -1
  170. package/dist/bigconsole/components/widgets/states/ErrorState.js +1 -1
  171. package/dist/bigconsole/components/widgets/states/LoadingState.js +1 -1
  172. package/dist/bigconsole/components/widgets/table/TableCell.js +2 -2
  173. package/dist/bigconsole/components/widgets/table/TableConfig.js +12 -8
  174. package/dist/bigconsole/components/widgets/table/TableHeader.js +1 -1
  175. package/dist/bigconsole/components/widgets/table/TablePagination.js +1 -1
  176. package/dist/bigconsole/components/widgets/table/TableWidget.js +12 -10
  177. package/dist/bigconsole/components/widgets/table/index.js +5 -5
  178. package/dist/bigconsole/components/widgets/text-widget/TextWidget.js +1 -1
  179. package/dist/bigconsole/components/widgets/text-widget/index.js +1 -1
  180. package/dist/bigconsole/components/widgets/text-widget/textData.js +2 -2
  181. package/dist/bigconsole/components/widgets/timeline/TimelineWidget.js +1 -1
  182. package/dist/bigconsole/components/widgets/timeline/index.js +1 -1
  183. package/dist/bigconsole/components/widgets/utils/conditionalFormat.js +1 -1
  184. package/dist/bigconsole/components/widgets/webhook-config/WebhookConfigPanel.js +1 -1
  185. package/dist/bigconsole/components/widgets/webhook-config/index.js +2 -1
  186. package/dist/bigconsole/components/widgets/widget-actions/WidgetActions.js +1 -1
  187. package/dist/bigconsole/components/widgets/widget-actions/index.js +2 -1
  188. package/dist/bigconsole/components/workflow/WorkflowCard.js +2 -2
  189. package/dist/bigconsole/components/workflow/WorkflowDeleteDialog.js +1 -1
  190. package/dist/bigconsole/components/workflow/WorkflowStatusBadge.js +1 -1
  191. package/dist/bigconsole/context/BigConsoleContext.js +2 -1
  192. package/dist/bigconsole/context/index.js +2 -1
  193. package/dist/bigconsole/contexts/CrossFilterContext.js +1 -1
  194. package/dist/bigconsole/contexts/NavigationContext.js +2 -1
  195. package/dist/bigconsole/contexts/index.js +3 -2
  196. package/dist/bigconsole/customWidget/CustomWidgetBuilderSheet.js +2 -2
  197. package/dist/bigconsole/customWidget/CustomWidgetProposalPanel.js +6 -5
  198. package/dist/bigconsole/customWidget/index.js +2 -1
  199. package/dist/bigconsole/customWidget/proposalContract.js +1 -1
  200. package/dist/bigconsole/graphql/storeTemplates.js +5 -5
  201. package/dist/bigconsole/graphql/widgetCapabilities.js +1 -1
  202. package/dist/bigconsole/hooks/index.js +24 -23
  203. package/dist/bigconsole/hooks/useActivePage.js +1 -1
  204. package/dist/bigconsole/hooks/useAutoRefresh.js +1 -1
  205. package/dist/bigconsole/hooks/useBigConsoleAnalytics.js +1 -1
  206. package/dist/bigconsole/hooks/useCrossFilter.js +1 -1
  207. package/dist/bigconsole/hooks/useDashboardEmbedPolicy.js +1 -1
  208. package/dist/bigconsole/hooks/useDashboardImageExport.js +1 -1
  209. package/dist/bigconsole/hooks/useDashboardOperations.js +14 -6
  210. package/dist/bigconsole/hooks/useDashboardSharing.js +15 -8
  211. package/dist/bigconsole/hooks/useDashboardViews.js +15 -8
  212. package/dist/bigconsole/hooks/useDataSinkAlerts.js +11 -8
  213. package/dist/bigconsole/hooks/useDataSinkOperations.js +19 -10
  214. package/dist/bigconsole/hooks/useDataSinkSubscription.js +1 -1
  215. package/dist/bigconsole/hooks/useDrilldown.js +2 -2
  216. package/dist/bigconsole/hooks/useDrilldownOperations.js +1 -1
  217. package/dist/bigconsole/hooks/useEventLogs.js +1 -1
  218. package/dist/bigconsole/hooks/useEventWebhooks.js +1 -1
  219. package/dist/bigconsole/hooks/useExportDashboard.js +7 -3
  220. package/dist/bigconsole/hooks/useExportDataSink.js +5 -3
  221. package/dist/bigconsole/hooks/useExportParser.js +5 -3
  222. package/dist/bigconsole/hooks/useFilterPresets.js +1 -1
  223. package/dist/bigconsole/hooks/useFilterUrlSync.js +1 -1
  224. package/dist/bigconsole/hooks/useGlobalFilters.js +11 -6
  225. package/dist/bigconsole/hooks/useImportDashboard.js +4 -2
  226. package/dist/bigconsole/hooks/useImportDataSink.js +3 -2
  227. package/dist/bigconsole/hooks/useImportParser.js +3 -2
  228. package/dist/bigconsole/hooks/useInstalledWidgets.js +1 -1
  229. package/dist/bigconsole/hooks/useModalFocusTrap.js +1 -1
  230. package/dist/bigconsole/hooks/usePageOperations.js +9 -5
  231. package/dist/bigconsole/hooks/useParserOperations.js +15 -8
  232. package/dist/bigconsole/hooks/usePipelineOperations.js +25 -13
  233. package/dist/bigconsole/hooks/useStoreDashboardTemplates.js +1 -1
  234. package/dist/bigconsole/hooks/useWidgetActions.js +1 -1
  235. package/dist/bigconsole/hooks/useWidgetCatalog.js +5 -5
  236. package/dist/bigconsole/hooks/useWidgetComments.js +1 -1
  237. package/dist/bigconsole/hooks/useWidgetConfigPersist.js +1 -1
  238. package/dist/bigconsole/hooks/useWidgetData.js +1 -1
  239. package/dist/bigconsole/hooks/useWidgetEvents.js +1 -1
  240. package/dist/bigconsole/hooks/useWidgetExport.js +1 -1
  241. package/dist/bigconsole/hooks/useWidgetOperations.js +28 -16
  242. package/dist/bigconsole/hooks/useWorkflowOperations.js +19 -10
  243. package/dist/bigconsole/index.js +9 -8
  244. package/dist/bigconsole/pages/DashboardBuilderPage.js +44 -35
  245. package/dist/bigconsole/pages/DashboardViewPage.js +23 -16
  246. package/dist/bigconsole/pages/DashboardsPage.js +4 -4
  247. package/dist/bigconsole/pages/DataParsersPage.js +2 -2
  248. package/dist/bigconsole/pages/DataSinkBuilderPage.js +12 -7
  249. package/dist/bigconsole/pages/DataSinkViewPage.js +8 -8
  250. package/dist/bigconsole/pages/DataSinksPage.js +6 -6
  251. package/dist/bigconsole/pages/OverviewPage.js +5 -5
  252. package/dist/bigconsole/pages/ParserBuilderPage.js +5 -5
  253. package/dist/bigconsole/pages/ParserViewPage.js +4 -4
  254. package/dist/bigconsole/pages/PipelineBuilderPage.js +1 -1
  255. package/dist/bigconsole/pages/PipelineViewPage.js +7 -3
  256. package/dist/bigconsole/pages/PipelinesPage.js +2 -2
  257. package/dist/bigconsole/pages/WidgetDemoPage.js +1 -1
  258. package/dist/bigconsole/pages/WorkflowViewPage.js +7 -14
  259. package/dist/bigconsole/pages/WorkflowsPage.js +3 -3
  260. package/dist/bigconsole/renderers/adapters/AdaptiveCardRenderer.js +4 -4
  261. package/dist/bigconsole/renderers/adapters/BigConsoleRenderer.js +1 -1
  262. package/dist/bigconsole/renderers/adapters/BlockKitRenderer.js +1 -1
  263. package/dist/bigconsole/renderers/adapters/CustomRenderer.js +13 -12
  264. package/dist/bigconsole/renderers/factory/WidgetRendererFactory.js +1 -1
  265. package/dist/bigconsole/renderers/registry/RendererRegistry.js +5 -5
  266. package/dist/bigconsole/store/drilldownStore.js +1 -1
  267. package/dist/bigconsole/store/index.js +4 -3
  268. package/dist/bigconsole/store/parserStore.js +1 -1
  269. package/dist/bigconsole/store/pipelineStore.js +1 -1
  270. package/dist/bigconsole/utils/advancedWidgetCapabilities.js +1 -1
  271. package/dist/bigconsole/utils/backendError.js +21 -22
  272. package/dist/bigconsole/utils/createDialogParam.js +2 -2
  273. package/dist/bigconsole/utils/csv.js +34 -36
  274. package/dist/bigconsole/utils/dataSinkPayload.js +12 -14
  275. package/dist/bigconsole/utils/drilldownParams.js +1 -1
  276. package/dist/bigconsole/utils/formDirty.js +3 -3
  277. package/dist/bigconsole/utils/layoutBaseline.js +1 -1
  278. package/dist/bigconsole/utils/quota.js +4 -4
  279. package/dist/bigconsole/utils/safeUrl.js +35 -33
  280. package/dist/bigconsole/utils/sanitizeHtml.js +2 -2
  281. package/dist/bigconsole/utils/templateGalleryFilter.js +2 -2
  282. package/dist/bigconsole/utils/widgetBinding.js +2 -2
  283. package/dist/bigconsole/utils/widgetDisplayData.js +1 -1
  284. package/dist/bigconsole/utils/widgetTypeMapping.js +3 -3
  285. package/dist/bigconsole/workflowOpen.js +2 -2
  286. package/dist/index.js +1 -1
  287. package/dist/node_modules/@e965/xlsx/xlsx.js +19 -19
  288. package/dist/node_modules/dompurify/dist/purify.es.js +454 -361
  289. package/dist/node_modules/pdfjs-dist/build/pdf.js +16 -16
  290. package/dist/shared/hooks/useTr.js +1 -1
  291. package/package.json +14 -12
@@ -56,7 +56,9 @@ function l() {
56
56
  }
57
57
  throw Error("Export returned empty content");
58
58
  } catch (e) {
59
- return i() && f(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to export dashboard")), null;
59
+ if (!i()) return null;
60
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to export dashboard");
61
+ return f(t), null;
60
62
  } finally {
61
63
  i() && u(!1);
62
64
  }
@@ -81,7 +83,9 @@ function l() {
81
83
  }
82
84
  return s(r, `${c(i || "dashboard")}-export-${(/* @__PURE__ */ new Date()).toISOString().split("T")[0]}.json`), !0;
83
85
  } catch (e) {
84
- return _.current === g && f(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to download dashboard")), !1;
86
+ if (_.current !== g) return !1;
87
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to download dashboard");
88
+ return f(t), !1;
85
89
  }
86
90
  }, [
87
91
  b,
@@ -94,4 +98,4 @@ function l() {
94
98
  };
95
99
  }
96
100
  //#endregion
97
- export { l as default };
101
+ export { l as default, l as useExportDashboard };
@@ -52,7 +52,8 @@ function c() {
52
52
  let i = s(r, n);
53
53
  return n.prettyPrint ?? !0 ? JSON.stringify(i, null, 2) : JSON.stringify(i);
54
54
  } catch (e) {
55
- return u(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to export DataSink")), null;
55
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to export DataSink");
56
+ return u(t), null;
56
57
  } finally {
57
58
  c(!1);
58
59
  }
@@ -74,7 +75,8 @@ function c() {
74
75
  }
75
76
  return a(r, `${o(i || "datasink")}-datasink-export-${(/* @__PURE__ */ new Date()).toISOString().split("T")[0]}.json`), !0;
76
77
  } catch (e) {
77
- return u(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to download DataSink")), !1;
78
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to download DataSink");
79
+ return u(t), !1;
78
80
  }
79
81
  }, [f]),
80
82
  clearError: t(() => {
@@ -83,4 +85,4 @@ function c() {
83
85
  };
84
86
  }
85
87
  //#endregion
86
- export { c as default };
88
+ export { c as default, c as useExportDataSink };
@@ -45,7 +45,8 @@ function c() {
45
45
  let i = s(r);
46
46
  return n.prettyPrint ?? !0 ? JSON.stringify(i, null, 2) : JSON.stringify(i);
47
47
  } catch (e) {
48
- return u(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to export parser")), null;
48
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to export parser");
49
+ return u(t), null;
49
50
  } finally {
50
51
  c(!1);
51
52
  }
@@ -67,7 +68,8 @@ function c() {
67
68
  }
68
69
  return a(r, `${o(i || "parser")}-parser-export-${(/* @__PURE__ */ new Date()).toISOString().split("T")[0]}.json`), !0;
69
70
  } catch (e) {
70
- return u(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to download parser")), !1;
71
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to download parser");
72
+ return u(t), !1;
71
73
  }
72
74
  }, [f]),
73
75
  clearError: t(() => {
@@ -76,4 +78,4 @@ function c() {
76
78
  };
77
79
  }
78
80
  //#endregion
79
- export { c as default };
81
+ export { c as default, c as useExportParser };
@@ -152,4 +152,4 @@ function d(s) {
152
152
  };
153
153
  }
154
154
  //#endregion
155
- export { d as default };
155
+ export { d as default, d as useFilterPresets };
@@ -204,4 +204,4 @@ function v(n = {}) {
204
204
  };
205
205
  }
206
206
  //#endregion
207
- export { v as default, g as parseUrlToGlobalFilterValues };
207
+ export { d as decodeFilterValue, v as default, v as useFilterUrlSync, u as encodeFilterValue, _ as filtersToUrlParams, p as parseUrlToFilters, g as parseUrlToGlobalFilterValues };
@@ -52,7 +52,8 @@ function f() {
52
52
  ...e
53
53
  })), t;
54
54
  } catch (e) {
55
- return y(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch filters")), [];
55
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch filters");
56
+ return y(t), [];
56
57
  } finally {
57
58
  _(!1);
58
59
  }
@@ -79,7 +80,8 @@ function f() {
79
80
  }
80
81
  return null;
81
82
  } catch (e) {
82
- return y(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to create filter")), null;
83
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to create filter");
84
+ return y(t), null;
83
85
  } finally {
84
86
  _(!1);
85
87
  }
@@ -101,7 +103,8 @@ function f() {
101
103
  }
102
104
  return null;
103
105
  } catch (e) {
104
- return y(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to update filter")), null;
106
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to update filter");
107
+ return y(t), null;
105
108
  } finally {
106
109
  _(!1);
107
110
  }
@@ -117,7 +120,8 @@ function f() {
117
120
  variables: { id: e }
118
121
  })).data?.deleteGlobalFilter ? (p((t) => t.filter((t) => t.id !== e)), h((t) => Object.fromEntries(Object.entries(t).filter(([t]) => t !== e))), !0) : !1;
119
122
  } catch (e) {
120
- return y(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to delete filter")), !1;
123
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to delete filter");
124
+ return y(t), !1;
121
125
  } finally {
122
126
  _(!1);
123
127
  }
@@ -138,7 +142,8 @@ function f() {
138
142
  }
139
143
  return [];
140
144
  } catch (e) {
141
- return y(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to reorder filters")), [];
145
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to reorder filters");
146
+ return y(t), [];
142
147
  } finally {
143
148
  _(!1);
144
149
  }
@@ -159,4 +164,4 @@ function f() {
159
164
  };
160
165
  }
161
166
  //#endregion
162
- export { f as default };
167
+ export { f as default, f as useGlobalFilters };
@@ -48,7 +48,9 @@ function d() {
48
48
  if (a) return g(a), a;
49
49
  throw Error("Validation returned empty result");
50
50
  } catch (e) {
51
- return r() && m(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to validate import")), null;
51
+ if (!r()) return null;
52
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to validate import");
53
+ return m(t), null;
52
54
  } finally {
53
55
  r() && f(!1);
54
56
  }
@@ -125,4 +127,4 @@ function d() {
125
127
  };
126
128
  }
127
129
  //#endregion
128
- export { d as default };
130
+ export { d as default, d as useImportDashboard };
@@ -237,7 +237,8 @@ function _() {
237
237
  return await E(n, t);
238
238
  } catch (e) {
239
239
  if (a(e)) throw e;
240
- return v(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to import from file")), null;
240
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to import from file");
241
+ return v(t), null;
241
242
  }
242
243
  }, [E]),
243
244
  extractDataSinkId: T,
@@ -247,4 +248,4 @@ function _() {
247
248
  };
248
249
  }
249
250
  //#endregion
250
- export { _ as default };
251
+ export { _ as default, _ as useImportDataSink };
@@ -207,7 +207,8 @@ function l() {
207
207
  }
208
208
  return await b(n, t);
209
209
  } catch (e) {
210
- return f(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to import from file")), null;
210
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to import from file");
211
+ return f(t), null;
211
212
  }
212
213
  }, [b]),
213
214
  extractParserId: y,
@@ -217,4 +218,4 @@ function l() {
217
218
  };
218
219
  }
219
220
  //#endregion
220
- export { l as default };
221
+ export { l as default, l as useImportParser };
@@ -64,4 +64,4 @@ function o(o = {}) {
64
64
  };
65
65
  }
66
66
  //#endregion
67
- export { o as useInstalledWidgets };
67
+ export { a as toInstalledWidgetDefinitions, o as useInstalledWidgets };
@@ -48,4 +48,4 @@ function r({ isOpen: t, panelRef: r, onClose: i, initialFocusRef: a }) {
48
48
  ]);
49
49
  }
50
50
  //#endregion
51
- export { r as useModalFocusTrap };
51
+ export { n as getFocusableChildren, r as useModalFocusTrap };
@@ -36,7 +36,8 @@ function c() {
36
36
  }), i = r?.createDashboardPage;
37
37
  return i ? s(i) : null;
38
38
  } catch (e) {
39
- return f(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to create page")), null;
39
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to create page");
40
+ return f(t), null;
40
41
  } finally {
41
42
  u(!1);
42
43
  }
@@ -52,7 +53,8 @@ function c() {
52
53
  }), i = n?.updateDashboardPage;
53
54
  return i ? s(i) : null;
54
55
  } catch (e) {
55
- return f(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to update page")), null;
56
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to update page");
57
+ return f(t), null;
56
58
  } finally {
57
59
  u(!1);
58
60
  }
@@ -66,7 +68,8 @@ function c() {
66
68
  });
67
69
  return n?.deleteDashboardPage === !0;
68
70
  } catch (e) {
69
- return f(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to delete page")), !1;
71
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to delete page");
72
+ return f(t), !1;
70
73
  } finally {
71
74
  u(!1);
72
75
  }
@@ -83,7 +86,8 @@ function c() {
83
86
  }), i = r?.reorderDashboardPages;
84
87
  return i ? i.map(s) : null;
85
88
  } catch (e) {
86
- return f(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to reorder pages")), null;
89
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to reorder pages");
90
+ return f(t), null;
87
91
  } finally {
88
92
  u(!1);
89
93
  }
@@ -91,4 +95,4 @@ function c() {
91
95
  };
92
96
  }
93
97
  //#endregion
94
- export { c as default };
98
+ export { c as default, c as usePageOperations };
@@ -20,7 +20,8 @@ function p(p = {}) {
20
20
  })).data?.listParsers?.edges || []).map((e) => e.node);
21
21
  return S(t), t;
22
22
  } catch (e) {
23
- return y(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch parsers")), [];
23
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch parsers");
24
+ return y(t), [];
24
25
  } finally {
25
26
  _(!1);
26
27
  }
@@ -38,7 +39,8 @@ function p(p = {}) {
38
39
  })).data?.parser;
39
40
  return t ? (C(t), t) : null;
40
41
  } catch (e) {
41
- return y(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch parser")), null;
42
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch parser");
43
+ return y(t), null;
42
44
  } finally {
43
45
  _(!1);
44
46
  }
@@ -51,7 +53,8 @@ function p(p = {}) {
51
53
  })).data?.createParser;
52
54
  return n ? (C(n), n) : null;
53
55
  } catch (e) {
54
- return y(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to create parser")), null;
56
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to create parser");
57
+ return y(t), null;
55
58
  } finally {
56
59
  _(!1);
57
60
  }
@@ -68,7 +71,8 @@ function p(p = {}) {
68
71
  })).data?.updateParser;
69
72
  return r ? (w(e, r), r) : null;
70
73
  } catch (e) {
71
- return y(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to update parser")), null;
74
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to update parser");
75
+ return y(t), null;
72
76
  } finally {
73
77
  _(!1);
74
78
  }
@@ -79,7 +83,8 @@ function p(p = {}) {
79
83
  variables: { id: e }
80
84
  }), T(e), !0;
81
85
  } catch (e) {
82
- return y(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to delete parser")), !1;
86
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to delete parser");
87
+ return y(t), !1;
83
88
  } finally {
84
89
  _(!1);
85
90
  }
@@ -99,7 +104,8 @@ function p(p = {}) {
99
104
  cachedAt: t.cachedAt
100
105
  } : null;
101
106
  } catch (e) {
102
- return y(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to execute parser")), null;
107
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to execute parser");
108
+ return y(t), null;
103
109
  } finally {
104
110
  _(!1), E(e, !1);
105
111
  }
@@ -121,7 +127,8 @@ function p(p = {}) {
121
127
  totalRows: t.totalRows
122
128
  } : null;
123
129
  } catch (e) {
124
- return y(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to test expression")), null;
130
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to test expression");
131
+ return y(t), null;
125
132
  } finally {
126
133
  _(!1);
127
134
  }
@@ -149,4 +156,4 @@ function p(p = {}) {
149
156
  };
150
157
  }
151
158
  //#endregion
152
- export { p as default };
159
+ export { p as default, p as useParserOperations };
@@ -39,7 +39,8 @@ function g(g = {}) {
39
39
  })).data?.pipeline;
40
40
  return t ? (E(t), t) : null;
41
41
  } catch (e) {
42
- return S(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch pipeline")), null;
42
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch pipeline");
43
+ return S(t), null;
43
44
  } finally {
44
45
  b(!1);
45
46
  }
@@ -52,7 +53,8 @@ function g(g = {}) {
52
53
  })).data?.createPipeline;
53
54
  return n ? (E(n), n) : null;
54
55
  } catch (e) {
55
- return S(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to create pipeline")), null;
56
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to create pipeline");
57
+ return S(t), null;
56
58
  } finally {
57
59
  b(!1);
58
60
  }
@@ -69,7 +71,8 @@ function g(g = {}) {
69
71
  })).data?.updatePipeline;
70
72
  return r ? (D(e, r), r) : null;
71
73
  } catch (e) {
72
- return S(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to update pipeline")), null;
74
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to update pipeline");
75
+ return S(t), null;
73
76
  } finally {
74
77
  b(!1);
75
78
  }
@@ -80,7 +83,8 @@ function g(g = {}) {
80
83
  variables: { id: e }
81
84
  }), O(e), !0;
82
85
  } catch (e) {
83
- return S(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to delete pipeline")), !1;
86
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to delete pipeline");
87
+ return S(t), !1;
84
88
  } finally {
85
89
  b(!1);
86
90
  }
@@ -97,7 +101,8 @@ function g(g = {}) {
97
101
  })).data?.addPipelineStage;
98
102
  return i ? (D(e, i), i) : null;
99
103
  } catch (e) {
100
- return S(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to add stage")), null;
104
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to add stage");
105
+ return S(t), null;
101
106
  } finally {
102
107
  b(!1);
103
108
  }
@@ -122,7 +127,8 @@ function g(g = {}) {
122
127
  }
123
128
  return null;
124
129
  } catch (e) {
125
- return S(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to update stage")), null;
130
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to update stage");
131
+ return S(t), null;
126
132
  } finally {
127
133
  b(!1);
128
134
  }
@@ -146,7 +152,8 @@ function g(g = {}) {
146
152
  }
147
153
  return !0;
148
154
  } catch (e) {
149
- return S(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to remove stage")), !1;
155
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to remove stage");
156
+ return S(t), !1;
150
157
  } finally {
151
158
  b(!1);
152
159
  }
@@ -167,7 +174,8 @@ function g(g = {}) {
167
174
  })).data?.reorderPipelineStages;
168
175
  return r ? (D(e, r), r) : null;
169
176
  } catch (e) {
170
- return S(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to reorder stages")), null;
177
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to reorder stages");
178
+ return S(t), null;
171
179
  } finally {
172
180
  b(!1);
173
181
  }
@@ -180,7 +188,8 @@ function g(g = {}) {
180
188
  })).data?.testPipeline;
181
189
  return t ? (M(t), t) : null;
182
190
  } catch (e) {
183
- return S(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to test pipeline")), null;
191
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to test pipeline");
192
+ return S(t), null;
184
193
  } finally {
185
194
  b(!1), N(!1), j(e.pipelineId, !1);
186
195
  }
@@ -196,7 +205,8 @@ function g(g = {}) {
196
205
  variables: { input: e }
197
206
  })).data?.executePipeline || null;
198
207
  } catch (e) {
199
- return S(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to execute pipeline")), null;
208
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to execute pipeline");
209
+ return S(t), null;
200
210
  } finally {
201
211
  b(!1), j(e.pipelineId, !1);
202
212
  }
@@ -208,7 +218,8 @@ function g(g = {}) {
208
218
  fetchPolicy: "network-only"
209
219
  })).data?.pipelineExecution || null;
210
220
  } catch (e) {
211
- return S(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to get execution")), null;
221
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to get execution");
222
+ return S(t), null;
212
223
  } finally {
213
224
  b(!1);
214
225
  }
@@ -223,7 +234,8 @@ function g(g = {}) {
223
234
  fetchPolicy: "network-only"
224
235
  })).data?.listPipelineExecutions || [];
225
236
  } catch (e) {
226
- return S(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to list executions")), [];
237
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to list executions");
238
+ return S(t), [];
227
239
  } finally {
228
240
  b(!1);
229
241
  }
@@ -257,4 +269,4 @@ function g(g = {}) {
257
269
  };
258
270
  }
259
271
  //#endregion
260
- export { g as default };
272
+ export { g as default, g as usePipelineOperations };
@@ -209,4 +209,4 @@ function g(g = {}) {
209
209
  ]);
210
210
  }
211
211
  //#endregion
212
- export { g as default };
212
+ export { g as default, g as useStoreDashboardTemplates };
@@ -156,4 +156,4 @@ function h(o, h = {}) {
156
156
  };
157
157
  }
158
158
  //#endregion
159
- export { h as default };
159
+ export { h as default, h as useWidgetActions };
@@ -1,19 +1,19 @@
1
1
  import { loadNativeWidgetCatalog as e } from "../graphql/widgetCapabilities.js";
2
2
  import { isFederationAccessible as t, mapFromFederationWidgetType as n } from "../utils/widgetTypeMapping.js";
3
3
  import { filterAdvancedWidgetDefinitions as r, nativeFederationTypes as i } from "../utils/advancedWidgetCapabilities.js";
4
- import a, { WIDGET_CATEGORY_LABELS as o, getAllWidgetDefinitions as s, getWidgetDefinition as c } from "../components/widgets/WidgetRegistry.js";
4
+ import { WIDGET_CATEGORY_LABELS as a, WIDGET_DEFINITIONS as o, getAllWidgetDefinitions as s, getWidgetDefinition as c } from "../components/widgets/WidgetRegistry.js";
5
5
  import { useEffect as l, useLayoutEffect as u, useMemo as d, useRef as f } from "react";
6
6
  import { useApolloClient as p } from "@apollo/client/react";
7
7
  import { useQuery as m } from "@tanstack/react-query";
8
8
  //#region src/bigconsole/hooks/useWidgetCatalog.ts
9
- var h = new Set(Object.keys(o)), g = "Puzzle", _ = "Installed";
9
+ var h = new Set(Object.keys(a)), g = "Puzzle", _ = "Installed";
10
10
  function v(e) {
11
11
  let n = String(e).toLowerCase();
12
- return Object.prototype.hasOwnProperty.call(a, n) || t(e);
12
+ return Object.prototype.hasOwnProperty.call(o, n) || t(e);
13
13
  }
14
14
  function y(e) {
15
15
  let t = String(e).toLowerCase();
16
- return Object.prototype.hasOwnProperty.call(a, t) ? t : n(e);
16
+ return Object.prototype.hasOwnProperty.call(o, t) ? t : n(e);
17
17
  }
18
18
  function b(e) {
19
19
  return {
@@ -124,4 +124,4 @@ function S(t = {}) {
124
124
  ]);
125
125
  }
126
126
  //#endregion
127
- export { S as default };
127
+ export { S as default, S as useWidgetCatalog };
@@ -90,4 +90,4 @@ function d(d, f = !0) {
90
90
  };
91
91
  }
92
92
  //#endregion
93
- export { u as WIDGET_COMMENT_ENTITY_TYPE, d as default };
93
+ export { u as WIDGET_COMMENT_ENTITY_TYPE, d as default, d as useWidgetComments };
@@ -27,4 +27,4 @@ function i(i) {
27
27
  };
28
28
  }
29
29
  //#endregion
30
- export { i as default };
30
+ export { i as default, i as useWidgetConfigPersist };
@@ -83,4 +83,4 @@ function c(c, l = {}) {
83
83
  };
84
84
  }
85
85
  //#endregion
86
- export { c as default };
86
+ export { c as default, c as useWidgetData };
@@ -30,4 +30,4 @@ function i(i = {}) {
30
30
  };
31
31
  }
32
32
  //#endregion
33
- export { i as default };
33
+ export { i as default, i as useWidgetEvents };
@@ -72,4 +72,4 @@ function o(r, o = {}) {
72
72
  };
73
73
  }
74
74
  //#endregion
75
- export { o as default };
75
+ export { o as default, o as useWidgetExport };
@@ -64,17 +64,24 @@ function C(d, C, w = {}) {
64
64
  }), [j]);
65
65
  let N = m(), P = e((e) => e.widgets), F = e((e) => e.setWidgets), I = e((e) => e.addWidget), L = e((e) => e.updateWidget), R = e((e) => e.removeWidget), z = v(() => Array.from(P.values()), [P]), B = h(async () => {
66
66
  if (!(!d && !C)) try {
67
- D(!0), k(null), C ? F(((await A.query({
68
- query: a,
69
- variables: { dashboardId: C },
70
- fetchPolicy: "network-only"
71
- })).data?.listWidgetsByDashboard || []).map(S)) : d && F(((await A.query({
72
- query: o,
73
- variables: { pageId: d },
74
- fetchPolicy: "network-only"
75
- })).data?.listWidgets?.edges || []).map((e) => e.node).map(S));
67
+ if (D(!0), k(null), C) {
68
+ let e = (await A.query({
69
+ query: a,
70
+ variables: { dashboardId: C },
71
+ fetchPolicy: "network-only"
72
+ })).data?.listWidgetsByDashboard || [];
73
+ F(e.map(S));
74
+ } else if (d) {
75
+ let e = ((await A.query({
76
+ query: o,
77
+ variables: { pageId: d },
78
+ fetchPolicy: "network-only"
79
+ })).data?.listWidgets?.edges || []).map((e) => e.node);
80
+ F(e.map(S));
81
+ }
76
82
  } catch (e) {
77
- k(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch widgets"));
83
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to fetch widgets");
84
+ k(t);
78
85
  } finally {
79
86
  D(!1);
80
87
  }
@@ -157,7 +164,8 @@ function C(d, C, w = {}) {
157
164
  }
158
165
  return null;
159
166
  } catch (e) {
160
- return k(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to create widget")), null;
167
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to create widget");
168
+ return k(t), null;
161
169
  } finally {
162
170
  D(!1);
163
171
  }
@@ -195,7 +203,8 @@ function C(d, C, w = {}) {
195
203
  }
196
204
  return null;
197
205
  } catch (e) {
198
- return k(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to update widget")), null;
206
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to update widget");
207
+ return k(t), null;
199
208
  } finally {
200
209
  D(!1);
201
210
  }
@@ -207,7 +216,8 @@ function C(d, C, w = {}) {
207
216
  variables: { id: e }
208
217
  })).data?.deleteBigConsoleWidget ? (R(e), !0) : !1;
209
218
  } catch (e) {
210
- return k(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to delete widget")), !1;
219
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to delete widget");
220
+ return k(t), !1;
211
221
  } finally {
212
222
  D(!1);
213
223
  }
@@ -250,7 +260,8 @@ function C(d, C, w = {}) {
250
260
  }
251
261
  return null;
252
262
  } catch (e) {
253
- return k(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to duplicate widget")), null;
263
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to duplicate widget");
264
+ return k(t), null;
254
265
  } finally {
255
266
  D(!1);
256
267
  }
@@ -284,7 +295,8 @@ function C(d, C, w = {}) {
284
295
  });
285
296
  }), !0) : !1;
286
297
  } catch (e) {
287
- return k(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to batch update positions")), !1;
298
+ let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to batch update positions");
299
+ return k(t), !1;
288
300
  } finally {
289
301
  D(!1);
290
302
  }
@@ -303,4 +315,4 @@ function C(d, C, w = {}) {
303
315
  };
304
316
  }
305
317
  //#endregion
306
- export { C as default, S as normalizeWidget };
318
+ export { C as default, C as useWidgetOperations, S as normalizeWidget };