@angular/core 20.0.6 → 20.1.0-next.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/{api.d.d.ts → api.d-Dwpmmn5j.d.ts} +2 -2
- package/{chrome_dev_tools_performance.d.d.ts → chrome_dev_tools_performance.d-Dk_7kdX9.d.ts} +7 -3
- package/{discovery.d.d.ts → discovery.d-AiW64LSq.d.ts} +5 -6
- package/{event_dispatcher.d.d.ts → event_dispatcher.d-BReQpZfC.d.ts} +1 -1
- package/fesm2022/{attribute.mjs → attribute-BWp59EjE.mjs} +2 -2
- package/fesm2022/attribute-BWp59EjE.mjs.map +1 -0
- package/fesm2022/core.mjs +22 -28
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/{debug_node.mjs → debug_node-CGQXW8qF.mjs} +1479 -1466
- package/fesm2022/debug_node-CGQXW8qF.mjs.map +1 -0
- package/fesm2022/primitives/di.mjs +1 -1
- 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.mjs → resource-CIODajJI.mjs} +8 -12
- package/fesm2022/resource-CIODajJI.mjs.map +1 -0
- package/fesm2022/{root_effect_scheduler.mjs → root_effect_scheduler-BvK6bnZD.mjs} +20 -27
- package/fesm2022/root_effect_scheduler-BvK6bnZD.mjs.map +1 -0
- package/fesm2022/rxjs-interop.mjs +5 -5
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/{signal.mjs → signal-nCiHhWf6.mjs} +2 -2
- package/fesm2022/signal-nCiHhWf6.mjs.map +1 -0
- package/fesm2022/testing.mjs +72 -171
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/{untracked.mjs → untracked-DmD_2MlC.mjs} +3 -3
- package/fesm2022/untracked-DmD_2MlC.mjs.map +1 -0
- package/fesm2022/{weak_ref.mjs → weak_ref-BaIq-pgY.mjs} +2 -2
- package/fesm2022/weak_ref-BaIq-pgY.mjs.map +1 -0
- package/{graph.d.d.ts → graph.d-BcIOep_B.d.ts} +1 -1
- package/index.d.ts +23 -16
- package/package.json +2 -2
- package/primitives/di/index.d.ts +1 -1
- 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-mlmcgZ0v.cjs → apply_import_manager-BsIRDO9W.cjs} +3 -3
- package/schematics/bundles/{checker-a0VNmSrQ.cjs → checker-CY7a8ko8.cjs} +771 -642
- package/schematics/bundles/cleanup-unused-imports.cjs +21 -35
- package/schematics/bundles/{compiler_host-CwrMDc6k.cjs → compiler_host-DNYQkH4l.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-DAP9ZmeX.cjs → index-BJ3PYYwQ.cjs} +17 -16
- package/schematics/bundles/{index-jMQgXbRg.cjs → index-BUgQDm-J.cjs} +1018 -589
- package/schematics/bundles/inject-flags.cjs +5 -5
- package/schematics/bundles/inject-migration.cjs +4 -9
- package/schematics/bundles/leading_space-D9nQ8UQC.cjs +1 -1
- package/schematics/bundles/{migrate_ts_type_references-CX0snBqz.cjs → migrate_ts_type_references-MBd4NBjn.cjs} +26 -77
- 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-C4WM31v5.cjs → project_paths-C5Df24y1.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 +7 -19
- package/schematics/bundles/signal-input-migration.cjs +28 -12
- 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.d.ts → signal.d-BcmOdASA.d.ts} +2 -2
- package/testing/index.d.ts +6 -73
- package/{weak_ref.d.d.ts → weak_ref.d-eGOEP9S1.d.ts} +1 -1
- package/fesm2022/attribute.mjs.map +0 -1
- package/fesm2022/debug_node.mjs.map +0 -1
- package/fesm2022/resource.mjs.map +0 -1
- package/fesm2022/root_effect_scheduler.mjs.map +0 -1
- package/fesm2022/signal.mjs.map +0 -1
- package/fesm2022/untracked.mjs.map +0 -1
- package/fesm2022/weak_ref.mjs.map +0 -1
package/testing/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.0.
|
|
2
|
+
* @license Angular v20.1.0-next.1
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
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, PlatformRef, NgModule, Component, Directive, Pipe, Navigation, NavigationNavigateOptions, NavigationOptions, NavigateEvent, NavigationCurrentEntryChangeEvent, NavigationTransition, NavigationUpdateCurrentEntryOptions, NavigationReloadOptions, NavigationResult, NavigationHistoryEntry
|
|
7
|
+
import '../event_dispatcher.d-BReQpZfC.js';
|
|
8
|
+
import { InjectionToken, Type, ProviderToken, InjectOptions } from '../chrome_dev_tools_performance.d-Dk_7kdX9.js';
|
|
9
|
+
import { DeferBlockDetails, DeferBlockState, ComponentRef, DebugElement, ElementRef, ChangeDetectorRef, NgZone, SchemaMetadata, DeferBlockBehavior, PlatformRef, NgModule, Component, Directive, Pipe, Navigation, NavigationNavigateOptions, NavigationOptions, NavigateEvent, NavigationCurrentEntryChangeEvent, NavigationTransition, NavigationUpdateCurrentEntryOptions, NavigationReloadOptions, NavigationResult, NavigationHistoryEntry } from '../discovery.d-AiW64LSq.js';
|
|
10
10
|
import * as i0 from '@angular/core';
|
|
11
|
-
import '../graph.d.js';
|
|
11
|
+
import '../graph.d-BcIOep_B.js';
|
|
12
12
|
import 'rxjs';
|
|
13
|
-
import '../signal.d.js';
|
|
13
|
+
import '../signal.d-BcmOdASA.js';
|
|
14
14
|
import '@angular/core/primitives/di';
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -628,7 +628,6 @@ declare class FakeNavigation implements Navigation {
|
|
|
628
628
|
dispose(): void;
|
|
629
629
|
/** Returns whether this fake is disposed. */
|
|
630
630
|
isDisposed(): boolean;
|
|
631
|
-
abortOngoingNavigation(eventToAbort: InternalFakeNavigateEvent, reason?: Error): void;
|
|
632
631
|
/**
|
|
633
632
|
* Implementation for all navigations and traversals.
|
|
634
633
|
* @returns true if the event was intercepted, otherwise false
|
|
@@ -688,72 +687,6 @@ declare class FakeNavigationHistoryEntry implements NavigationHistoryEntry {
|
|
|
688
687
|
/** internal */
|
|
689
688
|
dispose(): void;
|
|
690
689
|
}
|
|
691
|
-
/** `NavigationInterceptOptions` with experimental commit option. */
|
|
692
|
-
interface ExperimentalNavigationInterceptOptions extends NavigationInterceptOptions {
|
|
693
|
-
precommitHandler?: (controller: NavigationPrecommitController) => Promise<void>;
|
|
694
|
-
}
|
|
695
|
-
interface NavigationPrecommitController {
|
|
696
|
-
redirect: (url: string, options?: NavigationNavigateOptions) => void;
|
|
697
|
-
}
|
|
698
|
-
interface ExperimentalNavigateEvent extends NavigateEvent {
|
|
699
|
-
intercept(options?: ExperimentalNavigationInterceptOptions): void;
|
|
700
|
-
precommitHandler?: () => Promise<void>;
|
|
701
|
-
}
|
|
702
|
-
/**
|
|
703
|
-
* Fake equivalent of `NavigateEvent`.
|
|
704
|
-
*/
|
|
705
|
-
interface FakeNavigateEvent extends ExperimentalNavigateEvent {
|
|
706
|
-
readonly destination: FakeNavigationDestination;
|
|
707
|
-
}
|
|
708
|
-
interface InternalFakeNavigateEvent extends FakeNavigateEvent {
|
|
709
|
-
readonly sameDocument: boolean;
|
|
710
|
-
readonly result: InternalNavigationResult;
|
|
711
|
-
interceptionState: 'none' | 'intercepted' | 'committed' | 'scrolled' | 'finished';
|
|
712
|
-
scrollBehavior: 'after-transition' | 'manual' | null;
|
|
713
|
-
focusResetBehavior: 'after-transition' | 'manual' | null;
|
|
714
|
-
abortController: AbortController;
|
|
715
|
-
cancel(reason: Error): void;
|
|
716
|
-
}
|
|
717
|
-
/**
|
|
718
|
-
* Fake equivalent of `NavigationDestination`.
|
|
719
|
-
*/
|
|
720
|
-
declare class FakeNavigationDestination implements NavigationDestination {
|
|
721
|
-
url: string;
|
|
722
|
-
readonly sameDocument: boolean;
|
|
723
|
-
readonly key: string | null;
|
|
724
|
-
readonly id: string | null;
|
|
725
|
-
readonly index: number;
|
|
726
|
-
state?: unknown;
|
|
727
|
-
private readonly historyState;
|
|
728
|
-
constructor({ url, sameDocument, historyState, state, key, id, index, }: {
|
|
729
|
-
url: string;
|
|
730
|
-
sameDocument: boolean;
|
|
731
|
-
historyState: unknown;
|
|
732
|
-
state?: unknown;
|
|
733
|
-
key?: string | null;
|
|
734
|
-
id?: string | null;
|
|
735
|
-
index?: number;
|
|
736
|
-
});
|
|
737
|
-
getState(): unknown;
|
|
738
|
-
getHistoryState(): unknown;
|
|
739
|
-
}
|
|
740
|
-
/**
|
|
741
|
-
* Internal utility class for representing the result of a navigation.
|
|
742
|
-
* Generally equivalent to the "apiMethodTracker" in the spec.
|
|
743
|
-
*/
|
|
744
|
-
declare class InternalNavigationResult {
|
|
745
|
-
readonly navigation: FakeNavigation;
|
|
746
|
-
committedTo: FakeNavigationHistoryEntry | null;
|
|
747
|
-
committedResolve: (entry: FakeNavigationHistoryEntry) => void;
|
|
748
|
-
committedReject: (reason: Error) => void;
|
|
749
|
-
finishedResolve: () => void;
|
|
750
|
-
finishedReject: (reason: Error) => void;
|
|
751
|
-
readonly committed: Promise<FakeNavigationHistoryEntry>;
|
|
752
|
-
readonly finished: Promise<FakeNavigationHistoryEntry>;
|
|
753
|
-
get signal(): AbortSignal;
|
|
754
|
-
private readonly abortController;
|
|
755
|
-
constructor(navigation: FakeNavigation);
|
|
756
|
-
}
|
|
757
690
|
|
|
758
691
|
declare function getCleanupHook(expectedTeardownValue: boolean): VoidFunction;
|
|
759
692
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"attribute.mjs","sources":["../../../../../k8-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;;;;;"}
|