From 0e3ee9cdc48293ac9654963d34047c21b709cea9 Mon Sep 17 00:00:00 2001 From: zhaojinfeng <121016171@qq.com> Date: Wed, 21 Jun 2023 17:54:57 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E5=BC=80=E5=8F=91=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 17 ++-- types/auto-imports.d.ts | 74 +++++++++++++++- types/components.d.ts | 61 ++++++++++++++ vite.config.ts | 100 ++++++++++++++++++++-- yarn.lock | 181 +++++++++++++++------------------------- 5 files changed, 301 insertions(+), 132 deletions(-) diff --git a/package.json b/package.json index eddf43e..c54cca4 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { - "name": "@thzxcx/vue3", + "name": "@thzxcx/uni", "version": "0.0.0", "license": "MIT", "repository": { "type": "git", - "url": "https://gitea.thzxcx.com/thzxcx/vue3.git" + "url": "https://gitea.thzxcx.com/thzxcx/uni.git" }, "keywords": [ "天衡咨询创新", @@ -12,6 +12,7 @@ "thzxcx", "components", "vue3", + "uni", "天衡" ], "main": "lib/index.js", @@ -23,7 +24,7 @@ "until" ], "scripts": { - "dev": "vite", + "dev": "storybook dev -p 6006", "lint": "eslint .", "lint:fix": "eslint . --fix", "build": "run-p build:lib build:dts build:storybook", @@ -32,8 +33,6 @@ "build:storybook": "storybook build -s static", "preview": "vite preview --outDir storybook-static", "gen": "node --loader ts-node/esm ./bin/gen.ts", - "storybook": "storybook dev -p 6006", - "storybook:help": "storybook build -h", "prepare": "is-ci || husky install" }, "dependencies": { @@ -43,6 +42,9 @@ "@antfu/eslint-config": "^0.39.5", "@commitlint/cli": "^17.6.5", "@commitlint/config-conventional": "^17.6.5", + "@dcloudio/types": "^3.3.3", + "@dcloudio/uni-i18n": "^2.0.2-3080420230530001", + "@dcloudio/uni-ui": "^1.4.28", "@storybook/addon-essentials": "^7.0.20", "@storybook/addon-interactions": "^7.0.20", "@storybook/addon-links": "^7.0.20", @@ -55,6 +57,10 @@ "@types/ejs": "^3.1.2", "@types/fs-extra": "^11.0.1", "@types/node": "^20.3.1", + "@uni-helper/uni-app-types": "^0.5.8", + "@uni-helper/uni-cloud-types": "^0.5.2", + "@uni-helper/uni-ui-types": "^0.5.10", + "@uni-helper/vite-plugin-uni-components": "^0.0.6", "@vitejs/plugin-vue": "^4.1.0", "@vitejs/plugin-vue-jsx": "^3.0.1", "@vue/tsconfig": "^0.4.0", @@ -63,7 +69,6 @@ "co-prompt": "^1.0.0", "consola": "^3.1.0", "ejs": "^3.1.9", - "element-plus": "^2.3.6", "eslint": "^8.43.0", "fast-glob": "^3.2.12", "fs-extra": "^11.1.1", diff --git a/types/auto-imports.d.ts b/types/auto-imports.d.ts index 9454ee8..53bca8d 100644 --- a/types/auto-imports.d.ts +++ b/types/auto-imports.d.ts @@ -54,6 +54,8 @@ declare global { const markRaw: typeof import('vue')['markRaw'] const nextTick: typeof import('vue')['nextTick'] const onActivated: typeof import('vue')['onActivated'] + const onAddToFavorites: typeof import('@dcloudio/uni-app')['onAddToFavorites'] + const onBackPress: typeof import('@dcloudio/uni-app')['onBackPress'] const onBeforeMount: typeof import('vue')['onBeforeMount'] const onBeforeRouteLeave: typeof import('vue-router')['onBeforeRouteLeave'] const onBeforeRouteUpdate: typeof import('vue-router')['onBeforeRouteUpdate'] @@ -61,15 +63,37 @@ declare global { const onBeforeUpdate: typeof import('vue')['onBeforeUpdate'] const onClickOutside: typeof import('@vueuse/core')['onClickOutside'] const onDeactivated: typeof import('vue')['onDeactivated'] + const onError: typeof import('@dcloudio/uni-app')['onError'] const onErrorCaptured: typeof import('vue')['onErrorCaptured'] + const onHide: typeof import('@dcloudio/uni-app')['onHide'] const onKeyStroke: typeof import('@vueuse/core')['onKeyStroke'] + const onLaunch: typeof import('@dcloudio/uni-app')['onLaunch'] + const onLoad: typeof import('@dcloudio/uni-app')['onLoad'] const onLongPress: typeof import('@vueuse/core')['onLongPress'] const onMounted: typeof import('vue')['onMounted'] + const onNavigationBarButtonTap: typeof import('@dcloudio/uni-app')['onNavigationBarButtonTap'] + const onNavigationBarSearchInputChanged: typeof import('@dcloudio/uni-app')['onNavigationBarSearchInputChanged'] + const onNavigationBarSearchInputClicked: typeof import('@dcloudio/uni-app')['onNavigationBarSearchInputClicked'] + const onNavigationBarSearchInputConfirmed: typeof import('@dcloudio/uni-app')['onNavigationBarSearchInputConfirmed'] + const onNavigationBarSearchInputFocusChanged: typeof import('@dcloudio/uni-app')['onNavigationBarSearchInputFocusChanged'] + const onPageNotFound: typeof import('@dcloudio/uni-app')['onPageNotFound'] + const onPageScroll: typeof import('@dcloudio/uni-app')['onPageScroll'] + const onPullDownRefresh: typeof import('@dcloudio/uni-app')['onPullDownRefresh'] + const onReachBottom: typeof import('@dcloudio/uni-app')['onReachBottom'] + const onReady: typeof import('@dcloudio/uni-app')['onReady'] const onRenderTracked: typeof import('vue')['onRenderTracked'] const onRenderTriggered: typeof import('vue')['onRenderTriggered'] + const onResize: typeof import('@dcloudio/uni-app')['onResize'] const onScopeDispose: typeof import('vue')['onScopeDispose'] const onServerPrefetch: typeof import('vue')['onServerPrefetch'] + const onShareAppMessage: typeof import('@dcloudio/uni-app')['onShareAppMessage'] + const onShareTimeline: typeof import('@dcloudio/uni-app')['onShareTimeline'] + const onShow: typeof import('@dcloudio/uni-app')['onShow'] const onStartTyping: typeof import('@vueuse/core')['onStartTyping'] + const onTabItemTap: typeof import('@dcloudio/uni-app')['onTabItemTap'] + const onThemeChange: typeof import('@dcloudio/uni-app')['onThemeChange'] + const onUnhandledRejection: typeof import('@dcloudio/uni-app')['onUnhandledRejection'] + const onUnload: typeof import('@dcloudio/uni-app')['onUnload'] const onUnmounted: typeof import('vue')['onUnmounted'] const onUpdated: typeof import('vue')['onUpdated'] const pausableWatch: typeof import('@vueuse/core')['pausableWatch'] @@ -326,7 +350,6 @@ declare module 'vue' { readonly createUnrefFn: UnwrapRef readonly createVNode: UnwrapRef readonly customRef: UnwrapRef - readonly dayjs: UnwrapRef readonly debouncedRef: UnwrapRef readonly debouncedWatch: UnwrapRef readonly defineAsyncComponent: UnwrapRef @@ -348,6 +371,8 @@ declare module 'vue' { readonly markRaw: UnwrapRef readonly nextTick: UnwrapRef readonly onActivated: UnwrapRef + readonly onAddToFavorites: UnwrapRef + readonly onBackPress: UnwrapRef readonly onBeforeMount: UnwrapRef readonly onBeforeRouteLeave: UnwrapRef readonly onBeforeRouteUpdate: UnwrapRef @@ -355,15 +380,37 @@ declare module 'vue' { readonly onBeforeUpdate: UnwrapRef readonly onClickOutside: UnwrapRef readonly onDeactivated: UnwrapRef + readonly onError: UnwrapRef readonly onErrorCaptured: UnwrapRef + readonly onHide: UnwrapRef readonly onKeyStroke: UnwrapRef + readonly onLaunch: UnwrapRef + readonly onLoad: UnwrapRef readonly onLongPress: UnwrapRef readonly onMounted: UnwrapRef + readonly onNavigationBarButtonTap: UnwrapRef + readonly onNavigationBarSearchInputChanged: UnwrapRef + readonly onNavigationBarSearchInputClicked: UnwrapRef + readonly onNavigationBarSearchInputConfirmed: UnwrapRef + readonly onNavigationBarSearchInputFocusChanged: UnwrapRef + readonly onPageNotFound: UnwrapRef + readonly onPageScroll: UnwrapRef + readonly onPullDownRefresh: UnwrapRef + readonly onReachBottom: UnwrapRef + readonly onReady: UnwrapRef readonly onRenderTracked: UnwrapRef readonly onRenderTriggered: UnwrapRef + readonly onResize: UnwrapRef readonly onScopeDispose: UnwrapRef readonly onServerPrefetch: UnwrapRef + readonly onShareAppMessage: UnwrapRef + readonly onShareTimeline: UnwrapRef + readonly onShow: UnwrapRef readonly onStartTyping: UnwrapRef + readonly onTabItemTap: UnwrapRef + readonly onThemeChange: UnwrapRef + readonly onUnhandledRejection: UnwrapRef + readonly onUnload: UnwrapRef readonly onUnmounted: UnwrapRef readonly onUpdated: UnwrapRef readonly pausableWatch: UnwrapRef @@ -614,7 +661,6 @@ declare module '@vue/runtime-core' { readonly createUnrefFn: UnwrapRef readonly createVNode: UnwrapRef readonly customRef: UnwrapRef - readonly dayjs: UnwrapRef readonly debouncedRef: UnwrapRef readonly debouncedWatch: UnwrapRef readonly defineAsyncComponent: UnwrapRef @@ -636,6 +682,8 @@ declare module '@vue/runtime-core' { readonly markRaw: UnwrapRef readonly nextTick: UnwrapRef readonly onActivated: UnwrapRef + readonly onAddToFavorites: UnwrapRef + readonly onBackPress: UnwrapRef readonly onBeforeMount: UnwrapRef readonly onBeforeRouteLeave: UnwrapRef readonly onBeforeRouteUpdate: UnwrapRef @@ -643,15 +691,37 @@ declare module '@vue/runtime-core' { readonly onBeforeUpdate: UnwrapRef readonly onClickOutside: UnwrapRef readonly onDeactivated: UnwrapRef + readonly onError: UnwrapRef readonly onErrorCaptured: UnwrapRef + readonly onHide: UnwrapRef readonly onKeyStroke: UnwrapRef + readonly onLaunch: UnwrapRef + readonly onLoad: UnwrapRef readonly onLongPress: UnwrapRef readonly onMounted: UnwrapRef + readonly onNavigationBarButtonTap: UnwrapRef + readonly onNavigationBarSearchInputChanged: UnwrapRef + readonly onNavigationBarSearchInputClicked: UnwrapRef + readonly onNavigationBarSearchInputConfirmed: UnwrapRef + readonly onNavigationBarSearchInputFocusChanged: UnwrapRef + readonly onPageNotFound: UnwrapRef + readonly onPageScroll: UnwrapRef + readonly onPullDownRefresh: UnwrapRef + readonly onReachBottom: UnwrapRef + readonly onReady: UnwrapRef readonly onRenderTracked: UnwrapRef readonly onRenderTriggered: UnwrapRef + readonly onResize: UnwrapRef readonly onScopeDispose: UnwrapRef readonly onServerPrefetch: UnwrapRef + readonly onShareAppMessage: UnwrapRef + readonly onShareTimeline: UnwrapRef + readonly onShow: UnwrapRef readonly onStartTyping: UnwrapRef + readonly onTabItemTap: UnwrapRef + readonly onThemeChange: UnwrapRef + readonly onUnhandledRejection: UnwrapRef + readonly onUnload: UnwrapRef readonly onUnmounted: UnwrapRef readonly onUpdated: UnwrapRef readonly pausableWatch: UnwrapRef diff --git a/types/components.d.ts b/types/components.d.ts index ae70f69..b8b5b2f 100644 --- a/types/components.d.ts +++ b/types/components.d.ts @@ -11,5 +11,66 @@ declare module 'vue' { Header: typeof import('./../packages/header/index.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] + Test: typeof import('./../packages/test/index.vue')['default'] + UniBadge: typeof import('@uni-helper/uni-ui-types')['UniBadge'] + UniBreadcrumb: typeof import('@uni-helper/uni-ui-types')['UniBreadcrumb'] + UniBreadcrumbItem: typeof import('@uni-helper/uni-ui-types')['UniBreadcrumbItem'] + UniCalendar: typeof import('@uni-helper/uni-ui-types')['UniCalendar'] + UniCard: typeof import('@uni-helper/uni-ui-types')['UniCard'] + UniCol: typeof import('@uni-helper/uni-ui-types')['UniCol'] + UniCollapse: typeof import('@uni-helper/uni-ui-types')['UniCollapse'] + UniCollapseItem: typeof import('@uni-helper/uni-ui-types')['UniCollapseItem'] + UniCombox: typeof import('@uni-helper/uni-ui-types')['UniCombox'] + UniCountdown: typeof import('@uni-helper/uni-ui-types')['UniCountdown'] + UniDataCheckbox: typeof import('@uni-helper/uni-ui-types')['UniDataCheckbox'] + UniDataPicker: typeof import('@uni-helper/uni-ui-types')['UniDataPicker'] + UniDataPickerView: typeof import('@uni-helper/uni-ui-types')['UniDataPickerView'] + UniDataSelect: typeof import('@uni-helper/uni-ui-types')['UniDataSelect'] + UniDateformat: typeof import('@uni-helper/uni-ui-types')['UniDateformat'] + UniDatetimePicker: typeof import('@uni-helper/uni-ui-types')['UniDatetimePicker'] + UniDrawer: typeof import('@uni-helper/uni-ui-types')['UniDrawer'] + UniEasyinput: typeof import('@uni-helper/uni-ui-types')['UniEasyinput'] + UniFab: typeof import('@uni-helper/uni-ui-types')['UniFab'] + UniFav: typeof import('@uni-helper/uni-ui-types')['UniFav'] + UniFilePicker: typeof import('@uni-helper/uni-ui-types')['UniFilePicker'] + UniForms: typeof import('@uni-helper/uni-ui-types')['UniForms'] + UniFormsItem: typeof import('@uni-helper/uni-ui-types')['UniFormsItem'] + UniGoodsNav: typeof import('@uni-helper/uni-ui-types')['UniGoodsNav'] + UniGrid: typeof import('@uni-helper/uni-ui-types')['UniGrid'] + UniGridItem: typeof import('@uni-helper/uni-ui-types')['UniGridItem'] + UniGroup: typeof import('@uni-helper/uni-ui-types')['UniGroup'] + UniIcons: typeof import('@uni-helper/uni-ui-types')['UniIcons'] + UniIndexedList: typeof import('@uni-helper/uni-ui-types')['UniIndexedList'] + UniLink: typeof import('@uni-helper/uni-ui-types')['UniLink'] + UniList: typeof import('@uni-helper/uni-ui-types')['UniList'] + UniListAd: typeof import('@uni-helper/uni-ui-types')['UniListAd'] + UniListChat: typeof import('@uni-helper/uni-ui-types')['UniListChat'] + UniListItem: typeof import('@uni-helper/uni-ui-types')['UniListItem'] + UniLoadMore: typeof import('@uni-helper/uni-ui-types')['UniLoadMore'] + UniNavBar: typeof import('@uni-helper/uni-ui-types')['UniNavBar'] + UniNoticeBar: typeof import('@uni-helper/uni-ui-types')['UniNoticeBar'] + UniNumberBox: typeof import('@uni-helper/uni-ui-types')['UniNumberBox'] + UniPagination: typeof import('@uni-helper/uni-ui-types')['UniPagination'] + UniPopup: typeof import('@uni-helper/uni-ui-types')['UniPopup'] + UniPopupDialog: typeof import('@uni-helper/uni-ui-types')['UniPopupDialog'] + UniPopupMessage: typeof import('@uni-helper/uni-ui-types')['UniPopupMessage'] + UniPopupShare: typeof import('@uni-helper/uni-ui-types')['UniPopupShare'] + UniRate: typeof import('@uni-helper/uni-ui-types')['UniRate'] + UniRow: typeof import('@uni-helper/uni-ui-types')['UniRow'] + UniSearchBar: typeof import('@uni-helper/uni-ui-types')['UniSearchBar'] + UniSection: typeof import('@uni-helper/uni-ui-types')['UniSection'] + UniSegmentedControl: typeof import('@uni-helper/uni-ui-types')['UniSegmentedControl'] + UniSteps: typeof import('@uni-helper/uni-ui-types')['UniSteps'] + UniSwipeAction: typeof import('@uni-helper/uni-ui-types')['UniSwipeAction'] + UniSwipeActionItem: typeof import('@uni-helper/uni-ui-types')['UniSwipeActionItem'] + UniSwiperDot: typeof import('@uni-helper/uni-ui-types')['UniSwiperDot'] + UniTable: typeof import('@uni-helper/uni-ui-types')['UniTable'] + UniTag: typeof import('@uni-helper/uni-ui-types')['UniTag'] + UniTd: typeof import('@uni-helper/uni-ui-types')['UniTd'] + UniTh: typeof import('@uni-helper/uni-ui-types')['UniTh'] + UniTitle: typeof import('@uni-helper/uni-ui-types')['UniTitle'] + UniTooltip: typeof import('@uni-helper/uni-ui-types')['UniTooltip'] + UniTr: typeof import('@uni-helper/uni-ui-types')['UniTr'] + UniTransition: typeof import('@uni-helper/uni-ui-types')['UniTransition'] } } diff --git a/vite.config.ts b/vite.config.ts index 8c50139..742e96d 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -2,8 +2,8 @@ * @Author: zhaojinfeng 121016171@qq.com * @Date: 2023-06-15 13:22:04 * @LastEditors: zhaojinfeng 121016171@qq.com - * @LastEditTime: 2023-06-21 11:32:48 - * @FilePath: \vue3\vite.config.ts + * @LastEditTime: 2023-06-21 17:36:45 + * @FilePath: \uni\vite.config.ts * @Description: * */ @@ -16,7 +16,18 @@ import AutoImport from 'unplugin-auto-import/vite' import eslint from 'vite-plugin-eslint' import Components from 'unplugin-vue-components/vite' import setupExtend from 'vite-plugin-vue-setup-extend' -import { ElementPlusResolver } from 'unplugin-vue-components/resolvers' + +const reg = /[A-Z]/ +function toLower(name: string) { + let lower = '' + for (let i = 0; i <= name.length - 1; i++) { + if (reg.test(name[i])) + lower += `-${name[i].toLowerCase()}` + else + lower += name[i] + } + return lower +} // https://vitejs.dev/config/ @@ -42,18 +53,15 @@ export default defineConfig({ vueJsx(), libCss({}), AutoImport({ - resolvers: [ - ElementPlusResolver(), - ], dts: 'types/auto-imports.d.ts', imports: [ 'vue', 'vue/macros', 'vue-router', + 'uni-app', '@vueuse/core', { - 'vue': ['createVNode'], - 'element-plus': ['dayjs'], + vue: ['createVNode'], }, ], vueTemplate: true, @@ -66,11 +74,85 @@ export default defineConfig({ from: 'vue-router', names: ['RouterLink', 'RouterView'], }, + { + from: '@uni-helper/uni-ui-types', + names: [ + 'UniBadge', + 'UniBreadcrumb', + 'UniBreadcrumbItem', + 'UniCalendar', + 'UniCard', + 'UniCol', + 'UniCollapse', + 'UniCollapseItem', + 'UniCombox', + 'UniCountdown', + 'UniDataCheckbox', + 'UniDataPicker', + 'UniDataSelect', + 'UniDateformat', + 'UniDatetimePicker', + 'UniDrawer', + 'UniEasyinput', + 'UniFab', + 'UniFav', + 'UniFilePicker', + 'UniForms', + 'UniFormsItem', + 'UniGoodsNav', + 'UniGrid', + 'UniGridItem', + 'UniGroup', + 'UniIcons', + 'UniIndexedList', + 'UniLink', + 'UniList', + 'UniListAd', + 'UniListChat', + 'UniListItem', + 'UniLoadMore', + 'UniNavBar', + 'UniNoticeBar', + 'UniNumberBox', + 'UniPagination', + 'UniPopup', + 'UniPopupDialog', + 'UniPopupMessage', + 'UniPopupShare', + 'UniRate', + 'UniRow', + 'UniSearchBar', + 'UniSection', + 'UniSegmentedControl', + 'UniSteps', + 'UniSwipeAction', + 'UniSwipeActionItem', + 'UniSwiperDot', + 'UniTable', + 'UniTag', + 'UniTd', + 'UniTh', + 'UniTitle', + 'UniTooltip', + 'UniTr', + 'UniTransition', + ], + }, ], directoryAsNamespace: true, resolvers: [ - ElementPlusResolver(), + function (name) { + if (name.startsWith('Uni')) { + const componentName = toLower(name.slice(3)) + return { + name: 'default', + as: name, + from: `@dcloudio/uni-ui/lib/uni${componentName}/uni${componentName}.vue`, + } + } + }, ], + }), setupExtend(), eslint(), diff --git a/yarn.lock b/yarn.lock index 0645e03..c487695 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1562,21 +1562,26 @@ dependencies: "@jridgewell/trace-mapping" "0.3.9" -"@ctrl/tinycolor@^3.4.1": - version "3.6.0" - resolved "https://registry.npmmirror.com/@ctrl/tinycolor/-/tinycolor-3.6.0.tgz#53fa5fe9c34faee89469e48f91d51a3766108bc8" - integrity sha512-/Z3l6pXthq0JvMYdUFyX9j0MaCltlIn6mfh9jLyQwg5aPKxkyNa0PTHtU1AlFXLNk55ZuAeJRcpvq+tmLfKmaQ== +"@dcloudio/types@^3.3.3": + version "3.3.3" + resolved "https://registry.npmmirror.com/@dcloudio/types/-/types-3.3.3.tgz#2a0bebcd970a7d26a2c3f7365c21e070de66abca" + integrity sha512-xfp88QOJ2fgCzv49HhEGrX0L+3xDsCyyvcoApL7z0J1Lr7tqPUkxqAVBe9zBlKsDX/mO9mNj7NzKIisHfp+fNQ== + +"@dcloudio/uni-i18n@^2.0.2-3080420230530001": + version "2.0.2-3080420230530001" + resolved "https://registry.npmmirror.com/@dcloudio/uni-i18n/-/uni-i18n-2.0.2-3080420230530001.tgz#8a4d376f007776769492c35b58de1961a1d2c21f" + integrity sha512-ggC5VV/TeqoftVi7aPBe4lF9/XEIowMUjuziLoAdv9B/4M4JyYYBmCyJIefy9id8RPZEu+/EVLYWWXulXOR/Uw== + +"@dcloudio/uni-ui@^1.4.28": + version "1.4.28" + resolved "https://registry.npmmirror.com/@dcloudio/uni-ui/-/uni-ui-1.4.28.tgz#557a84b53722937126aff72d1ab4b56741d11937" + integrity sha512-e/lSbvR79KH9+d3D4ueNbvD6szigjO/5IyjBNmiTqaj0PTS324fBV3L6f3s1qpkYonM4rdOl000hVOcAg6Gh/A== "@discoveryjs/json-ext@^0.5.3": version "0.5.7" resolved "https://registry.npmmirror.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70" integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw== -"@element-plus/icons-vue@^2.0.6": - version "2.1.0" - resolved "https://registry.npmmirror.com/@element-plus/icons-vue/-/icons-vue-2.1.0.tgz#7ad90d08a8c0d5fd3af31c4f73264ca89614397a" - integrity sha512-PSBn3elNoanENc1vnCfh+3WA9fimRC7n+fWkf3rE5jvv+aBohNHABC/KAR5KWPecxWxDTVT1ERpRbOMRcOV/vA== - "@emotion/use-insertion-effect-with-fallbacks@^1.0.0": version "1.0.1" resolved "https://registry.npmmirror.com/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.1.tgz#08de79f54eb3406f9daaf77c76e35313da963963" @@ -1729,18 +1734,6 @@ resolved "https://registry.npmmirror.com/@fal-works/esbuild-plugin-global-externals/-/esbuild-plugin-global-externals-2.1.2.tgz#c05ed35ad82df8e6ac616c68b92c2282bd083ba4" integrity sha512-cEee/Z+I12mZcFJshKcCqC8tuX5hG3s+d+9nZ3LabqKF1vKdF41B92pJVCBggjAGORAeOzyyDDKrZwIkLffeOQ== -"@floating-ui/core@^1.3.1": - version "1.3.1" - resolved "https://registry.npmmirror.com/@floating-ui/core/-/core-1.3.1.tgz#4d795b649cc3b1cbb760d191c80dcb4353c9a366" - integrity sha512-Bu+AMaXNjrpjh41znzHqaz3r2Nr8hHuHZT6V2LBKMhyMl0FgKA62PNYbqnfgmzOhoWZj70Zecisbo4H1rotP5g== - -"@floating-ui/dom@^1.0.1": - version "1.4.1" - resolved "https://registry.npmmirror.com/@floating-ui/dom/-/dom-1.4.1.tgz#3dff8b1b429e60d36ce03281a1cc3cd923a8e7fa" - integrity sha512-loCXUOLzIC3jp50RFOKXZ/kQjjz26ryr/23M+FWG9jrmAv8lRf3DUfC2AiVZ3+K316GOhB08CR+Povwz8e9mDw== - dependencies: - "@floating-ui/core" "^1.3.1" - "@humanwhocodes/config-array@^0.11.10": version "0.11.10" resolved "https://registry.npmmirror.com/@humanwhocodes/config-array/-/config-array-0.11.10.tgz#5a3ffe32cc9306365fb3fd572596cd602d5e12d2" @@ -1984,11 +1977,6 @@ resolved "https://registry.npmmirror.com/@polka/url/-/url-1.0.0-next.21.tgz#5de5a2385a35309427f6011992b544514d559aa1" integrity sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g== -"@popperjs/core@npm:@sxzz/popperjs-es@^2.11.7": - version "2.11.7" - resolved "https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz#a7f69e3665d3da9b115f9e71671dae1b97e13671" - integrity sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ== - "@rollup/pluginutils@^4.2.1": version "4.2.1" resolved "https://registry.npmmirror.com/@rollup/pluginutils/-/pluginutils-4.2.1.tgz#e6c6c3aba0744edce3fb2074922d3776c0af2a6d" @@ -2978,14 +2966,7 @@ dependencies: "@types/node" "*" -"@types/lodash-es@^4.17.6": - version "4.17.7" - resolved "https://registry.npmmirror.com/@types/lodash-es/-/lodash-es-4.17.7.tgz#22edcae9f44aff08546e71db8925f05b33c7cc40" - integrity sha512-z0ptr6UI10VlU6l5MYhGwS4mC8DZyYer2mCoyysZtSF7p26zOX8UpbrV0YpNYLGS8K4PUFIyEr62IMFFjveSiQ== - dependencies: - "@types/lodash" "*" - -"@types/lodash@*", "@types/lodash@^4.14.167", "@types/lodash@^4.14.182": +"@types/lodash@^4.14.167": version "4.14.195" resolved "https://registry.npmmirror.com/@types/lodash/-/lodash-4.14.195.tgz#bafc975b252eb6cea78882ce8a7b6bf22a6de632" integrity sha512-Hwx9EUgdwf2GLarOjQp5ZH8ZmblzcbTBC2wtQWNKARBSxM9ezRIAUpeDTgoQRAFB0+8CNWXVA9+MaSOzOF3nPg== @@ -3115,11 +3096,6 @@ resolved "https://registry.npmmirror.com/@types/unist/-/unist-2.0.6.tgz#250a7b16c3b91f672a24552ec64678eeb1d3a08d" integrity sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ== -"@types/web-bluetooth@^0.0.16": - version "0.0.16" - resolved "https://registry.npmmirror.com/@types/web-bluetooth/-/web-bluetooth-0.0.16.tgz#1d12873a8e49567371f2a75fe3e7f7edca6662d8" - integrity sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ== - "@types/web-bluetooth@^0.0.17": version "0.0.17" resolved "https://registry.npmmirror.com/@types/web-bluetooth/-/web-bluetooth-0.0.17.tgz#5c9f3c617f64a9735d7b72a7cc671e166d900c40" @@ -3228,6 +3204,47 @@ "@typescript-eslint/types" "5.60.0" eslint-visitor-keys "^3.3.0" +"@uni-helper/uni-app-types@^0.5.5", "@uni-helper/uni-app-types@^0.5.7", "@uni-helper/uni-app-types@^0.5.8": + version "0.5.8" + resolved "https://registry.npmmirror.com/@uni-helper/uni-app-types/-/uni-app-types-0.5.8.tgz#b3a0eee4ac9f6ade51a47fd1b853b270370002c9" + integrity sha512-iB2JG6ygBjGcUvSAKpuxrK8JfPBYuLXf3p8fMTM3Mtwoi+VvcyU4hJJwbndX3mqqVJw/lGpsOlPIBozp8NZ3Cg== + dependencies: + "@dcloudio/types" "^3.3.3" + vue3 "npm:vue@^3.3.2" + +"@uni-helper/uni-cloud-types@^0.5.2": + version "0.5.2" + resolved "https://registry.npmmirror.com/@uni-helper/uni-cloud-types/-/uni-cloud-types-0.5.2.tgz#a69a5ab7687ba34ee757091125b29fed3c61a386" + integrity sha512-DnzYI4CYzBxSqDqjT9RK/lFK19igKTrqAKeXSGd2lgaE1bC+gg2DvBSNWtjGbZw24oReNeXxaQVx6f5iOjxw/Q== + dependencies: + "@dcloudio/types" "^3.3.3" + "@uni-helper/uni-app-types" "^0.5.5" + vue3 "npm:vue@^3.2.47" + +"@uni-helper/uni-ui-types@^0.5.10": + version "0.5.10" + resolved "https://registry.npmmirror.com/@uni-helper/uni-ui-types/-/uni-ui-types-0.5.10.tgz#15d7f3b428dae3f7125752037785b13e22a7a2ff" + integrity sha512-7DaAPncYHWHn6D6rhp1HzIH4CiMB1b2DIRKmtempH+KbptvfBpj3m7yVvOTF+UGcjkD63ab45/vzGEyG1hXYfg== + dependencies: + "@dcloudio/types" "^3.3.3" + "@uni-helper/uni-app-types" "^0.5.7" + vue3 "npm:vue@^3.2.47" + +"@uni-helper/vite-plugin-uni-components@^0.0.6": + version "0.0.6" + resolved "https://registry.npmmirror.com/@uni-helper/vite-plugin-uni-components/-/vite-plugin-uni-components-0.0.6.tgz#b665c19fdea39fbd6d868acd002771d3dadbcfc4" + integrity sha512-MNlEMfiGXPtsgiGTbvwljs1dFXKxcuY5meCEOuyejPIJ47eQf35vV8d7U5nRKsdAYX9lcn7ZYL0EXfgaMnLKug== + dependencies: + "@antfu/utils" "^0.7.2" + "@rollup/pluginutils" "^5.0.2" + chokidar "^3.5.3" + debug "^4.3.4" + fast-glob "^3.2.12" + local-pkg "^0.4.3" + magic-string "^0.30.0" + minimatch "^8.0.3" + resolve "^1.22.2" + "@unocss/astro@0.53.1": version "0.53.1" resolved "https://registry.npmmirror.com/@unocss/astro/-/astro-0.53.1.tgz#0cde5363ef6029a1de6a70d85f81b99709d3a126" @@ -3610,26 +3627,11 @@ "@vueuse/shared" "10.2.0" vue-demi ">=0.14.5" -"@vueuse/core@^9.1.0": - version "9.13.0" - resolved "https://registry.npmmirror.com/@vueuse/core/-/core-9.13.0.tgz#2f69e66d1905c1e4eebc249a01759cf88ea00cf4" - integrity sha512-pujnclbeHWxxPRqXWmdkKV5OX4Wk4YeK7wusHqRwU0Q7EFusHoqNA/aPhB6KCh9hEqJkLAJo7bb0Lh9b+OIVzw== - dependencies: - "@types/web-bluetooth" "^0.0.16" - "@vueuse/metadata" "9.13.0" - "@vueuse/shared" "9.13.0" - vue-demi "*" - "@vueuse/metadata@10.2.0": version "10.2.0" resolved "https://registry.npmmirror.com/@vueuse/metadata/-/metadata-10.2.0.tgz#a026425972786b83f5db6588d8252df42e07c247" integrity sha512-IR7Mkq6QSgZ38q/2ZzOt+Zz1OpcEsnwE64WBumDQ+RGKrosFCtUA2zgRrOqDEzPBXrVB+4HhFkwDjQMu0fDBKw== -"@vueuse/metadata@9.13.0": - version "9.13.0" - resolved "https://registry.npmmirror.com/@vueuse/metadata/-/metadata-9.13.0.tgz#bc25a6cdad1b1a93c36ce30191124da6520539ff" - integrity sha512-gdU7TKNAUVlXXLbaF+ZCfte8BjRJQWPCa2J55+7/h+yDtzw3vOoGQDRXzI6pyKyo6bXFT5/QoPE4hAknExjRLQ== - "@vueuse/shared@10.2.0": version "10.2.0" resolved "https://registry.npmmirror.com/@vueuse/shared/-/shared-10.2.0.tgz#9309b8e1ed660e24643482065ef0e59d223c3f69" @@ -3637,13 +3639,6 @@ dependencies: vue-demi ">=0.14.5" -"@vueuse/shared@9.13.0": - version "9.13.0" - resolved "https://registry.npmmirror.com/@vueuse/shared/-/shared-9.13.0.tgz#089ff4cc4e2e7a4015e57a8f32e4b39d096353b9" - integrity sha512-UrnhU+Cnufu4S6JLCPZnkWh0WwZGUp72ktOF2DFptMlOs3TOdVv8xJN53zhHGARmVOsz5KqOls09+J1NR6sBKw== - dependencies: - vue-demi "*" - "@yarnpkg/esbuild-plugin-pnp@^3.0.0-rc.10": version "3.0.0-rc.15" resolved "https://registry.npmmirror.com/@yarnpkg/esbuild-plugin-pnp/-/esbuild-plugin-pnp-3.0.0-rc.15.tgz#4e40e7d2eb28825c9a35ab9d04c363931d7c0e67" @@ -3916,11 +3911,6 @@ async-limiter@~1.0.0: resolved "https://registry.npmmirror.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ== -async-validator@^4.2.5: - version "4.2.5" - resolved "https://registry.npmmirror.com/async-validator/-/async-validator-4.2.5.tgz#c96ea3332a521699d0afaaceed510a54656c6339" - integrity sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg== - async@^3.2.3: version "3.2.4" resolved "https://registry.npmmirror.com/async/-/async-3.2.4.tgz#2d22e00f8cddeb5fde5dd33522b56d1cf569a81c" @@ -4630,11 +4620,6 @@ dargs@^7.0.0: resolved "https://registry.npmmirror.com/dargs/-/dargs-7.0.0.tgz#04015c41de0bcb69ec84050f3d9be0caf8d6d5cc" integrity sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg== -dayjs@^1.11.3: - version "1.11.8" - resolved "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.8.tgz#4282f139c8c19dd6d0c7bd571e30c2d0ba7698ea" - integrity sha512-LcgxzFoWMEPO7ggRv1Y2N31hUf2R0Vj7fuy/m+Bg1K8rr+KAs1AEy4y9jd5DXe8pbHgX+srkHNS7TH6Q6ZhYeQ== - de-indent@^1.0.2: version "1.0.2" resolved "https://registry.npmmirror.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d" @@ -4891,27 +4876,6 @@ electron-to-chromium@^1.4.428: resolved "https://registry.npmmirror.com/electron-to-chromium/-/electron-to-chromium-1.4.431.tgz#47990d6e43465d69aa1fbd0abdec43114946edd0" integrity sha512-m232JTVmCawA2vG+1azVxhKZ9Sv1Q//xxNv5PkP5rWxGgQE8c3CiZFrh8Xnp+d1NmNxlu3QQrGIfdeW5TtXX5w== -element-plus@^2.3.6: - version "2.3.6" - resolved "https://registry.npmmirror.com/element-plus/-/element-plus-2.3.6.tgz#848f8834ed70adfbae8f4dec5303a9126d472d28" - integrity sha512-GLz0pXUYI2zRfIgyI6W7SWmHk6dSEikP9yR++hsQUyy63+WjutoiGpA3SZD4cGPSXUzRFeKfVr8CnYhK5LqXZw== - dependencies: - "@ctrl/tinycolor" "^3.4.1" - "@element-plus/icons-vue" "^2.0.6" - "@floating-ui/dom" "^1.0.1" - "@popperjs/core" "npm:@sxzz/popperjs-es@^2.11.7" - "@types/lodash" "^4.14.182" - "@types/lodash-es" "^4.17.6" - "@vueuse/core" "^9.1.0" - async-validator "^4.2.5" - dayjs "^1.11.3" - escape-html "^1.0.3" - lodash "^4.17.21" - lodash-es "^4.17.21" - lodash-unified "^1.0.2" - memoize-one "^6.0.0" - normalize-wheel-es "^1.2.0" - emoji-regex@^8.0.0: version "8.0.0" resolved "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" @@ -5066,7 +5030,7 @@ escalade@^3.1.1: resolved "https://registry.npmmirror.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== -escape-html@^1.0.3, escape-html@~1.0.3: +escape-html@~1.0.3: version "1.0.3" resolved "https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" integrity sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow== @@ -6768,16 +6732,6 @@ locate-path@^6.0.0: dependencies: p-locate "^5.0.0" -lodash-es@^4.17.21: - version "4.17.21" - resolved "https://registry.npmmirror.com/lodash-es/-/lodash-es-4.17.21.tgz#43e626c46e6591b7750beb2b50117390c609e3ee" - integrity sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw== - -lodash-unified@^1.0.2: - version "1.0.3" - resolved "https://registry.npmmirror.com/lodash-unified/-/lodash-unified-1.0.3.tgz#80b1eac10ed2eb02ed189f08614a29c27d07c894" - integrity sha512-WK9qSozxXOD7ZJQlpSqOT+om2ZfcT4yO+03FuzAHD0wF6S0l0090LRPDx3vhTTLZ8cFKpBn+IOcVXK6qOcIlfQ== - lodash.camelcase@^4.3.0: version "4.3.0" resolved "https://registry.npmmirror.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6" @@ -7000,11 +6954,6 @@ media-typer@0.3.0: resolved "https://registry.npmmirror.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" integrity sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ== -memoize-one@^6.0.0: - version "6.0.0" - resolved "https://registry.npmmirror.com/memoize-one/-/memoize-one-6.0.0.tgz#b2591b871ed82948aee4727dc6abceeeac8c1045" - integrity sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw== - memoizerific@^1.11.3: version "1.11.3" resolved "https://registry.npmmirror.com/memoizerific/-/memoizerific-1.11.3.tgz#7c87a4646444c32d75438570905f2dbd1b1a805a" @@ -7123,6 +7072,13 @@ minimatch@^7.4.3: dependencies: brace-expansion "^2.0.1" +minimatch@^8.0.3: + version "8.0.4" + resolved "https://registry.npmmirror.com/minimatch/-/minimatch-8.0.4.tgz#847c1b25c014d4e9a7f68aaf63dedd668a626229" + integrity sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA== + dependencies: + brace-expansion "^2.0.1" + minimatch@^9.0.0, minimatch@^9.0.1: version "9.0.1" resolved "https://registry.npmmirror.com/minimatch/-/minimatch-9.0.1.tgz#8a555f541cf976c622daf078bb28f29fb927c253" @@ -7315,11 +7271,6 @@ normalize-path@^3.0.0, normalize-path@~3.0.0: resolved "https://registry.npmmirror.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== -normalize-wheel-es@^1.2.0: - version "1.2.0" - resolved "https://registry.npmmirror.com/normalize-wheel-es/-/normalize-wheel-es-1.2.0.tgz#0fa2593d619f7245a541652619105ab076acf09e" - integrity sha512-Wj7+EJQ8mSuXr2iWfnujrimU35R2W4FAErEyTmJoJ7ucwTn2hOUSsRehMb5RSYkxXGTM7Y9QpvPmp++w5ftoJw== - npm-run-all@^4.1.5: version "4.1.5" resolved "https://registry.npmmirror.com/npm-run-all/-/npm-run-all-4.1.5.tgz#04476202a15ee0e2e214080861bff12a51d98fba" @@ -9419,7 +9370,7 @@ vue-component-type-helpers@^1.6.5: resolved "https://registry.npmmirror.com/vue-component-type-helpers/-/vue-component-type-helpers-1.6.5.tgz#ff6b75529063744b0966655725f3e02f30d97cd7" integrity sha512-iGdlqtajmiqed8ptURKPJ/Olz0/mwripVZszg6tygfZSIL9kYFPJTNY6+Q6OjWGznl2L06vxG5HvNvAnWrnzbg== -vue-demi@*, vue-demi@>=0.14.5: +vue-demi@>=0.14.5: version "0.14.5" resolved "https://registry.npmmirror.com/vue-demi/-/vue-demi-0.14.5.tgz#676d0463d1a1266d5ab5cba932e043d8f5f2fbd9" integrity sha512-o9NUVpl/YlsGJ7t+xuqJKx8EBGf1quRhCiT6D/J0pfwmk9zUwYkC7yrF4SZCe6fETvSM3UNL2edcbYrSyc4QHA== @@ -9483,7 +9434,7 @@ vue-tsc@^1.4.2: "@volar/vue-typescript" "1.6.5" semver "^7.3.8" -vue@^3.2.47: +"vue3@npm:vue@^3.2.47", "vue3@npm:vue@^3.3.2", vue@^3.2.47: version "3.3.4" resolved "https://registry.npmmirror.com/vue/-/vue-3.3.4.tgz#8ed945d3873667df1d0fcf3b2463ada028f88bd6" integrity sha512-VTyEYn3yvIeY1Py0WaYGZsXnz3y5UnGi62GjVEqvEGPl6nxbOrCXbVOTQWBEJUqAyTUk2uJ5JLVnYJ6ZzGbrSw==