@angular/core 18.0.0-next.3 → 18.0.0-next.4
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/esm2022/rxjs-interop/src/take_until_destroyed.mjs +2 -2
- package/esm2022/rxjs-interop/src/to_observable.mjs +1 -1
- package/esm2022/rxjs-interop/src/to_signal.mjs +2 -2
- package/esm2022/src/application/application_tokens.mjs +1 -1
- package/esm2022/src/change_detection/change_detector_ref.mjs +3 -3
- package/esm2022/src/change_detection/scheduling/ng_zone_scheduling.mjs +12 -2
- package/esm2022/src/change_detection/scheduling/zoneless_scheduling_impl.mjs +6 -15
- package/esm2022/src/core_render3_private_export.mjs +1 -2
- package/esm2022/src/debug/debug_node.mjs +5 -5
- package/esm2022/src/di/contextual.mjs +3 -3
- package/esm2022/src/di/injectable.mjs +1 -1
- package/esm2022/src/di/injector.mjs +4 -4
- package/esm2022/src/di/injector_compatibility.mjs +3 -3
- package/esm2022/src/di/interface/provider.mjs +1 -1
- package/esm2022/src/di/metadata.mjs +1 -1
- package/esm2022/src/di/provider_collection.mjs +2 -2
- package/esm2022/src/event_emitter.mjs +1 -1
- package/esm2022/src/hydration/api.mjs +2 -3
- package/esm2022/src/i18n/locale_data_api.mjs +4 -4
- package/esm2022/src/i18n/tokens.mjs +6 -6
- package/esm2022/src/interface/lifecycle_hooks.mjs +1 -1
- package/esm2022/src/linker/compiler.mjs +1 -7
- package/esm2022/src/linker/ng_module_factory.mjs +2 -3
- package/esm2022/src/linker/template_ref.mjs +1 -2
- package/esm2022/src/metadata/directives.mjs +1 -1
- package/esm2022/src/metadata/do_bootstrap.mjs +1 -1
- package/esm2022/src/metadata/ng_module.mjs +1 -1
- package/esm2022/src/render3/component.mjs +3 -4
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/render3/definition.mjs +2 -2
- package/esm2022/src/render3/instructions/change_detection.mjs +3 -6
- package/esm2022/src/render3/jit/environment.mjs +1 -3
- package/esm2022/src/render3/ng_module_ref.mjs +1 -4
- package/esm2022/src/render3/node_manipulation.mjs +19 -15
- package/esm2022/src/render3/reactivity/effect.mjs +1 -1
- package/esm2022/src/render3/view_ref.mjs +14 -4
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +73 -76
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +2 -2
- package/fesm2022/rxjs-interop.mjs +4 -4
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +2 -2
- package/index.d.ts +89 -102
- package/package.json +1 -1
- package/primitives/signals/index.d.ts +2 -2
- package/rxjs-interop/index.d.ts +5 -5
- package/schematics/migrations/block-template-entities/bundle.js +162 -178
- package/schematics/migrations/block-template-entities/bundle.js.map +2 -2
- package/schematics/migrations/compiler-options/bundle.js +13 -13
- package/schematics/migrations/compiler-options/bundle.js.map +1 -1
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +163 -179
- package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +2 -2
- package/schematics/migrations/transfer-state/bundle.js +13 -13
- package/schematics/migrations/transfer-state/bundle.js.map +1 -1
- package/schematics/ng-generate/control-flow-migration/bundle.js +171 -187
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +2 -2
- package/schematics/ng-generate/standalone-migration/bundle.js +473 -479
- package/schematics/ng-generate/standalone-migration/bundle.js.map +3 -3
- package/testing/index.d.ts +2 -2
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v18.0.0-next.
|
|
3
|
-
* (c) 2010-
|
|
2
|
+
* @license Angular v18.0.0-next.4
|
|
3
|
+
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -33,7 +33,7 @@ export declare interface AbstractType<T> extends Function {
|
|
|
33
33
|
* has been checked and most of the time it's during a change detection cycle.
|
|
34
34
|
*
|
|
35
35
|
* @see {@link AfterViewChecked}
|
|
36
|
-
* @see [Lifecycle hooks guide](guide/lifecycle
|
|
36
|
+
* @see [Lifecycle hooks guide](guide/components/lifecycle)
|
|
37
37
|
*
|
|
38
38
|
* @usageNotes
|
|
39
39
|
* The following snippet shows how a component can implement this interface to
|
|
@@ -60,7 +60,7 @@ export declare interface AfterContentChecked {
|
|
|
60
60
|
*
|
|
61
61
|
* @see {@link OnInit}
|
|
62
62
|
* @see {@link AfterViewInit}
|
|
63
|
-
* @see [Lifecycle hooks guide](guide/lifecycle
|
|
63
|
+
* @see [Lifecycle hooks guide](guide/components/lifecycle)
|
|
64
64
|
*
|
|
65
65
|
* @usageNotes
|
|
66
66
|
* The following snippet shows how a component can implement this interface to
|
|
@@ -284,7 +284,7 @@ export declare interface AfterRenderRef {
|
|
|
284
284
|
* completed checking a component's view for changes.
|
|
285
285
|
*
|
|
286
286
|
* @see {@link AfterContentChecked}
|
|
287
|
-
* @see [Lifecycle hooks guide](guide/lifecycle
|
|
287
|
+
* @see [Lifecycle hooks guide](guide/components/lifecycle)
|
|
288
288
|
*
|
|
289
289
|
* @usageNotes
|
|
290
290
|
* The following snippet shows how a component can implement this interface to
|
|
@@ -311,7 +311,7 @@ export declare interface AfterViewChecked {
|
|
|
311
311
|
*
|
|
312
312
|
* @see {@link OnInit}
|
|
313
313
|
* @see {@link AfterContentInit}
|
|
314
|
-
* @see [Lifecycle hooks guide](guide/lifecycle
|
|
314
|
+
* @see [Lifecycle hooks guide](guide/components/lifecycle)
|
|
315
315
|
*
|
|
316
316
|
* @usageNotes
|
|
317
317
|
* The following snippet shows how a component can implement this interface to
|
|
@@ -813,7 +813,7 @@ export declare function asNativeElements(debugEls: DebugElement[]): any;
|
|
|
813
813
|
|
|
814
814
|
/**
|
|
815
815
|
* Asserts that the current stack frame is within an [injection
|
|
816
|
-
* context](guide/dependency-injection-context) and has access to `inject`.
|
|
816
|
+
* context](guide/di/dependency-injection-context) and has access to `inject`.
|
|
817
817
|
*
|
|
818
818
|
* @param debugFn a reference to the function making the assertion (used for the error message).
|
|
819
819
|
*
|
|
@@ -995,8 +995,8 @@ declare type ChangeDetectionStrategy_2 = number;
|
|
|
995
995
|
* Use the methods to add and remove views from the tree, initiate change-detection,
|
|
996
996
|
* and explicitly mark views as _dirty_, meaning that they have changed and need to be re-rendered.
|
|
997
997
|
*
|
|
998
|
-
* @see [Using change detection hooks](guide/lifecycle
|
|
999
|
-
* @see [Defining custom change detection](guide/lifecycle
|
|
998
|
+
* @see [Using change detection hooks](guide/components/lifecycle#using-change-detection-hooks)
|
|
999
|
+
* @see [Defining custom change detection](guide/components/lifecycle#defining-custom-change-detection)
|
|
1000
1000
|
*
|
|
1001
1001
|
* @usageNotes
|
|
1002
1002
|
*
|
|
@@ -1107,7 +1107,7 @@ declare interface ClassDebugInfo {
|
|
|
1107
1107
|
|
|
1108
1108
|
/**
|
|
1109
1109
|
* Configures the `Injector` to return an instance of `useClass` for a token.
|
|
1110
|
-
* @see [Dependency Injection Guide](guide/dependency-injection
|
|
1110
|
+
* @see [Dependency Injection Guide](guide/di/dependency-injection.
|
|
1111
1111
|
*
|
|
1112
1112
|
* @usageNotes
|
|
1113
1113
|
*
|
|
@@ -1139,7 +1139,7 @@ export declare interface ClassProvider extends ClassSansProvider {
|
|
|
1139
1139
|
* Configures the `Injector` to return a value by invoking a `useClass` function.
|
|
1140
1140
|
* Base for `ClassProvider` decorator.
|
|
1141
1141
|
*
|
|
1142
|
-
* @see [Dependency Injection Guide](guide/dependency-injection
|
|
1142
|
+
* @see [Dependency Injection Guide](guide/di/dependency-injection.
|
|
1143
1143
|
*
|
|
1144
1144
|
* @publicApi
|
|
1145
1145
|
*/
|
|
@@ -1165,8 +1165,6 @@ declare const CLEANUP = 7;
|
|
|
1165
1165
|
*
|
|
1166
1166
|
* @deprecated
|
|
1167
1167
|
* Ivy JIT mode doesn't require accessing this symbol.
|
|
1168
|
-
* See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for
|
|
1169
|
-
* additional context.
|
|
1170
1168
|
*/
|
|
1171
1169
|
export declare class Compiler {
|
|
1172
1170
|
/**
|
|
@@ -1216,8 +1214,6 @@ export declare const COMPILER_OPTIONS: InjectionToken<CompilerOptions[]>;
|
|
|
1216
1214
|
*
|
|
1217
1215
|
* @deprecated
|
|
1218
1216
|
* Ivy JIT mode doesn't require accessing this symbol.
|
|
1219
|
-
* See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for
|
|
1220
|
-
* additional context.
|
|
1221
1217
|
*/
|
|
1222
1218
|
export declare abstract class CompilerFactory {
|
|
1223
1219
|
abstract createCompiler(options?: CompilerOptions[]): Compiler;
|
|
@@ -1294,7 +1290,7 @@ export declare interface Component extends Directive {
|
|
|
1294
1290
|
/**
|
|
1295
1291
|
* One or more animation `trigger()` calls, containing
|
|
1296
1292
|
* [`state()`](api/animations/state) and `transition()` definitions.
|
|
1297
|
-
* See the [Animations guide](
|
|
1293
|
+
* See the [Animations guide](guide/animations) and animations API documentation.
|
|
1298
1294
|
*
|
|
1299
1295
|
*/
|
|
1300
1296
|
animations?: any[];
|
|
@@ -1331,7 +1327,7 @@ export declare interface Component extends Directive {
|
|
|
1331
1327
|
* used in a template) via the imports property.
|
|
1332
1328
|
*
|
|
1333
1329
|
* More information about standalone components, directives, and pipes can be found in [this
|
|
1334
|
-
* guide](guide/
|
|
1330
|
+
* guide](guide/components/importing).
|
|
1335
1331
|
*/
|
|
1336
1332
|
standalone?: boolean;
|
|
1337
1333
|
/**
|
|
@@ -1343,7 +1339,7 @@ export declare interface Component extends Directive {
|
|
|
1343
1339
|
* declared in an NgModule generates a compilation error.
|
|
1344
1340
|
*
|
|
1345
1341
|
* More information about standalone components, directives, and pipes can be found in [this
|
|
1346
|
-
* guide](guide/
|
|
1342
|
+
* guide](guide/components/importing).
|
|
1347
1343
|
*/
|
|
1348
1344
|
imports?: (Type<any> | ReadonlyArray<any>)[];
|
|
1349
1345
|
/**
|
|
@@ -1354,7 +1350,7 @@ export declare interface Component extends Directive {
|
|
|
1354
1350
|
* declared in an NgModule generates a compilation error.
|
|
1355
1351
|
*
|
|
1356
1352
|
* More information about standalone components, directives, and pipes can be found in [this
|
|
1357
|
-
* guide](guide/
|
|
1353
|
+
* guide](guide/components/importing).
|
|
1358
1354
|
*/
|
|
1359
1355
|
schemas?: SchemaMetadata[];
|
|
1360
1356
|
}
|
|
@@ -1392,7 +1388,7 @@ export declare interface ComponentDecorator {
|
|
|
1392
1388
|
* Note that, in addition to these options for configuring a directive,
|
|
1393
1389
|
* you can control a component's runtime behavior by implementing
|
|
1394
1390
|
* life-cycle hooks. For more information, see the
|
|
1395
|
-
* [Lifecycle Hooks](guide/lifecycle
|
|
1391
|
+
* [Lifecycle Hooks](guide/components/lifecycle) guide.
|
|
1396
1392
|
*
|
|
1397
1393
|
* @usageNotes
|
|
1398
1394
|
*
|
|
@@ -1820,7 +1816,7 @@ export declare function computed<T>(computation: () => T, options?: CreateComput
|
|
|
1820
1816
|
/**
|
|
1821
1817
|
* Configures the `Injector` to return an instance of a token.
|
|
1822
1818
|
*
|
|
1823
|
-
* @see [Dependency Injection Guide](guide/dependency-injection
|
|
1819
|
+
* @see [Dependency Injection Guide](guide/di/dependency-injection.
|
|
1824
1820
|
*
|
|
1825
1821
|
* @usageNotes
|
|
1826
1822
|
*
|
|
@@ -1847,7 +1843,7 @@ export declare interface ConstructorProvider extends ConstructorSansProvider {
|
|
|
1847
1843
|
/**
|
|
1848
1844
|
* Configures the `Injector` to return an instance of a token.
|
|
1849
1845
|
*
|
|
1850
|
-
* @see [Dependency Injection Guide](guide/dependency-injection
|
|
1846
|
+
* @see [Dependency Injection Guide](guide/di/dependency-injection.
|
|
1851
1847
|
*
|
|
1852
1848
|
* @usageNotes
|
|
1853
1849
|
*
|
|
@@ -2185,13 +2181,12 @@ declare const CONTEXT = 8;
|
|
|
2185
2181
|
*
|
|
2186
2182
|
* @param component Component class reference.
|
|
2187
2183
|
* @param options Set of options to use:
|
|
2188
|
-
* * `environmentInjector`: An `EnvironmentInjector` instance to be used for the component
|
|
2189
|
-
* additional info about it [here](/guide/standalone-components#environment-injectors).
|
|
2184
|
+
* * `environmentInjector`: An `EnvironmentInjector` instance to be used for the component.
|
|
2190
2185
|
* * `hostElement` (optional): A DOM node that should act as a host node for the component. If not
|
|
2191
2186
|
* provided, Angular creates one based on the tag name used in the component selector (and falls
|
|
2192
2187
|
* back to using `div` if selector doesn't have tag name info).
|
|
2193
2188
|
* * `elementInjector` (optional): An `ElementInjector` instance, see additional info about it
|
|
2194
|
-
* [here](
|
|
2189
|
+
* [here](guide/di/hierarchical-dependency-injection#elementinjector).
|
|
2195
2190
|
* * `projectableNodes` (optional): A list of DOM nodes that should be projected through
|
|
2196
2191
|
* [`<ng-content>`](api/core/ng-content) of the new component instance.
|
|
2197
2192
|
* @returns ComponentRef instance that represents a given Component.
|
|
@@ -2224,7 +2219,7 @@ export declare interface CreateEffectOptions {
|
|
|
2224
2219
|
/**
|
|
2225
2220
|
* The `Injector` in which to create the effect.
|
|
2226
2221
|
*
|
|
2227
|
-
* If this is not provided, the current [injection context](guide/dependency-injection-context)
|
|
2222
|
+
* If this is not provided, the current [injection context](guide/di/dependency-injection-context)
|
|
2228
2223
|
* will be used instead (via `inject`).
|
|
2229
2224
|
*/
|
|
2230
2225
|
injector?: Injector;
|
|
@@ -2247,9 +2242,6 @@ export declare interface CreateEffectOptions {
|
|
|
2247
2242
|
/**
|
|
2248
2243
|
* Create a new environment injector.
|
|
2249
2244
|
*
|
|
2250
|
-
* Learn more about environment injectors in
|
|
2251
|
-
* [this guide](guide/standalone-components#environment-injectors).
|
|
2252
|
-
*
|
|
2253
2245
|
* @param providers An array of providers.
|
|
2254
2246
|
* @param parent A parent environment injector.
|
|
2255
2247
|
* @param debugName An optional name for this injector instance, which will be used in error
|
|
@@ -2395,9 +2387,9 @@ export declare const CUSTOM_ELEMENTS_SCHEMA: SchemaMetadata;
|
|
|
2395
2387
|
/**
|
|
2396
2388
|
* @publicApi
|
|
2397
2389
|
*
|
|
2398
|
-
* @see [Component testing scenarios](guide/testing
|
|
2399
|
-
* @see [Basics of testing components](guide/testing
|
|
2400
|
-
* @see [Testing utility APIs](guide/testing
|
|
2390
|
+
* @see [Component testing scenarios](guide/testing/components-scenarios)
|
|
2391
|
+
* @see [Basics of testing components](guide/testing/components-basics)
|
|
2392
|
+
* @see [Testing utility APIs](guide/testing/utility-apis)
|
|
2401
2393
|
*/
|
|
2402
2394
|
export declare class DebugElement extends DebugNode {
|
|
2403
2395
|
constructor(nativeNode: Element);
|
|
@@ -2481,7 +2473,7 @@ export declare class DebugElement extends DebugNode {
|
|
|
2481
2473
|
* @param eventName The name of the event to trigger
|
|
2482
2474
|
* @param eventObj The _event object_ expected by the handler
|
|
2483
2475
|
*
|
|
2484
|
-
* @see [Testing components scenarios](guide/testing
|
|
2476
|
+
* @see [Testing components scenarios](guide/testing/components-scenarios#trigger-event-handler)
|
|
2485
2477
|
*/
|
|
2486
2478
|
triggerEventHandler(eventName: string, eventObj?: any): void;
|
|
2487
2479
|
}
|
|
@@ -2555,7 +2547,7 @@ declare const DECLARATION_VIEW = 14;
|
|
|
2555
2547
|
* CurrencyPipe when there is no currency code passed into it. This is only used by
|
|
2556
2548
|
* CurrencyPipe and has no relation to locale currency. Defaults to USD if not configured.
|
|
2557
2549
|
*
|
|
2558
|
-
* See the [i18n guide](guide/i18n
|
|
2550
|
+
* See the [i18n guide](guide/i18n/locale-id) for more information.
|
|
2559
2551
|
*
|
|
2560
2552
|
* <div class="alert is-helpful">
|
|
2561
2553
|
*
|
|
@@ -3135,7 +3127,7 @@ export declare interface Directive {
|
|
|
3135
3127
|
* providers).
|
|
3136
3128
|
*
|
|
3137
3129
|
* More information about standalone components, directives, and pipes can be found in [this
|
|
3138
|
-
* guide](guide/
|
|
3130
|
+
* guide](guide/components/importing).
|
|
3139
3131
|
*/
|
|
3140
3132
|
standalone?: boolean;
|
|
3141
3133
|
/**
|
|
@@ -3188,7 +3180,7 @@ export declare interface DirectiveDecorator {
|
|
|
3188
3180
|
* runtime.
|
|
3189
3181
|
*
|
|
3190
3182
|
* Directive classes, like component classes, can implement
|
|
3191
|
-
* [life-cycle hooks](guide/lifecycle
|
|
3183
|
+
* [life-cycle hooks](guide/components/lifecycle) to influence their configuration and behavior.
|
|
3192
3184
|
*
|
|
3193
3185
|
*
|
|
3194
3186
|
* @usageNotes
|
|
@@ -3209,13 +3201,13 @@ export declare interface DirectiveDecorator {
|
|
|
3209
3201
|
*
|
|
3210
3202
|
* In order to make a directive available to other components in your application, you should do
|
|
3211
3203
|
* one of the following:
|
|
3212
|
-
* - either mark the directive as [standalone](guide/
|
|
3204
|
+
* - either mark the directive as [standalone](guide/components/importing),
|
|
3213
3205
|
* - or declare it in an NgModule by adding it to the `declarations` and `exports` fields.
|
|
3214
3206
|
*
|
|
3215
3207
|
* ** Marking a directive as standalone **
|
|
3216
3208
|
*
|
|
3217
3209
|
* You can add the `standalone: true` flag to the Directive decorator metadata to declare it as
|
|
3218
|
-
* [standalone](guide/
|
|
3210
|
+
* [standalone](guide/components/importing):
|
|
3219
3211
|
*
|
|
3220
3212
|
* ```ts
|
|
3221
3213
|
* @Directive({
|
|
@@ -3442,7 +3434,7 @@ declare type DirectiveDefListOrFactory = (() => DirectiveDefList) | DirectiveDef
|
|
|
3442
3434
|
*/
|
|
3443
3435
|
declare type DirectiveInputs<T> = {
|
|
3444
3436
|
[P in keyof T]?: string | [
|
|
3445
|
-
flags:
|
|
3437
|
+
flags: InputFlags,
|
|
3446
3438
|
publicName: string,
|
|
3447
3439
|
declaredName?: string,
|
|
3448
3440
|
transform?: InputTransformFunction
|
|
@@ -3458,7 +3450,7 @@ declare const DISCONNECTED_NODES = "d";
|
|
|
3458
3450
|
*
|
|
3459
3451
|
* Reference to the current application is provided as a parameter.
|
|
3460
3452
|
*
|
|
3461
|
-
* See ["Bootstrapping"](guide/bootstrapping).
|
|
3453
|
+
* See ["Bootstrapping"](guide/ngmodules/bootstrapping).
|
|
3462
3454
|
*
|
|
3463
3455
|
* @usageNotes
|
|
3464
3456
|
* The example below uses `ApplicationRef.bootstrap()` to render the
|
|
@@ -3492,7 +3484,7 @@ export declare interface DoBootstrap {
|
|
|
3492
3484
|
* changes on the same input.
|
|
3493
3485
|
*
|
|
3494
3486
|
* @see {@link OnChanges}
|
|
3495
|
-
* @see [Lifecycle hooks guide](guide/lifecycle
|
|
3487
|
+
* @see [Lifecycle hooks guide](guide/components/lifecycle)
|
|
3496
3488
|
*
|
|
3497
3489
|
* @usageNotes
|
|
3498
3490
|
* The following snippet shows how a component can implement this interface
|
|
@@ -3501,7 +3493,7 @@ export declare interface DoBootstrap {
|
|
|
3501
3493
|
* {@example core/ts/metadata/lifecycle_hooks_spec.ts region='DoCheck'}
|
|
3502
3494
|
*
|
|
3503
3495
|
* For a more complete example and discussion, see
|
|
3504
|
-
* [Defining custom change detection](guide/lifecycle
|
|
3496
|
+
* [Defining custom change detection](guide/components/lifecycle#defining-custom-change-detection).
|
|
3505
3497
|
*
|
|
3506
3498
|
* @publicApi
|
|
3507
3499
|
*/
|
|
@@ -3837,7 +3829,6 @@ export declare class ErrorHandler {
|
|
|
3837
3829
|
* <zippy (open)="onOpen($event)" (close)="onClose($event)"></zippy>
|
|
3838
3830
|
* ```
|
|
3839
3831
|
*
|
|
3840
|
-
* @see [Observables in Angular](guide/observables-in-angular)
|
|
3841
3832
|
* @publicApi
|
|
3842
3833
|
*/
|
|
3843
3834
|
export declare interface EventEmitter<T> extends Subject<T>, OutputRef<T> {
|
|
@@ -3885,7 +3876,7 @@ export declare const EventEmitter: {
|
|
|
3885
3876
|
/**
|
|
3886
3877
|
* Configures the `Injector` to return a value of another `useExisting` token.
|
|
3887
3878
|
*
|
|
3888
|
-
* @see [Dependency Injection Guide](guide/dependency-injection
|
|
3879
|
+
* @see [Dependency Injection Guide](guide/di/dependency-injection.
|
|
3889
3880
|
*
|
|
3890
3881
|
* @usageNotes
|
|
3891
3882
|
*
|
|
@@ -3913,7 +3904,7 @@ export declare interface ExistingProvider extends ExistingSansProvider {
|
|
|
3913
3904
|
* Configures the `Injector` to return a value of another `useExisting` token.
|
|
3914
3905
|
*
|
|
3915
3906
|
* @see {@link ExistingProvider}
|
|
3916
|
-
* @see [Dependency Injection Guide](guide/dependency-injection
|
|
3907
|
+
* @see [Dependency Injection Guide](guide/di/dependency-injection.
|
|
3917
3908
|
*
|
|
3918
3909
|
* @publicApi
|
|
3919
3910
|
*/
|
|
@@ -3941,7 +3932,7 @@ declare type FactoryFn<T> = {
|
|
|
3941
3932
|
|
|
3942
3933
|
/**
|
|
3943
3934
|
* Configures the `Injector` to return a value by invoking a `useFactory` function.
|
|
3944
|
-
* @see [Dependency Injection Guide](guide/dependency-injection
|
|
3935
|
+
* @see [Dependency Injection Guide](guide/di/dependency-injection.
|
|
3945
3936
|
*
|
|
3946
3937
|
* @usageNotes
|
|
3947
3938
|
*
|
|
@@ -3973,7 +3964,7 @@ export declare interface FactoryProvider extends FactorySansProvider {
|
|
|
3973
3964
|
* Configures the `Injector` to return a value by invoking a `useFactory` function.
|
|
3974
3965
|
*
|
|
3975
3966
|
* @see {@link FactoryProvider}
|
|
3976
|
-
* @see [Dependency Injection Guide](guide/dependency-injection
|
|
3967
|
+
* @see [Dependency Injection Guide](guide/di/dependency-injection.
|
|
3977
3968
|
*
|
|
3978
3969
|
* @publicApi
|
|
3979
3970
|
*/
|
|
@@ -4539,7 +4530,7 @@ export declare interface HostDecorator {
|
|
|
4539
4530
|
* </code-example>
|
|
4540
4531
|
*
|
|
4541
4532
|
* For an extended example, see ["Dependency Injection
|
|
4542
|
-
* Guide"](guide/
|
|
4533
|
+
* Guide"](guide/di/di-in-action#optional).
|
|
4543
4534
|
*/
|
|
4544
4535
|
(): any;
|
|
4545
4536
|
new (): Host;
|
|
@@ -5010,7 +5001,7 @@ export declare type ImportedNgModuleProviders = EnvironmentProviders;
|
|
|
5010
5001
|
* providers.
|
|
5011
5002
|
*
|
|
5012
5003
|
* More information about standalone components can be found in [this
|
|
5013
|
-
* guide](guide/
|
|
5004
|
+
* guide](guide/components/importing).
|
|
5014
5005
|
*
|
|
5015
5006
|
* @usageNotes
|
|
5016
5007
|
* The results of the `importProvidersFrom` call can be used in the `bootstrapApplication` call:
|
|
@@ -5081,7 +5072,7 @@ declare type InitialInputData = (InitialInputs | null)[];
|
|
|
5081
5072
|
*
|
|
5082
5073
|
* e.g. ['role-min', 'minified-input', 'button']
|
|
5083
5074
|
*/
|
|
5084
|
-
declare type InitialInputs = (string |
|
|
5075
|
+
declare type InitialInputs = (string | InputFlags)[];
|
|
5085
5076
|
|
|
5086
5077
|
/**
|
|
5087
5078
|
* Type of the Inject metadata.
|
|
@@ -5228,8 +5219,8 @@ export declare interface InjectableDecorator {
|
|
|
5228
5219
|
* Decorator that marks a class as available to be
|
|
5229
5220
|
* provided and injected as a dependency.
|
|
5230
5221
|
*
|
|
5231
|
-
* @see [Introduction to Services and DI](guide/
|
|
5232
|
-
* @see [Dependency Injection Guide](guide/dependency-injection
|
|
5222
|
+
* @see [Introduction to Services and DI](guide/di)
|
|
5223
|
+
* @see [Dependency Injection Guide](guide/di/dependency-injection
|
|
5233
5224
|
*
|
|
5234
5225
|
* @usageNotes
|
|
5235
5226
|
*
|
|
@@ -5296,7 +5287,7 @@ export declare interface InjectDecorator {
|
|
|
5296
5287
|
* <code-example path="core/di/ts/metadata_spec.ts" region="InjectWithoutDecorator">
|
|
5297
5288
|
* </code-example>
|
|
5298
5289
|
*
|
|
5299
|
-
* @see [Dependency Injection Guide](guide/dependency-injection
|
|
5290
|
+
* @see [Dependency Injection Guide](guide/di/dependency-injection
|
|
5300
5291
|
*
|
|
5301
5292
|
*/
|
|
5302
5293
|
(token: any): any;
|
|
@@ -5458,10 +5449,10 @@ export declare const INJECTOR: InjectionToken<Injector>;
|
|
|
5458
5449
|
|
|
5459
5450
|
/**
|
|
5460
5451
|
* Concrete injectors implement this interface. Injectors are configured
|
|
5461
|
-
* with [providers](guide/dependency-injection-providers) that associate
|
|
5462
|
-
* dependencies of various types with [injection tokens](guide/dependency-injection-providers).
|
|
5452
|
+
* with [providers](guide/di/dependency-injection-providers) that associate
|
|
5453
|
+
* dependencies of various types with [injection tokens](guide/di/dependency-injection-providers).
|
|
5463
5454
|
*
|
|
5464
|
-
* @see [DI Providers](guide/dependency-injection-providers).
|
|
5455
|
+
* @see [DI Providers](guide/di/dependency-injection-providers).
|
|
5465
5456
|
* @see {@link StaticProvider}
|
|
5466
5457
|
*
|
|
5467
5458
|
* @usageNotes
|
|
@@ -5707,12 +5698,21 @@ export declare interface InputDecorator {
|
|
|
5707
5698
|
* class App {}
|
|
5708
5699
|
* ```
|
|
5709
5700
|
*
|
|
5710
|
-
* @see [Input
|
|
5701
|
+
* @see [Input properties](guide/components/inputs)
|
|
5702
|
+
* @see [Output properties](guide/components/outputs)
|
|
5711
5703
|
*/
|
|
5712
5704
|
(arg?: string | Input): any;
|
|
5713
5705
|
new (arg?: string | Input): any;
|
|
5714
5706
|
}
|
|
5715
5707
|
|
|
5708
|
+
|
|
5709
|
+
/** Flags describing an input for a directive. */
|
|
5710
|
+
declare enum InputFlags {
|
|
5711
|
+
None = 0,
|
|
5712
|
+
SignalBased = 1,
|
|
5713
|
+
HasDecoratorInputTransform = 2
|
|
5714
|
+
}
|
|
5715
|
+
|
|
5716
5716
|
/**
|
|
5717
5717
|
* The `input` function allows declaration of inputs in directives and
|
|
5718
5718
|
* components.
|
|
@@ -5943,7 +5943,7 @@ export declare function isSignal(value: unknown): value is Signal<unknown>;
|
|
|
5943
5943
|
/**
|
|
5944
5944
|
* Checks whether a given Component, Directive or Pipe is marked as standalone.
|
|
5945
5945
|
* This will return false if passed anything other than a Component, Directive, or Pipe class
|
|
5946
|
-
* See [this guide](
|
|
5946
|
+
* See [this guide](guide/components/importing) for additional information:
|
|
5947
5947
|
*
|
|
5948
5948
|
* @param type A reference to a Component, Directive or Pipe.
|
|
5949
5949
|
* @publicApi
|
|
@@ -6341,7 +6341,7 @@ declare interface Listener {
|
|
|
6341
6341
|
* It is used for i18n extraction, by i18n pipes (DatePipe, I18nPluralPipe, CurrencyPipe,
|
|
6342
6342
|
* DecimalPipe and PercentPipe) and by ICU expressions.
|
|
6343
6343
|
*
|
|
6344
|
-
* See the [i18n guide](guide/i18n
|
|
6344
|
+
* See the [i18n guide](guide/i18n/locale-id) for more information.
|
|
6345
6345
|
*
|
|
6346
6346
|
* @usageNotes
|
|
6347
6347
|
* ### Example
|
|
@@ -6803,7 +6803,7 @@ export declare function mergeApplicationConfig(...configs: ApplicationConfig[]):
|
|
|
6803
6803
|
* - Warning (default): show a warning in the console and/or shell.
|
|
6804
6804
|
* - Ignore: do nothing.
|
|
6805
6805
|
*
|
|
6806
|
-
* See the [i18n guide](guide/i18n
|
|
6806
|
+
* See the [i18n guide](guide/i18n/merge#report-missing-translations) for more information.
|
|
6807
6807
|
*
|
|
6808
6808
|
* @usageNotes
|
|
6809
6809
|
* ### Example
|
|
@@ -6938,8 +6938,6 @@ export declare interface ModelSignal<T> extends WritableSignal<T>, OutputRef<T>
|
|
|
6938
6938
|
*
|
|
6939
6939
|
* @deprecated
|
|
6940
6940
|
* Ivy JIT mode doesn't require accessing this symbol.
|
|
6941
|
-
* See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for
|
|
6942
|
-
* additional context.
|
|
6943
6941
|
*/
|
|
6944
6942
|
export declare class ModuleWithComponentFactories<T> {
|
|
6945
6943
|
ngModuleFactory: NgModuleFactory<T>;
|
|
@@ -6951,8 +6949,6 @@ export declare class ModuleWithComponentFactories<T> {
|
|
|
6951
6949
|
* A wrapper around an NgModule that associates it with providers
|
|
6952
6950
|
* Usage without a generic type is deprecated.
|
|
6953
6951
|
*
|
|
6954
|
-
* @see [Deprecations](guide/deprecations#modulewithproviders-type-without-a-generic)
|
|
6955
|
-
*
|
|
6956
6952
|
* @publicApi
|
|
6957
6953
|
*/
|
|
6958
6954
|
export declare interface ModuleWithProviders<T> {
|
|
@@ -6991,8 +6987,8 @@ export declare interface NgModule {
|
|
|
6991
6987
|
* The set of injectable objects that are available in the injector
|
|
6992
6988
|
* of this module.
|
|
6993
6989
|
*
|
|
6994
|
-
* @see [Dependency Injection guide](guide/dependency-injection
|
|
6995
|
-
* @see [NgModule guide](guide/providers)
|
|
6990
|
+
* @see [Dependency Injection guide](guide/di/dependency-injection
|
|
6991
|
+
* @see [NgModule guide](guide/ngmodules/providers)
|
|
6996
6992
|
*
|
|
6997
6993
|
* @usageNotes
|
|
6998
6994
|
*
|
|
@@ -7173,8 +7169,7 @@ export declare interface NgModuleDecorator {
|
|
|
7173
7169
|
*
|
|
7174
7170
|
* @deprecated
|
|
7175
7171
|
* This class was mostly used as a part of ViewEngine-based JIT API and is no longer needed in Ivy
|
|
7176
|
-
* JIT mode.
|
|
7177
|
-
* for additional context. Angular provides APIs that accept NgModule classes directly (such as
|
|
7172
|
+
* JIT mode. Angular provides APIs that accept NgModule classes directly (such as
|
|
7178
7173
|
* [PlatformRef.bootstrapModule](api/core/PlatformRef#bootstrapModule) and
|
|
7179
7174
|
* [createNgModule](api/core/createNgModule)), consider switching to those APIs instead of
|
|
7180
7175
|
* using factory-based ones.
|
|
@@ -7511,7 +7506,7 @@ export declare const NO_ERRORS_SCHEMA: SchemaMetadata;
|
|
|
7511
7506
|
* }
|
|
7512
7507
|
* ```
|
|
7513
7508
|
*/
|
|
7514
|
-
declare type NodeInputBindings = Record<string, (number | string |
|
|
7509
|
+
declare type NodeInputBindings = Record<string, (number | string | InputFlags)[]>;
|
|
7515
7510
|
|
|
7516
7511
|
/**
|
|
7517
7512
|
* Store the runtime output names for all the directives.
|
|
@@ -7560,7 +7555,7 @@ declare const ON_DESTROY_HOOKS = 21;
|
|
|
7560
7555
|
*
|
|
7561
7556
|
* @see {@link DoCheck}
|
|
7562
7557
|
* @see {@link OnInit}
|
|
7563
|
-
* @see [Lifecycle hooks guide](guide/lifecycle
|
|
7558
|
+
* @see [Lifecycle hooks guide](guide/components/lifecycle)
|
|
7564
7559
|
*
|
|
7565
7560
|
* @usageNotes
|
|
7566
7561
|
* The following snippet shows how a component can implement this interface to
|
|
@@ -7585,7 +7580,7 @@ export declare interface OnChanges {
|
|
|
7585
7580
|
* A lifecycle hook that is called when a directive, pipe, or service is destroyed.
|
|
7586
7581
|
* Use for any custom cleanup that needs to occur when the
|
|
7587
7582
|
* instance is destroyed.
|
|
7588
|
-
* @see [Lifecycle hooks guide](guide/lifecycle
|
|
7583
|
+
* @see [Lifecycle hooks guide](guide/components/lifecycle)
|
|
7589
7584
|
*
|
|
7590
7585
|
* @usageNotes
|
|
7591
7586
|
* The following snippet shows how a component can implement this interface
|
|
@@ -7610,7 +7605,7 @@ export declare interface OnDestroy {
|
|
|
7610
7605
|
* Define an `ngOnInit()` method to handle any additional initialization tasks.
|
|
7611
7606
|
*
|
|
7612
7607
|
* @see {@link AfterContentInit}
|
|
7613
|
-
* @see [Lifecycle hooks guide](guide/lifecycle
|
|
7608
|
+
* @see [Lifecycle hooks guide](guide/components/lifecycle)
|
|
7614
7609
|
*
|
|
7615
7610
|
* @usageNotes
|
|
7616
7611
|
* The following snippet shows how a component can implement this interface to
|
|
@@ -7674,7 +7669,7 @@ export declare interface OptionalDecorator {
|
|
|
7674
7669
|
* <code-example path="core/di/ts/metadata_spec.ts" region="Optional">
|
|
7675
7670
|
* </code-example>
|
|
7676
7671
|
*
|
|
7677
|
-
* @see [Dependency Injection Guide](guide/dependency-injection
|
|
7672
|
+
* @see [Dependency Injection Guide](guide/di/dependency-injection.
|
|
7678
7673
|
*/
|
|
7679
7674
|
(): any;
|
|
7680
7675
|
new (): Optional;
|
|
@@ -7762,7 +7757,8 @@ export declare interface OutputDecorator {
|
|
|
7762
7757
|
*
|
|
7763
7758
|
* See `Input` decorator for an example of providing a binding name.
|
|
7764
7759
|
*
|
|
7765
|
-
* @see [Input
|
|
7760
|
+
* @see [Input properties](guide/components/inputs)
|
|
7761
|
+
* @see [Output properties](guide/components/outputs)
|
|
7766
7762
|
*
|
|
7767
7763
|
*/
|
|
7768
7764
|
(alias?: string): any;
|
|
@@ -7869,7 +7865,7 @@ export declare interface Pipe {
|
|
|
7869
7865
|
* pipes don't depend on any "intermediate context" of an NgModule (ex. configured providers).
|
|
7870
7866
|
*
|
|
7871
7867
|
* More information about standalone components, directives, and pipes can be found in [this
|
|
7872
|
-
* guide](guide/
|
|
7868
|
+
* guide](guide/components/importing).
|
|
7873
7869
|
*/
|
|
7874
7870
|
standalone?: boolean;
|
|
7875
7871
|
}
|
|
@@ -7904,7 +7900,7 @@ export declare interface PipeDecorator {
|
|
|
7904
7900
|
* to a template. To make it a member of an NgModule,
|
|
7905
7901
|
* list it in the `declarations` field of the `NgModule` metadata.
|
|
7906
7902
|
*
|
|
7907
|
-
* @see [Style Guide: Pipe Names](guide
|
|
7903
|
+
* @see [Style Guide: Pipe Names](style-guide#02-09)
|
|
7908
7904
|
*
|
|
7909
7905
|
*/
|
|
7910
7906
|
(obj: Pipe): TypeDecorator;
|
|
@@ -8103,7 +8099,7 @@ declare type ProjectionSlots = (ɵCssSelectorList | '*')[];
|
|
|
8103
8099
|
|
|
8104
8100
|
/**
|
|
8105
8101
|
* Describes how the `Injector` should be configured.
|
|
8106
|
-
* @see [Dependency Injection Guide](guide/dependency-injection
|
|
8102
|
+
* @see [Dependency Injection Guide](guide/di/dependency-injection.
|
|
8107
8103
|
*
|
|
8108
8104
|
* @see {@link StaticProvider}
|
|
8109
8105
|
*
|
|
@@ -8957,7 +8953,7 @@ declare interface RText extends RNode {
|
|
|
8957
8953
|
}
|
|
8958
8954
|
|
|
8959
8955
|
/**
|
|
8960
|
-
* Runs the given function in the [context](guide/dependency-injection-context) of the given
|
|
8956
|
+
* Runs the given function in the [context](guide/di/dependency-injection-context) of the given
|
|
8961
8957
|
* `Injector`.
|
|
8962
8958
|
*
|
|
8963
8959
|
* Within the function's stack frame, [`inject`](api/core/inject) can be used to inject dependencies
|
|
@@ -9290,7 +9286,7 @@ export declare interface SkipSelfDecorator {
|
|
|
9290
9286
|
* <code-example path="core/di/ts/metadata_spec.ts" region="SkipSelf">
|
|
9291
9287
|
* </code-example>
|
|
9292
9288
|
*
|
|
9293
|
-
* @see [Dependency Injection guide](guide/
|
|
9289
|
+
* @see [Dependency Injection guide](guide/di/di-in-action#skip).
|
|
9294
9290
|
* @see {@link Self}
|
|
9295
9291
|
* @see {@link Optional}
|
|
9296
9292
|
*
|
|
@@ -9336,7 +9332,7 @@ export declare type StateKey<T> = string & {
|
|
|
9336
9332
|
|
|
9337
9333
|
/**
|
|
9338
9334
|
* Configures the `Injector` to return an instance of `useClass` for a token.
|
|
9339
|
-
* @see [Dependency Injection Guide](guide/dependency-injection
|
|
9335
|
+
* @see [Dependency Injection Guide](guide/di/dependency-injection.
|
|
9340
9336
|
*
|
|
9341
9337
|
* @usageNotes
|
|
9342
9338
|
*
|
|
@@ -9388,7 +9384,7 @@ export declare interface StaticClassSansProvider {
|
|
|
9388
9384
|
* A static provider provides tokens to an injector for various types of dependencies.
|
|
9389
9385
|
*
|
|
9390
9386
|
* @see {@link Injector.create()}
|
|
9391
|
-
* @see [Dependency Injection Guide](guide/dependency-injection-providers).
|
|
9387
|
+
* @see [Dependency Injection Guide](guide/di/dependency-injection-providers).
|
|
9392
9388
|
*
|
|
9393
9389
|
* @publicApi
|
|
9394
9390
|
*/
|
|
@@ -9577,7 +9573,6 @@ declare const TEMPLATE_ID = "i";
|
|
|
9577
9573
|
* a component or a directive.
|
|
9578
9574
|
*
|
|
9579
9575
|
* @see {@link ViewContainerRef}
|
|
9580
|
-
* @see [Navigate the Component Tree with DI](guide/dependency-injection-navtree)
|
|
9581
9576
|
*
|
|
9582
9577
|
* @publicApi
|
|
9583
9578
|
*/
|
|
@@ -9585,8 +9580,8 @@ export declare abstract class TemplateRef<C> {
|
|
|
9585
9580
|
/**
|
|
9586
9581
|
* The anchor element in the parent view for this embedded view.
|
|
9587
9582
|
*
|
|
9588
|
-
* The data-binding and [injection contexts](guide/dependency-injection-context) of embedded
|
|
9589
|
-
* created from this `TemplateRef` inherit from the contexts of this location.
|
|
9583
|
+
* The data-binding and [injection contexts](guide/di/dependency-injection-context) of embedded
|
|
9584
|
+
* views created from this `TemplateRef` inherit from the contexts of this location.
|
|
9590
9585
|
*
|
|
9591
9586
|
* Typically new embedded views are attached to the view container of this location, but in
|
|
9592
9587
|
* advanced use-cases, the view can be attached to a different container while keeping the
|
|
@@ -10544,7 +10539,7 @@ export declare class TransferState {
|
|
|
10544
10539
|
* Use this token at bootstrap to provide the content of your translation file (`xtb`,
|
|
10545
10540
|
* `xlf` or `xlf2`) when you want to translate your application in another language.
|
|
10546
10541
|
*
|
|
10547
|
-
* See the [i18n guide](guide/i18n
|
|
10542
|
+
* See the [i18n guide](guide/i18n/merge) for more information.
|
|
10548
10543
|
*
|
|
10549
10544
|
* @usageNotes
|
|
10550
10545
|
* ### Example
|
|
@@ -10570,7 +10565,7 @@ export declare const TRANSLATIONS: InjectionToken<string>;
|
|
|
10570
10565
|
* Provide this token at bootstrap to set the format of your {@link TRANSLATIONS}: `xtb`,
|
|
10571
10566
|
* `xlf` or `xlf2`.
|
|
10572
10567
|
*
|
|
10573
|
-
* See the [i18n guide](guide/i18n
|
|
10568
|
+
* See the [i18n guide](guide/i18n/merge) for more information.
|
|
10574
10569
|
*
|
|
10575
10570
|
* @usageNotes
|
|
10576
10571
|
* ### Example
|
|
@@ -11065,7 +11060,7 @@ declare type TypeOrFactory<T> = T | (() => T);
|
|
|
11065
11060
|
* Create an instance by invoking the `new` operator and supplying additional arguments.
|
|
11066
11061
|
* This form is a short form of `TypeProvider`;
|
|
11067
11062
|
*
|
|
11068
|
-
* For more details, see the ["Dependency Injection Guide"](guide/dependency-injection
|
|
11063
|
+
* For more details, see the ["Dependency Injection Guide"](guide/di/dependency-injection.
|
|
11069
11064
|
*
|
|
11070
11065
|
* @usageNotes
|
|
11071
11066
|
*
|
|
@@ -11090,7 +11085,7 @@ export declare type ValueEqualityFn<T> = (a: T, b: T) => boolean;
|
|
|
11090
11085
|
|
|
11091
11086
|
/**
|
|
11092
11087
|
* Configures the `Injector` to return a value for a token.
|
|
11093
|
-
* @see [Dependency Injection Guide](guide/dependency-injection
|
|
11088
|
+
* @see [Dependency Injection Guide](guide/di/dependency-injection.
|
|
11094
11089
|
*
|
|
11095
11090
|
* @usageNotes
|
|
11096
11091
|
*
|
|
@@ -12291,7 +12286,7 @@ export declare interface ɵDirectiveDef<T> {
|
|
|
12291
12286
|
* (along with flags if there are any).
|
|
12292
12287
|
*/
|
|
12293
12288
|
readonly inputs: {
|
|
12294
|
-
[P in keyof T]?: string | [minifiedName: string, flags:
|
|
12289
|
+
[P in keyof T]?: string | [minifiedName: string, flags: InputFlags];
|
|
12295
12290
|
};
|
|
12296
12291
|
/**
|
|
12297
12292
|
* A dictionary mapping the private names of inputs to their transformation functions.
|
|
@@ -12309,7 +12304,7 @@ export declare interface ɵDirectiveDef<T> {
|
|
|
12309
12304
|
* used to do further processing after the `inputs` have been inverted.
|
|
12310
12305
|
*/
|
|
12311
12306
|
readonly inputConfig: {
|
|
12312
|
-
[P in keyof T]?: string | [
|
|
12307
|
+
[P in keyof T]?: string | [InputFlags, string, string?, InputTransformFunction?];
|
|
12313
12308
|
};
|
|
12314
12309
|
/**
|
|
12315
12310
|
* @deprecated This is only here because `NgOnChanges` incorrectly uses declared name instead of
|
|
@@ -12464,7 +12459,7 @@ export declare const enum ɵExtraLocaleDataIndex {
|
|
|
12464
12459
|
*
|
|
12465
12460
|
* @param locale The locale code.
|
|
12466
12461
|
* @returns The locale data.
|
|
12467
|
-
* @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n
|
|
12462
|
+
* @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)
|
|
12468
12463
|
*/
|
|
12469
12464
|
export declare function ɵfindLocaleData(locale: string): any;
|
|
12470
12465
|
|
|
@@ -12585,7 +12580,7 @@ export declare function ɵgetLocaleCurrencyCode(locale: string): string | null;
|
|
|
12585
12580
|
* @param locale A locale code for the locale format rules to use.
|
|
12586
12581
|
* @returns The plural function for the locale.
|
|
12587
12582
|
* @see {@link NgPlural}
|
|
12588
|
-
* @see [Internationalization (i18n) Guide](
|
|
12583
|
+
* @see [Internationalization (i18n) Guide](guide/i18n)
|
|
12589
12584
|
*/
|
|
12590
12585
|
export declare function ɵgetLocalePluralCase(locale: string): (value: number) => number;
|
|
12591
12586
|
|
|
@@ -12648,7 +12643,7 @@ export declare const ɵIMAGE_CONFIG_DEFAULTS: ɵImageConfig;
|
|
|
12648
12643
|
* - disableImageLazyLoadWarning: A boolean value. Setting this to true will
|
|
12649
12644
|
* disable console warnings about LCP images configured with `loading="lazy"`.
|
|
12650
12645
|
* Learn more about the responsive image configuration in [the NgOptimizedImage
|
|
12651
|
-
* guide](guide/image-
|
|
12646
|
+
* guide](guide/image-optimization).
|
|
12652
12647
|
* Learn more about image warning options in [the related error page](errors/NG0913).
|
|
12653
12648
|
* @publicApi
|
|
12654
12649
|
*/
|
|
@@ -13191,7 +13186,7 @@ export declare class ɵReflectionCapabilities implements PlatformReflectionCapab
|
|
|
13191
13186
|
|
|
13192
13187
|
/**
|
|
13193
13188
|
* Register locale data to be used internally by Angular. See the
|
|
13194
|
-
* ["I18n guide"](guide/i18n
|
|
13189
|
+
* ["I18n guide"](guide/i18n/format-data-locale) to know how to import additional locale
|
|
13195
13190
|
* data.
|
|
13196
13191
|
*
|
|
13197
13192
|
* The signature `registerLocaleData(data: any, extraData?: any)` is deprecated since v5.1
|
|
@@ -15390,14 +15385,6 @@ export declare interface ɵɵInjectorDef<T> {
|
|
|
15390
15385
|
imports: (InjectorType<any> | InjectorTypeWithProviders<any>)[];
|
|
15391
15386
|
}
|
|
15392
15387
|
|
|
15393
|
-
|
|
15394
|
-
/** Flags describing an input for a directive. */
|
|
15395
|
-
export declare enum ɵɵInputFlags {
|
|
15396
|
-
None = 0,
|
|
15397
|
-
SignalBased = 1,
|
|
15398
|
-
HasDecoratorInputTransform = 2
|
|
15399
|
-
}
|
|
15400
|
-
|
|
15401
15388
|
/**
|
|
15402
15389
|
* Decorates the directive definition with support for input transform functions.
|
|
15403
15390
|
*
|