@angular/core 17.3.10 → 17.3.12
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/render3/component_ref.mjs +1 -1
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +3 -3
- 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 +1 -1
- 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 +39 -30
- package/schematics/migrations/block-template-entities/bundle.js.map +2 -2
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +39 -30
- package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +2 -2
- package/schematics/ng-generate/control-flow-migration/bundle.js +39 -30
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +2 -2
- package/schematics/ng-generate/standalone-migration/bundle.js +47 -38
- package/schematics/ng-generate/standalone-migration/bundle.js.map +2 -2
- package/testing/index.d.ts +1 -1
package/fesm2022/testing.mjs
CHANGED
package/index.d.ts
CHANGED
package/package.json
CHANGED
package/rxjs-interop/index.d.ts
CHANGED
|
@@ -25725,6 +25725,7 @@ function convertQueryPredicate(predicate) {
|
|
|
25725
25725
|
return Array.isArray(predicate) ? predicate : createMayBeForwardRefExpression(new WrappedNodeExpr(predicate), 1);
|
|
25726
25726
|
}
|
|
25727
25727
|
function convertDirectiveFacadeToMetadata(facade) {
|
|
25728
|
+
var _a2;
|
|
25728
25729
|
const inputsFromMetadata = parseInputsArray(facade.inputs || []);
|
|
25729
25730
|
const outputsFromMetadata = parseMappingStringArray(facade.outputs || []);
|
|
25730
25731
|
const propMetadata = facade.propMetadata;
|
|
@@ -25747,6 +25748,19 @@ function convertDirectiveFacadeToMetadata(facade) {
|
|
|
25747
25748
|
});
|
|
25748
25749
|
}
|
|
25749
25750
|
}
|
|
25751
|
+
const hostDirectives = ((_a2 = facade.hostDirectives) == null ? void 0 : _a2.length) ? facade.hostDirectives.map((hostDirective) => {
|
|
25752
|
+
return typeof hostDirective === "function" ? {
|
|
25753
|
+
directive: wrapReference(hostDirective),
|
|
25754
|
+
inputs: null,
|
|
25755
|
+
outputs: null,
|
|
25756
|
+
isForwardReference: false
|
|
25757
|
+
} : {
|
|
25758
|
+
directive: wrapReference(hostDirective.directive),
|
|
25759
|
+
isForwardReference: false,
|
|
25760
|
+
inputs: hostDirective.inputs ? parseMappingStringArray(hostDirective.inputs) : null,
|
|
25761
|
+
outputs: hostDirective.outputs ? parseMappingStringArray(hostDirective.outputs) : null
|
|
25762
|
+
};
|
|
25763
|
+
}) : null;
|
|
25750
25764
|
return __spreadProps(__spreadValues({}, facade), {
|
|
25751
25765
|
typeArgumentCount: 0,
|
|
25752
25766
|
typeSourceSpan: facade.typeSourceSpan,
|
|
@@ -25761,31 +25775,37 @@ function convertDirectiveFacadeToMetadata(facade) {
|
|
|
25761
25775
|
providers: facade.providers != null ? new WrappedNodeExpr(facade.providers) : null,
|
|
25762
25776
|
viewQueries: facade.viewQueries.map(convertToR3QueryMetadata),
|
|
25763
25777
|
fullInheritance: false,
|
|
25764
|
-
hostDirectives
|
|
25778
|
+
hostDirectives
|
|
25765
25779
|
});
|
|
25766
25780
|
}
|
|
25767
25781
|
function convertDeclareDirectiveFacadeToMetadata(declaration, typeSourceSpan) {
|
|
25768
|
-
var _a2, _b2, _c2, _d2, _e2, _f2, _g, _h, _i;
|
|
25782
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g, _h, _i, _j;
|
|
25783
|
+
const hostDirectives = ((_a2 = declaration.hostDirectives) == null ? void 0 : _a2.length) ? declaration.hostDirectives.map((dir) => ({
|
|
25784
|
+
directive: wrapReference(dir.directive),
|
|
25785
|
+
isForwardReference: false,
|
|
25786
|
+
inputs: dir.inputs ? getHostDirectiveBindingMapping(dir.inputs) : null,
|
|
25787
|
+
outputs: dir.outputs ? getHostDirectiveBindingMapping(dir.outputs) : null
|
|
25788
|
+
})) : null;
|
|
25769
25789
|
return {
|
|
25770
25790
|
name: declaration.type.name,
|
|
25771
25791
|
type: wrapReference(declaration.type),
|
|
25772
25792
|
typeSourceSpan,
|
|
25773
|
-
selector: (
|
|
25793
|
+
selector: (_b2 = declaration.selector) != null ? _b2 : null,
|
|
25774
25794
|
inputs: declaration.inputs ? inputsPartialMetadataToInputMetadata(declaration.inputs) : {},
|
|
25775
|
-
outputs: (
|
|
25795
|
+
outputs: (_c2 = declaration.outputs) != null ? _c2 : {},
|
|
25776
25796
|
host: convertHostDeclarationToMetadata(declaration.host),
|
|
25777
|
-
queries: ((
|
|
25778
|
-
viewQueries: ((
|
|
25797
|
+
queries: ((_d2 = declaration.queries) != null ? _d2 : []).map(convertQueryDeclarationToMetadata),
|
|
25798
|
+
viewQueries: ((_e2 = declaration.viewQueries) != null ? _e2 : []).map(convertQueryDeclarationToMetadata),
|
|
25779
25799
|
providers: declaration.providers !== void 0 ? new WrappedNodeExpr(declaration.providers) : null,
|
|
25780
|
-
exportAs: (
|
|
25781
|
-
usesInheritance: (
|
|
25782
|
-
lifecycle: { usesOnChanges: (
|
|
25800
|
+
exportAs: (_f2 = declaration.exportAs) != null ? _f2 : null,
|
|
25801
|
+
usesInheritance: (_g = declaration.usesInheritance) != null ? _g : false,
|
|
25802
|
+
lifecycle: { usesOnChanges: (_h = declaration.usesOnChanges) != null ? _h : false },
|
|
25783
25803
|
deps: null,
|
|
25784
25804
|
typeArgumentCount: 0,
|
|
25785
25805
|
fullInheritance: false,
|
|
25786
|
-
isStandalone: (
|
|
25787
|
-
isSignal: (
|
|
25788
|
-
hostDirectives
|
|
25806
|
+
isStandalone: (_i = declaration.isStandalone) != null ? _i : false,
|
|
25807
|
+
isSignal: (_j = declaration.isSignal) != null ? _j : false,
|
|
25808
|
+
hostDirectives
|
|
25789
25809
|
};
|
|
25790
25810
|
}
|
|
25791
25811
|
function convertHostDeclarationToMetadata(host = {}) {
|
|
@@ -25801,24 +25821,13 @@ function convertHostDeclarationToMetadata(host = {}) {
|
|
|
25801
25821
|
useTemplatePipeline: SHOULD_USE_TEMPLATE_PIPELINE_FOR_JIT
|
|
25802
25822
|
};
|
|
25803
25823
|
}
|
|
25804
|
-
function
|
|
25805
|
-
|
|
25806
|
-
|
|
25807
|
-
|
|
25808
|
-
|
|
25809
|
-
directive: wrapReference(hostDirective),
|
|
25810
|
-
inputs: null,
|
|
25811
|
-
outputs: null,
|
|
25812
|
-
isForwardReference: false
|
|
25813
|
-
} : {
|
|
25814
|
-
directive: wrapReference(hostDirective.directive),
|
|
25815
|
-
isForwardReference: false,
|
|
25816
|
-
inputs: hostDirective.inputs ? parseMappingStringArray(hostDirective.inputs) : null,
|
|
25817
|
-
outputs: hostDirective.outputs ? parseMappingStringArray(hostDirective.outputs) : null
|
|
25818
|
-
};
|
|
25819
|
-
});
|
|
25824
|
+
function getHostDirectiveBindingMapping(array) {
|
|
25825
|
+
let result = null;
|
|
25826
|
+
for (let i = 1; i < array.length; i += 2) {
|
|
25827
|
+
result = result || {};
|
|
25828
|
+
result[array[i - 1]] = array[i];
|
|
25820
25829
|
}
|
|
25821
|
-
return
|
|
25830
|
+
return result;
|
|
25822
25831
|
}
|
|
25823
25832
|
function convertOpaqueValuesToExpressions(obj) {
|
|
25824
25833
|
const result = {};
|
|
@@ -26098,7 +26107,7 @@ function publishFacade(global) {
|
|
|
26098
26107
|
}
|
|
26099
26108
|
|
|
26100
26109
|
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
|
|
26101
|
-
var VERSION2 = new Version("17.3.
|
|
26110
|
+
var VERSION2 = new Version("17.3.12");
|
|
26102
26111
|
|
|
26103
26112
|
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
26104
26113
|
var _VisitorMode;
|