vue3-core/packages/runtime-vapor/src/index.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

77 lines
1.5 KiB
TypeScript
Raw Normal View History

// Core API ------------------------------------------------------------------
export const version = __VERSION__
export {
// core
reactive,
ref,
readonly,
2023-11-29 02:38:01 +08:00
computed,
// utilities
unref,
proxyRefs,
isRef,
toRef,
toValue,
toRefs,
isProxy,
isReactive,
isReadonly,
isShallow,
// advanced
customRef,
triggerRef,
shallowRef,
shallowReactive,
shallowReadonly,
markRaw,
toRaw,
// effect
stop,
ReactiveEffect,
getCurrentEffect,
onEffectCleanup,
// effect scope
effectScope,
EffectScope,
getCurrentScope,
2023-12-01 01:28:16 +08:00
onScopeDispose,
} from '@vue/reactivity'
2023-12-03 18:36:01 +08:00
2024-01-19 16:59:03 +08:00
export { nextTick } from './scheduler'
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'
export * from './renderWatch'
2023-11-23 23:43:19 +08:00
export * from './template'
export * from './apiWatch'
2023-12-08 17:34:33 +08:00
export * from './directive'
export { insert, prepend, append, remove, createTextNode } from './dom/dom'
export { setStyle } from './dom/style'
export {
setText,
setHtml,
setClass,
setAttr,
setDOMProp,
setDynamicProp,
setDynamicProps,
} from './dom/prop'
export { on, delegateEvents } from './dom/event'
export { setRef } from './dom/templateRef'
export * from './apiLifecycle'
export * from './if'
2024-01-28 20:15:41 +08:00
export * from './for'
export { defineComponent } from './apiDefineComponent'
2024-01-21 02:16:30 +08:00
export * from './directives/vShow'
export * from './directives/vModel'