Commit f6f99de7955304c9b82cdbb02632ea5cb0760d9d

Authored by xingyu
2 parents 13afc3d5 d3ab3e07

Merge branch 'dev' into feature/springdoc

Showing 194 changed files with 846 additions and 939 deletions

Too many changes.

To preserve performance only 100 of 194 files are displayed.

yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/data.ts.vm
1   -import { reactive } from 'vue'
2   -import { useI18n } from '@/hooks/web/useI18n'
3   -import { DICT_TYPE } from '@/utils/dict'
4   -import { required } from '@/utils/formRules'
5   -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas'
  1 +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas'
6 2 const { t } = useI18n() // 国际化
7 3 // 表单校验
8 4 export const rules = reactive({
... ...
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/index.vue.vm
... ... @@ -75,11 +75,6 @@
75 75 </XModal>
76 76 </template>
77 77 <script setup lang="ts" name="${simpleClassName}">
78   -// 全局相关的 import
79   -import { ref, unref } from 'vue'
80   -import { useI18n } from '@/hooks/web/useI18n'
81   -import { useMessage } from '@/hooks/web/useMessage'
82   -import { useXTable } from '@/hooks/web/useXTable'
83 78 import { FormExpose } from '@/components/Form'
84 79 // 业务相关的 import
85 80 import { rules, allSchemas } from './${classNameVar}.data'
... ...
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 21 'plugin:vue/vue3-recommended',
22 22 'plugin:@typescript-eslint/recommended',
23 23 'prettier',
24   - 'plugin:prettier/recommended'
  24 + 'plugin:prettier/recommended',
  25 + './.eslintrc-auto-import.json'
25 26 ],
26 27 rules: {
27 28 'vue/script-setup-uses-vars': 'error',
... ...
yudao-ui-admin-vue3/build/vite/index.ts
... ... @@ -6,15 +6,14 @@ import progress from &#39;vite-plugin-progress&#39;
6 6 import EslintPlugin from 'vite-plugin-eslint'
7 7 import PurgeIcons from 'vite-plugin-purge-icons'
8 8 import { ViteEjsPlugin } from 'vite-plugin-ejs'
  9 +import ElementPlus from 'unplugin-element-plus/vite'
  10 +import AutoImport from 'unplugin-auto-import/vite'
  11 +import Components from 'unplugin-vue-components/vite'
  12 +import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
9 13 import viteCompression from 'vite-plugin-compression'
10 14 import vueSetupExtend from 'vite-plugin-vue-setup-extend'
11 15 import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite'
12 16 import { createSvgIconsPlugin } from 'vite-plugin-svg-icons'
13   -import {
14   - createStyleImportPlugin,
15   - ElementPlusResolve,
16   - VxeTableResolve
17   -} from 'vite-plugin-style-import'
18 17 export function createVitePlugins(VITE_APP_TITLE: string) {
19 18 const root = process.cwd()
20 19 // 路径查找
... ... @@ -28,24 +27,47 @@ export function createVitePlugins(VITE_APP_TITLE: string) {
28 27 progress(),
29 28 PurgeIcons(),
30 29 vueSetupExtend(),
31   - createStyleImportPlugin({
32   - resolves: [ElementPlusResolve(), VxeTableResolve()],
33   - libs: [
  30 + ElementPlus(),
  31 + AutoImport({
  32 + include: [
  33 + /\.[tj]sx?$/, // .ts, .tsx, .js, .jsx
  34 + /\.vue$/,
  35 + /\.vue\?vue/, // .vue
  36 + /\.md$/ // .md
  37 + ],
  38 + imports: [
  39 + 'vue',
  40 + 'vue-router',
34 41 {
35   - libraryName: 'element-plus',
36   - esModule: true,
37   - resolveStyle: (name) => {
38   - return `element-plus/es/components/${name.substring(3)}/style/css`
39   - }
40   - },
41   - {
42   - libraryName: 'vxe-table',
43   - esModule: true,
44   - resolveStyle: (name) => {
45   - return `vxe-table/es/${name}/style.css`
46   - }
  42 + '@/hooks/web/useI18n': ['useI18n'],
  43 + '@/hooks/web/useXTable': ['useXTable'],
  44 + '@/hooks/web/useMessage': ['useMessage'],
  45 + '@/hooks/web/useVxeCrudSchemas': ['useVxeCrudSchemas'],
  46 + '@/utils/formRules': ['required'],
  47 + '@/utils/dict': ['DICT_TYPE']
47 48 }
48   - ]
  49 + ],
  50 + dts: 'src/types/auto-imports.d.ts',
  51 + resolvers: [ElementPlusResolver()],
  52 + eslintrc: {
  53 + enabled: false, // Default `false`
  54 + filepath: './.eslintrc-auto-import.json', // Default `./.eslintrc-auto-import.json`
  55 + globalsPropValue: true // Default `true`, (true | false | 'readonly' | 'readable' | 'writable' | 'writeable')
  56 + }
  57 + }),
  58 + Components({
  59 + // 要搜索组件的目录的相对路径
  60 + dirs: ['src/components'],
  61 + // 组件的有效文件扩展名
  62 + extensions: ['vue', 'md'],
  63 + // 搜索子目录
  64 + deep: true,
  65 + include: [/\.vue$/, /\.vue\?vue/],
  66 + // 生成自定义 `auto-components.d.ts` 全局声明
  67 + dts: 'src/types/auto-components.d.ts',
  68 + // 自定义组件的解析器
  69 + resolvers: [ElementPlusResolver()],
  70 + exclude: [/[\\/]node_modules[\\/]/]
49 71 }),
50 72 EslintPlugin({
51 73 cache: false,
... ...
yudao-ui-admin-vue3/build/vite/optimize.ts
... ... @@ -21,6 +21,7 @@ const include = [
21 21 'vxe-table/es/style',
22 22 'web-storage-cache',
23 23 'element-plus',
  24 + 'element-plus/es',
24 25 'element-plus/es/locale/lang/zh-cn',
25 26 'element-plus/es/locale/lang/en',
26 27 '@iconify/iconify',
... ...
yudao-ui-admin-vue3/build/vite/styleImport.ts deleted
1   -export const styleImportPlugin = {
2   - libs: [
3   - {
4   - libraryName: 'element-plus',
5   - esModule: true,
6   - resolveStyle: (name) => {
7   - return `element-plus/es/components/${name.substring(3)}/style/css`
8   - }
9   - },
10   - {
11   - libraryName: 'vxe-table',
12   - esModule: true,
13   - resolveStyle: (name) => {
14   - return `vxe-table/es/${name}/style.css`
15   - }
16   - }
17   - ]
18   -}
yudao-ui-admin-vue3/package.json
1 1 {
2 2 "name": "yudao-ui-admin-vue3",
3   - "version": "1.6.6-snapshot.1922",
  3 + "version": "1.6.6-snapshot.1925",
4 4 "description": "基于vue3、vite4、element-plus、typesScript",
5 5 "author": "xingyu",
6 6 "private": false,
... ... @@ -25,12 +25,12 @@
25 25 },
26 26 "dependencies": {
27 27 "@iconify/iconify": "^3.0.1",
28   - "@vueuse/core": "^9.10.0",
  28 + "@vueuse/core": "^9.11.0",
29 29 "@wangeditor/editor": "^5.1.23",
30 30 "@wangeditor/editor-for-vue": "^5.1.10",
31 31 "@zxcvbn-ts/core": "^2.1.0",
32 32 "animate.css": "^4.1.1",
33   - "axios": "^1.2.2",
  33 + "axios": "^1.2.3",
34 34 "cropperjs": "^1.5.13",
35 35 "crypto-js": "^4.1.1",
36 36 "dayjs": "^1.11.7",
... ... @@ -57,7 +57,7 @@
57 57 "devDependencies": {
58 58 "@commitlint/cli": "^17.4.2",
59 59 "@commitlint/config-conventional": "^17.4.2",
60   - "@iconify/json": "^2.2.7",
  60 + "@iconify/json": "^2.2.8",
61 61 "@intlify/unplugin-vue-i18n": "^0.8.1",
62 62 "@purge-icons/generated": "^0.9.0",
63 63 "@types/intro.js": "^5.1.0",
... ... @@ -83,7 +83,7 @@
83 83 "postcss-html": "^1.5.0",
84 84 "postcss-scss": "^4.0.6",
85 85 "prettier": "^2.8.3",
86   - "rimraf": "^4.1.0",
  86 + "rimraf": "^4.1.1",
87 87 "rollup": "^3.10.0",
88 88 "sass": "^1.57.1",
89 89 "stylelint": "^14.16.1",
... ... @@ -94,13 +94,15 @@
94 94 "stylelint-order": "^6.0.1",
95 95 "terser": "^5.16.1",
96 96 "typescript": "4.9.4",
  97 + "unplugin-auto-import": "^0.12.1",
  98 + "unplugin-element-plus": "^0.4.1",
  99 + "unplugin-vue-components": "^0.22.12",
97 100 "vite": "4.0.4",
98 101 "vite-plugin-compression": "^0.5.1",
99 102 "vite-plugin-ejs": "^1.6.4",
100 103 "vite-plugin-eslint": "^1.8.1",
101 104 "vite-plugin-progress": "^0.0.6",
102 105 "vite-plugin-purge-icons": "^0.9.2",
103   - "vite-plugin-style-import": "2.0.0",
104 106 "vite-plugin-svg-icons": "^2.0.1",
105 107 "vite-plugin-vue-setup-extend": "^0.4.0",
106 108 "vite-plugin-windicss": "^1.8.10",
... ...
yudao-ui-admin-vue3/pnpm-lock.yaml
... ... @@ -4,7 +4,7 @@ specifiers:
4 4 '@commitlint/cli': ^17.4.2
5 5 '@commitlint/config-conventional': ^17.4.2
6 6 '@iconify/iconify': ^3.0.1
7   - '@iconify/json': ^2.2.7
  7 + '@iconify/json': ^2.2.8
8 8 '@intlify/unplugin-vue-i18n': ^0.8.1
9 9 '@purge-icons/generated': ^0.9.0
10 10 '@types/intro.js': ^5.1.0
... ... @@ -18,13 +18,13 @@ specifiers:
18 18 '@vitejs/plugin-legacy': ^3.0.1
19 19 '@vitejs/plugin-vue': ^4.0.0
20 20 '@vitejs/plugin-vue-jsx': ^3.0.0
21   - '@vueuse/core': ^9.10.0
  21 + '@vueuse/core': ^9.11.0
22 22 '@wangeditor/editor': ^5.1.23
23 23 '@wangeditor/editor-for-vue': ^5.1.10
24 24 '@zxcvbn-ts/core': ^2.1.0
25 25 animate.css: ^4.1.1
26 26 autoprefixer: ^10.4.13
27   - axios: ^1.2.2
  27 + axios: ^1.2.3
28 28 consola: ^2.15.3
29 29 cropperjs: ^1.5.13
30 30 crypto-js: ^4.1.1
... ... @@ -50,7 +50,7 @@ specifiers:
50 50 prettier: ^2.8.3
51 51 qrcode: ^1.5.1
52 52 qs: ^6.11.0
53   - rimraf: ^4.1.0
  53 + rimraf: ^4.1.1
54 54 rollup: ^3.10.0
55 55 sass: ^1.57.1
56 56 stylelint: ^14.16.1
... ... @@ -61,6 +61,9 @@ specifiers:
61 61 stylelint-order: ^6.0.1
62 62 terser: ^5.16.1
63 63 typescript: 4.9.4
  64 + unplugin-auto-import: ^0.12.1
  65 + unplugin-element-plus: ^0.4.1
  66 + unplugin-vue-components: ^0.22.12
64 67 url: ^0.11.0
65 68 vite: 4.0.4
66 69 vite-plugin-compression: ^0.5.1
... ... @@ -68,7 +71,6 @@ specifiers:
68 71 vite-plugin-eslint: ^1.8.1
69 72 vite-plugin-progress: ^0.0.6
70 73 vite-plugin-purge-icons: ^0.9.2
71   - vite-plugin-style-import: 2.0.0
72 74 vite-plugin-svg-icons: ^2.0.1
73 75 vite-plugin-vue-setup-extend: ^0.4.0
74 76 vite-plugin-windicss: ^1.8.10
... ... @@ -84,12 +86,12 @@ specifiers:
84 86  
85 87 dependencies:
86 88 '@iconify/iconify': 3.0.1
87   - '@vueuse/core': 9.10.0_vue@3.2.45
  89 + '@vueuse/core': 9.11.0_vue@3.2.45
88 90 '@wangeditor/editor': 5.1.23
89 91 '@wangeditor/editor-for-vue': 5.1.12_3apfu3xbp6awzuex7ed3sbrv6y
90 92 '@zxcvbn-ts/core': 2.1.0
91 93 animate.css: 4.1.1
92   - axios: 1.2.2
  94 + axios: 1.2.3
93 95 cropperjs: 1.5.13
94 96 crypto-js: 4.1.1
95 97 dayjs: 1.11.7
... ... @@ -116,7 +118,7 @@ dependencies:
116 118 devDependencies:
117 119 '@commitlint/cli': 17.4.2
118 120 '@commitlint/config-conventional': 17.4.2
119   - '@iconify/json': 2.2.7
  121 + '@iconify/json': 2.2.8
120 122 '@intlify/unplugin-vue-i18n': 0.8.1_vue-i18n@9.2.2
121 123 '@purge-icons/generated': 0.9.0
122 124 '@types/intro.js': 5.1.0
... ... @@ -142,7 +144,7 @@ devDependencies:
142 144 postcss-html: 1.5.0
143 145 postcss-scss: 4.0.6_postcss@8.4.21
144 146 prettier: 2.8.3
145   - rimraf: 4.1.0
  147 + rimraf: 4.1.1
146 148 rollup: 3.10.0
147 149 sass: 1.57.1
148 150 stylelint: 14.16.1
... ... @@ -153,13 +155,15 @@ devDependencies:
153 155 stylelint-order: 6.0.1_stylelint@14.16.1
154 156 terser: 5.16.1
155 157 typescript: 4.9.4
  158 + unplugin-auto-import: 0.12.1_ta7poabqclszbk6bszysx4wo3y
  159 + unplugin-element-plus: 0.4.1_rollup@3.10.0+vite@4.0.4
  160 + unplugin-vue-components: 0.22.12_rollup@3.10.0+vue@3.2.45
156 161 vite: 4.0.4_zxbrnrc4iyldik6mikh3pswz4i
157 162 vite-plugin-compression: 0.5.1_vite@4.0.4
158 163 vite-plugin-ejs: 1.6.4
159 164 vite-plugin-eslint: 1.8.1_eslint@8.32.0+vite@4.0.4
160 165 vite-plugin-progress: 0.0.6_vite@4.0.4
161 166 vite-plugin-purge-icons: 0.9.2_vite@4.0.4
162   - vite-plugin-style-import: 2.0.0_vite@4.0.4
163 167 vite-plugin-svg-icons: 2.0.1_vite@4.0.4
164 168 vite-plugin-vue-setup-extend: 0.4.0_vite@4.0.4
165 169 vite-plugin-windicss: 1.8.10_vite@4.0.4
... ... @@ -177,7 +181,7 @@ packages:
177 181 dev: true
178 182  
179 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 185 dev: true
182 186  
183 187 /@babel/code-frame/7.18.6:
... ... @@ -963,8 +967,8 @@ packages:
963 967 dependencies:
964 968 '@iconify/types': 2.0.0
965 969  
966   - /@iconify/json/2.2.7:
967   - resolution: {integrity: sha512-cWDwr+KE0KNSFmxrR0rvM5AmP4JmJWCZiyhFZ1bywwBJsrV/x+19bLbEAvmn4pmKKYWCAy4F9clpVWynYslzoQ==}
  970 + /@iconify/json/2.2.8:
  971 + resolution: {integrity: sha512-Vusnz/QRrTmGFzzmZ1Mf6mG2OEbBWLrd/gXgaBpCbjP/abDLdKd7+DMRJlaZA/jqMJ0rsIL0juZ9FwApBnh/ww==}
968 972 dependencies:
969 973 '@iconify/types': 2.0.0
970 974 pathe: 1.0.0
... ... @@ -1171,6 +1175,21 @@ packages:
1171 1175 picomatch: 2.3.1
1172 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 1193 /@sxzz/popperjs-es/2.11.7:
1175 1194 resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==}
1176 1195 dev: false
... ... @@ -1277,7 +1296,6 @@ packages:
1277 1296  
1278 1297 /@types/web-bluetooth/0.0.16:
1279 1298 resolution: {integrity: sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ==}
1280   - dev: false
1281 1299  
1282 1300 /@typescript-eslint/eslint-plugin/5.48.2_caon6io6stgpr7lz2rtbhekxqy:
1283 1301 resolution: {integrity: sha512-sR0Gja9Ky1teIq4qJOl0nC+Tk64/uYdX+mi+5iB//MH8gwyx8e3SOyhEzeLZEFEEfCaLf8KJq+Bd/6je1t+CAg==}
... ... @@ -1628,30 +1646,27 @@ packages:
1628 1646 /@vue/shared/3.2.45:
1629 1647 resolution: {integrity: sha512-Ewzq5Yhimg7pSztDV+RH1UDKBzmtqieXQlpTVm2AwraoRL/Rks96mvd8Vgi7Lj+h+TH8dv7mXD3FRZR3TUvbSg==}
1630 1648  
1631   - /@vueuse/core/9.10.0_vue@3.2.45:
1632   - resolution: {integrity: sha512-CxMewME07qeuzuT/AOIQGv0EhhDoojniqU6pC3F8m5VC76L47UT18DcX88kWlP3I7d3qMJ4u/PD8iSRsy3bmNA==}
  1649 + /@vueuse/core/9.11.0_vue@3.2.45:
  1650 + resolution: {integrity: sha512-7yZJ8LNOssA8ZmeSjd4F+wbFBA4csiP4TiaXgruqg1H4PAtzSkv93PPwFLvQkSnfo3Bar+e+6QoRvWjhz7l2Xg==}
1633 1651 dependencies:
1634 1652 '@types/web-bluetooth': 0.0.16
1635   - '@vueuse/metadata': 9.10.0
1636   - '@vueuse/shared': 9.10.0_vue@3.2.45
  1653 + '@vueuse/metadata': 9.11.0
  1654 + '@vueuse/shared': 9.11.0_vue@3.2.45
1637 1655 vue-demi: 0.13.11_vue@3.2.45
1638 1656 transitivePeerDependencies:
1639 1657 - '@vue/composition-api'
1640 1658 - vue
1641   - dev: false
1642 1659  
1643   - /@vueuse/metadata/9.10.0:
1644   - resolution: {integrity: sha512-G5VZhgTCapzU9rv0Iq2HBrVOSGzOKb+OE668NxhXNcTjUjwYxULkEhAw70FtRLMZc+hxcFAzDZlKYA0xcwNMuw==}
1645   - dev: false
  1660 + /@vueuse/metadata/9.11.0:
  1661 + resolution: {integrity: sha512-HhtG2SWkcfZBLbamHdvLn7jKOCFpw/ifXjVTd5ilFkj98WVUk/3UTQ03wF1XIkuhSO4+b45hD2lfG9/GdKCF7w==}
1646 1662  
1647   - /@vueuse/shared/9.10.0_vue@3.2.45:
1648   - resolution: {integrity: sha512-vakHJ2ZRklAzqmcVBL38RS7BxdBA4+5poG9NsSyqJxrt9kz0zX3P5CXMy0Hm6LFbZXUgvKdqAS3pUH1zX/5qTQ==}
  1663 + /@vueuse/shared/9.11.0_vue@3.2.45:
  1664 + resolution: {integrity: sha512-8lO7wD5abYxupKy2KynH1pSgP715ky6iCrWYb8aX2AuAVi9uHXj7qE1dw6BnmArSaLHci4x9iuzWPCpAzUkC/A==}
1649 1665 dependencies:
1650 1666 vue-demi: 0.13.11_vue@3.2.45
1651 1667 transitivePeerDependencies:
1652 1668 - '@vue/composition-api'
1653 1669 - vue
1654   - dev: false
1655 1670  
1656 1671 /@wangeditor/basic-modules/1.1.7_j7icpicfeimtkldwmemjnpdjs4:
1657 1672 resolution: {integrity: sha512-cY9CPkLJaqF05STqfpZKWG4LpxTMeGSIIF1fHvfm/mz+JXatCagjdkbxdikOuKYlxDdeqvOeBmsUBItufDLXZg==}
... ... @@ -2084,8 +2099,8 @@ packages:
2084 2099 - debug
2085 2100 dev: true
2086 2101  
2087   - /axios/1.2.2:
2088   - resolution: {integrity: sha512-bz/J4gS2S3I7mpN/YZfGFTqhXTYzRho8Ay38w2otuuDR322KzFIWm/4W2K6gIwvWaws5n+mnb7D1lN9uD+QH6Q==}
  2102 + /axios/1.2.3:
  2103 + resolution: {integrity: sha512-pdDkMYJeuXLZ6Xj/Q5J3Phpe+jbGdsSzlQaFVkMQzRUL05+6+tetX8TV3p4HrU4kzuO9bt+io/yGQxuyxA/xcw==}
2089 2104 dependencies:
2090 2105 follow-redirects: 1.15.2
2091 2106 form-data: 4.0.0
... ... @@ -2212,13 +2227,6 @@ packages:
2212 2227 engines: {node: '>=6'}
2213 2228 dev: true
2214 2229  
2215   - /camel-case/4.1.2:
2216   - resolution: {integrity: sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==}
2217   - dependencies:
2218   - pascal-case: 3.1.2
2219   - tslib: 2.4.1
2220   - dev: true
2221   -
2222 2230 /camelcase-keys/6.2.2:
2223 2231 resolution: {integrity: sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==}
2224 2232 engines: {node: '>=8'}
... ... @@ -2241,14 +2249,6 @@ packages:
2241 2249 resolution: {integrity: sha512-zBUoFU0ZcxpvSt9IU66dXVT/3ctO1cy4y9cscs1szkPlcWb6pasYM144GqrUygUbT+k7cmUCW61cvskjcv0enQ==}
2242 2250 dev: true
2243 2251  
2244   - /capital-case/1.0.4:
2245   - resolution: {integrity: sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A==}
2246   - dependencies:
2247   - no-case: 3.0.4
2248   - tslib: 2.4.1
2249   - upper-case-first: 2.0.2
2250   - dev: true
2251   -
2252 2252 /chalk/1.1.3:
2253 2253 resolution: {integrity: sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==}
2254 2254 engines: {node: '>=0.10.0'}
... ... @@ -2277,23 +2277,6 @@ packages:
2277 2277 supports-color: 7.2.0
2278 2278 dev: true
2279 2279  
2280   - /change-case/4.1.2:
2281   - resolution: {integrity: sha512-bSxY2ws9OtviILG1EiY5K7NNxkqg/JnRnFxLtKQ96JaviiIxi7djMrSd0ECT9AC+lttClmYwKw53BWpOMblo7A==}
2282   - dependencies:
2283   - camel-case: 4.1.2
2284   - capital-case: 1.0.4
2285   - constant-case: 3.0.4
2286   - dot-case: 3.0.4
2287   - header-case: 2.0.4
2288   - no-case: 3.0.4
2289   - param-case: 3.0.4
2290   - pascal-case: 3.1.2
2291   - path-case: 3.0.4
2292   - sentence-case: 3.0.4
2293   - snake-case: 3.0.4
2294   - tslib: 2.4.1
2295   - dev: true
2296   -
2297 2280 /chokidar/3.5.3:
2298 2281 resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==}
2299 2282 engines: {node: '>= 8.10.0'}
... ... @@ -2448,18 +2431,6 @@ packages:
2448 2431 resolution: {integrity: sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==}
2449 2432 dev: true
2450 2433  
2451   - /console/0.7.2:
2452   - resolution: {integrity: sha512-+JSDwGunA4MTEgAV/4VBKwUHonP8CzJ/6GIuwPi6acKFqFfHUdSGCm89ZxZ5FfGWdZfkdgAroy5bJ5FSeN/t4g==}
2453   - dev: true
2454   -
2455   - /constant-case/3.0.4:
2456   - resolution: {integrity: sha512-I2hSBi7Vvs7BEuJDr5dDHfzb/Ruj3FyvFyh7KLilAjNQw3Be+xgqUBA2W6scVEcL0hL1dwPRtIqEPVUCKkSsyQ==}
2457   - dependencies:
2458   - no-case: 3.0.4
2459   - tslib: 2.4.1
2460   - upper-case: 2.0.2
2461   - dev: true
2462   -
2463 2434 /conventional-changelog-angular/5.0.13:
2464 2435 resolution: {integrity: sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA==}
2465 2436 engines: {node: '>=10'}
... ... @@ -2815,13 +2786,6 @@ packages:
2815 2786 domhandler: 5.0.3
2816 2787 dev: true
2817 2788  
2818   - /dot-case/3.0.4:
2819   - resolution: {integrity: sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==}
2820   - dependencies:
2821   - no-case: 3.0.4
2822   - tslib: 2.4.1
2823   - dev: true
2824   -
2825 2789 /dot-prop/5.3.0:
2826 2790 resolution: {integrity: sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==}
2827 2791 engines: {node: '>=8'}
... ... @@ -2871,7 +2835,7 @@ packages:
2871 2835 '@popperjs/core': /@sxzz/popperjs-es/2.11.7
2872 2836 '@types/lodash': 4.14.189
2873 2837 '@types/lodash-es': 4.17.6
2874   - '@vueuse/core': 9.10.0_vue@3.2.45
  2838 + '@vueuse/core': 9.11.0_vue@3.2.45
2875 2839 async-validator: 4.2.5
2876 2840 dayjs: 1.11.7
2877 2841 escape-html: 1.0.3
... ... @@ -2920,8 +2884,8 @@ packages:
2920 2884 is-arrayish: 0.2.1
2921 2885 dev: true
2922 2886  
2923   - /es-module-lexer/0.9.3:
2924   - resolution: {integrity: sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==}
  2887 + /es-module-lexer/0.10.5:
  2888 + resolution: {integrity: sha512-+7IwY/kiGAacQfY+YBhKMvEmyAJnw5grTUgjG85Pe7vcUI/6b7pZjZG8nQ7+48YhzEAEqrEgD2dCz/JIK+AYvw==}
2925 2889 dev: true
2926 2890  
2927 2891 /es5-ext/0.10.62:
... ... @@ -2998,6 +2962,11 @@ packages:
2998 2962 engines: {node: '>=10'}
2999 2963 dev: true
3000 2964  
  2965 + /escape-string-regexp/5.0.0:
  2966 + resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==}
  2967 + engines: {node: '>=12'}
  2968 + dev: true
  2969 +
3001 2970 /eslint-config-prettier/8.6.0_eslint@8.32.0:
3002 2971 resolution: {integrity: sha512-bAF0eLpLVqP5oEVUFKpMA+NnRFICwn9X8B5jrR9FcqnYBuPbqWEjTEspPWMj5ye6czoSLDweCzSo3Ko7gGrZaA==}
3003 2972 hasBin: true
... ... @@ -3646,13 +3615,6 @@ packages:
3646 3615 hasBin: true
3647 3616 dev: true
3648 3617  
3649   - /header-case/2.0.4:
3650   - resolution: {integrity: sha512-H/vuk5TEEVZwrR0lp2zed9OCo1uAILMlx0JEMgC26rzyJJ3N1v6XkwHHXJQdR2doSjcGPM6OKPYoJgf0plJ11Q==}
3651   - dependencies:
3652   - capital-case: 1.0.4
3653   - tslib: 2.4.1
3654   - dev: true
3655   -
3656 3618 /hosted-git-info/2.8.9:
3657 3619 resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==}
3658 3620 dev: true
... ... @@ -4047,6 +4009,10 @@ packages:
4047 4009 semver: 6.3.0
4048 4010 dev: true
4049 4011  
  4012 + /jsonc-parser/3.2.0:
  4013 + resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==}
  4014 + dev: true
  4015 +
4050 4016 /jsonfile/6.1.0:
4051 4017 resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==}
4052 4018 dependencies:
... ... @@ -4160,6 +4126,11 @@ packages:
4160 4126 json5: 1.0.1
4161 4127 dev: true
4162 4128  
  4129 + /local-pkg/0.4.2:
  4130 + resolution: {integrity: sha512-mlERgSPrbxU3BP4qBqAvvwlgW4MTg78iwJdGGnv7kibKjWcJksrG3t6LB5lXI93wXRDvG4NpUgJFmTG4T6rdrg==}
  4131 + engines: {node: '>=14'}
  4132 + dev: true
  4133 +
4163 4134 /locate-path/5.0.0:
4164 4135 resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==}
4165 4136 engines: {node: '>=8'}
... ... @@ -4269,12 +4240,6 @@ packages:
4269 4240 wrap-ansi: 6.2.0
4270 4241 dev: true
4271 4242  
4272   - /lower-case/2.0.2:
4273   - resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==}
4274   - dependencies:
4275   - tslib: 2.4.1
4276   - dev: true
4277   -
4278 4243 /lru-cache/6.0.0:
4279 4244 resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==}
4280 4245 engines: {node: '>=10'}
... ... @@ -4287,6 +4252,13 @@ packages:
4287 4252 dependencies:
4288 4253 sourcemap-codec: 1.4.8
4289 4254  
  4255 + /magic-string/0.26.7:
  4256 + resolution: {integrity: sha512-hX9XH3ziStPoPhJxLq1syWuZMxbDvGNbVchfrdCtanC7D13888bMFow61x8axrx+GfHLtVeAx2kxL7tTGRl+Ow==}
  4257 + engines: {node: '>=12'}
  4258 + dependencies:
  4259 + sourcemap-codec: 1.4.8
  4260 + dev: true
  4261 +
4290 4262 /magic-string/0.27.0:
4291 4263 resolution: {integrity: sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npm.taobao.org/magic-string/-/magic-string-0.27.0.tgz}
4292 4264 engines: {node: '>=12'}
... ... @@ -4483,6 +4455,15 @@ packages:
4483 4455 is-extendable: 1.0.1
4484 4456 dev: true
4485 4457  
  4458 + /mlly/1.1.0:
  4459 + resolution: {integrity: sha512-cwzBrBfwGC1gYJyfcy8TcZU1f+dbH/T+TuOhtYP2wLv/Fb51/uV7HJQfBPtEupZ2ORLRU1EKFS/QfS3eo9+kBQ==}
  4460 + dependencies:
  4461 + acorn: 8.8.1
  4462 + pathe: 1.0.0
  4463 + pkg-types: 1.0.1
  4464 + ufo: 1.0.1
  4465 + dev: true
  4466 +
4486 4467 /ms/2.0.0:
4487 4468 resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==}
4488 4469 dev: true
... ... @@ -4535,13 +4516,6 @@ packages:
4535 4516 resolution: {integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==}
4536 4517 dev: false
4537 4518  
4538   - /no-case/3.0.4:
4539   - resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==}
4540   - dependencies:
4541   - lower-case: 2.0.2
4542   - tslib: 2.4.1
4543   - dev: true
4544   -
4545 4519 /node-fetch/2.6.7:
4546 4520 resolution: {integrity: sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npm.taobao.org/node-fetch/-/node-fetch-2.6.7.tgz}
4547 4521 engines: {node: 4.x || >=6.0.0}
... ... @@ -4715,13 +4689,6 @@ packages:
4715 4689 resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==}
4716 4690 engines: {node: '>=6'}
4717 4691  
4718   - /param-case/3.0.4:
4719   - resolution: {integrity: sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==}
4720   - dependencies:
4721   - dot-case: 3.0.4
4722   - tslib: 2.4.1
4723   - dev: true
4724   -
4725 4692 /parent-module/1.0.1:
4726 4693 resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==}
4727 4694 engines: {node: '>=6'}
... ... @@ -4739,25 +4706,11 @@ packages:
4739 4706 lines-and-columns: 1.2.4
4740 4707 dev: true
4741 4708  
4742   - /pascal-case/3.1.2:
4743   - resolution: {integrity: sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==}
4744   - dependencies:
4745   - no-case: 3.0.4
4746   - tslib: 2.4.1
4747   - dev: true
4748   -
4749 4709 /pascalcase/0.1.1:
4750 4710 resolution: {integrity: sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw==}
4751 4711 engines: {node: '>=0.10.0'}
4752 4712 dev: true
4753 4713  
4754   - /path-case/3.0.4:
4755   - resolution: {integrity: sha512-qO4qCFjXqVTrcbPt/hQfhTQ+VhFsqNKOPtytgNKkKxSoEp3XPUQ8ObFuePylOIok5gjn69ry8XiULxCwot3Wfg==}
4756   - dependencies:
4757   - dot-case: 3.0.4
4758   - tslib: 2.4.1
4759   - dev: true
4760   -
4761 4714 /path-exists/4.0.0:
4762 4715 resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==}
4763 4716 engines: {node: '>=8'}
... ... @@ -4826,6 +4779,14 @@ packages:
4826 4779 vue-demi: 0.13.11_vue@3.2.45
4827 4780 dev: false
4828 4781  
  4782 + /pkg-types/1.0.1:
  4783 + resolution: {integrity: sha512-jHv9HB+Ho7dj6ItwppRDDl0iZRYBD0jsakHXtFgoLr+cHSF6xC+QL54sJmWxyGxOLYSHm0afhXhXcQDQqH9z8g==}
  4784 + dependencies:
  4785 + jsonc-parser: 3.2.0
  4786 + mlly: 1.1.0
  4787 + pathe: 1.0.0
  4788 + dev: true
  4789 +
4829 4790 /pngjs/5.0.0:
4830 4791 resolution: {integrity: sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==}
4831 4792 engines: {node: '>=10.13.0'}
... ... @@ -5192,8 +5153,8 @@ packages:
5192 5153 glob: 7.2.3
5193 5154 dev: true
5194 5155  
5195   - /rimraf/4.1.0:
5196   - resolution: {integrity: sha512-ZJdkUR5/dRrRJHdcSKJLrpRn6tVjl9ALxd4yrTCxFsMpjQNzwHF6GLqMsuEzEYIXxHlFPDSk21Vr8VPuFBEz0g==}
  5156 + /rimraf/4.1.1:
  5157 + resolution: {integrity: sha512-Z4Y81w8atcvaJuJuBB88VpADRH66okZAuEm+Jtaufa+s7rZmIz+Hik2G53kGaNytE7lsfXyWktTmfVz0H9xuDg==}
5197 5158 engines: {node: '>=14'}
5198 5159 hasBin: true
5199 5160 dev: true
... ... @@ -5263,6 +5224,10 @@ packages:
5263 5224 compute-scroll-into-view: 1.0.17
5264 5225 dev: false
5265 5226  
  5227 + /scule/1.0.0:
  5228 + resolution: {integrity: sha512-4AsO/FrViE/iDNEPaAQlb77tf0csuq27EsVpy6ett584EcRTp6pTDLoGWVxCD77y5iU5FauOvhsI4o1APwPoSQ==}
  5229 + dev: true
  5230 +
5266 5231 /semver/5.7.1:
5267 5232 resolution: {integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==}
5268 5233 hasBin: true
... ... @@ -5281,14 +5246,6 @@ packages:
5281 5246 lru-cache: 6.0.0
5282 5247 dev: true
5283 5248  
5284   - /sentence-case/3.0.4:
5285   - resolution: {integrity: sha512-8LS0JInaQMCRoQ7YUytAo/xUu5W2XnQxV2HI/6uM6U7CITS1RqPElr30V6uIqyMKM9lJGRVFy5/4CuzcixNYSg==}
5286   - dependencies:
5287   - no-case: 3.0.4
5288   - tslib: 2.4.1
5289   - upper-case-first: 2.0.2
5290   - dev: true
5291   -
5292 5249 /set-blocking/2.0.0:
5293 5250 resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==}
5294 5251 dev: false
... ... @@ -5380,13 +5337,6 @@ packages:
5380 5337 engines: {node: '>=8.3.0'}
5381 5338 dev: false
5382 5339  
5383   - /snake-case/3.0.4:
5384   - resolution: {integrity: sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==}
5385   - dependencies:
5386   - dot-case: 3.0.4
5387   - tslib: 2.4.1
5388   - dev: true
5389   -
5390 5340 /snapdragon-node/2.1.1:
5391 5341 resolution: {integrity: sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==}
5392 5342 engines: {node: '>=0.10.0'}
... ... @@ -5586,6 +5536,12 @@ packages:
5586 5536 engines: {node: '>=8'}
5587 5537 dev: true
5588 5538  
  5539 + /strip-literal/1.0.0:
  5540 + resolution: {integrity: sha512-5o4LsH1lzBzO9UFH63AJ2ad2/S2AVx6NtjOcaz+VTT2h1RiRvbipW72z8M/lxEhcPHDBQwpDrnTF7sXy/7OwCQ==}
  5541 + dependencies:
  5542 + acorn: 8.8.1
  5543 + dev: true
  5544 +
5589 5545 /style-search/0.1.0:
5590 5546 resolution: {integrity: sha512-Dj1Okke1C3uKKwQcetra4jSuk0DqbzbYtXipzFlFMZtowbF1x7BKJwB9AayVMyFARvU8EDrZdcax4At/452cAg==}
5591 5547 dev: true
... ... @@ -5958,6 +5914,28 @@ packages:
5958 5914 engines: {node: '>=4.2.0'}
5959 5915 hasBin: true
5960 5916  
  5917 + /ufo/1.0.1:
  5918 + resolution: {integrity: sha512-boAm74ubXHY7KJQZLlXrtMz52qFvpsbOxDcZOnw/Wf+LS4Mmyu7JxmzD4tDLtUQtmZECypJ0FrCz4QIe6dvKRA==}
  5919 + dev: true
  5920 +
  5921 + /unimport/1.2.0_rollup@3.10.0:
  5922 + resolution: {integrity: sha512-yMok/ubppurBE7Png1QH70Om96AxIoWCcfdxW3J/pziozShMc1UGpPgWpSckfo9ndAO5M74yNnRDdLAZy/gWQg==}
  5923 + dependencies:
  5924 + '@rollup/pluginutils': 5.0.2_rollup@3.10.0
  5925 + escape-string-regexp: 5.0.0
  5926 + fast-glob: 3.2.12
  5927 + local-pkg: 0.4.2
  5928 + magic-string: 0.27.0
  5929 + mlly: 1.1.0
  5930 + pathe: 1.0.0
  5931 + pkg-types: 1.0.1
  5932 + scule: 1.0.0
  5933 + strip-literal: 1.0.0
  5934 + unplugin: 1.0.1
  5935 + transitivePeerDependencies:
  5936 + - rollup
  5937 + dev: true
  5938 +
5961 5939 /union-value/1.0.1:
5962 5940 resolution: {integrity: sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==}
5963 5941 engines: {node: '>=0.10.0'}
... ... @@ -5973,6 +5951,92 @@ packages:
5973 5951 engines: {node: '>= 10.0.0'}
5974 5952 dev: true
5975 5953  
  5954 + /unplugin-auto-import/0.12.1_ta7poabqclszbk6bszysx4wo3y:
  5955 + resolution: {integrity: sha512-J/3ZORq5YGKG+8D5vLLOgqaHNK77izlVN07mQ752yRLqBNDbJiwPRSnUwwYqH5N6rDay1SqnJCHaUdbJ9QMI2w==}
  5956 + engines: {node: '>=14'}
  5957 + peerDependencies:
  5958 + '@vueuse/core': '*'
  5959 + peerDependenciesMeta:
  5960 + '@vueuse/core':
  5961 + optional: true
  5962 + dependencies:
  5963 + '@antfu/utils': 0.7.2
  5964 + '@rollup/pluginutils': 5.0.2_rollup@3.10.0
  5965 + '@vueuse/core': 9.11.0_vue@3.2.45
  5966 + local-pkg: 0.4.2
  5967 + magic-string: 0.27.0
  5968 + unimport: 1.2.0_rollup@3.10.0
  5969 + unplugin: 1.0.1
  5970 + transitivePeerDependencies:
  5971 + - rollup
  5972 + dev: true
  5973 +
  5974 + /unplugin-element-plus/0.4.1_rollup@3.10.0+vite@4.0.4:
  5975 + resolution: {integrity: sha512-x8L35sppkbtnAf+aSPXNsLPjCUrM0mWKgujqMIgrHiDQaGbpMlNnbN2kjP5CMclykNOw8fUCreEhtxPyzg8tmw==}
  5976 + engines: {node: '>=14.19.0'}
  5977 + dependencies:
  5978 + '@rollup/pluginutils': 4.2.1
  5979 + es-module-lexer: 0.10.5
  5980 + magic-string: 0.26.7
  5981 + unplugin: 0.7.2_rollup@3.10.0+vite@4.0.4
  5982 + transitivePeerDependencies:
  5983 + - esbuild
  5984 + - rollup
  5985 + - vite
  5986 + - webpack
  5987 + dev: true
  5988 +
  5989 + /unplugin-vue-components/0.22.12_rollup@3.10.0+vue@3.2.45:
  5990 + resolution: {integrity: sha512-FxyzsuBvMCYPIk+8cgscGBQ345tvwVu+qY5IhE++eorkyvA4Z1TiD/HCiim+Kbqozl10i4K+z+NCa2WO2jexRA==}
  5991 + engines: {node: '>=14'}
  5992 + peerDependencies:
  5993 + '@babel/parser': ^7.15.8
  5994 + vue: 2 || 3
  5995 + peerDependenciesMeta:
  5996 + '@babel/parser':
  5997 + optional: true
  5998 + dependencies:
  5999 + '@antfu/utils': 0.7.2
  6000 + '@rollup/pluginutils': 5.0.2_rollup@3.10.0
  6001 + chokidar: 3.5.3
  6002 + debug: 4.3.4
  6003 + fast-glob: 3.2.12
  6004 + local-pkg: 0.4.2
  6005 + magic-string: 0.27.0
  6006 + minimatch: 5.1.2
  6007 + resolve: 1.22.1
  6008 + unplugin: 1.0.1
  6009 + vue: 3.2.45
  6010 + transitivePeerDependencies:
  6011 + - rollup
  6012 + - supports-color
  6013 + dev: true
  6014 +
  6015 + /unplugin/0.7.2_rollup@3.10.0+vite@4.0.4:
  6016 + resolution: {integrity: sha512-m7thX4jP8l5sETpLdUASoDOGOcHaOVtgNyrYlToyQUvILUtEzEnngRBrHnAX3IKqooJVmXpoa/CwQ/QqzvGaHQ==}
  6017 + peerDependencies:
  6018 + esbuild: '>=0.13'
  6019 + rollup: ^2.50.0
  6020 + vite: ^2.3.0 || ^3.0.0-0
  6021 + webpack: 4 || 5
  6022 + peerDependenciesMeta:
  6023 + esbuild:
  6024 + optional: true
  6025 + rollup:
  6026 + optional: true
  6027 + vite:
  6028 + optional: true
  6029 + webpack:
  6030 + optional: true
  6031 + dependencies:
  6032 + acorn: 8.8.1
  6033 + chokidar: 3.5.3
  6034 + rollup: 3.10.0
  6035 + vite: 4.0.4_zxbrnrc4iyldik6mikh3pswz4i
  6036 + webpack-sources: 3.2.3
  6037 + webpack-virtual-modules: 0.4.6
  6038 + dev: true
  6039 +
5976 6040 /unplugin/1.0.1:
5977 6041 resolution: {integrity: sha512-aqrHaVBWW1JVKBHmGo33T5TxeL0qWzfvjWokObHA9bYmN7eNDkwOxmLjhioHl9878qDFMAaT51XNroRyuz7WxA==}
5978 6042 dependencies:
... ... @@ -6001,18 +6065,6 @@ packages:
6001 6065 picocolors: 1.0.0
6002 6066 dev: true
6003 6067  
6004   - /upper-case-first/2.0.2:
6005   - resolution: {integrity: sha512-514ppYHBaKwfJRK/pNC6c/OxfGa0obSnAl106u97Ed0I625Nin96KAjttZF6ZL3e1XLtphxnqrOi9iWgm+u+bg==}
6006   - dependencies:
6007   - tslib: 2.4.1
6008   - dev: true
6009   -
6010   - /upper-case/2.0.2:
6011   - resolution: {integrity: sha512-KgdgDGJt2TpuwBUIjgG6lzw2GWFRCW9Qkfkiv0DxqHHLYJHmtmdUIKcZd8rHgFSjopVTlw6ggzCm1b8MFQwikg==}
6012   - dependencies:
6013   - tslib: 2.4.1
6014   - dev: true
6015   -
6016 6068 /uri-js/4.4.1:
6017 6069 resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}
6018 6070 dependencies:
... ... @@ -6119,21 +6171,6 @@ packages:
6119 6171 - supports-color
6120 6172 dev: true
6121 6173  
6122   - /vite-plugin-style-import/2.0.0_vite@4.0.4:
6123   - resolution: {integrity: sha512-qtoHQae5dSUQPo/rYz/8p190VU5y19rtBaeV7ryLa/AYAU/e9CG89NrN/3+k7MR8mJy/GPIu91iJ3zk9foUOSA==}
6124   - peerDependencies:
6125   - vite: '>=2.0.0'
6126   - dependencies:
6127   - '@rollup/pluginutils': 4.2.1
6128   - change-case: 4.1.2
6129   - console: 0.7.2
6130   - es-module-lexer: 0.9.3
6131   - fs-extra: 10.1.0
6132   - magic-string: 0.25.9
6133   - pathe: 0.2.0
6134   - vite: 4.0.4_zxbrnrc4iyldik6mikh3pswz4i
6135   - dev: true
6136   -
6137 6174 /vite-plugin-svg-icons/2.0.1_vite@4.0.4:
6138 6175 resolution: {integrity: sha512-6ktD+DhV6Rz3VtedYvBKKVA2eXF+sAQVaKkKLDSqGUfnhqXl3bj5PPkVTl3VexfTuZy66PmINi8Q6eFnVfRUmA==}
6139 6176 peerDependencies:
... ... @@ -6225,7 +6262,6 @@ packages:
6225 6262 optional: true
6226 6263 dependencies:
6227 6264 vue: 3.2.45
6228   - dev: false
6229 6265  
6230 6266 /vue-eslint-parser/9.1.0_eslint@8.32.0:
6231 6267 resolution: {integrity: sha512-NGn/iQy8/Wb7RrRa4aRkokyCZfOUWk19OP5HP6JEozQFX5AoS/t+Z0ZN7FY4LlmWc4FNI922V7cvX28zctN8dQ==}
... ... @@ -6329,6 +6365,10 @@ packages:
6329 6365 engines: {node: '>=10.13.0'}
6330 6366 dev: true
6331 6367  
  6368 + /webpack-virtual-modules/0.4.6:
  6369 + resolution: {integrity: sha512-5tyDlKLqPfMqjT3Q9TAqf2YqjwmnUleZwzJi1A5qXnlBCdj2AtOJ6wAWdglTIDOPgOiOrXeBeFcsQ8+aGQ6QbA==}
  6370 + dev: true
  6371 +
6332 6372 /webpack-virtual-modules/0.5.0:
6333 6373 resolution: {integrity: sha512-kyDivFZ7ZM0BVOUteVbDFhlRt7Ah/CSPwJdi8hBpkK7QLumUqdLtVfm/PX/hkcnrvr0i77fO5+TjZ94Pe+C9iw==}
6334 6374 dev: true
... ...
yudao-ui-admin-vue3/src/App.vue
1 1 <script setup lang="ts">
2   -import { computed } from 'vue'
3 2 import { isDark } from '@/utils/is'
4 3 import { useAppStore } from '@/store/modules/app'
5 4 import { useDesign } from '@/hooks/web/useDesign'
6   -import { ConfigGlobal } from '@/components/ConfigGlobal'
7 5 import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
8 6  
9 7 const { getPrefixCls } = useDesign()
... ...
yudao-ui-admin-vue3/src/components/ConfigGlobal/src/ConfigGlobal.vue
1 1 <script setup lang="ts">
2   -import { provide, computed, watch, onMounted } from 'vue'
3 2 import { propTypes } from '@/utils/propTypes'
4   -import { ElConfigProvider } from 'element-plus'
5 3 import { useLocaleStore } from '@/store/modules/locale'
6   -import { useWindowSize } from '@vueuse/core'
7 4 import { useAppStore } from '@/store/modules/app'
8 5 import { setCssVar } from '@/utils'
9 6 import { useDesign } from '@/hooks/web/useDesign'
10 7 import { ElementPlusSize } from '@/types/elementPlus'
  8 +import { useWindowSize } from '@vueuse/core'
11 9  
12 10 const { variables } = useDesign()
13 11  
... ...
yudao-ui-admin-vue3/src/components/ContentDetailWrap/src/ContentDetailWrap.vue
1 1 <script setup lang="ts">
2   -import { ElCard } from 'element-plus'
3 2 import { propTypes } from '@/utils/propTypes'
4 3 import { useDesign } from '@/hooks/web/useDesign'
5   -import { ref, onMounted } from 'vue'
6   -import { Sticky } from '@/components/Sticky'
7   -import { useI18n } from '@/hooks/web/useI18n'
  4 +
8 5 const { t } = useI18n()
9 6  
10 7 const { getPrefixCls } = useDesign()
... ...
yudao-ui-admin-vue3/src/components/CountTo/src/CountTo.vue
1 1 <script setup lang="ts">
2   -import { reactive, computed, watch, onMounted, unref, toRef, PropType } from 'vue'
  2 +import { PropType } from 'vue'
3 3 import { isNumber } from '@/utils/is'
4 4 import { propTypes } from '@/utils/propTypes'
5 5 import { useDesign } from '@/hooks/web/useDesign'
... ...
yudao-ui-admin-vue3/src/components/Crontab/src/Crontab.vue
1 1 <script setup lang="ts">
2   -import {
3   - ElInput,
4   - ElInputNumber,
5   - ElDialog,
6   - ElTabs,
7   - ElTabPane,
8   - ElSelect,
9   - ElOption,
10   - ElForm,
11   - ElFormItem,
12   - ElRadioGroup,
13   - ElRadioButton,
14   - ElMessage
15   -} from 'element-plus'
16   -import { ref, computed, onMounted, reactive, watch, PropType } from 'vue'
  2 +import { ElMessage } from 'element-plus'
  3 +import { PropType } from 'vue'
17 4 interface shortcutsType {
18 5 text: string
19 6 value: string
... ...
yudao-ui-admin-vue3/src/components/Cropper/src/CopperModal.vue
... ... @@ -116,11 +116,7 @@
116 116 <script setup lang="ts">
117 117 import { useDesign } from '@/hooks/web/useDesign'
118 118 import { dataURLtoBlob } from '@/utils/filt'
119   -import { ref } from 'vue'
120 119 import { useI18n } from 'vue-i18n'
121   -import { ElUpload, ElAvatar, ElTooltip, ElSpace } from 'element-plus'
122   -import { Dialog } from '@/components/Dialog'
123   -import { CropperImage } from '@/components/Cropper'
124 120 import type { CropendResult, Cropper } from './types'
125 121 import { propTypes } from '@/utils/propTypes'
126 122  
... ...
yudao-ui-admin-vue3/src/components/Cropper/src/Cropper.vue
... ... @@ -11,21 +11,12 @@
11 11 </div>
12 12 </template>
13 13 <script setup lang="ts">
14   -import {
15   - computed,
16   - CSSProperties,
17   - onMounted,
18   - onUnmounted,
19   - PropType,
20   - ref,
21   - unref,
22   - useAttrs
23   -} from 'vue'
  14 +import { CSSProperties, PropType } from 'vue'
24 15 import Cropper from 'cropperjs'
25 16 import 'cropperjs/dist/cropper.css'
26 17 import { useDesign } from '@/hooks/web/useDesign'
27   -import { useDebounceFn } from '@vueuse/core'
28 18 import { propTypes } from '@/utils/propTypes'
  19 +import { useDebounceFn } from '@vueuse/core'
29 20  
30 21 type Options = Cropper.Options
31 22  
... ...
yudao-ui-admin-vue3/src/components/Cropper/src/CropperAvatar.vue
... ... @@ -13,9 +13,8 @@
13 13 </template>
14 14 <script setup lang="ts">
15 15 import { useDesign } from '@/hooks/web/useDesign'
16   -import { useMessage } from '@/hooks/web/useMessage'
  16 +
17 17 import { propTypes } from '@/utils/propTypes'
18   -import { ref, watch, watchEffect } from 'vue'
19 18 import { useI18n } from 'vue-i18n'
20 19 import CopperModal from './CopperModal.vue'
21 20  
... ...
yudao-ui-admin-vue3/src/components/Descriptions/src/Descriptions.vue
1 1 <script setup lang="ts">
  2 +import { PropType } from 'vue'
2 3 import dayjs from 'dayjs'
3   -import { ElCollapseTransition, ElDescriptions, ElDescriptionsItem, ElTooltip } from 'element-plus'
4 4 import { useDesign } from '@/hooks/web/useDesign'
5 5 import { propTypes } from '@/utils/propTypes'
6   -import { ref, unref, PropType, computed, useAttrs, useSlots } from 'vue'
7 6 import { useAppStore } from '@/store/modules/app'
8 7 import { DescriptionsSchema } from '@/types/descriptions'
9 8  
... ...
yudao-ui-admin-vue3/src/components/Dialog/src/Dialog.vue
1 1 <script setup lang="ts">
2   -import { ElDialog, ElScrollbar } from 'element-plus'
3 2 import { propTypes } from '@/utils/propTypes'
4   -import { computed, useAttrs, ref, unref, useSlots, watch, nextTick } from 'vue'
5 3 import { isNumber } from '@/utils/is'
6 4  
7 5 const slots = useSlots()
... ...
yudao-ui-admin-vue3/src/components/Echart/src/Echart.vue
... ... @@ -4,7 +4,7 @@ import echarts from &#39;@/plugins/echarts&#39;
4 4 import { debounce } from 'lodash-es'
5 5 import 'echarts-wordcloud'
6 6 import { propTypes } from '@/utils/propTypes'
7   -import { computed, PropType, ref, unref, watch, onMounted, onBeforeUnmount, onActivated } from 'vue'
  7 +import { PropType } from 'vue'
8 8 import { useAppStore } from '@/store/modules/app'
9 9 import { isString } from '@/utils/is'
10 10 import { useDesign } from '@/hooks/web/useDesign'
... ...
yudao-ui-admin-vue3/src/components/Editor/src/Editor.vue
1 1 <script setup lang="ts">
2   -import { onBeforeUnmount, computed, PropType, unref, nextTick, ref, watch, shallowRef } from 'vue'
  2 +import { PropType } from 'vue'
3 3 import { Editor, Toolbar } from '@wangeditor/editor-for-vue'
4 4 import { IDomEditor, IEditorConfig, i18nChangeLanguage } from '@wangeditor/editor'
5 5 import { propTypes } from '@/utils/propTypes'
... ...
yudao-ui-admin-vue3/src/components/Error/src/Error.vue
... ... @@ -3,7 +3,6 @@ import pageError from &#39;@/assets/svgs/404.svg&#39;
3 3 import networkError from '@/assets/svgs/500.svg'
4 4 import noPermission from '@/assets/svgs/403.svg'
5 5 import { propTypes } from '@/utils/propTypes'
6   -import { useI18n } from '@/hooks/web/useI18n'
7 6  
8 7 interface ErrorMap {
9 8 url: string
... ...
yudao-ui-admin-vue3/src/components/Form/src/helper.ts
1   -import { useI18n } from '@/hooks/web/useI18n'
2 1 import type { Slots } from 'vue'
3 2 import { getSlot } from '@/utils/tsxHelper'
4 3 import { PlaceholderMoel } from './types'
... ...
yudao-ui-admin-vue3/src/components/IFrame/src/IFrame.vue
1 1 <script setup lang="ts">
2   -import { ref, onMounted } from 'vue'
3 2 import { propTypes } from '@/utils/propTypes'
4 3  
5 4 const props = defineProps({
... ...
yudao-ui-admin-vue3/src/components/Icon/src/Icon.vue
1 1 <script setup lang="ts">
2   -import { computed, unref, ref, watch, nextTick } from 'vue'
3   -import { ElIcon } from 'element-plus'
4 2 import { propTypes } from '@/utils/propTypes'
5 3 import Iconify from '@purge-icons/generated'
6 4 import { useDesign } from '@/hooks/web/useDesign'
... ...
yudao-ui-admin-vue3/src/components/ImageViewer/src/ImageViewer.vue
1 1 <script setup lang="ts">
2   -import { ElImageViewer } from 'element-plus'
3   -import { computed, ref, PropType } from 'vue'
  2 +import { PropType } from 'vue'
4 3 import { propTypes } from '@/utils/propTypes'
5 4  
6 5 const props = defineProps({
... ...
yudao-ui-admin-vue3/src/components/Infotip/src/Infotip.vue
1 1 <script setup lang="ts">
2 2 import { PropType } from 'vue'
3   -import { Highlight } from '@/components/Highlight'
4 3 import { useDesign } from '@/hooks/web/useDesign'
5 4 import { propTypes } from '@/utils/propTypes'
6 5 import { TipSchema } from '@/types/infoTip'
... ...
yudao-ui-admin-vue3/src/components/InputPassword/src/InputPassword.vue
1 1 <script setup lang="ts">
2   -import { ref, unref, computed, watch } from 'vue'
3   -import { ElInput } from 'element-plus'
4 2 import { propTypes } from '@/utils/propTypes'
5 3 import { useConfigGlobal } from '@/hooks/web/useConfigGlobal'
6 4 import { zxcvbn } from '@zxcvbn-ts/core'
... ...
yudao-ui-admin-vue3/src/components/Search/src/Search.vue
1 1 <script setup lang="ts">
2   -import { Form } from '@/components/Form'
3   -import { PropType, computed, unref, ref } from 'vue'
  2 +import { PropType } from 'vue'
4 3 import { propTypes } from '@/utils/propTypes'
5   -import { ElButton } from 'element-plus'
6   -import { useI18n } from '@/hooks/web/useI18n'
  4 +
7 5 import { useForm } from '@/hooks/web/useForm'
8 6 import { findIndex } from '@/utils'
9 7 import { cloneDeep } from 'lodash-es'
... ...
yudao-ui-admin-vue3/src/components/Sticky/src/Sticky.vue
1 1 <script setup lang="ts">
2 2 import { propTypes } from '@/utils/propTypes'
3   -import { ref, onMounted, onActivated, shallowRef } from 'vue'
4   -import { useEventListener, useWindowSize, isClient } from '@vueuse/core'
  3 +import { isClient, useEventListener, useWindowSize } from '@vueuse/core'
5 4 import type { CSSProperties } from 'vue'
6 5 const props = defineProps({
7 6 // 距离顶部或者底部的距离(单位px)
... ...
yudao-ui-admin-vue3/src/components/UploadFile/src/UploadFile.vue
... ... @@ -33,11 +33,11 @@
33 33 </div>
34 34 </template>
35 35 <script setup lang="ts" name="UploadFile">
36   -import { PropType, ref } from 'vue'
37   -import { useMessage } from '@/hooks/web/useMessage'
  36 +import { PropType } from 'vue'
  37 +
38 38 import { propTypes } from '@/utils/propTypes'
39 39 import { getAccessToken, getTenantId } from '@/utils/auth'
40   -import { ElUpload, UploadInstance, UploadProps, UploadRawFile, UploadUserFile } from 'element-plus'
  40 +import type { UploadInstance, UploadUserFile, UploadProps, UploadRawFile } from 'element-plus'
41 41  
42 42 const message = useMessage() // 消息弹窗
43 43 const emit = defineEmits(['update:modelValue'])
... ...
yudao-ui-admin-vue3/src/components/UploadFile/src/UploadImg.vue
... ... @@ -51,11 +51,8 @@
51 51 </template>
52 52  
53 53 <script setup lang="ts" name="UploadImg">
54   -import { ref } from 'vue'
55 54 import type { UploadProps } from 'element-plus'
56   -import { ElUpload, ElNotification, ElImageViewer } from 'element-plus'
57   -import { useI18n } from '@/hooks/web/useI18n'
58   -import { useMessage } from '@/hooks/web/useMessage'
  55 +
59 56 import { generateUUID } from '@/utils'
60 57 import { propTypes } from '@/utils/propTypes'
61 58 import { getAccessToken, getTenantId } from '@/utils/auth'
... ... @@ -111,17 +108,8 @@ const beforeUpload: UploadProps[&#39;beforeUpload&#39;] = (rawFile) =&gt; {
111 108 const imgSize = rawFile.size / 1024 / 1024 < props.fileSize
112 109 const imgType = props.fileType
113 110 if (!imgType.includes(rawFile.type as FileTypes))
114   - ElNotification({
115   - title: '温馨提示',
116   - message: '上传图片不符合所需的格式!',
117   - type: 'warning'
118   - })
119   - if (!imgSize)
120   - ElNotification({
121   - title: '温馨提示',
122   - message: `上传图片大小不能超过 ${props.fileSize}M!`,
123   - type: 'warning'
124   - })
  111 + message.notifyWarning('上传图片不符合所需的格式!')
  112 + if (!imgSize) message.notifyWarning(`上传图片大小不能超过 ${props.fileSize}M!`)
125 113 return imgType.includes(rawFile.type as FileTypes) && imgSize
126 114 }
127 115  
... ... @@ -133,11 +121,7 @@ const uploadSuccess: UploadProps[&#39;onSuccess&#39;] = (res: any): void =&gt; {
133 121  
134 122 // 图片上传错误提示
135 123 const uploadError = () => {
136   - ElNotification({
137   - title: '温馨提示',
138   - message: '图片上传失败,请您重新上传!',
139   - type: 'error'
140   - })
  124 + message.notifyError('图片上传失败,请您重新上传!')
141 125 }
142 126 </script>
143 127 <style scoped lang="scss">
... ...
yudao-ui-admin-vue3/src/components/UploadFile/src/UploadImgs.vue
... ... @@ -49,7 +49,7 @@
49 49 import { PropType, ref } from 'vue'
50 50 import { ElUpload, ElNotification, ElImageViewer } from 'element-plus'
51 51 import type { UploadProps, UploadFile, UploadUserFile } from 'element-plus'
52   -import { useMessage } from '@/hooks/web/useMessage'
  52 +
53 53 import { propTypes } from '@/utils/propTypes'
54 54 import { getAccessToken, getTenantId } from '@/utils/auth'
55 55  
... ...
yudao-ui-admin-vue3/src/components/Verifition/src/Verify.vue
... ... @@ -38,7 +38,6 @@
38 38 * */
39 39 import { VerifySlide, VerifyPoints } from './Verify'
40 40 import { computed, ref, toRefs, watchEffect } from 'vue'
41   -import { useI18n } from '@/hooks/web/useI18n'
42 41  
43 42 export default {
44 43 name: 'Vue3Verify',
... ...
yudao-ui-admin-vue3/src/components/Verifition/src/Verify/VerifyPoints.vue
... ... @@ -66,7 +66,6 @@ import { resetSize } from &#39;./../utils/util&#39;
66 66 import { aesEncrypt } from './../utils/ase'
67 67 import { getCodeApi, reqCheckApi } from '@/api/login'
68 68 import { onMounted, reactive, ref, nextTick, toRefs, getCurrentInstance } from 'vue'
69   -import { useI18n } from '@/hooks/web/useI18n'
70 69  
71 70 const props = defineProps({
72 71 //弹出式pop,固定fixed
... ...
yudao-ui-admin-vue3/src/components/Verifition/src/Verify/VerifySlide.vue
... ... @@ -79,17 +79,6 @@
79 79 import { aesEncrypt } from './../utils/ase'
80 80 import { resetSize } from './../utils/util'
81 81 import { getCodeApi, reqCheckApi } from '@/api/login'
82   -import { useI18n } from '@/hooks/web/useI18n'
83   -import {
84   - computed,
85   - onMounted,
86   - reactive,
87   - ref,
88   - watch,
89   - nextTick,
90   - toRefs,
91   - getCurrentInstance
92   -} from 'vue'
93 82  
94 83 const props = defineProps({
95 84 captchaType: {
... ...
yudao-ui-admin-vue3/src/components/XButton/src/XButton.vue
1 1 <script setup lang="ts">
  2 +import { PropType } from 'vue'
2 3 import { propTypes } from '@/utils/propTypes'
3   -import { computed, useAttrs, PropType } from 'vue'
4 4  
5 5 const props = defineProps({
6 6 modelValue: propTypes.bool.def(false),
... ...
yudao-ui-admin-vue3/src/components/XButton/src/XTextButton.vue
1 1 <script setup lang="ts">
2 2 import { propTypes } from '@/utils/propTypes'
3   -import { computed, useAttrs, PropType } from 'vue'
  3 +import { PropType } from 'vue'
4 4  
5 5 const props = defineProps({
6 6 modelValue: propTypes.bool.def(false),
... ...
yudao-ui-admin-vue3/src/components/XModal/src/XModal.vue
1 1 <script setup lang="ts">
2 2 import { propTypes } from '@/utils/propTypes'
3   -import { computed, useAttrs, useSlots } from 'vue'
4 3 import { ElScrollbar } from 'element-plus'
5 4 const slots = useSlots()
6 5  
... ...
yudao-ui-admin-vue3/src/components/XTable/src/XTable.vue
... ... @@ -6,15 +6,14 @@
6 6 </VxeGrid>
7 7 </template>
8 8 <script lang="ts" setup name="XTable">
9   -import { computed, PropType, ref, unref, useAttrs, watch } from 'vue'
  9 +import { PropType } from 'vue'
10 10 import { SizeType, VxeGridInstance } from 'vxe-table'
11 11 import { useAppStore } from '@/store/modules/app'
12 12 import { useDesign } from '@/hooks/web/useDesign'
13 13 import { XTableProps } from './type'
14 14 import { isBoolean, isFunction } from '@/utils/is'
15   -import { useMessage } from '@/hooks/web/useMessage'
  15 +
16 16 import download from '@/utils/download'
17   -import { useI18n } from '@/hooks/web/useI18n'
18 17  
19 18 const { t } = useI18n()
20 19 const message = useMessage() // 消息弹窗
... ... @@ -261,6 +260,10 @@ const getToolBarConfig = (options: XTableProps) =&gt; {
261 260 }
262 261 } else if (!topActionSlots) {
263 262 options.toolbarConfig = {
  263 + enabled: true
  264 + }
  265 + } else {
  266 + options.toolbarConfig = {
264 267 slots: { buttons: 'toolbar_buttons' }
265 268 }
266 269 }
... ...
yudao-ui-admin-vue3/src/config/axios/service.ts
... ... @@ -10,7 +10,7 @@ import qs from &#39;qs&#39;
10 10 import { config } from '@/config/axios/config'
11 11 import { getAccessToken, getRefreshToken, getTenantId, removeToken, setToken } from '@/utils/auth'
12 12 import errorCode from './errorCode'
13   -import { useI18n } from '@/hooks/web/useI18n'
  13 +
14 14 import { resetRouter } from '@/router'
15 15 import { useCache } from '@/hooks/web/useCache'
16 16  
... ...
yudao-ui-admin-vue3/src/directives/permission/hasPermi.ts
1 1 import type { App } from 'vue'
2 2 import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
3   -import { useI18n } from '@/hooks/web/useI18n'
  3 +
4 4 const { t } = useI18n() // 国际化
5 5  
6 6 export function hasPermi(app: App<Element>) {
... ...
yudao-ui-admin-vue3/src/directives/permission/hasRole.ts
1 1 import type { App } from 'vue'
2 2 import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
3   -import { useI18n } from '@/hooks/web/useI18n'
  3 +
4 4 const { t } = useI18n() // 国际化
5 5  
6 6 export function hasRole(app: App<Element>) {
... ...
yudao-ui-admin-vue3/src/hooks/event/useScrollTo.ts
1   -import { ref, unref } from 'vue'
2   -
3 1 export interface ScrollToParams {
4 2 el: HTMLElement
5 3 to: number
... ...
yudao-ui-admin-vue3/src/hooks/web/useConfigGlobal.ts
1 1 import { ConfigGlobalTypes } from '@/types/configGlobal'
2   -import { inject } from 'vue'
3 2  
4 3 export const useConfigGlobal = () => {
5 4 const configGlobal = inject('configGlobal', {}) as ConfigGlobalTypes
... ...
yudao-ui-admin-vue3/src/hooks/web/useCrudSchemas.ts
... ... @@ -3,7 +3,7 @@ import { AxiosPromise } from &#39;axios&#39;
3 3 import { findIndex } from '@/utils'
4 4 import { eachTree, treeMap, filter } from '@/utils/tree'
5 5 import { getBoolDictOptions, getDictOptions, getIntDictOptions } from '@/utils/dict'
6   -import { useI18n } from '@/hooks/web/useI18n'
  6 +
7 7 import { FormSchema } from '@/types/form'
8 8 import { TableColumn } from '@/types/table'
9 9 import { DescriptionsSchema } from '@/types/descriptions'
... ...
yudao-ui-admin-vue3/src/hooks/web/useEmitt.ts
1 1 import mitt from 'mitt'
2   -import { onBeforeUnmount } from 'vue'
3 2  
4 3 interface Option {
5 4 name: string // 事件名称
... ...
yudao-ui-admin-vue3/src/hooks/web/useForm.ts
1 1 import type { Form, FormExpose } from '@/components/Form'
2 2 import type { ElForm } from 'element-plus'
3   -import { ref, unref, nextTick } from 'vue'
4 3 import type { FormProps } from '@/components/Form/src/types'
5 4 import { FormSchema, FormSetPropsType } from '@/types/form'
6 5  
... ...
yudao-ui-admin-vue3/src/hooks/web/useIntro.ts
1 1 import introJs from 'intro.js'
2 2 import { IntroJs, Step, Options } from 'intro.js'
3 3 import 'intro.js/introjs.css'
4   -import { useI18n } from '@/hooks/web/useI18n'
  4 +
5 5 import { useDesign } from '@/hooks/web/useDesign'
6 6  
7 7 export const useIntro = (setps?: Step[], options?: Options) => {
... ...
yudao-ui-admin-vue3/src/hooks/web/useNProgress.ts
1   -import { nextTick, unref } from 'vue'
  1 +import { useCssVar } from '@vueuse/core'
2 2 import type { NProgressOptions } from 'nprogress'
3 3 import NProgress from 'nprogress'
4 4 import 'nprogress/nprogress.css'
5   -import { useCssVar } from '@vueuse/core'
6 5  
7 6 const primaryColor = useCssVar('--el-color-primary', document.documentElement)
8 7  
... ...
yudao-ui-admin-vue3/src/hooks/web/useTable.ts
... ... @@ -3,7 +3,7 @@ import { Table, TableExpose } from &#39;@/components/Table&#39;
3 3 import { ElMessage, ElMessageBox, ElTable } from 'element-plus'
4 4 import { computed, nextTick, reactive, ref, unref, watch } from 'vue'
5 5 import type { TableProps } from '@/components/Table/src/types'
6   -import { useI18n } from '@/hooks/web/useI18n'
  6 +
7 7 import { TableSetPropsType } from '@/types/table'
8 8  
9 9 const { t } = useI18n()
... ...
yudao-ui-admin-vue3/src/hooks/web/useTimeAgo.ts
1 1 import { useTimeAgo as useTimeAgoCore, UseTimeAgoMessages } from '@vueuse/core'
2   -import { computed, unref } from 'vue'
3 2 import { useLocaleStoreWithOut } from '@/store/modules/locale'
4 3  
5 4 const TIME_AGO_MESSAGE_MAP: {
... ...
yudao-ui-admin-vue3/src/hooks/web/useTitle.ts
1 1 import { watch, ref } from 'vue'
2 2 import { isString } from '@/utils/is'
3 3 import { useAppStoreWithOut } from '@/store/modules/app'
4   -import { useI18n } from '@/hooks/web/useI18n'
5 4  
6 5 const appStore = useAppStoreWithOut()
7 6  
... ...
yudao-ui-admin-vue3/src/hooks/web/useValidator.ts
1   -import { useI18n } from '@/hooks/web/useI18n'
2   -
3 1 const { t } = useI18n()
4 2  
5 3 type Callback = (error?: string | Error | undefined) => void
... ...
yudao-ui-admin-vue3/src/hooks/web/useVxeCrudSchemas.ts
1   -import { reactive } from 'vue'
2 1 import {
3 2 FormItemRenderOptions,
4 3 VxeColumnPropTypes,
... ... @@ -7,7 +6,7 @@ import {
7 6 VxeTableDefines
8 7 } from 'vxe-table'
9 8 import { eachTree } from 'xe-utils'
10   -import { useI18n } from '@/hooks/web/useI18n'
  9 +
11 10 import { getBoolDictOptions, getDictOptions, getIntDictOptions } from '@/utils/dict'
12 11 import { FormSchema } from '@/types/form'
13 12 import { VxeTableColumn } from '@/types/table'
... ...
yudao-ui-admin-vue3/src/hooks/web/useVxeGrid.ts
... ... @@ -2,8 +2,7 @@ import { computed, nextTick, reactive } from &#39;vue&#39;
2 2 import { SizeType, VxeGridProps, VxeTablePropTypes } from 'vxe-table'
3 3 import { useAppStore } from '@/store/modules/app'
4 4 import { VxeAllSchemas } from './useVxeCrudSchemas'
5   -import { useI18n } from '@/hooks/web/useI18n'
6   -import { useMessage } from '@/hooks/web/useMessage'
  5 +
7 6 import download from '@/utils/download'
8 7  
9 8 const { t } = useI18n()
... ...
yudao-ui-admin-vue3/src/hooks/web/useXTable.ts
1   -import { ref, unref } from 'vue'
2 1 import { XTableProps } from '@/components/XTable/src/type'
3 2  
4 3 export interface tableMethod {
... ...
yudao-ui-admin-vue3/src/layout/components/AppView.vue
... ... @@ -2,7 +2,6 @@
2 2 import { useTagsViewStore } from '@/store/modules/tagsView'
3 3 import { useAppStore } from '@/store/modules/app'
4 4 import { Footer } from '@/layout/components/Footer'
5   -import { computed } from 'vue'
6 5  
7 6 const appStore = useAppStore()
8 7  
... ...
yudao-ui-admin-vue3/src/layout/components/Breadcrumb/src/Breadcrumb.vue
... ... @@ -6,7 +6,7 @@ import { usePermissionStore } from &#39;@/store/modules/permission&#39;
6 6 import { filterBreadcrumb } from './helper'
7 7 import { filter, treeToList } from '@/utils/tree'
8 8 import type { RouteLocationNormalizedLoaded, RouteMeta } from 'vue-router'
9   -import { useI18n } from '@/hooks/web/useI18n'
  9 +
10 10 import { Icon } from '@/components/Icon'
11 11 import { useAppStore } from '@/store/modules/app'
12 12 import { useDesign } from '@/hooks/web/useDesign'
... ...
yudao-ui-admin-vue3/src/layout/components/Collapse/src/Collapse.vue
1 1 <script setup lang="ts">
2   -import { computed, unref } from 'vue'
3 2 import { useAppStore } from '@/store/modules/app'
4 3 import { propTypes } from '@/utils/propTypes'
5 4 import { useDesign } from '@/hooks/web/useDesign'
... ...
yudao-ui-admin-vue3/src/layout/components/ContextMenu/src/ContextMenu.vue
1 1 <script setup lang="ts">
2   -import { ElDropdown, ElDropdownMenu, ElDropdownItem } from 'element-plus'
3   -import { PropType, ref } from 'vue'
4   -import { useI18n } from '@/hooks/web/useI18n'
  2 +import { PropType } from 'vue'
  3 +
5 4 import { useDesign } from '@/hooks/web/useDesign'
6 5 import type { RouteLocationNormalizedLoaded } from 'vue-router'
7 6 import { contextMenuSchema } from '@/types/contextMenu'
  7 +import type { ElDropdown } from 'element-plus'
8 8  
9 9 const { getPrefixCls } = useDesign()
10 10  
... ...
yudao-ui-admin-vue3/src/layout/components/Footer/src/Footer.vue
1 1 <script setup lang="ts">
2 2 import { useAppStore } from '@/store/modules/app'
3   -import { computed } from 'vue'
4 3 import { useDesign } from '@/hooks/web/useDesign'
5 4  
6 5 const { getPrefixCls } = useDesign()
... ...
yudao-ui-admin-vue3/src/layout/components/LocaleDropdown/src/LocaleDropdown.vue
1 1 <script setup lang="ts">
2   -import { computed, unref } from 'vue'
3   -import { ElDropdown, ElDropdownMenu, ElDropdownItem } from 'element-plus'
4 2 import { useLocaleStore } from '@/store/modules/locale'
5 3 import { useLocale } from '@/hooks/web/useLocale'
6 4 import { propTypes } from '@/utils/propTypes'
... ...
yudao-ui-admin-vue3/src/layout/components/Menu/src/Menu.vue
1 1 <script lang="tsx">
2   -import { computed, defineComponent, unref, PropType } from 'vue'
  2 +import { PropType } from 'vue'
3 3 import { ElMenu, ElScrollbar } from 'element-plus'
4 4 import { useAppStore } from '@/store/modules/app'
5 5 import { usePermissionStore } from '@/store/modules/permission'
6 6 import { useRenderMenuItem } from './components/useRenderMenuItem'
7   -import { useRouter } from 'vue-router'
8 7 import { isUrl } from '@/utils/is'
9 8 import { useDesign } from '@/hooks/web/useDesign'
10 9 import { LayoutType } from '@/types/layout'
... ...
yudao-ui-admin-vue3/src/layout/components/Menu/src/components/useRenderMenuTitle.tsx
1 1 import type { RouteMeta } from 'vue-router'
2 2 import { Icon } from '@/components/Icon'
3   -import { useI18n } from '@/hooks/web/useI18n'
4 3  
5 4 export const useRenderMenuTitle = () => {
6 5 const renderMenuTitle = (meta: RouteMeta) => {
... ...
yudao-ui-admin-vue3/src/layout/components/Menu/src/helper.ts
1 1 import type { RouteMeta } from 'vue-router'
2   -import { ref, unref } from 'vue'
3 2 import { findPath } from '@/utils/tree'
4 3  
5 4 type OnlyOneChildType = AppRouteRecordRaw & { noShowingChildren?: boolean }
... ...
yudao-ui-admin-vue3/src/layout/components/Message/src/Message.vue
1 1 <script setup lang="ts">
2   -import { ref } from 'vue'
3   -import { ElTabs, ElTabPane, ElPopover, ElBadge } from 'element-plus'
4   -
5 2 const activeName = ref('notice')
6 3  
7 4 const noticeList = ref([
... ...
yudao-ui-admin-vue3/src/layout/components/Setting/src/Setting.vue
1 1 <script setup lang="ts">
2   -import { ElDrawer, ElDivider, ElMessage } from 'element-plus'
3   -import { ref, unref, computed, watch } from 'vue'
  2 +import { ElMessage } from 'element-plus'
4 3 import { useCssVar, useClipboard } from '@vueuse/core'
5   -import { useI18n } from '@/hooks/web/useI18n'
  4 +
6 5 import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
7 6 import { useDesign } from '@/hooks/web/useDesign'
8 7  
... ...
yudao-ui-admin-vue3/src/layout/components/Setting/src/components/ColorRadioPicker.vue
1 1 <script setup lang="ts">
2   -import { PropType, watch, unref, ref } from 'vue'
  2 +import { PropType } from 'vue'
3 3 import { propTypes } from '@/utils/propTypes'
4 4 import { useDesign } from '@/hooks/web/useDesign'
5 5  
... ...
yudao-ui-admin-vue3/src/layout/components/Setting/src/components/InterfaceDisplay.vue
1 1 <script setup lang="ts">
2   -import { computed, ref, watch } from 'vue'
3   -import { ElSwitch, ElInput } from 'element-plus'
4 2 import { setCssVar } from '@/utils'
5   -import { useI18n } from '@/hooks/web/useI18n'
  3 +
6 4 import { useDesign } from '@/hooks/web/useDesign'
7 5 import { useWatermark } from '@/hooks/web/useWatermark'
8 6 import { useAppStore } from '@/store/modules/app'
... ...
yudao-ui-admin-vue3/src/layout/components/Setting/src/components/LayoutRadioPicker.vue
1 1 <script setup lang="ts">
2 2 import { useAppStore } from '@/store/modules/app'
3   -import { computed } from 'vue'
4 3 import { useDesign } from '@/hooks/web/useDesign'
5 4  
6 5 const { getPrefixCls } = useDesign()
... ...
yudao-ui-admin-vue3/src/layout/components/SizeDropdown/src/SizeDropdown.vue
1 1 <script setup lang="ts">
2   -import { computed } from 'vue'
3   -import { ElDropdown, ElDropdownMenu, ElDropdownItem } from 'element-plus'
4 2 import { useAppStore } from '@/store/modules/app'
5   -import { useI18n } from '@/hooks/web/useI18n'
  3 +
6 4 import { propTypes } from '@/utils/propTypes'
7 5 import { useDesign } from '@/hooks/web/useDesign'
8 6 import { ElementPlusSize } from '@/types/elementPlus'
... ...
yudao-ui-admin-vue3/src/layout/components/TabMenu/src/TabMenu.vue
1 1 <script lang="tsx">
2 2 import { usePermissionStore } from '@/store/modules/permission'
3 3 import { useAppStore } from '@/store/modules/app'
4   -import { computed, unref, defineComponent, watch, ref, onMounted } from 'vue'
5   -import { useI18n } from '@/hooks/web/useI18n'
  4 +
6 5 import { ElScrollbar } from 'element-plus'
7 6 import { Icon } from '@/components/Icon'
8 7 import { Menu } from '@/layout/components/Menu'
9   -import { useRouter } from 'vue-router'
10 8 import { pathResolve } from '@/utils/routerHelper'
11 9 import { cloneDeep } from 'lodash-es'
12 10 import { filterMenusPath, initTabMap, tabPathMap } from './helper'
... ...
yudao-ui-admin-vue3/src/layout/components/TabMenu/src/helper.ts
... ... @@ -2,7 +2,6 @@ import { getAllParentPath } from &#39;@/layout/components/Menu/src/helper&#39;
2 2 import type { RouteMeta } from 'vue-router'
3 3 import { isUrl } from '@/utils/is'
4 4 import { cloneDeep } from 'lodash-es'
5   -import { reactive } from 'vue'
6 5  
7 6 export type TabMapTypes = {
8 7 [key: string]: string[]
... ...
yudao-ui-admin-vue3/src/layout/components/TagsView/src/TagsView.vue
1 1 <script setup lang="ts">
2   -import { onMounted, watch, computed, unref, ref, nextTick } from 'vue'
3   -import { useRouter } from 'vue-router'
4 2 import type { RouteLocationNormalizedLoaded, RouterLinkProps } from 'vue-router'
5 3 import { usePermissionStore } from '@/store/modules/permission'
6 4 import { useTagsViewStore } from '@/store/modules/tagsView'
7 5 import { useAppStore } from '@/store/modules/app'
8   -import { useI18n } from '@/hooks/web/useI18n'
  6 +
9 7 import { filterAffixTags } from './helper'
10 8 import { ContextMenu, ContextMenuExpose } from '@/layout/components/ContextMenu'
11 9 import { useDesign } from '@/hooks/web/useDesign'
12   -import { useTemplateRefsList } from '@vueuse/core'
13 10 import { ElScrollbar } from 'element-plus'
14 11 import { useScrollTo } from '@/hooks/event/useScrollTo'
  12 +import { useTemplateRefsList } from '@vueuse/core'
15 13  
16 14 const { getPrefixCls } = useDesign()
17 15  
... ...
yudao-ui-admin-vue3/src/layout/components/ThemeSwitch/src/ThemeSwitch.vue
1 1 <script setup lang="ts">
2   -import { ref } from 'vue'
3 2 import { useAppStore } from '@/store/modules/app'
4   -import { ElSwitch } from 'element-plus'
5 3 import { useIcon } from '@/hooks/web/useIcon'
6 4 import { useDesign } from '@/hooks/web/useDesign'
7 5  
... ...
yudao-ui-admin-vue3/src/layout/components/UserInfo/src/UserInfo.vue
1 1 <script setup lang="ts">
2   -import { ElDropdown, ElDropdownMenu, ElDropdownItem, ElMessageBox } from 'element-plus'
3   -import { useI18n } from '@/hooks/web/useI18n'
  2 +import { ElMessageBox } from 'element-plus'
  3 +
4 4 import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
5   -import { useRouter } from 'vue-router'
6 5 import { useDesign } from '@/hooks/web/useDesign'
7 6 import avatarImg from '@/assets/imgs/avatar.gif'
8 7 import { useUserStore } from '@/store/modules/user'
... ...
yudao-ui-admin-vue3/src/plugins/vxeTable/index.ts
1   -import { App, unref } from 'vue'
  1 +import { App } from 'vue'
2 2 import XEUtils from 'xe-utils'
3 3 import './renderer'
  4 +import 'vxe-table/lib/style.css'
4 5 import { i18n } from '@/plugins/vueI18n'
5 6 import zhCN from 'vxe-table/lib/locale/lang/zh-CN'
6 7 import enUS from 'vxe-table/lib/locale/lang/en-US'
... ...
yudao-ui-admin-vue3/src/plugins/vxeTable/renderer/dataTimeRangePicker.tsx
1   -import { useI18n } from '@/hooks/web/useI18n'
2 1 import { ElDatePicker } from 'element-plus'
3 2 import { VXETable } from 'vxe-table'
4 3  
... ...
yudao-ui-admin-vue3/src/router/modules/remaining.ts
1 1 import { Layout } from '@/utils/routerHelper'
2   -import { useI18n } from '@/hooks/web/useI18n'
  2 +
3 3 const { t } = useI18n()
4 4 /**
5 5 * redirect: noredirect 当设置 noredirect 的时候该路由在面包屑导航中不可被点击
... ...
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 + ElBadge: typeof import('element-plus/es')['ElBadge']
  25 + ElButton: typeof import('element-plus/es')['ElButton']
  26 + ElCard: typeof import('element-plus/es')['ElCard']
  27 + ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
  28 + ElCol: typeof import('element-plus/es')['ElCol']
  29 + ElCollapseTransition: typeof import('element-plus/es')['ElCollapseTransition']
  30 + ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
  31 + ElDescriptions: typeof import('element-plus/es')['ElDescriptions']
  32 + ElDescriptionsItem: typeof import('element-plus/es')['ElDescriptionsItem']
  33 + ElDivider: typeof import('element-plus/es')['ElDivider']
  34 + ElDrawer: typeof import('element-plus/es')['ElDrawer']
  35 + ElDropdown: typeof import('element-plus/es')['ElDropdown']
  36 + ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem']
  37 + ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu']
  38 + ElForm: typeof import('element-plus/es')['ElForm']
  39 + ElFormItem: typeof import('element-plus/es')['ElFormItem']
  40 + ElIcon: typeof import('element-plus/es')['ElIcon']
  41 + ElImageViewer: typeof import('element-plus/es')['ElImageViewer']
  42 + ElInput: typeof import('element-plus/es')['ElInput']
  43 + ElInputNumber: typeof import('element-plus/es')['ElInputNumber']
  44 + ElLink: typeof import('element-plus/es')['ElLink']
  45 + ElOption: typeof import('element-plus/es')['ElOption']
  46 + ElPopover: typeof import('element-plus/es')['ElPopover']
  47 + ElRadio: typeof import('element-plus/es')['ElRadio']
  48 + ElRadioButton: typeof import('element-plus/es')['ElRadioButton']
  49 + ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
  50 + ElRow: typeof import('element-plus/es')['ElRow']
  51 + ElScrollbar: typeof import('element-plus/es')['ElScrollbar']
  52 + ElSelect: typeof import('element-plus/es')['ElSelect']
  53 + ElSkeleton: typeof import('element-plus/es')['ElSkeleton']
  54 + ElSwitch: typeof import('element-plus/es')['ElSwitch']
  55 + ElTabPane: typeof import('element-plus/es')['ElTabPane']
  56 + ElTabs: typeof import('element-plus/es')['ElTabs']
  57 + ElTag: typeof import('element-plus/es')['ElTag']
  58 + ElTooltip: typeof import('element-plus/es')['ElTooltip']
  59 + ElTransfer: typeof import('element-plus/es')['ElTransfer']
  60 + ElTree: typeof import('element-plus/es')['ElTree']
  61 + ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect']
  62 + ElUpload: typeof import('element-plus/es')['ElUpload']
  63 + Error: typeof import('./../components/Error/src/Error.vue')['default']
  64 + Form: typeof import('./../components/Form/src/Form.vue')['default']
  65 + Highlight: typeof import('./../components/Highlight/src/Highlight.vue')['default']
  66 + Icon: typeof import('./../components/Icon/src/Icon.vue')['default']
  67 + IconSelect: typeof import('./../components/Icon/src/IconSelect.vue')['default']
  68 + IFrame: typeof import('./../components/IFrame/src/IFrame.vue')['default']
  69 + ImageViewer: typeof import('./../components/ImageViewer/src/ImageViewer.vue')['default']
  70 + Infotip: typeof import('./../components/Infotip/src/Infotip.vue')['default']
  71 + InputPassword: typeof import('./../components/InputPassword/src/InputPassword.vue')['default']
  72 + Qrcode: typeof import('./../components/Qrcode/src/Qrcode.vue')['default']
  73 + RouterLink: typeof import('vue-router')['RouterLink']
  74 + RouterView: typeof import('vue-router')['RouterView']
  75 + Search: typeof import('./../components/Search/src/Search.vue')['default']
  76 + Sticky: typeof import('./../components/Sticky/src/Sticky.vue')['default']
  77 + Table: typeof import('./../components/Table/src/Table.vue')['default']
  78 + Tooltip: typeof import('./../components/Tooltip/src/Tooltip.vue')['default']
  79 + UploadFile: typeof import('./../components/UploadFile/src/UploadFile.vue')['default']
  80 + UploadImg: typeof import('./../components/UploadFile/src/UploadImg.vue')['default']
  81 + UploadImgs: typeof import('./../components/UploadFile/src/UploadImgs.vue')['default']
  82 + Verify: typeof import('./../components/Verifition/src/Verify.vue')['default']
  83 + VerifyPoints: typeof import('./../components/Verifition/src/Verify/VerifyPoints.vue')['default']
  84 + VerifySlide: typeof import('./../components/Verifition/src/Verify/VerifySlide.vue')['default']
  85 + XButton: typeof import('./../components/XButton/src/XButton.vue')['default']
  86 + XModal: typeof import('./../components/XModal/src/XModal.vue')['default']
  87 + XTable: typeof import('./../components/XTable/src/XTable.vue')['default']
  88 + XTextButton: typeof import('./../components/XButton/src/XTextButton.vue')['default']
  89 + }
  90 + export interface ComponentCustomProperties {
  91 + vLoading: typeof import('element-plus/es')['ElLoadingDirective']
  92 + }
  93 +}
... ...
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 DICT_TYPE: typeof import('@/utils/dict')['DICT_TYPE']
  5 + const EffectScope: typeof import('vue')['EffectScope']
  6 + const computed: typeof import('vue')['computed']
  7 + const createApp: typeof import('vue')['createApp']
  8 + const customRef: typeof import('vue')['customRef']
  9 + const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
  10 + const defineComponent: typeof import('vue')['defineComponent']
  11 + const effectScope: typeof import('vue')['effectScope']
  12 + const getCurrentInstance: typeof import('vue')['getCurrentInstance']
  13 + const getCurrentScope: typeof import('vue')['getCurrentScope']
  14 + const h: typeof import('vue')['h']
  15 + const inject: typeof import('vue')['inject']
  16 + const isProxy: typeof import('vue')['isProxy']
  17 + const isReactive: typeof import('vue')['isReactive']
  18 + const isReadonly: typeof import('vue')['isReadonly']
  19 + const isRef: typeof import('vue')['isRef']
  20 + const markRaw: typeof import('vue')['markRaw']
  21 + const nextTick: typeof import('vue')['nextTick']
  22 + const onActivated: typeof import('vue')['onActivated']
  23 + const onBeforeMount: typeof import('vue')['onBeforeMount']
  24 + const onBeforeRouteLeave: typeof import('vue-router')['onBeforeRouteLeave']
  25 + const onBeforeRouteUpdate: typeof import('vue-router')['onBeforeRouteUpdate']
  26 + const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
  27 + const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
  28 + const onDeactivated: typeof import('vue')['onDeactivated']
  29 + const onErrorCaptured: typeof import('vue')['onErrorCaptured']
  30 + const onMounted: typeof import('vue')['onMounted']
  31 + const onRenderTracked: typeof import('vue')['onRenderTracked']
  32 + const onRenderTriggered: typeof import('vue')['onRenderTriggered']
  33 + const onScopeDispose: typeof import('vue')['onScopeDispose']
  34 + const onServerPrefetch: typeof import('vue')['onServerPrefetch']
  35 + const onUnmounted: typeof import('vue')['onUnmounted']
  36 + const onUpdated: typeof import('vue')['onUpdated']
  37 + const provide: typeof import('vue')['provide']
  38 + const reactive: typeof import('vue')['reactive']
  39 + const readonly: typeof import('vue')['readonly']
  40 + const ref: typeof import('vue')['ref']
  41 + const required: typeof import('@/utils/formRules')['required']
  42 + const resolveComponent: typeof import('vue')['resolveComponent']
  43 + const resolveDirective: typeof import('vue')['resolveDirective']
  44 + const shallowReactive: typeof import('vue')['shallowReactive']
  45 + const shallowReadonly: typeof import('vue')['shallowReadonly']
  46 + const shallowRef: typeof import('vue')['shallowRef']
  47 + const toRaw: typeof import('vue')['toRaw']
  48 + const toRef: typeof import('vue')['toRef']
  49 + const toRefs: typeof import('vue')['toRefs']
  50 + const triggerRef: typeof import('vue')['triggerRef']
  51 + const unref: typeof import('vue')['unref']
  52 + const useAttrs: typeof import('vue')['useAttrs']
  53 + const useCssModule: typeof import('vue')['useCssModule']
  54 + const useCssVars: typeof import('vue')['useCssVars']
  55 + const useI18n: typeof import('@/hooks/web/useI18n')['useI18n']
  56 + const useLink: typeof import('vue-router')['useLink']
  57 + const useMessage: typeof import('@/hooks/web/useMessage')['useMessage']
  58 + const useRoute: typeof import('vue-router')['useRoute']
  59 + const useRouter: typeof import('vue-router')['useRouter']
  60 + const useSlots: typeof import('vue')['useSlots']
  61 + const useVxeCrudSchemas: typeof import('@/hooks/web/useVxeCrudSchemas')['useVxeCrudSchemas']
  62 + const useXTable: typeof import('@/hooks/web/useXTable')['useXTable']
  63 + const watch: typeof import('vue')['watch']
  64 + const watchEffect: typeof import('vue')['watchEffect']
  65 + const watchPostEffect: typeof import('vue')['watchPostEffect']
  66 + const watchSyncEffect: typeof import('vue')['watchSyncEffect']
  67 +}
... ...
yudao-ui-admin-vue3/src/utils/formRules.ts
1   -import { useI18n } from '@/hooks/web/useI18n'
2   -
3 1 const { t } = useI18n()
4 2  
5 3 // 必填项
... ...
yudao-ui-admin-vue3/src/utils/index.ts
1   -// import type { Plugin } from 'vue'
2   -
3 1 /**
4 2 *
5 3 * @param component 需要注册的组件
... ...
yudao-ui-admin-vue3/src/views/Error/403.vue
... ... @@ -2,9 +2,6 @@
2 2 <Error type="403" @error-click="errorClick()" />
3 3 </template>
4 4 <script setup lang="ts">
5   -import { Error } from '@/components/Error'
6   -import { useRouter } from 'vue-router'
7   -
8 5 const { push } = useRouter()
9 6  
10 7 const errorClick = () => {
... ...
yudao-ui-admin-vue3/src/views/Error/404.vue
... ... @@ -2,9 +2,6 @@
2 2 <Error @error-click="errorClick()" />
3 3 </template>
4 4 <script setup lang="ts">
5   -import { Error } from '@/components/Error'
6   -import { useRouter } from 'vue-router'
7   -
8 5 const { push } = useRouter()
9 6  
10 7 const errorClick = () => {
... ...
yudao-ui-admin-vue3/src/views/Error/500.vue
... ... @@ -2,9 +2,6 @@
2 2 <Error type="500" @error-click="errorClick()" />
3 3 </template>
4 4 <script setup lang="ts">
5   -import { Error } from '@/components/Error'
6   -import { useRouter } from 'vue-router'
7   -
8 5 const { push } = useRouter()
9 6  
10 7 const errorClick = () => {
... ...
yudao-ui-admin-vue3/src/views/Home/Index.vue
... ... @@ -161,17 +161,12 @@
161 161 </el-row>
162 162 </template>
163 163 <script setup lang="ts" name="Home">
164   -import { ref, reactive } from 'vue'
165 164 import { set } from 'lodash-es'
166 165 import { EChartsOption } from 'echarts'
167   -import { ElRow, ElCol, ElSkeleton, ElCard, ElDivider, ElLink } from 'element-plus'
168 166 import { formatTime } from '@/utils'
169   -import { useI18n } from '@/hooks/web/useI18n'
  167 +
170 168 import { useUserStore } from '@/store/modules/user'
171 169 import { useWatermark } from '@/hooks/web/useWatermark'
172   -import { Echart } from '@/components/Echart'
173   -import { CountTo } from '@/components/CountTo'
174   -import { Highlight } from '@/components/Highlight'
175 170 import avatarImg from '@/assets/imgs/avatar.gif'
176 171 import type { WorkplaceTotal, Project, Notice, Shortcut } from './types'
177 172 import { pieOptions, barOptions } from './echarts-data'
... ...
yudao-ui-admin-vue3/src/views/Home/Index2.vue
... ... @@ -141,14 +141,10 @@
141 141 </el-row>
142 142 </template>
143 143 <script setup lang="ts">
144   -import { ref, reactive } from 'vue'
145 144 import { set } from 'lodash-es'
146 145 import { EChartsOption } from 'echarts'
147   -import { ElRow, ElCol, ElCard, ElSkeleton } from 'element-plus'
148   -import { useI18n } from '@/hooks/web/useI18n'
  146 +
149 147 import { useDesign } from '@/hooks/web/useDesign'
150   -import { Echart } from '@/components/Echart'
151   -import { CountTo } from '@/components/CountTo'
152 148 import type { AnalysisTotalTypes } from './types'
153 149 import { pieOptions, barOptions, lineOptions } from './echarts-data'
154 150  
... ...
yudao-ui-admin-vue3/src/views/Home/echarts-data.ts
1 1 import { EChartsOption } from 'echarts'
2   -import { useI18n } from '@/hooks/web/useI18n'
3 2  
4 3 const { t } = useI18n()
5 4  
... ...
yudao-ui-admin-vue3/src/views/Login/Login.vue
... ... @@ -60,7 +60,7 @@
60 60 </template>
61 61 <script setup lang="ts">
62 62 import { underlineToHump } from '@/utils'
63   -import { useI18n } from '@/hooks/web/useI18n'
  63 +
64 64 import { useDesign } from '@/hooks/web/useDesign'
65 65 import { useAppStore } from '@/store/modules/app'
66 66 import { ThemeSwitch } from '@/layout/components/ThemeSwitch'
... ...
yudao-ui-admin-vue3/src/views/Login/components/LoginForm.vue
... ... @@ -128,27 +128,13 @@
128 128 </el-form>
129 129 </template>
130 130 <script setup lang="ts">
131   -import { reactive, ref, unref, onMounted, computed, watch } from 'vue'
  131 +import { ElLoading } from 'element-plus'
132 132 import LoginFormTitle from './LoginFormTitle.vue'
133   -import {
134   - ElForm,
135   - ElFormItem,
136   - ElInput,
137   - ElCheckbox,
138   - ElCol,
139   - ElLink,
140   - ElRow,
141   - ElDivider,
142   - ElLoading
143   -} from 'element-plus'
144   -import { useRouter } from 'vue-router'
145 133 import type { RouteLocationNormalizedLoaded } from 'vue-router'
146   -import { useI18n } from '@/hooks/web/useI18n'
  134 +
147 135 import { useIcon } from '@/hooks/web/useIcon'
148   -import { useMessage } from '@/hooks/web/useMessage'
149   -import { required } from '@/utils/formRules'
  136 +
150 137 import * as authUtil from '@/utils/auth'
151   -import { Verify } from '@/components/Verifition'
152 138 import { usePermissionStore } from '@/store/modules/permission'
153 139 import * as LoginApi from '@/api/login'
154 140 import { LoginStateEnum, useLoginState, useFormValid } from './useLogin'
... ...
yudao-ui-admin-vue3/src/views/Login/components/LoginFormTitle.vue
... ... @@ -4,8 +4,6 @@
4 4 </h2>
5 5 </template>
6 6 <script setup lang="ts">
7   -import { computed, unref } from 'vue'
8   -import { useI18n } from '@/hooks/web/useI18n'
9 7 import { LoginStateEnum, useLoginState } from './useLogin'
10 8  
11 9 const { t } = useI18n()
... ...
yudao-ui-admin-vue3/src/views/Login/components/MobileForm.vue
... ... @@ -92,14 +92,10 @@
92 92 </el-form>
93 93 </template>
94 94 <script setup lang="ts">
95   -import { reactive, ref, unref, watch, computed } from 'vue'
96   -import { ElForm, ElFormItem, ElInput, ElRow, ElCol } from 'element-plus'
97   -import { useRouter } from 'vue-router'
98 95 import type { RouteLocationNormalizedLoaded } from 'vue-router'
99   -import { useI18n } from '@/hooks/web/useI18n'
  96 +
100 97 import { useIcon } from '@/hooks/web/useIcon'
101   -import { useMessage } from '@/hooks/web/useMessage'
102   -import { required } from '@/utils/formRules'
  98 +
103 99 import { setTenantId, setToken } from '@/utils/auth'
104 100 import { usePermissionStore } from '@/store/modules/permission'
105 101 import { getTenantIdByNameApi, sendSmsCodeApi, smsLoginApi } from '@/api/login'
... ...
yudao-ui-admin-vue3/src/views/Login/components/QrCodeForm.vue
... ... @@ -17,11 +17,8 @@
17 17 </el-row>
18 18 </template>
19 19 <script setup lang="ts">
20   -import { computed, unref } from 'vue'
21   -import { ElRow, ElCol, ElCard, ElDivider } from 'element-plus'
22   -import { Qrcode } from '@/components/Qrcode'
23 20 import logoImg from '@/assets/imgs/logo.png'
24   -import { useI18n } from '@/hooks/web/useI18n'
  21 +
25 22 import LoginFormTitle from './LoginFormTitle.vue'
26 23 import { useLoginState, LoginStateEnum } from './useLogin'
27 24  
... ...
yudao-ui-admin-vue3/src/views/Login/components/RegisterForm.vue
... ... @@ -36,10 +36,8 @@
36 36 </Form>
37 37 </template>
38 38 <script setup lang="ts">
39   -import { computed, reactive, ref, unref } from 'vue'
40   -import { ElInput, FormRules } from 'element-plus'
41   -import { Form } from '@/components/Form'
42   -import { useI18n } from '@/hooks/web/useI18n'
  39 +import type { FormRules } from 'element-plus'
  40 +
43 41 import { useForm } from '@/hooks/web/useForm'
44 42 import { useValidator } from '@/hooks/web/useValidator'
45 43 import LoginFormTitle from './LoginFormTitle.vue'
... ...
yudao-ui-admin-vue3/src/views/Login/components/useLogin.ts
1   -import { ref, computed, unref, Ref } from 'vue'
  1 +import { Ref } from 'vue'
2 2  
3 3 export enum LoginStateEnum {
4 4 LOGIN,
... ...
yudao-ui-admin-vue3/src/views/Profile/Index.vue
... ... @@ -31,9 +31,6 @@
31 31 </div>
32 32 </template>
33 33 <script setup lang="ts" name="Profile">
34   -import { ref } from 'vue'
35   -import { useI18n } from '@/hooks/web/useI18n'
36   -import { ElCard, ElTabs, ElTabPane } from 'element-plus'
37 34 import { BasicInfo, ProfileUser, ResetPwd, UserSocial } from './components/'
38 35 const { t } = useI18n()
39 36  
... ...
yudao-ui-admin-vue3/src/views/Profile/components/BasicInfo.vue
... ... @@ -11,12 +11,11 @@
11 11 <XButton type="danger" :title="t('common.reset')" @click="init()" />
12 12 </template>
13 13 <script setup lang="ts">
14   -import { reactive, onMounted, unref, ref } from 'vue'
15 14 import type { FormRules } from 'element-plus'
16   -import { ElMessage, ElRadioGroup, ElRadio } from 'element-plus'
17   -import { useI18n } from '@/hooks/web/useI18n'
  15 +import { ElMessage } from 'element-plus'
  16 +
18 17 import { FormSchema } from '@/types/form'
19   -import { FormExpose } from '@/components/Form'
  18 +import type { FormExpose } from '@/components/Form'
20 19 import {
21 20 getUserProfileApi,
22 21 updateUserProfileApi,
... ...
yudao-ui-admin-vue3/src/views/Profile/components/ProfileUser.vue
... ... @@ -40,10 +40,9 @@
40 40 </div>
41 41 </template>
42 42 <script setup lang="ts">
43   -import { onMounted, ref } from 'vue'
44 43 import dayjs from 'dayjs'
45 44 import UserAvatar from './UserAvatar.vue'
46   -import { useI18n } from '@/hooks/web/useI18n'
  45 +
47 46 import { getUserProfileApi, ProfileVO } from '@/api/system/user/profile'
48 47  
49 48 const { t } = useI18n()
... ...