|
6 | 6 | * found in the LICENSE file at https://angular.io/license
|
7 | 7 | */
|
8 | 8 |
|
9 |
| -import {InjectFlags, InjectionToken, Injector} from '../di'; |
10 |
| -import {resolveForwardRef} from '../di/forward_ref'; |
11 |
| -import {ErrorHandler} from '../error_handler'; |
12 |
| -import {Type} from '../interface/type'; |
13 |
| -import {CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA, SchemaMetadata} from '../metadata/schema'; |
14 |
| -import {validateAgainstEventAttributes, validateAgainstEventProperties} from '../sanitization/sanitization'; |
15 |
| -import {Sanitizer} from '../sanitization/security'; |
16 |
| -import {StyleSanitizeFn} from '../sanitization/style_sanitizer'; |
17 |
| -import {assertDataInRange, assertDefined, assertDomNode, assertEqual, assertLessThan, assertNotEqual} from '../util/assert'; |
18 |
| -import {isObservable} from '../util/lang'; |
19 |
| -import {normalizeDebugBindingName, normalizeDebugBindingValue} from '../util/ng_reflect'; |
20 |
| - |
21 |
| -import {assertHasParent, assertLContainerOrUndefined, assertLView, assertPreviousIsParent} from './assert'; |
22 |
| -import {bindingUpdated, bindingUpdated2, bindingUpdated3, bindingUpdated4} from './bindings'; |
23 |
| -import {attachPatchData, getComponentViewByInstance} from './context_discovery'; |
24 |
| -import {attachLContainerDebug, attachLViewDebug} from './debug'; |
25 |
| -import {diPublicInInjector, getNodeInjectable, getOrCreateInjectable, getOrCreateNodeInjectorForNode, injectAttributeImpl} from './di'; |
26 |
| -import {throwMultipleComponentError} from './errors'; |
27 |
| -import {executeHooks, executePreOrderHooks, registerPostOrderHooks, registerPreOrderHooks} from './hooks'; |
28 |
| -import {ACTIVE_INDEX, LContainer, VIEWS} from './interfaces/container'; |
29 |
| -import {ComponentDef, ComponentTemplate, DirectiveDef, DirectiveDefListOrFactory, PipeDefListOrFactory, RenderFlags, ViewQueriesFunction} from './interfaces/definition'; |
30 |
| -import {INJECTOR_BLOOM_PARENT_SIZE, NodeInjectorFactory} from './interfaces/injector'; |
31 |
| -import {AttributeMarker, InitialInputData, InitialInputs, LocalRefExtractor, PropertyAliasValue, PropertyAliases, TAttributes, TContainerNode, TElementContainerNode, TElementNode, TIcuContainerNode, TNode, TNodeFlags, TNodeProviderIndexes, TNodeType, TProjectionNode, TViewNode} from './interfaces/node'; |
32 |
| -import {PlayerFactory} from './interfaces/player'; |
33 |
| -import {CssSelectorList} from './interfaces/projection'; |
34 |
| -import {LQueries} from './interfaces/query'; |
35 |
| -import {GlobalTargetResolver, RComment, RElement, RText, Renderer3, RendererFactory3, isProceduralRenderer} from './interfaces/renderer'; |
36 |
| -import {SanitizerFn} from './interfaces/sanitization'; |
37 |
| -import {StylingContext} from './interfaces/styling'; |
38 |
| -import {BINDING_INDEX, CHILD_HEAD, CHILD_TAIL, CLEANUP, CONTEXT, DECLARATION_VIEW, ExpandoInstructions, FLAGS, HEADER_OFFSET, HOST, INJECTOR, InitPhaseState, LView, LViewFlags, NEXT, OpaqueViewState, PARENT, QUERIES, RENDERER, RENDERER_FACTORY, RootContext, RootContextFlags, SANITIZER, TData, TVIEW, TView, T_HOST} from './interfaces/view'; |
39 |
| -import {assertNodeOfPossibleTypes, assertNodeType} from './node_assert'; |
40 |
| -import {appendChild, appendProjectedNodes, createTextNode, insertView, removeView} from './node_manipulation'; |
41 |
| -import {isNodeMatchingSelectorList, matchingProjectionSelectorIndex} from './node_selector_matcher'; |
42 |
| -import {applyOnCreateInstructions} from './node_util'; |
43 |
| -import {decreaseElementDepthCount, enterView, getBindingsEnabled, getCheckNoChangesMode, getContextLView, getCurrentDirectiveDef, getElementDepthCount, getIsParent, getLView, getPreviousOrParentTNode, increaseElementDepthCount, isCreationMode, leaveView, nextContextImpl, resetComponentState, setBindingRoot, setCheckNoChangesMode, setCurrentDirectiveDef, setCurrentQueryIndex, setIsParent, setPreviousOrParentTNode} from './state'; |
44 |
| -import {getInitialClassNameValue, getInitialStyleStringValue, initializeStaticContext as initializeStaticStylingContext, patchContextWithStaticAttrs, renderInitialClasses, renderInitialStyles, renderStyling, updateClassProp as updateElementClassProp, updateContextWithBindings, updateStyleProp as updateElementStyleProp, updateStylingMap} from './styling/class_and_style_bindings'; |
45 |
| -import {BoundPlayerFactory} from './styling/player_factory'; |
46 |
| -import {ANIMATION_PROP_PREFIX, allocateDirectiveIntoContext, createEmptyStylingContext, forceClassesAsString, forceStylesAsString, getStylingContext, hasClassInput, hasStyleInput, isAnimationProp} from './styling/util'; |
47 |
| -import {NO_CHANGE} from './tokens'; |
48 |
| -import {attrsStylingIndexOf, setUpAttributes} from './util/attrs_utils'; |
49 |
| -import {INTERPOLATION_DELIMITER, renderStringify} from './util/misc_utils'; |
50 |
| -import {findComponentView, getLViewParent, getRootContext, getRootView} from './util/view_traversal_utils'; |
51 |
| -import {getComponentViewByIndex, getNativeByIndex, getNativeByTNode, getTNode, isComponent, isComponentDef, isContentQueryHost, isRootView, loadInternal, readPatchedLView, resetPreOrderHookFlags, unwrapRNode, viewAttachedToChangeDetector} from './util/view_utils'; |
| 9 | +import {InjectFlags, InjectionToken, Injector} from '../../di'; |
| 10 | +import {resolveForwardRef} from '../../di/forward_ref'; |
| 11 | +import {ErrorHandler} from '../../error_handler'; |
| 12 | +import {Type} from '../../interface/type'; |
| 13 | +import {CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA, SchemaMetadata} from '../../metadata/schema'; |
| 14 | +import {validateAgainstEventAttributes, validateAgainstEventProperties} from '../../sanitization/sanitization'; |
| 15 | +import {Sanitizer} from '../../sanitization/security'; |
| 16 | +import {StyleSanitizeFn} from '../../sanitization/style_sanitizer'; |
| 17 | +import {assertDataInRange, assertDefined, assertDomNode, assertEqual, assertLessThan, assertNotEqual} from '../../util/assert'; |
| 18 | +import {isObservable} from '../../util/lang'; |
| 19 | +import {normalizeDebugBindingName, normalizeDebugBindingValue} from '../../util/ng_reflect'; |
| 20 | + |
| 21 | +import {assertHasParent, assertLContainerOrUndefined, assertLView, assertPreviousIsParent} from '../assert'; |
| 22 | +import {bindingUpdated, bindingUpdated2, bindingUpdated3, bindingUpdated4} from '../bindings'; |
| 23 | +import {attachPatchData, getComponentViewByInstance} from '../context_discovery'; |
| 24 | +import {attachLContainerDebug, attachLViewDebug} from '../debug'; |
| 25 | +import {diPublicInInjector, getNodeInjectable, getOrCreateInjectable, getOrCreateNodeInjectorForNode, injectAttributeImpl} from '../di'; |
| 26 | +import {throwMultipleComponentError} from '../errors'; |
| 27 | +import {executeHooks, executePreOrderHooks, registerPostOrderHooks, registerPreOrderHooks} from '../hooks'; |
| 28 | +import {ACTIVE_INDEX, LContainer, VIEWS} from '../interfaces/container'; |
| 29 | +import {ComponentDef, ComponentTemplate, DirectiveDef, DirectiveDefListOrFactory, PipeDefListOrFactory, RenderFlags, ViewQueriesFunction} from '../interfaces/definition'; |
| 30 | +import {INJECTOR_BLOOM_PARENT_SIZE, NodeInjectorFactory} from '../interfaces/injector'; |
| 31 | +import {AttributeMarker, InitialInputData, InitialInputs, LocalRefExtractor, PropertyAliasValue, PropertyAliases, TAttributes, TContainerNode, TElementContainerNode, TElementNode, TIcuContainerNode, TNode, TNodeFlags, TNodeProviderIndexes, TNodeType, TProjectionNode, TViewNode} from '../interfaces/node'; |
| 32 | +import {PlayerFactory} from '../interfaces/player'; |
| 33 | +import {CssSelectorList} from '../interfaces/projection'; |
| 34 | +import {LQueries} from '../interfaces/query'; |
| 35 | +import {GlobalTargetResolver, RComment, RElement, RText, Renderer3, RendererFactory3, isProceduralRenderer} from '../interfaces/renderer'; |
| 36 | +import {SanitizerFn} from '../interfaces/sanitization'; |
| 37 | +import {StylingContext} from '../interfaces/styling'; |
| 38 | +import {BINDING_INDEX, CHILD_HEAD, CHILD_TAIL, CLEANUP, CONTEXT, DECLARATION_VIEW, ExpandoInstructions, FLAGS, HEADER_OFFSET, HOST, INJECTOR, InitPhaseState, LView, LViewFlags, NEXT, OpaqueViewState, PARENT, QUERIES, RENDERER, RENDERER_FACTORY, RootContext, RootContextFlags, SANITIZER, TData, TVIEW, TView, T_HOST} from '../interfaces/view'; |
| 39 | +import {assertNodeOfPossibleTypes, assertNodeType} from '../node_assert'; |
| 40 | +import {appendChild, appendProjectedNodes, createTextNode, insertView, removeView} from '../node_manipulation'; |
| 41 | +import {isNodeMatchingSelectorList, matchingProjectionSelectorIndex} from '../node_selector_matcher'; |
| 42 | +import {applyOnCreateInstructions} from '../node_util'; |
| 43 | +import {decreaseElementDepthCount, enterView, getBindingsEnabled, getCheckNoChangesMode, getContextLView, getCurrentDirectiveDef, getElementDepthCount, getIsParent, getLView, getPreviousOrParentTNode, increaseElementDepthCount, isCreationMode, leaveView, nextContextImpl, resetComponentState, setBindingRoot, setCheckNoChangesMode, setCurrentDirectiveDef, setCurrentQueryIndex, setIsParent, setPreviousOrParentTNode} from '../state'; |
| 44 | +import {getInitialClassNameValue, getInitialStyleStringValue, initializeStaticContext as initializeStaticStylingContext, patchContextWithStaticAttrs, renderInitialClasses, renderInitialStyles, renderStyling, updateClassProp as updateElementClassProp, updateContextWithBindings, updateStyleProp as updateElementStyleProp, updateStylingMap} from '../styling/class_and_style_bindings'; |
| 45 | +import {BoundPlayerFactory} from '../styling/player_factory'; |
| 46 | +import {ANIMATION_PROP_PREFIX, allocateDirectiveIntoContext, createEmptyStylingContext, forceClassesAsString, forceStylesAsString, getStylingContext, hasClassInput, hasStyleInput, isAnimationProp} from '../styling/util'; |
| 47 | +import {NO_CHANGE} from '../tokens'; |
| 48 | +import {attrsStylingIndexOf, setUpAttributes} from '../util/attrs_utils'; |
| 49 | +import {INTERPOLATION_DELIMITER, renderStringify} from '../util/misc_utils'; |
| 50 | +import {findComponentView, getLViewParent, getRootContext, getRootView} from '../util/view_traversal_utils'; |
| 51 | +import {getComponentViewByIndex, getNativeByIndex, getNativeByTNode, getTNode, isComponent, isComponentDef, isContentQueryHost, isRootView, loadInternal, readPatchedLView, resetPreOrderHookFlags, unwrapRNode, viewAttachedToChangeDetector} from '../util/view_utils'; |
52 | 52 |
|
53 | 53 |
|
54 | 54 |
|
|
0 commit comments