shared.ts (angular-11.0.1) | : | shared.ts (angular-11.0.2) | ||
---|---|---|---|---|
skipping to change at line 22 | skipping to change at line 22 | |||
import {ViewEncapsulation} from '../../metadata/view'; | import {ViewEncapsulation} from '../../metadata/view'; | |||
import {validateAgainstEventAttributes, validateAgainstEventProperties} from '.. /../sanitization/sanitization'; | import {validateAgainstEventAttributes, validateAgainstEventProperties} from '.. /../sanitization/sanitization'; | |||
import {Sanitizer} from '../../sanitization/sanitizer'; | import {Sanitizer} from '../../sanitization/sanitizer'; | |||
import {assertDefined, assertDomNode, assertEqual, assertGreaterThanOrEqual, ass ertIndexInRange, assertNotEqual, assertNotSame, assertSame, assertString} from ' ../../util/assert'; | import {assertDefined, assertDomNode, assertEqual, assertGreaterThanOrEqual, ass ertIndexInRange, assertNotEqual, assertNotSame, assertSame, assertString} from ' ../../util/assert'; | |||
import {createNamedArrayType} from '../../util/named_array_type'; | import {createNamedArrayType} from '../../util/named_array_type'; | |||
import {initNgDevMode} from '../../util/ng_dev_mode'; | import {initNgDevMode} from '../../util/ng_dev_mode'; | |||
import {normalizeDebugBindingName, normalizeDebugBindingValue} from '../../util/ ng_reflect'; | import {normalizeDebugBindingName, normalizeDebugBindingValue} from '../../util/ ng_reflect'; | |||
import {stringify} from '../../util/stringify'; | import {stringify} from '../../util/stringify'; | |||
import {assertFirstCreatePass, assertFirstUpdatePass, assertLContainer, assertLV iew, assertTNodeForLView, assertTNodeForTView} from '../assert'; | import {assertFirstCreatePass, assertFirstUpdatePass, assertLContainer, assertLV iew, assertTNodeForLView, assertTNodeForTView} from '../assert'; | |||
import {attachPatchData} from '../context_discovery'; | import {attachPatchData} from '../context_discovery'; | |||
import {getFactoryDef} from '../definition'; | import {getFactoryDef} from '../definition_factory'; | |||
import {diPublicInInjector, getNodeInjectable, getOrCreateNodeInjectorForNode} f rom '../di'; | import {diPublicInInjector, getNodeInjectable, getOrCreateNodeInjectorForNode} f rom '../di'; | |||
import {formatRuntimeError, RuntimeError, RuntimeErrorCode} from '../error_code' ; | import {formatRuntimeError, RuntimeError, RuntimeErrorCode} from '../error_code' ; | |||
import {throwMultipleComponentError} from '../errors'; | import {throwMultipleComponentError} from '../errors'; | |||
import {executeCheckHooks, executeInitAndCheckHooks, incrementInitPhaseFlags} fr om '../hooks'; | import {executeCheckHooks, executeInitAndCheckHooks, incrementInitPhaseFlags} fr om '../hooks'; | |||
import {CONTAINER_HEADER_OFFSET, HAS_TRANSPLANTED_VIEWS, LContainer, MOVED_VIEWS } from '../interfaces/container'; | import {CONTAINER_HEADER_OFFSET, HAS_TRANSPLANTED_VIEWS, LContainer, MOVED_VIEWS } from '../interfaces/container'; | |||
import {ComponentDef, ComponentTemplate, DirectiveDef, DirectiveDefListOrFactory , HostBindingsFunction, PipeDefListOrFactory, RenderFlags, ViewQueriesFunction} from '../interfaces/definition'; | import {ComponentDef, ComponentTemplate, DirectiveDef, DirectiveDefListOrFactory , HostBindingsFunction, PipeDefListOrFactory, RenderFlags, ViewQueriesFunction} from '../interfaces/definition'; | |||
import {NodeInjectorFactory} from '../interfaces/injector'; | import {NodeInjectorFactory} from '../interfaces/injector'; | |||
import {AttributeMarker, InitialInputData, InitialInputs, LocalRefExtractor, Pro pertyAliases, PropertyAliasValue, TAttributes, TConstantsOrFactory, TContainerNo de, TDirectiveHostNode, TElementContainerNode, TElementNode, TIcuContainerNode, TNode, TNodeFlags, TNodeType, TProjectionNode} from '../interfaces/node'; | import {AttributeMarker, InitialInputData, InitialInputs, LocalRefExtractor, Pro pertyAliases, PropertyAliasValue, TAttributes, TConstantsOrFactory, TContainerNo de, TDirectiveHostNode, TElementContainerNode, TElementNode, TIcuContainerNode, TNode, TNodeFlags, TNodeType, TProjectionNode} from '../interfaces/node'; | |||
import {isProceduralRenderer, RComment, RElement, Renderer3, RendererFactory3, R | import {isProceduralRenderer, Renderer3, RendererFactory3} from '../interfaces/r | |||
Node, RText} from '../interfaces/renderer'; | enderer'; | |||
import {RComment, RElement, RNode, RText} from '../interfaces/renderer_dom'; | ||||
import {SanitizerFn} from '../interfaces/sanitization'; | import {SanitizerFn} from '../interfaces/sanitization'; | |||
import {isComponentDef, isComponentHost, isContentQueryHost, isRootView} from '. ./interfaces/type_checks'; | import {isComponentDef, isComponentHost, isContentQueryHost, isRootView} from '. ./interfaces/type_checks'; | |||
import {CHILD_HEAD, CHILD_TAIL, CLEANUP, CONTEXT, DECLARATION_COMPONENT_VIEW, DE CLARATION_VIEW, FLAGS, HEADER_OFFSET, HOST, HostBindingOpCodes, InitPhaseState, INJECTOR, LView, LViewFlags, NEXT, PARENT, RENDERER, RENDERER_FACTORY, RootConte xt, RootContextFlags, SANITIZER, T_HOST, TData, TRANSPLANTED_VIEWS_TO_REFRESH, T VIEW, TView, TViewType} from '../interfaces/view'; | import {CHILD_HEAD, CHILD_TAIL, CLEANUP, CONTEXT, DECLARATION_COMPONENT_VIEW, DE CLARATION_VIEW, FLAGS, HEADER_OFFSET, HOST, HostBindingOpCodes, InitPhaseState, INJECTOR, LView, LViewFlags, NEXT, PARENT, RENDERER, RENDERER_FACTORY, RootConte xt, RootContextFlags, SANITIZER, T_HOST, TData, TRANSPLANTED_VIEWS_TO_REFRESH, T VIEW, TView, TViewType} from '../interfaces/view'; | |||
import {assertPureTNodeType, assertTNodeType} from '../node_assert'; | import {assertPureTNodeType, assertTNodeType} from '../node_assert'; | |||
import {updateTextNode} from '../node_manipulation'; | import {updateTextNode} from '../node_manipulation'; | |||
import {isInlineTemplate, isNodeMatchingSelectorList} from '../node_selector_mat cher'; | import {isInlineTemplate, isNodeMatchingSelectorList} from '../node_selector_mat cher'; | |||
import {enterView, getBindingsEnabled, getCurrentDirectiveIndex, getCurrentParen tTNode, getCurrentTNode, getCurrentTNodePlaceholderOk, getSelectedIndex, isCurre ntTNodeParent, isInCheckNoChangesMode, isInI18nBlock, leaveView, setBindingIndex , setBindingRootForHostBindings, setCurrentDirectiveIndex, setCurrentQueryIndex, setCurrentTNode, setIsInCheckNoChangesMode, setSelectedIndex} from '../state'; | import {enterView, getBindingsEnabled, getCurrentDirectiveIndex, getCurrentParen tTNode, getCurrentTNode, getCurrentTNodePlaceholderOk, getSelectedIndex, isCurre ntTNodeParent, isInCheckNoChangesMode, isInI18nBlock, leaveView, setBindingIndex , setBindingRootForHostBindings, setCurrentDirectiveIndex, setCurrentQueryIndex, setCurrentTNode, setIsInCheckNoChangesMode, setSelectedIndex} from '../state'; | |||
import {NO_CHANGE} from '../tokens'; | import {NO_CHANGE} from '../tokens'; | |||
import {isAnimationProp, mergeHostAttrs} from '../util/attrs_utils'; | import {isAnimationProp, mergeHostAttrs} from '../util/attrs_utils'; | |||
import {INTERPOLATION_DELIMITER, renderStringify, stringifyForError} from '../ut | import {INTERPOLATION_DELIMITER} from '../util/misc_utils'; | |||
il/misc_utils'; | import {renderStringify, stringifyForError} from '../util/stringify_utils'; | |||
import {getFirstLContainer, getLViewParent, getNextLContainer} from '../util/vie w_traversal_utils'; | import {getFirstLContainer, getLViewParent, getNextLContainer} from '../util/vie w_traversal_utils'; | |||
import {getComponentLViewByIndex, getNativeByIndex, getNativeByTNode, isCreation Mode, readPatchedLView, resetPreOrderHookFlags, unwrapLView, updateTransplantedV iewCount, viewAttachedToChangeDetector} from '../util/view_utils'; | import {getComponentLViewByIndex, getNativeByIndex, getNativeByTNode, isCreation Mode, readPatchedLView, resetPreOrderHookFlags, unwrapLView, updateTransplantedV iewCount, viewAttachedToChangeDetector} from '../util/view_utils'; | |||
import {selectIndexInternal} from './advance'; | import {selectIndexInternal} from './advance'; | |||
import {attachLContainerDebug, attachLViewDebug, cloneToLViewFromTViewBlueprint, cloneToTViewData, LCleanup, LViewBlueprint, MatchesArray, TCleanup, TNodeDebug, TNodeInitialInputs, TNodeLocalNames, TViewComponents, TViewConstructor} from '. /lview_debug'; | import {attachLContainerDebug, attachLViewDebug, cloneToLViewFromTViewBlueprint, cloneToTViewData, LCleanup, LViewBlueprint, MatchesArray, TCleanup, TNodeDebug, TNodeInitialInputs, TNodeLocalNames, TViewComponents, TViewConstructor} from '. /lview_debug'; | |||
/** | /** | |||
* A permanent marker promise which signifies that the current CD tree is | * A permanent marker promise which signifies that the current CD tree is | |||
* clean. | * clean. | |||
*/ | */ | |||
End of changes. 3 change blocks. | ||||
5 lines changed or deleted | 6 lines changed or added |