调整文件布局

pull/10/head
zanllp 2023-04-05 17:37:45 +08:00
parent 7dabb90df1
commit e4dc1eec75
51 changed files with 216 additions and 209 deletions

View File

@ -6,8 +6,8 @@
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title>
<script type="module" crossorigin src="/baidu_netdisk/fe-static/assets/index-778f0710.js"></script>
<link rel="stylesheet" href="/baidu_netdisk/fe-static/assets/index-9a118baf.css">
<script type="module" crossorigin src="/baidu_netdisk/fe-static/assets/index-b92d12d2.js"></script>
<link rel="stylesheet" href="/baidu_netdisk/fe-static/assets/index-a2045d1f.css">
</head>
<body>
<div id="zanllp_dev_gradio_fe"></div>

View File

@ -1 +1 @@
.ant-statistic{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum"}.ant-statistic-title{margin-bottom:4px;color:#00000073;font-size:14px}.ant-statistic-content{color:#000000d9;font-size:24px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.ant-statistic-content-value{display:inline-block;direction:ltr}.ant-statistic-content-prefix,.ant-statistic-content-suffix{display:inline-block}.ant-statistic-content-prefix{margin-right:4px}.ant-statistic-content-suffix{margin-left:4px}.ant-statistic-rtl{direction:rtl}.ant-statistic-rtl .ant-statistic-content-prefix{margin-right:0;margin-left:4px}.ant-statistic-rtl .ant-statistic-content-suffix{margin-right:4px;margin-left:0}.container[data-v-09bf6943]{margin:16px}.container>*[data-v-09bf6943]{margin:8px}
.ant-statistic{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum"}.ant-statistic-title{margin-bottom:4px;color:#00000073;font-size:14px}.ant-statistic-content{color:#000000d9;font-size:24px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.ant-statistic-content-value{display:inline-block;direction:ltr}.ant-statistic-content-prefix,.ant-statistic-content-suffix{display:inline-block}.ant-statistic-content-prefix{margin-right:4px}.ant-statistic-content-suffix{margin-left:4px}.ant-statistic-rtl{direction:rtl}.ant-statistic-rtl .ant-statistic-content-prefix{margin-right:0;margin-left:4px}.ant-statistic-rtl .ant-statistic-content-suffix{margin-right:4px;margin-left:0}.container[data-v-9eea5166]{margin:16px}.container>*[data-v-9eea5166]{margin:8px}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
.container[data-v-fc87cc3b]{padding:20px;background-color:var(--zp-secondary-background);height:100%;overflow:auto}.header[data-v-fc87cc3b]{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.header h1[data-v-fc87cc3b]{font-size:28px;font-weight:700;color:var(--zp-primary)}.last-record[data-v-fc87cc3b]{margin-left:8px;font-size:14px;color:var(--zp-tertiary)}.last-record a[data-v-fc87cc3b]{text-decoration:none;color:var(--zp-tertiary)}.last-record a[data-v-fc87cc3b]:hover{color:var(--zp-primary)}.content[data-v-fc87cc3b]{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));grid-gap:20px}.quick-start[data-v-fc87cc3b]{background-color:var(--zp-primary-background);border-radius:8px;box-shadow:0 1px 2px #0000001a;padding:20px}.quick-start ul[data-v-fc87cc3b]{list-style:none;padding:4px}.quick-start h2[data-v-fc87cc3b]{margin-top:0;margin-bottom:20px;font-size:20px;font-weight:700;color:var(--zp-primary)}.quick-start__item[data-v-fc87cc3b]{margin-bottom:10px;padding:4px 8px;display:flex;align-items:center}.quick-start__item[data-v-fc87cc3b]:hover{background:var(--zp-secondary-background);border-radius:4px;color:var(--primary-color);cursor:pointer}.quick-start__text[data-v-fc87cc3b]{flex:1;font-size:16px}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.container[data-v-59c3a115]{padding:20px;background-color:var(--zp-secondary-background);height:100%;overflow:auto}.header[data-v-59c3a115]{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.header h1[data-v-59c3a115]{font-size:28px;font-weight:700;color:var(--zp-primary)}.last-record[data-v-59c3a115]{margin-left:8px;font-size:14px;color:var(--zp-tertiary)}.last-record a[data-v-59c3a115]{text-decoration:none;color:var(--zp-tertiary)}.last-record a[data-v-59c3a115]:hover{color:var(--zp-primary)}.content[data-v-59c3a115]{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));grid-gap:20px}.quick-start[data-v-59c3a115]{background-color:var(--zp-primary-background);border-radius:8px;box-shadow:0 1px 2px #0000001a;padding:20px}.quick-start ul[data-v-59c3a115]{list-style:none;padding:4px}.quick-start h2[data-v-59c3a115]{margin-top:0;margin-bottom:20px;font-size:20px;font-weight:700;color:var(--zp-primary)}.quick-start__item[data-v-59c3a115]{margin-bottom:10px;padding:4px 8px;display:flex;align-items:center}.quick-start__item[data-v-59c3a115]:hover{background:var(--zp-secondary-background);border-radius:4px;color:var(--primary-color);cursor:pointer}.quick-start__text[data-v-59c3a115]{flex:1;font-size:16px}.quick-start__icon[data-v-59c3a115]{margin-right:8px}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
vue/dist/assets/index-0a430fcc.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
vue/dist/assets/index-4fc84313.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
vue/dist/assets/index-568ed62c.js vendored Normal file
View File

@ -0,0 +1 @@
import{aD as s}from"./index-b92d12d2.js";const r=(c,o)=>(s.success({content:o??`已复制内容 "${c}" 到粘贴板`}),navigator.clipboard.writeText(c));export{r as c};

File diff suppressed because one or more lines are too long

1
vue/dist/assets/index-7dfb4203.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

171
vue/dist/assets/index-b92d12d2.js vendored Normal file

File diff suppressed because one or more lines are too long

1
vue/dist/assets/index-d623d990.css vendored Normal file

File diff suppressed because one or more lines are too long

1
vue/dist/assets/index-f58e8b14.css vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.container[data-v-59148842]{height:100%;position:relative}.container .close-btn[data-v-59148842]{position:absolute;right:20px;top:20px}.list[data-v-59148842]{font-family:Consolas,Menlo,monospace;height:90vh;overflow:auto;padding:16px;border-radius:16px;background-color:var(--zp-secondary-background);color:var(--zp-primary);margin:16px;list-style:none;font-size:12px}.list pre[data-v-59148842]{margin:2px;white-space:normal}.list[data-v-59148842]::-webkit-scrollbar{display:none}

View File

@ -1 +0,0 @@
.container[data-v-2baf8d3b]{height:100%;position:relative}.container .close-btn[data-v-2baf8d3b]{position:absolute;right:20px;top:20px}.list[data-v-2baf8d3b]{font-family:Consolas,Menlo,monospace;height:90vh;overflow:auto;padding:16px;border-radius:16px;background-color:var(--zp-secondary-background);color:var(--zp-primary);margin:16px;list-style:none;font-size:12px}.list pre[data-v-2baf8d3b]{margin:2px;white-space:normal}.list[data-v-2baf8d3b]::-webkit-scrollbar{display:none}

View File

@ -1 +0,0 @@
import{d as p,aL as d,r as u,k as g,X as f,Y as k,n as s,p as t,aU as l,ad as m,b3 as L,x,q as y,A as D}from"./index-778f0710.js";const b={class:"container"},v=p({__name:"logDetail",props:{logDetailId:null},setup(n){const r=n,c=d(),a=u(),o=g(()=>c.taskLogMap.get(r.logDetailId));return f(o,async()=>{await k();const e=a.value;e&&(e.scrollTop=e.scrollHeight)},{deep:!0}),(e,h)=>(s(),t("div",b,[l("ul",{class:"list",ref_key:"logListEl",ref:a},[(s(!0),t(m,null,L(y(o),(i,_)=>(s(),t("li",{key:_},[l("pre",null,x(i.log),1)]))),128))],512)]))}});const E=D(v,[["__scopeId","data-v-2baf8d3b"]]);export{E as default};

1
vue/dist/assets/logDetail-b7cd7adf.js vendored Normal file
View File

@ -0,0 +1 @@
import{u as p}from"./useTaskListStore-dbde1916.js";import{d as u,r as d,k as g,X as f,Y as m,n as t,p as s,aU as l,ad as k,b3 as x,x as y,q as D,A as L}from"./index-b92d12d2.js";const v={class:"container"},h=u({__name:"logDetail",props:{logDetailId:null},setup(r){const n=r,c=p(),a=d(),o=g(()=>c.taskLogMap.get(n.logDetailId));return f(o,async()=>{await m();const e=a.value;e&&(e.scrollTop=e.scrollHeight)},{deep:!0}),(e,B)=>(t(),s("div",v,[l("ul",{class:"list",ref_key:"logListEl",ref:a},[(t(!0),s(k,null,x(D(o),(i,_)=>(t(),s("li",{key:_},[l("pre",null,y(i.log),1)]))),128))],512)]))}});const T=L(h,[["__scopeId","data-v-59148842"]]);export{T as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

5
vue/dist/assets/stackView-bae59eb8.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{cF as l,r as s,m as c,aF as r,cG as i}from"./index-b92d12d2.js";const p=l("useTaskListStore",()=>{const t=s(new Map),a=c(new r),n=s(3),u=s([]),o=s(-1),e=s(null);return{checkBaiduyunInstalled:async()=>(e.value===null&&(e.value=i()),e.value),baiduyunInstalled:e,pollInterval:n,taskLogMap:t,queue:a,tasks:u,showDirAutoCompletedIdx:o}},{persist:{paths:["pollInterval","tasks"],key:"useTaskListStore-v0.0.1"}});export{p as u};

4
vue/dist/index.html vendored
View File

@ -5,8 +5,8 @@
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title>
<script type="module" crossorigin src="/baidu_netdisk/fe-static/assets/index-778f0710.js"></script>
<link rel="stylesheet" href="/baidu_netdisk/fe-static/assets/index-9a118baf.css">
<script type="module" crossorigin src="/baidu_netdisk/fe-static/assets/index-b92d12d2.js"></script>
<link rel="stylesheet" href="/baidu_netdisk/fe-static/assets/index-a2045d1f.css">
</head>
<body>
<div id="zanllp_dev_gradio_fe"></div>

View File

@ -5,8 +5,8 @@ import { FetchQueue } from 'vue3-ts-util'
import { getUserInfo } from './api/user'
import { getGlobalSetting } from './api'
import { useGlobalStore } from './store/useGlobalStore'
import { getAutoCompletedTagList } from './taskRecord/autoComplete'
import SplitViewTab from './SplitViewTab/SplitViewTab.vue'
import { getAutoCompletedTagList } from '@/page/taskRecord/autoComplete'
import SplitViewTab from '@/page/SplitViewTab/SplitViewTab.vue'
const globalStore = useGlobalStore()
const queue = reactive(new FetchQueue(-1, 0, 0, 'throw'))

View File

@ -10,12 +10,12 @@ import edgeTrigger from './edgeTrigger.vue'
import { message } from 'ant-design-vue'
const global = useGlobalStore()
const compMap: Record<TabPane['type'], ReturnType<typeof defineAsyncComponent>> = {
'auto-upload': defineAsyncComponent(() => import('@/autoUpload/autoUpload.vue')),
local: defineAsyncComponent(() => import('@/fileTransfer/stackView.vue')),
netdisk: defineAsyncComponent(() => import('@/fileTransfer/stackView.vue')),
"task-record": defineAsyncComponent(() => import('@/taskRecord/taskRecord.vue')),
'auto-upload': defineAsyncComponent(() => import('@/page/autoUpload/autoUpload.vue')),
local: defineAsyncComponent(() => import('@/page/fileTransfer/stackView.vue')),
netdisk: defineAsyncComponent(() => import('@/page/fileTransfer/stackView.vue')),
"task-record": defineAsyncComponent(() => import('@/page/taskRecord/taskRecord.vue')),
empty: defineAsyncComponent(() => import('./emptyStartup.vue')),
"log-detail": defineAsyncComponent(() => import('@/taskRecord/logDetail.vue')),
"log-detail": defineAsyncComponent(() => import('@/page/taskRecord/logDetail.vue')),
"global-setting": defineAsyncComponent(() => import('@/page/globalSetting.vue'))
}
const onEdit = (idx: number, targetKey: any, action: string) => {

View File

@ -1,6 +1,6 @@
import type { GlobalConf, UploadTaskSummary } from '@/api'
import type { UserInfo } from '@/api/user'
import type { getAutoCompletedTagList } from '@/taskRecord/autoComplete'
import type { getAutoCompletedTagList } from '@/page/taskRecord/autoComplete'
import type { ReturnTypeAsync } from '@/util'
import { uniqueId } from 'lodash'
import { defineStore } from 'pinia'