@angular/core 19.2.12 → 19.2.13
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/event_dispatcher.d-K56StcHr.d.ts +1 -1
- package/fesm2022/core.mjs +4 -4
- 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/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +28 -2
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/untracked-BKcld_ew.mjs +1 -1
- package/index.d.ts +155 -21
- package/navigation_types.d-fAxd92YV.d.ts +1 -1
- package/package.json +1 -1
- package/primitives/di/index.d.ts +1 -1
- package/primitives/event-dispatch/index.d.ts +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/bundles/{apply_import_manager-Celp9ClC.cjs → apply_import_manager-QQDfWa1Z.cjs} +2 -2
- package/schematics/bundles/checker-5pyJrZ9G.cjs +2 -2
- package/schematics/bundles/cleanup-unused-imports.cjs +22 -51
- package/schematics/bundles/compiler_host-B1Gyeytz.cjs +1 -1
- package/schematics/bundles/control-flow-migration.cjs +1 -1
- package/schematics/bundles/explicit-standalone-flag.cjs +1 -1
- package/schematics/bundles/imports-CIX-JgAN.cjs +1 -1
- package/schematics/bundles/index-BIvVb6in.cjs +11 -11
- package/schematics/bundles/{index-DZhSIkG9.cjs → index-BPhQoCcF.cjs} +2 -2
- package/schematics/bundles/inject-migration.cjs +1 -1
- package/schematics/bundles/leading_space-D9nQ8UQC.cjs +1 -1
- package/schematics/bundles/{migrate_ts_type_references-CjGOIOBV.cjs → migrate_ts_type_references-Czrg1gcB.cjs} +3 -3
- package/schematics/bundles/ng_decorators-B5HCqr20.cjs +1 -1
- package/schematics/bundles/nodes-B16H9JUd.cjs +1 -1
- package/schematics/bundles/output-migration.cjs +4 -4
- package/schematics/bundles/pending-tasks.cjs +1 -1
- package/schematics/bundles/{project_paths-HwOMxrvM.cjs → project_paths-CyWVEsbT.cjs} +63 -34
- package/schematics/bundles/project_tsconfig_paths-CDVxT6Ov.cjs +1 -1
- package/schematics/bundles/property_name-BBwFuqMe.cjs +1 -1
- package/schematics/bundles/provide-initializer.cjs +1 -1
- package/schematics/bundles/route-lazy-loading.cjs +1 -1
- package/schematics/bundles/self-closing-tags-migration.cjs +5 -19
- package/schematics/bundles/signal-input-migration.cjs +15 -11
- package/schematics/bundles/signal-queries-migration.cjs +5 -5
- package/schematics/bundles/signals.cjs +5 -5
- package/schematics/bundles/standalone-migration.cjs +1 -1
- package/testing/index.d.ts +14 -2
- package/weak_ref.d-DWHPG08n.d.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.2.
|
|
2
|
+
* @license Angular v19.2.13
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -8,6 +8,7 @@ import { SIGNAL, SignalNode, ReactiveNode, ValueEqualityFn as ValueEqualityFn$1
|
|
|
8
8
|
export { setAlternateWeakRefImpl as ɵsetAlternateWeakRefImpl } from './weak_ref.d-DWHPG08n.js';
|
|
9
9
|
import { EventContract } from './event_dispatcher.d-K56StcHr.js';
|
|
10
10
|
import { Observable, Subject, Subscription, BehaviorSubject, Subscribable } from 'rxjs';
|
|
11
|
+
import { Injector as Injector$1, InjectionToken as InjectionToken$1, NotFound } from '@angular/core/primitives/di';
|
|
11
12
|
import * as _angular_core from '@angular/core';
|
|
12
13
|
export { 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 } from './navigation_types.d-fAxd92YV.js';
|
|
13
14
|
export { setCurrentInjector as ɵsetCurrentInjector } from './primitives/di/index.js';
|
|
@@ -3192,6 +3193,48 @@ declare abstract class EnvironmentInjector implements Injector {
|
|
|
3192
3193
|
abstract runInContext<ReturnT>(fn: () => ReturnT): ReturnT;
|
|
3193
3194
|
abstract destroy(): void;
|
|
3194
3195
|
}
|
|
3196
|
+
declare class R3Injector extends EnvironmentInjector implements Injector$1 {
|
|
3197
|
+
readonly parent: Injector;
|
|
3198
|
+
readonly source: string | null;
|
|
3199
|
+
readonly scopes: Set<InjectorScope>;
|
|
3200
|
+
/**
|
|
3201
|
+
* Map of tokens to records which contain the instances of those tokens.
|
|
3202
|
+
* - `null` value implies that we don't have the record. Used by tree-shakable injectors
|
|
3203
|
+
* to prevent further searches.
|
|
3204
|
+
*/
|
|
3205
|
+
private records;
|
|
3206
|
+
/**
|
|
3207
|
+
* Set of values instantiated by this injector which contain `ngOnDestroy` lifecycle hooks.
|
|
3208
|
+
*/
|
|
3209
|
+
private _ngOnDestroyHooks;
|
|
3210
|
+
private _onDestroyHooks;
|
|
3211
|
+
/**
|
|
3212
|
+
* Flag indicating that this injector was previously destroyed.
|
|
3213
|
+
*/
|
|
3214
|
+
get destroyed(): boolean;
|
|
3215
|
+
private _destroyed;
|
|
3216
|
+
private injectorDefTypes;
|
|
3217
|
+
constructor(providers: Array<Provider | EnvironmentProviders>, parent: Injector, source: string | null, scopes: Set<InjectorScope>);
|
|
3218
|
+
retrieve<T>(token: InjectionToken$1<T>, options?: unknown): T | NotFound;
|
|
3219
|
+
/**
|
|
3220
|
+
* Destroy the injector and release references to every instance or provider associated with it.
|
|
3221
|
+
*
|
|
3222
|
+
* Also calls the `OnDestroy` lifecycle hooks of every instance that was created for which a
|
|
3223
|
+
* hook was found.
|
|
3224
|
+
*/
|
|
3225
|
+
destroy(): void;
|
|
3226
|
+
onDestroy(callback: () => void): () => void;
|
|
3227
|
+
runInContext<ReturnT>(fn: () => ReturnT): ReturnT;
|
|
3228
|
+
get<T>(token: ProviderToken<T>, notFoundValue?: any, flags?: InjectFlags | InjectOptions): T;
|
|
3229
|
+
toString(): string;
|
|
3230
|
+
/**
|
|
3231
|
+
* Process a `SingleProvider` and add it.
|
|
3232
|
+
*/
|
|
3233
|
+
private processProvider;
|
|
3234
|
+
private hydrate;
|
|
3235
|
+
private injectableDefInScope;
|
|
3236
|
+
private removeOnDestroy;
|
|
3237
|
+
}
|
|
3195
3238
|
|
|
3196
3239
|
/**
|
|
3197
3240
|
* A schema definition associated with a component or an NgModule.
|
|
@@ -11166,6 +11209,12 @@ declare function getPlatform(): PlatformRef | null;
|
|
|
11166
11209
|
* @publicApi
|
|
11167
11210
|
*/
|
|
11168
11211
|
declare function destroyPlatform(): void;
|
|
11212
|
+
/**
|
|
11213
|
+
* The goal of this function is to bootstrap a platform injector,
|
|
11214
|
+
* but avoid referencing `PlatformRef` class.
|
|
11215
|
+
* This function is needed for bootstrapping a Standalone Component.
|
|
11216
|
+
*/
|
|
11217
|
+
declare function createOrReusePlatformInjector(providers?: StaticProvider[]): Injector;
|
|
11169
11218
|
/**
|
|
11170
11219
|
* @description
|
|
11171
11220
|
* This function is used to provide initialization functions that will be executed upon
|
|
@@ -12424,6 +12473,22 @@ declare function ɵɵdeferEnableTimerScheduling(tView: TView, tDetails: TDeferBl
|
|
|
12424
12473
|
*/
|
|
12425
12474
|
declare function triggerResourceLoading(tDetails: TDeferBlockDetails, lView: LView, tNode: TNode): Promise<unknown>;
|
|
12426
12475
|
|
|
12476
|
+
/**
|
|
12477
|
+
* Tell ivy what the `document` is for this platform.
|
|
12478
|
+
*
|
|
12479
|
+
* It is only necessary to call this if the current platform is not a browser.
|
|
12480
|
+
*
|
|
12481
|
+
* @param document The object representing the global `document` in this environment.
|
|
12482
|
+
*/
|
|
12483
|
+
declare function setDocument(document: Document | undefined): void;
|
|
12484
|
+
/**
|
|
12485
|
+
* Access the object that represents the `document` for this platform.
|
|
12486
|
+
*
|
|
12487
|
+
* Ivy calls this whenever it needs to access the `document` object.
|
|
12488
|
+
* For example to create the renderer or to do sanitization.
|
|
12489
|
+
*/
|
|
12490
|
+
declare function getDocument(): Document;
|
|
12491
|
+
|
|
12427
12492
|
/**
|
|
12428
12493
|
* URL for the XSS security documentation.
|
|
12429
12494
|
*/
|
|
@@ -12673,6 +12738,12 @@ declare function annotateForHydration(appRef: ApplicationRef, doc: Document): {
|
|
|
12673
12738
|
capture: Set<string>;
|
|
12674
12739
|
};
|
|
12675
12740
|
|
|
12741
|
+
/**
|
|
12742
|
+
* Defines a name of an attribute that is added to the <body> tag
|
|
12743
|
+
* in the `index.html` file in case a given route was configured
|
|
12744
|
+
* with `RenderMode.Client`. 'cm' is an abbreviation for "Client Mode".
|
|
12745
|
+
*/
|
|
12746
|
+
declare const CLIENT_RENDER_MODE_FLAG = "ngcm";
|
|
12676
12747
|
/**
|
|
12677
12748
|
* Returns a set of providers required to setup hydration support
|
|
12678
12749
|
* for an application that is server side rendered. This function is
|
|
@@ -12724,6 +12795,10 @@ declare const IS_HYDRATION_DOM_REUSE_ENABLED: InjectionToken<boolean>;
|
|
|
12724
12795
|
* is enabled.
|
|
12725
12796
|
*/
|
|
12726
12797
|
declare const IS_INCREMENTAL_HYDRATION_ENABLED: InjectionToken<boolean>;
|
|
12798
|
+
/**
|
|
12799
|
+
* A map of DOM elements with `jsaction` attributes grouped by action names.
|
|
12800
|
+
*/
|
|
12801
|
+
declare const JSACTION_BLOCK_ELEMENT_MAP: InjectionToken<Map<string, Set<Element>>>;
|
|
12727
12802
|
|
|
12728
12803
|
/**
|
|
12729
12804
|
* Register locale data to be used internally by Angular. See the
|
|
@@ -13480,6 +13555,84 @@ declare class ResourceImpl<T, R> extends BaseWritableResource<T> implements Reso
|
|
|
13480
13555
|
*/
|
|
13481
13556
|
declare function getClosestComponentName(node: Node): string | null;
|
|
13482
13557
|
|
|
13558
|
+
/**
|
|
13559
|
+
* The following getter methods retrieve the definition from the type. Currently the retrieval
|
|
13560
|
+
* honors inheritance, but in the future we may change the rule to require that definitions are
|
|
13561
|
+
* explicit. This would require some sort of migration strategy.
|
|
13562
|
+
*/
|
|
13563
|
+
declare function getComponentDef<T>(type: any): ComponentDef<T> | null;
|
|
13564
|
+
/**
|
|
13565
|
+
* Checks whether a given Component, Directive or Pipe is marked as standalone.
|
|
13566
|
+
* This will return false if passed anything other than a Component, Directive, or Pipe class
|
|
13567
|
+
* See [this guide](guide/components/importing) for additional information:
|
|
13568
|
+
*
|
|
13569
|
+
* @param type A reference to a Component, Directive or Pipe.
|
|
13570
|
+
* @publicApi
|
|
13571
|
+
*/
|
|
13572
|
+
declare function isStandalone(type: Type$1<unknown>): boolean;
|
|
13573
|
+
|
|
13574
|
+
/**
|
|
13575
|
+
* TODO(incremental-hydration): Remove this file entirely once PromiseWithResolvers lands in stable
|
|
13576
|
+
* node / TS.
|
|
13577
|
+
*/
|
|
13578
|
+
interface PromiseWithResolvers<T> {
|
|
13579
|
+
promise: Promise<T>;
|
|
13580
|
+
resolve: (value: T | PromiseLike<T>) => void;
|
|
13581
|
+
reject: (reason?: any) => void;
|
|
13582
|
+
}
|
|
13583
|
+
|
|
13584
|
+
/**
|
|
13585
|
+
* An internal injection token to reference `DehydratedBlockRegistry` implementation
|
|
13586
|
+
* in a tree-shakable way.
|
|
13587
|
+
*/
|
|
13588
|
+
declare const DEHYDRATED_BLOCK_REGISTRY: InjectionToken<DehydratedBlockRegistry>;
|
|
13589
|
+
/**
|
|
13590
|
+
* The DehydratedBlockRegistry is used for incremental hydration purposes. It keeps
|
|
13591
|
+
* track of the Defer Blocks that need hydration so we can effectively
|
|
13592
|
+
* navigate up to the top dehydrated defer block and fire appropriate cleanup
|
|
13593
|
+
* functions post hydration.
|
|
13594
|
+
*/
|
|
13595
|
+
declare class DehydratedBlockRegistry {
|
|
13596
|
+
private registry;
|
|
13597
|
+
private cleanupFns;
|
|
13598
|
+
private jsActionMap;
|
|
13599
|
+
private contract;
|
|
13600
|
+
add(blockId: string, info: DehydratedDeferBlock): void;
|
|
13601
|
+
get(blockId: string): DehydratedDeferBlock | null;
|
|
13602
|
+
has(blockId: string): boolean;
|
|
13603
|
+
cleanup(hydratedBlocks: string[]): void;
|
|
13604
|
+
get size(): number;
|
|
13605
|
+
addCleanupFn(blockId: string, fn: Function): void;
|
|
13606
|
+
invokeTriggerCleanupFns(blockId: string): void;
|
|
13607
|
+
hydrating: Map<string, PromiseWithResolvers<void>>;
|
|
13608
|
+
private awaitingCallbacks;
|
|
13609
|
+
awaitParentBlock(topmostParentBlock: string, callback: Function): void;
|
|
13610
|
+
/** @nocollapse */
|
|
13611
|
+
static ɵprov: unknown;
|
|
13612
|
+
}
|
|
13613
|
+
|
|
13614
|
+
/**
|
|
13615
|
+
* Helper service to schedule `setTimeout`s for batches of defer blocks,
|
|
13616
|
+
* to avoid calling `setTimeout` for each defer block (e.g. if defer blocks
|
|
13617
|
+
* are created inside a for loop).
|
|
13618
|
+
*/
|
|
13619
|
+
declare class TimerScheduler {
|
|
13620
|
+
executingCallbacks: boolean;
|
|
13621
|
+
timeoutId: number | null;
|
|
13622
|
+
invokeTimerAt: number | null;
|
|
13623
|
+
current: Array<number | VoidFunction>;
|
|
13624
|
+
deferred: Array<number | VoidFunction>;
|
|
13625
|
+
add(delay: number, callback: VoidFunction, ngZone: NgZone): void;
|
|
13626
|
+
remove(callback: VoidFunction): void;
|
|
13627
|
+
private addToQueue;
|
|
13628
|
+
private removeFromQueue;
|
|
13629
|
+
private scheduleTimer;
|
|
13630
|
+
private clearTimeout;
|
|
13631
|
+
ngOnDestroy(): void;
|
|
13632
|
+
/** @nocollapse */
|
|
13633
|
+
static ɵprov: unknown;
|
|
13634
|
+
}
|
|
13635
|
+
|
|
13483
13636
|
declare function compileNgModuleFactory<M>(injector: Injector, options: CompilerOptions, moduleType: Type$1<M>): Promise<NgModuleFactory$1<M>>;
|
|
13484
13637
|
|
|
13485
13638
|
/**
|
|
@@ -16975,15 +17128,6 @@ declare function ɵɵreplaceMetadata(type: Type$1<unknown>, applyMetadata: (...a
|
|
|
16975
17128
|
/** Store a value in the `data` at a given `index`. */
|
|
16976
17129
|
declare function store<T>(tView: TView, lView: LView, index: number, value: T): void;
|
|
16977
17130
|
|
|
16978
|
-
/**
|
|
16979
|
-
* Tell ivy what the `document` is for this platform.
|
|
16980
|
-
*
|
|
16981
|
-
* It is only necessary to call this if the current platform is not a browser.
|
|
16982
|
-
*
|
|
16983
|
-
* @param document The object representing the global `document` in this environment.
|
|
16984
|
-
*/
|
|
16985
|
-
declare function setDocument(document: Document | undefined): void;
|
|
16986
|
-
|
|
16987
17131
|
type Type = Function;
|
|
16988
17132
|
type OpaqueValue = unknown;
|
|
16989
17133
|
declare enum FactoryTarget {
|
|
@@ -18503,16 +18647,6 @@ interface ComponentMirror<C> {
|
|
|
18503
18647
|
*/
|
|
18504
18648
|
declare function reflectComponentType<C>(component: Type$1<C>): ComponentMirror<C> | null;
|
|
18505
18649
|
|
|
18506
|
-
/**
|
|
18507
|
-
* Checks whether a given Component, Directive or Pipe is marked as standalone.
|
|
18508
|
-
* This will return false if passed anything other than a Component, Directive, or Pipe class
|
|
18509
|
-
* See [this guide](guide/components/importing) for additional information:
|
|
18510
|
-
*
|
|
18511
|
-
* @param type A reference to a Component, Directive or Pipe.
|
|
18512
|
-
* @publicApi
|
|
18513
|
-
*/
|
|
18514
|
-
declare function isStandalone(type: Type$1<unknown>): boolean;
|
|
18515
|
-
|
|
18516
18650
|
/**
|
|
18517
18651
|
* Set of config options available during the application bootstrap operation.
|
|
18518
18652
|
*
|
|
@@ -18584,5 +18718,5 @@ declare const RESPONSE_INIT: InjectionToken<ResponseInit | null>;
|
|
|
18584
18718
|
*/
|
|
18585
18719
|
declare const REQUEST_CONTEXT: InjectionToken<unknown>;
|
|
18586
18720
|
|
|
18587
|
-
export { ANIMATION_MODULE_TYPE, APP_BOOTSTRAP_LISTENER, APP_ID, APP_INITIALIZER, AfterRenderPhase, ApplicationInitStatus, ApplicationModule, ApplicationRef, Attribute, COMPILER_OPTIONS, CSP_NONCE, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy$1 as ChangeDetectionStrategy, ChangeDetectorRef, Compiler, CompilerFactory, Component, ComponentFactory$1 as ComponentFactory, ComponentFactoryResolver$1 as ComponentFactoryResolver, ComponentRef$1 as ComponentRef, ContentChild, ContentChildren, DEFAULT_CURRENCY_CODE, DebugElement, DebugEventListener, DebugNode, DefaultIterableDiffer, DestroyRef, Directive, ENVIRONMENT_INITIALIZER, ElementRef, EmbeddedViewRef, EnvironmentInjector, ErrorHandler, EventEmitter, HOST_TAG_NAME, Host, HostAttributeToken, HostBinding, HostListener, INJECTOR, Inject, InjectFlags, Injectable, InjectionToken, Injector, Input, IterableDiffers, KeyValueDiffers, LOCALE_ID, MissingTranslationStrategy, ModuleWithComponentFactories, NO_ERRORS_SCHEMA, NgModule, NgModuleFactory$1 as NgModuleFactory, NgModuleRef$1 as NgModuleRef, NgProbeToken, NgZone, Optional, Output, OutputEmitterRef, PACKAGE_ROOT_URL, PLATFORM_ID, PLATFORM_INITIALIZER, PendingTasks, Pipe, PlatformRef, Query, QueryList, REQUEST, REQUEST_CONTEXT, RESPONSE_INIT, Renderer2, RendererFactory2, RendererStyleFlags2, ResourceStatus, Sanitizer, SecurityContext, Self, SimpleChange, SkipSelf, TRANSLATIONS, TRANSLATIONS_FORMAT, TemplateRef, Testability, TestabilityRegistry, TransferState, Type$1 as Type, VERSION, Version, ViewChild, ViewChildren, ViewContainerRef, ViewEncapsulation$1 as ViewEncapsulation, ViewRef$1 as ViewRef, afterNextRender, afterRender, afterRenderEffect, asNativeElements, assertInInjectionContext, assertNotInReactiveContext, assertPlatform, booleanAttribute, computed, contentChild, contentChildren, createComponent, createEnvironmentInjector, createNgModule, createNgModuleRef, createPlatform, createPlatformFactory, defineInjectable, destroyPlatform, effect, enableProdMode, forwardRef, getDebugNode, getModuleFactory, getNgModuleById, getPlatform, importProvidersFrom, inject, input, isDevMode, isSignal, isStandalone, linkedSignal, makeEnvironmentProviders, makeStateKey, mergeApplicationConfig, model, numberAttribute, output, platformCore, provideAppInitializer, provideEnvironmentInitializer, provideExperimentalCheckNoChangesForDebug, provideExperimentalZonelessChangeDetection, providePlatformInitializer, provideZoneChangeDetection, reflectComponentType, resolveForwardRef, resource, runInInjectionContext, setTestabilityGetter, signal, untracked, viewChild, viewChildren, ALLOW_MULTIPLE_PLATFORMS as ɵALLOW_MULTIPLE_PLATFORMS, AfterRenderManager as ɵAfterRenderManager, AnimationRendererType as ɵAnimationRendererType, AttributeMarker as ɵAttributeMarker, BypassType as ɵBypassType, CONTAINER_HEADER_OFFSET as ɵCONTAINER_HEADER_OFFSET, ChangeDetectionScheduler as ɵChangeDetectionScheduler, ChangeDetectionSchedulerImpl as ɵChangeDetectionSchedulerImpl, ComponentFactory$1 as ɵComponentFactory, Console as ɵConsole, 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, DeferBlockBehavior as ɵDeferBlockBehavior, DeferBlockState as ɵDeferBlockState, ENABLE_ROOT_COMPONENT_BOOTSTRAP as ɵENABLE_ROOT_COMPONENT_BOOTSTRAP, EffectScheduler as ɵEffectScheduler, ExtraLocaleDataIndex as ɵExtraLocaleDataIndex, IMAGE_CONFIG as ɵIMAGE_CONFIG, IMAGE_CONFIG_DEFAULTS as ɵIMAGE_CONFIG_DEFAULTS, INJECTOR_SCOPE as ɵINJECTOR_SCOPE, ɵINPUT_SIGNAL_BRAND_WRITE_TYPE, INTERNAL_APPLICATION_ERROR_HANDLER as ɵINTERNAL_APPLICATION_ERROR_HANDLER, IS_HYDRATION_DOM_REUSE_ENABLED as ɵIS_HYDRATION_DOM_REUSE_ENABLED, IS_INCREMENTAL_HYDRATION_ENABLED as ɵIS_INCREMENTAL_HYDRATION_ENABLED, JSACTION_EVENT_CONTRACT as ɵJSACTION_EVENT_CONTRACT, LContext as ɵLContext, LocaleDataIndex as ɵLocaleDataIndex, MicrotaskEffectScheduler as ɵMicrotaskEffectScheduler, NG_COMP_DEF as ɵNG_COMP_DEF, NG_DIR_DEF as ɵNG_DIR_DEF, NG_ELEMENT_ID as ɵNG_ELEMENT_ID, NG_INJ_DEF as ɵNG_INJ_DEF, NG_MOD_DEF as ɵNG_MOD_DEF, NG_PIPE_DEF as ɵNG_PIPE_DEF, NG_PROV_DEF as ɵNG_PROV_DEF, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR as ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, NO_CHANGE as ɵNO_CHANGE, NgModuleFactory as ɵNgModuleFactory, NoopNgZone as ɵNoopNgZone, NotificationSource as ɵNotificationSource, 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, RenderFlags as ɵRenderFlags, 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, TracingAction as ɵTracingAction, TracingService as ɵTracingService, USE_RUNTIME_DEPS_TRACKER_FOR_JIT as ɵUSE_RUNTIME_DEPS_TRACKER_FOR_JIT, ViewRef as ɵViewRef, XSS_SECURITY_URL as ɵXSS_SECURITY_URL, ZONELESS_ENABLED as ɵZONELESS_ENABLED, _sanitizeHtml as ɵ_sanitizeHtml, _sanitizeUrl as ɵ_sanitizeUrl, allowSanitizationBypassAndThrow as ɵallowSanitizationBypassAndThrow, annotateForHydration as ɵannotateForHydration, 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, convertToBitFlags as ɵconvertToBitFlags, createInjector as ɵcreateInjector, defaultIterableDiffers as ɵdefaultIterableDiffers, defaultKeyValueDiffers as ɵdefaultKeyValueDiffers, depsTracker as ɵdepsTracker, detectChangesInViewIfRequired as ɵdetectChangesInViewIfRequired, devModeEqual as ɵdevModeEqual, disableProfiling as ɵdisableProfiling, enableProfiling as ɵenableProfiling, findLocaleData as ɵfindLocaleData, flushModuleScopingQueueAsMuchAsPossible as ɵflushModuleScopingQueueAsMuchAsPossible, formatRuntimeError as ɵformatRuntimeError, generateStandaloneInDeclarationsError as ɵgenerateStandaloneInDeclarationsError, getAsyncClassMetadataFn as ɵgetAsyncClassMetadataFn, getClosestComponentName as ɵgetClosestComponentName, getDebugNode as ɵgetDebugNode, getDeferBlocks$1 as ɵgetDeferBlocks, getDirectives as ɵgetDirectives, getHostElement as ɵgetHostElement, getInjectableDef as ɵgetInjectableDef, getLContext as ɵgetLContext, getLocaleCurrencyCode as ɵgetLocaleCurrencyCode, getLocalePluralCase as ɵgetLocalePluralCase, getOutputDestroyRef as ɵgetOutputDestroyRef, getSanitizationBypassType as ɵgetSanitizationBypassType, ɵgetUnknownElementStrictMode, ɵgetUnknownPropertyStrictMode, _global as ɵglobal, injectChangeDetectorRef as ɵinjectChangeDetectorRef, internalCreateApplication as ɵinternalCreateApplication, internalProvideZoneChangeDetection as ɵinternalProvideZoneChangeDetection, isBoundToModule as ɵisBoundToModule, isComponentDefPendingResolution as ɵisComponentDefPendingResolution, isEnvironmentProviders as ɵisEnvironmentProviders, isInjectable as ɵisInjectable, isNgModule as ɵisNgModule, isPromise as ɵisPromise, isSubscribable as ɵisSubscribable, isViewDirty as ɵisViewDirty, markForRefresh as ɵmarkForRefresh, microtaskEffect as ɵmicrotaskEffect, noSideEffects as ɵnoSideEffects, patchComponentDefWithScope as ɵpatchComponentDefWithScope, performanceMarkFeature as ɵperformanceMarkFeature, publishExternalGlobalUtil as ɵpublishExternalGlobalUtil, readHydrationInfo as ɵreadHydrationInfo, registerLocaleData as ɵregisterLocaleData, renderDeferBlockState as ɵrenderDeferBlockState, resetCompiledComponents as ɵresetCompiledComponents, 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, ɵunwrapWritableSignal, withDomHydration as ɵwithDomHydration, withEventReplay as ɵwithEventReplay, withI18nSupport as ɵwithI18nSupport, withIncrementalHydration as ɵwithIncrementalHydration, ɵɵCopyDefinitionFeature, ɵɵExternalStylesFeature, FactoryTarget as ɵɵFactoryTarget, ɵɵHostDirectivesFeature, ɵɵInheritDefinitionFeature, ɵɵNgOnChangesFeature, ɵɵProvidersFeature, ɵɵadvance, ɵɵattachSourceLocations, ɵɵattribute, ɵɵattributeInterpolate1, ɵɵattributeInterpolate2, ɵɵattributeInterpolate3, ɵɵattributeInterpolate4, ɵɵattributeInterpolate5, ɵɵattributeInterpolate6, ɵɵattributeInterpolate7, ɵɵattributeInterpolate8, ɵɵattributeInterpolateV, ɵɵclassMap, ɵɵclassMapInterpolate1, ɵɵclassMapInterpolate2, ɵɵclassMapInterpolate3, ɵɵclassMapInterpolate4, ɵɵclassMapInterpolate5, ɵɵclassMapInterpolate6, ɵɵclassMapInterpolate7, ɵɵclassMapInterpolate8, ɵɵclassMapInterpolateV, ɵɵclassProp, ɵɵcomponentInstance, ɵɵconditional, ɵɵcontentQuery, ɵɵcontentQuerySignal, ɵɵ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, ɵɵdefineInjectable, ɵɵdefineInjector, ɵɵdefineNgModule, ɵɵdefinePipe, ɵɵdirectiveInject, ɵɵdisableBindings, ɵɵelement, ɵɵelementContainer, ɵɵelementContainerEnd, ɵɵelementContainerStart, ɵɵelementEnd, ɵɵelementStart, ɵɵenableBindings, ɵɵgetComponentDepsFactory, ɵɵgetCurrentView, ɵɵgetInheritedFactory, ɵɵgetReplaceMetadataURL, ɵɵhostProperty, ɵɵi18n, ɵɵi18nApply, ɵɵi18nAttributes, ɵɵi18nEnd, ɵɵi18nExp, ɵɵi18nPostprocess, ɵɵi18nStart, ɵɵinject, ɵɵinjectAttribute, ɵɵ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, ɵɵpropertyInterpolate, ɵɵpropertyInterpolate1, ɵɵpropertyInterpolate2, ɵɵpropertyInterpolate3, ɵɵpropertyInterpolate4, ɵɵpropertyInterpolate5, ɵɵpropertyInterpolate6, ɵɵpropertyInterpolate7, ɵɵpropertyInterpolate8, ɵɵpropertyInterpolateV, ɵɵ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, ɵɵstyleMapInterpolate1, ɵɵstyleMapInterpolate2, ɵɵstyleMapInterpolate3, ɵɵstyleMapInterpolate4, ɵɵstyleMapInterpolate5, ɵɵstyleMapInterpolate6, ɵɵstyleMapInterpolate7, ɵɵstyleMapInterpolate8, ɵɵstyleMapInterpolateV, ɵɵstyleProp, ɵɵstylePropInterpolate1, ɵɵstylePropInterpolate2, ɵɵstylePropInterpolate3, ɵɵstylePropInterpolate4, ɵɵstylePropInterpolate5, ɵɵstylePropInterpolate6, ɵɵstylePropInterpolate7, ɵɵstylePropInterpolate8, ɵɵstylePropInterpolateV, ɵɵsyntheticHostListener, ɵɵsyntheticHostProperty, ɵɵtemplate, ɵɵtemplateRefExtractor, ɵɵtext, ɵɵtextInterpolate, ɵɵtextInterpolate1, ɵɵtextInterpolate2, ɵɵtextInterpolate3, ɵɵtextInterpolate4, ɵɵtextInterpolate5, ɵɵtextInterpolate6, ɵɵtextInterpolate7, ɵɵtextInterpolate8, ɵɵtextInterpolateV, ɵɵtrustConstantHtml, ɵɵtrustConstantResourceUrl, ɵɵtwoWayBindingSet, ɵɵtwoWayListener, ɵɵtwoWayProperty, ɵɵvalidateIframeAttribute, ɵɵviewQuery, ɵɵviewQuerySignal };
|
|
18721
|
+
export { ANIMATION_MODULE_TYPE, APP_BOOTSTRAP_LISTENER, APP_ID, APP_INITIALIZER, AfterRenderPhase, ApplicationInitStatus, ApplicationModule, ApplicationRef, Attribute, COMPILER_OPTIONS, CSP_NONCE, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy$1 as ChangeDetectionStrategy, ChangeDetectorRef, Compiler, CompilerFactory, Component, ComponentFactory$1 as ComponentFactory, ComponentFactoryResolver$1 as ComponentFactoryResolver, ComponentRef$1 as ComponentRef, ContentChild, ContentChildren, DEFAULT_CURRENCY_CODE, DebugElement, DebugEventListener, DebugNode, DefaultIterableDiffer, DestroyRef, Directive, ENVIRONMENT_INITIALIZER, ElementRef, EmbeddedViewRef, EnvironmentInjector, ErrorHandler, EventEmitter, HOST_TAG_NAME, Host, HostAttributeToken, HostBinding, HostListener, INJECTOR, Inject, InjectFlags, Injectable, InjectionToken, Injector, Input, IterableDiffers, KeyValueDiffers, LOCALE_ID, MissingTranslationStrategy, ModuleWithComponentFactories, NO_ERRORS_SCHEMA, NgModule, NgModuleFactory$1 as NgModuleFactory, NgModuleRef$1 as NgModuleRef, NgProbeToken, NgZone, Optional, Output, OutputEmitterRef, PACKAGE_ROOT_URL, PLATFORM_ID, PLATFORM_INITIALIZER, PendingTasks, Pipe, PlatformRef, Query, QueryList, REQUEST, REQUEST_CONTEXT, RESPONSE_INIT, Renderer2, RendererFactory2, RendererStyleFlags2, ResourceStatus, Sanitizer, SecurityContext, Self, SimpleChange, SkipSelf, TRANSLATIONS, TRANSLATIONS_FORMAT, TemplateRef, Testability, TestabilityRegistry, TransferState, Type$1 as Type, VERSION, Version, ViewChild, ViewChildren, ViewContainerRef, ViewEncapsulation$1 as ViewEncapsulation, ViewRef$1 as ViewRef, afterNextRender, afterRender, afterRenderEffect, asNativeElements, assertInInjectionContext, assertNotInReactiveContext, assertPlatform, booleanAttribute, computed, contentChild, contentChildren, createComponent, createEnvironmentInjector, createNgModule, createNgModuleRef, createPlatform, createPlatformFactory, defineInjectable, destroyPlatform, effect, enableProdMode, forwardRef, getDebugNode, getModuleFactory, getNgModuleById, getPlatform, importProvidersFrom, inject, input, isDevMode, isSignal, isStandalone, linkedSignal, makeEnvironmentProviders, makeStateKey, mergeApplicationConfig, model, numberAttribute, output, platformCore, provideAppInitializer, provideEnvironmentInitializer, provideExperimentalCheckNoChangesForDebug, provideExperimentalZonelessChangeDetection, providePlatformInitializer, provideZoneChangeDetection, reflectComponentType, resolveForwardRef, resource, runInInjectionContext, setTestabilityGetter, signal, untracked, viewChild, viewChildren, ALLOW_MULTIPLE_PLATFORMS as ɵALLOW_MULTIPLE_PLATFORMS, AfterRenderManager as ɵAfterRenderManager, AnimationRendererType as ɵAnimationRendererType, AttributeMarker as ɵAttributeMarker, BypassType as ɵBypassType, CLIENT_RENDER_MODE_FLAG as ɵCLIENT_RENDER_MODE_FLAG, CONTAINER_HEADER_OFFSET as ɵCONTAINER_HEADER_OFFSET, ChangeDetectionScheduler as ɵChangeDetectionScheduler, ChangeDetectionSchedulerImpl as ɵChangeDetectionSchedulerImpl, ComponentFactory$1 as ɵComponentFactory, Console as ɵConsole, 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, DeferBlockBehavior as ɵDeferBlockBehavior, DeferBlockState as ɵDeferBlockState, ENABLE_ROOT_COMPONENT_BOOTSTRAP as ɵENABLE_ROOT_COMPONENT_BOOTSTRAP, EffectScheduler as ɵEffectScheduler, ExtraLocaleDataIndex as ɵExtraLocaleDataIndex, HydrationStatus as ɵHydrationStatus, IMAGE_CONFIG as ɵIMAGE_CONFIG, IMAGE_CONFIG_DEFAULTS as ɵIMAGE_CONFIG_DEFAULTS, INJECTOR_SCOPE as ɵINJECTOR_SCOPE, ɵINPUT_SIGNAL_BRAND_WRITE_TYPE, INTERNAL_APPLICATION_ERROR_HANDLER as ɵINTERNAL_APPLICATION_ERROR_HANDLER, IS_HYDRATION_DOM_REUSE_ENABLED as ɵIS_HYDRATION_DOM_REUSE_ENABLED, IS_INCREMENTAL_HYDRATION_ENABLED as ɵIS_INCREMENTAL_HYDRATION_ENABLED, JSACTION_BLOCK_ELEMENT_MAP as ɵJSACTION_BLOCK_ELEMENT_MAP, JSACTION_EVENT_CONTRACT as ɵJSACTION_EVENT_CONTRACT, LContext as ɵLContext, LocaleDataIndex as ɵLocaleDataIndex, MicrotaskEffectScheduler as ɵMicrotaskEffectScheduler, NG_COMP_DEF as ɵNG_COMP_DEF, NG_DIR_DEF as ɵNG_DIR_DEF, NG_ELEMENT_ID as ɵNG_ELEMENT_ID, NG_INJ_DEF as ɵNG_INJ_DEF, NG_MOD_DEF as ɵNG_MOD_DEF, NG_PIPE_DEF as ɵNG_PIPE_DEF, NG_PROV_DEF as ɵNG_PROV_DEF, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR as ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, NO_CHANGE as ɵNO_CHANGE, NgModuleFactory as ɵNgModuleFactory, NoopNgZone as ɵNoopNgZone, NotificationSource as ɵNotificationSource, PERFORMANCE_MARK_PREFIX as ɵPERFORMANCE_MARK_PREFIX, PROVIDED_NG_ZONE as ɵPROVIDED_NG_ZONE, PendingTasksInternal as ɵPendingTasksInternal, ProfilerEvent as ɵProfilerEvent, R3Injector as ɵR3Injector, ReflectionCapabilities as ɵReflectionCapabilities, ComponentFactory as ɵRender3ComponentFactory, ComponentRef as ɵRender3ComponentRef, NgModuleRef as ɵRender3NgModuleRef, RenderFlags as ɵRenderFlags, 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, TracingAction as ɵTracingAction, TracingService as ɵTracingService, USE_RUNTIME_DEPS_TRACKER_FOR_JIT as ɵUSE_RUNTIME_DEPS_TRACKER_FOR_JIT, ViewRef as ɵViewRef, XSS_SECURITY_URL as ɵXSS_SECURITY_URL, ZONELESS_ENABLED as ɵZONELESS_ENABLED, _sanitizeHtml as ɵ_sanitizeHtml, _sanitizeUrl as ɵ_sanitizeUrl, allowSanitizationBypassAndThrow as ɵallowSanitizationBypassAndThrow, annotateForHydration as ɵannotateForHydration, 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, convertToBitFlags as ɵconvertToBitFlags, createInjector as ɵcreateInjector, createOrReusePlatformInjector as ɵcreateOrReusePlatformInjector, defaultIterableDiffers as ɵdefaultIterableDiffers, defaultKeyValueDiffers as ɵdefaultKeyValueDiffers, depsTracker as ɵdepsTracker, detectChangesInViewIfRequired as ɵdetectChangesInViewIfRequired, devModeEqual as ɵdevModeEqual, disableProfiling as ɵdisableProfiling, enableProfiling as ɵenableProfiling, findLocaleData as ɵfindLocaleData, flushModuleScopingQueueAsMuchAsPossible as ɵflushModuleScopingQueueAsMuchAsPossible, formatRuntimeError as ɵformatRuntimeError, generateStandaloneInDeclarationsError as ɵgenerateStandaloneInDeclarationsError, getAsyncClassMetadataFn as ɵgetAsyncClassMetadataFn, getClosestComponentName as ɵgetClosestComponentName, getComponentDef as ɵgetComponentDef, getDebugNode as ɵgetDebugNode, getDeferBlocks$1 as ɵgetDeferBlocks, getDirectives as ɵgetDirectives, getDocument as ɵgetDocument, getHostElement as ɵgetHostElement, getInjectableDef as ɵgetInjectableDef, getLContext as ɵgetLContext, getLocaleCurrencyCode as ɵgetLocaleCurrencyCode, getLocalePluralCase as ɵgetLocalePluralCase, getOutputDestroyRef as ɵgetOutputDestroyRef, getSanitizationBypassType as ɵgetSanitizationBypassType, ɵgetUnknownElementStrictMode, ɵgetUnknownPropertyStrictMode, _global as ɵglobal, injectChangeDetectorRef as ɵinjectChangeDetectorRef, internalCreateApplication as ɵinternalCreateApplication, internalProvideZoneChangeDetection as ɵinternalProvideZoneChangeDetection, isBoundToModule as ɵisBoundToModule, isComponentDefPendingResolution as ɵisComponentDefPendingResolution, isEnvironmentProviders as ɵisEnvironmentProviders, isInjectable as ɵisInjectable, isNgModule as ɵisNgModule, isPromise as ɵisPromise, isSubscribable as ɵisSubscribable, isViewDirty as ɵisViewDirty, markForRefresh as ɵmarkForRefresh, microtaskEffect as ɵmicrotaskEffect, noSideEffects as ɵnoSideEffects, patchComponentDefWithScope as ɵpatchComponentDefWithScope, performanceMarkFeature as ɵperformanceMarkFeature, publishExternalGlobalUtil as ɵpublishExternalGlobalUtil, readHydrationInfo as ɵreadHydrationInfo, registerLocaleData as ɵregisterLocaleData, renderDeferBlockState as ɵrenderDeferBlockState, resetCompiledComponents as ɵresetCompiledComponents, 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, ɵunwrapWritableSignal, withDomHydration as ɵwithDomHydration, withEventReplay as ɵwithEventReplay, withI18nSupport as ɵwithI18nSupport, withIncrementalHydration as ɵwithIncrementalHydration, ɵɵCopyDefinitionFeature, ɵɵExternalStylesFeature, FactoryTarget as ɵɵFactoryTarget, ɵɵHostDirectivesFeature, ɵɵInheritDefinitionFeature, ɵɵNgOnChangesFeature, ɵɵProvidersFeature, ɵɵadvance, ɵɵattachSourceLocations, ɵɵattribute, ɵɵattributeInterpolate1, ɵɵattributeInterpolate2, ɵɵattributeInterpolate3, ɵɵattributeInterpolate4, ɵɵattributeInterpolate5, ɵɵattributeInterpolate6, ɵɵattributeInterpolate7, ɵɵattributeInterpolate8, ɵɵattributeInterpolateV, ɵɵclassMap, ɵɵclassMapInterpolate1, ɵɵclassMapInterpolate2, ɵɵclassMapInterpolate3, ɵɵclassMapInterpolate4, ɵɵclassMapInterpolate5, ɵɵclassMapInterpolate6, ɵɵclassMapInterpolate7, ɵɵclassMapInterpolate8, ɵɵclassMapInterpolateV, ɵɵclassProp, ɵɵcomponentInstance, ɵɵconditional, ɵɵcontentQuery, ɵɵcontentQuerySignal, ɵɵ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, ɵɵdefineInjectable, ɵɵdefineInjector, ɵɵdefineNgModule, ɵɵdefinePipe, ɵɵdirectiveInject, ɵɵdisableBindings, ɵɵelement, ɵɵelementContainer, ɵɵelementContainerEnd, ɵɵelementContainerStart, ɵɵelementEnd, ɵɵelementStart, ɵɵenableBindings, ɵɵgetComponentDepsFactory, ɵɵgetCurrentView, ɵɵgetInheritedFactory, ɵɵgetReplaceMetadataURL, ɵɵhostProperty, ɵɵi18n, ɵɵi18nApply, ɵɵi18nAttributes, ɵɵi18nEnd, ɵɵi18nExp, ɵɵi18nPostprocess, ɵɵi18nStart, ɵɵinject, ɵɵinjectAttribute, ɵɵ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, ɵɵpropertyInterpolate, ɵɵpropertyInterpolate1, ɵɵpropertyInterpolate2, ɵɵpropertyInterpolate3, ɵɵpropertyInterpolate4, ɵɵpropertyInterpolate5, ɵɵpropertyInterpolate6, ɵɵpropertyInterpolate7, ɵɵpropertyInterpolate8, ɵɵpropertyInterpolateV, ɵɵ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, ɵɵstyleMapInterpolate1, ɵɵstyleMapInterpolate2, ɵɵstyleMapInterpolate3, ɵɵstyleMapInterpolate4, ɵɵstyleMapInterpolate5, ɵɵstyleMapInterpolate6, ɵɵstyleMapInterpolate7, ɵɵstyleMapInterpolate8, ɵɵstyleMapInterpolateV, ɵɵstyleProp, ɵɵstylePropInterpolate1, ɵɵstylePropInterpolate2, ɵɵstylePropInterpolate3, ɵɵstylePropInterpolate4, ɵɵstylePropInterpolate5, ɵɵstylePropInterpolate6, ɵɵstylePropInterpolate7, ɵɵstylePropInterpolate8, ɵɵstylePropInterpolateV, ɵɵsyntheticHostListener, ɵɵsyntheticHostProperty, ɵɵtemplate, ɵɵtemplateRefExtractor, ɵɵtext, ɵɵtextInterpolate, ɵɵtextInterpolate1, ɵɵtextInterpolate2, ɵɵtextInterpolate3, ɵɵtextInterpolate4, ɵɵtextInterpolate5, ɵɵtextInterpolate6, ɵɵtextInterpolate7, ɵɵtextInterpolate8, ɵɵtextInterpolateV, ɵɵtrustConstantHtml, ɵɵtrustConstantResourceUrl, ɵɵtwoWayBindingSet, ɵɵtwoWayListener, ɵɵtwoWayProperty, ɵɵvalidateIframeAttribute, ɵɵviewQuery, ɵɵviewQuerySignal };
|
|
18588
18722
|
export type { AbstractType, AfterContentChecked, AfterContentInit, AfterRenderOptions, AfterRenderRef, AfterViewChecked, AfterViewInit, ApplicationConfig, AttributeDecorator, BaseResourceOptions, BootstrapOptions, ClassProvider, ClassSansProvider, CompilerOptions, ComponentDecorator, ComponentMirror, ConstructorProvider, ConstructorSansProvider, ContentChildDecorator, ContentChildFunction, ContentChildrenDecorator, CreateComputedOptions, CreateEffectOptions, CreateSignalOptions, DirectiveDecorator, DoBootstrap, DoCheck, EffectCleanupFn, EffectCleanupRegisterFn, EffectRef, EnvironmentProviders, ExistingProvider, ExistingSansProvider, FactoryProvider, FactorySansProvider, ForwardRefFn, GetTestability, HostBindingDecorator, HostDecorator, HostListenerDecorator, ImportProvidersSource, ImportedNgModuleProviders, InjectDecorator, InjectOptions, InjectableDecorator, InjectableProvider, InjectableType, InjectorType, InputDecorator, InputFunction, InputOptions, InputOptionsWithTransform, InputOptionsWithoutTransform, InputSignal, InputSignalWithTransform, IterableChangeRecord, IterableChanges, IterableDiffer, IterableDifferFactory, KeyValueChangeRecord, KeyValueChanges, KeyValueDiffer, KeyValueDifferFactory, ListenerOptions, ModelFunction, ModelOptions, ModelSignal, ModuleWithProviders, NgIterable, NgModuleDecorator, NgZoneOptions, OnChanges, OnDestroy, OnInit, OptionalDecorator, OutputDecorator, OutputOptions, OutputRef, OutputRefSubscription, PipeDecorator, PipeTransform, Predicate, PromiseResourceOptions, Provider, ProviderToken, RendererType2, Resource, ResourceLoader, ResourceLoaderParams, ResourceOptions, ResourceRef, ResourceStreamItem, ResourceStreamingLoader, SchemaMetadata, SelfDecorator, Signal, SimpleChanges, SkipSelfDecorator, StateKey, StaticClassProvider, StaticClassSansProvider, StaticProvider, StreamingResourceOptions, TrackByFunction, TypeDecorator, TypeProvider, ValueEqualityFn, ValueProvider, ValueSansProvider, ViewChildDecorator, ViewChildFunction, ViewChildrenDecorator, WritableResource, WritableSignal, ComponentDebugMetadata as ɵComponentDebugMetadata, ComponentDef as ɵComponentDef, ComponentType as ɵComponentType, CssSelectorList as ɵCssSelectorList, DeferBlockConfig as ɵDeferBlockConfig, DeferBlockDependencyInterceptor as ɵDeferBlockDependencyInterceptor, DeferBlockDetails as ɵDeferBlockDetails, DirectiveDef as ɵDirectiveDef, DirectiveType as ɵDirectiveType, ɵFirstAvailable, ɵFirstAvailableSignal, GlobalDevModeUtils as ɵGlobalDevModeUtils, HydratedNode as ɵHydratedNode, HydrationInfo as ɵHydrationInfo, ImageConfig as ɵImageConfig, InjectorProfilerContext as ɵInjectorProfilerContext, InputSignalNode as ɵInputSignalNode, InternalEnvironmentProviders as ɵInternalEnvironmentProviders, NgModuleDef as ɵNgModuleDef, NgModuleTransitiveScopes as ɵNgModuleTransitiveScopes, NgModuleType as ɵNgModuleType, PipeDef as ɵPipeDef, Profiler as ɵProfiler, ProviderRecord as ɵProviderRecord, SafeHtml as ɵSafeHtml, SafeResourceUrl as ɵSafeResourceUrl, SafeScript as ɵSafeScript, SafeStyle as ɵSafeStyle, SafeUrl as ɵSafeUrl, SafeValue as ɵSafeValue, TracingSnapshot as ɵTracingSnapshot, ɵUnwrapDirectiveSignalInputs, Writable as ɵWritable, ɵɵComponentDeclaration, ɵɵDirectiveDeclaration, ɵɵFactoryDeclaration, ɵɵInjectableDeclaration, ɵɵInjectorDeclaration, ɵɵInjectorDef, ɵɵNgModuleDeclaration, ɵɵPipeDeclaration };
|
package/package.json
CHANGED
package/primitives/di/index.d.ts
CHANGED
package/rxjs-interop/index.d.ts
CHANGED
package/schematics/bundles/{apply_import_manager-Celp9ClC.cjs → apply_import_manager-QQDfWa1Z.cjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
3
|
+
* @license Angular v19.2.13
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
var ts = require('typescript');
|
|
10
10
|
require('os');
|
|
11
11
|
var checker = require('./checker-5pyJrZ9G.cjs');
|
|
12
|
-
var project_paths = require('./project_paths-
|
|
12
|
+
var project_paths = require('./project_paths-CyWVEsbT.cjs');
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Applies import manager changes, and writes them as replacements the
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
3
|
+
* @license Angular v19.2.13
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -30744,7 +30744,7 @@ function publishFacade(global) {
|
|
|
30744
30744
|
* @description
|
|
30745
30745
|
* Entry point for all public APIs of the compiler package.
|
|
30746
30746
|
*/
|
|
30747
|
-
new Version('19.2.
|
|
30747
|
+
new Version('19.2.13');
|
|
30748
30748
|
|
|
30749
30749
|
const _I18N_ATTR = 'i18n';
|
|
30750
30750
|
const _I18N_ATTR_PREFIX = 'i18n-';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
3
|
+
* @license Angular v19.2.13
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
|
|
9
9
|
require('@angular-devkit/core');
|
|
10
10
|
require('node:path/posix');
|
|
11
|
-
var project_paths = require('./project_paths-
|
|
11
|
+
var project_paths = require('./project_paths-CyWVEsbT.cjs');
|
|
12
12
|
var ts = require('typescript');
|
|
13
13
|
require('os');
|
|
14
14
|
var checker = require('./checker-5pyJrZ9G.cjs');
|
|
15
15
|
var index = require('./index-BIvVb6in.cjs');
|
|
16
16
|
require('path');
|
|
17
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
17
|
+
var apply_import_manager = require('./apply_import_manager-QQDfWa1Z.cjs');
|
|
18
18
|
require('@angular-devkit/schematics');
|
|
19
19
|
require('./project_tsconfig_paths-CDVxT6Ov.cjs');
|
|
20
20
|
require('fs');
|
|
@@ -37,61 +37,42 @@ class UnusedImportsMigration extends project_paths.TsurgeFunnelMigration {
|
|
|
37
37
|
async analyze(info) {
|
|
38
38
|
const nodePositions = new Map();
|
|
39
39
|
const replacements = [];
|
|
40
|
-
|
|
40
|
+
let removedImports = 0;
|
|
41
41
|
let changedFiles = 0;
|
|
42
42
|
info.ngCompiler?.getDiagnostics().forEach((diag) => {
|
|
43
43
|
if (diag.file !== undefined &&
|
|
44
44
|
diag.start !== undefined &&
|
|
45
45
|
diag.length !== undefined &&
|
|
46
46
|
diag.code === checker.ngErrorCode(checker.ErrorCode.UNUSED_STANDALONE_IMPORTS)) {
|
|
47
|
+
// Skip files that aren't owned by this compilation unit.
|
|
48
|
+
if (!info.sourceFiles.includes(diag.file)) {
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
47
51
|
if (!nodePositions.has(diag.file)) {
|
|
48
52
|
nodePositions.set(diag.file, new Set());
|
|
49
53
|
}
|
|
50
|
-
nodePositions.get(diag.file).add(this.
|
|
54
|
+
nodePositions.get(diag.file).add(this.getNodeKey(diag.start, diag.length));
|
|
51
55
|
}
|
|
52
56
|
});
|
|
53
57
|
nodePositions.forEach((locations, sourceFile) => {
|
|
54
58
|
const resolvedLocations = this.resolveRemovalLocations(sourceFile, locations);
|
|
55
59
|
const usageAnalysis = this.analyzeUsages(sourceFile, resolvedLocations);
|
|
56
60
|
if (resolvedLocations.allRemovedIdentifiers.size > 0) {
|
|
61
|
+
removedImports += resolvedLocations.allRemovedIdentifiers.size;
|
|
57
62
|
changedFiles++;
|
|
58
|
-
resolvedLocations.allRemovedIdentifiers.forEach((identifier) => {
|
|
59
|
-
removedIdentifiers.push(this.getNodeID(identifier.getStart(), identifier.getWidth()));
|
|
60
|
-
});
|
|
61
63
|
}
|
|
62
64
|
this.generateReplacements(sourceFile, resolvedLocations, usageAnalysis, info, replacements);
|
|
63
65
|
});
|
|
64
|
-
return project_paths.confirmAsSerializable({ replacements,
|
|
66
|
+
return project_paths.confirmAsSerializable({ replacements, removedImports, changedFiles });
|
|
65
67
|
}
|
|
66
68
|
async migrate(globalData) {
|
|
67
69
|
return project_paths.confirmAsSerializable(globalData);
|
|
68
70
|
}
|
|
69
71
|
async combine(unitA, unitB) {
|
|
70
|
-
const combinedReplacements = [];
|
|
71
|
-
const combinedRemovedIdentifiers = [];
|
|
72
|
-
const seenReplacements = new Set();
|
|
73
|
-
const seenIdentifiers = new Set();
|
|
74
|
-
const changedFileIds = new Set();
|
|
75
|
-
[unitA, unitB].forEach((unit) => {
|
|
76
|
-
for (const replacement of unit.replacements) {
|
|
77
|
-
const key = this.getReplacementID(replacement);
|
|
78
|
-
changedFileIds.add(replacement.projectFile.id);
|
|
79
|
-
if (!seenReplacements.has(key)) {
|
|
80
|
-
seenReplacements.add(key);
|
|
81
|
-
combinedReplacements.push(replacement);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
for (const identifier of unit.removedIdentifiers) {
|
|
85
|
-
if (!seenIdentifiers.has(identifier)) {
|
|
86
|
-
seenIdentifiers.add(identifier);
|
|
87
|
-
combinedRemovedIdentifiers.push(identifier);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
72
|
return project_paths.confirmAsSerializable({
|
|
92
|
-
replacements:
|
|
93
|
-
|
|
94
|
-
changedFiles:
|
|
73
|
+
replacements: [...unitA.replacements, ...unitB.replacements],
|
|
74
|
+
removedImports: unitA.removedImports + unitB.removedImports,
|
|
75
|
+
changedFiles: unitA.changedFiles + unitB.changedFiles,
|
|
95
76
|
});
|
|
96
77
|
}
|
|
97
78
|
async globalMeta(combinedData) {
|
|
@@ -100,20 +81,15 @@ class UnusedImportsMigration extends project_paths.TsurgeFunnelMigration {
|
|
|
100
81
|
async stats(globalMetadata) {
|
|
101
82
|
return {
|
|
102
83
|
counters: {
|
|
103
|
-
removedImports: globalMetadata.
|
|
84
|
+
removedImports: globalMetadata.removedImports,
|
|
104
85
|
changedFiles: globalMetadata.changedFiles,
|
|
105
86
|
},
|
|
106
87
|
};
|
|
107
88
|
}
|
|
108
|
-
/** Gets
|
|
109
|
-
|
|
89
|
+
/** Gets a key that can be used to look up a node based on its location. */
|
|
90
|
+
getNodeKey(start, length) {
|
|
110
91
|
return `${start}/${length}`;
|
|
111
92
|
}
|
|
112
|
-
/** Gets a unique ID for a replacement. */
|
|
113
|
-
getReplacementID(replacement) {
|
|
114
|
-
const { position, end, toInsert } = replacement.update.data;
|
|
115
|
-
return replacement.projectFile.id + '/' + position + '/' + end + '/' + toInsert;
|
|
116
|
-
}
|
|
117
93
|
/**
|
|
118
94
|
* Resolves a set of node locations to the actual AST nodes that need to be migrated.
|
|
119
95
|
* @param sourceFile File in which to resolve the locations.
|
|
@@ -135,7 +111,7 @@ class UnusedImportsMigration extends project_paths.TsurgeFunnelMigration {
|
|
|
135
111
|
if (!parent) {
|
|
136
112
|
return;
|
|
137
113
|
}
|
|
138
|
-
if (locations.has(this.
|
|
114
|
+
if (locations.has(this.getNodeKey(node.getStart(), node.getWidth()))) {
|
|
139
115
|
// When the entire array needs to be cleared, the diagnostic is
|
|
140
116
|
// reported on the property assignment, rather than an array element.
|
|
141
117
|
if (ts.isPropertyAssignment(parent) &&
|
|
@@ -144,7 +120,7 @@ class UnusedImportsMigration extends project_paths.TsurgeFunnelMigration {
|
|
|
144
120
|
result.fullRemovals.add(parent.initializer);
|
|
145
121
|
parent.initializer.elements.forEach((element) => {
|
|
146
122
|
if (ts.isIdentifier(element)) {
|
|
147
|
-
result.allRemovedIdentifiers.add(element);
|
|
123
|
+
result.allRemovedIdentifiers.add(element.text);
|
|
148
124
|
}
|
|
149
125
|
});
|
|
150
126
|
}
|
|
@@ -153,7 +129,7 @@ class UnusedImportsMigration extends project_paths.TsurgeFunnelMigration {
|
|
|
153
129
|
result.partialRemovals.set(parent, new Set());
|
|
154
130
|
}
|
|
155
131
|
result.partialRemovals.get(parent).add(node);
|
|
156
|
-
result.allRemovedIdentifiers.add(node);
|
|
132
|
+
result.allRemovedIdentifiers.add(node.text);
|
|
157
133
|
}
|
|
158
134
|
}
|
|
159
135
|
};
|
|
@@ -247,13 +223,8 @@ class UnusedImportsMigration extends project_paths.TsurgeFunnelMigration {
|
|
|
247
223
|
names.forEach((symbolName, localName) => {
|
|
248
224
|
// Note that in the `identifierCounts` lookup both zero and undefined
|
|
249
225
|
// are valid and mean that the identifiers isn't being used anymore.
|
|
250
|
-
if (!identifierCounts.get(localName)) {
|
|
251
|
-
|
|
252
|
-
if (identifier.text === localName) {
|
|
253
|
-
importManager.removeImport(sourceFile, symbolName, moduleName);
|
|
254
|
-
break;
|
|
255
|
-
}
|
|
256
|
-
}
|
|
226
|
+
if (allRemovedIdentifiers.has(localName) && !identifierCounts.get(localName)) {
|
|
227
|
+
importManager.removeImport(sourceFile, symbolName, moduleName);
|
|
257
228
|
}
|
|
258
229
|
});
|
|
259
230
|
});
|