|
|
@@ -69,6 +69,7 @@ declare global {
|
|
69
|
69
|
const onUnload: typeof import('@dcloudio/uni-app')['onUnload']
|
|
70
|
70
|
const onUnmounted: typeof import('vue')['onUnmounted']
|
|
71
|
71
|
const onUpdated: typeof import('vue')['onUpdated']
|
|
|
72
|
+ const onWatcherCleanup: typeof import('vue')['onWatcherCleanup']
|
|
72
|
73
|
const provide: typeof import('vue')['provide']
|
|
73
|
74
|
const reactive: typeof import('vue')['reactive']
|
|
74
|
75
|
const readonly: typeof import('vue')['readonly']
|
|
|
@@ -96,10 +97,13 @@ declare global {
|
|
96
|
97
|
const useCustomStyleProp: typeof import('./composables/useProps')['useCustomStyleProp']
|
|
97
|
98
|
const useDacangStore: typeof import('./stores/dacangStore')['useDacangStore']
|
|
98
|
99
|
const useDirectionProp: typeof import('./composables/useProps')['useDirectionProp']
|
|
|
100
|
+ const useId: typeof import('vue')['useId']
|
|
|
101
|
+ const useModel: typeof import('vue')['useModel']
|
|
99
|
102
|
const usePageStore: typeof import('./stores/page')['usePageStore']
|
|
100
|
103
|
const usePageStoreWidthOut: typeof import('./stores/page')['usePageStoreWidthOut']
|
|
101
|
104
|
const useSizeProp: typeof import('./composables/useProps')['useSizeProp']
|
|
102
|
105
|
const useSlots: typeof import('vue')['useSlots']
|
|
|
106
|
+ const useTemplateRef: typeof import('vue')['useTemplateRef']
|
|
103
|
107
|
const useTypeProp: typeof import('./composables/useProps')['useTypeProp']
|
|
104
|
108
|
const useUserStore: typeof import('./stores/userStore')['useUserStore']
|
|
105
|
109
|
const useVariantProp: typeof import('./composables/useProps')['useVariantProp']
|
|
|
@@ -111,7 +115,8 @@ declare global {
|
|
111
|
115
|
// for type re-export
|
|
112
|
116
|
declare global {
|
|
113
|
117
|
// @ts-ignore
|
|
114
|
|
- export type { Component, ComponentPublicInstance, ComputedRef, InjectionKey, PropType, Ref, VNode } from 'vue'
|
|
|
118
|
+ export type { Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
|
|
|
119
|
+ import('vue')
|
|
115
|
120
|
}
|
|
116
|
121
|
// for vue template auto import
|
|
117
|
122
|
import { UnwrapRef } from 'vue'
|
|
|
@@ -181,6 +186,7 @@ declare module 'vue' {
|
|
181
|
186
|
readonly onUnload: UnwrapRef<typeof import('@dcloudio/uni-app')['onUnload']>
|
|
182
|
187
|
readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']>
|
|
183
|
188
|
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
|
|
|
189
|
+ readonly onWatcherCleanup: UnwrapRef<typeof import('vue')['onWatcherCleanup']>
|
|
184
|
190
|
readonly provide: UnwrapRef<typeof import('vue')['provide']>
|
|
185
|
191
|
readonly reactive: UnwrapRef<typeof import('vue')['reactive']>
|
|
186
|
192
|
readonly readonly: UnwrapRef<typeof import('vue')['readonly']>
|
|
|
@@ -208,116 +214,13 @@ declare module 'vue' {
|
|
208
|
214
|
readonly useCustomStyleProp: UnwrapRef<typeof import('./composables/useProps')['useCustomStyleProp']>
|
|
209
|
215
|
readonly useDacangStore: UnwrapRef<typeof import('./stores/dacangStore')['useDacangStore']>
|
|
210
|
216
|
readonly useDirectionProp: UnwrapRef<typeof import('./composables/useProps')['useDirectionProp']>
|
|
|
217
|
+ readonly useId: UnwrapRef<typeof import('vue')['useId']>
|
|
|
218
|
+ readonly useModel: UnwrapRef<typeof import('vue')['useModel']>
|
|
211
|
219
|
readonly usePageStore: UnwrapRef<typeof import('./stores/page')['usePageStore']>
|
|
212
|
220
|
readonly usePageStoreWidthOut: UnwrapRef<typeof import('./stores/page')['usePageStoreWidthOut']>
|
|
213
|
221
|
readonly useSizeProp: UnwrapRef<typeof import('./composables/useProps')['useSizeProp']>
|
|
214
|
222
|
readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']>
|
|
215
|
|
- readonly useTypeProp: UnwrapRef<typeof import('./composables/useProps')['useTypeProp']>
|
|
216
|
|
- readonly useUserStore: UnwrapRef<typeof import('./stores/userStore')['useUserStore']>
|
|
217
|
|
- readonly useVariantProp: UnwrapRef<typeof import('./composables/useProps')['useVariantProp']>
|
|
218
|
|
- readonly watch: UnwrapRef<typeof import('vue')['watch']>
|
|
219
|
|
- readonly watchEffect: UnwrapRef<typeof import('vue')['watchEffect']>
|
|
220
|
|
- readonly watchPostEffect: UnwrapRef<typeof import('vue')['watchPostEffect']>
|
|
221
|
|
- readonly watchSyncEffect: UnwrapRef<typeof import('vue')['watchSyncEffect']>
|
|
222
|
|
- }
|
|
223
|
|
-}
|
|
224
|
|
-declare module '@vue/runtime-core' {
|
|
225
|
|
- interface ComponentCustomProperties {
|
|
226
|
|
- readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
|
|
227
|
|
- readonly PositionProp: UnwrapRef<typeof import('./composables/useProps')['PositionProp']>
|
|
228
|
|
- readonly acceptHMRUpdate: UnwrapRef<typeof import('pinia')['acceptHMRUpdate']>
|
|
229
|
|
- readonly computed: UnwrapRef<typeof import('vue')['computed']>
|
|
230
|
|
- readonly createApp: UnwrapRef<typeof import('vue')['createApp']>
|
|
231
|
|
- readonly createPinia: UnwrapRef<typeof import('pinia')['createPinia']>
|
|
232
|
|
- readonly customRef: UnwrapRef<typeof import('vue')['customRef']>
|
|
233
|
|
- readonly defineAsyncComponent: UnwrapRef<typeof import('vue')['defineAsyncComponent']>
|
|
234
|
|
- readonly defineComponent: UnwrapRef<typeof import('vue')['defineComponent']>
|
|
235
|
|
- readonly defineStore: UnwrapRef<typeof import('pinia')['defineStore']>
|
|
236
|
|
- readonly effectScope: UnwrapRef<typeof import('vue')['effectScope']>
|
|
237
|
|
- readonly getActivePinia: UnwrapRef<typeof import('pinia')['getActivePinia']>
|
|
238
|
|
- readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']>
|
|
239
|
|
- readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']>
|
|
240
|
|
- readonly h: UnwrapRef<typeof import('vue')['h']>
|
|
241
|
|
- readonly inject: UnwrapRef<typeof import('vue')['inject']>
|
|
242
|
|
- readonly isProxy: UnwrapRef<typeof import('vue')['isProxy']>
|
|
243
|
|
- readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']>
|
|
244
|
|
- readonly isReadonly: UnwrapRef<typeof import('vue')['isReadonly']>
|
|
245
|
|
- readonly isRef: UnwrapRef<typeof import('vue')['isRef']>
|
|
246
|
|
- readonly mapActions: UnwrapRef<typeof import('pinia')['mapActions']>
|
|
247
|
|
- readonly mapGetters: UnwrapRef<typeof import('pinia')['mapGetters']>
|
|
248
|
|
- readonly mapState: UnwrapRef<typeof import('pinia')['mapState']>
|
|
249
|
|
- readonly mapStores: UnwrapRef<typeof import('pinia')['mapStores']>
|
|
250
|
|
- readonly mapWritableState: UnwrapRef<typeof import('pinia')['mapWritableState']>
|
|
251
|
|
- readonly markRaw: UnwrapRef<typeof import('vue')['markRaw']>
|
|
252
|
|
- readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']>
|
|
253
|
|
- readonly onActivated: UnwrapRef<typeof import('vue')['onActivated']>
|
|
254
|
|
- readonly onAddToFavorites: UnwrapRef<typeof import('@dcloudio/uni-app')['onAddToFavorites']>
|
|
255
|
|
- readonly onBackPress: UnwrapRef<typeof import('@dcloudio/uni-app')['onBackPress']>
|
|
256
|
|
- readonly onBeforeMount: UnwrapRef<typeof import('vue')['onBeforeMount']>
|
|
257
|
|
- readonly onBeforeUnmount: UnwrapRef<typeof import('vue')['onBeforeUnmount']>
|
|
258
|
|
- readonly onBeforeUpdate: UnwrapRef<typeof import('vue')['onBeforeUpdate']>
|
|
259
|
|
- readonly onDeactivated: UnwrapRef<typeof import('vue')['onDeactivated']>
|
|
260
|
|
- readonly onError: UnwrapRef<typeof import('@dcloudio/uni-app')['onError']>
|
|
261
|
|
- readonly onErrorCaptured: UnwrapRef<typeof import('vue')['onErrorCaptured']>
|
|
262
|
|
- readonly onHide: UnwrapRef<typeof import('@dcloudio/uni-app')['onHide']>
|
|
263
|
|
- readonly onLaunch: UnwrapRef<typeof import('@dcloudio/uni-app')['onLaunch']>
|
|
264
|
|
- readonly onLoad: UnwrapRef<typeof import('@dcloudio/uni-app')['onLoad']>
|
|
265
|
|
- readonly onMounted: UnwrapRef<typeof import('vue')['onMounted']>
|
|
266
|
|
- readonly onNavigationBarButtonTap: UnwrapRef<typeof import('@dcloudio/uni-app')['onNavigationBarButtonTap']>
|
|
267
|
|
- readonly onNavigationBarSearchInputChanged: UnwrapRef<typeof import('@dcloudio/uni-app')['onNavigationBarSearchInputChanged']>
|
|
268
|
|
- readonly onNavigationBarSearchInputClicked: UnwrapRef<typeof import('@dcloudio/uni-app')['onNavigationBarSearchInputClicked']>
|
|
269
|
|
- readonly onNavigationBarSearchInputConfirmed: UnwrapRef<typeof import('@dcloudio/uni-app')['onNavigationBarSearchInputConfirmed']>
|
|
270
|
|
- readonly onNavigationBarSearchInputFocusChanged: UnwrapRef<typeof import('@dcloudio/uni-app')['onNavigationBarSearchInputFocusChanged']>
|
|
271
|
|
- readonly onPageNotFound: UnwrapRef<typeof import('@dcloudio/uni-app')['onPageNotFound']>
|
|
272
|
|
- readonly onPageScroll: UnwrapRef<typeof import('@dcloudio/uni-app')['onPageScroll']>
|
|
273
|
|
- readonly onPullDownRefresh: UnwrapRef<typeof import('@dcloudio/uni-app')['onPullDownRefresh']>
|
|
274
|
|
- readonly onReachBottom: UnwrapRef<typeof import('@dcloudio/uni-app')['onReachBottom']>
|
|
275
|
|
- readonly onReady: UnwrapRef<typeof import('@dcloudio/uni-app')['onReady']>
|
|
276
|
|
- readonly onRenderTracked: UnwrapRef<typeof import('vue')['onRenderTracked']>
|
|
277
|
|
- readonly onRenderTriggered: UnwrapRef<typeof import('vue')['onRenderTriggered']>
|
|
278
|
|
- readonly onResize: UnwrapRef<typeof import('@dcloudio/uni-app')['onResize']>
|
|
279
|
|
- readonly onScopeDispose: UnwrapRef<typeof import('vue')['onScopeDispose']>
|
|
280
|
|
- readonly onServerPrefetch: UnwrapRef<typeof import('vue')['onServerPrefetch']>
|
|
281
|
|
- readonly onShareAppMessage: UnwrapRef<typeof import('@dcloudio/uni-app')['onShareAppMessage']>
|
|
282
|
|
- readonly onShareTimeline: UnwrapRef<typeof import('@dcloudio/uni-app')['onShareTimeline']>
|
|
283
|
|
- readonly onShow: UnwrapRef<typeof import('@dcloudio/uni-app')['onShow']>
|
|
284
|
|
- readonly onTabItemTap: UnwrapRef<typeof import('@dcloudio/uni-app')['onTabItemTap']>
|
|
285
|
|
- readonly onThemeChange: UnwrapRef<typeof import('@dcloudio/uni-app')['onThemeChange']>
|
|
286
|
|
- readonly onUnhandledRejection: UnwrapRef<typeof import('@dcloudio/uni-app')['onUnhandledRejection']>
|
|
287
|
|
- readonly onUnload: UnwrapRef<typeof import('@dcloudio/uni-app')['onUnload']>
|
|
288
|
|
- readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']>
|
|
289
|
|
- readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
|
|
290
|
|
- readonly provide: UnwrapRef<typeof import('vue')['provide']>
|
|
291
|
|
- readonly reactive: UnwrapRef<typeof import('vue')['reactive']>
|
|
292
|
|
- readonly readonly: UnwrapRef<typeof import('vue')['readonly']>
|
|
293
|
|
- readonly ref: UnwrapRef<typeof import('vue')['ref']>
|
|
294
|
|
- readonly resolveComponent: UnwrapRef<typeof import('vue')['resolveComponent']>
|
|
295
|
|
- readonly setActivePinia: UnwrapRef<typeof import('pinia')['setActivePinia']>
|
|
296
|
|
- readonly setMapStoreSuffix: UnwrapRef<typeof import('pinia')['setMapStoreSuffix']>
|
|
297
|
|
- readonly shallowReactive: UnwrapRef<typeof import('vue')['shallowReactive']>
|
|
298
|
|
- readonly shallowReadonly: UnwrapRef<typeof import('vue')['shallowReadonly']>
|
|
299
|
|
- readonly shallowRef: UnwrapRef<typeof import('vue')['shallowRef']>
|
|
300
|
|
- readonly storeToRefs: UnwrapRef<typeof import('pinia')['storeToRefs']>
|
|
301
|
|
- readonly toRaw: UnwrapRef<typeof import('vue')['toRaw']>
|
|
302
|
|
- readonly toRef: UnwrapRef<typeof import('vue')['toRef']>
|
|
303
|
|
- readonly toRefs: UnwrapRef<typeof import('vue')['toRefs']>
|
|
304
|
|
- readonly toValue: UnwrapRef<typeof import('vue')['toValue']>
|
|
305
|
|
- readonly triggerRef: UnwrapRef<typeof import('vue')['triggerRef']>
|
|
306
|
|
- readonly unref: UnwrapRef<typeof import('vue')['unref']>
|
|
307
|
|
- readonly useAddressStore: UnwrapRef<typeof import('./stores/addressStore')['useAddressStore']>
|
|
308
|
|
- readonly useAppStore: UnwrapRef<typeof import('./stores/app')['useAppStore']>
|
|
309
|
|
- readonly useAppStoreWidthOut: UnwrapRef<typeof import('./stores/app')['useAppStoreWidthOut']>
|
|
310
|
|
- readonly useAttrs: UnwrapRef<typeof import('vue')['useAttrs']>
|
|
311
|
|
- readonly useCssModule: UnwrapRef<typeof import('vue')['useCssModule']>
|
|
312
|
|
- readonly useCssVars: UnwrapRef<typeof import('vue')['useCssVars']>
|
|
313
|
|
- readonly useCustomClassProp: UnwrapRef<typeof import('./composables/useProps')['useCustomClassProp']>
|
|
314
|
|
- readonly useCustomStyleProp: UnwrapRef<typeof import('./composables/useProps')['useCustomStyleProp']>
|
|
315
|
|
- readonly useDacangStore: UnwrapRef<typeof import('./stores/dacangStore')['useDacangStore']>
|
|
316
|
|
- readonly useDirectionProp: UnwrapRef<typeof import('./composables/useProps')['useDirectionProp']>
|
|
317
|
|
- readonly usePageStore: UnwrapRef<typeof import('./stores/page')['usePageStore']>
|
|
318
|
|
- readonly usePageStoreWidthOut: UnwrapRef<typeof import('./stores/page')['usePageStoreWidthOut']>
|
|
319
|
|
- readonly useSizeProp: UnwrapRef<typeof import('./composables/useProps')['useSizeProp']>
|
|
320
|
|
- readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']>
|
|
|
223
|
+ readonly useTemplateRef: UnwrapRef<typeof import('vue')['useTemplateRef']>
|
|
321
|
224
|
readonly useTypeProp: UnwrapRef<typeof import('./composables/useProps')['useTypeProp']>
|
|
322
|
225
|
readonly useUserStore: UnwrapRef<typeof import('./stores/userStore')['useUserStore']>
|
|
323
|
226
|
readonly useVariantProp: UnwrapRef<typeof import('./composables/useProps')['useVariantProp']>
|