create-weapp-vite 2.0.53 → 2.0.57
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/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{src-j_bda7hF.js → src-hBW5b5RM.js} +11 -9
- package/package.json +1 -1
- package/templates/default/package.json +3 -2
- package/templates/default/project.private.config.json +1 -1
- package/templates/default/src/app.json +2 -1
- package/templates/default/src/layouts/admin/index.json +3 -0
- package/templates/default/src/layouts/admin/index.scss +40 -0
- package/templates/default/src/layouts/admin/index.ts +1 -0
- package/templates/default/src/layouts/admin/index.wxml +10 -0
- package/templates/default/src/layouts/default/index.json +3 -0
- package/templates/default/src/layouts/default/index.scss +3 -0
- package/templates/default/src/layouts/default/index.ts +1 -0
- package/templates/default/src/layouts/default/index.wxml +3 -0
- package/templates/default/src/pages/index/index.ts +5 -0
- package/templates/default/src/pages/index/index.wxml +3 -0
- package/templates/default/src/pages/layouts/index.json +4 -0
- package/templates/default/src/pages/layouts/index.scss +68 -0
- package/templates/default/src/pages/layouts/index.ts +42 -0
- package/templates/default/src/pages/layouts/index.wxml +19 -0
- package/templates/default/tsconfig.json +8 -2
- package/templates/lib/package.json +6 -2
- package/templates/lib/project.private.config.json +1 -1
- package/templates/lib/src/app.json +2 -1
- package/templates/lib/src/layouts/admin/index.json +3 -0
- package/templates/lib/src/layouts/admin/index.scss +41 -0
- package/templates/lib/src/layouts/admin/index.ts +1 -0
- package/templates/lib/src/layouts/admin/index.wxml +10 -0
- package/templates/lib/src/layouts/default/index.json +3 -0
- package/templates/lib/src/layouts/default/index.scss +3 -0
- package/templates/lib/src/layouts/default/index.ts +1 -0
- package/templates/lib/src/layouts/default/index.wxml +3 -0
- package/templates/lib/src/pages/index/index.scss +14 -3
- package/templates/lib/src/pages/index/index.ts +5 -0
- package/templates/lib/src/pages/index/index.wxml +6 -0
- package/templates/lib/src/pages/layouts/index.json +4 -0
- package/templates/lib/src/pages/layouts/index.scss +70 -0
- package/templates/lib/src/pages/layouts/index.ts +44 -0
- package/templates/lib/src/pages/layouts/index.wxml +19 -0
- package/templates/lib/tsconfig.json +8 -2
- package/templates/lib/weapp-vite.lib.config.ts +5 -0
- package/templates/tailwindcss/package.json +3 -3
- package/templates/tailwindcss/project.private.config.json +1 -1
- package/templates/tailwindcss/src/app.json +2 -1
- package/templates/tailwindcss/src/layouts/admin/index.json +3 -0
- package/templates/tailwindcss/src/layouts/admin/index.scss +40 -0
- package/templates/tailwindcss/src/layouts/admin/index.ts +1 -0
- package/templates/tailwindcss/src/layouts/admin/index.wxml +10 -0
- package/templates/tailwindcss/src/layouts/default/index.json +3 -0
- package/templates/tailwindcss/src/layouts/default/index.scss +3 -0
- package/templates/tailwindcss/src/layouts/default/index.ts +1 -0
- package/templates/tailwindcss/src/layouts/default/index.wxml +3 -0
- package/templates/tailwindcss/src/pages/index/index.ts +5 -0
- package/templates/tailwindcss/src/pages/index/index.wxml +3 -0
- package/templates/tailwindcss/src/pages/layouts/index.json +4 -0
- package/templates/tailwindcss/src/pages/layouts/index.scss +1 -0
- package/templates/tailwindcss/src/pages/layouts/index.ts +33 -0
- package/templates/tailwindcss/src/pages/layouts/index.wxml +19 -0
- package/templates/tailwindcss/tsconfig.json +8 -2
- package/templates/tdesign/package.json +3 -3
- package/templates/tdesign/project.private.config.json +2 -2
- package/templates/tdesign/src/app.json +2 -1
- package/templates/tdesign/src/layouts/admin/index.json +3 -0
- package/templates/tdesign/src/layouts/admin/index.scss +40 -0
- package/templates/tdesign/src/layouts/admin/index.ts +1 -0
- package/templates/tdesign/src/layouts/admin/index.wxml +10 -0
- package/templates/tdesign/src/layouts/default/index.json +3 -0
- package/templates/tdesign/src/layouts/default/index.scss +3 -0
- package/templates/tdesign/src/layouts/default/index.ts +1 -0
- package/templates/tdesign/src/layouts/default/index.wxml +3 -0
- package/templates/tdesign/src/pages/index/index.ts +5 -0
- package/templates/tdesign/src/pages/index/index.wxml +3 -0
- package/templates/tdesign/src/pages/layouts/index.json +4 -0
- package/templates/tdesign/src/pages/layouts/index.scss +1 -0
- package/templates/tdesign/src/pages/layouts/index.ts +32 -0
- package/templates/tdesign/src/pages/layouts/index.wxml +16 -0
- package/templates/tdesign/tsconfig.json +8 -2
- package/templates/tdesign/vite.config.ts +9 -0
- package/templates/vant/package.json +3 -3
- package/templates/vant/project.private.config.json +1 -1
- package/templates/vant/src/app.json +2 -1
- package/templates/vant/src/layouts/admin/index.json +3 -0
- package/templates/vant/src/layouts/admin/index.scss +40 -0
- package/templates/vant/src/layouts/admin/index.ts +1 -0
- package/templates/vant/src/layouts/admin/index.wxml +10 -0
- package/templates/vant/src/layouts/default/index.json +3 -0
- package/templates/vant/src/layouts/default/index.scss +3 -0
- package/templates/vant/src/layouts/default/index.ts +1 -0
- package/templates/vant/src/layouts/default/index.wxml +3 -0
- package/templates/vant/src/pages/index/index.ts +5 -0
- package/templates/vant/src/pages/index/index.wxml +3 -0
- package/templates/vant/src/pages/layouts/index.json +4 -0
- package/templates/vant/src/pages/layouts/index.scss +3 -0
- package/templates/vant/src/pages/layouts/index.ts +35 -0
- package/templates/vant/src/pages/layouts/index.wxml +17 -0
- package/templates/vant/tsconfig.json +8 -2
- package/templates/vant/vite.config.ts +9 -0
- package/templates/wevu/package.json +4 -3
- package/templates/wevu/project.private.config.json +2 -2
- package/templates/wevu/src/app.vue +7 -7
- package/templates/wevu/src/layouts/admin.vue +73 -0
- package/templates/wevu/src/layouts/default.vue +17 -0
- package/templates/wevu/src/pages/index/index.vue +7 -0
- package/templates/wevu/src/pages/layouts/index.vue +169 -0
- package/templates/wevu/tsconfig.json +8 -2
- package/templates/wevu-tdesign/package.json +4 -4
- package/templates/wevu-tdesign/project.private.config.json +1 -1
- package/templates/wevu-tdesign/src/app.vue +4 -3
- package/templates/wevu-tdesign/src/components/KpiBoard/index.vue +4 -6
- package/templates/wevu-tdesign/src/hooks/useDialog.ts +56 -14
- package/templates/wevu-tdesign/src/hooks/useToast.ts +42 -15
- package/templates/wevu-tdesign/src/layouts/admin.vue +41 -0
- package/templates/wevu-tdesign/src/layouts/default.vue +23 -0
- package/templates/wevu-tdesign/src/pages/ability/index.vue +2 -6
- package/templates/wevu-tdesign/src/pages/form/index.vue +0 -2
- package/templates/wevu-tdesign/src/pages/index/index.vue +12 -4
- package/templates/wevu-tdesign/src/pages/layouts/index.vue +94 -0
- package/templates/wevu-tdesign/src/pages/list/index.vue +0 -2
- package/templates/wevu-tdesign/src/subpackages/lab/index.vue +22 -6
- package/templates/wevu-tdesign/tsconfig.json +8 -2
- package/templates/wevu-tdesign/vite.config.ts +9 -0
- package/templates/default/auto-import-components.json +0 -3
- package/templates/default/src/vite-env.d.ts +0 -1
- package/templates/default/tsconfig.app.json +0 -49
- package/templates/default/tsconfig.node.json +0 -33
- package/templates/lib/auto-import-components.json +0 -3
- package/templates/lib/src/vite-env.d.ts +0 -1
- package/templates/lib/tsconfig.app.json +0 -49
- package/templates/lib/tsconfig.node.json +0 -33
- package/templates/tailwindcss/auto-import-components.json +0 -3
- package/templates/tailwindcss/src/vite-env.d.ts +0 -1
- package/templates/tailwindcss/tsconfig.app.json +0 -49
- package/templates/tailwindcss/tsconfig.node.json +0 -33
- package/templates/tdesign/auto-import-components.json +0 -84
- package/templates/tdesign/src/vite-env.d.ts +0 -1
- package/templates/tdesign/tsconfig.app.json +0 -52
- package/templates/tdesign/tsconfig.node.json +0 -33
- package/templates/vant/auto-import-components.json +0 -71
- package/templates/vant/src/vite-env.d.ts +0 -1
- package/templates/vant/tsconfig.app.json +0 -52
- package/templates/vant/tsconfig.node.json +0 -33
- package/templates/wevu/auto-import-components.json +0 -4
- package/templates/wevu/src/components.d.ts +0 -25
- package/templates/wevu/src/typed-components.d.ts +0 -22
- package/templates/wevu/src/typed-router.d.ts +0 -67
- package/templates/wevu/src/vite-env.d.ts +0 -1
- package/templates/wevu/tsconfig.app.json +0 -51
- package/templates/wevu/tsconfig.node.json +0 -33
- package/templates/wevu-tdesign/auto-import-components.json +0 -84
- package/templates/wevu-tdesign/mini-program.html-data.json +0 -6784
- package/templates/wevu-tdesign/src/components.d.ts +0 -267
- package/templates/wevu-tdesign/src/typed-components.d.ts +0 -955
- package/templates/wevu-tdesign/src/typed-router.d.ts +0 -75
- package/templates/wevu-tdesign/src/vite-env.d.ts +0 -1
- package/templates/wevu-tdesign/tsconfig.app.json +0 -54
- package/templates/wevu-tdesign/tsconfig.node.json +0 -33
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
4
|
-
"target": "ES2023",
|
|
5
|
-
"lib": [
|
|
6
|
-
"ES2023"
|
|
7
|
-
],
|
|
8
|
-
"moduleDetection": "force",
|
|
9
|
-
"module": "ESNext",
|
|
10
|
-
"moduleResolution": "bundler",
|
|
11
|
-
"resolveJsonModule": true,
|
|
12
|
-
"types": [
|
|
13
|
-
"node"
|
|
14
|
-
],
|
|
15
|
-
"allowImportingTsExtensions": true,
|
|
16
|
-
"strict": true,
|
|
17
|
-
"noFallthroughCasesInSwitch": true,
|
|
18
|
-
"noUnusedLocals": true,
|
|
19
|
-
"noUnusedParameters": true,
|
|
20
|
-
"noEmit": true,
|
|
21
|
-
"verbatimModuleSyntax": true,
|
|
22
|
-
"noUncheckedSideEffectImports": true,
|
|
23
|
-
"erasableSyntaxOnly": true,
|
|
24
|
-
"skipLibCheck": true
|
|
25
|
-
},
|
|
26
|
-
"include": [
|
|
27
|
-
"vite.config.ts",
|
|
28
|
-
"vite.config.*.ts",
|
|
29
|
-
"*.config.ts",
|
|
30
|
-
"config/**/*.ts",
|
|
31
|
-
"scripts/**/*.ts"
|
|
32
|
-
]
|
|
33
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/// <reference types="weapp-vite/client" />
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
4
|
-
"target": "ES2023",
|
|
5
|
-
"jsx": "preserve",
|
|
6
|
-
"lib": [
|
|
7
|
-
"ES2023",
|
|
8
|
-
"DOM",
|
|
9
|
-
"DOM.Iterable"
|
|
10
|
-
],
|
|
11
|
-
"moduleDetection": "force",
|
|
12
|
-
"baseUrl": ".",
|
|
13
|
-
"module": "ESNext",
|
|
14
|
-
"moduleResolution": "bundler",
|
|
15
|
-
"paths": {
|
|
16
|
-
"@/*": [
|
|
17
|
-
"./src/*"
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
"resolveJsonModule": true,
|
|
21
|
-
"types": [
|
|
22
|
-
"miniprogram-api-typings"
|
|
23
|
-
],
|
|
24
|
-
"allowImportingTsExtensions": true,
|
|
25
|
-
"allowJs": true,
|
|
26
|
-
"strict": true,
|
|
27
|
-
"noFallthroughCasesInSwitch": true,
|
|
28
|
-
"noUnusedLocals": true,
|
|
29
|
-
"noUnusedParameters": true,
|
|
30
|
-
"noEmit": true,
|
|
31
|
-
"allowSyntheticDefaultImports": true,
|
|
32
|
-
"esModuleInterop": true,
|
|
33
|
-
"isolatedModules": true,
|
|
34
|
-
"verbatimModuleSyntax": true,
|
|
35
|
-
"noUncheckedSideEffectImports": true,
|
|
36
|
-
"erasableSyntaxOnly": true,
|
|
37
|
-
"skipLibCheck": true
|
|
38
|
-
},
|
|
39
|
-
"vueCompilerOptions": {
|
|
40
|
-
"plugins": [
|
|
41
|
-
"weapp-vite/volar"
|
|
42
|
-
]
|
|
43
|
-
},
|
|
44
|
-
"include": [
|
|
45
|
-
"src/**/*",
|
|
46
|
-
"types/**/*.d.ts",
|
|
47
|
-
"env.d.ts"
|
|
48
|
-
]
|
|
49
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
4
|
-
"target": "ES2023",
|
|
5
|
-
"lib": [
|
|
6
|
-
"ES2023"
|
|
7
|
-
],
|
|
8
|
-
"moduleDetection": "force",
|
|
9
|
-
"module": "ESNext",
|
|
10
|
-
"moduleResolution": "bundler",
|
|
11
|
-
"resolveJsonModule": true,
|
|
12
|
-
"types": [
|
|
13
|
-
"node"
|
|
14
|
-
],
|
|
15
|
-
"allowImportingTsExtensions": true,
|
|
16
|
-
"strict": true,
|
|
17
|
-
"noFallthroughCasesInSwitch": true,
|
|
18
|
-
"noUnusedLocals": true,
|
|
19
|
-
"noUnusedParameters": true,
|
|
20
|
-
"noEmit": true,
|
|
21
|
-
"verbatimModuleSyntax": true,
|
|
22
|
-
"noUncheckedSideEffectImports": true,
|
|
23
|
-
"erasableSyntaxOnly": true,
|
|
24
|
-
"skipLibCheck": true
|
|
25
|
-
},
|
|
26
|
-
"include": [
|
|
27
|
-
"vite.config.ts",
|
|
28
|
-
"vite.config.*.ts",
|
|
29
|
-
"*.config.ts",
|
|
30
|
-
"config/**/*.ts",
|
|
31
|
-
"scripts/**/*.ts"
|
|
32
|
-
]
|
|
33
|
-
}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"t-action-sheet": "tdesign-miniprogram/action-sheet/action-sheet",
|
|
3
|
-
"t-avatar": "tdesign-miniprogram/avatar/avatar",
|
|
4
|
-
"t-avatar-group": "tdesign-miniprogram/avatar-group/avatar-group",
|
|
5
|
-
"t-back-top": "tdesign-miniprogram/back-top/back-top",
|
|
6
|
-
"t-badge": "tdesign-miniprogram/badge/badge",
|
|
7
|
-
"t-button": "tdesign-miniprogram/button/button",
|
|
8
|
-
"t-calendar": "tdesign-miniprogram/calendar/calendar",
|
|
9
|
-
"t-cascader": "tdesign-miniprogram/cascader/cascader",
|
|
10
|
-
"t-cell": "tdesign-miniprogram/cell/cell",
|
|
11
|
-
"t-cell-group": "tdesign-miniprogram/cell-group/cell-group",
|
|
12
|
-
"t-check-tag": "tdesign-miniprogram/check-tag/check-tag",
|
|
13
|
-
"t-checkbox": "tdesign-miniprogram/checkbox/checkbox",
|
|
14
|
-
"t-checkbox-group": "tdesign-miniprogram/checkbox-group/checkbox-group",
|
|
15
|
-
"t-col": "tdesign-miniprogram/col/col",
|
|
16
|
-
"t-collapse": "tdesign-miniprogram/collapse/collapse",
|
|
17
|
-
"t-collapse-panel": "tdesign-miniprogram/collapse-panel/collapse-panel",
|
|
18
|
-
"t-color-picker": "tdesign-miniprogram/color-picker/color-picker",
|
|
19
|
-
"t-count-down": "tdesign-miniprogram/count-down/count-down",
|
|
20
|
-
"t-date-time-picker": "tdesign-miniprogram/date-time-picker/date-time-picker",
|
|
21
|
-
"t-dialog": "tdesign-miniprogram/dialog/dialog",
|
|
22
|
-
"t-divider": "tdesign-miniprogram/divider/divider",
|
|
23
|
-
"t-drawer": "tdesign-miniprogram/drawer/drawer",
|
|
24
|
-
"t-dropdown-item": "tdesign-miniprogram/dropdown-item/dropdown-item",
|
|
25
|
-
"t-dropdown-menu": "tdesign-miniprogram/dropdown-menu/dropdown-menu",
|
|
26
|
-
"t-empty": "tdesign-miniprogram/empty/empty",
|
|
27
|
-
"t-fab": "tdesign-miniprogram/fab/fab",
|
|
28
|
-
"t-footer": "tdesign-miniprogram/footer/footer",
|
|
29
|
-
"t-form": "tdesign-miniprogram/form/form",
|
|
30
|
-
"t-form-item": "tdesign-miniprogram/form-item/form-item",
|
|
31
|
-
"t-grid": "tdesign-miniprogram/grid/grid",
|
|
32
|
-
"t-grid-item": "tdesign-miniprogram/grid-item/grid-item",
|
|
33
|
-
"t-guide": "tdesign-miniprogram/guide/guide",
|
|
34
|
-
"t-icon": "tdesign-miniprogram/icon/icon",
|
|
35
|
-
"t-image": "tdesign-miniprogram/image/image",
|
|
36
|
-
"t-image-viewer": "tdesign-miniprogram/image-viewer/image-viewer",
|
|
37
|
-
"t-indexes": "tdesign-miniprogram/indexes/indexes",
|
|
38
|
-
"t-indexes-anchor": "tdesign-miniprogram/indexes-anchor/indexes-anchor",
|
|
39
|
-
"t-input": "tdesign-miniprogram/input/input",
|
|
40
|
-
"t-link": "tdesign-miniprogram/link/link",
|
|
41
|
-
"t-loading": "tdesign-miniprogram/loading/loading",
|
|
42
|
-
"t-message": "tdesign-miniprogram/message/message",
|
|
43
|
-
"t-message-item": "tdesign-miniprogram/message-item/message-item",
|
|
44
|
-
"t-navbar": "tdesign-miniprogram/navbar/navbar",
|
|
45
|
-
"t-notice-bar": "tdesign-miniprogram/notice-bar/notice-bar",
|
|
46
|
-
"t-overlay": "tdesign-miniprogram/overlay/overlay",
|
|
47
|
-
"t-picker": "tdesign-miniprogram/picker/picker",
|
|
48
|
-
"t-picker-item": "tdesign-miniprogram/picker-item/picker-item",
|
|
49
|
-
"t-popover": "tdesign-miniprogram/popover/popover",
|
|
50
|
-
"t-popup": "tdesign-miniprogram/popup/popup",
|
|
51
|
-
"t-progress": "tdesign-miniprogram/progress/progress",
|
|
52
|
-
"t-pull-down-refresh": "tdesign-miniprogram/pull-down-refresh/pull-down-refresh",
|
|
53
|
-
"t-qrcode": "tdesign-miniprogram/qrcode/qrcode",
|
|
54
|
-
"t-radio": "tdesign-miniprogram/radio/radio",
|
|
55
|
-
"t-radio-group": "tdesign-miniprogram/radio-group/radio-group",
|
|
56
|
-
"t-rate": "tdesign-miniprogram/rate/rate",
|
|
57
|
-
"t-result": "tdesign-miniprogram/result/result",
|
|
58
|
-
"t-row": "tdesign-miniprogram/row/row",
|
|
59
|
-
"t-scroll-view": "tdesign-miniprogram/scroll-view/scroll-view",
|
|
60
|
-
"t-search": "tdesign-miniprogram/search/search",
|
|
61
|
-
"t-side-bar": "tdesign-miniprogram/side-bar/side-bar",
|
|
62
|
-
"t-side-bar-item": "tdesign-miniprogram/side-bar-item/side-bar-item",
|
|
63
|
-
"t-skeleton": "tdesign-miniprogram/skeleton/skeleton",
|
|
64
|
-
"t-slider": "tdesign-miniprogram/slider/slider",
|
|
65
|
-
"t-step-item": "tdesign-miniprogram/step-item/step-item",
|
|
66
|
-
"t-stepper": "tdesign-miniprogram/stepper/stepper",
|
|
67
|
-
"t-steps": "tdesign-miniprogram/steps/steps",
|
|
68
|
-
"t-sticky": "tdesign-miniprogram/sticky/sticky",
|
|
69
|
-
"t-swipe-cell": "tdesign-miniprogram/swipe-cell/swipe-cell",
|
|
70
|
-
"t-swiper": "tdesign-miniprogram/swiper/swiper",
|
|
71
|
-
"t-swiper-nav": "tdesign-miniprogram/swiper-nav/swiper-nav",
|
|
72
|
-
"t-switch": "tdesign-miniprogram/switch/switch",
|
|
73
|
-
"t-tab-bar": "tdesign-miniprogram/tab-bar/tab-bar",
|
|
74
|
-
"t-tab-bar-item": "tdesign-miniprogram/tab-bar-item/tab-bar-item",
|
|
75
|
-
"t-tab-panel": "tdesign-miniprogram/tab-panel/tab-panel",
|
|
76
|
-
"t-tabs": "tdesign-miniprogram/tabs/tabs",
|
|
77
|
-
"t-tag": "tdesign-miniprogram/tag/tag",
|
|
78
|
-
"t-textarea": "tdesign-miniprogram/textarea/textarea",
|
|
79
|
-
"t-toast": "tdesign-miniprogram/toast/toast",
|
|
80
|
-
"t-transition": "tdesign-miniprogram/transition/transition",
|
|
81
|
-
"t-tree-select": "tdesign-miniprogram/tree-select/tree-select",
|
|
82
|
-
"t-upload": "tdesign-miniprogram/upload/upload",
|
|
83
|
-
"t-watermark": "tdesign-miniprogram/watermark/watermark"
|
|
84
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/// <reference types="weapp-vite/client" />
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
4
|
-
"target": "ES2023",
|
|
5
|
-
"jsx": "preserve",
|
|
6
|
-
"lib": [
|
|
7
|
-
"ES2023",
|
|
8
|
-
"DOM",
|
|
9
|
-
"DOM.Iterable"
|
|
10
|
-
],
|
|
11
|
-
"moduleDetection": "force",
|
|
12
|
-
"baseUrl": ".",
|
|
13
|
-
"module": "ESNext",
|
|
14
|
-
"moduleResolution": "bundler",
|
|
15
|
-
"paths": {
|
|
16
|
-
"@/*": [
|
|
17
|
-
"./src/*"
|
|
18
|
-
],
|
|
19
|
-
"tdesign-miniprogram/*": [
|
|
20
|
-
"./node_modules/tdesign-miniprogram/miniprogram_dist/*"
|
|
21
|
-
]
|
|
22
|
-
},
|
|
23
|
-
"resolveJsonModule": true,
|
|
24
|
-
"types": [
|
|
25
|
-
"miniprogram-api-typings"
|
|
26
|
-
],
|
|
27
|
-
"allowImportingTsExtensions": true,
|
|
28
|
-
"allowJs": true,
|
|
29
|
-
"strict": true,
|
|
30
|
-
"noFallthroughCasesInSwitch": true,
|
|
31
|
-
"noUnusedLocals": true,
|
|
32
|
-
"noUnusedParameters": true,
|
|
33
|
-
"noEmit": true,
|
|
34
|
-
"allowSyntheticDefaultImports": true,
|
|
35
|
-
"esModuleInterop": true,
|
|
36
|
-
"isolatedModules": true,
|
|
37
|
-
"verbatimModuleSyntax": true,
|
|
38
|
-
"noUncheckedSideEffectImports": true,
|
|
39
|
-
"erasableSyntaxOnly": true,
|
|
40
|
-
"skipLibCheck": true
|
|
41
|
-
},
|
|
42
|
-
"vueCompilerOptions": {
|
|
43
|
-
"plugins": [
|
|
44
|
-
"weapp-vite/volar"
|
|
45
|
-
]
|
|
46
|
-
},
|
|
47
|
-
"include": [
|
|
48
|
-
"src/**/*",
|
|
49
|
-
"types/**/*.d.ts",
|
|
50
|
-
"env.d.ts"
|
|
51
|
-
]
|
|
52
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
4
|
-
"target": "ES2023",
|
|
5
|
-
"lib": [
|
|
6
|
-
"ES2023"
|
|
7
|
-
],
|
|
8
|
-
"moduleDetection": "force",
|
|
9
|
-
"module": "ESNext",
|
|
10
|
-
"moduleResolution": "bundler",
|
|
11
|
-
"resolveJsonModule": true,
|
|
12
|
-
"types": [
|
|
13
|
-
"node"
|
|
14
|
-
],
|
|
15
|
-
"allowImportingTsExtensions": true,
|
|
16
|
-
"strict": true,
|
|
17
|
-
"noFallthroughCasesInSwitch": true,
|
|
18
|
-
"noUnusedLocals": true,
|
|
19
|
-
"noUnusedParameters": true,
|
|
20
|
-
"noEmit": true,
|
|
21
|
-
"verbatimModuleSyntax": true,
|
|
22
|
-
"noUncheckedSideEffectImports": true,
|
|
23
|
-
"erasableSyntaxOnly": true,
|
|
24
|
-
"skipLibCheck": true
|
|
25
|
-
},
|
|
26
|
-
"include": [
|
|
27
|
-
"vite.config.ts",
|
|
28
|
-
"vite.config.*.ts",
|
|
29
|
-
"*.config.ts",
|
|
30
|
-
"config/**/*.ts",
|
|
31
|
-
"scripts/**/*.ts"
|
|
32
|
-
]
|
|
33
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"van-action-sheet": "@vant/weapp/action-sheet",
|
|
3
|
-
"van-area": "@vant/weapp/area",
|
|
4
|
-
"van-button": "@vant/weapp/button",
|
|
5
|
-
"van-calendar": "@vant/weapp/calendar",
|
|
6
|
-
"van-card": "@vant/weapp/card",
|
|
7
|
-
"van-cascader": "@vant/weapp/cascader",
|
|
8
|
-
"van-cell": "@vant/weapp/cell",
|
|
9
|
-
"van-cell-group": "@vant/weapp/cell-group",
|
|
10
|
-
"van-checkbox": "@vant/weapp/checkbox",
|
|
11
|
-
"van-checkbox-group": "@vant/weapp/checkbox-group",
|
|
12
|
-
"van-circle": "@vant/weapp/circle",
|
|
13
|
-
"van-col": "@vant/weapp/col",
|
|
14
|
-
"van-collapse": "@vant/weapp/collapse",
|
|
15
|
-
"van-collapse-item": "@vant/weapp/collapse-item",
|
|
16
|
-
"van-config-provider": "@vant/weapp/config-provider",
|
|
17
|
-
"van-count-down": "@vant/weapp/count-down",
|
|
18
|
-
"van-datetime-picker": "@vant/weapp/datetime-picker",
|
|
19
|
-
"van-definitions": "@vant/weapp/definitions",
|
|
20
|
-
"van-dialog": "@vant/weapp/dialog",
|
|
21
|
-
"van-divider": "@vant/weapp/divider",
|
|
22
|
-
"van-dropdown-item": "@vant/weapp/dropdown-item",
|
|
23
|
-
"van-dropdown-menu": "@vant/weapp/dropdown-menu",
|
|
24
|
-
"van-empty": "@vant/weapp/empty",
|
|
25
|
-
"van-field": "@vant/weapp/field",
|
|
26
|
-
"van-goods-action": "@vant/weapp/goods-action",
|
|
27
|
-
"van-goods-action-button": "@vant/weapp/goods-action-button",
|
|
28
|
-
"van-goods-action-icon": "@vant/weapp/goods-action-icon",
|
|
29
|
-
"van-grid": "@vant/weapp/grid",
|
|
30
|
-
"van-grid-item": "@vant/weapp/grid-item",
|
|
31
|
-
"van-icon": "@vant/weapp/icon",
|
|
32
|
-
"van-image": "@vant/weapp/image",
|
|
33
|
-
"van-index-anchor": "@vant/weapp/index-anchor",
|
|
34
|
-
"van-index-bar": "@vant/weapp/index-bar",
|
|
35
|
-
"van-info": "@vant/weapp/info",
|
|
36
|
-
"van-loading": "@vant/weapp/loading",
|
|
37
|
-
"van-nav-bar": "@vant/weapp/nav-bar",
|
|
38
|
-
"van-notice-bar": "@vant/weapp/notice-bar",
|
|
39
|
-
"van-notify": "@vant/weapp/notify",
|
|
40
|
-
"van-overlay": "@vant/weapp/overlay",
|
|
41
|
-
"van-panel": "@vant/weapp/panel",
|
|
42
|
-
"van-picker": "@vant/weapp/picker",
|
|
43
|
-
"van-picker-column": "@vant/weapp/picker-column",
|
|
44
|
-
"van-popup": "@vant/weapp/popup",
|
|
45
|
-
"van-progress": "@vant/weapp/progress",
|
|
46
|
-
"van-radio": "@vant/weapp/radio",
|
|
47
|
-
"van-radio-group": "@vant/weapp/radio-group",
|
|
48
|
-
"van-rate": "@vant/weapp/rate",
|
|
49
|
-
"van-row": "@vant/weapp/row",
|
|
50
|
-
"van-search": "@vant/weapp/search",
|
|
51
|
-
"van-share-sheet": "@vant/weapp/share-sheet",
|
|
52
|
-
"van-sidebar": "@vant/weapp/sidebar",
|
|
53
|
-
"van-sidebar-item": "@vant/weapp/sidebar-item",
|
|
54
|
-
"van-skeleton": "@vant/weapp/skeleton",
|
|
55
|
-
"van-slider": "@vant/weapp/slider",
|
|
56
|
-
"van-stepper": "@vant/weapp/stepper",
|
|
57
|
-
"van-steps": "@vant/weapp/steps",
|
|
58
|
-
"van-sticky": "@vant/weapp/sticky",
|
|
59
|
-
"van-submit-bar": "@vant/weapp/submit-bar",
|
|
60
|
-
"van-swipe-cell": "@vant/weapp/swipe-cell",
|
|
61
|
-
"van-switch": "@vant/weapp/switch",
|
|
62
|
-
"van-tab": "@vant/weapp/tab",
|
|
63
|
-
"van-tabbar": "@vant/weapp/tabbar",
|
|
64
|
-
"van-tabbar-item": "@vant/weapp/tabbar-item",
|
|
65
|
-
"van-tabs": "@vant/weapp/tabs",
|
|
66
|
-
"van-tag": "@vant/weapp/tag",
|
|
67
|
-
"van-toast": "@vant/weapp/toast",
|
|
68
|
-
"van-transition": "@vant/weapp/transition",
|
|
69
|
-
"van-tree-select": "@vant/weapp/tree-select",
|
|
70
|
-
"van-uploader": "@vant/weapp/uploader"
|
|
71
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/// <reference types="weapp-vite/client" />
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
4
|
-
"target": "ES2023",
|
|
5
|
-
"jsx": "preserve",
|
|
6
|
-
"lib": [
|
|
7
|
-
"ES2023",
|
|
8
|
-
"DOM",
|
|
9
|
-
"DOM.Iterable"
|
|
10
|
-
],
|
|
11
|
-
"moduleDetection": "force",
|
|
12
|
-
"baseUrl": ".",
|
|
13
|
-
"module": "ESNext",
|
|
14
|
-
"moduleResolution": "bundler",
|
|
15
|
-
"paths": {
|
|
16
|
-
"@/*": [
|
|
17
|
-
"./src/*"
|
|
18
|
-
],
|
|
19
|
-
"@vant/weapp/*": [
|
|
20
|
-
"./node_modules/@vant/weapp/dist/*"
|
|
21
|
-
]
|
|
22
|
-
},
|
|
23
|
-
"resolveJsonModule": true,
|
|
24
|
-
"types": [
|
|
25
|
-
"miniprogram-api-typings"
|
|
26
|
-
],
|
|
27
|
-
"allowImportingTsExtensions": true,
|
|
28
|
-
"allowJs": true,
|
|
29
|
-
"strict": true,
|
|
30
|
-
"noFallthroughCasesInSwitch": true,
|
|
31
|
-
"noUnusedLocals": true,
|
|
32
|
-
"noUnusedParameters": true,
|
|
33
|
-
"noEmit": true,
|
|
34
|
-
"allowSyntheticDefaultImports": true,
|
|
35
|
-
"esModuleInterop": true,
|
|
36
|
-
"isolatedModules": true,
|
|
37
|
-
"verbatimModuleSyntax": true,
|
|
38
|
-
"noUncheckedSideEffectImports": true,
|
|
39
|
-
"erasableSyntaxOnly": true,
|
|
40
|
-
"skipLibCheck": true
|
|
41
|
-
},
|
|
42
|
-
"vueCompilerOptions": {
|
|
43
|
-
"plugins": [
|
|
44
|
-
"weapp-vite/volar"
|
|
45
|
-
]
|
|
46
|
-
},
|
|
47
|
-
"include": [
|
|
48
|
-
"src/**/*",
|
|
49
|
-
"types/**/*.d.ts",
|
|
50
|
-
"env.d.ts"
|
|
51
|
-
]
|
|
52
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
4
|
-
"target": "ES2023",
|
|
5
|
-
"lib": [
|
|
6
|
-
"ES2023"
|
|
7
|
-
],
|
|
8
|
-
"moduleDetection": "force",
|
|
9
|
-
"module": "ESNext",
|
|
10
|
-
"moduleResolution": "bundler",
|
|
11
|
-
"resolveJsonModule": true,
|
|
12
|
-
"types": [
|
|
13
|
-
"node"
|
|
14
|
-
],
|
|
15
|
-
"allowImportingTsExtensions": true,
|
|
16
|
-
"strict": true,
|
|
17
|
-
"noFallthroughCasesInSwitch": true,
|
|
18
|
-
"noUnusedLocals": true,
|
|
19
|
-
"noUnusedParameters": true,
|
|
20
|
-
"noEmit": true,
|
|
21
|
-
"verbatimModuleSyntax": true,
|
|
22
|
-
"noUncheckedSideEffectImports": true,
|
|
23
|
-
"erasableSyntaxOnly": true,
|
|
24
|
-
"skipLibCheck": true
|
|
25
|
-
},
|
|
26
|
-
"include": [
|
|
27
|
-
"vite.config.ts",
|
|
28
|
-
"vite.config.*.ts",
|
|
29
|
-
"*.config.ts",
|
|
30
|
-
"config/**/*.ts",
|
|
31
|
-
"scripts/**/*.ts"
|
|
32
|
-
]
|
|
33
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// biome-ignore lint: disable
|
|
3
|
-
// oxlint-disable
|
|
4
|
-
// ------
|
|
5
|
-
// 由 weapp-vite autoImportComponents 生成
|
|
6
|
-
import type { ComponentOptionsMixin, DefineComponent, PublicProps } from 'wevu'
|
|
7
|
-
import type { ComponentProp } from 'weapp-vite/typed-components'
|
|
8
|
-
|
|
9
|
-
export {}
|
|
10
|
-
|
|
11
|
-
type WeappComponent<Props = Record<string, any>> = new (...args: any[]) => InstanceType<DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Props, {}>>
|
|
12
|
-
type __WeappComponentImport<TModule, Fallback = {}> = 0 extends 1 & TModule ? Fallback : TModule extends { default: infer Component } ? Component & Fallback : Fallback
|
|
13
|
-
|
|
14
|
-
declare module 'wevu' {
|
|
15
|
-
export interface GlobalComponents {
|
|
16
|
-
InfoPanel: typeof import("./components/InfoPanel/index.vue")['default'];
|
|
17
|
-
StatusPill: typeof import("./components/StatusPill/index.vue")['default'];
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
// 用于 TSX 支持
|
|
22
|
-
declare global {
|
|
23
|
-
const InfoPanel: typeof import("./components/InfoPanel/index.vue")['default']
|
|
24
|
-
const StatusPill: typeof import("./components/StatusPill/index.vue")['default']
|
|
25
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
// biome-ignore lint: disable
|
|
4
|
-
// oxlint-disable
|
|
5
|
-
// ------
|
|
6
|
-
// 由 weapp-vite 自动生成,请勿编辑。
|
|
7
|
-
declare module 'weapp-vite/typed-components' {
|
|
8
|
-
export interface ComponentProps {
|
|
9
|
-
InfoPanel: {
|
|
10
|
-
readonly description?: string;
|
|
11
|
-
readonly eyebrow?: string;
|
|
12
|
-
readonly title?: string;
|
|
13
|
-
};
|
|
14
|
-
StatusPill: {
|
|
15
|
-
readonly label?: string;
|
|
16
|
-
readonly tone?: string;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
export type ComponentPropName = keyof ComponentProps;
|
|
20
|
-
export type ComponentProp<Name extends string> = Name extends ComponentPropName ? ComponentProps[Name] : Record<string, any>;
|
|
21
|
-
export const componentProps: ComponentProps;
|
|
22
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// biome-ignore lint: disable
|
|
3
|
-
// oxlint-disable
|
|
4
|
-
// ------
|
|
5
|
-
// 由 weapp-vite 自动生成,请勿编辑。
|
|
6
|
-
import 'wevu/router';
|
|
7
|
-
|
|
8
|
-
declare module 'weapp-vite/auto-routes' {
|
|
9
|
-
export type AutoRoutesPages = [
|
|
10
|
-
"pages/index/index",
|
|
11
|
-
"pages/overview/index"
|
|
12
|
-
];
|
|
13
|
-
export type AutoRoutesEntries = [
|
|
14
|
-
"pages/index/index",
|
|
15
|
-
"packageA/pages/workspace/index",
|
|
16
|
-
"packageB/pages/settings/index",
|
|
17
|
-
"pages/overview/index"
|
|
18
|
-
];
|
|
19
|
-
export type AutoRoutesSubPackages = [
|
|
20
|
-
{
|
|
21
|
-
readonly root: "packageA";
|
|
22
|
-
readonly pages: [
|
|
23
|
-
"pages/workspace/index"
|
|
24
|
-
];
|
|
25
|
-
[k: string]: unknown;
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
readonly root: "packageB";
|
|
29
|
-
readonly pages: [
|
|
30
|
-
"pages/settings/index"
|
|
31
|
-
];
|
|
32
|
-
[k: string]: unknown;
|
|
33
|
-
}
|
|
34
|
-
];
|
|
35
|
-
export type AutoRoutesSubPackage = AutoRoutesSubPackages[number];
|
|
36
|
-
export interface AutoRoutes {
|
|
37
|
-
readonly pages: AutoRoutesPages;
|
|
38
|
-
readonly entries: AutoRoutesEntries;
|
|
39
|
-
readonly subPackages: AutoRoutesSubPackages;
|
|
40
|
-
}
|
|
41
|
-
export type AutoRouteEntry = AutoRoutesEntries[number];
|
|
42
|
-
export type AutoRoutesRelativeUrl = `./${string}` | `../${string}`;
|
|
43
|
-
export type AutoRoutesAbsoluteUrl<Path extends string> = Path | `/${Path}` | `${Path}?${string}` | `/${Path}?${string}`;
|
|
44
|
-
export type AutoRoutesUrl = AutoRoutesAbsoluteUrl<AutoRouteEntry> | AutoRoutesRelativeUrl;
|
|
45
|
-
export type AutoRouteNavigateOption = {
|
|
46
|
-
readonly url: AutoRoutesUrl;
|
|
47
|
-
} & Record<string, any>;
|
|
48
|
-
export interface AutoRoutesWxRouter {
|
|
49
|
-
switchTab: (option: AutoRouteNavigateOption) => unknown;
|
|
50
|
-
reLaunch: (option: AutoRouteNavigateOption) => unknown;
|
|
51
|
-
redirectTo: (option: AutoRouteNavigateOption) => unknown;
|
|
52
|
-
navigateTo: (option: AutoRouteNavigateOption) => unknown;
|
|
53
|
-
navigateBack: (option?: Record<string, any>) => unknown;
|
|
54
|
-
}
|
|
55
|
-
export const routes: AutoRoutes;
|
|
56
|
-
export const pages: AutoRoutesPages;
|
|
57
|
-
export const entries: AutoRoutesEntries;
|
|
58
|
-
export const subPackages: AutoRoutesSubPackages;
|
|
59
|
-
export const wxRouter: AutoRoutesWxRouter;
|
|
60
|
-
export default routes;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
declare module 'wevu/router' {
|
|
64
|
-
interface WevuTypedRouterRouteMap {
|
|
65
|
-
entries: import('weapp-vite/auto-routes').AutoRoutesEntries[number];
|
|
66
|
-
}
|
|
67
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/// <reference types="weapp-vite/client" />
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
4
|
-
"target": "ES2023",
|
|
5
|
-
"jsx": "preserve",
|
|
6
|
-
"lib": [
|
|
7
|
-
"ES2023",
|
|
8
|
-
"DOM",
|
|
9
|
-
"DOM.Iterable"
|
|
10
|
-
],
|
|
11
|
-
"moduleDetection": "force",
|
|
12
|
-
"baseUrl": ".",
|
|
13
|
-
"module": "ESNext",
|
|
14
|
-
"moduleResolution": "bundler",
|
|
15
|
-
"paths": {
|
|
16
|
-
"@/*": [
|
|
17
|
-
"./src/*"
|
|
18
|
-
],
|
|
19
|
-
"weapp-vite/typed-components": [
|
|
20
|
-
"./src/typed-components.d.ts"
|
|
21
|
-
]
|
|
22
|
-
},
|
|
23
|
-
"resolveJsonModule": true,
|
|
24
|
-
"types": [
|
|
25
|
-
"miniprogram-api-typings"
|
|
26
|
-
],
|
|
27
|
-
"allowImportingTsExtensions": true,
|
|
28
|
-
"allowJs": true,
|
|
29
|
-
"strict": true,
|
|
30
|
-
"noFallthroughCasesInSwitch": true,
|
|
31
|
-
"noUnusedLocals": true,
|
|
32
|
-
"noUnusedParameters": true,
|
|
33
|
-
"noEmit": true,
|
|
34
|
-
"allowSyntheticDefaultImports": true,
|
|
35
|
-
"esModuleInterop": true,
|
|
36
|
-
"isolatedModules": true,
|
|
37
|
-
"verbatimModuleSyntax": true,
|
|
38
|
-
"noUncheckedSideEffectImports": true,
|
|
39
|
-
"erasableSyntaxOnly": true,
|
|
40
|
-
"skipLibCheck": true
|
|
41
|
-
},
|
|
42
|
-
"vueCompilerOptions": {
|
|
43
|
-
"plugins": [
|
|
44
|
-
"weapp-vite/volar"
|
|
45
|
-
],
|
|
46
|
-
"lib": "wevu"
|
|
47
|
-
},
|
|
48
|
-
"include": [
|
|
49
|
-
"src/**/*"
|
|
50
|
-
]
|
|
51
|
-
}
|