@angular/core 21.0.0-next.8 → 21.0.0-rc.0
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/_attribute-chunk.mjs +2 -14
- package/fesm2022/_attribute-chunk.mjs.map +1 -1
- package/fesm2022/_debug_node-chunk.mjs +15214 -28375
- package/fesm2022/_debug_node-chunk.mjs.map +1 -1
- package/fesm2022/_effect-chunk.mjs +402 -120
- package/fesm2022/_effect-chunk.mjs.map +1 -1
- package/fesm2022/_effect-chunk2.mjs +2951 -0
- package/fesm2022/_effect-chunk2.mjs.map +1 -0
- package/fesm2022/_not_found-chunk.mjs +18 -35
- package/fesm2022/_not_found-chunk.mjs.map +1 -1
- package/fesm2022/_resource-chunk.mjs +316 -563
- package/fesm2022/_resource-chunk.mjs.map +1 -1
- package/fesm2022/_untracked-chunk.mjs +96 -0
- package/fesm2022/_untracked-chunk.mjs.map +1 -0
- package/fesm2022/_weak_ref-chunk.mjs +2 -4
- package/fesm2022/_weak_ref-chunk.mjs.map +1 -1
- package/fesm2022/core.mjs +2466 -4309
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives-di.mjs +9 -9
- package/fesm2022/primitives-di.mjs.map +1 -1
- package/fesm2022/primitives-event-dispatch.mjs +626 -1460
- package/fesm2022/primitives-event-dispatch.mjs.map +1 -1
- package/fesm2022/primitives-signals.mjs +157 -191
- package/fesm2022/primitives-signals.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +208 -308
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +2305 -3164
- package/fesm2022/testing.mjs.map +1 -1
- package/package.json +8 -2
- package/resources/best-practices.md +56 -0
- package/schematics/bundles/add-bootstrap-context-to-server-main.cjs +7 -25
- package/schematics/bundles/application-config-core.cjs +8 -19
- package/schematics/bundles/{apply_import_manager-CBLmogDD.cjs → apply_import_manager-1Zs_gpB6.cjs} +4 -5
- package/schematics/bundles/bootstrap-options-migration.cjs +93 -132
- package/schematics/bundles/cleanup-unused-imports.cjs +9 -13
- package/schematics/bundles/common-to-standalone-migration.cjs +381 -0
- package/schematics/bundles/{compiler_host-T6xncpiw.cjs → compiler_host-DBwYMlTo.cjs} +10 -11
- package/schematics/bundles/control-flow-migration.cjs +29 -31
- package/schematics/bundles/{imports-DwPXlGFl.cjs → imports-DP72APSx.cjs} +1 -23
- package/schematics/bundles/{index-DWSaRJdz.cjs → index-B7I9sIUx.cjs} +36 -37
- package/schematics/bundles/inject-migration.cjs +9 -26
- package/schematics/bundles/leading_space-D9nQ8UQC.cjs +1 -1
- package/schematics/bundles/{migrate_ts_type_references-Cu-FR4L5.cjs → migrate_ts_type_references-UGIUl7En.cjs} +458 -24
- package/schematics/bundles/{ng_component_template-BkWiUuGG.cjs → ng_component_template-Dsuq1Lw7.cjs} +4 -5
- package/schematics/bundles/{ng_decorators-BI0uV7KI.cjs → ng_decorators-DSFlWYQY.cjs} +2 -2
- package/schematics/bundles/ngclass-to-class-migration.cjs +16 -19
- package/schematics/bundles/ngstyle-to-style-migration.cjs +15 -18
- package/schematics/bundles/nodes-B16H9JUd.cjs +1 -1
- package/schematics/bundles/output-migration.cjs +16 -19
- package/schematics/bundles/{parse_html-C97tKKp3.cjs → parse_html-8VLCL37B.cjs} +5 -5
- package/schematics/bundles/{project_paths-C6g3lqjX.cjs → project_paths-DvD50ouC.cjs} +14 -247
- package/schematics/bundles/project_tsconfig_paths-CDVxT6Ov.cjs +90 -0
- package/schematics/bundles/property_name-BBwFuqMe.cjs +1 -1
- package/schematics/bundles/route-lazy-loading.cjs +9 -25
- package/schematics/bundles/router-current-navigation.cjs +6 -17
- package/schematics/bundles/router-last-successful-navigation.cjs +6 -17
- package/schematics/bundles/router-testing-module-migration.cjs +7 -18
- package/schematics/bundles/self-closing-tags-migration.cjs +14 -17
- package/schematics/bundles/signal-input-migration.cjs +23 -26
- package/schematics/bundles/signal-queries-migration.cjs +22 -25
- package/schematics/bundles/signals.cjs +10 -13
- package/schematics/bundles/standalone-migration.cjs +22 -56
- package/schematics/bundles/symbol-BObKoqes.cjs +1 -1
- package/schematics/collection.json +6 -0
- package/schematics/migrations/common-to-standalone-migration/schema.json +14 -0
- package/types/_api-chunk.d.ts +1 -1
- package/types/_chrome_dev_tools_performance-chunk.d.ts +20 -12
- package/types/_discovery-chunk.d.ts +18 -14
- package/types/_effect-chunk.d.ts +1 -1
- package/types/_event_dispatcher-chunk.d.ts +1 -1
- package/types/_formatter-chunk.d.ts +4 -3
- package/types/_weak_ref-chunk.d.ts +1 -1
- package/types/core.d.ts +49 -100
- package/types/primitives-di.d.ts +1 -1
- package/types/primitives-event-dispatch.d.ts +1 -1
- package/types/primitives-signals.d.ts +2 -2
- package/types/rxjs-interop.d.ts +1 -1
- package/types/testing.d.ts +1 -1
- package/fesm2022/_root_effect_scheduler-chunk.mjs +0 -4630
- package/fesm2022/_root_effect_scheduler-chunk.mjs.map +0 -1
- package/fesm2022/_signal-chunk.mjs +0 -581
- package/fesm2022/_signal-chunk.mjs.map +0 -1
- package/schematics/bundles/index-BnmACOsq.cjs +0 -22319
- package/schematics/bundles/project_tsconfig_paths-CdhVNYMk.cjs +0 -51583
package/types/core.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.0-
|
|
2
|
+
* @license Angular v21.0.0-rc.0
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { SIGNAL } from './_formatter-chunk.js';
|
|
7
|
+
import { SIGNAL, ReactiveNodeKind } from './_formatter-chunk.js';
|
|
8
8
|
import { Signal, WritableSignal, OutputRef, Provider, EnvironmentProviders, Type as Type$1, ModuleWithProviders, TypeProvider, ValueProvider, ClassProvider, ConstructorProvider, ExistingProvider, FactoryProvider, StaticClassProvider, ProviderToken, StaticProvider, Injector, ValueSansProvider, ExistingSansProvider, StaticClassSansProvider, ConstructorSansProvider, FactorySansProvider, ClassSansProvider, InjectionToken, InternalInjectFlags, InjectOptions, ValueEqualityFn, EventCallback, isSignal, enableProfiling as enableProfiling$1 } from './_chrome_dev_tools_performance-chunk.js';
|
|
9
9
|
export { AbstractType, CreateSignalOptions, DestroyRef, DestroyableInjector, OutputRefSubscription, signal, InternalEnvironmentProviders as ɵInternalEnvironmentProviders, JSACTION_EVENT_CONTRACT as ɵJSACTION_EVENT_CONTRACT, Writable as ɵWritable, isEnvironmentProviders as ɵisEnvironmentProviders, ɵunwrapWritableSignal } from './_chrome_dev_tools_performance-chunk.js';
|
|
10
10
|
import { InputSignalNode, TypeDecorator, AfterRenderRef, EffectCleanupRegisterFn, SchemaMetadata, ComponentDef, DirectiveDef, CssSelectorList, DirectiveDefFeature, HostBindingsFunction, TAttributes, ContentQueriesFunction, ViewQueriesFunction, ComponentTemplate, TConstantsOrFactory, ComponentDefFeature, ViewEncapsulation as ViewEncapsulation$1, ChangeDetectionStrategy as ChangeDetectionStrategy$1, TypeOrFactory, DependencyTypeList, InputFlags, InputTransformFunction, EmbeddedViewRef, LView, ApplicationRef, ChangeDetectorRef, ComponentFactory as ComponentFactory$1, NgModuleRef as NgModuleRef$1, EnvironmentInjector, DirectiveWithBindings, Binding, ComponentRef as ComponentRef$1, ElementRef, ComponentFactoryResolver as ComponentFactoryResolver$1, InternalNgModuleRef, NgModuleFactory as NgModuleFactory$1, ViewRef as ViewRef$1, PlatformRef, NgZone, ɵɵFactoryDeclaration as __FactoryDeclaration, ɵɵInjectableDeclaration as __InjectableDeclaration, ɵɵNgModuleDeclaration as __NgModuleDeclaration, ɵɵInjectorDeclaration as __InjectorDeclaration, DeferBlockDependencyInterceptor, DeferBlockConfig, DeferBlockState, TNode, LContainer, TView, TDeferBlockDetails, RNode, Component, TrustedHTML, DehydratedDeferBlock, CompilerOptions, HostDirectiveConfig, ComponentType, NgModuleScopeInfoFromDecorator, DependencyResolverFn, TDeferDetailsFlags, SanitizerFn, AnimationFunction, LocalRefExtractor, OpaqueViewState, GlobalTargetResolver, ProjectionSlots, QueryFlags, QueryList, RElement, RawScopeInfoFromDecorator, ClassDebugInfo, Directive, NgModule, Pipe, TrustedScriptURL, TrustedScript, PipeType, DirectiveType } from './_discovery-chunk.js';
|
|
@@ -612,11 +612,11 @@ declare const Attribute: AttributeDecorator;
|
|
|
612
612
|
*
|
|
613
613
|
* @publicApi
|
|
614
614
|
*/
|
|
615
|
-
declare class SimpleChange {
|
|
616
|
-
previousValue:
|
|
617
|
-
currentValue:
|
|
615
|
+
declare class SimpleChange<T = any> {
|
|
616
|
+
previousValue: T;
|
|
617
|
+
currentValue: T;
|
|
618
618
|
firstChange: boolean;
|
|
619
|
-
constructor(previousValue:
|
|
619
|
+
constructor(previousValue: T, currentValue: T, firstChange: boolean);
|
|
620
620
|
/**
|
|
621
621
|
* Check whether the new value is the first value assigned.
|
|
622
622
|
*/
|
|
@@ -625,15 +625,20 @@ declare class SimpleChange {
|
|
|
625
625
|
/**
|
|
626
626
|
* A hashtable of changes represented by {@link SimpleChange} objects stored
|
|
627
627
|
* at the declared property name they belong to on a Directive or Component. This is
|
|
628
|
-
* the type passed to the `ngOnChanges` hook.
|
|
628
|
+
* the type passed to the `ngOnChanges` hook. Pass the current class or `this` as the
|
|
629
|
+
* first generic argument for stronger type checking (e.g. `SimpleChanges<YourComponent>`).
|
|
629
630
|
*
|
|
630
631
|
* @see {@link OnChanges}
|
|
631
632
|
*
|
|
632
633
|
* @publicApi
|
|
633
634
|
*/
|
|
634
|
-
|
|
635
|
+
type SimpleChanges<T = unknown> = T extends object ? {
|
|
636
|
+
[Key in keyof T]?: SimpleChange<T[Key] extends {
|
|
637
|
+
[ɵINPUT_SIGNAL_BRAND_READ_TYPE]: infer V;
|
|
638
|
+
} ? V : T[Key]>;
|
|
639
|
+
} : {
|
|
635
640
|
[propName: string]: SimpleChange;
|
|
636
|
-
}
|
|
641
|
+
};
|
|
637
642
|
|
|
638
643
|
/**
|
|
639
644
|
* @description
|
|
@@ -1432,7 +1437,7 @@ interface InjectDecorator {
|
|
|
1432
1437
|
*
|
|
1433
1438
|
* {@example core/di/ts/metadata_spec.ts region='InjectWithoutDecorator'}
|
|
1434
1439
|
*
|
|
1435
|
-
* @see [Dependency Injection Guide](guide/di/dependency-injection
|
|
1440
|
+
* @see [Dependency Injection Guide](guide/di/dependency-injection)
|
|
1436
1441
|
*
|
|
1437
1442
|
*/
|
|
1438
1443
|
(token: any): any;
|
|
@@ -1476,7 +1481,7 @@ interface OptionalDecorator {
|
|
|
1476
1481
|
*
|
|
1477
1482
|
* {@example core/di/ts/metadata_spec.ts region='Optional'}
|
|
1478
1483
|
*
|
|
1479
|
-
* @see [Dependency Injection Guide](guide/di/dependency-injection
|
|
1484
|
+
* @see [Dependency Injection Guide](guide/di/dependency-injection)
|
|
1480
1485
|
*/
|
|
1481
1486
|
(): any;
|
|
1482
1487
|
new (): Optional;
|
|
@@ -1729,7 +1734,7 @@ interface InjectableDecorator {
|
|
|
1729
1734
|
* provided and injected as a dependency.
|
|
1730
1735
|
*
|
|
1731
1736
|
* @see [Introduction to Services and DI](guide/di)
|
|
1732
|
-
* @see [Dependency Injection Guide](guide/di/dependency-injection
|
|
1737
|
+
* @see [Dependency Injection Guide](guide/di/dependency-injection)
|
|
1733
1738
|
*
|
|
1734
1739
|
* @usageNotes
|
|
1735
1740
|
*
|
|
@@ -1800,13 +1805,6 @@ declare const Injectable: InjectableDecorator;
|
|
|
1800
1805
|
*/
|
|
1801
1806
|
declare const ENVIRONMENT_INITIALIZER: InjectionToken<readonly (() => void)[]>;
|
|
1802
1807
|
|
|
1803
|
-
/*!
|
|
1804
|
-
* @license
|
|
1805
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1806
|
-
*
|
|
1807
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1808
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
1809
|
-
*/
|
|
1810
1808
|
/**
|
|
1811
1809
|
* Creates a token that can be used to inject static attributes of the host node.
|
|
1812
1810
|
*
|
|
@@ -5610,13 +5608,6 @@ declare class ResourceImpl<T, R> extends BaseWritableResource<T> implements Reso
|
|
|
5610
5608
|
}
|
|
5611
5609
|
declare function encapsulateResourceError(error: unknown): Error;
|
|
5612
5610
|
|
|
5613
|
-
/*!
|
|
5614
|
-
* @license
|
|
5615
|
-
* Copyright Google LLC All Rights Reserved.
|
|
5616
|
-
*
|
|
5617
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
5618
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
5619
|
-
*/
|
|
5620
5611
|
/**
|
|
5621
5612
|
* Gets the class name of the closest component to a node.
|
|
5622
5613
|
* Warning! this function will return minified names if the name of the component is minified. The
|
|
@@ -5703,13 +5694,6 @@ declare class TimerScheduler {
|
|
|
5703
5694
|
static ɵprov: unknown;
|
|
5704
5695
|
}
|
|
5705
5696
|
|
|
5706
|
-
/*!
|
|
5707
|
-
* @license
|
|
5708
|
-
* Copyright Google LLC All Rights Reserved.
|
|
5709
|
-
*
|
|
5710
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
5711
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
5712
|
-
*/
|
|
5713
5697
|
/**
|
|
5714
5698
|
* Utility function used during template type checking to assert that a value is of a certain type.
|
|
5715
5699
|
* @codeGenApi
|
|
@@ -6462,13 +6446,6 @@ declare function ɵɵanimateLeave(value: string | Function): typeof ɵɵanimateL
|
|
|
6462
6446
|
*/
|
|
6463
6447
|
declare function ɵɵanimateLeaveListener(value: AnimationFunction): typeof ɵɵanimateLeaveListener;
|
|
6464
6448
|
|
|
6465
|
-
/*!
|
|
6466
|
-
* @license
|
|
6467
|
-
* Copyright Google LLC All Rights Reserved.
|
|
6468
|
-
*
|
|
6469
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6470
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
6471
|
-
*/
|
|
6472
6449
|
/**
|
|
6473
6450
|
* Instruction that returns the component instance in which the current instruction is executing.
|
|
6474
6451
|
* This is a constant-time version of `nextContent` for the case where we know that we need the
|
|
@@ -7608,14 +7585,6 @@ declare function ɵɵtextInterpolate8(prefix: string, v0: any, i0: string, v1: a
|
|
|
7608
7585
|
*/
|
|
7609
7586
|
declare function ɵɵtextInterpolateV(values: any[]): typeof ɵɵtextInterpolateV;
|
|
7610
7587
|
|
|
7611
|
-
/*!
|
|
7612
|
-
* @license
|
|
7613
|
-
* Copyright Google LLC All Rights Reserved.
|
|
7614
|
-
*
|
|
7615
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
7616
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
7617
|
-
*/
|
|
7618
|
-
|
|
7619
7588
|
/**
|
|
7620
7589
|
* Update a two-way bound property on a selected element.
|
|
7621
7590
|
*
|
|
@@ -7649,13 +7618,6 @@ declare function ɵɵtwoWayBindingSet<T>(target: unknown, value: T): boolean;
|
|
|
7649
7618
|
*/
|
|
7650
7619
|
declare function ɵɵtwoWayListener(eventName: string, listenerFn: EventCallback): typeof ɵɵtwoWayListener;
|
|
7651
7620
|
|
|
7652
|
-
/*!
|
|
7653
|
-
* @license
|
|
7654
|
-
* Copyright Google LLC All Rights Reserved.
|
|
7655
|
-
*
|
|
7656
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
7657
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
7658
|
-
*/
|
|
7659
7621
|
/**
|
|
7660
7622
|
* Declares an `@let` at a specific data slot. Returns itself to allow chaining.
|
|
7661
7623
|
*
|
|
@@ -7680,13 +7642,6 @@ declare function ɵɵstoreLet<T>(value: T): T;
|
|
|
7680
7642
|
*/
|
|
7681
7643
|
declare function ɵɵreadContextLet<T>(index: number): T;
|
|
7682
7644
|
|
|
7683
|
-
/*!
|
|
7684
|
-
* @license
|
|
7685
|
-
* Copyright Google LLC All Rights Reserved.
|
|
7686
|
-
*
|
|
7687
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
7688
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
7689
|
-
*/
|
|
7690
7645
|
/**
|
|
7691
7646
|
* Sets the location within the source template at which
|
|
7692
7647
|
* each element in the current view was defined.
|
|
@@ -7699,14 +7654,6 @@ declare function ɵɵreadContextLet<T>(index: number): T;
|
|
|
7699
7654
|
*/
|
|
7700
7655
|
declare function ɵɵattachSourceLocations(templatePath: string, locations: [index: number, offset: number, line: number, column: number][]): void;
|
|
7701
7656
|
|
|
7702
|
-
/*!
|
|
7703
|
-
* @license
|
|
7704
|
-
* Copyright Google LLC All Rights Reserved.
|
|
7705
|
-
*
|
|
7706
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
7707
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
7708
|
-
*/
|
|
7709
|
-
|
|
7710
7657
|
/**
|
|
7711
7658
|
* Interpolate a value with a single bound value and no prefixes or suffixes.
|
|
7712
7659
|
*
|
|
@@ -8161,14 +8108,6 @@ declare function ɵɵgetComponentDepsFactory(type: ComponentType<any>, rawImport
|
|
|
8161
8108
|
*/
|
|
8162
8109
|
declare function ɵsetClassDebugInfo(type: Type$1<any>, debugInfo: ClassDebugInfo): void;
|
|
8163
8110
|
|
|
8164
|
-
/*!
|
|
8165
|
-
* @license
|
|
8166
|
-
* Copyright Google LLC All Rights Reserved.
|
|
8167
|
-
*
|
|
8168
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
8169
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
8170
|
-
*/
|
|
8171
|
-
|
|
8172
8111
|
/** Represents `import.meta` plus some information that's not in the built-in types. */
|
|
8173
8112
|
type ImportMetaExtended = ImportMeta & {
|
|
8174
8113
|
hot?: {
|
|
@@ -8218,7 +8157,27 @@ interface ɵControl<T> {
|
|
|
8218
8157
|
* the component will forward the bound field to another field directive in its own template,
|
|
8219
8158
|
* and do nothing.
|
|
8220
8159
|
*/
|
|
8221
|
-
|
|
8160
|
+
ɵregister(): void;
|
|
8161
|
+
/**
|
|
8162
|
+
* Indicates whether this field is bound to an interoperable control.
|
|
8163
|
+
*
|
|
8164
|
+
* This is used for interoperability between signal forms and reactive forms.
|
|
8165
|
+
*/
|
|
8166
|
+
readonly ɵhasInteropControl: boolean;
|
|
8167
|
+
/**
|
|
8168
|
+
* Adds event listeners to the associated interoperable control.
|
|
8169
|
+
*
|
|
8170
|
+
* This method should only be called from a template function in create mode if this
|
|
8171
|
+
* {@link ɵhasInteropControl}.
|
|
8172
|
+
*/
|
|
8173
|
+
ɵinteropControlCreate(): void;
|
|
8174
|
+
/**
|
|
8175
|
+
* Updates the associated interoperable control.
|
|
8176
|
+
*
|
|
8177
|
+
* This method should only be called from a template function in update mode if this
|
|
8178
|
+
* {@link ɵhasInteropControl}.
|
|
8179
|
+
*/
|
|
8180
|
+
ɵinteropControlUpdate(): void;
|
|
8222
8181
|
}
|
|
8223
8182
|
/**
|
|
8224
8183
|
* The state of a form field to be synchronized with its bound control.
|
|
@@ -8228,6 +8187,10 @@ interface ɵFieldState<T> {
|
|
|
8228
8187
|
* A signal containing the current errors for the field.
|
|
8229
8188
|
*/
|
|
8230
8189
|
readonly errors: Signal<unknown>;
|
|
8190
|
+
/**
|
|
8191
|
+
* A signal indicating whether the field is valid.
|
|
8192
|
+
*/
|
|
8193
|
+
readonly invalid: Signal<boolean>;
|
|
8231
8194
|
/**
|
|
8232
8195
|
* A signal indicating whether the field is currently disabled.
|
|
8233
8196
|
*/
|
|
@@ -8241,25 +8204,25 @@ interface ɵFieldState<T> {
|
|
|
8241
8204
|
*
|
|
8242
8205
|
* Applies to `<input>` with a numeric or date `type` attribute and custom controls.
|
|
8243
8206
|
*/
|
|
8244
|
-
readonly max
|
|
8207
|
+
readonly max?: Signal<number | undefined>;
|
|
8245
8208
|
/**
|
|
8246
8209
|
* A signal indicating the field's maximum string length, if applicable.
|
|
8247
8210
|
*
|
|
8248
8211
|
* Applies to `<input>`, `<textarea>`, and custom controls.
|
|
8249
8212
|
*/
|
|
8250
|
-
readonly maxLength
|
|
8213
|
+
readonly maxLength?: Signal<number | undefined>;
|
|
8251
8214
|
/**
|
|
8252
8215
|
* A signal indicating the field's minimum value, if applicable.
|
|
8253
8216
|
*
|
|
8254
8217
|
* Applies to `<input>` with a numeric or date `type` attribute and custom controls.
|
|
8255
8218
|
*/
|
|
8256
|
-
readonly min
|
|
8219
|
+
readonly min?: Signal<number | undefined>;
|
|
8257
8220
|
/**
|
|
8258
8221
|
* A signal indicating the field's minimum string length, if applicable.
|
|
8259
8222
|
*
|
|
8260
8223
|
* Applies to `<input>`, `<textarea>`, and custom controls.
|
|
8261
8224
|
*/
|
|
8262
|
-
readonly minLength
|
|
8225
|
+
readonly minLength?: Signal<number | undefined>;
|
|
8263
8226
|
/**
|
|
8264
8227
|
* A signal of a unique name for the field, by default based on the name of its parent field.
|
|
8265
8228
|
*/
|
|
@@ -8267,7 +8230,7 @@ interface ɵFieldState<T> {
|
|
|
8267
8230
|
/**
|
|
8268
8231
|
* A signal indicating the patterns the field must match.
|
|
8269
8232
|
*/
|
|
8270
|
-
readonly pattern
|
|
8233
|
+
readonly pattern?: Signal<readonly RegExp[]>;
|
|
8271
8234
|
/**
|
|
8272
8235
|
* A signal indicating whether the field is currently readonly.
|
|
8273
8236
|
*/
|
|
@@ -8275,7 +8238,7 @@ interface ɵFieldState<T> {
|
|
|
8275
8238
|
/**
|
|
8276
8239
|
* A signal indicating whether the field is required.
|
|
8277
8240
|
*/
|
|
8278
|
-
readonly required
|
|
8241
|
+
readonly required?: Signal<boolean>;
|
|
8279
8242
|
/**
|
|
8280
8243
|
* A signal indicating whether the field has been touched by the user.
|
|
8281
8244
|
*/
|
|
@@ -8579,13 +8542,6 @@ declare function isNgModule<T>(value: Type$1<T>): value is Type$1<T> & {
|
|
|
8579
8542
|
ɵmod: NgModuleDef<T>;
|
|
8580
8543
|
};
|
|
8581
8544
|
|
|
8582
|
-
/*!
|
|
8583
|
-
* @license
|
|
8584
|
-
* Copyright Google LLC All Rights Reserved.
|
|
8585
|
-
*
|
|
8586
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
8587
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
8588
|
-
*/
|
|
8589
8545
|
/**
|
|
8590
8546
|
* Profiler events is an enum used by the profiler to distinguish between different calls of user
|
|
8591
8547
|
* code invoked throughout the application lifecycle.
|
|
@@ -8737,13 +8693,6 @@ declare function setProfiler(profiler: Profiler | null): () => void;
|
|
|
8737
8693
|
*/
|
|
8738
8694
|
declare function applyChanges(component: {}): void;
|
|
8739
8695
|
|
|
8740
|
-
/*!
|
|
8741
|
-
* @license
|
|
8742
|
-
* Copyright Google LLC All Rights Reserved.
|
|
8743
|
-
*
|
|
8744
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
8745
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
8746
|
-
*/
|
|
8747
8696
|
/** Retrieved information about a `@defer` block. */
|
|
8748
8697
|
interface DeferBlockData {
|
|
8749
8698
|
/** Current state of the block. */
|
|
@@ -8830,7 +8779,7 @@ declare function getInjectorMetadata(injector: Injector): {
|
|
|
8830
8779
|
declare function getInjectorResolutionPath(injector: Injector): Injector[];
|
|
8831
8780
|
|
|
8832
8781
|
interface DebugSignalGraphNode {
|
|
8833
|
-
kind:
|
|
8782
|
+
kind: ReactiveNodeKind;
|
|
8834
8783
|
id: string;
|
|
8835
8784
|
epoch: number;
|
|
8836
8785
|
label?: string;
|
package/types/primitives-di.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.0-
|
|
2
|
+
* @license Angular v21.0.0-rc.0
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import { ReactiveNode, ValueEqualityFn, SIGNAL } from './_formatter-chunk.js';
|
|
8
|
-
export { REACTIVE_NODE, Reactive, ReactiveHookFn, consumerAfterComputation, consumerBeforeComputation, consumerDestroy, consumerMarkDirty, consumerPollProducersForChange, defaultEquals, finalizeConsumerAfterComputation, getActiveConsumer, installDevToolsSignalFormatter, isInNotificationPhase, isReactive, producerAccessed, producerIncrementEpoch, producerMarkClean, producerNotifyConsumers, producerUpdateValueVersion, producerUpdatesAllowed, resetConsumerBeforeComputation, runPostProducerCreatedFn, setActiveConsumer, setPostProducerCreatedFn } from './_formatter-chunk.js';
|
|
8
|
+
export { REACTIVE_NODE, Reactive, ReactiveHookFn, ReactiveNodeKind, consumerAfterComputation, consumerBeforeComputation, consumerDestroy, consumerMarkDirty, consumerPollProducersForChange, defaultEquals, finalizeConsumerAfterComputation, getActiveConsumer, installDevToolsSignalFormatter, isInNotificationPhase, isReactive, producerAccessed, producerIncrementEpoch, producerMarkClean, producerNotifyConsumers, producerUpdateValueVersion, producerUpdatesAllowed, resetConsumerBeforeComputation, runPostProducerCreatedFn, setActiveConsumer, setPostProducerCreatedFn } from './_formatter-chunk.js';
|
|
9
9
|
import { SignalNode } from './_effect-chunk.js';
|
|
10
10
|
export { BASE_EFFECT_NODE, BaseEffectNode, SIGNAL_NODE, SignalGetter, createSignal, runEffect, runPostSignalSetFn, setPostSignalSetFn, signalGetFn, signalSetFn, signalUpdateFn } from './_effect-chunk.js';
|
|
11
11
|
export { setAlternateWeakRefImpl } from './_weak_ref-chunk.js';
|
package/types/rxjs-interop.d.ts
CHANGED
package/types/testing.d.ts
CHANGED