{"ast":null,"code":"var _jsxFileName = \"/Users/nili/Documents/trae_projects/client/src/pages/Notifications.js\",\n  _s = $RefreshSig$();\nimport React, { useState, useEffect } from 'react';\nimport { List, Card, Button, Space, Tag, message, Empty, Popconfirm } from 'antd';\nimport { CheckOutlined, DeleteOutlined, ReadOutlined } from '@ant-design/icons';\nimport { notificationsAPI } from '../services/api';\nimport dayjs from 'dayjs';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst Notifications = () => {\n  _s();\n  const [notifications, setNotifications] = useState([]);\n  const [loading, setLoading] = useState(false);\n  const [pagination, setPagination] = useState({\n    current: 1,\n    pageSize: 20,\n    total: 0,\n    unread: 0\n  });\n  const [unreadOnly, setUnreadOnly] = useState(false);\n  useEffect(() => {\n    fetchNotifications();\n  }, [pagination.current, pagination.pageSize, unreadOnly]);\n  const fetchNotifications = async () => {\n    setLoading(true);\n    try {\n      const response = await notificationsAPI.getAll({\n        page: pagination.current,\n        limit: pagination.pageSize,\n        unreadOnly: unreadOnly\n      });\n      setNotifications(response.data.notifications);\n      setPagination(prev => {\n        var _response$data$pagina, _response$data$pagina2;\n        return {\n          ...prev,\n          total: ((_response$data$pagina = response.data.pagination) === null || _response$data$pagina === void 0 ? void 0 : _response$data$pagina.total) || 0,\n          unread: ((_response$data$pagina2 = response.data.pagination) === null || _response$data$pagina2 === void 0 ? void 0 : _response$data$pagina2.unread) || 0\n        };\n      });\n    } catch (error) {\n      message.error('获取通知失败');\n    } finally {\n      setLoading(false);\n    }\n  };\n  const markAsRead = async id => {\n    try {\n      await notificationsAPI.markAsRead(id);\n      message.success('已标记为已读');\n      fetchNotifications();\n    } catch (error) {\n      message.error('操作失败');\n    }\n  };\n  const markAllAsRead = async () => {\n    try {\n      await notificationsAPI.markAllAsRead();\n      message.success('全部已标记为已读');\n      fetchNotifications();\n    } catch (error) {\n      message.error('操作失败');\n    }\n  };\n  const handleDelete = async id => {\n    try {\n      await notificationsAPI.delete(id);\n      message.success('删除成功');\n      fetchNotifications();\n    } catch (error) {\n      message.error('删除失败');\n    }\n  };\n  const getTypeColor = type => {\n    const colors = {\n      info: 'blue',\n      success: 'green',\n      warning: 'orange',\n      error: 'red'\n    };\n    return colors[type] || 'default';\n  };\n  const getTypeText = type => {\n    const texts = {\n      info: '通知',\n      success: '成功',\n      warning: '警告',\n      error: '错误'\n    };\n    return texts[type] || type;\n  };\n  return /*#__PURE__*/_jsxDEV(\"div\", {\n    children: [/*#__PURE__*/_jsxDEV(\"div\", {\n      className: \"page-header\",\n      children: /*#__PURE__*/_jsxDEV(\"h1\", {\n        children: \"\\u901A\\u77E5\\u4E2D\\u5FC3\"\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 81,\n        columnNumber: 9\n      }, this)\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 80,\n      columnNumber: 7\n    }, this), /*#__PURE__*/_jsxDEV(Card, {\n      extra: /*#__PURE__*/_jsxDEV(Space, {\n        children: [/*#__PURE__*/_jsxDEV(Button, {\n          type: unreadOnly ? 'primary' : 'default',\n          onClick: () => setUnreadOnly(!unreadOnly),\n          children: unreadOnly ? '显示全部' : '只看未读'\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 87,\n          columnNumber: 13\n        }, this), pagination.unread > 0 && /*#__PURE__*/_jsxDEV(Button, {\n          icon: /*#__PURE__*/_jsxDEV(ReadOutlined, {}, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 94,\n            columnNumber: 29\n          }, this),\n          onClick: markAllAsRead,\n          children: \"\\u5168\\u90E8\\u6807\\u8BB0\\u5DF2\\u8BFB\"\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 94,\n          columnNumber: 15\n        }, this)]\n      }, void 0, true, {\n        fileName: _jsxFileName,\n        lineNumber: 86,\n        columnNumber: 11\n      }, this),\n      children: /*#__PURE__*/_jsxDEV(List, {\n        loading: loading,\n        itemLayout: \"horizontal\",\n        dataSource: notifications,\n        locale: {\n          emptyText: /*#__PURE__*/_jsxDEV(Empty, {\n            description: \"\\u6682\\u65E0\\u901A\\u77E5\"\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 105,\n            columnNumber: 32\n          }, this)\n        },\n        pagination: {\n          ...pagination,\n          showSizeChanger: true,\n          showQuickJumper: true,\n          showTotal: total => `共 ${total} 条`,\n          onChange: (page, pageSize) => setPagination(prev => ({\n            ...prev,\n            current: page,\n            pageSize\n          }))\n        },\n        renderItem: item => /*#__PURE__*/_jsxDEV(List.Item, {\n          actions: [!item.is_read && /*#__PURE__*/_jsxDEV(Button, {\n            type: \"text\",\n            icon: /*#__PURE__*/_jsxDEV(CheckOutlined, {}, void 0, false, {\n              fileName: _jsxFileName,\n              lineNumber: 119,\n              columnNumber: 27\n            }, this),\n            onClick: () => markAsRead(item.id),\n            children: \"\\u6807\\u4E3A\\u5DF2\\u8BFB\"\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 117,\n            columnNumber: 19\n          }, this), /*#__PURE__*/_jsxDEV(Popconfirm, {\n            title: \"\\u786E\\u5B9A\\u5220\\u9664\\u8FD9\\u6761\\u901A\\u77E5\\u5417?\",\n            onConfirm: () => handleDelete(item.id),\n            children: /*#__PURE__*/_jsxDEV(Button, {\n              type: \"text\",\n              danger: true,\n              icon: /*#__PURE__*/_jsxDEV(DeleteOutlined, {}, void 0, false, {\n                fileName: _jsxFileName,\n                lineNumber: 126,\n                columnNumber: 52\n              }, this),\n              children: \"\\u5220\\u9664\"\n            }, void 0, false, {\n              fileName: _jsxFileName,\n              lineNumber: 126,\n              columnNumber: 19\n            }, this)\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 125,\n            columnNumber: 17\n          }, this)],\n          style: {\n            opacity: item.is_read ? 0.7 : 1,\n            background: item.is_read ? 'transparent' : '#f0f5ff'\n          },\n          children: /*#__PURE__*/_jsxDEV(List.Item.Meta, {\n            avatar: /*#__PURE__*/_jsxDEV(Tag, {\n              color: getTypeColor(item.type),\n              children: getTypeText(item.type)\n            }, void 0, false, {\n              fileName: _jsxFileName,\n              lineNumber: 133,\n              columnNumber: 19\n            }, this),\n            title: /*#__PURE__*/_jsxDEV(Space, {\n              children: [/*#__PURE__*/_jsxDEV(\"span\", {\n                style: {\n                  fontWeight: item.is_read ? 'normal' : 'bold'\n                },\n                children: item.title\n              }, void 0, false, {\n                fileName: _jsxFileName,\n                lineNumber: 139,\n                columnNumber: 21\n              }, this), !item.is_read && /*#__PURE__*/_jsxDEV(\"span\", {\n                style: {\n                  color: '#1890ff',\n                  fontSize: 12\n                },\n                children: \"\\u65B0\"\n              }, void 0, false, {\n                fileName: _jsxFileName,\n                lineNumber: 140,\n                columnNumber: 39\n              }, this)]\n            }, void 0, true, {\n              fileName: _jsxFileName,\n              lineNumber: 138,\n              columnNumber: 19\n            }, this),\n            description: /*#__PURE__*/_jsxDEV(\"div\", {\n              children: [/*#__PURE__*/_jsxDEV(\"div\", {\n                style: {\n                  marginBottom: 4\n                },\n                children: item.content\n              }, void 0, false, {\n                fileName: _jsxFileName,\n                lineNumber: 145,\n                columnNumber: 21\n              }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n                style: {\n                  color: '#999',\n                  fontSize: 12\n                },\n                children: dayjs(item.created_at).format('YYYY-MM-DD HH:mm')\n              }, void 0, false, {\n                fileName: _jsxFileName,\n                lineNumber: 146,\n                columnNumber: 21\n              }, this)]\n            }, void 0, true, {\n              fileName: _jsxFileName,\n              lineNumber: 144,\n              columnNumber: 19\n            }, this)\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 131,\n            columnNumber: 15\n          }, this)\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 114,\n          columnNumber: 13\n        }, this)\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 101,\n        columnNumber: 9\n      }, this)\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 84,\n      columnNumber: 7\n    }, this)]\n  }, void 0, true, {\n    fileName: _jsxFileName,\n    lineNumber: 79,\n    columnNumber: 5\n  }, this);\n};\n_s(Notifications, \"ZS2cJ8vLu/50Vjqj+FMqHwbrGfE=\");\n_c = Notifications;\nexport default Notifications;\nvar _c;\n$RefreshReg$(_c, \"Notifications\");","map":{"version":3,"names":["React","useState","useEffect","List","Card","Button","Space","Tag","message","Empty","Popconfirm","CheckOutlined","DeleteOutlined","ReadOutlined","notificationsAPI","dayjs","jsxDEV","_jsxDEV","Notifications","_s","notifications","setNotifications","loading","setLoading","pagination","setPagination","current","pageSize","total","unread","unreadOnly","setUnreadOnly","fetchNotifications","response","getAll","page","limit","data","prev","_response$data$pagina","_response$data$pagina2","error","markAsRead","id","success","markAllAsRead","handleDelete","delete","getTypeColor","type","colors","info","warning","getTypeText","texts","children","className","fileName","_jsxFileName","lineNumber","columnNumber","extra","onClick","icon","itemLayout","dataSource","locale","emptyText","description","showSizeChanger","showQuickJumper","showTotal","onChange","renderItem","item","Item","actions","is_read","title","onConfirm","danger","style","opacity","background","Meta","avatar","color","fontWeight","fontSize","marginBottom","content","created_at","format","_c","$RefreshReg$"],"sources":["/Users/nili/Documents/trae_projects/client/src/pages/Notifications.js"],"sourcesContent":["import React, { useState, useEffect } from 'react';\nimport { List, Card, Button, Space, Tag, message, Empty, Popconfirm } from 'antd';\nimport { CheckOutlined, DeleteOutlined, ReadOutlined } from '@ant-design/icons';\nimport { notificationsAPI } from '../services/api';\nimport dayjs from 'dayjs';\n\nconst Notifications = () => {\n  const [notifications, setNotifications] = useState([]);\n  const [loading, setLoading] = useState(false);\n  const [pagination, setPagination] = useState({ current: 1, pageSize: 20, total: 0, unread: 0 });\n  const [unreadOnly, setUnreadOnly] = useState(false);\n\n  useEffect(() => {\n    fetchNotifications();\n  }, [pagination.current, pagination.pageSize, unreadOnly]);\n\n  const fetchNotifications = async () => {\n    setLoading(true);\n    try {\n      const response = await notificationsAPI.getAll({\n        page: pagination.current,\n        limit: pagination.pageSize,\n        unreadOnly: unreadOnly\n      });\n      setNotifications(response.data.notifications);\n      setPagination(prev => ({\n        ...prev,\n        total: response.data.pagination?.total || 0,\n        unread: response.data.pagination?.unread || 0\n      }));\n    } catch (error) {\n      message.error('获取通知失败');\n    } finally {\n      setLoading(false);\n    }\n  };\n\n  const markAsRead = async (id) => {\n    try {\n      await notificationsAPI.markAsRead(id);\n      message.success('已标记为已读');\n      fetchNotifications();\n    } catch (error) {\n      message.error('操作失败');\n    }\n  };\n\n  const markAllAsRead = async () => {\n    try {\n      await notificationsAPI.markAllAsRead();\n      message.success('全部已标记为已读');\n      fetchNotifications();\n    } catch (error) {\n      message.error('操作失败');\n    }\n  };\n\n  const handleDelete = async (id) => {\n    try {\n      await notificationsAPI.delete(id);\n      message.success('删除成功');\n      fetchNotifications();\n    } catch (error) {\n      message.error('删除失败');\n    }\n  };\n\n  const getTypeColor = (type) => {\n    const colors = { info: 'blue', success: 'green', warning: 'orange', error: 'red' };\n    return colors[type] || 'default';\n  };\n\n  const getTypeText = (type) => {\n    const texts = { info: '通知', success: '成功', warning: '警告', error: '错误' };\n    return texts[type] || type;\n  };\n\n  return (\n    <div>\n      <div className=\"page-header\">\n        <h1>通知中心</h1>\n      </div>\n\n      <Card\n        extra={\n          <Space>\n            <Button\n              type={unreadOnly ? 'primary' : 'default'}\n              onClick={() => setUnreadOnly(!unreadOnly)}\n            >\n              {unreadOnly ? '显示全部' : '只看未读'}\n            </Button>\n            {pagination.unread > 0 && (\n              <Button icon={<ReadOutlined />} onClick={markAllAsRead}>\n                全部标记已读\n              </Button>\n            )}\n          </Space>\n        }\n      >\n        <List\n          loading={loading}\n          itemLayout=\"horizontal\"\n          dataSource={notifications}\n          locale={{ emptyText: <Empty description=\"暂无通知\" /> }}\n          pagination={{\n            ...pagination,\n            showSizeChanger: true,\n            showQuickJumper: true,\n            showTotal: (total) => `共 ${total} 条`,\n            onChange: (page, pageSize) => setPagination(prev => ({ ...prev, current: page, pageSize }))\n          }}\n          renderItem={(item) => (\n            <List.Item\n              actions={[\n                !item.is_read && (\n                  <Button\n                    type=\"text\"\n                    icon={<CheckOutlined />}\n                    onClick={() => markAsRead(item.id)}\n                  >\n                    标为已读\n                  </Button>\n                ),\n                <Popconfirm title=\"确定删除这条通知吗?\" onConfirm={() => handleDelete(item.id)}>\n                  <Button type=\"text\" danger icon={<DeleteOutlined />}>删除</Button>\n                </Popconfirm>\n              ]}\n              style={{ opacity: item.is_read ? 0.7 : 1, background: item.is_read ? 'transparent' : '#f0f5ff' }}\n            >\n              <List.Item.Meta\n                avatar={\n                  <Tag color={getTypeColor(item.type)}>\n                    {getTypeText(item.type)}\n                  </Tag>\n                }\n                title={\n                  <Space>\n                    <span style={{ fontWeight: item.is_read ? 'normal' : 'bold' }}>{item.title}</span>\n                    {!item.is_read && <span style={{ color: '#1890ff', fontSize: 12 }}>新</span>}\n                  </Space>\n                }\n                description={\n                  <div>\n                    <div style={{ marginBottom: 4 }}>{item.content}</div>\n                    <div style={{ color: '#999', fontSize: 12 }}>\n                      {dayjs(item.created_at).format('YYYY-MM-DD HH:mm')}\n                    </div>\n                  </div>\n                }\n              />\n            </List.Item>\n          )}\n        />\n      </Card>\n    </div>\n  );\n};\n\nexport default Notifications;\n"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,SAAS,QAAQ,OAAO;AAClD,SAASC,IAAI,EAAEC,IAAI,EAAEC,MAAM,EAAEC,KAAK,EAAEC,GAAG,EAAEC,OAAO,EAAEC,KAAK,EAAEC,UAAU,QAAQ,MAAM;AACjF,SAASC,aAAa,EAAEC,cAAc,EAAEC,YAAY,QAAQ,mBAAmB;AAC/E,SAASC,gBAAgB,QAAQ,iBAAiB;AAClD,OAAOC,KAAK,MAAM,OAAO;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAE1B,MAAMC,aAAa,GAAGA,CAAA,KAAM;EAAAC,EAAA;EAC1B,MAAM,CAACC,aAAa,EAAEC,gBAAgB,CAAC,GAAGpB,QAAQ,CAAC,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