Skip to content

Commit 0d061ea

Browse files
committed
517da95 refactor(core): Setup constant for standalone default value (#58175)
1 parent 94228f0 commit 0d061ea

22 files changed

+64
-42
lines changed

BUILD_INFO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Mon Oct 14 15:27:08 UTC 2024
2-
bbca205d5e274597e5d70ea7be9f5250a48c181c
1+
Mon Oct 14 16:06:13 UTC 2024
2+
517da9532c7abe2ef122fa2375ea046becb3388a

bundles/chunk-OMLFZEBE.js renamed to bundles/chunk-2IN2NYPG.js

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4797,6 +4797,9 @@ function parseDescendantsOption(value) {
47974797
throw new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, value, `Expected "descendants" option to be a boolean literal.`);
47984798
}
47994799

4800+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/standalone-default-value.mjs
4801+
var NG_STANDALONE_DEFAULT_VALUE = false;
4802+
48004803
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
48014804
var EMPTY_OBJECT = {};
48024805
var queryDecoratorNames = [
@@ -4873,7 +4876,7 @@ function extractDirectiveMetadata(clazz, decorator, reflector, importTracker, ev
48734876
const rawCtorDeps = getConstructorDependencies(clazz, reflector, isCore);
48744877
const ctorDeps = selector !== null ? validateConstructorDependencies(clazz, rawCtorDeps) : unwrapConstructorDependencies(rawCtorDeps);
48754878
const isStructural = ctorDeps !== null && ctorDeps !== "invalid" && ctorDeps.some((dep) => dep.token instanceof ExternalExpr4 && dep.token.value.moduleName === "@angular/core" && dep.token.value.name === "TemplateRef");
4876-
let isStandalone = false;
4879+
let isStandalone = NG_STANDALONE_DEFAULT_VALUE;
48774880
if (directive.has("standalone")) {
48784881
const expr = directive.get("standalone");
48794882
const resolved = evaluator.evaluate(expr);
@@ -14675,7 +14678,7 @@ var PipeDecoratorHandler = class {
1467514678
}
1467614679
pure = pureValue;
1467714680
}
14678-
let isStandalone = false;
14681+
let isStandalone = NG_STANDALONE_DEFAULT_VALUE;
1467914682
if (pipe.has("standalone")) {
1468014683
const expr = pipe.get("standalone");
1468114684
const resolved = this.evaluator.evaluate(expr);
@@ -14827,4 +14830,11 @@ export {
1482714830
* Use of this source code is governed by an MIT-style license that can be
1482814831
* found in the LICENSE file at https://angular.dev/license
1482914832
*/
14830-
//# sourceMappingURL=chunk-OMLFZEBE.js.map
14833+
/**
14834+
* @license
14835+
* Copyright Google LLC All Rights Reserved.
14836+
*
14837+
* Use of this source code is governed by an MIT-style license that can be
14838+
* found in the LICENSE file at https://angular.io/license
14839+
*/
14840+
//# sourceMappingURL=chunk-2IN2NYPG.js.map

bundles/chunk-2IN2NYPG.js.map

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bundles/chunk-UE27CJRR.js renamed to bundles/chunk-4VLZMLC7.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

bundles/chunk-JJVYBPBF.js renamed to bundles/chunk-I5U4TQ4A.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

bundles/chunk-DOO3BDZ5.js renamed to bundles/chunk-JJIWXTND.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

bundles/chunk-OMLFZEBE.js.map

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)