@angular/core 19.2.0 → 19.2.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/core.mjs +52 -69
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/di.mjs +45 -0
- package/fesm2022/primitives/di.mjs.map +1 -0
- package/fesm2022/primitives/event-dispatch.mjs +2 -2
- package/fesm2022/primitives/signals.mjs +2 -2
- package/fesm2022/rxjs-interop.mjs +2 -2
- package/fesm2022/testing.mjs +280 -119
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +27 -30
- package/package.json +5 -1
- package/primitives/di/index.d.ts +99 -0
- package/primitives/event-dispatch/index.d.ts +2 -2
- package/primitives/signals/index.d.ts +2 -2
- package/rxjs-interop/index.d.ts +2 -2
- package/schematics/bundles/{apply_import_manager-a4e62ded.js → apply_import_manager-b8d6885d.js} +4 -4
- package/schematics/bundles/{checker-2eecc677.js → checker-89987c98.js} +11 -15
- package/schematics/bundles/cleanup-unused-imports.js +8 -8
- package/schematics/bundles/{compiler_host-f313eac9.js → compiler_host-2398e4ca.js} +3 -3
- package/schematics/bundles/control-flow-migration.js +4 -4
- package/schematics/bundles/explicit-standalone-flag.js +6 -6
- package/schematics/bundles/{imports-31a38653.js → imports-047fbbc8.js} +2 -2
- package/schematics/bundles/{index-3891dd55.js → index-10911843.js} +5 -5
- package/schematics/bundles/{index-afc3f749.js → index-e0b2e4a7.js} +5 -5
- package/schematics/bundles/inject-migration.js +8 -8
- package/schematics/bundles/{leading_space-6e7a8ec6.js → leading_space-f8944434.js} +2 -2
- package/schematics/bundles/{migrate_ts_type_references-1abf1f5f.js → migrate_ts_type_references-52508cd4.js} +7 -7
- package/schematics/bundles/{ng_decorators-6878e227.js → ng_decorators-b0d8b324.js} +3 -3
- package/schematics/bundles/{nodes-ffdce442.js → nodes-7758dbf6.js} +2 -2
- package/schematics/bundles/output-migration.js +8 -8
- package/schematics/bundles/pending-tasks.js +6 -6
- package/schematics/bundles/{program-24da9092.js → program-0e1d4f10.js} +13 -13
- package/schematics/bundles/{project_paths-64bc3947.js → project_paths-c48796dd.js} +4 -4
- package/schematics/bundles/{project_tsconfig_paths-6c9cde78.js → project_tsconfig_paths-b558633b.js} +2 -2
- package/schematics/bundles/{property_name-42030525.js → property_name-ac18447e.js} +2 -2
- package/schematics/bundles/provide-initializer.js +6 -6
- package/schematics/bundles/route-lazy-loading.js +6 -6
- package/schematics/bundles/self-closing-tags-migration.js +44 -28
- package/schematics/bundles/signal-input-migration.js +10 -10
- package/schematics/bundles/signal-queries-migration.js +10 -10
- package/schematics/bundles/signals.js +10 -10
- package/schematics/bundles/standalone-migration.js +10 -10
- package/testing/index.d.ts +25 -14
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.2.
|
|
3
|
-
* (c) 2010-
|
|
2
|
+
* @license Angular v19.2.1
|
|
3
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -909,7 +909,6 @@ export declare class ApplicationModule {
|
|
|
909
909
|
* A reference to an Angular application running on a page.
|
|
910
910
|
*
|
|
911
911
|
* @usageNotes
|
|
912
|
-
* {@a is-stable-examples}
|
|
913
912
|
* ### isStable examples and caveats
|
|
914
913
|
*
|
|
915
914
|
* Note two important points about `isStable`, demonstrated in the examples below:
|
|
@@ -1185,7 +1184,7 @@ export declare class ApplicationRef {
|
|
|
1185
1184
|
* Marks a component for check (in case of OnPush components) and synchronously
|
|
1186
1185
|
* performs change detection on the application this component belongs to.
|
|
1187
1186
|
*
|
|
1188
|
-
* @param component Component to {@link ChangeDetectorRef#markForCheck mark for check}
|
|
1187
|
+
* @param component Component to {@link /api/core/ChangeDetectorRef#markForCheck mark for check}
|
|
1189
1188
|
*
|
|
1190
1189
|
* @publicApi
|
|
1191
1190
|
*/
|
|
@@ -1209,7 +1208,7 @@ export declare function assertInInjectionContext(debugFn: Function): void;
|
|
|
1209
1208
|
|
|
1210
1209
|
/**
|
|
1211
1210
|
* Asserts that the current stack frame is not within a reactive context. Useful
|
|
1212
|
-
* to disallow certain code from running inside a reactive context (see {@link toSignal})
|
|
1211
|
+
* to disallow certain code from running inside a reactive context (see {@link /api/core/rxjs/toSignal toSignal})
|
|
1213
1212
|
*
|
|
1214
1213
|
* @param debugFn a reference to the function making the assertion (used for the error message).
|
|
1215
1214
|
*
|
|
@@ -1415,8 +1414,8 @@ export declare interface BootstrapOptions {
|
|
|
1415
1414
|
* The strategy that the default change detector uses to detect changes.
|
|
1416
1415
|
* When set, takes effect the next time change detection is triggered.
|
|
1417
1416
|
*
|
|
1418
|
-
* @see
|
|
1419
|
-
* @see
|
|
1417
|
+
* @see {@link /api/core/ChangeDetectorRef?tab=usage-notes Change detection usage}
|
|
1418
|
+
* @see {@link /best-practices/skipping-subtrees Skipping component subtrees}
|
|
1420
1419
|
*
|
|
1421
1420
|
* @publicApi
|
|
1422
1421
|
*/
|
|
@@ -2037,7 +2036,7 @@ declare interface ComponentDefinition<T> extends Omit<DirectiveDefinition<T>, 'f
|
|
|
2037
2036
|
*/
|
|
2038
2037
|
features?: ComponentDefFeature[];
|
|
2039
2038
|
/**
|
|
2040
|
-
* Defines template and style encapsulation options available for Component's {@link Component}.
|
|
2039
|
+
* Defines template and style encapsulation options available for Component's {@link /api/core/Component Component}.
|
|
2041
2040
|
*/
|
|
2042
2041
|
encapsulation?: ViewEncapsulation;
|
|
2043
2042
|
/**
|
|
@@ -3051,11 +3050,7 @@ declare const DECLARATION_VIEW = 14;
|
|
|
3051
3050
|
*
|
|
3052
3051
|
* <div class="docs-alert docs-alert-helpful">
|
|
3053
3052
|
*
|
|
3054
|
-
*
|
|
3055
|
-
*
|
|
3056
|
-
* The default currency code is currently always `USD` but this is deprecated from v9.
|
|
3057
|
-
*
|
|
3058
|
-
* **In v10 the default currency code will be taken from the current locale.**
|
|
3053
|
+
* The default currency code is currently always `USD`.
|
|
3059
3054
|
*
|
|
3060
3055
|
* If you need the previous behavior then set it by creating a `DEFAULT_CURRENCY_CODE` provider in
|
|
3061
3056
|
* your application `NgModule`:
|
|
@@ -4270,7 +4265,7 @@ export declare abstract class EmbeddedViewRef<C> extends ViewRef {
|
|
|
4270
4265
|
*
|
|
4271
4266
|
* Using this method is discouraged as the Angular CLI will set production mode when using the
|
|
4272
4267
|
* `optimization` option.
|
|
4273
|
-
* @see {@link cli/build ng build}
|
|
4268
|
+
* @see {@link /cli/build ng build}
|
|
4274
4269
|
*
|
|
4275
4270
|
* @publicApi
|
|
4276
4271
|
*/
|
|
@@ -6590,7 +6585,7 @@ declare interface InternalNgModuleRef<T> extends NgModuleRef<T> {
|
|
|
6590
6585
|
*
|
|
6591
6586
|
* By default, this is true, unless `enableProdMode` is invoked prior to calling this method or the
|
|
6592
6587
|
* application is built using the Angular CLI with the `optimization` option.
|
|
6593
|
-
* @see {@link cli/build ng build}
|
|
6588
|
+
* @see {@link /cli/build ng build}
|
|
6594
6589
|
*
|
|
6595
6590
|
* @publicApi
|
|
6596
6591
|
*/
|
|
@@ -6683,7 +6678,7 @@ export declare interface IterableChanges<V> {
|
|
|
6683
6678
|
}
|
|
6684
6679
|
|
|
6685
6680
|
/**
|
|
6686
|
-
* A strategy for tracking changes over time to an iterable. Used by {@link NgForOf} to
|
|
6681
|
+
* A strategy for tracking changes over time to an iterable. Used by {@link /api/common/NgForOf NgForOf} to
|
|
6687
6682
|
* respond to changes in an iterable by effecting equivalent changes in the DOM.
|
|
6688
6683
|
*
|
|
6689
6684
|
* @publicApi
|
|
@@ -9024,7 +9019,7 @@ export declare function provideExperimentalCheckNoChangesForDebug(options: {
|
|
|
9024
9019
|
*
|
|
9025
9020
|
* @publicApi
|
|
9026
9021
|
* @experimental
|
|
9027
|
-
* @see
|
|
9022
|
+
* @see {@link /api/platform-browser/bootstrapApplication bootstrapApplication}
|
|
9028
9023
|
*/
|
|
9029
9024
|
export declare function provideExperimentalZonelessChangeDetection(): EnvironmentProviders;
|
|
9030
9025
|
|
|
@@ -9079,7 +9074,7 @@ export declare type ProviderToken<T> = Type<T> | AbstractType<T> | InjectionToke
|
|
|
9079
9074
|
* ```
|
|
9080
9075
|
*
|
|
9081
9076
|
* @publicApi
|
|
9082
|
-
* @see {@link bootstrapApplication}
|
|
9077
|
+
* @see {@link /api/core/bootstrapApplication bootstrapApplication}
|
|
9083
9078
|
* @see {@link NgZoneOptions}
|
|
9084
9079
|
*/
|
|
9085
9080
|
export declare function provideZoneChangeDetection(options?: NgZoneOptions): EnvironmentProviders;
|
|
@@ -9797,8 +9792,7 @@ export declare interface RendererType2 {
|
|
|
9797
9792
|
[kind: string]: any;
|
|
9798
9793
|
};
|
|
9799
9794
|
/**
|
|
9800
|
-
* A function
|
|
9801
|
-
* the list of external runtime style URLs.
|
|
9795
|
+
* A function used by the framework to create the list of external runtime style URLs.
|
|
9802
9796
|
*/
|
|
9803
9797
|
getExternalStyles?: ((encapsulationId?: string) => string[]) | null;
|
|
9804
9798
|
}
|
|
@@ -12778,7 +12772,7 @@ declare interface ViewEffectNode extends EffectNode {
|
|
|
12778
12772
|
|
|
12779
12773
|
|
|
12780
12774
|
/**
|
|
12781
|
-
* Defines the CSS styles encapsulation policies for the {@link Component} decorator's
|
|
12775
|
+
* Defines the CSS styles encapsulation policies for the {@link /api/core/Component Component} decorator's
|
|
12782
12776
|
* `encapsulation` option.
|
|
12783
12777
|
*
|
|
12784
12778
|
* See {@link Component#encapsulation encapsulation}.
|
|
@@ -12827,7 +12821,7 @@ declare type ViewQueriesFunction<T> = <U extends T>(rf: ɵRenderFlags, ctx: U) =
|
|
|
12827
12821
|
/**
|
|
12828
12822
|
* Represents an Angular view.
|
|
12829
12823
|
*
|
|
12830
|
-
* @see
|
|
12824
|
+
* @see {@link /api/core/ChangeDetectorRef?tab=usage-notes Change detection usage}
|
|
12831
12825
|
*
|
|
12832
12826
|
* @publicApi
|
|
12833
12827
|
*/
|
|
@@ -13374,8 +13368,7 @@ export declare interface ɵComponentDef<T> extends ɵDirectiveDef<T> {
|
|
|
13374
13368
|
*/
|
|
13375
13369
|
getStandaloneInjector: ((parentInjector: EnvironmentInjector) => EnvironmentInjector | null) | null;
|
|
13376
13370
|
/**
|
|
13377
|
-
* A function
|
|
13378
|
-
* the list of external runtime style URLs.
|
|
13371
|
+
* A function used by the framework to create the list of external runtime style URLs.
|
|
13379
13372
|
*/
|
|
13380
13373
|
getExternalStyles: ((encapsulationId?: string) => string[]) | null;
|
|
13381
13374
|
/**
|
|
@@ -14102,6 +14095,11 @@ export declare function ɵisPromise<T = any>(obj: any): obj is Promise<T>;
|
|
|
14102
14095
|
*/
|
|
14103
14096
|
export declare function ɵisSubscribable<T>(obj: any | Subscribable<T>): obj is Subscribable<T>;
|
|
14104
14097
|
|
|
14098
|
+
/**
|
|
14099
|
+
* Reports whether the given view is considered dirty according to the different marking mechanisms.
|
|
14100
|
+
*/
|
|
14101
|
+
export declare function ɵisViewDirty(view: ɵViewRef<unknown>): boolean;
|
|
14102
|
+
|
|
14105
14103
|
export declare const ɵJSACTION_EVENT_CONTRACT: InjectionToken<EventContractDetails>;
|
|
14106
14104
|
|
|
14107
14105
|
/**
|
|
@@ -14187,6 +14185,8 @@ export declare enum ɵLocaleDataIndex {
|
|
|
14187
14185
|
ExtraData = 21
|
|
14188
14186
|
}
|
|
14189
14187
|
|
|
14188
|
+
export declare function ɵmarkForRefresh(view: ɵViewRef<unknown>): void;
|
|
14189
|
+
|
|
14190
14190
|
/**
|
|
14191
14191
|
* Create a global `Effect` for the given reactive function.
|
|
14192
14192
|
*/
|
|
@@ -14730,6 +14730,8 @@ export declare class ɵRender3ComponentFactory<T> extends ComponentFactory<T> {
|
|
|
14730
14730
|
componentType: Type<any>;
|
|
14731
14731
|
ngContentSelectors: string[];
|
|
14732
14732
|
isBoundToModule: boolean;
|
|
14733
|
+
private cachedInputs;
|
|
14734
|
+
private cachedOutputs;
|
|
14733
14735
|
get inputs(): {
|
|
14734
14736
|
propName: string;
|
|
14735
14737
|
templateName: string;
|
|
@@ -15100,7 +15102,7 @@ export declare function ɵsetClassMetadata(type: Type<any>, decorators: any[] |
|
|
|
15100
15102
|
*/
|
|
15101
15103
|
export declare function ɵsetClassMetadataAsync(type: Type<any>, dependencyLoaderFn: () => Array<Promise<Type<unknown>>>, metadataSetterFn: (...types: Type<unknown>[]) => void): () => Promise<Array<Type<unknown>>>;
|
|
15102
15104
|
|
|
15103
|
-
export declare function ɵsetCurrentInjector(injector: Injector | null | undefined): Injector
|
|
15105
|
+
export declare function ɵsetCurrentInjector(injector: Injector | null | undefined): Injector;
|
|
15104
15106
|
|
|
15105
15107
|
|
|
15106
15108
|
/**
|
|
@@ -15319,10 +15321,6 @@ export declare class ɵViewRef<T> implements EmbeddedViewRef<T>, ChangeDetectorR
|
|
|
15319
15321
|
*/
|
|
15320
15322
|
_cdRefInjectingView?: LView | undefined, notifyErrorHandler?: boolean);
|
|
15321
15323
|
get context(): T;
|
|
15322
|
-
/**
|
|
15323
|
-
* Reports whether the given view is considered dirty according to the different marking mechanisms.
|
|
15324
|
-
*/
|
|
15325
|
-
get dirty(): boolean;
|
|
15326
15324
|
/**
|
|
15327
15325
|
* @deprecated Replacing the full context object is not supported. Modify the context
|
|
15328
15326
|
* directly, or consider using a `Proxy` if you need to replace the full object.
|
|
@@ -15364,7 +15362,6 @@ export declare class ɵViewRef<T> implements EmbeddedViewRef<T>, ChangeDetectorR
|
|
|
15364
15362
|
* ```
|
|
15365
15363
|
*/
|
|
15366
15364
|
markForCheck(): void;
|
|
15367
|
-
markForRefresh(): void;
|
|
15368
15365
|
/**
|
|
15369
15366
|
* Detaches the view from the change detection tree.
|
|
15370
15367
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/core",
|
|
3
|
-
"version": "19.2.
|
|
3
|
+
"version": "19.2.1",
|
|
4
4
|
"description": "Angular - the core framework",
|
|
5
5
|
"author": "angular",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,6 +21,10 @@
|
|
|
21
21
|
"types": "./index.d.ts",
|
|
22
22
|
"default": "./fesm2022/core.mjs"
|
|
23
23
|
},
|
|
24
|
+
"./primitives/di": {
|
|
25
|
+
"types": "./primitives/di/index.d.ts",
|
|
26
|
+
"default": "./fesm2022/primitives/di.mjs"
|
|
27
|
+
},
|
|
24
28
|
"./primitives/event-dispatch": {
|
|
25
29
|
"types": "./primitives/event-dispatch/index.d.ts",
|
|
26
30
|
"default": "./fesm2022/primitives/event-dispatch.mjs"
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Angular v19.2.1
|
|
3
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
|
+
* License: MIT
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export declare function getCurrentInjector(): Injector | undefined | null;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* A `Type` which has a `ɵprov: ɵɵInjectableDeclaration` static field.
|
|
12
|
+
*
|
|
13
|
+
* `InjectableType`s contain their own Dependency Injection metadata and are usable in an
|
|
14
|
+
* `InjectorDef`-based `StaticInjector`.
|
|
15
|
+
*
|
|
16
|
+
* @publicApi
|
|
17
|
+
*/
|
|
18
|
+
export declare interface InjectionToken<T> extends Type<T> {
|
|
19
|
+
ɵprov: ɵɵInjectableDeclaration<T>;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export declare interface Injector {
|
|
23
|
+
retrieve?<T>(token: InjectionToken<T>, options?: unknown): T | NotFound;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Type guard for checking if an unknown value is a NotFound.
|
|
28
|
+
*/
|
|
29
|
+
export declare function isNotFound(e: unknown): e is NotFound;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Value returned if the key-value pair couldn't be found in the context
|
|
33
|
+
* hierarchy.
|
|
34
|
+
*/
|
|
35
|
+
export declare const NOT_FOUND: unique symbol;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Type union of NotFound and NotFoundError.
|
|
39
|
+
*/
|
|
40
|
+
export declare type NotFound = typeof NOT_FOUND | NotFoundError;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Error thrown when the key-value pair couldn't be found in the context
|
|
44
|
+
* hierarchy. Context can be attached below.
|
|
45
|
+
*/
|
|
46
|
+
export declare class NotFoundError extends Error {
|
|
47
|
+
constructor(message: string);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export declare function setCurrentInjector(injector: Injector | null | undefined): Injector | undefined | null;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @description
|
|
54
|
+
*
|
|
55
|
+
* Represents a type that a Component or other object is instances of.
|
|
56
|
+
*
|
|
57
|
+
* An example of a `Type` is `MyCustomComponent` class, which in JavaScript is represented by
|
|
58
|
+
* the `MyCustomComponent` constructor function.
|
|
59
|
+
*
|
|
60
|
+
* @publicApi
|
|
61
|
+
*/
|
|
62
|
+
declare const Type: FunctionConstructor;
|
|
63
|
+
|
|
64
|
+
declare interface Type<T> extends Function {
|
|
65
|
+
new (...args: any[]): T;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Information about how a type or `InjectionToken` interfaces with the DI system.
|
|
70
|
+
*
|
|
71
|
+
* At a minimum, this includes a `factory` which defines how to create the given type `T`, possibly
|
|
72
|
+
* requesting injection of other types if necessary.
|
|
73
|
+
*
|
|
74
|
+
* Optionally, a `providedIn` parameter specifies that the given type belongs to a particular
|
|
75
|
+
* `Injector`, `NgModule`, or a special scope (e.g. `'root'`). A value of `null` indicates
|
|
76
|
+
* that the injectable does not belong to any scope.
|
|
77
|
+
*/
|
|
78
|
+
export declare interface ɵɵInjectableDeclaration<T> {
|
|
79
|
+
/**
|
|
80
|
+
* Specifies that the given type belongs to a particular injector:
|
|
81
|
+
*/
|
|
82
|
+
providedIn: Type<any> | 'root' | 'platform' | 'any' | null;
|
|
83
|
+
/**
|
|
84
|
+
* The token to which this definition belongs.
|
|
85
|
+
*
|
|
86
|
+
* Note that this may not be the same as the type that the `factory` will create.
|
|
87
|
+
*/
|
|
88
|
+
token: unknown;
|
|
89
|
+
/**
|
|
90
|
+
* Factory method to execute to create an instance of the injectable.
|
|
91
|
+
*/
|
|
92
|
+
factory: (t?: Type<any>) => T;
|
|
93
|
+
/**
|
|
94
|
+
* In a case of no explicit injector, a location where the instance of the injectable is stored.
|
|
95
|
+
*/
|
|
96
|
+
value: T | undefined;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export { }
|
package/rxjs-interop/index.d.ts
CHANGED
package/schematics/bundles/{apply_import_manager-a4e62ded.js → apply_import_manager-b8d6885d.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
4
|
-
* (c) 2010-
|
|
3
|
+
* @license Angular v19.2.1
|
|
4
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
9
|
var ts = require('typescript');
|
|
10
10
|
require('os');
|
|
11
|
-
var checker = require('./checker-
|
|
12
|
-
var project_paths = require('./project_paths-
|
|
11
|
+
var checker = require('./checker-89987c98.js');
|
|
12
|
+
var project_paths = require('./project_paths-c48796dd.js');
|
|
13
13
|
|
|
14
14
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
15
15
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
4
|
-
* (c) 2010-
|
|
3
|
+
* @license Angular v19.2.1
|
|
4
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
@@ -30722,7 +30722,7 @@ function publishFacade(global) {
|
|
|
30722
30722
|
* @description
|
|
30723
30723
|
* Entry point for all public APIs of the compiler package.
|
|
30724
30724
|
*/
|
|
30725
|
-
new Version('19.2.
|
|
30725
|
+
new Version('19.2.1');
|
|
30726
30726
|
|
|
30727
30727
|
const _I18N_ATTR = 'i18n';
|
|
30728
30728
|
const _I18N_ATTR_PREFIX = 'i18n-';
|
|
@@ -32130,7 +32130,7 @@ class NodeJSPathManipulation {
|
|
|
32130
32130
|
// G3-ESM-MARKER: G3 uses CommonJS, but externally everything in ESM.
|
|
32131
32131
|
// CommonJS/ESM interop for determining the current file name and containing dir.
|
|
32132
32132
|
const isCommonJS = typeof __filename !== 'undefined';
|
|
32133
|
-
const currentFileUrl = isCommonJS ? null : (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT' && document.currentScript.src || new URL('checker-
|
|
32133
|
+
const currentFileUrl = isCommonJS ? null : (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT' && document.currentScript.src || new URL('checker-89987c98.js', document.baseURI).href));
|
|
32134
32134
|
const currentFileName = isCommonJS ? __filename : url.fileURLToPath(currentFileUrl);
|
|
32135
32135
|
/**
|
|
32136
32136
|
* A wrapper around the Node.js file-system that supports readonly operations and path manipulation.
|
|
@@ -38287,20 +38287,16 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
38287
38287
|
/* setParentNodes */ false, ts__default["default"].ScriptKind.JSX);
|
|
38288
38288
|
}
|
|
38289
38289
|
|
|
38290
|
-
const
|
|
38291
|
-
const NEXT_TEMPLATE_ID = Symbol('ngNextTemplateId');
|
|
38290
|
+
const TEMPLATE_ID_MAP = Symbol('ngTemplateId');
|
|
38292
38291
|
function getTemplateId$1(clazz) {
|
|
38293
|
-
const
|
|
38294
|
-
if (
|
|
38295
|
-
|
|
38292
|
+
const sf = clazz.getSourceFile();
|
|
38293
|
+
if (sf[TEMPLATE_ID_MAP] === undefined) {
|
|
38294
|
+
sf[TEMPLATE_ID_MAP] = new Map();
|
|
38296
38295
|
}
|
|
38297
|
-
|
|
38298
|
-
}
|
|
38299
|
-
function allocateTemplateId(sf) {
|
|
38300
|
-
if (sf[NEXT_TEMPLATE_ID] === undefined) {
|
|
38301
|
-
sf[NEXT_TEMPLATE_ID] = 1;
|
|
38296
|
+
if (sf[TEMPLATE_ID_MAP].get(clazz) === undefined) {
|
|
38297
|
+
sf[TEMPLATE_ID_MAP].set(clazz, `tcb${sf[TEMPLATE_ID_MAP].size + 1}`);
|
|
38302
38298
|
}
|
|
38303
|
-
return
|
|
38299
|
+
return sf[TEMPLATE_ID_MAP].get(clazz);
|
|
38304
38300
|
}
|
|
38305
38301
|
|
|
38306
38302
|
const parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
4
|
-
* (c) 2010-
|
|
3
|
+
* @license Angular v19.2.1
|
|
4
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
10
10
|
|
|
11
11
|
var schematics = require('@angular-devkit/schematics');
|
|
12
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
13
|
-
var project_paths = require('./project_paths-
|
|
12
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-b558633b.js');
|
|
13
|
+
var project_paths = require('./project_paths-c48796dd.js');
|
|
14
14
|
require('os');
|
|
15
15
|
var ts = require('typescript');
|
|
16
|
-
var checker = require('./checker-
|
|
17
|
-
var program = require('./program-
|
|
16
|
+
var checker = require('./checker-89987c98.js');
|
|
17
|
+
var program = require('./program-0e1d4f10.js');
|
|
18
18
|
require('path');
|
|
19
|
-
require('./index-
|
|
20
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
19
|
+
require('./index-10911843.js');
|
|
20
|
+
var apply_import_manager = require('./apply_import_manager-b8d6885d.js');
|
|
21
21
|
require('@angular-devkit/core');
|
|
22
22
|
require('node:path/posix');
|
|
23
23
|
require('fs');
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
4
|
-
* (c) 2010-
|
|
3
|
+
* @license Angular v19.2.1
|
|
4
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
9
|
var ts = require('typescript');
|
|
10
|
-
var checker = require('./checker-
|
|
10
|
+
var checker = require('./checker-89987c98.js');
|
|
11
11
|
require('os');
|
|
12
12
|
var p = require('path');
|
|
13
13
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
4
|
-
* (c) 2010-
|
|
3
|
+
* @license Angular v19.2.1
|
|
4
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
@@ -10,8 +10,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
10
10
|
|
|
11
11
|
var schematics = require('@angular-devkit/schematics');
|
|
12
12
|
var p = require('path');
|
|
13
|
-
var compiler_host = require('./compiler_host-
|
|
14
|
-
var checker = require('./checker-
|
|
13
|
+
var compiler_host = require('./compiler_host-2398e4ca.js');
|
|
14
|
+
var checker = require('./checker-89987c98.js');
|
|
15
15
|
var ts = require('typescript');
|
|
16
16
|
require('os');
|
|
17
17
|
require('fs');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
4
|
-
* (c) 2010-
|
|
3
|
+
* @license Angular v19.2.1
|
|
4
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
@@ -10,12 +10,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
10
10
|
|
|
11
11
|
var schematics = require('@angular-devkit/schematics');
|
|
12
12
|
var p = require('path');
|
|
13
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
14
|
-
var compiler_host = require('./compiler_host-
|
|
13
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-b558633b.js');
|
|
14
|
+
var compiler_host = require('./compiler_host-2398e4ca.js');
|
|
15
15
|
var ts = require('typescript');
|
|
16
|
-
var imports = require('./imports-
|
|
16
|
+
var imports = require('./imports-047fbbc8.js');
|
|
17
17
|
require('@angular-devkit/core');
|
|
18
|
-
require('./checker-
|
|
18
|
+
require('./checker-89987c98.js');
|
|
19
19
|
require('os');
|
|
20
20
|
require('fs');
|
|
21
21
|
require('module');
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
4
|
-
* (c) 2010-
|
|
3
|
+
* @license Angular v19.2.1
|
|
4
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
9
|
require('os');
|
|
10
10
|
require('typescript');
|
|
11
|
-
var checker = require('./checker-
|
|
12
|
-
require('./program-
|
|
11
|
+
var checker = require('./checker-89987c98.js');
|
|
12
|
+
require('./program-0e1d4f10.js');
|
|
13
13
|
require('path');
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -17,7 +17,7 @@ require('path');
|
|
|
17
17
|
* @description
|
|
18
18
|
* Entry point for all public APIs of the compiler-cli package.
|
|
19
19
|
*/
|
|
20
|
-
new checker.Version('19.2.
|
|
20
|
+
new checker.Version('19.2.1');
|
|
21
21
|
|
|
22
22
|
var LogLevel;
|
|
23
23
|
(function (LogLevel) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
4
|
-
* (c) 2010-
|
|
3
|
+
* @license Angular v19.2.1
|
|
4
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
9
|
var ts = require('typescript');
|
|
10
10
|
require('os');
|
|
11
|
-
var checker = require('./checker-
|
|
12
|
-
var program = require('./program-
|
|
11
|
+
var checker = require('./checker-89987c98.js');
|
|
12
|
+
var program = require('./program-0e1d4f10.js');
|
|
13
13
|
require('path');
|
|
14
|
-
var project_paths = require('./project_paths-
|
|
14
|
+
var project_paths = require('./project_paths-c48796dd.js');
|
|
15
15
|
|
|
16
16
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
17
17
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
4
|
-
* (c) 2010-
|
|
3
|
+
* @license Angular v19.2.1
|
|
4
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
@@ -10,13 +10,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
10
10
|
|
|
11
11
|
var schematics = require('@angular-devkit/schematics');
|
|
12
12
|
var p = require('path');
|
|
13
|
-
var compiler_host = require('./compiler_host-
|
|
13
|
+
var compiler_host = require('./compiler_host-2398e4ca.js');
|
|
14
14
|
var ts = require('typescript');
|
|
15
|
-
var ng_decorators = require('./ng_decorators-
|
|
16
|
-
var imports = require('./imports-
|
|
17
|
-
var nodes = require('./nodes-
|
|
18
|
-
var leading_space = require('./leading_space-
|
|
19
|
-
require('./checker-
|
|
15
|
+
var ng_decorators = require('./ng_decorators-b0d8b324.js');
|
|
16
|
+
var imports = require('./imports-047fbbc8.js');
|
|
17
|
+
var nodes = require('./nodes-7758dbf6.js');
|
|
18
|
+
var leading_space = require('./leading_space-f8944434.js');
|
|
19
|
+
require('./checker-89987c98.js');
|
|
20
20
|
require('os');
|
|
21
21
|
require('fs');
|
|
22
22
|
require('module');
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
4
|
-
* (c) 2010-
|
|
3
|
+
* @license Angular v19.2.1
|
|
4
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
|
-
var checker = require('./checker-
|
|
9
|
+
var checker = require('./checker-89987c98.js');
|
|
10
10
|
var ts = require('typescript');
|
|
11
11
|
require('os');
|
|
12
12
|
var assert = require('assert');
|
|
13
|
-
var index = require('./index-
|
|
14
|
-
var project_paths = require('./project_paths-
|
|
15
|
-
var leading_space = require('./leading_space-
|
|
16
|
-
require('./program-
|
|
13
|
+
var index = require('./index-e0b2e4a7.js');
|
|
14
|
+
var project_paths = require('./project_paths-c48796dd.js');
|
|
15
|
+
var leading_space = require('./leading_space-f8944434.js');
|
|
16
|
+
require('./program-0e1d4f10.js');
|
|
17
17
|
require('path');
|
|
18
18
|
|
|
19
19
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|