@angular/core 18.0.0-next.3 → 18.0.0-next.5
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/rxjs-interop/src/take_until_destroyed.mjs +2 -2
- package/esm2022/rxjs-interop/src/to_observable.mjs +1 -1
- package/esm2022/rxjs-interop/src/to_signal.mjs +2 -2
- package/esm2022/src/application/application_ref.mjs +4 -2
- package/esm2022/src/application/application_tokens.mjs +1 -1
- package/esm2022/src/change_detection/change_detector_ref.mjs +3 -3
- package/esm2022/src/change_detection/scheduling/flags.mjs +10 -0
- package/esm2022/src/change_detection/scheduling/ng_zone_scheduling.mjs +28 -33
- package/esm2022/src/change_detection/scheduling/zoneless_scheduling.mjs +1 -1
- package/esm2022/src/change_detection/scheduling/zoneless_scheduling_impl.mjs +57 -9
- package/esm2022/src/core.mjs +2 -1
- package/esm2022/src/core_private_export.mjs +1 -3
- package/esm2022/src/core_render3_private_export.mjs +1 -2
- package/esm2022/src/debug/debug_node.mjs +5 -5
- package/esm2022/src/di/contextual.mjs +3 -3
- package/esm2022/src/di/injectable.mjs +1 -1
- package/esm2022/src/di/injector.mjs +4 -4
- package/esm2022/src/di/injector_compatibility.mjs +3 -3
- package/esm2022/src/di/interface/provider.mjs +1 -1
- package/esm2022/src/di/metadata.mjs +1 -1
- package/esm2022/src/di/provider_collection.mjs +2 -2
- package/esm2022/src/event_emitter.mjs +1 -1
- package/esm2022/src/hydration/api.mjs +2 -3
- package/esm2022/src/i18n/locale_data_api.mjs +4 -4
- package/esm2022/src/i18n/tokens.mjs +6 -6
- package/esm2022/src/interface/lifecycle_hooks.mjs +1 -1
- package/esm2022/src/linker/compiler.mjs +1 -7
- package/esm2022/src/linker/ng_module_factory.mjs +2 -3
- package/esm2022/src/linker/template_ref.mjs +1 -2
- package/esm2022/src/metadata/directives.mjs +1 -62
- package/esm2022/src/metadata/do_bootstrap.mjs +1 -1
- package/esm2022/src/metadata/ng_module.mjs +1 -1
- package/esm2022/src/platform/platform_ref.mjs +3 -3
- package/esm2022/src/render3/component.mjs +3 -4
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/render3/definition.mjs +2 -2
- package/esm2022/src/render3/instructions/change_detection.mjs +3 -6
- package/esm2022/src/render3/instructions/control_flow.mjs +6 -6
- package/esm2022/src/render3/jit/environment.mjs +1 -3
- package/esm2022/src/render3/ng_module_ref.mjs +1 -4
- package/esm2022/src/render3/node_manipulation.mjs +19 -15
- package/esm2022/src/render3/reactivity/effect.mjs +1 -1
- package/esm2022/src/render3/view_ref.mjs +14 -4
- package/esm2022/src/testability/testability.mjs +2 -30
- package/esm2022/src/util/callback_scheduler.mjs +3 -3
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/component_fixture.mjs +7 -12
- package/esm2022/testing/src/logger.mjs +3 -3
- package/esm2022/testing/src/test_bed_common.mjs +1 -6
- package/esm2022/testing/src/testing.mjs +1 -2
- package/event-dispatch-contract.min.js +1 -0
- package/fesm2022/core.mjs +155 -201
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +2 -2
- package/fesm2022/rxjs-interop.mjs +4 -4
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +35 -45
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +215 -206
- package/package.json +4 -1
- package/primitives/signals/index.d.ts +2 -2
- package/rxjs-interop/index.d.ts +5 -5
- package/schematics/migrations/block-template-entities/bundle.js +188 -249
- package/schematics/migrations/block-template-entities/bundle.js.map +3 -3
- package/schematics/migrations/compiler-options/bundle.js +13 -13
- package/schematics/migrations/compiler-options/bundle.js.map +1 -1
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +194 -255
- package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +3 -3
- package/schematics/migrations/transfer-state/bundle.js +13 -13
- package/schematics/migrations/transfer-state/bundle.js.map +1 -1
- package/schematics/ng-generate/control-flow-migration/bundle.js +197 -259
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +3 -3
- package/schematics/ng-generate/standalone-migration/bundle.js +517 -556
- package/schematics/ng-generate/standalone-migration/bundle.js.map +3 -3
- package/testing/index.d.ts +2 -8
- package/esm2022/testing/src/private_export.mjs +0 -9
|
@@ -2501,7 +2501,7 @@ var require_semver2 = __commonJS({
|
|
|
2501
2501
|
}
|
|
2502
2502
|
});
|
|
2503
2503
|
|
|
2504
|
-
// bazel-out/
|
|
2504
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
2505
2505
|
var standalone_migration_exports = {};
|
|
2506
2506
|
__export(standalone_migration_exports, {
|
|
2507
2507
|
default: () => standalone_migration_default
|
|
@@ -2509,10 +2509,10 @@ __export(standalone_migration_exports, {
|
|
|
2509
2509
|
module.exports = __toCommonJS(standalone_migration_exports);
|
|
2510
2510
|
var import_schematics = require("@angular-devkit/schematics");
|
|
2511
2511
|
|
|
2512
|
-
// bazel-out/
|
|
2512
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
2513
2513
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
2514
2514
|
|
|
2515
|
-
// bazel-out/
|
|
2515
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
2516
2516
|
var InvalidFileSystem = class {
|
|
2517
2517
|
exists(path4) {
|
|
2518
2518
|
throw makeError();
|
|
@@ -2600,7 +2600,7 @@ function makeError() {
|
|
|
2600
2600
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
2601
2601
|
}
|
|
2602
2602
|
|
|
2603
|
-
// bazel-out/
|
|
2603
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
2604
2604
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
2605
2605
|
function stripExtension(path4) {
|
|
2606
2606
|
return path4.replace(TS_DTS_JS_EXTENSION, "");
|
|
@@ -2613,7 +2613,7 @@ function getSourceFileOrError(program, fileName) {
|
|
|
2613
2613
|
return sf;
|
|
2614
2614
|
}
|
|
2615
2615
|
|
|
2616
|
-
// bazel-out/
|
|
2616
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
2617
2617
|
var fs = new InvalidFileSystem();
|
|
2618
2618
|
function getFileSystem() {
|
|
2619
2619
|
return fs;
|
|
@@ -2657,7 +2657,7 @@ function toRelativeImport(relativePath) {
|
|
|
2657
2657
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
2658
2658
|
}
|
|
2659
2659
|
|
|
2660
|
-
// bazel-out/
|
|
2660
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
2661
2661
|
var LogicalProjectPath = {
|
|
2662
2662
|
relativePathBetween: function(from, to) {
|
|
2663
2663
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -2703,7 +2703,7 @@ function isWithinBasePath(base, path4) {
|
|
|
2703
2703
|
return isLocalRelativePath(relative(base, path4));
|
|
2704
2704
|
}
|
|
2705
2705
|
|
|
2706
|
-
// bazel-out/
|
|
2706
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
2707
2707
|
var import_fs = __toESM(require("fs"), 1);
|
|
2708
2708
|
var import_module = require("module");
|
|
2709
2709
|
var p = __toESM(require("path"), 1);
|
|
@@ -2811,7 +2811,7 @@ function toggleCase(str) {
|
|
|
2811
2811
|
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
2812
2812
|
}
|
|
2813
2813
|
|
|
2814
|
-
// bazel-out/
|
|
2814
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/selector.mjs
|
|
2815
2815
|
var _SELECTOR_REGEXP = new RegExp(
|
|
2816
2816
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
2817
2817
|
"g"
|
|
@@ -3119,7 +3119,7 @@ var SelectorContext = class {
|
|
|
3119
3119
|
}
|
|
3120
3120
|
};
|
|
3121
3121
|
|
|
3122
|
-
// bazel-out/
|
|
3122
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/core.mjs
|
|
3123
3123
|
var emitDistinctChangesOnlyDefaultValue = true;
|
|
3124
3124
|
var ViewEncapsulation;
|
|
3125
3125
|
(function(ViewEncapsulation2) {
|
|
@@ -3188,7 +3188,7 @@ function parseSelectorToR3Selector(selector) {
|
|
|
3188
3188
|
return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
|
|
3189
3189
|
}
|
|
3190
3190
|
|
|
3191
|
-
// bazel-out/
|
|
3191
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
3192
3192
|
var output_ast_exports = {};
|
|
3193
3193
|
__export(output_ast_exports, {
|
|
3194
3194
|
ArrayType: () => ArrayType,
|
|
@@ -3276,7 +3276,7 @@ __export(output_ast_exports, {
|
|
|
3276
3276
|
variable: () => variable
|
|
3277
3277
|
});
|
|
3278
3278
|
|
|
3279
|
-
// bazel-out/
|
|
3279
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
|
|
3280
3280
|
var textEncoder;
|
|
3281
3281
|
function digest(message) {
|
|
3282
3282
|
return message.id || computeDigest(message);
|
|
@@ -3519,7 +3519,7 @@ function wordAt(bytes, index, endian) {
|
|
|
3519
3519
|
return word;
|
|
3520
3520
|
}
|
|
3521
3521
|
|
|
3522
|
-
// bazel-out/
|
|
3522
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
3523
3523
|
var TypeModifier;
|
|
3524
3524
|
(function(TypeModifier2) {
|
|
3525
3525
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -4714,7 +4714,7 @@ function serializeTags(tags) {
|
|
|
4714
4714
|
return out;
|
|
4715
4715
|
}
|
|
4716
4716
|
|
|
4717
|
-
// bazel-out/
|
|
4717
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
4718
4718
|
var CONSTANT_PREFIX = "_c";
|
|
4719
4719
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
4720
4720
|
var KEY_CONTEXT = {};
|
|
@@ -4902,7 +4902,7 @@ function isLongStringLiteral(expr) {
|
|
|
4902
4902
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
4903
4903
|
}
|
|
4904
4904
|
|
|
4905
|
-
// bazel-out/
|
|
4905
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
4906
4906
|
var CORE = "@angular/core";
|
|
4907
4907
|
var _Identifiers = class {
|
|
4908
4908
|
};
|
|
@@ -5528,12 +5528,6 @@ var Identifiers = _Identifiers;
|
|
|
5528
5528
|
moduleName: CORE
|
|
5529
5529
|
};
|
|
5530
5530
|
})();
|
|
5531
|
-
(() => {
|
|
5532
|
-
_Identifiers.InputFlags = {
|
|
5533
|
-
name: "\u0275\u0275InputFlags",
|
|
5534
|
-
moduleName: CORE
|
|
5535
|
-
};
|
|
5536
|
-
})();
|
|
5537
5531
|
(() => {
|
|
5538
5532
|
_Identifiers.sanitizeHtml = { name: "\u0275\u0275sanitizeHtml", moduleName: CORE };
|
|
5539
5533
|
})();
|
|
@@ -5571,7 +5565,7 @@ var Identifiers = _Identifiers;
|
|
|
5571
5565
|
_Identifiers.unwrapWritableSignal = { name: "\u0275unwrapWritableSignal", moduleName: CORE };
|
|
5572
5566
|
})();
|
|
5573
5567
|
|
|
5574
|
-
// bazel-out/
|
|
5568
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/util.mjs
|
|
5575
5569
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
5576
5570
|
function dashCaseToCamelCase(input) {
|
|
5577
5571
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -5648,7 +5642,7 @@ var Version = class {
|
|
|
5648
5642
|
};
|
|
5649
5643
|
var _global = globalThis;
|
|
5650
5644
|
|
|
5651
|
-
// bazel-out/
|
|
5645
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
5652
5646
|
var VERSION = 3;
|
|
5653
5647
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
5654
5648
|
var SourceMapGenerator = class {
|
|
@@ -5777,7 +5771,7 @@ function toBase64Digit(value) {
|
|
|
5777
5771
|
return B64_DIGITS[value];
|
|
5778
5772
|
}
|
|
5779
5773
|
|
|
5780
|
-
// bazel-out/
|
|
5774
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
5781
5775
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
5782
5776
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
5783
5777
|
var _INDENT_WITH = " ";
|
|
@@ -6265,7 +6259,7 @@ function _createIndent(count) {
|
|
|
6265
6259
|
return res;
|
|
6266
6260
|
}
|
|
6267
6261
|
|
|
6268
|
-
// bazel-out/
|
|
6262
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
6269
6263
|
function typeWithParameters(type, numParams) {
|
|
6270
6264
|
if (numParams === 0) {
|
|
6271
6265
|
return expressionType(type);
|
|
@@ -6323,7 +6317,7 @@ function generateForwardRef(expr) {
|
|
|
6323
6317
|
return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
|
|
6324
6318
|
}
|
|
6325
6319
|
|
|
6326
|
-
// bazel-out/
|
|
6320
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
6327
6321
|
var R3FactoryDelegateType;
|
|
6328
6322
|
(function(R3FactoryDelegateType2) {
|
|
6329
6323
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -6468,7 +6462,7 @@ function getInjectFn(target) {
|
|
|
6468
6462
|
}
|
|
6469
6463
|
}
|
|
6470
6464
|
|
|
6471
|
-
// bazel-out/
|
|
6465
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
6472
6466
|
var ParserError = class {
|
|
6473
6467
|
constructor(message, input, errLocation, ctxLocation) {
|
|
6474
6468
|
this.input = input;
|
|
@@ -6906,7 +6900,7 @@ var BoundElementProperty = class {
|
|
|
6906
6900
|
}
|
|
6907
6901
|
};
|
|
6908
6902
|
|
|
6909
|
-
// bazel-out/
|
|
6903
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
6910
6904
|
var TagContentType;
|
|
6911
6905
|
(function(TagContentType2) {
|
|
6912
6906
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -6943,7 +6937,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
6943
6937
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
6944
6938
|
}
|
|
6945
6939
|
|
|
6946
|
-
// bazel-out/
|
|
6940
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
6947
6941
|
var Comment = class {
|
|
6948
6942
|
constructor(value, sourceSpan) {
|
|
6949
6943
|
this.value = value;
|
|
@@ -7399,7 +7393,7 @@ function visitAll(visitor, nodes) {
|
|
|
7399
7393
|
return result;
|
|
7400
7394
|
}
|
|
7401
7395
|
|
|
7402
|
-
// bazel-out/
|
|
7396
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
7403
7397
|
var Message = class {
|
|
7404
7398
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
7405
7399
|
this.nodes = nodes;
|
|
@@ -7588,7 +7582,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
7588
7582
|
}
|
|
7589
7583
|
};
|
|
7590
7584
|
|
|
7591
|
-
// bazel-out/
|
|
7585
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
|
|
7592
7586
|
var Serializer = class {
|
|
7593
7587
|
createNameMapper(message) {
|
|
7594
7588
|
return null;
|
|
@@ -7645,7 +7639,7 @@ var SimplePlaceholderMapper = class extends RecurseVisitor {
|
|
|
7645
7639
|
}
|
|
7646
7640
|
};
|
|
7647
7641
|
|
|
7648
|
-
// bazel-out/
|
|
7642
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
7649
7643
|
var _Visitor = class {
|
|
7650
7644
|
visitTag(tag) {
|
|
7651
7645
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -7733,7 +7727,7 @@ function escapeXml(text2) {
|
|
|
7733
7727
|
return _ESCAPED_CHARS.reduce((text3, entry) => text3.replace(entry[0], entry[1]), text2);
|
|
7734
7728
|
}
|
|
7735
7729
|
|
|
7736
|
-
// bazel-out/
|
|
7730
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
7737
7731
|
var _MESSAGES_TAG = "messagebundle";
|
|
7738
7732
|
var _MESSAGE_TAG = "msg";
|
|
7739
7733
|
var _PLACEHOLDER_TAG = "ph";
|
|
@@ -7885,7 +7879,7 @@ function toPublicName(internalName) {
|
|
|
7885
7879
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
7886
7880
|
}
|
|
7887
7881
|
|
|
7888
|
-
// bazel-out/
|
|
7882
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
7889
7883
|
var I18N_ATTR = "i18n";
|
|
7890
7884
|
var I18N_ATTR_PREFIX = "i18n-";
|
|
7891
7885
|
var I18N_ICU_VAR_PREFIX = "VAR_";
|
|
@@ -7925,7 +7919,7 @@ function formatI18nPlaceholderName(name, useCamelCase = true) {
|
|
|
7925
7919
|
return postfix ? `${raw}_${postfix}` : raw;
|
|
7926
7920
|
}
|
|
7927
7921
|
|
|
7928
|
-
// bazel-out/
|
|
7922
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
7929
7923
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
7930
7924
|
var TEMPORARY_NAME = "_t";
|
|
7931
7925
|
var CONTEXT_NAME = "ctx";
|
|
@@ -7968,16 +7962,15 @@ function conditionallyCreateDirectiveBindingLiteral(map, forInputs) {
|
|
|
7968
7962
|
publicName = value.bindingPropertyName;
|
|
7969
7963
|
const differentDeclaringName = publicName !== declaredName;
|
|
7970
7964
|
const hasDecoratorInputTransform = value.transformFunction !== null;
|
|
7971
|
-
let flags =
|
|
7965
|
+
let flags = InputFlags.None;
|
|
7972
7966
|
if (value.isSignal) {
|
|
7973
|
-
flags
|
|
7967
|
+
flags |= InputFlags.SignalBased;
|
|
7974
7968
|
}
|
|
7975
7969
|
if (hasDecoratorInputTransform) {
|
|
7976
|
-
flags
|
|
7970
|
+
flags |= InputFlags.HasDecoratorInputTransform;
|
|
7977
7971
|
}
|
|
7978
|
-
if (forInputs && (differentDeclaringName || hasDecoratorInputTransform || flags !==
|
|
7979
|
-
const
|
|
7980
|
-
const result = [flagsExpr, asLiteral(publicName)];
|
|
7972
|
+
if (forInputs && (differentDeclaringName || hasDecoratorInputTransform || flags !== InputFlags.None)) {
|
|
7973
|
+
const result = [literal(flags), asLiteral(publicName)];
|
|
7981
7974
|
if (differentDeclaringName || hasDecoratorInputTransform) {
|
|
7982
7975
|
result.push(asLiteral(declaredName));
|
|
7983
7976
|
if (hasDecoratorInputTransform) {
|
|
@@ -7996,15 +7989,6 @@ function conditionallyCreateDirectiveBindingLiteral(map, forInputs) {
|
|
|
7996
7989
|
};
|
|
7997
7990
|
}));
|
|
7998
7991
|
}
|
|
7999
|
-
function getInputFlagExpr(flag) {
|
|
8000
|
-
return importExpr(Identifiers.InputFlags).prop(InputFlags[flag]);
|
|
8001
|
-
}
|
|
8002
|
-
function bitwiseOrInputFlagsExpr(flag, expr) {
|
|
8003
|
-
if (expr === null) {
|
|
8004
|
-
return getInputFlagExpr(flag);
|
|
8005
|
-
}
|
|
8006
|
-
return getInputFlagExpr(flag).bitwiseOr(expr);
|
|
8007
|
-
}
|
|
8008
7992
|
var DefinitionMap = class {
|
|
8009
7993
|
constructor() {
|
|
8010
7994
|
this.values = [];
|
|
@@ -8062,7 +8046,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
|
|
|
8062
8046
|
return attributesMap;
|
|
8063
8047
|
}
|
|
8064
8048
|
|
|
8065
|
-
// bazel-out/
|
|
8049
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
8066
8050
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
8067
8051
|
let result = null;
|
|
8068
8052
|
const factoryMeta = {
|
|
@@ -8147,7 +8131,7 @@ function createFactoryFunction(type) {
|
|
|
8147
8131
|
return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
|
|
8148
8132
|
}
|
|
8149
8133
|
|
|
8150
|
-
// bazel-out/
|
|
8134
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
8151
8135
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
8152
8136
|
/^\s*$/,
|
|
8153
8137
|
/[<>]/,
|
|
@@ -8169,7 +8153,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
8169
8153
|
}
|
|
8170
8154
|
}
|
|
8171
8155
|
|
|
8172
|
-
// bazel-out/
|
|
8156
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
|
|
8173
8157
|
var InterpolationConfig = class {
|
|
8174
8158
|
static fromArray(markers) {
|
|
8175
8159
|
if (!markers) {
|
|
@@ -8186,7 +8170,7 @@ var InterpolationConfig = class {
|
|
|
8186
8170
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
8187
8171
|
var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
|
|
8188
8172
|
|
|
8189
|
-
// bazel-out/
|
|
8173
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
8190
8174
|
var $EOF = 0;
|
|
8191
8175
|
var $BSPACE = 8;
|
|
8192
8176
|
var $TAB = 9;
|
|
@@ -8268,7 +8252,7 @@ function isQuote(code) {
|
|
|
8268
8252
|
return code === $SQ || code === $DQ || code === $BT;
|
|
8269
8253
|
}
|
|
8270
8254
|
|
|
8271
|
-
// bazel-out/
|
|
8255
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
8272
8256
|
var ParseLocation = class {
|
|
8273
8257
|
constructor(file, offset, line, col) {
|
|
8274
8258
|
this.file = file;
|
|
@@ -8415,7 +8399,7 @@ function sanitizeIdentifier(name) {
|
|
|
8415
8399
|
return name.replace(/\W/g, "_");
|
|
8416
8400
|
}
|
|
8417
8401
|
|
|
8418
|
-
// bazel-out/
|
|
8402
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
8419
8403
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
8420
8404
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
8421
8405
|
constructor() {
|
|
@@ -8508,7 +8492,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
8508
8492
|
}
|
|
8509
8493
|
};
|
|
8510
8494
|
|
|
8511
|
-
// bazel-out/
|
|
8495
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
8512
8496
|
var policy;
|
|
8513
8497
|
function getPolicy() {
|
|
8514
8498
|
if (policy === void 0) {
|
|
@@ -8546,7 +8530,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
8546
8530
|
return fn2.bind(_global);
|
|
8547
8531
|
}
|
|
8548
8532
|
|
|
8549
|
-
// bazel-out/
|
|
8533
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
8550
8534
|
var JitEvaluator = class {
|
|
8551
8535
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
8552
8536
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -8637,7 +8621,7 @@ function isUseStrictStatement(statement) {
|
|
|
8637
8621
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
8638
8622
|
}
|
|
8639
8623
|
|
|
8640
|
-
// bazel-out/
|
|
8624
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
8641
8625
|
function compileInjector(meta) {
|
|
8642
8626
|
const definitionMap = new DefinitionMap();
|
|
8643
8627
|
if (meta.providers !== null) {
|
|
@@ -8654,7 +8638,7 @@ function createInjectorType(meta) {
|
|
|
8654
8638
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
8655
8639
|
}
|
|
8656
8640
|
|
|
8657
|
-
// bazel-out/
|
|
8641
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
8658
8642
|
var R3JitReflector = class {
|
|
8659
8643
|
constructor(context) {
|
|
8660
8644
|
this.context = context;
|
|
@@ -8670,7 +8654,7 @@ var R3JitReflector = class {
|
|
|
8670
8654
|
}
|
|
8671
8655
|
};
|
|
8672
8656
|
|
|
8673
|
-
// bazel-out/
|
|
8657
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
8674
8658
|
var R3SelectorScopeMode;
|
|
8675
8659
|
(function(R3SelectorScopeMode2) {
|
|
8676
8660
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -8811,7 +8795,7 @@ function tupleOfTypes(types) {
|
|
|
8811
8795
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
8812
8796
|
}
|
|
8813
8797
|
|
|
8814
|
-
// bazel-out/
|
|
8798
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
8815
8799
|
function compilePipeFromMetadata(metadata) {
|
|
8816
8800
|
const definitionMapValues = [];
|
|
8817
8801
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -8832,7 +8816,7 @@ function createPipeType(metadata) {
|
|
|
8832
8816
|
]));
|
|
8833
8817
|
}
|
|
8834
8818
|
|
|
8835
|
-
// bazel-out/
|
|
8819
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
8836
8820
|
var R3TemplateDependencyKind;
|
|
8837
8821
|
(function(R3TemplateDependencyKind2) {
|
|
8838
8822
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -8840,7 +8824,7 @@ var R3TemplateDependencyKind;
|
|
|
8840
8824
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
8841
8825
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
8842
8826
|
|
|
8843
|
-
// bazel-out/
|
|
8827
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
8844
8828
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
8845
8829
|
"inherit",
|
|
8846
8830
|
"initial",
|
|
@@ -9312,7 +9296,7 @@ function repeatGroups(groups, multiples) {
|
|
|
9312
9296
|
}
|
|
9313
9297
|
}
|
|
9314
9298
|
|
|
9315
|
-
// bazel-out/
|
|
9299
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
9316
9300
|
var OpKind;
|
|
9317
9301
|
(function(OpKind2) {
|
|
9318
9302
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -9466,7 +9450,7 @@ var TemplateKind;
|
|
|
9466
9450
|
TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
|
|
9467
9451
|
})(TemplateKind || (TemplateKind = {}));
|
|
9468
9452
|
|
|
9469
|
-
// bazel-out/
|
|
9453
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
9470
9454
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
9471
9455
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
9472
9456
|
var ConsumesVarsTrait = Symbol("ConsumesVars");
|
|
@@ -9494,7 +9478,7 @@ function hasUsesVarOffsetTrait(expr) {
|
|
|
9494
9478
|
return expr[UsesVarOffset] === true;
|
|
9495
9479
|
}
|
|
9496
9480
|
|
|
9497
|
-
// bazel-out/
|
|
9481
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
9498
9482
|
function createStatementOp(statement) {
|
|
9499
9483
|
return __spreadValues({
|
|
9500
9484
|
kind: OpKind.Statement,
|
|
@@ -9516,7 +9500,7 @@ var NEW_OP = {
|
|
|
9516
9500
|
next: null
|
|
9517
9501
|
};
|
|
9518
9502
|
|
|
9519
|
-
// bazel-out/
|
|
9503
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
9520
9504
|
function createInterpolateTextOp(xref, interpolation, sourceSpan) {
|
|
9521
9505
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
9522
9506
|
kind: OpKind.InterpolateText,
|
|
@@ -9642,11 +9626,10 @@ function createAdvanceOp(delta, sourceSpan) {
|
|
|
9642
9626
|
sourceSpan
|
|
9643
9627
|
}, NEW_OP);
|
|
9644
9628
|
}
|
|
9645
|
-
function createConditionalOp(target,
|
|
9629
|
+
function createConditionalOp(target, test, conditions, sourceSpan) {
|
|
9646
9630
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
9647
9631
|
kind: OpKind.Conditional,
|
|
9648
9632
|
target,
|
|
9649
|
-
targetSlot,
|
|
9650
9633
|
test,
|
|
9651
9634
|
conditions,
|
|
9652
9635
|
processed: null,
|
|
@@ -9697,7 +9680,7 @@ function createI18nApplyOp(owner, handle, sourceSpan) {
|
|
|
9697
9680
|
}, NEW_OP);
|
|
9698
9681
|
}
|
|
9699
9682
|
|
|
9700
|
-
// bazel-out/
|
|
9683
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
9701
9684
|
var _a;
|
|
9702
9685
|
var _b;
|
|
9703
9686
|
var _c;
|
|
@@ -10559,7 +10542,7 @@ function isStringLiteral(expr) {
|
|
|
10559
10542
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
10560
10543
|
}
|
|
10561
10544
|
|
|
10562
|
-
// bazel-out/
|
|
10545
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
10563
10546
|
var _OpList = class {
|
|
10564
10547
|
constructor() {
|
|
10565
10548
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -10750,14 +10733,14 @@ var OpList = _OpList;
|
|
|
10750
10733
|
_OpList.nextListId = 0;
|
|
10751
10734
|
})();
|
|
10752
10735
|
|
|
10753
|
-
// bazel-out/
|
|
10736
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
10754
10737
|
var SlotHandle = class {
|
|
10755
10738
|
constructor() {
|
|
10756
10739
|
this.slot = null;
|
|
10757
10740
|
}
|
|
10758
10741
|
};
|
|
10759
10742
|
|
|
10760
|
-
// bazel-out/
|
|
10743
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
10761
10744
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
10762
10745
|
OpKind.Element,
|
|
10763
10746
|
OpKind.ElementStart,
|
|
@@ -11061,7 +11044,7 @@ function createI18nAttributesOp(xref, handle, target) {
|
|
|
11061
11044
|
}, NEW_OP), TRAIT_CONSUMES_SLOT);
|
|
11062
11045
|
}
|
|
11063
11046
|
|
|
11064
|
-
// bazel-out/
|
|
11047
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
11065
11048
|
function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
|
|
11066
11049
|
return __spreadValues(__spreadValues({
|
|
11067
11050
|
kind: OpKind.HostProperty,
|
|
@@ -11075,10 +11058,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
|
|
|
11075
11058
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
11076
11059
|
}
|
|
11077
11060
|
|
|
11078
|
-
// bazel-out/
|
|
11061
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
11079
11062
|
var CTX_REF = "CTX_REF_MARKER";
|
|
11080
11063
|
|
|
11081
|
-
// bazel-out/
|
|
11064
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
11082
11065
|
var CompilationJobKind;
|
|
11083
11066
|
(function(CompilationJobKind2) {
|
|
11084
11067
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -11186,7 +11169,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
11186
11169
|
}
|
|
11187
11170
|
};
|
|
11188
11171
|
|
|
11189
|
-
// bazel-out/
|
|
11172
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
11190
11173
|
function deleteAnyCasts(job) {
|
|
11191
11174
|
for (const unit of job.units) {
|
|
11192
11175
|
for (const op of unit.ops()) {
|
|
@@ -11204,7 +11187,7 @@ function removeAnys(e) {
|
|
|
11204
11187
|
return e;
|
|
11205
11188
|
}
|
|
11206
11189
|
|
|
11207
|
-
// bazel-out/
|
|
11190
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
11208
11191
|
function applyI18nExpressions(job) {
|
|
11209
11192
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
11210
11193
|
for (const unit of job.units) {
|
|
@@ -11247,7 +11230,7 @@ function needsApplication(i18nContexts, op) {
|
|
|
11247
11230
|
return false;
|
|
11248
11231
|
}
|
|
11249
11232
|
|
|
11250
|
-
// bazel-out/
|
|
11233
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
11251
11234
|
function assignI18nSlotDependencies(job) {
|
|
11252
11235
|
for (const unit of job.units) {
|
|
11253
11236
|
let updateOp = unit.update.head;
|
|
@@ -11292,7 +11275,7 @@ function assignI18nSlotDependencies(job) {
|
|
|
11292
11275
|
}
|
|
11293
11276
|
}
|
|
11294
11277
|
|
|
11295
|
-
// bazel-out/
|
|
11278
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
11296
11279
|
function createOpXrefMap(unit) {
|
|
11297
11280
|
const map = /* @__PURE__ */ new Map();
|
|
11298
11281
|
for (const op of unit.create) {
|
|
@@ -11307,7 +11290,7 @@ function createOpXrefMap(unit) {
|
|
|
11307
11290
|
return map;
|
|
11308
11291
|
}
|
|
11309
11292
|
|
|
11310
|
-
// bazel-out/
|
|
11293
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
11311
11294
|
function extractAttributes(job) {
|
|
11312
11295
|
for (const unit of job.units) {
|
|
11313
11296
|
const elements = createOpXrefMap(unit);
|
|
@@ -11436,7 +11419,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
11436
11419
|
}
|
|
11437
11420
|
}
|
|
11438
11421
|
|
|
11439
|
-
// bazel-out/
|
|
11422
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
11440
11423
|
function lookupElement2(elements, xref) {
|
|
11441
11424
|
const el = elements.get(xref);
|
|
11442
11425
|
if (el === void 0) {
|
|
@@ -11493,7 +11476,7 @@ function specializeBindings(job) {
|
|
|
11493
11476
|
}
|
|
11494
11477
|
}
|
|
11495
11478
|
|
|
11496
|
-
// bazel-out/
|
|
11479
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
11497
11480
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
11498
11481
|
Identifiers.attribute,
|
|
11499
11482
|
Identifiers.classProp,
|
|
@@ -11561,7 +11544,7 @@ function chainOperationsInList(opList) {
|
|
|
11561
11544
|
}
|
|
11562
11545
|
}
|
|
11563
11546
|
|
|
11564
|
-
// bazel-out/
|
|
11547
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
11565
11548
|
function collapseSingletonInterpolations(job) {
|
|
11566
11549
|
for (const unit of job.units) {
|
|
11567
11550
|
for (const op of unit.update) {
|
|
@@ -11573,7 +11556,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
11573
11556
|
}
|
|
11574
11557
|
}
|
|
11575
11558
|
|
|
11576
|
-
// bazel-out/
|
|
11559
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
11577
11560
|
function generateConditionalExpressions(job) {
|
|
11578
11561
|
for (const unit of job.units) {
|
|
11579
11562
|
for (const op of unit.ops()) {
|
|
@@ -11610,7 +11593,7 @@ function generateConditionalExpressions(job) {
|
|
|
11610
11593
|
}
|
|
11611
11594
|
}
|
|
11612
11595
|
|
|
11613
|
-
// bazel-out/
|
|
11596
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
11614
11597
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
11615
11598
|
["&&", BinaryOperator.And],
|
|
11616
11599
|
[">", BinaryOperator.Bigger],
|
|
@@ -11661,7 +11644,7 @@ function literalOrArrayLiteral(value) {
|
|
|
11661
11644
|
return literal(value);
|
|
11662
11645
|
}
|
|
11663
11646
|
|
|
11664
|
-
// bazel-out/
|
|
11647
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
11665
11648
|
function collectElementConsts(job) {
|
|
11666
11649
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
11667
11650
|
for (const unit of job.units) {
|
|
@@ -11830,7 +11813,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
11830
11813
|
return literalArr(attrArray);
|
|
11831
11814
|
}
|
|
11832
11815
|
|
|
11833
|
-
// bazel-out/
|
|
11816
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
|
|
11834
11817
|
function convertI18nBindings(job) {
|
|
11835
11818
|
const i18nAttributesByElem = /* @__PURE__ */ new Map();
|
|
11836
11819
|
for (const unit of job.units) {
|
|
@@ -11871,7 +11854,7 @@ function convertI18nBindings(job) {
|
|
|
11871
11854
|
}
|
|
11872
11855
|
}
|
|
11873
11856
|
|
|
11874
|
-
// bazel-out/
|
|
11857
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
|
|
11875
11858
|
function resolveDeferDepsFns(job) {
|
|
11876
11859
|
var _a2;
|
|
11877
11860
|
for (const unit of job.units) {
|
|
@@ -11896,7 +11879,7 @@ function resolveDeferDepsFns(job) {
|
|
|
11896
11879
|
}
|
|
11897
11880
|
}
|
|
11898
11881
|
|
|
11899
|
-
// bazel-out/
|
|
11882
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
11900
11883
|
function createI18nContexts(job) {
|
|
11901
11884
|
const attrContextByMessage = /* @__PURE__ */ new Map();
|
|
11902
11885
|
for (const unit of job.units) {
|
|
@@ -11974,7 +11957,7 @@ function createI18nContexts(job) {
|
|
|
11974
11957
|
}
|
|
11975
11958
|
}
|
|
11976
11959
|
|
|
11977
|
-
// bazel-out/
|
|
11960
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
|
|
11978
11961
|
function deduplicateTextBindings(job) {
|
|
11979
11962
|
const seen = /* @__PURE__ */ new Map();
|
|
11980
11963
|
for (const unit of job.units) {
|
|
@@ -11996,7 +11979,7 @@ function deduplicateTextBindings(job) {
|
|
|
11996
11979
|
}
|
|
11997
11980
|
}
|
|
11998
11981
|
|
|
11999
|
-
// bazel-out/
|
|
11982
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
12000
11983
|
function configureDeferInstructions(job) {
|
|
12001
11984
|
for (const unit of job.units) {
|
|
12002
11985
|
for (const op of unit.create) {
|
|
@@ -12013,7 +11996,7 @@ function configureDeferInstructions(job) {
|
|
|
12013
11996
|
}
|
|
12014
11997
|
}
|
|
12015
11998
|
|
|
12016
|
-
// bazel-out/
|
|
11999
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
12017
12000
|
function resolveDeferTargetNames(job) {
|
|
12018
12001
|
const scopes = /* @__PURE__ */ new Map();
|
|
12019
12002
|
function getScopeForView2(view) {
|
|
@@ -12107,7 +12090,7 @@ var Scope = class {
|
|
|
12107
12090
|
}
|
|
12108
12091
|
};
|
|
12109
12092
|
|
|
12110
|
-
// bazel-out/
|
|
12093
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
12111
12094
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
12112
12095
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
12113
12096
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -12134,7 +12117,7 @@ function collapseEmptyInstructions(job) {
|
|
|
12134
12117
|
}
|
|
12135
12118
|
}
|
|
12136
12119
|
|
|
12137
|
-
// bazel-out/
|
|
12120
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
12138
12121
|
function expandSafeReads(job) {
|
|
12139
12122
|
for (const unit of job.units) {
|
|
12140
12123
|
for (const op of unit.ops()) {
|
|
@@ -12270,7 +12253,7 @@ function ternaryTransform(e) {
|
|
|
12270
12253
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
12271
12254
|
}
|
|
12272
12255
|
|
|
12273
|
-
// bazel-out/
|
|
12256
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
12274
12257
|
var ESCAPE = "\uFFFD";
|
|
12275
12258
|
var ELEMENT_MARKER = "#";
|
|
12276
12259
|
var TEMPLATE_MARKER = "*";
|
|
@@ -12406,7 +12389,7 @@ function formatValue(value) {
|
|
|
12406
12389
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
12407
12390
|
}
|
|
12408
12391
|
|
|
12409
|
-
// bazel-out/
|
|
12392
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
12410
12393
|
function generateAdvance(job) {
|
|
12411
12394
|
for (const unit of job.units) {
|
|
12412
12395
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -12438,7 +12421,7 @@ function generateAdvance(job) {
|
|
|
12438
12421
|
}
|
|
12439
12422
|
}
|
|
12440
12423
|
|
|
12441
|
-
// bazel-out/
|
|
12424
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
12442
12425
|
function generateProjectionDefs(job) {
|
|
12443
12426
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
12444
12427
|
const selectors = [];
|
|
@@ -12462,7 +12445,7 @@ function generateProjectionDefs(job) {
|
|
|
12462
12445
|
}
|
|
12463
12446
|
}
|
|
12464
12447
|
|
|
12465
|
-
// bazel-out/
|
|
12448
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
12466
12449
|
function generateVariables(job) {
|
|
12467
12450
|
recursivelyProcessView(job.root, null);
|
|
12468
12451
|
}
|
|
@@ -12561,7 +12544,7 @@ function generateVariablesInScopeForView(view, scope) {
|
|
|
12561
12544
|
return newOps;
|
|
12562
12545
|
}
|
|
12563
12546
|
|
|
12564
|
-
// bazel-out/
|
|
12547
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
12565
12548
|
function collectConstExpressions(job) {
|
|
12566
12549
|
for (const unit of job.units) {
|
|
12567
12550
|
for (const op of unit.ops()) {
|
|
@@ -12575,7 +12558,7 @@ function collectConstExpressions(job) {
|
|
|
12575
12558
|
}
|
|
12576
12559
|
}
|
|
12577
12560
|
|
|
12578
|
-
// bazel-out/
|
|
12561
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
12579
12562
|
var STYLE_DOT = "style.";
|
|
12580
12563
|
var CLASS_DOT = "class.";
|
|
12581
12564
|
var STYLE_BANG = "style!";
|
|
@@ -12633,7 +12616,7 @@ function parseProperty(name) {
|
|
|
12633
12616
|
return { property: property2, suffix };
|
|
12634
12617
|
}
|
|
12635
12618
|
|
|
12636
|
-
// bazel-out/
|
|
12619
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
12637
12620
|
function mapLiteral(obj, quoted = false) {
|
|
12638
12621
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
12639
12622
|
key,
|
|
@@ -12642,7 +12625,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
12642
12625
|
})));
|
|
12643
12626
|
}
|
|
12644
12627
|
|
|
12645
|
-
// bazel-out/
|
|
12628
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
12646
12629
|
var IcuSerializerVisitor = class {
|
|
12647
12630
|
visitText(text2) {
|
|
12648
12631
|
return text2.value;
|
|
@@ -12676,7 +12659,7 @@ function serializeIcuNode(icu) {
|
|
|
12676
12659
|
return icu.visit(serializer);
|
|
12677
12660
|
}
|
|
12678
12661
|
|
|
12679
|
-
// bazel-out/
|
|
12662
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
12680
12663
|
var TokenType;
|
|
12681
12664
|
(function(TokenType2) {
|
|
12682
12665
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -13037,7 +13020,7 @@ function parseIntAutoRadix(text2) {
|
|
|
13037
13020
|
return result;
|
|
13038
13021
|
}
|
|
13039
13022
|
|
|
13040
|
-
// bazel-out/
|
|
13023
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
13041
13024
|
var SplitInterpolation = class {
|
|
13042
13025
|
constructor(strings, expressions, offsets) {
|
|
13043
13026
|
this.strings = strings;
|
|
@@ -13919,7 +13902,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
13919
13902
|
return offsetMap;
|
|
13920
13903
|
}
|
|
13921
13904
|
|
|
13922
|
-
// bazel-out/
|
|
13905
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
13923
13906
|
var NodeWithI18n = class {
|
|
13924
13907
|
constructor(sourceSpan, i18n2) {
|
|
13925
13908
|
this.sourceSpan = sourceSpan;
|
|
@@ -14030,7 +14013,7 @@ function visitAll2(visitor, nodes, context = null) {
|
|
|
14030
14013
|
return result;
|
|
14031
14014
|
}
|
|
14032
14015
|
|
|
14033
|
-
// bazel-out/
|
|
14016
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
14034
14017
|
var _SECURITY_SCHEMA;
|
|
14035
14018
|
function SECURITY_SCHEMA() {
|
|
14036
14019
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -14088,11 +14071,11 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
14088
14071
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
14089
14072
|
}
|
|
14090
14073
|
|
|
14091
|
-
// bazel-out/
|
|
14074
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
14092
14075
|
var ElementSchemaRegistry = class {
|
|
14093
14076
|
};
|
|
14094
14077
|
|
|
14095
|
-
// bazel-out/
|
|
14078
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
14096
14079
|
var BOOLEAN = "boolean";
|
|
14097
14080
|
var NUMBER = "number";
|
|
14098
14081
|
var STRING = "string";
|
|
@@ -14445,7 +14428,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
14445
14428
|
}
|
|
14446
14429
|
}
|
|
14447
14430
|
|
|
14448
|
-
// bazel-out/
|
|
14431
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
14449
14432
|
var HtmlTagDefinition = class {
|
|
14450
14433
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
14451
14434
|
this.closedByChildren = {};
|
|
@@ -14563,7 +14546,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
14563
14546
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
14564
14547
|
}
|
|
14565
14548
|
|
|
14566
|
-
// bazel-out/
|
|
14549
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
14567
14550
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
14568
14551
|
"A": "LINK",
|
|
14569
14552
|
"B": "BOLD_TEXT",
|
|
@@ -14685,7 +14668,7 @@ var PlaceholderRegistry = class {
|
|
|
14685
14668
|
}
|
|
14686
14669
|
};
|
|
14687
14670
|
|
|
14688
|
-
// bazel-out/
|
|
14671
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
14689
14672
|
var _expParser = new Parser(new Lexer());
|
|
14690
14673
|
function createI18nMessageFactory(interpolationConfig, containerBlocks) {
|
|
14691
14674
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
|
|
@@ -14864,14 +14847,14 @@ function extractPlaceholderName(input) {
|
|
|
14864
14847
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
14865
14848
|
}
|
|
14866
14849
|
|
|
14867
|
-
// bazel-out/
|
|
14850
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
14868
14851
|
var I18nError = class extends ParseError {
|
|
14869
14852
|
constructor(span, msg) {
|
|
14870
14853
|
super(span, msg);
|
|
14871
14854
|
}
|
|
14872
14855
|
};
|
|
14873
14856
|
|
|
14874
|
-
// bazel-out/
|
|
14857
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
14875
14858
|
var NAMED_ENTITIES = {
|
|
14876
14859
|
"AElig": "\xC6",
|
|
14877
14860
|
"AMP": "&",
|
|
@@ -17002,7 +16985,7 @@ var NAMED_ENTITIES = {
|
|
|
17002
16985
|
var NGSP_UNICODE = "\uE500";
|
|
17003
16986
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
17004
16987
|
|
|
17005
|
-
// bazel-out/
|
|
16988
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
17006
16989
|
var TokenError = class extends ParseError {
|
|
17007
16990
|
constructor(errorMsg, tokenType, span) {
|
|
17008
16991
|
super(span, errorMsg);
|
|
@@ -17923,7 +17906,7 @@ var CursorError = class {
|
|
|
17923
17906
|
}
|
|
17924
17907
|
};
|
|
17925
17908
|
|
|
17926
|
-
// bazel-out/
|
|
17909
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
17927
17910
|
var TreeError = class extends ParseError {
|
|
17928
17911
|
static create(elementName, span, msg) {
|
|
17929
17912
|
return new TreeError(elementName, span, msg);
|
|
@@ -18307,7 +18290,7 @@ function decodeEntity(match, entity) {
|
|
|
18307
18290
|
return match;
|
|
18308
18291
|
}
|
|
18309
18292
|
|
|
18310
|
-
// bazel-out/
|
|
18293
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
18311
18294
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
18312
18295
|
"iframe|srcdoc",
|
|
18313
18296
|
"*|innerhtml",
|
|
@@ -18322,7 +18305,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
18322
18305
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
18323
18306
|
}
|
|
18324
18307
|
|
|
18325
|
-
// bazel-out/
|
|
18308
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
18326
18309
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
18327
18310
|
if (htmlNode instanceof NodeWithI18n) {
|
|
18328
18311
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -18479,7 +18462,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
18479
18462
|
return jsDocComment(tags);
|
|
18480
18463
|
}
|
|
18481
18464
|
|
|
18482
|
-
// bazel-out/
|
|
18465
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
18483
18466
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
18484
18467
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
18485
18468
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -18530,7 +18513,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
18530
18513
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
18531
18514
|
}
|
|
18532
18515
|
|
|
18533
|
-
// bazel-out/
|
|
18516
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
18534
18517
|
function createLocalizeStatements(variable2, message, params) {
|
|
18535
18518
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
18536
18519
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -18619,7 +18602,7 @@ function createEmptyMessagePart(location) {
|
|
|
18619
18602
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
18620
18603
|
}
|
|
18621
18604
|
|
|
18622
|
-
// bazel-out/
|
|
18605
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
18623
18606
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
18624
18607
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
18625
18608
|
var I18N_ICU_MAPPING_PREFIX = "I18N_EXP_";
|
|
@@ -18787,7 +18770,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
18787
18770
|
return variable(name);
|
|
18788
18771
|
}
|
|
18789
18772
|
|
|
18790
|
-
// bazel-out/
|
|
18773
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
18791
18774
|
function convertI18nText(job) {
|
|
18792
18775
|
var _a2, _b2, _c2;
|
|
18793
18776
|
for (const unit of job.units) {
|
|
@@ -18857,7 +18840,7 @@ function convertI18nText(job) {
|
|
|
18857
18840
|
}
|
|
18858
18841
|
}
|
|
18859
18842
|
|
|
18860
|
-
// bazel-out/
|
|
18843
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
18861
18844
|
function liftLocalRefs(job) {
|
|
18862
18845
|
for (const unit of job.units) {
|
|
18863
18846
|
for (const op of unit.create) {
|
|
@@ -18887,7 +18870,7 @@ function serializeLocalRefs(refs) {
|
|
|
18887
18870
|
return literalArr(constRefs);
|
|
18888
18871
|
}
|
|
18889
18872
|
|
|
18890
|
-
// bazel-out/
|
|
18873
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
18891
18874
|
function emitNamespaceChanges(job) {
|
|
18892
18875
|
for (const unit of job.units) {
|
|
18893
18876
|
let activeNamespace = Namespace.HTML;
|
|
@@ -18903,7 +18886,7 @@ function emitNamespaceChanges(job) {
|
|
|
18903
18886
|
}
|
|
18904
18887
|
}
|
|
18905
18888
|
|
|
18906
|
-
// bazel-out/
|
|
18889
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
18907
18890
|
function parse(value) {
|
|
18908
18891
|
const styles = [];
|
|
18909
18892
|
let i = 0;
|
|
@@ -18997,7 +18980,7 @@ function parseExtractedStyles(job) {
|
|
|
18997
18980
|
}
|
|
18998
18981
|
}
|
|
18999
18982
|
|
|
19000
|
-
// bazel-out/
|
|
18983
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
19001
18984
|
function nameFunctionsAndVariables(job) {
|
|
19002
18985
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
19003
18986
|
}
|
|
@@ -19138,7 +19121,7 @@ function stripImportant(name) {
|
|
|
19138
19121
|
return name;
|
|
19139
19122
|
}
|
|
19140
19123
|
|
|
19141
|
-
// bazel-out/
|
|
19124
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
19142
19125
|
function mergeNextContextExpressions(job) {
|
|
19143
19126
|
for (const unit of job.units) {
|
|
19144
19127
|
for (const op of unit.create) {
|
|
@@ -19184,7 +19167,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
19184
19167
|
}
|
|
19185
19168
|
}
|
|
19186
19169
|
|
|
19187
|
-
// bazel-out/
|
|
19170
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
19188
19171
|
var CONTAINER_TAG = "ng-container";
|
|
19189
19172
|
function generateNgContainerOps(job) {
|
|
19190
19173
|
for (const unit of job.units) {
|
|
@@ -19201,7 +19184,7 @@ function generateNgContainerOps(job) {
|
|
|
19201
19184
|
}
|
|
19202
19185
|
}
|
|
19203
19186
|
|
|
19204
|
-
// bazel-out/
|
|
19187
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
19205
19188
|
function lookupElement3(elements, xref) {
|
|
19206
19189
|
const el = elements.get(xref);
|
|
19207
19190
|
if (el === void 0) {
|
|
@@ -19231,7 +19214,7 @@ function disableBindings(job) {
|
|
|
19231
19214
|
}
|
|
19232
19215
|
}
|
|
19233
19216
|
|
|
19234
|
-
// bazel-out/
|
|
19217
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
19235
19218
|
function generateNullishCoalesceExpressions(job) {
|
|
19236
19219
|
for (const unit of job.units) {
|
|
19237
19220
|
for (const op of unit.ops()) {
|
|
@@ -19247,7 +19230,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
19247
19230
|
}
|
|
19248
19231
|
}
|
|
19249
19232
|
|
|
19250
|
-
// bazel-out/
|
|
19233
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
19251
19234
|
function kindTest(kind) {
|
|
19252
19235
|
return (op) => op.kind === kind;
|
|
19253
19236
|
}
|
|
@@ -19337,7 +19320,7 @@ function keepLast(ops) {
|
|
|
19337
19320
|
return ops.slice(ops.length - 1);
|
|
19338
19321
|
}
|
|
19339
19322
|
|
|
19340
|
-
// bazel-out/
|
|
19323
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
19341
19324
|
function removeContentSelectors(job) {
|
|
19342
19325
|
for (const unit of job.units) {
|
|
19343
19326
|
const elements = createOpXrefMap(unit);
|
|
@@ -19364,7 +19347,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
19364
19347
|
return el;
|
|
19365
19348
|
}
|
|
19366
19349
|
|
|
19367
|
-
// bazel-out/
|
|
19350
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
19368
19351
|
function createPipes(job) {
|
|
19369
19352
|
for (const unit of job.units) {
|
|
19370
19353
|
processPipeBindingsInView(unit);
|
|
@@ -19412,7 +19395,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
19412
19395
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
19413
19396
|
}
|
|
19414
19397
|
|
|
19415
|
-
// bazel-out/
|
|
19398
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
19416
19399
|
function createVariadicPipes(job) {
|
|
19417
19400
|
for (const unit of job.units) {
|
|
19418
19401
|
for (const op of unit.update) {
|
|
@@ -19429,7 +19412,7 @@ function createVariadicPipes(job) {
|
|
|
19429
19412
|
}
|
|
19430
19413
|
}
|
|
19431
19414
|
|
|
19432
|
-
// bazel-out/
|
|
19415
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
19433
19416
|
function propagateI18nBlocks(job) {
|
|
19434
19417
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
19435
19418
|
}
|
|
@@ -19483,7 +19466,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
19483
19466
|
}
|
|
19484
19467
|
}
|
|
19485
19468
|
|
|
19486
|
-
// bazel-out/
|
|
19469
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
19487
19470
|
function extractPureFunctions(job) {
|
|
19488
19471
|
for (const view of job.units) {
|
|
19489
19472
|
for (const op of view.ops()) {
|
|
@@ -19525,7 +19508,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
19525
19508
|
}
|
|
19526
19509
|
};
|
|
19527
19510
|
|
|
19528
|
-
// bazel-out/
|
|
19511
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
19529
19512
|
function generatePureLiteralStructures(job) {
|
|
19530
19513
|
for (const unit of job.units) {
|
|
19531
19514
|
for (const op of unit.update) {
|
|
@@ -19572,7 +19555,7 @@ function transformLiteralMap(expr) {
|
|
|
19572
19555
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
19573
19556
|
}
|
|
19574
19557
|
|
|
19575
|
-
// bazel-out/
|
|
19558
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
19576
19559
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
19577
19560
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
19578
19561
|
}
|
|
@@ -19868,19 +19851,7 @@ function pipeBindV(slot, varOffset, args) {
|
|
|
19868
19851
|
]);
|
|
19869
19852
|
}
|
|
19870
19853
|
function textInterpolate(strings, expressions, sourceSpan) {
|
|
19871
|
-
|
|
19872
|
-
throw new Error(`AssertionError: expected specific shape of args for strings/expressions in interpolation`);
|
|
19873
|
-
}
|
|
19874
|
-
const interpolationArgs = [];
|
|
19875
|
-
if (expressions.length === 1 && strings[0] === "" && strings[1] === "") {
|
|
19876
|
-
interpolationArgs.push(expressions[0]);
|
|
19877
|
-
} else {
|
|
19878
|
-
let idx;
|
|
19879
|
-
for (idx = 0; idx < expressions.length; idx++) {
|
|
19880
|
-
interpolationArgs.push(literal(strings[idx]), expressions[idx]);
|
|
19881
|
-
}
|
|
19882
|
-
interpolationArgs.push(literal(strings[idx]));
|
|
19883
|
-
}
|
|
19854
|
+
const interpolationArgs = collateInterpolationArgs(strings, expressions);
|
|
19884
19855
|
return callVariadicInstruction(TEXT_INTERPOLATE_CONFIG, [], interpolationArgs, [], sourceSpan);
|
|
19885
19856
|
}
|
|
19886
19857
|
function i18nExp(expr, sourceSpan) {
|
|
@@ -19957,8 +19928,8 @@ function call(instruction, args, sourceSpan) {
|
|
|
19957
19928
|
const expr = importExpr(instruction).callFn(args, sourceSpan);
|
|
19958
19929
|
return createStatementOp(new ExpressionStatement(expr, sourceSpan));
|
|
19959
19930
|
}
|
|
19960
|
-
function conditional(
|
|
19961
|
-
const args = [
|
|
19931
|
+
function conditional(condition, contextValue, sourceSpan) {
|
|
19932
|
+
const args = [condition];
|
|
19962
19933
|
if (contextValue !== null) {
|
|
19963
19934
|
args.push(contextValue);
|
|
19964
19935
|
}
|
|
@@ -20113,7 +20084,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
20113
20084
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
20114
20085
|
}
|
|
20115
20086
|
|
|
20116
|
-
// bazel-out/
|
|
20087
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
20117
20088
|
var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
|
|
20118
20089
|
["window", Identifiers.resolveWindow],
|
|
20119
20090
|
["document", Identifiers.resolveDocument],
|
|
@@ -20384,10 +20355,7 @@ function reifyUpdateOperations(_unit, ops) {
|
|
|
20384
20355
|
if (op.processed === null) {
|
|
20385
20356
|
throw new Error(`Conditional test was not set.`);
|
|
20386
20357
|
}
|
|
20387
|
-
|
|
20388
|
-
throw new Error(`Conditional slot was not set.`);
|
|
20389
|
-
}
|
|
20390
|
-
OpList.replace(op, conditional(op.targetSlot.slot, op.processed, op.contextValue, op.sourceSpan));
|
|
20358
|
+
OpList.replace(op, conditional(op.processed, op.contextValue, op.sourceSpan));
|
|
20391
20359
|
break;
|
|
20392
20360
|
case OpKind.Repeater:
|
|
20393
20361
|
OpList.replace(op, repeater(op.collection, op.sourceSpan));
|
|
@@ -20472,7 +20440,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
20472
20440
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
20473
20441
|
}
|
|
20474
20442
|
|
|
20475
|
-
// bazel-out/
|
|
20443
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
20476
20444
|
function removeEmptyBindings(job) {
|
|
20477
20445
|
for (const unit of job.units) {
|
|
20478
20446
|
for (const op of unit.update) {
|
|
@@ -20493,7 +20461,7 @@ function removeEmptyBindings(job) {
|
|
|
20493
20461
|
}
|
|
20494
20462
|
}
|
|
20495
20463
|
|
|
20496
|
-
// bazel-out/
|
|
20464
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
20497
20465
|
function removeI18nContexts(job) {
|
|
20498
20466
|
for (const unit of job.units) {
|
|
20499
20467
|
for (const op of unit.create) {
|
|
@@ -20509,7 +20477,7 @@ function removeI18nContexts(job) {
|
|
|
20509
20477
|
}
|
|
20510
20478
|
}
|
|
20511
20479
|
|
|
20512
|
-
// bazel-out/
|
|
20480
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
|
|
20513
20481
|
function removeUnusedI18nAttributesOps(job) {
|
|
20514
20482
|
for (const unit of job.units) {
|
|
20515
20483
|
const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
|
|
@@ -20531,7 +20499,7 @@ function removeUnusedI18nAttributesOps(job) {
|
|
|
20531
20499
|
}
|
|
20532
20500
|
}
|
|
20533
20501
|
|
|
20534
|
-
// bazel-out/
|
|
20502
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
20535
20503
|
function resolveContexts(job) {
|
|
20536
20504
|
for (const unit of job.units) {
|
|
20537
20505
|
processLexicalScope(unit, unit.create);
|
|
@@ -20573,7 +20541,7 @@ function processLexicalScope(view, ops) {
|
|
|
20573
20541
|
}
|
|
20574
20542
|
}
|
|
20575
20543
|
|
|
20576
|
-
// bazel-out/
|
|
20544
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
20577
20545
|
function resolveDollarEvent(job) {
|
|
20578
20546
|
for (const unit of job.units) {
|
|
20579
20547
|
transformDollarEvent(unit.create);
|
|
@@ -20596,7 +20564,7 @@ function transformDollarEvent(ops) {
|
|
|
20596
20564
|
}
|
|
20597
20565
|
}
|
|
20598
20566
|
|
|
20599
|
-
// bazel-out/
|
|
20567
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
20600
20568
|
function resolveI18nElementPlaceholders(job) {
|
|
20601
20569
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
20602
20570
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -20775,7 +20743,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
20775
20743
|
params.set(placeholder, values);
|
|
20776
20744
|
}
|
|
20777
20745
|
|
|
20778
|
-
// bazel-out/
|
|
20746
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
20779
20747
|
function resolveI18nExpressionPlaceholders(job) {
|
|
20780
20748
|
var _a2;
|
|
20781
20749
|
const subTemplateIndices = /* @__PURE__ */ new Map();
|
|
@@ -20828,7 +20796,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
|
|
|
20828
20796
|
}
|
|
20829
20797
|
}
|
|
20830
20798
|
|
|
20831
|
-
// bazel-out/
|
|
20799
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
20832
20800
|
function resolveNames(job) {
|
|
20833
20801
|
for (const unit of job.units) {
|
|
20834
20802
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -20893,7 +20861,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
20893
20861
|
}
|
|
20894
20862
|
}
|
|
20895
20863
|
|
|
20896
|
-
// bazel-out/
|
|
20864
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
20897
20865
|
var sanitizerFns = /* @__PURE__ */ new Map([
|
|
20898
20866
|
[SecurityContext.HTML, Identifiers.sanitizeHtml],
|
|
20899
20867
|
[SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
|
|
@@ -20963,57 +20931,30 @@ function getOnlySecurityContext(securityContext) {
|
|
|
20963
20931
|
return securityContext;
|
|
20964
20932
|
}
|
|
20965
20933
|
|
|
20966
|
-
// bazel-out/
|
|
20934
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
|
|
20967
20935
|
function transformTwoWayBindingSet(job) {
|
|
20968
20936
|
for (const unit of job.units) {
|
|
20969
20937
|
for (const op of unit.create) {
|
|
20970
20938
|
if (op.kind === OpKind.TwoWayListener) {
|
|
20971
20939
|
transformExpressionsInOp(op, (expr) => {
|
|
20972
|
-
if (expr instanceof TwoWayBindingSetExpr) {
|
|
20973
|
-
return
|
|
20940
|
+
if (!(expr instanceof TwoWayBindingSetExpr)) {
|
|
20941
|
+
return expr;
|
|
20974
20942
|
}
|
|
20975
|
-
|
|
20943
|
+
const { target, value } = expr;
|
|
20944
|
+
if (target instanceof ReadPropExpr || target instanceof ReadKeyExpr) {
|
|
20945
|
+
return twoWayBindingSet(target, value).or(target.set(value));
|
|
20946
|
+
}
|
|
20947
|
+
if (target instanceof ReadVariableExpr) {
|
|
20948
|
+
return twoWayBindingSet(target, value);
|
|
20949
|
+
}
|
|
20950
|
+
throw new Error(`Unsupported expression in two-way action binding.`);
|
|
20976
20951
|
}, VisitorContextFlag.InChildOperation);
|
|
20977
20952
|
}
|
|
20978
20953
|
}
|
|
20979
20954
|
}
|
|
20980
20955
|
}
|
|
20981
|
-
function wrapSetOperation(target, value) {
|
|
20982
|
-
if (target instanceof ReadVariableExpr) {
|
|
20983
|
-
return twoWayBindingSet(target, value);
|
|
20984
|
-
}
|
|
20985
|
-
return twoWayBindingSet(target, value).or(target.set(value));
|
|
20986
|
-
}
|
|
20987
|
-
function isReadExpression(value) {
|
|
20988
|
-
return value instanceof ReadPropExpr || value instanceof ReadKeyExpr || value instanceof ReadVariableExpr;
|
|
20989
|
-
}
|
|
20990
|
-
function wrapAction(target, value) {
|
|
20991
|
-
if (isReadExpression(target)) {
|
|
20992
|
-
return wrapSetOperation(target, value);
|
|
20993
|
-
}
|
|
20994
|
-
if (target instanceof BinaryOperatorExpr && isReadExpression(target.rhs)) {
|
|
20995
|
-
return new BinaryOperatorExpr(target.operator, target.lhs, wrapSetOperation(target.rhs, value));
|
|
20996
|
-
}
|
|
20997
|
-
if (target instanceof ConditionalExpr && isReadExpression(target.falseCase)) {
|
|
20998
|
-
return new ConditionalExpr(target.condition, target.trueCase, wrapSetOperation(target.falseCase, value));
|
|
20999
|
-
}
|
|
21000
|
-
if (target instanceof NotExpr) {
|
|
21001
|
-
let expr = target.condition;
|
|
21002
|
-
while (true) {
|
|
21003
|
-
if (expr instanceof NotExpr) {
|
|
21004
|
-
expr = expr.condition;
|
|
21005
|
-
} else {
|
|
21006
|
-
if (isReadExpression(expr)) {
|
|
21007
|
-
return wrapSetOperation(expr, value);
|
|
21008
|
-
}
|
|
21009
|
-
break;
|
|
21010
|
-
}
|
|
21011
|
-
}
|
|
21012
|
-
}
|
|
21013
|
-
throw new Error(`Unsupported expression in two-way action binding.`);
|
|
21014
|
-
}
|
|
21015
20956
|
|
|
21016
|
-
// bazel-out/
|
|
20957
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
21017
20958
|
function saveAndRestoreView(job) {
|
|
21018
20959
|
for (const unit of job.units) {
|
|
21019
20960
|
unit.create.prepend([
|
|
@@ -21058,7 +20999,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
21058
20999
|
}
|
|
21059
21000
|
}
|
|
21060
21001
|
|
|
21061
|
-
// bazel-out/
|
|
21002
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
21062
21003
|
function allocateSlots(job) {
|
|
21063
21004
|
const slotMap = /* @__PURE__ */ new Map();
|
|
21064
21005
|
for (const unit of job.units) {
|
|
@@ -21083,7 +21024,7 @@ function allocateSlots(job) {
|
|
|
21083
21024
|
}
|
|
21084
21025
|
}
|
|
21085
21026
|
|
|
21086
|
-
// bazel-out/
|
|
21027
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
21087
21028
|
function specializeStyleBindings(job) {
|
|
21088
21029
|
for (const unit of job.units) {
|
|
21089
21030
|
for (const op of unit.update) {
|
|
@@ -21113,7 +21054,7 @@ function specializeStyleBindings(job) {
|
|
|
21113
21054
|
}
|
|
21114
21055
|
}
|
|
21115
21056
|
|
|
21116
|
-
// bazel-out/
|
|
21057
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
21117
21058
|
function generateTemporaryVariables(job) {
|
|
21118
21059
|
for (const unit of job.units) {
|
|
21119
21060
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -21171,7 +21112,7 @@ function assignName(names, expr) {
|
|
|
21171
21112
|
expr.name = name;
|
|
21172
21113
|
}
|
|
21173
21114
|
|
|
21174
|
-
// bazel-out/
|
|
21115
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
21175
21116
|
function generateTrackFns(job) {
|
|
21176
21117
|
for (const unit of job.units) {
|
|
21177
21118
|
for (const op of unit.create) {
|
|
@@ -21204,7 +21145,7 @@ function generateTrackFns(job) {
|
|
|
21204
21145
|
}
|
|
21205
21146
|
}
|
|
21206
21147
|
|
|
21207
|
-
// bazel-out/
|
|
21148
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
21208
21149
|
function optimizeTrackFns(job) {
|
|
21209
21150
|
for (const unit of job.units) {
|
|
21210
21151
|
for (const op of unit.create) {
|
|
@@ -21252,7 +21193,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
21252
21193
|
return true;
|
|
21253
21194
|
}
|
|
21254
21195
|
|
|
21255
|
-
// bazel-out/
|
|
21196
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
21256
21197
|
function generateTrackVariables(job) {
|
|
21257
21198
|
for (const unit of job.units) {
|
|
21258
21199
|
for (const op of unit.create) {
|
|
@@ -21273,7 +21214,7 @@ function generateTrackVariables(job) {
|
|
|
21273
21214
|
}
|
|
21274
21215
|
}
|
|
21275
21216
|
|
|
21276
|
-
// bazel-out/
|
|
21217
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
21277
21218
|
function countVariables(job) {
|
|
21278
21219
|
for (const unit of job.units) {
|
|
21279
21220
|
let varCount = 0;
|
|
@@ -21383,7 +21324,7 @@ function isSingletonInterpolation(expr) {
|
|
|
21383
21324
|
return true;
|
|
21384
21325
|
}
|
|
21385
21326
|
|
|
21386
|
-
// bazel-out/
|
|
21327
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
21387
21328
|
function optimizeVariables(job) {
|
|
21388
21329
|
for (const unit of job.units) {
|
|
21389
21330
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -21632,7 +21573,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
21632
21573
|
}
|
|
21633
21574
|
}
|
|
21634
21575
|
|
|
21635
|
-
// bazel-out/
|
|
21576
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
21636
21577
|
function wrapI18nIcus(job) {
|
|
21637
21578
|
for (const unit of job.units) {
|
|
21638
21579
|
let currentI18nOp = null;
|
|
@@ -21662,7 +21603,7 @@ function wrapI18nIcus(job) {
|
|
|
21662
21603
|
}
|
|
21663
21604
|
}
|
|
21664
21605
|
|
|
21665
|
-
// bazel-out/
|
|
21606
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
21666
21607
|
var phases = [
|
|
21667
21608
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
21668
21609
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -21828,7 +21769,7 @@ function emitHostBindingFunction(job) {
|
|
|
21828
21769
|
);
|
|
21829
21770
|
}
|
|
21830
21771
|
|
|
21831
|
-
// bazel-out/
|
|
21772
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
21832
21773
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
21833
21774
|
var domSchema = new DomElementSchemaRegistry();
|
|
21834
21775
|
var NG_TEMPLATE_TAG_NAME = "ng-template";
|
|
@@ -22022,7 +21963,6 @@ function ingestBoundText(unit, text2, icuPlaceholder) {
|
|
|
22022
21963
|
function ingestIfBlock(unit, ifBlock) {
|
|
22023
21964
|
var _a2;
|
|
22024
21965
|
let firstXref = null;
|
|
22025
|
-
let firstSlotHandle = null;
|
|
22026
21966
|
let conditions = [];
|
|
22027
21967
|
for (let i = 0; i < ifBlock.branches.length; i++) {
|
|
22028
21968
|
const ifCase = ifBlock.branches[i];
|
|
@@ -22042,15 +21982,13 @@ function ingestIfBlock(unit, ifBlock) {
|
|
|
22042
21982
|
unit.create.push(templateOp);
|
|
22043
21983
|
if (firstXref === null) {
|
|
22044
21984
|
firstXref = cView.xref;
|
|
22045
|
-
firstSlotHandle = templateOp.handle;
|
|
22046
21985
|
}
|
|
22047
21986
|
const caseExpr = ifCase.expression ? convertAst(ifCase.expression, unit.job, null) : null;
|
|
22048
21987
|
const conditionalCaseExpr = new ConditionalCaseExpr(caseExpr, templateOp.xref, templateOp.handle, ifCase.expressionAlias);
|
|
22049
21988
|
conditions.push(conditionalCaseExpr);
|
|
22050
21989
|
ingestNodes(cView, ifCase.children);
|
|
22051
21990
|
}
|
|
22052
|
-
|
|
22053
|
-
unit.update.push(conditional2);
|
|
21991
|
+
unit.update.push(createConditionalOp(firstXref, null, conditions, ifBlock.sourceSpan));
|
|
22054
21992
|
}
|
|
22055
21993
|
function ingestSwitchBlock(unit, switchBlock) {
|
|
22056
21994
|
var _a2;
|
|
@@ -22058,7 +21996,6 @@ function ingestSwitchBlock(unit, switchBlock) {
|
|
|
22058
21996
|
return;
|
|
22059
21997
|
}
|
|
22060
21998
|
let firstXref = null;
|
|
22061
|
-
let firstSlotHandle = null;
|
|
22062
21999
|
let conditions = [];
|
|
22063
22000
|
for (const switchCase of switchBlock.cases) {
|
|
22064
22001
|
const cView = unit.job.allocateView(unit.xref);
|
|
@@ -22074,15 +22011,13 @@ function ingestSwitchBlock(unit, switchBlock) {
|
|
|
22074
22011
|
unit.create.push(templateOp);
|
|
22075
22012
|
if (firstXref === null) {
|
|
22076
22013
|
firstXref = cView.xref;
|
|
22077
|
-
firstSlotHandle = templateOp.handle;
|
|
22078
22014
|
}
|
|
22079
22015
|
const caseExpr = switchCase.expression ? convertAst(switchCase.expression, unit.job, switchBlock.startSourceSpan) : null;
|
|
22080
22016
|
const conditionalCaseExpr = new ConditionalCaseExpr(caseExpr, templateOp.xref, templateOp.handle);
|
|
22081
22017
|
conditions.push(conditionalCaseExpr);
|
|
22082
22018
|
ingestNodes(cView, switchCase.children);
|
|
22083
22019
|
}
|
|
22084
|
-
|
|
22085
|
-
unit.update.push(conditional2);
|
|
22020
|
+
unit.update.push(createConditionalOp(firstXref, convertAst(switchBlock.expression, unit.job, null), conditions, switchBlock.sourceSpan));
|
|
22086
22021
|
}
|
|
22087
22022
|
function ingestDeferView(unit, suffix, i18nMeta, children, sourceSpan) {
|
|
22088
22023
|
if (i18nMeta !== void 0 && !(i18nMeta instanceof BlockPlaceholder)) {
|
|
@@ -22573,7 +22508,7 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
22573
22508
|
return null;
|
|
22574
22509
|
}
|
|
22575
22510
|
|
|
22576
|
-
// bazel-out/
|
|
22511
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
|
|
22577
22512
|
function renderFlagCheckIfStmt(flags, statements) {
|
|
22578
22513
|
return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
|
|
22579
22514
|
}
|
|
@@ -22693,7 +22628,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
|
|
|
22693
22628
|
], INFERRED_TYPE, null, contentQueriesFnName);
|
|
22694
22629
|
}
|
|
22695
22630
|
|
|
22696
|
-
// bazel-out/
|
|
22631
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
22697
22632
|
var HtmlParser = class extends Parser2 {
|
|
22698
22633
|
constructor() {
|
|
22699
22634
|
super(getHtmlTagDefinition);
|
|
@@ -22703,7 +22638,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
22703
22638
|
}
|
|
22704
22639
|
};
|
|
22705
22640
|
|
|
22706
|
-
// bazel-out/
|
|
22641
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
22707
22642
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
22708
22643
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
22709
22644
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -22769,7 +22704,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
22769
22704
|
return result;
|
|
22770
22705
|
}
|
|
22771
22706
|
|
|
22772
|
-
// bazel-out/
|
|
22707
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
22773
22708
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
22774
22709
|
var ATTRIBUTE_PREFIX = "attr";
|
|
22775
22710
|
var CLASS_PREFIX = "class";
|
|
@@ -22777,11 +22712,12 @@ var STYLE_PREFIX = "style";
|
|
|
22777
22712
|
var TEMPLATE_ATTR_PREFIX = "*";
|
|
22778
22713
|
var ANIMATE_PROP_PREFIX = "animate-";
|
|
22779
22714
|
var BindingParser = class {
|
|
22780
|
-
constructor(_exprParser, _interpolationConfig, _schemaRegistry, errors) {
|
|
22715
|
+
constructor(_exprParser, _interpolationConfig, _schemaRegistry, errors, _allowInvalidAssignmentEvents = false) {
|
|
22781
22716
|
this._exprParser = _exprParser;
|
|
22782
22717
|
this._interpolationConfig = _interpolationConfig;
|
|
22783
22718
|
this._schemaRegistry = _schemaRegistry;
|
|
22784
22719
|
this.errors = errors;
|
|
22720
|
+
this._allowInvalidAssignmentEvents = _allowInvalidAssignmentEvents;
|
|
22785
22721
|
}
|
|
22786
22722
|
get interpolationConfig() {
|
|
22787
22723
|
return this._interpolationConfig;
|
|
@@ -23085,6 +23021,9 @@ var BindingParser = class {
|
|
|
23085
23021
|
if (ast instanceof PropertyRead || ast instanceof KeyedRead) {
|
|
23086
23022
|
return true;
|
|
23087
23023
|
}
|
|
23024
|
+
if (!this._allowInvalidAssignmentEvents) {
|
|
23025
|
+
return false;
|
|
23026
|
+
}
|
|
23088
23027
|
if (ast instanceof Binary) {
|
|
23089
23028
|
return (ast.operation === "&&" || ast.operation === "||" || ast.operation === "??") && (ast.right instanceof PropertyRead || ast.right instanceof KeyedRead);
|
|
23090
23029
|
}
|
|
@@ -23110,7 +23049,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
23110
23049
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
23111
23050
|
}
|
|
23112
23051
|
|
|
23113
|
-
// bazel-out/
|
|
23052
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
23114
23053
|
function isStyleUrlResolvable(url) {
|
|
23115
23054
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
23116
23055
|
return false;
|
|
@@ -23119,7 +23058,7 @@ function isStyleUrlResolvable(url) {
|
|
|
23119
23058
|
}
|
|
23120
23059
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
23121
23060
|
|
|
23122
|
-
// bazel-out/
|
|
23061
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
23123
23062
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
23124
23063
|
var LINK_ELEMENT = "link";
|
|
23125
23064
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -23189,7 +23128,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
23189
23128
|
return selectAttr;
|
|
23190
23129
|
}
|
|
23191
23130
|
|
|
23192
|
-
// bazel-out/
|
|
23131
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
23193
23132
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
23194
23133
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
23195
23134
|
var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
|
|
@@ -23505,7 +23444,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
23505
23444
|
return expression.slice(start, end);
|
|
23506
23445
|
}
|
|
23507
23446
|
|
|
23508
|
-
// bazel-out/
|
|
23447
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
23509
23448
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
23510
23449
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
23511
23450
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -23769,7 +23708,7 @@ function parseDeferredTime(value) {
|
|
|
23769
23708
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
23770
23709
|
}
|
|
23771
23710
|
|
|
23772
|
-
// bazel-out/
|
|
23711
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
23773
23712
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
23774
23713
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
23775
23714
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -23904,7 +23843,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
23904
23843
|
return { triggers, prefetchTriggers };
|
|
23905
23844
|
}
|
|
23906
23845
|
|
|
23907
|
-
// bazel-out/
|
|
23846
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
23908
23847
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
23909
23848
|
var KW_BIND_IDX = 1;
|
|
23910
23849
|
var KW_LET_IDX = 2;
|
|
@@ -24326,12 +24265,12 @@ function textContents(node) {
|
|
|
24326
24265
|
}
|
|
24327
24266
|
}
|
|
24328
24267
|
|
|
24329
|
-
// bazel-out/
|
|
24268
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
24330
24269
|
var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
|
|
24331
24270
|
function parseTemplate(template2, templateUrl, options = {}) {
|
|
24332
24271
|
var _a2;
|
|
24333
|
-
const { interpolationConfig, preserveWhitespaces, enableI18nLegacyMessageIdFormat } = options;
|
|
24334
|
-
const bindingParser = makeBindingParser(interpolationConfig);
|
|
24272
|
+
const { interpolationConfig, preserveWhitespaces, enableI18nLegacyMessageIdFormat, allowInvalidAssignmentEvents } = options;
|
|
24273
|
+
const bindingParser = makeBindingParser(interpolationConfig, allowInvalidAssignmentEvents);
|
|
24335
24274
|
const htmlParser = new HtmlParser();
|
|
24336
24275
|
const parseResult = htmlParser.parse(template2, templateUrl, __spreadProps(__spreadValues({
|
|
24337
24276
|
leadingTriviaChars: LEADING_TRIVIA_CHARS
|
|
@@ -24396,11 +24335,11 @@ function parseTemplate(template2, templateUrl, options = {}) {
|
|
|
24396
24335
|
return parsedTemplate;
|
|
24397
24336
|
}
|
|
24398
24337
|
var elementRegistry = new DomElementSchemaRegistry();
|
|
24399
|
-
function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {
|
|
24400
|
-
return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, []);
|
|
24338
|
+
function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, allowInvalidAssignmentEvents = false) {
|
|
24339
|
+
return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, [], allowInvalidAssignmentEvents);
|
|
24401
24340
|
}
|
|
24402
24341
|
|
|
24403
|
-
// bazel-out/
|
|
24342
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
24404
24343
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
24405
24344
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
24406
24345
|
var CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
|
|
@@ -24786,7 +24725,7 @@ function compileDeferResolverFunction(meta) {
|
|
|
24786
24725
|
return arrowFn([], literalArr(depExpressions));
|
|
24787
24726
|
}
|
|
24788
24727
|
|
|
24789
|
-
// bazel-out/
|
|
24728
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
24790
24729
|
var R3TargetBinder = class {
|
|
24791
24730
|
constructor(directiveMatcher) {
|
|
24792
24731
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -25419,11 +25358,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
25419
25358
|
return templateEntities;
|
|
25420
25359
|
}
|
|
25421
25360
|
|
|
25422
|
-
// bazel-out/
|
|
25361
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
25423
25362
|
var ResourceLoader = class {
|
|
25424
25363
|
};
|
|
25425
25364
|
|
|
25426
|
-
// bazel-out/
|
|
25365
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
25427
25366
|
var CompilerFacadeImpl = class {
|
|
25428
25367
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
25429
25368
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -25984,10 +25923,10 @@ function publishFacade(global) {
|
|
|
25984
25923
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
25985
25924
|
}
|
|
25986
25925
|
|
|
25987
|
-
// bazel-out/
|
|
25988
|
-
var VERSION2 = new Version("18.0.0-next.
|
|
25926
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
|
|
25927
|
+
var VERSION2 = new Version("18.0.0-next.5");
|
|
25989
25928
|
|
|
25990
|
-
// bazel-out/
|
|
25929
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
25991
25930
|
var _I18N_ATTR = "i18n";
|
|
25992
25931
|
var _I18N_ATTR_PREFIX = "i18n-";
|
|
25993
25932
|
var _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;
|
|
@@ -26296,7 +26235,7 @@ function _parseMessageMeta(i18n2) {
|
|
|
26296
26235
|
return { meaning, description, id: id.trim() };
|
|
26297
26236
|
}
|
|
26298
26237
|
|
|
26299
|
-
// bazel-out/
|
|
26238
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
26300
26239
|
var XmlTagDefinition = class {
|
|
26301
26240
|
constructor() {
|
|
26302
26241
|
this.closedByParent = false;
|
|
@@ -26321,7 +26260,7 @@ function getXmlTagDefinition(tagName) {
|
|
|
26321
26260
|
return _TAG_DEFINITION;
|
|
26322
26261
|
}
|
|
26323
26262
|
|
|
26324
|
-
// bazel-out/
|
|
26263
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
|
|
26325
26264
|
var XmlParser = class extends Parser2 {
|
|
26326
26265
|
constructor() {
|
|
26327
26266
|
super(getXmlTagDefinition);
|
|
@@ -26331,7 +26270,7 @@ var XmlParser = class extends Parser2 {
|
|
|
26331
26270
|
}
|
|
26332
26271
|
};
|
|
26333
26272
|
|
|
26334
|
-
// bazel-out/
|
|
26273
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
|
|
26335
26274
|
var _VERSION = "1.2";
|
|
26336
26275
|
var _XMLNS = "urn:oasis:names:tc:xliff:document:1.2";
|
|
26337
26276
|
var _DEFAULT_SOURCE_LANG = "en";
|
|
@@ -26585,7 +26524,7 @@ function getCtypeForTag(tag) {
|
|
|
26585
26524
|
}
|
|
26586
26525
|
}
|
|
26587
26526
|
|
|
26588
|
-
// bazel-out/
|
|
26527
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
|
|
26589
26528
|
var _VERSION2 = "2.0";
|
|
26590
26529
|
var _XMLNS2 = "urn:oasis:names:tc:xliff:document:2.0";
|
|
26591
26530
|
var _DEFAULT_SOURCE_LANG2 = "en";
|
|
@@ -26901,7 +26840,7 @@ function getTypeForTag(tag) {
|
|
|
26901
26840
|
}
|
|
26902
26841
|
}
|
|
26903
26842
|
|
|
26904
|
-
// bazel-out/
|
|
26843
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
|
|
26905
26844
|
var MessageBundle = class {
|
|
26906
26845
|
constructor(_htmlParser, _implicitTags, _implicitAttrs, _locale = null) {
|
|
26907
26846
|
this._htmlParser = _htmlParser;
|
|
@@ -26974,7 +26913,7 @@ var MapPlaceholderNames = class extends CloneVisitor {
|
|
|
26974
26913
|
}
|
|
26975
26914
|
};
|
|
26976
26915
|
|
|
26977
|
-
// bazel-out/
|
|
26916
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
26978
26917
|
var FactoryTarget2;
|
|
26979
26918
|
(function(FactoryTarget3) {
|
|
26980
26919
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -26984,7 +26923,7 @@ var FactoryTarget2;
|
|
|
26984
26923
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
26985
26924
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
26986
26925
|
|
|
26987
|
-
// bazel-out/
|
|
26926
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
|
|
26988
26927
|
function compileClassMetadata(metadata) {
|
|
26989
26928
|
const fnCall = internalCompileClassMetadata(metadata);
|
|
26990
26929
|
return arrowFn([], [devOnlyGuardedExpression(fnCall).toStmt()]).callFn([]);
|
|
@@ -27022,7 +26961,7 @@ function compileComponentMetadataAsyncResolver(dependencies) {
|
|
|
27022
26961
|
return arrowFn([], literalArr(dynamicImports));
|
|
27023
26962
|
}
|
|
27024
26963
|
|
|
27025
|
-
// bazel-out/
|
|
26964
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_class_debug_info_compiler.mjs
|
|
27026
26965
|
function compileClassDebugInfo(debugInfo) {
|
|
27027
26966
|
const debugInfoObject = {
|
|
27028
26967
|
className: debugInfo.className
|
|
@@ -27042,13 +26981,13 @@ function compileClassDebugInfo(debugInfo) {
|
|
|
27042
26981
|
return iife.callFn([]);
|
|
27043
26982
|
}
|
|
27044
26983
|
|
|
27045
|
-
// bazel-out/
|
|
26984
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
|
|
27046
26985
|
var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
|
|
27047
26986
|
var MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = "18.0.0";
|
|
27048
26987
|
function compileDeclareClassMetadata(metadata) {
|
|
27049
26988
|
const definitionMap = new DefinitionMap();
|
|
27050
26989
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
27051
|
-
definitionMap.set("version", literal("18.0.0-next.
|
|
26990
|
+
definitionMap.set("version", literal("18.0.0-next.5"));
|
|
27052
26991
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27053
26992
|
definitionMap.set("type", metadata.type);
|
|
27054
26993
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -27067,7 +27006,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
27067
27006
|
callbackReturnDefinitionMap.set("ctorParameters", (_a2 = metadata.ctorParameters) != null ? _a2 : literal(null));
|
|
27068
27007
|
callbackReturnDefinitionMap.set("propDecorators", (_b2 = metadata.propDecorators) != null ? _b2 : literal(null));
|
|
27069
27008
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
27070
|
-
definitionMap.set("version", literal("18.0.0-next.
|
|
27009
|
+
definitionMap.set("version", literal("18.0.0-next.5"));
|
|
27071
27010
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27072
27011
|
definitionMap.set("type", metadata.type);
|
|
27073
27012
|
definitionMap.set("resolveDeferredDeps", compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -27075,7 +27014,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
27075
27014
|
return importExpr(Identifiers.declareClassMetadataAsync).callFn([definitionMap.toLiteralMap()]);
|
|
27076
27015
|
}
|
|
27077
27016
|
|
|
27078
|
-
// bazel-out/
|
|
27017
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
|
|
27079
27018
|
function toOptionalLiteralArray(values, mapper) {
|
|
27080
27019
|
if (values === null || values.length === 0) {
|
|
27081
27020
|
return null;
|
|
@@ -27123,7 +27062,7 @@ function compileDependency(dep) {
|
|
|
27123
27062
|
return depMeta.toLiteralMap();
|
|
27124
27063
|
}
|
|
27125
27064
|
|
|
27126
|
-
// bazel-out/
|
|
27065
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
|
|
27127
27066
|
function compileDeclareDirectiveFromMetadata(meta) {
|
|
27128
27067
|
const definitionMap = createDirectiveDefinitionMap(meta);
|
|
27129
27068
|
const expression = importExpr(Identifiers.declareDirective).callFn([definitionMap.toLiteralMap()]);
|
|
@@ -27135,7 +27074,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
27135
27074
|
const definitionMap = new DefinitionMap();
|
|
27136
27075
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
27137
27076
|
definitionMap.set("minVersion", literal(minVersion));
|
|
27138
|
-
definitionMap.set("version", literal("18.0.0-next.
|
|
27077
|
+
definitionMap.set("version", literal("18.0.0-next.5"));
|
|
27139
27078
|
definitionMap.set("type", meta.type.value);
|
|
27140
27079
|
if (meta.isStandalone) {
|
|
27141
27080
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -27295,7 +27234,7 @@ function legacyInputsPartialMetadata(inputs) {
|
|
|
27295
27234
|
}));
|
|
27296
27235
|
}
|
|
27297
27236
|
|
|
27298
|
-
// bazel-out/
|
|
27237
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
|
|
27299
27238
|
function compileDeclareComponentFromMetadata(meta, template2, additionalTemplateInfo) {
|
|
27300
27239
|
const definitionMap = createComponentDefinitionMap(meta, template2, additionalTemplateInfo);
|
|
27301
27240
|
const expression = importExpr(Identifiers.declareComponent).callFn([definitionMap.toLiteralMap()]);
|
|
@@ -27446,12 +27385,12 @@ var BlockPresenceVisitor = class extends RecursiveVisitor {
|
|
|
27446
27385
|
}
|
|
27447
27386
|
};
|
|
27448
27387
|
|
|
27449
|
-
// bazel-out/
|
|
27388
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
|
|
27450
27389
|
var MINIMUM_PARTIAL_LINKER_VERSION2 = "12.0.0";
|
|
27451
27390
|
function compileDeclareFactoryFunction(meta) {
|
|
27452
27391
|
const definitionMap = new DefinitionMap();
|
|
27453
27392
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
|
|
27454
|
-
definitionMap.set("version", literal("18.0.0-next.
|
|
27393
|
+
definitionMap.set("version", literal("18.0.0-next.5"));
|
|
27455
27394
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27456
27395
|
definitionMap.set("type", meta.type.value);
|
|
27457
27396
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -27463,7 +27402,7 @@ function compileDeclareFactoryFunction(meta) {
|
|
|
27463
27402
|
};
|
|
27464
27403
|
}
|
|
27465
27404
|
|
|
27466
|
-
// bazel-out/
|
|
27405
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
|
|
27467
27406
|
var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
|
|
27468
27407
|
function compileDeclareInjectableFromMetadata(meta) {
|
|
27469
27408
|
const definitionMap = createInjectableDefinitionMap(meta);
|
|
@@ -27474,7 +27413,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
27474
27413
|
function createInjectableDefinitionMap(meta) {
|
|
27475
27414
|
const definitionMap = new DefinitionMap();
|
|
27476
27415
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
|
|
27477
|
-
definitionMap.set("version", literal("18.0.0-next.
|
|
27416
|
+
definitionMap.set("version", literal("18.0.0-next.5"));
|
|
27478
27417
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27479
27418
|
definitionMap.set("type", meta.type.value);
|
|
27480
27419
|
if (meta.providedIn !== void 0) {
|
|
@@ -27501,7 +27440,7 @@ function createInjectableDefinitionMap(meta) {
|
|
|
27501
27440
|
return definitionMap;
|
|
27502
27441
|
}
|
|
27503
27442
|
|
|
27504
|
-
// bazel-out/
|
|
27443
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
|
|
27505
27444
|
var MINIMUM_PARTIAL_LINKER_VERSION4 = "12.0.0";
|
|
27506
27445
|
function compileDeclareInjectorFromMetadata(meta) {
|
|
27507
27446
|
const definitionMap = createInjectorDefinitionMap(meta);
|
|
@@ -27512,7 +27451,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
27512
27451
|
function createInjectorDefinitionMap(meta) {
|
|
27513
27452
|
const definitionMap = new DefinitionMap();
|
|
27514
27453
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
|
|
27515
|
-
definitionMap.set("version", literal("18.0.0-next.
|
|
27454
|
+
definitionMap.set("version", literal("18.0.0-next.5"));
|
|
27516
27455
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27517
27456
|
definitionMap.set("type", meta.type.value);
|
|
27518
27457
|
definitionMap.set("providers", meta.providers);
|
|
@@ -27522,7 +27461,7 @@ function createInjectorDefinitionMap(meta) {
|
|
|
27522
27461
|
return definitionMap;
|
|
27523
27462
|
}
|
|
27524
27463
|
|
|
27525
|
-
// bazel-out/
|
|
27464
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
|
|
27526
27465
|
var MINIMUM_PARTIAL_LINKER_VERSION5 = "14.0.0";
|
|
27527
27466
|
function compileDeclareNgModuleFromMetadata(meta) {
|
|
27528
27467
|
const definitionMap = createNgModuleDefinitionMap(meta);
|
|
@@ -27536,7 +27475,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
27536
27475
|
throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
|
|
27537
27476
|
}
|
|
27538
27477
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
|
|
27539
|
-
definitionMap.set("version", literal("18.0.0-next.
|
|
27478
|
+
definitionMap.set("version", literal("18.0.0-next.5"));
|
|
27540
27479
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27541
27480
|
definitionMap.set("type", meta.type.value);
|
|
27542
27481
|
if (meta.bootstrap.length > 0) {
|
|
@@ -27560,7 +27499,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
27560
27499
|
return definitionMap;
|
|
27561
27500
|
}
|
|
27562
27501
|
|
|
27563
|
-
// bazel-out/
|
|
27502
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
|
|
27564
27503
|
var MINIMUM_PARTIAL_LINKER_VERSION6 = "14.0.0";
|
|
27565
27504
|
function compileDeclarePipeFromMetadata(meta) {
|
|
27566
27505
|
const definitionMap = createPipeDefinitionMap(meta);
|
|
@@ -27571,7 +27510,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
27571
27510
|
function createPipeDefinitionMap(meta) {
|
|
27572
27511
|
const definitionMap = new DefinitionMap();
|
|
27573
27512
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
|
|
27574
|
-
definitionMap.set("version", literal("18.0.0-next.
|
|
27513
|
+
definitionMap.set("version", literal("18.0.0-next.5"));
|
|
27575
27514
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27576
27515
|
definitionMap.set("type", meta.type.value);
|
|
27577
27516
|
if (meta.isStandalone) {
|
|
@@ -27584,16 +27523,16 @@ function createPipeDefinitionMap(meta) {
|
|
|
27584
27523
|
return definitionMap;
|
|
27585
27524
|
}
|
|
27586
27525
|
|
|
27587
|
-
// bazel-out/
|
|
27526
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
27588
27527
|
publishFacade(_global);
|
|
27589
27528
|
|
|
27590
|
-
// bazel-out/
|
|
27591
|
-
var VERSION3 = new Version("18.0.0-next.
|
|
27529
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
27530
|
+
var VERSION3 = new Version("18.0.0-next.5");
|
|
27592
27531
|
|
|
27593
|
-
// bazel-out/
|
|
27532
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
27594
27533
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
27595
27534
|
|
|
27596
|
-
// bazel-out/
|
|
27535
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
27597
27536
|
var ErrorCode;
|
|
27598
27537
|
(function(ErrorCode2) {
|
|
27599
27538
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -27683,7 +27622,7 @@ var ErrorCode;
|
|
|
27683
27622
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
27684
27623
|
})(ErrorCode || (ErrorCode = {}));
|
|
27685
27624
|
|
|
27686
|
-
// bazel-out/
|
|
27625
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
27687
27626
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
27688
27627
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
27689
27628
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -27695,15 +27634,15 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
27695
27634
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
27696
27635
|
]);
|
|
27697
27636
|
|
|
27698
|
-
// bazel-out/
|
|
27637
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
27699
27638
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
27700
27639
|
|
|
27701
|
-
// bazel-out/
|
|
27640
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
27702
27641
|
function ngErrorCode(code) {
|
|
27703
27642
|
return parseInt("-99" + code);
|
|
27704
27643
|
}
|
|
27705
27644
|
|
|
27706
|
-
// bazel-out/
|
|
27645
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
27707
27646
|
var FatalDiagnosticError = class extends Error {
|
|
27708
27647
|
constructor(code, node, diagnosticMessage, relatedInformation) {
|
|
27709
27648
|
super(`FatalDiagnosticError: Code: ${code}, Message: ${import_typescript2.default.flattenDiagnosticMessageText(diagnosticMessage, "\n")}`);
|
|
@@ -27764,10 +27703,10 @@ function isFatalDiagnosticError(err) {
|
|
|
27764
27703
|
return err._isFatalDiagnosticError === true;
|
|
27765
27704
|
}
|
|
27766
27705
|
|
|
27767
|
-
// bazel-out/
|
|
27706
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
27768
27707
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
27769
27708
|
|
|
27770
|
-
// bazel-out/
|
|
27709
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
27771
27710
|
var ExtendedTemplateDiagnosticName;
|
|
27772
27711
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
27773
27712
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -27782,7 +27721,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
27782
27721
|
ExtendedTemplateDiagnosticName2["CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION"] = "controlFlowPreventingContentProjection";
|
|
27783
27722
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
27784
27723
|
|
|
27785
|
-
// bazel-out/
|
|
27724
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
27786
27725
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
27787
27726
|
var TS = /\.tsx?$/i;
|
|
27788
27727
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -27883,7 +27822,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
27883
27822
|
return redirectInfo.unredirected;
|
|
27884
27823
|
}
|
|
27885
27824
|
|
|
27886
|
-
// bazel-out/
|
|
27825
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
27887
27826
|
function findExportedNameOfNode(target, file, reflector) {
|
|
27888
27827
|
const exports = reflector.getExportsOfModule(file);
|
|
27889
27828
|
if (exports === null) {
|
|
@@ -27903,7 +27842,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
27903
27842
|
return foundExportName;
|
|
27904
27843
|
}
|
|
27905
27844
|
|
|
27906
|
-
// bazel-out/
|
|
27845
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
27907
27846
|
var ImportFlags;
|
|
27908
27847
|
(function(ImportFlags2) {
|
|
27909
27848
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -28132,7 +28071,7 @@ var UnifiedModulesStrategy = class {
|
|
|
28132
28071
|
}
|
|
28133
28072
|
};
|
|
28134
28073
|
|
|
28135
|
-
// bazel-out/
|
|
28074
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
28136
28075
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
28137
28076
|
var UnifiedModulesAliasingHost = class {
|
|
28138
28077
|
constructor(unifiedModulesHost) {
|
|
@@ -28199,7 +28138,7 @@ var AliasStrategy = class {
|
|
|
28199
28138
|
}
|
|
28200
28139
|
};
|
|
28201
28140
|
|
|
28202
|
-
// bazel-out/
|
|
28141
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
28203
28142
|
function relativePathBetween(from, to) {
|
|
28204
28143
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
28205
28144
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -28208,7 +28147,7 @@ function normalizeSeparators2(path4) {
|
|
|
28208
28147
|
return path4.replace(/\\/g, "/");
|
|
28209
28148
|
}
|
|
28210
28149
|
|
|
28211
|
-
// bazel-out/
|
|
28150
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
28212
28151
|
var NoopImportRewriter = class {
|
|
28213
28152
|
rewriteSymbol(symbol, specifier) {
|
|
28214
28153
|
return symbol;
|
|
@@ -28261,7 +28200,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
28261
28200
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
28262
28201
|
}
|
|
28263
28202
|
|
|
28264
|
-
// bazel-out/
|
|
28203
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
28265
28204
|
var import_typescript7 = __toESM(require("typescript"), 1);
|
|
28266
28205
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
28267
28206
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -28296,7 +28235,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
28296
28235
|
throw Error("Angular compiler is incompatible with this version of the TypeScript compiler.\n\nIf you recently updated TypeScript and this issue surfaces now, consider downgrading.\n\nPlease report an issue on the Angular repositories when this issue surfaces and you are using a supposedly compatible TypeScript version.");
|
|
28297
28236
|
}
|
|
28298
28237
|
|
|
28299
|
-
// bazel-out/
|
|
28238
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
28300
28239
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
28301
28240
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
28302
28241
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -28337,13 +28276,13 @@ var DefaultImportTracker = class {
|
|
|
28337
28276
|
}
|
|
28338
28277
|
};
|
|
28339
28278
|
|
|
28340
|
-
// bazel-out/
|
|
28279
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
28341
28280
|
var import_typescript13 = __toESM(require("typescript"), 1);
|
|
28342
28281
|
|
|
28343
|
-
// bazel-out/
|
|
28282
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
28344
28283
|
var import_typescript12 = __toESM(require("typescript"), 1);
|
|
28345
28284
|
|
|
28346
|
-
// bazel-out/
|
|
28285
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
28347
28286
|
var import_typescript9 = __toESM(require("typescript"), 1);
|
|
28348
28287
|
function isDecoratorIdentifier(exp) {
|
|
28349
28288
|
return import_typescript9.default.isIdentifier(exp) || import_typescript9.default.isPropertyAccessExpression(exp) && import_typescript9.default.isIdentifier(exp.expression) && import_typescript9.default.isIdentifier(exp.name);
|
|
@@ -28366,7 +28305,7 @@ var ClassMemberAccessLevel;
|
|
|
28366
28305
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
28367
28306
|
var AmbientImport = {};
|
|
28368
28307
|
|
|
28369
|
-
// bazel-out/
|
|
28308
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
28370
28309
|
var import_typescript10 = __toESM(require("typescript"), 1);
|
|
28371
28310
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
28372
28311
|
var _a2, _b2;
|
|
@@ -28539,7 +28478,7 @@ function extractModuleName(node) {
|
|
|
28539
28478
|
return node.moduleSpecifier.text;
|
|
28540
28479
|
}
|
|
28541
28480
|
|
|
28542
|
-
// bazel-out/
|
|
28481
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
28543
28482
|
var import_typescript11 = __toESM(require("typescript"), 1);
|
|
28544
28483
|
function isNamedClassDeclaration(node) {
|
|
28545
28484
|
return import_typescript11.default.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -28563,7 +28502,7 @@ function classMemberAccessLevelToString(level) {
|
|
|
28563
28502
|
}
|
|
28564
28503
|
}
|
|
28565
28504
|
|
|
28566
|
-
// bazel-out/
|
|
28505
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
28567
28506
|
var TypeScriptReflectionHost = class {
|
|
28568
28507
|
constructor(checker, isLocalCompilation = false) {
|
|
28569
28508
|
this.checker = checker;
|
|
@@ -29050,7 +28989,7 @@ function getExportedName(decl, originalId) {
|
|
|
29050
28989
|
}
|
|
29051
28990
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
29052
28991
|
|
|
29053
|
-
// bazel-out/
|
|
28992
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
29054
28993
|
var AssumeEager = "AssumeEager";
|
|
29055
28994
|
var DeferredSymbolTracker = class {
|
|
29056
28995
|
constructor(typeChecker, onlyExplicitDeferDependencyImports) {
|
|
@@ -29170,7 +29109,7 @@ var DeferredSymbolTracker = class {
|
|
|
29170
29109
|
}
|
|
29171
29110
|
};
|
|
29172
29111
|
|
|
29173
|
-
// bazel-out/
|
|
29112
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
|
|
29174
29113
|
var import_typescript15 = __toESM(require("typescript"), 1);
|
|
29175
29114
|
var ImportedSymbolsTracker = class {
|
|
29176
29115
|
constructor() {
|
|
@@ -29240,7 +29179,7 @@ var ImportedSymbolsTracker = class {
|
|
|
29240
29179
|
}
|
|
29241
29180
|
};
|
|
29242
29181
|
|
|
29243
|
-
// bazel-out/
|
|
29182
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
|
|
29244
29183
|
var import_typescript16 = __toESM(require("typescript"), 1);
|
|
29245
29184
|
var LocalCompilationExtraImportsTracker = class {
|
|
29246
29185
|
constructor(typeChecker) {
|
|
@@ -29287,7 +29226,7 @@ function removeQuotations(s) {
|
|
|
29287
29226
|
return s.substring(1, s.length - 1).trim();
|
|
29288
29227
|
}
|
|
29289
29228
|
|
|
29290
|
-
// bazel-out/
|
|
29229
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
29291
29230
|
var Reference2 = class {
|
|
29292
29231
|
constructor(node, bestGuessOwningModule = null) {
|
|
29293
29232
|
this.node = node;
|
|
@@ -29356,7 +29295,7 @@ var Reference2 = class {
|
|
|
29356
29295
|
}
|
|
29357
29296
|
};
|
|
29358
29297
|
|
|
29359
|
-
// bazel-out/
|
|
29298
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
29360
29299
|
var ModuleResolver = class {
|
|
29361
29300
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
29362
29301
|
this.program = program;
|
|
@@ -29373,16 +29312,16 @@ var ModuleResolver = class {
|
|
|
29373
29312
|
}
|
|
29374
29313
|
};
|
|
29375
29314
|
|
|
29376
|
-
// bazel-out/
|
|
29315
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/downlevel_decorators_transform.mjs
|
|
29377
29316
|
var import_typescript21 = __toESM(require("typescript"), 1);
|
|
29378
29317
|
|
|
29379
|
-
// bazel-out/
|
|
29318
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/transform.mjs
|
|
29380
29319
|
var import_typescript70 = __toESM(require("typescript"), 1);
|
|
29381
29320
|
|
|
29382
|
-
// bazel-out/
|
|
29321
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
29383
29322
|
var import_typescript23 = __toESM(require("typescript"), 1);
|
|
29384
29323
|
|
|
29385
|
-
// bazel-out/
|
|
29324
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
29386
29325
|
var import_typescript22 = __toESM(require("typescript"), 1);
|
|
29387
29326
|
var CORE_MODULE2 = "@angular/core";
|
|
29388
29327
|
function valueReferenceToExpression(valueRef) {
|
|
@@ -29637,7 +29576,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
29637
29576
|
return import_typescript22.default.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === import_typescript22.default.SyntaxKind.AbstractKeyword) : false;
|
|
29638
29577
|
}
|
|
29639
29578
|
|
|
29640
|
-
// bazel-out/
|
|
29579
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
29641
29580
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
29642
29581
|
const deps = [];
|
|
29643
29582
|
const errors = [];
|
|
@@ -29779,10 +29718,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
|
|
|
29779
29718
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain2, hints);
|
|
29780
29719
|
}
|
|
29781
29720
|
|
|
29782
|
-
// bazel-out/
|
|
29721
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
29783
29722
|
var import_typescript46 = __toESM(require("typescript"), 1);
|
|
29784
29723
|
|
|
29785
|
-
// bazel-out/
|
|
29724
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
29786
29725
|
var MetaKind;
|
|
29787
29726
|
(function(MetaKind2) {
|
|
29788
29727
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -29795,10 +29734,10 @@ var MatchSource;
|
|
|
29795
29734
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
29796
29735
|
})(MatchSource || (MatchSource = {}));
|
|
29797
29736
|
|
|
29798
|
-
// bazel-out/
|
|
29737
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
29799
29738
|
var import_typescript26 = __toESM(require("typescript"), 1);
|
|
29800
29739
|
|
|
29801
|
-
// bazel-out/
|
|
29740
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
29802
29741
|
var ClassPropertyMapping = class {
|
|
29803
29742
|
constructor(forwardMap) {
|
|
29804
29743
|
this.forwardMap = forwardMap;
|
|
@@ -29878,7 +29817,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
29878
29817
|
return reverseMap;
|
|
29879
29818
|
}
|
|
29880
29819
|
|
|
29881
|
-
// bazel-out/
|
|
29820
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
29882
29821
|
var import_typescript24 = __toESM(require("typescript"), 1);
|
|
29883
29822
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
29884
29823
|
if (!import_typescript24.default.isTupleTypeNode(def)) {
|
|
@@ -30071,7 +30010,7 @@ function isHostDirectiveMetaForGlobalMode(hostDirectiveMeta) {
|
|
|
30071
30010
|
return hostDirectiveMeta.directive instanceof Reference2;
|
|
30072
30011
|
}
|
|
30073
30012
|
|
|
30074
|
-
// bazel-out/
|
|
30013
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
30075
30014
|
var DtsMetadataReader = class {
|
|
30076
30015
|
constructor(checker, reflector) {
|
|
30077
30016
|
this.checker = checker;
|
|
@@ -30254,7 +30193,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
30254
30193
|
return result.length > 0 ? result : null;
|
|
30255
30194
|
}
|
|
30256
30195
|
|
|
30257
|
-
// bazel-out/
|
|
30196
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
30258
30197
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
30259
30198
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
30260
30199
|
if (topMeta === null) {
|
|
@@ -30317,7 +30256,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
30317
30256
|
});
|
|
30318
30257
|
}
|
|
30319
30258
|
|
|
30320
|
-
// bazel-out/
|
|
30259
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
30321
30260
|
var LocalMetadataRegistry = class {
|
|
30322
30261
|
constructor() {
|
|
30323
30262
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -30374,7 +30313,7 @@ var CompoundMetadataRegistry = class {
|
|
|
30374
30313
|
}
|
|
30375
30314
|
};
|
|
30376
30315
|
|
|
30377
|
-
// bazel-out/
|
|
30316
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
30378
30317
|
var ResourceRegistry = class {
|
|
30379
30318
|
constructor() {
|
|
30380
30319
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -30439,7 +30378,7 @@ var ResourceRegistry = class {
|
|
|
30439
30378
|
}
|
|
30440
30379
|
};
|
|
30441
30380
|
|
|
30442
|
-
// bazel-out/
|
|
30381
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
|
|
30443
30382
|
var ExportedProviderStatusResolver = class {
|
|
30444
30383
|
constructor(metaReader) {
|
|
30445
30384
|
this.metaReader = metaReader;
|
|
@@ -30483,7 +30422,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
30483
30422
|
}
|
|
30484
30423
|
};
|
|
30485
30424
|
|
|
30486
|
-
// bazel-out/
|
|
30425
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
30487
30426
|
var EMPTY_ARRAY = [];
|
|
30488
30427
|
var HostDirectivesResolver = class {
|
|
30489
30428
|
constructor(metaReader) {
|
|
@@ -30548,10 +30487,10 @@ function resolveOutput(bindingName) {
|
|
|
30548
30487
|
return bindingName;
|
|
30549
30488
|
}
|
|
30550
30489
|
|
|
30551
|
-
// bazel-out/
|
|
30490
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
30552
30491
|
var import_typescript28 = __toESM(require("typescript"), 1);
|
|
30553
30492
|
|
|
30554
|
-
// bazel-out/
|
|
30493
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
30555
30494
|
var DynamicValue = class {
|
|
30556
30495
|
constructor(node, reason, code) {
|
|
30557
30496
|
this.node = node;
|
|
@@ -30641,7 +30580,7 @@ var DynamicValue = class {
|
|
|
30641
30580
|
}
|
|
30642
30581
|
};
|
|
30643
30582
|
|
|
30644
|
-
// bazel-out/
|
|
30583
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
30645
30584
|
var ResolvedModule = class {
|
|
30646
30585
|
constructor(exports, evaluate) {
|
|
30647
30586
|
this.exports = exports;
|
|
@@ -30671,7 +30610,7 @@ var EnumValue = class {
|
|
|
30671
30610
|
var KnownFn = class {
|
|
30672
30611
|
};
|
|
30673
30612
|
|
|
30674
|
-
// bazel-out/
|
|
30613
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
30675
30614
|
function describeResolvedType(value, maxDepth = 1) {
|
|
30676
30615
|
var _a2, _b2;
|
|
30677
30616
|
if (value === null) {
|
|
@@ -30800,10 +30739,10 @@ function getContainerNode(node) {
|
|
|
30800
30739
|
return node.getSourceFile();
|
|
30801
30740
|
}
|
|
30802
30741
|
|
|
30803
|
-
// bazel-out/
|
|
30742
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
30804
30743
|
var import_typescript29 = __toESM(require("typescript"), 1);
|
|
30805
30744
|
|
|
30806
|
-
// bazel-out/
|
|
30745
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
30807
30746
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
30808
30747
|
constructor(lhs) {
|
|
30809
30748
|
super();
|
|
@@ -30855,14 +30794,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
|
|
|
30855
30794
|
}
|
|
30856
30795
|
};
|
|
30857
30796
|
|
|
30858
|
-
// bazel-out/
|
|
30797
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
30859
30798
|
var SyntheticValue = class {
|
|
30860
30799
|
constructor(value) {
|
|
30861
30800
|
this.value = value;
|
|
30862
30801
|
}
|
|
30863
30802
|
};
|
|
30864
30803
|
|
|
30865
|
-
// bazel-out/
|
|
30804
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
30866
30805
|
function literalBinaryOp(op) {
|
|
30867
30806
|
return { op, literal: true };
|
|
30868
30807
|
}
|
|
@@ -31437,7 +31376,7 @@ function owningModule(context, override = null) {
|
|
|
31437
31376
|
}
|
|
31438
31377
|
}
|
|
31439
31378
|
|
|
31440
|
-
// bazel-out/
|
|
31379
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
31441
31380
|
var PartialEvaluator = class {
|
|
31442
31381
|
constructor(host, checker, dependencyTracker) {
|
|
31443
31382
|
this.host = host;
|
|
@@ -31457,7 +31396,7 @@ var PartialEvaluator = class {
|
|
|
31457
31396
|
}
|
|
31458
31397
|
};
|
|
31459
31398
|
|
|
31460
|
-
// bazel-out/
|
|
31399
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
31461
31400
|
var CompilationMode;
|
|
31462
31401
|
(function(CompilationMode2) {
|
|
31463
31402
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -31471,7 +31410,7 @@ var HandlerPrecedence;
|
|
|
31471
31410
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
31472
31411
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
31473
31412
|
|
|
31474
|
-
// bazel-out/
|
|
31413
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
31475
31414
|
var import_typescript31 = __toESM(require("typescript"), 1);
|
|
31476
31415
|
function aliasTransformFactory(exportStatements) {
|
|
31477
31416
|
return () => {
|
|
@@ -31494,10 +31433,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
31494
31433
|
};
|
|
31495
31434
|
}
|
|
31496
31435
|
|
|
31497
|
-
// bazel-out/
|
|
31436
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
31498
31437
|
var import_typescript32 = __toESM(require("typescript"), 1);
|
|
31499
31438
|
|
|
31500
|
-
// bazel-out/
|
|
31439
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
31501
31440
|
var PerfPhase;
|
|
31502
31441
|
(function(PerfPhase2) {
|
|
31503
31442
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -31565,7 +31504,7 @@ var PerfCheckpoint;
|
|
|
31565
31504
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
31566
31505
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
31567
31506
|
|
|
31568
|
-
// bazel-out/
|
|
31507
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
31569
31508
|
var NoopPerfRecorder = class {
|
|
31570
31509
|
eventCount() {
|
|
31571
31510
|
}
|
|
@@ -31582,7 +31521,7 @@ var NoopPerfRecorder = class {
|
|
|
31582
31521
|
};
|
|
31583
31522
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
31584
31523
|
|
|
31585
|
-
// bazel-out/
|
|
31524
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
31586
31525
|
function mark() {
|
|
31587
31526
|
return process.hrtime();
|
|
31588
31527
|
}
|
|
@@ -31591,7 +31530,7 @@ function timeSinceInMicros(mark2) {
|
|
|
31591
31530
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
31592
31531
|
}
|
|
31593
31532
|
|
|
31594
|
-
// bazel-out/
|
|
31533
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
31595
31534
|
var ActivePerfRecorder = class {
|
|
31596
31535
|
static zeroedToNow() {
|
|
31597
31536
|
return new ActivePerfRecorder(mark());
|
|
@@ -31685,7 +31624,7 @@ var DelegatingPerfRecorder = class {
|
|
|
31685
31624
|
}
|
|
31686
31625
|
};
|
|
31687
31626
|
|
|
31688
|
-
// bazel-out/
|
|
31627
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
31689
31628
|
var TraitState;
|
|
31690
31629
|
(function(TraitState2) {
|
|
31691
31630
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -31742,7 +31681,7 @@ var TraitImpl = class {
|
|
|
31742
31681
|
}
|
|
31743
31682
|
};
|
|
31744
31683
|
|
|
31745
|
-
// bazel-out/
|
|
31684
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
31746
31685
|
var TraitCompiler = class {
|
|
31747
31686
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
31748
31687
|
this.handlers = handlers;
|
|
@@ -32199,10 +32138,10 @@ function containsErrors(diagnostics) {
|
|
|
32199
32138
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === import_typescript32.default.DiagnosticCategory.Error);
|
|
32200
32139
|
}
|
|
32201
32140
|
|
|
32202
|
-
// bazel-out/
|
|
32141
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
32203
32142
|
var import_typescript43 = __toESM(require("typescript"), 1);
|
|
32204
32143
|
|
|
32205
|
-
// bazel-out/
|
|
32144
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
32206
32145
|
var Context = class {
|
|
32207
32146
|
constructor(isStatement) {
|
|
32208
32147
|
this.isStatement = isStatement;
|
|
@@ -32215,10 +32154,10 @@ var Context = class {
|
|
|
32215
32154
|
}
|
|
32216
32155
|
};
|
|
32217
32156
|
|
|
32218
|
-
// bazel-out/
|
|
32157
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
32219
32158
|
var import_typescript38 = __toESM(require("typescript"), 1);
|
|
32220
32159
|
|
|
32221
|
-
// bazel-out/
|
|
32160
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
|
|
32222
32161
|
var import_typescript34 = __toESM(require("typescript"), 1);
|
|
32223
32162
|
function createGenerateUniqueIdentifierHelper() {
|
|
32224
32163
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -32242,7 +32181,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
32242
32181
|
};
|
|
32243
32182
|
}
|
|
32244
32183
|
|
|
32245
|
-
// bazel-out/
|
|
32184
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
|
|
32246
32185
|
var import_typescript35 = __toESM(require("typescript"), 1);
|
|
32247
32186
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
32248
32187
|
return (ctx) => {
|
|
@@ -32300,7 +32239,7 @@ function isImportStatement(stmt) {
|
|
|
32300
32239
|
return import_typescript35.default.isImportDeclaration(stmt) || import_typescript35.default.isImportEqualsDeclaration(stmt) || import_typescript35.default.isNamespaceImport(stmt);
|
|
32301
32240
|
}
|
|
32302
32241
|
|
|
32303
|
-
// bazel-out/
|
|
32242
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
|
|
32304
32243
|
var import_typescript36 = __toESM(require("typescript"), 1);
|
|
32305
32244
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
32306
32245
|
const requestHash = hashImportRequest(request);
|
|
@@ -32327,7 +32266,7 @@ function hashImportRequest(req) {
|
|
|
32327
32266
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}`;
|
|
32328
32267
|
}
|
|
32329
32268
|
|
|
32330
|
-
// bazel-out/
|
|
32269
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
|
|
32331
32270
|
var import_typescript37 = __toESM(require("typescript"), 1);
|
|
32332
32271
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
32333
32272
|
let candidateImportToBeUpdated = null;
|
|
@@ -32380,7 +32319,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
32380
32319
|
return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
|
|
32381
32320
|
}
|
|
32382
32321
|
|
|
32383
|
-
// bazel-out/
|
|
32322
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
32384
32323
|
var presetImportManagerForceNamespaceImports = {
|
|
32385
32324
|
disableOriginalSourceFileReuse: true,
|
|
32386
32325
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -32391,6 +32330,10 @@ var ImportManager = class {
|
|
|
32391
32330
|
this._config = _config;
|
|
32392
32331
|
this.newImports = /* @__PURE__ */ new Map();
|
|
32393
32332
|
this.nextUniqueIndex = 0;
|
|
32333
|
+
this.reuseGeneratedImportsTracker = {
|
|
32334
|
+
directReuseCache: /* @__PURE__ */ new Map(),
|
|
32335
|
+
namespaceImportReuseCache: /* @__PURE__ */ new Map()
|
|
32336
|
+
};
|
|
32394
32337
|
this.config = __spreadValues({
|
|
32395
32338
|
shouldUseSingleQuotes: () => false,
|
|
32396
32339
|
rewriter: null,
|
|
@@ -32404,10 +32347,6 @@ var ImportManager = class {
|
|
|
32404
32347
|
reusedAliasDeclarations: /* @__PURE__ */ new Set(),
|
|
32405
32348
|
updatedImports: /* @__PURE__ */ new Map()
|
|
32406
32349
|
};
|
|
32407
|
-
this.reuseGeneratedImportsTracker = {
|
|
32408
|
-
directReuseCache: /* @__PURE__ */ new Map(),
|
|
32409
|
-
namespaceImportReuseCache: /* @__PURE__ */ new Map()
|
|
32410
|
-
};
|
|
32411
32350
|
}
|
|
32412
32351
|
addSideEffectImport(requestedFile, moduleSpecifier) {
|
|
32413
32352
|
if (this.config.rewriter !== null) {
|
|
@@ -32529,7 +32468,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
32529
32468
|
}
|
|
32530
32469
|
}
|
|
32531
32470
|
|
|
32532
|
-
// bazel-out/
|
|
32471
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
32533
32472
|
var UNARY_OPERATORS2 = /* @__PURE__ */ new Map([
|
|
32534
32473
|
[UnaryOperator.Minus, "-"],
|
|
32535
32474
|
[UnaryOperator.Plus, "+"]
|
|
@@ -32774,7 +32713,7 @@ function createRange(span) {
|
|
|
32774
32713
|
};
|
|
32775
32714
|
}
|
|
32776
32715
|
|
|
32777
|
-
// bazel-out/
|
|
32716
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
32778
32717
|
var import_typescript39 = __toESM(require("typescript"), 1);
|
|
32779
32718
|
var INELIGIBLE = {};
|
|
32780
32719
|
function canEmitType(type, canEmit) {
|
|
@@ -32849,10 +32788,10 @@ var TypeEmitter = class {
|
|
|
32849
32788
|
}
|
|
32850
32789
|
};
|
|
32851
32790
|
|
|
32852
|
-
// bazel-out/
|
|
32791
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
32853
32792
|
var import_typescript41 = __toESM(require("typescript"), 1);
|
|
32854
32793
|
|
|
32855
|
-
// bazel-out/
|
|
32794
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
32856
32795
|
var import_typescript40 = __toESM(require("typescript"), 1);
|
|
32857
32796
|
function tsNumericExpression(value) {
|
|
32858
32797
|
if (value < 0) {
|
|
@@ -32862,7 +32801,7 @@ function tsNumericExpression(value) {
|
|
|
32862
32801
|
return import_typescript40.default.factory.createNumericLiteral(value);
|
|
32863
32802
|
}
|
|
32864
32803
|
|
|
32865
|
-
// bazel-out/
|
|
32804
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
32866
32805
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
32867
32806
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
32868
32807
|
}
|
|
@@ -33079,7 +33018,7 @@ var TypeTranslatorVisitor = class {
|
|
|
33079
33018
|
}
|
|
33080
33019
|
};
|
|
33081
33020
|
|
|
33082
|
-
// bazel-out/
|
|
33021
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
33083
33022
|
var import_typescript42 = __toESM(require("typescript"), 1);
|
|
33084
33023
|
var PureAnnotation;
|
|
33085
33024
|
(function(PureAnnotation2) {
|
|
@@ -33276,7 +33215,7 @@ function attachComments(statement, leadingComments) {
|
|
|
33276
33215
|
}
|
|
33277
33216
|
}
|
|
33278
33217
|
|
|
33279
|
-
// bazel-out/
|
|
33218
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
33280
33219
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
33281
33220
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
33282
33221
|
}
|
|
@@ -33284,7 +33223,7 @@ function translateStatement(contextFile, statement, imports, options = {}) {
|
|
|
33284
33223
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(true));
|
|
33285
33224
|
}
|
|
33286
33225
|
|
|
33287
|
-
// bazel-out/
|
|
33226
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
33288
33227
|
var DtsTransformRegistry = class {
|
|
33289
33228
|
constructor() {
|
|
33290
33229
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -33430,10 +33369,10 @@ function markForEmitAsSingleLine(node) {
|
|
|
33430
33369
|
import_typescript43.default.forEachChild(node, markForEmitAsSingleLine);
|
|
33431
33370
|
}
|
|
33432
33371
|
|
|
33433
|
-
// bazel-out/
|
|
33372
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
33434
33373
|
var import_typescript45 = __toESM(require("typescript"), 1);
|
|
33435
33374
|
|
|
33436
|
-
// bazel-out/
|
|
33375
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
33437
33376
|
var import_typescript44 = __toESM(require("typescript"), 1);
|
|
33438
33377
|
function visit(node, visitor, context) {
|
|
33439
33378
|
return visitor._visit(node, context);
|
|
@@ -33494,7 +33433,7 @@ var Visitor = class {
|
|
|
33494
33433
|
}
|
|
33495
33434
|
};
|
|
33496
33435
|
|
|
33497
|
-
// bazel-out/
|
|
33436
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
33498
33437
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
33499
33438
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
33500
33439
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, localCompilationExtraImportsTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -33727,7 +33666,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
33727
33666
|
return array;
|
|
33728
33667
|
}
|
|
33729
33668
|
|
|
33730
|
-
// bazel-out/
|
|
33669
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
33731
33670
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
33732
33671
|
const context = [];
|
|
33733
33672
|
for (const decl of data) {
|
|
@@ -33934,7 +33873,7 @@ function assertLocalCompilationUnresolvedConst(compilationMode, value, nodeToHig
|
|
|
33934
33873
|
}
|
|
33935
33874
|
}
|
|
33936
33875
|
|
|
33937
|
-
// bazel-out/
|
|
33876
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
33938
33877
|
var import_typescript48 = __toESM(require("typescript"), 1);
|
|
33939
33878
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
33940
33879
|
let resolved = null;
|
|
@@ -33984,7 +33923,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
33984
33923
|
return meta;
|
|
33985
33924
|
}
|
|
33986
33925
|
|
|
33987
|
-
// bazel-out/
|
|
33926
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
33988
33927
|
function compileNgFactoryDefField(metadata) {
|
|
33989
33928
|
const res = compileFactoryFunction(metadata);
|
|
33990
33929
|
return {
|
|
@@ -34006,7 +33945,7 @@ function compileDeclareFactory(metadata) {
|
|
|
34006
33945
|
};
|
|
34007
33946
|
}
|
|
34008
33947
|
|
|
34009
|
-
// bazel-out/
|
|
33948
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
34010
33949
|
var InjectableClassRegistry = class {
|
|
34011
33950
|
constructor(host, isCore) {
|
|
34012
33951
|
this.host = host;
|
|
@@ -34032,7 +33971,7 @@ var InjectableClassRegistry = class {
|
|
|
34032
33971
|
}
|
|
34033
33972
|
};
|
|
34034
33973
|
|
|
34035
|
-
// bazel-out/
|
|
33974
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
34036
33975
|
var import_typescript49 = __toESM(require("typescript"), 1);
|
|
34037
33976
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
34038
33977
|
if (!reflection.isClass(clazz)) {
|
|
@@ -34116,7 +34055,7 @@ function removeIdentifierReferences(node, names) {
|
|
|
34116
34055
|
return result.transformed[0];
|
|
34117
34056
|
}
|
|
34118
34057
|
|
|
34119
|
-
// bazel-out/
|
|
34058
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
|
|
34120
34059
|
var path = __toESM(require("path"), 1);
|
|
34121
34060
|
function extractClassDebugInfo(clazz, reflection, rootDirs, forbidOrphanRendering) {
|
|
34122
34061
|
if (!reflection.isClass(clazz)) {
|
|
@@ -34142,13 +34081,13 @@ function computeRelativePathIfPossible(filePath, rootDirs) {
|
|
|
34142
34081
|
return null;
|
|
34143
34082
|
}
|
|
34144
34083
|
|
|
34145
|
-
// bazel-out/
|
|
34084
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
34146
34085
|
var NoopReferencesRegistry = class {
|
|
34147
34086
|
add(source, ...references) {
|
|
34148
34087
|
}
|
|
34149
34088
|
};
|
|
34150
34089
|
|
|
34151
|
-
// bazel-out/
|
|
34090
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
34152
34091
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
34153
34092
|
const schemas = [];
|
|
34154
34093
|
const result = evaluator.evaluate(rawExpr);
|
|
@@ -34177,7 +34116,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
34177
34116
|
return schemas;
|
|
34178
34117
|
}
|
|
34179
34118
|
|
|
34180
|
-
// bazel-out/
|
|
34119
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
|
|
34181
34120
|
function compileInputTransformFields(inputs) {
|
|
34182
34121
|
const extraFields = [];
|
|
34183
34122
|
for (const input of inputs) {
|
|
@@ -34194,10 +34133,10 @@ function compileInputTransformFields(inputs) {
|
|
|
34194
34133
|
return extraFields;
|
|
34195
34134
|
}
|
|
34196
34135
|
|
|
34197
|
-
// bazel-out/
|
|
34136
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
34198
34137
|
var import_typescript63 = __toESM(require("typescript"), 1);
|
|
34199
34138
|
|
|
34200
|
-
// bazel-out/
|
|
34139
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
34201
34140
|
var import_typescript50 = __toESM(require("typescript"), 1);
|
|
34202
34141
|
var SemanticSymbol = class {
|
|
34203
34142
|
constructor(decl) {
|
|
@@ -34213,7 +34152,7 @@ function getSymbolIdentifier(decl) {
|
|
|
34213
34152
|
return decl.name.text;
|
|
34214
34153
|
}
|
|
34215
34154
|
|
|
34216
|
-
// bazel-out/
|
|
34155
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
34217
34156
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
34218
34157
|
isPublicApiAffected() {
|
|
34219
34158
|
return false;
|
|
@@ -34355,10 +34294,10 @@ function getImportPath(expr) {
|
|
|
34355
34294
|
}
|
|
34356
34295
|
}
|
|
34357
34296
|
|
|
34358
|
-
// bazel-out/
|
|
34297
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
34359
34298
|
var import_typescript51 = __toESM(require("typescript"), 1);
|
|
34360
34299
|
|
|
34361
|
-
// bazel-out/
|
|
34300
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
34362
34301
|
function isSymbolEqual(a, b) {
|
|
34363
34302
|
if (a.decl === b.decl) {
|
|
34364
34303
|
return true;
|
|
@@ -34408,7 +34347,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
34408
34347
|
return true;
|
|
34409
34348
|
}
|
|
34410
34349
|
|
|
34411
|
-
// bazel-out/
|
|
34350
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
34412
34351
|
function extractSemanticTypeParameters(node) {
|
|
34413
34352
|
if (!import_typescript51.default.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
34414
34353
|
return null;
|
|
@@ -34428,14 +34367,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
34428
34367
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
34429
34368
|
}
|
|
34430
34369
|
|
|
34431
|
-
// bazel-out/
|
|
34370
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
34432
34371
|
var ComponentScopeKind;
|
|
34433
34372
|
(function(ComponentScopeKind2) {
|
|
34434
34373
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
34435
34374
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
34436
34375
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
34437
34376
|
|
|
34438
|
-
// bazel-out/
|
|
34377
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
34439
34378
|
var CompoundComponentScopeReader = class {
|
|
34440
34379
|
constructor(readers) {
|
|
34441
34380
|
this.readers = readers;
|
|
@@ -34460,7 +34399,7 @@ var CompoundComponentScopeReader = class {
|
|
|
34460
34399
|
}
|
|
34461
34400
|
};
|
|
34462
34401
|
|
|
34463
|
-
// bazel-out/
|
|
34402
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
34464
34403
|
var MetadataDtsModuleScopeResolver = class {
|
|
34465
34404
|
constructor(dtsMetaReader, aliasingHost) {
|
|
34466
34405
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -34535,10 +34474,10 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
34535
34474
|
}
|
|
34536
34475
|
};
|
|
34537
34476
|
|
|
34538
|
-
// bazel-out/
|
|
34477
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
34539
34478
|
var import_typescript52 = __toESM(require("typescript"), 1);
|
|
34540
34479
|
|
|
34541
|
-
// bazel-out/
|
|
34480
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
34542
34481
|
function getDiagnosticNode(ref, rawExpr) {
|
|
34543
34482
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
34544
34483
|
}
|
|
@@ -34564,7 +34503,7 @@ function makeUnknownComponentDeferredImportDiagnostic(ref, rawExpr) {
|
|
|
34564
34503
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_DEFERRED_IMPORT, getDiagnosticNode(ref, rawExpr), `Component deferred imports must be standalone components, directives or pipes.`);
|
|
34565
34504
|
}
|
|
34566
34505
|
|
|
34567
|
-
// bazel-out/
|
|
34506
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
34568
34507
|
var LocalModuleScopeRegistry = class {
|
|
34569
34508
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
34570
34509
|
this.localReader = localReader;
|
|
@@ -34903,7 +34842,7 @@ function reexportCollision(module2, refA, refB) {
|
|
|
34903
34842
|
]);
|
|
34904
34843
|
}
|
|
34905
34844
|
|
|
34906
|
-
// bazel-out/
|
|
34845
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
34907
34846
|
var import_typescript54 = __toESM(require("typescript"), 1);
|
|
34908
34847
|
var TypeCheckScopeRegistry = class {
|
|
34909
34848
|
constructor(scopeReader, metaReader, hostDirectivesResolver) {
|
|
@@ -34980,17 +34919,17 @@ var TypeCheckScopeRegistry = class {
|
|
|
34980
34919
|
}
|
|
34981
34920
|
};
|
|
34982
34921
|
|
|
34983
|
-
// bazel-out/
|
|
34922
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
34984
34923
|
var import_typescript58 = __toESM(require("typescript"), 1);
|
|
34985
34924
|
|
|
34986
|
-
// bazel-out/
|
|
34925
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_function_access.mjs
|
|
34987
34926
|
function validateAccessOfInitializerApiMember({ api, call: call2 }, member) {
|
|
34988
34927
|
if (!api.allowedAccessLevels.includes(member.accessLevel)) {
|
|
34989
34928
|
throw new FatalDiagnosticError(ErrorCode.INITIALIZER_API_DISALLOWED_MEMBER_VISIBILITY, call2, makeDiagnosticChain(`Cannot use "${api.functionName}" on a class member that is declared as ${classMemberAccessLevelToString(member.accessLevel)}.`, [makeDiagnosticChain(`Update the class field to be either: ` + api.allowedAccessLevels.map((l) => classMemberAccessLevelToString(l)).join(", "))]));
|
|
34990
34929
|
}
|
|
34991
34930
|
}
|
|
34992
34931
|
|
|
34993
|
-
// bazel-out/
|
|
34932
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.mjs
|
|
34994
34933
|
var import_typescript55 = __toESM(require("typescript"), 1);
|
|
34995
34934
|
function tryParseInitializerApi(functions, expression, reflector, importTracker) {
|
|
34996
34935
|
if (!import_typescript55.default.isCallExpression(expression)) {
|
|
@@ -35059,7 +34998,7 @@ function parseTopLevelCallFromNamespace(call2, functions, importTracker) {
|
|
|
35059
34998
|
return { api: matchingApi, apiReference, isRequired };
|
|
35060
34999
|
}
|
|
35061
35000
|
|
|
35062
|
-
// bazel-out/
|
|
35001
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.mjs
|
|
35063
35002
|
var import_typescript56 = __toESM(require("typescript"), 1);
|
|
35064
35003
|
function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
35065
35004
|
if (!import_typescript56.default.isObjectLiteralExpression(optionsNode)) {
|
|
@@ -35077,7 +35016,7 @@ function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
|
35077
35016
|
return { alias };
|
|
35078
35017
|
}
|
|
35079
35018
|
|
|
35080
|
-
// bazel-out/
|
|
35019
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
|
|
35081
35020
|
var INPUT_INITIALIZER_FN = {
|
|
35082
35021
|
functionName: "input",
|
|
35083
35022
|
owningModule: "@angular/core",
|
|
@@ -35109,7 +35048,7 @@ function tryParseSignalInputMapping(member, reflector, importTracker) {
|
|
|
35109
35048
|
};
|
|
35110
35049
|
}
|
|
35111
35050
|
|
|
35112
|
-
// bazel-out/
|
|
35051
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.mjs
|
|
35113
35052
|
var MODEL_INITIALIZER_FN = {
|
|
35114
35053
|
functionName: "model",
|
|
35115
35054
|
owningModule: "@angular/core",
|
|
@@ -35150,7 +35089,7 @@ function tryParseSignalModelMapping(member, reflector, importTracker) {
|
|
|
35150
35089
|
};
|
|
35151
35090
|
}
|
|
35152
35091
|
|
|
35153
|
-
// bazel-out/
|
|
35092
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.mjs
|
|
35154
35093
|
var allowedAccessLevels = [
|
|
35155
35094
|
ClassMemberAccessLevel.PublicWritable,
|
|
35156
35095
|
ClassMemberAccessLevel.PublicReadonly,
|
|
@@ -35194,7 +35133,7 @@ function tryParseInitializerBasedOutput(member, reflector, importTracker) {
|
|
|
35194
35133
|
};
|
|
35195
35134
|
}
|
|
35196
35135
|
|
|
35197
|
-
// bazel-out/
|
|
35136
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.mjs
|
|
35198
35137
|
var import_typescript57 = __toESM(require("typescript"), 1);
|
|
35199
35138
|
var queryFunctionNames = ["viewChild", "viewChildren", "contentChild", "contentChildren"];
|
|
35200
35139
|
var QUERY_INITIALIZER_FNS = queryFunctionNames.map((fnName) => ({
|
|
@@ -35273,7 +35212,7 @@ function parseDescendantsOption(value) {
|
|
|
35273
35212
|
throw new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, value, `Expected "descendants" option to be a boolean literal.`);
|
|
35274
35213
|
}
|
|
35275
35214
|
|
|
35276
|
-
// bazel-out/
|
|
35215
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
35277
35216
|
var EMPTY_OBJECT = {};
|
|
35278
35217
|
var queryDecoratorNames = ["ViewChild", "ViewChildren", "ContentChild", "ContentChildren"];
|
|
35279
35218
|
var QUERY_TYPES = new Set(queryDecoratorNames);
|
|
@@ -36066,7 +36005,7 @@ function toR3InputMetadata(mapping) {
|
|
|
36066
36005
|
};
|
|
36067
36006
|
}
|
|
36068
36007
|
|
|
36069
|
-
// bazel-out/
|
|
36008
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
36070
36009
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
36071
36010
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
36072
36011
|
super(decl);
|
|
@@ -36146,7 +36085,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
36146
36085
|
return isSymbolEqual(current, previous);
|
|
36147
36086
|
}
|
|
36148
36087
|
|
|
36149
|
-
// bazel-out/
|
|
36088
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
36150
36089
|
var FIELD_DECORATORS = [
|
|
36151
36090
|
"Input",
|
|
36152
36091
|
"Output",
|
|
@@ -36339,10 +36278,10 @@ var DirectiveDecoratorHandler = class {
|
|
|
36339
36278
|
}
|
|
36340
36279
|
};
|
|
36341
36280
|
|
|
36342
|
-
// bazel-out/
|
|
36281
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
36343
36282
|
var import_typescript60 = __toESM(require("typescript"), 1);
|
|
36344
36283
|
|
|
36345
|
-
// bazel-out/
|
|
36284
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
36346
36285
|
var import_typescript59 = __toESM(require("typescript"), 1);
|
|
36347
36286
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
36348
36287
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -36414,7 +36353,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
36414
36353
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
36415
36354
|
}
|
|
36416
36355
|
|
|
36417
|
-
// bazel-out/
|
|
36356
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
36418
36357
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
36419
36358
|
constructor(decl, hasProviders) {
|
|
36420
36359
|
super(decl);
|
|
@@ -37021,7 +36960,7 @@ function isSyntheticReference(ref) {
|
|
|
37021
36960
|
return ref.synthetic;
|
|
37022
36961
|
}
|
|
37023
36962
|
|
|
37024
|
-
// bazel-out/
|
|
36963
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
37025
36964
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
37026
36965
|
const name = ref.debugName || "(unknown)";
|
|
37027
36966
|
const path4 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -37044,7 +36983,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
37044
36983
|
return null;
|
|
37045
36984
|
}
|
|
37046
36985
|
|
|
37047
|
-
// bazel-out/
|
|
36986
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
37048
36987
|
var import_typescript62 = __toESM(require("typescript"), 1);
|
|
37049
36988
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
37050
36989
|
return declaration.isInline ? declaration.expression : declaration.templateUrlExpression;
|
|
@@ -37391,7 +37330,7 @@ function _extractTemplateStyleUrls(template2) {
|
|
|
37391
37330
|
return template2.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
|
|
37392
37331
|
}
|
|
37393
37332
|
|
|
37394
|
-
// bazel-out/
|
|
37333
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
37395
37334
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
37396
37335
|
constructor() {
|
|
37397
37336
|
super(...arguments);
|
|
@@ -37426,7 +37365,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
37426
37365
|
}
|
|
37427
37366
|
};
|
|
37428
37367
|
|
|
37429
|
-
// bazel-out/
|
|
37368
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
37430
37369
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
37431
37370
|
if (value instanceof Map) {
|
|
37432
37371
|
const name = value.get("name");
|
|
@@ -37503,7 +37442,7 @@ function isLikelyModuleWithProviders(value) {
|
|
|
37503
37442
|
return false;
|
|
37504
37443
|
}
|
|
37505
37444
|
|
|
37506
|
-
// bazel-out/
|
|
37445
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
37507
37446
|
var EMPTY_ARRAY2 = [];
|
|
37508
37447
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
37509
37448
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
@@ -38504,7 +38443,7 @@ function isDefaultImport(node) {
|
|
|
38504
38443
|
return node.importClause !== void 0 && node.importClause.namedBindings === void 0;
|
|
38505
38444
|
}
|
|
38506
38445
|
|
|
38507
|
-
// bazel-out/
|
|
38446
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
38508
38447
|
var import_typescript65 = __toESM(require("typescript"), 1);
|
|
38509
38448
|
var InjectableDecoratorHandler = class {
|
|
38510
38449
|
constructor(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, perf, includeClassMetadata, compilationMode, errorOnDuplicateProv = true) {
|
|
@@ -38735,7 +38674,7 @@ function getDep(dep, reflector) {
|
|
|
38735
38674
|
return meta;
|
|
38736
38675
|
}
|
|
38737
38676
|
|
|
38738
|
-
// bazel-out/
|
|
38677
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
38739
38678
|
var import_typescript66 = __toESM(require("typescript"), 1);
|
|
38740
38679
|
var PipeSymbol = class extends SemanticSymbol {
|
|
38741
38680
|
constructor(decl, name) {
|
|
@@ -38891,13 +38830,13 @@ var PipeDecoratorHandler = class {
|
|
|
38891
38830
|
}
|
|
38892
38831
|
};
|
|
38893
38832
|
|
|
38894
|
-
// bazel-out/
|
|
38833
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/transform_api.mjs
|
|
38895
38834
|
var import_typescript67 = __toESM(require("typescript"), 1);
|
|
38896
38835
|
|
|
38897
|
-
// bazel-out/
|
|
38836
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/model_function.mjs
|
|
38898
38837
|
var import_typescript68 = __toESM(require("typescript"), 1);
|
|
38899
38838
|
|
|
38900
|
-
// bazel-out/
|
|
38839
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
38901
38840
|
var EmitFlags;
|
|
38902
38841
|
(function(EmitFlags2) {
|
|
38903
38842
|
EmitFlags2[EmitFlags2["DTS"] = 1] = "DTS";
|
|
@@ -38909,13 +38848,13 @@ var EmitFlags;
|
|
|
38909
38848
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
38910
38849
|
})(EmitFlags || (EmitFlags = {}));
|
|
38911
38850
|
|
|
38912
|
-
// bazel-out/
|
|
38851
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
38913
38852
|
var import_typescript71 = __toESM(require("typescript"), 1);
|
|
38914
38853
|
|
|
38915
|
-
// bazel-out/
|
|
38854
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
38916
38855
|
var import_typescript123 = __toESM(require("typescript"), 1);
|
|
38917
38856
|
|
|
38918
|
-
// bazel-out/
|
|
38857
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
38919
38858
|
var path2 = __toESM(require("path"), 1);
|
|
38920
38859
|
function i18nGetExtension(formatName) {
|
|
38921
38860
|
const format = formatName.toLowerCase();
|
|
@@ -38965,10 +38904,10 @@ function getPathNormalizer(basePath) {
|
|
|
38965
38904
|
};
|
|
38966
38905
|
}
|
|
38967
38906
|
|
|
38968
|
-
// bazel-out/
|
|
38907
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
38969
38908
|
var import_typescript72 = __toESM(require("typescript"), 1);
|
|
38970
38909
|
|
|
38971
|
-
// bazel-out/
|
|
38910
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
38972
38911
|
function toNumbers(value) {
|
|
38973
38912
|
const suffixIndex = value.lastIndexOf("-");
|
|
38974
38913
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -39003,7 +38942,7 @@ function compareVersions(v1, v2) {
|
|
|
39003
38942
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
39004
38943
|
}
|
|
39005
38944
|
|
|
39006
|
-
// bazel-out/
|
|
38945
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
39007
38946
|
var MIN_TS_VERSION = "5.4.0";
|
|
39008
38947
|
var MAX_TS_VERSION = "5.5.0";
|
|
39009
38948
|
var tsVersion = import_typescript72.default.version;
|
|
@@ -39016,10 +38955,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
39016
38955
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
39017
38956
|
}
|
|
39018
38957
|
|
|
39019
|
-
// bazel-out/
|
|
38958
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
39020
38959
|
var import_typescript119 = __toESM(require("typescript"), 1);
|
|
39021
38960
|
|
|
39022
|
-
// bazel-out/
|
|
38961
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
39023
38962
|
var CycleAnalyzer = class {
|
|
39024
38963
|
constructor(importGraph) {
|
|
39025
38964
|
this.importGraph = importGraph;
|
|
@@ -39090,7 +39029,7 @@ var Cycle = class {
|
|
|
39090
39029
|
}
|
|
39091
39030
|
};
|
|
39092
39031
|
|
|
39093
|
-
// bazel-out/
|
|
39032
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
39094
39033
|
var import_typescript73 = __toESM(require("typescript"), 1);
|
|
39095
39034
|
var ImportGraph = class {
|
|
39096
39035
|
constructor(checker, perf) {
|
|
@@ -39182,13 +39121,13 @@ var Found = class {
|
|
|
39182
39121
|
}
|
|
39183
39122
|
};
|
|
39184
39123
|
|
|
39185
|
-
// bazel-out/
|
|
39124
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
39186
39125
|
var import_typescript82 = __toESM(require("typescript"), 1);
|
|
39187
39126
|
|
|
39188
|
-
// bazel-out/
|
|
39127
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
39189
39128
|
var import_typescript77 = __toESM(require("typescript"), 1);
|
|
39190
39129
|
|
|
39191
|
-
// bazel-out/
|
|
39130
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
39192
39131
|
var EntryType;
|
|
39193
39132
|
(function(EntryType2) {
|
|
39194
39133
|
EntryType2["Block"] = "block";
|
|
@@ -39232,17 +39171,17 @@ var MemberTags;
|
|
|
39232
39171
|
MemberTags2["Inherited"] = "override";
|
|
39233
39172
|
})(MemberTags || (MemberTags = {}));
|
|
39234
39173
|
|
|
39235
|
-
// bazel-out/
|
|
39174
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
39236
39175
|
function isAngularPrivateName(name) {
|
|
39237
39176
|
var _a2;
|
|
39238
39177
|
const firstChar = (_a2 = name[0]) != null ? _a2 : "";
|
|
39239
39178
|
return firstChar === "\u0275" || firstChar === "_";
|
|
39240
39179
|
}
|
|
39241
39180
|
|
|
39242
|
-
// bazel-out/
|
|
39181
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
39243
39182
|
var import_typescript75 = __toESM(require("typescript"), 1);
|
|
39244
39183
|
|
|
39245
|
-
// bazel-out/
|
|
39184
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
39246
39185
|
function extractGenerics(declaration) {
|
|
39247
39186
|
var _a2, _b2;
|
|
39248
39187
|
return (_b2 = (_a2 = declaration.typeParameters) == null ? void 0 : _a2.map((typeParam) => {
|
|
@@ -39255,7 +39194,7 @@ function extractGenerics(declaration) {
|
|
|
39255
39194
|
})) != null ? _b2 : [];
|
|
39256
39195
|
}
|
|
39257
39196
|
|
|
39258
|
-
// bazel-out/
|
|
39197
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
39259
39198
|
var import_typescript74 = __toESM(require("typescript"), 1);
|
|
39260
39199
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf))/g;
|
|
39261
39200
|
function extractJsDocTags(node) {
|
|
@@ -39299,12 +39238,12 @@ function unescapeAngularDecorators(comment) {
|
|
|
39299
39238
|
return comment.replace(/_NG_AT_/g, "@");
|
|
39300
39239
|
}
|
|
39301
39240
|
|
|
39302
|
-
// bazel-out/
|
|
39241
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
39303
39242
|
function extractResolvedTypeString(node, checker) {
|
|
39304
39243
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
39305
39244
|
}
|
|
39306
39245
|
|
|
39307
|
-
// bazel-out/
|
|
39246
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
39308
39247
|
var FunctionExtractor = class {
|
|
39309
39248
|
constructor(name, declaration, typeChecker) {
|
|
39310
39249
|
this.name = name;
|
|
@@ -39360,7 +39299,7 @@ function extractAllParams(params, typeChecker) {
|
|
|
39360
39299
|
}));
|
|
39361
39300
|
}
|
|
39362
39301
|
|
|
39363
|
-
// bazel-out/
|
|
39302
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
|
|
39364
39303
|
var import_typescript76 = __toESM(require("typescript"), 1);
|
|
39365
39304
|
function isInternal(member) {
|
|
39366
39305
|
return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
|
|
@@ -39379,7 +39318,7 @@ function hasLeadingInternalComment(member) {
|
|
|
39379
39318
|
)) != null ? _a2 : false;
|
|
39380
39319
|
}
|
|
39381
39320
|
|
|
39382
|
-
// bazel-out/
|
|
39321
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
39383
39322
|
var ClassExtractor = class {
|
|
39384
39323
|
constructor(declaration, typeChecker) {
|
|
39385
39324
|
this.declaration = declaration;
|
|
@@ -39631,7 +39570,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
39631
39570
|
return extractor.extract();
|
|
39632
39571
|
}
|
|
39633
39572
|
|
|
39634
|
-
// bazel-out/
|
|
39573
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
39635
39574
|
var import_typescript78 = __toESM(require("typescript"), 1);
|
|
39636
39575
|
var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
|
|
39637
39576
|
function extractConstant(declaration, typeChecker) {
|
|
@@ -39689,7 +39628,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
|
|
|
39689
39628
|
});
|
|
39690
39629
|
}
|
|
39691
39630
|
|
|
39692
|
-
// bazel-out/
|
|
39631
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
39693
39632
|
var import_typescript79 = __toESM(require("typescript"), 1);
|
|
39694
39633
|
function extractorDecorator(declaration, typeChecker) {
|
|
39695
39634
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -39762,7 +39701,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
39762
39701
|
return callSignature;
|
|
39763
39702
|
}
|
|
39764
39703
|
|
|
39765
|
-
// bazel-out/
|
|
39704
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
39766
39705
|
var import_typescript80 = __toESM(require("typescript"), 1);
|
|
39767
39706
|
function extractEnum(declaration, typeChecker) {
|
|
39768
39707
|
return {
|
|
@@ -39793,7 +39732,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
39793
39732
|
return (_a2 = literal3 == null ? void 0 : literal3.getText()) != null ? _a2 : "";
|
|
39794
39733
|
}
|
|
39795
39734
|
|
|
39796
|
-
// bazel-out/
|
|
39735
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
|
|
39797
39736
|
var import_typescript81 = __toESM(require("typescript"), 1);
|
|
39798
39737
|
var initializerApiTag = "initializerApiFunction";
|
|
39799
39738
|
function isInitializerApiFunction(node, typeChecker) {
|
|
@@ -39930,7 +39869,7 @@ function findImplementationOfFunction(node, typeChecker) {
|
|
|
39930
39869
|
return (_a2 = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _a2.find((s) => import_typescript81.default.isFunctionDeclaration(s) && s.body !== void 0);
|
|
39931
39870
|
}
|
|
39932
39871
|
|
|
39933
|
-
// bazel-out/
|
|
39872
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
39934
39873
|
function extractTypeAlias(declaration) {
|
|
39935
39874
|
return {
|
|
39936
39875
|
name: declaration.name.getText(),
|
|
@@ -39942,13 +39881,13 @@ function extractTypeAlias(declaration) {
|
|
|
39942
39881
|
};
|
|
39943
39882
|
}
|
|
39944
39883
|
|
|
39945
|
-
// bazel-out/
|
|
39884
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
39946
39885
|
var DocsExtractor = class {
|
|
39947
39886
|
constructor(typeChecker, metadataReader) {
|
|
39948
39887
|
this.typeChecker = typeChecker;
|
|
39949
39888
|
this.metadataReader = metadataReader;
|
|
39950
39889
|
}
|
|
39951
|
-
extractAll(sourceFile) {
|
|
39890
|
+
extractAll(sourceFile, rootDir) {
|
|
39952
39891
|
const entries = [];
|
|
39953
39892
|
const exportedDeclarations = this.getExportedDeclarations(sourceFile);
|
|
39954
39893
|
for (const [exportName, node] of exportedDeclarations) {
|
|
@@ -39957,6 +39896,12 @@ var DocsExtractor = class {
|
|
|
39957
39896
|
}
|
|
39958
39897
|
const entry = this.extractDeclaration(node);
|
|
39959
39898
|
if (entry && !isIgnoredDocEntry(entry)) {
|
|
39899
|
+
const realSourceFile = node.getSourceFile();
|
|
39900
|
+
entry.source = {
|
|
39901
|
+
filePath: getRelativeFilePath(realSourceFile, rootDir),
|
|
39902
|
+
startLine: import_typescript82.default.getLineAndCharacterOfPosition(realSourceFile, node.getFullStart()).line,
|
|
39903
|
+
endLine: import_typescript82.default.getLineAndCharacterOfPosition(realSourceFile, node.getEnd()).line
|
|
39904
|
+
};
|
|
39960
39905
|
entries.push(__spreadProps(__spreadValues({}, entry), { name: exportName }));
|
|
39961
39906
|
}
|
|
39962
39907
|
}
|
|
@@ -40014,8 +39959,13 @@ function isIgnoredDocEntry(entry) {
|
|
|
40014
39959
|
}
|
|
40015
39960
|
return isDocsPrivate !== void 0;
|
|
40016
39961
|
}
|
|
39962
|
+
function getRelativeFilePath(sourceFile, rootDir) {
|
|
39963
|
+
const fullPath = sourceFile.fileName;
|
|
39964
|
+
const relativePath = fullPath.replace(rootDir, "");
|
|
39965
|
+
return relativePath;
|
|
39966
|
+
}
|
|
40017
39967
|
|
|
40018
|
-
// bazel-out/
|
|
39968
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
40019
39969
|
var import_typescript83 = __toESM(require("typescript"), 1);
|
|
40020
39970
|
var FlatIndexGenerator = class {
|
|
40021
39971
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -40040,7 +39990,7 @@ export * from '${relativeEntryPoint}';
|
|
|
40040
39990
|
}
|
|
40041
39991
|
};
|
|
40042
39992
|
|
|
40043
|
-
// bazel-out/
|
|
39993
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
40044
39994
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
40045
39995
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
40046
39996
|
let resolvedEntryPoint = null;
|
|
@@ -40056,7 +40006,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
40056
40006
|
return resolvedEntryPoint;
|
|
40057
40007
|
}
|
|
40058
40008
|
|
|
40059
|
-
// bazel-out/
|
|
40009
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
40060
40010
|
var import_typescript85 = __toESM(require("typescript"), 1);
|
|
40061
40011
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
40062
40012
|
const diagnostics = [];
|
|
@@ -40136,7 +40086,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
40136
40086
|
}
|
|
40137
40087
|
}
|
|
40138
40088
|
|
|
40139
|
-
// bazel-out/
|
|
40089
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
40140
40090
|
var ReferenceGraph = class {
|
|
40141
40091
|
constructor() {
|
|
40142
40092
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -40190,7 +40140,7 @@ var ReferenceGraph = class {
|
|
|
40190
40140
|
}
|
|
40191
40141
|
};
|
|
40192
40142
|
|
|
40193
|
-
// bazel-out/
|
|
40143
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
40194
40144
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
40195
40145
|
var UpdateMode;
|
|
40196
40146
|
(function(UpdateMode2) {
|
|
@@ -40198,13 +40148,13 @@ var UpdateMode;
|
|
|
40198
40148
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
40199
40149
|
})(UpdateMode || (UpdateMode = {}));
|
|
40200
40150
|
|
|
40201
|
-
// bazel-out/
|
|
40151
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
40202
40152
|
var import_typescript89 = __toESM(require("typescript"), 1);
|
|
40203
40153
|
|
|
40204
|
-
// bazel-out/
|
|
40154
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
40205
40155
|
var import_typescript86 = __toESM(require("typescript"), 1);
|
|
40206
40156
|
|
|
40207
|
-
// bazel-out/
|
|
40157
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
40208
40158
|
var NgExtension = Symbol("NgExtension");
|
|
40209
40159
|
function isExtended(sf) {
|
|
40210
40160
|
return sf[NgExtension] !== void 0;
|
|
@@ -40264,13 +40214,13 @@ function retagTsFile(sf) {
|
|
|
40264
40214
|
}
|
|
40265
40215
|
}
|
|
40266
40216
|
|
|
40267
|
-
// bazel-out/
|
|
40217
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
40268
40218
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
40269
40219
|
function makeShimFileName(fileName, suffix) {
|
|
40270
40220
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
40271
40221
|
}
|
|
40272
40222
|
|
|
40273
|
-
// bazel-out/
|
|
40223
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
40274
40224
|
var ShimAdapter = class {
|
|
40275
40225
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
40276
40226
|
this.delegate = delegate;
|
|
@@ -40365,7 +40315,7 @@ var ShimAdapter = class {
|
|
|
40365
40315
|
}
|
|
40366
40316
|
};
|
|
40367
40317
|
|
|
40368
|
-
// bazel-out/
|
|
40318
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
40369
40319
|
var ShimReferenceTagger = class {
|
|
40370
40320
|
constructor(shimExtensions) {
|
|
40371
40321
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -40399,7 +40349,7 @@ var ShimReferenceTagger = class {
|
|
|
40399
40349
|
}
|
|
40400
40350
|
};
|
|
40401
40351
|
|
|
40402
|
-
// bazel-out/
|
|
40352
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
40403
40353
|
var DelegatingCompilerHost = class {
|
|
40404
40354
|
get jsDocParsingMode() {
|
|
40405
40355
|
return this.delegate.jsDocParsingMode;
|
|
@@ -40518,7 +40468,7 @@ var TsCreateProgramDriver = class {
|
|
|
40518
40468
|
}
|
|
40519
40469
|
};
|
|
40520
40470
|
|
|
40521
|
-
// bazel-out/
|
|
40471
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
40522
40472
|
var FileDependencyGraph = class {
|
|
40523
40473
|
constructor() {
|
|
40524
40474
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -40585,7 +40535,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
40585
40535
|
return false;
|
|
40586
40536
|
}
|
|
40587
40537
|
|
|
40588
|
-
// bazel-out/
|
|
40538
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
40589
40539
|
var IncrementalStateKind;
|
|
40590
40540
|
(function(IncrementalStateKind2) {
|
|
40591
40541
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -40593,7 +40543,7 @@ var IncrementalStateKind;
|
|
|
40593
40543
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
40594
40544
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
40595
40545
|
|
|
40596
|
-
// bazel-out/
|
|
40546
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
40597
40547
|
var PhaseKind;
|
|
40598
40548
|
(function(PhaseKind2) {
|
|
40599
40549
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -40794,7 +40744,7 @@ function toOriginalSourceFile(sf) {
|
|
|
40794
40744
|
}
|
|
40795
40745
|
}
|
|
40796
40746
|
|
|
40797
|
-
// bazel-out/
|
|
40747
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
40798
40748
|
var TrackedIncrementalBuildStrategy = class {
|
|
40799
40749
|
constructor() {
|
|
40800
40750
|
this.state = null;
|
|
@@ -40815,7 +40765,7 @@ var TrackedIncrementalBuildStrategy = class {
|
|
|
40815
40765
|
};
|
|
40816
40766
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
40817
40767
|
|
|
40818
|
-
// bazel-out/
|
|
40768
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
40819
40769
|
var IdentifierKind;
|
|
40820
40770
|
(function(IdentifierKind2) {
|
|
40821
40771
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -40833,7 +40783,7 @@ var AbsoluteSourceSpan2 = class {
|
|
|
40833
40783
|
}
|
|
40834
40784
|
};
|
|
40835
40785
|
|
|
40836
|
-
// bazel-out/
|
|
40786
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
40837
40787
|
var IndexingContext = class {
|
|
40838
40788
|
constructor() {
|
|
40839
40789
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -40843,7 +40793,7 @@ var IndexingContext = class {
|
|
|
40843
40793
|
}
|
|
40844
40794
|
};
|
|
40845
40795
|
|
|
40846
|
-
// bazel-out/
|
|
40796
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
40847
40797
|
var ExpressionVisitor = class extends RecursiveAstVisitor2 {
|
|
40848
40798
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
40849
40799
|
super();
|
|
@@ -41124,7 +41074,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
41124
41074
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
41125
41075
|
}
|
|
41126
41076
|
|
|
41127
|
-
// bazel-out/
|
|
41077
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
41128
41078
|
function generateAnalysis(context) {
|
|
41129
41079
|
const analysis = /* @__PURE__ */ new Map();
|
|
41130
41080
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -41160,7 +41110,7 @@ function generateAnalysis(context) {
|
|
|
41160
41110
|
return analysis;
|
|
41161
41111
|
}
|
|
41162
41112
|
|
|
41163
|
-
// bazel-out/
|
|
41113
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
41164
41114
|
var NgModuleIndexImpl = class {
|
|
41165
41115
|
constructor(metaReader, localReader) {
|
|
41166
41116
|
this.metaReader = metaReader;
|
|
@@ -41249,7 +41199,7 @@ var NgModuleIndexImpl = class {
|
|
|
41249
41199
|
}
|
|
41250
41200
|
};
|
|
41251
41201
|
|
|
41252
|
-
// bazel-out/
|
|
41202
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
41253
41203
|
var import_typescript92 = __toESM(require("typescript"), 1);
|
|
41254
41204
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
41255
41205
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -41397,7 +41347,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
41397
41347
|
};
|
|
41398
41348
|
}
|
|
41399
41349
|
|
|
41400
|
-
// bazel-out/
|
|
41350
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
41401
41351
|
var StandaloneComponentScopeReader = class {
|
|
41402
41352
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
41403
41353
|
this.metaReader = metaReader;
|
|
@@ -41493,21 +41443,21 @@ var StandaloneComponentScopeReader = class {
|
|
|
41493
41443
|
}
|
|
41494
41444
|
};
|
|
41495
41445
|
|
|
41496
|
-
// bazel-out/
|
|
41446
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
41497
41447
|
var OptimizeFor;
|
|
41498
41448
|
(function(OptimizeFor2) {
|
|
41499
41449
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
41500
41450
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
41501
41451
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
41502
41452
|
|
|
41503
|
-
// bazel-out/
|
|
41453
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
41504
41454
|
var CompletionKind;
|
|
41505
41455
|
(function(CompletionKind2) {
|
|
41506
41456
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
41507
41457
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
41508
41458
|
})(CompletionKind || (CompletionKind = {}));
|
|
41509
41459
|
|
|
41510
|
-
// bazel-out/
|
|
41460
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
41511
41461
|
var PotentialImportKind;
|
|
41512
41462
|
(function(PotentialImportKind2) {
|
|
41513
41463
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -41519,7 +41469,7 @@ var PotentialImportMode;
|
|
|
41519
41469
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
41520
41470
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
41521
41471
|
|
|
41522
|
-
// bazel-out/
|
|
41472
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
41523
41473
|
var SymbolKind;
|
|
41524
41474
|
(function(SymbolKind2) {
|
|
41525
41475
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -41535,7 +41485,7 @@ var SymbolKind;
|
|
|
41535
41485
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
41536
41486
|
})(SymbolKind || (SymbolKind = {}));
|
|
41537
41487
|
|
|
41538
|
-
// bazel-out/
|
|
41488
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
41539
41489
|
var import_typescript93 = __toESM(require("typescript"), 1);
|
|
41540
41490
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
41541
41491
|
var _a2;
|
|
@@ -41642,7 +41592,7 @@ function parseTemplateAsSourceFile(fileName, template2) {
|
|
|
41642
41592
|
return import_typescript93.default.createSourceFile(fileName, template2, import_typescript93.default.ScriptTarget.Latest, false, import_typescript93.default.ScriptKind.JSX);
|
|
41643
41593
|
}
|
|
41644
41594
|
|
|
41645
|
-
// bazel-out/
|
|
41595
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
41646
41596
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
41647
41597
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
41648
41598
|
function getTemplateId(clazz) {
|
|
@@ -41659,10 +41609,10 @@ function allocateTemplateId(sf) {
|
|
|
41659
41609
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
41660
41610
|
}
|
|
41661
41611
|
|
|
41662
|
-
// bazel-out/
|
|
41612
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
41663
41613
|
var import_typescript95 = __toESM(require("typescript"), 1);
|
|
41664
41614
|
|
|
41665
|
-
// bazel-out/
|
|
41615
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
41666
41616
|
var import_typescript94 = __toESM(require("typescript"), 1);
|
|
41667
41617
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
41668
41618
|
function readSpanComment(node, sourceFile = node.getSourceFile()) {
|
|
@@ -41792,7 +41742,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
41792
41742
|
}) || false;
|
|
41793
41743
|
}
|
|
41794
41744
|
|
|
41795
|
-
// bazel-out/
|
|
41745
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
41796
41746
|
var CompletionEngine = class {
|
|
41797
41747
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
41798
41748
|
this.tcb = tcb;
|
|
@@ -42987,21 +42937,29 @@ var MagicString = class {
|
|
|
42987
42937
|
if (searchValue.global) {
|
|
42988
42938
|
const matches = matchAll(searchValue, this.original);
|
|
42989
42939
|
matches.forEach((match) => {
|
|
42990
|
-
if (match.index != null)
|
|
42940
|
+
if (match.index != null) {
|
|
42941
|
+
const replacement2 = getReplacement(match, this.original);
|
|
42942
|
+
if (replacement2 !== match[0]) {
|
|
42943
|
+
this.overwrite(
|
|
42944
|
+
match.index,
|
|
42945
|
+
match.index + match[0].length,
|
|
42946
|
+
replacement2
|
|
42947
|
+
);
|
|
42948
|
+
}
|
|
42949
|
+
}
|
|
42950
|
+
});
|
|
42951
|
+
} else {
|
|
42952
|
+
const match = this.original.match(searchValue);
|
|
42953
|
+
if (match && match.index != null) {
|
|
42954
|
+
const replacement2 = getReplacement(match, this.original);
|
|
42955
|
+
if (replacement2 !== match[0]) {
|
|
42991
42956
|
this.overwrite(
|
|
42992
42957
|
match.index,
|
|
42993
42958
|
match.index + match[0].length,
|
|
42994
|
-
|
|
42959
|
+
replacement2
|
|
42995
42960
|
);
|
|
42996
|
-
|
|
42997
|
-
|
|
42998
|
-
const match = this.original.match(searchValue);
|
|
42999
|
-
if (match && match.index != null)
|
|
43000
|
-
this.overwrite(
|
|
43001
|
-
match.index,
|
|
43002
|
-
match.index + match[0].length,
|
|
43003
|
-
getReplacement(match, this.original)
|
|
43004
|
-
);
|
|
42961
|
+
}
|
|
42962
|
+
}
|
|
43005
42963
|
}
|
|
43006
42964
|
return this;
|
|
43007
42965
|
}
|
|
@@ -43023,7 +42981,9 @@ var MagicString = class {
|
|
|
43023
42981
|
const { original } = this;
|
|
43024
42982
|
const stringLength = string.length;
|
|
43025
42983
|
for (let index = original.indexOf(string); index !== -1; index = original.indexOf(string, index + stringLength)) {
|
|
43026
|
-
|
|
42984
|
+
const previous = original.slice(index, index + stringLength);
|
|
42985
|
+
if (previous !== replacement)
|
|
42986
|
+
this.overwrite(index, index + stringLength, replacement);
|
|
43027
42987
|
}
|
|
43028
42988
|
return this;
|
|
43029
42989
|
}
|
|
@@ -43040,10 +43000,10 @@ var MagicString = class {
|
|
|
43040
43000
|
}
|
|
43041
43001
|
};
|
|
43042
43002
|
|
|
43043
|
-
// bazel-out/
|
|
43003
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
43044
43004
|
var import_typescript109 = __toESM(require("typescript"), 1);
|
|
43045
43005
|
|
|
43046
|
-
// bazel-out/
|
|
43006
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
43047
43007
|
var import_typescript96 = __toESM(require("typescript"), 1);
|
|
43048
43008
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
43049
43009
|
var REMOVE_XHTML_REGEX = /^:xhtml:/;
|
|
@@ -43095,10 +43055,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
43095
43055
|
}
|
|
43096
43056
|
};
|
|
43097
43057
|
|
|
43098
|
-
// bazel-out/
|
|
43058
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
43099
43059
|
var import_typescript102 = __toESM(require("typescript"), 1);
|
|
43100
43060
|
|
|
43101
|
-
// bazel-out/
|
|
43061
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
|
|
43102
43062
|
var ReferenceEmitEnvironment = class {
|
|
43103
43063
|
constructor(importManager, refEmitter, reflector, contextFile) {
|
|
43104
43064
|
this.importManager = importManager;
|
|
@@ -43128,7 +43088,7 @@ var ReferenceEmitEnvironment = class {
|
|
|
43128
43088
|
}
|
|
43129
43089
|
};
|
|
43130
43090
|
|
|
43131
|
-
// bazel-out/
|
|
43091
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
43132
43092
|
var import_typescript97 = __toESM(require("typescript"), 1);
|
|
43133
43093
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
43134
43094
|
import_typescript97.default.SyntaxKind.ParenthesizedExpression,
|
|
@@ -43211,13 +43171,13 @@ function tsNumericExpression2(value) {
|
|
|
43211
43171
|
return import_typescript97.default.factory.createNumericLiteral(value);
|
|
43212
43172
|
}
|
|
43213
43173
|
|
|
43214
|
-
// bazel-out/
|
|
43174
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
43215
43175
|
var import_typescript101 = __toESM(require("typescript"), 1);
|
|
43216
43176
|
|
|
43217
|
-
// bazel-out/
|
|
43177
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
43218
43178
|
var import_typescript99 = __toESM(require("typescript"), 1);
|
|
43219
43179
|
|
|
43220
|
-
// bazel-out/
|
|
43180
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
43221
43181
|
var import_typescript98 = __toESM(require("typescript"), 1);
|
|
43222
43182
|
var TypeParameterEmitter = class {
|
|
43223
43183
|
constructor(typeParameters, reflector) {
|
|
@@ -43295,7 +43255,7 @@ var TypeParameterEmitter = class {
|
|
|
43295
43255
|
}
|
|
43296
43256
|
};
|
|
43297
43257
|
|
|
43298
|
-
// bazel-out/
|
|
43258
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
43299
43259
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
43300
43260
|
Identifiers.InputSignalBrandWriteType
|
|
43301
43261
|
];
|
|
@@ -43387,7 +43347,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
43387
43347
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
43388
43348
|
}
|
|
43389
43349
|
|
|
43390
|
-
// bazel-out/
|
|
43350
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
43391
43351
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
43392
43352
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
43393
43353
|
const rawType = import_typescript101.default.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -43510,7 +43470,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
43510
43470
|
});
|
|
43511
43471
|
}
|
|
43512
43472
|
|
|
43513
|
-
// bazel-out/
|
|
43473
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
43514
43474
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
43515
43475
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
43516
43476
|
super(importManager, refEmitter, reflector, contextFile);
|
|
@@ -43585,7 +43545,7 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
43585
43545
|
}
|
|
43586
43546
|
};
|
|
43587
43547
|
|
|
43588
|
-
// bazel-out/
|
|
43548
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
43589
43549
|
var import_typescript103 = __toESM(require("typescript"), 1);
|
|
43590
43550
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
43591
43551
|
constructor(resolver) {
|
|
@@ -43686,7 +43646,7 @@ Consider enabling the 'strictTemplates' option in your tsconfig.json for better
|
|
|
43686
43646
|
splitTwoWayBinding(templateId, input, output, inputConsumer, outputConsumer) {
|
|
43687
43647
|
const mapping = this.resolver.getSourceMapping(templateId);
|
|
43688
43648
|
const errorMsg = `The property and event halves of the two-way binding '${input.name}' are not bound to the same target.
|
|
43689
|
-
Find more at https://angular.
|
|
43649
|
+
Find more at https://angular.dev/guide/templates/two-way-binding#how-two-way-binding-works`;
|
|
43690
43650
|
const relatedMessages = [];
|
|
43691
43651
|
relatedMessages.push({
|
|
43692
43652
|
text: `The property half of the binding is to the '${inputConsumer.name.text}' component.`,
|
|
@@ -43764,7 +43724,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
43764
43724
|
});
|
|
43765
43725
|
}
|
|
43766
43726
|
|
|
43767
|
-
// bazel-out/
|
|
43727
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
43768
43728
|
var import_typescript104 = __toESM(require("typescript"), 1);
|
|
43769
43729
|
var TypeCheckShimGenerator = class {
|
|
43770
43730
|
constructor() {
|
|
@@ -43782,10 +43742,10 @@ var TypeCheckShimGenerator = class {
|
|
|
43782
43742
|
}
|
|
43783
43743
|
};
|
|
43784
43744
|
|
|
43785
|
-
// bazel-out/
|
|
43745
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
43786
43746
|
var import_typescript107 = __toESM(require("typescript"), 1);
|
|
43787
43747
|
|
|
43788
|
-
// bazel-out/
|
|
43748
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
43789
43749
|
var import_typescript105 = __toESM(require("typescript"), 1);
|
|
43790
43750
|
function wrapForDiagnostics(expr) {
|
|
43791
43751
|
return import_typescript105.default.factory.createParenthesizedExpression(expr);
|
|
@@ -43830,7 +43790,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
43830
43790
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
43831
43791
|
}
|
|
43832
43792
|
|
|
43833
|
-
// bazel-out/
|
|
43793
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
43834
43794
|
var import_typescript106 = __toESM(require("typescript"), 1);
|
|
43835
43795
|
var NULL_AS_ANY = import_typescript106.default.factory.createAsExpression(import_typescript106.default.factory.createNull(), import_typescript106.default.factory.createKeywordTypeNode(import_typescript106.default.SyntaxKind.AnyKeyword));
|
|
43836
43796
|
var UNDEFINED = import_typescript106.default.factory.createIdentifier("undefined");
|
|
@@ -44162,7 +44122,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
44162
44122
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
44163
44123
|
})();
|
|
44164
44124
|
|
|
44165
|
-
// bazel-out/
|
|
44125
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
44166
44126
|
var TcbGenericContextBehavior;
|
|
44167
44127
|
(function(TcbGenericContextBehavior2) {
|
|
44168
44128
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -45670,7 +45630,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
45670
45630
|
}
|
|
45671
45631
|
};
|
|
45672
45632
|
|
|
45673
|
-
// bazel-out/
|
|
45633
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
45674
45634
|
var import_typescript108 = __toESM(require("typescript"), 1);
|
|
45675
45635
|
var TypeCheckFile = class extends Environment {
|
|
45676
45636
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -45718,7 +45678,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
45718
45678
|
}
|
|
45719
45679
|
};
|
|
45720
45680
|
|
|
45721
|
-
// bazel-out/
|
|
45681
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
45722
45682
|
var InliningMode;
|
|
45723
45683
|
(function(InliningMode2) {
|
|
45724
45684
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -45970,7 +45930,7 @@ var TypeCtorOp = class {
|
|
|
45970
45930
|
}
|
|
45971
45931
|
};
|
|
45972
45932
|
|
|
45973
|
-
// bazel-out/
|
|
45933
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
45974
45934
|
var LF_CHAR = 10;
|
|
45975
45935
|
var CR_CHAR = 13;
|
|
45976
45936
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -46011,7 +45971,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
46011
45971
|
return low - 1;
|
|
46012
45972
|
}
|
|
46013
45973
|
|
|
46014
|
-
// bazel-out/
|
|
45974
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
46015
45975
|
var TemplateSource = class {
|
|
46016
45976
|
constructor(mapping, file) {
|
|
46017
45977
|
this.mapping = mapping;
|
|
@@ -46062,7 +46022,7 @@ var TemplateSourceManager = class {
|
|
|
46062
46022
|
}
|
|
46063
46023
|
};
|
|
46064
46024
|
|
|
46065
|
-
// bazel-out/
|
|
46025
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
46066
46026
|
var import_typescript110 = __toESM(require("typescript"), 1);
|
|
46067
46027
|
var SymbolBuilder = class {
|
|
46068
46028
|
constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
|
|
@@ -46573,7 +46533,7 @@ function unwrapSignalInputWriteTAccessor(expr) {
|
|
|
46573
46533
|
};
|
|
46574
46534
|
}
|
|
46575
46535
|
|
|
46576
|
-
// bazel-out/
|
|
46536
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
46577
46537
|
var REGISTRY2 = new DomElementSchemaRegistry();
|
|
46578
46538
|
var TemplateTypeCheckerImpl = class {
|
|
46579
46539
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -47273,7 +47233,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
47273
47233
|
}
|
|
47274
47234
|
};
|
|
47275
47235
|
|
|
47276
|
-
// bazel-out/
|
|
47236
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
|
|
47277
47237
|
var import_typescript113 = __toESM(require("typescript"), 1);
|
|
47278
47238
|
var SIGNAL_FNS = /* @__PURE__ */ new Set([
|
|
47279
47239
|
"WritableSignal",
|
|
@@ -47293,7 +47253,7 @@ function isSignalSymbol(symbol) {
|
|
|
47293
47253
|
});
|
|
47294
47254
|
}
|
|
47295
47255
|
|
|
47296
|
-
// bazel-out/
|
|
47256
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
47297
47257
|
var TemplateCheckWithVisitor = class {
|
|
47298
47258
|
run(ctx, component, template2) {
|
|
47299
47259
|
const visitor = new TemplateVisitor2(ctx, component, this);
|
|
@@ -47417,7 +47377,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
47417
47377
|
}
|
|
47418
47378
|
};
|
|
47419
47379
|
|
|
47420
|
-
// bazel-out/
|
|
47380
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
47421
47381
|
var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
|
|
47422
47382
|
var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
|
|
47423
47383
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -47461,7 +47421,7 @@ var factory = {
|
|
|
47461
47421
|
create: () => new InterpolatedSignalCheck()
|
|
47462
47422
|
};
|
|
47463
47423
|
|
|
47464
|
-
// bazel-out/
|
|
47424
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
47465
47425
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
47466
47426
|
constructor() {
|
|
47467
47427
|
super(...arguments);
|
|
@@ -47476,7 +47436,7 @@ var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
|
47476
47436
|
const boundSyntax = node.sourceSpan.toString();
|
|
47477
47437
|
const expectedBoundSyntax = boundSyntax.replace(`(${name})`, `[(${name.slice(1, -1)})]`);
|
|
47478
47438
|
const diagnostic = ctx.makeTemplateDiagnostic(node.sourceSpan, `In the two-way binding syntax the parentheses should be inside the brackets, ex. '${expectedBoundSyntax}'.
|
|
47479
|
-
Find more at https://angular.
|
|
47439
|
+
Find more at https://angular.dev/guide/templates/two-way-binding`);
|
|
47480
47440
|
return [diagnostic];
|
|
47481
47441
|
}
|
|
47482
47442
|
};
|
|
@@ -47486,7 +47446,7 @@ var factory2 = {
|
|
|
47486
47446
|
create: () => new InvalidBananaInBoxCheck()
|
|
47487
47447
|
};
|
|
47488
47448
|
|
|
47489
|
-
// bazel-out/
|
|
47449
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
47490
47450
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
47491
47451
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
47492
47452
|
["ngFor", { directive: "NgFor", builtIn: "@for" }],
|
|
@@ -47530,7 +47490,7 @@ var factory3 = {
|
|
|
47530
47490
|
}
|
|
47531
47491
|
};
|
|
47532
47492
|
|
|
47533
|
-
// bazel-out/
|
|
47493
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
47534
47494
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
47535
47495
|
constructor() {
|
|
47536
47496
|
super(...arguments);
|
|
@@ -47562,7 +47522,7 @@ var factory4 = {
|
|
|
47562
47522
|
create: () => new MissingNgForOfLetCheck()
|
|
47563
47523
|
};
|
|
47564
47524
|
|
|
47565
|
-
// bazel-out/
|
|
47525
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
47566
47526
|
var import_typescript114 = __toESM(require("typescript"), 1);
|
|
47567
47527
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
47568
47528
|
constructor() {
|
|
@@ -47606,7 +47566,7 @@ var factory5 = {
|
|
|
47606
47566
|
}
|
|
47607
47567
|
};
|
|
47608
47568
|
|
|
47609
|
-
// bazel-out/
|
|
47569
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
47610
47570
|
var import_typescript115 = __toESM(require("typescript"), 1);
|
|
47611
47571
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
47612
47572
|
constructor() {
|
|
@@ -47651,7 +47611,7 @@ var factory6 = {
|
|
|
47651
47611
|
}
|
|
47652
47612
|
};
|
|
47653
47613
|
|
|
47654
|
-
// bazel-out/
|
|
47614
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
47655
47615
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
47656
47616
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
47657
47617
|
constructor() {
|
|
@@ -47674,7 +47634,7 @@ var factory7 = {
|
|
|
47674
47634
|
create: () => new SuffixNotSupportedCheck()
|
|
47675
47635
|
};
|
|
47676
47636
|
|
|
47677
|
-
// bazel-out/
|
|
47637
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
47678
47638
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
47679
47639
|
constructor() {
|
|
47680
47640
|
super(...arguments);
|
|
@@ -47712,10 +47672,10 @@ var factory8 = {
|
|
|
47712
47672
|
create: () => new TextAttributeNotBindingSpec()
|
|
47713
47673
|
};
|
|
47714
47674
|
|
|
47715
|
-
// bazel-out/
|
|
47675
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
47716
47676
|
var import_typescript116 = __toESM(require("typescript"), 1);
|
|
47717
47677
|
|
|
47718
|
-
// bazel-out/
|
|
47678
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
47719
47679
|
var DiagnosticCategoryLabel;
|
|
47720
47680
|
(function(DiagnosticCategoryLabel2) {
|
|
47721
47681
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -47723,7 +47683,7 @@ var DiagnosticCategoryLabel;
|
|
|
47723
47683
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
47724
47684
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
47725
47685
|
|
|
47726
|
-
// bazel-out/
|
|
47686
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
47727
47687
|
var ExtendedTemplateCheckerImpl = class {
|
|
47728
47688
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
47729
47689
|
var _a2, _b2, _c2, _d2, _e2;
|
|
@@ -47775,7 +47735,7 @@ function assertNever(value) {
|
|
|
47775
47735
|
${value}`);
|
|
47776
47736
|
}
|
|
47777
47737
|
|
|
47778
|
-
// bazel-out/
|
|
47738
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
47779
47739
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
47780
47740
|
factory2,
|
|
47781
47741
|
factory5,
|
|
@@ -47791,7 +47751,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
|
47791
47751
|
...ALL_DIAGNOSTIC_FACTORIES.map((factory9) => factory9.name)
|
|
47792
47752
|
]);
|
|
47793
47753
|
|
|
47794
|
-
// bazel-out/
|
|
47754
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
|
|
47795
47755
|
var import_typescript117 = __toESM(require("typescript"), 1);
|
|
47796
47756
|
var TemplateSemanticsCheckerImpl = class {
|
|
47797
47757
|
constructor(templateTypeChecker) {
|
|
@@ -47872,7 +47832,7 @@ function unwrapAstWithSource(ast) {
|
|
|
47872
47832
|
return ast instanceof ASTWithSource ? ast.ast : ast;
|
|
47873
47833
|
}
|
|
47874
47834
|
|
|
47875
|
-
// bazel-out/
|
|
47835
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
|
|
47876
47836
|
var import_typescript118 = __toESM(require("typescript"), 1);
|
|
47877
47837
|
var APIS_TO_CHECK = [
|
|
47878
47838
|
INPUT_INITIALIZER_FN,
|
|
@@ -47923,7 +47883,7 @@ var InitializerApiUsageRule = class {
|
|
|
47923
47883
|
}
|
|
47924
47884
|
};
|
|
47925
47885
|
|
|
47926
|
-
// bazel-out/
|
|
47886
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
|
|
47927
47887
|
var SourceFileValidator = class {
|
|
47928
47888
|
constructor(reflector, importedSymbolsTracker) {
|
|
47929
47889
|
this.rules = [new InitializerApiUsageRule(reflector, importedSymbolsTracker)];
|
|
@@ -47961,7 +47921,7 @@ var SourceFileValidator = class {
|
|
|
47961
47921
|
}
|
|
47962
47922
|
};
|
|
47963
47923
|
|
|
47964
|
-
// bazel-out/
|
|
47924
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
|
|
47965
47925
|
function coreHasSymbol(program, symbol) {
|
|
47966
47926
|
const checker = program.getTypeChecker();
|
|
47967
47927
|
for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
|
|
@@ -47980,7 +47940,7 @@ function isMaybeCore(sf) {
|
|
|
47980
47940
|
return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
|
|
47981
47941
|
}
|
|
47982
47942
|
|
|
47983
|
-
// bazel-out/
|
|
47943
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
|
|
47984
47944
|
var import_semver = __toESM(require_semver2(), 1);
|
|
47985
47945
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
47986
47946
|
if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
|
|
@@ -47989,7 +47949,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
|
47989
47949
|
return import_semver.default.satisfies(coreVersion, minVersion);
|
|
47990
47950
|
}
|
|
47991
47951
|
|
|
47992
|
-
// bazel-out/
|
|
47952
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
47993
47953
|
var CompilationTicketKind;
|
|
47994
47954
|
(function(CompilationTicketKind2) {
|
|
47995
47955
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -48284,7 +48244,8 @@ var NgCompiler = class {
|
|
|
48284
48244
|
if (!entryPointSourceFile) {
|
|
48285
48245
|
throw new Error(`Entry point "${entryPoint}" not found in program sources.`);
|
|
48286
48246
|
}
|
|
48287
|
-
|
|
48247
|
+
const rootDir = this.inputProgram.getCurrentDirectory();
|
|
48248
|
+
return docsExtractor.extractAll(entryPointSourceFile, rootDir);
|
|
48288
48249
|
}
|
|
48289
48250
|
xi18n(ctx) {
|
|
48290
48251
|
const compilation = this.ensureAnalyzed();
|
|
@@ -48649,7 +48610,7 @@ One of the following actions is required:
|
|
|
48649
48610
|
2. Remove "strictTemplates" or set it to 'false'.
|
|
48650
48611
|
|
|
48651
48612
|
More information about the template type checking compiler options can be found in the documentation:
|
|
48652
|
-
https://angular.
|
|
48613
|
+
https://angular.dev/tools/cli/template-typecheck
|
|
48653
48614
|
`.trim()
|
|
48654
48615
|
});
|
|
48655
48616
|
}
|
|
@@ -48765,7 +48726,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
48765
48726
|
return versions;
|
|
48766
48727
|
}
|
|
48767
48728
|
|
|
48768
|
-
// bazel-out/
|
|
48729
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
48769
48730
|
var import_typescript121 = __toESM(require("typescript"), 1);
|
|
48770
48731
|
var DelegatingCompilerHost2 = class {
|
|
48771
48732
|
get jsDocParsingMode() {
|
|
@@ -48904,7 +48865,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
48904
48865
|
}
|
|
48905
48866
|
};
|
|
48906
48867
|
|
|
48907
|
-
// bazel-out/
|
|
48868
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
48908
48869
|
var NgtscProgram = class {
|
|
48909
48870
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
48910
48871
|
this.options = options;
|
|
@@ -49131,18 +49092,18 @@ function mergeEmitResults(emitResults) {
|
|
|
49131
49092
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
49132
49093
|
}
|
|
49133
49094
|
|
|
49134
|
-
// bazel-out/
|
|
49095
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
49135
49096
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
49136
49097
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
49137
49098
|
}
|
|
49138
49099
|
|
|
49139
|
-
// bazel-out/
|
|
49100
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
49140
49101
|
var import_typescript125 = __toESM(require("typescript"), 1);
|
|
49141
49102
|
|
|
49142
|
-
// bazel-out/
|
|
49103
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
49143
49104
|
var import_typescript124 = __toESM(require("typescript"), 1);
|
|
49144
49105
|
|
|
49145
|
-
// bazel-out/
|
|
49106
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
49146
49107
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
49147
49108
|
ngDevMode: false,
|
|
49148
49109
|
ngI18nClosureMode: false
|
|
@@ -49151,7 +49112,7 @@ var GLOBAL_DEFS_FOR_TERSER_WITH_AOT = __spreadProps(__spreadValues({}, GLOBAL_DE
|
|
|
49151
49112
|
ngJitMode: false
|
|
49152
49113
|
});
|
|
49153
49114
|
|
|
49154
|
-
// bazel-out/
|
|
49115
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
49155
49116
|
var LogLevel;
|
|
49156
49117
|
(function(LogLevel2) {
|
|
49157
49118
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -49160,7 +49121,7 @@ var LogLevel;
|
|
|
49160
49121
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
49161
49122
|
})(LogLevel || (LogLevel = {}));
|
|
49162
49123
|
|
|
49163
|
-
// bazel-out/
|
|
49124
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
49164
49125
|
var RESET = "\x1B[0m";
|
|
49165
49126
|
var RED = "\x1B[31m";
|
|
49166
49127
|
var YELLOW = "\x1B[33m";
|
|
@@ -49169,18 +49130,18 @@ var DEBUG = `${BLUE}Debug:${RESET}`;
|
|
|
49169
49130
|
var WARN = `${YELLOW}Warning:${RESET}`;
|
|
49170
49131
|
var ERROR = `${RED}Error:${RESET}`;
|
|
49171
49132
|
|
|
49172
|
-
// bazel-out/
|
|
49133
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
49173
49134
|
setFileSystem(new NodeJSFileSystem());
|
|
49174
49135
|
|
|
49175
|
-
// bazel-out/
|
|
49136
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
49176
49137
|
var import_fs2 = require("fs");
|
|
49177
49138
|
var import_path8 = require("path");
|
|
49178
49139
|
var import_typescript138 = __toESM(require("typescript"), 1);
|
|
49179
49140
|
|
|
49180
|
-
// bazel-out/
|
|
49141
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
49181
49142
|
var import_typescript127 = __toESM(require("typescript"), 1);
|
|
49182
49143
|
|
|
49183
|
-
// bazel-out/
|
|
49144
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
|
|
49184
49145
|
var import_path4 = require("path");
|
|
49185
49146
|
var import_typescript126 = __toESM(require("typescript"), 1);
|
|
49186
49147
|
var ImportManager2 = class {
|
|
@@ -49364,7 +49325,7 @@ ${text2}`;
|
|
|
49364
49325
|
}
|
|
49365
49326
|
};
|
|
49366
49327
|
|
|
49367
|
-
// bazel-out/
|
|
49328
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
49368
49329
|
var ChangeTracker = class {
|
|
49369
49330
|
constructor(_printer, _importRemapper) {
|
|
49370
49331
|
__publicField(this, "_printer");
|
|
@@ -49423,7 +49384,7 @@ function normalizePath(path4) {
|
|
|
49423
49384
|
return path4.replace(/\\/g, "/");
|
|
49424
49385
|
}
|
|
49425
49386
|
|
|
49426
|
-
// bazel-out/
|
|
49387
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
49427
49388
|
var import_core19 = require("@angular-devkit/core");
|
|
49428
49389
|
function getProjectTsConfigPaths(tree) {
|
|
49429
49390
|
return __async(this, null, function* () {
|
|
@@ -49503,11 +49464,11 @@ function getWorkspace(tree) {
|
|
|
49503
49464
|
});
|
|
49504
49465
|
}
|
|
49505
49466
|
|
|
49506
|
-
// bazel-out/
|
|
49467
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
49507
49468
|
var import_path5 = require("path");
|
|
49508
49469
|
var import_typescript129 = __toESM(require("typescript"), 1);
|
|
49509
49470
|
|
|
49510
|
-
// bazel-out/
|
|
49471
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
49511
49472
|
var path3 = __toESM(require("path"), 1);
|
|
49512
49473
|
var import_typescript128 = __toESM(require("typescript"), 1);
|
|
49513
49474
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -49524,7 +49485,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
49524
49485
|
return import_typescript128.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
49525
49486
|
}
|
|
49526
49487
|
|
|
49527
|
-
// bazel-out/
|
|
49488
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
49528
49489
|
function createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles, optionOverrides) {
|
|
49529
49490
|
tsconfigPath = (0, import_path5.resolve)(basePath, tsconfigPath);
|
|
49530
49491
|
const parsed = parseTsconfigFile(tsconfigPath, (0, import_path5.dirname)(tsconfigPath));
|
|
@@ -49553,13 +49514,13 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
49553
49514
|
return !(0, import_path5.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
49554
49515
|
}
|
|
49555
49516
|
|
|
49556
|
-
// bazel-out/
|
|
49517
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
49557
49518
|
var import_typescript134 = __toESM(require("typescript"), 1);
|
|
49558
49519
|
|
|
49559
|
-
// bazel-out/
|
|
49520
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
49560
49521
|
var import_typescript131 = __toESM(require("typescript"), 1);
|
|
49561
49522
|
|
|
49562
|
-
// bazel-out/
|
|
49523
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
|
|
49563
49524
|
var import_typescript130 = __toESM(require("typescript"), 1);
|
|
49564
49525
|
function getImportOfIdentifier(typeChecker, node) {
|
|
49565
49526
|
const symbol = typeChecker.getSymbolAtLocation(node);
|
|
@@ -49610,7 +49571,7 @@ function findImportSpecifier(nodes, specifierName) {
|
|
|
49610
49571
|
});
|
|
49611
49572
|
}
|
|
49612
49573
|
|
|
49613
|
-
// bazel-out/
|
|
49574
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
49614
49575
|
function getCallDecoratorImport(typeChecker, decorator) {
|
|
49615
49576
|
if (!import_typescript131.default.isCallExpression(decorator.expression) || !import_typescript131.default.isIdentifier(decorator.expression.expression)) {
|
|
49616
49577
|
return null;
|
|
@@ -49619,7 +49580,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
|
|
|
49619
49580
|
return getImportOfIdentifier(typeChecker, identifier);
|
|
49620
49581
|
}
|
|
49621
49582
|
|
|
49622
|
-
// bazel-out/
|
|
49583
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
|
|
49623
49584
|
function getAngularDecorators2(typeChecker, decorators) {
|
|
49624
49585
|
return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
|
|
49625
49586
|
node,
|
|
@@ -49629,7 +49590,7 @@ function getAngularDecorators2(typeChecker, decorators) {
|
|
|
49629
49590
|
}));
|
|
49630
49591
|
}
|
|
49631
49592
|
|
|
49632
|
-
// bazel-out/
|
|
49593
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
|
|
49633
49594
|
var import_typescript132 = __toESM(require("typescript"), 1);
|
|
49634
49595
|
function closestNode(node, predicate) {
|
|
49635
49596
|
let current = node.parent;
|
|
@@ -49642,7 +49603,7 @@ function closestNode(node, predicate) {
|
|
|
49642
49603
|
return null;
|
|
49643
49604
|
}
|
|
49644
49605
|
|
|
49645
|
-
// bazel-out/
|
|
49606
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
|
|
49646
49607
|
var import_path6 = require("path");
|
|
49647
49608
|
var import_typescript133 = __toESM(require("typescript"), 1);
|
|
49648
49609
|
var UniqueItemTracker = class {
|
|
@@ -49818,7 +49779,7 @@ function isClassReferenceInAngularModule(node, className, moduleName, typeChecke
|
|
|
49818
49779
|
}));
|
|
49819
49780
|
}
|
|
49820
49781
|
|
|
49821
|
-
// bazel-out/
|
|
49782
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
49822
49783
|
function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles) {
|
|
49823
49784
|
const filesToRemove = /* @__PURE__ */ new Set();
|
|
49824
49785
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
@@ -50017,14 +49978,14 @@ function findNgModuleDecorator(node, typeChecker) {
|
|
|
50017
49978
|
return decorators.find((decorator) => decorator.name === "NgModule") || null;
|
|
50018
49979
|
}
|
|
50019
49980
|
|
|
50020
|
-
// bazel-out/
|
|
49981
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
50021
49982
|
var import_path7 = require("path");
|
|
50022
49983
|
var import_typescript137 = __toESM(require("typescript"), 1);
|
|
50023
49984
|
|
|
50024
|
-
// bazel-out/
|
|
49985
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
50025
49986
|
var import_typescript136 = __toESM(require("typescript"), 1);
|
|
50026
49987
|
|
|
50027
|
-
// bazel-out/
|
|
49988
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
|
|
50028
49989
|
var import_typescript135 = __toESM(require("typescript"), 1);
|
|
50029
49990
|
function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
50030
49991
|
var _a2, _b2;
|
|
@@ -50033,7 +49994,7 @@ function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
|
50033
49994
|
return !!(((_a2 = nodeSymbol == null ? void 0 : nodeSymbol.declarations) == null ? void 0 : _a2[0]) && ((_b2 = importSymbol == null ? void 0 : importSymbol.declarations) == null ? void 0 : _b2[0])) && nodeSymbol.declarations[0] === importSymbol.declarations[0];
|
|
50034
49995
|
}
|
|
50035
49996
|
|
|
50036
|
-
// bazel-out/
|
|
49997
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
50037
49998
|
function toStandalone(sourceFiles, program, printer, fileImportRemapper, componentImportRemapper) {
|
|
50038
49999
|
const templateTypeChecker = program.compiler.getTemplateTypeChecker();
|
|
50039
50000
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -50401,7 +50362,7 @@ function isStandaloneDeclaration(node, declarationsInMigration, templateTypeChec
|
|
|
50401
50362
|
return metadata != null && metadata.isStandalone;
|
|
50402
50363
|
}
|
|
50403
50364
|
|
|
50404
|
-
// bazel-out/
|
|
50365
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
50405
50366
|
function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles, componentImportRemapper) {
|
|
50406
50367
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
50407
50368
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -50778,7 +50739,7 @@ function hasImport(program, rootFileNames, moduleName) {
|
|
|
50778
50739
|
return false;
|
|
50779
50740
|
}
|
|
50780
50741
|
|
|
50781
|
-
// bazel-out/
|
|
50742
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
50782
50743
|
var MigrationMode;
|
|
50783
50744
|
(function(MigrationMode2) {
|
|
50784
50745
|
MigrationMode2["toStandalone"] = "convert-to-standalone";
|
|
@@ -50803,7 +50764,7 @@ function standalone_migration_default(options) {
|
|
|
50803
50764
|
}
|
|
50804
50765
|
context.logger.info("\u{1F389} Automated migration step has finished! \u{1F389}");
|
|
50805
50766
|
context.logger.info("IMPORTANT! Please verify manually that your application builds and behaves as expected.");
|
|
50806
|
-
context.logger.info(`See https://angular.
|
|
50767
|
+
context.logger.info(`See https://angular.dev/reference/migrations/standalone for more information.`);
|
|
50807
50768
|
});
|
|
50808
50769
|
}
|
|
50809
50770
|
function standaloneMigration(tree, tsconfigPath, basePath, pathToMigrate, schematicOptions, oldProgram) {
|