Commit f6f99de7955304c9b82cdbb02632ea5cb0760d9d
Merge branch 'dev' into feature/springdoc
Showing
194 changed files
with
846 additions
and
939 deletions
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 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 7 | // 表单校验 | 3 | // 表单校验 |
| 8 | export const rules = reactive({ | 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,11 +75,6 @@ | ||
| 75 | </XModal> | 75 | </XModal> |
| 76 | </template> | 76 | </template> |
| 77 | <script setup lang="ts" name="${simpleClassName}"> | 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 | import { FormExpose } from '@/components/Form' | 78 | import { FormExpose } from '@/components/Form' |
| 84 | // 业务相关的 import | 79 | // 业务相关的 import |
| 85 | import { rules, allSchemas } from './${classNameVar}.data' | 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,7 +21,8 @@ module.exports = defineConfig({ | ||
| 21 | 'plugin:vue/vue3-recommended', | 21 | 'plugin:vue/vue3-recommended', |
| 22 | 'plugin:@typescript-eslint/recommended', | 22 | 'plugin:@typescript-eslint/recommended', |
| 23 | 'prettier', | 23 | 'prettier', |
| 24 | - 'plugin:prettier/recommended' | 24 | + 'plugin:prettier/recommended', |
| 25 | + './.eslintrc-auto-import.json' | ||
| 25 | ], | 26 | ], |
| 26 | rules: { | 27 | rules: { |
| 27 | 'vue/script-setup-uses-vars': 'error', | 28 | 'vue/script-setup-uses-vars': 'error', |
yudao-ui-admin-vue3/build/vite/index.ts
| @@ -6,15 +6,14 @@ import progress from 'vite-plugin-progress' | @@ -6,15 +6,14 @@ import progress from 'vite-plugin-progress' | ||
| 6 | import EslintPlugin from 'vite-plugin-eslint' | 6 | import EslintPlugin from 'vite-plugin-eslint' |
| 7 | import PurgeIcons from 'vite-plugin-purge-icons' | 7 | import PurgeIcons from 'vite-plugin-purge-icons' |
| 8 | import { ViteEjsPlugin } from 'vite-plugin-ejs' | 8 | import { ViteEjsPlugin } from 'vite-plugin-ejs' |
| 9 | +import 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 | import viteCompression from 'vite-plugin-compression' | 13 | import viteCompression from 'vite-plugin-compression' |
| 10 | import vueSetupExtend from 'vite-plugin-vue-setup-extend' | 14 | import vueSetupExtend from 'vite-plugin-vue-setup-extend' |
| 11 | import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite' | 15 | import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite' |
| 12 | import { createSvgIconsPlugin } from 'vite-plugin-svg-icons' | 16 | import { createSvgIconsPlugin } from 'vite-plugin-svg-icons' |
| 13 | -import { | ||
| 14 | - createStyleImportPlugin, | ||
| 15 | - ElementPlusResolve, | ||
| 16 | - VxeTableResolve | ||
| 17 | -} from 'vite-plugin-style-import' | ||
| 18 | export function createVitePlugins(VITE_APP_TITLE: string) { | 17 | export function createVitePlugins(VITE_APP_TITLE: string) { |
| 19 | const root = process.cwd() | 18 | const root = process.cwd() |
| 20 | // 路径查找 | 19 | // 路径查找 |
| @@ -28,24 +27,47 @@ export function createVitePlugins(VITE_APP_TITLE: string) { | @@ -28,24 +27,47 @@ export function createVitePlugins(VITE_APP_TITLE: string) { | ||
| 28 | progress(), | 27 | progress(), |
| 29 | PurgeIcons(), | 28 | PurgeIcons(), |
| 30 | vueSetupExtend(), | 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 | EslintPlugin({ | 72 | EslintPlugin({ |
| 51 | cache: false, | 73 | cache: false, |
yudao-ui-admin-vue3/build/vite/optimize.ts
| @@ -21,6 +21,7 @@ const include = [ | @@ -21,6 +21,7 @@ const include = [ | ||
| 21 | 'vxe-table/es/style', | 21 | 'vxe-table/es/style', |
| 22 | 'web-storage-cache', | 22 | 'web-storage-cache', |
| 23 | 'element-plus', | 23 | 'element-plus', |
| 24 | + 'element-plus/es', | ||
| 24 | 'element-plus/es/locale/lang/zh-cn', | 25 | 'element-plus/es/locale/lang/zh-cn', |
| 25 | 'element-plus/es/locale/lang/en', | 26 | 'element-plus/es/locale/lang/en', |
| 26 | '@iconify/iconify', | 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 | "name": "yudao-ui-admin-vue3", | 2 | "name": "yudao-ui-admin-vue3", |
| 3 | - "version": "1.6.6-snapshot.1922", | 3 | + "version": "1.6.6-snapshot.1925", |
| 4 | "description": "基于vue3、vite4、element-plus、typesScript", | 4 | "description": "基于vue3、vite4、element-plus、typesScript", |
| 5 | "author": "xingyu", | 5 | "author": "xingyu", |
| 6 | "private": false, | 6 | "private": false, |
| @@ -25,12 +25,12 @@ | @@ -25,12 +25,12 @@ | ||
| 25 | }, | 25 | }, |
| 26 | "dependencies": { | 26 | "dependencies": { |
| 27 | "@iconify/iconify": "^3.0.1", | 27 | "@iconify/iconify": "^3.0.1", |
| 28 | - "@vueuse/core": "^9.10.0", | 28 | + "@vueuse/core": "^9.11.0", |
| 29 | "@wangeditor/editor": "^5.1.23", | 29 | "@wangeditor/editor": "^5.1.23", |
| 30 | "@wangeditor/editor-for-vue": "^5.1.10", | 30 | "@wangeditor/editor-for-vue": "^5.1.10", |
| 31 | "@zxcvbn-ts/core": "^2.1.0", | 31 | "@zxcvbn-ts/core": "^2.1.0", |
| 32 | "animate.css": "^4.1.1", | 32 | "animate.css": "^4.1.1", |
| 33 | - "axios": "^1.2.2", | 33 | + "axios": "^1.2.3", |
| 34 | "cropperjs": "^1.5.13", | 34 | "cropperjs": "^1.5.13", |
| 35 | "crypto-js": "^4.1.1", | 35 | "crypto-js": "^4.1.1", |
| 36 | "dayjs": "^1.11.7", | 36 | "dayjs": "^1.11.7", |
| @@ -57,7 +57,7 @@ | @@ -57,7 +57,7 @@ | ||
| 57 | "devDependencies": { | 57 | "devDependencies": { |
| 58 | "@commitlint/cli": "^17.4.2", | 58 | "@commitlint/cli": "^17.4.2", |
| 59 | "@commitlint/config-conventional": "^17.4.2", | 59 | "@commitlint/config-conventional": "^17.4.2", |
| 60 | - "@iconify/json": "^2.2.7", | 60 | + "@iconify/json": "^2.2.8", |
| 61 | "@intlify/unplugin-vue-i18n": "^0.8.1", | 61 | "@intlify/unplugin-vue-i18n": "^0.8.1", |
| 62 | "@purge-icons/generated": "^0.9.0", | 62 | "@purge-icons/generated": "^0.9.0", |
| 63 | "@types/intro.js": "^5.1.0", | 63 | "@types/intro.js": "^5.1.0", |
| @@ -83,7 +83,7 @@ | @@ -83,7 +83,7 @@ | ||
| 83 | "postcss-html": "^1.5.0", | 83 | "postcss-html": "^1.5.0", |
| 84 | "postcss-scss": "^4.0.6", | 84 | "postcss-scss": "^4.0.6", |
| 85 | "prettier": "^2.8.3", | 85 | "prettier": "^2.8.3", |
| 86 | - "rimraf": "^4.1.0", | 86 | + "rimraf": "^4.1.1", |
| 87 | "rollup": "^3.10.0", | 87 | "rollup": "^3.10.0", |
| 88 | "sass": "^1.57.1", | 88 | "sass": "^1.57.1", |
| 89 | "stylelint": "^14.16.1", | 89 | "stylelint": "^14.16.1", |
| @@ -94,13 +94,15 @@ | @@ -94,13 +94,15 @@ | ||
| 94 | "stylelint-order": "^6.0.1", | 94 | "stylelint-order": "^6.0.1", |
| 95 | "terser": "^5.16.1", | 95 | "terser": "^5.16.1", |
| 96 | "typescript": "4.9.4", | 96 | "typescript": "4.9.4", |
| 97 | + "unplugin-auto-import": "^0.12.1", | ||
| 98 | + "unplugin-element-plus": "^0.4.1", | ||
| 99 | + "unplugin-vue-components": "^0.22.12", | ||
| 97 | "vite": "4.0.4", | 100 | "vite": "4.0.4", |
| 98 | "vite-plugin-compression": "^0.5.1", | 101 | "vite-plugin-compression": "^0.5.1", |
| 99 | "vite-plugin-ejs": "^1.6.4", | 102 | "vite-plugin-ejs": "^1.6.4", |
| 100 | "vite-plugin-eslint": "^1.8.1", | 103 | "vite-plugin-eslint": "^1.8.1", |
| 101 | "vite-plugin-progress": "^0.0.6", | 104 | "vite-plugin-progress": "^0.0.6", |
| 102 | "vite-plugin-purge-icons": "^0.9.2", | 105 | "vite-plugin-purge-icons": "^0.9.2", |
| 103 | - "vite-plugin-style-import": "2.0.0", | ||
| 104 | "vite-plugin-svg-icons": "^2.0.1", | 106 | "vite-plugin-svg-icons": "^2.0.1", |
| 105 | "vite-plugin-vue-setup-extend": "^0.4.0", | 107 | "vite-plugin-vue-setup-extend": "^0.4.0", |
| 106 | "vite-plugin-windicss": "^1.8.10", | 108 | "vite-plugin-windicss": "^1.8.10", |
yudao-ui-admin-vue3/pnpm-lock.yaml
| @@ -4,7 +4,7 @@ specifiers: | @@ -4,7 +4,7 @@ specifiers: | ||
| 4 | '@commitlint/cli': ^17.4.2 | 4 | '@commitlint/cli': ^17.4.2 |
| 5 | '@commitlint/config-conventional': ^17.4.2 | 5 | '@commitlint/config-conventional': ^17.4.2 |
| 6 | '@iconify/iconify': ^3.0.1 | 6 | '@iconify/iconify': ^3.0.1 |
| 7 | - '@iconify/json': ^2.2.7 | 7 | + '@iconify/json': ^2.2.8 |
| 8 | '@intlify/unplugin-vue-i18n': ^0.8.1 | 8 | '@intlify/unplugin-vue-i18n': ^0.8.1 |
| 9 | '@purge-icons/generated': ^0.9.0 | 9 | '@purge-icons/generated': ^0.9.0 |
| 10 | '@types/intro.js': ^5.1.0 | 10 | '@types/intro.js': ^5.1.0 |
| @@ -18,13 +18,13 @@ specifiers: | @@ -18,13 +18,13 @@ specifiers: | ||
| 18 | '@vitejs/plugin-legacy': ^3.0.1 | 18 | '@vitejs/plugin-legacy': ^3.0.1 |
| 19 | '@vitejs/plugin-vue': ^4.0.0 | 19 | '@vitejs/plugin-vue': ^4.0.0 |
| 20 | '@vitejs/plugin-vue-jsx': ^3.0.0 | 20 | '@vitejs/plugin-vue-jsx': ^3.0.0 |
| 21 | - '@vueuse/core': ^9.10.0 | 21 | + '@vueuse/core': ^9.11.0 |
| 22 | '@wangeditor/editor': ^5.1.23 | 22 | '@wangeditor/editor': ^5.1.23 |
| 23 | '@wangeditor/editor-for-vue': ^5.1.10 | 23 | '@wangeditor/editor-for-vue': ^5.1.10 |
| 24 | '@zxcvbn-ts/core': ^2.1.0 | 24 | '@zxcvbn-ts/core': ^2.1.0 |
| 25 | animate.css: ^4.1.1 | 25 | animate.css: ^4.1.1 |
| 26 | autoprefixer: ^10.4.13 | 26 | autoprefixer: ^10.4.13 |
| 27 | - axios: ^1.2.2 | 27 | + axios: ^1.2.3 |
| 28 | consola: ^2.15.3 | 28 | consola: ^2.15.3 |
| 29 | cropperjs: ^1.5.13 | 29 | cropperjs: ^1.5.13 |
| 30 | crypto-js: ^4.1.1 | 30 | crypto-js: ^4.1.1 |
| @@ -50,7 +50,7 @@ specifiers: | @@ -50,7 +50,7 @@ specifiers: | ||
| 50 | prettier: ^2.8.3 | 50 | prettier: ^2.8.3 |
| 51 | qrcode: ^1.5.1 | 51 | qrcode: ^1.5.1 |
| 52 | qs: ^6.11.0 | 52 | qs: ^6.11.0 |
| 53 | - rimraf: ^4.1.0 | 53 | + rimraf: ^4.1.1 |
| 54 | rollup: ^3.10.0 | 54 | rollup: ^3.10.0 |
| 55 | sass: ^1.57.1 | 55 | sass: ^1.57.1 |
| 56 | stylelint: ^14.16.1 | 56 | stylelint: ^14.16.1 |
| @@ -61,6 +61,9 @@ specifiers: | @@ -61,6 +61,9 @@ specifiers: | ||
| 61 | stylelint-order: ^6.0.1 | 61 | stylelint-order: ^6.0.1 |
| 62 | terser: ^5.16.1 | 62 | terser: ^5.16.1 |
| 63 | typescript: 4.9.4 | 63 | typescript: 4.9.4 |
| 64 | + unplugin-auto-import: ^0.12.1 | ||
| 65 | + unplugin-element-plus: ^0.4.1 | ||
| 66 | + unplugin-vue-components: ^0.22.12 | ||
| 64 | url: ^0.11.0 | 67 | url: ^0.11.0 |
| 65 | vite: 4.0.4 | 68 | vite: 4.0.4 |
| 66 | vite-plugin-compression: ^0.5.1 | 69 | vite-plugin-compression: ^0.5.1 |
| @@ -68,7 +71,6 @@ specifiers: | @@ -68,7 +71,6 @@ specifiers: | ||
| 68 | vite-plugin-eslint: ^1.8.1 | 71 | vite-plugin-eslint: ^1.8.1 |
| 69 | vite-plugin-progress: ^0.0.6 | 72 | vite-plugin-progress: ^0.0.6 |
| 70 | vite-plugin-purge-icons: ^0.9.2 | 73 | vite-plugin-purge-icons: ^0.9.2 |
| 71 | - vite-plugin-style-import: 2.0.0 | ||
| 72 | vite-plugin-svg-icons: ^2.0.1 | 74 | vite-plugin-svg-icons: ^2.0.1 |
| 73 | vite-plugin-vue-setup-extend: ^0.4.0 | 75 | vite-plugin-vue-setup-extend: ^0.4.0 |
| 74 | vite-plugin-windicss: ^1.8.10 | 76 | vite-plugin-windicss: ^1.8.10 |
| @@ -84,12 +86,12 @@ specifiers: | @@ -84,12 +86,12 @@ specifiers: | ||
| 84 | 86 | ||
| 85 | dependencies: | 87 | dependencies: |
| 86 | '@iconify/iconify': 3.0.1 | 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 | '@wangeditor/editor': 5.1.23 | 90 | '@wangeditor/editor': 5.1.23 |
| 89 | '@wangeditor/editor-for-vue': 5.1.12_3apfu3xbp6awzuex7ed3sbrv6y | 91 | '@wangeditor/editor-for-vue': 5.1.12_3apfu3xbp6awzuex7ed3sbrv6y |
| 90 | '@zxcvbn-ts/core': 2.1.0 | 92 | '@zxcvbn-ts/core': 2.1.0 |
| 91 | animate.css: 4.1.1 | 93 | animate.css: 4.1.1 |
| 92 | - axios: 1.2.2 | 94 | + axios: 1.2.3 |
| 93 | cropperjs: 1.5.13 | 95 | cropperjs: 1.5.13 |
| 94 | crypto-js: 4.1.1 | 96 | crypto-js: 4.1.1 |
| 95 | dayjs: 1.11.7 | 97 | dayjs: 1.11.7 |
| @@ -116,7 +118,7 @@ dependencies: | @@ -116,7 +118,7 @@ dependencies: | ||
| 116 | devDependencies: | 118 | devDependencies: |
| 117 | '@commitlint/cli': 17.4.2 | 119 | '@commitlint/cli': 17.4.2 |
| 118 | '@commitlint/config-conventional': 17.4.2 | 120 | '@commitlint/config-conventional': 17.4.2 |
| 119 | - '@iconify/json': 2.2.7 | 121 | + '@iconify/json': 2.2.8 |
| 120 | '@intlify/unplugin-vue-i18n': 0.8.1_vue-i18n@9.2.2 | 122 | '@intlify/unplugin-vue-i18n': 0.8.1_vue-i18n@9.2.2 |
| 121 | '@purge-icons/generated': 0.9.0 | 123 | '@purge-icons/generated': 0.9.0 |
| 122 | '@types/intro.js': 5.1.0 | 124 | '@types/intro.js': 5.1.0 |
| @@ -142,7 +144,7 @@ devDependencies: | @@ -142,7 +144,7 @@ devDependencies: | ||
| 142 | postcss-html: 1.5.0 | 144 | postcss-html: 1.5.0 |
| 143 | postcss-scss: 4.0.6_postcss@8.4.21 | 145 | postcss-scss: 4.0.6_postcss@8.4.21 |
| 144 | prettier: 2.8.3 | 146 | prettier: 2.8.3 |
| 145 | - rimraf: 4.1.0 | 147 | + rimraf: 4.1.1 |
| 146 | rollup: 3.10.0 | 148 | rollup: 3.10.0 |
| 147 | sass: 1.57.1 | 149 | sass: 1.57.1 |
| 148 | stylelint: 14.16.1 | 150 | stylelint: 14.16.1 |
| @@ -153,13 +155,15 @@ devDependencies: | @@ -153,13 +155,15 @@ devDependencies: | ||
| 153 | stylelint-order: 6.0.1_stylelint@14.16.1 | 155 | stylelint-order: 6.0.1_stylelint@14.16.1 |
| 154 | terser: 5.16.1 | 156 | terser: 5.16.1 |
| 155 | typescript: 4.9.4 | 157 | typescript: 4.9.4 |
| 158 | + unplugin-auto-import: 0.12.1_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 | vite: 4.0.4_zxbrnrc4iyldik6mikh3pswz4i | 161 | vite: 4.0.4_zxbrnrc4iyldik6mikh3pswz4i |
| 157 | vite-plugin-compression: 0.5.1_vite@4.0.4 | 162 | vite-plugin-compression: 0.5.1_vite@4.0.4 |
| 158 | vite-plugin-ejs: 1.6.4 | 163 | vite-plugin-ejs: 1.6.4 |
| 159 | vite-plugin-eslint: 1.8.1_eslint@8.32.0+vite@4.0.4 | 164 | vite-plugin-eslint: 1.8.1_eslint@8.32.0+vite@4.0.4 |
| 160 | vite-plugin-progress: 0.0.6_vite@4.0.4 | 165 | vite-plugin-progress: 0.0.6_vite@4.0.4 |
| 161 | vite-plugin-purge-icons: 0.9.2_vite@4.0.4 | 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 | vite-plugin-svg-icons: 2.0.1_vite@4.0.4 | 167 | vite-plugin-svg-icons: 2.0.1_vite@4.0.4 |
| 164 | vite-plugin-vue-setup-extend: 0.4.0_vite@4.0.4 | 168 | vite-plugin-vue-setup-extend: 0.4.0_vite@4.0.4 |
| 165 | vite-plugin-windicss: 1.8.10_vite@4.0.4 | 169 | vite-plugin-windicss: 1.8.10_vite@4.0.4 |
| @@ -177,7 +181,7 @@ packages: | @@ -177,7 +181,7 @@ packages: | ||
| 177 | dev: true | 181 | dev: true |
| 178 | 182 | ||
| 179 | /@antfu/utils/0.7.2: | 183 | /@antfu/utils/0.7.2: |
| 180 | - resolution: {integrity: sha512-vy9fM3pIxZmX07dL+VX1aZe7ynZ+YyB0jY+jE6r3hOK6GNY2t6W8rzpFC4tgpbXUYABkFQwgJq2XYXlxbXAI0g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npm.taobao.org/@antfu/utils/-/utils-0.7.2.tgz} | 184 | + resolution: {integrity: sha512-vy9fM3pIxZmX07dL+VX1aZe7ynZ+YyB0jY+jE6r3hOK6GNY2t6W8rzpFC4tgpbXUYABkFQwgJq2XYXlxbXAI0g==} |
| 181 | dev: true | 185 | dev: true |
| 182 | 186 | ||
| 183 | /@babel/code-frame/7.18.6: | 187 | /@babel/code-frame/7.18.6: |
| @@ -963,8 +967,8 @@ packages: | @@ -963,8 +967,8 @@ packages: | ||
| 963 | dependencies: | 967 | dependencies: |
| 964 | '@iconify/types': 2.0.0 | 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 | dependencies: | 972 | dependencies: |
| 969 | '@iconify/types': 2.0.0 | 973 | '@iconify/types': 2.0.0 |
| 970 | pathe: 1.0.0 | 974 | pathe: 1.0.0 |
| @@ -1171,6 +1175,21 @@ packages: | @@ -1171,6 +1175,21 @@ packages: | ||
| 1171 | picomatch: 2.3.1 | 1175 | picomatch: 2.3.1 |
| 1172 | dev: true | 1176 | dev: true |
| 1173 | 1177 | ||
| 1178 | + /@rollup/pluginutils/5.0.2_rollup@3.10.0: | ||
| 1179 | + resolution: {integrity: sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==} | ||
| 1180 | + engines: {node: '>=14.0.0'} | ||
| 1181 | + peerDependencies: | ||
| 1182 | + rollup: ^1.20.0||^2.0.0||^3.0.0 | ||
| 1183 | + peerDependenciesMeta: | ||
| 1184 | + rollup: | ||
| 1185 | + optional: true | ||
| 1186 | + dependencies: | ||
| 1187 | + '@types/estree': 1.0.0 | ||
| 1188 | + estree-walker: 2.0.2 | ||
| 1189 | + picomatch: 2.3.1 | ||
| 1190 | + rollup: 3.10.0 | ||
| 1191 | + dev: true | ||
| 1192 | + | ||
| 1174 | /@sxzz/popperjs-es/2.11.7: | 1193 | /@sxzz/popperjs-es/2.11.7: |
| 1175 | resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} | 1194 | resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==} |
| 1176 | dev: false | 1195 | dev: false |
| @@ -1277,7 +1296,6 @@ packages: | @@ -1277,7 +1296,6 @@ packages: | ||
| 1277 | 1296 | ||
| 1278 | /@types/web-bluetooth/0.0.16: | 1297 | /@types/web-bluetooth/0.0.16: |
| 1279 | resolution: {integrity: sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ==} | 1298 | resolution: {integrity: sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ==} |
| 1280 | - dev: false | ||
| 1281 | 1299 | ||
| 1282 | /@typescript-eslint/eslint-plugin/5.48.2_caon6io6stgpr7lz2rtbhekxqy: | 1300 | /@typescript-eslint/eslint-plugin/5.48.2_caon6io6stgpr7lz2rtbhekxqy: |
| 1283 | resolution: {integrity: sha512-sR0Gja9Ky1teIq4qJOl0nC+Tk64/uYdX+mi+5iB//MH8gwyx8e3SOyhEzeLZEFEEfCaLf8KJq+Bd/6je1t+CAg==} | 1301 | resolution: {integrity: sha512-sR0Gja9Ky1teIq4qJOl0nC+Tk64/uYdX+mi+5iB//MH8gwyx8e3SOyhEzeLZEFEEfCaLf8KJq+Bd/6je1t+CAg==} |
| @@ -1628,30 +1646,27 @@ packages: | @@ -1628,30 +1646,27 @@ packages: | ||
| 1628 | /@vue/shared/3.2.45: | 1646 | /@vue/shared/3.2.45: |
| 1629 | resolution: {integrity: sha512-Ewzq5Yhimg7pSztDV+RH1UDKBzmtqieXQlpTVm2AwraoRL/Rks96mvd8Vgi7Lj+h+TH8dv7mXD3FRZR3TUvbSg==} | 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 | dependencies: | 1651 | dependencies: |
| 1634 | '@types/web-bluetooth': 0.0.16 | 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 | vue-demi: 0.13.11_vue@3.2.45 | 1655 | vue-demi: 0.13.11_vue@3.2.45 |
| 1638 | transitivePeerDependencies: | 1656 | transitivePeerDependencies: |
| 1639 | - '@vue/composition-api' | 1657 | - '@vue/composition-api' |
| 1640 | - vue | 1658 | - vue |
| 1641 | - dev: false | ||
| 1642 | 1659 | ||
| 1643 | - /@vueuse/metadata/9.10.0: | ||
| 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 | dependencies: | 1665 | dependencies: |
| 1650 | vue-demi: 0.13.11_vue@3.2.45 | 1666 | vue-demi: 0.13.11_vue@3.2.45 |
| 1651 | transitivePeerDependencies: | 1667 | transitivePeerDependencies: |
| 1652 | - '@vue/composition-api' | 1668 | - '@vue/composition-api' |
| 1653 | - vue | 1669 | - vue |
| 1654 | - dev: false | ||
| 1655 | 1670 | ||
| 1656 | /@wangeditor/basic-modules/1.1.7_j7icpicfeimtkldwmemjnpdjs4: | 1671 | /@wangeditor/basic-modules/1.1.7_j7icpicfeimtkldwmemjnpdjs4: |
| 1657 | resolution: {integrity: sha512-cY9CPkLJaqF05STqfpZKWG4LpxTMeGSIIF1fHvfm/mz+JXatCagjdkbxdikOuKYlxDdeqvOeBmsUBItufDLXZg==} | 1672 | resolution: {integrity: sha512-cY9CPkLJaqF05STqfpZKWG4LpxTMeGSIIF1fHvfm/mz+JXatCagjdkbxdikOuKYlxDdeqvOeBmsUBItufDLXZg==} |
| @@ -2084,8 +2099,8 @@ packages: | @@ -2084,8 +2099,8 @@ packages: | ||
| 2084 | - debug | 2099 | - debug |
| 2085 | dev: true | 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 | dependencies: | 2104 | dependencies: |
| 2090 | follow-redirects: 1.15.2 | 2105 | follow-redirects: 1.15.2 |
| 2091 | form-data: 4.0.0 | 2106 | form-data: 4.0.0 |
| @@ -2212,13 +2227,6 @@ packages: | @@ -2212,13 +2227,6 @@ packages: | ||
| 2212 | engines: {node: '>=6'} | 2227 | engines: {node: '>=6'} |
| 2213 | dev: true | 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 | /camelcase-keys/6.2.2: | 2230 | /camelcase-keys/6.2.2: |
| 2223 | resolution: {integrity: sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==} | 2231 | resolution: {integrity: sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==} |
| 2224 | engines: {node: '>=8'} | 2232 | engines: {node: '>=8'} |
| @@ -2241,14 +2249,6 @@ packages: | @@ -2241,14 +2249,6 @@ packages: | ||
| 2241 | resolution: {integrity: sha512-zBUoFU0ZcxpvSt9IU66dXVT/3ctO1cy4y9cscs1szkPlcWb6pasYM144GqrUygUbT+k7cmUCW61cvskjcv0enQ==} | 2249 | resolution: {integrity: sha512-zBUoFU0ZcxpvSt9IU66dXVT/3ctO1cy4y9cscs1szkPlcWb6pasYM144GqrUygUbT+k7cmUCW61cvskjcv0enQ==} |
| 2242 | dev: true | 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 | /chalk/1.1.3: | 2252 | /chalk/1.1.3: |
| 2253 | resolution: {integrity: sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==} | 2253 | resolution: {integrity: sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==} |
| 2254 | engines: {node: '>=0.10.0'} | 2254 | engines: {node: '>=0.10.0'} |
| @@ -2277,23 +2277,6 @@ packages: | @@ -2277,23 +2277,6 @@ packages: | ||
| 2277 | supports-color: 7.2.0 | 2277 | supports-color: 7.2.0 |
| 2278 | dev: true | 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 | /chokidar/3.5.3: | 2280 | /chokidar/3.5.3: |
| 2298 | resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} | 2281 | resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} |
| 2299 | engines: {node: '>= 8.10.0'} | 2282 | engines: {node: '>= 8.10.0'} |
| @@ -2448,18 +2431,6 @@ packages: | @@ -2448,18 +2431,6 @@ packages: | ||
| 2448 | resolution: {integrity: sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==} | 2431 | resolution: {integrity: sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==} |
| 2449 | dev: true | 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 | /conventional-changelog-angular/5.0.13: | 2434 | /conventional-changelog-angular/5.0.13: |
| 2464 | resolution: {integrity: sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA==} | 2435 | resolution: {integrity: sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA==} |
| 2465 | engines: {node: '>=10'} | 2436 | engines: {node: '>=10'} |
| @@ -2815,13 +2786,6 @@ packages: | @@ -2815,13 +2786,6 @@ packages: | ||
| 2815 | domhandler: 5.0.3 | 2786 | domhandler: 5.0.3 |
| 2816 | dev: true | 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 | /dot-prop/5.3.0: | 2789 | /dot-prop/5.3.0: |
| 2826 | resolution: {integrity: sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==} | 2790 | resolution: {integrity: sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==} |
| 2827 | engines: {node: '>=8'} | 2791 | engines: {node: '>=8'} |
| @@ -2871,7 +2835,7 @@ packages: | @@ -2871,7 +2835,7 @@ packages: | ||
| 2871 | '@popperjs/core': /@sxzz/popperjs-es/2.11.7 | 2835 | '@popperjs/core': /@sxzz/popperjs-es/2.11.7 |
| 2872 | '@types/lodash': 4.14.189 | 2836 | '@types/lodash': 4.14.189 |
| 2873 | '@types/lodash-es': 4.17.6 | 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 | async-validator: 4.2.5 | 2839 | async-validator: 4.2.5 |
| 2876 | dayjs: 1.11.7 | 2840 | dayjs: 1.11.7 |
| 2877 | escape-html: 1.0.3 | 2841 | escape-html: 1.0.3 |
| @@ -2920,8 +2884,8 @@ packages: | @@ -2920,8 +2884,8 @@ packages: | ||
| 2920 | is-arrayish: 0.2.1 | 2884 | is-arrayish: 0.2.1 |
| 2921 | dev: true | 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 | dev: true | 2889 | dev: true |
| 2926 | 2890 | ||
| 2927 | /es5-ext/0.10.62: | 2891 | /es5-ext/0.10.62: |
| @@ -2998,6 +2962,11 @@ packages: | @@ -2998,6 +2962,11 @@ packages: | ||
| 2998 | engines: {node: '>=10'} | 2962 | engines: {node: '>=10'} |
| 2999 | dev: true | 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 | /eslint-config-prettier/8.6.0_eslint@8.32.0: | 2970 | /eslint-config-prettier/8.6.0_eslint@8.32.0: |
| 3002 | resolution: {integrity: sha512-bAF0eLpLVqP5oEVUFKpMA+NnRFICwn9X8B5jrR9FcqnYBuPbqWEjTEspPWMj5ye6czoSLDweCzSo3Ko7gGrZaA==} | 2971 | resolution: {integrity: sha512-bAF0eLpLVqP5oEVUFKpMA+NnRFICwn9X8B5jrR9FcqnYBuPbqWEjTEspPWMj5ye6czoSLDweCzSo3Ko7gGrZaA==} |
| 3003 | hasBin: true | 2972 | hasBin: true |
| @@ -3646,13 +3615,6 @@ packages: | @@ -3646,13 +3615,6 @@ packages: | ||
| 3646 | hasBin: true | 3615 | hasBin: true |
| 3647 | dev: true | 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 | /hosted-git-info/2.8.9: | 3618 | /hosted-git-info/2.8.9: |
| 3657 | resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} | 3619 | resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} |
| 3658 | dev: true | 3620 | dev: true |
| @@ -4047,6 +4009,10 @@ packages: | @@ -4047,6 +4009,10 @@ packages: | ||
| 4047 | semver: 6.3.0 | 4009 | semver: 6.3.0 |
| 4048 | dev: true | 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 | /jsonfile/6.1.0: | 4016 | /jsonfile/6.1.0: |
| 4051 | resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} | 4017 | resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} |
| 4052 | dependencies: | 4018 | dependencies: |
| @@ -4160,6 +4126,11 @@ packages: | @@ -4160,6 +4126,11 @@ packages: | ||
| 4160 | json5: 1.0.1 | 4126 | json5: 1.0.1 |
| 4161 | dev: true | 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 | /locate-path/5.0.0: | 4134 | /locate-path/5.0.0: |
| 4164 | resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} | 4135 | resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} |
| 4165 | engines: {node: '>=8'} | 4136 | engines: {node: '>=8'} |
| @@ -4269,12 +4240,6 @@ packages: | @@ -4269,12 +4240,6 @@ packages: | ||
| 4269 | wrap-ansi: 6.2.0 | 4240 | wrap-ansi: 6.2.0 |
| 4270 | dev: true | 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 | /lru-cache/6.0.0: | 4243 | /lru-cache/6.0.0: |
| 4279 | resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} | 4244 | resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} |
| 4280 | engines: {node: '>=10'} | 4245 | engines: {node: '>=10'} |
| @@ -4287,6 +4252,13 @@ packages: | @@ -4287,6 +4252,13 @@ packages: | ||
| 4287 | dependencies: | 4252 | dependencies: |
| 4288 | sourcemap-codec: 1.4.8 | 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 | /magic-string/0.27.0: | 4262 | /magic-string/0.27.0: |
| 4291 | 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} | 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 | engines: {node: '>=12'} | 4264 | engines: {node: '>=12'} |
| @@ -4483,6 +4455,15 @@ packages: | @@ -4483,6 +4455,15 @@ packages: | ||
| 4483 | is-extendable: 1.0.1 | 4455 | is-extendable: 1.0.1 |
| 4484 | dev: true | 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 | /ms/2.0.0: | 4467 | /ms/2.0.0: |
| 4487 | resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} | 4468 | resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} |
| 4488 | dev: true | 4469 | dev: true |
| @@ -4535,13 +4516,6 @@ packages: | @@ -4535,13 +4516,6 @@ packages: | ||
| 4535 | resolution: {integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==} | 4516 | resolution: {integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==} |
| 4536 | dev: false | 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 | /node-fetch/2.6.7: | 4519 | /node-fetch/2.6.7: |
| 4546 | 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} | 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 | engines: {node: 4.x || >=6.0.0} | 4521 | engines: {node: 4.x || >=6.0.0} |
| @@ -4715,13 +4689,6 @@ packages: | @@ -4715,13 +4689,6 @@ packages: | ||
| 4715 | resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} | 4689 | resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} |
| 4716 | engines: {node: '>=6'} | 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 | /parent-module/1.0.1: | 4692 | /parent-module/1.0.1: |
| 4726 | resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} | 4693 | resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} |
| 4727 | engines: {node: '>=6'} | 4694 | engines: {node: '>=6'} |
| @@ -4739,25 +4706,11 @@ packages: | @@ -4739,25 +4706,11 @@ packages: | ||
| 4739 | lines-and-columns: 1.2.4 | 4706 | lines-and-columns: 1.2.4 |
| 4740 | dev: true | 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 | /pascalcase/0.1.1: | 4709 | /pascalcase/0.1.1: |
| 4750 | resolution: {integrity: sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw==} | 4710 | resolution: {integrity: sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw==} |
| 4751 | engines: {node: '>=0.10.0'} | 4711 | engines: {node: '>=0.10.0'} |
| 4752 | dev: true | 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 | /path-exists/4.0.0: | 4714 | /path-exists/4.0.0: |
| 4762 | resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} | 4715 | resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} |
| 4763 | engines: {node: '>=8'} | 4716 | engines: {node: '>=8'} |
| @@ -4826,6 +4779,14 @@ packages: | @@ -4826,6 +4779,14 @@ packages: | ||
| 4826 | vue-demi: 0.13.11_vue@3.2.45 | 4779 | vue-demi: 0.13.11_vue@3.2.45 |
| 4827 | dev: false | 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 | /pngjs/5.0.0: | 4790 | /pngjs/5.0.0: |
| 4830 | resolution: {integrity: sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==} | 4791 | resolution: {integrity: sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==} |
| 4831 | engines: {node: '>=10.13.0'} | 4792 | engines: {node: '>=10.13.0'} |
| @@ -5192,8 +5153,8 @@ packages: | @@ -5192,8 +5153,8 @@ packages: | ||
| 5192 | glob: 7.2.3 | 5153 | glob: 7.2.3 |
| 5193 | dev: true | 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 | engines: {node: '>=14'} | 5158 | engines: {node: '>=14'} |
| 5198 | hasBin: true | 5159 | hasBin: true |
| 5199 | dev: true | 5160 | dev: true |
| @@ -5263,6 +5224,10 @@ packages: | @@ -5263,6 +5224,10 @@ packages: | ||
| 5263 | compute-scroll-into-view: 1.0.17 | 5224 | compute-scroll-into-view: 1.0.17 |
| 5264 | dev: false | 5225 | dev: false |
| 5265 | 5226 | ||
| 5227 | + /scule/1.0.0: | ||
| 5228 | + resolution: {integrity: sha512-4AsO/FrViE/iDNEPaAQlb77tf0csuq27EsVpy6ett584EcRTp6pTDLoGWVxCD77y5iU5FauOvhsI4o1APwPoSQ==} | ||
| 5229 | + dev: true | ||
| 5230 | + | ||
| 5266 | /semver/5.7.1: | 5231 | /semver/5.7.1: |
| 5267 | resolution: {integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==} | 5232 | resolution: {integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==} |
| 5268 | hasBin: true | 5233 | hasBin: true |
| @@ -5281,14 +5246,6 @@ packages: | @@ -5281,14 +5246,6 @@ packages: | ||
| 5281 | lru-cache: 6.0.0 | 5246 | lru-cache: 6.0.0 |
| 5282 | dev: true | 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 | /set-blocking/2.0.0: | 5249 | /set-blocking/2.0.0: |
| 5293 | resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} | 5250 | resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} |
| 5294 | dev: false | 5251 | dev: false |
| @@ -5380,13 +5337,6 @@ packages: | @@ -5380,13 +5337,6 @@ packages: | ||
| 5380 | engines: {node: '>=8.3.0'} | 5337 | engines: {node: '>=8.3.0'} |
| 5381 | dev: false | 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 | /snapdragon-node/2.1.1: | 5340 | /snapdragon-node/2.1.1: |
| 5391 | resolution: {integrity: sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==} | 5341 | resolution: {integrity: sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==} |
| 5392 | engines: {node: '>=0.10.0'} | 5342 | engines: {node: '>=0.10.0'} |
| @@ -5586,6 +5536,12 @@ packages: | @@ -5586,6 +5536,12 @@ packages: | ||
| 5586 | engines: {node: '>=8'} | 5536 | engines: {node: '>=8'} |
| 5587 | dev: true | 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 | /style-search/0.1.0: | 5545 | /style-search/0.1.0: |
| 5590 | resolution: {integrity: sha512-Dj1Okke1C3uKKwQcetra4jSuk0DqbzbYtXipzFlFMZtowbF1x7BKJwB9AayVMyFARvU8EDrZdcax4At/452cAg==} | 5546 | resolution: {integrity: sha512-Dj1Okke1C3uKKwQcetra4jSuk0DqbzbYtXipzFlFMZtowbF1x7BKJwB9AayVMyFARvU8EDrZdcax4At/452cAg==} |
| 5591 | dev: true | 5547 | dev: true |
| @@ -5958,6 +5914,28 @@ packages: | @@ -5958,6 +5914,28 @@ packages: | ||
| 5958 | engines: {node: '>=4.2.0'} | 5914 | engines: {node: '>=4.2.0'} |
| 5959 | hasBin: true | 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 | /union-value/1.0.1: | 5939 | /union-value/1.0.1: |
| 5962 | resolution: {integrity: sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==} | 5940 | resolution: {integrity: sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==} |
| 5963 | engines: {node: '>=0.10.0'} | 5941 | engines: {node: '>=0.10.0'} |
| @@ -5973,6 +5951,92 @@ packages: | @@ -5973,6 +5951,92 @@ packages: | ||
| 5973 | engines: {node: '>= 10.0.0'} | 5951 | engines: {node: '>= 10.0.0'} |
| 5974 | dev: true | 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 | /unplugin/1.0.1: | 6040 | /unplugin/1.0.1: |
| 5977 | resolution: {integrity: sha512-aqrHaVBWW1JVKBHmGo33T5TxeL0qWzfvjWokObHA9bYmN7eNDkwOxmLjhioHl9878qDFMAaT51XNroRyuz7WxA==} | 6041 | resolution: {integrity: sha512-aqrHaVBWW1JVKBHmGo33T5TxeL0qWzfvjWokObHA9bYmN7eNDkwOxmLjhioHl9878qDFMAaT51XNroRyuz7WxA==} |
| 5978 | dependencies: | 6042 | dependencies: |
| @@ -6001,18 +6065,6 @@ packages: | @@ -6001,18 +6065,6 @@ packages: | ||
| 6001 | picocolors: 1.0.0 | 6065 | picocolors: 1.0.0 |
| 6002 | dev: true | 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 | /uri-js/4.4.1: | 6068 | /uri-js/4.4.1: |
| 6017 | resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} | 6069 | resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} |
| 6018 | dependencies: | 6070 | dependencies: |
| @@ -6119,21 +6171,6 @@ packages: | @@ -6119,21 +6171,6 @@ packages: | ||
| 6119 | - supports-color | 6171 | - supports-color |
| 6120 | dev: true | 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 | /vite-plugin-svg-icons/2.0.1_vite@4.0.4: | 6174 | /vite-plugin-svg-icons/2.0.1_vite@4.0.4: |
| 6138 | resolution: {integrity: sha512-6ktD+DhV6Rz3VtedYvBKKVA2eXF+sAQVaKkKLDSqGUfnhqXl3bj5PPkVTl3VexfTuZy66PmINi8Q6eFnVfRUmA==} | 6175 | resolution: {integrity: sha512-6ktD+DhV6Rz3VtedYvBKKVA2eXF+sAQVaKkKLDSqGUfnhqXl3bj5PPkVTl3VexfTuZy66PmINi8Q6eFnVfRUmA==} |
| 6139 | peerDependencies: | 6176 | peerDependencies: |
| @@ -6225,7 +6262,6 @@ packages: | @@ -6225,7 +6262,6 @@ packages: | ||
| 6225 | optional: true | 6262 | optional: true |
| 6226 | dependencies: | 6263 | dependencies: |
| 6227 | vue: 3.2.45 | 6264 | vue: 3.2.45 |
| 6228 | - dev: false | ||
| 6229 | 6265 | ||
| 6230 | /vue-eslint-parser/9.1.0_eslint@8.32.0: | 6266 | /vue-eslint-parser/9.1.0_eslint@8.32.0: |
| 6231 | resolution: {integrity: sha512-NGn/iQy8/Wb7RrRa4aRkokyCZfOUWk19OP5HP6JEozQFX5AoS/t+Z0ZN7FY4LlmWc4FNI922V7cvX28zctN8dQ==} | 6267 | resolution: {integrity: sha512-NGn/iQy8/Wb7RrRa4aRkokyCZfOUWk19OP5HP6JEozQFX5AoS/t+Z0ZN7FY4LlmWc4FNI922V7cvX28zctN8dQ==} |
| @@ -6329,6 +6365,10 @@ packages: | @@ -6329,6 +6365,10 @@ packages: | ||
| 6329 | engines: {node: '>=10.13.0'} | 6365 | engines: {node: '>=10.13.0'} |
| 6330 | dev: true | 6366 | dev: true |
| 6331 | 6367 | ||
| 6368 | + /webpack-virtual-modules/0.4.6: | ||
| 6369 | + resolution: {integrity: sha512-5tyDlKLqPfMqjT3Q9TAqf2YqjwmnUleZwzJi1A5qXnlBCdj2AtOJ6wAWdglTIDOPgOiOrXeBeFcsQ8+aGQ6QbA==} | ||
| 6370 | + dev: true | ||
| 6371 | + | ||
| 6332 | /webpack-virtual-modules/0.5.0: | 6372 | /webpack-virtual-modules/0.5.0: |
| 6333 | resolution: {integrity: sha512-kyDivFZ7ZM0BVOUteVbDFhlRt7Ah/CSPwJdi8hBpkK7QLumUqdLtVfm/PX/hkcnrvr0i77fO5+TjZ94Pe+C9iw==} | 6373 | resolution: {integrity: sha512-kyDivFZ7ZM0BVOUteVbDFhlRt7Ah/CSPwJdi8hBpkK7QLumUqdLtVfm/PX/hkcnrvr0i77fO5+TjZ94Pe+C9iw==} |
| 6334 | dev: true | 6374 | dev: true |
yudao-ui-admin-vue3/src/App.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | -import { computed } from 'vue' | ||
| 3 | import { isDark } from '@/utils/is' | 2 | import { isDark } from '@/utils/is' |
| 4 | import { useAppStore } from '@/store/modules/app' | 3 | import { useAppStore } from '@/store/modules/app' |
| 5 | import { useDesign } from '@/hooks/web/useDesign' | 4 | import { useDesign } from '@/hooks/web/useDesign' |
| 6 | -import { ConfigGlobal } from '@/components/ConfigGlobal' | ||
| 7 | import { CACHE_KEY, useCache } from '@/hooks/web/useCache' | 5 | import { CACHE_KEY, useCache } from '@/hooks/web/useCache' |
| 8 | 6 | ||
| 9 | const { getPrefixCls } = useDesign() | 7 | const { getPrefixCls } = useDesign() |
yudao-ui-admin-vue3/src/components/ConfigGlobal/src/ConfigGlobal.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | -import { provide, computed, watch, onMounted } from 'vue' | ||
| 3 | import { propTypes } from '@/utils/propTypes' | 2 | import { propTypes } from '@/utils/propTypes' |
| 4 | -import { ElConfigProvider } from 'element-plus' | ||
| 5 | import { useLocaleStore } from '@/store/modules/locale' | 3 | import { useLocaleStore } from '@/store/modules/locale' |
| 6 | -import { useWindowSize } from '@vueuse/core' | ||
| 7 | import { useAppStore } from '@/store/modules/app' | 4 | import { useAppStore } from '@/store/modules/app' |
| 8 | import { setCssVar } from '@/utils' | 5 | import { setCssVar } from '@/utils' |
| 9 | import { useDesign } from '@/hooks/web/useDesign' | 6 | import { useDesign } from '@/hooks/web/useDesign' |
| 10 | import { ElementPlusSize } from '@/types/elementPlus' | 7 | import { ElementPlusSize } from '@/types/elementPlus' |
| 8 | +import { useWindowSize } from '@vueuse/core' | ||
| 11 | 9 | ||
| 12 | const { variables } = useDesign() | 10 | const { variables } = useDesign() |
| 13 | 11 |
yudao-ui-admin-vue3/src/components/ContentDetailWrap/src/ContentDetailWrap.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | -import { ElCard } from 'element-plus' | ||
| 3 | import { propTypes } from '@/utils/propTypes' | 2 | import { propTypes } from '@/utils/propTypes' |
| 4 | import { useDesign } from '@/hooks/web/useDesign' | 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 | const { t } = useI18n() | 5 | const { t } = useI18n() |
| 9 | 6 | ||
| 10 | const { getPrefixCls } = useDesign() | 7 | const { getPrefixCls } = useDesign() |
yudao-ui-admin-vue3/src/components/CountTo/src/CountTo.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | -import { reactive, computed, watch, onMounted, unref, toRef, PropType } from 'vue' | 2 | +import { PropType } from 'vue' |
| 3 | import { isNumber } from '@/utils/is' | 3 | import { isNumber } from '@/utils/is' |
| 4 | import { propTypes } from '@/utils/propTypes' | 4 | import { propTypes } from '@/utils/propTypes' |
| 5 | import { useDesign } from '@/hooks/web/useDesign' | 5 | import { useDesign } from '@/hooks/web/useDesign' |
yudao-ui-admin-vue3/src/components/Crontab/src/Crontab.vue
| 1 | <script setup lang="ts"> | 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 | interface shortcutsType { | 4 | interface shortcutsType { |
| 18 | text: string | 5 | text: string |
| 19 | value: string | 6 | value: string |
yudao-ui-admin-vue3/src/components/Cropper/src/CopperModal.vue
| @@ -116,11 +116,7 @@ | @@ -116,11 +116,7 @@ | ||
| 116 | <script setup lang="ts"> | 116 | <script setup lang="ts"> |
| 117 | import { useDesign } from '@/hooks/web/useDesign' | 117 | import { useDesign } from '@/hooks/web/useDesign' |
| 118 | import { dataURLtoBlob } from '@/utils/filt' | 118 | import { dataURLtoBlob } from '@/utils/filt' |
| 119 | -import { ref } from 'vue' | ||
| 120 | import { useI18n } from 'vue-i18n' | 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 | import type { CropendResult, Cropper } from './types' | 120 | import type { CropendResult, Cropper } from './types' |
| 125 | import { propTypes } from '@/utils/propTypes' | 121 | import { propTypes } from '@/utils/propTypes' |
| 126 | 122 |
yudao-ui-admin-vue3/src/components/Cropper/src/Cropper.vue
| @@ -11,21 +11,12 @@ | @@ -11,21 +11,12 @@ | ||
| 11 | </div> | 11 | </div> |
| 12 | </template> | 12 | </template> |
| 13 | <script setup lang="ts"> | 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 | import Cropper from 'cropperjs' | 15 | import Cropper from 'cropperjs' |
| 25 | import 'cropperjs/dist/cropper.css' | 16 | import 'cropperjs/dist/cropper.css' |
| 26 | import { useDesign } from '@/hooks/web/useDesign' | 17 | import { useDesign } from '@/hooks/web/useDesign' |
| 27 | -import { useDebounceFn } from '@vueuse/core' | ||
| 28 | import { propTypes } from '@/utils/propTypes' | 18 | import { propTypes } from '@/utils/propTypes' |
| 19 | +import { useDebounceFn } from '@vueuse/core' | ||
| 29 | 20 | ||
| 30 | type Options = Cropper.Options | 21 | type Options = Cropper.Options |
| 31 | 22 |
yudao-ui-admin-vue3/src/components/Cropper/src/CropperAvatar.vue
| @@ -13,9 +13,8 @@ | @@ -13,9 +13,8 @@ | ||
| 13 | </template> | 13 | </template> |
| 14 | <script setup lang="ts"> | 14 | <script setup lang="ts"> |
| 15 | import { useDesign } from '@/hooks/web/useDesign' | 15 | import { useDesign } from '@/hooks/web/useDesign' |
| 16 | -import { useMessage } from '@/hooks/web/useMessage' | 16 | + |
| 17 | import { propTypes } from '@/utils/propTypes' | 17 | import { propTypes } from '@/utils/propTypes' |
| 18 | -import { ref, watch, watchEffect } from 'vue' | ||
| 19 | import { useI18n } from 'vue-i18n' | 18 | import { useI18n } from 'vue-i18n' |
| 20 | import CopperModal from './CopperModal.vue' | 19 | import CopperModal from './CopperModal.vue' |
| 21 | 20 |
yudao-ui-admin-vue3/src/components/Descriptions/src/Descriptions.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | +import { PropType } from 'vue' | ||
| 2 | import dayjs from 'dayjs' | 3 | import dayjs from 'dayjs' |
| 3 | -import { ElCollapseTransition, ElDescriptions, ElDescriptionsItem, ElTooltip } from 'element-plus' | ||
| 4 | import { useDesign } from '@/hooks/web/useDesign' | 4 | import { useDesign } from '@/hooks/web/useDesign' |
| 5 | import { propTypes } from '@/utils/propTypes' | 5 | import { propTypes } from '@/utils/propTypes' |
| 6 | -import { ref, unref, PropType, computed, useAttrs, useSlots } from 'vue' | ||
| 7 | import { useAppStore } from '@/store/modules/app' | 6 | import { useAppStore } from '@/store/modules/app' |
| 8 | import { DescriptionsSchema } from '@/types/descriptions' | 7 | import { DescriptionsSchema } from '@/types/descriptions' |
| 9 | 8 |
yudao-ui-admin-vue3/src/components/Dialog/src/Dialog.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | -import { ElDialog, ElScrollbar } from 'element-plus' | ||
| 3 | import { propTypes } from '@/utils/propTypes' | 2 | import { propTypes } from '@/utils/propTypes' |
| 4 | -import { computed, useAttrs, ref, unref, useSlots, watch, nextTick } from 'vue' | ||
| 5 | import { isNumber } from '@/utils/is' | 3 | import { isNumber } from '@/utils/is' |
| 6 | 4 | ||
| 7 | const slots = useSlots() | 5 | const slots = useSlots() |
yudao-ui-admin-vue3/src/components/Echart/src/Echart.vue
| @@ -4,7 +4,7 @@ import echarts from '@/plugins/echarts' | @@ -4,7 +4,7 @@ import echarts from '@/plugins/echarts' | ||
| 4 | import { debounce } from 'lodash-es' | 4 | import { debounce } from 'lodash-es' |
| 5 | import 'echarts-wordcloud' | 5 | import 'echarts-wordcloud' |
| 6 | import { propTypes } from '@/utils/propTypes' | 6 | import { propTypes } from '@/utils/propTypes' |
| 7 | -import { computed, PropType, ref, unref, watch, onMounted, onBeforeUnmount, onActivated } from 'vue' | 7 | +import { PropType } from 'vue' |
| 8 | import { useAppStore } from '@/store/modules/app' | 8 | import { useAppStore } from '@/store/modules/app' |
| 9 | import { isString } from '@/utils/is' | 9 | import { isString } from '@/utils/is' |
| 10 | import { useDesign } from '@/hooks/web/useDesign' | 10 | import { useDesign } from '@/hooks/web/useDesign' |
yudao-ui-admin-vue3/src/components/Editor/src/Editor.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | -import { onBeforeUnmount, computed, PropType, unref, nextTick, ref, watch, shallowRef } from 'vue' | 2 | +import { PropType } from 'vue' |
| 3 | import { Editor, Toolbar } from '@wangeditor/editor-for-vue' | 3 | import { Editor, Toolbar } from '@wangeditor/editor-for-vue' |
| 4 | import { IDomEditor, IEditorConfig, i18nChangeLanguage } from '@wangeditor/editor' | 4 | import { IDomEditor, IEditorConfig, i18nChangeLanguage } from '@wangeditor/editor' |
| 5 | import { propTypes } from '@/utils/propTypes' | 5 | import { propTypes } from '@/utils/propTypes' |
yudao-ui-admin-vue3/src/components/Error/src/Error.vue
| @@ -3,7 +3,6 @@ import pageError from '@/assets/svgs/404.svg' | @@ -3,7 +3,6 @@ import pageError from '@/assets/svgs/404.svg' | ||
| 3 | import networkError from '@/assets/svgs/500.svg' | 3 | import networkError from '@/assets/svgs/500.svg' |
| 4 | import noPermission from '@/assets/svgs/403.svg' | 4 | import noPermission from '@/assets/svgs/403.svg' |
| 5 | import { propTypes } from '@/utils/propTypes' | 5 | import { propTypes } from '@/utils/propTypes' |
| 6 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 7 | 6 | ||
| 8 | interface ErrorMap { | 7 | interface ErrorMap { |
| 9 | url: string | 8 | url: string |
yudao-ui-admin-vue3/src/components/Form/src/helper.ts
yudao-ui-admin-vue3/src/components/IFrame/src/IFrame.vue
yudao-ui-admin-vue3/src/components/Icon/src/Icon.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | -import { computed, unref, ref, watch, nextTick } from 'vue' | ||
| 3 | -import { ElIcon } from 'element-plus' | ||
| 4 | import { propTypes } from '@/utils/propTypes' | 2 | import { propTypes } from '@/utils/propTypes' |
| 5 | import Iconify from '@purge-icons/generated' | 3 | import Iconify from '@purge-icons/generated' |
| 6 | import { useDesign } from '@/hooks/web/useDesign' | 4 | import { useDesign } from '@/hooks/web/useDesign' |
yudao-ui-admin-vue3/src/components/ImageViewer/src/ImageViewer.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | -import { ElImageViewer } from 'element-plus' | ||
| 3 | -import { computed, ref, PropType } from 'vue' | 2 | +import { PropType } from 'vue' |
| 4 | import { propTypes } from '@/utils/propTypes' | 3 | import { propTypes } from '@/utils/propTypes' |
| 5 | 4 | ||
| 6 | const props = defineProps({ | 5 | const props = defineProps({ |
yudao-ui-admin-vue3/src/components/Infotip/src/Infotip.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | import { PropType } from 'vue' | 2 | import { PropType } from 'vue' |
| 3 | -import { Highlight } from '@/components/Highlight' | ||
| 4 | import { useDesign } from '@/hooks/web/useDesign' | 3 | import { useDesign } from '@/hooks/web/useDesign' |
| 5 | import { propTypes } from '@/utils/propTypes' | 4 | import { propTypes } from '@/utils/propTypes' |
| 6 | import { TipSchema } from '@/types/infoTip' | 5 | import { TipSchema } from '@/types/infoTip' |
yudao-ui-admin-vue3/src/components/InputPassword/src/InputPassword.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | -import { ref, unref, computed, watch } from 'vue' | ||
| 3 | -import { ElInput } from 'element-plus' | ||
| 4 | import { propTypes } from '@/utils/propTypes' | 2 | import { propTypes } from '@/utils/propTypes' |
| 5 | import { useConfigGlobal } from '@/hooks/web/useConfigGlobal' | 3 | import { useConfigGlobal } from '@/hooks/web/useConfigGlobal' |
| 6 | import { zxcvbn } from '@zxcvbn-ts/core' | 4 | import { zxcvbn } from '@zxcvbn-ts/core' |
yudao-ui-admin-vue3/src/components/Search/src/Search.vue
| 1 | <script setup lang="ts"> | 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 | import { propTypes } from '@/utils/propTypes' | 3 | import { propTypes } from '@/utils/propTypes' |
| 5 | -import { ElButton } from 'element-plus' | ||
| 6 | -import { useI18n } from '@/hooks/web/useI18n' | 4 | + |
| 7 | import { useForm } from '@/hooks/web/useForm' | 5 | import { useForm } from '@/hooks/web/useForm' |
| 8 | import { findIndex } from '@/utils' | 6 | import { findIndex } from '@/utils' |
| 9 | import { cloneDeep } from 'lodash-es' | 7 | import { cloneDeep } from 'lodash-es' |
yudao-ui-admin-vue3/src/components/Sticky/src/Sticky.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | import { propTypes } from '@/utils/propTypes' | 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 | import type { CSSProperties } from 'vue' | 4 | import type { CSSProperties } from 'vue' |
| 6 | const props = defineProps({ | 5 | const props = defineProps({ |
| 7 | // 距离顶部或者底部的距离(单位px) | 6 | // 距离顶部或者底部的距离(单位px) |
yudao-ui-admin-vue3/src/components/UploadFile/src/UploadFile.vue
| @@ -33,11 +33,11 @@ | @@ -33,11 +33,11 @@ | ||
| 33 | </div> | 33 | </div> |
| 34 | </template> | 34 | </template> |
| 35 | <script setup lang="ts" name="UploadFile"> | 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 | import { propTypes } from '@/utils/propTypes' | 38 | import { propTypes } from '@/utils/propTypes' |
| 39 | import { getAccessToken, getTenantId } from '@/utils/auth' | 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 | const message = useMessage() // 消息弹窗 | 42 | const message = useMessage() // 消息弹窗 |
| 43 | const emit = defineEmits(['update:modelValue']) | 43 | const emit = defineEmits(['update:modelValue']) |
yudao-ui-admin-vue3/src/components/UploadFile/src/UploadImg.vue
| @@ -51,11 +51,8 @@ | @@ -51,11 +51,8 @@ | ||
| 51 | </template> | 51 | </template> |
| 52 | 52 | ||
| 53 | <script setup lang="ts" name="UploadImg"> | 53 | <script setup lang="ts" name="UploadImg"> |
| 54 | -import { ref } from 'vue' | ||
| 55 | import type { UploadProps } from 'element-plus' | 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 | import { generateUUID } from '@/utils' | 56 | import { generateUUID } from '@/utils' |
| 60 | import { propTypes } from '@/utils/propTypes' | 57 | import { propTypes } from '@/utils/propTypes' |
| 61 | import { getAccessToken, getTenantId } from '@/utils/auth' | 58 | import { getAccessToken, getTenantId } from '@/utils/auth' |
| @@ -111,17 +108,8 @@ const beforeUpload: UploadProps['beforeUpload'] = (rawFile) => { | @@ -111,17 +108,8 @@ const beforeUpload: UploadProps['beforeUpload'] = (rawFile) => { | ||
| 111 | const imgSize = rawFile.size / 1024 / 1024 < props.fileSize | 108 | const imgSize = rawFile.size / 1024 / 1024 < props.fileSize |
| 112 | const imgType = props.fileType | 109 | const imgType = props.fileType |
| 113 | if (!imgType.includes(rawFile.type as FileTypes)) | 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 | return imgType.includes(rawFile.type as FileTypes) && imgSize | 113 | return imgType.includes(rawFile.type as FileTypes) && imgSize |
| 126 | } | 114 | } |
| 127 | 115 | ||
| @@ -133,11 +121,7 @@ const uploadSuccess: UploadProps['onSuccess'] = (res: any): void => { | @@ -133,11 +121,7 @@ const uploadSuccess: UploadProps['onSuccess'] = (res: any): void => { | ||
| 133 | 121 | ||
| 134 | // 图片上传错误提示 | 122 | // 图片上传错误提示 |
| 135 | const uploadError = () => { | 123 | const uploadError = () => { |
| 136 | - ElNotification({ | ||
| 137 | - title: '温馨提示', | ||
| 138 | - message: '图片上传失败,请您重新上传!', | ||
| 139 | - type: 'error' | ||
| 140 | - }) | 124 | + message.notifyError('图片上传失败,请您重新上传!') |
| 141 | } | 125 | } |
| 142 | </script> | 126 | </script> |
| 143 | <style scoped lang="scss"> | 127 | <style scoped lang="scss"> |
yudao-ui-admin-vue3/src/components/UploadFile/src/UploadImgs.vue
| @@ -49,7 +49,7 @@ | @@ -49,7 +49,7 @@ | ||
| 49 | import { PropType, ref } from 'vue' | 49 | import { PropType, ref } from 'vue' |
| 50 | import { ElUpload, ElNotification, ElImageViewer } from 'element-plus' | 50 | import { ElUpload, ElNotification, ElImageViewer } from 'element-plus' |
| 51 | import type { UploadProps, UploadFile, UploadUserFile } from 'element-plus' | 51 | import type { UploadProps, UploadFile, UploadUserFile } from 'element-plus' |
| 52 | -import { useMessage } from '@/hooks/web/useMessage' | 52 | + |
| 53 | import { propTypes } from '@/utils/propTypes' | 53 | import { propTypes } from '@/utils/propTypes' |
| 54 | import { getAccessToken, getTenantId } from '@/utils/auth' | 54 | import { getAccessToken, getTenantId } from '@/utils/auth' |
| 55 | 55 |
yudao-ui-admin-vue3/src/components/Verifition/src/Verify.vue
| @@ -38,7 +38,6 @@ | @@ -38,7 +38,6 @@ | ||
| 38 | * */ | 38 | * */ |
| 39 | import { VerifySlide, VerifyPoints } from './Verify' | 39 | import { VerifySlide, VerifyPoints } from './Verify' |
| 40 | import { computed, ref, toRefs, watchEffect } from 'vue' | 40 | import { computed, ref, toRefs, watchEffect } from 'vue' |
| 41 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 42 | 41 | ||
| 43 | export default { | 42 | export default { |
| 44 | name: 'Vue3Verify', | 43 | name: 'Vue3Verify', |
yudao-ui-admin-vue3/src/components/Verifition/src/Verify/VerifyPoints.vue
| @@ -66,7 +66,6 @@ import { resetSize } from './../utils/util' | @@ -66,7 +66,6 @@ import { resetSize } from './../utils/util' | ||
| 66 | import { aesEncrypt } from './../utils/ase' | 66 | import { aesEncrypt } from './../utils/ase' |
| 67 | import { getCodeApi, reqCheckApi } from '@/api/login' | 67 | import { getCodeApi, reqCheckApi } from '@/api/login' |
| 68 | import { onMounted, reactive, ref, nextTick, toRefs, getCurrentInstance } from 'vue' | 68 | import { onMounted, reactive, ref, nextTick, toRefs, getCurrentInstance } from 'vue' |
| 69 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 70 | 69 | ||
| 71 | const props = defineProps({ | 70 | const props = defineProps({ |
| 72 | //弹出式pop,固定fixed | 71 | //弹出式pop,固定fixed |
yudao-ui-admin-vue3/src/components/Verifition/src/Verify/VerifySlide.vue
| @@ -79,17 +79,6 @@ | @@ -79,17 +79,6 @@ | ||
| 79 | import { aesEncrypt } from './../utils/ase' | 79 | import { aesEncrypt } from './../utils/ase' |
| 80 | import { resetSize } from './../utils/util' | 80 | import { resetSize } from './../utils/util' |
| 81 | import { getCodeApi, reqCheckApi } from '@/api/login' | 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 | const props = defineProps({ | 83 | const props = defineProps({ |
| 95 | captchaType: { | 84 | captchaType: { |
yudao-ui-admin-vue3/src/components/XButton/src/XButton.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | +import { PropType } from 'vue' | ||
| 2 | import { propTypes } from '@/utils/propTypes' | 3 | import { propTypes } from '@/utils/propTypes' |
| 3 | -import { computed, useAttrs, PropType } from 'vue' | ||
| 4 | 4 | ||
| 5 | const props = defineProps({ | 5 | const props = defineProps({ |
| 6 | modelValue: propTypes.bool.def(false), | 6 | modelValue: propTypes.bool.def(false), |
yudao-ui-admin-vue3/src/components/XButton/src/XTextButton.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | import { propTypes } from '@/utils/propTypes' | 2 | import { propTypes } from '@/utils/propTypes' |
| 3 | -import { computed, useAttrs, PropType } from 'vue' | 3 | +import { PropType } from 'vue' |
| 4 | 4 | ||
| 5 | const props = defineProps({ | 5 | const props = defineProps({ |
| 6 | modelValue: propTypes.bool.def(false), | 6 | modelValue: propTypes.bool.def(false), |
yudao-ui-admin-vue3/src/components/XModal/src/XModal.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | import { propTypes } from '@/utils/propTypes' | 2 | import { propTypes } from '@/utils/propTypes' |
| 3 | -import { computed, useAttrs, useSlots } from 'vue' | ||
| 4 | import { ElScrollbar } from 'element-plus' | 3 | import { ElScrollbar } from 'element-plus' |
| 5 | const slots = useSlots() | 4 | const slots = useSlots() |
| 6 | 5 |
yudao-ui-admin-vue3/src/components/XTable/src/XTable.vue
| @@ -6,15 +6,14 @@ | @@ -6,15 +6,14 @@ | ||
| 6 | </VxeGrid> | 6 | </VxeGrid> |
| 7 | </template> | 7 | </template> |
| 8 | <script lang="ts" setup name="XTable"> | 8 | <script lang="ts" setup name="XTable"> |
| 9 | -import { computed, PropType, ref, unref, useAttrs, watch } from 'vue' | 9 | +import { PropType } from 'vue' |
| 10 | import { SizeType, VxeGridInstance } from 'vxe-table' | 10 | import { SizeType, VxeGridInstance } from 'vxe-table' |
| 11 | import { useAppStore } from '@/store/modules/app' | 11 | import { useAppStore } from '@/store/modules/app' |
| 12 | import { useDesign } from '@/hooks/web/useDesign' | 12 | import { useDesign } from '@/hooks/web/useDesign' |
| 13 | import { XTableProps } from './type' | 13 | import { XTableProps } from './type' |
| 14 | import { isBoolean, isFunction } from '@/utils/is' | 14 | import { isBoolean, isFunction } from '@/utils/is' |
| 15 | -import { useMessage } from '@/hooks/web/useMessage' | 15 | + |
| 16 | import download from '@/utils/download' | 16 | import download from '@/utils/download' |
| 17 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 18 | 17 | ||
| 19 | const { t } = useI18n() | 18 | const { t } = useI18n() |
| 20 | const message = useMessage() // 消息弹窗 | 19 | const message = useMessage() // 消息弹窗 |
| @@ -261,6 +260,10 @@ const getToolBarConfig = (options: XTableProps) => { | @@ -261,6 +260,10 @@ const getToolBarConfig = (options: XTableProps) => { | ||
| 261 | } | 260 | } |
| 262 | } else if (!topActionSlots) { | 261 | } else if (!topActionSlots) { |
| 263 | options.toolbarConfig = { | 262 | options.toolbarConfig = { |
| 263 | + enabled: true | ||
| 264 | + } | ||
| 265 | + } else { | ||
| 266 | + options.toolbarConfig = { | ||
| 264 | slots: { buttons: 'toolbar_buttons' } | 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 'qs' | @@ -10,7 +10,7 @@ import qs from 'qs' | ||
| 10 | import { config } from '@/config/axios/config' | 10 | import { config } from '@/config/axios/config' |
| 11 | import { getAccessToken, getRefreshToken, getTenantId, removeToken, setToken } from '@/utils/auth' | 11 | import { getAccessToken, getRefreshToken, getTenantId, removeToken, setToken } from '@/utils/auth' |
| 12 | import errorCode from './errorCode' | 12 | import errorCode from './errorCode' |
| 13 | -import { useI18n } from '@/hooks/web/useI18n' | 13 | + |
| 14 | import { resetRouter } from '@/router' | 14 | import { resetRouter } from '@/router' |
| 15 | import { useCache } from '@/hooks/web/useCache' | 15 | import { useCache } from '@/hooks/web/useCache' |
| 16 | 16 |
yudao-ui-admin-vue3/src/directives/permission/hasPermi.ts
| 1 | import type { App } from 'vue' | 1 | import type { App } from 'vue' |
| 2 | import { CACHE_KEY, useCache } from '@/hooks/web/useCache' | 2 | import { CACHE_KEY, useCache } from '@/hooks/web/useCache' |
| 3 | -import { useI18n } from '@/hooks/web/useI18n' | 3 | + |
| 4 | const { t } = useI18n() // 国际化 | 4 | const { t } = useI18n() // 国际化 |
| 5 | 5 | ||
| 6 | export function hasPermi(app: App<Element>) { | 6 | export function hasPermi(app: App<Element>) { |
yudao-ui-admin-vue3/src/directives/permission/hasRole.ts
| 1 | import type { App } from 'vue' | 1 | import type { App } from 'vue' |
| 2 | import { CACHE_KEY, useCache } from '@/hooks/web/useCache' | 2 | import { CACHE_KEY, useCache } from '@/hooks/web/useCache' |
| 3 | -import { useI18n } from '@/hooks/web/useI18n' | 3 | + |
| 4 | const { t } = useI18n() // 国际化 | 4 | const { t } = useI18n() // 国际化 |
| 5 | 5 | ||
| 6 | export function hasRole(app: App<Element>) { | 6 | export function hasRole(app: App<Element>) { |
yudao-ui-admin-vue3/src/hooks/event/useScrollTo.ts
yudao-ui-admin-vue3/src/hooks/web/useConfigGlobal.ts
| 1 | import { ConfigGlobalTypes } from '@/types/configGlobal' | 1 | import { ConfigGlobalTypes } from '@/types/configGlobal' |
| 2 | -import { inject } from 'vue' | ||
| 3 | 2 | ||
| 4 | export const useConfigGlobal = () => { | 3 | export const useConfigGlobal = () => { |
| 5 | const configGlobal = inject('configGlobal', {}) as ConfigGlobalTypes | 4 | const configGlobal = inject('configGlobal', {}) as ConfigGlobalTypes |
yudao-ui-admin-vue3/src/hooks/web/useCrudSchemas.ts
| @@ -3,7 +3,7 @@ import { AxiosPromise } from 'axios' | @@ -3,7 +3,7 @@ import { AxiosPromise } from 'axios' | ||
| 3 | import { findIndex } from '@/utils' | 3 | import { findIndex } from '@/utils' |
| 4 | import { eachTree, treeMap, filter } from '@/utils/tree' | 4 | import { eachTree, treeMap, filter } from '@/utils/tree' |
| 5 | import { getBoolDictOptions, getDictOptions, getIntDictOptions } from '@/utils/dict' | 5 | import { getBoolDictOptions, getDictOptions, getIntDictOptions } from '@/utils/dict' |
| 6 | -import { useI18n } from '@/hooks/web/useI18n' | 6 | + |
| 7 | import { FormSchema } from '@/types/form' | 7 | import { FormSchema } from '@/types/form' |
| 8 | import { TableColumn } from '@/types/table' | 8 | import { TableColumn } from '@/types/table' |
| 9 | import { DescriptionsSchema } from '@/types/descriptions' | 9 | import { DescriptionsSchema } from '@/types/descriptions' |
yudao-ui-admin-vue3/src/hooks/web/useEmitt.ts
yudao-ui-admin-vue3/src/hooks/web/useForm.ts
| 1 | import type { Form, FormExpose } from '@/components/Form' | 1 | import type { Form, FormExpose } from '@/components/Form' |
| 2 | import type { ElForm } from 'element-plus' | 2 | import type { ElForm } from 'element-plus' |
| 3 | -import { ref, unref, nextTick } from 'vue' | ||
| 4 | import type { FormProps } from '@/components/Form/src/types' | 3 | import type { FormProps } from '@/components/Form/src/types' |
| 5 | import { FormSchema, FormSetPropsType } from '@/types/form' | 4 | import { FormSchema, FormSetPropsType } from '@/types/form' |
| 6 | 5 |
yudao-ui-admin-vue3/src/hooks/web/useIntro.ts
| 1 | import introJs from 'intro.js' | 1 | import introJs from 'intro.js' |
| 2 | import { IntroJs, Step, Options } from 'intro.js' | 2 | import { IntroJs, Step, Options } from 'intro.js' |
| 3 | import 'intro.js/introjs.css' | 3 | import 'intro.js/introjs.css' |
| 4 | -import { useI18n } from '@/hooks/web/useI18n' | 4 | + |
| 5 | import { useDesign } from '@/hooks/web/useDesign' | 5 | import { useDesign } from '@/hooks/web/useDesign' |
| 6 | 6 | ||
| 7 | export const useIntro = (setps?: Step[], options?: Options) => { | 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 | import type { NProgressOptions } from 'nprogress' | 2 | import type { NProgressOptions } from 'nprogress' |
| 3 | import NProgress from 'nprogress' | 3 | import NProgress from 'nprogress' |
| 4 | import 'nprogress/nprogress.css' | 4 | import 'nprogress/nprogress.css' |
| 5 | -import { useCssVar } from '@vueuse/core' | ||
| 6 | 5 | ||
| 7 | const primaryColor = useCssVar('--el-color-primary', document.documentElement) | 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 '@/components/Table' | @@ -3,7 +3,7 @@ import { Table, TableExpose } from '@/components/Table' | ||
| 3 | import { ElMessage, ElMessageBox, ElTable } from 'element-plus' | 3 | import { ElMessage, ElMessageBox, ElTable } from 'element-plus' |
| 4 | import { computed, nextTick, reactive, ref, unref, watch } from 'vue' | 4 | import { computed, nextTick, reactive, ref, unref, watch } from 'vue' |
| 5 | import type { TableProps } from '@/components/Table/src/types' | 5 | import type { TableProps } from '@/components/Table/src/types' |
| 6 | -import { useI18n } from '@/hooks/web/useI18n' | 6 | + |
| 7 | import { TableSetPropsType } from '@/types/table' | 7 | import { TableSetPropsType } from '@/types/table' |
| 8 | 8 | ||
| 9 | const { t } = useI18n() | 9 | const { t } = useI18n() |
yudao-ui-admin-vue3/src/hooks/web/useTimeAgo.ts
| 1 | import { useTimeAgo as useTimeAgoCore, UseTimeAgoMessages } from '@vueuse/core' | 1 | import { useTimeAgo as useTimeAgoCore, UseTimeAgoMessages } from '@vueuse/core' |
| 2 | -import { computed, unref } from 'vue' | ||
| 3 | import { useLocaleStoreWithOut } from '@/store/modules/locale' | 2 | import { useLocaleStoreWithOut } from '@/store/modules/locale' |
| 4 | 3 | ||
| 5 | const TIME_AGO_MESSAGE_MAP: { | 4 | const TIME_AGO_MESSAGE_MAP: { |
yudao-ui-admin-vue3/src/hooks/web/useTitle.ts
| 1 | import { watch, ref } from 'vue' | 1 | import { watch, ref } from 'vue' |
| 2 | import { isString } from '@/utils/is' | 2 | import { isString } from '@/utils/is' |
| 3 | import { useAppStoreWithOut } from '@/store/modules/app' | 3 | import { useAppStoreWithOut } from '@/store/modules/app' |
| 4 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 5 | 4 | ||
| 6 | const appStore = useAppStoreWithOut() | 5 | const appStore = useAppStoreWithOut() |
| 7 | 6 |
yudao-ui-admin-vue3/src/hooks/web/useValidator.ts
yudao-ui-admin-vue3/src/hooks/web/useVxeCrudSchemas.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | import { | 1 | import { |
| 3 | FormItemRenderOptions, | 2 | FormItemRenderOptions, |
| 4 | VxeColumnPropTypes, | 3 | VxeColumnPropTypes, |
| @@ -7,7 +6,7 @@ import { | @@ -7,7 +6,7 @@ import { | ||
| 7 | VxeTableDefines | 6 | VxeTableDefines |
| 8 | } from 'vxe-table' | 7 | } from 'vxe-table' |
| 9 | import { eachTree } from 'xe-utils' | 8 | import { eachTree } from 'xe-utils' |
| 10 | -import { useI18n } from '@/hooks/web/useI18n' | 9 | + |
| 11 | import { getBoolDictOptions, getDictOptions, getIntDictOptions } from '@/utils/dict' | 10 | import { getBoolDictOptions, getDictOptions, getIntDictOptions } from '@/utils/dict' |
| 12 | import { FormSchema } from '@/types/form' | 11 | import { FormSchema } from '@/types/form' |
| 13 | import { VxeTableColumn } from '@/types/table' | 12 | import { VxeTableColumn } from '@/types/table' |
yudao-ui-admin-vue3/src/hooks/web/useVxeGrid.ts
| @@ -2,8 +2,7 @@ import { computed, nextTick, reactive } from 'vue' | @@ -2,8 +2,7 @@ import { computed, nextTick, reactive } from 'vue' | ||
| 2 | import { SizeType, VxeGridProps, VxeTablePropTypes } from 'vxe-table' | 2 | import { SizeType, VxeGridProps, VxeTablePropTypes } from 'vxe-table' |
| 3 | import { useAppStore } from '@/store/modules/app' | 3 | import { useAppStore } from '@/store/modules/app' |
| 4 | import { VxeAllSchemas } from './useVxeCrudSchemas' | 4 | import { VxeAllSchemas } from './useVxeCrudSchemas' |
| 5 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 6 | -import { useMessage } from '@/hooks/web/useMessage' | 5 | + |
| 7 | import download from '@/utils/download' | 6 | import download from '@/utils/download' |
| 8 | 7 | ||
| 9 | const { t } = useI18n() | 8 | const { t } = useI18n() |
yudao-ui-admin-vue3/src/hooks/web/useXTable.ts
yudao-ui-admin-vue3/src/layout/components/AppView.vue
| @@ -2,7 +2,6 @@ | @@ -2,7 +2,6 @@ | ||
| 2 | import { useTagsViewStore } from '@/store/modules/tagsView' | 2 | import { useTagsViewStore } from '@/store/modules/tagsView' |
| 3 | import { useAppStore } from '@/store/modules/app' | 3 | import { useAppStore } from '@/store/modules/app' |
| 4 | import { Footer } from '@/layout/components/Footer' | 4 | import { Footer } from '@/layout/components/Footer' |
| 5 | -import { computed } from 'vue' | ||
| 6 | 5 | ||
| 7 | const appStore = useAppStore() | 6 | const appStore = useAppStore() |
| 8 | 7 |
yudao-ui-admin-vue3/src/layout/components/Breadcrumb/src/Breadcrumb.vue
| @@ -6,7 +6,7 @@ import { usePermissionStore } from '@/store/modules/permission' | @@ -6,7 +6,7 @@ import { usePermissionStore } from '@/store/modules/permission' | ||
| 6 | import { filterBreadcrumb } from './helper' | 6 | import { filterBreadcrumb } from './helper' |
| 7 | import { filter, treeToList } from '@/utils/tree' | 7 | import { filter, treeToList } from '@/utils/tree' |
| 8 | import type { RouteLocationNormalizedLoaded, RouteMeta } from 'vue-router' | 8 | import type { RouteLocationNormalizedLoaded, RouteMeta } from 'vue-router' |
| 9 | -import { useI18n } from '@/hooks/web/useI18n' | 9 | + |
| 10 | import { Icon } from '@/components/Icon' | 10 | import { Icon } from '@/components/Icon' |
| 11 | import { useAppStore } from '@/store/modules/app' | 11 | import { useAppStore } from '@/store/modules/app' |
| 12 | import { useDesign } from '@/hooks/web/useDesign' | 12 | import { useDesign } from '@/hooks/web/useDesign' |
yudao-ui-admin-vue3/src/layout/components/Collapse/src/Collapse.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | -import { computed, unref } from 'vue' | ||
| 3 | import { useAppStore } from '@/store/modules/app' | 2 | import { useAppStore } from '@/store/modules/app' |
| 4 | import { propTypes } from '@/utils/propTypes' | 3 | import { propTypes } from '@/utils/propTypes' |
| 5 | import { useDesign } from '@/hooks/web/useDesign' | 4 | import { useDesign } from '@/hooks/web/useDesign' |
yudao-ui-admin-vue3/src/layout/components/ContextMenu/src/ContextMenu.vue
| 1 | <script setup lang="ts"> | 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 | import { useDesign } from '@/hooks/web/useDesign' | 4 | import { useDesign } from '@/hooks/web/useDesign' |
| 6 | import type { RouteLocationNormalizedLoaded } from 'vue-router' | 5 | import type { RouteLocationNormalizedLoaded } from 'vue-router' |
| 7 | import { contextMenuSchema } from '@/types/contextMenu' | 6 | import { contextMenuSchema } from '@/types/contextMenu' |
| 7 | +import type { ElDropdown } from 'element-plus' | ||
| 8 | 8 | ||
| 9 | const { getPrefixCls } = useDesign() | 9 | const { getPrefixCls } = useDesign() |
| 10 | 10 |
yudao-ui-admin-vue3/src/layout/components/Footer/src/Footer.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | import { useAppStore } from '@/store/modules/app' | 2 | import { useAppStore } from '@/store/modules/app' |
| 3 | -import { computed } from 'vue' | ||
| 4 | import { useDesign } from '@/hooks/web/useDesign' | 3 | import { useDesign } from '@/hooks/web/useDesign' |
| 5 | 4 | ||
| 6 | const { getPrefixCls } = useDesign() | 5 | const { getPrefixCls } = useDesign() |
yudao-ui-admin-vue3/src/layout/components/LocaleDropdown/src/LocaleDropdown.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | -import { computed, unref } from 'vue' | ||
| 3 | -import { ElDropdown, ElDropdownMenu, ElDropdownItem } from 'element-plus' | ||
| 4 | import { useLocaleStore } from '@/store/modules/locale' | 2 | import { useLocaleStore } from '@/store/modules/locale' |
| 5 | import { useLocale } from '@/hooks/web/useLocale' | 3 | import { useLocale } from '@/hooks/web/useLocale' |
| 6 | import { propTypes } from '@/utils/propTypes' | 4 | import { propTypes } from '@/utils/propTypes' |
yudao-ui-admin-vue3/src/layout/components/Menu/src/Menu.vue
| 1 | <script lang="tsx"> | 1 | <script lang="tsx"> |
| 2 | -import { computed, defineComponent, unref, PropType } from 'vue' | 2 | +import { PropType } from 'vue' |
| 3 | import { ElMenu, ElScrollbar } from 'element-plus' | 3 | import { ElMenu, ElScrollbar } from 'element-plus' |
| 4 | import { useAppStore } from '@/store/modules/app' | 4 | import { useAppStore } from '@/store/modules/app' |
| 5 | import { usePermissionStore } from '@/store/modules/permission' | 5 | import { usePermissionStore } from '@/store/modules/permission' |
| 6 | import { useRenderMenuItem } from './components/useRenderMenuItem' | 6 | import { useRenderMenuItem } from './components/useRenderMenuItem' |
| 7 | -import { useRouter } from 'vue-router' | ||
| 8 | import { isUrl } from '@/utils/is' | 7 | import { isUrl } from '@/utils/is' |
| 9 | import { useDesign } from '@/hooks/web/useDesign' | 8 | import { useDesign } from '@/hooks/web/useDesign' |
| 10 | import { LayoutType } from '@/types/layout' | 9 | import { LayoutType } from '@/types/layout' |
yudao-ui-admin-vue3/src/layout/components/Menu/src/components/useRenderMenuTitle.tsx
| 1 | import type { RouteMeta } from 'vue-router' | 1 | import type { RouteMeta } from 'vue-router' |
| 2 | import { Icon } from '@/components/Icon' | 2 | import { Icon } from '@/components/Icon' |
| 3 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 4 | 3 | ||
| 5 | export const useRenderMenuTitle = () => { | 4 | export const useRenderMenuTitle = () => { |
| 6 | const renderMenuTitle = (meta: RouteMeta) => { | 5 | const renderMenuTitle = (meta: RouteMeta) => { |
yudao-ui-admin-vue3/src/layout/components/Menu/src/helper.ts
| 1 | import type { RouteMeta } from 'vue-router' | 1 | import type { RouteMeta } from 'vue-router' |
| 2 | -import { ref, unref } from 'vue' | ||
| 3 | import { findPath } from '@/utils/tree' | 2 | import { findPath } from '@/utils/tree' |
| 4 | 3 | ||
| 5 | type OnlyOneChildType = AppRouteRecordRaw & { noShowingChildren?: boolean } | 4 | type OnlyOneChildType = AppRouteRecordRaw & { noShowingChildren?: boolean } |
yudao-ui-admin-vue3/src/layout/components/Message/src/Message.vue
yudao-ui-admin-vue3/src/layout/components/Setting/src/Setting.vue
| 1 | <script setup lang="ts"> | 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 | import { useCssVar, useClipboard } from '@vueuse/core' | 3 | import { useCssVar, useClipboard } from '@vueuse/core' |
| 5 | -import { useI18n } from '@/hooks/web/useI18n' | 4 | + |
| 6 | import { CACHE_KEY, useCache } from '@/hooks/web/useCache' | 5 | import { CACHE_KEY, useCache } from '@/hooks/web/useCache' |
| 7 | import { useDesign } from '@/hooks/web/useDesign' | 6 | import { useDesign } from '@/hooks/web/useDesign' |
| 8 | 7 |
yudao-ui-admin-vue3/src/layout/components/Setting/src/components/ColorRadioPicker.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | -import { PropType, watch, unref, ref } from 'vue' | 2 | +import { PropType } from 'vue' |
| 3 | import { propTypes } from '@/utils/propTypes' | 3 | import { propTypes } from '@/utils/propTypes' |
| 4 | import { useDesign } from '@/hooks/web/useDesign' | 4 | import { useDesign } from '@/hooks/web/useDesign' |
| 5 | 5 |
yudao-ui-admin-vue3/src/layout/components/Setting/src/components/InterfaceDisplay.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | -import { computed, ref, watch } from 'vue' | ||
| 3 | -import { ElSwitch, ElInput } from 'element-plus' | ||
| 4 | import { setCssVar } from '@/utils' | 2 | import { setCssVar } from '@/utils' |
| 5 | -import { useI18n } from '@/hooks/web/useI18n' | 3 | + |
| 6 | import { useDesign } from '@/hooks/web/useDesign' | 4 | import { useDesign } from '@/hooks/web/useDesign' |
| 7 | import { useWatermark } from '@/hooks/web/useWatermark' | 5 | import { useWatermark } from '@/hooks/web/useWatermark' |
| 8 | import { useAppStore } from '@/store/modules/app' | 6 | import { useAppStore } from '@/store/modules/app' |
yudao-ui-admin-vue3/src/layout/components/Setting/src/components/LayoutRadioPicker.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | import { useAppStore } from '@/store/modules/app' | 2 | import { useAppStore } from '@/store/modules/app' |
| 3 | -import { computed } from 'vue' | ||
| 4 | import { useDesign } from '@/hooks/web/useDesign' | 3 | import { useDesign } from '@/hooks/web/useDesign' |
| 5 | 4 | ||
| 6 | const { getPrefixCls } = useDesign() | 5 | const { getPrefixCls } = useDesign() |
yudao-ui-admin-vue3/src/layout/components/SizeDropdown/src/SizeDropdown.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | -import { computed } from 'vue' | ||
| 3 | -import { ElDropdown, ElDropdownMenu, ElDropdownItem } from 'element-plus' | ||
| 4 | import { useAppStore } from '@/store/modules/app' | 2 | import { useAppStore } from '@/store/modules/app' |
| 5 | -import { useI18n } from '@/hooks/web/useI18n' | 3 | + |
| 6 | import { propTypes } from '@/utils/propTypes' | 4 | import { propTypes } from '@/utils/propTypes' |
| 7 | import { useDesign } from '@/hooks/web/useDesign' | 5 | import { useDesign } from '@/hooks/web/useDesign' |
| 8 | import { ElementPlusSize } from '@/types/elementPlus' | 6 | import { ElementPlusSize } from '@/types/elementPlus' |
yudao-ui-admin-vue3/src/layout/components/TabMenu/src/TabMenu.vue
| 1 | <script lang="tsx"> | 1 | <script lang="tsx"> |
| 2 | import { usePermissionStore } from '@/store/modules/permission' | 2 | import { usePermissionStore } from '@/store/modules/permission' |
| 3 | import { useAppStore } from '@/store/modules/app' | 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 | import { ElScrollbar } from 'element-plus' | 5 | import { ElScrollbar } from 'element-plus' |
| 7 | import { Icon } from '@/components/Icon' | 6 | import { Icon } from '@/components/Icon' |
| 8 | import { Menu } from '@/layout/components/Menu' | 7 | import { Menu } from '@/layout/components/Menu' |
| 9 | -import { useRouter } from 'vue-router' | ||
| 10 | import { pathResolve } from '@/utils/routerHelper' | 8 | import { pathResolve } from '@/utils/routerHelper' |
| 11 | import { cloneDeep } from 'lodash-es' | 9 | import { cloneDeep } from 'lodash-es' |
| 12 | import { filterMenusPath, initTabMap, tabPathMap } from './helper' | 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 '@/layout/components/Menu/src/helper' | @@ -2,7 +2,6 @@ import { getAllParentPath } from '@/layout/components/Menu/src/helper' | ||
| 2 | import type { RouteMeta } from 'vue-router' | 2 | import type { RouteMeta } from 'vue-router' |
| 3 | import { isUrl } from '@/utils/is' | 3 | import { isUrl } from '@/utils/is' |
| 4 | import { cloneDeep } from 'lodash-es' | 4 | import { cloneDeep } from 'lodash-es' |
| 5 | -import { reactive } from 'vue' | ||
| 6 | 5 | ||
| 7 | export type TabMapTypes = { | 6 | export type TabMapTypes = { |
| 8 | [key: string]: string[] | 7 | [key: string]: string[] |
yudao-ui-admin-vue3/src/layout/components/TagsView/src/TagsView.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | -import { onMounted, watch, computed, unref, ref, nextTick } from 'vue' | ||
| 3 | -import { useRouter } from 'vue-router' | ||
| 4 | import type { RouteLocationNormalizedLoaded, RouterLinkProps } from 'vue-router' | 2 | import type { RouteLocationNormalizedLoaded, RouterLinkProps } from 'vue-router' |
| 5 | import { usePermissionStore } from '@/store/modules/permission' | 3 | import { usePermissionStore } from '@/store/modules/permission' |
| 6 | import { useTagsViewStore } from '@/store/modules/tagsView' | 4 | import { useTagsViewStore } from '@/store/modules/tagsView' |
| 7 | import { useAppStore } from '@/store/modules/app' | 5 | import { useAppStore } from '@/store/modules/app' |
| 8 | -import { useI18n } from '@/hooks/web/useI18n' | 6 | + |
| 9 | import { filterAffixTags } from './helper' | 7 | import { filterAffixTags } from './helper' |
| 10 | import { ContextMenu, ContextMenuExpose } from '@/layout/components/ContextMenu' | 8 | import { ContextMenu, ContextMenuExpose } from '@/layout/components/ContextMenu' |
| 11 | import { useDesign } from '@/hooks/web/useDesign' | 9 | import { useDesign } from '@/hooks/web/useDesign' |
| 12 | -import { useTemplateRefsList } from '@vueuse/core' | ||
| 13 | import { ElScrollbar } from 'element-plus' | 10 | import { ElScrollbar } from 'element-plus' |
| 14 | import { useScrollTo } from '@/hooks/event/useScrollTo' | 11 | import { useScrollTo } from '@/hooks/event/useScrollTo' |
| 12 | +import { useTemplateRefsList } from '@vueuse/core' | ||
| 15 | 13 | ||
| 16 | const { getPrefixCls } = useDesign() | 14 | const { getPrefixCls } = useDesign() |
| 17 | 15 |
yudao-ui-admin-vue3/src/layout/components/ThemeSwitch/src/ThemeSwitch.vue
| 1 | <script setup lang="ts"> | 1 | <script setup lang="ts"> |
| 2 | -import { ref } from 'vue' | ||
| 3 | import { useAppStore } from '@/store/modules/app' | 2 | import { useAppStore } from '@/store/modules/app' |
| 4 | -import { ElSwitch } from 'element-plus' | ||
| 5 | import { useIcon } from '@/hooks/web/useIcon' | 3 | import { useIcon } from '@/hooks/web/useIcon' |
| 6 | import { useDesign } from '@/hooks/web/useDesign' | 4 | import { useDesign } from '@/hooks/web/useDesign' |
| 7 | 5 |
yudao-ui-admin-vue3/src/layout/components/UserInfo/src/UserInfo.vue
| 1 | <script setup lang="ts"> | 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 | import { CACHE_KEY, useCache } from '@/hooks/web/useCache' | 4 | import { CACHE_KEY, useCache } from '@/hooks/web/useCache' |
| 5 | -import { useRouter } from 'vue-router' | ||
| 6 | import { useDesign } from '@/hooks/web/useDesign' | 5 | import { useDesign } from '@/hooks/web/useDesign' |
| 7 | import avatarImg from '@/assets/imgs/avatar.gif' | 6 | import avatarImg from '@/assets/imgs/avatar.gif' |
| 8 | import { useUserStore } from '@/store/modules/user' | 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 | import XEUtils from 'xe-utils' | 2 | import XEUtils from 'xe-utils' |
| 3 | import './renderer' | 3 | import './renderer' |
| 4 | +import 'vxe-table/lib/style.css' | ||
| 4 | import { i18n } from '@/plugins/vueI18n' | 5 | import { i18n } from '@/plugins/vueI18n' |
| 5 | import zhCN from 'vxe-table/lib/locale/lang/zh-CN' | 6 | import zhCN from 'vxe-table/lib/locale/lang/zh-CN' |
| 6 | import enUS from 'vxe-table/lib/locale/lang/en-US' | 7 | import enUS from 'vxe-table/lib/locale/lang/en-US' |
yudao-ui-admin-vue3/src/plugins/vxeTable/renderer/dataTimeRangePicker.tsx
yudao-ui-admin-vue3/src/router/modules/remaining.ts
| 1 | import { Layout } from '@/utils/routerHelper' | 1 | import { Layout } from '@/utils/routerHelper' |
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | 2 | + |
| 3 | const { t } = useI18n() | 3 | const { t } = useI18n() |
| 4 | /** | 4 | /** |
| 5 | * redirect: noredirect 当设置 noredirect 的时候该路由在面包屑导航中不可被点击 | 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
yudao-ui-admin-vue3/src/utils/index.ts
yudao-ui-admin-vue3/src/views/Error/403.vue
| @@ -2,9 +2,6 @@ | @@ -2,9 +2,6 @@ | ||
| 2 | <Error type="403" @error-click="errorClick()" /> | 2 | <Error type="403" @error-click="errorClick()" /> |
| 3 | </template> | 3 | </template> |
| 4 | <script setup lang="ts"> | 4 | <script setup lang="ts"> |
| 5 | -import { Error } from '@/components/Error' | ||
| 6 | -import { useRouter } from 'vue-router' | ||
| 7 | - | ||
| 8 | const { push } = useRouter() | 5 | const { push } = useRouter() |
| 9 | 6 | ||
| 10 | const errorClick = () => { | 7 | const errorClick = () => { |
yudao-ui-admin-vue3/src/views/Error/404.vue
| @@ -2,9 +2,6 @@ | @@ -2,9 +2,6 @@ | ||
| 2 | <Error @error-click="errorClick()" /> | 2 | <Error @error-click="errorClick()" /> |
| 3 | </template> | 3 | </template> |
| 4 | <script setup lang="ts"> | 4 | <script setup lang="ts"> |
| 5 | -import { Error } from '@/components/Error' | ||
| 6 | -import { useRouter } from 'vue-router' | ||
| 7 | - | ||
| 8 | const { push } = useRouter() | 5 | const { push } = useRouter() |
| 9 | 6 | ||
| 10 | const errorClick = () => { | 7 | const errorClick = () => { |
yudao-ui-admin-vue3/src/views/Error/500.vue
| @@ -2,9 +2,6 @@ | @@ -2,9 +2,6 @@ | ||
| 2 | <Error type="500" @error-click="errorClick()" /> | 2 | <Error type="500" @error-click="errorClick()" /> |
| 3 | </template> | 3 | </template> |
| 4 | <script setup lang="ts"> | 4 | <script setup lang="ts"> |
| 5 | -import { Error } from '@/components/Error' | ||
| 6 | -import { useRouter } from 'vue-router' | ||
| 7 | - | ||
| 8 | const { push } = useRouter() | 5 | const { push } = useRouter() |
| 9 | 6 | ||
| 10 | const errorClick = () => { | 7 | const errorClick = () => { |
yudao-ui-admin-vue3/src/views/Home/Index.vue
| @@ -161,17 +161,12 @@ | @@ -161,17 +161,12 @@ | ||
| 161 | </el-row> | 161 | </el-row> |
| 162 | </template> | 162 | </template> |
| 163 | <script setup lang="ts" name="Home"> | 163 | <script setup lang="ts" name="Home"> |
| 164 | -import { ref, reactive } from 'vue' | ||
| 165 | import { set } from 'lodash-es' | 164 | import { set } from 'lodash-es' |
| 166 | import { EChartsOption } from 'echarts' | 165 | import { EChartsOption } from 'echarts' |
| 167 | -import { ElRow, ElCol, ElSkeleton, ElCard, ElDivider, ElLink } from 'element-plus' | ||
| 168 | import { formatTime } from '@/utils' | 166 | import { formatTime } from '@/utils' |
| 169 | -import { useI18n } from '@/hooks/web/useI18n' | 167 | + |
| 170 | import { useUserStore } from '@/store/modules/user' | 168 | import { useUserStore } from '@/store/modules/user' |
| 171 | import { useWatermark } from '@/hooks/web/useWatermark' | 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 | import avatarImg from '@/assets/imgs/avatar.gif' | 170 | import avatarImg from '@/assets/imgs/avatar.gif' |
| 176 | import type { WorkplaceTotal, Project, Notice, Shortcut } from './types' | 171 | import type { WorkplaceTotal, Project, Notice, Shortcut } from './types' |
| 177 | import { pieOptions, barOptions } from './echarts-data' | 172 | import { pieOptions, barOptions } from './echarts-data' |
yudao-ui-admin-vue3/src/views/Home/Index2.vue
| @@ -141,14 +141,10 @@ | @@ -141,14 +141,10 @@ | ||
| 141 | </el-row> | 141 | </el-row> |
| 142 | </template> | 142 | </template> |
| 143 | <script setup lang="ts"> | 143 | <script setup lang="ts"> |
| 144 | -import { ref, reactive } from 'vue' | ||
| 145 | import { set } from 'lodash-es' | 144 | import { set } from 'lodash-es' |
| 146 | import { EChartsOption } from 'echarts' | 145 | import { EChartsOption } from 'echarts' |
| 147 | -import { ElRow, ElCol, ElCard, ElSkeleton } from 'element-plus' | ||
| 148 | -import { useI18n } from '@/hooks/web/useI18n' | 146 | + |
| 149 | import { useDesign } from '@/hooks/web/useDesign' | 147 | import { useDesign } from '@/hooks/web/useDesign' |
| 150 | -import { Echart } from '@/components/Echart' | ||
| 151 | -import { CountTo } from '@/components/CountTo' | ||
| 152 | import type { AnalysisTotalTypes } from './types' | 148 | import type { AnalysisTotalTypes } from './types' |
| 153 | import { pieOptions, barOptions, lineOptions } from './echarts-data' | 149 | import { pieOptions, barOptions, lineOptions } from './echarts-data' |
| 154 | 150 |
yudao-ui-admin-vue3/src/views/Home/echarts-data.ts
yudao-ui-admin-vue3/src/views/Login/Login.vue
| @@ -60,7 +60,7 @@ | @@ -60,7 +60,7 @@ | ||
| 60 | </template> | 60 | </template> |
| 61 | <script setup lang="ts"> | 61 | <script setup lang="ts"> |
| 62 | import { underlineToHump } from '@/utils' | 62 | import { underlineToHump } from '@/utils' |
| 63 | -import { useI18n } from '@/hooks/web/useI18n' | 63 | + |
| 64 | import { useDesign } from '@/hooks/web/useDesign' | 64 | import { useDesign } from '@/hooks/web/useDesign' |
| 65 | import { useAppStore } from '@/store/modules/app' | 65 | import { useAppStore } from '@/store/modules/app' |
| 66 | import { ThemeSwitch } from '@/layout/components/ThemeSwitch' | 66 | import { ThemeSwitch } from '@/layout/components/ThemeSwitch' |
yudao-ui-admin-vue3/src/views/Login/components/LoginForm.vue
| @@ -128,27 +128,13 @@ | @@ -128,27 +128,13 @@ | ||
| 128 | </el-form> | 128 | </el-form> |
| 129 | </template> | 129 | </template> |
| 130 | <script setup lang="ts"> | 130 | <script setup lang="ts"> |
| 131 | -import { reactive, ref, unref, onMounted, computed, watch } from 'vue' | 131 | +import { ElLoading } from 'element-plus' |
| 132 | import LoginFormTitle from './LoginFormTitle.vue' | 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 | import type { RouteLocationNormalizedLoaded } from 'vue-router' | 133 | import type { RouteLocationNormalizedLoaded } from 'vue-router' |
| 146 | -import { useI18n } from '@/hooks/web/useI18n' | 134 | + |
| 147 | import { useIcon } from '@/hooks/web/useIcon' | 135 | import { useIcon } from '@/hooks/web/useIcon' |
| 148 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 149 | -import { required } from '@/utils/formRules' | 136 | + |
| 150 | import * as authUtil from '@/utils/auth' | 137 | import * as authUtil from '@/utils/auth' |
| 151 | -import { Verify } from '@/components/Verifition' | ||
| 152 | import { usePermissionStore } from '@/store/modules/permission' | 138 | import { usePermissionStore } from '@/store/modules/permission' |
| 153 | import * as LoginApi from '@/api/login' | 139 | import * as LoginApi from '@/api/login' |
| 154 | import { LoginStateEnum, useLoginState, useFormValid } from './useLogin' | 140 | import { LoginStateEnum, useLoginState, useFormValid } from './useLogin' |
yudao-ui-admin-vue3/src/views/Login/components/LoginFormTitle.vue
| @@ -4,8 +4,6 @@ | @@ -4,8 +4,6 @@ | ||
| 4 | </h2> | 4 | </h2> |
| 5 | </template> | 5 | </template> |
| 6 | <script setup lang="ts"> | 6 | <script setup lang="ts"> |
| 7 | -import { computed, unref } from 'vue' | ||
| 8 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 9 | import { LoginStateEnum, useLoginState } from './useLogin' | 7 | import { LoginStateEnum, useLoginState } from './useLogin' |
| 10 | 8 | ||
| 11 | const { t } = useI18n() | 9 | const { t } = useI18n() |
yudao-ui-admin-vue3/src/views/Login/components/MobileForm.vue
| @@ -92,14 +92,10 @@ | @@ -92,14 +92,10 @@ | ||
| 92 | </el-form> | 92 | </el-form> |
| 93 | </template> | 93 | </template> |
| 94 | <script setup lang="ts"> | 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 | import type { RouteLocationNormalizedLoaded } from 'vue-router' | 95 | import type { RouteLocationNormalizedLoaded } from 'vue-router' |
| 99 | -import { useI18n } from '@/hooks/web/useI18n' | 96 | + |
| 100 | import { useIcon } from '@/hooks/web/useIcon' | 97 | import { useIcon } from '@/hooks/web/useIcon' |
| 101 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 102 | -import { required } from '@/utils/formRules' | 98 | + |
| 103 | import { setTenantId, setToken } from '@/utils/auth' | 99 | import { setTenantId, setToken } from '@/utils/auth' |
| 104 | import { usePermissionStore } from '@/store/modules/permission' | 100 | import { usePermissionStore } from '@/store/modules/permission' |
| 105 | import { getTenantIdByNameApi, sendSmsCodeApi, smsLoginApi } from '@/api/login' | 101 | import { getTenantIdByNameApi, sendSmsCodeApi, smsLoginApi } from '@/api/login' |
yudao-ui-admin-vue3/src/views/Login/components/QrCodeForm.vue
| @@ -17,11 +17,8 @@ | @@ -17,11 +17,8 @@ | ||
| 17 | </el-row> | 17 | </el-row> |
| 18 | </template> | 18 | </template> |
| 19 | <script setup lang="ts"> | 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 | import logoImg from '@/assets/imgs/logo.png' | 20 | import logoImg from '@/assets/imgs/logo.png' |
| 24 | -import { useI18n } from '@/hooks/web/useI18n' | 21 | + |
| 25 | import LoginFormTitle from './LoginFormTitle.vue' | 22 | import LoginFormTitle from './LoginFormTitle.vue' |
| 26 | import { useLoginState, LoginStateEnum } from './useLogin' | 23 | import { useLoginState, LoginStateEnum } from './useLogin' |
| 27 | 24 |
yudao-ui-admin-vue3/src/views/Login/components/RegisterForm.vue
| @@ -36,10 +36,8 @@ | @@ -36,10 +36,8 @@ | ||
| 36 | </Form> | 36 | </Form> |
| 37 | </template> | 37 | </template> |
| 38 | <script setup lang="ts"> | 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 | import { useForm } from '@/hooks/web/useForm' | 41 | import { useForm } from '@/hooks/web/useForm' |
| 44 | import { useValidator } from '@/hooks/web/useValidator' | 42 | import { useValidator } from '@/hooks/web/useValidator' |
| 45 | import LoginFormTitle from './LoginFormTitle.vue' | 43 | import LoginFormTitle from './LoginFormTitle.vue' |
yudao-ui-admin-vue3/src/views/Login/components/useLogin.ts
yudao-ui-admin-vue3/src/views/Profile/Index.vue
| @@ -31,9 +31,6 @@ | @@ -31,9 +31,6 @@ | ||
| 31 | </div> | 31 | </div> |
| 32 | </template> | 32 | </template> |
| 33 | <script setup lang="ts" name="Profile"> | 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 | import { BasicInfo, ProfileUser, ResetPwd, UserSocial } from './components/' | 34 | import { BasicInfo, ProfileUser, ResetPwd, UserSocial } from './components/' |
| 38 | const { t } = useI18n() | 35 | const { t } = useI18n() |
| 39 | 36 |
yudao-ui-admin-vue3/src/views/Profile/components/BasicInfo.vue
| @@ -11,12 +11,11 @@ | @@ -11,12 +11,11 @@ | ||
| 11 | <XButton type="danger" :title="t('common.reset')" @click="init()" /> | 11 | <XButton type="danger" :title="t('common.reset')" @click="init()" /> |
| 12 | </template> | 12 | </template> |
| 13 | <script setup lang="ts"> | 13 | <script setup lang="ts"> |
| 14 | -import { reactive, onMounted, unref, ref } from 'vue' | ||
| 15 | import type { FormRules } from 'element-plus' | 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 | import { FormSchema } from '@/types/form' | 17 | import { FormSchema } from '@/types/form' |
| 19 | -import { FormExpose } from '@/components/Form' | 18 | +import type { FormExpose } from '@/components/Form' |
| 20 | import { | 19 | import { |
| 21 | getUserProfileApi, | 20 | getUserProfileApi, |
| 22 | updateUserProfileApi, | 21 | updateUserProfileApi, |
yudao-ui-admin-vue3/src/views/Profile/components/ProfileUser.vue
| @@ -40,10 +40,9 @@ | @@ -40,10 +40,9 @@ | ||
| 40 | </div> | 40 | </div> |
| 41 | </template> | 41 | </template> |
| 42 | <script setup lang="ts"> | 42 | <script setup lang="ts"> |
| 43 | -import { onMounted, ref } from 'vue' | ||
| 44 | import dayjs from 'dayjs' | 43 | import dayjs from 'dayjs' |
| 45 | import UserAvatar from './UserAvatar.vue' | 44 | import UserAvatar from './UserAvatar.vue' |
| 46 | -import { useI18n } from '@/hooks/web/useI18n' | 45 | + |
| 47 | import { getUserProfileApi, ProfileVO } from '@/api/system/user/profile' | 46 | import { getUserProfileApi, ProfileVO } from '@/api/system/user/profile' |
| 48 | 47 | ||
| 49 | const { t } = useI18n() | 48 | const { t } = useI18n() |
yudao-ui-admin-vue3/src/views/Profile/components/ResetPwd.vue
| @@ -16,14 +16,13 @@ | @@ -16,14 +16,13 @@ | ||
| 16 | </el-form> | 16 | </el-form> |
| 17 | </template> | 17 | </template> |
| 18 | <script setup lang="ts"> | 18 | <script setup lang="ts"> |
| 19 | -import { ref, reactive } from 'vue' | ||
| 20 | -import { ElForm, ElFormItem, ElMessage } from 'element-plus' | ||
| 21 | import type { FormRules, FormInstance } from 'element-plus' | 19 | import type { FormRules, FormInstance } from 'element-plus' |
| 22 | -import { useI18n } from '@/hooks/web/useI18n' | 20 | + |
| 23 | import { InputPassword } from '@/components/InputPassword' | 21 | import { InputPassword } from '@/components/InputPassword' |
| 24 | import { updateUserPwdApi } from '@/api/system/user/profile' | 22 | import { updateUserPwdApi } from '@/api/system/user/profile' |
| 25 | 23 | ||
| 26 | const { t } = useI18n() | 24 | const { t } = useI18n() |
| 25 | +const message = useMessage() | ||
| 27 | const formRef = ref<FormInstance>() | 26 | const formRef = ref<FormInstance>() |
| 28 | const password = reactive({ | 27 | const password = reactive({ |
| 29 | oldPassword: '', | 28 | oldPassword: '', |
| @@ -58,7 +57,7 @@ const submit = (formEl: FormInstance | undefined) => { | @@ -58,7 +57,7 @@ const submit = (formEl: FormInstance | undefined) => { | ||
| 58 | formEl.validate(async (valid) => { | 57 | formEl.validate(async (valid) => { |
| 59 | if (valid) { | 58 | if (valid) { |
| 60 | await updateUserPwdApi(password.oldPassword, password.newPassword) | 59 | await updateUserPwdApi(password.oldPassword, password.newPassword) |
| 61 | - ElMessage.success(t('common.updateSuccess')) | 60 | + message.success(t('common.updateSuccess')) |
| 62 | } | 61 | } |
| 63 | }) | 62 | }) |
| 64 | } | 63 | } |
yudao-ui-admin-vue3/src/views/Profile/components/UserAvatar.vue
| @@ -11,9 +11,7 @@ | @@ -11,9 +11,7 @@ | ||
| 11 | </div> | 11 | </div> |
| 12 | </template> | 12 | </template> |
| 13 | <script setup lang="ts"> | 13 | <script setup lang="ts"> |
| 14 | -import { computed, ref } from 'vue' | ||
| 15 | import { propTypes } from '@/utils/propTypes' | 14 | import { propTypes } from '@/utils/propTypes' |
| 16 | -import { CropperAvatar } from '@/components/Cropper' | ||
| 17 | import { uploadAvatarApi } from '@/api/system/user/profile' | 15 | import { uploadAvatarApi } from '@/api/system/user/profile' |
| 18 | const props = defineProps({ | 16 | const props = defineProps({ |
| 19 | img: propTypes.string.def('') | 17 | img: propTypes.string.def('') |
yudao-ui-admin-vue3/src/views/Profile/components/UserSocial.vue
| @@ -22,9 +22,6 @@ | @@ -22,9 +22,6 @@ | ||
| 22 | </el-table> | 22 | </el-table> |
| 23 | </template> | 23 | </template> |
| 24 | <script setup lang="ts"> | 24 | <script setup lang="ts"> |
| 25 | -import { onMounted, ref } from 'vue' | ||
| 26 | -import { ElTable, ElTableColumn } from 'element-plus' | ||
| 27 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 28 | import { SystemUserSocialTypeEnum } from '@/utils/constants' | 25 | import { SystemUserSocialTypeEnum } from '@/utils/constants' |
| 29 | import { getUserProfileApi, ProfileVO } from '@/api/system/user/profile' | 26 | import { getUserProfileApi, ProfileVO } from '@/api/system/user/profile' |
| 30 | import { socialAuthRedirect, socialUnbind } from '@/api/system/user/socialUser' | 27 | import { socialAuthRedirect, socialUnbind } from '@/api/system/user/socialUser' |
yudao-ui-admin-vue3/src/views/Redirect/Redirect.vue
| @@ -2,9 +2,6 @@ | @@ -2,9 +2,6 @@ | ||
| 2 | <div></div> | 2 | <div></div> |
| 3 | </template> | 3 | </template> |
| 4 | <script setup lang="ts" name="Redirect"> | 4 | <script setup lang="ts" name="Redirect"> |
| 5 | -import { unref } from 'vue' | ||
| 6 | -import { useRouter } from 'vue-router' | ||
| 7 | - | ||
| 8 | const { currentRoute, replace } = useRouter() | 5 | const { currentRoute, replace } = useRouter() |
| 9 | const { params, query } = unref(currentRoute) | 6 | const { params, query } = unref(currentRoute) |
| 10 | const { path, _redirect_type = 'path' } = params | 7 | const { path, _redirect_type = 'path' } = params |
yudao-ui-admin-vue3/src/views/bpm/form/form.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | -import { required } from '@/utils/formRules' | ||
| 4 | import { CrudSchema, useCrudSchemas } from '@/hooks/web/useCrudSchemas' | 1 | import { CrudSchema, useCrudSchemas } from '@/hooks/web/useCrudSchemas' |
| 5 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 6 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 7 | 3 | ||
| 8 | // 表单校验 | 4 | // 表单校验 |
yudao-ui-admin-vue3/src/views/bpm/form/index.vue
| 1 | <script setup lang="ts" name="Form"> | 1 | <script setup lang="ts" name="Form"> |
| 2 | -import { ref, unref } from 'vue' | ||
| 3 | import dayjs from 'dayjs' | 2 | import dayjs from 'dayjs' |
| 4 | -import { ElMessage } from 'element-plus' | ||
| 5 | import { DICT_TYPE } from '@/utils/dict' | 3 | import { DICT_TYPE } from '@/utils/dict' |
| 6 | -import { useTable } from '@/hooks/web/useTable' | ||
| 7 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 8 | -import { FormExpose } from '@/components/Form' | 4 | +import type { FormExpose } from '@/components/Form' |
| 9 | import type { FormVO } from '@/api/bpm/form/types' | 5 | import type { FormVO } from '@/api/bpm/form/types' |
| 10 | import { rules, allSchemas } from './form.data' | 6 | import { rules, allSchemas } from './form.data' |
| 11 | import * as FormApi from '@/api/bpm/form' | 7 | import * as FormApi from '@/api/bpm/form' |
| 8 | +import { useTable } from '@/hooks/web/useTable' | ||
| 12 | const { t } = useI18n() // 国际化 | 9 | const { t } = useI18n() // 国际化 |
| 10 | +const message = useMessage() | ||
| 13 | 11 | ||
| 14 | // ========== 列表相关 ========== | 12 | // ========== 列表相关 ========== |
| 15 | const { register, tableObject, methods } = useTable<FormVO>({ | 13 | const { register, tableObject, methods } = useTable<FormVO>({ |
| @@ -57,10 +55,10 @@ const submitForm = async () => { | @@ -57,10 +55,10 @@ const submitForm = async () => { | ||
| 57 | const data = unref(formRef)?.formModel as FormVO | 55 | const data = unref(formRef)?.formModel as FormVO |
| 58 | if (actionType.value === 'create') { | 56 | if (actionType.value === 'create') { |
| 59 | await FormApi.createFormApi(data) | 57 | await FormApi.createFormApi(data) |
| 60 | - ElMessage.success(t('common.createSuccess')) | 58 | + message.success(t('common.createSuccess')) |
| 61 | } else { | 59 | } else { |
| 62 | await FormApi.updateFormApi(data) | 60 | await FormApi.updateFormApi(data) |
| 63 | - ElMessage.success(t('common.updateSuccess')) | 61 | + message.success(t('common.updateSuccess')) |
| 64 | } | 62 | } |
| 65 | // 操作成功,重新加载列表 | 63 | // 操作成功,重新加载列表 |
| 66 | dialogVisible.value = false | 64 | dialogVisible.value = false |
yudao-ui-admin-vue3/src/views/bpm/group/group.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | -import { required } from '@/utils/formRules' | ||
| 4 | import { CrudSchema, useCrudSchemas } from '@/hooks/web/useCrudSchemas' | 1 | import { CrudSchema, useCrudSchemas } from '@/hooks/web/useCrudSchemas' |
| 5 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 6 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 7 | 3 | ||
| 8 | // 表单校验 | 4 | // 表单校验 |
yudao-ui-admin-vue3/src/views/bpm/group/index.vue
| 1 | <script setup lang="ts" name="Group"> | 1 | <script setup lang="ts" name="Group"> |
| 2 | -import { ref, unref, onMounted } from 'vue' | ||
| 3 | import dayjs from 'dayjs' | 2 | import dayjs from 'dayjs' |
| 4 | -import { ElMessage, ElSelect, ElOption } from 'element-plus' | ||
| 5 | import { DICT_TYPE } from '@/utils/dict' | 3 | import { DICT_TYPE } from '@/utils/dict' |
| 6 | import { useTable } from '@/hooks/web/useTable' | 4 | import { useTable } from '@/hooks/web/useTable' |
| 7 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 8 | -import { FormExpose } from '@/components/Form' | 5 | +import type { FormExpose } from '@/components/Form' |
| 9 | import type { UserGroupVO } from '@/api/bpm/userGroup/types' | 6 | import type { UserGroupVO } from '@/api/bpm/userGroup/types' |
| 10 | import { rules, allSchemas } from './group.data' | 7 | import { rules, allSchemas } from './group.data' |
| 11 | import * as UserGroupApi from '@/api/bpm/userGroup' | 8 | import * as UserGroupApi from '@/api/bpm/userGroup' |
| @@ -13,6 +10,7 @@ import { getListSimpleUsersApi } from '@/api/system/user' | @@ -13,6 +10,7 @@ import { getListSimpleUsersApi } from '@/api/system/user' | ||
| 13 | import { UserVO } from '@/api/system/user' | 10 | import { UserVO } from '@/api/system/user' |
| 14 | 11 | ||
| 15 | const { t } = useI18n() // 国际化 | 12 | const { t } = useI18n() // 国际化 |
| 13 | +const message = useMessage() | ||
| 16 | 14 | ||
| 17 | // ========== 列表相关 ========== | 15 | // ========== 列表相关 ========== |
| 18 | const { register, tableObject, methods } = useTable<UserGroupVO>({ | 16 | const { register, tableObject, methods } = useTable<UserGroupVO>({ |
| @@ -67,10 +65,10 @@ const submitForm = async () => { | @@ -67,10 +65,10 @@ const submitForm = async () => { | ||
| 67 | const data = unref(formRef)?.formModel as UserGroupVO | 65 | const data = unref(formRef)?.formModel as UserGroupVO |
| 68 | if (actionType.value === 'create') { | 66 | if (actionType.value === 'create') { |
| 69 | await UserGroupApi.createUserGroupApi(data) | 67 | await UserGroupApi.createUserGroupApi(data) |
| 70 | - ElMessage.success(t('common.createSuccess')) | 68 | + message.success(t('common.createSuccess')) |
| 71 | } else { | 69 | } else { |
| 72 | await UserGroupApi.updateUserGroupApi(data) | 70 | await UserGroupApi.updateUserGroupApi(data) |
| 73 | - ElMessage.success(t('common.updateSuccess')) | 71 | + message.success(t('common.updateSuccess')) |
| 74 | } | 72 | } |
| 75 | // 操作成功,重新加载列表 | 73 | // 操作成功,重新加载列表 |
| 76 | dialogVisible.value = false | 74 | dialogVisible.value = false |
yudao-ui-admin-vue3/src/views/bpm/model/index.vue
| 1 | <script setup lang="ts" name="Model"> | 1 | <script setup lang="ts" name="Model"> |
| 2 | -import { ref, unref } from 'vue' | ||
| 3 | import dayjs from 'dayjs' | 2 | import dayjs from 'dayjs' |
| 4 | -import { ElTableColumn, ElTag, ElSwitch } from 'element-plus' | ||
| 5 | import { DICT_TYPE } from '@/utils/dict' | 3 | import { DICT_TYPE } from '@/utils/dict' |
| 6 | import { useTable } from '@/hooks/web/useTable' | 4 | import { useTable } from '@/hooks/web/useTable' |
| 7 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 8 | -import { FormExpose } from '@/components/Form' | 5 | +import type { FormExpose } from '@/components/Form' |
| 9 | import type { ModelVO } from '@/api/bpm/model/types' | 6 | import type { ModelVO } from '@/api/bpm/model/types' |
| 10 | import { rules, allSchemas } from './model.data' | 7 | import { rules, allSchemas } from './model.data' |
| 11 | import * as ModelApi from '@/api/bpm/model' | 8 | import * as ModelApi from '@/api/bpm/model' |
| 12 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 13 | -const message = useMessage() | 9 | + |
| 14 | const { t } = useI18n() // 国际化 | 10 | const { t } = useI18n() // 国际化 |
| 11 | +const message = useMessage() | ||
| 15 | 12 | ||
| 16 | // ========== 列表相关 ========== | 13 | // ========== 列表相关 ========== |
| 17 | const { register, tableObject, methods } = useTable<ModelVO>({ | 14 | const { register, tableObject, methods } = useTable<ModelVO>({ |
yudao-ui-admin-vue3/src/views/bpm/model/model.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | -import { required } from '@/utils/formRules' | ||
| 4 | import { CrudSchema, useCrudSchemas } from '@/hooks/web/useCrudSchemas' | 1 | import { CrudSchema, useCrudSchemas } from '@/hooks/web/useCrudSchemas' |
| 5 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 6 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 7 | 3 | ||
| 8 | // 表单校验 | 4 | // 表单校验 |
yudao-ui-admin-vue3/src/views/bpm/processInstance/index.vue
| 1 | <script setup lang="ts" name="ProcessInstance"> | 1 | <script setup lang="ts" name="ProcessInstance"> |
| 2 | -import { ref } from 'vue' | ||
| 3 | import dayjs from 'dayjs' | 2 | import dayjs from 'dayjs' |
| 4 | import { DICT_TYPE } from '@/utils/dict' | 3 | import { DICT_TYPE } from '@/utils/dict' |
| 5 | import { useTable } from '@/hooks/web/useTable' | 4 | import { useTable } from '@/hooks/web/useTable' |
| 6 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 7 | import type { ProcessInstanceVO } from '@/api/bpm/processInstance/types' | 5 | import type { ProcessInstanceVO } from '@/api/bpm/processInstance/types' |
| 8 | import { allSchemas } from './process.data' | 6 | import { allSchemas } from './process.data' |
| 9 | import * as ProcessInstanceApi from '@/api/bpm/processInstance' | 7 | import * as ProcessInstanceApi from '@/api/bpm/processInstance' |
| 10 | -import { ElMessage, ElMessageBox } from 'element-plus' | 8 | +import { ElMessageBox } from 'element-plus' |
| 11 | const { t } = useI18n() // 国际化 | 9 | const { t } = useI18n() // 国际化 |
| 10 | +const message = useMessage() | ||
| 12 | 11 | ||
| 13 | // ========== 列表相关 ========== | 12 | // ========== 列表相关 ========== |
| 14 | const { register, tableObject, methods } = useTable<ProcessInstanceVO>({ | 13 | const { register, tableObject, methods } = useTable<ProcessInstanceVO>({ |
| @@ -32,7 +31,7 @@ const handleCancel = (row: ProcessInstanceVO) => { | @@ -32,7 +31,7 @@ const handleCancel = (row: ProcessInstanceVO) => { | ||
| 32 | inputErrorMessage: '取消原因不能为空' | 31 | inputErrorMessage: '取消原因不能为空' |
| 33 | }).then(async ({ value }) => { | 32 | }).then(async ({ value }) => { |
| 34 | await ProcessInstanceApi.cancelProcessInstanceApi(row.id, value) | 33 | await ProcessInstanceApi.cancelProcessInstanceApi(row.id, value) |
| 35 | - ElMessage.success('取消成功') | 34 | + message.success('取消成功') |
| 36 | getList() | 35 | getList() |
| 37 | }) | 36 | }) |
| 38 | } | 37 | } |
yudao-ui-admin-vue3/src/views/bpm/processInstance/process.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | import { CrudSchema, useCrudSchemas } from '@/hooks/web/useCrudSchemas' | 1 | import { CrudSchema, useCrudSchemas } from '@/hooks/web/useCrudSchemas' |
| 4 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 5 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 6 | 3 | ||
| 7 | // CrudSchema | 4 | // CrudSchema |
yudao-ui-admin-vue3/src/views/bpm/task/done/done.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | import { CrudSchema, useCrudSchemas } from '@/hooks/web/useCrudSchemas' | 1 | import { CrudSchema, useCrudSchemas } from '@/hooks/web/useCrudSchemas' |
| 4 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 5 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 6 | 3 | ||
| 7 | // CrudSchema | 4 | // CrudSchema |
yudao-ui-admin-vue3/src/views/bpm/task/done/index.vue
| @@ -2,12 +2,10 @@ | @@ -2,12 +2,10 @@ | ||
| 2 | import dayjs from 'dayjs' | 2 | import dayjs from 'dayjs' |
| 3 | import duration from 'dayjs/plugin/duration' | 3 | import duration from 'dayjs/plugin/duration' |
| 4 | import { DICT_TYPE } from '@/utils/dict' | 4 | import { DICT_TYPE } from '@/utils/dict' |
| 5 | -import { useTable } from '@/hooks/web/useTable' | ||
| 6 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 7 | import type { TaskDoneVO } from '@/api/bpm/task/types' | 5 | import type { TaskDoneVO } from '@/api/bpm/task/types' |
| 8 | import { allSchemas } from './done.data' | 6 | import { allSchemas } from './done.data' |
| 9 | import * as TaskDoneApi from '@/api/bpm/task' | 7 | import * as TaskDoneApi from '@/api/bpm/task' |
| 10 | -import { useRouter } from 'vue-router' | 8 | +import { useTable } from '@/hooks/web/useTable' |
| 11 | dayjs.extend(duration) | 9 | dayjs.extend(duration) |
| 12 | const { t } = useI18n() // 国际化 | 10 | const { t } = useI18n() // 国际化 |
| 13 | const { push } = useRouter() | 11 | const { push } = useRouter() |
yudao-ui-admin-vue3/src/views/bpm/task/todo/done.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | import { CrudSchema, useCrudSchemas } from '@/hooks/web/useCrudSchemas' | 1 | import { CrudSchema, useCrudSchemas } from '@/hooks/web/useCrudSchemas' |
| 4 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 5 | 3 |
yudao-ui-admin-vue3/src/views/bpm/task/todo/index.vue
| @@ -5,7 +5,6 @@ import { useTable } from '@/hooks/web/useTable' | @@ -5,7 +5,6 @@ import { useTable } from '@/hooks/web/useTable' | ||
| 5 | import type { TaskTodoVO } from '@/api/bpm/task/types' | 5 | import type { TaskTodoVO } from '@/api/bpm/task/types' |
| 6 | import { allSchemas } from './done.data' | 6 | import { allSchemas } from './done.data' |
| 7 | import * as TaskTodoApi from '@/api/bpm/task' | 7 | import * as TaskTodoApi from '@/api/bpm/task' |
| 8 | -import { useRouter } from 'vue-router' | ||
| 9 | const { push } = useRouter() | 8 | const { push } = useRouter() |
| 10 | // ========== 列表相关 ========== | 9 | // ========== 列表相关 ========== |
| 11 | const { register, tableObject, methods } = useTable<TaskTodoVO>({ | 10 | const { register, tableObject, methods } = useTable<TaskTodoVO>({ |
yudao-ui-admin-vue3/src/views/infra/apiAccessLog/apiAccessLog.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 3 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 4 | 2 | ||
| 5 | // CrudSchema | 3 | // CrudSchema |
| 6 | const crudSchemas = reactive<VxeCrudSchema>({ | 4 | const crudSchemas = reactive<VxeCrudSchema>({ |
yudao-ui-admin-vue3/src/views/infra/apiAccessLog/index.vue
| @@ -36,9 +36,6 @@ | @@ -36,9 +36,6 @@ | ||
| 36 | </XModal> | 36 | </XModal> |
| 37 | </template> | 37 | </template> |
| 38 | <script setup lang="ts" name="ApiAccessLog"> | 38 | <script setup lang="ts" name="ApiAccessLog"> |
| 39 | -import { ref } from 'vue' | ||
| 40 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 41 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 42 | import { allSchemas } from './apiAccessLog.data' | 39 | import { allSchemas } from './apiAccessLog.data' |
| 43 | import * as ApiAccessLogApi from '@/api/infra/apiAccessLog' | 40 | import * as ApiAccessLogApi from '@/api/infra/apiAccessLog' |
| 44 | 41 |
yudao-ui-admin-vue3/src/views/infra/apiErrorLog/apiErrorLog.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 3 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 4 | 2 | ||
| 5 | // CrudSchema | 3 | // CrudSchema |
| 6 | const crudSchemas = reactive<VxeCrudSchema>({ | 4 | const crudSchemas = reactive<VxeCrudSchema>({ |
yudao-ui-admin-vue3/src/views/infra/apiErrorLog/index.vue
| @@ -52,13 +52,9 @@ | @@ -52,13 +52,9 @@ | ||
| 52 | </XModal> | 52 | </XModal> |
| 53 | </template> | 53 | </template> |
| 54 | <script setup lang="ts" name="ApiErrorLog"> | 54 | <script setup lang="ts" name="ApiErrorLog"> |
| 55 | -import { ref } from 'vue' | ||
| 56 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 57 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 58 | import { allSchemas } from './apiErrorLog.data' | 55 | import { allSchemas } from './apiErrorLog.data' |
| 59 | import * as ApiErrorLogApi from '@/api/infra/apiErrorLog' | 56 | import * as ApiErrorLogApi from '@/api/infra/apiErrorLog' |
| 60 | import { InfraApiErrorLogProcessStatusEnum } from '@/utils/constants' | 57 | import { InfraApiErrorLogProcessStatusEnum } from '@/utils/constants' |
| 61 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 62 | 58 | ||
| 63 | const { t } = useI18n() // 国际化 | 59 | const { t } = useI18n() // 国际化 |
| 64 | const message = useMessage() | 60 | const message = useMessage() |
yudao-ui-admin-vue3/src/views/infra/codegen/EditTable.vue
| @@ -21,12 +21,6 @@ | @@ -21,12 +21,6 @@ | ||
| 21 | </ContentWrap> | 21 | </ContentWrap> |
| 22 | </template> | 22 | </template> |
| 23 | <script setup lang="ts"> | 23 | <script setup lang="ts"> |
| 24 | -import { ref, unref, onMounted } from 'vue' | ||
| 25 | -import { useRouter, useRoute } from 'vue-router' | ||
| 26 | -import { ElTabs, ElTabPane } from 'element-plus' | ||
| 27 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 28 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 29 | -import { ContentDetailWrap } from '@/components/ContentDetailWrap' | ||
| 30 | import { BasicInfoForm, CloumInfoForm } from './components' | 24 | import { BasicInfoForm, CloumInfoForm } from './components' |
| 31 | import { getCodegenTableApi, updateCodegenTableApi } from '@/api/infra/codegen' | 25 | import { getCodegenTableApi, updateCodegenTableApi } from '@/api/infra/codegen' |
| 32 | import { CodegenTableVO, CodegenColumnVO, CodegenUpdateReqVO } from '@/api/infra/codegen/types' | 26 | import { CodegenTableVO, CodegenColumnVO, CodegenUpdateReqVO } from '@/api/infra/codegen/types' |
yudao-ui-admin-vue3/src/views/infra/codegen/codegen.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | -import { required } from '@/utils/formRules' | ||
| 4 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 5 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 6 | 3 | ||
| 7 | // 表单校验 | 4 | // 表单校验 |
yudao-ui-admin-vue3/src/views/infra/codegen/components/BasicInfoForm.vue
| @@ -2,15 +2,13 @@ | @@ -2,15 +2,13 @@ | ||
| 2 | <Form :rules="rules" @register="register" /> | 2 | <Form :rules="rules" @register="register" /> |
| 3 | </template> | 3 | </template> |
| 4 | <script setup lang="ts"> | 4 | <script setup lang="ts"> |
| 5 | -import { onMounted, PropType, reactive, ref, watch } from 'vue' | ||
| 6 | -import { required } from '@/utils/formRules' | ||
| 7 | import { useForm } from '@/hooks/web/useForm' | 5 | import { useForm } from '@/hooks/web/useForm' |
| 8 | -import { Form } from '@/components/Form' | ||
| 9 | import { FormSchema } from '@/types/form' | 6 | import { FormSchema } from '@/types/form' |
| 10 | import { CodegenTableVO } from '@/api/infra/codegen/types' | 7 | import { CodegenTableVO } from '@/api/infra/codegen/types' |
| 11 | -import { DICT_TYPE, getIntDictOptions } from '@/utils/dict' | 8 | +import { getIntDictOptions } from '@/utils/dict' |
| 12 | import { listSimpleMenusApi } from '@/api/system/menu' | 9 | import { listSimpleMenusApi } from '@/api/system/menu' |
| 13 | import { handleTree, defaultProps } from '@/utils/tree' | 10 | import { handleTree, defaultProps } from '@/utils/tree' |
| 11 | +import { PropType } from 'vue' | ||
| 14 | 12 | ||
| 15 | const props = defineProps({ | 13 | const props = defineProps({ |
| 16 | basicInfo: { | 14 | basicInfo: { |
yudao-ui-admin-vue3/src/views/infra/codegen/components/CloumInfoForm.vue
| @@ -111,7 +111,7 @@ | @@ -111,7 +111,7 @@ | ||
| 111 | </vxe-table> | 111 | </vxe-table> |
| 112 | </template> | 112 | </template> |
| 113 | <script setup lang="ts"> | 113 | <script setup lang="ts"> |
| 114 | -import { onMounted, PropType, ref } from 'vue' | 114 | +import { PropType } from 'vue' |
| 115 | import { DictTypeVO } from '@/api/system/dict/types' | 115 | import { DictTypeVO } from '@/api/system/dict/types' |
| 116 | import { CodegenColumnVO } from '@/api/infra/codegen/types' | 116 | import { CodegenColumnVO } from '@/api/infra/codegen/types' |
| 117 | import { listSimpleDictTypeApi } from '@/api/system/dict/dict.type' | 117 | import { listSimpleDictTypeApi } from '@/api/system/dict/dict.type' |
yudao-ui-admin-vue3/src/views/infra/codegen/components/ImportTable.vue
| @@ -49,11 +49,7 @@ | @@ -49,11 +49,7 @@ | ||
| 49 | </XModal> | 49 | </XModal> |
| 50 | </template> | 50 | </template> |
| 51 | <script setup lang="ts"> | 51 | <script setup lang="ts"> |
| 52 | -import { ref, reactive } from 'vue' | ||
| 53 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 54 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 55 | import { VxeTableInstance } from 'vxe-table' | 52 | import { VxeTableInstance } from 'vxe-table' |
| 56 | -import { ElForm, ElFormItem, ElInput, ElSelect, ElOption } from 'element-plus' | ||
| 57 | import type { DatabaseTableVO } from '@/api/infra/codegen/types' | 53 | import type { DatabaseTableVO } from '@/api/infra/codegen/types' |
| 58 | import { getSchemaTableListApi, createCodegenListApi } from '@/api/infra/codegen' | 54 | import { getSchemaTableListApi, createCodegenListApi } from '@/api/infra/codegen' |
| 59 | import { getDataSourceConfigListApi, DataSourceConfigVO } from '@/api/infra/dataSourceConfig' | 55 | import { getDataSourceConfigListApi, DataSourceConfigVO } from '@/api/infra/dataSourceConfig' |
yudao-ui-admin-vue3/src/views/infra/codegen/components/Preview.vue
| @@ -30,11 +30,7 @@ | @@ -30,11 +30,7 @@ | ||
| 30 | </XModal> | 30 | </XModal> |
| 31 | </template> | 31 | </template> |
| 32 | <script setup lang="ts"> | 32 | <script setup lang="ts"> |
| 33 | -import { reactive, ref, unref } from 'vue' | ||
| 34 | import { useClipboard } from '@vueuse/core' | 33 | import { useClipboard } from '@vueuse/core' |
| 35 | -import { ElCard, ElTree, ElTabs, ElTabPane } from 'element-plus' | ||
| 36 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 37 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 38 | import { handleTree2 } from '@/utils/tree' | 34 | import { handleTree2 } from '@/utils/tree' |
| 39 | import { previewCodegenApi } from '@/api/infra/codegen' | 35 | import { previewCodegenApi } from '@/api/infra/codegen' |
| 40 | import { CodegenTableVO, CodegenPreviewVO } from '@/api/infra/codegen/types' | 36 | import { CodegenTableVO, CodegenPreviewVO } from '@/api/infra/codegen/types' |
yudao-ui-admin-vue3/src/views/infra/codegen/index.vue
| @@ -57,11 +57,6 @@ | @@ -57,11 +57,6 @@ | ||
| 57 | <Preview ref="previewRef" /> | 57 | <Preview ref="previewRef" /> |
| 58 | </template> | 58 | </template> |
| 59 | <script setup lang="ts" name="Codegen"> | 59 | <script setup lang="ts" name="Codegen"> |
| 60 | -import { ref } from 'vue' | ||
| 61 | -import { useRouter } from 'vue-router' | ||
| 62 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 63 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 64 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 65 | import download from '@/utils/download' | 60 | import download from '@/utils/download' |
| 66 | import * as CodegenApi from '@/api/infra/codegen' | 61 | import * as CodegenApi from '@/api/infra/codegen' |
| 67 | import { CodegenTableVO } from '@/api/infra/codegen/types' | 62 | import { CodegenTableVO } from '@/api/infra/codegen/types' |
yudao-ui-admin-vue3/src/views/infra/config/config.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | -import { required } from '@/utils/formRules' | ||
| 4 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 5 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 6 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 7 | 3 | ||
| 8 | // 表单校验 | 4 | // 表单校验 |
yudao-ui-admin-vue3/src/views/infra/config/index.vue
| @@ -83,12 +83,7 @@ | @@ -83,12 +83,7 @@ | ||
| 83 | </XModal> | 83 | </XModal> |
| 84 | </template> | 84 | </template> |
| 85 | <script setup lang="ts" name="Config"> | 85 | <script setup lang="ts" name="Config"> |
| 86 | -// 全局相关的 import | ||
| 87 | -import { ref, unref } from 'vue' | ||
| 88 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 89 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 90 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 91 | -import { FormExpose } from '@/components/Form' | 86 | +import type { FormExpose } from '@/components/Form' |
| 92 | // 业务相关的 import | 87 | // 业务相关的 import |
| 93 | import * as ConfigApi from '@/api/infra/config' | 88 | import * as ConfigApi from '@/api/infra/config' |
| 94 | import { rules, allSchemas } from './config.data' | 89 | import { rules, allSchemas } from './config.data' |
yudao-ui-admin-vue3/src/views/infra/dataSourceConfig/dataSourceConfig.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { required } from '@/utils/formRules' | ||
| 3 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 4 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 5 | // 国际化 | 2 | // 国际化 |
| 6 | const { t } = useI18n() | 3 | const { t } = useI18n() |
| 7 | // 表单校验 | 4 | // 表单校验 |
yudao-ui-admin-vue3/src/views/infra/dataSourceConfig/index.vue
| @@ -66,12 +66,7 @@ | @@ -66,12 +66,7 @@ | ||
| 66 | </XModal> | 66 | </XModal> |
| 67 | </template> | 67 | </template> |
| 68 | <script setup lang="ts" name="DataSourceConfig"> | 68 | <script setup lang="ts" name="DataSourceConfig"> |
| 69 | -// 全局相关的 import | ||
| 70 | -import { ref, unref } from 'vue' | ||
| 71 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 72 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 73 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 74 | -import { FormExpose } from '@/components/Form' | 69 | +import type { FormExpose } from '@/components/Form' |
| 75 | // 业务相关的 import | 70 | // 业务相关的 import |
| 76 | import * as DataSourceConfiggApi from '@/api/infra/dataSourceConfig' | 71 | import * as DataSourceConfiggApi from '@/api/infra/dataSourceConfig' |
| 77 | import { rules, allSchemas } from './dataSourceConfig.data' | 72 | import { rules, allSchemas } from './dataSourceConfig.data' |
yudao-ui-admin-vue3/src/views/infra/dbDoc/index.vue
| @@ -25,10 +25,8 @@ | @@ -25,10 +25,8 @@ | ||
| 25 | </ContentWrap> | 25 | </ContentWrap> |
| 26 | </template> | 26 | </template> |
| 27 | <script setup lang="ts" name="DbDoc"> | 27 | <script setup lang="ts" name="DbDoc"> |
| 28 | -import { onMounted, ref } from 'vue' | ||
| 29 | import download from '@/utils/download' | 28 | import download from '@/utils/download' |
| 30 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 31 | -import { IFrame } from '@/components/IFrame' | 29 | + |
| 32 | import * as DbDocApi from '@/api/infra/dbDoc' | 30 | import * as DbDocApi from '@/api/infra/dbDoc' |
| 33 | 31 | ||
| 34 | const { t } = useI18n() // 国际化 | 32 | const { t } = useI18n() // 国际化 |
yudao-ui-admin-vue3/src/views/infra/druid/index.vue
| @@ -4,9 +4,6 @@ | @@ -4,9 +4,6 @@ | ||
| 4 | </ContentWrap> | 4 | </ContentWrap> |
| 5 | </template> | 5 | </template> |
| 6 | <script setup lang="ts" name="Druid"> | 6 | <script setup lang="ts" name="Druid"> |
| 7 | -import { ref } from 'vue' | ||
| 8 | -import { IFrame } from '@/components/IFrame' | ||
| 9 | - | ||
| 10 | const BASE_URL = import.meta.env.VITE_BASE_URL | 7 | const BASE_URL = import.meta.env.VITE_BASE_URL |
| 11 | const src = ref(BASE_URL + '/druid/index.html') | 8 | const src = ref(BASE_URL + '/druid/index.html') |
| 12 | </script> | 9 | </script> |
yudao-ui-admin-vue3/src/views/infra/fileConfig/fileConfig.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | -import { required } from '@/utils/formRules' | ||
| 4 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 5 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 6 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 7 | 3 | ||
| 8 | // 表单校验 | 4 | // 表单校验 |
yudao-ui-admin-vue3/src/views/infra/fileConfig/index.vue
| @@ -158,22 +158,7 @@ | @@ -158,22 +158,7 @@ | ||
| 158 | </XModal> | 158 | </XModal> |
| 159 | </template> | 159 | </template> |
| 160 | <script setup lang="ts" name="FileConfig"> | 160 | <script setup lang="ts" name="FileConfig"> |
| 161 | -// 全局相关的 import | ||
| 162 | -import { ref } from 'vue' | ||
| 163 | -import { | ||
| 164 | - ElForm, | ||
| 165 | - ElFormItem, | ||
| 166 | - FormInstance, | ||
| 167 | - ElSelect, | ||
| 168 | - ElOption, | ||
| 169 | - ElInput, | ||
| 170 | - ElInputNumber, | ||
| 171 | - ElRadio, | ||
| 172 | - ElRadioGroup | ||
| 173 | -} from 'element-plus' | ||
| 174 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 175 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 176 | -import { useXTable } from '@/hooks/web/useXTable' | 161 | +import type { FormInstance } from 'element-plus' |
| 177 | // 业务相关的 import | 162 | // 业务相关的 import |
| 178 | import * as FileConfigApi from '@/api/infra/fileConfig' | 163 | import * as FileConfigApi from '@/api/infra/fileConfig' |
| 179 | import { rules, allSchemas } from './fileConfig.data' | 164 | import { rules, allSchemas } from './fileConfig.data' |
yudao-ui-admin-vue3/src/views/infra/fileList/fileList.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 4 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 5 | 3 | ||
| 6 | // CrudSchema | 4 | // CrudSchema |
yudao-ui-admin-vue3/src/views/infra/fileList/index.vue
| @@ -82,11 +82,7 @@ | @@ -82,11 +82,7 @@ | ||
| 82 | </XModal> | 82 | </XModal> |
| 83 | </template> | 83 | </template> |
| 84 | <script setup lang="ts" name="FileList"> | 84 | <script setup lang="ts" name="FileList"> |
| 85 | -import { ref, unref } from 'vue' | ||
| 86 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 87 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 88 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 89 | -import { ElUpload, ElImage, UploadInstance, UploadRawFile } from 'element-plus' | 85 | +import type { UploadInstance, UploadRawFile } from 'element-plus' |
| 90 | // 业务相关的 import | 86 | // 业务相关的 import |
| 91 | import { allSchemas } from './fileList.data' | 87 | import { allSchemas } from './fileList.data' |
| 92 | import * as FileApi from '@/api/infra/fileList' | 88 | import * as FileApi from '@/api/infra/fileList' |
yudao-ui-admin-vue3/src/views/infra/job/JobLog.vue
| @@ -48,10 +48,8 @@ | @@ -48,10 +48,8 @@ | ||
| 48 | </XModal> | 48 | </XModal> |
| 49 | </template> | 49 | </template> |
| 50 | <script setup lang="ts" name="JobLog"> | 50 | <script setup lang="ts" name="JobLog"> |
| 51 | -import { ref } from 'vue' | ||
| 52 | import dayjs from 'dayjs' | 51 | import dayjs from 'dayjs' |
| 53 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 54 | -import { useXTable } from '@/hooks/web/useXTable' | 52 | + |
| 55 | import * as JobLogApi from '@/api/infra/jobLog' | 53 | import * as JobLogApi from '@/api/infra/jobLog' |
| 56 | import { allSchemas } from './jobLog.data' | 54 | import { allSchemas } from './jobLog.data' |
| 57 | 55 |
yudao-ui-admin-vue3/src/views/infra/job/index.vue
| @@ -129,14 +129,7 @@ | @@ -129,14 +129,7 @@ | ||
| 129 | </XModal> | 129 | </XModal> |
| 130 | </template> | 130 | </template> |
| 131 | <script setup lang="ts" name="Job"> | 131 | <script setup lang="ts" name="Job"> |
| 132 | -import { ref, unref } from 'vue' | ||
| 133 | -import { useRouter } from 'vue-router' | ||
| 134 | -import { ElDropdown, ElDropdownMenu, ElDropdownItem } from 'element-plus' | ||
| 135 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 136 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 137 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 138 | -import { FormExpose } from '@/components/Form' | ||
| 139 | -import { Crontab } from '@/components/Crontab' | 132 | +import type { FormExpose } from '@/components/Form' |
| 140 | import * as JobApi from '@/api/infra/job' | 133 | import * as JobApi from '@/api/infra/job' |
| 141 | import { rules, allSchemas } from './job.data' | 134 | import { rules, allSchemas } from './job.data' |
| 142 | import { InfraJobStatusEnum } from '@/utils/constants' | 135 | import { InfraJobStatusEnum } from '@/utils/constants' |
yudao-ui-admin-vue3/src/views/infra/job/job.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 3 | -import { required } from '@/utils/formRules' | ||
| 4 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 5 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 6 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 7 | // 表单校验 | 3 | // 表单校验 |
| 8 | export const rules = reactive({ | 4 | export const rules = reactive({ |
yudao-ui-admin-vue3/src/views/infra/job/jobLog.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 3 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 4 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 5 | // 国际化 | 2 | // 国际化 |
| 6 | const { t } = useI18n() | 3 | const { t } = useI18n() |
| 7 | // CrudSchema | 4 | // CrudSchema |
yudao-ui-admin-vue3/src/views/infra/redis/index.vue
| @@ -125,21 +125,9 @@ | @@ -125,21 +125,9 @@ | ||
| 125 | </XModal> | 125 | </XModal> |
| 126 | </template> | 126 | </template> |
| 127 | <script setup lang="ts" name="Redis"> | 127 | <script setup lang="ts" name="Redis"> |
| 128 | -import { onBeforeMount, ref } from 'vue' | ||
| 129 | -import { | ||
| 130 | - ElRow, | ||
| 131 | - ElCard, | ||
| 132 | - ElCol, | ||
| 133 | - ElTable, | ||
| 134 | - ElTableColumn, | ||
| 135 | - ElScrollbar, | ||
| 136 | - ElDescriptions, | ||
| 137 | - ElDescriptionsItem | ||
| 138 | -} from 'element-plus' | ||
| 139 | import * as echarts from 'echarts' | 128 | import * as echarts from 'echarts' |
| 140 | import { DICT_TYPE } from '@/utils/dict' | 129 | import { DICT_TYPE } from '@/utils/dict' |
| 141 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 142 | -import { useMessage } from '@/hooks/web/useMessage' | 130 | + |
| 143 | import * as RedisApi from '@/api/infra/redis' | 131 | import * as RedisApi from '@/api/infra/redis' |
| 144 | import { RedisKeyInfo, RedisMonitorInfoVO } from '@/api/infra/redis/types' | 132 | import { RedisKeyInfo, RedisMonitorInfoVO } from '@/api/infra/redis/types' |
| 145 | 133 |
yudao-ui-admin-vue3/src/views/infra/server/index.vue
| @@ -4,9 +4,6 @@ | @@ -4,9 +4,6 @@ | ||
| 4 | </ContentWrap> | 4 | </ContentWrap> |
| 5 | </template> | 5 | </template> |
| 6 | <script setup lang="ts" name="Server"> | 6 | <script setup lang="ts" name="Server"> |
| 7 | -import { ref } from 'vue' | ||
| 8 | -import { IFrame } from '@/components/IFrame' | ||
| 9 | - | ||
| 10 | const BASE_URL = import.meta.env.VITE_BASE_URL | 7 | const BASE_URL = import.meta.env.VITE_BASE_URL |
| 11 | const src = ref(BASE_URL + '/admin/applications') | 8 | const src = ref(BASE_URL + '/admin/applications') |
| 12 | </script> | 9 | </script> |
yudao-ui-admin-vue3/src/views/infra/skywalking/index.vue
| @@ -4,8 +4,5 @@ | @@ -4,8 +4,5 @@ | ||
| 4 | </ContentWrap> | 4 | </ContentWrap> |
| 5 | </template> | 5 | </template> |
| 6 | <script setup lang="ts" name="Skywalking"> | 6 | <script setup lang="ts" name="Skywalking"> |
| 7 | -import { ref } from 'vue' | ||
| 8 | -import { IFrame } from '@/components/IFrame' | ||
| 9 | - | ||
| 10 | const src = ref('http://skywalking.shop.iocoder.cn') | 7 | const src = ref('http://skywalking.shop.iocoder.cn') |
| 11 | </script> | 8 | </script> |
yudao-ui-admin-vue3/src/views/infra/swagger/index.vue
| @@ -4,9 +4,6 @@ | @@ -4,9 +4,6 @@ | ||
| 4 | </ContentWrap> | 4 | </ContentWrap> |
| 5 | </template> | 5 | </template> |
| 6 | <script setup lang="ts" name="Swagger"> | 6 | <script setup lang="ts" name="Swagger"> |
| 7 | -import { ref } from 'vue' | ||
| 8 | -import { IFrame } from '@/components/IFrame' | ||
| 9 | - | ||
| 10 | const BASE_URL = import.meta.env.VITE_BASE_URL | 7 | const BASE_URL = import.meta.env.VITE_BASE_URL |
| 11 | const src = ref(BASE_URL + '/doc.html') | 8 | const src = ref(BASE_URL + '/doc.html') |
| 12 | </script> | 9 | </script> |
yudao-ui-admin-vue3/src/views/infra/webSocket/index.vue
| @@ -56,11 +56,9 @@ | @@ -56,11 +56,9 @@ | ||
| 56 | </div> | 56 | </div> |
| 57 | </template> | 57 | </template> |
| 58 | <script setup lang="ts"> | 58 | <script setup lang="ts"> |
| 59 | -import { computed, reactive, ref, watchEffect } from 'vue' | ||
| 60 | -import { ElCard, ElInput, ElTag } from 'element-plus' | ||
| 61 | -import { useWebSocket } from '@vueuse/core' | ||
| 62 | import dayjs from 'dayjs' | 59 | import dayjs from 'dayjs' |
| 63 | import { useUserStore } from '@/store/modules/user' | 60 | import { useUserStore } from '@/store/modules/user' |
| 61 | +import { useWebSocket } from '@vueuse/core' | ||
| 64 | 62 | ||
| 65 | const userStore = useUserStore() | 63 | const userStore = useUserStore() |
| 66 | 64 |
yudao-ui-admin-vue3/src/views/pay/app/app.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | -import { required } from '@/utils/formRules' | ||
| 4 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 5 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 6 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 7 | 3 | ||
| 8 | // 表单校验 | 4 | // 表单校验 |
yudao-ui-admin-vue3/src/views/pay/app/index.vue
| @@ -76,11 +76,7 @@ | @@ -76,11 +76,7 @@ | ||
| 76 | </XModal> | 76 | </XModal> |
| 77 | </template> | 77 | </template> |
| 78 | <script setup lang="ts" name="App"> | 78 | <script setup lang="ts" name="App"> |
| 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 | -import { FormExpose } from '@/components/Form' | 79 | +import type { FormExpose } from '@/components/Form' |
| 84 | import { rules, allSchemas } from './app.data' | 80 | import { rules, allSchemas } from './app.data' |
| 85 | import * as AppApi from '@/api/pay/app' | 81 | import * as AppApi from '@/api/pay/app' |
| 86 | 82 |
yudao-ui-admin-vue3/src/views/pay/merchant/index.vue
| @@ -75,11 +75,7 @@ | @@ -75,11 +75,7 @@ | ||
| 75 | </XModal> | 75 | </XModal> |
| 76 | </template> | 76 | </template> |
| 77 | <script setup lang="ts" name="Merchant"> | 77 | <script setup lang="ts" name="Merchant"> |
| 78 | -import { ref, unref } from 'vue' | ||
| 79 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 80 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 81 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 82 | -import { FormExpose } from '@/components/Form' | 78 | +import type { FormExpose } from '@/components/Form' |
| 83 | import { rules, allSchemas } from './merchant.data' | 79 | import { rules, allSchemas } from './merchant.data' |
| 84 | import * as MerchantApi from '@/api/pay/merchant' | 80 | import * as MerchantApi from '@/api/pay/merchant' |
| 85 | 81 |
yudao-ui-admin-vue3/src/views/pay/merchant/merchant.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | -import { required } from '@/utils/formRules' | ||
| 4 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 5 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 6 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 7 | 3 | ||
| 8 | // 表单校验 | 4 | // 表单校验 |
yudao-ui-admin-vue3/src/views/pay/order/index.vue
| @@ -42,9 +42,6 @@ | @@ -42,9 +42,6 @@ | ||
| 42 | </XModal> | 42 | </XModal> |
| 43 | </template> | 43 | </template> |
| 44 | <script setup lang="ts" name="Order"> | 44 | <script setup lang="ts" name="Order"> |
| 45 | -import { ref } from 'vue' | ||
| 46 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 47 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 48 | import { allSchemas } from './order.data' | 45 | import { allSchemas } from './order.data' |
| 49 | import * as OrderApi from '@/api/pay/order' | 46 | import * as OrderApi from '@/api/pay/order' |
| 50 | 47 |
yudao-ui-admin-vue3/src/views/pay/order/order.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | -import { required } from '@/utils/formRules' | ||
| 4 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 5 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 6 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 7 | 3 | ||
| 8 | // 表单校验 | 4 | // 表单校验 |
yudao-ui-admin-vue3/src/views/pay/refund/index.vue
| @@ -34,9 +34,6 @@ | @@ -34,9 +34,6 @@ | ||
| 34 | </XModal> | 34 | </XModal> |
| 35 | </template> | 35 | </template> |
| 36 | <script setup lang="ts" name="Refund"> | 36 | <script setup lang="ts" name="Refund"> |
| 37 | -import { ref } from 'vue' | ||
| 38 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 39 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 40 | import { allSchemas } from './refund.data' | 37 | import { allSchemas } from './refund.data' |
| 41 | import * as RefundApi from '@/api/pay/refund' | 38 | import * as RefundApi from '@/api/pay/refund' |
| 42 | 39 |
yudao-ui-admin-vue3/src/views/pay/refund/refund.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 4 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 5 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 6 | 3 | ||
| 7 | // CrudSchema | 4 | // CrudSchema |
yudao-ui-admin-vue3/src/views/system/dept/dept.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | -import { required } from '@/utils/formRules' | ||
| 4 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 5 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 2 | + | ||
| 6 | const { t } = useI18n() // 国际化 | 3 | const { t } = useI18n() // 国际化 |
| 7 | 4 | ||
| 8 | // 表单校验 | 5 | // 表单校验 |
yudao-ui-admin-vue3/src/views/system/dept/index.vue
| @@ -75,13 +75,8 @@ | @@ -75,13 +75,8 @@ | ||
| 75 | </XModal> | 75 | </XModal> |
| 76 | </template> | 76 | </template> |
| 77 | <script setup lang="ts" name="Dept"> | 77 | <script setup lang="ts" name="Dept"> |
| 78 | -import { nextTick, onMounted, ref, unref } from 'vue' | ||
| 79 | -import { ElSelect, ElTreeSelect, ElOption } from 'element-plus' | ||
| 80 | import { handleTree, defaultProps } from '@/utils/tree' | 78 | import { handleTree, defaultProps } from '@/utils/tree' |
| 81 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 82 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 83 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 84 | -import { FormExpose } from '@/components/Form' | 79 | +import type { FormExpose } from '@/components/Form' |
| 85 | import { allSchemas, rules } from './dept.data' | 80 | import { allSchemas, rules } from './dept.data' |
| 86 | import * as DeptApi from '@/api/system/dept' | 81 | import * as DeptApi from '@/api/system/dept' |
| 87 | import { getListSimpleUsersApi, UserVO } from '@/api/system/user' | 82 | import { getListSimpleUsersApi, UserVO } from '@/api/system/user' |
yudao-ui-admin-vue3/src/views/system/dict/dict.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 3 | -import { required } from '@/utils/formRules' | ||
| 4 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 5 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 6 | // 国际化 | 2 | // 国际化 |
| 7 | const { t } = useI18n() | 3 | const { t } = useI18n() |
| 8 | // 表单校验 | 4 | // 表单校验 |
yudao-ui-admin-vue3/src/views/system/dict/dict.type.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 3 | -import { required } from '@/utils/formRules' | ||
| 4 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 5 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 6 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 7 | 3 | ||
| 8 | // 表单校验 | 4 | // 表单校验 |
yudao-ui-admin-vue3/src/views/system/dict/index.vue
| @@ -122,13 +122,8 @@ | @@ -122,13 +122,8 @@ | ||
| 122 | </div> | 122 | </div> |
| 123 | </template> | 123 | </template> |
| 124 | <script setup lang="ts" name="Dict"> | 124 | <script setup lang="ts" name="Dict"> |
| 125 | -import { ref, unref, reactive } from 'vue' | ||
| 126 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 127 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 128 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 129 | import { VxeTableEvents } from 'vxe-table' | 125 | import { VxeTableEvents } from 'vxe-table' |
| 130 | -import { FormExpose } from '@/components/Form' | ||
| 131 | -import { ElInput, ElTag, ElCard } from 'element-plus' | 126 | +import type { FormExpose } from '@/components/Form' |
| 132 | import * as DictTypeSchemas from './dict.type' | 127 | import * as DictTypeSchemas from './dict.type' |
| 133 | import * as DictDataSchemas from './dict.data' | 128 | import * as DictDataSchemas from './dict.data' |
| 134 | import * as DictTypeApi from '@/api/system/dict/dict.type' | 129 | import * as DictTypeApi from '@/api/system/dict/dict.type' |
yudao-ui-admin-vue3/src/views/system/errorCode/errorCode.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { required } from '@/utils/formRules' | ||
| 3 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 4 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 5 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 6 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 7 | 3 | ||
| 8 | // 表单校验 | 4 | // 表单校验 |
yudao-ui-admin-vue3/src/views/system/errorCode/index.vue
| @@ -67,12 +67,7 @@ | @@ -67,12 +67,7 @@ | ||
| 67 | </XModal> | 67 | </XModal> |
| 68 | </template> | 68 | </template> |
| 69 | <script setup lang="ts" name="ErrorCode"> | 69 | <script setup lang="ts" name="ErrorCode"> |
| 70 | -// 全局相关的 import | ||
| 71 | -import { ref, unref } from 'vue' | ||
| 72 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 73 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 74 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 75 | -import { FormExpose } from '@/components/Form' | 70 | +import type { FormExpose } from '@/components/Form' |
| 76 | // 业务相关的 import | 71 | // 业务相关的 import |
| 77 | import { rules, allSchemas } from './errorCode.data' | 72 | import { rules, allSchemas } from './errorCode.data' |
| 78 | import * as ErrorCodeApi from '@/api/system/errorCode' | 73 | import * as ErrorCodeApi from '@/api/system/errorCode' |
yudao-ui-admin-vue3/src/views/system/loginlog/index.vue
| @@ -28,10 +28,6 @@ | @@ -28,10 +28,6 @@ | ||
| 28 | </XModal> | 28 | </XModal> |
| 29 | </template> | 29 | </template> |
| 30 | <script setup lang="ts" name="Loginlog"> | 30 | <script setup lang="ts" name="Loginlog"> |
| 31 | -// 全局相关的 import | ||
| 32 | -import { ref } from 'vue' | ||
| 33 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 34 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 35 | // 业务相关的 import | 31 | // 业务相关的 import |
| 36 | import { allSchemas } from './loginLog.data' | 32 | import { allSchemas } from './loginLog.data' |
| 37 | import { getLoginLogPageApi, exportLoginLogApi, LoginLogVO } from '@/api/system/loginLog' | 33 | import { getLoginLogPageApi, exportLoginLogApi, LoginLogVO } from '@/api/system/loginLog' |
yudao-ui-admin-vue3/src/views/system/loginlog/loginLog.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 3 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 4 | 2 | ||
| 5 | // CrudSchema | 3 | // CrudSchema |
| 6 | const crudSchemas = reactive<VxeCrudSchema>({ | 4 | const crudSchemas = reactive<VxeCrudSchema>({ |
yudao-ui-admin-vue3/src/views/system/menu/index.vue
| @@ -175,32 +175,14 @@ | @@ -175,32 +175,14 @@ | ||
| 175 | </XModal> | 175 | </XModal> |
| 176 | </template> | 176 | </template> |
| 177 | <script setup lang="ts" name="Menu"> | 177 | <script setup lang="ts" name="Menu"> |
| 178 | -// 全局相关的 import | ||
| 179 | -import { ref } from 'vue' | ||
| 180 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 181 | import { CACHE_KEY, useCache } from '@/hooks/web/useCache' | 178 | import { CACHE_KEY, useCache } from '@/hooks/web/useCache' |
| 182 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 183 | -import { | ||
| 184 | - ElCol, | ||
| 185 | - ElForm, | ||
| 186 | - ElFormItem, | ||
| 187 | - ElInput, | ||
| 188 | - ElInputNumber, | ||
| 189 | - ElTreeSelect, | ||
| 190 | - ElRadio, | ||
| 191 | - ElRadioGroup, | ||
| 192 | - ElRadioButton, | ||
| 193 | - FormInstance | ||
| 194 | -} from 'element-plus' | ||
| 195 | -import { Tooltip } from '@/components/Tooltip' | ||
| 196 | -import { IconSelect } from '@/components/Icon' | 179 | +import { FormInstance } from 'element-plus' |
| 197 | // 业务相关的 import | 180 | // 业务相关的 import |
| 198 | import { DICT_TYPE, getIntDictOptions } from '@/utils/dict' | 181 | import { DICT_TYPE, getIntDictOptions } from '@/utils/dict' |
| 199 | import { SystemMenuTypeEnum, CommonStatusEnum } from '@/utils/constants' | 182 | import { SystemMenuTypeEnum, CommonStatusEnum } from '@/utils/constants' |
| 200 | import { handleTree, defaultProps } from '@/utils/tree' | 183 | import { handleTree, defaultProps } from '@/utils/tree' |
| 201 | import * as MenuApi from '@/api/system/menu' | 184 | import * as MenuApi from '@/api/system/menu' |
| 202 | import { allSchemas, rules } from './menu.data' | 185 | import { allSchemas, rules } from './menu.data' |
| 203 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 204 | 186 | ||
| 205 | const { t } = useI18n() // 国际化 | 187 | const { t } = useI18n() // 国际化 |
| 206 | const message = useMessage() // 消息弹窗 | 188 | const message = useMessage() // 消息弹窗 |
yudao-ui-admin-vue3/src/views/system/menu/menu.data.ts
| 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 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 7 | 3 | ||
| 8 | // 新增和修改的表单校验 | 4 | // 新增和修改的表单校验 |
yudao-ui-admin-vue3/src/views/system/notice/index.vue
| @@ -71,16 +71,10 @@ | @@ -71,16 +71,10 @@ | ||
| 71 | </XModal> | 71 | </XModal> |
| 72 | </template> | 72 | </template> |
| 73 | <script setup lang="ts" name="Notice"> | 73 | <script setup lang="ts" name="Notice"> |
| 74 | -// 全局相关的 import | ||
| 75 | -import { ref, unref } from 'vue' | ||
| 76 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 77 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 78 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 79 | -import { FormExpose } from '@/components/Form' | 74 | +import type { FormExpose } from '@/components/Form' |
| 80 | // 业务相关的 import | 75 | // 业务相关的 import |
| 81 | import * as NoticeApi from '@/api/system/notice' | 76 | import * as NoticeApi from '@/api/system/notice' |
| 82 | import { rules, allSchemas } from './notice.data' | 77 | import { rules, allSchemas } from './notice.data' |
| 83 | -import { Editor } from '@/components/Editor' | ||
| 84 | 78 | ||
| 85 | const { t } = useI18n() // 国际化 | 79 | const { t } = useI18n() // 国际化 |
| 86 | const message = useMessage() // 消息弹窗 | 80 | const message = useMessage() // 消息弹窗 |
yudao-ui-admin-vue3/src/views/system/notice/notice.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | -import { required } from '@/utils/formRules' | ||
| 4 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 5 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 6 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 7 | 3 | ||
| 8 | // 表单校验 | 4 | // 表单校验 |
yudao-ui-admin-vue3/src/views/system/oauth2/client/client.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | -import { required } from '@/utils/formRules' | ||
| 4 | import { DICT_TYPE, getStrDictOptions } from '@/utils/dict' | 1 | import { DICT_TYPE, getStrDictOptions } from '@/utils/dict' |
| 5 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 2 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 6 | const { t } = useI18n() // 国际化 | 3 | const { t } = useI18n() // 国际化 |
| 7 | 4 | ||
| 8 | const authorizedGrantOptions = getStrDictOptions(DICT_TYPE.SYSTEM_OAUTH2_GRANT_TYPE) | 5 | const authorizedGrantOptions = getStrDictOptions(DICT_TYPE.SYSTEM_OAUTH2_GRANT_TYPE) |
yudao-ui-admin-vue3/src/views/system/oauth2/client/index.vue
| @@ -130,13 +130,7 @@ | @@ -130,13 +130,7 @@ | ||
| 130 | </XModal> | 130 | </XModal> |
| 131 | </template> | 131 | </template> |
| 132 | <script setup lang="ts" name="Client"> | 132 | <script setup lang="ts" name="Client"> |
| 133 | -// 全局相关的 import | ||
| 134 | -import { ref, unref } from 'vue' | ||
| 135 | -import { ElTag } from 'element-plus' | ||
| 136 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 137 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 138 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 139 | -import { FormExpose } from '@/components/Form' | 133 | +import type { FormExpose } from '@/components/Form' |
| 140 | // 业务相关的 import | 134 | // 业务相关的 import |
| 141 | import * as ClientApi from '@/api/system/oauth2/client' | 135 | import * as ClientApi from '@/api/system/oauth2/client' |
| 142 | import { rules, allSchemas } from './client.data' | 136 | import { rules, allSchemas } from './client.data' |
yudao-ui-admin-vue3/src/views/system/oauth2/token/index.vue
| @@ -25,11 +25,6 @@ | @@ -25,11 +25,6 @@ | ||
| 25 | </XModal> | 25 | </XModal> |
| 26 | </template> | 26 | </template> |
| 27 | <script setup lang="ts" name="Token"> | 27 | <script setup lang="ts" name="Token"> |
| 28 | -import { ref } from 'vue' | ||
| 29 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 30 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 31 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 32 | - | ||
| 33 | import { allSchemas } from './token.data' | 28 | import { allSchemas } from './token.data' |
| 34 | import * as TokenApi from '@/api/system/oauth2/token' | 29 | import * as TokenApi from '@/api/system/oauth2/token' |
| 35 | 30 |
yudao-ui-admin-vue3/src/views/system/oauth2/token/token.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 4 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 5 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 6 | // CrudSchema | 3 | // CrudSchema |
| 7 | const crudSchemas = reactive<VxeCrudSchema>({ | 4 | const crudSchemas = reactive<VxeCrudSchema>({ |
yudao-ui-admin-vue3/src/views/system/operatelog/index.vue
| @@ -42,10 +42,6 @@ | @@ -42,10 +42,6 @@ | ||
| 42 | </XModal> | 42 | </XModal> |
| 43 | </template> | 43 | </template> |
| 44 | <script setup lang="ts" name="OperateLog"> | 44 | <script setup lang="ts" name="OperateLog"> |
| 45 | -// 全局相关的 import | ||
| 46 | -import { ref } from 'vue' | ||
| 47 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 48 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 49 | // 业务相关的 import | 45 | // 业务相关的 import |
| 50 | import * as OperateLogApi from '@/api/system/operatelog' | 46 | import * as OperateLogApi from '@/api/system/operatelog' |
| 51 | import { allSchemas } from './operatelog.data' | 47 | import { allSchemas } from './operatelog.data' |
yudao-ui-admin-vue3/src/views/system/operatelog/operatelog.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 4 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 5 | 2 | ||
| 6 | const { t } = useI18n() // 国际化 | 3 | const { t } = useI18n() // 国际化 |
| 7 | 4 |
yudao-ui-admin-vue3/src/views/system/post/index.vue
| @@ -72,12 +72,7 @@ | @@ -72,12 +72,7 @@ | ||
| 72 | </XModal> | 72 | </XModal> |
| 73 | </template> | 73 | </template> |
| 74 | <script setup lang="ts" name="Post"> | 74 | <script setup lang="ts" name="Post"> |
| 75 | -// 全局相关的 import | ||
| 76 | -import { ref, unref } from 'vue' | ||
| 77 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 78 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 79 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 80 | -import { FormExpose } from '@/components/Form' | 75 | +import type { FormExpose } from '@/components/Form' |
| 81 | // 业务相关的 import | 76 | // 业务相关的 import |
| 82 | import * as PostApi from '@/api/system/post' | 77 | import * as PostApi from '@/api/system/post' |
| 83 | import { rules, allSchemas } from './post.data' | 78 | import { rules, allSchemas } from './post.data' |
yudao-ui-admin-vue3/src/views/system/post/post.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | -import { required } from '@/utils/formRules' | ||
| 4 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 5 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 6 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 7 | 3 | ||
| 8 | // 表单校验 | 4 | // 表单校验 |
yudao-ui-admin-vue3/src/views/system/role/index.vue
| @@ -148,21 +148,8 @@ | @@ -148,21 +148,8 @@ | ||
| 148 | </XModal> | 148 | </XModal> |
| 149 | </template> | 149 | </template> |
| 150 | <script setup lang="ts" name="Role"> | 150 | <script setup lang="ts" name="Role"> |
| 151 | -import { onMounted, reactive, ref, unref } from 'vue' | ||
| 152 | -import { | ||
| 153 | - ElForm, | ||
| 154 | - ElFormItem, | ||
| 155 | - ElSelect, | ||
| 156 | - ElOption, | ||
| 157 | - ElTree, | ||
| 158 | - ElCard, | ||
| 159 | - ElSwitch, | ||
| 160 | - ElTag | ||
| 161 | -} from 'element-plus' | ||
| 162 | -import { FormExpose } from '@/components/Form' | ||
| 163 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 164 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 165 | -import { useXTable } from '@/hooks/web/useXTable' | 151 | +import type { ElTree } from 'element-plus' |
| 152 | +import type { FormExpose } from '@/components/Form' | ||
| 166 | import { handleTree, defaultProps } from '@/utils/tree' | 153 | import { handleTree, defaultProps } from '@/utils/tree' |
| 167 | import { SystemDataScopeEnum } from '@/utils/constants' | 154 | import { SystemDataScopeEnum } from '@/utils/constants' |
| 168 | import { DICT_TYPE, getIntDictOptions } from '@/utils/dict' | 155 | import { DICT_TYPE, getIntDictOptions } from '@/utils/dict' |
yudao-ui-admin-vue3/src/views/system/role/role.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | -import { required } from '@/utils/formRules' | ||
| 4 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 5 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 6 | // 国际化 | 2 | // 国际化 |
| 7 | const { t } = useI18n() | 3 | const { t } = useI18n() |
| 8 | // 表单校验 | 4 | // 表单校验 |
yudao-ui-admin-vue3/src/views/system/sensitiveWord/index.vue
| @@ -103,12 +103,7 @@ | @@ -103,12 +103,7 @@ | ||
| 103 | </XModal> | 103 | </XModal> |
| 104 | </template> | 104 | </template> |
| 105 | <script setup lang="ts" name="SensitiveWord"> | 105 | <script setup lang="ts" name="SensitiveWord"> |
| 106 | -import { onMounted, ref, unref } from 'vue' | ||
| 107 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 108 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 109 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 110 | -import { FormExpose } from '@/components/Form' | ||
| 111 | -import { ElTag, ElSelect, ElOption } from 'element-plus' | 106 | +import type { FormExpose } from '@/components/Form' |
| 112 | import * as SensitiveWordApi from '@/api/system/sensitiveWord' | 107 | import * as SensitiveWordApi from '@/api/system/sensitiveWord' |
| 113 | import { rules, allSchemas } from './sensitiveWord.data' | 108 | import { rules, allSchemas } from './sensitiveWord.data' |
| 114 | 109 |
yudao-ui-admin-vue3/src/views/system/sensitiveWord/sensitiveWord.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | -import { required } from '@/utils/formRules' | ||
| 4 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 5 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 6 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 7 | 3 | ||
| 8 | // 表单校验 | 4 | // 表单校验 |
yudao-ui-admin-vue3/src/views/system/sms/smsChannel/index.vue
| @@ -68,12 +68,7 @@ | @@ -68,12 +68,7 @@ | ||
| 68 | </XModal> | 68 | </XModal> |
| 69 | </template> | 69 | </template> |
| 70 | <script setup lang="ts" name="SmsChannel"> | 70 | <script setup lang="ts" name="SmsChannel"> |
| 71 | -// 全局相关的 import | ||
| 72 | -import { ref, unref } from 'vue' | ||
| 73 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 74 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 75 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 76 | -import { FormExpose } from '@/components/Form' | 71 | +import type { FormExpose } from '@/components/Form' |
| 77 | // 业务相关的 import | 72 | // 业务相关的 import |
| 78 | import * as SmsChannelApi from '@/api/system/sms/smsChannel' | 73 | import * as SmsChannelApi from '@/api/system/sms/smsChannel' |
| 79 | import { rules, allSchemas } from './sms.channel.data' | 74 | import { rules, allSchemas } from './sms.channel.data' |
yudao-ui-admin-vue3/src/views/system/sms/smsChannel/sms.channel.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | -import { required } from '@/utils/formRules' | ||
| 4 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 5 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 6 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 7 | 3 | ||
| 8 | // 表单校验 | 4 | // 表单校验 |
yudao-ui-admin-vue3/src/views/system/sms/smsLog/index.vue
| @@ -31,10 +31,6 @@ | @@ -31,10 +31,6 @@ | ||
| 31 | </XModal> | 31 | </XModal> |
| 32 | </template> | 32 | </template> |
| 33 | <script setup lang="ts" name="SmsLog"> | 33 | <script setup lang="ts" name="SmsLog"> |
| 34 | -// 全局相关的 import | ||
| 35 | -import { ref } from 'vue' | ||
| 36 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 37 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 38 | import { allSchemas } from './sms.log.data' | 34 | import { allSchemas } from './sms.log.data' |
| 39 | import * as SmsLoglApi from '@/api/system/sms/smsLog' | 35 | import * as SmsLoglApi from '@/api/system/sms/smsLog' |
| 40 | const { t } = useI18n() // 国际化 | 36 | const { t } = useI18n() // 国际化 |
yudao-ui-admin-vue3/src/views/system/sms/smsLog/sms.log.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 4 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 5 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 6 | 3 | ||
| 7 | // CrudSchema | 4 | // CrudSchema |
yudao-ui-admin-vue3/src/views/system/sms/smsTemplate/index.vue
| @@ -109,13 +109,7 @@ | @@ -109,13 +109,7 @@ | ||
| 109 | </XModal> | 109 | </XModal> |
| 110 | </template> | 110 | </template> |
| 111 | <script setup lang="ts" name="SmsTemplate"> | 111 | <script setup lang="ts" name="SmsTemplate"> |
| 112 | -// 全局相关的 import | ||
| 113 | -import { ref, unref } from 'vue' | ||
| 114 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 115 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 116 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 117 | -import { FormExpose } from '@/components/Form' | ||
| 118 | -import { ElForm, ElFormItem, ElInput } from 'element-plus' | 112 | +import type { FormExpose } from '@/components/Form' |
| 119 | // 业务相关的 import | 113 | // 业务相关的 import |
| 120 | import * as SmsTemplateApi from '@/api/system/sms/smsTemplate' | 114 | import * as SmsTemplateApi from '@/api/system/sms/smsTemplate' |
| 121 | import { rules, allSchemas } from './sms.template.data' | 115 | import { rules, allSchemas } from './sms.template.data' |
yudao-ui-admin-vue3/src/views/system/sms/smsTemplate/sms.template.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | -import { required } from '@/utils/formRules' | ||
| 4 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 5 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 6 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 7 | 3 | ||
| 8 | // 表单校验 | 4 | // 表单校验 |
yudao-ui-admin-vue3/src/views/system/tenant/index.vue
| @@ -86,12 +86,7 @@ | @@ -86,12 +86,7 @@ | ||
| 86 | </XModal> | 86 | </XModal> |
| 87 | </template> | 87 | </template> |
| 88 | <script setup lang="ts" name="Tenant"> | 88 | <script setup lang="ts" name="Tenant"> |
| 89 | -import { ref, unref } from 'vue' | ||
| 90 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 91 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 92 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 93 | -import { ElTag } from 'element-plus' | ||
| 94 | -import { FormExpose } from '@/components/Form' | 89 | +import type { FormExpose } from '@/components/Form' |
| 95 | import * as TenantApi from '@/api/system/tenant' | 90 | import * as TenantApi from '@/api/system/tenant' |
| 96 | import { rules, allSchemas, tenantPackageOption } from './tenant.data' | 91 | import { rules, allSchemas, tenantPackageOption } from './tenant.data' |
| 97 | 92 |
yudao-ui-admin-vue3/src/views/system/tenant/tenant.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 3 | -import { required } from '@/utils/formRules' | ||
| 4 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 5 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 6 | import { getTenantPackageList, TenantPackageVO } from '@/api/system/tenantPackage' | 2 | import { getTenantPackageList, TenantPackageVO } from '@/api/system/tenantPackage' |
| 7 | import { ComponentOptions } from '@/types/components' | 3 | import { ComponentOptions } from '@/types/components' |
| 4 | + | ||
| 8 | const { t } = useI18n() // 国际化 | 5 | const { t } = useI18n() // 国际化 |
| 6 | + | ||
| 9 | export const tenantPackageOption: ComponentOptions[] = [] | 7 | export const tenantPackageOption: ComponentOptions[] = [] |
| 10 | const getTenantPackageOptions = async () => { | 8 | const getTenantPackageOptions = async () => { |
| 11 | const res = await getTenantPackageList() | 9 | const res = await getTenantPackageList() |
yudao-ui-admin-vue3/src/views/system/tenantPackage/index.vue
| @@ -65,13 +65,9 @@ | @@ -65,13 +65,9 @@ | ||
| 65 | </XModal> | 65 | </XModal> |
| 66 | </template> | 66 | </template> |
| 67 | <script setup lang="ts" name="TenantPackage"> | 67 | <script setup lang="ts" name="TenantPackage"> |
| 68 | -import { onMounted, ref, unref } from 'vue' | ||
| 69 | import { handleTree, defaultProps } from '@/utils/tree' | 68 | import { handleTree, defaultProps } from '@/utils/tree' |
| 70 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 71 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 72 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 73 | -import { FormExpose } from '@/components/Form' | ||
| 74 | -import { ElCard, ElSwitch, ElTree } from 'element-plus' | 69 | +import type { FormExpose } from '@/components/Form' |
| 70 | +import type { ElTree } from 'element-plus' | ||
| 75 | // 业务相关的 import | 71 | // 业务相关的 import |
| 76 | import { rules, allSchemas } from './tenantPackage.data' | 72 | import { rules, allSchemas } from './tenantPackage.data' |
| 77 | import * as TenantPackageApi from '@/api/system/tenantPackage' | 73 | import * as TenantPackageApi from '@/api/system/tenantPackage' |
yudao-ui-admin-vue3/src/views/system/tenantPackage/tenantPackage.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { required } from '@/utils/formRules' | ||
| 3 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 4 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 5 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 6 | const { t } = useI18n() // 国际化 | 2 | const { t } = useI18n() // 国际化 |
| 7 | 3 | ||
| 8 | // 表单校验 | 4 | // 表单校验 |
yudao-ui-admin-vue3/src/views/system/user/index.vue
| @@ -261,36 +261,12 @@ | @@ -261,36 +261,12 @@ | ||
| 261 | </XModal> | 261 | </XModal> |
| 262 | </template> | 262 | </template> |
| 263 | <script setup lang="ts" name="User"> | 263 | <script setup lang="ts" name="User"> |
| 264 | -import { nextTick, onMounted, reactive, ref, unref, watch } from 'vue' | ||
| 265 | -import { | ||
| 266 | - ElTag, | ||
| 267 | - ElInput, | ||
| 268 | - ElCard, | ||
| 269 | - ElTree, | ||
| 270 | - ElTreeSelect, | ||
| 271 | - ElSelect, | ||
| 272 | - ElOption, | ||
| 273 | - ElTransfer, | ||
| 274 | - ElForm, | ||
| 275 | - ElFormItem, | ||
| 276 | - ElUpload, | ||
| 277 | - ElSwitch, | ||
| 278 | - ElCheckbox, | ||
| 279 | - ElDropdown, | ||
| 280 | - ElDropdownMenu, | ||
| 281 | - ElDropdownItem, | ||
| 282 | - UploadInstance, | ||
| 283 | - UploadRawFile | ||
| 284 | -} from 'element-plus' | ||
| 285 | -import { useRouter } from 'vue-router' | 264 | +import type { ElTree, UploadRawFile, UploadInstance } from 'element-plus' |
| 286 | import { handleTree, defaultProps } from '@/utils/tree' | 265 | import { handleTree, defaultProps } from '@/utils/tree' |
| 287 | import download from '@/utils/download' | 266 | import download from '@/utils/download' |
| 288 | import { CommonStatusEnum } from '@/utils/constants' | 267 | import { CommonStatusEnum } from '@/utils/constants' |
| 289 | import { getAccessToken, getTenantId } from '@/utils/auth' | 268 | import { getAccessToken, getTenantId } from '@/utils/auth' |
| 290 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 291 | -import { useMessage } from '@/hooks/web/useMessage' | ||
| 292 | -import { useXTable } from '@/hooks/web/useXTable' | ||
| 293 | -import { FormExpose } from '@/components/Form' | 269 | +import type { FormExpose } from '@/components/Form' |
| 294 | import { rules, allSchemas } from './user.data' | 270 | import { rules, allSchemas } from './user.data' |
| 295 | import * as UserApi from '@/api/system/user' | 271 | import * as UserApi from '@/api/system/user' |
| 296 | import { listSimpleDeptApi } from '@/api/system/dept' | 272 | import { listSimpleDeptApi } from '@/api/system/dept' |
yudao-ui-admin-vue3/src/views/system/user/user.data.ts
| 1 | -import { reactive } from 'vue' | ||
| 2 | -import { required } from '@/utils/formRules' | ||
| 3 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 4 | -import { DICT_TYPE } from '@/utils/dict' | ||
| 5 | -import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas' | 1 | +import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' |
| 6 | // 国际化 | 2 | // 国际化 |
| 7 | const { t } = useI18n() | 3 | const { t } = useI18n() |
| 8 | // 表单校验 | 4 | // 表单校验 |
yudao-ui-admin-vue3/src/views/visualization/jmreport/index.vue
| @@ -4,8 +4,6 @@ | @@ -4,8 +4,6 @@ | ||
| 4 | </ContentWrap> | 4 | </ContentWrap> |
| 5 | </template> | 5 | </template> |
| 6 | <script setup lang="ts" name="Jmreport"> | 6 | <script setup lang="ts" name="Jmreport"> |
| 7 | -import { ref } from 'vue' | ||
| 8 | -import { IFrame } from '@/components/IFrame' | ||
| 9 | import { getAccessToken } from '@/utils/auth' | 7 | import { getAccessToken } from '@/utils/auth' |
| 10 | 8 | ||
| 11 | const BASE_URL = import.meta.env.VITE_BASE_URL | 9 | const BASE_URL = import.meta.env.VITE_BASE_URL |
yudao-ui-admin-vue3/tsconfig.json
| @@ -33,6 +33,11 @@ | @@ -33,6 +33,11 @@ | ||
| 33 | ], | 33 | ], |
| 34 | "typeRoots": ["./node_modules/@types/", "./types"] | 34 | "typeRoots": ["./node_modules/@types/", "./types"] |
| 35 | }, | 35 | }, |
| 36 | - "include": ["src/**/*", "types/**/*.d.ts"], | 36 | + "include": [ |
| 37 | + "src/**/*", | ||
| 38 | + "types/**/*.d.ts", | ||
| 39 | + "src/types/auto-imports.d.ts", | ||
| 40 | + "src/types/auto-components.d.ts" | ||
| 41 | + ], | ||
| 37 | "exclude": ["dist", "node_modules"] | 42 | "exclude": ["dist", "node_modules"] |
| 38 | } | 43 | } |
yudao-ui-admin-vue3/use.md
| @@ -25,7 +25,6 @@ | @@ -25,7 +25,6 @@ | ||
| 25 | - 本框架集成了国际化,不需要的话可以自己想办法移除,使用方法如下 | 25 | - 本框架集成了国际化,不需要的话可以自己想办法移除,使用方法如下 |
| 26 | 26 | ||
| 27 | ```bash | 27 | ```bash |
| 28 | -import { useI18n } from '@/hooks/web/useI18n' | ||
| 29 | const { t } = useI18n() | 28 | const { t } = useI18n() |
| 30 | t('common.createTime') | 29 | t('common.createTime') |
| 31 | 并在src/locales 增加相应的中英文 | 30 | 并在src/locales 增加相应的中英文 |