build: 开发依赖

This commit is contained in:
2023-06-21 17:54:57 +08:00
parent 242bcf222e
commit 0e3ee9cdc4
5 changed files with 301 additions and 132 deletions

View File

@ -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<typeof import('@vueuse/core')['createUnrefFn']>
readonly createVNode: UnwrapRef<typeof import('vue')['createVNode']>
readonly customRef: UnwrapRef<typeof import('vue')['customRef']>
readonly dayjs: UnwrapRef<typeof import('element-plus')['dayjs']>
readonly debouncedRef: UnwrapRef<typeof import('@vueuse/core')['debouncedRef']>
readonly debouncedWatch: UnwrapRef<typeof import('@vueuse/core')['debouncedWatch']>
readonly defineAsyncComponent: UnwrapRef<typeof import('vue')['defineAsyncComponent']>
@ -348,6 +371,8 @@ declare module 'vue' {
readonly markRaw: UnwrapRef<typeof import('vue')['markRaw']>
readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']>
readonly onActivated: UnwrapRef<typeof import('vue')['onActivated']>
readonly onAddToFavorites: UnwrapRef<typeof import('@dcloudio/uni-app')['onAddToFavorites']>
readonly onBackPress: UnwrapRef<typeof import('@dcloudio/uni-app')['onBackPress']>
readonly onBeforeMount: UnwrapRef<typeof import('vue')['onBeforeMount']>
readonly onBeforeRouteLeave: UnwrapRef<typeof import('vue-router')['onBeforeRouteLeave']>
readonly onBeforeRouteUpdate: UnwrapRef<typeof import('vue-router')['onBeforeRouteUpdate']>
@ -355,15 +380,37 @@ declare module 'vue' {
readonly onBeforeUpdate: UnwrapRef<typeof import('vue')['onBeforeUpdate']>
readonly onClickOutside: UnwrapRef<typeof import('@vueuse/core')['onClickOutside']>
readonly onDeactivated: UnwrapRef<typeof import('vue')['onDeactivated']>
readonly onError: UnwrapRef<typeof import('@dcloudio/uni-app')['onError']>
readonly onErrorCaptured: UnwrapRef<typeof import('vue')['onErrorCaptured']>
readonly onHide: UnwrapRef<typeof import('@dcloudio/uni-app')['onHide']>
readonly onKeyStroke: UnwrapRef<typeof import('@vueuse/core')['onKeyStroke']>
readonly onLaunch: UnwrapRef<typeof import('@dcloudio/uni-app')['onLaunch']>
readonly onLoad: UnwrapRef<typeof import('@dcloudio/uni-app')['onLoad']>
readonly onLongPress: UnwrapRef<typeof import('@vueuse/core')['onLongPress']>
readonly onMounted: UnwrapRef<typeof import('vue')['onMounted']>
readonly onNavigationBarButtonTap: UnwrapRef<typeof import('@dcloudio/uni-app')['onNavigationBarButtonTap']>
readonly onNavigationBarSearchInputChanged: UnwrapRef<typeof import('@dcloudio/uni-app')['onNavigationBarSearchInputChanged']>
readonly onNavigationBarSearchInputClicked: UnwrapRef<typeof import('@dcloudio/uni-app')['onNavigationBarSearchInputClicked']>
readonly onNavigationBarSearchInputConfirmed: UnwrapRef<typeof import('@dcloudio/uni-app')['onNavigationBarSearchInputConfirmed']>
readonly onNavigationBarSearchInputFocusChanged: UnwrapRef<typeof import('@dcloudio/uni-app')['onNavigationBarSearchInputFocusChanged']>
readonly onPageNotFound: UnwrapRef<typeof import('@dcloudio/uni-app')['onPageNotFound']>
readonly onPageScroll: UnwrapRef<typeof import('@dcloudio/uni-app')['onPageScroll']>
readonly onPullDownRefresh: UnwrapRef<typeof import('@dcloudio/uni-app')['onPullDownRefresh']>
readonly onReachBottom: UnwrapRef<typeof import('@dcloudio/uni-app')['onReachBottom']>
readonly onReady: UnwrapRef<typeof import('@dcloudio/uni-app')['onReady']>
readonly onRenderTracked: UnwrapRef<typeof import('vue')['onRenderTracked']>
readonly onRenderTriggered: UnwrapRef<typeof import('vue')['onRenderTriggered']>
readonly onResize: UnwrapRef<typeof import('@dcloudio/uni-app')['onResize']>
readonly onScopeDispose: UnwrapRef<typeof import('vue')['onScopeDispose']>
readonly onServerPrefetch: UnwrapRef<typeof import('vue')['onServerPrefetch']>
readonly onShareAppMessage: UnwrapRef<typeof import('@dcloudio/uni-app')['onShareAppMessage']>
readonly onShareTimeline: UnwrapRef<typeof import('@dcloudio/uni-app')['onShareTimeline']>
readonly onShow: UnwrapRef<typeof import('@dcloudio/uni-app')['onShow']>
readonly onStartTyping: UnwrapRef<typeof import('@vueuse/core')['onStartTyping']>
readonly onTabItemTap: UnwrapRef<typeof import('@dcloudio/uni-app')['onTabItemTap']>
readonly onThemeChange: UnwrapRef<typeof import('@dcloudio/uni-app')['onThemeChange']>
readonly onUnhandledRejection: UnwrapRef<typeof import('@dcloudio/uni-app')['onUnhandledRejection']>
readonly onUnload: UnwrapRef<typeof import('@dcloudio/uni-app')['onUnload']>
readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']>
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
readonly pausableWatch: UnwrapRef<typeof import('@vueuse/core')['pausableWatch']>
@ -614,7 +661,6 @@ declare module '@vue/runtime-core' {
readonly createUnrefFn: UnwrapRef<typeof import('@vueuse/core')['createUnrefFn']>
readonly createVNode: UnwrapRef<typeof import('vue')['createVNode']>
readonly customRef: UnwrapRef<typeof import('vue')['customRef']>
readonly dayjs: UnwrapRef<typeof import('element-plus')['dayjs']>
readonly debouncedRef: UnwrapRef<typeof import('@vueuse/core')['debouncedRef']>
readonly debouncedWatch: UnwrapRef<typeof import('@vueuse/core')['debouncedWatch']>
readonly defineAsyncComponent: UnwrapRef<typeof import('vue')['defineAsyncComponent']>
@ -636,6 +682,8 @@ declare module '@vue/runtime-core' {
readonly markRaw: UnwrapRef<typeof import('vue')['markRaw']>
readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']>
readonly onActivated: UnwrapRef<typeof import('vue')['onActivated']>
readonly onAddToFavorites: UnwrapRef<typeof import('@dcloudio/uni-app')['onAddToFavorites']>
readonly onBackPress: UnwrapRef<typeof import('@dcloudio/uni-app')['onBackPress']>
readonly onBeforeMount: UnwrapRef<typeof import('vue')['onBeforeMount']>
readonly onBeforeRouteLeave: UnwrapRef<typeof import('vue-router')['onBeforeRouteLeave']>
readonly onBeforeRouteUpdate: UnwrapRef<typeof import('vue-router')['onBeforeRouteUpdate']>
@ -643,15 +691,37 @@ declare module '@vue/runtime-core' {
readonly onBeforeUpdate: UnwrapRef<typeof import('vue')['onBeforeUpdate']>
readonly onClickOutside: UnwrapRef<typeof import('@vueuse/core')['onClickOutside']>
readonly onDeactivated: UnwrapRef<typeof import('vue')['onDeactivated']>
readonly onError: UnwrapRef<typeof import('@dcloudio/uni-app')['onError']>
readonly onErrorCaptured: UnwrapRef<typeof import('vue')['onErrorCaptured']>
readonly onHide: UnwrapRef<typeof import('@dcloudio/uni-app')['onHide']>
readonly onKeyStroke: UnwrapRef<typeof import('@vueuse/core')['onKeyStroke']>
readonly onLaunch: UnwrapRef<typeof import('@dcloudio/uni-app')['onLaunch']>
readonly onLoad: UnwrapRef<typeof import('@dcloudio/uni-app')['onLoad']>
readonly onLongPress: UnwrapRef<typeof import('@vueuse/core')['onLongPress']>
readonly onMounted: UnwrapRef<typeof import('vue')['onMounted']>
readonly onNavigationBarButtonTap: UnwrapRef<typeof import('@dcloudio/uni-app')['onNavigationBarButtonTap']>
readonly onNavigationBarSearchInputChanged: UnwrapRef<typeof import('@dcloudio/uni-app')['onNavigationBarSearchInputChanged']>
readonly onNavigationBarSearchInputClicked: UnwrapRef<typeof import('@dcloudio/uni-app')['onNavigationBarSearchInputClicked']>
readonly onNavigationBarSearchInputConfirmed: UnwrapRef<typeof import('@dcloudio/uni-app')['onNavigationBarSearchInputConfirmed']>
readonly onNavigationBarSearchInputFocusChanged: UnwrapRef<typeof import('@dcloudio/uni-app')['onNavigationBarSearchInputFocusChanged']>
readonly onPageNotFound: UnwrapRef<typeof import('@dcloudio/uni-app')['onPageNotFound']>
readonly onPageScroll: UnwrapRef<typeof import('@dcloudio/uni-app')['onPageScroll']>
readonly onPullDownRefresh: UnwrapRef<typeof import('@dcloudio/uni-app')['onPullDownRefresh']>
readonly onReachBottom: UnwrapRef<typeof import('@dcloudio/uni-app')['onReachBottom']>
readonly onReady: UnwrapRef<typeof import('@dcloudio/uni-app')['onReady']>
readonly onRenderTracked: UnwrapRef<typeof import('vue')['onRenderTracked']>
readonly onRenderTriggered: UnwrapRef<typeof import('vue')['onRenderTriggered']>
readonly onResize: UnwrapRef<typeof import('@dcloudio/uni-app')['onResize']>
readonly onScopeDispose: UnwrapRef<typeof import('vue')['onScopeDispose']>
readonly onServerPrefetch: UnwrapRef<typeof import('vue')['onServerPrefetch']>
readonly onShareAppMessage: UnwrapRef<typeof import('@dcloudio/uni-app')['onShareAppMessage']>
readonly onShareTimeline: UnwrapRef<typeof import('@dcloudio/uni-app')['onShareTimeline']>
readonly onShow: UnwrapRef<typeof import('@dcloudio/uni-app')['onShow']>
readonly onStartTyping: UnwrapRef<typeof import('@vueuse/core')['onStartTyping']>
readonly onTabItemTap: UnwrapRef<typeof import('@dcloudio/uni-app')['onTabItemTap']>
readonly onThemeChange: UnwrapRef<typeof import('@dcloudio/uni-app')['onThemeChange']>
readonly onUnhandledRejection: UnwrapRef<typeof import('@dcloudio/uni-app')['onUnhandledRejection']>
readonly onUnload: UnwrapRef<typeof import('@dcloudio/uni-app')['onUnload']>
readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']>
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
readonly pausableWatch: UnwrapRef<typeof import('@vueuse/core')['pausableWatch']>

61
types/components.d.ts vendored
View File

@ -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']
}
}