feat: initial commit
parent
f06ae5530b
commit
860d85fc8b
|
|
@ -0,0 +1,3 @@
|
|||
module.exports = {
|
||||
extends: require.resolve('@umijs/max/eslint'),
|
||||
};
|
||||
|
|
@ -1 +1,13 @@
|
|||
node_modules
|
||||
/node_modules
|
||||
/.env.local
|
||||
/.umirc.local.ts
|
||||
/config/config.local.ts
|
||||
/src/.umi
|
||||
/src/.umi-production
|
||||
/src/.umi-test
|
||||
/.umi
|
||||
/.umi-production
|
||||
/.umi-test
|
||||
/dist
|
||||
/.mfsu
|
||||
.swc
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
npx --no-install max verify-commit $1
|
||||
|
|
@ -0,0 +1 @@
|
|||
npx --no-install lint-staged --quiet
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"*.{md,json}": [
|
||||
"prettier --cache --write"
|
||||
],
|
||||
"*.{js,jsx}": [
|
||||
"max lint --fix --eslint-only",
|
||||
"prettier --cache --write"
|
||||
],
|
||||
"*.{css,less}": [
|
||||
"max lint --fix --stylelint-only",
|
||||
"prettier --cache --write"
|
||||
],
|
||||
"*.ts?(x)": [
|
||||
"max lint --fix --eslint-only",
|
||||
"prettier --cache --parser=typescript --write"
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
node_modules
|
||||
.umi
|
||||
.umi-production
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"printWidth": 80,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "all",
|
||||
"proseWrap": "never",
|
||||
"overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }],
|
||||
"plugins": ["prettier-plugin-organize-imports", "prettier-plugin-packagejson"]
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
module.exports = {
|
||||
extends: require.resolve('@umijs/max/stylelint'),
|
||||
};
|
||||
33
.umirc.ts
33
.umirc.ts
|
|
@ -1,5 +1,34 @@
|
|||
import { defineConfig } from 'umi';
|
||||
import { defineConfig } from '@umijs/max';
|
||||
|
||||
export default defineConfig({
|
||||
outputPath: 'dist',
|
||||
antd: {},
|
||||
access: {},
|
||||
model: {},
|
||||
initialState: {},
|
||||
request: {},
|
||||
layout: {
|
||||
title: '@umijs/max',
|
||||
},
|
||||
routes: [
|
||||
{
|
||||
path: '/',
|
||||
redirect: '/home',
|
||||
},
|
||||
{
|
||||
name: '首页',
|
||||
path: '/home',
|
||||
component: './Home',
|
||||
},
|
||||
{
|
||||
name: '权限演示',
|
||||
path: '/access',
|
||||
component: './Access',
|
||||
},
|
||||
{
|
||||
name: ' CRUD 示例',
|
||||
path: '/table',
|
||||
component: './Table',
|
||||
},
|
||||
],
|
||||
npmClient: 'pnpm',
|
||||
});
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
# README
|
||||
|
||||
`@umijs/max` 模板项目,更多功能参考 [Umi Max 简介](https://umijs.org/docs/max/introduce)
|
||||
|
|
@ -0,0 +1,241 @@
|
|||
# 接口文档
|
||||
|
||||
## 基本格式
|
||||
|
||||
### 成功响应格式
|
||||
|
||||
```json
|
||||
{
|
||||
"success": true,
|
||||
"data": {
|
||||
"foo": "bar"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
**NOTE:** 若无特殊说明,`POST`请求的响应`data`字段为空(`{}`),可以不用管。
|
||||
|
||||
### 失败响应格式
|
||||
|
||||
```json
|
||||
{
|
||||
"success": false,
|
||||
"err": "some error"
|
||||
}
|
||||
```
|
||||
|
||||
### `GET`请求默认格式(若无特殊说明)
|
||||
|
||||
```json
|
||||
{
|
||||
"token": "token_test"
|
||||
}
|
||||
```
|
||||
|
||||
## 主页面
|
||||
|
||||
### 统计数据 `GET /admin/stats`
|
||||
|
||||
data:
|
||||
|
||||
```json
|
||||
{
|
||||
"success": true,
|
||||
"data": {
|
||||
"notInOreo": 114,
|
||||
"total": 514
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### 当前值班信息 `GET /admin/duty/current`
|
||||
|
||||
data:
|
||||
|
||||
```json
|
||||
{
|
||||
"isInDuty": true,
|
||||
"currentDuty": "2",
|
||||
"inDutyCnt": 3,
|
||||
"otherDutyTime": "",
|
||||
"offDutyReason": "",
|
||||
"place": "204",
|
||||
"dutyRecoverTime": ""
|
||||
}
|
||||
```
|
||||
|
||||
## 主席团页面
|
||||
|
||||
### 值班表管理
|
||||
|
||||
#### 更新值班表 `POST /admin/sheet/create`
|
||||
|
||||
request:
|
||||
|
||||
```json
|
||||
{
|
||||
"name": "2024 春学期值班表",
|
||||
"sheet": [
|
||||
{
|
||||
"weekday": 1,
|
||||
"shift": 1,
|
||||
"workers": ["马嘉祺", "丁程鑫", "宋亚轩"],
|
||||
"leader": "蔡徐坤"
|
||||
},
|
||||
{
|
||||
"weekday": 1,
|
||||
"shift": 2,
|
||||
"workers": ["王俊凯", "易烊千玺", "王源"],
|
||||
"leader": "丁真珍珠"
|
||||
}
|
||||
// ...
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
#### 更新值班表 `POST /admin/sheet/update`
|
||||
|
||||
request:
|
||||
|
||||
```json
|
||||
{
|
||||
"id": 114514,
|
||||
"name": "2024 春学期值班表",
|
||||
"sheet": [
|
||||
{
|
||||
"weekday": 1,
|
||||
"shift": 1,
|
||||
"workers": ["马嘉祺", "丁程鑫", "宋亚轩"],
|
||||
"leader": "蔡徐坤"
|
||||
},
|
||||
{
|
||||
"weekday": 1,
|
||||
"shift": 2,
|
||||
"workers": ["王俊凯", "易烊千玺", "王源"],
|
||||
"leader": "丁真珍珠"
|
||||
}
|
||||
// ...
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
#### 获取当前值班表 `GET /admin/sheet/current`
|
||||
|
||||
data:
|
||||
|
||||
```json
|
||||
{
|
||||
"name": "2024 春学期值班表",
|
||||
"id": 114514,
|
||||
"createdTime": "2024-03-07T19:52:48.523303",
|
||||
"sheet": [
|
||||
{
|
||||
"weekday": 1,
|
||||
"shift": 1,
|
||||
"workers": ["马嘉祺", "丁程鑫", "宋亚轩"],
|
||||
"leader": "蔡徐坤"
|
||||
},
|
||||
{
|
||||
"weekday": 1,
|
||||
"shift": 2,
|
||||
"workers": ["王俊凯", "易烊千玺", "王源"],
|
||||
"leader": "丁真珍珠"
|
||||
}
|
||||
// ...
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
#### 获取所有值班表 `GET /admin/sheet/list`
|
||||
|
||||
data:
|
||||
|
||||
```json
|
||||
{
|
||||
"current": 114514,
|
||||
"list": [
|
||||
{
|
||||
"name": "2024 春学期值班表",
|
||||
"id": 114514,
|
||||
"createdTime": "2024-03-07T19:52:48.523303",
|
||||
"sheet": [
|
||||
{
|
||||
"weekday": 1,
|
||||
"shift": 1,
|
||||
"workers": ["马嘉祺", "丁程鑫", "宋亚轩"],
|
||||
"leader": "蔡徐坤"
|
||||
},
|
||||
{
|
||||
"weekday": 1,
|
||||
"shift": 2,
|
||||
"workers": ["王俊凯", "易烊千玺", "王源"],
|
||||
"leader": "丁真珍珠"
|
||||
}
|
||||
// ...
|
||||
]
|
||||
}
|
||||
// ...
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### 特殊值班
|
||||
|
||||
#### 获取当前值班情况 `GET /admin/duty/current`
|
||||
|
||||
data:
|
||||
|
||||
```json
|
||||
{
|
||||
"isInDuty": true,
|
||||
"currentDuty": "2",
|
||||
"inDutyCnt": 3,
|
||||
"otherDutyTime": "",
|
||||
"offDutyReason": "",
|
||||
"place": "",
|
||||
"dutyRecoverTime": "",
|
||||
},
|
||||
```
|
||||
|
||||
#### 更新当前值班情况 `POST /admin/duty/update`
|
||||
|
||||
无关项返回空字符串,后端手动校验
|
||||
|
||||
request:
|
||||
|
||||
```json
|
||||
{
|
||||
"isInDuty": true,
|
||||
"currentDuty": "2",
|
||||
"inDutyCnt": 3,
|
||||
"otherDutyTime": "",
|
||||
"offDutyReason": "",
|
||||
"place": "204",
|
||||
"dutyRecoverTime": "",
|
||||
},
|
||||
```
|
||||
|
||||
## 日志页面
|
||||
|
||||
### 获取日志列表 `GET /admin/loglist`
|
||||
|
||||
data:
|
||||
|
||||
```json
|
||||
{
|
||||
"op": "宇航员",
|
||||
"time": "2024-03-07T19:52:48.523303",
|
||||
"operation": 2,
|
||||
"target": 1,
|
||||
"prev": {
|
||||
"id": 114,
|
||||
"info": "马嘉祺"
|
||||
},
|
||||
"curr": {
|
||||
"id": 514,
|
||||
"info": "何君琳"
|
||||
}
|
||||
},
|
||||
```
|
||||
|
||||
前端显示的信息:"{op} 于 {time} {operation} 了 {target}:{prev.info} -> {curr.info}"
|
||||
|
|
@ -0,0 +1,127 @@
|
|||
{
|
||||
"name": "2024 春学期值班表",
|
||||
"createdTime": "2024-03-07T19:52:48.523303",
|
||||
"id": 114,
|
||||
"sheet": [
|
||||
{
|
||||
"weekday": 1,
|
||||
"shift": 1,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 1,
|
||||
"shift": 2,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 1,
|
||||
"shift": 3,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 2,
|
||||
"shift": 1,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 2,
|
||||
"shift": 2,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 2,
|
||||
"shift": 3,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 3,
|
||||
"shift": 1,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 3,
|
||||
"shift": 2,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 3,
|
||||
"shift": 3,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 4,
|
||||
"shift": 1,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 4,
|
||||
"shift": 2,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 4,
|
||||
"shift": 3,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 5,
|
||||
"shift": 1,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 5,
|
||||
"shift": 2,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 5,
|
||||
"shift": 3,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 6,
|
||||
"shift": 1,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 6,
|
||||
"shift": 2,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 6,
|
||||
"shift": 3,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 7,
|
||||
"shift": 1,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 7,
|
||||
"shift": 2,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,259 @@
|
|||
{
|
||||
"current": 514,
|
||||
"list": [
|
||||
{
|
||||
"name": "2024 春学期值班表",
|
||||
"createdTime": "2024-03-07T19:52:48.523303",
|
||||
"id": 114,
|
||||
"sheet": [
|
||||
{
|
||||
"weekday": 1,
|
||||
"shift": 1,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 1,
|
||||
"shift": 2,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 1,
|
||||
"shift": 3,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 2,
|
||||
"shift": 1,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 2,
|
||||
"shift": 2,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 2,
|
||||
"shift": 3,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 3,
|
||||
"shift": 1,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 3,
|
||||
"shift": 2,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 3,
|
||||
"shift": 3,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 4,
|
||||
"shift": 1,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 4,
|
||||
"shift": 2,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 4,
|
||||
"shift": 3,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 5,
|
||||
"shift": 1,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 5,
|
||||
"shift": 2,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 5,
|
||||
"shift": 3,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 6,
|
||||
"shift": 1,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 6,
|
||||
"shift": 2,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 6,
|
||||
"shift": 3,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 7,
|
||||
"shift": 1,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 7,
|
||||
"shift": 2,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "2024 秋学期值班表",
|
||||
"createdTime": "2024-03-07T11:45:14.523303",
|
||||
"id": 514,
|
||||
"sheet": [
|
||||
{
|
||||
"weekday": 1,
|
||||
"shift": 1,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 1,
|
||||
"shift": 2,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 1,
|
||||
"shift": 3,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 2,
|
||||
"shift": 1,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 2,
|
||||
"shift": 2,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 2,
|
||||
"shift": 3,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 3,
|
||||
"shift": 1,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 3,
|
||||
"shift": 2,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 3,
|
||||
"shift": 3,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 4,
|
||||
"shift": 1,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 4,
|
||||
"shift": 2,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 4,
|
||||
"shift": 3,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 5,
|
||||
"shift": 1,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 5,
|
||||
"shift": 2,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 5,
|
||||
"shift": 3,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 6,
|
||||
"shift": 1,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 6,
|
||||
"shift": 2,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 6,
|
||||
"shift": 3,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 7,
|
||||
"shift": 1,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
},
|
||||
{
|
||||
"weekday": 7,
|
||||
"shift": 2,
|
||||
"workers": ["123423", "31424", "31242"],
|
||||
"leader": "3902487"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,81 @@
|
|||
import sheet from './sheet.json';
|
||||
import sheetlist from './sheetlist.json';
|
||||
|
||||
const users = [
|
||||
{ id: 0, name: 'Umi', nickName: 'U', gender: 'MALE' },
|
||||
{ id: 1, name: 'Fish', nickName: 'B', gender: 'FEMALE' },
|
||||
];
|
||||
|
||||
const api = {
|
||||
'GET /admin/stats': {
|
||||
success: true,
|
||||
data: {
|
||||
notInOreo: 114,
|
||||
total: 514,
|
||||
},
|
||||
},
|
||||
'POST /admin/sheet/update': {
|
||||
success: true,
|
||||
data: {},
|
||||
},
|
||||
'POST /admin/sheet/create': {
|
||||
success: true,
|
||||
data: {},
|
||||
},
|
||||
'GET /admin/sheet/current': {
|
||||
success: true,
|
||||
data: sheet,
|
||||
},
|
||||
'GET /admin/sheet/list': {
|
||||
success: true,
|
||||
data: sheetlist,
|
||||
},
|
||||
'GET /admin/duty/current': {
|
||||
success: true,
|
||||
data: {
|
||||
isInDuty: true,
|
||||
currentDuty: '2',
|
||||
inDutyCnt: 3,
|
||||
otherDutyTime: '',
|
||||
offDutyReason: '',
|
||||
place: '204',
|
||||
dutyRecoverTime: '',
|
||||
},
|
||||
},
|
||||
'POST /admin/duty/update': {
|
||||
success: true,
|
||||
data: {},
|
||||
},
|
||||
'GET /admin/loglist': {
|
||||
success: true,
|
||||
data: {
|
||||
op: '宇航员',
|
||||
time: '2024-03-07T19:52:48.523303',
|
||||
operation: 2,
|
||||
target: 1,
|
||||
prev: {
|
||||
id: 114,
|
||||
info: '马嘉祺',
|
||||
},
|
||||
curr: {
|
||||
id: 514,
|
||||
info: '何君琳',
|
||||
},
|
||||
},
|
||||
},
|
||||
'GET /api/v1/queryUserList': (req: any, res: any) => {
|
||||
res.json({
|
||||
success: true,
|
||||
data: { list: users },
|
||||
errorCode: 0,
|
||||
});
|
||||
},
|
||||
'PUT /api/v1/user/': (req: any, res: any) => {
|
||||
res.json({
|
||||
success: true,
|
||||
errorCode: 0,
|
||||
});
|
||||
},
|
||||
};
|
||||
|
||||
export default api;
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"private": true,
|
||||
"author": "Dawn1Ocean <1785590531@qq.com>",
|
||||
"scripts": {
|
||||
"build": "max build",
|
||||
"dev": "max dev",
|
||||
"format": "prettier --cache --write .",
|
||||
"postinstall": "max setup",
|
||||
"prepare": "husky",
|
||||
"setup": "max setup",
|
||||
"start": "npm run dev"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ant-design/icons": "^5.0.1",
|
||||
"@ant-design/pro-components": "^2.4.4",
|
||||
"@umijs/max": "^4.1.5",
|
||||
"antd": "^5.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^18.0.33",
|
||||
"@types/react-dom": "^18.0.11",
|
||||
"husky": "^9",
|
||||
"lint-staged": "^13.2.0",
|
||||
"prettier": "^2.8.7",
|
||||
"prettier-plugin-organize-imports": "^3.2.2",
|
||||
"prettier-plugin-packagejson": "^2.4.3",
|
||||
"typescript": "^5.0.3"
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,6 +1,10 @@
|
|||
// @ts-nocheck
|
||||
// This file is generated by Umi automatically
|
||||
// DO NOT CHANGE IT MANUALLY!
|
||||
import type { IRuntimeConfig as Plugin0 } from '/home/dean/Coding/EVA Tea/Notify-Admin/src/.umi/plugin-antd/runtimeConfig.d'
|
||||
import type { IRuntimeConfig as Plugin1 } from '/home/dean/Coding/EVA Tea/Notify-Admin/src/.umi/plugin-initialState/runtimeConfig.d'
|
||||
import type { IRuntimeConfig as Plugin2 } from '/home/dean/Coding/EVA Tea/Notify-Admin/src/.umi/plugin-layout/runtimeConfig.d'
|
||||
import type { IRuntimeConfig as Plugin3 } from '/home/dean/Coding/EVA Tea/Notify-Admin/src/.umi/plugin-request/runtimeConfig.d'
|
||||
interface IDefaultRuntimeConfig {
|
||||
onRouteChange?: (props: { routes: any, clientRoutes: any, location: any, action: any, isFirst: boolean }) => void;
|
||||
patchRoutes?: (props: { routes: any }) => void;
|
||||
|
|
@ -9,7 +13,7 @@ interface IDefaultRuntimeConfig {
|
|||
rootContainer?: (lastRootContainer: JSX.Element, args?: any) => void;
|
||||
[key: string]: any;
|
||||
}
|
||||
export type RuntimeConfig = IDefaultRuntimeConfig
|
||||
export type RuntimeConfig = IDefaultRuntimeConfig & Plugin0 & Plugin1 & Plugin2 & Plugin3
|
||||
|
||||
export function defineApp(config: RuntimeConfig): RuntimeConfig {
|
||||
return config;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
// This file is generated by Umi automatically
|
||||
// DO NOT CHANGE IT MANUALLY!
|
||||
import React from 'react';
|
||||
import { HelmetProvider } from '/usr/lib/node_modules/umi/node_modules/@umijs/renderer-react';
|
||||
import { HelmetProvider } from '/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/@umijs+renderer-react@4.1.5_react-dom@18.1.0_react@18.1.0/node_modules/@umijs/renderer-react';
|
||||
import { context } from './helmetContext';
|
||||
|
||||
export const innerProvider = (container) => {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
// @ts-nocheck
|
||||
// This file is generated by Umi automatically
|
||||
// DO NOT CHANGE IT MANUALLY!
|
||||
import { createHashHistory, createMemoryHistory, createBrowserHistory } from '/usr/lib/node_modules/umi/node_modules/@umijs/renderer-react';
|
||||
import { createHashHistory, createMemoryHistory, createBrowserHistory } from '/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/@umijs+renderer-react@4.1.5_react-dom@18.1.0_react@18.1.0/node_modules/@umijs/renderer-react';
|
||||
import type { UmiHistory } from './historyIntelli';
|
||||
|
||||
let history: UmiHistory;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
// This file is generated by Umi automatically
|
||||
// DO NOT CHANGE IT MANUALLY!
|
||||
import { getRoutes } from './route'
|
||||
import type { History } from '/usr/lib/node_modules/umi/node_modules/@umijs/renderer-react'
|
||||
import type { History } from '/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/@umijs+renderer-react@4.1.5_react-dom@18.1.0_react@18.1.0/node_modules/@umijs/renderer-react'
|
||||
|
||||
type Routes = Awaited<ReturnType<typeof getRoutes>>['routes']
|
||||
type AllRoute = Routes[keyof Routes]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,12 @@
|
|||
// @ts-nocheck
|
||||
// This file is generated by Umi automatically
|
||||
// DO NOT CHANGE IT MANUALLY!
|
||||
import * as Plugin_0 from '@@/core/helmet.ts';
|
||||
import * as Plugin_0 from '/home/dean/Coding/EVA Tea/Notify-Admin/src/app.ts';
|
||||
import * as Plugin_1 from '@@/core/helmet.ts';
|
||||
import * as Plugin_2 from '/home/dean/Coding/EVA Tea/Notify-Admin/src/.umi/plugin-access/runtime.tsx';
|
||||
import * as Plugin_3 from '/home/dean/Coding/EVA Tea/Notify-Admin/src/.umi/plugin-initialState/runtime.tsx';
|
||||
import * as Plugin_4 from '/home/dean/Coding/EVA Tea/Notify-Admin/src/.umi/plugin-layout/runtime.tsx';
|
||||
import * as Plugin_5 from '/home/dean/Coding/EVA Tea/Notify-Admin/src/.umi/plugin-model/runtime.tsx';
|
||||
import { PluginManager } from 'umi';
|
||||
|
||||
function __defaultExport (obj) {
|
||||
|
|
@ -13,14 +18,34 @@ function __defaultExport (obj) {
|
|||
export function getPlugins() {
|
||||
return [
|
||||
{
|
||||
apply: Plugin_0,
|
||||
apply: __defaultExport(Plugin_0),
|
||||
path: process.env.NODE_ENV === 'production' ? void 0 : '/home/dean/Coding/EVA Tea/Notify-Admin/src/app.ts',
|
||||
},
|
||||
{
|
||||
apply: Plugin_1,
|
||||
path: process.env.NODE_ENV === 'production' ? void 0 : '@@/core/helmet.ts',
|
||||
},
|
||||
{
|
||||
apply: Plugin_2,
|
||||
path: process.env.NODE_ENV === 'production' ? void 0 : '/home/dean/Coding/EVA Tea/Notify-Admin/src/.umi/plugin-access/runtime.tsx',
|
||||
},
|
||||
{
|
||||
apply: Plugin_3,
|
||||
path: process.env.NODE_ENV === 'production' ? void 0 : '/home/dean/Coding/EVA Tea/Notify-Admin/src/.umi/plugin-initialState/runtime.tsx',
|
||||
},
|
||||
{
|
||||
apply: Plugin_4,
|
||||
path: process.env.NODE_ENV === 'production' ? void 0 : '/home/dean/Coding/EVA Tea/Notify-Admin/src/.umi/plugin-layout/runtime.tsx',
|
||||
},
|
||||
{
|
||||
apply: Plugin_5,
|
||||
path: process.env.NODE_ENV === 'production' ? void 0 : '/home/dean/Coding/EVA Tea/Notify-Admin/src/.umi/plugin-model/runtime.tsx',
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
export function getValidKeys() {
|
||||
return ['patchRoutes','patchClientRoutes','modifyContextOpts','modifyClientRenderOpts','rootContainer','innerProvider','i18nProvider','accessProvider','dataflowProvider','outerProvider','render','onRouteChange',];
|
||||
return ['patchRoutes','patchClientRoutes','modifyContextOpts','modifyClientRenderOpts','rootContainer','innerProvider','i18nProvider','accessProvider','dataflowProvider','outerProvider','render','onRouteChange','antd','getInitialState','layout','qiankun','request',];
|
||||
}
|
||||
|
||||
let pluginManager = null;
|
||||
|
|
|
|||
|
|
@ -275,6 +275,87 @@ interface IConfigTypes {
|
|||
};
|
||||
run: {
|
||||
globals?: (Array<string> | undefined);
|
||||
};
|
||||
access: { [x: string]: any };
|
||||
analytics: {
|
||||
baidu?: (string | undefined);
|
||||
ga?: (string | undefined);
|
||||
ga_v2?: (string | undefined);
|
||||
};
|
||||
antd: {
|
||||
dark?: (boolean | undefined);
|
||||
compact?: (boolean | undefined);
|
||||
import?: (boolean | undefined);
|
||||
style?: ("less" | "css" | undefined);
|
||||
theme?: ({
|
||||
components: { [x: string]: { [x: string]: any } };
|
||||
} | { [x: string]: any } | undefined);
|
||||
appConfig?: ({ [x: string]: any } | undefined);
|
||||
momentPicker?: (boolean | undefined);
|
||||
styleProvider?: ({ [x: string]: any } | undefined);
|
||||
configProvider?: ({
|
||||
theme: {
|
||||
components: { [x: string]: { [x: string]: any } };
|
||||
} | { [x: string]: any };
|
||||
} | { [x: string]: any } | undefined);
|
||||
};
|
||||
dva: {
|
||||
extraModels?: (Array<string> | undefined);
|
||||
immer?: ({ [x: string]: any } | undefined);
|
||||
skipModelValidate?: (boolean | undefined);
|
||||
};
|
||||
initialState: {
|
||||
loading?: (string | undefined);
|
||||
};
|
||||
layout: { [x: string]: any };
|
||||
locale: {
|
||||
default?: (string | undefined);
|
||||
useLocalStorage?: (boolean | undefined);
|
||||
baseNavigator?: (boolean | undefined);
|
||||
title?: (boolean | undefined);
|
||||
antd?: (boolean | undefined);
|
||||
baseSeparator?: (string | undefined);
|
||||
};
|
||||
mf: {
|
||||
name?: (string | undefined);
|
||||
remotes?: (Array<{
|
||||
aliasName?: (string | undefined);
|
||||
name: string;
|
||||
entry?: (string | undefined);
|
||||
entries?: ({
|
||||
|
||||
} | undefined);
|
||||
keyResolver?: (string | undefined);
|
||||
}> | undefined);
|
||||
shared?: ({ [x: string]: any } | undefined);
|
||||
library?: ({ [x: string]: any } | undefined);
|
||||
remoteHash?: (boolean | undefined);
|
||||
};
|
||||
model: {
|
||||
extraModels?: (Array<string> | undefined);
|
||||
};
|
||||
moment2dayjs: {
|
||||
preset?: ("antd" | "antdv3" | "none" | undefined);
|
||||
plugins?: (Array<string> | undefined);
|
||||
};
|
||||
qiankun: {
|
||||
slave?: ({ [x: string]: any } | undefined);
|
||||
master?: ({ [x: string]: any } | undefined);
|
||||
externalQiankun?: (boolean | undefined);
|
||||
};
|
||||
reactQuery: {
|
||||
devtool?: ({ [x: string]: any } | boolean | undefined);
|
||||
queryClient?: ({ [x: string]: any } | boolean | undefined);
|
||||
};
|
||||
request: {
|
||||
dataField?: (string | undefined);
|
||||
};
|
||||
styledComponents: {
|
||||
babelPlugin?: ({ [x: string]: any } | undefined);
|
||||
};
|
||||
tailwindcss: { [x: string]: any };
|
||||
valtio: {
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1,220 +1,220 @@
|
|||
// @ts-nocheck
|
||||
// This file is generated by Umi automatically
|
||||
// DO NOT CHANGE IT MANUALLY!
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.error.cause.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.aggregate-error.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.aggregate-error.cause.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.array.at.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.array.find-last.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.array.find-last-index.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.array.push.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.array.reduce.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.array.reduce-right.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.array.to-reversed.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.array.to-sorted.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.array.to-spliced.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.array.with.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.map.group-by.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.object.group-by.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.object.has-own.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.promise.any.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.promise.with-resolvers.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.reflect.to-string-tag.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.regexp.flags.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.string.at-alternative.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.string.is-well-formed.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.string.replace-all.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.string.to-well-formed.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.typed-array.at.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.typed-array.find-last.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.typed-array.find-last-index.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.typed-array.set.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.typed-array.to-reversed.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.typed-array.to-sorted.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/es.typed-array.with.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.suppressed-error.constructor.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.array.from-async.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.array.filter-out.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.array.filter-reject.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.array.group.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.array.group-by.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.array.group-by-to-map.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.array.group-to-map.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.array.is-template-object.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.array.last-index.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.array.last-item.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.array.unique-by.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.array-buffer.detached.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.array-buffer.transfer.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.array-buffer.transfer-to-fixed-length.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.async-disposable-stack.constructor.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.async-iterator.constructor.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.async-iterator.as-indexed-pairs.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.async-iterator.async-dispose.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.async-iterator.drop.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.async-iterator.every.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.async-iterator.filter.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.async-iterator.find.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.async-iterator.flat-map.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.async-iterator.for-each.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.async-iterator.from.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.async-iterator.indexed.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.async-iterator.map.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.async-iterator.reduce.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.async-iterator.some.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.async-iterator.take.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.async-iterator.to-array.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.bigint.range.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.composite-key.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.composite-symbol.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.data-view.get-float16.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.data-view.get-uint8-clamped.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.data-view.set-float16.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.data-view.set-uint8-clamped.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.disposable-stack.constructor.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.function.demethodize.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.function.is-callable.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.function.is-constructor.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.function.metadata.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.function.un-this.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.iterator.constructor.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.iterator.as-indexed-pairs.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.iterator.dispose.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.iterator.drop.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.iterator.every.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.iterator.filter.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.iterator.find.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.iterator.flat-map.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.iterator.for-each.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.iterator.from.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.iterator.indexed.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.iterator.map.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.iterator.range.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.iterator.reduce.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.iterator.some.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.iterator.take.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.iterator.to-array.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.iterator.to-async.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.json.is-raw-json.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.json.parse.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.json.raw-json.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.map.delete-all.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.map.emplace.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.map.every.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.map.filter.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.map.find.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.map.find-key.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.map.from.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.map.includes.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.map.key-by.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.map.key-of.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.map.map-keys.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.map.map-values.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.map.merge.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.map.of.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.map.reduce.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.map.some.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.map.update.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.map.update-or-insert.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.map.upsert.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.math.clamp.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.math.deg-per-rad.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.math.degrees.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.math.fscale.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.math.f16round.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.math.iaddh.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.math.imulh.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.math.isubh.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.math.rad-per-deg.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.math.radians.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.math.scale.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.math.seeded-prng.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.math.signbit.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.math.umulh.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.number.from-string.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.number.range.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.object.iterate-entries.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.object.iterate-keys.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.object.iterate-values.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.observable.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.promise.try.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.reflect.define-metadata.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.reflect.delete-metadata.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.reflect.get-metadata.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.reflect.get-metadata-keys.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.reflect.get-own-metadata.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.reflect.get-own-metadata-keys.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.reflect.has-metadata.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.reflect.has-own-metadata.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.reflect.metadata.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.regexp.escape.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.add-all.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.delete-all.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.difference.v2.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.difference.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.every.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.filter.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.find.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.from.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.intersection.v2.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.intersection.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.is-disjoint-from.v2.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.is-disjoint-from.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.is-subset-of.v2.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.is-subset-of.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.is-superset-of.v2.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.is-superset-of.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.join.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.map.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.of.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.reduce.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.some.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.symmetric-difference.v2.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.symmetric-difference.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.union.v2.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.set.union.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.string.at.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.string.cooked.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.string.code-points.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.string.dedent.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.symbol.async-dispose.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.symbol.dispose.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.symbol.is-registered-symbol.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.symbol.is-registered.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.symbol.is-well-known-symbol.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.symbol.is-well-known.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.symbol.matcher.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.symbol.metadata.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.symbol.metadata-key.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.symbol.observable.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.symbol.pattern-match.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.symbol.replace-all.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.typed-array.from-async.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.typed-array.filter-out.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.typed-array.filter-reject.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.typed-array.group-by.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.typed-array.to-spliced.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.typed-array.unique-by.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.uint8-array.from-base64.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.uint8-array.from-hex.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.uint8-array.to-base64.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.uint8-array.to-hex.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.weak-map.delete-all.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.weak-map.from.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.weak-map.of.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.weak-map.emplace.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.weak-map.upsert.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.weak-set.add-all.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.weak-set.delete-all.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.weak-set.from.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/esnext.weak-set.of.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/web.dom-exception.stack.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/web.immediate.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/web.self.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/web.structured-clone.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/web.url.can-parse.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/web.url-search-params.delete.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/web.url-search-params.has.js";
|
||||
import "/usr/lib/node_modules/umi/node_modules/core-js/modules/web.url-search-params.size.js";
|
||||
import '/usr/lib/node_modules/umi/node_modules/@umijs/preset-umi/node_modules/regenerator-runtime/runtime.js';
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.error.cause.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.aggregate-error.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.aggregate-error.cause.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.array.at.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.array.find-last.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.array.find-last-index.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.array.push.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.array.reduce.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.array.reduce-right.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.array.to-reversed.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.array.to-sorted.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.array.to-spliced.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.array.with.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.map.group-by.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.object.group-by.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.object.has-own.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.promise.any.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.promise.with-resolvers.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.reflect.to-string-tag.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.regexp.flags.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.string.at-alternative.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.string.is-well-formed.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.string.replace-all.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.string.to-well-formed.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.typed-array.at.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.typed-array.find-last.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.typed-array.find-last-index.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.typed-array.set.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.typed-array.to-reversed.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.typed-array.to-sorted.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/es.typed-array.with.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.suppressed-error.constructor.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.array.from-async.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.array.filter-out.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.array.filter-reject.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.array.group.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.array.group-by.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.array.group-by-to-map.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.array.group-to-map.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.array.is-template-object.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.array.last-index.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.array.last-item.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.array.unique-by.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.array-buffer.detached.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.array-buffer.transfer.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.array-buffer.transfer-to-fixed-length.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.async-disposable-stack.constructor.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.async-iterator.constructor.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.async-iterator.as-indexed-pairs.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.async-iterator.async-dispose.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.async-iterator.drop.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.async-iterator.every.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.async-iterator.filter.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.async-iterator.find.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.async-iterator.flat-map.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.async-iterator.for-each.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.async-iterator.from.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.async-iterator.indexed.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.async-iterator.map.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.async-iterator.reduce.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.async-iterator.some.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.async-iterator.take.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.async-iterator.to-array.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.bigint.range.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.composite-key.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.composite-symbol.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.data-view.get-float16.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.data-view.get-uint8-clamped.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.data-view.set-float16.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.data-view.set-uint8-clamped.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.disposable-stack.constructor.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.function.demethodize.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.function.is-callable.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.function.is-constructor.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.function.metadata.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.function.un-this.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.iterator.constructor.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.iterator.as-indexed-pairs.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.iterator.dispose.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.iterator.drop.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.iterator.every.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.iterator.filter.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.iterator.find.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.iterator.flat-map.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.iterator.for-each.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.iterator.from.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.iterator.indexed.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.iterator.map.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.iterator.range.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.iterator.reduce.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.iterator.some.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.iterator.take.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.iterator.to-array.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.iterator.to-async.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.json.is-raw-json.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.json.parse.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.json.raw-json.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.map.delete-all.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.map.emplace.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.map.every.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.map.filter.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.map.find.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.map.find-key.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.map.from.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.map.includes.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.map.key-by.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.map.key-of.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.map.map-keys.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.map.map-values.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.map.merge.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.map.of.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.map.reduce.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.map.some.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.map.update.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.map.update-or-insert.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.map.upsert.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.math.clamp.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.math.deg-per-rad.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.math.degrees.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.math.fscale.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.math.f16round.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.math.iaddh.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.math.imulh.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.math.isubh.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.math.rad-per-deg.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.math.radians.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.math.scale.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.math.seeded-prng.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.math.signbit.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.math.umulh.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.number.from-string.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.number.range.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.object.iterate-entries.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.object.iterate-keys.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.object.iterate-values.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.observable.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.promise.try.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.reflect.define-metadata.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.reflect.delete-metadata.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.reflect.get-metadata.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.reflect.get-metadata-keys.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.reflect.get-own-metadata.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.reflect.get-own-metadata-keys.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.reflect.has-metadata.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.reflect.has-own-metadata.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.reflect.metadata.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.regexp.escape.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.add-all.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.delete-all.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.difference.v2.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.difference.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.every.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.filter.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.find.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.from.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.intersection.v2.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.intersection.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.is-disjoint-from.v2.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.is-disjoint-from.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.is-subset-of.v2.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.is-subset-of.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.is-superset-of.v2.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.is-superset-of.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.join.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.map.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.of.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.reduce.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.some.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.symmetric-difference.v2.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.symmetric-difference.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.union.v2.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.set.union.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.string.at.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.string.cooked.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.string.code-points.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.string.dedent.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.symbol.async-dispose.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.symbol.dispose.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.symbol.is-registered-symbol.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.symbol.is-registered.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.symbol.is-well-known-symbol.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.symbol.is-well-known.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.symbol.matcher.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.symbol.metadata.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.symbol.metadata-key.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.symbol.observable.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.symbol.pattern-match.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.symbol.replace-all.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.typed-array.from-async.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.typed-array.filter-out.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.typed-array.filter-reject.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.typed-array.group-by.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.typed-array.to-spliced.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.typed-array.unique-by.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.uint8-array.from-base64.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.uint8-array.from-hex.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.uint8-array.to-base64.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.uint8-array.to-hex.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.weak-map.delete-all.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.weak-map.from.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.weak-map.of.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.weak-map.emplace.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.weak-map.upsert.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.weak-set.add-all.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.weak-set.delete-all.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.weak-set.from.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/esnext.weak-set.of.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/web.dom-exception.stack.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/web.immediate.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/web.self.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/web.structured-clone.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/web.url.can-parse.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/web.url-search-params.delete.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/web.url-search-params.has.js";
|
||||
import "/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/core-js@3.34.0/node_modules/core-js/modules/web.url-search-params.size.js";
|
||||
import '/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/regenerator-runtime@0.13.11/node_modules/regenerator-runtime/runtime.js';
|
||||
export {};
|
||||
|
|
|
|||
|
|
@ -1,30 +1,18 @@
|
|||
// @ts-nocheck
|
||||
// This file is generated by Umi automatically
|
||||
// DO NOT CHANGE IT MANUALLY!
|
||||
import routeProps from './routeProps';
|
||||
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
Object.entries(routeProps).forEach(([key, value]) => {
|
||||
const internalProps = ['path', 'id', 'parentId', 'isLayout', 'isWrapper', 'layout', 'clientLoader'];
|
||||
Object.keys(value).forEach((prop) => {
|
||||
if (internalProps.includes(prop)) {
|
||||
throw new Error(
|
||||
`[UmiJS] route '${key}' should not have '${prop}' prop, please remove this property in 'routeProps'.`
|
||||
)
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
import React from 'react';
|
||||
|
||||
export async function getRoutes() {
|
||||
const routes = {"duty/DutyTable":{"path":"duty/DutyTable","id":"duty/DutyTable"},"logs/Logs":{"path":"logs/Logs","id":"logs/Logs"}} as const;
|
||||
const routes = {"1":{"path":"/","redirect":"/home","parentId":"ant-design-pro-layout","id":"1"},"2":{"name":"首页","path":"/home","parentId":"ant-design-pro-layout","id":"2"},"3":{"name":"权限演示","path":"/access","parentId":"ant-design-pro-layout","id":"3"},"4":{"name":" CRUD 示例","path":"/table","parentId":"ant-design-pro-layout","id":"4"},"ant-design-pro-layout":{"id":"ant-design-pro-layout","path":"/","isLayout":true}} as const;
|
||||
return {
|
||||
routes,
|
||||
routeComponents: {
|
||||
'duty/DutyTable': React.lazy(() => import(/* webpackChunkName: "src__pages__duty__DutyTable" */'../../../src/pages/duty/DutyTable.tsx')),
|
||||
'logs/Logs': React.lazy(() => import(/* webpackChunkName: "src__pages__logs__Logs" */'../../../src/pages/logs/Logs.tsx')),
|
||||
'1': React.lazy(() => import( './EmptyRoute')),
|
||||
'2': React.lazy(() => import(/* webpackChunkName: "p__Home__index" */'@/pages/Home/index.tsx')),
|
||||
'3': React.lazy(() => import(/* webpackChunkName: "p__Access__index" */'@/pages/Access/index.tsx')),
|
||||
'4': React.lazy(() => import(/* webpackChunkName: "p__Table__index" */'@/pages/Table/index.tsx')),
|
||||
'ant-design-pro-layout': React.lazy(() => import(/* webpackChunkName: "umi__plugin-layout__Layout" */'/home/dean/Coding/EVA Tea/Notify-Admin/src/.umi/plugin-layout/Layout.tsx')),
|
||||
},
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
// src/.umi/core/routeProps.ts
|
||||
var routeProps_default = {};
|
||||
export {
|
||||
routeProps_default as default
|
||||
};
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
// @ts-nocheck
|
||||
// This file is generated by Umi automatically
|
||||
// DO NOT CHANGE IT MANUALLY!
|
||||
export default {
|
||||
|
||||
};
|
||||
|
|
@ -5,12 +5,19 @@
|
|||
export { defineApp } from './core/defineApp'
|
||||
export type { RuntimeConfig } from './core/defineApp'
|
||||
// plugins
|
||||
export { Access, useAccess, useAccessMarkedRoutes } from '/home/dean/Coding/EVA Tea/Notify-Admin/src/.umi/plugin-access';
|
||||
export { Provider, useModel } from '/home/dean/Coding/EVA Tea/Notify-Admin/src/.umi/plugin-model';
|
||||
export { useRequest, UseRequestProvider, request, getRequestInstance } from '/home/dean/Coding/EVA Tea/Notify-Admin/src/.umi/plugin-request';
|
||||
// plugins types.d.ts
|
||||
export * from '/home/dean/Coding/EVA Tea/Notify-Admin/src/.umi/plugin-access/types.d';
|
||||
export * from '/home/dean/Coding/EVA Tea/Notify-Admin/src/.umi/plugin-antd/types.d';
|
||||
export * from '/home/dean/Coding/EVA Tea/Notify-Admin/src/.umi/plugin-layout/types.d';
|
||||
export * from '/home/dean/Coding/EVA Tea/Notify-Admin/src/.umi/plugin-request/types.d';
|
||||
// @umijs/renderer-*
|
||||
export { createBrowserHistory, createHashHistory, createMemoryHistory, Helmet, HelmetProvider, createSearchParams, generatePath, matchPath, matchRoutes, Navigate, NavLink, Outlet, resolvePath, useLocation, useMatch, useNavigate, useOutlet, useOutletContext, useParams, useResolvedPath, useRoutes, useSearchParams, useAppData, useClientLoaderData, useRouteProps, useSelectedRoutes, useServerLoaderData, renderClient, __getRoot, Link, useRouteData, __useFetcher, withRouter } from '/usr/lib/node_modules/umi/node_modules/@umijs/renderer-react';
|
||||
export type { History } from '/usr/lib/node_modules/umi/node_modules/@umijs/renderer-react'
|
||||
export { createBrowserHistory, createHashHistory, createMemoryHistory, Helmet, HelmetProvider, createSearchParams, generatePath, matchPath, matchRoutes, Navigate, NavLink, Outlet, resolvePath, useLocation, useMatch, useNavigate, useOutlet, useOutletContext, useParams, useResolvedPath, useRoutes, useSearchParams, useAppData, useClientLoaderData, useRouteProps, useSelectedRoutes, useServerLoaderData, renderClient, __getRoot, Link, useRouteData, __useFetcher, withRouter } from '/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/@umijs+renderer-react@4.1.5_react-dom@18.1.0_react@18.1.0/node_modules/@umijs/renderer-react';
|
||||
export type { History } from '/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/@umijs+renderer-react@4.1.5_react-dom@18.1.0_react@18.1.0/node_modules/@umijs/renderer-react'
|
||||
// umi/client/client/plugin
|
||||
export { ApplyPluginsType, PluginManager } from '/usr/lib/node_modules/umi/client/client/plugin.js';
|
||||
export { ApplyPluginsType, PluginManager } from '/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/umi@4.1.5_@babel+core@7.24.3_@types+react@18.2.73_eslint@8.35.0_prettier@2.8.8_react-dom@18.2_wmk56yreolb4q5qtbx2ujd6jh4/node_modules/umi/client/client/plugin.js';
|
||||
export { history, createHistory } from './core/history';
|
||||
export { terminal } from './core/terminal';
|
||||
// react ssr
|
||||
|
|
|
|||
|
|
@ -3,13 +3,13 @@
|
|||
// DO NOT CHANGE IT MANUALLY!
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import { ApplyPluginsType } from 'umi';
|
||||
import { renderClient, RenderClientOpts } from '/usr/lib/node_modules/umi/node_modules/@umijs/renderer-react';
|
||||
import { renderClient, RenderClientOpts } from '/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/@umijs+renderer-react@4.1.5_react-dom@18.1.0_react@18.1.0/node_modules/@umijs/renderer-react';
|
||||
import { createHistory } from './core/history';
|
||||
import { createPluginManager } from './core/plugin';
|
||||
import { getRoutes } from './core/route';
|
||||
import type { Location } from 'history';
|
||||
|
||||
|
||||
import 'antd/dist/reset.css';
|
||||
const publicPath = '/';
|
||||
const runtimePublicPath = false;
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
],
|
||||
"allowJs": true,
|
||||
"skipLibCheck": true,
|
||||
"moduleResolution": "node",
|
||||
"moduleResolution": "bundler",
|
||||
"importHelpers": true,
|
||||
"noEmit": true,
|
||||
"jsx": "react-jsx",
|
||||
|
|
@ -26,10 +26,10 @@
|
|||
"@@/*": [
|
||||
"src/.umi/*"
|
||||
],
|
||||
"umi": [
|
||||
"/usr/lib/node_modules/umi"
|
||||
"@umijs/max": [
|
||||
"/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/umi@4.1.5_@babel+core@7.24.3_@types+react@18.2.73_eslint@8.35.0_prettier@2.8.8_react-dom@18.2_wmk56yreolb4q5qtbx2ujd6jh4/node_modules/umi"
|
||||
],
|
||||
"umi/typings": [
|
||||
"@umijs/max/typings": [
|
||||
"src/.umi/typings"
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
// This file is generated by Umi automatically
|
||||
// DO NOT CHANGE IT MANUALLY!
|
||||
import './core/polyfill';
|
||||
|
||||
import { renderClient } from '/usr/lib/node_modules/umi/node_modules/@umijs/renderer-react';
|
||||
import 'antd/dist/reset.css';
|
||||
import { renderClient } from '/home/dean/Coding/EVA Tea/Notify-Admin/node_modules/.pnpm/@umijs+renderer-react@4.1.5_react-dom@18.1.0_react@18.1.0/node_modules/@umijs/renderer-react';
|
||||
import { getRoutes } from './core/route';
|
||||
import { createPluginManager } from './core/plugin';
|
||||
import { createHistory } from './core/history';
|
||||
|
|
|
|||
|
|
@ -0,0 +1,10 @@
|
|||
export default (initialState: API.UserInfo) => {
|
||||
// 在这里按照初始化数据定义项目中的权限,统一管理
|
||||
// 参考文档 https://umijs.org/docs/max/access
|
||||
const canSeeAdmin = !!(
|
||||
initialState && initialState.name !== 'dontHaveAccess'
|
||||
);
|
||||
return {
|
||||
canSeeAdmin,
|
||||
};
|
||||
};
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
// 运行时配置
|
||||
|
||||
// 全局初始化数据配置,用于 Layout 用户信息和权限初始化
|
||||
// 更多信息见文档:https://umijs.org/docs/api/runtime-config#getinitialstate
|
||||
export async function getInitialState(): Promise<{ name: string }> {
|
||||
return { name: '@umijs/max' };
|
||||
}
|
||||
|
||||
export const layout = () => {
|
||||
return {
|
||||
logo: 'https://img.alicdn.com/tfs/TB1YHEpwUT1gK0jSZFhXXaAtVXa-28-27.svg',
|
||||
menu: {
|
||||
locale: false,
|
||||
},
|
||||
};
|
||||
};
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
.title {
|
||||
margin: 0 auto;
|
||||
font-weight: 200;
|
||||
}
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
import { Layout, Row, Typography } from 'antd';
|
||||
import React from 'react';
|
||||
import styles from './Guide.less';
|
||||
|
||||
interface Props {
|
||||
name: string;
|
||||
}
|
||||
|
||||
// 脚手架示例组件
|
||||
const Guide: React.FC<Props> = (props) => {
|
||||
const { name } = props;
|
||||
return (
|
||||
<Layout>
|
||||
<Row>
|
||||
<Typography.Title level={3} className={styles.title}>
|
||||
欢迎使用 <strong>{name}</strong> !
|
||||
</Typography.Title>
|
||||
</Row>
|
||||
</Layout>
|
||||
);
|
||||
};
|
||||
|
||||
export default Guide;
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
import Guide from './Guide';
|
||||
export default Guide;
|
||||
|
|
@ -0,0 +1 @@
|
|||
export const DEFAULT_NAME = 'Umi Max';
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
// 全局共享数据示例
|
||||
import { DEFAULT_NAME } from '@/constants';
|
||||
import { useState } from 'react';
|
||||
|
||||
const useUser = () => {
|
||||
const [name, setName] = useState<string>(DEFAULT_NAME);
|
||||
return {
|
||||
name,
|
||||
setName,
|
||||
};
|
||||
};
|
||||
|
||||
export default useUser;
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
import { PageContainer } from '@ant-design/pro-components';
|
||||
import { Access, useAccess } from '@umijs/max';
|
||||
import { Button } from 'antd';
|
||||
|
||||
const AccessPage: React.FC = () => {
|
||||
const access = useAccess();
|
||||
return (
|
||||
<PageContainer
|
||||
ghost
|
||||
header={{
|
||||
title: '权限示例',
|
||||
}}
|
||||
>
|
||||
<Access accessible={access.canSeeAdmin}>
|
||||
<Button>只有 Admin 可以看到这个按钮</Button>
|
||||
</Access>
|
||||
</PageContainer>
|
||||
);
|
||||
};
|
||||
|
||||
export default AccessPage;
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
.container {
|
||||
padding-top: 80px;
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
import Guide from '@/components/Guide';
|
||||
import { trim } from '@/utils/format';
|
||||
import { PageContainer } from '@ant-design/pro-components';
|
||||
import { useModel } from '@umijs/max';
|
||||
import styles from './index.less';
|
||||
|
||||
const HomePage: React.FC = () => {
|
||||
const { name } = useModel('global');
|
||||
return (
|
||||
<PageContainer ghost>
|
||||
<div className={styles.container}>
|
||||
<Guide name={trim(name)} />
|
||||
</div>
|
||||
</PageContainer>
|
||||
);
|
||||
};
|
||||
|
||||
export default HomePage;
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
import { Modal } from 'antd';
|
||||
import React, { PropsWithChildren } from 'react';
|
||||
|
||||
interface CreateFormProps {
|
||||
modalVisible: boolean;
|
||||
onCancel: () => void;
|
||||
}
|
||||
|
||||
const CreateForm: React.FC<PropsWithChildren<CreateFormProps>> = (props) => {
|
||||
const { modalVisible, onCancel } = props;
|
||||
|
||||
return (
|
||||
<Modal
|
||||
destroyOnClose
|
||||
title="新建"
|
||||
width={420}
|
||||
open={modalVisible}
|
||||
onCancel={() => onCancel()}
|
||||
footer={null}
|
||||
>
|
||||
{props.children}
|
||||
</Modal>
|
||||
);
|
||||
};
|
||||
|
||||
export default CreateForm;
|
||||
|
|
@ -0,0 +1,138 @@
|
|||
import {
|
||||
ProFormDateTimePicker,
|
||||
ProFormRadio,
|
||||
ProFormSelect,
|
||||
ProFormText,
|
||||
ProFormTextArea,
|
||||
StepsForm,
|
||||
} from '@ant-design/pro-components';
|
||||
import { Modal } from 'antd';
|
||||
import React from 'react';
|
||||
|
||||
export interface FormValueType extends Partial<API.UserInfo> {
|
||||
target?: string;
|
||||
template?: string;
|
||||
type?: string;
|
||||
time?: string;
|
||||
frequency?: string;
|
||||
}
|
||||
|
||||
export interface UpdateFormProps {
|
||||
onCancel: (flag?: boolean, formVals?: FormValueType) => void;
|
||||
onSubmit: (values: FormValueType) => Promise<void>;
|
||||
updateModalVisible: boolean;
|
||||
values: Partial<API.UserInfo>;
|
||||
}
|
||||
|
||||
const UpdateForm: React.FC<UpdateFormProps> = (props) => (
|
||||
<StepsForm
|
||||
stepsProps={{
|
||||
size: 'small',
|
||||
}}
|
||||
stepsFormRender={(dom, submitter) => {
|
||||
return (
|
||||
<Modal
|
||||
width={640}
|
||||
bodyStyle={{ padding: '32px 40px 48px' }}
|
||||
destroyOnClose
|
||||
title="规则配置"
|
||||
open={props.updateModalVisible}
|
||||
footer={submitter}
|
||||
onCancel={() => props.onCancel()}
|
||||
>
|
||||
{dom}
|
||||
</Modal>
|
||||
);
|
||||
}}
|
||||
onFinish={props.onSubmit}
|
||||
>
|
||||
<StepsForm.StepForm
|
||||
initialValues={{
|
||||
name: props.values.name,
|
||||
nickName: props.values.nickName,
|
||||
}}
|
||||
title="基本信息"
|
||||
>
|
||||
<ProFormText
|
||||
width="md"
|
||||
name="name"
|
||||
label="规则名称"
|
||||
rules={[{ required: true, message: '请输入规则名称!' }]}
|
||||
/>
|
||||
<ProFormTextArea
|
||||
name="desc"
|
||||
width="md"
|
||||
label="规则描述"
|
||||
placeholder="请输入至少五个字符"
|
||||
rules={[
|
||||
{ required: true, message: '请输入至少五个字符的规则描述!', min: 5 },
|
||||
]}
|
||||
/>
|
||||
</StepsForm.StepForm>
|
||||
<StepsForm.StepForm
|
||||
initialValues={{
|
||||
target: '0',
|
||||
template: '0',
|
||||
}}
|
||||
title="配置规则属性"
|
||||
>
|
||||
<ProFormSelect
|
||||
width="md"
|
||||
name="target"
|
||||
label="监控对象"
|
||||
valueEnum={{
|
||||
0: '表一',
|
||||
1: '表二',
|
||||
}}
|
||||
/>
|
||||
<ProFormSelect
|
||||
width="md"
|
||||
name="template"
|
||||
label="规则模板"
|
||||
valueEnum={{
|
||||
0: '规则模板一',
|
||||
1: '规则模板二',
|
||||
}}
|
||||
/>
|
||||
<ProFormRadio.Group
|
||||
name="type"
|
||||
width="md"
|
||||
label="规则类型"
|
||||
options={[
|
||||
{
|
||||
value: '0',
|
||||
label: '强',
|
||||
},
|
||||
{
|
||||
value: '1',
|
||||
label: '弱',
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</StepsForm.StepForm>
|
||||
<StepsForm.StepForm
|
||||
initialValues={{
|
||||
type: '1',
|
||||
frequency: 'month',
|
||||
}}
|
||||
title="设定调度周期"
|
||||
>
|
||||
<ProFormDateTimePicker
|
||||
name="time"
|
||||
label="开始时间"
|
||||
rules={[{ required: true, message: '请选择开始时间!' }]}
|
||||
/>
|
||||
<ProFormSelect
|
||||
name="frequency"
|
||||
label="监控对象"
|
||||
width="xs"
|
||||
valueEnum={{
|
||||
month: '月',
|
||||
week: '周',
|
||||
}}
|
||||
/>
|
||||
</StepsForm.StepForm>
|
||||
</StepsForm>
|
||||
);
|
||||
|
||||
export default UpdateForm;
|
||||
|
|
@ -0,0 +1,270 @@
|
|||
import services from '@/services/demo';
|
||||
import {
|
||||
ActionType,
|
||||
FooterToolbar,
|
||||
PageContainer,
|
||||
ProDescriptions,
|
||||
ProDescriptionsItemProps,
|
||||
ProTable,
|
||||
} from '@ant-design/pro-components';
|
||||
import { Button, Divider, Drawer, message } from 'antd';
|
||||
import React, { useRef, useState } from 'react';
|
||||
import CreateForm from './components/CreateForm';
|
||||
import UpdateForm, { FormValueType } from './components/UpdateForm';
|
||||
|
||||
const { addUser, queryUserList, deleteUser, modifyUser } =
|
||||
services.UserController;
|
||||
|
||||
/**
|
||||
* 添加节点
|
||||
* @param fields
|
||||
*/
|
||||
const handleAdd = async (fields: API.UserInfo) => {
|
||||
const hide = message.loading('正在添加');
|
||||
try {
|
||||
await addUser({ ...fields });
|
||||
hide();
|
||||
message.success('添加成功');
|
||||
return true;
|
||||
} catch (error) {
|
||||
hide();
|
||||
message.error('添加失败请重试!');
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* 更新节点
|
||||
* @param fields
|
||||
*/
|
||||
const handleUpdate = async (fields: FormValueType) => {
|
||||
const hide = message.loading('正在配置');
|
||||
try {
|
||||
await modifyUser(
|
||||
{
|
||||
userId: fields.id || '',
|
||||
},
|
||||
{
|
||||
name: fields.name || '',
|
||||
nickName: fields.nickName || '',
|
||||
email: fields.email || '',
|
||||
},
|
||||
);
|
||||
hide();
|
||||
|
||||
message.success('配置成功');
|
||||
return true;
|
||||
} catch (error) {
|
||||
hide();
|
||||
message.error('配置失败请重试!');
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* 删除节点
|
||||
* @param selectedRows
|
||||
*/
|
||||
const handleRemove = async (selectedRows: API.UserInfo[]) => {
|
||||
const hide = message.loading('正在删除');
|
||||
if (!selectedRows) return true;
|
||||
try {
|
||||
await deleteUser({
|
||||
userId: selectedRows.find((row) => row.id)?.id || '',
|
||||
});
|
||||
hide();
|
||||
message.success('删除成功,即将刷新');
|
||||
return true;
|
||||
} catch (error) {
|
||||
hide();
|
||||
message.error('删除失败,请重试');
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
const TableList: React.FC<unknown> = () => {
|
||||
const [createModalVisible, handleModalVisible] = useState<boolean>(false);
|
||||
const [updateModalVisible, handleUpdateModalVisible] =
|
||||
useState<boolean>(false);
|
||||
const [stepFormValues, setStepFormValues] = useState({});
|
||||
const actionRef = useRef<ActionType>();
|
||||
const [row, setRow] = useState<API.UserInfo>();
|
||||
const [selectedRowsState, setSelectedRows] = useState<API.UserInfo[]>([]);
|
||||
const columns: ProDescriptionsItemProps<API.UserInfo>[] = [
|
||||
{
|
||||
title: '名称',
|
||||
dataIndex: 'name',
|
||||
tip: '名称是唯一的 key',
|
||||
formItemProps: {
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
message: '名称为必填项',
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '昵称',
|
||||
dataIndex: 'nickName',
|
||||
valueType: 'text',
|
||||
},
|
||||
{
|
||||
title: '性别',
|
||||
dataIndex: 'gender',
|
||||
hideInForm: true,
|
||||
valueEnum: {
|
||||
0: { text: '男', status: 'MALE' },
|
||||
1: { text: '女', status: 'FEMALE' },
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '操作',
|
||||
dataIndex: 'option',
|
||||
valueType: 'option',
|
||||
render: (_, record) => (
|
||||
<>
|
||||
<a
|
||||
onClick={() => {
|
||||
handleUpdateModalVisible(true);
|
||||
setStepFormValues(record);
|
||||
}}
|
||||
>
|
||||
配置
|
||||
</a>
|
||||
<Divider type="vertical" />
|
||||
<a href="">订阅警报</a>
|
||||
</>
|
||||
),
|
||||
},
|
||||
];
|
||||
|
||||
return (
|
||||
<PageContainer
|
||||
header={{
|
||||
title: 'CRUD 示例',
|
||||
}}
|
||||
>
|
||||
<ProTable<API.UserInfo>
|
||||
headerTitle="查询表格"
|
||||
actionRef={actionRef}
|
||||
rowKey="id"
|
||||
search={{
|
||||
labelWidth: 120,
|
||||
}}
|
||||
toolBarRender={() => [
|
||||
<Button
|
||||
key="1"
|
||||
type="primary"
|
||||
onClick={() => handleModalVisible(true)}
|
||||
>
|
||||
新建
|
||||
</Button>,
|
||||
]}
|
||||
request={async (params, sorter, filter) => {
|
||||
const { data, success } = await queryUserList({
|
||||
...params,
|
||||
// FIXME: remove @ts-ignore
|
||||
// @ts-ignore
|
||||
sorter,
|
||||
filter,
|
||||
});
|
||||
return {
|
||||
data: data?.list || [],
|
||||
success,
|
||||
};
|
||||
}}
|
||||
columns={columns}
|
||||
rowSelection={{
|
||||
onChange: (_, selectedRows) => setSelectedRows(selectedRows),
|
||||
}}
|
||||
/>
|
||||
{selectedRowsState?.length > 0 && (
|
||||
<FooterToolbar
|
||||
extra={
|
||||
<div>
|
||||
已选择{' '}
|
||||
<a style={{ fontWeight: 600 }}>{selectedRowsState.length}</a>{' '}
|
||||
项
|
||||
</div>
|
||||
}
|
||||
>
|
||||
<Button
|
||||
onClick={async () => {
|
||||
await handleRemove(selectedRowsState);
|
||||
setSelectedRows([]);
|
||||
actionRef.current?.reloadAndRest?.();
|
||||
}}
|
||||
>
|
||||
批量删除
|
||||
</Button>
|
||||
<Button type="primary">批量审批</Button>
|
||||
</FooterToolbar>
|
||||
)}
|
||||
<CreateForm
|
||||
onCancel={() => handleModalVisible(false)}
|
||||
modalVisible={createModalVisible}
|
||||
>
|
||||
<ProTable<API.UserInfo, API.UserInfo>
|
||||
onSubmit={async (value) => {
|
||||
const success = await handleAdd(value);
|
||||
if (success) {
|
||||
handleModalVisible(false);
|
||||
if (actionRef.current) {
|
||||
actionRef.current.reload();
|
||||
}
|
||||
}
|
||||
}}
|
||||
rowKey="id"
|
||||
type="form"
|
||||
columns={columns}
|
||||
/>
|
||||
</CreateForm>
|
||||
{stepFormValues && Object.keys(stepFormValues).length ? (
|
||||
<UpdateForm
|
||||
onSubmit={async (value) => {
|
||||
const success = await handleUpdate(value);
|
||||
if (success) {
|
||||
handleUpdateModalVisible(false);
|
||||
setStepFormValues({});
|
||||
if (actionRef.current) {
|
||||
actionRef.current.reload();
|
||||
}
|
||||
}
|
||||
}}
|
||||
onCancel={() => {
|
||||
handleUpdateModalVisible(false);
|
||||
setStepFormValues({});
|
||||
}}
|
||||
updateModalVisible={updateModalVisible}
|
||||
values={stepFormValues}
|
||||
/>
|
||||
) : null}
|
||||
|
||||
<Drawer
|
||||
width={600}
|
||||
open={!!row}
|
||||
onClose={() => {
|
||||
setRow(undefined);
|
||||
}}
|
||||
closable={false}
|
||||
>
|
||||
{row?.name && (
|
||||
<ProDescriptions<API.UserInfo>
|
||||
column={2}
|
||||
title={row?.name}
|
||||
request={async () => ({
|
||||
data: row || {},
|
||||
})}
|
||||
params={{
|
||||
id: row?.name,
|
||||
}}
|
||||
columns={columns}
|
||||
/>
|
||||
)}
|
||||
</Drawer>
|
||||
</PageContainer>
|
||||
);
|
||||
};
|
||||
|
||||
export default TableList;
|
||||
|
|
@ -0,0 +1,96 @@
|
|||
/* eslint-disable */
|
||||
// 该文件由 OneAPI 自动生成,请勿手动修改!
|
||||
import { request } from '@umijs/max';
|
||||
|
||||
/** 此处后端没有提供注释 GET /api/v1/queryUserList */
|
||||
export async function queryUserList(
|
||||
params: {
|
||||
// query
|
||||
/** keyword */
|
||||
keyword?: string;
|
||||
/** current */
|
||||
current?: number;
|
||||
/** pageSize */
|
||||
pageSize?: number;
|
||||
},
|
||||
options?: { [key: string]: any },
|
||||
) {
|
||||
return request<API.Result_PageInfo_UserInfo__>('/api/v1/queryUserList', {
|
||||
method: 'GET',
|
||||
params: {
|
||||
...params,
|
||||
},
|
||||
...(options || {}),
|
||||
});
|
||||
}
|
||||
|
||||
/** 此处后端没有提供注释 POST /api/v1/user */
|
||||
export async function addUser(
|
||||
body?: API.UserInfoVO,
|
||||
options?: { [key: string]: any },
|
||||
) {
|
||||
return request<API.Result_UserInfo_>('/api/v1/user', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
data: body,
|
||||
...(options || {}),
|
||||
});
|
||||
}
|
||||
|
||||
/** 此处后端没有提供注释 GET /api/v1/user/${param0} */
|
||||
export async function getUserDetail(
|
||||
params: {
|
||||
// path
|
||||
/** userId */
|
||||
userId?: string;
|
||||
},
|
||||
options?: { [key: string]: any },
|
||||
) {
|
||||
const { userId: param0 } = params;
|
||||
return request<API.Result_UserInfo_>(`/api/v1/user/${param0}`, {
|
||||
method: 'GET',
|
||||
params: { ...params },
|
||||
...(options || {}),
|
||||
});
|
||||
}
|
||||
|
||||
/** 此处后端没有提供注释 PUT /api/v1/user/${param0} */
|
||||
export async function modifyUser(
|
||||
params: {
|
||||
// path
|
||||
/** userId */
|
||||
userId?: string;
|
||||
},
|
||||
body?: API.UserInfoVO,
|
||||
options?: { [key: string]: any },
|
||||
) {
|
||||
const { userId: param0 } = params;
|
||||
return request<API.Result_UserInfo_>(`/api/v1/user/${param0}`, {
|
||||
method: 'PUT',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
params: { ...params },
|
||||
data: body,
|
||||
...(options || {}),
|
||||
});
|
||||
}
|
||||
|
||||
/** 此处后端没有提供注释 DELETE /api/v1/user/${param0} */
|
||||
export async function deleteUser(
|
||||
params: {
|
||||
// path
|
||||
/** userId */
|
||||
userId?: string;
|
||||
},
|
||||
options?: { [key: string]: any },
|
||||
) {
|
||||
const { userId: param0 } = params;
|
||||
return request<API.Result_string_>(`/api/v1/user/${param0}`, {
|
||||
method: 'DELETE',
|
||||
params: { ...params },
|
||||
...(options || {}),
|
||||
});
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
/* eslint-disable */
|
||||
// 该文件由 OneAPI 自动生成,请勿手动修改!
|
||||
|
||||
import * as UserController from './UserController';
|
||||
export default {
|
||||
UserController,
|
||||
};
|
||||
|
|
@ -0,0 +1,68 @@
|
|||
/* eslint-disable */
|
||||
// 该文件由 OneAPI 自动生成,请勿手动修改!
|
||||
|
||||
declare namespace API {
|
||||
interface PageInfo {
|
||||
/**
|
||||
1 */
|
||||
current?: number;
|
||||
pageSize?: number;
|
||||
total?: number;
|
||||
list?: Array<Record<string, any>>;
|
||||
}
|
||||
|
||||
interface PageInfo_UserInfo_ {
|
||||
/**
|
||||
1 */
|
||||
current?: number;
|
||||
pageSize?: number;
|
||||
total?: number;
|
||||
list?: Array<UserInfo>;
|
||||
}
|
||||
|
||||
interface Result {
|
||||
success?: boolean;
|
||||
errorMessage?: string;
|
||||
data?: Record<string, any>;
|
||||
}
|
||||
|
||||
interface Result_PageInfo_UserInfo__ {
|
||||
success?: boolean;
|
||||
errorMessage?: string;
|
||||
data?: PageInfo_UserInfo_;
|
||||
}
|
||||
|
||||
interface Result_UserInfo_ {
|
||||
success?: boolean;
|
||||
errorMessage?: string;
|
||||
data?: UserInfo;
|
||||
}
|
||||
|
||||
interface Result_string_ {
|
||||
success?: boolean;
|
||||
errorMessage?: string;
|
||||
data?: string;
|
||||
}
|
||||
|
||||
type UserGenderEnum = 'MALE' | 'FEMALE';
|
||||
|
||||
interface UserInfo {
|
||||
id?: string;
|
||||
name?: string;
|
||||
/** nick */
|
||||
nickName?: string;
|
||||
/** email */
|
||||
email?: string;
|
||||
gender?: UserGenderEnum;
|
||||
}
|
||||
|
||||
interface UserInfoVO {
|
||||
name?: string;
|
||||
/** nick */
|
||||
nickName?: string;
|
||||
/** email */
|
||||
email?: string;
|
||||
}
|
||||
|
||||
type definitions_0 = null;
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
// 示例方法,没有实际意义
|
||||
export function trim(str: string) {
|
||||
return str.trim();
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "./src/.umi/tsconfig.json"
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
import '@umijs/max/typings';
|
||||
Loading…
Reference in New Issue