
This update introduces support for global object (window, document, body) listeners, that can be defined via host listeners on Components and Directives. PR Close #27772
180 lines
3.5 KiB
TypeScript
180 lines
3.5 KiB
TypeScript
/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
import {LifecycleHooksFeature, renderComponent, whenRendered} from './component';
|
|
import {defineBase, defineComponent, defineDirective, defineNgModule, definePipe} from './definition';
|
|
import {getComponent, getHostElement, getRenderedText} from './discovery_utils';
|
|
import {InheritDefinitionFeature} from './features/inherit_definition_feature';
|
|
import {NgOnChangesFeature} from './features/ng_onchanges_feature';
|
|
import {ProvidersFeature} from './features/providers_feature';
|
|
import {BaseDef, ComponentDef, ComponentDefWithMeta, ComponentTemplate, ComponentType, DirectiveDef, DirectiveDefFlags, DirectiveDefWithMeta, DirectiveType, PipeDef, PipeDefWithMeta} from './interfaces/definition';
|
|
|
|
export {ComponentFactory, ComponentFactoryResolver, ComponentRef, injectComponentFactoryResolver} from './component_ref';
|
|
export {getFactoryOf, getInheritedFactory} from './di';
|
|
export {RenderFlags} from './interfaces/definition';
|
|
export {CssSelectorList} from './interfaces/projection';
|
|
|
|
|
|
// clang-format off
|
|
export {
|
|
allocHostVars,
|
|
bind,
|
|
interpolation1,
|
|
interpolation2,
|
|
interpolation3,
|
|
interpolation4,
|
|
interpolation5,
|
|
interpolation6,
|
|
interpolation7,
|
|
interpolation8,
|
|
interpolationV,
|
|
|
|
container,
|
|
containerRefreshStart,
|
|
containerRefreshEnd,
|
|
|
|
nextContext,
|
|
|
|
element,
|
|
elementAttribute,
|
|
elementClassProp,
|
|
elementEnd,
|
|
elementProperty,
|
|
componentHostSyntheticProperty,
|
|
elementStart,
|
|
|
|
elementContainerStart,
|
|
elementContainerEnd,
|
|
elementStyling,
|
|
elementHostAttrs,
|
|
elementStylingMap,
|
|
elementStyleProp,
|
|
elementStylingApply,
|
|
|
|
listener,
|
|
store,
|
|
load,
|
|
|
|
namespaceHTML,
|
|
namespaceMathML,
|
|
namespaceSVG,
|
|
|
|
projection,
|
|
projectionDef,
|
|
|
|
text,
|
|
textBinding,
|
|
template,
|
|
|
|
reference,
|
|
|
|
embeddedViewStart,
|
|
embeddedViewEnd,
|
|
detectChanges,
|
|
markDirty,
|
|
tick,
|
|
|
|
directiveInject,
|
|
injectAttribute,
|
|
|
|
getCurrentView
|
|
} from './instructions';
|
|
|
|
export {
|
|
restoreView,
|
|
|
|
enableBindings,
|
|
disableBindings,
|
|
} from './state';
|
|
|
|
export {
|
|
i18n,
|
|
i18nAttributes,
|
|
i18nExp,
|
|
i18nStart,
|
|
i18nEnd,
|
|
i18nApply,
|
|
i18nPostprocess
|
|
} from './i18n';
|
|
|
|
export {NgModuleFactory, NgModuleRef, NgModuleType} from './ng_module_ref';
|
|
|
|
export {
|
|
AttributeMarker
|
|
} from './interfaces/node';
|
|
|
|
export {
|
|
setClassMetadata,
|
|
} from './metadata';
|
|
|
|
export {
|
|
pipe,
|
|
pipeBind1,
|
|
pipeBind2,
|
|
pipeBind3,
|
|
pipeBind4,
|
|
pipeBindV,
|
|
} from './pipe';
|
|
|
|
export {
|
|
query,
|
|
queryRefresh,
|
|
} from './query';
|
|
export {
|
|
registerContentQuery,
|
|
loadQueryList,
|
|
} from './instructions';
|
|
|
|
export {
|
|
pureFunction0,
|
|
pureFunction1,
|
|
pureFunction2,
|
|
pureFunction3,
|
|
pureFunction4,
|
|
pureFunction5,
|
|
pureFunction6,
|
|
pureFunction7,
|
|
pureFunction8,
|
|
pureFunctionV,
|
|
} from './pure_function';
|
|
|
|
export {templateRefExtractor} from './view_engine_compatibility_prebound';
|
|
|
|
export {resolveWindow, resolveDocument, resolveBody} from './util';
|
|
|
|
// clang-format on
|
|
|
|
export {
|
|
BaseDef,
|
|
ComponentDef,
|
|
ComponentDefWithMeta,
|
|
ComponentTemplate,
|
|
ComponentType,
|
|
DirectiveDef,
|
|
DirectiveDefFlags,
|
|
DirectiveDefWithMeta,
|
|
DirectiveType,
|
|
NgOnChangesFeature,
|
|
InheritDefinitionFeature,
|
|
ProvidersFeature,
|
|
PipeDef,
|
|
PipeDefWithMeta,
|
|
LifecycleHooksFeature,
|
|
defineComponent,
|
|
defineDirective,
|
|
defineNgModule,
|
|
defineBase,
|
|
definePipe,
|
|
getHostElement,
|
|
getComponent,
|
|
getRenderedText,
|
|
renderComponent,
|
|
whenRendered,
|
|
};
|
|
|
|
export {NO_CHANGE} from './tokens';
|