meyi-insight-ui-dev 1.0.26 → 1.0.28
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.
- package/dist/index.js +111 -116
- package/dist/index.mjs +16825 -17404
- package/dist/router.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/types.d.ts +2 -0
- package/package.json +1 -1
- package/dist/features/projects/components/DeleteDialog.d.ts +0 -7
- package/dist/features/projects/components/InsightProjectCard.d.ts +0 -8
- package/dist/features/projects/components/ProjectFilters.d.ts +0 -9
- package/dist/features/projects/components/ProjectForm.d.ts +0 -18
- package/dist/features/projects/components/projects-columns.d.ts +0 -8
- package/dist/features/projects/components/projects-table.d.ts +0 -16
- package/dist/features/projects/index.d.ts +0 -1
package/dist/types.d.ts
CHANGED
|
@@ -412,7 +412,9 @@ export type InsightAlert = {
|
|
|
412
412
|
resourceId: string;
|
|
413
413
|
resourceName: string;
|
|
414
414
|
resourceType: string;
|
|
415
|
+
accountId?: string | null;
|
|
415
416
|
projectTag?: string;
|
|
417
|
+
tags?: Record<string, string>;
|
|
416
418
|
severity: InsightAlertSeverity;
|
|
417
419
|
alertName: string;
|
|
418
420
|
description?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { InsightProject } from '../../../types.js';
|
|
2
|
-
export declare function DeleteDialog({ project, onConfirm, onCancel, deleting, }: {
|
|
3
|
-
project: InsightProject;
|
|
4
|
-
onConfirm: () => void;
|
|
5
|
-
onCancel: () => void;
|
|
6
|
-
deleting: boolean;
|
|
7
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { InsightProject } from '../../../types.js';
|
|
2
|
-
interface InsightProjectCardProps {
|
|
3
|
-
project: InsightProject;
|
|
4
|
-
onEdit: (project: InsightProject) => void;
|
|
5
|
-
onDelete: (project: InsightProject) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare function InsightProjectCard({ project, onEdit, onDelete, }: InsightProjectCardProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
search: string;
|
|
3
|
-
onSearchChange: (value: string) => void;
|
|
4
|
-
onRefresh?: () => void;
|
|
5
|
-
loading?: boolean;
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
export declare function ProjectFilters({ search, onSearchChange, onRefresh, loading, children, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { InsightProject } from '../../../types.js';
|
|
2
|
-
interface ProjectFormProps {
|
|
3
|
-
open: boolean;
|
|
4
|
-
project: InsightProject | null;
|
|
5
|
-
submitting: boolean;
|
|
6
|
-
onClose: () => void;
|
|
7
|
-
onSubmit: (data: {
|
|
8
|
-
name: string;
|
|
9
|
-
tag: string;
|
|
10
|
-
description?: string;
|
|
11
|
-
dependencies: any[];
|
|
12
|
-
awsAccessKeyId?: string;
|
|
13
|
-
awsSecretAccessKey?: string;
|
|
14
|
-
awsRegion?: string;
|
|
15
|
-
}) => void;
|
|
16
|
-
}
|
|
17
|
-
export declare function ProjectForm({ open, project, submitting, onClose, onSubmit }: ProjectFormProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ColumnDef } from '@tanstack/react-table';
|
|
2
|
-
import { InsightProject } from '../../../types.js';
|
|
3
|
-
interface GetColumnsProps {
|
|
4
|
-
onEdit: (project: InsightProject) => void;
|
|
5
|
-
onDelete: (project: InsightProject) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare function getProjectsColumns({ onEdit, onDelete, }: GetColumnsProps): ColumnDef<InsightProject>[];
|
|
8
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { InsightProject } from '../../../types.js';
|
|
3
|
-
interface ProjectsTableProps {
|
|
4
|
-
data: InsightProject[];
|
|
5
|
-
total: number;
|
|
6
|
-
page: number;
|
|
7
|
-
limit: number;
|
|
8
|
-
loading?: boolean;
|
|
9
|
-
onPageChange: (page: number) => void;
|
|
10
|
-
onLimitChange: (limit: number) => void;
|
|
11
|
-
onEdit: (project: InsightProject) => void;
|
|
12
|
-
onDelete: (project: InsightProject) => void;
|
|
13
|
-
renderFilters?: (table: any) => React.ReactNode;
|
|
14
|
-
}
|
|
15
|
-
export declare function ProjectsTable({ data, total, page, limit, loading, onPageChange, onLimitChange, onEdit, onDelete, renderFilters, }: ProjectsTableProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function InsightProjectsPage(): import("react/jsx-runtime").JSX.Element;
|