Commit e2c7ea8a74240adb92b8ca5adfe244f1f280406e

Authored by xingyu
1 parent 8c4bc638

feat: add auto imports

yudao-ui-admin-vue3/.eslintrc-auto-import.json 0 → 100644
  1 +{
  2 + "globals": {
  3 + "EffectScope": true,
  4 + "ElMessage": true,
  5 + "ElMessageBox": true,
  6 + "ElTag": true,
  7 + "asyncComputed": true,
  8 + "autoResetRef": true,
  9 + "computed": true,
  10 + "computedAsync": true,
  11 + "computedEager": true,
  12 + "computedInject": true,
  13 + "computedWithControl": true,
  14 + "controlledComputed": true,
  15 + "controlledRef": true,
  16 + "createApp": true,
  17 + "createEventHook": true,
  18 + "createGlobalState": true,
  19 + "createInjectionState": true,
  20 + "createReactiveFn": true,
  21 + "createSharedComposable": true,
  22 + "createUnrefFn": true,
  23 + "customRef": true,
  24 + "debouncedRef": true,
  25 + "debouncedWatch": true,
  26 + "defineAsyncComponent": true,
  27 + "defineComponent": true,
  28 + "eagerComputed": true,
  29 + "effectScope": true,
  30 + "extendRef": true,
  31 + "getCurrentInstance": true,
  32 + "getCurrentScope": true,
  33 + "h": true,
  34 + "ignorableWatch": true,
  35 + "inject": true,
  36 + "isDefined": true,
  37 + "isProxy": true,
  38 + "isReactive": true,
  39 + "isReadonly": true,
  40 + "isRef": true,
  41 + "makeDestructurable": true,
  42 + "markRaw": true,
  43 + "nextTick": true,
  44 + "onActivated": true,
  45 + "onBeforeMount": true,
  46 + "onBeforeUnmount": true,
  47 + "onBeforeUpdate": true,
  48 + "onClickOutside": true,
  49 + "onDeactivated": true,
  50 + "onErrorCaptured": true,
  51 + "onKeyStroke": true,
  52 + "onLongPress": true,
  53 + "onMounted": true,
  54 + "onRenderTracked": true,
  55 + "onRenderTriggered": true,
  56 + "onScopeDispose": true,
  57 + "onServerPrefetch": true,
  58 + "onStartTyping": true,
  59 + "onUnmounted": true,
  60 + "onUpdated": true,
  61 + "pausableWatch": true,
  62 + "provide": true,
  63 + "reactify": true,
  64 + "reactifyObject": true,
  65 + "reactive": true,
  66 + "reactiveComputed": true,
  67 + "reactiveOmit": true,
  68 + "reactivePick": true,
  69 + "readonly": true,
  70 + "ref": true,
  71 + "refAutoReset": true,
  72 + "refDebounced": true,
  73 + "refDefault": true,
  74 + "refThrottled": true,
  75 + "refWithControl": true,
  76 + "resolveComponent": true,
  77 + "resolveRef": true,
  78 + "resolveUnref": true,
  79 + "shallowReactive": true,
  80 + "shallowReadonly": true,
  81 + "shallowRef": true,
  82 + "syncRef": true,
  83 + "syncRefs": true,
  84 + "templateRef": true,
  85 + "throttledRef": true,
  86 + "throttledWatch": true,
  87 + "toRaw": true,
  88 + "toReactive": true,
  89 + "toRef": true,
  90 + "toRefs": true,
  91 + "triggerRef": true,
  92 + "tryOnBeforeMount": true,
  93 + "tryOnBeforeUnmount": true,
  94 + "tryOnMounted": true,
  95 + "tryOnScopeDispose": true,
  96 + "tryOnUnmounted": true,
  97 + "unref": true,
  98 + "unrefElement": true,
  99 + "until": true,
  100 + "useActiveElement": true,
  101 + "useArrayEvery": true,
  102 + "useArrayFilter": true,
  103 + "useArrayFind": true,
  104 + "useArrayFindIndex": true,
  105 + "useArrayJoin": true,
  106 + "useArrayMap": true,
  107 + "useArrayReduce": true,
  108 + "useArraySome": true,
  109 + "useAsyncQueue": true,
  110 + "useAsyncState": true,
  111 + "useAttrs": true,
  112 + "useBase64": true,
  113 + "useBattery": true,
  114 + "useBluetooth": true,
  115 + "useBreakpoints": true,
  116 + "useBroadcastChannel": true,
  117 + "useBrowserLocation": true,
  118 + "useCached": true,
  119 + "useClipboard": true,
  120 + "useColorMode": true,
  121 + "useConfirmDialog": true,
  122 + "useCounter": true,
  123 + "useCssModule": true,
  124 + "useCssVar": true,
  125 + "useCssVars": true,
  126 + "useCurrentElement": true,
  127 + "useCycleList": true,
  128 + "useDark": true,
  129 + "useDateFormat": true,
  130 + "useDebounce": true,
  131 + "useDebounceFn": true,
  132 + "useDebouncedRefHistory": true,
  133 + "useDeviceMotion": true,
  134 + "useDeviceOrientation": true,
  135 + "useDevicePixelRatio": true,
  136 + "useDevicesList": true,
  137 + "useDisplayMedia": true,
  138 + "useDocumentVisibility": true,
  139 + "useDraggable": true,
  140 + "useDropZone": true,
  141 + "useElementBounding": true,
  142 + "useElementByPoint": true,
  143 + "useElementHover": true,
  144 + "useElementSize": true,
  145 + "useElementVisibility": true,
  146 + "useEventBus": true,
  147 + "useEventListener": true,
  148 + "useEventSource": true,
  149 + "useEyeDropper": true,
  150 + "useFavicon": true,
  151 + "useFetch": true,
  152 + "useFileDialog": true,
  153 + "useFileSystemAccess": true,
  154 + "useFocus": true,
  155 + "useFocusWithin": true,
  156 + "useFps": true,
  157 + "useFullscreen": true,
  158 + "useGamepad": true,
  159 + "useGeolocation": true,
  160 + "useIdle": true,
  161 + "useImage": true,
  162 + "useInfiniteScroll": true,
  163 + "useIntersectionObserver": true,
  164 + "useInterval": true,
  165 + "useIntervalFn": true,
  166 + "useKeyModifier": true,
  167 + "useLastChanged": true,
  168 + "useLocalStorage": true,
  169 + "useMagicKeys": true,
  170 + "useManualRefHistory": true,
  171 + "useMediaControls": true,
  172 + "useMediaQuery": true,
  173 + "useMemoize": true,
  174 + "useMemory": true,
  175 + "useMounted": true,
  176 + "useMouse": true,
  177 + "useMouseInElement": true,
  178 + "useMousePressed": true,
  179 + "useMutationObserver": true,
  180 + "useNavigatorLanguage": true,
  181 + "useNetwork": true,
  182 + "useNow": true,
  183 + "useObjectUrl": true,
  184 + "useOffsetPagination": true,
  185 + "useOnline": true,
  186 + "usePageLeave": true,
  187 + "useParallax": true,
  188 + "usePermission": true,
  189 + "usePointer": true,
  190 + "usePointerSwipe": true,
  191 + "usePreferredColorScheme": true,
  192 + "usePreferredDark": true,
  193 + "usePreferredLanguages": true,
  194 + "useRafFn": true,
  195 + "useRefHistory": true,
  196 + "useResizeObserver": true,
  197 + "useRoute": true,
  198 + "useRouter": true,
  199 + "useScreenOrientation": true,
  200 + "useScreenSafeArea": true,
  201 + "useScriptTag": true,
  202 + "useScroll": true,
  203 + "useScrollLock": true,
  204 + "useSessionStorage": true,
  205 + "useShare": true,
  206 + "useSlots": true,
  207 + "useSpeechRecognition": true,
  208 + "useSpeechSynthesis": true,
  209 + "useStepper": true,
  210 + "useStorage": true,
  211 + "useStorageAsync": true,
  212 + "useStyleTag": true,
  213 + "useSupported": true,
  214 + "useSwipe": true,
  215 + "useTemplateRefsList": true,
  216 + "useTextDirection": true,
  217 + "useTextSelection": true,
  218 + "useTextareaAutosize": true,
  219 + "useThrottle": true,
  220 + "useThrottleFn": true,
  221 + "useThrottledRefHistory": true,
  222 + "useTimeAgo": true,
  223 + "useTimeout": true,
  224 + "useTimeoutFn": true,
  225 + "useTimeoutPoll": true,
  226 + "useTimestamp": true,
  227 + "useTitle": true,
  228 + "useToggle": true,
  229 + "useTransition": true,
  230 + "useUrlSearchParams": true,
  231 + "useUserMedia": true,
  232 + "useVModel": true,
  233 + "useVModels": true,
  234 + "useVibrate": true,
  235 + "useVirtualList": true,
  236 + "useWakeLock": true,
  237 + "useWebNotification": true,
  238 + "useWebSocket": true,
  239 + "useWebWorker": true,
  240 + "useWebWorkerFn": true,
  241 + "useWindowFocus": true,
  242 + "useWindowScroll": true,
  243 + "useWindowSize": true,
  244 + "watch": true,
  245 + "watchArray": true,
  246 + "watchAtMost": true,
  247 + "watchDebounced": true,
  248 + "watchEffect": true,
  249 + "watchIgnorable": true,
  250 + "watchOnce": true,
  251 + "watchPausable": true,
  252 + "watchPostEffect": true,
  253 + "watchSyncEffect": true,
  254 + "watchThrottled": true,
  255 + "watchTriggerable": true,
  256 + "watchWithFilter": true,
  257 + "whenever": true
  258 + }
  259 +}
yudao-ui-admin-vue3/.eslintrc.js
@@ -21,7 +21,8 @@ module.exports = defineConfig({ @@ -21,7 +21,8 @@ module.exports = defineConfig({
21 'plugin:vue/vue3-recommended', 21 'plugin:vue/vue3-recommended',
22 'plugin:@typescript-eslint/recommended', 22 'plugin:@typescript-eslint/recommended',
23 'prettier', 23 'prettier',
24 - 'plugin:prettier/recommended' 24 + 'plugin:prettier/recommended',
  25 + './.eslintrc-auto-import.json'
25 ], 26 ],
26 rules: { 27 rules: {
27 'vue/script-setup-uses-vars': 'error', 28 'vue/script-setup-uses-vars': 'error',
yudao-ui-admin-vue3/build/vite/index.ts
@@ -6,6 +6,9 @@ import progress from 'vite-plugin-progress' @@ -6,6 +6,9 @@ import progress from 'vite-plugin-progress'
6 import EslintPlugin from 'vite-plugin-eslint' 6 import EslintPlugin from 'vite-plugin-eslint'
7 import PurgeIcons from 'vite-plugin-purge-icons' 7 import PurgeIcons from 'vite-plugin-purge-icons'
8 import { ViteEjsPlugin } from 'vite-plugin-ejs' 8 import { ViteEjsPlugin } from 'vite-plugin-ejs'
  9 +import AutoImport from 'unplugin-auto-import/vite'
  10 +import Components from 'unplugin-vue-components/vite'
  11 +import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
9 import viteCompression from 'vite-plugin-compression' 12 import viteCompression from 'vite-plugin-compression'
10 import vueSetupExtend from 'vite-plugin-vue-setup-extend' 13 import vueSetupExtend from 'vite-plugin-vue-setup-extend'
11 import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite' 14 import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite'
@@ -28,6 +31,30 @@ export function createVitePlugins(VITE_APP_TITLE: string) { @@ -28,6 +31,30 @@ export function createVitePlugins(VITE_APP_TITLE: string) {
28 progress(), 31 progress(),
29 PurgeIcons(), 32 PurgeIcons(),
30 vueSetupExtend(), 33 vueSetupExtend(),
  34 + AutoImport({
  35 + imports: ['vue', 'vue-router', '@vueuse/core'],
  36 + dts: 'src/types/auto-imports.d.ts',
  37 + resolvers: [ElementPlusResolver()],
  38 + eslintrc: {
  39 + enabled: false, // Default `false`
  40 + filepath: './.eslintrc-auto-import.json', // Default `./.eslintrc-auto-import.json`
  41 + globalsPropValue: true // Default `true`, (true | false | 'readonly' | 'readable' | 'writable' | 'writeable')
  42 + }
  43 + }),
  44 + Components({
  45 + // 要搜索组件的目录的相对路径
  46 + dirs: ['src/components'],
  47 + // 组件的有效文件扩展名
  48 + extensions: ['vue', 'md'],
  49 + // 搜索子目录
  50 + deep: true,
  51 + include: [/\.vue$/, /\.vue\?vue/],
  52 + // 生成自定义 `auto-components.d.ts` 全局声明
  53 + dts: 'src/types/auto-components.d.ts',
  54 + // 自定义组件的解析器
  55 + resolvers: [ElementPlusResolver()],
  56 + exclude: [/[\\/]node_modules[\\/]/]
  57 + }),
31 createStyleImportPlugin({ 58 createStyleImportPlugin({
32 resolves: [ElementPlusResolve(), VxeTableResolve()], 59 resolves: [ElementPlusResolve(), VxeTableResolve()],
33 libs: [ 60 libs: [
yudao-ui-admin-vue3/package.json
1 { 1 {
2 "name": "yudao-ui-admin-vue3", 2 "name": "yudao-ui-admin-vue3",
3 - "version": "1.6.6-snapshot.1922", 3 + "version": "1.6.6-snapshot.1923",
4 "description": "基于vue3、vite4、element-plus、typesScript", 4 "description": "基于vue3、vite4、element-plus、typesScript",
5 "author": "xingyu", 5 "author": "xingyu",
6 "private": false, 6 "private": false,
@@ -94,6 +94,8 @@ @@ -94,6 +94,8 @@
94 "stylelint-order": "^6.0.1", 94 "stylelint-order": "^6.0.1",
95 "terser": "^5.16.1", 95 "terser": "^5.16.1",
96 "typescript": "4.9.4", 96 "typescript": "4.9.4",
  97 + "unplugin-auto-import": "^0.12.1",
  98 + "unplugin-vue-components": "^0.22.12",
97 "vite": "4.0.4", 99 "vite": "4.0.4",
98 "vite-plugin-compression": "^0.5.1", 100 "vite-plugin-compression": "^0.5.1",
99 "vite-plugin-ejs": "^1.6.4", 101 "vite-plugin-ejs": "^1.6.4",
yudao-ui-admin-vue3/pnpm-lock.yaml
@@ -61,6 +61,8 @@ specifiers: @@ -61,6 +61,8 @@ specifiers:
61 stylelint-order: ^6.0.1 61 stylelint-order: ^6.0.1
62 terser: ^5.16.1 62 terser: ^5.16.1
63 typescript: 4.9.4 63 typescript: 4.9.4
  64 + unplugin-auto-import: ^0.12.1
  65 + unplugin-vue-components: ^0.22.12
64 url: ^0.11.0 66 url: ^0.11.0
65 vite: 4.0.4 67 vite: 4.0.4
66 vite-plugin-compression: ^0.5.1 68 vite-plugin-compression: ^0.5.1
@@ -153,6 +155,8 @@ devDependencies: @@ -153,6 +155,8 @@ devDependencies:
153 stylelint-order: 6.0.1_stylelint@14.16.1 155 stylelint-order: 6.0.1_stylelint@14.16.1
154 terser: 5.16.1 156 terser: 5.16.1
155 typescript: 4.9.4 157 typescript: 4.9.4
  158 + unplugin-auto-import: 0.12.1_gyxbveewukbcvt3zzy7ycqctbe
  159 + unplugin-vue-components: 0.22.12_rollup@3.10.0+vue@3.2.45
156 vite: 4.0.4_zxbrnrc4iyldik6mikh3pswz4i 160 vite: 4.0.4_zxbrnrc4iyldik6mikh3pswz4i
157 vite-plugin-compression: 0.5.1_vite@4.0.4 161 vite-plugin-compression: 0.5.1_vite@4.0.4
158 vite-plugin-ejs: 1.6.4 162 vite-plugin-ejs: 1.6.4
@@ -177,7 +181,7 @@ packages: @@ -177,7 +181,7 @@ packages:
177 dev: true 181 dev: true
178 182
179 /@antfu/utils/0.7.2: 183 /@antfu/utils/0.7.2:
180 - resolution: {integrity: sha512-vy9fM3pIxZmX07dL+VX1aZe7ynZ+YyB0jY+jE6r3hOK6GNY2t6W8rzpFC4tgpbXUYABkFQwgJq2XYXlxbXAI0g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npm.taobao.org/@antfu/utils/-/utils-0.7.2.tgz} 184 + resolution: {integrity: sha512-vy9fM3pIxZmX07dL+VX1aZe7ynZ+YyB0jY+jE6r3hOK6GNY2t6W8rzpFC4tgpbXUYABkFQwgJq2XYXlxbXAI0g==}
181 dev: true 185 dev: true
182 186
183 /@babel/code-frame/7.18.6: 187 /@babel/code-frame/7.18.6:
@@ -1171,6 +1175,21 @@ packages: @@ -1171,6 +1175,21 @@ packages:
1171 picomatch: 2.3.1 1175 picomatch: 2.3.1
1172 dev: true 1176 dev: true
1173 1177
  1178 + /@rollup/pluginutils/5.0.2_rollup@3.10.0:
  1179 + resolution: {integrity: sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==}
  1180 + engines: {node: '>=14.0.0'}
  1181 + peerDependencies:
  1182 + rollup: ^1.20.0||^2.0.0||^3.0.0
  1183 + peerDependenciesMeta:
  1184 + rollup:
  1185 + optional: true
  1186 + dependencies:
  1187 + '@types/estree': 1.0.0
  1188 + estree-walker: 2.0.2
  1189 + picomatch: 2.3.1
  1190 + rollup: 3.10.0
  1191 + dev: true
  1192 +
1174 /@sxzz/popperjs-es/2.11.7: 1193 /@sxzz/popperjs-es/2.11.7:
1175 resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} 1194 resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==}
1176 dev: false 1195 dev: false
@@ -1277,7 +1296,6 @@ packages: @@ -1277,7 +1296,6 @@ packages:
1277 1296
1278 /@types/web-bluetooth/0.0.16: 1297 /@types/web-bluetooth/0.0.16:
1279 resolution: {integrity: sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ==} 1298 resolution: {integrity: sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ==}
1280 - dev: false  
1281 1299
1282 /@typescript-eslint/eslint-plugin/5.48.2_caon6io6stgpr7lz2rtbhekxqy: 1300 /@typescript-eslint/eslint-plugin/5.48.2_caon6io6stgpr7lz2rtbhekxqy:
1283 resolution: {integrity: sha512-sR0Gja9Ky1teIq4qJOl0nC+Tk64/uYdX+mi+5iB//MH8gwyx8e3SOyhEzeLZEFEEfCaLf8KJq+Bd/6je1t+CAg==} 1301 resolution: {integrity: sha512-sR0Gja9Ky1teIq4qJOl0nC+Tk64/uYdX+mi+5iB//MH8gwyx8e3SOyhEzeLZEFEEfCaLf8KJq+Bd/6je1t+CAg==}
@@ -1638,11 +1656,9 @@ packages: @@ -1638,11 +1656,9 @@ packages:
1638 transitivePeerDependencies: 1656 transitivePeerDependencies:
1639 - '@vue/composition-api' 1657 - '@vue/composition-api'
1640 - vue 1658 - vue
1641 - dev: false  
1642 1659
1643 /@vueuse/metadata/9.10.0: 1660 /@vueuse/metadata/9.10.0:
1644 resolution: {integrity: sha512-G5VZhgTCapzU9rv0Iq2HBrVOSGzOKb+OE668NxhXNcTjUjwYxULkEhAw70FtRLMZc+hxcFAzDZlKYA0xcwNMuw==} 1661 resolution: {integrity: sha512-G5VZhgTCapzU9rv0Iq2HBrVOSGzOKb+OE668NxhXNcTjUjwYxULkEhAw70FtRLMZc+hxcFAzDZlKYA0xcwNMuw==}
1645 - dev: false  
1646 1662
1647 /@vueuse/shared/9.10.0_vue@3.2.45: 1663 /@vueuse/shared/9.10.0_vue@3.2.45:
1648 resolution: {integrity: sha512-vakHJ2ZRklAzqmcVBL38RS7BxdBA4+5poG9NsSyqJxrt9kz0zX3P5CXMy0Hm6LFbZXUgvKdqAS3pUH1zX/5qTQ==} 1664 resolution: {integrity: sha512-vakHJ2ZRklAzqmcVBL38RS7BxdBA4+5poG9NsSyqJxrt9kz0zX3P5CXMy0Hm6LFbZXUgvKdqAS3pUH1zX/5qTQ==}
@@ -1651,7 +1667,6 @@ packages: @@ -1651,7 +1667,6 @@ packages:
1651 transitivePeerDependencies: 1667 transitivePeerDependencies:
1652 - '@vue/composition-api' 1668 - '@vue/composition-api'
1653 - vue 1669 - vue
1654 - dev: false  
1655 1670
1656 /@wangeditor/basic-modules/1.1.7_j7icpicfeimtkldwmemjnpdjs4: 1671 /@wangeditor/basic-modules/1.1.7_j7icpicfeimtkldwmemjnpdjs4:
1657 resolution: {integrity: sha512-cY9CPkLJaqF05STqfpZKWG4LpxTMeGSIIF1fHvfm/mz+JXatCagjdkbxdikOuKYlxDdeqvOeBmsUBItufDLXZg==} 1672 resolution: {integrity: sha512-cY9CPkLJaqF05STqfpZKWG4LpxTMeGSIIF1fHvfm/mz+JXatCagjdkbxdikOuKYlxDdeqvOeBmsUBItufDLXZg==}
@@ -2998,6 +3013,11 @@ packages: @@ -2998,6 +3013,11 @@ packages:
2998 engines: {node: '>=10'} 3013 engines: {node: '>=10'}
2999 dev: true 3014 dev: true
3000 3015
  3016 + /escape-string-regexp/5.0.0:
  3017 + resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==}
  3018 + engines: {node: '>=12'}
  3019 + dev: true
  3020 +
3001 /eslint-config-prettier/8.6.0_eslint@8.32.0: 3021 /eslint-config-prettier/8.6.0_eslint@8.32.0:
3002 resolution: {integrity: sha512-bAF0eLpLVqP5oEVUFKpMA+NnRFICwn9X8B5jrR9FcqnYBuPbqWEjTEspPWMj5ye6czoSLDweCzSo3Ko7gGrZaA==} 3022 resolution: {integrity: sha512-bAF0eLpLVqP5oEVUFKpMA+NnRFICwn9X8B5jrR9FcqnYBuPbqWEjTEspPWMj5ye6czoSLDweCzSo3Ko7gGrZaA==}
3003 hasBin: true 3023 hasBin: true
@@ -4047,6 +4067,10 @@ packages: @@ -4047,6 +4067,10 @@ packages:
4047 semver: 6.3.0 4067 semver: 6.3.0
4048 dev: true 4068 dev: true
4049 4069
  4070 + /jsonc-parser/3.2.0:
  4071 + resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==}
  4072 + dev: true
  4073 +
4050 /jsonfile/6.1.0: 4074 /jsonfile/6.1.0:
4051 resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} 4075 resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==}
4052 dependencies: 4076 dependencies:
@@ -4160,6 +4184,11 @@ packages: @@ -4160,6 +4184,11 @@ packages:
4160 json5: 1.0.1 4184 json5: 1.0.1
4161 dev: true 4185 dev: true
4162 4186
  4187 + /local-pkg/0.4.2:
  4188 + resolution: {integrity: sha512-mlERgSPrbxU3BP4qBqAvvwlgW4MTg78iwJdGGnv7kibKjWcJksrG3t6LB5lXI93wXRDvG4NpUgJFmTG4T6rdrg==}
  4189 + engines: {node: '>=14'}
  4190 + dev: true
  4191 +
4163 /locate-path/5.0.0: 4192 /locate-path/5.0.0:
4164 resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} 4193 resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==}
4165 engines: {node: '>=8'} 4194 engines: {node: '>=8'}
@@ -4483,6 +4512,15 @@ packages: @@ -4483,6 +4512,15 @@ packages:
4483 is-extendable: 1.0.1 4512 is-extendable: 1.0.1
4484 dev: true 4513 dev: true
4485 4514
  4515 + /mlly/1.1.0:
  4516 + resolution: {integrity: sha512-cwzBrBfwGC1gYJyfcy8TcZU1f+dbH/T+TuOhtYP2wLv/Fb51/uV7HJQfBPtEupZ2ORLRU1EKFS/QfS3eo9+kBQ==}
  4517 + dependencies:
  4518 + acorn: 8.8.1
  4519 + pathe: 1.0.0
  4520 + pkg-types: 1.0.1
  4521 + ufo: 1.0.1
  4522 + dev: true
  4523 +
4486 /ms/2.0.0: 4524 /ms/2.0.0:
4487 resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} 4525 resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==}
4488 dev: true 4526 dev: true
@@ -4826,6 +4864,14 @@ packages: @@ -4826,6 +4864,14 @@ packages:
4826 vue-demi: 0.13.11_vue@3.2.45 4864 vue-demi: 0.13.11_vue@3.2.45
4827 dev: false 4865 dev: false
4828 4866
  4867 + /pkg-types/1.0.1:
  4868 + resolution: {integrity: sha512-jHv9HB+Ho7dj6ItwppRDDl0iZRYBD0jsakHXtFgoLr+cHSF6xC+QL54sJmWxyGxOLYSHm0afhXhXcQDQqH9z8g==}
  4869 + dependencies:
  4870 + jsonc-parser: 3.2.0
  4871 + mlly: 1.1.0
  4872 + pathe: 1.0.0
  4873 + dev: true
  4874 +
4829 /pngjs/5.0.0: 4875 /pngjs/5.0.0:
4830 resolution: {integrity: sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==} 4876 resolution: {integrity: sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==}
4831 engines: {node: '>=10.13.0'} 4877 engines: {node: '>=10.13.0'}
@@ -5263,6 +5309,10 @@ packages: @@ -5263,6 +5309,10 @@ packages:
5263 compute-scroll-into-view: 1.0.17 5309 compute-scroll-into-view: 1.0.17
5264 dev: false 5310 dev: false
5265 5311
  5312 + /scule/1.0.0:
  5313 + resolution: {integrity: sha512-4AsO/FrViE/iDNEPaAQlb77tf0csuq27EsVpy6ett584EcRTp6pTDLoGWVxCD77y5iU5FauOvhsI4o1APwPoSQ==}
  5314 + dev: true
  5315 +
5266 /semver/5.7.1: 5316 /semver/5.7.1:
5267 resolution: {integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==} 5317 resolution: {integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==}
5268 hasBin: true 5318 hasBin: true
@@ -5586,6 +5636,12 @@ packages: @@ -5586,6 +5636,12 @@ packages:
5586 engines: {node: '>=8'} 5636 engines: {node: '>=8'}
5587 dev: true 5637 dev: true
5588 5638
  5639 + /strip-literal/1.0.0:
  5640 + resolution: {integrity: sha512-5o4LsH1lzBzO9UFH63AJ2ad2/S2AVx6NtjOcaz+VTT2h1RiRvbipW72z8M/lxEhcPHDBQwpDrnTF7sXy/7OwCQ==}
  5641 + dependencies:
  5642 + acorn: 8.8.1
  5643 + dev: true
  5644 +
5589 /style-search/0.1.0: 5645 /style-search/0.1.0:
5590 resolution: {integrity: sha512-Dj1Okke1C3uKKwQcetra4jSuk0DqbzbYtXipzFlFMZtowbF1x7BKJwB9AayVMyFARvU8EDrZdcax4At/452cAg==} 5646 resolution: {integrity: sha512-Dj1Okke1C3uKKwQcetra4jSuk0DqbzbYtXipzFlFMZtowbF1x7BKJwB9AayVMyFARvU8EDrZdcax4At/452cAg==}
5591 dev: true 5647 dev: true
@@ -5958,6 +6014,28 @@ packages: @@ -5958,6 +6014,28 @@ packages:
5958 engines: {node: '>=4.2.0'} 6014 engines: {node: '>=4.2.0'}
5959 hasBin: true 6015 hasBin: true
5960 6016
  6017 + /ufo/1.0.1:
  6018 + resolution: {integrity: sha512-boAm74ubXHY7KJQZLlXrtMz52qFvpsbOxDcZOnw/Wf+LS4Mmyu7JxmzD4tDLtUQtmZECypJ0FrCz4QIe6dvKRA==}
  6019 + dev: true
  6020 +
  6021 + /unimport/1.2.0_rollup@3.10.0:
  6022 + resolution: {integrity: sha512-yMok/ubppurBE7Png1QH70Om96AxIoWCcfdxW3J/pziozShMc1UGpPgWpSckfo9ndAO5M74yNnRDdLAZy/gWQg==}
  6023 + dependencies:
  6024 + '@rollup/pluginutils': 5.0.2_rollup@3.10.0
  6025 + escape-string-regexp: 5.0.0
  6026 + fast-glob: 3.2.12
  6027 + local-pkg: 0.4.2
  6028 + magic-string: 0.27.0
  6029 + mlly: 1.1.0
  6030 + pathe: 1.0.0
  6031 + pkg-types: 1.0.1
  6032 + scule: 1.0.0
  6033 + strip-literal: 1.0.0
  6034 + unplugin: 1.0.1
  6035 + transitivePeerDependencies:
  6036 + - rollup
  6037 + dev: true
  6038 +
5961 /union-value/1.0.1: 6039 /union-value/1.0.1:
5962 resolution: {integrity: sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==} 6040 resolution: {integrity: sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==}
5963 engines: {node: '>=0.10.0'} 6041 engines: {node: '>=0.10.0'}
@@ -5973,6 +6051,52 @@ packages: @@ -5973,6 +6051,52 @@ packages:
5973 engines: {node: '>= 10.0.0'} 6051 engines: {node: '>= 10.0.0'}
5974 dev: true 6052 dev: true
5975 6053
  6054 + /unplugin-auto-import/0.12.1_gyxbveewukbcvt3zzy7ycqctbe:
  6055 + resolution: {integrity: sha512-J/3ZORq5YGKG+8D5vLLOgqaHNK77izlVN07mQ752yRLqBNDbJiwPRSnUwwYqH5N6rDay1SqnJCHaUdbJ9QMI2w==}
  6056 + engines: {node: '>=14'}
  6057 + peerDependencies:
  6058 + '@vueuse/core': '*'
  6059 + peerDependenciesMeta:
  6060 + '@vueuse/core':
  6061 + optional: true
  6062 + dependencies:
  6063 + '@antfu/utils': 0.7.2
  6064 + '@rollup/pluginutils': 5.0.2_rollup@3.10.0
  6065 + '@vueuse/core': 9.10.0_vue@3.2.45
  6066 + local-pkg: 0.4.2
  6067 + magic-string: 0.27.0
  6068 + unimport: 1.2.0_rollup@3.10.0
  6069 + unplugin: 1.0.1
  6070 + transitivePeerDependencies:
  6071 + - rollup
  6072 + dev: true
  6073 +
  6074 + /unplugin-vue-components/0.22.12_rollup@3.10.0+vue@3.2.45:
  6075 + resolution: {integrity: sha512-FxyzsuBvMCYPIk+8cgscGBQ345tvwVu+qY5IhE++eorkyvA4Z1TiD/HCiim+Kbqozl10i4K+z+NCa2WO2jexRA==}
  6076 + engines: {node: '>=14'}
  6077 + peerDependencies:
  6078 + '@babel/parser': ^7.15.8
  6079 + vue: 2 || 3
  6080 + peerDependenciesMeta:
  6081 + '@babel/parser':
  6082 + optional: true
  6083 + dependencies:
  6084 + '@antfu/utils': 0.7.2
  6085 + '@rollup/pluginutils': 5.0.2_rollup@3.10.0
  6086 + chokidar: 3.5.3
  6087 + debug: 4.3.4
  6088 + fast-glob: 3.2.12
  6089 + local-pkg: 0.4.2
  6090 + magic-string: 0.27.0
  6091 + minimatch: 5.1.2
  6092 + resolve: 1.22.1
  6093 + unplugin: 1.0.1
  6094 + vue: 3.2.45
  6095 + transitivePeerDependencies:
  6096 + - rollup
  6097 + - supports-color
  6098 + dev: true
  6099 +
5976 /unplugin/1.0.1: 6100 /unplugin/1.0.1:
5977 resolution: {integrity: sha512-aqrHaVBWW1JVKBHmGo33T5TxeL0qWzfvjWokObHA9bYmN7eNDkwOxmLjhioHl9878qDFMAaT51XNroRyuz7WxA==} 6101 resolution: {integrity: sha512-aqrHaVBWW1JVKBHmGo33T5TxeL0qWzfvjWokObHA9bYmN7eNDkwOxmLjhioHl9878qDFMAaT51XNroRyuz7WxA==}
5978 dependencies: 6102 dependencies:
@@ -6225,7 +6349,6 @@ packages: @@ -6225,7 +6349,6 @@ packages:
6225 optional: true 6349 optional: true
6226 dependencies: 6350 dependencies:
6227 vue: 3.2.45 6351 vue: 3.2.45
6228 - dev: false  
6229 6352
6230 /vue-eslint-parser/9.1.0_eslint@8.32.0: 6353 /vue-eslint-parser/9.1.0_eslint@8.32.0:
6231 resolution: {integrity: sha512-NGn/iQy8/Wb7RrRa4aRkokyCZfOUWk19OP5HP6JEozQFX5AoS/t+Z0ZN7FY4LlmWc4FNI922V7cvX28zctN8dQ==} 6354 resolution: {integrity: sha512-NGn/iQy8/Wb7RrRa4aRkokyCZfOUWk19OP5HP6JEozQFX5AoS/t+Z0ZN7FY4LlmWc4FNI922V7cvX28zctN8dQ==}
yudao-ui-admin-vue3/src/types/auto-components.d.ts 0 → 100644
  1 +// generated by unplugin-vue-components
  2 +// We suggest you to commit this file into source control
  3 +// Read more: https://github.com/vuejs/core/pull/3399
  4 +import '@vue/runtime-core'
  5 +
  6 +export {}
  7 +
  8 +declare module '@vue/runtime-core' {
  9 + export interface GlobalComponents {
  10 + Backtop: typeof import('./../components/Backtop/src/Backtop.vue')['default']
  11 + ConfigGlobal: typeof import('./../components/ConfigGlobal/src/ConfigGlobal.vue')['default']
  12 + ContentDetailWrap: typeof import('./../components/ContentDetailWrap/src/ContentDetailWrap.vue')['default']
  13 + ContentWrap: typeof import('./../components/ContentWrap/src/ContentWrap.vue')['default']
  14 + CopperModal: typeof import('./../components/Cropper/src/CopperModal.vue')['default']
  15 + CountTo: typeof import('./../components/CountTo/src/CountTo.vue')['default']
  16 + Crontab: typeof import('./../components/Crontab/src/Crontab.vue')['default']
  17 + Cropper: typeof import('./../components/Cropper/src/Cropper.vue')['default']
  18 + CropperAvatar: typeof import('./../components/Cropper/src/CropperAvatar.vue')['default']
  19 + Descriptions: typeof import('./../components/Descriptions/src/Descriptions.vue')['default']
  20 + Dialog: typeof import('./../components/Dialog/src/Dialog.vue')['default']
  21 + DictTag: typeof import('./../components/DictTag/src/DictTag.vue')['default']
  22 + Echart: typeof import('./../components/Echart/src/Echart.vue')['default']
  23 + Editor: typeof import('./../components/Editor/src/Editor.vue')['default']
  24 + ElButton: typeof import('element-plus/es')['ElButton']
  25 + Error: typeof import('./../components/Error/src/Error.vue')['default']
  26 + Form: typeof import('./../components/Form/src/Form.vue')['default']
  27 + Highlight: typeof import('./../components/Highlight/src/Highlight.vue')['default']
  28 + Icon: typeof import('./../components/Icon/src/Icon.vue')['default']
  29 + IconSelect: typeof import('./../components/Icon/src/IconSelect.vue')['default']
  30 + IFrame: typeof import('./../components/IFrame/src/IFrame.vue')['default']
  31 + ImageViewer: typeof import('./../components/ImageViewer/src/ImageViewer.vue')['default']
  32 + Infotip: typeof import('./../components/Infotip/src/Infotip.vue')['default']
  33 + InputPassword: typeof import('./../components/InputPassword/src/InputPassword.vue')['default']
  34 + Qrcode: typeof import('./../components/Qrcode/src/Qrcode.vue')['default']
  35 + RouterLink: typeof import('vue-router')['RouterLink']
  36 + RouterView: typeof import('vue-router')['RouterView']
  37 + Search: typeof import('./../components/Search/src/Search.vue')['default']
  38 + Sticky: typeof import('./../components/Sticky/src/Sticky.vue')['default']
  39 + Table: typeof import('./../components/Table/src/Table.vue')['default']
  40 + Tooltip: typeof import('./../components/Tooltip/src/Tooltip.vue')['default']
  41 + UploadFile: typeof import('./../components/UploadFile/src/UploadFile.vue')['default']
  42 + UploadImg: typeof import('./../components/UploadFile/src/UploadImg.vue')['default']
  43 + UploadImgs: typeof import('./../components/UploadFile/src/UploadImgs.vue')['default']
  44 + Verify: typeof import('./../components/Verifition/src/Verify.vue')['default']
  45 + VerifyPoints: typeof import('./../components/Verifition/src/Verify/VerifyPoints.vue')['default']
  46 + VerifySlide: typeof import('./../components/Verifition/src/Verify/VerifySlide.vue')['default']
  47 + XButton: typeof import('./../components/XButton/src/XButton.vue')['default']
  48 + XModal: typeof import('./../components/XModal/src/XModal.vue')['default']
  49 + XTable: typeof import('./../components/XTable/src/XTable.vue')['default']
  50 + XTextButton: typeof import('./../components/XButton/src/XTextButton.vue')['default']
  51 + }
  52 + export interface ComponentCustomProperties {
  53 + vLoading: typeof import('element-plus/es')['ElLoadingDirective']
  54 + }
  55 +}
yudao-ui-admin-vue3/src/types/auto-imports.d.ts 0 → 100644
  1 +// Generated by 'unplugin-auto-import'
  2 +export {}
  3 +declare global {
  4 + const EffectScope: typeof import('vue')['EffectScope']
  5 + const asyncComputed: typeof import('@vueuse/core')['asyncComputed']
  6 + const autoResetRef: typeof import('@vueuse/core')['autoResetRef']
  7 + const computed: typeof import('vue')['computed']
  8 + const computedAsync: typeof import('@vueuse/core')['computedAsync']
  9 + const computedEager: typeof import('@vueuse/core')['computedEager']
  10 + const computedInject: typeof import('@vueuse/core')['computedInject']
  11 + const computedWithControl: typeof import('@vueuse/core')['computedWithControl']
  12 + const controlledComputed: typeof import('@vueuse/core')['controlledComputed']
  13 + const controlledRef: typeof import('@vueuse/core')['controlledRef']
  14 + const createApp: typeof import('vue')['createApp']
  15 + const createEventHook: typeof import('@vueuse/core')['createEventHook']
  16 + const createGlobalState: typeof import('@vueuse/core')['createGlobalState']
  17 + const createInjectionState: typeof import('@vueuse/core')['createInjectionState']
  18 + const createReactiveFn: typeof import('@vueuse/core')['createReactiveFn']
  19 + const createSharedComposable: typeof import('@vueuse/core')['createSharedComposable']
  20 + const createUnrefFn: typeof import('@vueuse/core')['createUnrefFn']
  21 + const customRef: typeof import('vue')['customRef']
  22 + const debouncedRef: typeof import('@vueuse/core')['debouncedRef']
  23 + const debouncedWatch: typeof import('@vueuse/core')['debouncedWatch']
  24 + const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
  25 + const defineComponent: typeof import('vue')['defineComponent']
  26 + const eagerComputed: typeof import('@vueuse/core')['eagerComputed']
  27 + const effectScope: typeof import('vue')['effectScope']
  28 + const extendRef: typeof import('@vueuse/core')['extendRef']
  29 + const getCurrentInstance: typeof import('vue')['getCurrentInstance']
  30 + const getCurrentScope: typeof import('vue')['getCurrentScope']
  31 + const h: typeof import('vue')['h']
  32 + const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch']
  33 + const inject: typeof import('vue')['inject']
  34 + const isDefined: typeof import('@vueuse/core')['isDefined']
  35 + const isProxy: typeof import('vue')['isProxy']
  36 + const isReactive: typeof import('vue')['isReactive']
  37 + const isReadonly: typeof import('vue')['isReadonly']
  38 + const isRef: typeof import('vue')['isRef']
  39 + const makeDestructurable: typeof import('@vueuse/core')['makeDestructurable']
  40 + const markRaw: typeof import('vue')['markRaw']
  41 + const nextTick: typeof import('vue')['nextTick']
  42 + const onActivated: typeof import('vue')['onActivated']
  43 + const onBeforeMount: typeof import('vue')['onBeforeMount']
  44 + const onBeforeRouteLeave: typeof import('vue-router')['onBeforeRouteLeave']
  45 + const onBeforeRouteUpdate: typeof import('vue-router')['onBeforeRouteUpdate']
  46 + const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
  47 + const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
  48 + const onClickOutside: typeof import('@vueuse/core')['onClickOutside']
  49 + const onDeactivated: typeof import('vue')['onDeactivated']
  50 + const onErrorCaptured: typeof import('vue')['onErrorCaptured']
  51 + const onKeyStroke: typeof import('@vueuse/core')['onKeyStroke']
  52 + const onLongPress: typeof import('@vueuse/core')['onLongPress']
  53 + const onMounted: typeof import('vue')['onMounted']
  54 + const onRenderTracked: typeof import('vue')['onRenderTracked']
  55 + const onRenderTriggered: typeof import('vue')['onRenderTriggered']
  56 + const onScopeDispose: typeof import('vue')['onScopeDispose']
  57 + const onServerPrefetch: typeof import('vue')['onServerPrefetch']
  58 + const onStartTyping: typeof import('@vueuse/core')['onStartTyping']
  59 + const onUnmounted: typeof import('vue')['onUnmounted']
  60 + const onUpdated: typeof import('vue')['onUpdated']
  61 + const pausableWatch: typeof import('@vueuse/core')['pausableWatch']
  62 + const provide: typeof import('vue')['provide']
  63 + const reactify: typeof import('@vueuse/core')['reactify']
  64 + const reactifyObject: typeof import('@vueuse/core')['reactifyObject']
  65 + const reactive: typeof import('vue')['reactive']
  66 + const reactiveComputed: typeof import('@vueuse/core')['reactiveComputed']
  67 + const reactiveOmit: typeof import('@vueuse/core')['reactiveOmit']
  68 + const reactivePick: typeof import('@vueuse/core')['reactivePick']
  69 + const readonly: typeof import('vue')['readonly']
  70 + const ref: typeof import('vue')['ref']
  71 + const refAutoReset: typeof import('@vueuse/core')['refAutoReset']
  72 + const refDebounced: typeof import('@vueuse/core')['refDebounced']
  73 + const refDefault: typeof import('@vueuse/core')['refDefault']
  74 + const refThrottled: typeof import('@vueuse/core')['refThrottled']
  75 + const refWithControl: typeof import('@vueuse/core')['refWithControl']
  76 + const resolveComponent: typeof import('vue')['resolveComponent']
  77 + const resolveDirective: typeof import('vue')['resolveDirective']
  78 + const resolveRef: typeof import('@vueuse/core')['resolveRef']
  79 + const resolveUnref: typeof import('@vueuse/core')['resolveUnref']
  80 + const shallowReactive: typeof import('vue')['shallowReactive']
  81 + const shallowReadonly: typeof import('vue')['shallowReadonly']
  82 + const shallowRef: typeof import('vue')['shallowRef']
  83 + const syncRef: typeof import('@vueuse/core')['syncRef']
  84 + const syncRefs: typeof import('@vueuse/core')['syncRefs']
  85 + const templateRef: typeof import('@vueuse/core')['templateRef']
  86 + const throttledRef: typeof import('@vueuse/core')['throttledRef']
  87 + const throttledWatch: typeof import('@vueuse/core')['throttledWatch']
  88 + const toRaw: typeof import('vue')['toRaw']
  89 + const toReactive: typeof import('@vueuse/core')['toReactive']
  90 + const toRef: typeof import('vue')['toRef']
  91 + const toRefs: typeof import('vue')['toRefs']
  92 + const triggerRef: typeof import('vue')['triggerRef']
  93 + const tryOnBeforeMount: typeof import('@vueuse/core')['tryOnBeforeMount']
  94 + const tryOnBeforeUnmount: typeof import('@vueuse/core')['tryOnBeforeUnmount']
  95 + const tryOnMounted: typeof import('@vueuse/core')['tryOnMounted']
  96 + const tryOnScopeDispose: typeof import('@vueuse/core')['tryOnScopeDispose']
  97 + const tryOnUnmounted: typeof import('@vueuse/core')['tryOnUnmounted']
  98 + const unref: typeof import('vue')['unref']
  99 + const unrefElement: typeof import('@vueuse/core')['unrefElement']
  100 + const until: typeof import('@vueuse/core')['until']
  101 + const useActiveElement: typeof import('@vueuse/core')['useActiveElement']
  102 + const useArrayEvery: typeof import('@vueuse/core')['useArrayEvery']
  103 + const useArrayFilter: typeof import('@vueuse/core')['useArrayFilter']
  104 + const useArrayFind: typeof import('@vueuse/core')['useArrayFind']
  105 + const useArrayFindIndex: typeof import('@vueuse/core')['useArrayFindIndex']
  106 + const useArrayJoin: typeof import('@vueuse/core')['useArrayJoin']
  107 + const useArrayMap: typeof import('@vueuse/core')['useArrayMap']
  108 + const useArrayReduce: typeof import('@vueuse/core')['useArrayReduce']
  109 + const useArraySome: typeof import('@vueuse/core')['useArraySome']
  110 + const useArrayUnique: typeof import('@vueuse/core')['useArrayUnique']
  111 + const useAsyncQueue: typeof import('@vueuse/core')['useAsyncQueue']
  112 + const useAsyncState: typeof import('@vueuse/core')['useAsyncState']
  113 + const useAttrs: typeof import('vue')['useAttrs']
  114 + const useBase64: typeof import('@vueuse/core')['useBase64']
  115 + const useBattery: typeof import('@vueuse/core')['useBattery']
  116 + const useBluetooth: typeof import('@vueuse/core')['useBluetooth']
  117 + const useBreakpoints: typeof import('@vueuse/core')['useBreakpoints']
  118 + const useBroadcastChannel: typeof import('@vueuse/core')['useBroadcastChannel']
  119 + const useBrowserLocation: typeof import('@vueuse/core')['useBrowserLocation']
  120 + const useCached: typeof import('@vueuse/core')['useCached']
  121 + const useClipboard: typeof import('@vueuse/core')['useClipboard']
  122 + const useCloned: typeof import('@vueuse/core')['useCloned']
  123 + const useColorMode: typeof import('@vueuse/core')['useColorMode']
  124 + const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog']
  125 + const useCounter: typeof import('@vueuse/core')['useCounter']
  126 + const useCssModule: typeof import('vue')['useCssModule']
  127 + const useCssVar: typeof import('@vueuse/core')['useCssVar']
  128 + const useCssVars: typeof import('vue')['useCssVars']
  129 + const useCurrentElement: typeof import('@vueuse/core')['useCurrentElement']
  130 + const useCycleList: typeof import('@vueuse/core')['useCycleList']
  131 + const useDark: typeof import('@vueuse/core')['useDark']
  132 + const useDateFormat: typeof import('@vueuse/core')['useDateFormat']
  133 + const useDebounce: typeof import('@vueuse/core')['useDebounce']
  134 + const useDebounceFn: typeof import('@vueuse/core')['useDebounceFn']
  135 + const useDebouncedRefHistory: typeof import('@vueuse/core')['useDebouncedRefHistory']
  136 + const useDeviceMotion: typeof import('@vueuse/core')['useDeviceMotion']
  137 + const useDeviceOrientation: typeof import('@vueuse/core')['useDeviceOrientation']
  138 + const useDevicePixelRatio: typeof import('@vueuse/core')['useDevicePixelRatio']
  139 + const useDevicesList: typeof import('@vueuse/core')['useDevicesList']
  140 + const useDisplayMedia: typeof import('@vueuse/core')['useDisplayMedia']
  141 + const useDocumentVisibility: typeof import('@vueuse/core')['useDocumentVisibility']
  142 + const useDraggable: typeof import('@vueuse/core')['useDraggable']
  143 + const useDropZone: typeof import('@vueuse/core')['useDropZone']
  144 + const useElementBounding: typeof import('@vueuse/core')['useElementBounding']
  145 + const useElementByPoint: typeof import('@vueuse/core')['useElementByPoint']
  146 + const useElementHover: typeof import('@vueuse/core')['useElementHover']
  147 + const useElementSize: typeof import('@vueuse/core')['useElementSize']
  148 + const useElementVisibility: typeof import('@vueuse/core')['useElementVisibility']
  149 + const useEventBus: typeof import('@vueuse/core')['useEventBus']
  150 + const useEventListener: typeof import('@vueuse/core')['useEventListener']
  151 + const useEventSource: typeof import('@vueuse/core')['useEventSource']
  152 + const useEyeDropper: typeof import('@vueuse/core')['useEyeDropper']
  153 + const useFavicon: typeof import('@vueuse/core')['useFavicon']
  154 + const useFetch: typeof import('@vueuse/core')['useFetch']
  155 + const useFileDialog: typeof import('@vueuse/core')['useFileDialog']
  156 + const useFileSystemAccess: typeof import('@vueuse/core')['useFileSystemAccess']
  157 + const useFocus: typeof import('@vueuse/core')['useFocus']
  158 + const useFocusWithin: typeof import('@vueuse/core')['useFocusWithin']
  159 + const useFps: typeof import('@vueuse/core')['useFps']
  160 + const useFullscreen: typeof import('@vueuse/core')['useFullscreen']
  161 + const useGamepad: typeof import('@vueuse/core')['useGamepad']
  162 + const useGeolocation: typeof import('@vueuse/core')['useGeolocation']
  163 + const useIdle: typeof import('@vueuse/core')['useIdle']
  164 + const useImage: typeof import('@vueuse/core')['useImage']
  165 + const useInfiniteScroll: typeof import('@vueuse/core')['useInfiniteScroll']
  166 + const useIntersectionObserver: typeof import('@vueuse/core')['useIntersectionObserver']
  167 + const useInterval: typeof import('@vueuse/core')['useInterval']
  168 + const useIntervalFn: typeof import('@vueuse/core')['useIntervalFn']
  169 + const useKeyModifier: typeof import('@vueuse/core')['useKeyModifier']
  170 + const useLastChanged: typeof import('@vueuse/core')['useLastChanged']
  171 + const useLink: typeof import('vue-router')['useLink']
  172 + const useLocalStorage: typeof import('@vueuse/core')['useLocalStorage']
  173 + const useMagicKeys: typeof import('@vueuse/core')['useMagicKeys']
  174 + const useManualRefHistory: typeof import('@vueuse/core')['useManualRefHistory']
  175 + const useMediaControls: typeof import('@vueuse/core')['useMediaControls']
  176 + const useMediaQuery: typeof import('@vueuse/core')['useMediaQuery']
  177 + const useMemoize: typeof import('@vueuse/core')['useMemoize']
  178 + const useMemory: typeof import('@vueuse/core')['useMemory']
  179 + const useMounted: typeof import('@vueuse/core')['useMounted']
  180 + const useMouse: typeof import('@vueuse/core')['useMouse']
  181 + const useMouseInElement: typeof import('@vueuse/core')['useMouseInElement']
  182 + const useMousePressed: typeof import('@vueuse/core')['useMousePressed']
  183 + const useMutationObserver: typeof import('@vueuse/core')['useMutationObserver']
  184 + const useNavigatorLanguage: typeof import('@vueuse/core')['useNavigatorLanguage']
  185 + const useNetwork: typeof import('@vueuse/core')['useNetwork']
  186 + const useNow: typeof import('@vueuse/core')['useNow']
  187 + const useObjectUrl: typeof import('@vueuse/core')['useObjectUrl']
  188 + const useOffsetPagination: typeof import('@vueuse/core')['useOffsetPagination']
  189 + const useOnline: typeof import('@vueuse/core')['useOnline']
  190 + const usePageLeave: typeof import('@vueuse/core')['usePageLeave']
  191 + const useParallax: typeof import('@vueuse/core')['useParallax']
  192 + const usePermission: typeof import('@vueuse/core')['usePermission']
  193 + const usePointer: typeof import('@vueuse/core')['usePointer']
  194 + const usePointerSwipe: typeof import('@vueuse/core')['usePointerSwipe']
  195 + const usePreferredColorScheme: typeof import('@vueuse/core')['usePreferredColorScheme']
  196 + const usePreferredContrast: typeof import('@vueuse/core')['usePreferredContrast']
  197 + const usePreferredDark: typeof import('@vueuse/core')['usePreferredDark']
  198 + const usePreferredLanguages: typeof import('@vueuse/core')['usePreferredLanguages']
  199 + const usePreferredReducedMotion: typeof import('@vueuse/core')['usePreferredReducedMotion']
  200 + const useRafFn: typeof import('@vueuse/core')['useRafFn']
  201 + const useRefHistory: typeof import('@vueuse/core')['useRefHistory']
  202 + const useResizeObserver: typeof import('@vueuse/core')['useResizeObserver']
  203 + const useRoute: typeof import('vue-router')['useRoute']
  204 + const useRouter: typeof import('vue-router')['useRouter']
  205 + const useScreenOrientation: typeof import('@vueuse/core')['useScreenOrientation']
  206 + const useScreenSafeArea: typeof import('@vueuse/core')['useScreenSafeArea']
  207 + const useScriptTag: typeof import('@vueuse/core')['useScriptTag']
  208 + const useScroll: typeof import('@vueuse/core')['useScroll']
  209 + const useScrollLock: typeof import('@vueuse/core')['useScrollLock']
  210 + const useSessionStorage: typeof import('@vueuse/core')['useSessionStorage']
  211 + const useShare: typeof import('@vueuse/core')['useShare']
  212 + const useSlots: typeof import('vue')['useSlots']
  213 + const useSorted: typeof import('@vueuse/core')['useSorted']
  214 + const useSpeechRecognition: typeof import('@vueuse/core')['useSpeechRecognition']
  215 + const useSpeechSynthesis: typeof import('@vueuse/core')['useSpeechSynthesis']
  216 + const useStepper: typeof import('@vueuse/core')['useStepper']
  217 + const useStorage: typeof import('@vueuse/core')['useStorage']
  218 + const useStorageAsync: typeof import('@vueuse/core')['useStorageAsync']
  219 + const useStyleTag: typeof import('@vueuse/core')['useStyleTag']
  220 + const useSupported: typeof import('@vueuse/core')['useSupported']
  221 + const useSwipe: typeof import('@vueuse/core')['useSwipe']
  222 + const useTemplateRefsList: typeof import('@vueuse/core')['useTemplateRefsList']
  223 + const useTextDirection: typeof import('@vueuse/core')['useTextDirection']
  224 + const useTextSelection: typeof import('@vueuse/core')['useTextSelection']
  225 + const useTextareaAutosize: typeof import('@vueuse/core')['useTextareaAutosize']
  226 + const useThrottle: typeof import('@vueuse/core')['useThrottle']
  227 + const useThrottleFn: typeof import('@vueuse/core')['useThrottleFn']
  228 + const useThrottledRefHistory: typeof import('@vueuse/core')['useThrottledRefHistory']
  229 + const useTimeAgo: typeof import('@vueuse/core')['useTimeAgo']
  230 + const useTimeout: typeof import('@vueuse/core')['useTimeout']
  231 + const useTimeoutFn: typeof import('@vueuse/core')['useTimeoutFn']
  232 + const useTimeoutPoll: typeof import('@vueuse/core')['useTimeoutPoll']
  233 + const useTimestamp: typeof import('@vueuse/core')['useTimestamp']
  234 + const useTitle: typeof import('@vueuse/core')['useTitle']
  235 + const useToNumber: typeof import('@vueuse/core')['useToNumber']
  236 + const useToString: typeof import('@vueuse/core')['useToString']
  237 + const useToggle: typeof import('@vueuse/core')['useToggle']
  238 + const useTransition: typeof import('@vueuse/core')['useTransition']
  239 + const useUrlSearchParams: typeof import('@vueuse/core')['useUrlSearchParams']
  240 + const useUserMedia: typeof import('@vueuse/core')['useUserMedia']
  241 + const useVModel: typeof import('@vueuse/core')['useVModel']
  242 + const useVModels: typeof import('@vueuse/core')['useVModels']
  243 + const useVibrate: typeof import('@vueuse/core')['useVibrate']
  244 + const useVirtualList: typeof import('@vueuse/core')['useVirtualList']
  245 + const useWakeLock: typeof import('@vueuse/core')['useWakeLock']
  246 + const useWebNotification: typeof import('@vueuse/core')['useWebNotification']
  247 + const useWebSocket: typeof import('@vueuse/core')['useWebSocket']
  248 + const useWebWorker: typeof import('@vueuse/core')['useWebWorker']
  249 + const useWebWorkerFn: typeof import('@vueuse/core')['useWebWorkerFn']
  250 + const useWindowFocus: typeof import('@vueuse/core')['useWindowFocus']
  251 + const useWindowScroll: typeof import('@vueuse/core')['useWindowScroll']
  252 + const useWindowSize: typeof import('@vueuse/core')['useWindowSize']
  253 + const watch: typeof import('vue')['watch']
  254 + const watchArray: typeof import('@vueuse/core')['watchArray']
  255 + const watchAtMost: typeof import('@vueuse/core')['watchAtMost']
  256 + const watchDebounced: typeof import('@vueuse/core')['watchDebounced']
  257 + const watchEffect: typeof import('vue')['watchEffect']
  258 + const watchIgnorable: typeof import('@vueuse/core')['watchIgnorable']
  259 + const watchOnce: typeof import('@vueuse/core')['watchOnce']
  260 + const watchPausable: typeof import('@vueuse/core')['watchPausable']
  261 + const watchPostEffect: typeof import('vue')['watchPostEffect']
  262 + const watchSyncEffect: typeof import('vue')['watchSyncEffect']
  263 + const watchThrottled: typeof import('@vueuse/core')['watchThrottled']
  264 + const watchTriggerable: typeof import('@vueuse/core')['watchTriggerable']
  265 + const watchWithFilter: typeof import('@vueuse/core')['watchWithFilter']
  266 + const whenever: typeof import('@vueuse/core')['whenever']
  267 +}
yudao-ui-admin-vue3/tsconfig.json
@@ -33,6 +33,11 @@ @@ -33,6 +33,11 @@
33 ], 33 ],
34 "typeRoots": ["./node_modules/@types/", "./types"] 34 "typeRoots": ["./node_modules/@types/", "./types"]
35 }, 35 },
36 - "include": ["src/**/*", "types/**/*.d.ts"], 36 + "include": [
  37 + "src/**/*",
  38 + "types/**/*.d.ts",
  39 + "src/types/auto-imports.d.ts",
  40 + "src/types/auto-components.d.ts"
  41 + ],
37 "exclude": ["dist", "node_modules"] 42 "exclude": ["dist", "node_modules"]
38 } 43 }