72 lines
2.1 KiB
TypeScript
72 lines
2.1 KiB
TypeScript
// Public API ------------------------------------------------------------------
|
|
|
|
export { createComponent } from './apiCreateComponent'
|
|
export { nextTick } from './scheduler'
|
|
export * from './apiReactivity'
|
|
export * from './apiWatch'
|
|
export * from './apiLifecycle'
|
|
export * from './apiInject'
|
|
|
|
// Advanced API ----------------------------------------------------------------
|
|
|
|
// For raw render function users
|
|
export { h } from './h'
|
|
export {
|
|
createVNode,
|
|
cloneVNode,
|
|
mergeProps,
|
|
openBlock,
|
|
createBlock
|
|
} from './vnode'
|
|
// VNode type symbols
|
|
export { Text, Empty, Fragment, Portal, Suspense } from './vnode'
|
|
// VNode flags
|
|
export { PublicPatchFlags as PatchFlags } from './patchFlags'
|
|
export { PublicShapeFlags as ShapeFlags } from './shapeFlags'
|
|
|
|
// For advanced plugins
|
|
export { getCurrentInstance } from './component'
|
|
|
|
// For custom renderers
|
|
export { createRenderer } from './createRenderer'
|
|
export {
|
|
handleError,
|
|
callWithErrorHandling,
|
|
callWithAsyncErrorHandling
|
|
} from './errorHandling'
|
|
|
|
// Internal, for compiler generated code
|
|
export { applyDirectives } from './directives'
|
|
export { resolveComponent, resolveDirective } from './componentOptions'
|
|
|
|
// Internal, for integration with runtime compiler
|
|
export { registerCompiler } from './component'
|
|
|
|
// Types -----------------------------------------------------------------------
|
|
|
|
export { App, AppConfig, AppContext, Plugin } from './apiApp'
|
|
export { RawProps, RawChildren, RawSlots } from './h'
|
|
export { VNode, VNodeTypes } from './vnode'
|
|
export {
|
|
Component,
|
|
FunctionalComponent,
|
|
ComponentInternalInstance
|
|
} from './component'
|
|
export {
|
|
ComponentOptions,
|
|
ComponentOptionsWithoutProps,
|
|
ComponentOptionsWithProps,
|
|
ComponentOptionsWithArrayProps
|
|
} from './componentOptions'
|
|
export { ComponentPublicInstance } from './componentPublicInstanceProxy'
|
|
export { RendererOptions } from './createRenderer'
|
|
export { Slot, Slots } from './componentSlots'
|
|
export { Prop, PropType, ComponentPropsOptions } from './componentProps'
|
|
export {
|
|
Directive,
|
|
DirectiveBinding,
|
|
DirectiveHook,
|
|
DirectiveArguments
|
|
} from './directives'
|
|
export { SuspenseBoundary } from './suspense'
|