This commit is contained in:
2025-01-16 22:58:55 +08:00
parent 55a0715e47
commit dcadf7377e
4 changed files with 686 additions and 614 deletions

630
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -11,8 +11,8 @@
"dependencies": { "dependencies": {
"@codemirror/lang-cpp": "^6.0.2", "@codemirror/lang-cpp": "^6.0.2",
"@codemirror/lang-python": "^6.1.6", "@codemirror/lang-python": "^6.1.6",
"@vueuse/core": "^12.2.0", "@vueuse/core": "^12.4.0",
"@wangeditor-next/editor": "^5.6.19", "@wangeditor-next/editor": "^5.6.27",
"@wangeditor-next/editor-for-vue": "^5.1.14", "@wangeditor-next/editor-for-vue": "^5.1.14",
"axios": "^1.7.9", "axios": "^1.7.9",
"canvas-confetti": "^1.9.3", "canvas-confetti": "^1.9.3",
@@ -20,8 +20,8 @@
"codemirror": "^6.0.1", "codemirror": "^6.0.1",
"copy-text-to-clipboard": "^3.2.0", "copy-text-to-clipboard": "^3.2.0",
"date-fns": "^4.1.0", "date-fns": "^4.1.0",
"highlight.js": "^11.11.0", "highlight.js": "^11.11.1",
"naive-ui": "^2.40.4", "naive-ui": "^2.41.0",
"normalize.css": "^8.0.1", "normalize.css": "^8.0.1",
"pinia": "^2.3.0", "pinia": "^2.3.0",
"vue": "^3.5.13", "vue": "^3.5.13",
@@ -30,18 +30,18 @@
"vue-router": "^4.5.0" "vue-router": "^4.5.0"
}, },
"devDependencies": { "devDependencies": {
"@iconify/vue": "^4.2.0", "@iconify/vue": "^4.3.0",
"@shikijs/markdown-it": "^1.24.4", "@shikijs/markdown-it": "^1.27.2",
"@types/canvas-confetti": "^1.9.0", "@types/canvas-confetti": "^1.9.0",
"@types/node": "^22.10.2", "@types/node": "^22.10.7",
"@vitejs/plugin-vue": "^5.2.1", "@vitejs/plugin-vue": "^5.2.1",
"prettier": "^3.4.2", "prettier": "^3.4.2",
"prettier-plugin-organize-imports": "^4.1.0", "prettier-plugin-organize-imports": "^4.1.0",
"typescript": "~5.6.3", "typescript": "~5.7.3",
"unplugin-auto-import": "^0.19.0", "unplugin-auto-import": "^19.0.0",
"unplugin-vue-components": "^0.28.0", "unplugin-vue-components": "^28.0.0",
"unplugin-vue-markdown": "^0.28.0", "unplugin-vue-markdown": "^28.0.0",
"vite": "^6.0.5", "vite": "^6.0.7",
"vue-tsc": "^2.1.10" "vue-tsc": "^2.2.0"
} }
} }

636
src/auto-imports.d.ts vendored
View File

@@ -4,315 +4,341 @@
// noinspection JSUnusedGlobalSymbols // noinspection JSUnusedGlobalSymbols
// Generated by unplugin-auto-import // Generated by unplugin-auto-import
// biome-ignore lint: disable // biome-ignore lint: disable
export {} export { }
declare global { declare global {
const EffectScope: typeof import('vue')['EffectScope'] const EffectScope: (typeof import("vue"))["EffectScope"]
const acceptHMRUpdate: typeof import('pinia')['acceptHMRUpdate'] const acceptHMRUpdate: (typeof import("pinia"))["acceptHMRUpdate"]
const asyncComputed: typeof import('@vueuse/core')['asyncComputed'] const asyncComputed: (typeof import("@vueuse/core"))["asyncComputed"]
const autoResetRef: typeof import('@vueuse/core')['autoResetRef'] const autoResetRef: (typeof import("@vueuse/core"))["autoResetRef"]
const computed: typeof import('vue')['computed'] const computed: (typeof import("vue"))["computed"]
const computedAsync: typeof import('@vueuse/core')['computedAsync'] const computedAsync: (typeof import("@vueuse/core"))["computedAsync"]
const computedEager: typeof import('@vueuse/core')['computedEager'] const computedEager: (typeof import("@vueuse/core"))["computedEager"]
const computedInject: typeof import('@vueuse/core')['computedInject'] const computedInject: (typeof import("@vueuse/core"))["computedInject"]
const computedWithControl: typeof import('@vueuse/core')['computedWithControl'] const computedWithControl: (typeof import("@vueuse/core"))["computedWithControl"]
const controlledComputed: typeof import('@vueuse/core')['controlledComputed'] const controlledComputed: (typeof import("@vueuse/core"))["controlledComputed"]
const controlledRef: typeof import('@vueuse/core')['controlledRef'] const controlledRef: (typeof import("@vueuse/core"))["controlledRef"]
const createApp: typeof import('vue')['createApp'] const createApp: (typeof import("vue"))["createApp"]
const createEventHook: typeof import('@vueuse/core')['createEventHook'] const createEventHook: (typeof import("@vueuse/core"))["createEventHook"]
const createGlobalState: typeof import('@vueuse/core')['createGlobalState'] const createGlobalState: (typeof import("@vueuse/core"))["createGlobalState"]
const createInjectionState: typeof import('@vueuse/core')['createInjectionState'] const createInjectionState: (typeof import("@vueuse/core"))["createInjectionState"]
const createPinia: typeof import('pinia')['createPinia'] const createPinia: (typeof import("pinia"))["createPinia"]
const createReactiveFn: typeof import('@vueuse/core')['createReactiveFn'] const createReactiveFn: (typeof import("@vueuse/core"))["createReactiveFn"]
const createReusableTemplate: typeof import('@vueuse/core')['createReusableTemplate'] const createReusableTemplate: (typeof import("@vueuse/core"))["createReusableTemplate"]
const createSharedComposable: typeof import('@vueuse/core')['createSharedComposable'] const createSharedComposable: (typeof import("@vueuse/core"))["createSharedComposable"]
const createTemplatePromise: typeof import('@vueuse/core')['createTemplatePromise'] const createTemplatePromise: (typeof import("@vueuse/core"))["createTemplatePromise"]
const createUnrefFn: typeof import('@vueuse/core')['createUnrefFn'] const createUnrefFn: (typeof import("@vueuse/core"))["createUnrefFn"]
const customRef: typeof import('vue')['customRef'] const customRef: (typeof import("vue"))["customRef"]
const debouncedRef: typeof import('@vueuse/core')['debouncedRef'] const debouncedRef: (typeof import("@vueuse/core"))["debouncedRef"]
const debouncedWatch: typeof import('@vueuse/core')['debouncedWatch'] const debouncedWatch: (typeof import("@vueuse/core"))["debouncedWatch"]
const defineAsyncComponent: typeof import('vue')['defineAsyncComponent'] const defineAsyncComponent: (typeof import("vue"))["defineAsyncComponent"]
const defineComponent: typeof import('vue')['defineComponent'] const defineComponent: (typeof import("vue"))["defineComponent"]
const defineStore: typeof import('pinia')['defineStore'] const defineStore: (typeof import("pinia"))["defineStore"]
const eagerComputed: typeof import('@vueuse/core')['eagerComputed'] const eagerComputed: (typeof import("@vueuse/core"))["eagerComputed"]
const effectScope: typeof import('vue')['effectScope'] const effectScope: (typeof import("vue"))["effectScope"]
const extendRef: typeof import('@vueuse/core')['extendRef'] const extendRef: (typeof import("@vueuse/core"))["extendRef"]
const getActivePinia: typeof import('pinia')['getActivePinia'] const getActivePinia: (typeof import("pinia"))["getActivePinia"]
const getCurrentInstance: typeof import('vue')['getCurrentInstance'] const getCurrentInstance: (typeof import("vue"))["getCurrentInstance"]
const getCurrentScope: typeof import('vue')['getCurrentScope'] const getCurrentScope: (typeof import("vue"))["getCurrentScope"]
const h: typeof import('vue')['h'] const h: (typeof import("vue"))["h"]
const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch'] const ignorableWatch: (typeof import("@vueuse/core"))["ignorableWatch"]
const inject: typeof import('vue')['inject'] const inject: (typeof import("vue"))["inject"]
const injectLocal: typeof import('@vueuse/core')['injectLocal'] const injectLocal: (typeof import("@vueuse/core"))["injectLocal"]
const isDefined: typeof import('@vueuse/core')['isDefined'] const isDefined: (typeof import("@vueuse/core"))["isDefined"]
const isProxy: typeof import('vue')['isProxy'] const isProxy: (typeof import("vue"))["isProxy"]
const isReactive: typeof import('vue')['isReactive'] const isReactive: (typeof import("vue"))["isReactive"]
const isReadonly: typeof import('vue')['isReadonly'] const isReadonly: (typeof import("vue"))["isReadonly"]
const isRef: typeof import('vue')['isRef'] const isRef: (typeof import("vue"))["isRef"]
const makeDestructurable: typeof import('@vueuse/core')['makeDestructurable'] const makeDestructurable: (typeof import("@vueuse/core"))["makeDestructurable"]
const mapActions: typeof import('pinia')['mapActions'] const mapActions: (typeof import("pinia"))["mapActions"]
const mapGetters: typeof import('pinia')['mapGetters'] const mapGetters: (typeof import("pinia"))["mapGetters"]
const mapState: typeof import('pinia')['mapState'] const mapState: (typeof import("pinia"))["mapState"]
const mapStores: typeof import('pinia')['mapStores'] const mapStores: (typeof import("pinia"))["mapStores"]
const mapWritableState: typeof import('pinia')['mapWritableState'] const mapWritableState: (typeof import("pinia"))["mapWritableState"]
const markRaw: typeof import('vue')['markRaw'] const markRaw: (typeof import("vue"))["markRaw"]
const nextTick: typeof import('vue')['nextTick'] const nextTick: (typeof import("vue"))["nextTick"]
const onActivated: typeof import('vue')['onActivated'] const onActivated: (typeof import("vue"))["onActivated"]
const onBeforeMount: typeof import('vue')['onBeforeMount'] const onBeforeMount: (typeof import("vue"))["onBeforeMount"]
const onBeforeRouteLeave: typeof import('vue-router')['onBeforeRouteLeave'] const onBeforeRouteLeave: (typeof import("vue-router"))["onBeforeRouteLeave"]
const onBeforeRouteUpdate: typeof import('vue-router')['onBeforeRouteUpdate'] const onBeforeRouteUpdate: (typeof import("vue-router"))["onBeforeRouteUpdate"]
const onBeforeUnmount: typeof import('vue')['onBeforeUnmount'] const onBeforeUnmount: (typeof import("vue"))["onBeforeUnmount"]
const onBeforeUpdate: typeof import('vue')['onBeforeUpdate'] const onBeforeUpdate: (typeof import("vue"))["onBeforeUpdate"]
const onClickOutside: typeof import('@vueuse/core')['onClickOutside'] const onClickOutside: (typeof import("@vueuse/core"))["onClickOutside"]
const onDeactivated: typeof import('vue')['onDeactivated'] const onDeactivated: (typeof import("vue"))["onDeactivated"]
const onErrorCaptured: typeof import('vue')['onErrorCaptured'] const onElementRemoval: (typeof import("@vueuse/core"))["onElementRemoval"]
const onKeyStroke: typeof import('@vueuse/core')['onKeyStroke'] const onErrorCaptured: (typeof import("vue"))["onErrorCaptured"]
const onLongPress: typeof import('@vueuse/core')['onLongPress'] const onKeyStroke: (typeof import("@vueuse/core"))["onKeyStroke"]
const onMounted: typeof import('vue')['onMounted'] const onLongPress: (typeof import("@vueuse/core"))["onLongPress"]
const onRenderTracked: typeof import('vue')['onRenderTracked'] const onMounted: (typeof import("vue"))["onMounted"]
const onRenderTriggered: typeof import('vue')['onRenderTriggered'] const onRenderTracked: (typeof import("vue"))["onRenderTracked"]
const onScopeDispose: typeof import('vue')['onScopeDispose'] const onRenderTriggered: (typeof import("vue"))["onRenderTriggered"]
const onServerPrefetch: typeof import('vue')['onServerPrefetch'] const onScopeDispose: (typeof import("vue"))["onScopeDispose"]
const onStartTyping: typeof import('@vueuse/core')['onStartTyping'] const onServerPrefetch: (typeof import("vue"))["onServerPrefetch"]
const onUnmounted: typeof import('vue')['onUnmounted'] const onStartTyping: (typeof import("@vueuse/core"))["onStartTyping"]
const onUpdated: typeof import('vue')['onUpdated'] const onUnmounted: (typeof import("vue"))["onUnmounted"]
const onWatcherCleanup: typeof import('vue')['onWatcherCleanup'] const onUpdated: (typeof import("vue"))["onUpdated"]
const pausableWatch: typeof import('@vueuse/core')['pausableWatch'] const onWatcherCleanup: (typeof import("vue"))["onWatcherCleanup"]
const provide: typeof import('vue')['provide'] const pausableWatch: (typeof import("@vueuse/core"))["pausableWatch"]
const provideLocal: typeof import('@vueuse/core')['provideLocal'] const provide: (typeof import("vue"))["provide"]
const reactify: typeof import('@vueuse/core')['reactify'] const provideLocal: (typeof import("@vueuse/core"))["provideLocal"]
const reactifyObject: typeof import('@vueuse/core')['reactifyObject'] const reactify: (typeof import("@vueuse/core"))["reactify"]
const reactive: typeof import('vue')['reactive'] const reactifyObject: (typeof import("@vueuse/core"))["reactifyObject"]
const reactiveComputed: typeof import('@vueuse/core')['reactiveComputed'] const reactive: (typeof import("vue"))["reactive"]
const reactiveOmit: typeof import('@vueuse/core')['reactiveOmit'] const reactiveComputed: (typeof import("@vueuse/core"))["reactiveComputed"]
const reactivePick: typeof import('@vueuse/core')['reactivePick'] const reactiveOmit: (typeof import("@vueuse/core"))["reactiveOmit"]
const readonly: typeof import('vue')['readonly'] const reactivePick: (typeof import("@vueuse/core"))["reactivePick"]
const ref: typeof import('vue')['ref'] const readonly: (typeof import("vue"))["readonly"]
const refAutoReset: typeof import('@vueuse/core')['refAutoReset'] const ref: (typeof import("vue"))["ref"]
const refDebounced: typeof import('@vueuse/core')['refDebounced'] const refAutoReset: (typeof import("@vueuse/core"))["refAutoReset"]
const refDefault: typeof import('@vueuse/core')['refDefault'] const refDebounced: (typeof import("@vueuse/core"))["refDebounced"]
const refThrottled: typeof import('@vueuse/core')['refThrottled'] const refDefault: (typeof import("@vueuse/core"))["refDefault"]
const refWithControl: typeof import('@vueuse/core')['refWithControl'] const refThrottled: (typeof import("@vueuse/core"))["refThrottled"]
const resolveComponent: typeof import('vue')['resolveComponent'] const refWithControl: (typeof import("@vueuse/core"))["refWithControl"]
const resolveRef: typeof import('@vueuse/core')['resolveRef'] const resolveComponent: (typeof import("vue"))["resolveComponent"]
const resolveUnref: typeof import('@vueuse/core')['resolveUnref'] const resolveRef: (typeof import("@vueuse/core"))["resolveRef"]
const setActivePinia: typeof import('pinia')['setActivePinia'] const resolveUnref: (typeof import("@vueuse/core"))["resolveUnref"]
const setMapStoreSuffix: typeof import('pinia')['setMapStoreSuffix'] const setActivePinia: (typeof import("pinia"))["setActivePinia"]
const shallowReactive: typeof import('vue')['shallowReactive'] const setMapStoreSuffix: (typeof import("pinia"))["setMapStoreSuffix"]
const shallowReadonly: typeof import('vue')['shallowReadonly'] const shallowReactive: (typeof import("vue"))["shallowReactive"]
const shallowRef: typeof import('vue')['shallowRef'] const shallowReadonly: (typeof import("vue"))["shallowReadonly"]
const storeToRefs: typeof import('pinia')['storeToRefs'] const shallowRef: (typeof import("vue"))["shallowRef"]
const syncRef: typeof import('@vueuse/core')['syncRef'] const storeToRefs: (typeof import("pinia"))["storeToRefs"]
const syncRefs: typeof import('@vueuse/core')['syncRefs'] const syncRef: (typeof import("@vueuse/core"))["syncRef"]
const templateRef: typeof import('@vueuse/core')['templateRef'] const syncRefs: (typeof import("@vueuse/core"))["syncRefs"]
const throttledRef: typeof import('@vueuse/core')['throttledRef'] const templateRef: (typeof import("@vueuse/core"))["templateRef"]
const throttledWatch: typeof import('@vueuse/core')['throttledWatch'] const throttledRef: (typeof import("@vueuse/core"))["throttledRef"]
const toRaw: typeof import('vue')['toRaw'] const throttledWatch: (typeof import("@vueuse/core"))["throttledWatch"]
const toReactive: typeof import('@vueuse/core')['toReactive'] const toRaw: (typeof import("vue"))["toRaw"]
const toRef: typeof import('vue')['toRef'] const toReactive: (typeof import("@vueuse/core"))["toReactive"]
const toRefs: typeof import('vue')['toRefs'] const toRef: (typeof import("vue"))["toRef"]
const toValue: typeof import('vue')['toValue'] const toRefs: (typeof import("vue"))["toRefs"]
const triggerRef: typeof import('vue')['triggerRef'] const toValue: (typeof import("vue"))["toValue"]
const tryOnBeforeMount: typeof import('@vueuse/core')['tryOnBeforeMount'] const triggerRef: (typeof import("vue"))["triggerRef"]
const tryOnBeforeUnmount: typeof import('@vueuse/core')['tryOnBeforeUnmount'] const tryOnBeforeMount: (typeof import("@vueuse/core"))["tryOnBeforeMount"]
const tryOnMounted: typeof import('@vueuse/core')['tryOnMounted'] const tryOnBeforeUnmount: (typeof import("@vueuse/core"))["tryOnBeforeUnmount"]
const tryOnScopeDispose: typeof import('@vueuse/core')['tryOnScopeDispose'] const tryOnMounted: (typeof import("@vueuse/core"))["tryOnMounted"]
const tryOnUnmounted: typeof import('@vueuse/core')['tryOnUnmounted'] const tryOnScopeDispose: (typeof import("@vueuse/core"))["tryOnScopeDispose"]
const unref: typeof import('vue')['unref'] const tryOnUnmounted: (typeof import("@vueuse/core"))["tryOnUnmounted"]
const unrefElement: typeof import('@vueuse/core')['unrefElement'] const unref: (typeof import("vue"))["unref"]
const until: typeof import('@vueuse/core')['until'] const unrefElement: (typeof import("@vueuse/core"))["unrefElement"]
const useActiveElement: typeof import('@vueuse/core')['useActiveElement'] const until: (typeof import("@vueuse/core"))["until"]
const useAnimate: typeof import('@vueuse/core')['useAnimate'] const useActiveElement: (typeof import("@vueuse/core"))["useActiveElement"]
const useArrayDifference: typeof import('@vueuse/core')['useArrayDifference'] const useAnimate: (typeof import("@vueuse/core"))["useAnimate"]
const useArrayEvery: typeof import('@vueuse/core')['useArrayEvery'] const useArrayDifference: (typeof import("@vueuse/core"))["useArrayDifference"]
const useArrayFilter: typeof import('@vueuse/core')['useArrayFilter'] const useArrayEvery: (typeof import("@vueuse/core"))["useArrayEvery"]
const useArrayFind: typeof import('@vueuse/core')['useArrayFind'] const useArrayFilter: (typeof import("@vueuse/core"))["useArrayFilter"]
const useArrayFindIndex: typeof import('@vueuse/core')['useArrayFindIndex'] const useArrayFind: (typeof import("@vueuse/core"))["useArrayFind"]
const useArrayFindLast: typeof import('@vueuse/core')['useArrayFindLast'] const useArrayFindIndex: (typeof import("@vueuse/core"))["useArrayFindIndex"]
const useArrayIncludes: typeof import('@vueuse/core')['useArrayIncludes'] const useArrayFindLast: (typeof import("@vueuse/core"))["useArrayFindLast"]
const useArrayJoin: typeof import('@vueuse/core')['useArrayJoin'] const useArrayIncludes: (typeof import("@vueuse/core"))["useArrayIncludes"]
const useArrayMap: typeof import('@vueuse/core')['useArrayMap'] const useArrayJoin: (typeof import("@vueuse/core"))["useArrayJoin"]
const useArrayReduce: typeof import('@vueuse/core')['useArrayReduce'] const useArrayMap: (typeof import("@vueuse/core"))["useArrayMap"]
const useArraySome: typeof import('@vueuse/core')['useArraySome'] const useArrayReduce: (typeof import("@vueuse/core"))["useArrayReduce"]
const useArrayUnique: typeof import('@vueuse/core')['useArrayUnique'] const useArraySome: (typeof import("@vueuse/core"))["useArraySome"]
const useAsyncQueue: typeof import('@vueuse/core')['useAsyncQueue'] const useArrayUnique: (typeof import("@vueuse/core"))["useArrayUnique"]
const useAsyncState: typeof import('@vueuse/core')['useAsyncState'] const useAsyncQueue: (typeof import("@vueuse/core"))["useAsyncQueue"]
const useAttrs: typeof import('vue')['useAttrs'] const useAsyncState: (typeof import("@vueuse/core"))["useAsyncState"]
const useBase64: typeof import('@vueuse/core')['useBase64'] const useAttrs: (typeof import("vue"))["useAttrs"]
const useBattery: typeof import('@vueuse/core')['useBattery'] const useBase64: (typeof import("@vueuse/core"))["useBase64"]
const useBluetooth: typeof import('@vueuse/core')['useBluetooth'] const useBattery: (typeof import("@vueuse/core"))["useBattery"]
const useBreakpoints: typeof import('@vueuse/core')['useBreakpoints'] const useBluetooth: (typeof import("@vueuse/core"))["useBluetooth"]
const useBroadcastChannel: typeof import('@vueuse/core')['useBroadcastChannel'] const useBreakpoints: (typeof import("@vueuse/core"))["useBreakpoints"]
const useBrowserLocation: typeof import('@vueuse/core')['useBrowserLocation'] const useBroadcastChannel: (typeof import("@vueuse/core"))["useBroadcastChannel"]
const useCached: typeof import('@vueuse/core')['useCached'] const useBrowserLocation: (typeof import("@vueuse/core"))["useBrowserLocation"]
const useClipboard: typeof import('@vueuse/core')['useClipboard'] const useCached: (typeof import("@vueuse/core"))["useCached"]
const useClipboardItems: typeof import('@vueuse/core')['useClipboardItems'] const useClipboard: (typeof import("@vueuse/core"))["useClipboard"]
const useCloned: typeof import('@vueuse/core')['useCloned'] const useClipboardItems: (typeof import("@vueuse/core"))["useClipboardItems"]
const useColorMode: typeof import('@vueuse/core')['useColorMode'] const useCloned: (typeof import("@vueuse/core"))["useCloned"]
const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog'] const useColorMode: (typeof import("@vueuse/core"))["useColorMode"]
const useCounter: typeof import('@vueuse/core')['useCounter'] const useConfirmDialog: (typeof import("@vueuse/core"))["useConfirmDialog"]
const useCssModule: typeof import('vue')['useCssModule'] const useCounter: (typeof import("@vueuse/core"))["useCounter"]
const useCssVar: typeof import('@vueuse/core')['useCssVar'] const useCssModule: (typeof import("vue"))["useCssModule"]
const useCssVars: typeof import('vue')['useCssVars'] const useCssVar: (typeof import("@vueuse/core"))["useCssVar"]
const useCurrentElement: typeof import('@vueuse/core')['useCurrentElement'] const useCssVars: (typeof import("vue"))["useCssVars"]
const useCycleList: typeof import('@vueuse/core')['useCycleList'] const useCurrentElement: (typeof import("@vueuse/core"))["useCurrentElement"]
const useDark: typeof import('@vueuse/core')['useDark'] const useCycleList: (typeof import("@vueuse/core"))["useCycleList"]
const useDateFormat: typeof import('@vueuse/core')['useDateFormat'] const useDark: (typeof import("@vueuse/core"))["useDark"]
const useDebounce: typeof import('@vueuse/core')['useDebounce'] const useDateFormat: (typeof import("@vueuse/core"))["useDateFormat"]
const useDebounceFn: typeof import('@vueuse/core')['useDebounceFn'] const useDebounce: (typeof import("@vueuse/core"))["useDebounce"]
const useDebouncedRefHistory: typeof import('@vueuse/core')['useDebouncedRefHistory'] const useDebounceFn: (typeof import("@vueuse/core"))["useDebounceFn"]
const useDeviceMotion: typeof import('@vueuse/core')['useDeviceMotion'] const useDebouncedRefHistory: (typeof import("@vueuse/core"))["useDebouncedRefHistory"]
const useDeviceOrientation: typeof import('@vueuse/core')['useDeviceOrientation'] const useDeviceMotion: (typeof import("@vueuse/core"))["useDeviceMotion"]
const useDevicePixelRatio: typeof import('@vueuse/core')['useDevicePixelRatio'] const useDeviceOrientation: (typeof import("@vueuse/core"))["useDeviceOrientation"]
const useDevicesList: typeof import('@vueuse/core')['useDevicesList'] const useDevicePixelRatio: (typeof import("@vueuse/core"))["useDevicePixelRatio"]
const useDialog: typeof import('naive-ui')['useDialog'] const useDevicesList: (typeof import("@vueuse/core"))["useDevicesList"]
const useDisplayMedia: typeof import('@vueuse/core')['useDisplayMedia'] const useDialog: (typeof import("naive-ui"))["useDialog"]
const useDocumentVisibility: typeof import('@vueuse/core')['useDocumentVisibility'] const useDisplayMedia: (typeof import("@vueuse/core"))["useDisplayMedia"]
const useDraggable: typeof import('@vueuse/core')['useDraggable'] const useDocumentVisibility: (typeof import("@vueuse/core"))["useDocumentVisibility"]
const useDropZone: typeof import('@vueuse/core')['useDropZone'] const useDraggable: (typeof import("@vueuse/core"))["useDraggable"]
const useElementBounding: typeof import('@vueuse/core')['useElementBounding'] const useDropZone: (typeof import("@vueuse/core"))["useDropZone"]
const useElementByPoint: typeof import('@vueuse/core')['useElementByPoint'] const useElementBounding: (typeof import("@vueuse/core"))["useElementBounding"]
const useElementHover: typeof import('@vueuse/core')['useElementHover'] const useElementByPoint: (typeof import("@vueuse/core"))["useElementByPoint"]
const useElementSize: typeof import('@vueuse/core')['useElementSize'] const useElementHover: (typeof import("@vueuse/core"))["useElementHover"]
const useElementVisibility: typeof import('@vueuse/core')['useElementVisibility'] const useElementSize: (typeof import("@vueuse/core"))["useElementSize"]
const useEventBus: typeof import('@vueuse/core')['useEventBus'] const useElementVisibility: (typeof import("@vueuse/core"))["useElementVisibility"]
const useEventListener: typeof import('@vueuse/core')['useEventListener'] const useEventBus: (typeof import("@vueuse/core"))["useEventBus"]
const useEventSource: typeof import('@vueuse/core')['useEventSource'] const useEventListener: (typeof import("@vueuse/core"))["useEventListener"]
const useEyeDropper: typeof import('@vueuse/core')['useEyeDropper'] const useEventSource: (typeof import("@vueuse/core"))["useEventSource"]
const useFavicon: typeof import('@vueuse/core')['useFavicon'] const useEyeDropper: (typeof import("@vueuse/core"))["useEyeDropper"]
const useFetch: typeof import('@vueuse/core')['useFetch'] const useFavicon: (typeof import("@vueuse/core"))["useFavicon"]
const useFileDialog: typeof import('@vueuse/core')['useFileDialog'] const useFetch: (typeof import("@vueuse/core"))["useFetch"]
const useFileSystemAccess: typeof import('@vueuse/core')['useFileSystemAccess'] const useFileDialog: (typeof import("@vueuse/core"))["useFileDialog"]
const useFocus: typeof import('@vueuse/core')['useFocus'] const useFileSystemAccess: (typeof import("@vueuse/core"))["useFileSystemAccess"]
const useFocusWithin: typeof import('@vueuse/core')['useFocusWithin'] const useFocus: (typeof import("@vueuse/core"))["useFocus"]
const useFps: typeof import('@vueuse/core')['useFps'] const useFocusWithin: (typeof import("@vueuse/core"))["useFocusWithin"]
const useFullscreen: typeof import('@vueuse/core')['useFullscreen'] const useFps: (typeof import("@vueuse/core"))["useFps"]
const useGamepad: typeof import('@vueuse/core')['useGamepad'] const useFullscreen: (typeof import("@vueuse/core"))["useFullscreen"]
const useGeolocation: typeof import('@vueuse/core')['useGeolocation'] const useGamepad: (typeof import("@vueuse/core"))["useGamepad"]
const useId: typeof import('vue')['useId'] const useGeolocation: (typeof import("@vueuse/core"))["useGeolocation"]
const useIdle: typeof import('@vueuse/core')['useIdle'] const useId: (typeof import("vue"))["useId"]
const useImage: typeof import('@vueuse/core')['useImage'] const useIdle: (typeof import("@vueuse/core"))["useIdle"]
const useInfiniteScroll: typeof import('@vueuse/core')['useInfiniteScroll'] const useImage: (typeof import("@vueuse/core"))["useImage"]
const useIntersectionObserver: typeof import('@vueuse/core')['useIntersectionObserver'] const useInfiniteScroll: (typeof import("@vueuse/core"))["useInfiniteScroll"]
const useInterval: typeof import('@vueuse/core')['useInterval'] const useIntersectionObserver: (typeof import("@vueuse/core"))["useIntersectionObserver"]
const useIntervalFn: typeof import('@vueuse/core')['useIntervalFn'] const useInterval: (typeof import("@vueuse/core"))["useInterval"]
const useKeyModifier: typeof import('@vueuse/core')['useKeyModifier'] const useIntervalFn: (typeof import("@vueuse/core"))["useIntervalFn"]
const useLastChanged: typeof import('@vueuse/core')['useLastChanged'] const useKeyModifier: (typeof import("@vueuse/core"))["useKeyModifier"]
const useLink: typeof import('vue-router')['useLink'] const useLastChanged: (typeof import("@vueuse/core"))["useLastChanged"]
const useLoadingBar: typeof import('naive-ui')['useLoadingBar'] const useLink: (typeof import("vue-router"))["useLink"]
const useLocalStorage: typeof import('@vueuse/core')['useLocalStorage'] const useLoadingBar: (typeof import("naive-ui"))["useLoadingBar"]
const useMagicKeys: typeof import('@vueuse/core')['useMagicKeys'] const useLocalStorage: (typeof import("@vueuse/core"))["useLocalStorage"]
const useManualRefHistory: typeof import('@vueuse/core')['useManualRefHistory'] const useMagicKeys: (typeof import("@vueuse/core"))["useMagicKeys"]
const useMediaControls: typeof import('@vueuse/core')['useMediaControls'] const useManualRefHistory: (typeof import("@vueuse/core"))["useManualRefHistory"]
const useMediaQuery: typeof import('@vueuse/core')['useMediaQuery'] const useMediaControls: (typeof import("@vueuse/core"))["useMediaControls"]
const useMemoize: typeof import('@vueuse/core')['useMemoize'] const useMediaQuery: (typeof import("@vueuse/core"))["useMediaQuery"]
const useMemory: typeof import('@vueuse/core')['useMemory'] const useMemoize: (typeof import("@vueuse/core"))["useMemoize"]
const useMessage: typeof import('naive-ui')['useMessage'] const useMemory: (typeof import("@vueuse/core"))["useMemory"]
const useModel: typeof import('vue')['useModel'] const useMessage: (typeof import("naive-ui"))["useMessage"]
const useMounted: typeof import('@vueuse/core')['useMounted'] const useModel: (typeof import("vue"))["useModel"]
const useMouse: typeof import('@vueuse/core')['useMouse'] const useMounted: (typeof import("@vueuse/core"))["useMounted"]
const useMouseInElement: typeof import('@vueuse/core')['useMouseInElement'] const useMouse: (typeof import("@vueuse/core"))["useMouse"]
const useMousePressed: typeof import('@vueuse/core')['useMousePressed'] const useMouseInElement: (typeof import("@vueuse/core"))["useMouseInElement"]
const useMutationObserver: typeof import('@vueuse/core')['useMutationObserver'] const useMousePressed: (typeof import("@vueuse/core"))["useMousePressed"]
const useNavigatorLanguage: typeof import('@vueuse/core')['useNavigatorLanguage'] const useMutationObserver: (typeof import("@vueuse/core"))["useMutationObserver"]
const useNetwork: typeof import('@vueuse/core')['useNetwork'] const useNavigatorLanguage: (typeof import("@vueuse/core"))["useNavigatorLanguage"]
const useNotification: typeof import('naive-ui')['useNotification'] const useNetwork: (typeof import("@vueuse/core"))["useNetwork"]
const useNow: typeof import('@vueuse/core')['useNow'] const useNotification: (typeof import("naive-ui"))["useNotification"]
const useObjectUrl: typeof import('@vueuse/core')['useObjectUrl'] const useNow: (typeof import("@vueuse/core"))["useNow"]
const useOffsetPagination: typeof import('@vueuse/core')['useOffsetPagination'] const useObjectUrl: (typeof import("@vueuse/core"))["useObjectUrl"]
const useOnline: typeof import('@vueuse/core')['useOnline'] const useOffsetPagination: (typeof import("@vueuse/core"))["useOffsetPagination"]
const usePageLeave: typeof import('@vueuse/core')['usePageLeave'] const useOnline: (typeof import("@vueuse/core"))["useOnline"]
const useParallax: typeof import('@vueuse/core')['useParallax'] const usePageLeave: (typeof import("@vueuse/core"))["usePageLeave"]
const useParentElement: typeof import('@vueuse/core')['useParentElement'] const useParallax: (typeof import("@vueuse/core"))["useParallax"]
const usePerformanceObserver: typeof import('@vueuse/core')['usePerformanceObserver'] const useParentElement: (typeof import("@vueuse/core"))["useParentElement"]
const usePermission: typeof import('@vueuse/core')['usePermission'] const usePerformanceObserver: (typeof import("@vueuse/core"))["usePerformanceObserver"]
const usePointer: typeof import('@vueuse/core')['usePointer'] const usePermission: (typeof import("@vueuse/core"))["usePermission"]
const usePointerLock: typeof import('@vueuse/core')['usePointerLock'] const usePointer: (typeof import("@vueuse/core"))["usePointer"]
const usePointerSwipe: typeof import('@vueuse/core')['usePointerSwipe'] const usePointerLock: (typeof import("@vueuse/core"))["usePointerLock"]
const usePreferredColorScheme: typeof import('@vueuse/core')['usePreferredColorScheme'] const usePointerSwipe: (typeof import("@vueuse/core"))["usePointerSwipe"]
const usePreferredContrast: typeof import('@vueuse/core')['usePreferredContrast'] const usePreferredColorScheme: (typeof import("@vueuse/core"))["usePreferredColorScheme"]
const usePreferredDark: typeof import('@vueuse/core')['usePreferredDark'] const usePreferredContrast: (typeof import("@vueuse/core"))["usePreferredContrast"]
const usePreferredLanguages: typeof import('@vueuse/core')['usePreferredLanguages'] const usePreferredDark: (typeof import("@vueuse/core"))["usePreferredDark"]
const usePreferredReducedMotion: typeof import('@vueuse/core')['usePreferredReducedMotion'] const usePreferredLanguages: (typeof import("@vueuse/core"))["usePreferredLanguages"]
const usePreferredReducedTransparency: typeof import('@vueuse/core')['usePreferredReducedTransparency'] const usePreferredReducedMotion: (typeof import("@vueuse/core"))["usePreferredReducedMotion"]
const usePrevious: typeof import('@vueuse/core')['usePrevious'] const usePreferredReducedTransparency: (typeof import("@vueuse/core"))["usePreferredReducedTransparency"]
const useRafFn: typeof import('@vueuse/core')['useRafFn'] const usePrevious: (typeof import("@vueuse/core"))["usePrevious"]
const useRefHistory: typeof import('@vueuse/core')['useRefHistory'] const useRafFn: (typeof import("@vueuse/core"))["useRafFn"]
const useResizeObserver: typeof import('@vueuse/core')['useResizeObserver'] const useRefHistory: (typeof import("@vueuse/core"))["useRefHistory"]
const useRoute: typeof import('vue-router')['useRoute'] const useResizeObserver: (typeof import("@vueuse/core"))["useResizeObserver"]
const useRouter: typeof import('vue-router')['useRouter'] const useRoute: (typeof import("vue-router"))["useRoute"]
const useSSRWidth: typeof import('@vueuse/core')['useSSRWidth'] const useRouter: (typeof import("vue-router"))["useRouter"]
const useScreenOrientation: typeof import('@vueuse/core')['useScreenOrientation'] const useSSRWidth: (typeof import("@vueuse/core"))["useSSRWidth"]
const useScreenSafeArea: typeof import('@vueuse/core')['useScreenSafeArea'] const useScreenOrientation: (typeof import("@vueuse/core"))["useScreenOrientation"]
const useScriptTag: typeof import('@vueuse/core')['useScriptTag'] const useScreenSafeArea: (typeof import("@vueuse/core"))["useScreenSafeArea"]
const useScroll: typeof import('@vueuse/core')['useScroll'] const useScriptTag: (typeof import("@vueuse/core"))["useScriptTag"]
const useScrollLock: typeof import('@vueuse/core')['useScrollLock'] const useScroll: (typeof import("@vueuse/core"))["useScroll"]
const useSessionStorage: typeof import('@vueuse/core')['useSessionStorage'] const useScrollLock: (typeof import("@vueuse/core"))["useScrollLock"]
const useShare: typeof import('@vueuse/core')['useShare'] const useSessionStorage: (typeof import("@vueuse/core"))["useSessionStorage"]
const useSlots: typeof import('vue')['useSlots'] const useShare: (typeof import("@vueuse/core"))["useShare"]
const useSorted: typeof import('@vueuse/core')['useSorted'] const useSlots: (typeof import("vue"))["useSlots"]
const useSpeechRecognition: typeof import('@vueuse/core')['useSpeechRecognition'] const useSorted: (typeof import("@vueuse/core"))["useSorted"]
const useSpeechSynthesis: typeof import('@vueuse/core')['useSpeechSynthesis'] const useSpeechRecognition: (typeof import("@vueuse/core"))["useSpeechRecognition"]
const useStepper: typeof import('@vueuse/core')['useStepper'] const useSpeechSynthesis: (typeof import("@vueuse/core"))["useSpeechSynthesis"]
const useStorage: typeof import('@vueuse/core')['useStorage'] const useStepper: (typeof import("@vueuse/core"))["useStepper"]
const useStorageAsync: typeof import('@vueuse/core')['useStorageAsync'] const useStorage: (typeof import("@vueuse/core"))["useStorage"]
const useStyleTag: typeof import('@vueuse/core')['useStyleTag'] const useStorageAsync: (typeof import("@vueuse/core"))["useStorageAsync"]
const useSupported: typeof import('@vueuse/core')['useSupported'] const useStyleTag: (typeof import("@vueuse/core"))["useStyleTag"]
const useSwipe: typeof import('@vueuse/core')['useSwipe'] const useSupported: (typeof import("@vueuse/core"))["useSupported"]
const useTemplateRef: typeof import('vue')['useTemplateRef'] const useSwipe: (typeof import("@vueuse/core"))["useSwipe"]
const useTemplateRefsList: typeof import('@vueuse/core')['useTemplateRefsList'] const useTemplateRef: (typeof import("vue"))["useTemplateRef"]
const useTextDirection: typeof import('@vueuse/core')['useTextDirection'] const useTemplateRefsList: (typeof import("@vueuse/core"))["useTemplateRefsList"]
const useTextSelection: typeof import('@vueuse/core')['useTextSelection'] const useTextDirection: (typeof import("@vueuse/core"))["useTextDirection"]
const useTextareaAutosize: typeof import('@vueuse/core')['useTextareaAutosize'] const useTextSelection: (typeof import("@vueuse/core"))["useTextSelection"]
const useThrottle: typeof import('@vueuse/core')['useThrottle'] const useTextareaAutosize: (typeof import("@vueuse/core"))["useTextareaAutosize"]
const useThrottleFn: typeof import('@vueuse/core')['useThrottleFn'] const useThrottle: (typeof import("@vueuse/core"))["useThrottle"]
const useThrottledRefHistory: typeof import('@vueuse/core')['useThrottledRefHistory'] const useThrottleFn: (typeof import("@vueuse/core"))["useThrottleFn"]
const useTimeAgo: typeof import('@vueuse/core')['useTimeAgo'] const useThrottledRefHistory: (typeof import("@vueuse/core"))["useThrottledRefHistory"]
const useTimeout: typeof import('@vueuse/core')['useTimeout'] const useTimeAgo: (typeof import("@vueuse/core"))["useTimeAgo"]
const useTimeoutFn: typeof import('@vueuse/core')['useTimeoutFn'] const useTimeout: (typeof import("@vueuse/core"))["useTimeout"]
const useTimeoutPoll: typeof import('@vueuse/core')['useTimeoutPoll'] const useTimeoutFn: (typeof import("@vueuse/core"))["useTimeoutFn"]
const useTimestamp: typeof import('@vueuse/core')['useTimestamp'] const useTimeoutPoll: (typeof import("@vueuse/core"))["useTimeoutPoll"]
const useTitle: typeof import('@vueuse/core')['useTitle'] const useTimestamp: (typeof import("@vueuse/core"))["useTimestamp"]
const useToNumber: typeof import('@vueuse/core')['useToNumber'] const useTitle: (typeof import("@vueuse/core"))["useTitle"]
const useToString: typeof import('@vueuse/core')['useToString'] const useToNumber: (typeof import("@vueuse/core"))["useToNumber"]
const useToggle: typeof import('@vueuse/core')['useToggle'] const useToString: (typeof import("@vueuse/core"))["useToString"]
const useTransition: typeof import('@vueuse/core')['useTransition'] const useToggle: (typeof import("@vueuse/core"))["useToggle"]
const useUrlSearchParams: typeof import('@vueuse/core')['useUrlSearchParams'] const useTransition: (typeof import("@vueuse/core"))["useTransition"]
const useUserMedia: typeof import('@vueuse/core')['useUserMedia'] const useUrlSearchParams: (typeof import("@vueuse/core"))["useUrlSearchParams"]
const useVModel: typeof import('@vueuse/core')['useVModel'] const useUserMedia: (typeof import("@vueuse/core"))["useUserMedia"]
const useVModels: typeof import('@vueuse/core')['useVModels'] const useVModel: (typeof import("@vueuse/core"))["useVModel"]
const useVibrate: typeof import('@vueuse/core')['useVibrate'] const useVModels: (typeof import("@vueuse/core"))["useVModels"]
const useVirtualList: typeof import('@vueuse/core')['useVirtualList'] const useVibrate: (typeof import("@vueuse/core"))["useVibrate"]
const useWakeLock: typeof import('@vueuse/core')['useWakeLock'] const useVirtualList: (typeof import("@vueuse/core"))["useVirtualList"]
const useWebNotification: typeof import('@vueuse/core')['useWebNotification'] const useWakeLock: (typeof import("@vueuse/core"))["useWakeLock"]
const useWebSocket: typeof import('@vueuse/core')['useWebSocket'] const useWebNotification: (typeof import("@vueuse/core"))["useWebNotification"]
const useWebWorker: typeof import('@vueuse/core')['useWebWorker'] const useWebSocket: (typeof import("@vueuse/core"))["useWebSocket"]
const useWebWorkerFn: typeof import('@vueuse/core')['useWebWorkerFn'] const useWebWorker: (typeof import("@vueuse/core"))["useWebWorker"]
const useWindowFocus: typeof import('@vueuse/core')['useWindowFocus'] const useWebWorkerFn: (typeof import("@vueuse/core"))["useWebWorkerFn"]
const useWindowScroll: typeof import('@vueuse/core')['useWindowScroll'] const useWindowFocus: (typeof import("@vueuse/core"))["useWindowFocus"]
const useWindowSize: typeof import('@vueuse/core')['useWindowSize'] const useWindowScroll: (typeof import("@vueuse/core"))["useWindowScroll"]
const watch: typeof import('vue')['watch'] const useWindowSize: (typeof import("@vueuse/core"))["useWindowSize"]
const watchArray: typeof import('@vueuse/core')['watchArray'] const watch: (typeof import("vue"))["watch"]
const watchAtMost: typeof import('@vueuse/core')['watchAtMost'] const watchArray: (typeof import("@vueuse/core"))["watchArray"]
const watchDebounced: typeof import('@vueuse/core')['watchDebounced'] const watchAtMost: (typeof import("@vueuse/core"))["watchAtMost"]
const watchDeep: typeof import('@vueuse/core')['watchDeep'] const watchDebounced: (typeof import("@vueuse/core"))["watchDebounced"]
const watchEffect: typeof import('vue')['watchEffect'] const watchDeep: (typeof import("@vueuse/core"))["watchDeep"]
const watchIgnorable: typeof import('@vueuse/core')['watchIgnorable'] const watchEffect: (typeof import("vue"))["watchEffect"]
const watchImmediate: typeof import('@vueuse/core')['watchImmediate'] const watchIgnorable: (typeof import("@vueuse/core"))["watchIgnorable"]
const watchOnce: typeof import('@vueuse/core')['watchOnce'] const watchImmediate: (typeof import("@vueuse/core"))["watchImmediate"]
const watchPausable: typeof import('@vueuse/core')['watchPausable'] const watchOnce: (typeof import("@vueuse/core"))["watchOnce"]
const watchPostEffect: typeof import('vue')['watchPostEffect'] const watchPausable: (typeof import("@vueuse/core"))["watchPausable"]
const watchSyncEffect: typeof import('vue')['watchSyncEffect'] const watchPostEffect: (typeof import("vue"))["watchPostEffect"]
const watchThrottled: typeof import('@vueuse/core')['watchThrottled'] const watchSyncEffect: (typeof import("vue"))["watchSyncEffect"]
const watchTriggerable: typeof import('@vueuse/core')['watchTriggerable'] const watchThrottled: (typeof import("@vueuse/core"))["watchThrottled"]
const watchWithFilter: typeof import('@vueuse/core')['watchWithFilter'] const watchTriggerable: (typeof import("@vueuse/core"))["watchTriggerable"]
const whenever: typeof import('@vueuse/core')['whenever'] const watchWithFilter: (typeof import("@vueuse/core"))["watchWithFilter"]
const whenever: (typeof import("@vueuse/core"))["whenever"]
} }
// for type re-export // for type re-export
declare global { declare global {
// @ts-ignore // @ts-ignore
export type { Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
import('vue')
// @ts-ignore // @ts-ignore
export type { DataTableColumn, FormRules, FormItemRule, SelectOption, UploadCustomRequestOptions, UploadFileInfo, MenuOption, DropdownDividerOption, DropdownOption } from 'naive-ui' export type {
import('naive-ui') DataTableColumn,
DropdownDividerOption,
DropdownOption,
FormItemRule,
FormRules,
MenuOption,
SelectOption,
UploadCustomRequestOptions,
UploadFileInfo,
} from "naive-ui"
export type {
Component,
ComponentPublicInstance,
ComputedRef,
DirectiveBinding,
ExtractDefaultPropTypes,
ExtractPropTypes,
ExtractPublicPropTypes,
InjectionKey,
MaybeRef,
MaybeRefOrGetter,
PropType,
Ref,
VNode,
WritableComputedRef,
} from "vue"
import("vue")
import("naive-ui")
} }

View File

@@ -76,9 +76,11 @@ export function secondsToDuration(seconds: number): string {
start: 0, start: 0,
end: seconds * 1000, end: seconds * 1000,
}) })
return [duration.hours ?? 0, duration.minutes ?? 0, duration.seconds ?? 0].join( return [
":", duration.hours ?? 0,
) duration.minutes ?? 0,
duration.seconds ?? 0,
].join(":")
} }
export function submissionMemoryFormat(memory: number | string | undefined) { export function submissionMemoryFormat(memory: number | string | undefined) {