+
+ Управление токенами интеграции
+
+
+
+
+
+
+
+
+ {showTokenCreatedSuccess && (
+
+ Токен успешно создан!
+
+ )}
+
+ );
+};
+
+export default AccountIntegration;
\ No newline at end of file
diff --git a/src/components/CreateTokenDialog.tsx b/src/components/CreateTokenDialog.tsx
new file mode 100644
index 0000000..925d39e
--- /dev/null
+++ b/src/components/CreateTokenDialog.tsx
@@ -0,0 +1,157 @@
+"use client";
+import React, { useState, useEffect } from "react";
+import {
+ Box,
+ Button,
+ TextField,
+ Typography,
+ Dialog,
+ DialogActions,
+ DialogContent,
+ DialogContentText,
+ DialogTitle,
+ Snackbar,
+ Alert,
+} from "@mui/material";
+import { ContentCopy as ContentCopyIcon } from "@mui/icons-material";
+import styles from "../styles/account.module.css";
+
+interface CreateTokenDialogProps {
+ open: boolean;
+ onClose: () => void;
+ onTokenGenerate?: (description: string, token: string) => void;
+ isEditMode?: boolean;
+ initialDescription?: string;
+ onTokenUpdate?: (updatedDescription: string) => void;
+}
+
+const CreateTokenDialog: React.FC