meyi-insight-ui-dev 1.0.2 → 1.0.3

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 (70) hide show
  1. package/dist/components/common/PageSkeleton.d.ts +10 -0
  2. package/dist/components/data-table/toolbar.d.ts +3 -1
  3. package/dist/components/ui/badge.d.ts +1 -1
  4. package/dist/components/ui/button.d.ts +2 -2
  5. package/dist/components/ui/multi-select.d.ts +15 -0
  6. package/dist/components/ui/single-select.d.ts +15 -0
  7. package/dist/features/alerts/components/AlertFilters.d.ts +15 -0
  8. package/dist/features/alerts/components/ProcessingLifecycle.d.ts +5 -0
  9. package/dist/features/alerts/components/alerts-columns.d.ts +1 -0
  10. package/dist/features/alerts/components/alerts-table.d.ts +6 -9
  11. package/dist/features/alerts/detail.d.ts +7 -0
  12. package/dist/features/alerts/index.d.ts +2 -1
  13. package/dist/features/connectors/add-wizard/AddConnectorConfigureStep.d.ts +8 -0
  14. package/dist/features/connectors/add-wizard/AddConnectorDeployStep.d.ts +11 -0
  15. package/dist/features/connectors/add-wizard/AddConnectorOverviewStep.d.ts +4 -0
  16. package/dist/features/connectors/add-wizard/AddConnectorSourceStep.d.ts +5 -0
  17. package/dist/features/connectors/add-wizard/AddConnectorWizard.d.ts +5 -0
  18. package/dist/features/connectors/add-wizard/add-connector-options.d.ts +10 -0
  19. package/dist/features/connectors/components/ConnectorFilters.d.ts +5 -2
  20. package/dist/features/connectors/components/{InsightConnectorCard.d.ts → ConnectorGroupedList.d.ts} +7 -4
  21. package/dist/features/connectors/detail/ConnectorAlarmsTab.d.ts +4 -0
  22. package/dist/features/connectors/detail/ConnectorConfigurationTab.d.ts +10 -0
  23. package/dist/features/connectors/detail/ConnectorDetailHeader.d.ts +11 -0
  24. package/dist/features/connectors/detail/ConnectorDetailPage.d.ts +5 -0
  25. package/dist/features/connectors/detail/ConnectorDetailTabs.d.ts +6 -0
  26. package/dist/features/connectors/detail/ConnectorLogsTab.d.ts +6 -0
  27. package/dist/features/connectors/detail/ConnectorOverviewTab.d.ts +4 -0
  28. package/dist/features/connectors/detail/ConnectorSetupTab.d.ts +10 -0
  29. package/dist/features/connectors/detail/ConnectorTestTab.d.ts +6 -0
  30. package/dist/features/connectors/detail/connector-detail-utils.d.ts +18 -0
  31. package/dist/features/incidents/analytics.d.ts +1 -0
  32. package/dist/features/incidents/components/IncidentFilters.d.ts +4 -1
  33. package/dist/features/incidents/components/IncidentForm.d.ts +4 -0
  34. package/dist/features/incidents/components/InsightStatusBadge.d.ts +3 -0
  35. package/dist/features/incidents/components/incidents-columns.d.ts +0 -1
  36. package/dist/features/incidents/components/incidents-table.d.ts +3 -4
  37. package/dist/features/incidents/dashboard.d.ts +5 -0
  38. package/dist/features/pipeline/PipelineRuleEditor.d.ts +9 -0
  39. package/dist/features/pipeline/dedup.d.ts +4 -0
  40. package/dist/features/pipeline/editor-dedup.d.ts +4 -0
  41. package/dist/features/pipeline/editor-grouping.d.ts +4 -0
  42. package/dist/features/pipeline/editor-normalization.d.ts +4 -0
  43. package/dist/features/pipeline/grouping.d.ts +4 -0
  44. package/dist/features/pipeline/normalization.d.ts +1 -0
  45. package/dist/features/projects/components/ProjectFilters.d.ts +9 -0
  46. package/dist/features/projects/components/projects-table.d.ts +4 -3
  47. package/dist/features/settings/components/NotificationProvidersManager.d.ts +1 -0
  48. package/dist/features/settings/index.d.ts +5 -1
  49. package/dist/features/sop/components/SopFilters.d.ts +13 -0
  50. package/dist/features/sop/components/sop-table.d.ts +4 -7
  51. package/dist/features/workflows/components/WorkflowFilters.d.ts +11 -0
  52. package/dist/features/workflows/components/WorkflowFormHelper.d.ts +6 -0
  53. package/dist/features/workflows/components/workflows-columns.d.ts +8 -0
  54. package/dist/features/workflows/components/workflows-table.d.ts +17 -0
  55. package/dist/features/workflows/editor.d.ts +4 -0
  56. package/dist/features/workflows/index.d.ts +4 -1
  57. package/dist/hooks/useInsightPolling.d.ts +1 -0
  58. package/dist/index.d.ts +16 -2
  59. package/dist/index.js +246 -112
  60. package/dist/index.mjs +61506 -62886
  61. package/dist/router.d.ts +1 -1
  62. package/dist/services/insight.d.ts +258 -1
  63. package/dist/services/workflow.d.ts +2 -1
  64. package/dist/style.css +1 -1
  65. package/dist/types.d.ts +99 -22
  66. package/package.json +4 -1
  67. package/dist/features/alerts/components/InsightAlertCard.d.ts +0 -13
  68. package/dist/features/incidents/components/InsightIncidentCard.d.ts +0 -8
  69. package/dist/features/workflows/components/WorkflowDiagramModal.d.ts +0 -6
  70. package/dist/features/workflows/components/WorkflowFormDialog.d.ts +0 -7
@@ -0,0 +1,17 @@
1
+ import { default as React } from 'react';
2
+ import { InsightWorkflow } from '../../../types.js';
3
+ interface WorkflowsTableProps {
4
+ data: InsightWorkflow[];
5
+ total: number;
6
+ page: number;
7
+ limit: number;
8
+ onPageChange: (page: number) => void;
9
+ onLimitChange: (limit: number) => void;
10
+ onEdit: (workflow: InsightWorkflow) => void;
11
+ onToggleActive: (workflow: InsightWorkflow) => void;
12
+ onDelete: (workflow: InsightWorkflow) => void;
13
+ onOpenExecutions: (workflow: InsightWorkflow) => void;
14
+ renderFilters?: (table: any) => React.ReactNode;
15
+ }
16
+ export declare function WorkflowsTable({ data, total, page, limit, onPageChange, onLimitChange, onEdit, onToggleActive, onDelete, onOpenExecutions, renderFilters, }: WorkflowsTableProps): import("react/jsx-runtime").JSX.Element;
17
+ export {};
@@ -0,0 +1,4 @@
1
+ export declare function InsightWorkflowEditorPage({ workflowId, onBack, }: {
2
+ workflowId?: string;
3
+ onBack: () => void;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1 +1,4 @@
1
- export declare function InsightWorkflowsPage(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function InsightWorkflowsPage({ embedded, basePath, }?: {
2
+ embedded?: boolean;
3
+ basePath?: string;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,5 @@
1
1
  export declare const ACTIVE_STATUSES: Set<string>;
2
+ export declare function isActiveStatus(status?: string | null): boolean;
2
3
  /**
3
4
  * Polls /incidents/:id/status while analysis is in-flight.
4
5
  *
package/dist/index.d.ts CHANGED
@@ -2,9 +2,23 @@ export { InsightPage, type InsightPageProps } from './InsightPage.js';
2
2
  export { configureApi, api } from './api.js';
3
3
  export { createRouteTree } from './router.js';
4
4
  export type { InsightIncident, InsightAnalysisResult, NewInsightAnalysisResult, InsightConnector, InsightConnectorType, InsightAlert, InsightAlertSeverity, InsightAlertStatus, InsightProject, InsightSop, InsightSopSeverity, InsightSopStatus, InsightWorkflow, InsightWorkflowExecution, } from './types.js';
5
- export declare const insightNavItems: {
5
+ export declare const insightNavItems: ({
6
6
  title: string;
7
7
  url: string;
8
8
  icon: string;
9
9
  roles: string[];
10
- }[];
10
+ badge?: undefined;
11
+ items?: undefined;
12
+ } | {
13
+ title: string;
14
+ url: string;
15
+ icon: string;
16
+ roles: string[];
17
+ badge: string;
18
+ items: {
19
+ title: string;
20
+ url: string;
21
+ icon: string;
22
+ roles: string[];
23
+ }[];
24
+ })[];