@angular/core 17.3.0 → 17.3.2
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/src/authoring/input/input.mjs +37 -14
- package/esm2022/src/authoring/input/input_signal.mjs +1 -1
- package/esm2022/src/authoring/input/input_signal_node.mjs +1 -1
- package/esm2022/src/authoring/input/input_type_checking.mjs +1 -1
- package/esm2022/src/authoring/model/model.mjs +35 -15
- package/esm2022/src/authoring/output/output.mjs +32 -10
- package/esm2022/src/authoring/queries.mjs +11 -1
- package/esm2022/src/defer/instructions.mjs +20 -5
- package/esm2022/src/hydration/error_handling.mjs +6 -3
- package/esm2022/src/hydration/utils.mjs +5 -4
- package/esm2022/src/linker/template_ref.mjs +2 -2
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/render3/view_manipulation.mjs +2 -2
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +17564 -17472
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/index.d.ts +158 -109
- package/package.json +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/block-template-entities/bundle.js +8 -1
- package/schematics/migrations/block-template-entities/bundle.js.map +2 -2
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +8 -1
- package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +2 -2
- package/schematics/ng-generate/control-flow-migration/bundle.js +12 -2
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +2 -2
- package/schematics/ng-generate/standalone-migration/bundle.js +2885 -1239
- package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
- package/testing/index.d.ts +1 -1
|
@@ -19095,6 +19095,7 @@ function optimizeTrackFns(job) {
|
|
|
19095
19095
|
} else if (op.track instanceof ReadVarExpr && op.track.name === "$item") {
|
|
19096
19096
|
op.trackByFn = importExpr(Identifiers.repeaterTrackByIdentity);
|
|
19097
19097
|
} else if (isTrackByFunctionCall(job.root.xref, op.track)) {
|
|
19098
|
+
op.usesComponentInstance = true;
|
|
19098
19099
|
if (op.track.receiver.receiver.view === unit.xref) {
|
|
19099
19100
|
op.trackByFn = op.track.receiver;
|
|
19100
19101
|
} else {
|
|
@@ -20422,6 +20423,12 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
20422
20423
|
const securityContext = domSchema.securityContext(NG_TEMPLATE_TAG_NAME, attr.name, true);
|
|
20423
20424
|
unit.update.push(createBindingOp(xref, BindingKind.Attribute, attr.name, literal(attr.value), null, securityContext, true, false, null, asMessage(attr.i18n), attr.sourceSpan));
|
|
20424
20425
|
}
|
|
20426
|
+
for (const attr of root.inputs) {
|
|
20427
|
+
if (attr.type !== 4 && attr.type !== 1) {
|
|
20428
|
+
const securityContext = domSchema.securityContext(NG_TEMPLATE_TAG_NAME, attr.name, true);
|
|
20429
|
+
unit.create.push(createExtractedAttributeOp(xref, BindingKind.Property, null, attr.name, null, null, null, securityContext));
|
|
20430
|
+
}
|
|
20431
|
+
}
|
|
20425
20432
|
const tagName = root instanceof Element ? root.name : root.tagName;
|
|
20426
20433
|
return tagName === NG_TEMPLATE_TAG_NAME ? null : tagName;
|
|
20427
20434
|
}
|
|
@@ -26150,7 +26157,7 @@ function publishFacade(global) {
|
|
|
26150
26157
|
}
|
|
26151
26158
|
|
|
26152
26159
|
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
|
|
26153
|
-
var VERSION2 = new Version("17.3.
|
|
26160
|
+
var VERSION2 = new Version("17.3.2");
|
|
26154
26161
|
|
|
26155
26162
|
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
26156
26163
|
var _VisitorMode;
|