@angular/core 19.2.0-rc.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 +510 -335
- 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 +858 -6
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +221 -48
- 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-a930fcf1.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-c280a924.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-abe29092.js → imports-047fbbc8.js} +2 -2
- package/schematics/bundles/{index-3891dd55.js → index-10911843.js} +5 -5
- package/schematics/bundles/{index-24a2ad1e.js → index-e0b2e4a7.js} +5 -5
- package/schematics/bundles/inject-migration.js +8 -8
- package/schematics/bundles/{leading_space-d190b83b.js → leading_space-f8944434.js} +2 -2
- package/schematics/bundles/{migrate_ts_type_references-71b3a951.js → migrate_ts_type_references-52508cd4.js} +7 -7
- package/schematics/bundles/{ng_decorators-e699c081.js → ng_decorators-b0d8b324.js} +3 -3
- package/schematics/bundles/{nodes-a535b2be.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-b073c4d6.js → project_paths-c48796dd.js} +4 -4
- package/schematics/bundles/{project_tsconfig_paths-e9ccccbf.js → project_tsconfig_paths-b558633b.js} +2 -2
- package/schematics/bundles/{property_name-7c8433f5.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 +309 -2
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`:
|
|
@@ -3931,6 +3926,27 @@ declare type DirectiveDefList = (ɵDirectiveDef<any> | ɵComponentDef<any>)[];
|
|
|
3931
3926
|
*/
|
|
3932
3927
|
declare type DirectiveDefListOrFactory = (() => DirectiveDefList) | DirectiveDefList;
|
|
3933
3928
|
|
|
3929
|
+
/**
|
|
3930
|
+
* Represents a map between a class reference and the index at which its directive is available on
|
|
3931
|
+
* a specific TNode. The value can be either:
|
|
3932
|
+
* 1. A number means that there's only one selector-matched directive on the node and it
|
|
3933
|
+
* doesn't have any host directives.
|
|
3934
|
+
* 2. An array means that there's a selector-matched directive and it has host directives.
|
|
3935
|
+
* The array is structured as follows:
|
|
3936
|
+
* - 0: Index of the selector-matched directive.
|
|
3937
|
+
* - 1: Start index of the range within which the host directives are defined.
|
|
3938
|
+
* - 2: End of the host directive range.
|
|
3939
|
+
*
|
|
3940
|
+
* Example:
|
|
3941
|
+
* ```
|
|
3942
|
+
* Map {
|
|
3943
|
+
* [NoHostDirectives]: 5,
|
|
3944
|
+
* [HasHostDirectives]: [10, 6, 8],
|
|
3945
|
+
* }
|
|
3946
|
+
* ```
|
|
3947
|
+
*/
|
|
3948
|
+
declare type DirectiveIndexMap = Map<Type<unknown>, number | [directiveIndex: number, hostDirectivesStart: number, hostDirectivesEnd: number]>;
|
|
3949
|
+
|
|
3934
3950
|
/**
|
|
3935
3951
|
* Map of inputs for a given directive/component.
|
|
3936
3952
|
*
|
|
@@ -4249,7 +4265,7 @@ export declare abstract class EmbeddedViewRef<C> extends ViewRef {
|
|
|
4249
4265
|
*
|
|
4250
4266
|
* Using this method is discouraged as the Angular CLI will set production mode when using the
|
|
4251
4267
|
* `optimization` option.
|
|
4252
|
-
* @see {@link cli/build ng build}
|
|
4268
|
+
* @see {@link /cli/build ng build}
|
|
4253
4269
|
*
|
|
4254
4270
|
* @publicApi
|
|
4255
4271
|
*/
|
|
@@ -5208,6 +5224,26 @@ declare interface HostDirectiveDef<T = unknown> {
|
|
|
5208
5224
|
*/
|
|
5209
5225
|
declare type HostDirectiveDefs = Map<ɵDirectiveDef<unknown>, HostDirectiveDef>;
|
|
5210
5226
|
|
|
5227
|
+
/**
|
|
5228
|
+
* Represents inputs coming from a host directive and exposed on a TNode.
|
|
5229
|
+
*
|
|
5230
|
+
* - The key is the public name of an input as it is exposed on the specific node.
|
|
5231
|
+
* - The value is an array where:
|
|
5232
|
+
* - i+0: Index of the host directive that should be written to.
|
|
5233
|
+
* - i+1: Public name of the input as it was defined on the host directive before aliasing.
|
|
5234
|
+
*/
|
|
5235
|
+
declare type HostDirectiveInputs = Record<string, (number | string)[]>;
|
|
5236
|
+
|
|
5237
|
+
/**
|
|
5238
|
+
* Represents outputs coming from a host directive and exposed on a TNode.
|
|
5239
|
+
*
|
|
5240
|
+
* - The key is the public name of an output as it is exposed on the specific node.
|
|
5241
|
+
* - The value is an array where:
|
|
5242
|
+
* - i+0: Index of the host directive on which the output is defined..
|
|
5243
|
+
* - i+1: Public name of the output as it was defined on the host directive before aliasing.
|
|
5244
|
+
*/
|
|
5245
|
+
declare type HostDirectiveOutputs = Record<string, (number | string)[]>;
|
|
5246
|
+
|
|
5211
5247
|
/**
|
|
5212
5248
|
* Type of the HostListener metadata.
|
|
5213
5249
|
*
|
|
@@ -6549,7 +6585,7 @@ declare interface InternalNgModuleRef<T> extends NgModuleRef<T> {
|
|
|
6549
6585
|
*
|
|
6550
6586
|
* By default, this is true, unless `enableProdMode` is invoked prior to calling this method or the
|
|
6551
6587
|
* application is built using the Angular CLI with the `optimization` option.
|
|
6552
|
-
* @see {@link cli/build ng build}
|
|
6588
|
+
* @see {@link /cli/build ng build}
|
|
6553
6589
|
*
|
|
6554
6590
|
* @publicApi
|
|
6555
6591
|
*/
|
|
@@ -6642,7 +6678,7 @@ export declare interface IterableChanges<V> {
|
|
|
6642
6678
|
}
|
|
6643
6679
|
|
|
6644
6680
|
/**
|
|
6645
|
-
* 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
|
|
6646
6682
|
* respond to changes in an iterable by effecting equivalent changes in the DOM.
|
|
6647
6683
|
*
|
|
6648
6684
|
* @publicApi
|
|
@@ -7615,6 +7651,35 @@ declare const MULTIPLIER = "x";
|
|
|
7615
7651
|
|
|
7616
7652
|
declare const NATIVE = 7;
|
|
7617
7653
|
|
|
7654
|
+
declare interface NavigateEventInit extends EventInit {
|
|
7655
|
+
navigationType?: ɵNavigationTypeString;
|
|
7656
|
+
canIntercept?: boolean;
|
|
7657
|
+
userInitiated?: boolean;
|
|
7658
|
+
hashChange?: boolean;
|
|
7659
|
+
destination: ɵNavigationDestination;
|
|
7660
|
+
signal: AbortSignal;
|
|
7661
|
+
formData?: FormData | null;
|
|
7662
|
+
downloadRequest?: string | null;
|
|
7663
|
+
info?: unknown;
|
|
7664
|
+
}
|
|
7665
|
+
|
|
7666
|
+
declare interface NavigationCurrentEntryChangeEventInit extends EventInit {
|
|
7667
|
+
navigationType?: ɵNavigationTypeString | null;
|
|
7668
|
+
from: ɵNavigationHistoryEntry;
|
|
7669
|
+
}
|
|
7670
|
+
|
|
7671
|
+
|
|
7672
|
+
declare interface NavigationEventMap {
|
|
7673
|
+
navigate: ɵNavigateEvent;
|
|
7674
|
+
navigatesuccess: Event;
|
|
7675
|
+
navigateerror: ErrorEvent;
|
|
7676
|
+
currententrychange: ɵNavigationCurrentEntryChangeEvent;
|
|
7677
|
+
}
|
|
7678
|
+
|
|
7679
|
+
declare interface NavigationHistoryEntryEventMap {
|
|
7680
|
+
dispose: Event;
|
|
7681
|
+
}
|
|
7682
|
+
|
|
7618
7683
|
declare const NEXT = 4;
|
|
7619
7684
|
|
|
7620
7685
|
declare interface NgGlobalPublishUtils {
|
|
@@ -8158,36 +8223,28 @@ export declare interface NgZoneOptions {
|
|
|
8158
8223
|
export declare const NO_ERRORS_SCHEMA: SchemaMetadata;
|
|
8159
8224
|
|
|
8160
8225
|
/**
|
|
8161
|
-
*
|
|
8162
|
-
*
|
|
8163
|
-
* This allows efficiently setting the same input on a directive that
|
|
8164
|
-
* might apply to multiple directives.
|
|
8226
|
+
* Maps the public names of inputs applied to a specific node to the index of the
|
|
8227
|
+
* directive instance to which the input value should be written, for example:
|
|
8165
8228
|
*
|
|
8166
|
-
* i+0: directive instance index
|
|
8167
|
-
* i+1: privateName
|
|
8168
|
-
*
|
|
8169
|
-
* e.g.
|
|
8170
8229
|
* ```
|
|
8171
8230
|
* {
|
|
8172
|
-
* "publicName": [0,
|
|
8231
|
+
* "publicName": [0, 5]
|
|
8173
8232
|
* }
|
|
8174
8233
|
* ```
|
|
8175
8234
|
*/
|
|
8176
|
-
declare type NodeInputBindings = Record<string,
|
|
8235
|
+
declare type NodeInputBindings = Record<string, number[]>;
|
|
8177
8236
|
|
|
8178
8237
|
/**
|
|
8179
|
-
*
|
|
8180
|
-
*
|
|
8181
|
-
* i+0: directive instance index
|
|
8182
|
-
* i+1: privateName
|
|
8238
|
+
* Maps the public names of outputs available on a specific node to the index
|
|
8239
|
+
* of the directive instance that defines the output, for example:
|
|
8183
8240
|
*
|
|
8184
|
-
* e.g.
|
|
8185
8241
|
* ```
|
|
8186
8242
|
* {
|
|
8187
|
-
* "publicName": [0,
|
|
8243
|
+
* "publicName": [0, 5]
|
|
8188
8244
|
* }
|
|
8245
|
+
* ```
|
|
8189
8246
|
*/
|
|
8190
|
-
declare type NodeOutputBindings = Record<string,
|
|
8247
|
+
declare type NodeOutputBindings = Record<string, number[]>;
|
|
8191
8248
|
|
|
8192
8249
|
declare const NODES = "n";
|
|
8193
8250
|
|
|
@@ -8962,7 +9019,7 @@ export declare function provideExperimentalCheckNoChangesForDebug(options: {
|
|
|
8962
9019
|
*
|
|
8963
9020
|
* @publicApi
|
|
8964
9021
|
* @experimental
|
|
8965
|
-
* @see
|
|
9022
|
+
* @see {@link /api/platform-browser/bootstrapApplication bootstrapApplication}
|
|
8966
9023
|
*/
|
|
8967
9024
|
export declare function provideExperimentalZonelessChangeDetection(): EnvironmentProviders;
|
|
8968
9025
|
|
|
@@ -9017,7 +9074,7 @@ export declare type ProviderToken<T> = Type<T> | AbstractType<T> | InjectionToke
|
|
|
9017
9074
|
* ```
|
|
9018
9075
|
*
|
|
9019
9076
|
* @publicApi
|
|
9020
|
-
* @see {@link bootstrapApplication}
|
|
9077
|
+
* @see {@link /api/core/bootstrapApplication bootstrapApplication}
|
|
9021
9078
|
* @see {@link NgZoneOptions}
|
|
9022
9079
|
*/
|
|
9023
9080
|
export declare function provideZoneChangeDetection(options?: NgZoneOptions): EnvironmentProviders;
|
|
@@ -9735,8 +9792,7 @@ export declare interface RendererType2 {
|
|
|
9735
9792
|
[kind: string]: any;
|
|
9736
9793
|
};
|
|
9737
9794
|
/**
|
|
9738
|
-
* A function
|
|
9739
|
-
* the list of external runtime style URLs.
|
|
9795
|
+
* A function used by the framework to create the list of external runtime style URLs.
|
|
9740
9796
|
*/
|
|
9741
9797
|
getExternalStyles?: ((encapsulationId?: string) => string[]) | null;
|
|
9742
9798
|
}
|
|
@@ -11087,17 +11143,29 @@ declare interface TNode {
|
|
|
11087
11143
|
*/
|
|
11088
11144
|
localNames: (string | number)[] | null;
|
|
11089
11145
|
/** Information about input properties that need to be set once from attribute data. */
|
|
11090
|
-
initialInputs: InitialInputData | null
|
|
11146
|
+
initialInputs: InitialInputData | null;
|
|
11091
11147
|
/**
|
|
11092
11148
|
* Input data for all directives on this node. `null` means that there are no directives with
|
|
11093
11149
|
* inputs on this node.
|
|
11094
11150
|
*/
|
|
11095
11151
|
inputs: NodeInputBindings | null;
|
|
11152
|
+
/**
|
|
11153
|
+
* Input data for host directives applied to the node.
|
|
11154
|
+
*/
|
|
11155
|
+
hostDirectiveInputs: HostDirectiveInputs | null;
|
|
11096
11156
|
/**
|
|
11097
11157
|
* Output data for all directives on this node. `null` means that there are no directives with
|
|
11098
11158
|
* outputs on this node.
|
|
11099
11159
|
*/
|
|
11100
11160
|
outputs: NodeOutputBindings | null;
|
|
11161
|
+
/**
|
|
11162
|
+
* Input data for host directives applied to the node.
|
|
11163
|
+
*/
|
|
11164
|
+
hostDirectiveOutputs: HostDirectiveOutputs | null;
|
|
11165
|
+
/**
|
|
11166
|
+
* Mapping between directive classes applied to the node and their indexes.
|
|
11167
|
+
*/
|
|
11168
|
+
directiveToIndex: DirectiveIndexMap | null;
|
|
11101
11169
|
/**
|
|
11102
11170
|
* The TView attached to this node.
|
|
11103
11171
|
*
|
|
@@ -12704,7 +12772,7 @@ declare interface ViewEffectNode extends EffectNode {
|
|
|
12704
12772
|
|
|
12705
12773
|
|
|
12706
12774
|
/**
|
|
12707
|
-
* 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
|
|
12708
12776
|
* `encapsulation` option.
|
|
12709
12777
|
*
|
|
12710
12778
|
* See {@link Component#encapsulation encapsulation}.
|
|
@@ -12753,7 +12821,7 @@ declare type ViewQueriesFunction<T> = <U extends T>(rf: ɵRenderFlags, ctx: U) =
|
|
|
12753
12821
|
/**
|
|
12754
12822
|
* Represents an Angular view.
|
|
12755
12823
|
*
|
|
12756
|
-
* @see
|
|
12824
|
+
* @see {@link /api/core/ChangeDetectorRef?tab=usage-notes Change detection usage}
|
|
12757
12825
|
*
|
|
12758
12826
|
* @publicApi
|
|
12759
12827
|
*/
|
|
@@ -13300,8 +13368,7 @@ export declare interface ɵComponentDef<T> extends ɵDirectiveDef<T> {
|
|
|
13300
13368
|
*/
|
|
13301
13369
|
getStandaloneInjector: ((parentInjector: EnvironmentInjector) => EnvironmentInjector | null) | null;
|
|
13302
13370
|
/**
|
|
13303
|
-
* A function
|
|
13304
|
-
* the list of external runtime style URLs.
|
|
13371
|
+
* A function used by the framework to create the list of external runtime style URLs.
|
|
13305
13372
|
*/
|
|
13306
13373
|
getExternalStyles: ((encapsulationId?: string) => string[]) | null;
|
|
13307
13374
|
/**
|
|
@@ -14028,6 +14095,11 @@ export declare function ɵisPromise<T = any>(obj: any): obj is Promise<T>;
|
|
|
14028
14095
|
*/
|
|
14029
14096
|
export declare function ɵisSubscribable<T>(obj: any | Subscribable<T>): obj is Subscribable<T>;
|
|
14030
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
|
+
|
|
14031
14103
|
export declare const ɵJSACTION_EVENT_CONTRACT: InjectionToken<EventContractDetails>;
|
|
14032
14104
|
|
|
14033
14105
|
/**
|
|
@@ -14113,6 +14185,8 @@ export declare enum ɵLocaleDataIndex {
|
|
|
14113
14185
|
ExtraData = 21
|
|
14114
14186
|
}
|
|
14115
14187
|
|
|
14188
|
+
export declare function ɵmarkForRefresh(view: ɵViewRef<unknown>): void;
|
|
14189
|
+
|
|
14116
14190
|
/**
|
|
14117
14191
|
* Create a global `Effect` for the given reactive function.
|
|
14118
14192
|
*/
|
|
@@ -14127,6 +14201,108 @@ export declare class ɵMicrotaskEffectScheduler extends ZoneAwareEffectScheduler
|
|
|
14127
14201
|
static ɵprov: unknown;
|
|
14128
14202
|
}
|
|
14129
14203
|
|
|
14204
|
+
export declare class ɵNavigateEvent extends Event {
|
|
14205
|
+
constructor(type: string, eventInit?: NavigateEventInit);
|
|
14206
|
+
readonly navigationType: ɵNavigationTypeString;
|
|
14207
|
+
readonly canIntercept: boolean;
|
|
14208
|
+
readonly userInitiated: boolean;
|
|
14209
|
+
readonly hashChange: boolean;
|
|
14210
|
+
readonly destination: ɵNavigationDestination;
|
|
14211
|
+
readonly signal: AbortSignal;
|
|
14212
|
+
readonly formData: FormData | null;
|
|
14213
|
+
readonly downloadRequest: string | null;
|
|
14214
|
+
readonly info?: unknown;
|
|
14215
|
+
intercept(options?: ɵNavigationInterceptOptions): void;
|
|
14216
|
+
scroll(): void;
|
|
14217
|
+
}
|
|
14218
|
+
|
|
14219
|
+
export declare class ɵNavigation extends EventTarget {
|
|
14220
|
+
entries(): ɵNavigationHistoryEntry[];
|
|
14221
|
+
readonly currentEntry: ɵNavigationHistoryEntry | null;
|
|
14222
|
+
updateCurrentEntry(options: ɵNavigationUpdateCurrentEntryOptions): void;
|
|
14223
|
+
readonly transition: ɵNavigationTransition | null;
|
|
14224
|
+
readonly canGoBack: boolean;
|
|
14225
|
+
readonly canGoForward: boolean;
|
|
14226
|
+
navigate(url: string, options?: ɵNavigationNavigateOptions): ɵNavigationResult;
|
|
14227
|
+
reload(options?: ɵNavigationReloadOptions): ɵNavigationResult;
|
|
14228
|
+
traverseTo(key: string, options?: ɵNavigationOptions): ɵNavigationResult;
|
|
14229
|
+
back(options?: ɵNavigationOptions): ɵNavigationResult;
|
|
14230
|
+
forward(options?: ɵNavigationOptions): ɵNavigationResult;
|
|
14231
|
+
onnavigate: ((this: ɵNavigation, ev: ɵNavigateEvent) => any) | null;
|
|
14232
|
+
onnavigatesuccess: ((this: ɵNavigation, ev: Event) => any) | null;
|
|
14233
|
+
onnavigateerror: ((this: ɵNavigation, ev: ErrorEvent) => any) | null;
|
|
14234
|
+
oncurrententrychange: ((this: ɵNavigation, ev: ɵNavigationCurrentEntryChangeEvent) => any) | null;
|
|
14235
|
+
addEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: ɵNavigation, ev: NavigationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
14236
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
14237
|
+
removeEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: ɵNavigation, ev: NavigationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
14238
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
14239
|
+
}
|
|
14240
|
+
|
|
14241
|
+
export declare class ɵNavigationCurrentEntryChangeEvent extends Event {
|
|
14242
|
+
constructor(type: string, eventInit?: NavigationCurrentEntryChangeEventInit);
|
|
14243
|
+
readonly navigationType: ɵNavigationTypeString | null;
|
|
14244
|
+
readonly from: ɵNavigationHistoryEntry;
|
|
14245
|
+
}
|
|
14246
|
+
|
|
14247
|
+
export declare class ɵNavigationDestination {
|
|
14248
|
+
readonly url: string;
|
|
14249
|
+
readonly key: string | null;
|
|
14250
|
+
readonly id: string | null;
|
|
14251
|
+
readonly index: number;
|
|
14252
|
+
readonly sameDocument: boolean;
|
|
14253
|
+
getState(): unknown;
|
|
14254
|
+
}
|
|
14255
|
+
|
|
14256
|
+
export declare class ɵNavigationHistoryEntry extends EventTarget {
|
|
14257
|
+
readonly key: string;
|
|
14258
|
+
readonly id: string;
|
|
14259
|
+
readonly url: string | null;
|
|
14260
|
+
readonly index: number;
|
|
14261
|
+
readonly sameDocument: boolean;
|
|
14262
|
+
getState(): unknown;
|
|
14263
|
+
ondispose: ((this: ɵNavigationHistoryEntry, ev: Event) => any) | null;
|
|
14264
|
+
addEventListener<K extends keyof NavigationHistoryEntryEventMap>(type: K, listener: (this: ɵNavigationHistoryEntry, ev: NavigationHistoryEntryEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
14265
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
14266
|
+
removeEventListener<K extends keyof NavigationHistoryEntryEventMap>(type: K, listener: (this: ɵNavigationHistoryEntry, ev: NavigationHistoryEntryEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
14267
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
14268
|
+
}
|
|
14269
|
+
|
|
14270
|
+
export declare interface ɵNavigationInterceptOptions {
|
|
14271
|
+
handler?: () => Promise<void>;
|
|
14272
|
+
focusReset?: 'after-transition' | 'manual';
|
|
14273
|
+
scroll?: 'after-transition' | 'manual';
|
|
14274
|
+
}
|
|
14275
|
+
|
|
14276
|
+
export declare interface ɵNavigationNavigateOptions extends ɵNavigationOptions {
|
|
14277
|
+
state?: unknown;
|
|
14278
|
+
history?: 'auto' | 'push' | 'replace';
|
|
14279
|
+
}
|
|
14280
|
+
|
|
14281
|
+
export declare interface ɵNavigationOptions {
|
|
14282
|
+
info?: unknown;
|
|
14283
|
+
}
|
|
14284
|
+
|
|
14285
|
+
export declare interface ɵNavigationReloadOptions extends ɵNavigationOptions {
|
|
14286
|
+
state?: unknown;
|
|
14287
|
+
}
|
|
14288
|
+
|
|
14289
|
+
export declare interface ɵNavigationResult {
|
|
14290
|
+
committed: Promise<ɵNavigationHistoryEntry>;
|
|
14291
|
+
finished: Promise<ɵNavigationHistoryEntry>;
|
|
14292
|
+
}
|
|
14293
|
+
|
|
14294
|
+
export declare class ɵNavigationTransition {
|
|
14295
|
+
readonly navigationType: ɵNavigationTypeString;
|
|
14296
|
+
readonly from: ɵNavigationHistoryEntry;
|
|
14297
|
+
readonly finished: Promise<void>;
|
|
14298
|
+
}
|
|
14299
|
+
|
|
14300
|
+
export declare type ɵNavigationTypeString = 'reload' | 'push' | 'replace' | 'traverse';
|
|
14301
|
+
|
|
14302
|
+
export declare interface ɵNavigationUpdateCurrentEntryOptions {
|
|
14303
|
+
state: unknown;
|
|
14304
|
+
}
|
|
14305
|
+
|
|
14130
14306
|
|
|
14131
14307
|
export declare const ɵNG_COMP_DEF: string;
|
|
14132
14308
|
|
|
@@ -14554,6 +14730,8 @@ export declare class ɵRender3ComponentFactory<T> extends ComponentFactory<T> {
|
|
|
14554
14730
|
componentType: Type<any>;
|
|
14555
14731
|
ngContentSelectors: string[];
|
|
14556
14732
|
isBoundToModule: boolean;
|
|
14733
|
+
private cachedInputs;
|
|
14734
|
+
private cachedOutputs;
|
|
14557
14735
|
get inputs(): {
|
|
14558
14736
|
propName: string;
|
|
14559
14737
|
templateName: string;
|
|
@@ -14924,7 +15102,7 @@ export declare function ɵsetClassMetadata(type: Type<any>, decorators: any[] |
|
|
|
14924
15102
|
*/
|
|
14925
15103
|
export declare function ɵsetClassMetadataAsync(type: Type<any>, dependencyLoaderFn: () => Array<Promise<Type<unknown>>>, metadataSetterFn: (...types: Type<unknown>[]) => void): () => Promise<Array<Type<unknown>>>;
|
|
14926
15104
|
|
|
14927
|
-
export declare function ɵsetCurrentInjector(injector: Injector | null | undefined): Injector
|
|
15105
|
+
export declare function ɵsetCurrentInjector(injector: Injector | null | undefined): Injector;
|
|
14928
15106
|
|
|
14929
15107
|
|
|
14930
15108
|
/**
|
|
@@ -15143,10 +15321,6 @@ export declare class ɵViewRef<T> implements EmbeddedViewRef<T>, ChangeDetectorR
|
|
|
15143
15321
|
*/
|
|
15144
15322
|
_cdRefInjectingView?: LView | undefined, notifyErrorHandler?: boolean);
|
|
15145
15323
|
get context(): T;
|
|
15146
|
-
/**
|
|
15147
|
-
* Reports whether the given view is considered dirty according to the different marking mechanisms.
|
|
15148
|
-
*/
|
|
15149
|
-
get dirty(): boolean;
|
|
15150
15324
|
/**
|
|
15151
15325
|
* @deprecated Replacing the full context object is not supported. Modify the context
|
|
15152
15326
|
* directly, or consider using a `Proxy` if you need to replace the full object.
|
|
@@ -15188,7 +15362,6 @@ export declare class ɵViewRef<T> implements EmbeddedViewRef<T>, ChangeDetectorR
|
|
|
15188
15362
|
* ```
|
|
15189
15363
|
*/
|
|
15190
15364
|
markForCheck(): void;
|
|
15191
|
-
markForRefresh(): void;
|
|
15192
15365
|
/**
|
|
15193
15366
|
* Detaches the view from the change detection tree.
|
|
15194
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-a930fcf1.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
|
|