2019-08-23 09:38:00 +08:00
|
|
|
// Public API ------------------------------------------------------------------
|
2019-08-22 23:12:37 +08:00
|
|
|
|
2019-09-06 23:19:22 +08:00
|
|
|
export { createComponent } from './apiCreateComponent'
|
2019-06-03 13:57:19 +08:00
|
|
|
export { nextTick } from './scheduler'
|
2019-08-20 21:38:00 +08:00
|
|
|
export * from './apiReactivity'
|
2019-06-07 14:55:38 +08:00
|
|
|
export * from './apiWatch'
|
|
|
|
export * from './apiLifecycle'
|
2019-06-19 17:31:49 +08:00
|
|
|
export * from './apiInject'
|
2019-08-22 23:12:37 +08:00
|
|
|
|
2019-08-23 09:38:00 +08:00
|
|
|
// Advanced API ----------------------------------------------------------------
|
|
|
|
|
|
|
|
// For raw render function users
|
2019-08-24 03:27:17 +08:00
|
|
|
export { h } from './h'
|
2019-08-23 09:38:00 +08:00
|
|
|
export {
|
|
|
|
createVNode,
|
|
|
|
cloneVNode,
|
|
|
|
mergeProps,
|
|
|
|
openBlock,
|
|
|
|
createBlock
|
|
|
|
} from './vnode'
|
2019-08-23 05:12:39 +08:00
|
|
|
// VNode type symbols
|
2019-09-25 02:37:14 +08:00
|
|
|
export { Text, Comment, Fragment, Portal, Suspense } from './vnode'
|
2019-08-23 05:12:39 +08:00
|
|
|
// VNode flags
|
2019-08-22 23:12:37 +08:00
|
|
|
export { PublicPatchFlags as PatchFlags } from './patchFlags'
|
|
|
|
export { PublicShapeFlags as ShapeFlags } from './shapeFlags'
|
2019-08-23 09:38:00 +08:00
|
|
|
|
|
|
|
// For advanced plugins
|
|
|
|
export { getCurrentInstance } from './component'
|
|
|
|
|
|
|
|
// For custom renderers
|
|
|
|
export { createRenderer } from './createRenderer'
|
2019-08-31 03:05:39 +08:00
|
|
|
export {
|
|
|
|
handleError,
|
|
|
|
callWithErrorHandling,
|
|
|
|
callWithAsyncErrorHandling
|
|
|
|
} from './errorHandling'
|
2019-08-23 09:38:00 +08:00
|
|
|
|
2019-09-20 12:24:16 +08:00
|
|
|
// Internal, for compiler generated code
|
2019-09-24 03:36:30 +08:00
|
|
|
// should sync with '@vue/compiler-core/src/runtimeConstants.ts'
|
2019-09-06 23:25:11 +08:00
|
|
|
export { applyDirectives } from './directives'
|
2019-09-23 04:50:57 +08:00
|
|
|
export { resolveComponent, resolveDirective } from './helpers/resolveAssets'
|
|
|
|
export { renderList } from './helpers/renderList'
|
2019-09-24 03:36:30 +08:00
|
|
|
export { toString } from './helpers/toString'
|
2019-09-25 08:51:48 +08:00
|
|
|
export { toHandlers } from './helpers/toHandlers'
|
2019-09-28 08:29:20 +08:00
|
|
|
export { renderSlot } from './helpers/renderSlot'
|
2019-09-27 23:42:02 +08:00
|
|
|
export { capitalize, camelize } from '@vue/shared'
|
2019-09-01 04:36:36 +08:00
|
|
|
|
2019-09-20 12:24:16 +08:00
|
|
|
// Internal, for integration with runtime compiler
|
2019-09-21 00:16:19 +08:00
|
|
|
export { registerRuntimeCompiler } from './component'
|
2019-09-20 12:24:16 +08:00
|
|
|
|
2019-08-23 09:38:00 +08:00
|
|
|
// Types -----------------------------------------------------------------------
|
|
|
|
|
2019-09-04 06:11:04 +08:00
|
|
|
export { App, AppConfig, AppContext, Plugin } from './apiApp'
|
2019-09-07 00:58:31 +08:00
|
|
|
export { RawProps, RawChildren, RawSlots } from './h'
|
2019-09-04 06:11:04 +08:00
|
|
|
export { VNode, VNodeTypes } from './vnode'
|
2019-09-07 00:58:31 +08:00
|
|
|
export {
|
|
|
|
Component,
|
|
|
|
FunctionalComponent,
|
2019-09-21 00:16:19 +08:00
|
|
|
ComponentInternalInstance,
|
|
|
|
RenderFunction
|
2019-09-07 00:58:31 +08:00
|
|
|
} from './component'
|
|
|
|
export {
|
|
|
|
ComponentOptions,
|
|
|
|
ComponentOptionsWithoutProps,
|
|
|
|
ComponentOptionsWithProps,
|
|
|
|
ComponentOptionsWithArrayProps
|
|
|
|
} from './componentOptions'
|
2019-09-21 00:16:19 +08:00
|
|
|
|
2019-09-07 00:58:31 +08:00
|
|
|
export { ComponentPublicInstance } from './componentPublicInstanceProxy'
|
2019-08-23 09:38:00 +08:00
|
|
|
export { RendererOptions } from './createRenderer'
|
|
|
|
export { Slot, Slots } from './componentSlots'
|
2019-09-07 00:58:31 +08:00
|
|
|
export { Prop, PropType, ComponentPropsOptions } from './componentProps'
|
|
|
|
export {
|
|
|
|
Directive,
|
|
|
|
DirectiveBinding,
|
|
|
|
DirectiveHook,
|
|
|
|
DirectiveArguments
|
|
|
|
} from './directives'
|
2019-09-11 00:11:08 +08:00
|
|
|
export { SuspenseBoundary } from './suspense'
|