create-bubbles 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/template-react-rsbuild-biome/biome.json +7 -0
- package/template-react-rsbuild-biome/package.json +24 -24
- package/template-react-rsbuild-biome/src/App.tsx +1 -0
- package/template-react-rsbuild-biome/src/pages/home/index.tsx +1 -1
- package/template-react-rsbuild-biome/src/types/auto-import.d.ts +40 -30
- package/template-react-rsbuild-biome/src/utils/request/core/index.ts +1 -1
- package/template-react-rsbuild-biome/uno.config.ts +2 -2
- package/template-vue-vite-eslint/.env +1 -1
- package/template-vue-vite-eslint/package.json +28 -30
- package/template-vue-vite-eslint/src/router/modules/index.ts +0 -43
- package/template-vue-vite-eslint/src/types/auto-import.d.ts +78 -0
- package/template-vue-vite-eslint/src/types/components.d.ts +22 -0
- package/template-vue-vite-eslint/uno.config.ts +2 -2
- package/template-vue-vite-eslint/src/views/data-statistics/config.ts +0 -11
- package/template-vue-vite-eslint/src/views/data-statistics/index.vue +0 -23
- package/template-vue-vite-eslint/src/views/data-statistics/right/abc.vue +0 -11
- package/template-vue-vite-eslint/src/views/knowledge-graph/index.vue +0 -11
- package/template-vue-vite-eslint/src/views/model/index.vue +0 -7
- /package/dist/{index.js → index.mjs} +0 -0
- /package/template-vue-vite-eslint/src/assets/icon/{vue.svg → logo.svg} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-bubbles",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "bubbles plant",
|
|
6
6
|
"bin": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"funding": "https://github.com/435012357/bubblesjs",
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/node": "^24.3.0",
|
|
30
|
-
"tsdown": "^0.
|
|
30
|
+
"tsdown": "^0.18.3"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@clack/prompts": "^0.11.0",
|
|
@@ -40,6 +40,13 @@
|
|
|
40
40
|
"noDangerouslySetInnerHtml": "off"
|
|
41
41
|
},
|
|
42
42
|
"suspicious": {
|
|
43
|
+
"noConsole": {
|
|
44
|
+
"level": "warn",
|
|
45
|
+
"options": {
|
|
46
|
+
"allow": ["warn", "error"]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"noDebugger": "warn",
|
|
43
50
|
"noGlobalIsNan": "off",
|
|
44
51
|
"noGlobalIsFinite": "off",
|
|
45
52
|
"noExplicitAny": "off",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "react-rsbuild-biomejs",
|
|
3
3
|
"private": true,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "rsbuild dev --env-mode development",
|
|
7
7
|
"dev:prod": "rsbuild dev --env-mode production",
|
|
@@ -12,31 +12,31 @@
|
|
|
12
12
|
"reinstall": "rimraf pnpm-lock.yaml && rimraf node_modules && pnpm install"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@alova/adapter-axios": "^2.0.
|
|
16
|
-
"@ant-design/icons
|
|
17
|
-
"ahooks": "^3.9.
|
|
18
|
-
"alova": "^3.
|
|
19
|
-
"antd": "^
|
|
20
|
-
"dayjs": "^1.11.
|
|
21
|
-
"react": "^19.2.
|
|
22
|
-
"react-dom": "^19.2.
|
|
23
|
-
"react-router": "^7.
|
|
24
|
-
"zustand": "^5.0.
|
|
15
|
+
"@alova/adapter-axios": "^2.0.17",
|
|
16
|
+
"@ant-design/icons": "~6.1.0",
|
|
17
|
+
"ahooks": "^3.9.6",
|
|
18
|
+
"alova": "^3.4.1",
|
|
19
|
+
"antd": "^6.1.0",
|
|
20
|
+
"dayjs": "^1.11.19",
|
|
21
|
+
"react": "^19.2.3",
|
|
22
|
+
"react-dom": "^19.2.3",
|
|
23
|
+
"react-router": "^7.10.1",
|
|
24
|
+
"zustand": "^5.0.9"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@biomejs/biome": "^2.
|
|
28
|
-
"@commitlint/config-conventional": "^20.
|
|
29
|
-
"@rsbuild/core": "^1.
|
|
30
|
-
"@rsbuild/plugin-react": "^1.4.
|
|
27
|
+
"@biomejs/biome": "^2.3.8",
|
|
28
|
+
"@commitlint/config-conventional": "^20.2.0",
|
|
29
|
+
"@rsbuild/core": "^1.6.14",
|
|
30
|
+
"@rsbuild/plugin-react": "^1.4.2",
|
|
31
31
|
"@rsbuild/plugin-sass": "^1.4.0",
|
|
32
|
-
"@rsbuild/plugin-svgr": "^1.2.
|
|
33
|
-
"@types/react": "^19.2.
|
|
34
|
-
"@types/react-dom": "^19.2.
|
|
35
|
-
"@unocss/postcss": "^66.5.
|
|
36
|
-
"lefthook": "^
|
|
37
|
-
"prettier": "^3.
|
|
32
|
+
"@rsbuild/plugin-svgr": "^1.2.3",
|
|
33
|
+
"@types/react": "^19.2.7",
|
|
34
|
+
"@types/react-dom": "^19.2.3",
|
|
35
|
+
"@unocss/postcss": "^66.5.10",
|
|
36
|
+
"lefthook": "^2.0.11",
|
|
37
|
+
"prettier": "^3.7.4",
|
|
38
38
|
"typescript": "^5.9.3",
|
|
39
|
-
"unocss": "^66.5.
|
|
40
|
-
"unplugin-auto-import": "^20.
|
|
39
|
+
"unocss": "^66.5.10",
|
|
40
|
+
"unplugin-auto-import": "^20.3.0"
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -6,34 +6,44 @@
|
|
|
6
6
|
// biome-ignore lint: disable
|
|
7
7
|
export {}
|
|
8
8
|
declare global {
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
const
|
|
29
|
-
const
|
|
30
|
-
const
|
|
31
|
-
const
|
|
32
|
-
const
|
|
33
|
-
const
|
|
34
|
-
const
|
|
35
|
-
const
|
|
36
|
-
const
|
|
37
|
-
const
|
|
38
|
-
const
|
|
9
|
+
const Activity: typeof import('react').Activity
|
|
10
|
+
const Fragment: typeof import('react').Fragment
|
|
11
|
+
const Suspense: typeof import('react').Suspense
|
|
12
|
+
const cache: typeof import('react').cache
|
|
13
|
+
const cacheSignal: typeof import('react').cacheSignal
|
|
14
|
+
const createContext: typeof import('react').createContext
|
|
15
|
+
const createRef: typeof import('react').createRef
|
|
16
|
+
const forwardRef: typeof import('react').forwardRef
|
|
17
|
+
const lazy: typeof import('react').lazy
|
|
18
|
+
const memo: typeof import('react').memo
|
|
19
|
+
const startTransition: typeof import('react').startTransition
|
|
20
|
+
const use: typeof import('react').use
|
|
21
|
+
const useActionState: typeof import('react').useActionState
|
|
22
|
+
const useCallback: typeof import('react').useCallback
|
|
23
|
+
const useContext: typeof import('react').useContext
|
|
24
|
+
const useDebugValue: typeof import('react').useDebugValue
|
|
25
|
+
const useDeferredValue: typeof import('react').useDeferredValue
|
|
26
|
+
const useEffect: typeof import('react').useEffect
|
|
27
|
+
const useEffectEvent: typeof import('react').useEffectEvent
|
|
28
|
+
const useHref: typeof import('react-router').useHref
|
|
29
|
+
const useId: typeof import('react').useId
|
|
30
|
+
const useImperativeHandle: typeof import('react').useImperativeHandle
|
|
31
|
+
const useInRouterContext: typeof import('react-router').useInRouterContext
|
|
32
|
+
const useInsertionEffect: typeof import('react').useInsertionEffect
|
|
33
|
+
const useLayoutEffect: typeof import('react').useLayoutEffect
|
|
34
|
+
const useLocation: typeof import('react-router').useLocation
|
|
35
|
+
const useMemo: typeof import('react').useMemo
|
|
36
|
+
const useNavigate: typeof import('react-router').useNavigate
|
|
37
|
+
const useNavigationType: typeof import('react-router').useNavigationType
|
|
38
|
+
const useOptimistic: typeof import('react').useOptimistic
|
|
39
|
+
const useOutlet: typeof import('react-router').useOutlet
|
|
40
|
+
const useOutletContext: typeof import('react-router').useOutletContext
|
|
41
|
+
const useParams: typeof import('react-router').useParams
|
|
42
|
+
const useReducer: typeof import('react').useReducer
|
|
43
|
+
const useRef: typeof import('react').useRef
|
|
44
|
+
const useResolvedPath: typeof import('react-router').useResolvedPath
|
|
45
|
+
const useRoutes: typeof import('react-router').useRoutes
|
|
46
|
+
const useState: typeof import('react').useState
|
|
47
|
+
const useSyncExternalStore: typeof import('react').useSyncExternalStore
|
|
48
|
+
const useTransition: typeof import('react').useTransition
|
|
39
49
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type AlovaGenerics, type AlovaOptions, createAlova } from 'alova'
|
|
2
|
-
import { deepMergeObject, isReadableStream } from './utils'
|
|
3
2
|
import adapterFetch from 'alova/fetch'
|
|
3
|
+
import { deepMergeObject, isReadableStream } from './utils'
|
|
4
4
|
|
|
5
5
|
interface statusMap {
|
|
6
6
|
success?: number
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineConfig,
|
|
1
|
+
import { defineConfig, presetWind4 } from 'unocss'
|
|
2
2
|
|
|
3
3
|
export default defineConfig({
|
|
4
4
|
content: {
|
|
5
5
|
filesystem: ['./src/**/*.{html,js,ts,jsx,tsx}'],
|
|
6
6
|
},
|
|
7
|
-
presets: [
|
|
7
|
+
presets: [presetWind4()],
|
|
8
8
|
})
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "bubbles-project",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"version": "0.0.0",
|
|
5
5
|
"private": true,
|
|
@@ -11,50 +11,48 @@
|
|
|
11
11
|
"lint:fix": "eslint --fix"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@alova/adapter-axios": "^2.0.
|
|
14
|
+
"@alova/adapter-axios": "^2.0.17",
|
|
15
15
|
"@element-plus/icons-vue": "^2.3.2",
|
|
16
|
-
"@unocss/preset-wind3": "^66.5.
|
|
17
|
-
"@vue-flow/core": "^1.
|
|
18
|
-
"alova": "^3.
|
|
19
|
-
"axios": "^1.
|
|
20
|
-
"dayjs": "^1.11.
|
|
16
|
+
"@unocss/preset-wind3": "^66.5.10",
|
|
17
|
+
"@vue-flow/core": "^1.48.0",
|
|
18
|
+
"alova": "^3.4.1",
|
|
19
|
+
"axios": "^1.13.2",
|
|
20
|
+
"dayjs": "^1.11.19",
|
|
21
21
|
"echarts": "^6.0.0",
|
|
22
|
-
"element-plus": "^2.
|
|
22
|
+
"element-plus": "^2.12.0",
|
|
23
23
|
"nanoid": "^5.1.6",
|
|
24
24
|
"nprogress": "^0.2.0",
|
|
25
|
-
"pinia": "^3.0.
|
|
26
|
-
"pinia-plugin-persistedstate": "^4.
|
|
25
|
+
"pinia": "^3.0.4",
|
|
26
|
+
"pinia-plugin-persistedstate": "^4.7.1",
|
|
27
27
|
"plus-pro-components": "^0.1.30",
|
|
28
|
-
"radashi": "^12.7.
|
|
29
|
-
"vue": "^3.5.
|
|
28
|
+
"radashi": "^12.7.1",
|
|
29
|
+
"vue": "^3.5.25",
|
|
30
30
|
"vue-draggable-plus": "^0.6.0",
|
|
31
|
-
"vue-router": "^4.6.
|
|
31
|
+
"vue-router": "^4.6.4",
|
|
32
32
|
"vue3-blocks-tree": "^0.6.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@antfu/eslint-config": "^6.
|
|
36
|
-
"@biomejs/biome": "^2.
|
|
37
|
-
"@commitlint/cli": "^20.
|
|
38
|
-
"@commitlint/config-conventional": "^20.
|
|
35
|
+
"@antfu/eslint-config": "^6.7.1",
|
|
36
|
+
"@biomejs/biome": "^2.3.9",
|
|
37
|
+
"@commitlint/cli": "^20.2.0",
|
|
38
|
+
"@commitlint/config-conventional": "^20.2.0",
|
|
39
39
|
"@plus-pro-components/resolver": "^0.0.3",
|
|
40
|
-
"@types/node": "^24.
|
|
40
|
+
"@types/node": "^24.10.4",
|
|
41
41
|
"@types/nprogress": "^0.2.3",
|
|
42
|
-
"@unocss/eslint-plugin": "^66.5.
|
|
43
|
-
"@unocss/preset-attributify": "^66.5.
|
|
44
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
42
|
+
"@unocss/eslint-plugin": "^66.5.10",
|
|
43
|
+
"@unocss/preset-attributify": "^66.5.10",
|
|
44
|
+
"@vitejs/plugin-vue": "^6.0.3",
|
|
45
45
|
"@vue/tsconfig": "^0.8.1",
|
|
46
|
-
"eslint": "9.
|
|
47
|
-
"eslint-plugin-format": "^1.0
|
|
46
|
+
"eslint": "9.39.2",
|
|
47
|
+
"eslint-plugin-format": "^1.1.0",
|
|
48
48
|
"fast-glob": "^3.3.3",
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"modern-screenshot": "^4.6.6",
|
|
52
|
-
"sass": "^1.93.2",
|
|
49
|
+
"lefthook": "^2.0.12",
|
|
50
|
+
"sass": "^1.97.0",
|
|
53
51
|
"typescript": "~5.9.3",
|
|
54
|
-
"unocss": "66.5.
|
|
55
|
-
"unplugin-auto-import": "^20.
|
|
52
|
+
"unocss": "66.5.10",
|
|
53
|
+
"unplugin-auto-import": "^20.3.0",
|
|
56
54
|
"unplugin-vue-components": "^30.0.0",
|
|
57
|
-
"vite": "
|
|
55
|
+
"vite": "8.0.0-beta.2",
|
|
58
56
|
"vite-plugin-inspect": "^11.3.3",
|
|
59
57
|
"vite-plugin-svg-icons": "^2.0.1",
|
|
60
58
|
"vue-tsc": "^3.1.1"
|
|
@@ -11,49 +11,6 @@ export const menuRoutes: MenuRouteRecordRawType [] = [
|
|
|
11
11
|
meta: { title: '首页概览', icon: 'svg-home' },
|
|
12
12
|
component: () => import('@/views/home/index.vue'),
|
|
13
13
|
},
|
|
14
|
-
{
|
|
15
|
-
path: '/data-search-statistics',
|
|
16
|
-
name: 'DataSearchStatistics',
|
|
17
|
-
meta: { title: '数据查询统计', icon: 'svg-data-search' },
|
|
18
|
-
children: [
|
|
19
|
-
{
|
|
20
|
-
path: '/abc',
|
|
21
|
-
name: 'abc',
|
|
22
|
-
meta: { title: '测试' },
|
|
23
|
-
component: () => import('@/views/home/index.vue'),
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
path: '/data-statistics',
|
|
27
|
-
name: 'DataStatistics',
|
|
28
|
-
meta: { title: '数据统计' },
|
|
29
|
-
component: () => import('@/views/data-statistics/index.vue'),
|
|
30
|
-
},
|
|
31
|
-
],
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
path: '/knowledge-graph',
|
|
35
|
-
name: 'KnowledgeGraph',
|
|
36
|
-
meta: { title: '知识图谱', icon: 'svg-knowledge-graph' },
|
|
37
|
-
component: () => import('@/views/knowledge-graph/index.vue'),
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
path: '/ai-search-tools',
|
|
41
|
-
name: 'AISearchTools',
|
|
42
|
-
meta: { title: 'AI研究工具', icon: 'svg-cpu' },
|
|
43
|
-
component: () => import('@/views/home/index.vue'),
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
path: '/data-mgt',
|
|
47
|
-
name: 'DataMgt',
|
|
48
|
-
meta: { title: '数据管理', icon: 'svg-computer-data' },
|
|
49
|
-
component: () => import('@/views/home/index.vue'),
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
path: '/platform-ai-assistant',
|
|
53
|
-
name: 'PlatformAIAssistant',
|
|
54
|
-
meta: { title: '平台智能助手', icon: 'svg-robot' },
|
|
55
|
-
component: () => import('@/views/home/index.vue'),
|
|
56
|
-
},
|
|
57
14
|
]
|
|
58
15
|
|
|
59
16
|
export const routes: RouteRecordRaw[] = [
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* prettier-ignore */
|
|
3
|
+
// @ts-nocheck
|
|
4
|
+
// noinspection JSUnusedGlobalSymbols
|
|
5
|
+
// Generated by unplugin-auto-import
|
|
6
|
+
// biome-ignore lint: disable
|
|
7
|
+
export {}
|
|
8
|
+
declare global {
|
|
9
|
+
const EffectScope: typeof import('vue').EffectScope
|
|
10
|
+
const computed: typeof import('vue').computed
|
|
11
|
+
const createApp: typeof import('vue').createApp
|
|
12
|
+
const customRef: typeof import('vue').customRef
|
|
13
|
+
const defineAsyncComponent: typeof import('vue').defineAsyncComponent
|
|
14
|
+
const defineComponent: typeof import('vue').defineComponent
|
|
15
|
+
const effectScope: typeof import('vue').effectScope
|
|
16
|
+
const getCurrentInstance: typeof import('vue').getCurrentInstance
|
|
17
|
+
const getCurrentScope: typeof import('vue').getCurrentScope
|
|
18
|
+
const getCurrentWatcher: typeof import('vue').getCurrentWatcher
|
|
19
|
+
const h: typeof import('vue').h
|
|
20
|
+
const inject: typeof import('vue').inject
|
|
21
|
+
const isProxy: typeof import('vue').isProxy
|
|
22
|
+
const isReactive: typeof import('vue').isReactive
|
|
23
|
+
const isReadonly: typeof import('vue').isReadonly
|
|
24
|
+
const isRef: typeof import('vue').isRef
|
|
25
|
+
const isShallow: typeof import('vue').isShallow
|
|
26
|
+
const markRaw: typeof import('vue').markRaw
|
|
27
|
+
const nextTick: typeof import('vue').nextTick
|
|
28
|
+
const onActivated: typeof import('vue').onActivated
|
|
29
|
+
const onBeforeMount: typeof import('vue').onBeforeMount
|
|
30
|
+
const onBeforeRouteLeave: typeof import('vue-router').onBeforeRouteLeave
|
|
31
|
+
const onBeforeRouteUpdate: typeof import('vue-router').onBeforeRouteUpdate
|
|
32
|
+
const onBeforeUnmount: typeof import('vue').onBeforeUnmount
|
|
33
|
+
const onBeforeUpdate: typeof import('vue').onBeforeUpdate
|
|
34
|
+
const onDeactivated: typeof import('vue').onDeactivated
|
|
35
|
+
const onErrorCaptured: typeof import('vue').onErrorCaptured
|
|
36
|
+
const onMounted: typeof import('vue').onMounted
|
|
37
|
+
const onRenderTracked: typeof import('vue').onRenderTracked
|
|
38
|
+
const onRenderTriggered: typeof import('vue').onRenderTriggered
|
|
39
|
+
const onScopeDispose: typeof import('vue').onScopeDispose
|
|
40
|
+
const onServerPrefetch: typeof import('vue').onServerPrefetch
|
|
41
|
+
const onUnmounted: typeof import('vue').onUnmounted
|
|
42
|
+
const onUpdated: typeof import('vue').onUpdated
|
|
43
|
+
const onWatcherCleanup: typeof import('vue').onWatcherCleanup
|
|
44
|
+
const provide: typeof import('vue').provide
|
|
45
|
+
const reactive: typeof import('vue').reactive
|
|
46
|
+
const readonly: typeof import('vue').readonly
|
|
47
|
+
const ref: typeof import('vue').ref
|
|
48
|
+
const resolveComponent: typeof import('vue').resolveComponent
|
|
49
|
+
const shallowReactive: typeof import('vue').shallowReactive
|
|
50
|
+
const shallowReadonly: typeof import('vue').shallowReadonly
|
|
51
|
+
const shallowRef: typeof import('vue').shallowRef
|
|
52
|
+
const toRaw: typeof import('vue').toRaw
|
|
53
|
+
const toRef: typeof import('vue').toRef
|
|
54
|
+
const toRefs: typeof import('vue').toRefs
|
|
55
|
+
const toValue: typeof import('vue').toValue
|
|
56
|
+
const triggerRef: typeof import('vue').triggerRef
|
|
57
|
+
const unref: typeof import('vue').unref
|
|
58
|
+
const useAttrs: typeof import('vue').useAttrs
|
|
59
|
+
const useCssModule: typeof import('vue').useCssModule
|
|
60
|
+
const useCssVars: typeof import('vue').useCssVars
|
|
61
|
+
const useId: typeof import('vue').useId
|
|
62
|
+
const useLink: typeof import('vue-router').useLink
|
|
63
|
+
const useModel: typeof import('vue').useModel
|
|
64
|
+
const useRoute: typeof import('vue-router').useRoute
|
|
65
|
+
const useRouter: typeof import('vue-router').useRouter
|
|
66
|
+
const useSlots: typeof import('vue').useSlots
|
|
67
|
+
const useTemplateRef: typeof import('vue').useTemplateRef
|
|
68
|
+
const watch: typeof import('vue').watch
|
|
69
|
+
const watchEffect: typeof import('vue').watchEffect
|
|
70
|
+
const watchPostEffect: typeof import('vue').watchPostEffect
|
|
71
|
+
const watchSyncEffect: typeof import('vue').watchSyncEffect
|
|
72
|
+
}
|
|
73
|
+
// for type re-export
|
|
74
|
+
declare global {
|
|
75
|
+
// @ts-ignore
|
|
76
|
+
export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, ShallowRef, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
|
|
77
|
+
import('vue')
|
|
78
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
// biome-ignore lint: disable
|
|
4
|
+
// oxlint-disable
|
|
5
|
+
// ------
|
|
6
|
+
// Generated by unplugin-vue-components
|
|
7
|
+
// Read more: https://github.com/vuejs/core/pull/3399
|
|
8
|
+
|
|
9
|
+
export {}
|
|
10
|
+
|
|
11
|
+
/* prettier-ignore */
|
|
12
|
+
declare module 'vue' {
|
|
13
|
+
export interface GlobalComponents {
|
|
14
|
+
ElButton: typeof import('element-plus/es')['ElButton']
|
|
15
|
+
ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
|
|
16
|
+
ElDatePicker: typeof import('element-plus/es')['ElDatePicker']
|
|
17
|
+
PlusLayout: typeof import('plus-pro-components/es')['PlusLayout']
|
|
18
|
+
RouterLink: typeof import('vue-router')['RouterLink']
|
|
19
|
+
RouterView: typeof import('vue-router')['RouterView']
|
|
20
|
+
SvgIcon: typeof import('./../components/Icon/svg-icon.vue')['default']
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import presetAttributify from '@unocss/preset-attributify'
|
|
2
|
-
import
|
|
2
|
+
import presetWind4 from '@unocss/preset-wind4'
|
|
3
3
|
import { defineConfig } from 'unocss'
|
|
4
4
|
|
|
5
5
|
export default defineConfig({
|
|
@@ -15,7 +15,7 @@ export default defineConfig({
|
|
|
15
15
|
},
|
|
16
16
|
],
|
|
17
17
|
presets: [
|
|
18
|
-
|
|
18
|
+
presetWind4(),
|
|
19
19
|
presetAttributify(),
|
|
20
20
|
],
|
|
21
21
|
})
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
const treeSelect = ref()
|
|
3
|
-
|
|
4
|
-
const rightComponent = computed(() => {
|
|
5
|
-
return treeSelect.value.right
|
|
6
|
-
})
|
|
7
|
-
</script>
|
|
8
|
-
|
|
9
|
-
<template>
|
|
10
|
-
<div class="index-container" />
|
|
11
|
-
|
|
12
|
-
<el-tree v-model="treeSelect" />
|
|
13
|
-
|
|
14
|
-
<div />
|
|
15
|
-
|
|
16
|
-
<div>
|
|
17
|
-
<component :is="rightComponent" />
|
|
18
|
-
</div>
|
|
19
|
-
</template>
|
|
20
|
-
|
|
21
|
-
<style lang="scss" scoped>
|
|
22
|
-
|
|
23
|
-
</style>
|
|
File without changes
|
|
File without changes
|