2023-11-29 01:25:46 +08:00
|
|
|
// Core API ------------------------------------------------------------------
|
|
|
|
|
|
|
|
export const version = __VERSION__
|
|
|
|
export {
|
|
|
|
// core
|
|
|
|
reactive,
|
|
|
|
ref,
|
|
|
|
readonly,
|
2023-11-29 02:38:01 +08:00
|
|
|
computed,
|
2023-11-29 01:25:46 +08:00
|
|
|
// utilities
|
|
|
|
unref,
|
|
|
|
proxyRefs,
|
|
|
|
isRef,
|
|
|
|
toRef,
|
|
|
|
toValue,
|
|
|
|
toRefs,
|
|
|
|
isProxy,
|
|
|
|
isReactive,
|
|
|
|
isReadonly,
|
|
|
|
isShallow,
|
|
|
|
// advanced
|
|
|
|
customRef,
|
|
|
|
triggerRef,
|
|
|
|
shallowRef,
|
|
|
|
shallowReactive,
|
|
|
|
shallowReadonly,
|
|
|
|
markRaw,
|
|
|
|
toRaw,
|
|
|
|
// effect
|
|
|
|
stop,
|
|
|
|
ReactiveEffect,
|
2024-01-08 14:07:49 +08:00
|
|
|
getCurrentEffect,
|
2024-01-07 01:31:01 +08:00
|
|
|
onEffectCleanup,
|
2023-11-29 01:25:46 +08:00
|
|
|
// effect scope
|
|
|
|
effectScope,
|
|
|
|
EffectScope,
|
|
|
|
getCurrentScope,
|
2023-12-01 01:28:16 +08:00
|
|
|
onScopeDispose,
|
2023-11-29 01:25:46 +08:00
|
|
|
} from '@vue/reactivity'
|
2023-12-03 18:36:01 +08:00
|
|
|
|
2024-01-19 16:59:03 +08:00
|
|
|
export { nextTick } from './scheduler'
|
2024-02-07 21:03:46 +08:00
|
|
|
export {
|
|
|
|
getCurrentInstance,
|
|
|
|
type ComponentInternalInstance,
|
|
|
|
type Component,
|
|
|
|
type ObjectComponent,
|
|
|
|
type FunctionalComponent,
|
|
|
|
type SetupFn,
|
|
|
|
} from './component'
|
2023-11-23 23:43:19 +08:00
|
|
|
export * from './render'
|
2024-01-07 01:31:01 +08:00
|
|
|
export * from './renderWatch'
|
2023-11-23 23:43:19 +08:00
|
|
|
export * from './template'
|
2023-12-23 15:17:18 +08:00
|
|
|
export * from './apiWatch'
|
2023-12-08 17:34:33 +08:00
|
|
|
export * from './directive'
|
2023-12-06 14:59:11 +08:00
|
|
|
export * from './dom'
|
2023-12-15 01:47:56 +08:00
|
|
|
export * from './apiLifecycle'
|
2024-01-19 16:38:41 +08:00
|
|
|
export * from './if'
|
2024-01-28 20:15:41 +08:00
|
|
|
export * from './for'
|
2024-01-31 18:06:16 +08:00
|
|
|
export { defineComponent } from './apiDefineComponent'
|
2024-02-25 00:40:00 +08:00
|
|
|
export { recordMetadata } from './metadata'
|
2024-01-21 02:16:30 +08:00
|
|
|
|
|
|
|
export * from './directives/vShow'
|
|
|
|
export * from './directives/vModel'
|