feat: update for proxy field app edit
This commit is contained in:
parent
4d231c3efc
commit
d86473477d
4
.npmrc
4
.npmrc
@ -1,2 +1,2 @@
|
||||
@abearxiong:registry=https://npm.pkg.github.com
|
||||
@kevisual:registry=https://npm.xiongxiao.me
|
||||
//npm.xiongxiao.me/:_authToken=${ME_NPM_TOKEN}
|
||||
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
|
36
package.json
36
package.json
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@kevisual/center",
|
||||
"private": true,
|
||||
"version": "0.0.7",
|
||||
"version": "0.0.8",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
@ -10,23 +10,21 @@
|
||||
"lint": "eslint .",
|
||||
"preview": "vite preview",
|
||||
"prepub": "envision switch root",
|
||||
"pub": "envision deploy ./dist -k center -v 0.0.7 -u"
|
||||
"pub": "envision deploy ./dist -k center -v 0.0.8 -u -o root"
|
||||
},
|
||||
"dependencies": {
|
||||
"@abearxiong/flows": "0.0.1-alpha.9",
|
||||
"@abearxiong/ui": "0.0.1-alpha.0",
|
||||
"@ant-design/icons": "^5.6.1",
|
||||
"@icon-park/react": "^1.4.2",
|
||||
"@kevisual/codemirror": "^0.0.2",
|
||||
"@kevisual/container": "1.0.0",
|
||||
"@kevisual/query": "^0.0.6",
|
||||
"@kevisual/query": "^0.0.8",
|
||||
"@kevisual/system-ui": "^0.0.3",
|
||||
"@kevisual/ui": "^0.0.2",
|
||||
"@monaco-editor/react": "^4.7.0",
|
||||
"@tailwindcss/vite": "^4.0.8",
|
||||
"@tailwindcss/vite": "^4.0.12",
|
||||
"@uiw/react-textarea-code-editor": "^3.1.0",
|
||||
"@xyflow/react": "^12.4.4",
|
||||
"antd": "^5.24.2",
|
||||
"antd": "^5.24.3",
|
||||
"classnames": "^2.5.1",
|
||||
"clsx": "^2.1.1",
|
||||
"copy-to-clipboard": "^3.3.3",
|
||||
@ -35,31 +33,31 @@
|
||||
"immer": "^10.1.1",
|
||||
"lodash-es": "^4.17.21",
|
||||
"marked": "^15.0.7",
|
||||
"nanoid": "^5.1.2",
|
||||
"nanoid": "^5.1.3",
|
||||
"react": "19.0.0",
|
||||
"react-dom": "19.0.0",
|
||||
"react-resizable-panels": "^2.1.7",
|
||||
"react-router": "^7.2.0",
|
||||
"react-router-dom": "^7.2.0",
|
||||
"react-router": "^7.3.0",
|
||||
"react-router-dom": "^7.3.0",
|
||||
"react-toastify": "^11.0.5",
|
||||
"vite-plugin-tsconfig-paths": "^1.4.1",
|
||||
"zustand": "^5.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.21.0",
|
||||
"@eslint/js": "^9.22.0",
|
||||
"@tailwindcss/aspect-ratio": "^0.4.2",
|
||||
"@tailwindcss/typography": "^0.5.16",
|
||||
"@types/d3": "^7.4.3",
|
||||
"@types/lodash-es": "^4.17.12",
|
||||
"@types/node": "^22.13.5",
|
||||
"@types/node": "^22.13.10",
|
||||
"@types/path-browserify": "^1.0.3",
|
||||
"@types/react": "^19.0.10",
|
||||
"@types/react-dom": "^19.0.4",
|
||||
"@vitejs/plugin-react": "^4.3.4",
|
||||
"autoprefixer": "^10.4.20",
|
||||
"autoprefixer": "^10.4.21",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^9.21.0",
|
||||
"eslint-plugin-react-hooks": "^5.1.0",
|
||||
"eslint": "^9.22.0",
|
||||
"eslint-plugin-react-hooks": "^5.2.0",
|
||||
"eslint-plugin-react-refresh": "^0.4.19",
|
||||
"globals": "^16.0.0",
|
||||
"path-browserify": "^1.0.1",
|
||||
@ -67,10 +65,10 @@
|
||||
"pretty-bytes": "^6.1.1",
|
||||
"react-is": "19.0.0",
|
||||
"tailwind-merge": "^3.0.2",
|
||||
"tailwindcss": "^4.0.8",
|
||||
"tailwindcss": "^4.0.12",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"typescript": "^5.7.3",
|
||||
"typescript-eslint": "^8.25.0",
|
||||
"vite": "^6.2.0"
|
||||
"typescript": "^5.8.2",
|
||||
"typescript-eslint": "^8.26.1",
|
||||
"vite": "^6.2.1"
|
||||
}
|
||||
}
|
677
pnpm-lock.yaml
generated
677
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
||||
import { useShallow } from 'zustand/react/shallow';
|
||||
import { useUserAppStore } from '../store';
|
||||
import { useEffect } from 'react';
|
||||
import { Button, Form, Input, Space, Modal, Select, Tooltip } from 'antd';
|
||||
import { Button, Form, Input, Space, Modal, Select, Tooltip, Switch } from 'antd';
|
||||
import { CodeOutlined, DeleteOutlined, EditOutlined, LinkOutlined, PlusOutlined, UnorderedListOutlined } from '@ant-design/icons';
|
||||
import { isObjectNull } from '@/utils/is-null';
|
||||
import { useNewNavigate } from '@/modules';
|
||||
@ -72,6 +72,9 @@ const FormModal = () => {
|
||||
<Form.Item name='description' label='description'>
|
||||
<Input.TextArea rows={4} />
|
||||
</Form.Item>
|
||||
<Form.Item name='proxy' label='proxy' tooltip='静态网站设置,如果是静态网站,不需要重定向到index.html的页面。'>
|
||||
<Switch />
|
||||
</Form.Item>
|
||||
<Form.Item name='status' label='status'>
|
||||
<Select
|
||||
options={[
|
||||
@ -130,7 +133,7 @@ export const List = () => {
|
||||
</div>
|
||||
<div className='grow'>
|
||||
<div className='w-full h-full p-4'>
|
||||
<div className='w-full h-full bg-white rounded-lg p-2'>
|
||||
<div className='w-full h-full bg-white rounded-lg p-2 scrollbar '>
|
||||
<div className='flex flex-wrap gap-2'>
|
||||
{userAppStore.list.map((item) => {
|
||||
const isRunning = item.status === 'running';
|
||||
|
Loading…
x
Reference in New Issue
Block a user