@@ -100,91 +100,19 @@ declare global {
100100}
101101
102102// for vue template auto import
103- import { UnwrapRef } from 'vue'
103+ type UnwrapRefs < T > = {
104+ [ K in keyof T ] : import ( 'vue' ) . UnwrapRef < T [ K ] >
105+ }
106+ namespace _ComponentCustomProperties {
107+ const _ : typeof import ( 'lodash-es' )
108+ const { EffectScope, computed, createApp, createVNode, customRef, defineAsyncComponent, defineComponent, effectScope, getCurrentInstance, getCurrentScope, getCurrentWatcher, h, inject, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, nextTick, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onScopeDispose, onServerPrefetch, onUnmounted, onUpdated, onWatcherCleanup, provide, reactive, readonly, ref, render, resolveComponent, shallowReactive, shallowReadonly, shallowRef, toRaw, toRef, toRefs, toValue, triggerRef, unref, useAttrs, useCssModule, useCssVars, useId, useModel, useSlots, useTemplateRef, watch, watchEffect, watchPostEffect, watchSyncEffect } : typeof import ( 'vue' )
109+ const { createLogger, createNamespacedHelpers, createStore, mapActions, mapGetters, mapMutations, mapState, useStore } : typeof import ( 'vuex' )
110+ const { createRouter, createWebHashHistory, createWebHistory, onBeforeRouteLeave, onBeforeRouteUpdate, useLink, useRoute, useRouter } : typeof import ( 'vue-router' )
111+ const { default : useBaseStore , key } : typeof import ( './src/hooks/useBaseStore' )
112+ const { default : useCurrentInstance } : typeof import ( './src/hooks/useCurrentInstance' )
113+ const { useLanguage } : typeof import ( './src/hooks/useLanguage' )
114+ const { v4 : uuidv4 } : typeof import ( 'uuid' )
115+ }
104116declare module 'vue' {
105- interface GlobalComponents { }
106- interface ComponentCustomProperties {
107- readonly EffectScope : UnwrapRef < typeof import ( 'vue' ) [ 'EffectScope' ] >
108- readonly _ : UnwrapRef < typeof import ( 'lodash-es' ) >
109- readonly computed : UnwrapRef < typeof import ( 'vue' ) [ 'computed' ] >
110- readonly createApp : UnwrapRef < typeof import ( 'vue' ) [ 'createApp' ] >
111- readonly createLogger : UnwrapRef < typeof import ( 'vuex' ) [ 'createLogger' ] >
112- readonly createNamespacedHelpers : UnwrapRef < typeof import ( 'vuex' ) [ 'createNamespacedHelpers' ] >
113- readonly createRouter : UnwrapRef < typeof import ( 'vue-router' ) [ 'createRouter' ] >
114- readonly createStore : UnwrapRef < typeof import ( 'vuex' ) [ 'createStore' ] >
115- readonly createVNode : UnwrapRef < typeof import ( 'vue' ) [ 'createVNode' ] >
116- readonly createWebHashHistory : UnwrapRef < typeof import ( 'vue-router' ) [ 'createWebHashHistory' ] >
117- readonly createWebHistory : UnwrapRef < typeof import ( 'vue-router' ) [ 'createWebHistory' ] >
118- readonly customRef : UnwrapRef < typeof import ( 'vue' ) [ 'customRef' ] >
119- readonly defineAsyncComponent : UnwrapRef < typeof import ( 'vue' ) [ 'defineAsyncComponent' ] >
120- readonly defineComponent : UnwrapRef < typeof import ( 'vue' ) [ 'defineComponent' ] >
121- readonly effectScope : UnwrapRef < typeof import ( 'vue' ) [ 'effectScope' ] >
122- readonly getCurrentInstance : UnwrapRef < typeof import ( 'vue' ) [ 'getCurrentInstance' ] >
123- readonly getCurrentScope : UnwrapRef < typeof import ( 'vue' ) [ 'getCurrentScope' ] >
124- readonly getCurrentWatcher : UnwrapRef < typeof import ( 'vue' ) [ 'getCurrentWatcher' ] >
125- readonly h : UnwrapRef < typeof import ( 'vue' ) [ 'h' ] >
126- readonly inject : UnwrapRef < typeof import ( 'vue' ) [ 'inject' ] >
127- readonly isProxy : UnwrapRef < typeof import ( 'vue' ) [ 'isProxy' ] >
128- readonly isReactive : UnwrapRef < typeof import ( 'vue' ) [ 'isReactive' ] >
129- readonly isReadonly : UnwrapRef < typeof import ( 'vue' ) [ 'isReadonly' ] >
130- readonly isRef : UnwrapRef < typeof import ( 'vue' ) [ 'isRef' ] >
131- readonly isShallow : UnwrapRef < typeof import ( 'vue' ) [ 'isShallow' ] >
132- readonly key : UnwrapRef < typeof import ( './src/hooks/useBaseStore' ) [ 'key' ] >
133- readonly mapActions : UnwrapRef < typeof import ( 'vuex' ) [ 'mapActions' ] >
134- readonly mapGetters : UnwrapRef < typeof import ( 'vuex' ) [ 'mapGetters' ] >
135- readonly mapMutations : UnwrapRef < typeof import ( 'vuex' ) [ 'mapMutations' ] >
136- readonly mapState : UnwrapRef < typeof import ( 'vuex' ) [ 'mapState' ] >
137- readonly markRaw : UnwrapRef < typeof import ( 'vue' ) [ 'markRaw' ] >
138- readonly nextTick : UnwrapRef < typeof import ( 'vue' ) [ 'nextTick' ] >
139- readonly onActivated : UnwrapRef < typeof import ( 'vue' ) [ 'onActivated' ] >
140- readonly onBeforeMount : UnwrapRef < typeof import ( 'vue' ) [ 'onBeforeMount' ] >
141- readonly onBeforeRouteLeave : UnwrapRef < typeof import ( 'vue-router' ) [ 'onBeforeRouteLeave' ] >
142- readonly onBeforeRouteUpdate : UnwrapRef < typeof import ( 'vue-router' ) [ 'onBeforeRouteUpdate' ] >
143- readonly onBeforeUnmount : UnwrapRef < typeof import ( 'vue' ) [ 'onBeforeUnmount' ] >
144- readonly onBeforeUpdate : UnwrapRef < typeof import ( 'vue' ) [ 'onBeforeUpdate' ] >
145- readonly onDeactivated : UnwrapRef < typeof import ( 'vue' ) [ 'onDeactivated' ] >
146- readonly onErrorCaptured : UnwrapRef < typeof import ( 'vue' ) [ 'onErrorCaptured' ] >
147- readonly onMounted : UnwrapRef < typeof import ( 'vue' ) [ 'onMounted' ] >
148- readonly onRenderTracked : UnwrapRef < typeof import ( 'vue' ) [ 'onRenderTracked' ] >
149- readonly onRenderTriggered : UnwrapRef < typeof import ( 'vue' ) [ 'onRenderTriggered' ] >
150- readonly onScopeDispose : UnwrapRef < typeof import ( 'vue' ) [ 'onScopeDispose' ] >
151- readonly onServerPrefetch : UnwrapRef < typeof import ( 'vue' ) [ 'onServerPrefetch' ] >
152- readonly onUnmounted : UnwrapRef < typeof import ( 'vue' ) [ 'onUnmounted' ] >
153- readonly onUpdated : UnwrapRef < typeof import ( 'vue' ) [ 'onUpdated' ] >
154- readonly onWatcherCleanup : UnwrapRef < typeof import ( 'vue' ) [ 'onWatcherCleanup' ] >
155- readonly provide : UnwrapRef < typeof import ( 'vue' ) [ 'provide' ] >
156- readonly reactive : UnwrapRef < typeof import ( 'vue' ) [ 'reactive' ] >
157- readonly readonly : UnwrapRef < typeof import ( 'vue' ) [ 'readonly' ] >
158- readonly ref : UnwrapRef < typeof import ( 'vue' ) [ 'ref' ] >
159- readonly render : UnwrapRef < typeof import ( 'vue' ) [ 'render' ] >
160- readonly resolveComponent : UnwrapRef < typeof import ( 'vue' ) [ 'resolveComponent' ] >
161- readonly shallowReactive : UnwrapRef < typeof import ( 'vue' ) [ 'shallowReactive' ] >
162- readonly shallowReadonly : UnwrapRef < typeof import ( 'vue' ) [ 'shallowReadonly' ] >
163- readonly shallowRef : UnwrapRef < typeof import ( 'vue' ) [ 'shallowRef' ] >
164- readonly toRaw : UnwrapRef < typeof import ( 'vue' ) [ 'toRaw' ] >
165- readonly toRef : UnwrapRef < typeof import ( 'vue' ) [ 'toRef' ] >
166- readonly toRefs : UnwrapRef < typeof import ( 'vue' ) [ 'toRefs' ] >
167- readonly toValue : UnwrapRef < typeof import ( 'vue' ) [ 'toValue' ] >
168- readonly triggerRef : UnwrapRef < typeof import ( 'vue' ) [ 'triggerRef' ] >
169- readonly unref : UnwrapRef < typeof import ( 'vue' ) [ 'unref' ] >
170- readonly useAttrs : UnwrapRef < typeof import ( 'vue' ) [ 'useAttrs' ] >
171- readonly useBaseStore : UnwrapRef < typeof import ( './src/hooks/useBaseStore' ) [ 'default' ] >
172- readonly useCssModule : UnwrapRef < typeof import ( 'vue' ) [ 'useCssModule' ] >
173- readonly useCssVars : UnwrapRef < typeof import ( 'vue' ) [ 'useCssVars' ] >
174- readonly useCurrentInstance : UnwrapRef < typeof import ( './src/hooks/useCurrentInstance' ) [ 'default' ] >
175- readonly useId : UnwrapRef < typeof import ( 'vue' ) [ 'useId' ] >
176- readonly useLanguage : UnwrapRef < typeof import ( './src/hooks/useLanguage' ) [ 'useLanguage' ] >
177- readonly useLink : UnwrapRef < typeof import ( 'vue-router' ) [ 'useLink' ] >
178- readonly useModel : UnwrapRef < typeof import ( 'vue' ) [ 'useModel' ] >
179- readonly useRoute : UnwrapRef < typeof import ( 'vue-router' ) [ 'useRoute' ] >
180- readonly useRouter : UnwrapRef < typeof import ( 'vue-router' ) [ 'useRouter' ] >
181- readonly useSlots : UnwrapRef < typeof import ( 'vue' ) [ 'useSlots' ] >
182- readonly useStore : UnwrapRef < typeof import ( 'vuex' ) [ 'useStore' ] >
183- readonly useTemplateRef : UnwrapRef < typeof import ( 'vue' ) [ 'useTemplateRef' ] >
184- readonly uuidv4 : UnwrapRef < typeof import ( 'uuid' ) [ 'v4' ] >
185- readonly watch : UnwrapRef < typeof import ( 'vue' ) [ 'watch' ] >
186- readonly watchEffect : UnwrapRef < typeof import ( 'vue' ) [ 'watchEffect' ] >
187- readonly watchPostEffect : UnwrapRef < typeof import ( 'vue' ) [ 'watchPostEffect' ] >
188- readonly watchSyncEffect : UnwrapRef < typeof import ( 'vue' ) [ 'watchSyncEffect' ] >
189- }
117+ interface ComponentCustomProperties extends UnwrapRefs < typeof _ComponentCustomProperties > { }
190118}
0 commit comments