@angular/core 20.1.0-next.2 → 20.1.0-next.3
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-Dwpmmn5j.d.ts → api.d.d.ts} +2 -2
- package/{chrome_dev_tools_performance.d-Dk_7kdX9.d.ts → chrome_dev_tools_performance.d.d.ts} +4 -4
- package/{discovery.d-AiW64LSq.d.ts → discovery.d.d.ts} +10 -5
- package/{event_dispatcher.d-BReQpZfC.d.ts → event_dispatcher.d.d.ts} +1 -1
- package/fesm2022/{attribute-BWp59EjE.mjs → attribute.mjs} +2 -2
- package/fesm2022/attribute.mjs.map +1 -0
- package/fesm2022/core.mjs +13 -13
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/{debug_node-BFi6TVHr.mjs → debug_node.mjs} +239 -16
- package/fesm2022/debug_node.mjs.map +1 -0
- package/fesm2022/injector.mjs +53 -0
- package/fesm2022/injector.mjs.map +1 -0
- package/fesm2022/primitives/di.mjs +6 -37
- package/fesm2022/primitives/di.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +2 -2
- package/fesm2022/primitives/event-dispatch.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +5 -5
- package/fesm2022/primitives/signals.mjs.map +1 -1
- package/fesm2022/{resource-BwChsGJq.mjs → resource.mjs} +12 -8
- package/fesm2022/resource.mjs.map +1 -0
- package/fesm2022/{root_effect_scheduler-BkoRKl64.mjs → root_effect_scheduler.mjs} +13 -6
- package/fesm2022/root_effect_scheduler.mjs.map +1 -0
- package/fesm2022/rxjs-interop.mjs +6 -6
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/{signal-nCiHhWf6.mjs → signal.mjs} +2 -2
- package/fesm2022/signal.mjs.map +1 -0
- package/fesm2022/testing.mjs +143 -54
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/{untracked-DmD_2MlC.mjs → untracked.mjs} +3 -3
- package/fesm2022/untracked.mjs.map +1 -0
- package/fesm2022/{weak_ref-BaIq-pgY.mjs → weak_ref.mjs} +2 -2
- package/fesm2022/weak_ref.mjs.map +1 -0
- package/{graph.d-BcIOep_B.d.ts → graph.d.d.ts} +1 -1
- package/index.d.ts +101 -12
- package/package.json +2 -2
- package/primitives/di/index.d.ts +4 -2
- package/primitives/event-dispatch/index.d.ts +3 -3
- package/primitives/signals/index.d.ts +6 -6
- package/rxjs-interop/index.d.ts +5 -5
- package/schematics/bundles/{apply_import_manager-BsIRDO9W.cjs → apply_import_manager-C11Q8021.cjs} +3 -3
- package/schematics/bundles/{checker-CY7a8ko8.cjs → checker-BVnpy__J.cjs} +547 -308
- package/schematics/bundles/cleanup-unused-imports.cjs +5 -5
- package/schematics/bundles/{compiler_host-DNYQkH4l.cjs → compiler_host-j95cyBKm.cjs} +2 -2
- package/schematics/bundles/control-flow-migration.cjs +3 -3
- package/schematics/bundles/document-core.cjs +5 -5
- package/schematics/bundles/imports-CIX-JgAN.cjs +1 -1
- package/schematics/bundles/{index-BUgQDm-J.cjs → index-BkA2Tb_u.cjs} +32 -17
- package/schematics/bundles/{index-BJ3PYYwQ.cjs → index-DYpSE68_.cjs} +4 -4
- package/schematics/bundles/inject-flags.cjs +5 -5
- package/schematics/bundles/inject-migration.cjs +3 -3
- package/schematics/bundles/leading_space-D9nQ8UQC.cjs +1 -1
- package/schematics/bundles/{migrate_ts_type_references-MBd4NBjn.cjs → migrate_ts_type_references-Covsxz7y.cjs} +27 -5
- package/schematics/bundles/ng_decorators-B5HCqr20.cjs +1 -1
- package/schematics/bundles/nodes-B16H9JUd.cjs +1 -1
- package/schematics/bundles/output-migration.cjs +6 -6
- package/schematics/bundles/{project_paths-C5Df24y1.cjs → project_paths-3GwjSb-R.cjs} +3 -3
- package/schematics/bundles/project_tsconfig_paths-CDVxT6Ov.cjs +1 -1
- package/schematics/bundles/property_name-BBwFuqMe.cjs +1 -1
- package/schematics/bundles/route-lazy-loading.cjs +3 -3
- package/schematics/bundles/self-closing-tags-migration.cjs +4 -4
- package/schematics/bundles/signal-input-migration.cjs +7 -7
- package/schematics/bundles/signal-queries-migration.cjs +7 -7
- package/schematics/bundles/signals.cjs +7 -7
- package/schematics/bundles/standalone-migration.cjs +4 -4
- package/schematics/bundles/symbol-VPWguRxr.cjs +1 -1
- package/schematics/bundles/test-bed-get.cjs +4 -4
- package/{signal.d-BcmOdASA.d.ts → signal.d.d.ts} +2 -2
- package/testing/index.d.ts +73 -6
- package/{weak_ref.d-eGOEP9S1.d.ts → weak_ref.d.d.ts} +1 -1
- package/fesm2022/attribute-BWp59EjE.mjs.map +0 -1
- package/fesm2022/debug_node-BFi6TVHr.mjs.map +0 -1
- package/fesm2022/resource-BwChsGJq.mjs.map +0 -1
- package/fesm2022/root_effect_scheduler-BkoRKl64.mjs.map +0 -1
- package/fesm2022/signal-nCiHhWf6.mjs.map +0 -1
- package/fesm2022/untracked-DmD_2MlC.mjs.map +0 -1
- package/fesm2022/weak_ref-BaIq-pgY.mjs.map +0 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.1.0-next.
|
|
3
|
+
* @license Angular v20.1.0-next.3
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
9
|
var schematics = require('@angular-devkit/schematics');
|
|
10
|
-
var index = require('./index-
|
|
10
|
+
var index = require('./index-BkA2Tb_u.cjs');
|
|
11
11
|
var fs = require('fs');
|
|
12
12
|
var p = require('path');
|
|
13
13
|
var ts = require('typescript');
|
|
14
|
-
var compiler_host = require('./compiler_host-
|
|
14
|
+
var compiler_host = require('./compiler_host-j95cyBKm.cjs');
|
|
15
15
|
var project_tsconfig_paths = require('./project_tsconfig_paths-CDVxT6Ov.cjs');
|
|
16
16
|
var ng_decorators = require('./ng_decorators-B5HCqr20.cjs');
|
|
17
17
|
var nodes = require('./nodes-B16H9JUd.cjs');
|
|
18
18
|
var symbol = require('./symbol-VPWguRxr.cjs');
|
|
19
19
|
var imports = require('./imports-CIX-JgAN.cjs');
|
|
20
|
-
var checker = require('./checker-
|
|
20
|
+
var checker = require('./checker-BVnpy__J.cjs');
|
|
21
21
|
require('os');
|
|
22
22
|
require('@angular-devkit/core');
|
|
23
23
|
require('module');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v20.1.0-next.
|
|
3
|
+
* @license Angular v20.1.0-next.3
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
|
|
9
9
|
var ts = require('typescript');
|
|
10
10
|
require('os');
|
|
11
|
-
require('./checker-
|
|
12
|
-
require('./index-
|
|
11
|
+
require('./checker-BVnpy__J.cjs');
|
|
12
|
+
require('./index-BkA2Tb_u.cjs');
|
|
13
13
|
require('path');
|
|
14
|
-
var project_paths = require('./project_paths-
|
|
14
|
+
var project_paths = require('./project_paths-3GwjSb-R.cjs');
|
|
15
15
|
var imports = require('./imports-CIX-JgAN.cjs');
|
|
16
16
|
var symbol = require('./symbol-VPWguRxr.cjs');
|
|
17
17
|
require('@angular-devkit/core');
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.1.0-next.
|
|
2
|
+
* @license Angular v20.1.0-next.3
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { ReactiveNode, ValueEqualityFn, SIGNAL, ReactiveHookFn } from './graph.d
|
|
7
|
+
import { ReactiveNode, ValueEqualityFn, SIGNAL, ReactiveHookFn } from './graph.d.js';
|
|
8
8
|
|
|
9
9
|
interface SignalNode<T> extends ReactiveNode {
|
|
10
10
|
value: T;
|
package/testing/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.1.0-next.
|
|
2
|
+
* @license Angular v20.1.0-next.3
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import '../event_dispatcher.d
|
|
8
|
-
import { InjectionToken, Type, ProviderToken, InjectOptions } from '../chrome_dev_tools_performance.d
|
|
9
|
-
import { DeferBlockDetails, DeferBlockState, ComponentRef, DebugElement, ElementRef, ChangeDetectorRef, NgZone, SchemaMetadata, DeferBlockBehavior, Binding, PlatformRef, NgModule, Component, Directive, Pipe, Navigation, NavigationNavigateOptions, NavigationOptions, NavigateEvent, NavigationCurrentEntryChangeEvent, NavigationTransition, NavigationUpdateCurrentEntryOptions, NavigationReloadOptions, NavigationResult, NavigationHistoryEntry } from '../discovery.d
|
|
7
|
+
import '../event_dispatcher.d.js';
|
|
8
|
+
import { InjectionToken, Type, ProviderToken, InjectOptions } from '../chrome_dev_tools_performance.d.js';
|
|
9
|
+
import { DeferBlockDetails, DeferBlockState, ComponentRef, DebugElement, ElementRef, ChangeDetectorRef, NgZone, SchemaMetadata, DeferBlockBehavior, Binding, PlatformRef, NgModule, Component, Directive, Pipe, Navigation, NavigationNavigateOptions, NavigationOptions, NavigateEvent, NavigationCurrentEntryChangeEvent, NavigationTransition, NavigationUpdateCurrentEntryOptions, NavigationReloadOptions, NavigationResult, NavigationHistoryEntry, NavigationDestination, NavigationInterceptOptions } from '../discovery.d.js';
|
|
10
10
|
import * as i0 from '@angular/core';
|
|
11
|
-
import '../graph.d
|
|
11
|
+
import '../graph.d.js';
|
|
12
12
|
import 'rxjs';
|
|
13
|
-
import '../signal.d
|
|
13
|
+
import '../signal.d.js';
|
|
14
14
|
import '@angular/core/primitives/di';
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -637,6 +637,7 @@ declare class FakeNavigation implements Navigation {
|
|
|
637
637
|
dispose(): void;
|
|
638
638
|
/** Returns whether this fake is disposed. */
|
|
639
639
|
isDisposed(): boolean;
|
|
640
|
+
abortOngoingNavigation(eventToAbort: InternalFakeNavigateEvent, reason?: Error): void;
|
|
640
641
|
/**
|
|
641
642
|
* Implementation for all navigations and traversals.
|
|
642
643
|
* @returns true if the event was intercepted, otherwise false
|
|
@@ -696,6 +697,72 @@ declare class FakeNavigationHistoryEntry implements NavigationHistoryEntry {
|
|
|
696
697
|
/** internal */
|
|
697
698
|
dispose(): void;
|
|
698
699
|
}
|
|
700
|
+
/** `NavigationInterceptOptions` with experimental commit option. */
|
|
701
|
+
interface ExperimentalNavigationInterceptOptions extends NavigationInterceptOptions {
|
|
702
|
+
precommitHandler?: (controller: NavigationPrecommitController) => Promise<void>;
|
|
703
|
+
}
|
|
704
|
+
interface NavigationPrecommitController {
|
|
705
|
+
redirect: (url: string, options?: NavigationNavigateOptions) => void;
|
|
706
|
+
}
|
|
707
|
+
interface ExperimentalNavigateEvent extends NavigateEvent {
|
|
708
|
+
intercept(options?: ExperimentalNavigationInterceptOptions): void;
|
|
709
|
+
precommitHandler?: () => Promise<void>;
|
|
710
|
+
}
|
|
711
|
+
/**
|
|
712
|
+
* Fake equivalent of `NavigateEvent`.
|
|
713
|
+
*/
|
|
714
|
+
interface FakeNavigateEvent extends ExperimentalNavigateEvent {
|
|
715
|
+
readonly destination: FakeNavigationDestination;
|
|
716
|
+
}
|
|
717
|
+
interface InternalFakeNavigateEvent extends FakeNavigateEvent {
|
|
718
|
+
readonly sameDocument: boolean;
|
|
719
|
+
readonly result: InternalNavigationResult;
|
|
720
|
+
interceptionState: 'none' | 'intercepted' | 'committed' | 'scrolled' | 'finished';
|
|
721
|
+
scrollBehavior: 'after-transition' | 'manual' | null;
|
|
722
|
+
focusResetBehavior: 'after-transition' | 'manual' | null;
|
|
723
|
+
abortController: AbortController;
|
|
724
|
+
cancel(reason: Error): void;
|
|
725
|
+
}
|
|
726
|
+
/**
|
|
727
|
+
* Fake equivalent of `NavigationDestination`.
|
|
728
|
+
*/
|
|
729
|
+
declare class FakeNavigationDestination implements NavigationDestination {
|
|
730
|
+
url: string;
|
|
731
|
+
readonly sameDocument: boolean;
|
|
732
|
+
readonly key: string | null;
|
|
733
|
+
readonly id: string | null;
|
|
734
|
+
readonly index: number;
|
|
735
|
+
state?: unknown;
|
|
736
|
+
private readonly historyState;
|
|
737
|
+
constructor({ url, sameDocument, historyState, state, key, id, index, }: {
|
|
738
|
+
url: string;
|
|
739
|
+
sameDocument: boolean;
|
|
740
|
+
historyState: unknown;
|
|
741
|
+
state?: unknown;
|
|
742
|
+
key?: string | null;
|
|
743
|
+
id?: string | null;
|
|
744
|
+
index?: number;
|
|
745
|
+
});
|
|
746
|
+
getState(): unknown;
|
|
747
|
+
getHistoryState(): unknown;
|
|
748
|
+
}
|
|
749
|
+
/**
|
|
750
|
+
* Internal utility class for representing the result of a navigation.
|
|
751
|
+
* Generally equivalent to the "apiMethodTracker" in the spec.
|
|
752
|
+
*/
|
|
753
|
+
declare class InternalNavigationResult {
|
|
754
|
+
readonly navigation: FakeNavigation;
|
|
755
|
+
committedTo: FakeNavigationHistoryEntry | null;
|
|
756
|
+
committedResolve: (entry: FakeNavigationHistoryEntry) => void;
|
|
757
|
+
committedReject: (reason: Error) => void;
|
|
758
|
+
finishedResolve: () => void;
|
|
759
|
+
finishedReject: (reason: Error) => void;
|
|
760
|
+
readonly committed: Promise<FakeNavigationHistoryEntry>;
|
|
761
|
+
readonly finished: Promise<FakeNavigationHistoryEntry>;
|
|
762
|
+
get signal(): AbortSignal;
|
|
763
|
+
private readonly abortController;
|
|
764
|
+
constructor(navigation: FakeNavigation);
|
|
765
|
+
}
|
|
699
766
|
|
|
700
767
|
declare function getCleanupHook(expectedTeardownValue: boolean): VoidFunction;
|
|
701
768
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"attribute-BWp59EjE.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/packages/core/primitives/event-dispatch/src/attribute.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 const Attribute = {\n /**\n * The jsaction attribute defines a mapping of a DOM event to a\n * generic event (aka jsaction), to which the actual event handlers\n * that implement the behavior of the application are bound. The\n * value is a semicolon separated list of colon separated pairs of\n * an optional DOM event name and a jsaction name. If the optional\n * DOM event name is omitted, 'click' is assumed. The jsaction names\n * are dot separated pairs of a namespace and a simple jsaction\n * name.\n *\n * See grammar in README.md for expected syntax in the attribute value.\n */\n JSACTION: 'jsaction' as const,\n};\n"],"names":[],"mappings":";;;;;;AAQa,MAAA,SAAS,GAAG;AACvB;;;;;;;;;;;AAWG;AACH,IAAA,QAAQ,EAAE,UAAmB;;;;;"}
|