@angular/core 21.0.8 → 21.0.9
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 +1 -1
- package/fesm2022/_debug_node-chunk.mjs +5 -5
- package/fesm2022/_debug_node-chunk.mjs.map +1 -1
- package/fesm2022/_effect-chunk.mjs +1 -1
- package/fesm2022/_linked_signal-chunk.mjs +1 -1
- package/fesm2022/_not_found-chunk.mjs +1 -1
- package/fesm2022/_resource-chunk.mjs +1 -1
- package/fesm2022/_untracked-chunk.mjs +10 -5
- package/fesm2022/_untracked-chunk.mjs.map +1 -1
- package/fesm2022/_weak_ref-chunk.mjs +1 -1
- package/fesm2022/core.mjs +5 -5
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives-di.mjs +1 -1
- package/fesm2022/primitives-event-dispatch.mjs +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/testing.mjs +2 -2
- package/fesm2022/testing.mjs.map +1 -1
- package/package.json +2 -2
- package/schematics/bundles/add-bootstrap-context-to-server-main.cjs +1 -1
- package/schematics/bundles/application-config-core.cjs +1 -1
- package/schematics/bundles/apply_import_manager-1Zs_gpB6.cjs +1 -1
- package/schematics/bundles/bootstrap-options-migration.cjs +1 -1
- package/schematics/bundles/cleanup-unused-imports.cjs +1 -1
- package/schematics/bundles/common-to-standalone-migration.cjs +9 -5
- package/schematics/bundles/compiler_host-DBwYMlTo.cjs +1 -1
- package/schematics/bundles/control-flow-migration.cjs +1 -1
- package/schematics/bundles/imports-DP72APSx.cjs +1 -1
- package/schematics/bundles/index-CP6pC5TJ.cjs +1 -1
- package/schematics/bundles/inject-migration.cjs +1 -1
- package/schematics/bundles/leading_space-D9nQ8UQC.cjs +1 -1
- package/schematics/bundles/migrate_ts_type_references--PJz69_w.cjs +1 -1
- package/schematics/bundles/ng_component_template-Dsuq1Lw7.cjs +1 -1
- package/schematics/bundles/ng_decorators-DSFlWYQY.cjs +1 -1
- package/schematics/bundles/ngclass-to-class-migration.cjs +1 -1
- package/schematics/bundles/ngstyle-to-style-migration.cjs +1 -1
- package/schematics/bundles/nodes-B16H9JUd.cjs +1 -1
- package/schematics/bundles/output-migration.cjs +1 -1
- package/schematics/bundles/parse_html-8VLCL37B.cjs +1 -1
- package/schematics/bundles/project_paths-DvD50ouC.cjs +1 -1
- 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 +1 -1
- package/schematics/bundles/router-current-navigation.cjs +1 -1
- package/schematics/bundles/router-last-successful-navigation.cjs +1 -1
- package/schematics/bundles/router-testing-module-migration.cjs +1 -1
- package/schematics/bundles/self-closing-tags-migration.cjs +1 -1
- package/schematics/bundles/signal-input-migration.cjs +1 -1
- package/schematics/bundles/signal-queries-migration.cjs +1 -1
- package/schematics/bundles/signals.cjs +1 -1
- package/schematics/bundles/standalone-migration.cjs +1 -1
- package/schematics/bundles/symbol-BObKoqes.cjs +1 -1
- package/types/_api-chunk.d.ts +1 -1
- package/types/_chrome_dev_tools_performance-chunk.d.ts +1 -1
- package/types/_discovery-chunk.d.ts +1 -1
- package/types/_effect-chunk.d.ts +1 -1
- package/types/_event_dispatcher-chunk.d.ts +1 -1
- package/types/_formatter-chunk.d.ts +1 -1
- package/types/_weak_ref-chunk.d.ts +1 -1
- package/types/core.d.ts +16 -5
- package/types/primitives-di.d.ts +1 -1
- package/types/primitives-event-dispatch.d.ts +1 -1
- package/types/primitives-signals.d.ts +1 -1
- package/types/rxjs-interop.d.ts +1 -1
- package/types/testing.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.
|
|
2
|
+
* @license Angular v21.0.9
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -8116,7 +8116,7 @@ function controlBinding(binding, tNode) {
|
|
|
8116
8116
|
return directive[ɵCONTROL];
|
|
8117
8117
|
}
|
|
8118
8118
|
function inputBinding(publicName, value) {
|
|
8119
|
-
if (publicName === '
|
|
8119
|
+
if (publicName === 'formField') {
|
|
8120
8120
|
const binding = {
|
|
8121
8121
|
[BINDING]: FIELD_BINDING_METADATA,
|
|
8122
8122
|
create: () => {
|
|
@@ -8313,7 +8313,7 @@ class ComponentFactory extends ComponentFactory$1 {
|
|
|
8313
8313
|
}
|
|
8314
8314
|
}
|
|
8315
8315
|
function createRootTView(rootSelectorOrNode, componentDef, componentBindings, directives) {
|
|
8316
|
-
const tAttributes = rootSelectorOrNode ? ['ng-version', '21.0.
|
|
8316
|
+
const tAttributes = rootSelectorOrNode ? ['ng-version', '21.0.9'] : extractAttrsAndClassesFromSelector(componentDef.selectors[0]);
|
|
8317
8317
|
let creationBindings = null;
|
|
8318
8318
|
let updateBindings = null;
|
|
8319
8319
|
let varsToAllocate = 0;
|
|
@@ -13328,7 +13328,7 @@ function updateControl(lView, tNode) {
|
|
|
13328
13328
|
}
|
|
13329
13329
|
function initializeControlFirstCreatePass(tView, tNode, lView) {
|
|
13330
13330
|
ngDevMode && assertFirstCreatePass(tView);
|
|
13331
|
-
const directiveIndices = tNode.inputs?.['
|
|
13331
|
+
const directiveIndices = tNode.inputs?.['formField'];
|
|
13332
13332
|
if (!directiveIndices) {
|
|
13333
13333
|
return;
|
|
13334
13334
|
}
|
|
@@ -13344,7 +13344,7 @@ function initializeControlFirstCreatePass(tView, tNode, lView) {
|
|
|
13344
13344
|
if (isNativeControlFirstCreatePass(tNode) || foundControl) {
|
|
13345
13345
|
return;
|
|
13346
13346
|
}
|
|
13347
|
-
throw new RuntimeError(318, ngDevMode && `${describeElement(tView, tNode)} is an invalid [
|
|
13347
|
+
throw new RuntimeError(318, ngDevMode && `${describeElement(tView, tNode)} is an invalid [formField] directive host. The host must be a native form control ` + `(such as <input>', '<select>', or '<textarea>') or a custom form control with a 'value' or ` + `'checked' model.`);
|
|
13348
13348
|
}
|
|
13349
13349
|
function describeElement(tView, tNode) {
|
|
13350
13350
|
if (ngDevMode && isComponentHost(tNode)) {
|