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