阶段四:完成 React Feature 化和异步状态修复
This commit is contained in:
1 parent
4227e3dd56
commit
e92549da48
176 files changed
+849
-650
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import { Bell,Edit2,Loader2,Send,Trash2 } from 'lucide-react';
|
||||
import React from 'react';
|
||||
import { Bell, Edit2, Loader2, Send, Trash2 } from 'lucide-react';
|
||||
import type { NotificationChannel } from '../../../../shared/api-contract';
|
||||
import { notificationChannelTypes, notificationEventSummary } from '../state';
|
||||
import type { NotificationChannel } from '../api';
|
||||
import { notificationChannelTypes,notificationEventSummary } from '../state';
|
||||
|
||||
// NotificationChannelListProps 描述通知渠道列表的操作边界。
|
||||
export interface NotificationChannelListProps {
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import { Bell,Check,Eye,EyeOff,Loader2,X } from 'lucide-react';
|
||||
import React from 'react';
|
||||
import { createPortal } from 'react-dom';
|
||||
import { Bell, Check, Eye, EyeOff, Loader2, X } from 'lucide-react';
|
||||
import { enableCustomSMTP } from '../../../../notificationEmailConfig';
|
||||
import type { NotificationChannel,NotificationChannelType,NotificationEventType,SystemSettings } from '../api';
|
||||
import { notificationChannelTypes } from '../state';
|
||||
import { NotificationEventSelector } from './NotificationEventSelector';
|
||||
import type { NotificationChannel, NotificationChannelType, NotificationEventType, SystemSettings } from '../../../../shared/api-contract';
|
||||
import type { NotificationForm } from '../types';
|
||||
import { NotificationEventSelector } from './NotificationEventSelector';
|
||||
|
||||
// NotificationChannelModalProps 描述渠道编辑弹窗所需的状态和回调。
|
||||
export interface NotificationChannelModalProps {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import { Check } from 'lucide-react';
|
||||
import React from 'react';
|
||||
import type { NotificationEventType } from '../api';
|
||||
import { notificationEvents } from '../state';
|
||||
import type { NotificationEventType } from '../../../../shared/api-contract';
|
||||
|
||||
// NotificationEventSelectorProps 描述通知事件绑定组件的输入状态。
|
||||
export interface NotificationEventSelectorProps {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Eye,EyeOff,Loader2,Mail,Save } from 'lucide-react';
|
||||
import React from 'react';
|
||||
import { Eye, EyeOff, Loader2, Mail, Save } from 'lucide-react';
|
||||
import type { SystemSettings } from '../../../../shared/api-contract';
|
||||
import type { SystemSettings } from '../api';
|
||||
|
||||
// NotificationSmtpSettingsProps 描述系统 SMTP 配置面板所需的状态和事件。
|
||||
export interface NotificationSmtpSettingsProps {
|
||||
|
||||
Reference in new issue
Block a user