@angular/core 21.1.0-rc.0 → 21.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/_attribute-chunk.mjs +1 -1
- package/fesm2022/_debug_node-chunk.mjs +41 -33
- package/fesm2022/_debug_node-chunk.mjs.map +1 -1
- package/fesm2022/_effect-chunk.mjs +1 -1
- package/fesm2022/_linked_signal-chunk.mjs +1 -1
- package/fesm2022/_not_found-chunk.mjs +1 -1
- package/fesm2022/_resource-chunk.mjs +1 -1
- package/fesm2022/_untracked-chunk.mjs +10 -5
- package/fesm2022/_untracked-chunk.mjs.map +1 -1
- package/fesm2022/_weak_ref-chunk.mjs +1 -1
- package/fesm2022/core.mjs +5 -5
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives-di.mjs +1 -1
- package/fesm2022/primitives-event-dispatch.mjs +1 -1
- package/fesm2022/primitives-signals.mjs +1 -1
- package/fesm2022/primitives-signals.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +2 -2
- package/fesm2022/testing.mjs.map +1 -1
- package/package.json +2 -2
- package/schematics/bundles/add-bootstrap-context-to-server-main.cjs +1 -1
- package/schematics/bundles/application-config-core.cjs +1 -1
- package/schematics/bundles/apply_import_manager-CxA_YYgB.cjs +1 -1
- package/schematics/bundles/bootstrap-options-migration.cjs +1 -1
- package/schematics/bundles/cleanup-unused-imports.cjs +1 -1
- package/schematics/bundles/common-to-standalone-migration.cjs +9 -5
- package/schematics/bundles/compiler_host-CY14HvaP.cjs +1 -1
- package/schematics/bundles/control-flow-migration.cjs +1 -1
- package/schematics/bundles/imports-CVmcbVA9.cjs +1 -1
- package/schematics/bundles/index-BtLcQH8g.cjs +1 -1
- package/schematics/bundles/inject-migration.cjs +1 -1
- package/schematics/bundles/leading_space-BTPRV0wu.cjs +1 -1
- package/schematics/bundles/migrate_ts_type_references-CV7qdt5t.cjs +1 -1
- package/schematics/bundles/ng_component_template-BOuKAnQd.cjs +1 -1
- package/schematics/bundles/ng_decorators-DYy6II6x.cjs +1 -1
- package/schematics/bundles/ngclass-to-class-migration.cjs +1 -1
- package/schematics/bundles/ngstyle-to-style-migration.cjs +1 -1
- package/schematics/bundles/nodes-ZSQ7WZRB.cjs +1 -1
- package/schematics/bundles/output-migration.cjs +1 -1
- package/schematics/bundles/parse_html-C8eKA9px.cjs +1 -1
- package/schematics/bundles/project_paths-D2V-Uh2L.cjs +1 -1
- package/schematics/bundles/project_tsconfig_paths-DkkMibv-.cjs +1 -1
- package/schematics/bundles/property_name-BCpALNpZ.cjs +1 -1
- package/schematics/bundles/route-lazy-loading.cjs +1 -1
- package/schematics/bundles/router-current-navigation.cjs +1 -1
- package/schematics/bundles/router-last-successful-navigation.cjs +1 -1
- package/schematics/bundles/router-testing-module-migration.cjs +1 -1
- package/schematics/bundles/self-closing-tags-migration.cjs +1 -1
- package/schematics/bundles/signal-input-migration.cjs +1 -1
- package/schematics/bundles/signal-queries-migration.cjs +1 -1
- package/schematics/bundles/signals.cjs +1 -1
- package/schematics/bundles/standalone-migration.cjs +1 -1
- package/schematics/bundles/symbol-DZeHSR-V.cjs +1 -1
- package/types/_api-chunk.d.ts +1 -1
- package/types/_chrome_dev_tools_performance-chunk.d.ts +1 -1
- package/types/_discovery-chunk.d.ts +1 -1
- package/types/_effect-chunk.d.ts +1 -1
- package/types/_event_dispatcher-chunk.d.ts +1 -1
- package/types/_formatter-chunk.d.ts +1 -1
- package/types/_weak_ref-chunk.d.ts +1 -1
- package/types/core.d.ts +436 -419
- package/types/primitives-di.d.ts +1 -1
- package/types/primitives-event-dispatch.d.ts +1 -1
- package/types/primitives-signals.d.ts +1 -1
- package/types/rxjs-interop.d.ts +1 -1
- package/types/testing.d.ts +1 -1
package/types/core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.1.
|
|
2
|
+
* @license Angular v21.1.1
|
|
3
3
|
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import { SIGNAL, ReactiveNodeKind } from './_formatter-chunk.js';
|
|
8
8
|
import { Signal, WritableSignal, OutputRef, Provider, EnvironmentProviders, Type as Type$1, ModuleWithProviders, TypeProvider, ValueProvider, ClassProvider, ConstructorProvider, ExistingProvider, FactoryProvider, StaticClassProvider, ProviderToken, StaticProvider, Injector, ValueSansProvider, ExistingSansProvider, StaticClassSansProvider, ConstructorSansProvider, FactorySansProvider, ClassSansProvider, InjectionToken, InternalInjectFlags, InjectOptions, ValueEqualityFn, EventCallback, isSignal, enableProfiling as enableProfiling$1 } from './_chrome_dev_tools_performance-chunk.js';
|
|
9
9
|
export { AbstractType, CreateSignalOptions, DestroyRef, DestroyableInjector, OutputRefSubscription, isWritableSignal, signal, InternalEnvironmentProviders as ɵInternalEnvironmentProviders, JSACTION_EVENT_CONTRACT as ɵJSACTION_EVENT_CONTRACT, Writable as ɵWritable, isEnvironmentProviders as ɵisEnvironmentProviders, ɵunwrapWritableSignal } from './_chrome_dev_tools_performance-chunk.js';
|
|
10
|
-
import { InputSignalNode, TypeDecorator, AfterRenderRef, EffectCleanupRegisterFn, SchemaMetadata, ComponentDef, DirectiveDef, CssSelectorList, DirectiveDefFeature, HostBindingsFunction, TAttributes, ContentQueriesFunction, ViewQueriesFunction, ComponentTemplate, TConstantsOrFactory, ComponentDefFeature, ViewEncapsulation as ViewEncapsulation$1, ChangeDetectionStrategy as ChangeDetectionStrategy$1, TypeOrFactory, DependencyTypeList, InputFlags, InputTransformFunction, EmbeddedViewRef, LView, ApplicationRef, ChangeDetectorRef, ComponentFactory as ComponentFactory$1, NgModuleRef as NgModuleRef$1, EnvironmentInjector, DirectiveWithBindings, Binding, ComponentRef as ComponentRef$1, ElementRef, ComponentFactoryResolver as ComponentFactoryResolver$1, InternalNgModuleRef, NgModuleFactory as NgModuleFactory$1, ViewRef as ViewRef$1, PlatformRef, NgZone, ɵɵFactoryDeclaration as __FactoryDeclaration, ɵɵInjectableDeclaration as __InjectableDeclaration, ɵɵNgModuleDeclaration as __NgModuleDeclaration, ɵɵInjectorDeclaration as __InjectorDeclaration, DeferBlockDependencyInterceptor, DeferBlockConfig, DeferBlockState, TNode, LContainer, TView, TDeferBlockDetails, RNode, Component, TrustedHTML, DehydratedDeferBlock, CompilerOptions,
|
|
10
|
+
import { InputSignalNode, TypeDecorator, AfterRenderRef, EffectCleanupRegisterFn, SchemaMetadata, ComponentDef, DirectiveDef, CssSelectorList, DirectiveDefFeature, HostBindingsFunction, TAttributes, ContentQueriesFunction, ViewQueriesFunction, ComponentTemplate, TConstantsOrFactory, ComponentDefFeature, ViewEncapsulation as ViewEncapsulation$1, ChangeDetectionStrategy as ChangeDetectionStrategy$1, TypeOrFactory, DependencyTypeList, InputFlags, InputTransformFunction, EmbeddedViewRef, LView, ApplicationRef, ChangeDetectorRef, ComponentFactory as ComponentFactory$1, NgModuleRef as NgModuleRef$1, EnvironmentInjector, DirectiveWithBindings, Binding, ComponentRef as ComponentRef$1, ElementRef, ComponentFactoryResolver as ComponentFactoryResolver$1, InternalNgModuleRef, NgModuleFactory as NgModuleFactory$1, ViewRef as ViewRef$1, PlatformRef, NgZone, ɵɵFactoryDeclaration as __FactoryDeclaration, ɵɵInjectableDeclaration as __InjectableDeclaration, ɵɵNgModuleDeclaration as __NgModuleDeclaration, ɵɵInjectorDeclaration as __InjectorDeclaration, DeferBlockDependencyInterceptor, DeferBlockConfig, DeferBlockState, TNode, LContainer, TView, TDeferBlockDetails, RNode, Component, TrustedHTML, DehydratedDeferBlock, CompilerOptions, ComponentType, NgModuleScopeInfoFromDecorator, PipeType, DirectiveType, RawScopeInfoFromDecorator, HostDirectiveConfig, DependencyResolverFn, TDeferDetailsFlags, SanitizerFn, AnimationClassBindingFn, AnimationFunction, LocalRefExtractor, OpaqueViewState, GlobalTargetResolver, ProjectionSlots, QueryFlags, QueryList, RElement, ClassDebugInfo, Directive, NgModule, Pipe, TrustedScriptURL, TrustedScript } from './_discovery-chunk.js';
|
|
11
11
|
export { APP_BOOTSTRAP_LISTENER, AnimationCallbackEvent, BootstrapOptions, COMPILER_OPTIONS, CUSTOM_ELEMENTS_SCHEMA, Compiler, CompilerFactory, ComponentDecorator, CreateEffectOptions, DebugElement, DebugEventListener, DebugNode, DirectiveDecorator, EffectCleanupFn, EffectRef, EventEmitter, HostBinding, HostBindingDecorator, HostListener, HostListenerDecorator, InjectableType, InjectorType, Input, InputDecorator, ListenerOptions, MAX_ANIMATION_TIMEOUT, ModuleWithComponentFactories, NO_ERRORS_SCHEMA, NgModuleDecorator, Output, OutputDecorator, PipeDecorator, Predicate, Renderer2, RendererFactory2, RendererStyleFlags2, RendererType2, Sanitizer, SecurityContext, asNativeElements, effect, getDebugNode, inputBinding, outputBinding, twoWayBinding, ANIMATIONS_DISABLED as ɵANIMATIONS_DISABLED, AfterRenderManager as ɵAfterRenderManager, AnimationRendererType as ɵAnimationRendererType, AttributeMarker as ɵAttributeMarker, CONTAINER_HEADER_OFFSET as ɵCONTAINER_HEADER_OFFSET, ChangeDetectionScheduler as ɵChangeDetectionScheduler, DeferBlockBehavior as ɵDeferBlockBehavior, DeferBlockDetails as ɵDeferBlockDetails, EffectScheduler as ɵEffectScheduler, INJECTOR_SCOPE as ɵINJECTOR_SCOPE, NG_INJ_DEF as ɵNG_INJ_DEF, NG_PROV_DEF as ɵNG_PROV_DEF, NavigateEvent as ɵNavigateEvent, Navigation as ɵNavigation, NavigationCurrentEntryChangeEvent as ɵNavigationCurrentEntryChangeEvent, NavigationDestination as ɵNavigationDestination, NavigationHistoryEntry as ɵNavigationHistoryEntry, NavigationInterceptOptions as ɵNavigationInterceptOptions, NavigationNavigateOptions as ɵNavigationNavigateOptions, NavigationOptions as ɵNavigationOptions, NavigationReloadOptions as ɵNavigationReloadOptions, NavigationResult as ɵNavigationResult, NavigationTransition as ɵNavigationTransition, NavigationTypeString as ɵNavigationTypeString, NavigationUpdateCurrentEntryOptions as ɵNavigationUpdateCurrentEntryOptions, NoopNgZone as ɵNoopNgZone, NotificationSource as ɵNotificationSource, PROVIDED_ZONELESS as ɵPROVIDED_ZONELESS, PipeDef as ɵPipeDef, R3Injector as ɵR3Injector, RenderFlags as ɵRenderFlags, TracingAction as ɵTracingAction, TracingService as ɵTracingService, TracingSnapshot as ɵTracingSnapshot, ZONELESS_ENABLED as ɵZONELESS_ENABLED, getDebugNode as ɵgetDebugNode, getDeferBlocks as ɵgetDeferBlocks, getInjectableDef as ɵgetInjectableDef, injectChangeDetectorRef as ɵinjectChangeDetectorRef, isBoundToModule as ɵisBoundToModule, isInjectable as ɵisInjectable, ɵɵComponentDeclaration, ɵɵDirectiveDeclaration, ɵɵInjectorDef, ɵɵPipeDeclaration, ɵɵdefineInjectable, ɵɵdefineInjector } from './_discovery-chunk.js';
|
|
12
12
|
import { ResourceOptions, ResourceRef, ResourceStatus, ResourceStreamingLoader, WritableResource, Resource } from './_api-chunk.js';
|
|
13
13
|
export { BaseResourceOptions, OutputEmitterRef, OutputOptions, PromiseResourceOptions, ResourceLoader, ResourceLoaderParams, ResourceStreamItem, StreamingResourceOptions, output, getOutputDestroyRef as ɵgetOutputDestroyRef } from './_api-chunk.js';
|
|
@@ -658,7 +658,8 @@ type SimpleChanges<T = unknown> = T extends object ? {
|
|
|
658
658
|
|
|
659
659
|
/**
|
|
660
660
|
* @description
|
|
661
|
-
* A lifecycle hook that is called when
|
|
661
|
+
* A lifecycle hook that is called when the value of one or more component or directive inputs
|
|
662
|
+
* change. This includes both signal-based and decorator-based inputs.
|
|
662
663
|
* Define an `ngOnChanges()` method to handle the changes.
|
|
663
664
|
*
|
|
664
665
|
* @see {@link DoCheck}
|
|
@@ -667,9 +668,19 @@ type SimpleChanges<T = unknown> = T extends object ? {
|
|
|
667
668
|
*
|
|
668
669
|
* @usageNotes
|
|
669
670
|
* The following snippet shows how a component can implement this interface to
|
|
670
|
-
* define an on-changes handler for an input property.
|
|
671
|
+
* define an on-changes handler for an input property. While you should prefer
|
|
672
|
+
* `computed` and `effect` when working with signal-based inputs, the `ngOnChanges`
|
|
673
|
+
* method does include value changes for signal-based inputs.
|
|
671
674
|
*
|
|
672
|
-
*
|
|
675
|
+
* ```ts
|
|
676
|
+
* @Component({ ... })
|
|
677
|
+
* export class UserProfile implements OnChanges {
|
|
678
|
+
* userId = input<number>(0);
|
|
679
|
+
* ngOnChanges(changes: SimpleChanges<UserProfile>) {
|
|
680
|
+
* // changes.userId contains the old and new value.
|
|
681
|
+
* }
|
|
682
|
+
* }
|
|
683
|
+
* ```
|
|
673
684
|
*
|
|
674
685
|
* @publicApi
|
|
675
686
|
*/
|
|
@@ -5830,243 +5841,6 @@ declare function ɵassertType<T>(value: unknown): asserts value is T;
|
|
|
5830
5841
|
/** Tracks the IDs of LViews with leaving animations. */
|
|
5831
5842
|
declare const allLeavingAnimations: Set<number>;
|
|
5832
5843
|
|
|
5833
|
-
declare function compileNgModuleFactory<M>(injector: Injector, options: CompilerOptions, moduleType: Type$1<M>): Promise<NgModuleFactory$1<M>>;
|
|
5834
|
-
|
|
5835
|
-
/**
|
|
5836
|
-
* Create a new `Injector` which is configured using a `defType` of `InjectorType<any>`s.
|
|
5837
|
-
*/
|
|
5838
|
-
declare function createInjector(defType: any, parent?: Injector | null, additionalProviders?: Array<Provider | StaticProvider> | null, name?: string): Injector;
|
|
5839
|
-
|
|
5840
|
-
/**
|
|
5841
|
-
* Adds the given NgModule type to Angular's NgModule registry.
|
|
5842
|
-
*
|
|
5843
|
-
* This is generated as a side-effect of NgModule compilation. Note that the `id` is passed in
|
|
5844
|
-
* explicitly and not read from the NgModule definition. This is for two reasons: it avoids a
|
|
5845
|
-
* megamorphic read, and in JIT there's a chicken-and-egg problem where the NgModule may not be
|
|
5846
|
-
* fully resolved when it's registered.
|
|
5847
|
-
*
|
|
5848
|
-
* @codeGenApi
|
|
5849
|
-
*/
|
|
5850
|
-
declare function registerNgModuleType(ngModuleType: NgModuleType, id: string): void;
|
|
5851
|
-
/**
|
|
5852
|
-
* Control whether the NgModule registration system enforces that each NgModule type registered has
|
|
5853
|
-
* a unique id.
|
|
5854
|
-
*
|
|
5855
|
-
* This is useful for testing as the NgModule registry cannot be properly reset between tests with
|
|
5856
|
-
* Angular's current API.
|
|
5857
|
-
*/
|
|
5858
|
-
declare function setAllowDuplicateNgModuleIdsForTest(allowDuplicates: boolean): void;
|
|
5859
|
-
|
|
5860
|
-
/**
|
|
5861
|
-
* The internal view context which is specific to a given DOM element, directive or
|
|
5862
|
-
* component instance. Each value in here (besides the LView and element node details)
|
|
5863
|
-
* can be present, null or undefined. If undefined then it implies the value has not been
|
|
5864
|
-
* looked up yet, otherwise, if null, then a lookup was executed and nothing was found.
|
|
5865
|
-
*
|
|
5866
|
-
* Each value will get filled when the respective value is examined within the getContext
|
|
5867
|
-
* function. The component, element and each directive instance will share the same instance
|
|
5868
|
-
* of the context.
|
|
5869
|
-
*/
|
|
5870
|
-
declare class LContext {
|
|
5871
|
-
/**
|
|
5872
|
-
* ID of the component's parent view data.
|
|
5873
|
-
*/
|
|
5874
|
-
private lViewId;
|
|
5875
|
-
/**
|
|
5876
|
-
* The index instance of the node.
|
|
5877
|
-
*/
|
|
5878
|
-
nodeIndex: number;
|
|
5879
|
-
/**
|
|
5880
|
-
* The instance of the DOM node that is attached to the lNode.
|
|
5881
|
-
*/
|
|
5882
|
-
native: RNode;
|
|
5883
|
-
/**
|
|
5884
|
-
* The instance of the Component node.
|
|
5885
|
-
*/
|
|
5886
|
-
component: {} | null | undefined;
|
|
5887
|
-
/**
|
|
5888
|
-
* The list of active directives that exist on this element.
|
|
5889
|
-
*/
|
|
5890
|
-
directives: any[] | null | undefined;
|
|
5891
|
-
/**
|
|
5892
|
-
* The map of local references (local reference name => element or directive instance) that
|
|
5893
|
-
* exist on this element.
|
|
5894
|
-
*/
|
|
5895
|
-
localRefs: {
|
|
5896
|
-
[key: string]: any;
|
|
5897
|
-
} | null | undefined;
|
|
5898
|
-
/** Component's parent view data. */
|
|
5899
|
-
get lView(): LView | null;
|
|
5900
|
-
constructor(
|
|
5901
|
-
/**
|
|
5902
|
-
* ID of the component's parent view data.
|
|
5903
|
-
*/
|
|
5904
|
-
lViewId: number,
|
|
5905
|
-
/**
|
|
5906
|
-
* The index instance of the node.
|
|
5907
|
-
*/
|
|
5908
|
-
nodeIndex: number,
|
|
5909
|
-
/**
|
|
5910
|
-
* The instance of the DOM node that is attached to the lNode.
|
|
5911
|
-
*/
|
|
5912
|
-
native: RNode);
|
|
5913
|
-
}
|
|
5914
|
-
|
|
5915
|
-
/**
|
|
5916
|
-
* Returns the matching `LContext` data for a given DOM node, directive or component instance.
|
|
5917
|
-
*
|
|
5918
|
-
* This function will examine the provided DOM element, component, or directive instance\'s
|
|
5919
|
-
* monkey-patched property to derive the `LContext` data. Once called then the monkey-patched
|
|
5920
|
-
* value will be that of the newly created `LContext`.
|
|
5921
|
-
*
|
|
5922
|
-
* If the monkey-patched value is the `LView` instance then the context value for that
|
|
5923
|
-
* target will be created and the monkey-patch reference will be updated. Therefore when this
|
|
5924
|
-
* function is called it may mutate the provided element\'s, component\'s or any of the associated
|
|
5925
|
-
* directive\'s monkey-patch values.
|
|
5926
|
-
*
|
|
5927
|
-
* If the monkey-patch value is not detected then the code will walk up the DOM until an element
|
|
5928
|
-
* is found which contains a monkey-patch reference. When that occurs then the provided element
|
|
5929
|
-
* will be updated with a new context (which is then returned). If the monkey-patch value is not
|
|
5930
|
-
* detected for a component/directive instance then it will throw an error (all components and
|
|
5931
|
-
* directives should be automatically monkey-patched by ivy).
|
|
5932
|
-
*
|
|
5933
|
-
* @param target Component, Directive or DOM Node.
|
|
5934
|
-
*/
|
|
5935
|
-
declare function getLContext(target: any): LContext | null;
|
|
5936
|
-
|
|
5937
|
-
declare const NG_COMP_DEF: string;
|
|
5938
|
-
declare const NG_DIR_DEF: string;
|
|
5939
|
-
declare const NG_PIPE_DEF: string;
|
|
5940
|
-
declare const NG_MOD_DEF: string;
|
|
5941
|
-
/**
|
|
5942
|
-
* If a directive is diPublic, bloomAdd sets a property on the type with this constant as
|
|
5943
|
-
* the key and the directive's unique ID as the value. This allows us to map directives to their
|
|
5944
|
-
* bloom filter bit for DI.
|
|
5945
|
-
*/
|
|
5946
|
-
declare const NG_ELEMENT_ID: string;
|
|
5947
|
-
|
|
5948
|
-
/**
|
|
5949
|
-
* This feature adds the host directives behavior to a directive definition by patching a
|
|
5950
|
-
* function onto it. The expectation is that the runtime will invoke the function during
|
|
5951
|
-
* directive matching.
|
|
5952
|
-
*
|
|
5953
|
-
* For example:
|
|
5954
|
-
* ```ts
|
|
5955
|
-
* class ComponentWithHostDirective {
|
|
5956
|
-
* static ɵcmp = defineComponent({
|
|
5957
|
-
* type: ComponentWithHostDirective,
|
|
5958
|
-
* features: [ɵɵHostDirectivesFeature([
|
|
5959
|
-
* SimpleHostDirective,
|
|
5960
|
-
* {directive: AdvancedHostDirective, inputs: ['foo: alias'], outputs: ['bar']},
|
|
5961
|
-
* ])]
|
|
5962
|
-
* });
|
|
5963
|
-
* }
|
|
5964
|
-
* ```
|
|
5965
|
-
*
|
|
5966
|
-
* @codeGenApi
|
|
5967
|
-
*/
|
|
5968
|
-
declare function ɵɵHostDirectivesFeature(rawHostDirectives: HostDirectiveConfig[] | (() => HostDirectiveConfig[])): DirectiveDefFeature;
|
|
5969
|
-
|
|
5970
|
-
/**
|
|
5971
|
-
* Merges the definition from a super class to a sub class.
|
|
5972
|
-
* @param definition The definition that is a SubClass of another directive of component
|
|
5973
|
-
*
|
|
5974
|
-
* @codeGenApi
|
|
5975
|
-
*/
|
|
5976
|
-
declare function ɵɵInheritDefinitionFeature(definition: DirectiveDef<any> | ComponentDef<any>): void;
|
|
5977
|
-
|
|
5978
|
-
/**
|
|
5979
|
-
* The NgOnChangesFeature decorates a component with support for the ngOnChanges
|
|
5980
|
-
* lifecycle hook, so it should be included in any component that implements
|
|
5981
|
-
* that hook.
|
|
5982
|
-
*
|
|
5983
|
-
* If the component or directive uses inheritance, the NgOnChangesFeature MUST
|
|
5984
|
-
* be included as a feature AFTER {@link InheritDefinitionFeature}, otherwise
|
|
5985
|
-
* inherited properties will not be propagated to the ngOnChanges lifecycle
|
|
5986
|
-
* hook.
|
|
5987
|
-
*
|
|
5988
|
-
* Example usage:
|
|
5989
|
-
*
|
|
5990
|
-
* ```ts
|
|
5991
|
-
* static ɵcmp = defineComponent({
|
|
5992
|
-
* ...
|
|
5993
|
-
* inputs: {name: 'publicName'},
|
|
5994
|
-
* features: [NgOnChangesFeature]
|
|
5995
|
-
* });
|
|
5996
|
-
* ```
|
|
5997
|
-
*
|
|
5998
|
-
* @codeGenApi
|
|
5999
|
-
*/
|
|
6000
|
-
declare const ɵɵNgOnChangesFeature: () => DirectiveDefFeature;
|
|
6001
|
-
|
|
6002
|
-
/**
|
|
6003
|
-
* This feature resolves the providers of a directive (or component),
|
|
6004
|
-
* and publish them into the DI system, making it visible to others for injection.
|
|
6005
|
-
*
|
|
6006
|
-
* For example:
|
|
6007
|
-
* ```ts
|
|
6008
|
-
* class ComponentWithProviders {
|
|
6009
|
-
* constructor(private greeter: GreeterDE) {}
|
|
6010
|
-
*
|
|
6011
|
-
* static ɵcmp = defineComponent({
|
|
6012
|
-
* type: ComponentWithProviders,
|
|
6013
|
-
* selectors: [['component-with-providers']],
|
|
6014
|
-
* factory: () => new ComponentWithProviders(directiveInject(GreeterDE as any)),
|
|
6015
|
-
* decls: 1,
|
|
6016
|
-
* vars: 1,
|
|
6017
|
-
* template: function(fs: RenderFlags, ctx: ComponentWithProviders) {
|
|
6018
|
-
* if (fs & RenderFlags.Create) {
|
|
6019
|
-
* ɵɵtext(0);
|
|
6020
|
-
* }
|
|
6021
|
-
* if (fs & RenderFlags.Update) {
|
|
6022
|
-
* ɵɵtextInterpolate(ctx.greeter.greet());
|
|
6023
|
-
* }
|
|
6024
|
-
* },
|
|
6025
|
-
* features: [ɵɵProvidersFeature([GreeterDE])]
|
|
6026
|
-
* });
|
|
6027
|
-
* }
|
|
6028
|
-
* ```
|
|
6029
|
-
*
|
|
6030
|
-
* @param definition
|
|
6031
|
-
*
|
|
6032
|
-
* @codeGenApi
|
|
6033
|
-
*/
|
|
6034
|
-
declare function ɵɵProvidersFeature<T>(providers: Provider[], viewProviders: Provider[]): (definition: DirectiveDef<T>) => void;
|
|
6035
|
-
|
|
6036
|
-
/**
|
|
6037
|
-
* A feature that adds support for external runtime styles for a component.
|
|
6038
|
-
* An external runtime style is a URL to a CSS stylesheet that contains the styles
|
|
6039
|
-
* for a given component. For browsers, this URL will be used in an appended `link` element
|
|
6040
|
-
* when the component is rendered. This feature is typically used for Hot Module Replacement
|
|
6041
|
-
* (HMR) of component stylesheets by leveraging preexisting global stylesheet HMR available
|
|
6042
|
-
* in most development servers.
|
|
6043
|
-
*
|
|
6044
|
-
* @codeGenApi
|
|
6045
|
-
*/
|
|
6046
|
-
declare function ɵɵExternalStylesFeature(styleUrls: string[]): ComponentDefFeature;
|
|
6047
|
-
|
|
6048
|
-
/**
|
|
6049
|
-
* Generated next to NgModules to monkey-patch directive and pipe references onto a component's
|
|
6050
|
-
* definition, when generating a direct reference in the component file would otherwise create an
|
|
6051
|
-
* import cycle.
|
|
6052
|
-
*
|
|
6053
|
-
* See [this explanation](https://hackmd.io/Odw80D0pR6yfsOjg_7XCJg?view) for more details.
|
|
6054
|
-
*
|
|
6055
|
-
* @codeGenApi
|
|
6056
|
-
*/
|
|
6057
|
-
declare function ɵɵsetComponentScope(type: ComponentType<any>, directives: Type$1<any>[] | (() => Type$1<any>[]), pipes: Type$1<any>[] | (() => Type$1<any>[])): void;
|
|
6058
|
-
/**
|
|
6059
|
-
* Adds the module metadata that is necessary to compute the module's transitive scope to an
|
|
6060
|
-
* existing module definition.
|
|
6061
|
-
*
|
|
6062
|
-
* Scope metadata of modules is not used in production builds, so calls to this function can be
|
|
6063
|
-
* marked pure to tree-shake it from the bundle, allowing for all referenced declarations
|
|
6064
|
-
* to become eligible for tree-shaking as well.
|
|
6065
|
-
*
|
|
6066
|
-
* @codeGenApi
|
|
6067
|
-
*/
|
|
6068
|
-
declare function ɵɵsetNgModuleScope(type: any, scope: NgModuleScopeInfoFromDecorator): unknown;
|
|
6069
|
-
|
|
6070
5844
|
/**
|
|
6071
5845
|
* Profiler events is an enum used by the profiler to distinguish between different calls of user
|
|
6072
5846
|
* code invoked throughout the application lifecycle.
|
|
@@ -6201,11 +5975,384 @@ declare enum Framework {
|
|
|
6201
5975
|
Wiz = "wiz"
|
|
6202
5976
|
}
|
|
6203
5977
|
|
|
5978
|
+
declare function compileNgModuleFactory<M>(injector: Injector, options: CompilerOptions, moduleType: Type$1<M>): Promise<NgModuleFactory$1<M>>;
|
|
5979
|
+
|
|
6204
5980
|
/**
|
|
6205
|
-
*
|
|
5981
|
+
* Create a new `Injector` which is configured using a `defType` of `InjectorType<any>`s.
|
|
5982
|
+
*/
|
|
5983
|
+
declare function createInjector(defType: any, parent?: Injector | null, additionalProviders?: Array<Provider | StaticProvider> | null, name?: string): Injector;
|
|
5984
|
+
|
|
5985
|
+
/**
|
|
5986
|
+
* Adds the given NgModule type to Angular's NgModule registry.
|
|
6206
5987
|
*
|
|
6207
|
-
*
|
|
6208
|
-
*
|
|
5988
|
+
* This is generated as a side-effect of NgModule compilation. Note that the `id` is passed in
|
|
5989
|
+
* explicitly and not read from the NgModule definition. This is for two reasons: it avoids a
|
|
5990
|
+
* megamorphic read, and in JIT there's a chicken-and-egg problem where the NgModule may not be
|
|
5991
|
+
* fully resolved when it's registered.
|
|
5992
|
+
*
|
|
5993
|
+
* @codeGenApi
|
|
5994
|
+
*/
|
|
5995
|
+
declare function registerNgModuleType(ngModuleType: NgModuleType, id: string): void;
|
|
5996
|
+
/**
|
|
5997
|
+
* Control whether the NgModule registration system enforces that each NgModule type registered has
|
|
5998
|
+
* a unique id.
|
|
5999
|
+
*
|
|
6000
|
+
* This is useful for testing as the NgModule registry cannot be properly reset between tests with
|
|
6001
|
+
* Angular's current API.
|
|
6002
|
+
*/
|
|
6003
|
+
declare function setAllowDuplicateNgModuleIdsForTest(allowDuplicates: boolean): void;
|
|
6004
|
+
|
|
6005
|
+
/**
|
|
6006
|
+
* The internal view context which is specific to a given DOM element, directive or
|
|
6007
|
+
* component instance. Each value in here (besides the LView and element node details)
|
|
6008
|
+
* can be present, null or undefined. If undefined then it implies the value has not been
|
|
6009
|
+
* looked up yet, otherwise, if null, then a lookup was executed and nothing was found.
|
|
6010
|
+
*
|
|
6011
|
+
* Each value will get filled when the respective value is examined within the getContext
|
|
6012
|
+
* function. The component, element and each directive instance will share the same instance
|
|
6013
|
+
* of the context.
|
|
6014
|
+
*/
|
|
6015
|
+
declare class LContext {
|
|
6016
|
+
/**
|
|
6017
|
+
* ID of the component's parent view data.
|
|
6018
|
+
*/
|
|
6019
|
+
private lViewId;
|
|
6020
|
+
/**
|
|
6021
|
+
* The index instance of the node.
|
|
6022
|
+
*/
|
|
6023
|
+
nodeIndex: number;
|
|
6024
|
+
/**
|
|
6025
|
+
* The instance of the DOM node that is attached to the lNode.
|
|
6026
|
+
*/
|
|
6027
|
+
native: RNode;
|
|
6028
|
+
/**
|
|
6029
|
+
* The instance of the Component node.
|
|
6030
|
+
*/
|
|
6031
|
+
component: {} | null | undefined;
|
|
6032
|
+
/**
|
|
6033
|
+
* The list of active directives that exist on this element.
|
|
6034
|
+
*/
|
|
6035
|
+
directives: any[] | null | undefined;
|
|
6036
|
+
/**
|
|
6037
|
+
* The map of local references (local reference name => element or directive instance) that
|
|
6038
|
+
* exist on this element.
|
|
6039
|
+
*/
|
|
6040
|
+
localRefs: {
|
|
6041
|
+
[key: string]: any;
|
|
6042
|
+
} | null | undefined;
|
|
6043
|
+
/** Component's parent view data. */
|
|
6044
|
+
get lView(): LView | null;
|
|
6045
|
+
constructor(
|
|
6046
|
+
/**
|
|
6047
|
+
* ID of the component's parent view data.
|
|
6048
|
+
*/
|
|
6049
|
+
lViewId: number,
|
|
6050
|
+
/**
|
|
6051
|
+
* The index instance of the node.
|
|
6052
|
+
*/
|
|
6053
|
+
nodeIndex: number,
|
|
6054
|
+
/**
|
|
6055
|
+
* The instance of the DOM node that is attached to the lNode.
|
|
6056
|
+
*/
|
|
6057
|
+
native: RNode);
|
|
6058
|
+
}
|
|
6059
|
+
|
|
6060
|
+
/**
|
|
6061
|
+
* Returns the matching `LContext` data for a given DOM node, directive or component instance.
|
|
6062
|
+
*
|
|
6063
|
+
* This function will examine the provided DOM element, component, or directive instance\'s
|
|
6064
|
+
* monkey-patched property to derive the `LContext` data. Once called then the monkey-patched
|
|
6065
|
+
* value will be that of the newly created `LContext`.
|
|
6066
|
+
*
|
|
6067
|
+
* If the monkey-patched value is the `LView` instance then the context value for that
|
|
6068
|
+
* target will be created and the monkey-patch reference will be updated. Therefore when this
|
|
6069
|
+
* function is called it may mutate the provided element\'s, component\'s or any of the associated
|
|
6070
|
+
* directive\'s monkey-patch values.
|
|
6071
|
+
*
|
|
6072
|
+
* If the monkey-patch value is not detected then the code will walk up the DOM until an element
|
|
6073
|
+
* is found which contains a monkey-patch reference. When that occurs then the provided element
|
|
6074
|
+
* will be updated with a new context (which is then returned). If the monkey-patch value is not
|
|
6075
|
+
* detected for a component/directive instance then it will throw an error (all components and
|
|
6076
|
+
* directives should be automatically monkey-patched by ivy).
|
|
6077
|
+
*
|
|
6078
|
+
* @param target Component, Directive or DOM Node.
|
|
6079
|
+
*/
|
|
6080
|
+
declare function getLContext(target: any): LContext | null;
|
|
6081
|
+
|
|
6082
|
+
/**
|
|
6083
|
+
* Represents the set of dependencies of a type in a certain context.
|
|
6084
|
+
*/
|
|
6085
|
+
interface ScopeData {
|
|
6086
|
+
pipes: Set<PipeType<any>>;
|
|
6087
|
+
directives: Set<DirectiveType<any> | ComponentType<any> | Type$1<any>>;
|
|
6088
|
+
/**
|
|
6089
|
+
* If true it indicates that calculating this scope somehow was not successful. The consumers
|
|
6090
|
+
* should interpret this as empty dependencies. The application of this flag is when calculating
|
|
6091
|
+
* scope recursively, the presence of this flag in a scope dependency implies that the scope is
|
|
6092
|
+
* also poisoned and thus we can return immediately without having to continue the recursion. The
|
|
6093
|
+
* reason for this error is displayed as an error message in the console as per JIT behavior
|
|
6094
|
+
* today. In addition to that, in local compilation the other build/compilations run in parallel
|
|
6095
|
+
* with local compilation may or may not reveal some details about the error as well.
|
|
6096
|
+
*/
|
|
6097
|
+
isPoisoned?: boolean;
|
|
6098
|
+
}
|
|
6099
|
+
/**
|
|
6100
|
+
* Represents scope data for standalone components as calculated during runtime by the deps
|
|
6101
|
+
* tracker.
|
|
6102
|
+
*/
|
|
6103
|
+
interface StandaloneCompScopeData extends ScopeData {
|
|
6104
|
+
ngModules: Set<NgModuleType<any>>;
|
|
6105
|
+
}
|
|
6106
|
+
/** Represents scope data for NgModule as calculated during runtime by the deps tracker. */
|
|
6107
|
+
interface NgModuleScope {
|
|
6108
|
+
compilation: ScopeData;
|
|
6109
|
+
exported: ScopeData;
|
|
6110
|
+
}
|
|
6111
|
+
/**
|
|
6112
|
+
* Represents scope data for standalone component as calculated during runtime by the deps tracker.
|
|
6113
|
+
*/
|
|
6114
|
+
interface StandaloneComponentScope {
|
|
6115
|
+
compilation: StandaloneCompScopeData;
|
|
6116
|
+
}
|
|
6117
|
+
/** Component dependencies info as calculated during runtime by the deps tracker. */
|
|
6118
|
+
interface ComponentDependencies {
|
|
6119
|
+
dependencies: DependencyTypeList;
|
|
6120
|
+
}
|
|
6121
|
+
/**
|
|
6122
|
+
* Public API for runtime deps tracker (RDT).
|
|
6123
|
+
*
|
|
6124
|
+
* All downstream tools should only use these methods.
|
|
6125
|
+
*/
|
|
6126
|
+
interface DepsTrackerApi {
|
|
6127
|
+
/**
|
|
6128
|
+
* Computes the component dependencies, i.e., a set of components/directive/pipes that could be
|
|
6129
|
+
* present in the component's template (This set might contain directives/components/pipes not
|
|
6130
|
+
* necessarily used in the component's template depending on the implementation).
|
|
6131
|
+
*
|
|
6132
|
+
* Standalone components should specify `rawImports` as this information is not available from
|
|
6133
|
+
* their type. The consumer (e.g., {@link getStandaloneDefFunctions}) is expected to pass this
|
|
6134
|
+
* parameter.
|
|
6135
|
+
*
|
|
6136
|
+
* The implementation is expected to use some caching mechanism in order to optimize the resources
|
|
6137
|
+
* needed to do this computation.
|
|
6138
|
+
*/
|
|
6139
|
+
getComponentDependencies(cmp: ComponentType<any>, rawImports?: (Type$1<any> | (() => Type$1<any>))[]): ComponentDependencies;
|
|
6140
|
+
/**
|
|
6141
|
+
* Registers an NgModule into the tracker with the given scope info.
|
|
6142
|
+
*
|
|
6143
|
+
* This method should be called for every NgModule whether it is compiled in local mode or not.
|
|
6144
|
+
* This is needed in order to compute component's dependencies as some dependencies might be in
|
|
6145
|
+
* different compilation units with different compilation mode.
|
|
6146
|
+
*/
|
|
6147
|
+
registerNgModule(type: Type$1<any>, scopeInfo: NgModuleScopeInfoFromDecorator): void;
|
|
6148
|
+
/**
|
|
6149
|
+
* Clears the scope cache for NgModule or standalone component. This will force re-calculation of
|
|
6150
|
+
* the scope, which could be an expensive operation as it involves aggregating transitive closure.
|
|
6151
|
+
*
|
|
6152
|
+
* The main application of this method is for test beds where we want to clear the cache to
|
|
6153
|
+
* enforce scope update after overriding.
|
|
6154
|
+
*/
|
|
6155
|
+
clearScopeCacheFor(type: Type$1<any>): void;
|
|
6156
|
+
/**
|
|
6157
|
+
* Returns the scope of NgModule. Mainly to be used by JIT and test bed.
|
|
6158
|
+
*
|
|
6159
|
+
* The scope value here is memoized. To enforce a new calculation bust the cache by using
|
|
6160
|
+
* `clearScopeCacheFor` method.
|
|
6161
|
+
*/
|
|
6162
|
+
getNgModuleScope(type: NgModuleType<any>): NgModuleScope;
|
|
6163
|
+
/**
|
|
6164
|
+
* Returns the scope of standalone component. Mainly to be used by JIT. This method should be
|
|
6165
|
+
* called lazily after the initial parsing so that all the forward refs can be resolved.
|
|
6166
|
+
*
|
|
6167
|
+
* @param rawImports the imports statement as appears on the component decorate which consists of
|
|
6168
|
+
* Type as well as forward refs.
|
|
6169
|
+
*
|
|
6170
|
+
* The scope value here is memoized. To enforce a new calculation bust the cache by using
|
|
6171
|
+
* `clearScopeCacheFor` method.
|
|
6172
|
+
*/
|
|
6173
|
+
getStandaloneComponentScope(type: ComponentType<any>, rawImports: (Type$1<any> | (() => Type$1<any>))[]): StandaloneComponentScope;
|
|
6174
|
+
/**
|
|
6175
|
+
* Checks if the NgModule declaring the component is not loaded into the browser yet. Always
|
|
6176
|
+
* returns false for standalone components.
|
|
6177
|
+
*/
|
|
6178
|
+
isOrphanComponent(cmp: ComponentType<any>): boolean;
|
|
6179
|
+
}
|
|
6180
|
+
|
|
6181
|
+
/**
|
|
6182
|
+
* An implementation of DepsTrackerApi which will be used for JIT and local compilation.
|
|
6183
|
+
*/
|
|
6184
|
+
declare class DepsTracker implements DepsTrackerApi {
|
|
6185
|
+
private ownerNgModule;
|
|
6186
|
+
private ngModulesWithSomeUnresolvedDecls;
|
|
6187
|
+
private ngModulesScopeCache;
|
|
6188
|
+
private standaloneComponentsScopeCache;
|
|
6189
|
+
/**
|
|
6190
|
+
* Attempts to resolve ng module's forward ref declarations as much as possible and add them to
|
|
6191
|
+
* the `ownerNgModule` map. This method normally should be called after the initial parsing when
|
|
6192
|
+
* all the forward refs are resolved (e.g., when trying to render a component)
|
|
6193
|
+
*/
|
|
6194
|
+
private resolveNgModulesDecls;
|
|
6195
|
+
/** @override */
|
|
6196
|
+
getComponentDependencies(type: ComponentType<any>, rawImports?: RawScopeInfoFromDecorator[]): ComponentDependencies;
|
|
6197
|
+
/**
|
|
6198
|
+
* @override
|
|
6199
|
+
* This implementation does not make use of param scopeInfo since it assumes the scope info is
|
|
6200
|
+
* already added to the type itself through methods like {@link ɵɵsetNgModuleScope}
|
|
6201
|
+
*/
|
|
6202
|
+
registerNgModule(type: Type$1<any>, scopeInfo: NgModuleScopeInfoFromDecorator): void;
|
|
6203
|
+
/** @override */
|
|
6204
|
+
clearScopeCacheFor(type: Type$1<any>): void;
|
|
6205
|
+
/** @override */
|
|
6206
|
+
getNgModuleScope(type: NgModuleType<any>): NgModuleScope;
|
|
6207
|
+
/** Compute NgModule scope afresh. */
|
|
6208
|
+
private computeNgModuleScope;
|
|
6209
|
+
/** @override */
|
|
6210
|
+
getStandaloneComponentScope(type: ComponentType<any>, rawImports?: RawScopeInfoFromDecorator[]): StandaloneComponentScope;
|
|
6211
|
+
private computeStandaloneComponentScope;
|
|
6212
|
+
/** @override */
|
|
6213
|
+
isOrphanComponent(cmp: Type$1<any>): boolean;
|
|
6214
|
+
}
|
|
6215
|
+
/** The deps tracker to be used in the current Angular app in dev mode. */
|
|
6216
|
+
declare const depsTracker: DepsTracker;
|
|
6217
|
+
|
|
6218
|
+
declare const NG_COMP_DEF: string;
|
|
6219
|
+
declare const NG_DIR_DEF: string;
|
|
6220
|
+
declare const NG_PIPE_DEF: string;
|
|
6221
|
+
declare const NG_MOD_DEF: string;
|
|
6222
|
+
/**
|
|
6223
|
+
* If a directive is diPublic, bloomAdd sets a property on the type with this constant as
|
|
6224
|
+
* the key and the directive's unique ID as the value. This allows us to map directives to their
|
|
6225
|
+
* bloom filter bit for DI.
|
|
6226
|
+
*/
|
|
6227
|
+
declare const NG_ELEMENT_ID: string;
|
|
6228
|
+
|
|
6229
|
+
/**
|
|
6230
|
+
* This feature adds the host directives behavior to a directive definition by patching a
|
|
6231
|
+
* function onto it. The expectation is that the runtime will invoke the function during
|
|
6232
|
+
* directive matching.
|
|
6233
|
+
*
|
|
6234
|
+
* For example:
|
|
6235
|
+
* ```ts
|
|
6236
|
+
* class ComponentWithHostDirective {
|
|
6237
|
+
* static ɵcmp = defineComponent({
|
|
6238
|
+
* type: ComponentWithHostDirective,
|
|
6239
|
+
* features: [ɵɵHostDirectivesFeature([
|
|
6240
|
+
* SimpleHostDirective,
|
|
6241
|
+
* {directive: AdvancedHostDirective, inputs: ['foo: alias'], outputs: ['bar']},
|
|
6242
|
+
* ])]
|
|
6243
|
+
* });
|
|
6244
|
+
* }
|
|
6245
|
+
* ```
|
|
6246
|
+
*
|
|
6247
|
+
* @codeGenApi
|
|
6248
|
+
*/
|
|
6249
|
+
declare function ɵɵHostDirectivesFeature(rawHostDirectives: HostDirectiveConfig[] | (() => HostDirectiveConfig[])): DirectiveDefFeature;
|
|
6250
|
+
|
|
6251
|
+
/**
|
|
6252
|
+
* Merges the definition from a super class to a sub class.
|
|
6253
|
+
* @param definition The definition that is a SubClass of another directive of component
|
|
6254
|
+
*
|
|
6255
|
+
* @codeGenApi
|
|
6256
|
+
*/
|
|
6257
|
+
declare function ɵɵInheritDefinitionFeature(definition: DirectiveDef<any> | ComponentDef<any>): void;
|
|
6258
|
+
|
|
6259
|
+
/**
|
|
6260
|
+
* The NgOnChangesFeature decorates a component with support for the ngOnChanges
|
|
6261
|
+
* lifecycle hook, so it should be included in any component that implements
|
|
6262
|
+
* that hook.
|
|
6263
|
+
*
|
|
6264
|
+
* If the component or directive uses inheritance, the NgOnChangesFeature MUST
|
|
6265
|
+
* be included as a feature AFTER {@link InheritDefinitionFeature}, otherwise
|
|
6266
|
+
* inherited properties will not be propagated to the ngOnChanges lifecycle
|
|
6267
|
+
* hook.
|
|
6268
|
+
*
|
|
6269
|
+
* Example usage:
|
|
6270
|
+
*
|
|
6271
|
+
* ```ts
|
|
6272
|
+
* static ɵcmp = defineComponent({
|
|
6273
|
+
* ...
|
|
6274
|
+
* inputs: {name: 'publicName'},
|
|
6275
|
+
* features: [NgOnChangesFeature]
|
|
6276
|
+
* });
|
|
6277
|
+
* ```
|
|
6278
|
+
*
|
|
6279
|
+
* @codeGenApi
|
|
6280
|
+
*/
|
|
6281
|
+
declare const ɵɵNgOnChangesFeature: () => DirectiveDefFeature;
|
|
6282
|
+
|
|
6283
|
+
/**
|
|
6284
|
+
* This feature resolves the providers of a directive (or component),
|
|
6285
|
+
* and publish them into the DI system, making it visible to others for injection.
|
|
6286
|
+
*
|
|
6287
|
+
* For example:
|
|
6288
|
+
* ```ts
|
|
6289
|
+
* class ComponentWithProviders {
|
|
6290
|
+
* constructor(private greeter: GreeterDE) {}
|
|
6291
|
+
*
|
|
6292
|
+
* static ɵcmp = defineComponent({
|
|
6293
|
+
* type: ComponentWithProviders,
|
|
6294
|
+
* selectors: [['component-with-providers']],
|
|
6295
|
+
* factory: () => new ComponentWithProviders(directiveInject(GreeterDE as any)),
|
|
6296
|
+
* decls: 1,
|
|
6297
|
+
* vars: 1,
|
|
6298
|
+
* template: function(fs: RenderFlags, ctx: ComponentWithProviders) {
|
|
6299
|
+
* if (fs & RenderFlags.Create) {
|
|
6300
|
+
* ɵɵtext(0);
|
|
6301
|
+
* }
|
|
6302
|
+
* if (fs & RenderFlags.Update) {
|
|
6303
|
+
* ɵɵtextInterpolate(ctx.greeter.greet());
|
|
6304
|
+
* }
|
|
6305
|
+
* },
|
|
6306
|
+
* features: [ɵɵProvidersFeature([GreeterDE])]
|
|
6307
|
+
* });
|
|
6308
|
+
* }
|
|
6309
|
+
* ```
|
|
6310
|
+
*
|
|
6311
|
+
* @param definition
|
|
6312
|
+
*
|
|
6313
|
+
* @codeGenApi
|
|
6314
|
+
*/
|
|
6315
|
+
declare function ɵɵProvidersFeature<T>(providers: Provider[], viewProviders: Provider[]): (definition: DirectiveDef<T>) => void;
|
|
6316
|
+
|
|
6317
|
+
/**
|
|
6318
|
+
* A feature that adds support for external runtime styles for a component.
|
|
6319
|
+
* An external runtime style is a URL to a CSS stylesheet that contains the styles
|
|
6320
|
+
* for a given component. For browsers, this URL will be used in an appended `link` element
|
|
6321
|
+
* when the component is rendered. This feature is typically used for Hot Module Replacement
|
|
6322
|
+
* (HMR) of component stylesheets by leveraging preexisting global stylesheet HMR available
|
|
6323
|
+
* in most development servers.
|
|
6324
|
+
*
|
|
6325
|
+
* @codeGenApi
|
|
6326
|
+
*/
|
|
6327
|
+
declare function ɵɵExternalStylesFeature(styleUrls: string[]): ComponentDefFeature;
|
|
6328
|
+
|
|
6329
|
+
/**
|
|
6330
|
+
* Generated next to NgModules to monkey-patch directive and pipe references onto a component's
|
|
6331
|
+
* definition, when generating a direct reference in the component file would otherwise create an
|
|
6332
|
+
* import cycle.
|
|
6333
|
+
*
|
|
6334
|
+
* See [this explanation](https://hackmd.io/Odw80D0pR6yfsOjg_7XCJg?view) for more details.
|
|
6335
|
+
*
|
|
6336
|
+
* @codeGenApi
|
|
6337
|
+
*/
|
|
6338
|
+
declare function ɵɵsetComponentScope(type: ComponentType<any>, directives: Type$1<any>[] | (() => Type$1<any>[]), pipes: Type$1<any>[] | (() => Type$1<any>[])): void;
|
|
6339
|
+
/**
|
|
6340
|
+
* Adds the module metadata that is necessary to compute the module's transitive scope to an
|
|
6341
|
+
* existing module definition.
|
|
6342
|
+
*
|
|
6343
|
+
* Scope metadata of modules is not used in production builds, so calls to this function can be
|
|
6344
|
+
* marked pure to tree-shake it from the bundle, allowing for all referenced declarations
|
|
6345
|
+
* to become eligible for tree-shaking as well.
|
|
6346
|
+
*
|
|
6347
|
+
* @codeGenApi
|
|
6348
|
+
*/
|
|
6349
|
+
declare function ɵɵsetNgModuleScope(type: any, scope: NgModuleScopeInfoFromDecorator): unknown;
|
|
6350
|
+
|
|
6351
|
+
/**
|
|
6352
|
+
* Retrieves the component instance associated with a given DOM element.
|
|
6353
|
+
*
|
|
6354
|
+
* @usageNotes
|
|
6355
|
+
* Given the following DOM structure:
|
|
6209
6356
|
*
|
|
6210
6357
|
* ```html
|
|
6211
6358
|
* <app-root>
|
|
@@ -6694,11 +6841,11 @@ declare function ɵɵanimateLeaveListener(value: AnimationFunction): typeof ɵɵ
|
|
|
6694
6841
|
declare function ɵɵcomponentInstance(): unknown;
|
|
6695
6842
|
|
|
6696
6843
|
/**
|
|
6697
|
-
* Possibly sets up a {@link
|
|
6844
|
+
* Possibly sets up a {@link ɵFormFieldDirective} to manage a native or custom form control.
|
|
6698
6845
|
*
|
|
6699
|
-
* Setup occurs if a `field` input is bound to a {@link
|
|
6846
|
+
* Setup occurs if a `field` input is bound to a {@link ɵFormFieldDirective} on the current node,
|
|
6700
6847
|
* but not to a component. If a `field` input is bound to a component, we assume the component
|
|
6701
|
-
* will manage the
|
|
6848
|
+
* will manage the field in its own template.
|
|
6702
6849
|
*
|
|
6703
6850
|
* @codeGenApi
|
|
6704
6851
|
*/
|
|
@@ -6719,7 +6866,7 @@ declare function ɵɵcontrol<T>(value: T, name: string, sanitizer?: SanitizerFn
|
|
|
6719
6866
|
* Calls {@link updateControl} with the current `LView` and selected `TNode`.
|
|
6720
6867
|
*
|
|
6721
6868
|
* NOTE: This instruction exists solely to accommodate tree-shakeable, dynamic control bindings.
|
|
6722
|
-
* It's intended to be referenced exclusively by the Signal Forms `
|
|
6869
|
+
* It's intended to be referenced exclusively by the Signal Forms `FormField` directive and should not
|
|
6723
6870
|
* be referenced by any other means.
|
|
6724
6871
|
*/
|
|
6725
6872
|
declare function ɵcontrolUpdate(): void;
|
|
@@ -7567,7 +7714,7 @@ declare function ɵɵstyleMap(styles: {
|
|
|
7567
7714
|
*/
|
|
7568
7715
|
declare function ɵɵclassMap(classes: {
|
|
7569
7716
|
[className: string]: boolean | undefined | null;
|
|
7570
|
-
} | string | undefined | null): void;
|
|
7717
|
+
} | string | string[] | Set<string> | undefined | null): void;
|
|
7571
7718
|
|
|
7572
7719
|
/**
|
|
7573
7720
|
* Creates an LContainer for an ng-template (dynamically-inserted view), e.g.
|
|
@@ -8376,10 +8523,10 @@ declare function ɵɵreplaceMetadata(type: Type$1<unknown>, applyMetadata: (...a
|
|
|
8376
8523
|
/** Store a value in the `data` at a given `index`. */
|
|
8377
8524
|
declare function store<T>(tView: TView, lView: LView, index: number, value: T): void;
|
|
8378
8525
|
|
|
8379
|
-
/** A unique symbol used to identify {@link
|
|
8526
|
+
/** A unique symbol used to identify {@link ɵFormFieldDirective} implementations. */
|
|
8380
8527
|
declare const ɵCONTROL: unique symbol;
|
|
8381
8528
|
/**
|
|
8382
|
-
* Instructions for dynamically binding a {@link
|
|
8529
|
+
* Instructions for dynamically binding a {@link ɵFormFieldDirective} to a form control.
|
|
8383
8530
|
*/
|
|
8384
8531
|
interface ɵControlBinding {
|
|
8385
8532
|
create(): void;
|
|
@@ -8388,14 +8535,15 @@ interface ɵControlBinding {
|
|
|
8388
8535
|
/**
|
|
8389
8536
|
* A directive that binds a {@link ɵFieldState} to a form control.
|
|
8390
8537
|
*/
|
|
8391
|
-
interface
|
|
8538
|
+
interface ɵFormFieldDirective<T> {
|
|
8392
8539
|
/**
|
|
8393
|
-
* The presence of this property is used to identify {@link
|
|
8394
|
-
* value is used to store the instructions for dynamically binding to a form control.
|
|
8395
|
-
* instructions are stored on the directive so that they can be tree-shaken when the directive
|
|
8396
|
-
* not used.
|
|
8540
|
+
* The presence of this property is used to identify {@link ɵFormFieldDirective} implementations,
|
|
8541
|
+
* while the value is used to store the instructions for dynamically binding to a form control.
|
|
8542
|
+
* The instructions are stored on the directive so that they can be tree-shaken when the directive
|
|
8543
|
+
* is not used.
|
|
8397
8544
|
*/
|
|
8398
8545
|
readonly [ɵCONTROL]: ɵControlBinding;
|
|
8546
|
+
readonly element: HTMLElement;
|
|
8399
8547
|
/** The state of the field bound to this control. */
|
|
8400
8548
|
readonly state: Signal<ɵFieldState<T>>;
|
|
8401
8549
|
/** Options for the control. */
|
|
@@ -8410,7 +8558,12 @@ interface ɵControl<T> {
|
|
|
8410
8558
|
* the component will forward the bound field to another field directive in its own template,
|
|
8411
8559
|
* and do nothing.
|
|
8412
8560
|
*/
|
|
8413
|
-
|
|
8561
|
+
registerAsBinding(bindingOptions?: ɵFormFieldBindingOptions): void;
|
|
8562
|
+
}
|
|
8563
|
+
/** A custom UI control for signal forms. */
|
|
8564
|
+
interface ɵFormFieldBindingOptions {
|
|
8565
|
+
/** Focuses the custom control. */
|
|
8566
|
+
focus?(): void;
|
|
8414
8567
|
}
|
|
8415
8568
|
/** Mirrors the `ControlValueAccessor` interface for interoperability. */
|
|
8416
8569
|
interface ɵInteropControl {
|
|
@@ -8814,30 +8967,6 @@ declare function isNgModule<T>(value: Type$1<T>): value is Type$1<T> & {
|
|
|
8814
8967
|
ɵmod: NgModuleDef<T>;
|
|
8815
8968
|
};
|
|
8816
8969
|
|
|
8817
|
-
/**
|
|
8818
|
-
* Adds a callback function which will be invoked before and after performing certain actions at
|
|
8819
|
-
* runtime (for example, before and after running change detection). Multiple profiler callbacks can be set:
|
|
8820
|
-
* in this case profiling events are reported to every registered callback.
|
|
8821
|
-
*
|
|
8822
|
-
* Warning: this function is *INTERNAL* and should not be relied upon in application's code.
|
|
8823
|
-
* The contract of the function might be changed in any release and/or the function can be removed
|
|
8824
|
-
* completely.
|
|
8825
|
-
*
|
|
8826
|
-
* @param profiler function provided by the caller or null value to disable all profilers.
|
|
8827
|
-
* @returns a cleanup function that, when invoked, removes a given profiler callback.
|
|
8828
|
-
*/
|
|
8829
|
-
declare function setProfiler(profiler: Profiler | null): () => void;
|
|
8830
|
-
|
|
8831
|
-
/**
|
|
8832
|
-
* Marks a component for check (in case of OnPush components) and synchronously
|
|
8833
|
-
* performs change detection on the application this component belongs to.
|
|
8834
|
-
*
|
|
8835
|
-
* @param component Component to {@link /api/core/ChangeDetectorRef#markForCheck mark for check}
|
|
8836
|
-
*
|
|
8837
|
-
* @publicApi
|
|
8838
|
-
*/
|
|
8839
|
-
declare function applyChanges(component: {}): void;
|
|
8840
|
-
|
|
8841
8970
|
/** Retrieved information about a `@defer` block. */
|
|
8842
8971
|
interface DeferBlockData {
|
|
8843
8972
|
/** Current state of the block. */
|
|
@@ -8875,6 +9004,30 @@ interface DeferBlockData {
|
|
|
8875
9004
|
*/
|
|
8876
9005
|
declare function getDeferBlocks(node: Node): DeferBlockData[];
|
|
8877
9006
|
|
|
9007
|
+
/**
|
|
9008
|
+
* Adds a callback function which will be invoked before and after performing certain actions at
|
|
9009
|
+
* runtime (for example, before and after running change detection). Multiple profiler callbacks can be set:
|
|
9010
|
+
* in this case profiling events are reported to every registered callback.
|
|
9011
|
+
*
|
|
9012
|
+
* Warning: this function is *INTERNAL* and should not be relied upon in application's code.
|
|
9013
|
+
* The contract of the function might be changed in any release and/or the function can be removed
|
|
9014
|
+
* completely.
|
|
9015
|
+
*
|
|
9016
|
+
* @param profiler function provided by the caller or null value to disable all profilers.
|
|
9017
|
+
* @returns a cleanup function that, when invoked, removes a given profiler callback.
|
|
9018
|
+
*/
|
|
9019
|
+
declare function setProfiler(profiler: Profiler | null): () => void;
|
|
9020
|
+
|
|
9021
|
+
/**
|
|
9022
|
+
* Marks a component for check (in case of OnPush components) and synchronously
|
|
9023
|
+
* performs change detection on the application this component belongs to.
|
|
9024
|
+
*
|
|
9025
|
+
* @param component Component to {@link /api/core/ChangeDetectorRef#markForCheck mark for check}
|
|
9026
|
+
*
|
|
9027
|
+
* @publicApi
|
|
9028
|
+
*/
|
|
9029
|
+
declare function applyChanges(component: {}): void;
|
|
9030
|
+
|
|
8878
9031
|
/**
|
|
8879
9032
|
* Discovers the dependencies of an injectable instance. Provides DI information about each
|
|
8880
9033
|
* dependency that the injectable was instantiated with, including where they were provided from.
|
|
@@ -9164,142 +9317,6 @@ declare function ɵɵsanitizeUrlOrResourceUrl(unsafeUrl: any, tag: string, prop:
|
|
|
9164
9317
|
*/
|
|
9165
9318
|
declare function ɵɵvalidateAttribute(value: unknown, tagName: string, attributeName: string): unknown;
|
|
9166
9319
|
|
|
9167
|
-
/**
|
|
9168
|
-
* Represents the set of dependencies of a type in a certain context.
|
|
9169
|
-
*/
|
|
9170
|
-
interface ScopeData {
|
|
9171
|
-
pipes: Set<PipeType<any>>;
|
|
9172
|
-
directives: Set<DirectiveType<any> | ComponentType<any> | Type$1<any>>;
|
|
9173
|
-
/**
|
|
9174
|
-
* If true it indicates that calculating this scope somehow was not successful. The consumers
|
|
9175
|
-
* should interpret this as empty dependencies. The application of this flag is when calculating
|
|
9176
|
-
* scope recursively, the presence of this flag in a scope dependency implies that the scope is
|
|
9177
|
-
* also poisoned and thus we can return immediately without having to continue the recursion. The
|
|
9178
|
-
* reason for this error is displayed as an error message in the console as per JIT behavior
|
|
9179
|
-
* today. In addition to that, in local compilation the other build/compilations run in parallel
|
|
9180
|
-
* with local compilation may or may not reveal some details about the error as well.
|
|
9181
|
-
*/
|
|
9182
|
-
isPoisoned?: boolean;
|
|
9183
|
-
}
|
|
9184
|
-
/**
|
|
9185
|
-
* Represents scope data for standalone components as calculated during runtime by the deps
|
|
9186
|
-
* tracker.
|
|
9187
|
-
*/
|
|
9188
|
-
interface StandaloneCompScopeData extends ScopeData {
|
|
9189
|
-
ngModules: Set<NgModuleType<any>>;
|
|
9190
|
-
}
|
|
9191
|
-
/** Represents scope data for NgModule as calculated during runtime by the deps tracker. */
|
|
9192
|
-
interface NgModuleScope {
|
|
9193
|
-
compilation: ScopeData;
|
|
9194
|
-
exported: ScopeData;
|
|
9195
|
-
}
|
|
9196
|
-
/**
|
|
9197
|
-
* Represents scope data for standalone component as calculated during runtime by the deps tracker.
|
|
9198
|
-
*/
|
|
9199
|
-
interface StandaloneComponentScope {
|
|
9200
|
-
compilation: StandaloneCompScopeData;
|
|
9201
|
-
}
|
|
9202
|
-
/** Component dependencies info as calculated during runtime by the deps tracker. */
|
|
9203
|
-
interface ComponentDependencies {
|
|
9204
|
-
dependencies: DependencyTypeList;
|
|
9205
|
-
}
|
|
9206
|
-
/**
|
|
9207
|
-
* Public API for runtime deps tracker (RDT).
|
|
9208
|
-
*
|
|
9209
|
-
* All downstream tools should only use these methods.
|
|
9210
|
-
*/
|
|
9211
|
-
interface DepsTrackerApi {
|
|
9212
|
-
/**
|
|
9213
|
-
* Computes the component dependencies, i.e., a set of components/directive/pipes that could be
|
|
9214
|
-
* present in the component's template (This set might contain directives/components/pipes not
|
|
9215
|
-
* necessarily used in the component's template depending on the implementation).
|
|
9216
|
-
*
|
|
9217
|
-
* Standalone components should specify `rawImports` as this information is not available from
|
|
9218
|
-
* their type. The consumer (e.g., {@link getStandaloneDefFunctions}) is expected to pass this
|
|
9219
|
-
* parameter.
|
|
9220
|
-
*
|
|
9221
|
-
* The implementation is expected to use some caching mechanism in order to optimize the resources
|
|
9222
|
-
* needed to do this computation.
|
|
9223
|
-
*/
|
|
9224
|
-
getComponentDependencies(cmp: ComponentType<any>, rawImports?: (Type$1<any> | (() => Type$1<any>))[]): ComponentDependencies;
|
|
9225
|
-
/**
|
|
9226
|
-
* Registers an NgModule into the tracker with the given scope info.
|
|
9227
|
-
*
|
|
9228
|
-
* This method should be called for every NgModule whether it is compiled in local mode or not.
|
|
9229
|
-
* This is needed in order to compute component's dependencies as some dependencies might be in
|
|
9230
|
-
* different compilation units with different compilation mode.
|
|
9231
|
-
*/
|
|
9232
|
-
registerNgModule(type: Type$1<any>, scopeInfo: NgModuleScopeInfoFromDecorator): void;
|
|
9233
|
-
/**
|
|
9234
|
-
* Clears the scope cache for NgModule or standalone component. This will force re-calculation of
|
|
9235
|
-
* the scope, which could be an expensive operation as it involves aggregating transitive closure.
|
|
9236
|
-
*
|
|
9237
|
-
* The main application of this method is for test beds where we want to clear the cache to
|
|
9238
|
-
* enforce scope update after overriding.
|
|
9239
|
-
*/
|
|
9240
|
-
clearScopeCacheFor(type: Type$1<any>): void;
|
|
9241
|
-
/**
|
|
9242
|
-
* Returns the scope of NgModule. Mainly to be used by JIT and test bed.
|
|
9243
|
-
*
|
|
9244
|
-
* The scope value here is memoized. To enforce a new calculation bust the cache by using
|
|
9245
|
-
* `clearScopeCacheFor` method.
|
|
9246
|
-
*/
|
|
9247
|
-
getNgModuleScope(type: NgModuleType<any>): NgModuleScope;
|
|
9248
|
-
/**
|
|
9249
|
-
* Returns the scope of standalone component. Mainly to be used by JIT. This method should be
|
|
9250
|
-
* called lazily after the initial parsing so that all the forward refs can be resolved.
|
|
9251
|
-
*
|
|
9252
|
-
* @param rawImports the imports statement as appears on the component decorate which consists of
|
|
9253
|
-
* Type as well as forward refs.
|
|
9254
|
-
*
|
|
9255
|
-
* The scope value here is memoized. To enforce a new calculation bust the cache by using
|
|
9256
|
-
* `clearScopeCacheFor` method.
|
|
9257
|
-
*/
|
|
9258
|
-
getStandaloneComponentScope(type: ComponentType<any>, rawImports: (Type$1<any> | (() => Type$1<any>))[]): StandaloneComponentScope;
|
|
9259
|
-
/**
|
|
9260
|
-
* Checks if the NgModule declaring the component is not loaded into the browser yet. Always
|
|
9261
|
-
* returns false for standalone components.
|
|
9262
|
-
*/
|
|
9263
|
-
isOrphanComponent(cmp: ComponentType<any>): boolean;
|
|
9264
|
-
}
|
|
9265
|
-
|
|
9266
|
-
/**
|
|
9267
|
-
* An implementation of DepsTrackerApi which will be used for JIT and local compilation.
|
|
9268
|
-
*/
|
|
9269
|
-
declare class DepsTracker implements DepsTrackerApi {
|
|
9270
|
-
private ownerNgModule;
|
|
9271
|
-
private ngModulesWithSomeUnresolvedDecls;
|
|
9272
|
-
private ngModulesScopeCache;
|
|
9273
|
-
private standaloneComponentsScopeCache;
|
|
9274
|
-
/**
|
|
9275
|
-
* Attempts to resolve ng module's forward ref declarations as much as possible and add them to
|
|
9276
|
-
* the `ownerNgModule` map. This method normally should be called after the initial parsing when
|
|
9277
|
-
* all the forward refs are resolved (e.g., when trying to render a component)
|
|
9278
|
-
*/
|
|
9279
|
-
private resolveNgModulesDecls;
|
|
9280
|
-
/** @override */
|
|
9281
|
-
getComponentDependencies(type: ComponentType<any>, rawImports?: RawScopeInfoFromDecorator[]): ComponentDependencies;
|
|
9282
|
-
/**
|
|
9283
|
-
* @override
|
|
9284
|
-
* This implementation does not make use of param scopeInfo since it assumes the scope info is
|
|
9285
|
-
* already added to the type itself through methods like {@link ɵɵsetNgModuleScope}
|
|
9286
|
-
*/
|
|
9287
|
-
registerNgModule(type: Type$1<any>, scopeInfo: NgModuleScopeInfoFromDecorator): void;
|
|
9288
|
-
/** @override */
|
|
9289
|
-
clearScopeCacheFor(type: Type$1<any>): void;
|
|
9290
|
-
/** @override */
|
|
9291
|
-
getNgModuleScope(type: NgModuleType<any>): NgModuleScope;
|
|
9292
|
-
/** Compute NgModule scope afresh. */
|
|
9293
|
-
private computeNgModuleScope;
|
|
9294
|
-
/** @override */
|
|
9295
|
-
getStandaloneComponentScope(type: ComponentType<any>, rawImports?: RawScopeInfoFromDecorator[]): StandaloneComponentScope;
|
|
9296
|
-
private computeStandaloneComponentScope;
|
|
9297
|
-
/** @override */
|
|
9298
|
-
isOrphanComponent(cmp: Type$1<any>): boolean;
|
|
9299
|
-
}
|
|
9300
|
-
/** The deps tracker to be used in the current Angular app in dev mode. */
|
|
9301
|
-
declare const depsTracker: DepsTracker;
|
|
9302
|
-
|
|
9303
9320
|
/**
|
|
9304
9321
|
* Creates a `ComponentRef` instance based on provided component type and a set of options.
|
|
9305
9322
|
*
|
|
@@ -9563,4 +9580,4 @@ declare const DOCUMENT: InjectionToken<Document>;
|
|
|
9563
9580
|
declare function provideNgReflectAttributes(): EnvironmentProviders;
|
|
9564
9581
|
|
|
9565
9582
|
export { ANIMATION_MODULE_TYPE, APP_ID, APP_INITIALIZER, AfterRenderRef, AnimationFunction, ApplicationInitStatus, ApplicationModule, ApplicationRef, Attribute, Binding, CSP_NONCE, ChangeDetectionStrategy$1 as ChangeDetectionStrategy, ChangeDetectorRef, ClassProvider, ClassSansProvider, CompilerOptions, Component, ComponentFactory$1 as ComponentFactory, ComponentFactoryResolver$1 as ComponentFactoryResolver, ComponentRef$1 as ComponentRef, ConstructorProvider, ConstructorSansProvider, ContentChild, ContentChildren, DEFAULT_CURRENCY_CODE, DOCUMENT, DefaultIterableDiffer, Directive, ENVIRONMENT_INITIALIZER, EffectCleanupRegisterFn, ElementRef, EmbeddedViewRef, EnvironmentInjector, EnvironmentProviders, ErrorHandler, ExistingProvider, ExistingSansProvider, FactoryProvider, FactorySansProvider, HOST_TAG_NAME, Host, HostAttributeToken, INJECTOR, Inject, InjectOptions, Injectable, InjectionToken, Injector, IterableDiffers, KeyValueDiffers, LOCALE_ID, MissingTranslationStrategy, ModuleWithProviders, NgModule, NgModuleFactory$1 as NgModuleFactory, NgModuleRef$1 as NgModuleRef, NgZone, Optional, OutputRef, PLATFORM_ID, PLATFORM_INITIALIZER, PendingTasks, Pipe, PlatformRef, Provider, ProviderToken, Query, QueryList, REQUEST, REQUEST_CONTEXT, RESPONSE_INIT, Resource, ResourceOptions, ResourceRef, ResourceStatus, ResourceStreamingLoader, SchemaMetadata, Self, Signal, SimpleChange, SkipSelf, StaticClassProvider, StaticClassSansProvider, StaticProvider, TRANSLATIONS, TRANSLATIONS_FORMAT, TemplateRef, Testability, TestabilityRegistry, TransferState, Type$1 as Type, TypeDecorator, TypeProvider, VERSION, ValueEqualityFn, ValueProvider, ValueSansProvider, Version, ViewChild, ViewChildren, ViewContainerRef, ViewEncapsulation$1 as ViewEncapsulation, ViewRef$1 as ViewRef, WritableResource, WritableSignal, afterEveryRender, afterNextRender, afterRenderEffect, assertInInjectionContext, assertNotInReactiveContext, assertPlatform, booleanAttribute, computed, contentChild, contentChildren, createComponent, createEnvironmentInjector, createNgModule, createNgModuleRef, createPlatform, createPlatformFactory, destroyPlatform, enableProdMode, enableProfiling$1 as enableProfiling, forwardRef, getModuleFactory, getNgModuleById, getPlatform, importProvidersFrom, inject, input, isDevMode, isSignal, isStandalone, linkedSignal, makeEnvironmentProviders, makeStateKey, mergeApplicationConfig, model, numberAttribute, platformCore, provideAppInitializer, provideBrowserGlobalErrorListeners, provideCheckNoChangesConfig, provideEnvironmentInitializer, provideNgReflectAttributes, providePlatformInitializer, provideStabilityDebugging, provideZoneChangeDetection, provideZonelessChangeDetection, reflectComponentType, resolveForwardRef, resource, runInInjectionContext, setTestabilityGetter, untracked, viewChild, viewChildren, AcxChangeDetectionStrategy as ɵAcxChangeDetectionStrategy, AcxViewEncapsulation as ɵAcxViewEncapsulation, BypassType as ɵBypassType, CLIENT_RENDER_MODE_FLAG as ɵCLIENT_RENDER_MODE_FLAG, ɵCONTROL, ComponentDef as ɵComponentDef, ComponentFactory$1 as ɵComponentFactory, ComponentType as ɵComponentType, Console as ɵConsole, CssSelectorList as ɵCssSelectorList, CurrencyIndex as ɵCurrencyIndex, DEFAULT_LOCALE_ID as ɵDEFAULT_LOCALE_ID, DEFER_BLOCK_CONFIG as ɵDEFER_BLOCK_CONFIG, DEFER_BLOCK_DEPENDENCY_INTERCEPTOR as ɵDEFER_BLOCK_DEPENDENCY_INTERCEPTOR, DEHYDRATED_BLOCK_REGISTRY as ɵDEHYDRATED_BLOCK_REGISTRY, DeferBlockConfig as ɵDeferBlockConfig, DeferBlockDependencyInterceptor as ɵDeferBlockDependencyInterceptor, DeferBlockState as ɵDeferBlockState, DirectiveDef as ɵDirectiveDef, DirectiveType as ɵDirectiveType, ENABLE_ROOT_COMPONENT_BOOTSTRAP as ɵENABLE_ROOT_COMPONENT_BOOTSTRAP, EVENT_REPLAY_QUEUE as ɵEVENT_REPLAY_QUEUE, ExtraLocaleDataIndex as ɵExtraLocaleDataIndex, Framework as ɵFramework, HydrationStatus as ɵHydrationStatus, IMAGE_CONFIG as ɵIMAGE_CONFIG, IMAGE_CONFIG_DEFAULTS as ɵIMAGE_CONFIG_DEFAULTS, ɵINPUT_SIGNAL_BRAND_WRITE_TYPE, INTERNAL_APPLICATION_ERROR_HANDLER as ɵINTERNAL_APPLICATION_ERROR_HANDLER, IS_ENABLED_BLOCKING_INITIAL_NAVIGATION as ɵIS_ENABLED_BLOCKING_INITIAL_NAVIGATION, IS_HYDRATION_DOM_REUSE_ENABLED as ɵIS_HYDRATION_DOM_REUSE_ENABLED, IS_INCREMENTAL_HYDRATION_ENABLED as ɵIS_INCREMENTAL_HYDRATION_ENABLED, InputSignalNode as ɵInputSignalNode, JSACTION_BLOCK_ELEMENT_MAP as ɵJSACTION_BLOCK_ELEMENT_MAP, LContext as ɵLContext, LocaleDataIndex as ɵLocaleDataIndex, NG_COMP_DEF as ɵNG_COMP_DEF, NG_DIR_DEF as ɵNG_DIR_DEF, NG_ELEMENT_ID as ɵNG_ELEMENT_ID, NG_MOD_DEF as ɵNG_MOD_DEF, NG_PIPE_DEF as ɵNG_PIPE_DEF, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR as ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, NO_CHANGE as ɵNO_CHANGE, NgModuleFactory as ɵNgModuleFactory, PERFORMANCE_MARK_PREFIX as ɵPERFORMANCE_MARK_PREFIX, PROVIDED_NG_ZONE as ɵPROVIDED_NG_ZONE, PendingTasksInternal as ɵPendingTasksInternal, ProfilerEvent as ɵProfilerEvent, ReflectionCapabilities as ɵReflectionCapabilities, ComponentFactory as ɵRender3ComponentFactory, ComponentRef as ɵRender3ComponentRef, NgModuleRef as ɵRender3NgModuleRef, ResourceImpl as ɵResourceImpl, RuntimeError as ɵRuntimeError, RuntimeErrorCode as ɵRuntimeErrorCode, SIGNAL as ɵSIGNAL, SSR_CONTENT_INTEGRITY_MARKER as ɵSSR_CONTENT_INTEGRITY_MARKER, TESTABILITY as ɵTESTABILITY, TESTABILITY_GETTER as ɵTESTABILITY_GETTER, TimerScheduler as ɵTimerScheduler, ViewRef as ɵViewRef, XSS_SECURITY_URL as ɵXSS_SECURITY_URL, _sanitizeHtml as ɵ_sanitizeHtml, _sanitizeUrl as ɵ_sanitizeUrl, allLeavingAnimations as ɵallLeavingAnimations, allowSanitizationBypassAndThrow as ɵallowSanitizationBypassAndThrow, annotateForHydration as ɵannotateForHydration, ɵassertType, bypassSanitizationTrustHtml as ɵbypassSanitizationTrustHtml, bypassSanitizationTrustResourceUrl as ɵbypassSanitizationTrustResourceUrl, bypassSanitizationTrustScript as ɵbypassSanitizationTrustScript, bypassSanitizationTrustStyle as ɵbypassSanitizationTrustStyle, bypassSanitizationTrustUrl as ɵbypassSanitizationTrustUrl, clearResolutionOfComponentResourcesQueue as ɵclearResolutionOfComponentResourcesQueue, compileComponent as ɵcompileComponent, compileDirective as ɵcompileDirective, compileNgModule as ɵcompileNgModule, compileNgModuleDefs as ɵcompileNgModuleDefs, compileNgModuleFactory as ɵcompileNgModuleFactory, compilePipe as ɵcompilePipe, ɵcontrolUpdate, convertToBitFlags as ɵconvertToBitFlags, createInjector as ɵcreateInjector, createOrReusePlatformInjector as ɵcreateOrReusePlatformInjector, defaultIterableDiffers as ɵdefaultIterableDiffers, defaultKeyValueDiffers as ɵdefaultKeyValueDiffers, depsTracker as ɵdepsTracker, devModeEqual as ɵdevModeEqual, disableProfiling as ɵdisableProfiling, enableProfiling as ɵenableProfiling, encapsulateResourceError as ɵencapsulateResourceError, findLocaleData as ɵfindLocaleData, flushModuleScopingQueueAsMuchAsPossible as ɵflushModuleScopingQueueAsMuchAsPossible, formatRuntimeError as ɵformatRuntimeError, generateStandaloneInDeclarationsError as ɵgenerateStandaloneInDeclarationsError, getAsyncClassMetadataFn as ɵgetAsyncClassMetadataFn, getClosestComponentName as ɵgetClosestComponentName, getComponentDef as ɵgetComponentDef, getDirectives as ɵgetDirectives, getDocument as ɵgetDocument, getHostElement as ɵgetHostElement, getLContext as ɵgetLContext, getLocaleCurrencyCode as ɵgetLocaleCurrencyCode, getLocalePluralCase as ɵgetLocalePluralCase, getSanitizationBypassType as ɵgetSanitizationBypassType, getTransferState as ɵgetTransferState, ɵgetUnknownElementStrictMode, ɵgetUnknownPropertyStrictMode, _global as ɵglobal, inferTagNameFromDefinition as ɵinferTagNameFromDefinition, internalCreateApplication as ɵinternalCreateApplication, internalProvideZoneChangeDetection as ɵinternalProvideZoneChangeDetection, isComponentDefPendingResolution as ɵisComponentDefPendingResolution, isNgModule as ɵisNgModule, isPromise as ɵisPromise, isSubscribable as ɵisSubscribable, isViewDirty as ɵisViewDirty, markForRefresh as ɵmarkForRefresh, noSideEffects as ɵnoSideEffects, patchComponentDefWithScope as ɵpatchComponentDefWithScope, performanceMarkFeature as ɵperformanceMarkFeature, promiseWithResolvers as ɵpromiseWithResolvers, provideZonelessChangeDetectionInternal as ɵprovideZonelessChangeDetectionInternal, publishExternalGlobalUtil as ɵpublishExternalGlobalUtil, readHydrationInfo as ɵreadHydrationInfo, registerLocaleData as ɵregisterLocaleData, renderDeferBlockState as ɵrenderDeferBlockState, resetCompiledComponents as ɵresetCompiledComponents, resetIncrementalHydrationEnabledWarnedForTests as ɵresetIncrementalHydrationEnabledWarnedForTests, resetJitOptions as ɵresetJitOptions, resolveComponentResources as ɵresolveComponentResources, restoreComponentResolutionQueue as ɵrestoreComponentResolutionQueue, setAllowDuplicateNgModuleIdsForTest as ɵsetAllowDuplicateNgModuleIdsForTest, ɵsetClassDebugInfo, setClassMetadata as ɵsetClassMetadata, setClassMetadataAsync as ɵsetClassMetadataAsync, setDocument as ɵsetDocument, setInjectorProfilerContext as ɵsetInjectorProfilerContext, setLocaleId as ɵsetLocaleId, ɵsetUnknownElementStrictMode, ɵsetUnknownPropertyStrictMode, startMeasuring as ɵstartMeasuring, stopMeasuring as ɵstopMeasuring, store as ɵstore, stringify as ɵstringify, transitiveScopesFor as ɵtransitiveScopesFor, triggerResourceLoading as ɵtriggerResourceLoading, truncateMiddle as ɵtruncateMiddle, unregisterAllLocaleData as ɵunregisterLocaleData, unwrapSafeValue as ɵunwrapSafeValue, withDomHydration as ɵwithDomHydration, withEventReplay as ɵwithEventReplay, withI18nSupport as ɵwithI18nSupport, withIncrementalHydration as ɵwithIncrementalHydration, ɵɵExternalStylesFeature, __FactoryDeclaration as ɵɵFactoryDeclaration, FactoryTarget as ɵɵFactoryTarget, ɵɵHostDirectivesFeature, ɵɵInheritDefinitionFeature, __InjectableDeclaration as ɵɵInjectableDeclaration, __InjectorDeclaration as ɵɵInjectorDeclaration, __NgModuleDeclaration as ɵɵNgModuleDeclaration, ɵɵNgOnChangesFeature, ɵɵProvidersFeature, ɵɵadvance, ɵɵanimateEnter, ɵɵanimateEnterListener, ɵɵanimateLeave, ɵɵanimateLeaveListener, ɵɵariaProperty, ɵɵattachSourceLocations, ɵɵattribute, ɵɵclassMap, ɵɵclassProp, ɵɵcomponentInstance, ɵɵconditional, ɵɵconditionalBranchCreate, ɵɵconditionalCreate, ɵɵcontentQuery, ɵɵcontentQuerySignal, ɵɵcontrol, ɵɵcontrolCreate, ɵɵdeclareLet, ɵɵdefer, ɵɵdeferEnableTimerScheduling, ɵɵdeferHydrateNever, ɵɵdeferHydrateOnHover, ɵɵdeferHydrateOnIdle, ɵɵdeferHydrateOnImmediate, ɵɵdeferHydrateOnInteraction, ɵɵdeferHydrateOnTimer, ɵɵdeferHydrateOnViewport, ɵɵdeferHydrateWhen, ɵɵdeferOnHover, ɵɵdeferOnIdle, ɵɵdeferOnImmediate, ɵɵdeferOnInteraction, ɵɵdeferOnTimer, ɵɵdeferOnViewport, ɵɵdeferPrefetchOnHover, ɵɵdeferPrefetchOnIdle, ɵɵdeferPrefetchOnImmediate, ɵɵdeferPrefetchOnInteraction, ɵɵdeferPrefetchOnTimer, ɵɵdeferPrefetchOnViewport, ɵɵdeferPrefetchWhen, ɵɵdeferWhen, ɵɵdefineComponent, ɵɵdefineDirective, ɵɵdefineNgModule, ɵɵdefinePipe, ɵɵdirectiveInject, ɵɵdisableBindings, ɵɵdomElement, ɵɵdomElementContainer, ɵɵdomElementContainerEnd, ɵɵdomElementContainerStart, ɵɵdomElementEnd, ɵɵdomElementStart, ɵɵdomListener, ɵɵdomProperty, ɵɵdomTemplate, ɵɵelement, ɵɵelementContainer, ɵɵelementContainerEnd, ɵɵelementContainerStart, ɵɵelementEnd, ɵɵelementStart, ɵɵenableBindings, ɵɵgetComponentDepsFactory, ɵɵgetCurrentView, ɵɵgetInheritedFactory, ɵɵgetReplaceMetadataURL, ɵɵi18n, ɵɵi18nApply, ɵɵi18nAttributes, ɵɵi18nEnd, ɵɵi18nExp, ɵɵi18nPostprocess, ɵɵi18nStart, ɵɵinject, ɵɵinjectAttribute, ɵɵinterpolate, ɵɵinterpolate1, ɵɵinterpolate2, ɵɵinterpolate3, ɵɵinterpolate4, ɵɵinterpolate5, ɵɵinterpolate6, ɵɵinterpolate7, ɵɵinterpolate8, ɵɵinterpolateV, ɵɵinvalidFactory, ɵɵinvalidFactoryDep, ɵɵlistener, ɵɵloadQuery, ɵɵnamespaceHTML, ɵɵnamespaceMathML, ɵɵnamespaceSVG, ɵɵnextContext, ɵɵngDeclareClassMetadata, ɵɵngDeclareClassMetadataAsync, ɵɵngDeclareComponent, ɵɵngDeclareDirective, ɵɵngDeclareFactory, ɵɵngDeclareInjectable, ɵɵngDeclareInjector, ɵɵngDeclareNgModule, ɵɵngDeclarePipe, ɵɵpipe, ɵɵpipeBind1, ɵɵpipeBind2, ɵɵpipeBind3, ɵɵpipeBind4, ɵɵpipeBindV, ɵɵprojection, ɵɵprojectionDef, ɵɵproperty, ɵɵpureFunction0, ɵɵpureFunction1, ɵɵpureFunction2, ɵɵpureFunction3, ɵɵpureFunction4, ɵɵpureFunction5, ɵɵpureFunction6, ɵɵpureFunction7, ɵɵpureFunction8, ɵɵpureFunctionV, ɵɵqueryAdvance, ɵɵqueryRefresh, ɵɵreadContextLet, ɵɵreference, registerNgModuleType as ɵɵregisterNgModuleType, ɵɵrepeater, ɵɵrepeaterCreate, ɵɵrepeaterTrackByIdentity, ɵɵrepeaterTrackByIndex, ɵɵreplaceMetadata, ɵɵresetView, ɵɵresolveBody, ɵɵresolveDocument, ɵɵresolveWindow, ɵɵrestoreView, ɵɵsanitizeHtml, ɵɵsanitizeResourceUrl, ɵɵsanitizeScript, ɵɵsanitizeStyle, ɵɵsanitizeUrl, ɵɵsanitizeUrlOrResourceUrl, ɵɵsetComponentScope, ɵɵsetNgModuleScope, ɵɵstoreLet, ɵɵstyleMap, ɵɵstyleProp, ɵɵsyntheticHostListener, ɵɵsyntheticHostProperty, ɵɵtemplate, ɵɵtemplateRefExtractor, ɵɵtext, ɵɵtextInterpolate, ɵɵtextInterpolate1, ɵɵtextInterpolate2, ɵɵtextInterpolate3, ɵɵtextInterpolate4, ɵɵtextInterpolate5, ɵɵtextInterpolate6, ɵɵtextInterpolate7, ɵɵtextInterpolate8, ɵɵtextInterpolateV, ɵɵtrustConstantHtml, ɵɵtrustConstantResourceUrl, ɵɵtwoWayBindingSet, ɵɵtwoWayListener, ɵɵtwoWayProperty, ɵɵvalidateAttribute, ɵɵviewQuery, ɵɵviewQuerySignal };
|
|
9566
|
-
export type { AfterContentChecked, AfterContentInit, AfterRenderOptions, AfterViewChecked, AfterViewInit, ApplicationConfig, AttributeDecorator, ComponentMirror, ContentChildDecorator, ContentChildFunction, ContentChildrenDecorator, CreateComputedOptions, DoBootstrap, DoCheck, ForwardRefFn, GetTestability, HostDecorator, ImportProvidersSource, InjectDecorator, InjectableDecorator, InjectableProvider, InputFunction, InputOptions, InputOptionsWithTransform, InputOptionsWithoutTransform, InputSignal, InputSignalWithTransform, IterableChangeRecord, IterableChanges, IterableDiffer, IterableDifferFactory, KeyValueChangeRecord, KeyValueChanges, KeyValueDiffer, KeyValueDifferFactory, ModelFunction, ModelOptions, ModelSignal, NgIterable, NgZoneOptions, OnChanges, OnDestroy, OnInit, OptionalDecorator, PipeTransform, ResponseInit, SelfDecorator, SimpleChanges, SkipSelfDecorator, StateKey, TrackByFunction, ViewChildDecorator, ViewChildFunction, ViewChildrenDecorator, AcxComponentDebugMetadata as ɵAcxComponentDebugMetadata, AcxDirectiveDebugMetadata as ɵAcxDirectiveDebugMetadata, AngularComponentDebugMetadata as ɵAngularComponentDebugMetadata, AngularDirectiveDebugMetadata as ɵAngularDirectiveDebugMetadata, BaseDirectiveDebugMetadata as ɵBaseDirectiveDebugMetadata,
|
|
9583
|
+
export type { AfterContentChecked, AfterContentInit, AfterRenderOptions, AfterViewChecked, AfterViewInit, ApplicationConfig, AttributeDecorator, ComponentMirror, ContentChildDecorator, ContentChildFunction, ContentChildrenDecorator, CreateComputedOptions, DoBootstrap, DoCheck, ForwardRefFn, GetTestability, HostDecorator, ImportProvidersSource, InjectDecorator, InjectableDecorator, InjectableProvider, InputFunction, InputOptions, InputOptionsWithTransform, InputOptionsWithoutTransform, InputSignal, InputSignalWithTransform, IterableChangeRecord, IterableChanges, IterableDiffer, IterableDifferFactory, KeyValueChangeRecord, KeyValueChanges, KeyValueDiffer, KeyValueDifferFactory, ModelFunction, ModelOptions, ModelSignal, NgIterable, NgZoneOptions, OnChanges, OnDestroy, OnInit, OptionalDecorator, PipeTransform, ResponseInit, SelfDecorator, SimpleChanges, SkipSelfDecorator, StateKey, TrackByFunction, ViewChildDecorator, ViewChildFunction, ViewChildrenDecorator, AcxComponentDebugMetadata as ɵAcxComponentDebugMetadata, AcxDirectiveDebugMetadata as ɵAcxDirectiveDebugMetadata, AngularComponentDebugMetadata as ɵAngularComponentDebugMetadata, AngularDirectiveDebugMetadata as ɵAngularDirectiveDebugMetadata, BaseDirectiveDebugMetadata as ɵBaseDirectiveDebugMetadata, DeferBlockData as ɵDeferBlockData, DirectiveDebugMetadata as ɵDirectiveDebugMetadata, ɵFieldState, ɵFirstAvailable, ɵFirstAvailableSignal, ɵFormFieldBindingOptions, ɵFormFieldDirective, FrameworkAgnosticGlobalUtils as ɵFrameworkAgnosticGlobalUtils, GlobalDevModeUtils as ɵGlobalDevModeUtils, HydratedNode as ɵHydratedNode, HydrationInfo as ɵHydrationInfo, ImageConfig as ɵImageConfig, InjectorProfilerContext as ɵInjectorProfilerContext, ɵInteropControl, NgModuleDef as ɵNgModuleDef, NgModuleTransitiveScopes as ɵNgModuleTransitiveScopes, NgModuleType as ɵNgModuleType, Profiler as ɵProfiler, ProviderRecord as ɵProviderRecord, SafeHtml as ɵSafeHtml, SafeResourceUrl as ɵSafeResourceUrl, SafeScript as ɵSafeScript, SafeStyle as ɵSafeStyle, SafeUrl as ɵSafeUrl, SafeValue as ɵSafeValue, ɵUnwrapDirectiveSignalInputs, WizComponentDebugMetadata as ɵWizComponentDebugMetadata };
|