@angular/core 19.0.0-rc.0 → 19.0.0-rc.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 +201 -349
- package/fesm2022/core.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/rxjs-interop.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +6 -6
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +16 -51
- package/package.json +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 +1 -1
- package/schematics/bundles/{checker-2451e7c5.js → checker-9ca42e51.js} +163 -150
- package/schematics/bundles/combine_units-a16385aa.js +1634 -0
- package/schematics/bundles/{compiler_host-f54f8309.js → compiler_host-31afa4ed.js} +8 -5
- package/schematics/bundles/control-flow-migration.js +3 -3
- package/schematics/bundles/explicit-standalone-flag.js +5 -5
- package/schematics/bundles/{imports-44987700.js → imports-4ac08251.js} +1 -1
- package/schematics/bundles/inject-migration.js +131 -37
- package/schematics/bundles/{leading_space-6e7a8ec6.js → leading_space-d190b83b.js} +1 -1
- package/schematics/bundles/{migrate_ts_type_references-ab18a7c3.js → migrate_ts_type_references-b2a28742.js} +5 -5
- package/schematics/bundles/{ng_decorators-3ad437d2.js → nodes-0e7d45ca.js} +15 -2
- package/schematics/bundles/output-migration.js +20 -6895
- package/schematics/bundles/pending-tasks.js +5 -5
- package/schematics/bundles/{program-58424797.js → program-71beec0b.js} +109 -42
- package/schematics/bundles/{project_tsconfig_paths-6c9cde78.js → project_tsconfig_paths-e9ccccbf.js} +1 -1
- package/schematics/bundles/provide-initializer.js +17 -28
- package/schematics/bundles/route-lazy-loading.js +10 -5
- package/schematics/bundles/signal-input-migration.js +7 -7
- package/schematics/bundles/signal-queries-migration.js +12 -12
- package/schematics/bundles/signals.js +7 -7
- package/schematics/bundles/standalone-migration.js +13 -14
- package/schematics/migrations.json +1 -1
- package/testing/index.d.ts +1 -1
- package/schematics/bundles/combine_units-c52492ab.js +0 -31202
- package/schematics/bundles/nodes-ffdce442.js +0 -27
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.0.0-rc.
|
|
2
|
+
* @license Angular v19.0.0-rc.1
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -3041,10 +3041,6 @@ declare const DEFER_BLOCK_ID = "di";
|
|
|
3041
3041
|
|
|
3042
3042
|
declare const DEFER_BLOCK_STATE = "s";
|
|
3043
3043
|
|
|
3044
|
-
declare const DEFER_HYDRATE_TRIGGERS = "t";
|
|
3045
|
-
|
|
3046
|
-
declare const DEFER_PARENT_BLOCK_ID = "p";
|
|
3047
|
-
|
|
3048
3044
|
/**
|
|
3049
3045
|
* Basic set of data structures used for identifying a defer block
|
|
3050
3046
|
* and triggering defer blocks
|
|
@@ -3188,10 +3184,6 @@ declare interface DehydratedView {
|
|
|
3188
3184
|
* removed from the DOM during hydration cleanup.
|
|
3189
3185
|
*/
|
|
3190
3186
|
dehydratedIcuData?: Map<number, DehydratedIcuData>;
|
|
3191
|
-
/**
|
|
3192
|
-
* A mapping of defer block unique ids to the defer block data
|
|
3193
|
-
*/
|
|
3194
|
-
dehydratedDeferBlockData?: Record<string, SerializedDeferBlock>;
|
|
3195
3187
|
}
|
|
3196
3188
|
|
|
3197
3189
|
/**
|
|
@@ -5055,7 +5047,7 @@ declare type HostDirectiveBindingMap = {
|
|
|
5055
5047
|
[publicName: string]: string;
|
|
5056
5048
|
};
|
|
5057
5049
|
|
|
5058
|
-
/**
|
|
5050
|
+
/** Value that can be used to configure a host directive. */
|
|
5059
5051
|
declare type HostDirectiveConfig = Type<unknown> | {
|
|
5060
5052
|
directive: Type<unknown>;
|
|
5061
5053
|
inputs?: string[];
|
|
@@ -9985,33 +9977,6 @@ declare interface SerializedContainerView extends SerializedView {
|
|
|
9985
9977
|
[MULTIPLIER]?: number;
|
|
9986
9978
|
}
|
|
9987
9979
|
|
|
9988
|
-
/**
|
|
9989
|
-
* Serialized data structure that contains relevant defer block
|
|
9990
|
-
* information that describes a given incremental hydration boundary
|
|
9991
|
-
*/
|
|
9992
|
-
declare interface SerializedDeferBlock {
|
|
9993
|
-
/**
|
|
9994
|
-
* This contains the unique id of this defer block's parent, if it exists.
|
|
9995
|
-
*/
|
|
9996
|
-
[DEFER_PARENT_BLOCK_ID]: string | null;
|
|
9997
|
-
/**
|
|
9998
|
-
* This field represents a status, based on the `DeferBlockState` enum.
|
|
9999
|
-
*/
|
|
10000
|
-
[DEFER_BLOCK_STATE]?: number;
|
|
10001
|
-
/**
|
|
10002
|
-
* Number of root nodes that belong to this defer block's template.
|
|
10003
|
-
* This information is needed to effectively traverse the DOM tree
|
|
10004
|
-
* and add jsaction attributes to root nodes appropriately for
|
|
10005
|
-
* incremental hydration.
|
|
10006
|
-
*/
|
|
10007
|
-
[NUM_ROOT_NODES]: number;
|
|
10008
|
-
/**
|
|
10009
|
-
* The list of triggers that exist for incremental hydration, based on the
|
|
10010
|
-
* `Trigger` enum.
|
|
10011
|
-
*/
|
|
10012
|
-
[DEFER_HYDRATE_TRIGGERS]: (DeferBlockTrigger | SerializedTriggerDetails)[] | null;
|
|
10013
|
-
}
|
|
10014
|
-
|
|
10015
9980
|
/**
|
|
10016
9981
|
* Represents element containers within this view, stored as key-value pairs
|
|
10017
9982
|
* where key is an index of a container in an LView (also used in the
|
|
@@ -10023,11 +9988,6 @@ declare interface SerializedElementContainers {
|
|
|
10023
9988
|
[key: number]: number;
|
|
10024
9989
|
}
|
|
10025
9990
|
|
|
10026
|
-
declare interface SerializedTriggerDetails {
|
|
10027
|
-
trigger: DeferBlockTrigger;
|
|
10028
|
-
delay?: number;
|
|
10029
|
-
}
|
|
10030
|
-
|
|
10031
9991
|
/**
|
|
10032
9992
|
* Serialized data structure that contains relevant hydration
|
|
10033
9993
|
* annotation information that describes a given hydration boundary
|
|
@@ -13385,8 +13345,17 @@ export declare interface ɵDirectiveDef<T> {
|
|
|
13385
13345
|
* configuration. Host directives will be added to the map as they're being matched to the node.
|
|
13386
13346
|
*/
|
|
13387
13347
|
findHostDirectiveDefs: ((currentDef: ɵDirectiveDef<unknown>, matchedDefs: ɵDirectiveDef<unknown>[], hostDirectiveDefs: HostDirectiveDefs) => void) | null;
|
|
13388
|
-
/**
|
|
13389
|
-
|
|
13348
|
+
/**
|
|
13349
|
+
* Additional directives to be applied whenever the directive has been matched.
|
|
13350
|
+
*
|
|
13351
|
+
* `HostDirectiveConfig` objects represent a host directive that can be resolved eagerly and were
|
|
13352
|
+
* already pre-processed when the definition was created. A function needs to be resolved lazily
|
|
13353
|
+
* during directive matching, because it's a forward reference.
|
|
13354
|
+
*
|
|
13355
|
+
* **Note:** we can't `HostDirectiveConfig` in the array, because there's no way to distinguish if
|
|
13356
|
+
* a function in the array is a `Type` or a `() => HostDirectiveConfig[]`.
|
|
13357
|
+
*/
|
|
13358
|
+
hostDirectives: (HostDirectiveDef | (() => HostDirectiveConfig[]))[] | null;
|
|
13390
13359
|
setInput: (<U extends T>(this: ɵDirectiveDef<U>, instance: U, inputSignalNode: null | ɵInputSignalNode<unknown, unknown>, value: any, publicName: string, privateName: string) => void) | null;
|
|
13391
13360
|
}
|
|
13392
13361
|
|
|
@@ -13919,12 +13888,6 @@ export declare const ɵNG_PIPE_DEF: string;
|
|
|
13919
13888
|
|
|
13920
13889
|
export declare const ɵNG_PROV_DEF: string;
|
|
13921
13890
|
|
|
13922
|
-
/**
|
|
13923
|
-
* A constant defining the default value for the standalone attribute in Directive and Pipes decorators.
|
|
13924
|
-
* Extracted to a separate file to facilitate G3 patches.
|
|
13925
|
-
*/
|
|
13926
|
-
export declare const ɵNG_STANDALONE_DEFAULT_VALUE = true;
|
|
13927
|
-
|
|
13928
13891
|
/**
|
|
13929
13892
|
* Runtime link information for NgModules.
|
|
13930
13893
|
*
|
|
@@ -14455,6 +14418,7 @@ export declare const enum ɵRuntimeErrorCode {
|
|
|
14455
14418
|
MISSING_HYDRATION_ANNOTATIONS = -505,
|
|
14456
14419
|
HYDRATION_STABLE_TIMEDOUT = -506,
|
|
14457
14420
|
MISSING_SSR_CONTENT_INTEGRITY_MARKER = -507,
|
|
14421
|
+
MISCONFIGURED_INCREMENTAL_HYDRATION = 508,
|
|
14458
14422
|
SIGNAL_WRITE_FROM_ILLEGAL_CONTEXT = 600,
|
|
14459
14423
|
REQUIRE_SYNC_WITHOUT_SYNC_EMIT = 601,
|
|
14460
14424
|
ASSERTION_NOT_INSIDE_REACTIVE_CONTEXT = -602,
|
|
@@ -17587,10 +17551,11 @@ export declare function ɵɵrepeaterTrackByIndex(index: number): number;
|
|
|
17587
17551
|
* Replaces the metadata of a component type and re-renders all live instances of the component.
|
|
17588
17552
|
* @param type Class whose metadata will be replaced.
|
|
17589
17553
|
* @param applyMetadata Callback that will apply a new set of metadata on the `type` when invoked.
|
|
17554
|
+
* @param environment Core runtime environment to use when applying the HMR update.
|
|
17590
17555
|
* @param locals Local symbols from the source location that have to be exposed to the callback.
|
|
17591
17556
|
* @codeGenApi
|
|
17592
17557
|
*/
|
|
17593
|
-
export declare function ɵɵreplaceMetadata(type: Type<unknown>, applyMetadata: (...args: [Type<unknown>, Record<string, unknown>, ...unknown[]]) => void, locals: unknown[]): void;
|
|
17558
|
+
export declare function ɵɵreplaceMetadata(type: Type<unknown>, applyMetadata: (...args: [Type<unknown>, Record<string, unknown>, ...unknown[]]) => void, environment: Record<string, unknown>, locals: unknown[]): void;
|
|
17594
17559
|
|
|
17595
17560
|
/**
|
|
17596
17561
|
* Clears the view set in `ɵɵrestoreView` from memory. Returns the passed in
|
package/package.json
CHANGED
package/rxjs-interop/index.d.ts
CHANGED