@manojkmfsi/monodog 1.1.37 → 1.1.39
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/CHANGELOG.md +12 -0
- package/monodog-dashboard/dist/assets/index-C08ciT3A.js +20 -0
- package/monodog-dashboard/dist/assets/index-C08ciT3A.js.map +1 -0
- package/monodog-dashboard/dist/assets/index-Dc2vaUOq.css +1 -0
- package/monodog-dashboard/{index.html → dist/index.html} +2 -1
- package/monodog-dashboard/package.json +0 -3
- package/package.json +2 -2
- package/monodog-dashboard/THEME_SYSTEM.md +0 -309
- package/monodog-dashboard/__tests__/AuthCallbackPage.test.ts +0 -138
- package/monodog-dashboard/__tests__/ConfigInspector.test.ts +0 -33
- package/monodog-dashboard/__tests__/DependencyGraph.test.ts +0 -72
- package/monodog-dashboard/__tests__/HealthStatus.test.ts +0 -69
- package/monodog-dashboard/__tests__/LoginPage.test.ts +0 -79
- package/monodog-dashboard/__tests__/PackageDetail.test.ts +0 -22
- package/monodog-dashboard/__tests__/ReleaseManager.test.tsx +0 -510
- package/monodog-dashboard/__tests__/api-client.test.ts +0 -475
- package/monodog-dashboard/__tests__/components.test.ts +0 -117
- package/monodog-dashboard/__tests__/dashboard.utils.test.ts +0 -144
- package/monodog-dashboard/__tests__/dependency.utils.test.ts +0 -125
- package/monodog-dashboard/__tests__/monorepoService.unit.test.ts +0 -103
- package/monodog-dashboard/__tests__/packages.utils.test.ts +0 -37
- package/monodog-dashboard/__tests__/pages.test.ts +0 -103
- package/monodog-dashboard/package-lock.json +0 -4587
- package/monodog-dashboard/postcss.config.js +0 -6
- package/monodog-dashboard/src/components/App.tsx +0 -36
- package/monodog-dashboard/src/components/LoadingState.tsx +0 -18
- package/monodog-dashboard/src/components/PermissionGuard.tsx +0 -92
- package/monodog-dashboard/src/components/ProtectedRoute.tsx +0 -24
- package/monodog-dashboard/src/components/configuration/Configuration.tsx +0 -91
- package/monodog-dashboard/src/components/configuration/components/BrandingSettings.tsx +0 -128
- package/monodog-dashboard/src/components/configuration/components/ConfigurationHeader.tsx +0 -34
- package/monodog-dashboard/src/components/configuration/components/ConfigurationModal.tsx +0 -20
- package/monodog-dashboard/src/components/configuration/components/ConfigurationTabs.tsx +0 -30
- package/monodog-dashboard/src/components/configuration/components/FeatureToggles.tsx +0 -66
- package/monodog-dashboard/src/components/configuration/components/GeneralSettings.tsx +0 -77
- package/monodog-dashboard/src/components/configuration/components/MonorepoSettings.tsx +0 -179
- package/monodog-dashboard/src/components/configuration/components/index.ts +0 -8
- package/monodog-dashboard/src/components/configuration/types/config.types.ts +0 -52
- package/monodog-dashboard/src/components/configuration/utils/config.utils.tsx +0 -115
- package/monodog-dashboard/src/components/main-dashboard/Dashboard.tsx +0 -242
- package/monodog-dashboard/src/components/main-dashboard/Layout.tsx +0 -112
- package/monodog-dashboard/src/components/main-dashboard/components/Header.tsx +0 -47
- package/monodog-dashboard/src/components/main-dashboard/components/PackageDistribution.tsx +0 -35
- package/monodog-dashboard/src/components/main-dashboard/components/PackageSearchFilter.tsx +0 -47
- package/monodog-dashboard/src/components/main-dashboard/components/PackageTable.tsx +0 -87
- package/monodog-dashboard/src/components/main-dashboard/components/QuickActions.tsx +0 -60
- package/monodog-dashboard/src/components/main-dashboard/components/StatsCards.tsx +0 -73
- package/monodog-dashboard/src/components/main-dashboard/components/index.ts +0 -7
- package/monodog-dashboard/src/components/main-dashboard/types/dashboard.types.ts +0 -33
- package/monodog-dashboard/src/components/main-dashboard/utils/dashboard.utils.tsx +0 -70
- package/monodog-dashboard/src/components/modules/ci-integration/CIIntegration.tsx +0 -277
- package/monodog-dashboard/src/components/modules/ci-integration/components/BuildDetails.tsx +0 -228
- package/monodog-dashboard/src/components/modules/ci-integration/components/BuildList.tsx +0 -212
- package/monodog-dashboard/src/components/modules/ci-integration/components/BuildOverview.tsx +0 -158
- package/monodog-dashboard/src/components/modules/ci-integration/components/CIIntegrationHeader.tsx +0 -38
- package/monodog-dashboard/src/components/modules/ci-integration/components/ErrorState.tsx +0 -25
- package/monodog-dashboard/src/components/modules/ci-integration/components/LoadingState.tsx +0 -16
- package/monodog-dashboard/src/components/modules/ci-integration/components/PipelineStatus.tsx +0 -223
- package/monodog-dashboard/src/components/modules/ci-integration/components/index.ts +0 -8
- package/monodog-dashboard/src/components/modules/ci-integration/types/ci.types.ts +0 -97
- package/monodog-dashboard/src/components/modules/ci-integration/utils/ci.utils.tsx +0 -264
- package/monodog-dashboard/src/components/modules/config-inspector/ConfigInspector.tsx +0 -324
- package/monodog-dashboard/src/components/modules/config-inspector/components/ConfigEditor.tsx +0 -93
- package/monodog-dashboard/src/components/modules/config-inspector/components/ConfigInspectorHeader.tsx +0 -36
- package/monodog-dashboard/src/components/modules/config-inspector/components/ConfigPreview.tsx +0 -89
- package/monodog-dashboard/src/components/modules/config-inspector/components/ConfigSidebar.tsx +0 -141
- package/monodog-dashboard/src/components/modules/config-inspector/components/ConfigToolbar.tsx +0 -184
- package/monodog-dashboard/src/components/modules/config-inspector/components/ErrorState.tsx +0 -25
- package/monodog-dashboard/src/components/modules/config-inspector/components/LoadingState.tsx +0 -16
- package/monodog-dashboard/src/components/modules/config-inspector/components/ValidationPanel.tsx +0 -155
- package/monodog-dashboard/src/components/modules/config-inspector/components/index.ts +0 -9
- package/monodog-dashboard/src/components/modules/config-inspector/types/config.types.ts +0 -100
- package/monodog-dashboard/src/components/modules/config-inspector/utils/config.utils.tsx +0 -704
- package/monodog-dashboard/src/components/modules/dependency-graph/DependencyGraph.tsx +0 -224
- package/monodog-dashboard/src/components/modules/dependency-graph/components/CircularDependencies.tsx +0 -177
- package/monodog-dashboard/src/components/modules/dependency-graph/components/DependencyDetails.tsx +0 -192
- package/monodog-dashboard/src/components/modules/dependency-graph/components/DependencyGraphHeader.tsx +0 -30
- package/monodog-dashboard/src/components/modules/dependency-graph/components/DependencyList.tsx +0 -177
- package/monodog-dashboard/src/components/modules/dependency-graph/components/ErrorState.tsx +0 -25
- package/monodog-dashboard/src/components/modules/dependency-graph/components/GraphLegend.tsx +0 -89
- package/monodog-dashboard/src/components/modules/dependency-graph/components/GraphStats.tsx +0 -141
- package/monodog-dashboard/src/components/modules/dependency-graph/components/GraphToolbar.tsx +0 -107
- package/monodog-dashboard/src/components/modules/dependency-graph/components/GraphVisualization.tsx +0 -179
- package/monodog-dashboard/src/components/modules/dependency-graph/components/LoadingState.tsx +0 -16
- package/monodog-dashboard/src/components/modules/dependency-graph/components/index.ts +0 -11
- package/monodog-dashboard/src/components/modules/dependency-graph/types/dependency.types.ts +0 -105
- package/monodog-dashboard/src/components/modules/dependency-graph/utils/dependency.utils.tsx +0 -433
- package/monodog-dashboard/src/components/modules/health-status/HealthStatus.tsx +0 -739
- package/monodog-dashboard/src/components/modules/health-status/components/ErrorState.tsx +0 -25
- package/monodog-dashboard/src/components/modules/health-status/components/HealthActions.tsx +0 -122
- package/monodog-dashboard/src/components/modules/health-status/components/HealthAlerts.tsx +0 -151
- package/monodog-dashboard/src/components/modules/health-status/components/HealthMetrics.tsx +0 -132
- package/monodog-dashboard/src/components/modules/health-status/components/HealthStatusHeader.tsx +0 -30
- package/monodog-dashboard/src/components/modules/health-status/components/LoadingState.tsx +0 -16
- package/monodog-dashboard/src/components/modules/health-status/components/OverallHealthScore.tsx +0 -122
- package/monodog-dashboard/src/components/modules/health-status/components/PackageHealthList.tsx +0 -195
- package/monodog-dashboard/src/components/modules/health-status/types/health.types.ts +0 -80
- package/monodog-dashboard/src/components/modules/health-status/utils/health.utils.tsx +0 -220
- package/monodog-dashboard/src/components/modules/packages/PackageDetail.tsx +0 -255
- package/monodog-dashboard/src/components/modules/packages/PackagesOverview.tsx +0 -166
- package/monodog-dashboard/src/components/modules/packages/components/ConfigurationTab.tsx +0 -311
- package/monodog-dashboard/src/components/modules/packages/components/DependenciesTab.tsx +0 -154
- package/monodog-dashboard/src/components/modules/packages/components/ErrorState.tsx +0 -21
- package/monodog-dashboard/src/components/modules/packages/components/HealthMetricsTab.tsx +0 -275
- package/monodog-dashboard/src/components/modules/packages/components/LoadingState.tsx +0 -14
- package/monodog-dashboard/src/components/modules/packages/components/PackageDetailHeader.tsx +0 -167
- package/monodog-dashboard/src/components/modules/packages/components/PackageDetailTabs.tsx +0 -49
- package/monodog-dashboard/src/components/modules/packages/components/PackageStats.tsx +0 -70
- package/monodog-dashboard/src/components/modules/packages/components/PackagesTable.tsx +0 -163
- package/monodog-dashboard/src/components/modules/packages/components/RecentCommitsTab.tsx +0 -90
- package/monodog-dashboard/src/components/modules/packages/components/SearchAndFilter.tsx +0 -66
- package/monodog-dashboard/src/components/modules/packages/components/index.ts +0 -12
- package/monodog-dashboard/src/components/modules/packages/types/packages.types.ts +0 -101
- package/monodog-dashboard/src/components/modules/packages/utils/packages.utils.tsx +0 -178
- package/monodog-dashboard/src/components/pipeline/JobsList.tsx +0 -83
- package/monodog-dashboard/src/components/pipeline/LogViewer.tsx +0 -392
- package/monodog-dashboard/src/components/pipeline/PipelineManager.tsx +0 -562
- package/monodog-dashboard/src/components/pipeline/WorkflowRunsList.tsx +0 -272
- package/monodog-dashboard/src/components/pipeline/WorkflowTrigger.tsx +0 -182
- package/monodog-dashboard/src/components/pipeline/utils/pipeline.utils.tsx +0 -11
- package/monodog-dashboard/src/components/publish-control/PublishControl.tsx +0 -229
- package/monodog-dashboard/src/components/publish-control/components/ChangelogViewer.tsx +0 -103
- package/monodog-dashboard/src/components/publish-control/components/ErrorState.tsx +0 -23
- package/monodog-dashboard/src/components/publish-control/components/LoadingState.tsx +0 -10
- package/monodog-dashboard/src/components/publish-control/components/PackageReleaseTable.tsx +0 -140
- package/monodog-dashboard/src/components/publish-control/components/PublishHeader.tsx +0 -30
- package/monodog-dashboard/src/components/publish-control/components/QuickActionCards.tsx +0 -56
- package/monodog-dashboard/src/components/publish-control/components/ReleaseSchedule.tsx +0 -104
- package/monodog-dashboard/src/components/publish-control/components/index.ts +0 -8
- package/monodog-dashboard/src/components/publish-control/types/publish.types.ts +0 -39
- package/monodog-dashboard/src/components/publish-control/utils/publish.utils.ts +0 -59
- package/monodog-dashboard/src/components/release-manager/ReleaseManager.tsx +0 -342
- package/monodog-dashboard/src/components/release-manager/components/ChangesetPreview.tsx +0 -123
- package/monodog-dashboard/src/components/release-manager/components/ErrorState.tsx +0 -38
- package/monodog-dashboard/src/components/release-manager/components/LoadingState.tsx +0 -18
- package/monodog-dashboard/src/components/release-manager/components/PackageSelector.tsx +0 -137
- package/monodog-dashboard/src/components/release-manager/components/PublishConfirmation.tsx +0 -150
- package/monodog-dashboard/src/components/release-manager/components/ReleaseValidation.tsx +0 -138
- package/monodog-dashboard/src/components/release-manager/components/VersionBumpSelector.tsx +0 -142
- package/monodog-dashboard/src/components/release-manager/types/index.ts +0 -9
- package/monodog-dashboard/src/components/release-manager/types/release-manager.types.ts +0 -29
- package/monodog-dashboard/src/components/setup-guide/SetupGuide.tsx +0 -96
- package/monodog-dashboard/src/components/setup-guide/components/SetupHeader.tsx +0 -24
- package/monodog-dashboard/src/components/setup-guide/components/SetupModal.tsx +0 -24
- package/monodog-dashboard/src/components/setup-guide/components/SetupProgress.tsx +0 -29
- package/monodog-dashboard/src/components/setup-guide/components/StepContent.tsx +0 -272
- package/monodog-dashboard/src/components/setup-guide/components/StepNavigation.tsx +0 -62
- package/monodog-dashboard/src/components/setup-guide/components/index.ts +0 -6
- package/monodog-dashboard/src/components/setup-guide/types/setup.types.ts +0 -38
- package/monodog-dashboard/src/components/setup-guide/utils/setup.utils.ts +0 -79
- package/monodog-dashboard/src/constants/api-config.ts +0 -81
- package/monodog-dashboard/src/constants/index.ts +0 -9
- package/monodog-dashboard/src/constants/messages.ts +0 -40
- package/monodog-dashboard/src/icons/heroicons.ts +0 -65
- package/monodog-dashboard/src/icons/index.tsx +0 -1788
- package/monodog-dashboard/src/index.css +0 -175
- package/monodog-dashboard/src/main.tsx +0 -9
- package/monodog-dashboard/src/pages/AuthCallbackPage.tsx +0 -103
- package/monodog-dashboard/src/pages/CIPage.tsx +0 -6
- package/monodog-dashboard/src/pages/ConfigPage.tsx +0 -6
- package/monodog-dashboard/src/pages/DashboardPage.tsx +0 -6
- package/monodog-dashboard/src/pages/DependenciesPage.tsx +0 -6
- package/monodog-dashboard/src/pages/HealthPage.tsx +0 -6
- package/monodog-dashboard/src/pages/LoginPage.tsx +0 -77
- package/monodog-dashboard/src/pages/PackageDetailPage.tsx +0 -6
- package/monodog-dashboard/src/pages/PackagesPage.tsx +0 -6
- package/monodog-dashboard/src/pages/PipelinePage.tsx +0 -22
- package/monodog-dashboard/src/pages/PublishPage.tsx +0 -6
- package/monodog-dashboard/src/pages/ReleaseManagerPage.tsx +0 -9
- package/monodog-dashboard/src/pages/index.ts +0 -28
- package/monodog-dashboard/src/routes/AppRouter.tsx +0 -89
- package/monodog-dashboard/src/routes/AppRouterPages.tsx +0 -56
- package/monodog-dashboard/src/routes/index.ts +0 -10
- package/monodog-dashboard/src/routes/routes.config.ts +0 -94
- package/monodog-dashboard/src/services/api/api-client.ts +0 -189
- package/monodog-dashboard/src/services/api/index.ts +0 -30
- package/monodog-dashboard/src/services/api/types/api.types.ts +0 -63
- package/monodog-dashboard/src/services/auth-context.tsx +0 -344
- package/monodog-dashboard/src/services/monorepoService.ts +0 -733
- package/monodog-dashboard/src/services/permission-context.tsx +0 -193
- package/monodog-dashboard/src/theme/COMPONENT_UPDATES.md +0 -273
- package/monodog-dashboard/src/theme/INTEGRATION.md +0 -381
- package/monodog-dashboard/src/theme/README.md +0 -239
- package/monodog-dashboard/src/theme/examples.tsx +0 -386
- package/monodog-dashboard/src/theme/index.ts +0 -402
- package/monodog-dashboard/src/theme/migration-guide.md +0 -335
- package/monodog-dashboard/src/types/auth-context.types.ts +0 -51
- package/monodog-dashboard/src/types/component.types.ts +0 -96
- package/monodog-dashboard/src/types/icons.types.ts +0 -13
- package/monodog-dashboard/src/types/index.ts +0 -68
- package/monodog-dashboard/src/types/monorepo-service.types.ts +0 -53
- package/monodog-dashboard/src/types/permission-context.types.ts +0 -49
- package/monodog-dashboard/src/types/pipeline.types.ts +0 -89
- package/monodog-dashboard/src/types/routes.types.ts +0 -12
- package/monodog-dashboard/src/utils/cookies.ts +0 -47
- package/monodog-dashboard/tailwind.config.js +0 -68
- package/monodog-dashboard/tsconfig.app.json +0 -14
- package/monodog-dashboard/tsconfig.json +0 -17
- package/monodog-dashboard/tsconfig.node.json +0 -10
- package/monodog-dashboard/vite.config.ts +0 -9
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
|
|
2
|
-
import { AppRouter } from '../routes';
|
|
3
|
-
import { Layout } from '../pages';
|
|
4
|
-
import { AuthProvider } from '../services/auth-context';
|
|
5
|
-
import { PermissionProvider } from '../services/permission-context';
|
|
6
|
-
import LoginPage from '../pages/LoginPage';
|
|
7
|
-
import AuthCallbackPage from '../pages/AuthCallbackPage';
|
|
8
|
-
import ProtectedRoute from './ProtectedRoute';
|
|
9
|
-
|
|
10
|
-
export default function App() {
|
|
11
|
-
return (
|
|
12
|
-
<Router>
|
|
13
|
-
<AuthProvider>
|
|
14
|
-
<PermissionProvider>
|
|
15
|
-
<Routes>
|
|
16
|
-
{/* Auth routes - no layout needed */}
|
|
17
|
-
<Route path="/login" element={<LoginPage />} />
|
|
18
|
-
<Route path="/auth/callback" element={<AuthCallbackPage />} />
|
|
19
|
-
|
|
20
|
-
{/* Protected routes with layout */}
|
|
21
|
-
<Route
|
|
22
|
-
path="/*"
|
|
23
|
-
element={
|
|
24
|
-
<ProtectedRoute>
|
|
25
|
-
<Layout>
|
|
26
|
-
<AppRouter />
|
|
27
|
-
</Layout>
|
|
28
|
-
</ProtectedRoute>
|
|
29
|
-
}
|
|
30
|
-
/>
|
|
31
|
-
</Routes>
|
|
32
|
-
</PermissionProvider>
|
|
33
|
-
</AuthProvider>
|
|
34
|
-
</Router>
|
|
35
|
-
);
|
|
36
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Loading State Component
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import React from 'react';
|
|
6
|
-
|
|
7
|
-
interface LoadingStateProps {
|
|
8
|
-
message?: string;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export default function LoadingState({ message = 'Loading...' }: LoadingStateProps) {
|
|
12
|
-
return (
|
|
13
|
-
<div className="flex flex-col items-center justify-center py-12">
|
|
14
|
-
<div className="w-12 h-12 rounded-full border-4 border-gray-200 border-t-primary-500 animate-spin mb-4"></div>
|
|
15
|
-
<p className="text-gray-600">{message}</p>
|
|
16
|
-
</div>
|
|
17
|
-
);
|
|
18
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Navigate } from 'react-router-dom';
|
|
3
|
-
import { useAuth } from '../services/auth-context';
|
|
4
|
-
import { usePermission } from '../services/permission-context';
|
|
5
|
-
import type { PermissionGuardProps } from '../types/component.types';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Permission Guard Component
|
|
9
|
-
* Enforces repository-level permission checks
|
|
10
|
-
*/
|
|
11
|
-
export function PermissionGuard({
|
|
12
|
-
children,
|
|
13
|
-
owner,
|
|
14
|
-
repo,
|
|
15
|
-
requiredPermission = 'read',
|
|
16
|
-
}: PermissionGuardProps) {
|
|
17
|
-
const { session, isLoading } = useAuth();
|
|
18
|
-
const { checkPermission, isLoading: permLoading, error } = usePermission();
|
|
19
|
-
const [permission, setPermission] = React.useState<any>(null);
|
|
20
|
-
const [checked, setChecked] = React.useState(false);
|
|
21
|
-
|
|
22
|
-
React.useEffect(() => {
|
|
23
|
-
if (!session?.sessionToken) {
|
|
24
|
-
return;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
const checkPerm = async () => {
|
|
28
|
-
const result = await checkPermission(session.sessionToken, owner, repo);
|
|
29
|
-
setPermission(result);
|
|
30
|
-
setChecked(true);
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
checkPerm();
|
|
34
|
-
}, [session?.sessionToken, owner, repo, checkPermission]);
|
|
35
|
-
|
|
36
|
-
if (isLoading || !checked) {
|
|
37
|
-
return (
|
|
38
|
-
<div className="loading-container">
|
|
39
|
-
<div className="spinner"></div>
|
|
40
|
-
<p>Checking permissions...</p>
|
|
41
|
-
</div>
|
|
42
|
-
);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
if (!session) {
|
|
46
|
-
return <Navigate to="/login" replace />;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
if (!permission || permission.denied) {
|
|
50
|
-
return (
|
|
51
|
-
<div className="access-denied-container">
|
|
52
|
-
<div className="access-denied-content">
|
|
53
|
-
<h2>Access Denied</h2>
|
|
54
|
-
<p>You do not have permission to access this repository.</p>
|
|
55
|
-
<p>
|
|
56
|
-
Repository: <code>{owner}/{repo}</code>
|
|
57
|
-
</p>
|
|
58
|
-
{error && <p className="error-message">{error}</p>}
|
|
59
|
-
</div>
|
|
60
|
-
</div>
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
// Check if user has required permission level
|
|
65
|
-
const hasRequiredPermission = {
|
|
66
|
-
read: permission.canRead,
|
|
67
|
-
write: permission.canWrite,
|
|
68
|
-
maintain: permission.canMaintain,
|
|
69
|
-
admin: permission.canAdmin,
|
|
70
|
-
}[requiredPermission] ?? false;
|
|
71
|
-
|
|
72
|
-
if (!hasRequiredPermission) {
|
|
73
|
-
return (
|
|
74
|
-
<div className="access-denied-container">
|
|
75
|
-
<div className="access-denied-content">
|
|
76
|
-
<h2>Insufficient Permissions</h2>
|
|
77
|
-
<p>
|
|
78
|
-
This action requires <strong>{requiredPermission}</strong> permission.
|
|
79
|
-
</p>
|
|
80
|
-
<p>Your current role: <strong>{permission.role}</strong></p>
|
|
81
|
-
<p>
|
|
82
|
-
Repository: <code>{owner}/{repo}</code>
|
|
83
|
-
</p>
|
|
84
|
-
</div>
|
|
85
|
-
</div>
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
return <>{children}</>;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export default PermissionGuard;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Navigate } from 'react-router-dom';
|
|
3
|
-
import { useAuth } from '../services/auth-context';
|
|
4
|
-
import type { ProtectedRouteProps } from '../types/component.types';
|
|
5
|
-
import LoadingState from '../components/LoadingState';
|
|
6
|
-
/**
|
|
7
|
-
* Protected Route Component
|
|
8
|
-
* Redirects unauthenticated users to login page
|
|
9
|
-
*/
|
|
10
|
-
export function ProtectedRoute({ children }: ProtectedRouteProps) {
|
|
11
|
-
const { isAuthenticated, isLoading } = useAuth();
|
|
12
|
-
|
|
13
|
-
if (isLoading) {
|
|
14
|
-
return <LoadingState />;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
if (!isAuthenticated) {
|
|
18
|
-
return <Navigate to="/login" replace />;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
return <>{children}</>;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default ProtectedRoute;
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { useState, useEffect } from 'react';
|
|
2
|
-
|
|
3
|
-
// Import sub-components
|
|
4
|
-
import {
|
|
5
|
-
ConfigurationModal,
|
|
6
|
-
ConfigurationHeader,
|
|
7
|
-
ConfigurationTabs,
|
|
8
|
-
GeneralSettings,
|
|
9
|
-
FeatureToggles,
|
|
10
|
-
BrandingSettings,
|
|
11
|
-
MonorepoSettings,
|
|
12
|
-
} from './components';
|
|
13
|
-
|
|
14
|
-
// Import types and utilities
|
|
15
|
-
import {
|
|
16
|
-
ConfigurationProps,
|
|
17
|
-
DashboardConfig,
|
|
18
|
-
ConfigurationTab,
|
|
19
|
-
} from './types/config.types';
|
|
20
|
-
import { mergeWithDefaults, validateConfig } from './utils/config.utils';
|
|
21
|
-
|
|
22
|
-
// Re-export types for backward compatibility
|
|
23
|
-
export type { DashboardConfig, ConfigurationProps } from './types/config.types';
|
|
24
|
-
|
|
25
|
-
export default function Configuration({
|
|
26
|
-
isOpen,
|
|
27
|
-
onClose,
|
|
28
|
-
onSave,
|
|
29
|
-
currentConfig,
|
|
30
|
-
}: ConfigurationProps) {
|
|
31
|
-
const [config, setConfig] = useState<DashboardConfig>(
|
|
32
|
-
mergeWithDefaults(currentConfig)
|
|
33
|
-
);
|
|
34
|
-
const [activeTab, setActiveTab] = useState<ConfigurationTab>('general');
|
|
35
|
-
|
|
36
|
-
useEffect(() => {
|
|
37
|
-
setConfig(mergeWithDefaults(currentConfig));
|
|
38
|
-
}, [currentConfig]);
|
|
39
|
-
|
|
40
|
-
const handleSave = () => {
|
|
41
|
-
const validation = validateConfig(config);
|
|
42
|
-
|
|
43
|
-
if (!validation.isValid) {
|
|
44
|
-
// In a real application, you might want to show these errors to the user
|
|
45
|
-
console.warn('Configuration validation errors:', validation.errors);
|
|
46
|
-
// For now, we'll save anyway, but you could prevent saving here
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
onSave(config);
|
|
50
|
-
onClose();
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
const handleConfigChange = (updates: Partial<DashboardConfig>) => {
|
|
54
|
-
setConfig(prev => ({ ...prev, ...updates }));
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
const renderTabContent = () => {
|
|
58
|
-
const commonProps = {
|
|
59
|
-
config,
|
|
60
|
-
onConfigChange: handleConfigChange,
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
switch (activeTab) {
|
|
64
|
-
case 'general':
|
|
65
|
-
return <GeneralSettings {...commonProps} />;
|
|
66
|
-
case 'features':
|
|
67
|
-
return <FeatureToggles {...commonProps} />;
|
|
68
|
-
case 'branding':
|
|
69
|
-
return <BrandingSettings {...commonProps} />;
|
|
70
|
-
case 'monorepo':
|
|
71
|
-
return <MonorepoSettings {...commonProps} />;
|
|
72
|
-
default:
|
|
73
|
-
return <GeneralSettings {...commonProps} />;
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
return (
|
|
78
|
-
<ConfigurationModal isOpen={isOpen} onClose={onClose}>
|
|
79
|
-
{/* Header */}
|
|
80
|
-
<ConfigurationHeader onSave={handleSave} onClose={onClose} />
|
|
81
|
-
|
|
82
|
-
{/* Tabs */}
|
|
83
|
-
<ConfigurationTabs activeTab={activeTab} onTabChange={setActiveTab} />
|
|
84
|
-
|
|
85
|
-
{/* Content */}
|
|
86
|
-
<div className="p-6 overflow-y-auto max-h-[60vh]">
|
|
87
|
-
{renderTabContent()}
|
|
88
|
-
</div>
|
|
89
|
-
</ConfigurationModal>
|
|
90
|
-
);
|
|
91
|
-
}
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { SettingsComponentProps } from '../types/config.types';
|
|
2
|
-
|
|
3
|
-
export default function BrandingSettings({
|
|
4
|
-
config,
|
|
5
|
-
onConfigChange,
|
|
6
|
-
}: SettingsComponentProps) {
|
|
7
|
-
const handleBrandingChange = (field: string, value: string) => {
|
|
8
|
-
onConfigChange({
|
|
9
|
-
branding: { ...config.branding, [field]: value },
|
|
10
|
-
});
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
return (
|
|
14
|
-
<div className="space-y-6">
|
|
15
|
-
<div>
|
|
16
|
-
<h3 className="text-lg font-medium text-gray-900 mb-4">
|
|
17
|
-
Branding & Appearance
|
|
18
|
-
</h3>
|
|
19
|
-
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
|
|
20
|
-
<div>
|
|
21
|
-
<label className="block text-sm font-medium text-gray-700 mb-2">
|
|
22
|
-
Logo URL
|
|
23
|
-
</label>
|
|
24
|
-
<input
|
|
25
|
-
type="text"
|
|
26
|
-
value={config.branding?.logo || ''}
|
|
27
|
-
onChange={e => handleBrandingChange('logo', e.target.value)}
|
|
28
|
-
className="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent"
|
|
29
|
-
placeholder="https://example.com/logo.png"
|
|
30
|
-
/>
|
|
31
|
-
<p className="text-xs text-gray-500 mt-1">
|
|
32
|
-
URL to your company logo
|
|
33
|
-
</p>
|
|
34
|
-
</div>
|
|
35
|
-
<div>
|
|
36
|
-
<label className="block text-sm font-medium text-gray-700 mb-2">
|
|
37
|
-
Primary Color
|
|
38
|
-
</label>
|
|
39
|
-
<div className="flex items-center space-x-3">
|
|
40
|
-
<input
|
|
41
|
-
type="color"
|
|
42
|
-
value={config.branding?.primaryColor || '#3B82F6'}
|
|
43
|
-
onChange={e =>
|
|
44
|
-
handleBrandingChange('primaryColor', e.target.value)
|
|
45
|
-
}
|
|
46
|
-
className="h-10 w-20 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent"
|
|
47
|
-
/>
|
|
48
|
-
<input
|
|
49
|
-
type="text"
|
|
50
|
-
value={config.branding?.primaryColor || '#3B82F6'}
|
|
51
|
-
onChange={e =>
|
|
52
|
-
handleBrandingChange('primaryColor', e.target.value)
|
|
53
|
-
}
|
|
54
|
-
className="flex-1 px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent"
|
|
55
|
-
placeholder="#3B82F6"
|
|
56
|
-
/>
|
|
57
|
-
</div>
|
|
58
|
-
<p className="text-xs text-gray-500 mt-1">
|
|
59
|
-
Primary brand color for buttons and accents
|
|
60
|
-
</p>
|
|
61
|
-
</div>
|
|
62
|
-
<div>
|
|
63
|
-
<label className="block text-sm font-medium text-gray-700 mb-2">
|
|
64
|
-
Secondary Color
|
|
65
|
-
</label>
|
|
66
|
-
<div className="flex items-center space-x-3">
|
|
67
|
-
<input
|
|
68
|
-
type="color"
|
|
69
|
-
value={config.branding?.secondaryColor || '#1E40AF'}
|
|
70
|
-
onChange={e =>
|
|
71
|
-
handleBrandingChange('secondaryColor', e.target.value)
|
|
72
|
-
}
|
|
73
|
-
className="h-10 w-20 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent"
|
|
74
|
-
/>
|
|
75
|
-
<input
|
|
76
|
-
type="text"
|
|
77
|
-
value={config.branding?.secondaryColor || '#1E40AF'}
|
|
78
|
-
onChange={e =>
|
|
79
|
-
handleBrandingChange('secondaryColor', e.target.value)
|
|
80
|
-
}
|
|
81
|
-
className="flex-1 px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent"
|
|
82
|
-
placeholder="#1E40AF"
|
|
83
|
-
/>
|
|
84
|
-
</div>
|
|
85
|
-
<p className="text-xs text-gray-500 mt-1">
|
|
86
|
-
Secondary color for hover states and highlights
|
|
87
|
-
</p>
|
|
88
|
-
</div>
|
|
89
|
-
</div>
|
|
90
|
-
|
|
91
|
-
{/* Color Preview */}
|
|
92
|
-
<div className="mt-6 p-4 bg-gray-50 border border-gray-200 rounded-lg">
|
|
93
|
-
<h4 className="text-sm font-medium text-gray-900 mb-3">
|
|
94
|
-
Color Preview
|
|
95
|
-
</h4>
|
|
96
|
-
<div className="flex items-center space-x-4">
|
|
97
|
-
<div className="flex items-center space-x-2">
|
|
98
|
-
<div
|
|
99
|
-
className="w-8 h-8 rounded-lg border border-gray-300"
|
|
100
|
-
style={{
|
|
101
|
-
backgroundColor: config.branding?.primaryColor || '#3B82F6',
|
|
102
|
-
}}
|
|
103
|
-
/>
|
|
104
|
-
<span className="text-sm text-gray-600">Primary</span>
|
|
105
|
-
</div>
|
|
106
|
-
<div className="flex items-center space-x-2">
|
|
107
|
-
<div
|
|
108
|
-
className="w-8 h-8 rounded-lg border border-gray-300"
|
|
109
|
-
style={{
|
|
110
|
-
backgroundColor: config.branding?.secondaryColor || '#1E40AF',
|
|
111
|
-
}}
|
|
112
|
-
/>
|
|
113
|
-
<span className="text-sm text-gray-600">Secondary</span>
|
|
114
|
-
</div>
|
|
115
|
-
<button
|
|
116
|
-
className="px-4 py-2 rounded-lg text-white text-sm font-medium"
|
|
117
|
-
style={{
|
|
118
|
-
backgroundColor: config.branding?.primaryColor || '#3B82F6',
|
|
119
|
-
}}
|
|
120
|
-
>
|
|
121
|
-
Sample Button
|
|
122
|
-
</button>
|
|
123
|
-
</div>
|
|
124
|
-
</div>
|
|
125
|
-
</div>
|
|
126
|
-
</div>
|
|
127
|
-
);
|
|
128
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { CogIcon, CheckIcon, XMarkIcon } from '../../../icons/heroicons';
|
|
2
|
-
import type { ConfigurationHeaderProps } from '../../../types';
|
|
3
|
-
|
|
4
|
-
export default function ConfigurationHeader({
|
|
5
|
-
onSave,
|
|
6
|
-
onClose,
|
|
7
|
-
}: ConfigurationHeaderProps) {
|
|
8
|
-
return (
|
|
9
|
-
<div className="flex items-center justify-between p-6 border-b border-gray-200">
|
|
10
|
-
<div className="flex items-center space-x-3">
|
|
11
|
-
<CogIcon className="w-6 h-6 text-gray-600" />
|
|
12
|
-
<h2 className="text-xl font-semibold text-gray-900">
|
|
13
|
-
Dashboard Configuration
|
|
14
|
-
</h2>
|
|
15
|
-
</div>
|
|
16
|
-
<div className="flex space-x-3">
|
|
17
|
-
<button
|
|
18
|
-
onClick={onSave}
|
|
19
|
-
className="bg-blue-600 text-white px-4 py-2 rounded-lg hover:bg-blue-700 flex items-center space-x-2"
|
|
20
|
-
>
|
|
21
|
-
<CheckIcon className="w-5 h-5" />
|
|
22
|
-
<span>Save</span>
|
|
23
|
-
</button>
|
|
24
|
-
<button
|
|
25
|
-
onClick={onClose}
|
|
26
|
-
className="bg-gray-300 text-gray-700 px-4 py-2 rounded-lg hover:bg-gray-400 flex items-center space-x-2"
|
|
27
|
-
>
|
|
28
|
-
<XMarkIcon className="w-5 h-5" />
|
|
29
|
-
<span>Cancel</span>
|
|
30
|
-
</button>
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
);
|
|
34
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { ConfigurationModalProps } from '../../../types';
|
|
2
|
-
|
|
3
|
-
export default function ConfigurationModal({
|
|
4
|
-
isOpen,
|
|
5
|
-
onClose,
|
|
6
|
-
children,
|
|
7
|
-
}: ConfigurationModalProps) {
|
|
8
|
-
if (!isOpen) return null;
|
|
9
|
-
|
|
10
|
-
return (
|
|
11
|
-
<div className="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50">
|
|
12
|
-
<div
|
|
13
|
-
className="bg-white rounded-lg shadow-xl w-full max-w-4xl max-h-[90vh] overflow-hidden"
|
|
14
|
-
onClick={e => e.stopPropagation()}
|
|
15
|
-
>
|
|
16
|
-
{children}
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
);
|
|
20
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ConfigurationTabsProps } from '../types/config.types';
|
|
2
|
-
import { getTabDefinitions } from '../utils/config.utils';
|
|
3
|
-
|
|
4
|
-
export default function ConfigurationTabs({
|
|
5
|
-
activeTab,
|
|
6
|
-
onTabChange,
|
|
7
|
-
}: ConfigurationTabsProps) {
|
|
8
|
-
const tabs = getTabDefinitions();
|
|
9
|
-
|
|
10
|
-
return (
|
|
11
|
-
<div className="border-b border-gray-200">
|
|
12
|
-
<nav className="flex space-x-8 px-6">
|
|
13
|
-
{tabs.map(tab => (
|
|
14
|
-
<button
|
|
15
|
-
key={tab.id}
|
|
16
|
-
onClick={() => onTabChange(tab.id)}
|
|
17
|
-
className={`py-4 px-1 border-b-2 font-medium text-sm flex items-center space-x-2 ${
|
|
18
|
-
activeTab === tab.id
|
|
19
|
-
? 'border-blue-500 text-blue-600'
|
|
20
|
-
: 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300'
|
|
21
|
-
}`}
|
|
22
|
-
>
|
|
23
|
-
<span>{tab.icon}</span>
|
|
24
|
-
<span>{tab.label}</span>
|
|
25
|
-
</button>
|
|
26
|
-
))}
|
|
27
|
-
</nav>
|
|
28
|
-
</div>
|
|
29
|
-
);
|
|
30
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { SettingsComponentProps } from '../types/config.types';
|
|
2
|
-
import { formatFeatureKey } from '../utils/config.utils';
|
|
3
|
-
|
|
4
|
-
export default function FeatureToggles({
|
|
5
|
-
config,
|
|
6
|
-
onConfigChange,
|
|
7
|
-
}: SettingsComponentProps) {
|
|
8
|
-
const handleFeatureChange = (key: string, checked: boolean) => {
|
|
9
|
-
onConfigChange({
|
|
10
|
-
features: { ...config.features, [key]: checked },
|
|
11
|
-
});
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
return (
|
|
15
|
-
<div className="space-y-6">
|
|
16
|
-
<div>
|
|
17
|
-
<h3 className="text-lg font-medium text-gray-900 mb-4">
|
|
18
|
-
Feature Toggles
|
|
19
|
-
</h3>
|
|
20
|
-
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
|
|
21
|
-
{Object.entries(config.features || {}).map(([key, value]) => (
|
|
22
|
-
<label key={key} className="flex items-center space-x-3">
|
|
23
|
-
<input
|
|
24
|
-
type="checkbox"
|
|
25
|
-
checked={value}
|
|
26
|
-
onChange={e => handleFeatureChange(key, e.target.checked)}
|
|
27
|
-
className="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded"
|
|
28
|
-
/>
|
|
29
|
-
<span className="text-sm font-medium text-gray-700 capitalize">
|
|
30
|
-
{formatFeatureKey(key)}
|
|
31
|
-
</span>
|
|
32
|
-
</label>
|
|
33
|
-
))}
|
|
34
|
-
</div>
|
|
35
|
-
<div className="mt-6 p-4 bg-blue-50 border border-blue-200 rounded-lg">
|
|
36
|
-
<h4 className="text-sm font-medium text-blue-900 mb-2">
|
|
37
|
-
Feature Descriptions
|
|
38
|
-
</h4>
|
|
39
|
-
<div className="text-xs text-blue-800 space-y-1">
|
|
40
|
-
<div>
|
|
41
|
-
<strong>Health Checks:</strong> Monitor package health and status
|
|
42
|
-
</div>
|
|
43
|
-
<div>
|
|
44
|
-
<strong>CI Integration:</strong> Connect with CI/CD providers
|
|
45
|
-
</div>
|
|
46
|
-
<div>
|
|
47
|
-
<strong>Dependency Graph:</strong> Visualize package dependencies
|
|
48
|
-
</div>
|
|
49
|
-
<div>
|
|
50
|
-
<strong>Publish Control:</strong> Manage package publishing and
|
|
51
|
-
versioning
|
|
52
|
-
</div>
|
|
53
|
-
<div>
|
|
54
|
-
<strong>Search And Filter:</strong> Advanced search and filtering
|
|
55
|
-
capabilities
|
|
56
|
-
</div>
|
|
57
|
-
<div>
|
|
58
|
-
<strong>Configuration Inspector:</strong> View and edit
|
|
59
|
-
configuration files
|
|
60
|
-
</div>
|
|
61
|
-
</div>
|
|
62
|
-
</div>
|
|
63
|
-
</div>
|
|
64
|
-
</div>
|
|
65
|
-
);
|
|
66
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { SettingsComponentProps } from '../types/config.types';
|
|
2
|
-
import { stringToArray, arrayToString } from '../utils/config.utils';
|
|
3
|
-
|
|
4
|
-
export default function GeneralSettings({
|
|
5
|
-
config,
|
|
6
|
-
onConfigChange,
|
|
7
|
-
}: SettingsComponentProps) {
|
|
8
|
-
return (
|
|
9
|
-
<div className="space-y-6">
|
|
10
|
-
<div>
|
|
11
|
-
<h3 className="text-lg font-medium text-gray-900 mb-4">
|
|
12
|
-
General Settings
|
|
13
|
-
</h3>
|
|
14
|
-
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
|
|
15
|
-
<div>
|
|
16
|
-
<label className="block text-sm font-medium text-gray-700 mb-2">
|
|
17
|
-
Dashboard Title
|
|
18
|
-
</label>
|
|
19
|
-
<input
|
|
20
|
-
type="text"
|
|
21
|
-
value={config.title || ''}
|
|
22
|
-
onChange={e => onConfigChange({ title: e.target.value })}
|
|
23
|
-
className="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent"
|
|
24
|
-
placeholder="My Monorepo Dashboard"
|
|
25
|
-
/>
|
|
26
|
-
</div>
|
|
27
|
-
<div>
|
|
28
|
-
<label className="block text-sm font-medium text-gray-700 mb-2">
|
|
29
|
-
Description
|
|
30
|
-
</label>
|
|
31
|
-
<input
|
|
32
|
-
type="text"
|
|
33
|
-
value={config.description || ''}
|
|
34
|
-
onChange={e => onConfigChange({ description: e.target.value })}
|
|
35
|
-
className="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent"
|
|
36
|
-
placeholder="Visual management of our monorepo packages"
|
|
37
|
-
/>
|
|
38
|
-
</div>
|
|
39
|
-
<div>
|
|
40
|
-
<label className="block text-sm font-medium text-gray-700 mb-2">
|
|
41
|
-
Package Types
|
|
42
|
-
</label>
|
|
43
|
-
<input
|
|
44
|
-
type="text"
|
|
45
|
-
value={arrayToString(config.packageTypes)}
|
|
46
|
-
onChange={e =>
|
|
47
|
-
onConfigChange({ packageTypes: stringToArray(e.target.value) })
|
|
48
|
-
}
|
|
49
|
-
className="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent"
|
|
50
|
-
placeholder="app, lib, tool, service"
|
|
51
|
-
/>
|
|
52
|
-
<p className="text-xs text-gray-500 mt-1">
|
|
53
|
-
Comma-separated list of package types
|
|
54
|
-
</p>
|
|
55
|
-
</div>
|
|
56
|
-
<div>
|
|
57
|
-
<label className="block text-sm font-medium text-gray-700 mb-2">
|
|
58
|
-
Custom Fields
|
|
59
|
-
</label>
|
|
60
|
-
<input
|
|
61
|
-
type="text"
|
|
62
|
-
value={arrayToString(config.customFields)}
|
|
63
|
-
onChange={e =>
|
|
64
|
-
onConfigChange({ customFields: stringToArray(e.target.value) })
|
|
65
|
-
}
|
|
66
|
-
className="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent"
|
|
67
|
-
placeholder="team, priority, environment"
|
|
68
|
-
/>
|
|
69
|
-
<p className="text-xs text-gray-500 mt-1">
|
|
70
|
-
Additional fields to display for packages
|
|
71
|
-
</p>
|
|
72
|
-
</div>
|
|
73
|
-
</div>
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
76
|
-
);
|
|
77
|
-
}
|