@angular/core 20.3.12 → 20.3.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/api.d.d.ts +8 -1
- package/chrome_dev_tools_performance.d.d.ts +11 -1
- package/discovery.d.d.ts +33 -2
- package/effect.d.d.ts +1 -1
- package/event_dispatcher.d.d.ts +1 -1
- package/fesm2022/attribute.mjs +1 -1
- package/fesm2022/attribute.mjs.map +1 -1
- package/fesm2022/core.mjs +29 -1
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/debug_node.mjs +12 -2
- package/fesm2022/debug_node.mjs.map +1 -1
- package/fesm2022/effect.mjs +1 -1
- package/fesm2022/effect.mjs.map +1 -1
- package/fesm2022/not_found.mjs +1 -1
- package/fesm2022/not_found.mjs.map +1 -1
- package/fesm2022/primitives/di.mjs +1 -1
- package/fesm2022/primitives/di.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -1
- package/fesm2022/primitives/event-dispatch.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/primitives/signals.mjs.map +1 -1
- package/fesm2022/resource.mjs +7 -1
- package/fesm2022/resource.mjs.map +1 -1
- package/fesm2022/root_effect_scheduler.mjs +22 -3
- package/fesm2022/root_effect_scheduler.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +11 -1
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/signal.mjs +1 -1
- package/fesm2022/signal.mjs.map +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/weak_ref.mjs +1 -1
- package/fesm2022/weak_ref.mjs.map +1 -1
- package/formatter.d.d.ts +1 -1
- package/index.d.ts +54 -3
- package/package.json +2 -2
- 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 +11 -1
- package/schematics/bundles/add-bootstrap-context-to-server-main.cjs +1 -1
- package/schematics/bundles/apply_import_manager-D4J7SXHI.cjs +1 -1
- package/schematics/bundles/cleanup-unused-imports.cjs +1 -1
- package/schematics/bundles/compiler_host-C306_97v.cjs +1 -1
- package/schematics/bundles/control-flow-migration.cjs +1 -1
- package/schematics/bundles/document-core.cjs +1 -1
- package/schematics/bundles/imports-CIX-JgAN.cjs +1 -1
- package/schematics/bundles/index-AeYmwRJL.cjs +11 -11
- package/schematics/bundles/index-u3tqvIQa.cjs +1 -1
- package/schematics/bundles/inject-flags.cjs +1 -1
- package/schematics/bundles/inject-migration.cjs +1 -1
- package/schematics/bundles/leading_space-D9nQ8UQC.cjs +1 -1
- package/schematics/bundles/migrate_ts_type_references-D0f8FXVW.cjs +1 -1
- package/schematics/bundles/ng_decorators-B5HCqr20.cjs +1 -1
- package/schematics/bundles/nodes-B16H9JUd.cjs +1 -1
- package/schematics/bundles/output-migration.cjs +1 -1
- package/schematics/bundles/project_paths-CMd3bdgw.cjs +1 -1
- package/schematics/bundles/project_tsconfig_paths-CopGppNj.cjs +2 -2
- package/schematics/bundles/property_name-BBwFuqMe.cjs +1 -1
- package/schematics/bundles/route-lazy-loading.cjs +1 -1
- package/schematics/bundles/router-current-navigation.cjs +1 -1
- package/schematics/bundles/self-closing-tags-migration.cjs +1 -1
- package/schematics/bundles/signal-input-migration.cjs +1 -1
- package/schematics/bundles/signal-queries-migration.cjs +1 -1
- package/schematics/bundles/signals.cjs +1 -1
- package/schematics/bundles/standalone-migration.cjs +1 -1
- package/schematics/bundles/symbol-VPWguRxr.cjs +1 -1
- package/schematics/bundles/test-bed-get.cjs +1 -1
- package/testing/index.d.ts +1 -1
- package/weak_ref.d.d.ts +1 -1
package/fesm2022/weak_ref.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"weak_ref.mjs","sources":["../../../../../
|
|
1
|
+
{"version":3,"file":"weak_ref.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/packages/core/primitives/signals/src/weak_ref.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nexport function setAlternateWeakRefImpl(impl: unknown) {\n // TODO: remove this function\n}\n"],"names":[],"mappings":";;;;;;AAQM,SAAU,uBAAuB,CAAC,IAAa,EAAA;;AAErD;;;;"}
|
package/formatter.d.d.ts
CHANGED
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.3.
|
|
2
|
+
* @license Angular v20.3.13
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -20,6 +20,8 @@ import '@angular/core/primitives/di';
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* @publicAPI
|
|
23
|
+
* @see [Input aliases](guide/components/inputs#input-aliases)
|
|
24
|
+
* @see [Input transforms](guide/components/inputs#input-transforms)
|
|
23
25
|
*
|
|
24
26
|
* Options for signal inputs.
|
|
25
27
|
*/
|
|
@@ -108,6 +110,9 @@ interface InputSignal<T> extends InputSignalWithTransform<T, T> {
|
|
|
108
110
|
* The function exposes an API for also declaring required inputs via the
|
|
109
111
|
* `input.required` function.
|
|
110
112
|
*
|
|
113
|
+
* @see [Accepting data with input properties](guide/components/inputs)
|
|
114
|
+
* @see [Required inputs](guide/components/inputs#required-inputs)
|
|
115
|
+
* @see [Input transforms](guide/components/inputs#input-transforms)
|
|
111
116
|
* @publicAPI
|
|
112
117
|
* @docsPrivate Ignored because `input` is the canonical API entry.
|
|
113
118
|
*/
|
|
@@ -252,6 +257,10 @@ interface ModelSignal<T> extends WritableSignal<T>, InputSignal<T>, OutputRef<T>
|
|
|
252
257
|
* The function exposes an API for also declaring required models via the
|
|
253
258
|
* `model.required` function.
|
|
254
259
|
*
|
|
260
|
+
* @see [Two-way binding between components](guide/templates/two-way-binding#two-way-binding-between-components)
|
|
261
|
+
* @see [Model inputs](guide/components/inputs#model-inputs)
|
|
262
|
+
* @see [Customizing model inputs](guide/components/inputs#customizing-model-inputs)
|
|
263
|
+
*
|
|
255
264
|
* @publicAPI
|
|
256
265
|
* @docsPrivate Ignored because `model` is the canonical API entry.
|
|
257
266
|
*/
|
|
@@ -316,6 +325,9 @@ interface ModelFunction {
|
|
|
316
325
|
* this.firstName.set(newFirstName);
|
|
317
326
|
* }
|
|
318
327
|
* ```
|
|
328
|
+
* @see [Two-way binding between components](guide/templates/two-way-binding#two-way-binding-between-components)
|
|
329
|
+
* @see [Model inputs](guide/components/inputs#model-inputs)
|
|
330
|
+
* @see [Customizing model inputs](guide/components/inputs#customizing-model-inputs)
|
|
319
331
|
*
|
|
320
332
|
* @publicApi 19.0
|
|
321
333
|
* @initializerApiFunction
|
|
@@ -468,6 +480,8 @@ interface ViewChildFunction {
|
|
|
468
480
|
*
|
|
469
481
|
* @publicApi 19.0
|
|
470
482
|
* @initializerApiFunction
|
|
483
|
+
* @see [Referencing component children with queries](guide/components/queries)
|
|
484
|
+
* @see [Required queries](guide/components/queries#required-queries)
|
|
471
485
|
*/
|
|
472
486
|
declare const viewChild: ViewChildFunction;
|
|
473
487
|
declare function viewChildren<LocatorT>(locator: ProviderToken<LocatorT> | string, opts?: {
|
|
@@ -1624,6 +1638,8 @@ declare const Host: HostDecorator;
|
|
|
1624
1638
|
* from the given `Injector`. Note that `inject` is only usable synchronously, and cannot be used in
|
|
1625
1639
|
* any asynchronous callbacks or after any `await` points.
|
|
1626
1640
|
*
|
|
1641
|
+
* @see [Run within an injection context](guide/di/dependency-injection-context#run-within-an-injection-context)
|
|
1642
|
+
*
|
|
1627
1643
|
* @param injector the injector which will satisfy calls to [`inject`](api/core/inject) while `fn`
|
|
1628
1644
|
* is executing
|
|
1629
1645
|
* @param fn the closure to be run in the context of `injector`
|
|
@@ -1693,7 +1709,7 @@ interface ForwardRefFn {
|
|
|
1693
1709
|
* hideParent = input.required<boolean>();
|
|
1694
1710
|
* }
|
|
1695
1711
|
* ```
|
|
1696
|
-
*
|
|
1712
|
+
* @see [Resolve circular dependencies with a forward reference](guide/di/di-in-action#resolve-circular-dependencies-with-a-forward-reference)
|
|
1697
1713
|
* @publicApi
|
|
1698
1714
|
*/
|
|
1699
1715
|
declare function forwardRef(forwardRefFn: ForwardRefFn): Type$1<any>;
|
|
@@ -1729,7 +1745,8 @@ interface InjectableDecorator {
|
|
|
1729
1745
|
* provided and injected as a dependency.
|
|
1730
1746
|
*
|
|
1731
1747
|
* @see [Introduction to Services and DI](guide/di)
|
|
1732
|
-
* @see [
|
|
1748
|
+
* @see [Creating and using services](guide/di/creating-and-using-services)
|
|
1749
|
+
* @see [Defining dependency providers](guide/di/defining-dependency-providers)
|
|
1733
1750
|
*
|
|
1734
1751
|
* @usageNotes
|
|
1735
1752
|
*
|
|
@@ -1755,6 +1772,7 @@ interface InjectableDecorator {
|
|
|
1755
1772
|
/**
|
|
1756
1773
|
* Type of the Injectable metadata.
|
|
1757
1774
|
*
|
|
1775
|
+
*
|
|
1758
1776
|
* @publicApi
|
|
1759
1777
|
*/
|
|
1760
1778
|
interface Injectable {
|
|
@@ -1826,6 +1844,7 @@ declare const ENVIRONMENT_INITIALIZER: InjectionToken<readonly (() => void)[]>;
|
|
|
1826
1844
|
* attr: string | null = inject(new HostAttributeToken('some-attr'), {optional: true});
|
|
1827
1845
|
* }
|
|
1828
1846
|
* ```
|
|
1847
|
+
* @see [Injecting host element attributes](guide/components/host-elements#injecting-host-element-attributes)
|
|
1829
1848
|
* @publicApi
|
|
1830
1849
|
*/
|
|
1831
1850
|
declare class HostAttributeToken {
|
|
@@ -2170,6 +2189,7 @@ interface CreateComputedOptions<T> {
|
|
|
2170
2189
|
}
|
|
2171
2190
|
/**
|
|
2172
2191
|
* Create a computed `Signal` which derives a reactive value from an expression.
|
|
2192
|
+
* @see [Computed signals](guide/signals#computed-signals)
|
|
2173
2193
|
*/
|
|
2174
2194
|
declare function computed<T>(computation: () => T, options?: CreateComputedOptions<T>): Signal<T>;
|
|
2175
2195
|
|
|
@@ -2189,6 +2209,7 @@ declare function linkedSignal<D>(computation: () => D, options?: {
|
|
|
2189
2209
|
* Note: The computation is reactive, meaning the linked signal will automatically update whenever any of the signals used within the computation change.
|
|
2190
2210
|
*
|
|
2191
2211
|
* @publicApi 20.0
|
|
2212
|
+
* @see [Dependent state with linkedSignal](guide/signals/linked-signal)
|
|
2192
2213
|
*/
|
|
2193
2214
|
declare function linkedSignal<S, D>(options: {
|
|
2194
2215
|
source: () => S;
|
|
@@ -2203,6 +2224,7 @@ declare function linkedSignal<S, D>(options: {
|
|
|
2203
2224
|
/**
|
|
2204
2225
|
* Execute an arbitrary function in a non-reactive (non-tracking) context. The executed function
|
|
2205
2226
|
* can, optionally, return a value.
|
|
2227
|
+
* @see [Reading without tracking dependencies](guide/signals#reading-without-tracking-dependencies)
|
|
2206
2228
|
*/
|
|
2207
2229
|
declare function untracked<T>(nonReactiveReadsFn: () => T): T;
|
|
2208
2230
|
|
|
@@ -2306,6 +2328,8 @@ interface AfterRenderOptions {
|
|
|
2306
2328
|
* }
|
|
2307
2329
|
* ```
|
|
2308
2330
|
*
|
|
2331
|
+
* @see [afterEveryRender and afterNextRender](guide/components/lifecycle#aftereveryrender-and-afternextrender)
|
|
2332
|
+
*
|
|
2309
2333
|
* @publicApi 20.0
|
|
2310
2334
|
*/
|
|
2311
2335
|
declare function afterEveryRender<E = never, W = never, M = never>(spec: {
|
|
@@ -2445,6 +2469,7 @@ declare function afterEveryRender(callback: VoidFunction, options?: AfterRenderO
|
|
|
2445
2469
|
* ```
|
|
2446
2470
|
*
|
|
2447
2471
|
* @publicApi 20.0
|
|
2472
|
+
* @see [afterEveryRender and afterNextRender](guide/components/lifecycle#aftereveryrender-and-afternextrender)
|
|
2448
2473
|
*/
|
|
2449
2474
|
declare function afterNextRender<E = never, W = never, M = never>(spec: {
|
|
2450
2475
|
earlyRead?: () => E;
|
|
@@ -3942,6 +3967,7 @@ declare class ChangeDetectionSchedulerImpl implements ChangeDetectionScheduler {
|
|
|
3942
3967
|
* @publicApi 20.2
|
|
3943
3968
|
*
|
|
3944
3969
|
* @see {@link /api/platform-browser/bootstrapApplication bootstrapApplication}
|
|
3970
|
+
* @see [Angular without ZoneJS (Zoneless)](guide/zoneless)
|
|
3945
3971
|
*/
|
|
3946
3972
|
declare function provideZonelessChangeDetection(): EnvironmentProviders;
|
|
3947
3973
|
|
|
@@ -3985,6 +4011,9 @@ declare class PendingTasksInternal implements OnDestroy {
|
|
|
3985
4011
|
* taskCleanup();
|
|
3986
4012
|
* ```
|
|
3987
4013
|
*
|
|
4014
|
+
*
|
|
4015
|
+
* @see [PendingTasks for Server Side Rendering (SSR)](guide/zoneless#pendingtasks-for-server-side-rendering-ssr)
|
|
4016
|
+
*
|
|
3988
4017
|
* @publicApi 20.0
|
|
3989
4018
|
*/
|
|
3990
4019
|
declare class PendingTasks {
|
|
@@ -4735,6 +4764,8 @@ declare const INTERNAL_APPLICATION_ERROR_HANDLER: InjectionToken<(e: any) => voi
|
|
|
4735
4764
|
*
|
|
4736
4765
|
* The listeners added are for the window's 'unhandledrejection' and 'error' events.
|
|
4737
4766
|
*
|
|
4767
|
+
* @see [Global error listeners](best-practices/error-handling#global-error-listeners)
|
|
4768
|
+
*
|
|
4738
4769
|
* @publicApi
|
|
4739
4770
|
*/
|
|
4740
4771
|
declare function provideBrowserGlobalErrorListeners(): EnvironmentProviders;
|
|
@@ -5101,18 +5132,23 @@ declare function withDomHydration(): EnvironmentProviders;
|
|
|
5101
5132
|
/**
|
|
5102
5133
|
* Returns a set of providers required to setup support for i18n hydration.
|
|
5103
5134
|
* Requires hydration to be enabled separately.
|
|
5135
|
+
* @see [I18N](guide/hydration#i18n)
|
|
5104
5136
|
*/
|
|
5105
5137
|
declare function withI18nSupport(): Provider[];
|
|
5106
5138
|
/**
|
|
5107
5139
|
* Returns a set of providers required to setup support for incremental hydration.
|
|
5108
5140
|
* Requires hydration to be enabled separately.
|
|
5109
5141
|
* Enabling incremental hydration also enables event replay for the entire app.
|
|
5142
|
+
* @see [Incremental Hydration](guide/incremental-hydration#how-do-you-enable-incremental-hydration-in-angular)
|
|
5110
5143
|
*/
|
|
5111
5144
|
declare function withIncrementalHydration(): Provider[];
|
|
5112
5145
|
|
|
5113
5146
|
/**
|
|
5114
5147
|
* Returns a set of providers required to setup support for event replay.
|
|
5115
5148
|
* Requires hydration to be enabled separately.
|
|
5149
|
+
*
|
|
5150
|
+
* @see [Capturing and replaying event](guide/hydration#capturing-and-replaying-events)
|
|
5151
|
+
*
|
|
5116
5152
|
*/
|
|
5117
5153
|
declare function withEventReplay(): Provider[];
|
|
5118
5154
|
|
|
@@ -5520,6 +5556,8 @@ declare function _sanitizeUrl(url: string): string;
|
|
|
5520
5556
|
* ```
|
|
5521
5557
|
* @param value Value to be transformed.
|
|
5522
5558
|
*
|
|
5559
|
+
* @see [Built-in transformations](guide/components/inputs#built-in-transformations)
|
|
5560
|
+
*
|
|
5523
5561
|
* @publicApi
|
|
5524
5562
|
*/
|
|
5525
5563
|
declare function booleanAttribute(value: unknown): boolean;
|
|
@@ -5535,6 +5573,7 @@ declare function booleanAttribute(value: unknown): boolean;
|
|
|
5535
5573
|
* ```
|
|
5536
5574
|
*
|
|
5537
5575
|
* @publicApi
|
|
5576
|
+
* @see [Built-in transformations](guide/components/inputs#built-in-transformations)
|
|
5538
5577
|
*/
|
|
5539
5578
|
declare function numberAttribute(value: unknown, fallbackValue?: number): number;
|
|
5540
5579
|
|
|
@@ -5597,6 +5636,8 @@ declare function disableProfiling(): void;
|
|
|
5597
5636
|
* `resource` will cancel in-progress loads via the `AbortSignal` when destroyed or when a new
|
|
5598
5637
|
* request object becomes available, which could prematurely abort mutations.
|
|
5599
5638
|
*
|
|
5639
|
+
* @see [Async reactivity with resources](guide/signals/resource)
|
|
5640
|
+
*
|
|
5600
5641
|
* @experimental 19.0
|
|
5601
5642
|
*/
|
|
5602
5643
|
declare function resource<T, R>(options: ResourceOptions<T, R> & {
|
|
@@ -5611,6 +5652,7 @@ declare function resource<T, R>(options: ResourceOptions<T, R> & {
|
|
|
5611
5652
|
* request object becomes available, which could prematurely abort mutations.
|
|
5612
5653
|
*
|
|
5613
5654
|
* @experimental 19.0
|
|
5655
|
+
* @see [Async reactivity with resources](guide/signals/resource)
|
|
5614
5656
|
*/
|
|
5615
5657
|
declare function resource<T, R>(options: ResourceOptions<T, R>): ResourceRef<T | undefined>;
|
|
5616
5658
|
type WrappedRequest = {
|
|
@@ -9213,6 +9255,9 @@ declare const depsTracker: DepsTracker;
|
|
|
9213
9255
|
* * `bindings` (optional): Bindings to apply to the root component.
|
|
9214
9256
|
* @returns ComponentRef instance that represents a given Component.
|
|
9215
9257
|
*
|
|
9258
|
+
* @see [Host view using `ViewContainerRef.createComponent`](guide/components/programmatic-rendering#host-view-using-viewcontainerrefcreatecomponent)
|
|
9259
|
+
* @see [Popup attached to `document.body` with `createComponent` + `hostElement`](guide/components/programmatic-rendering#popup-attached-to-documentbody-with-createcomponent--hostelement)
|
|
9260
|
+
*
|
|
9216
9261
|
* @publicApi
|
|
9217
9262
|
*/
|
|
9218
9263
|
declare function createComponent<C>(component: Type$1<C>, options: {
|
|
@@ -9342,6 +9387,8 @@ declare function mergeApplicationConfig(...configs: ApplicationConfig[]): Applic
|
|
|
9342
9387
|
*
|
|
9343
9388
|
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Request `Request` on MDN}
|
|
9344
9389
|
*
|
|
9390
|
+
* @see [Accessing Request and Response via DI](guide/ssr#accessing-request-and-response-via-di)
|
|
9391
|
+
*
|
|
9345
9392
|
* @publicApi
|
|
9346
9393
|
*/
|
|
9347
9394
|
declare const REQUEST: InjectionToken<Request | null>;
|
|
@@ -9362,6 +9409,7 @@ declare const REQUEST: InjectionToken<Request | null>;
|
|
|
9362
9409
|
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Response/Response `ResponseInit` on MDN}
|
|
9363
9410
|
*
|
|
9364
9411
|
* @publicApi
|
|
9412
|
+
* @see [Accessing Request and Response via DI](guide/ssr#accessing-request-and-response-via-di)
|
|
9365
9413
|
*/
|
|
9366
9414
|
declare const RESPONSE_INIT: InjectionToken<ResponseInit | null>;
|
|
9367
9415
|
/**
|
|
@@ -9373,6 +9421,7 @@ declare const RESPONSE_INIT: InjectionToken<ResponseInit | null>;
|
|
|
9373
9421
|
* This token is only available during server-side rendering and will be `null` in other contexts.
|
|
9374
9422
|
*
|
|
9375
9423
|
* @publicApi
|
|
9424
|
+
* @see [Accessing Request and Response via DI](guide/ssr#accessing-request-and-response-via-di)
|
|
9376
9425
|
*/
|
|
9377
9426
|
declare const REQUEST_CONTEXT: InjectionToken<unknown>;
|
|
9378
9427
|
|
|
@@ -9381,6 +9430,8 @@ declare const REQUEST_CONTEXT: InjectionToken<unknown>;
|
|
|
9381
9430
|
* In a browser and SSR this is the DOM Document.
|
|
9382
9431
|
* When using SSR, that document is created by [Domino](https://github.com/angular/domino).
|
|
9383
9432
|
*
|
|
9433
|
+
* @see [Accessing Document via DI](guide/ssr#accessing-document-via-di)
|
|
9434
|
+
*
|
|
9384
9435
|
* @publicApi
|
|
9385
9436
|
*/
|
|
9386
9437
|
declare const DOCUMENT: InjectionToken<Document>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/core",
|
|
3
|
-
"version": "20.3.
|
|
3
|
+
"version": "20.3.13",
|
|
4
4
|
"description": "Angular - the core framework",
|
|
5
5
|
"author": "angular",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"tslib": "^2.3.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@angular/compiler": "20.3.
|
|
49
|
+
"@angular/compiler": "20.3.13",
|
|
50
50
|
"rxjs": "^6.5.3 || ^7.4.0",
|
|
51
51
|
"zone.js": "~0.15.0"
|
|
52
52
|
},
|
package/primitives/di/index.d.ts
CHANGED
package/rxjs-interop/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.3.
|
|
2
|
+
* @license Angular v20.3.13
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -31,6 +31,7 @@ import { Observable, MonoTypeOperatorFunction, Subscribable } from 'rxjs';
|
|
|
31
31
|
* nameChange = outputFromObservable(this.nameChange$);
|
|
32
32
|
* }
|
|
33
33
|
* ```
|
|
34
|
+
* @see [RxJS interop with component and directive outputs](ecosystem/rxjs-interop/output-interop)
|
|
34
35
|
*
|
|
35
36
|
* @publicApi 19.0
|
|
36
37
|
*/
|
|
@@ -43,6 +44,8 @@ declare function outputFromObservable<T>(observable: Observable<T>, opts?: Outpu
|
|
|
43
44
|
*
|
|
44
45
|
* You can subscribe to the output via `Observable.subscribe` then.
|
|
45
46
|
*
|
|
47
|
+
* @see [RxJS interop with component and directive outputs](ecosystem/rxjs-interop/output-interop)
|
|
48
|
+
*
|
|
46
49
|
* @publicApi 19.0
|
|
47
50
|
*/
|
|
48
51
|
declare function outputToObservable<T>(ref: OutputRef<T>): Observable<T>;
|
|
@@ -55,6 +58,8 @@ declare function outputToObservable<T>(ref: OutputRef<T>): Observable<T>;
|
|
|
55
58
|
* passed explicitly to use `takeUntilDestroyed` outside of an [injection
|
|
56
59
|
* context](guide/di/dependency-injection-context). Otherwise, the current `DestroyRef` is injected.
|
|
57
60
|
*
|
|
61
|
+
* @see [Unsubscribing with takeUntilDestroyed](ecosystem/rxjs-interop/take-until-destroyed)
|
|
62
|
+
*
|
|
58
63
|
* @publicApi 19.0
|
|
59
64
|
*/
|
|
60
65
|
declare function takeUntilDestroyed<T>(destroyRef?: DestroyRef): MonoTypeOperatorFunction<T>;
|
|
@@ -81,6 +86,9 @@ interface ToObservableOptions {
|
|
|
81
86
|
*
|
|
82
87
|
* `toObservable` must be called in an injection context unless an injector is provided via options.
|
|
83
88
|
*
|
|
89
|
+
* @see [RxJS interop with Angular signals](ecosystem/rxjs-interop)
|
|
90
|
+
* @see [Create an RxJS Observable from a signal with toObservable](ecosystem/rxjs-interop#create-an-rxjs-observable-from-a-signal-with-toobservable)
|
|
91
|
+
*
|
|
84
92
|
* @publicApi 20.0
|
|
85
93
|
*/
|
|
86
94
|
declare function toObservable<T>(source: Signal<T>, options?: ToObservableOptions): Observable<T>;
|
|
@@ -169,6 +177,8 @@ interface RxResourceOptions<T, R> extends BaseResourceOptions<T, R> {
|
|
|
169
177
|
* Like `resource` but uses an RxJS based `loader` which maps the request to an `Observable` of the
|
|
170
178
|
* resource's value.
|
|
171
179
|
*
|
|
180
|
+
* @see [Using rxResource for async data](ecosystem/rxjs-interop#using-rxresource-for-async-data)
|
|
181
|
+
*
|
|
172
182
|
* @experimental
|
|
173
183
|
*/
|
|
174
184
|
declare function rxResource<T, R>(opts: RxResourceOptions<T, R> & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.3.
|
|
3
|
+
* @license Angular v20.3.13
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -891,7 +891,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
891
891
|
function compileDeclareClassMetadata(metadata) {
|
|
892
892
|
const definitionMap = new project_tsconfig_paths.DefinitionMap();
|
|
893
893
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
894
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.3.
|
|
894
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.3.13'));
|
|
895
895
|
definitionMap.set('ngImport', project_tsconfig_paths.importExpr(project_tsconfig_paths.Identifiers.core));
|
|
896
896
|
definitionMap.set('type', metadata.type);
|
|
897
897
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -909,7 +909,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
909
909
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? project_tsconfig_paths.literal(null));
|
|
910
910
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? project_tsconfig_paths.literal(null));
|
|
911
911
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
912
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.3.
|
|
912
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.3.13'));
|
|
913
913
|
definitionMap.set('ngImport', project_tsconfig_paths.importExpr(project_tsconfig_paths.Identifiers.core));
|
|
914
914
|
definitionMap.set('type', metadata.type);
|
|
915
915
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -1004,7 +1004,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
1004
1004
|
const definitionMap = new project_tsconfig_paths.DefinitionMap();
|
|
1005
1005
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
1006
1006
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(minVersion));
|
|
1007
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.3.
|
|
1007
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.3.13'));
|
|
1008
1008
|
// e.g. `type: MyDirective`
|
|
1009
1009
|
definitionMap.set('type', meta.type.value);
|
|
1010
1010
|
if (meta.isStandalone !== undefined) {
|
|
@@ -1420,7 +1420,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
1420
1420
|
function compileDeclareFactoryFunction(meta) {
|
|
1421
1421
|
const definitionMap = new project_tsconfig_paths.DefinitionMap();
|
|
1422
1422
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
1423
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.3.
|
|
1423
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.3.13'));
|
|
1424
1424
|
definitionMap.set('ngImport', project_tsconfig_paths.importExpr(project_tsconfig_paths.Identifiers.core));
|
|
1425
1425
|
definitionMap.set('type', meta.type.value);
|
|
1426
1426
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -1455,7 +1455,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
1455
1455
|
function createInjectableDefinitionMap(meta) {
|
|
1456
1456
|
const definitionMap = new project_tsconfig_paths.DefinitionMap();
|
|
1457
1457
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
1458
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.3.
|
|
1458
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.3.13'));
|
|
1459
1459
|
definitionMap.set('ngImport', project_tsconfig_paths.importExpr(project_tsconfig_paths.Identifiers.core));
|
|
1460
1460
|
definitionMap.set('type', meta.type.value);
|
|
1461
1461
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -1506,7 +1506,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
1506
1506
|
function createInjectorDefinitionMap(meta) {
|
|
1507
1507
|
const definitionMap = new project_tsconfig_paths.DefinitionMap();
|
|
1508
1508
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
1509
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.3.
|
|
1509
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.3.13'));
|
|
1510
1510
|
definitionMap.set('ngImport', project_tsconfig_paths.importExpr(project_tsconfig_paths.Identifiers.core));
|
|
1511
1511
|
definitionMap.set('type', meta.type.value);
|
|
1512
1512
|
definitionMap.set('providers', meta.providers);
|
|
@@ -1539,7 +1539,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
1539
1539
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
1540
1540
|
}
|
|
1541
1541
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
1542
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.3.
|
|
1542
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.3.13'));
|
|
1543
1543
|
definitionMap.set('ngImport', project_tsconfig_paths.importExpr(project_tsconfig_paths.Identifiers.core));
|
|
1544
1544
|
definitionMap.set('type', meta.type.value);
|
|
1545
1545
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -1590,7 +1590,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
1590
1590
|
function createPipeDefinitionMap(meta) {
|
|
1591
1591
|
const definitionMap = new project_tsconfig_paths.DefinitionMap();
|
|
1592
1592
|
definitionMap.set('minVersion', project_tsconfig_paths.literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
1593
|
-
definitionMap.set('version', project_tsconfig_paths.literal('20.3.
|
|
1593
|
+
definitionMap.set('version', project_tsconfig_paths.literal('20.3.13'));
|
|
1594
1594
|
definitionMap.set('ngImport', project_tsconfig_paths.importExpr(project_tsconfig_paths.Identifiers.core));
|
|
1595
1595
|
// e.g. `type: MyPipe`
|
|
1596
1596
|
definitionMap.set('type', meta.type.value);
|
|
@@ -12362,7 +12362,7 @@ class PipeDecoratorHandler {
|
|
|
12362
12362
|
* @description
|
|
12363
12363
|
* Entry point for all public APIs of the compiler-cli package.
|
|
12364
12364
|
*/
|
|
12365
|
-
new project_tsconfig_paths.Version('20.3.
|
|
12365
|
+
new project_tsconfig_paths.Version('20.3.13');
|
|
12366
12366
|
|
|
12367
12367
|
/**
|
|
12368
12368
|
* Whether a given decorator should be treated as an Angular decorator.
|
|
@@ -20550,7 +20550,7 @@ var semver = /*@__PURE__*/getDefaultExportFromCjs(semverExports);
|
|
|
20550
20550
|
* @param minVersion Minimum required version for the feature.
|
|
20551
20551
|
*/
|
|
20552
20552
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
20553
|
-
// A version of `20.3.
|
|
20553
|
+
// A version of `20.3.13` usually means that core is at head so it supports
|
|
20554
20554
|
// all features. Use string interpolation prevent the placeholder from being replaced
|
|
20555
20555
|
// with the current version during build time.
|
|
20556
20556
|
if (coreVersion === `0.0.0-${'PLACEHOLDER'}`) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.3.
|
|
3
|
+
* @license Angular v20.3.13
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -32792,7 +32792,7 @@ function isAttrNode(ast) {
|
|
|
32792
32792
|
* @description
|
|
32793
32793
|
* Entry point for all public APIs of the compiler package.
|
|
32794
32794
|
*/
|
|
32795
|
-
const VERSION = new Version('20.3.
|
|
32795
|
+
const VERSION = new Version('20.3.13');
|
|
32796
32796
|
|
|
32797
32797
|
//////////////////////////////////////
|
|
32798
32798
|
// THIS FILE HAS GLOBAL SIDE EFFECT //
|