@angular/core 17.1.0-next.1 → 17.1.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/src/application_init.mjs +2 -2
- package/esm2022/src/render3/features/host_directives_feature.mjs +20 -13
- package/esm2022/src/render3/instructions/change_detection.mjs +3 -4
- package/esm2022/src/render3/util/view_utils.mjs +11 -12
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/esm2022/testing/src/test_bed.mjs +3 -3
- package/esm2022/testing/src/test_bed_compiler.mjs +19 -10
- package/fesm2022/core.mjs +32 -27
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +21 -12
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +3 -3
- package/package.json +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/block-template-entities/bundle.js +360 -353
- package/schematics/migrations/block-template-entities/bundle.js.map +4 -4
- package/schematics/migrations/compiler-options/bundle.js +13 -13
- package/schematics/migrations/transfer-state/bundle.js +13 -13
- package/schematics/ng-generate/control-flow-migration/bundle.js +563 -433
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +4 -4
- package/schematics/ng-generate/standalone-migration/bundle.js +735 -628
- package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
- package/testing/index.d.ts +1 -1
|
@@ -63,7 +63,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
63
63
|
});
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
-
// bazel-out/
|
|
66
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
67
67
|
var standalone_migration_exports = {};
|
|
68
68
|
__export(standalone_migration_exports, {
|
|
69
69
|
default: () => standalone_migration_default
|
|
@@ -71,10 +71,10 @@ __export(standalone_migration_exports, {
|
|
|
71
71
|
module.exports = __toCommonJS(standalone_migration_exports);
|
|
72
72
|
var import_schematics = require("@angular-devkit/schematics");
|
|
73
73
|
|
|
74
|
-
// bazel-out/
|
|
74
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
75
75
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
76
76
|
|
|
77
|
-
// bazel-out/
|
|
77
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
78
78
|
var InvalidFileSystem = class {
|
|
79
79
|
exists(path4) {
|
|
80
80
|
throw makeError();
|
|
@@ -162,7 +162,7 @@ function makeError() {
|
|
|
162
162
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
// bazel-out/
|
|
165
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
166
166
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
167
167
|
function stripExtension(path4) {
|
|
168
168
|
return path4.replace(TS_DTS_JS_EXTENSION, "");
|
|
@@ -175,7 +175,7 @@ function getSourceFileOrError(program, fileName) {
|
|
|
175
175
|
return sf;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
// bazel-out/
|
|
178
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
179
179
|
var fs = new InvalidFileSystem();
|
|
180
180
|
function getFileSystem() {
|
|
181
181
|
return fs;
|
|
@@ -219,7 +219,7 @@ function toRelativeImport(relativePath) {
|
|
|
219
219
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
// bazel-out/
|
|
222
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
223
223
|
var LogicalProjectPath = {
|
|
224
224
|
relativePathBetween: function(from, to) {
|
|
225
225
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -265,7 +265,7 @@ function isWithinBasePath(base, path4) {
|
|
|
265
265
|
return isLocalRelativePath(relative(base, path4));
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
// bazel-out/
|
|
268
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
269
269
|
var import_fs = __toESM(require("fs"), 1);
|
|
270
270
|
var import_module = __toESM(require("module"), 1);
|
|
271
271
|
var p = __toESM(require("path"), 1);
|
|
@@ -373,7 +373,7 @@ function toggleCase(str) {
|
|
|
373
373
|
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
374
374
|
}
|
|
375
375
|
|
|
376
|
-
// bazel-out/
|
|
376
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/selector.mjs
|
|
377
377
|
var _SELECTOR_REGEXP = new RegExp(
|
|
378
378
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
379
379
|
"g"
|
|
@@ -681,7 +681,7 @@ var SelectorContext = class {
|
|
|
681
681
|
}
|
|
682
682
|
};
|
|
683
683
|
|
|
684
|
-
// bazel-out/
|
|
684
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/core.mjs
|
|
685
685
|
var emitDistinctChangesOnlyDefaultValue = true;
|
|
686
686
|
var ViewEncapsulation;
|
|
687
687
|
(function(ViewEncapsulation2) {
|
|
@@ -744,7 +744,7 @@ function parseSelectorToR3Selector(selector) {
|
|
|
744
744
|
return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
|
|
745
745
|
}
|
|
746
746
|
|
|
747
|
-
// bazel-out/
|
|
747
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
748
748
|
var output_ast_exports = {};
|
|
749
749
|
__export(output_ast_exports, {
|
|
750
750
|
ArrayType: () => ArrayType,
|
|
@@ -832,7 +832,7 @@ __export(output_ast_exports, {
|
|
|
832
832
|
variable: () => variable
|
|
833
833
|
});
|
|
834
834
|
|
|
835
|
-
// bazel-out/
|
|
835
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
|
|
836
836
|
var textEncoder;
|
|
837
837
|
function digest(message) {
|
|
838
838
|
return message.id || computeDigest(message);
|
|
@@ -1075,7 +1075,7 @@ function wordAt(bytes, index, endian) {
|
|
|
1075
1075
|
return word;
|
|
1076
1076
|
}
|
|
1077
1077
|
|
|
1078
|
-
// bazel-out/
|
|
1078
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
1079
1079
|
var TypeModifier;
|
|
1080
1080
|
(function(TypeModifier2) {
|
|
1081
1081
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -2266,7 +2266,7 @@ function serializeTags(tags) {
|
|
|
2266
2266
|
return out;
|
|
2267
2267
|
}
|
|
2268
2268
|
|
|
2269
|
-
// bazel-out/
|
|
2269
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
2270
2270
|
var CONSTANT_PREFIX = "_c";
|
|
2271
2271
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
2272
2272
|
var KEY_CONTEXT = {};
|
|
@@ -2449,7 +2449,7 @@ function isLongStringLiteral(expr) {
|
|
|
2449
2449
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
2450
2450
|
}
|
|
2451
2451
|
|
|
2452
|
-
// bazel-out/
|
|
2452
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
2453
2453
|
var CORE = "@angular/core";
|
|
2454
2454
|
var _Identifiers = class {
|
|
2455
2455
|
};
|
|
@@ -3082,7 +3082,7 @@ var Identifiers = _Identifiers;
|
|
|
3082
3082
|
_Identifiers.validateIframeAttribute = { name: "\u0275\u0275validateIframeAttribute", moduleName: CORE };
|
|
3083
3083
|
})();
|
|
3084
3084
|
|
|
3085
|
-
// bazel-out/
|
|
3085
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/util.mjs
|
|
3086
3086
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
3087
3087
|
function dashCaseToCamelCase(input) {
|
|
3088
3088
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -3170,7 +3170,7 @@ function partitionArray(arr, conditionFn) {
|
|
|
3170
3170
|
return [truthy, falsy];
|
|
3171
3171
|
}
|
|
3172
3172
|
|
|
3173
|
-
// bazel-out/
|
|
3173
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
3174
3174
|
var VERSION = 3;
|
|
3175
3175
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
3176
3176
|
var SourceMapGenerator = class {
|
|
@@ -3299,7 +3299,7 @@ function toBase64Digit(value) {
|
|
|
3299
3299
|
return B64_DIGITS[value];
|
|
3300
3300
|
}
|
|
3301
3301
|
|
|
3302
|
-
// bazel-out/
|
|
3302
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
3303
3303
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
3304
3304
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
3305
3305
|
var _INDENT_WITH = " ";
|
|
@@ -3784,7 +3784,7 @@ function _createIndent(count) {
|
|
|
3784
3784
|
return res;
|
|
3785
3785
|
}
|
|
3786
3786
|
|
|
3787
|
-
// bazel-out/
|
|
3787
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
3788
3788
|
function typeWithParameters(type, numParams) {
|
|
3789
3789
|
if (numParams === 0) {
|
|
3790
3790
|
return expressionType(type);
|
|
@@ -3852,7 +3852,7 @@ function generateForwardRef(expr) {
|
|
|
3852
3852
|
return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
|
|
3853
3853
|
}
|
|
3854
3854
|
|
|
3855
|
-
// bazel-out/
|
|
3855
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
3856
3856
|
var R3FactoryDelegateType;
|
|
3857
3857
|
(function(R3FactoryDelegateType2) {
|
|
3858
3858
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -3997,7 +3997,40 @@ function getInjectFn(target) {
|
|
|
3997
3997
|
}
|
|
3998
3998
|
}
|
|
3999
3999
|
|
|
4000
|
-
// bazel-out/
|
|
4000
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
4001
|
+
var TagContentType;
|
|
4002
|
+
(function(TagContentType2) {
|
|
4003
|
+
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
4004
|
+
TagContentType2[TagContentType2["ESCAPABLE_RAW_TEXT"] = 1] = "ESCAPABLE_RAW_TEXT";
|
|
4005
|
+
TagContentType2[TagContentType2["PARSABLE_DATA"] = 2] = "PARSABLE_DATA";
|
|
4006
|
+
})(TagContentType || (TagContentType = {}));
|
|
4007
|
+
function splitNsName(elementName) {
|
|
4008
|
+
if (elementName[0] != ":") {
|
|
4009
|
+
return [null, elementName];
|
|
4010
|
+
}
|
|
4011
|
+
const colonIndex = elementName.indexOf(":", 1);
|
|
4012
|
+
if (colonIndex === -1) {
|
|
4013
|
+
throw new Error(`Unsupported format "${elementName}" expecting ":namespace:name"`);
|
|
4014
|
+
}
|
|
4015
|
+
return [elementName.slice(1, colonIndex), elementName.slice(colonIndex + 1)];
|
|
4016
|
+
}
|
|
4017
|
+
function isNgContainer(tagName) {
|
|
4018
|
+
return splitNsName(tagName)[1] === "ng-container";
|
|
4019
|
+
}
|
|
4020
|
+
function isNgContent(tagName) {
|
|
4021
|
+
return splitNsName(tagName)[1] === "ng-content";
|
|
4022
|
+
}
|
|
4023
|
+
function isNgTemplate(tagName) {
|
|
4024
|
+
return splitNsName(tagName)[1] === "ng-template";
|
|
4025
|
+
}
|
|
4026
|
+
function getNsPrefix(fullName) {
|
|
4027
|
+
return fullName === null ? null : splitNsName(fullName)[0];
|
|
4028
|
+
}
|
|
4029
|
+
function mergeNsAndName(prefix, localName) {
|
|
4030
|
+
return prefix ? `:${prefix}:${localName}` : localName;
|
|
4031
|
+
}
|
|
4032
|
+
|
|
4033
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
4001
4034
|
var Comment = class {
|
|
4002
4035
|
constructor(value, sourceSpan) {
|
|
4003
4036
|
this.value = value;
|
|
@@ -4451,7 +4484,7 @@ function visitAll(visitor, nodes) {
|
|
|
4451
4484
|
return result;
|
|
4452
4485
|
}
|
|
4453
4486
|
|
|
4454
|
-
// bazel-out/
|
|
4487
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
4455
4488
|
var Message = class {
|
|
4456
4489
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
4457
4490
|
this.nodes = nodes;
|
|
@@ -4640,7 +4673,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
4640
4673
|
}
|
|
4641
4674
|
};
|
|
4642
4675
|
|
|
4643
|
-
// bazel-out/
|
|
4676
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
|
|
4644
4677
|
var Serializer = class {
|
|
4645
4678
|
createNameMapper(message) {
|
|
4646
4679
|
return null;
|
|
@@ -4697,7 +4730,7 @@ var SimplePlaceholderMapper = class extends RecurseVisitor {
|
|
|
4697
4730
|
}
|
|
4698
4731
|
};
|
|
4699
4732
|
|
|
4700
|
-
// bazel-out/
|
|
4733
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
4701
4734
|
var _Visitor = class {
|
|
4702
4735
|
visitTag(tag) {
|
|
4703
4736
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -4785,7 +4818,7 @@ function escapeXml(text2) {
|
|
|
4785
4818
|
return _ESCAPED_CHARS.reduce((text3, entry) => text3.replace(entry[0], entry[1]), text2);
|
|
4786
4819
|
}
|
|
4787
4820
|
|
|
4788
|
-
// bazel-out/
|
|
4821
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
4789
4822
|
var _MESSAGES_TAG = "messagebundle";
|
|
4790
4823
|
var _MESSAGE_TAG = "msg";
|
|
4791
4824
|
var _PLACEHOLDER_TAG = "ph";
|
|
@@ -4937,7 +4970,7 @@ function toPublicName(internalName) {
|
|
|
4937
4970
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
4938
4971
|
}
|
|
4939
4972
|
|
|
4940
|
-
// bazel-out/
|
|
4973
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
4941
4974
|
var CLOSURE_TRANSLATION_VAR_PREFIX = "MSG_";
|
|
4942
4975
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
4943
4976
|
var I18N_ATTR = "i18n";
|
|
@@ -5039,7 +5072,7 @@ function declareI18nVariable(variable2) {
|
|
|
5039
5072
|
return new DeclareVarStmt(variable2.name, void 0, INFERRED_TYPE, void 0, variable2.sourceSpan);
|
|
5040
5073
|
}
|
|
5041
5074
|
|
|
5042
|
-
// bazel-out/
|
|
5075
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
5043
5076
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
5044
5077
|
var TEMPORARY_NAME = "_t";
|
|
5045
5078
|
var CONTEXT_NAME = "ctx";
|
|
@@ -5206,6 +5239,23 @@ var DefinitionMap = class {
|
|
|
5206
5239
|
return literalMap(this.values);
|
|
5207
5240
|
}
|
|
5208
5241
|
};
|
|
5242
|
+
function createCssSelectorFromNode(node) {
|
|
5243
|
+
const elementName = node instanceof Element ? node.name : "ng-template";
|
|
5244
|
+
const attributes = getAttrsForDirectiveMatching(node);
|
|
5245
|
+
const cssSelector = new CssSelector();
|
|
5246
|
+
const elementNameNoNs = splitNsName(elementName)[1];
|
|
5247
|
+
cssSelector.setElement(elementNameNoNs);
|
|
5248
|
+
Object.getOwnPropertyNames(attributes).forEach((name) => {
|
|
5249
|
+
const nameNoNs = splitNsName(name)[1];
|
|
5250
|
+
const value = attributes[name];
|
|
5251
|
+
cssSelector.addAttribute(nameNoNs, value);
|
|
5252
|
+
if (name.toLowerCase() === "class") {
|
|
5253
|
+
const classes = value.trim().split(/\s+/);
|
|
5254
|
+
classes.forEach((className) => cssSelector.addClassName(className));
|
|
5255
|
+
}
|
|
5256
|
+
});
|
|
5257
|
+
return cssSelector;
|
|
5258
|
+
}
|
|
5209
5259
|
function getAttrsForDirectiveMatching(elOrTpl) {
|
|
5210
5260
|
const attributesMap = {};
|
|
5211
5261
|
if (elOrTpl instanceof Template && elOrTpl.tagName !== "ng-template") {
|
|
@@ -5262,7 +5312,7 @@ function getInstructionStatements(instructions) {
|
|
|
5262
5312
|
return statements;
|
|
5263
5313
|
}
|
|
5264
5314
|
|
|
5265
|
-
// bazel-out/
|
|
5315
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
5266
5316
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
5267
5317
|
let result = null;
|
|
5268
5318
|
const factoryMeta = {
|
|
@@ -5347,7 +5397,7 @@ function createFactoryFunction(type) {
|
|
|
5347
5397
|
return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
|
|
5348
5398
|
}
|
|
5349
5399
|
|
|
5350
|
-
// bazel-out/
|
|
5400
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
5351
5401
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
5352
5402
|
/^\s*$/,
|
|
5353
5403
|
/[<>]/,
|
|
@@ -5369,7 +5419,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
5369
5419
|
}
|
|
5370
5420
|
}
|
|
5371
5421
|
|
|
5372
|
-
// bazel-out/
|
|
5422
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
|
|
5373
5423
|
var InterpolationConfig = class {
|
|
5374
5424
|
static fromArray(markers) {
|
|
5375
5425
|
if (!markers) {
|
|
@@ -5386,7 +5436,7 @@ var InterpolationConfig = class {
|
|
|
5386
5436
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
5387
5437
|
var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
|
|
5388
5438
|
|
|
5389
|
-
// bazel-out/
|
|
5439
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
5390
5440
|
var $EOF = 0;
|
|
5391
5441
|
var $BSPACE = 8;
|
|
5392
5442
|
var $TAB = 9;
|
|
@@ -5468,7 +5518,7 @@ function isQuote(code) {
|
|
|
5468
5518
|
return code === $SQ || code === $DQ || code === $BT;
|
|
5469
5519
|
}
|
|
5470
5520
|
|
|
5471
|
-
// bazel-out/
|
|
5521
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
5472
5522
|
var ParseLocation = class {
|
|
5473
5523
|
constructor(file, offset, line, col) {
|
|
5474
5524
|
this.file = file;
|
|
@@ -5615,7 +5665,7 @@ function sanitizeIdentifier(name) {
|
|
|
5615
5665
|
return name.replace(/\W/g, "_");
|
|
5616
5666
|
}
|
|
5617
5667
|
|
|
5618
|
-
// bazel-out/
|
|
5668
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
5619
5669
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
5620
5670
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
5621
5671
|
constructor() {
|
|
@@ -5708,7 +5758,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
5708
5758
|
}
|
|
5709
5759
|
};
|
|
5710
5760
|
|
|
5711
|
-
// bazel-out/
|
|
5761
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
5712
5762
|
var policy;
|
|
5713
5763
|
function getPolicy() {
|
|
5714
5764
|
if (policy === void 0) {
|
|
@@ -5746,7 +5796,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
5746
5796
|
return fn2.bind(_global);
|
|
5747
5797
|
}
|
|
5748
5798
|
|
|
5749
|
-
// bazel-out/
|
|
5799
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
5750
5800
|
var JitEvaluator = class {
|
|
5751
5801
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
5752
5802
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -5837,7 +5887,7 @@ function isUseStrictStatement(statement) {
|
|
|
5837
5887
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
5838
5888
|
}
|
|
5839
5889
|
|
|
5840
|
-
// bazel-out/
|
|
5890
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
5841
5891
|
function compileInjector(meta) {
|
|
5842
5892
|
const definitionMap = new DefinitionMap();
|
|
5843
5893
|
if (meta.providers !== null) {
|
|
@@ -5854,7 +5904,7 @@ function createInjectorType(meta) {
|
|
|
5854
5904
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
5855
5905
|
}
|
|
5856
5906
|
|
|
5857
|
-
// bazel-out/
|
|
5907
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
5858
5908
|
var R3JitReflector = class {
|
|
5859
5909
|
constructor(context) {
|
|
5860
5910
|
this.context = context;
|
|
@@ -5870,7 +5920,7 @@ var R3JitReflector = class {
|
|
|
5870
5920
|
}
|
|
5871
5921
|
};
|
|
5872
5922
|
|
|
5873
|
-
// bazel-out/
|
|
5923
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
5874
5924
|
var R3SelectorScopeMode;
|
|
5875
5925
|
(function(R3SelectorScopeMode2) {
|
|
5876
5926
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -6011,7 +6061,7 @@ function tupleOfTypes(types) {
|
|
|
6011
6061
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
6012
6062
|
}
|
|
6013
6063
|
|
|
6014
|
-
// bazel-out/
|
|
6064
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
6015
6065
|
function compilePipeFromMetadata(metadata) {
|
|
6016
6066
|
const definitionMapValues = [];
|
|
6017
6067
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -6032,7 +6082,7 @@ function createPipeType(metadata) {
|
|
|
6032
6082
|
]));
|
|
6033
6083
|
}
|
|
6034
6084
|
|
|
6035
|
-
// bazel-out/
|
|
6085
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
6036
6086
|
var R3TemplateDependencyKind;
|
|
6037
6087
|
(function(R3TemplateDependencyKind2) {
|
|
6038
6088
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -6040,7 +6090,7 @@ var R3TemplateDependencyKind;
|
|
|
6040
6090
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
6041
6091
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
6042
6092
|
|
|
6043
|
-
// bazel-out/
|
|
6093
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
6044
6094
|
var ParserError = class {
|
|
6045
6095
|
constructor(message, input, errLocation, ctxLocation) {
|
|
6046
6096
|
this.input = input;
|
|
@@ -6706,7 +6756,7 @@ var BoundElementProperty = class {
|
|
|
6706
6756
|
}
|
|
6707
6757
|
};
|
|
6708
6758
|
|
|
6709
|
-
// bazel-out/
|
|
6759
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
|
|
6710
6760
|
var _EventHandlerVars = class {
|
|
6711
6761
|
};
|
|
6712
6762
|
var EventHandlerVars = _EventHandlerVars;
|
|
@@ -7347,7 +7397,7 @@ var BuiltinFunctionCall = class extends Call {
|
|
|
7347
7397
|
}
|
|
7348
7398
|
};
|
|
7349
7399
|
|
|
7350
|
-
// bazel-out/
|
|
7400
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
7351
7401
|
var _SECURITY_SCHEMA;
|
|
7352
7402
|
function SECURITY_SCHEMA() {
|
|
7353
7403
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -7405,7 +7455,7 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
7405
7455
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
7406
7456
|
}
|
|
7407
7457
|
|
|
7408
|
-
// bazel-out/
|
|
7458
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
7409
7459
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
7410
7460
|
"inherit",
|
|
7411
7461
|
"initial",
|
|
@@ -7876,7 +7926,7 @@ function repeatGroups(groups, multiples) {
|
|
|
7876
7926
|
}
|
|
7877
7927
|
}
|
|
7878
7928
|
|
|
7879
|
-
// bazel-out/
|
|
7929
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
7880
7930
|
var OpKind;
|
|
7881
7931
|
(function(OpKind2) {
|
|
7882
7932
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -8030,8 +8080,13 @@ var DerivedRepeaterVarIdentity;
|
|
|
8030
8080
|
DerivedRepeaterVarIdentity2[DerivedRepeaterVarIdentity2["Even"] = 2] = "Even";
|
|
8031
8081
|
DerivedRepeaterVarIdentity2[DerivedRepeaterVarIdentity2["Odd"] = 3] = "Odd";
|
|
8032
8082
|
})(DerivedRepeaterVarIdentity || (DerivedRepeaterVarIdentity = {}));
|
|
8083
|
+
var I18nContextKind;
|
|
8084
|
+
(function(I18nContextKind2) {
|
|
8085
|
+
I18nContextKind2[I18nContextKind2["RootI18n"] = 0] = "RootI18n";
|
|
8086
|
+
I18nContextKind2[I18nContextKind2["Icu"] = 1] = "Icu";
|
|
8087
|
+
})(I18nContextKind || (I18nContextKind = {}));
|
|
8033
8088
|
|
|
8034
|
-
// bazel-out/
|
|
8089
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
8035
8090
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
8036
8091
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
8037
8092
|
var ConsumesVarsTrait = Symbol("ConsumesVars");
|
|
@@ -8063,7 +8118,7 @@ function hasUsesVarOffsetTrait(expr) {
|
|
|
8063
8118
|
return expr[UsesVarOffset] === true;
|
|
8064
8119
|
}
|
|
8065
8120
|
|
|
8066
|
-
// bazel-out/
|
|
8121
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
8067
8122
|
function createStatementOp(statement) {
|
|
8068
8123
|
return __spreadValues({
|
|
8069
8124
|
kind: OpKind.Statement,
|
|
@@ -8085,7 +8140,7 @@ var NEW_OP = {
|
|
|
8085
8140
|
next: null
|
|
8086
8141
|
};
|
|
8087
8142
|
|
|
8088
|
-
// bazel-out/
|
|
8143
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
8089
8144
|
function createInterpolateTextOp(xref, interpolation, i18nPlaceholders, sourceSpan) {
|
|
8090
8145
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
8091
8146
|
kind: OpKind.InterpolateText,
|
|
@@ -8234,7 +8289,7 @@ function createI18nApplyOp(target, handle, sourceSpan) {
|
|
|
8234
8289
|
}, NEW_OP);
|
|
8235
8290
|
}
|
|
8236
8291
|
|
|
8237
|
-
// bazel-out/
|
|
8292
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
8238
8293
|
var _a;
|
|
8239
8294
|
var _b;
|
|
8240
8295
|
var _c;
|
|
@@ -9085,7 +9140,7 @@ function isStringLiteral(expr) {
|
|
|
9085
9140
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
9086
9141
|
}
|
|
9087
9142
|
|
|
9088
|
-
// bazel-out/
|
|
9143
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
9089
9144
|
var _OpList = class {
|
|
9090
9145
|
constructor() {
|
|
9091
9146
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -9276,14 +9331,14 @@ var OpList = _OpList;
|
|
|
9276
9331
|
_OpList.nextListId = 0;
|
|
9277
9332
|
})();
|
|
9278
9333
|
|
|
9279
|
-
// bazel-out/
|
|
9334
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
9280
9335
|
var SlotHandle = class {
|
|
9281
9336
|
constructor() {
|
|
9282
9337
|
this.slot = null;
|
|
9283
9338
|
}
|
|
9284
9339
|
};
|
|
9285
9340
|
|
|
9286
|
-
// bazel-out/
|
|
9341
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
9287
9342
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
9288
9343
|
OpKind.Element,
|
|
9289
9344
|
OpKind.ElementStart,
|
|
@@ -9515,9 +9570,10 @@ function createIcuEndOp(xref) {
|
|
|
9515
9570
|
xref
|
|
9516
9571
|
}, NEW_OP);
|
|
9517
9572
|
}
|
|
9518
|
-
function createI18nContextOp(xref, i18nBlock, message, sourceSpan) {
|
|
9573
|
+
function createI18nContextOp(contextKind, xref, i18nBlock, message, sourceSpan) {
|
|
9519
9574
|
return __spreadValues({
|
|
9520
9575
|
kind: OpKind.I18nContext,
|
|
9576
|
+
contextKind,
|
|
9521
9577
|
xref,
|
|
9522
9578
|
i18nBlock,
|
|
9523
9579
|
message,
|
|
@@ -9527,7 +9583,7 @@ function createI18nContextOp(xref, i18nBlock, message, sourceSpan) {
|
|
|
9527
9583
|
}, NEW_OP);
|
|
9528
9584
|
}
|
|
9529
9585
|
|
|
9530
|
-
// bazel-out/
|
|
9586
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
9531
9587
|
function createHostPropertyOp(name, expression, isAnimationTrigger, sourceSpan) {
|
|
9532
9588
|
return __spreadValues(__spreadValues({
|
|
9533
9589
|
kind: OpKind.HostProperty,
|
|
@@ -9538,10 +9594,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, sourceSpan)
|
|
|
9538
9594
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
9539
9595
|
}
|
|
9540
9596
|
|
|
9541
|
-
// bazel-out/
|
|
9597
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
9542
9598
|
var CTX_REF = "CTX_REF_MARKER";
|
|
9543
9599
|
|
|
9544
|
-
// bazel-out/
|
|
9600
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
9545
9601
|
var CompilationJobKind;
|
|
9546
9602
|
(function(CompilationJobKind2) {
|
|
9547
9603
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -9648,7 +9704,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
9648
9704
|
}
|
|
9649
9705
|
};
|
|
9650
9706
|
|
|
9651
|
-
// bazel-out/
|
|
9707
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
9652
9708
|
function deleteAnyCasts(job) {
|
|
9653
9709
|
for (const unit of job.units) {
|
|
9654
9710
|
for (const op of unit.ops()) {
|
|
@@ -9666,7 +9722,7 @@ function removeAnys(e) {
|
|
|
9666
9722
|
return e;
|
|
9667
9723
|
}
|
|
9668
9724
|
|
|
9669
|
-
// bazel-out/
|
|
9725
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
9670
9726
|
function applyI18nExpressions(job) {
|
|
9671
9727
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
9672
9728
|
for (const unit of job.units) {
|
|
@@ -9697,10 +9753,9 @@ function needsApplication(i18nContexts, op) {
|
|
|
9697
9753
|
return false;
|
|
9698
9754
|
}
|
|
9699
9755
|
|
|
9700
|
-
// bazel-out/
|
|
9756
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
9701
9757
|
function assignI18nSlotDependencies(job) {
|
|
9702
9758
|
const i18nLastSlotConsumers = /* @__PURE__ */ new Map();
|
|
9703
|
-
const i18nContexts = /* @__PURE__ */ new Map();
|
|
9704
9759
|
let lastSlotConsumer = null;
|
|
9705
9760
|
let currentI18nOp = null;
|
|
9706
9761
|
for (const unit of job.units) {
|
|
@@ -9716,21 +9771,17 @@ function assignI18nSlotDependencies(job) {
|
|
|
9716
9771
|
i18nLastSlotConsumers.set(currentI18nOp.xref, lastSlotConsumer);
|
|
9717
9772
|
currentI18nOp = null;
|
|
9718
9773
|
break;
|
|
9719
|
-
case OpKind.I18nContext:
|
|
9720
|
-
i18nContexts.set(op.xref, op);
|
|
9721
|
-
break;
|
|
9722
9774
|
}
|
|
9723
9775
|
}
|
|
9724
9776
|
for (const op of unit.update) {
|
|
9725
9777
|
if (op.kind === OpKind.I18nExpression) {
|
|
9726
|
-
|
|
9727
|
-
op.target = i18nLastSlotConsumers.get(i18nContext.i18nBlock);
|
|
9778
|
+
op.target = i18nLastSlotConsumers.get(op.target);
|
|
9728
9779
|
}
|
|
9729
9780
|
}
|
|
9730
9781
|
}
|
|
9731
9782
|
}
|
|
9732
9783
|
|
|
9733
|
-
// bazel-out/
|
|
9784
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
9734
9785
|
function createOpXrefMap(unit) {
|
|
9735
9786
|
const map = /* @__PURE__ */ new Map();
|
|
9736
9787
|
for (const op of unit.create) {
|
|
@@ -9742,7 +9793,7 @@ function createOpXrefMap(unit) {
|
|
|
9742
9793
|
return map;
|
|
9743
9794
|
}
|
|
9744
9795
|
|
|
9745
|
-
// bazel-out/
|
|
9796
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
9746
9797
|
function extractAttributes(job) {
|
|
9747
9798
|
for (const unit of job.units) {
|
|
9748
9799
|
const elements = createOpXrefMap(unit);
|
|
@@ -9809,7 +9860,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
9809
9860
|
}
|
|
9810
9861
|
}
|
|
9811
9862
|
|
|
9812
|
-
// bazel-out/
|
|
9863
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
9813
9864
|
function lookupElement2(elements, xref) {
|
|
9814
9865
|
const el = elements.get(xref);
|
|
9815
9866
|
if (el === void 0) {
|
|
@@ -9859,7 +9910,7 @@ function specializeBindings(job) {
|
|
|
9859
9910
|
}
|
|
9860
9911
|
}
|
|
9861
9912
|
|
|
9862
|
-
// bazel-out/
|
|
9913
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
9863
9914
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
9864
9915
|
Identifiers.attribute,
|
|
9865
9916
|
Identifiers.classProp,
|
|
@@ -9925,7 +9976,7 @@ function chainOperationsInList(opList) {
|
|
|
9925
9976
|
}
|
|
9926
9977
|
}
|
|
9927
9978
|
|
|
9928
|
-
// bazel-out/
|
|
9979
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
9929
9980
|
function collapseSingletonInterpolations(job) {
|
|
9930
9981
|
for (const unit of job.units) {
|
|
9931
9982
|
for (const op of unit.update) {
|
|
@@ -9937,7 +9988,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
9937
9988
|
}
|
|
9938
9989
|
}
|
|
9939
9990
|
|
|
9940
|
-
// bazel-out/
|
|
9991
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
9941
9992
|
function generateConditionalExpressions(job) {
|
|
9942
9993
|
for (const unit of job.units) {
|
|
9943
9994
|
for (const op of unit.ops()) {
|
|
@@ -9974,40 +10025,7 @@ function generateConditionalExpressions(job) {
|
|
|
9974
10025
|
}
|
|
9975
10026
|
}
|
|
9976
10027
|
|
|
9977
|
-
// bazel-out/
|
|
9978
|
-
var TagContentType;
|
|
9979
|
-
(function(TagContentType2) {
|
|
9980
|
-
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
9981
|
-
TagContentType2[TagContentType2["ESCAPABLE_RAW_TEXT"] = 1] = "ESCAPABLE_RAW_TEXT";
|
|
9982
|
-
TagContentType2[TagContentType2["PARSABLE_DATA"] = 2] = "PARSABLE_DATA";
|
|
9983
|
-
})(TagContentType || (TagContentType = {}));
|
|
9984
|
-
function splitNsName(elementName) {
|
|
9985
|
-
if (elementName[0] != ":") {
|
|
9986
|
-
return [null, elementName];
|
|
9987
|
-
}
|
|
9988
|
-
const colonIndex = elementName.indexOf(":", 1);
|
|
9989
|
-
if (colonIndex === -1) {
|
|
9990
|
-
throw new Error(`Unsupported format "${elementName}" expecting ":namespace:name"`);
|
|
9991
|
-
}
|
|
9992
|
-
return [elementName.slice(1, colonIndex), elementName.slice(colonIndex + 1)];
|
|
9993
|
-
}
|
|
9994
|
-
function isNgContainer(tagName) {
|
|
9995
|
-
return splitNsName(tagName)[1] === "ng-container";
|
|
9996
|
-
}
|
|
9997
|
-
function isNgContent(tagName) {
|
|
9998
|
-
return splitNsName(tagName)[1] === "ng-content";
|
|
9999
|
-
}
|
|
10000
|
-
function isNgTemplate(tagName) {
|
|
10001
|
-
return splitNsName(tagName)[1] === "ng-template";
|
|
10002
|
-
}
|
|
10003
|
-
function getNsPrefix(fullName) {
|
|
10004
|
-
return fullName === null ? null : splitNsName(fullName)[0];
|
|
10005
|
-
}
|
|
10006
|
-
function mergeNsAndName(prefix, localName) {
|
|
10007
|
-
return prefix ? `:${prefix}:${localName}` : localName;
|
|
10008
|
-
}
|
|
10009
|
-
|
|
10010
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
10028
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
10011
10029
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
10012
10030
|
["&&", BinaryOperator.And],
|
|
10013
10031
|
[">", BinaryOperator.Bigger],
|
|
@@ -10057,7 +10075,7 @@ function literalOrArrayLiteral(value) {
|
|
|
10057
10075
|
return literal(value);
|
|
10058
10076
|
}
|
|
10059
10077
|
|
|
10060
|
-
// bazel-out/
|
|
10078
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
10061
10079
|
function collectElementConsts(job) {
|
|
10062
10080
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
10063
10081
|
for (const unit of job.units) {
|
|
@@ -10191,7 +10209,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
10191
10209
|
return literalArr(attrArray);
|
|
10192
10210
|
}
|
|
10193
10211
|
|
|
10194
|
-
// bazel-out/
|
|
10212
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_defer_deps_fns.mjs
|
|
10195
10213
|
function createDeferDepsFns(job) {
|
|
10196
10214
|
for (const unit of job.units) {
|
|
10197
10215
|
for (const op of unit.create) {
|
|
@@ -10219,18 +10237,22 @@ function createDeferDepsFns(job) {
|
|
|
10219
10237
|
}
|
|
10220
10238
|
}
|
|
10221
10239
|
|
|
10222
|
-
// bazel-out/
|
|
10240
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
10223
10241
|
function createI18nContexts(job) {
|
|
10242
|
+
const rootContexts = /* @__PURE__ */ new Map();
|
|
10224
10243
|
let currentI18nOp = null;
|
|
10225
10244
|
let xref;
|
|
10226
10245
|
for (const unit of job.units) {
|
|
10227
10246
|
for (const op of unit.create) {
|
|
10228
10247
|
switch (op.kind) {
|
|
10229
10248
|
case OpKind.I18nStart:
|
|
10230
|
-
xref = job.allocateXrefId();
|
|
10231
|
-
unit.create.push(createI18nContextOp(xref, op.xref, op.message, null));
|
|
10232
|
-
op.context = xref;
|
|
10233
10249
|
currentI18nOp = op;
|
|
10250
|
+
if (op.xref === op.root) {
|
|
10251
|
+
xref = job.allocateXrefId();
|
|
10252
|
+
unit.create.push(createI18nContextOp(I18nContextKind.RootI18n, xref, op.xref, op.message, null));
|
|
10253
|
+
op.context = xref;
|
|
10254
|
+
rootContexts.set(op.xref, xref);
|
|
10255
|
+
}
|
|
10234
10256
|
break;
|
|
10235
10257
|
case OpKind.I18nEnd:
|
|
10236
10258
|
currentI18nOp = null;
|
|
@@ -10241,7 +10263,7 @@ function createI18nContexts(job) {
|
|
|
10241
10263
|
}
|
|
10242
10264
|
if (op.message.id !== currentI18nOp.message.id) {
|
|
10243
10265
|
xref = job.allocateXrefId();
|
|
10244
|
-
unit.create.push(createI18nContextOp(xref, currentI18nOp.xref, op.message, null));
|
|
10266
|
+
unit.create.push(createI18nContextOp(I18nContextKind.Icu, xref, currentI18nOp.xref, op.message, null));
|
|
10245
10267
|
op.context = xref;
|
|
10246
10268
|
} else {
|
|
10247
10269
|
op.context = currentI18nOp.context;
|
|
@@ -10250,9 +10272,16 @@ function createI18nContexts(job) {
|
|
|
10250
10272
|
}
|
|
10251
10273
|
}
|
|
10252
10274
|
}
|
|
10275
|
+
for (const unit of job.units) {
|
|
10276
|
+
for (const op of unit.create) {
|
|
10277
|
+
if (op.kind === OpKind.I18nStart && op.xref !== op.root) {
|
|
10278
|
+
op.context = rootContexts.get(op.root);
|
|
10279
|
+
}
|
|
10280
|
+
}
|
|
10281
|
+
}
|
|
10253
10282
|
}
|
|
10254
10283
|
|
|
10255
|
-
// bazel-out/
|
|
10284
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
10256
10285
|
function configureDeferInstructions(job) {
|
|
10257
10286
|
for (const unit of job.units) {
|
|
10258
10287
|
for (const op of unit.create) {
|
|
@@ -10269,7 +10298,7 @@ function configureDeferInstructions(job) {
|
|
|
10269
10298
|
}
|
|
10270
10299
|
}
|
|
10271
10300
|
|
|
10272
|
-
// bazel-out/
|
|
10301
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
10273
10302
|
function resolveDeferTargetNames(job) {
|
|
10274
10303
|
const scopes = /* @__PURE__ */ new Map();
|
|
10275
10304
|
function getScopeForView2(view) {
|
|
@@ -10363,7 +10392,7 @@ var Scope = class {
|
|
|
10363
10392
|
}
|
|
10364
10393
|
};
|
|
10365
10394
|
|
|
10366
|
-
// bazel-out/
|
|
10395
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
10367
10396
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
10368
10397
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
10369
10398
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -10390,7 +10419,7 @@ function collapseEmptyInstructions(job) {
|
|
|
10390
10419
|
}
|
|
10391
10420
|
}
|
|
10392
10421
|
|
|
10393
|
-
// bazel-out/
|
|
10422
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
10394
10423
|
function expandSafeReads(job) {
|
|
10395
10424
|
for (const unit of job.units) {
|
|
10396
10425
|
for (const op of unit.ops()) {
|
|
@@ -10526,7 +10555,7 @@ function ternaryTransform(e) {
|
|
|
10526
10555
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
10527
10556
|
}
|
|
10528
10557
|
|
|
10529
|
-
// bazel-out/
|
|
10558
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
10530
10559
|
var ESCAPE = "\uFFFD";
|
|
10531
10560
|
var ELEMENT_MARKER = "#";
|
|
10532
10561
|
var TEMPLATE_MARKER = "*";
|
|
@@ -10537,7 +10566,7 @@ var LIST_END_MARKER = "]";
|
|
|
10537
10566
|
var LIST_DELIMITER = "|";
|
|
10538
10567
|
function extractI18nMessages(job) {
|
|
10539
10568
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
10540
|
-
const
|
|
10569
|
+
const i18nBlocks = /* @__PURE__ */ new Map();
|
|
10541
10570
|
for (const unit of job.units) {
|
|
10542
10571
|
for (const op of unit.create) {
|
|
10543
10572
|
switch (op.kind) {
|
|
@@ -10545,7 +10574,7 @@ function extractI18nMessages(job) {
|
|
|
10545
10574
|
i18nContexts.set(op.xref, op);
|
|
10546
10575
|
break;
|
|
10547
10576
|
case OpKind.I18nStart:
|
|
10548
|
-
|
|
10577
|
+
i18nBlocks.set(op.xref, op);
|
|
10549
10578
|
break;
|
|
10550
10579
|
}
|
|
10551
10580
|
}
|
|
@@ -10570,11 +10599,12 @@ function extractI18nMessages(job) {
|
|
|
10570
10599
|
if (!op.context) {
|
|
10571
10600
|
throw Error("ICU op should have its context set.");
|
|
10572
10601
|
}
|
|
10573
|
-
|
|
10574
|
-
|
|
10602
|
+
const i18nContext = i18nContexts.get(op.context);
|
|
10603
|
+
if (i18nContext.contextKind === I18nContextKind.Icu) {
|
|
10575
10604
|
const subMessage = createI18nMessage(job, i18nContext, op.messagePlaceholder);
|
|
10576
10605
|
unit.create.push(subMessage);
|
|
10577
|
-
const
|
|
10606
|
+
const rootI18nId = i18nBlocks.get(i18nContext.i18nBlock).root;
|
|
10607
|
+
const parentMessage = i18nBlockMessages.get(rootI18nId);
|
|
10578
10608
|
parentMessage == null ? void 0 : parentMessage.subMessages.push(subMessage.xref);
|
|
10579
10609
|
}
|
|
10580
10610
|
OpList.remove(op);
|
|
@@ -10587,30 +10617,67 @@ function extractI18nMessages(job) {
|
|
|
10587
10617
|
}
|
|
10588
10618
|
}
|
|
10589
10619
|
function createI18nMessage(job, context, messagePlaceholder) {
|
|
10590
|
-
let needsPostprocessing = context.
|
|
10591
|
-
|
|
10592
|
-
|
|
10593
|
-
|
|
10594
|
-
}
|
|
10595
|
-
}
|
|
10596
|
-
return createI18nMessageOp(job.allocateXrefId(), context.i18nBlock, context.message, messagePlaceholder != null ? messagePlaceholder : null, formatParams(context.params), formatParams(context.postprocessingParams), needsPostprocessing);
|
|
10620
|
+
let [formattedParams, needsPostprocessing] = formatParams(context.params);
|
|
10621
|
+
const [formattedPostprocessingParams] = formatParams(context.postprocessingParams);
|
|
10622
|
+
needsPostprocessing || (needsPostprocessing = formattedPostprocessingParams.size > 0);
|
|
10623
|
+
return createI18nMessageOp(job.allocateXrefId(), context.i18nBlock, context.message, messagePlaceholder != null ? messagePlaceholder : null, formattedParams, formattedPostprocessingParams, needsPostprocessing);
|
|
10597
10624
|
}
|
|
10598
10625
|
function formatParams(params) {
|
|
10599
|
-
const
|
|
10626
|
+
const formattedParams = /* @__PURE__ */ new Map();
|
|
10627
|
+
let needsPostprocessing = false;
|
|
10600
10628
|
for (const [placeholder, placeholderValues] of params) {
|
|
10601
|
-
const serializedValues = formatParamValues(placeholderValues);
|
|
10629
|
+
const [serializedValues, paramNeedsPostprocessing] = formatParamValues(placeholderValues);
|
|
10630
|
+
needsPostprocessing || (needsPostprocessing = paramNeedsPostprocessing);
|
|
10602
10631
|
if (serializedValues !== null) {
|
|
10603
|
-
|
|
10632
|
+
formattedParams.set(placeholder, literal(serializedValues));
|
|
10604
10633
|
}
|
|
10605
10634
|
}
|
|
10606
|
-
return
|
|
10635
|
+
return [formattedParams, needsPostprocessing];
|
|
10607
10636
|
}
|
|
10608
10637
|
function formatParamValues(values) {
|
|
10609
10638
|
if (values.length === 0) {
|
|
10610
|
-
return null;
|
|
10639
|
+
return [null, false];
|
|
10611
10640
|
}
|
|
10641
|
+
collapseElementTemplatePairs(values);
|
|
10612
10642
|
const serializedValues = values.map((value) => formatValue(value));
|
|
10613
|
-
return serializedValues.length === 1 ? serializedValues[0] : `${LIST_START_MARKER}${serializedValues.join(LIST_DELIMITER)}${LIST_END_MARKER}
|
|
10643
|
+
return serializedValues.length === 1 ? [serializedValues[0], false] : [`${LIST_START_MARKER}${serializedValues.join(LIST_DELIMITER)}${LIST_END_MARKER}`, true];
|
|
10644
|
+
}
|
|
10645
|
+
function collapseElementTemplatePairs(values) {
|
|
10646
|
+
var _a2;
|
|
10647
|
+
const valueIndiciesBySubTemplateIndex = /* @__PURE__ */ new Map();
|
|
10648
|
+
for (let i = 0; i < values.length; i++) {
|
|
10649
|
+
const value = values[i];
|
|
10650
|
+
if (value.subTemplateIndex !== null && value.flags & (I18nParamValueFlags.ElementTag | I18nParamValueFlags.TemplateTag)) {
|
|
10651
|
+
const valueIndicies = (_a2 = valueIndiciesBySubTemplateIndex.get(value.subTemplateIndex)) != null ? _a2 : [];
|
|
10652
|
+
valueIndicies.push(i);
|
|
10653
|
+
valueIndiciesBySubTemplateIndex.set(value.subTemplateIndex, valueIndicies);
|
|
10654
|
+
}
|
|
10655
|
+
}
|
|
10656
|
+
for (const [subTemplateIndex, valueIndicies] of valueIndiciesBySubTemplateIndex) {
|
|
10657
|
+
if (valueIndicies.length > 1) {
|
|
10658
|
+
const elementIndex = valueIndicies.find((index) => values[index].flags & I18nParamValueFlags.ElementTag);
|
|
10659
|
+
const templateIndex = valueIndicies.find((index) => values[index].flags & I18nParamValueFlags.TemplateTag);
|
|
10660
|
+
if (elementIndex !== void 0 && templateIndex !== void 0) {
|
|
10661
|
+
const elementValue = values[elementIndex];
|
|
10662
|
+
const templateValue = values[templateIndex];
|
|
10663
|
+
let compundValue;
|
|
10664
|
+
if (elementValue.flags & I18nParamValueFlags.OpenTag && elementValue.flags & I18nParamValueFlags.CloseTag) {
|
|
10665
|
+
compundValue = `${formatValue(templateValue)}${formatValue(elementValue)}${formatValue(templateValue)}`;
|
|
10666
|
+
} else if (elementValue.flags & I18nParamValueFlags.OpenTag) {
|
|
10667
|
+
compundValue = `${formatValue(templateValue)}${formatValue(elementValue)}`;
|
|
10668
|
+
} else {
|
|
10669
|
+
compundValue = `${formatValue(elementValue)}${formatValue(templateValue)}`;
|
|
10670
|
+
}
|
|
10671
|
+
values.splice(elementIndex, 1, { value: compundValue, subTemplateIndex, flags: I18nParamValueFlags.None });
|
|
10672
|
+
values.splice(templateIndex, 1, null);
|
|
10673
|
+
}
|
|
10674
|
+
}
|
|
10675
|
+
}
|
|
10676
|
+
for (let i = values.length - 1; i >= 0; i--) {
|
|
10677
|
+
if (values[i] === null) {
|
|
10678
|
+
values.splice(i, 1);
|
|
10679
|
+
}
|
|
10680
|
+
}
|
|
10614
10681
|
}
|
|
10615
10682
|
function formatValue(value) {
|
|
10616
10683
|
if (value.flags === I18nParamValueFlags.None) {
|
|
@@ -10633,7 +10700,7 @@ function formatValue(value) {
|
|
|
10633
10700
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
10634
10701
|
}
|
|
10635
10702
|
|
|
10636
|
-
// bazel-out/
|
|
10703
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
10637
10704
|
function generateAdvance(job) {
|
|
10638
10705
|
for (const unit of job.units) {
|
|
10639
10706
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -10665,7 +10732,7 @@ function generateAdvance(job) {
|
|
|
10665
10732
|
}
|
|
10666
10733
|
}
|
|
10667
10734
|
|
|
10668
|
-
// bazel-out/
|
|
10735
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
10669
10736
|
function generateProjectionDefs(job) {
|
|
10670
10737
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
10671
10738
|
const selectors = [];
|
|
@@ -10689,7 +10756,7 @@ function generateProjectionDefs(job) {
|
|
|
10689
10756
|
}
|
|
10690
10757
|
}
|
|
10691
10758
|
|
|
10692
|
-
// bazel-out/
|
|
10759
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
10693
10760
|
function generateVariables(job) {
|
|
10694
10761
|
recursivelyProcessView(job.root, null);
|
|
10695
10762
|
}
|
|
@@ -10777,7 +10844,7 @@ function generateVariablesInScopeForView(view, scope) {
|
|
|
10777
10844
|
return newOps;
|
|
10778
10845
|
}
|
|
10779
10846
|
|
|
10780
|
-
// bazel-out/
|
|
10847
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
10781
10848
|
function collectConstExpressions(job) {
|
|
10782
10849
|
for (const unit of job.units) {
|
|
10783
10850
|
for (const op of unit.ops()) {
|
|
@@ -10791,7 +10858,7 @@ function collectConstExpressions(job) {
|
|
|
10791
10858
|
}
|
|
10792
10859
|
}
|
|
10793
10860
|
|
|
10794
|
-
// bazel-out/
|
|
10861
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
10795
10862
|
var STYLE_DOT = "style.";
|
|
10796
10863
|
var CLASS_DOT = "class.";
|
|
10797
10864
|
var STYLE_BANG = "style!";
|
|
@@ -10849,7 +10916,7 @@ function parseProperty(name) {
|
|
|
10849
10916
|
return { property: property2, suffix };
|
|
10850
10917
|
}
|
|
10851
10918
|
|
|
10852
|
-
// bazel-out/
|
|
10919
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
10853
10920
|
function mapLiteral(obj, quoted = false) {
|
|
10854
10921
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
10855
10922
|
key,
|
|
@@ -10858,7 +10925,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
10858
10925
|
})));
|
|
10859
10926
|
}
|
|
10860
10927
|
|
|
10861
|
-
// bazel-out/
|
|
10928
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
10862
10929
|
var IcuSerializerVisitor = class {
|
|
10863
10930
|
visitText(text2) {
|
|
10864
10931
|
return text2.value;
|
|
@@ -10892,7 +10959,7 @@ function serializeIcuNode(icu) {
|
|
|
10892
10959
|
return icu.visit(serializer);
|
|
10893
10960
|
}
|
|
10894
10961
|
|
|
10895
|
-
// bazel-out/
|
|
10962
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
10896
10963
|
var TokenType;
|
|
10897
10964
|
(function(TokenType2) {
|
|
10898
10965
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -11253,7 +11320,7 @@ function parseIntAutoRadix(text2) {
|
|
|
11253
11320
|
return result;
|
|
11254
11321
|
}
|
|
11255
11322
|
|
|
11256
|
-
// bazel-out/
|
|
11323
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
11257
11324
|
var SplitInterpolation = class {
|
|
11258
11325
|
constructor(strings, expressions, offsets) {
|
|
11259
11326
|
this.strings = strings;
|
|
@@ -12147,7 +12214,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
12147
12214
|
return offsetMap;
|
|
12148
12215
|
}
|
|
12149
12216
|
|
|
12150
|
-
// bazel-out/
|
|
12217
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
12151
12218
|
var NodeWithI18n = class {
|
|
12152
12219
|
constructor(sourceSpan, i18n2) {
|
|
12153
12220
|
this.sourceSpan = sourceSpan;
|
|
@@ -12258,11 +12325,11 @@ function visitAll2(visitor, nodes, context = null) {
|
|
|
12258
12325
|
return result;
|
|
12259
12326
|
}
|
|
12260
12327
|
|
|
12261
|
-
// bazel-out/
|
|
12328
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
12262
12329
|
var ElementSchemaRegistry = class {
|
|
12263
12330
|
};
|
|
12264
12331
|
|
|
12265
|
-
// bazel-out/
|
|
12332
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
12266
12333
|
var BOOLEAN = "boolean";
|
|
12267
12334
|
var NUMBER = "number";
|
|
12268
12335
|
var STRING = "string";
|
|
@@ -12615,7 +12682,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
12615
12682
|
}
|
|
12616
12683
|
}
|
|
12617
12684
|
|
|
12618
|
-
// bazel-out/
|
|
12685
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
12619
12686
|
var HtmlTagDefinition = class {
|
|
12620
12687
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
12621
12688
|
this.closedByChildren = {};
|
|
@@ -12733,7 +12800,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
12733
12800
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
12734
12801
|
}
|
|
12735
12802
|
|
|
12736
|
-
// bazel-out/
|
|
12803
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
12737
12804
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
12738
12805
|
"A": "LINK",
|
|
12739
12806
|
"B": "BOLD_TEXT",
|
|
@@ -12855,7 +12922,7 @@ var PlaceholderRegistry = class {
|
|
|
12855
12922
|
}
|
|
12856
12923
|
};
|
|
12857
12924
|
|
|
12858
|
-
// bazel-out/
|
|
12925
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
12859
12926
|
var _expParser = new Parser(new Lexer());
|
|
12860
12927
|
function createI18nMessageFactory(interpolationConfig, containerBlocks) {
|
|
12861
12928
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
|
|
@@ -13034,14 +13101,14 @@ function extractPlaceholderName(input) {
|
|
|
13034
13101
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
13035
13102
|
}
|
|
13036
13103
|
|
|
13037
|
-
// bazel-out/
|
|
13104
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
13038
13105
|
var I18nError = class extends ParseError {
|
|
13039
13106
|
constructor(span, msg) {
|
|
13040
13107
|
super(span, msg);
|
|
13041
13108
|
}
|
|
13042
13109
|
};
|
|
13043
13110
|
|
|
13044
|
-
// bazel-out/
|
|
13111
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
13045
13112
|
var NAMED_ENTITIES = {
|
|
13046
13113
|
"AElig": "\xC6",
|
|
13047
13114
|
"AMP": "&",
|
|
@@ -15172,7 +15239,7 @@ var NAMED_ENTITIES = {
|
|
|
15172
15239
|
var NGSP_UNICODE = "\uE500";
|
|
15173
15240
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
15174
15241
|
|
|
15175
|
-
// bazel-out/
|
|
15242
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
15176
15243
|
var TokenError = class extends ParseError {
|
|
15177
15244
|
constructor(errorMsg, tokenType, span) {
|
|
15178
15245
|
super(span, errorMsg);
|
|
@@ -16093,7 +16160,7 @@ var CursorError = class {
|
|
|
16093
16160
|
}
|
|
16094
16161
|
};
|
|
16095
16162
|
|
|
16096
|
-
// bazel-out/
|
|
16163
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
16097
16164
|
var TreeError = class extends ParseError {
|
|
16098
16165
|
static create(elementName, span, msg) {
|
|
16099
16166
|
return new TreeError(elementName, span, msg);
|
|
@@ -16477,7 +16544,7 @@ function decodeEntity(match, entity) {
|
|
|
16477
16544
|
return match;
|
|
16478
16545
|
}
|
|
16479
16546
|
|
|
16480
|
-
// bazel-out/
|
|
16547
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
16481
16548
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
16482
16549
|
"iframe|srcdoc",
|
|
16483
16550
|
"*|innerhtml",
|
|
@@ -16492,7 +16559,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
16492
16559
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
16493
16560
|
}
|
|
16494
16561
|
|
|
16495
|
-
// bazel-out/
|
|
16562
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
16496
16563
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
16497
16564
|
if (htmlNode instanceof NodeWithI18n) {
|
|
16498
16565
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -16649,7 +16716,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
16649
16716
|
return jsDocComment(tags);
|
|
16650
16717
|
}
|
|
16651
16718
|
|
|
16652
|
-
// bazel-out/
|
|
16719
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
16653
16720
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
16654
16721
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
16655
16722
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -16700,7 +16767,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
16700
16767
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
16701
16768
|
}
|
|
16702
16769
|
|
|
16703
|
-
// bazel-out/
|
|
16770
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
16704
16771
|
function createLocalizeStatements(variable2, message, params) {
|
|
16705
16772
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
16706
16773
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -16789,7 +16856,7 @@ function createEmptyMessagePart(location) {
|
|
|
16789
16856
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
16790
16857
|
}
|
|
16791
16858
|
|
|
16792
|
-
// bazel-out/
|
|
16859
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
16793
16860
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
16794
16861
|
var TRANSLATION_VAR_PREFIX2 = "i18n_";
|
|
16795
16862
|
function collectI18nConsts(job) {
|
|
@@ -16884,7 +16951,7 @@ function assertAllParamsResolved(op) {
|
|
|
16884
16951
|
}
|
|
16885
16952
|
}
|
|
16886
16953
|
|
|
16887
|
-
// bazel-out/
|
|
16954
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
16888
16955
|
function extractI18nText(job) {
|
|
16889
16956
|
var _a2;
|
|
16890
16957
|
for (const unit of job.units) {
|
|
@@ -16943,7 +17010,7 @@ function extractI18nText(job) {
|
|
|
16943
17010
|
}
|
|
16944
17011
|
}
|
|
16945
17012
|
|
|
16946
|
-
// bazel-out/
|
|
17013
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
16947
17014
|
function liftLocalRefs(job) {
|
|
16948
17015
|
for (const unit of job.units) {
|
|
16949
17016
|
for (const op of unit.create) {
|
|
@@ -16973,48 +17040,7 @@ function serializeLocalRefs(refs) {
|
|
|
16973
17040
|
return literalArr(constRefs);
|
|
16974
17041
|
}
|
|
16975
17042
|
|
|
16976
|
-
// bazel-out/
|
|
16977
|
-
function mergeI18nContexts(job) {
|
|
16978
|
-
const i18nOps = /* @__PURE__ */ new Map();
|
|
16979
|
-
const i18nContexts = /* @__PURE__ */ new Map();
|
|
16980
|
-
for (const unit of job.units) {
|
|
16981
|
-
for (const op of unit.create) {
|
|
16982
|
-
switch (op.kind) {
|
|
16983
|
-
case OpKind.I18nStart:
|
|
16984
|
-
if (!op.context) {
|
|
16985
|
-
throw Error("I18n op should have its context set.");
|
|
16986
|
-
}
|
|
16987
|
-
i18nOps.set(op.xref, op);
|
|
16988
|
-
break;
|
|
16989
|
-
case OpKind.I18nContext:
|
|
16990
|
-
i18nContexts.set(op.xref, op);
|
|
16991
|
-
break;
|
|
16992
|
-
}
|
|
16993
|
-
}
|
|
16994
|
-
}
|
|
16995
|
-
for (const childI18nOp of i18nOps.values()) {
|
|
16996
|
-
if (childI18nOp.xref !== childI18nOp.root) {
|
|
16997
|
-
const childContext = i18nContexts.get(childI18nOp.context);
|
|
16998
|
-
const rootI18nOp = i18nOps.get(childI18nOp.root);
|
|
16999
|
-
const rootContext = i18nContexts.get(rootI18nOp.context);
|
|
17000
|
-
mergeParams(rootContext.params, childContext.params);
|
|
17001
|
-
mergeParams(rootContext.postprocessingParams, childContext.postprocessingParams);
|
|
17002
|
-
}
|
|
17003
|
-
}
|
|
17004
|
-
}
|
|
17005
|
-
function mergeParams(to, from) {
|
|
17006
|
-
for (const [placeholder, fromValues] of from) {
|
|
17007
|
-
const toValues = to.get(placeholder) || [];
|
|
17008
|
-
const flags = fromValues[0].flags;
|
|
17009
|
-
if (flags & I18nParamValueFlags.CloseTag && !(flags & I18nParamValueFlags.OpenTag)) {
|
|
17010
|
-
to.set(placeholder, [...fromValues, ...toValues]);
|
|
17011
|
-
} else {
|
|
17012
|
-
to.set(placeholder, [...toValues, ...fromValues]);
|
|
17013
|
-
}
|
|
17014
|
-
}
|
|
17015
|
-
}
|
|
17016
|
-
|
|
17017
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
17043
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
17018
17044
|
function emitNamespaceChanges(job) {
|
|
17019
17045
|
for (const unit of job.units) {
|
|
17020
17046
|
let activeNamespace = Namespace.HTML;
|
|
@@ -17030,7 +17056,7 @@ function emitNamespaceChanges(job) {
|
|
|
17030
17056
|
}
|
|
17031
17057
|
}
|
|
17032
17058
|
|
|
17033
|
-
// bazel-out/
|
|
17059
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
|
|
17034
17060
|
function parse(value) {
|
|
17035
17061
|
const styles = [];
|
|
17036
17062
|
let i = 0;
|
|
@@ -17091,7 +17117,7 @@ function hyphenate2(value) {
|
|
|
17091
17117
|
}).toLowerCase();
|
|
17092
17118
|
}
|
|
17093
17119
|
|
|
17094
|
-
// bazel-out/
|
|
17120
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
17095
17121
|
function nameFunctionsAndVariables(job) {
|
|
17096
17122
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
17097
17123
|
}
|
|
@@ -17206,7 +17232,7 @@ function stripImportant(name) {
|
|
|
17206
17232
|
return name;
|
|
17207
17233
|
}
|
|
17208
17234
|
|
|
17209
|
-
// bazel-out/
|
|
17235
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
17210
17236
|
function mergeNextContextExpressions(job) {
|
|
17211
17237
|
for (const unit of job.units) {
|
|
17212
17238
|
for (const op of unit.create) {
|
|
@@ -17252,7 +17278,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
17252
17278
|
}
|
|
17253
17279
|
}
|
|
17254
17280
|
|
|
17255
|
-
// bazel-out/
|
|
17281
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
17256
17282
|
var CONTAINER_TAG = "ng-container";
|
|
17257
17283
|
function generateNgContainerOps(job) {
|
|
17258
17284
|
for (const unit of job.units) {
|
|
@@ -17269,7 +17295,7 @@ function generateNgContainerOps(job) {
|
|
|
17269
17295
|
}
|
|
17270
17296
|
}
|
|
17271
17297
|
|
|
17272
|
-
// bazel-out/
|
|
17298
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
17273
17299
|
function lookupElement3(elements, xref) {
|
|
17274
17300
|
const el = elements.get(xref);
|
|
17275
17301
|
if (el === void 0) {
|
|
@@ -17299,7 +17325,7 @@ function disableBindings(job) {
|
|
|
17299
17325
|
}
|
|
17300
17326
|
}
|
|
17301
17327
|
|
|
17302
|
-
// bazel-out/
|
|
17328
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
17303
17329
|
function generateNullishCoalesceExpressions(job) {
|
|
17304
17330
|
for (const unit of job.units) {
|
|
17305
17331
|
for (const op of unit.ops()) {
|
|
@@ -17315,7 +17341,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
17315
17341
|
}
|
|
17316
17342
|
}
|
|
17317
17343
|
|
|
17318
|
-
// bazel-out/
|
|
17344
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
17319
17345
|
function kindTest(kind) {
|
|
17320
17346
|
return (op) => op.kind === kind;
|
|
17321
17347
|
}
|
|
@@ -17389,7 +17415,7 @@ function keepLast(ops) {
|
|
|
17389
17415
|
return ops.slice(ops.length - 1);
|
|
17390
17416
|
}
|
|
17391
17417
|
|
|
17392
|
-
// bazel-out/
|
|
17418
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
17393
17419
|
function parseExtractedStyles(job) {
|
|
17394
17420
|
for (const unit of job.units) {
|
|
17395
17421
|
for (const op of unit.create) {
|
|
@@ -17412,7 +17438,7 @@ function parseExtractedStyles(job) {
|
|
|
17412
17438
|
}
|
|
17413
17439
|
}
|
|
17414
17440
|
|
|
17415
|
-
// bazel-out/
|
|
17441
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
17416
17442
|
function removeContentSelectors(job) {
|
|
17417
17443
|
for (const unit of job.units) {
|
|
17418
17444
|
const elements = createOpXrefMap(unit);
|
|
@@ -17436,7 +17462,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
17436
17462
|
return el;
|
|
17437
17463
|
}
|
|
17438
17464
|
|
|
17439
|
-
// bazel-out/
|
|
17465
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
17440
17466
|
function createPipes(job) {
|
|
17441
17467
|
for (const unit of job.units) {
|
|
17442
17468
|
processPipeBindingsInView(unit);
|
|
@@ -17484,7 +17510,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
17484
17510
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
17485
17511
|
}
|
|
17486
17512
|
|
|
17487
|
-
// bazel-out/
|
|
17513
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
17488
17514
|
function createVariadicPipes(job) {
|
|
17489
17515
|
for (const unit of job.units) {
|
|
17490
17516
|
for (const op of unit.update) {
|
|
@@ -17501,7 +17527,7 @@ function createVariadicPipes(job) {
|
|
|
17501
17527
|
}
|
|
17502
17528
|
}
|
|
17503
17529
|
|
|
17504
|
-
// bazel-out/
|
|
17530
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
17505
17531
|
function propagateI18nBlocks(job) {
|
|
17506
17532
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
17507
17533
|
}
|
|
@@ -17525,9 +17551,10 @@ function propagateI18nBlocksToTemplates(unit, subTemplateIndex) {
|
|
|
17525
17551
|
subTemplateIndex++;
|
|
17526
17552
|
wrapTemplateWithI18n(templateView, i18nBlock);
|
|
17527
17553
|
}
|
|
17528
|
-
propagateI18nBlocksToTemplates(templateView, subTemplateIndex);
|
|
17554
|
+
subTemplateIndex = propagateI18nBlocksToTemplates(templateView, subTemplateIndex);
|
|
17529
17555
|
}
|
|
17530
17556
|
}
|
|
17557
|
+
return subTemplateIndex;
|
|
17531
17558
|
}
|
|
17532
17559
|
function wrapTemplateWithI18n(unit, parentI18n) {
|
|
17533
17560
|
var _a2;
|
|
@@ -17538,7 +17565,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
17538
17565
|
}
|
|
17539
17566
|
}
|
|
17540
17567
|
|
|
17541
|
-
// bazel-out/
|
|
17568
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
17542
17569
|
function extractPureFunctions(job) {
|
|
17543
17570
|
for (const view of job.units) {
|
|
17544
17571
|
for (const op of view.ops()) {
|
|
@@ -17580,7 +17607,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
17580
17607
|
}
|
|
17581
17608
|
};
|
|
17582
17609
|
|
|
17583
|
-
// bazel-out/
|
|
17610
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
17584
17611
|
function generatePureLiteralStructures(job) {
|
|
17585
17612
|
for (const unit of job.units) {
|
|
17586
17613
|
for (const op of unit.update) {
|
|
@@ -17627,7 +17654,7 @@ function transformLiteralMap(expr) {
|
|
|
17627
17654
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
17628
17655
|
}
|
|
17629
17656
|
|
|
17630
|
-
// bazel-out/
|
|
17657
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
17631
17658
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
17632
17659
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
17633
17660
|
}
|
|
@@ -18138,7 +18165,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
18138
18165
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
18139
18166
|
}
|
|
18140
18167
|
|
|
18141
|
-
// bazel-out/
|
|
18168
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
18142
18169
|
var sanitizerIdentifierMap = /* @__PURE__ */ new Map([
|
|
18143
18170
|
[SanitizerFn.Html, Identifiers.sanitizeHtml],
|
|
18144
18171
|
[SanitizerFn.IframeAttribute, Identifiers.validateIframeAttribute],
|
|
@@ -18467,7 +18494,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
18467
18494
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
18468
18495
|
}
|
|
18469
18496
|
|
|
18470
|
-
// bazel-out/
|
|
18497
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
18471
18498
|
function removeEmptyBindings(job) {
|
|
18472
18499
|
for (const unit of job.units) {
|
|
18473
18500
|
for (const op of unit.update) {
|
|
@@ -18488,7 +18515,7 @@ function removeEmptyBindings(job) {
|
|
|
18488
18515
|
}
|
|
18489
18516
|
}
|
|
18490
18517
|
|
|
18491
|
-
// bazel-out/
|
|
18518
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
18492
18519
|
function removeI18nContexts(job) {
|
|
18493
18520
|
for (const unit of job.units) {
|
|
18494
18521
|
for (const op of unit.create) {
|
|
@@ -18504,7 +18531,7 @@ function removeI18nContexts(job) {
|
|
|
18504
18531
|
}
|
|
18505
18532
|
}
|
|
18506
18533
|
|
|
18507
|
-
// bazel-out/
|
|
18534
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/repeater_derived_vars.mjs
|
|
18508
18535
|
function generateRepeaterDerivedVars(job) {
|
|
18509
18536
|
const repeaters = /* @__PURE__ */ new Map();
|
|
18510
18537
|
for (const unit of job.units) {
|
|
@@ -18536,7 +18563,7 @@ function generateRepeaterDerivedVars(job) {
|
|
|
18536
18563
|
}
|
|
18537
18564
|
}
|
|
18538
18565
|
|
|
18539
|
-
// bazel-out/
|
|
18566
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
18540
18567
|
function resolveContexts(job) {
|
|
18541
18568
|
for (const unit of job.units) {
|
|
18542
18569
|
processLexicalScope(unit, unit.create);
|
|
@@ -18577,7 +18604,7 @@ function processLexicalScope(view, ops) {
|
|
|
18577
18604
|
}
|
|
18578
18605
|
}
|
|
18579
18606
|
|
|
18580
|
-
// bazel-out/
|
|
18607
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
18581
18608
|
function resolveDollarEvent(job) {
|
|
18582
18609
|
for (const unit of job.units) {
|
|
18583
18610
|
transformDollarEvent(unit, unit.create);
|
|
@@ -18598,7 +18625,7 @@ function transformDollarEvent(unit, ops) {
|
|
|
18598
18625
|
}
|
|
18599
18626
|
}
|
|
18600
18627
|
|
|
18601
|
-
// bazel-out/
|
|
18628
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
18602
18629
|
function resolveI18nElementPlaceholders(job) {
|
|
18603
18630
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
18604
18631
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -18614,55 +18641,67 @@ function resolveI18nElementPlaceholders(job) {
|
|
|
18614
18641
|
}
|
|
18615
18642
|
}
|
|
18616
18643
|
}
|
|
18617
|
-
|
|
18618
|
-
|
|
18619
|
-
|
|
18620
|
-
|
|
18621
|
-
|
|
18622
|
-
|
|
18623
|
-
|
|
18644
|
+
resolvePlaceholdersForView(job, job.root, i18nContexts, elements);
|
|
18645
|
+
}
|
|
18646
|
+
function resolvePlaceholdersForView(job, unit, i18nContexts, elements) {
|
|
18647
|
+
let currentOps = null;
|
|
18648
|
+
for (const op of unit.create) {
|
|
18649
|
+
switch (op.kind) {
|
|
18650
|
+
case OpKind.I18nStart:
|
|
18651
|
+
if (!op.context) {
|
|
18652
|
+
throw Error("Could not find i18n context for i18n op");
|
|
18653
|
+
}
|
|
18654
|
+
currentOps = { i18nBlock: op, i18nContext: i18nContexts.get(op.context) };
|
|
18655
|
+
break;
|
|
18656
|
+
case OpKind.I18nEnd:
|
|
18657
|
+
currentOps = null;
|
|
18658
|
+
break;
|
|
18659
|
+
case OpKind.ElementStart:
|
|
18660
|
+
if (op.i18nPlaceholder !== void 0) {
|
|
18661
|
+
if (currentOps === null) {
|
|
18662
|
+
throw Error("i18n tag placeholder should only occur inside an i18n block");
|
|
18624
18663
|
}
|
|
18625
|
-
|
|
18626
|
-
|
|
18627
|
-
|
|
18628
|
-
|
|
18629
|
-
break;
|
|
18630
|
-
case OpKind.ElementStart:
|
|
18631
|
-
if (op.i18nPlaceholder !== void 0) {
|
|
18632
|
-
if (currentOps === null) {
|
|
18633
|
-
throw Error("i18n tag placeholder should only occur inside an i18n block");
|
|
18634
|
-
}
|
|
18635
|
-
const { startName, closeName } = op.i18nPlaceholder;
|
|
18636
|
-
let flags = I18nParamValueFlags.ElementTag | I18nParamValueFlags.OpenTag;
|
|
18637
|
-
if (closeName === "") {
|
|
18638
|
-
flags |= I18nParamValueFlags.CloseTag;
|
|
18639
|
-
}
|
|
18640
|
-
addParam(currentOps.i18nContext.params, startName, op.handle.slot, currentOps.i18nBlock.subTemplateIndex, flags);
|
|
18664
|
+
const { startName, closeName } = op.i18nPlaceholder;
|
|
18665
|
+
let flags = I18nParamValueFlags.ElementTag | I18nParamValueFlags.OpenTag;
|
|
18666
|
+
if (closeName === "") {
|
|
18667
|
+
flags |= I18nParamValueFlags.CloseTag;
|
|
18641
18668
|
}
|
|
18642
|
-
|
|
18643
|
-
|
|
18644
|
-
|
|
18645
|
-
|
|
18646
|
-
|
|
18647
|
-
|
|
18648
|
-
|
|
18649
|
-
|
|
18650
|
-
if (closeName !== "") {
|
|
18651
|
-
addParam(currentOps.i18nContext.params, closeName, startOp.handle.slot, currentOps.i18nBlock.subTemplateIndex, I18nParamValueFlags.ElementTag | I18nParamValueFlags.CloseTag);
|
|
18652
|
-
}
|
|
18669
|
+
addParam(currentOps.i18nContext.params, startName, op.handle.slot, currentOps.i18nBlock.subTemplateIndex, flags);
|
|
18670
|
+
}
|
|
18671
|
+
break;
|
|
18672
|
+
case OpKind.ElementEnd:
|
|
18673
|
+
const startOp = elements.get(op.xref);
|
|
18674
|
+
if (startOp && startOp.i18nPlaceholder !== void 0) {
|
|
18675
|
+
if (currentOps === null) {
|
|
18676
|
+
throw Error("i18n tag placeholder should only occur inside an i18n block");
|
|
18653
18677
|
}
|
|
18654
|
-
|
|
18655
|
-
|
|
18656
|
-
|
|
18657
|
-
if (currentOps === null) {
|
|
18658
|
-
throw Error("i18n tag placeholder should only occur inside an i18n block");
|
|
18659
|
-
}
|
|
18660
|
-
const subTemplateIndex = getSubTemplateIndexForTemplateTag(job, currentOps.i18nBlock, op);
|
|
18661
|
-
addParam(currentOps.i18nContext.params, op.i18nPlaceholder.startName, op.handle.slot, subTemplateIndex, I18nParamValueFlags.TemplateTag);
|
|
18662
|
-
addParam(currentOps.i18nContext.params, op.i18nPlaceholder.closeName, op.handle.slot, subTemplateIndex, I18nParamValueFlags.TemplateTag | I18nParamValueFlags.CloseTag);
|
|
18678
|
+
const { closeName } = startOp.i18nPlaceholder;
|
|
18679
|
+
if (closeName !== "") {
|
|
18680
|
+
addParam(currentOps.i18nContext.params, closeName, startOp.handle.slot, currentOps.i18nBlock.subTemplateIndex, I18nParamValueFlags.ElementTag | I18nParamValueFlags.CloseTag);
|
|
18663
18681
|
}
|
|
18664
|
-
|
|
18665
|
-
|
|
18682
|
+
}
|
|
18683
|
+
break;
|
|
18684
|
+
case OpKind.Template:
|
|
18685
|
+
if (op.i18nPlaceholder !== void 0) {
|
|
18686
|
+
if (currentOps === null) {
|
|
18687
|
+
throw Error("i18n tag placeholder should only occur inside an i18n block");
|
|
18688
|
+
}
|
|
18689
|
+
let startFlags = I18nParamValueFlags.TemplateTag | I18nParamValueFlags.OpenTag;
|
|
18690
|
+
const subTemplateIndex = getSubTemplateIndexForTemplateTag(job, currentOps.i18nBlock, op);
|
|
18691
|
+
const { startName, closeName } = op.i18nPlaceholder;
|
|
18692
|
+
const isSelfClosing = closeName === "";
|
|
18693
|
+
if (isSelfClosing) {
|
|
18694
|
+
startFlags |= I18nParamValueFlags.CloseTag;
|
|
18695
|
+
}
|
|
18696
|
+
addParam(currentOps.i18nContext.params, startName, op.handle.slot, subTemplateIndex, startFlags);
|
|
18697
|
+
resolvePlaceholdersForView(job, job.views.get(op.xref), i18nContexts, elements);
|
|
18698
|
+
if (!isSelfClosing) {
|
|
18699
|
+
addParam(currentOps.i18nContext.params, closeName, op.handle.slot, subTemplateIndex, I18nParamValueFlags.TemplateTag | I18nParamValueFlags.CloseTag);
|
|
18700
|
+
}
|
|
18701
|
+
} else {
|
|
18702
|
+
resolvePlaceholdersForView(job, job.views.get(op.xref), i18nContexts, elements);
|
|
18703
|
+
}
|
|
18704
|
+
break;
|
|
18666
18705
|
}
|
|
18667
18706
|
}
|
|
18668
18707
|
}
|
|
@@ -18681,7 +18720,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
18681
18720
|
params.set(placeholder, values);
|
|
18682
18721
|
}
|
|
18683
18722
|
|
|
18684
|
-
// bazel-out/
|
|
18723
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
18685
18724
|
function resolveI18nExpressionPlaceholders(job) {
|
|
18686
18725
|
const subTemplateIndicies = /* @__PURE__ */ new Map();
|
|
18687
18726
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
@@ -18702,8 +18741,8 @@ function resolveI18nExpressionPlaceholders(job) {
|
|
|
18702
18741
|
for (const op of unit.update) {
|
|
18703
18742
|
if (op.kind === OpKind.I18nExpression) {
|
|
18704
18743
|
const i18nContext = i18nContexts.get(op.context);
|
|
18705
|
-
const index = expressionIndices.get(
|
|
18706
|
-
const subTemplateIndex = subTemplateIndicies.get(
|
|
18744
|
+
const index = expressionIndices.get(op.target) || 0;
|
|
18745
|
+
const subTemplateIndex = subTemplateIndicies.get(op.target);
|
|
18707
18746
|
const params = op.resolutionTime === I18nParamResolutionTime.Creation ? i18nContext.params : i18nContext.postprocessingParams;
|
|
18708
18747
|
const values = params.get(op.i18nPlaceholder) || [];
|
|
18709
18748
|
values.push({
|
|
@@ -18712,36 +18751,20 @@ function resolveI18nExpressionPlaceholders(job) {
|
|
|
18712
18751
|
flags: I18nParamValueFlags.ExpressionIndex
|
|
18713
18752
|
});
|
|
18714
18753
|
params.set(op.i18nPlaceholder, values);
|
|
18715
|
-
expressionIndices.set(
|
|
18754
|
+
expressionIndices.set(op.target, index + 1);
|
|
18716
18755
|
}
|
|
18717
18756
|
}
|
|
18718
18757
|
}
|
|
18719
18758
|
}
|
|
18720
18759
|
|
|
18721
|
-
// bazel-out/
|
|
18760
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_icu_placeholders.mjs
|
|
18722
18761
|
function resolveI18nIcuPlaceholders(job) {
|
|
18723
|
-
const contextOps = /* @__PURE__ */ new Map();
|
|
18724
18762
|
for (const unit of job.units) {
|
|
18725
18763
|
for (const op of unit.create) {
|
|
18726
|
-
|
|
18727
|
-
|
|
18728
|
-
|
|
18729
|
-
|
|
18730
|
-
}
|
|
18731
|
-
}
|
|
18732
|
-
}
|
|
18733
|
-
for (const unit of job.units) {
|
|
18734
|
-
for (const op of unit.create) {
|
|
18735
|
-
switch (op.kind) {
|
|
18736
|
-
case OpKind.IcuStart:
|
|
18737
|
-
if (op.context === null) {
|
|
18738
|
-
throw Error("Icu should have its i18n context set.");
|
|
18739
|
-
}
|
|
18740
|
-
const i18nContext = contextOps.get(op.context);
|
|
18741
|
-
for (const node of op.message.nodes) {
|
|
18742
|
-
node.visit(new ResolveIcuPlaceholdersVisitor(i18nContext.postprocessingParams));
|
|
18743
|
-
}
|
|
18744
|
-
break;
|
|
18764
|
+
if (op.kind === OpKind.I18nContext && op.contextKind === I18nContextKind.Icu) {
|
|
18765
|
+
for (const node of op.message.nodes) {
|
|
18766
|
+
node.visit(new ResolveIcuPlaceholdersVisitor(op.postprocessingParams));
|
|
18767
|
+
}
|
|
18745
18768
|
}
|
|
18746
18769
|
}
|
|
18747
18770
|
}
|
|
@@ -18778,7 +18801,7 @@ var ResolveIcuPlaceholdersVisitor = class extends RecurseVisitor {
|
|
|
18778
18801
|
}
|
|
18779
18802
|
};
|
|
18780
18803
|
|
|
18781
|
-
// bazel-out/
|
|
18804
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
18782
18805
|
function resolveNames(job) {
|
|
18783
18806
|
for (const unit of job.units) {
|
|
18784
18807
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -18842,7 +18865,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
18842
18865
|
}
|
|
18843
18866
|
}
|
|
18844
18867
|
|
|
18845
|
-
// bazel-out/
|
|
18868
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
18846
18869
|
var sanitizers = /* @__PURE__ */ new Map([
|
|
18847
18870
|
[SecurityContext.HTML, SanitizerFn.Html],
|
|
18848
18871
|
[SecurityContext.SCRIPT, SanitizerFn.Script],
|
|
@@ -18879,7 +18902,7 @@ function isIframeElement(op) {
|
|
|
18879
18902
|
return op.kind === OpKind.ElementStart && ((_a2 = op.tag) == null ? void 0 : _a2.toLowerCase()) === "iframe";
|
|
18880
18903
|
}
|
|
18881
18904
|
|
|
18882
|
-
// bazel-out/
|
|
18905
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
18883
18906
|
function saveAndRestoreView(job) {
|
|
18884
18907
|
for (const unit of job.units) {
|
|
18885
18908
|
unit.create.prepend([
|
|
@@ -18924,7 +18947,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
18924
18947
|
}
|
|
18925
18948
|
}
|
|
18926
18949
|
|
|
18927
|
-
// bazel-out/
|
|
18950
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
18928
18951
|
function allocateSlots(job) {
|
|
18929
18952
|
const slotMap = /* @__PURE__ */ new Map();
|
|
18930
18953
|
for (const unit of job.units) {
|
|
@@ -18949,7 +18972,7 @@ function allocateSlots(job) {
|
|
|
18949
18972
|
}
|
|
18950
18973
|
}
|
|
18951
18974
|
|
|
18952
|
-
// bazel-out/
|
|
18975
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
18953
18976
|
function specializeStyleBindings(job) {
|
|
18954
18977
|
for (const unit of job.units) {
|
|
18955
18978
|
for (const op of unit.update) {
|
|
@@ -18979,7 +19002,7 @@ function specializeStyleBindings(job) {
|
|
|
18979
19002
|
}
|
|
18980
19003
|
}
|
|
18981
19004
|
|
|
18982
|
-
// bazel-out/
|
|
19005
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
18983
19006
|
function generateTemporaryVariables(job) {
|
|
18984
19007
|
for (const unit of job.units) {
|
|
18985
19008
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -19037,7 +19060,7 @@ function assignName(names, expr) {
|
|
|
19037
19060
|
expr.name = name;
|
|
19038
19061
|
}
|
|
19039
19062
|
|
|
19040
|
-
// bazel-out/
|
|
19063
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
19041
19064
|
function generateTrackFns(job) {
|
|
19042
19065
|
for (const unit of job.units) {
|
|
19043
19066
|
for (const op of unit.create) {
|
|
@@ -19067,7 +19090,7 @@ function generateTrackFns(job) {
|
|
|
19067
19090
|
}
|
|
19068
19091
|
}
|
|
19069
19092
|
|
|
19070
|
-
// bazel-out/
|
|
19093
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
19071
19094
|
function optimizeTrackFns(job) {
|
|
19072
19095
|
for (const unit of job.units) {
|
|
19073
19096
|
for (const op of unit.create) {
|
|
@@ -19114,7 +19137,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
19114
19137
|
return true;
|
|
19115
19138
|
}
|
|
19116
19139
|
|
|
19117
|
-
// bazel-out/
|
|
19140
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
19118
19141
|
function generateTrackVariables(job) {
|
|
19119
19142
|
for (const unit of job.units) {
|
|
19120
19143
|
for (const op of unit.create) {
|
|
@@ -19135,7 +19158,7 @@ function generateTrackVariables(job) {
|
|
|
19135
19158
|
}
|
|
19136
19159
|
}
|
|
19137
19160
|
|
|
19138
|
-
// bazel-out/
|
|
19161
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
19139
19162
|
function countVariables(job) {
|
|
19140
19163
|
for (const unit of job.units) {
|
|
19141
19164
|
let varCount = 0;
|
|
@@ -19240,7 +19263,7 @@ function isSingletonInterpolation(expr) {
|
|
|
19240
19263
|
return true;
|
|
19241
19264
|
}
|
|
19242
19265
|
|
|
19243
|
-
// bazel-out/
|
|
19266
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
19244
19267
|
function optimizeVariables(job) {
|
|
19245
19268
|
for (const unit of job.units) {
|
|
19246
19269
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -19490,7 +19513,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
19490
19513
|
}
|
|
19491
19514
|
}
|
|
19492
19515
|
|
|
19493
|
-
// bazel-out/
|
|
19516
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
19494
19517
|
function wrapI18nIcus(job) {
|
|
19495
19518
|
for (const unit of job.units) {
|
|
19496
19519
|
let currentI18nOp = null;
|
|
@@ -19520,7 +19543,7 @@ function wrapI18nIcus(job) {
|
|
|
19520
19543
|
}
|
|
19521
19544
|
}
|
|
19522
19545
|
|
|
19523
|
-
// bazel-out/
|
|
19546
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
19524
19547
|
var phases = [
|
|
19525
19548
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
19526
19549
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -19563,7 +19586,6 @@ var phases = [
|
|
|
19563
19586
|
{ kind: CompilationJobKind.Tmpl, fn: resolveI18nElementPlaceholders },
|
|
19564
19587
|
{ kind: CompilationJobKind.Tmpl, fn: resolveI18nExpressionPlaceholders },
|
|
19565
19588
|
{ kind: CompilationJobKind.Tmpl, fn: resolveI18nIcuPlaceholders },
|
|
19566
|
-
{ kind: CompilationJobKind.Tmpl, fn: mergeI18nContexts },
|
|
19567
19589
|
{ kind: CompilationJobKind.Tmpl, fn: extractI18nMessages },
|
|
19568
19590
|
{ kind: CompilationJobKind.Tmpl, fn: generateTrackFns },
|
|
19569
19591
|
{ kind: CompilationJobKind.Tmpl, fn: collectI18nConsts },
|
|
@@ -19685,7 +19707,7 @@ function emitHostBindingFunction(job) {
|
|
|
19685
19707
|
);
|
|
19686
19708
|
}
|
|
19687
19709
|
|
|
19688
|
-
// bazel-out/
|
|
19710
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
19689
19711
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
19690
19712
|
function ingestComponent(componentName, template2, constantPool, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta) {
|
|
19691
19713
|
const job = new ComponentCompilationJob(componentName, constantPool, compatibilityMode, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta);
|
|
@@ -20266,10 +20288,10 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
20266
20288
|
return null;
|
|
20267
20289
|
}
|
|
20268
20290
|
|
|
20269
|
-
// bazel-out/
|
|
20291
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
|
|
20270
20292
|
var USE_TEMPLATE_PIPELINE = false;
|
|
20271
20293
|
|
|
20272
|
-
// bazel-out/
|
|
20294
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
|
|
20273
20295
|
var IMPORTANT_FLAG = "!important";
|
|
20274
20296
|
var MIN_STYLING_BINDING_SLOTS_REQUIRED = 2;
|
|
20275
20297
|
var StylingBuilder = class {
|
|
@@ -20602,7 +20624,7 @@ function isEmptyExpression(ast) {
|
|
|
20602
20624
|
return ast instanceof EmptyExpr;
|
|
20603
20625
|
}
|
|
20604
20626
|
|
|
20605
|
-
// bazel-out/
|
|
20627
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
20606
20628
|
var HtmlParser = class extends Parser2 {
|
|
20607
20629
|
constructor() {
|
|
20608
20630
|
super(getHtmlTagDefinition);
|
|
@@ -20612,7 +20634,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
20612
20634
|
}
|
|
20613
20635
|
};
|
|
20614
20636
|
|
|
20615
|
-
// bazel-out/
|
|
20637
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
20616
20638
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
20617
20639
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
20618
20640
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -20678,7 +20700,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
20678
20700
|
return result;
|
|
20679
20701
|
}
|
|
20680
20702
|
|
|
20681
|
-
// bazel-out/
|
|
20703
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
20682
20704
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
20683
20705
|
var ATTRIBUTE_PREFIX = "attr";
|
|
20684
20706
|
var CLASS_PREFIX = "class";
|
|
@@ -20998,7 +21020,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
20998
21020
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
20999
21021
|
}
|
|
21000
21022
|
|
|
21001
|
-
// bazel-out/
|
|
21023
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
21002
21024
|
function isStyleUrlResolvable(url) {
|
|
21003
21025
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
21004
21026
|
return false;
|
|
@@ -21007,7 +21029,7 @@ function isStyleUrlResolvable(url) {
|
|
|
21007
21029
|
}
|
|
21008
21030
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
21009
21031
|
|
|
21010
|
-
// bazel-out/
|
|
21032
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
21011
21033
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
21012
21034
|
var LINK_ELEMENT = "link";
|
|
21013
21035
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -21077,7 +21099,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
21077
21099
|
return selectAttr;
|
|
21078
21100
|
}
|
|
21079
21101
|
|
|
21080
|
-
// bazel-out/
|
|
21102
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
21081
21103
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
21082
21104
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
21083
21105
|
var CONDITIONAL_ALIAS_PATTERN = /^as\s+(.*)/;
|
|
@@ -21368,7 +21390,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
21368
21390
|
return expression.slice(start, end);
|
|
21369
21391
|
}
|
|
21370
21392
|
|
|
21371
|
-
// bazel-out/
|
|
21393
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
21372
21394
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
21373
21395
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
21374
21396
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -21632,7 +21654,7 @@ function parseDeferredTime(value) {
|
|
|
21632
21654
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
21633
21655
|
}
|
|
21634
21656
|
|
|
21635
|
-
// bazel-out/
|
|
21657
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
21636
21658
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
21637
21659
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
21638
21660
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -21767,7 +21789,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
21767
21789
|
return { triggers, prefetchTriggers };
|
|
21768
21790
|
}
|
|
21769
21791
|
|
|
21770
|
-
// bazel-out/
|
|
21792
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
21771
21793
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
21772
21794
|
var KW_BIND_IDX = 1;
|
|
21773
21795
|
var KW_LET_IDX = 2;
|
|
@@ -22198,7 +22220,7 @@ function textContents(node) {
|
|
|
22198
22220
|
}
|
|
22199
22221
|
}
|
|
22200
22222
|
|
|
22201
|
-
// bazel-out/
|
|
22223
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
|
|
22202
22224
|
var TagType;
|
|
22203
22225
|
(function(TagType2) {
|
|
22204
22226
|
TagType2[TagType2["ELEMENT"] = 0] = "ELEMENT";
|
|
@@ -22343,7 +22365,7 @@ function serializePlaceholderValue(value) {
|
|
|
22343
22365
|
}
|
|
22344
22366
|
}
|
|
22345
22367
|
|
|
22346
|
-
// bazel-out/
|
|
22368
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
22347
22369
|
var NG_CONTENT_SELECT_ATTR2 = "select";
|
|
22348
22370
|
var NG_PROJECT_AS_ATTR_NAME = "ngProjectAs";
|
|
22349
22371
|
var EVENT_BINDING_SCOPE_GLOBALS = /* @__PURE__ */ new Set(["$event"]);
|
|
@@ -23803,21 +23825,6 @@ var TrackByBindingScope = class extends BindingScope {
|
|
|
23803
23825
|
return this.componentAccessCount;
|
|
23804
23826
|
}
|
|
23805
23827
|
};
|
|
23806
|
-
function createCssSelector(elementName, attributes) {
|
|
23807
|
-
const cssSelector = new CssSelector();
|
|
23808
|
-
const elementNameNoNs = splitNsName(elementName)[1];
|
|
23809
|
-
cssSelector.setElement(elementNameNoNs);
|
|
23810
|
-
Object.getOwnPropertyNames(attributes).forEach((name) => {
|
|
23811
|
-
const nameNoNs = splitNsName(name)[1];
|
|
23812
|
-
const value = attributes[name];
|
|
23813
|
-
cssSelector.addAttribute(nameNoNs, value);
|
|
23814
|
-
if (name.toLowerCase() === "class") {
|
|
23815
|
-
const classes = value.trim().split(/\s+/);
|
|
23816
|
-
classes.forEach((className) => cssSelector.addClassName(className));
|
|
23817
|
-
}
|
|
23818
|
-
});
|
|
23819
|
-
return cssSelector;
|
|
23820
|
-
}
|
|
23821
23828
|
function getNgProjectAsLiteral(attribute2) {
|
|
23822
23829
|
const parsedR3Selector = parseSelectorToR3Selector(attribute2.value)[0];
|
|
23823
23830
|
return [literal(5), asLiteral(parsedR3Selector)];
|
|
@@ -24035,7 +24042,7 @@ function createClosureModeGuard2() {
|
|
|
24035
24042
|
return typeofExpr(variable(NG_I18N_CLOSURE_MODE2)).notIdentical(literal("undefined", STRING_TYPE)).and(variable(NG_I18N_CLOSURE_MODE2));
|
|
24036
24043
|
}
|
|
24037
24044
|
|
|
24038
|
-
// bazel-out/
|
|
24045
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
24039
24046
|
var ATTR_REGEX = /attr\.([^\]]+)/;
|
|
24040
24047
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
24041
24048
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
@@ -24086,6 +24093,9 @@ function addFeatures(definitionMap, meta) {
|
|
|
24086
24093
|
break;
|
|
24087
24094
|
}
|
|
24088
24095
|
}
|
|
24096
|
+
if ((_a2 = meta.hostDirectives) == null ? void 0 : _a2.length) {
|
|
24097
|
+
features.push(importExpr(Identifiers.HostDirectivesFeature).callFn([createHostDirectivesFeatureArg(meta.hostDirectives)]));
|
|
24098
|
+
}
|
|
24089
24099
|
if (meta.usesInheritance) {
|
|
24090
24100
|
features.push(importExpr(Identifiers.InheritDefinitionFeature));
|
|
24091
24101
|
}
|
|
@@ -24098,9 +24108,6 @@ function addFeatures(definitionMap, meta) {
|
|
|
24098
24108
|
if (meta.hasOwnProperty("template") && meta.isStandalone) {
|
|
24099
24109
|
features.push(importExpr(Identifiers.StandaloneFeature));
|
|
24100
24110
|
}
|
|
24101
|
-
if ((_a2 = meta.hostDirectives) == null ? void 0 : _a2.length) {
|
|
24102
|
-
features.push(importExpr(Identifiers.HostDirectivesFeature).callFn([createHostDirectivesFeatureArg(meta.hostDirectives)]));
|
|
24103
|
-
}
|
|
24104
24111
|
if (features.length) {
|
|
24105
24112
|
definitionMap.set("features", literalArr(features));
|
|
24106
24113
|
}
|
|
@@ -24637,7 +24644,7 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
24637
24644
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
24638
24645
|
}
|
|
24639
24646
|
|
|
24640
|
-
// bazel-out/
|
|
24647
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
24641
24648
|
var R3TargetBinder = class {
|
|
24642
24649
|
constructor(directiveMatcher) {
|
|
24643
24650
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -24805,13 +24812,13 @@ var DirectiveBinder = class {
|
|
|
24805
24812
|
template2.forEach((node) => node.visit(this));
|
|
24806
24813
|
}
|
|
24807
24814
|
visitElement(element2) {
|
|
24808
|
-
this.visitElementOrTemplate(element2
|
|
24815
|
+
this.visitElementOrTemplate(element2);
|
|
24809
24816
|
}
|
|
24810
24817
|
visitTemplate(template2) {
|
|
24811
|
-
this.visitElementOrTemplate(
|
|
24818
|
+
this.visitElementOrTemplate(template2);
|
|
24812
24819
|
}
|
|
24813
|
-
visitElementOrTemplate(
|
|
24814
|
-
const cssSelector =
|
|
24820
|
+
visitElementOrTemplate(node) {
|
|
24821
|
+
const cssSelector = createCssSelectorFromNode(node);
|
|
24815
24822
|
const directives = [];
|
|
24816
24823
|
this.matcher.match(cssSelector, (_selector, results) => directives.push(...results));
|
|
24817
24824
|
if (directives.length > 0) {
|
|
@@ -25242,11 +25249,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
25242
25249
|
return templateEntities;
|
|
25243
25250
|
}
|
|
25244
25251
|
|
|
25245
|
-
// bazel-out/
|
|
25252
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
25246
25253
|
var ResourceLoader = class {
|
|
25247
25254
|
};
|
|
25248
25255
|
|
|
25249
|
-
// bazel-out/
|
|
25256
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
25250
25257
|
var CompilerFacadeImpl = class {
|
|
25251
25258
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
25252
25259
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -25798,10 +25805,10 @@ function publishFacade(global) {
|
|
|
25798
25805
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
25799
25806
|
}
|
|
25800
25807
|
|
|
25801
|
-
// bazel-out/
|
|
25802
|
-
var VERSION2 = new Version("17.1.0-next.
|
|
25808
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
|
|
25809
|
+
var VERSION2 = new Version("17.1.0-next.2");
|
|
25803
25810
|
|
|
25804
|
-
// bazel-out/
|
|
25811
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
25805
25812
|
var _I18N_ATTR = "i18n";
|
|
25806
25813
|
var _I18N_ATTR_PREFIX = "i18n-";
|
|
25807
25814
|
var _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;
|
|
@@ -26110,7 +26117,7 @@ function _parseMessageMeta(i18n2) {
|
|
|
26110
26117
|
return { meaning, description, id: id.trim() };
|
|
26111
26118
|
}
|
|
26112
26119
|
|
|
26113
|
-
// bazel-out/
|
|
26120
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
26114
26121
|
var XmlTagDefinition = class {
|
|
26115
26122
|
constructor() {
|
|
26116
26123
|
this.closedByParent = false;
|
|
@@ -26135,7 +26142,7 @@ function getXmlTagDefinition(tagName) {
|
|
|
26135
26142
|
return _TAG_DEFINITION;
|
|
26136
26143
|
}
|
|
26137
26144
|
|
|
26138
|
-
// bazel-out/
|
|
26145
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
|
|
26139
26146
|
var XmlParser = class extends Parser2 {
|
|
26140
26147
|
constructor() {
|
|
26141
26148
|
super(getXmlTagDefinition);
|
|
@@ -26145,7 +26152,7 @@ var XmlParser = class extends Parser2 {
|
|
|
26145
26152
|
}
|
|
26146
26153
|
};
|
|
26147
26154
|
|
|
26148
|
-
// bazel-out/
|
|
26155
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
|
|
26149
26156
|
var _VERSION = "1.2";
|
|
26150
26157
|
var _XMLNS = "urn:oasis:names:tc:xliff:document:1.2";
|
|
26151
26158
|
var _DEFAULT_SOURCE_LANG = "en";
|
|
@@ -26399,7 +26406,7 @@ function getCtypeForTag(tag) {
|
|
|
26399
26406
|
}
|
|
26400
26407
|
}
|
|
26401
26408
|
|
|
26402
|
-
// bazel-out/
|
|
26409
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
|
|
26403
26410
|
var _VERSION2 = "2.0";
|
|
26404
26411
|
var _XMLNS2 = "urn:oasis:names:tc:xliff:document:2.0";
|
|
26405
26412
|
var _DEFAULT_SOURCE_LANG2 = "en";
|
|
@@ -26715,7 +26722,7 @@ function getTypeForTag(tag) {
|
|
|
26715
26722
|
}
|
|
26716
26723
|
}
|
|
26717
26724
|
|
|
26718
|
-
// bazel-out/
|
|
26725
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
|
|
26719
26726
|
var MessageBundle = class {
|
|
26720
26727
|
constructor(_htmlParser, _implicitTags, _implicitAttrs, _locale = null) {
|
|
26721
26728
|
this._htmlParser = _htmlParser;
|
|
@@ -26788,7 +26795,7 @@ var MapPlaceholderNames = class extends CloneVisitor {
|
|
|
26788
26795
|
}
|
|
26789
26796
|
};
|
|
26790
26797
|
|
|
26791
|
-
// bazel-out/
|
|
26798
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
26792
26799
|
var FactoryTarget2;
|
|
26793
26800
|
(function(FactoryTarget3) {
|
|
26794
26801
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -26798,7 +26805,7 @@ var FactoryTarget2;
|
|
|
26798
26805
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
26799
26806
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
26800
26807
|
|
|
26801
|
-
// bazel-out/
|
|
26808
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
|
|
26802
26809
|
function compileClassMetadata(metadata) {
|
|
26803
26810
|
var _a2, _b2;
|
|
26804
26811
|
const fnCall = importExpr(Identifiers.setClassMetadata).callFn([
|
|
@@ -26840,7 +26847,7 @@ function compileComponentClassMetadata(metadata, deferrableTypes) {
|
|
|
26840
26847
|
return iife.callFn([]);
|
|
26841
26848
|
}
|
|
26842
26849
|
|
|
26843
|
-
// bazel-out/
|
|
26850
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_class_debug_info_compiler.mjs
|
|
26844
26851
|
function compileClassDebugInfo(debugInfo) {
|
|
26845
26852
|
const debugInfoObject = {
|
|
26846
26853
|
className: debugInfo.className
|
|
@@ -26860,12 +26867,12 @@ function compileClassDebugInfo(debugInfo) {
|
|
|
26860
26867
|
return iife.callFn([]);
|
|
26861
26868
|
}
|
|
26862
26869
|
|
|
26863
|
-
// bazel-out/
|
|
26870
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
|
|
26864
26871
|
var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
|
|
26865
26872
|
function compileDeclareClassMetadata(metadata) {
|
|
26866
26873
|
const definitionMap = new DefinitionMap();
|
|
26867
26874
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
26868
|
-
definitionMap.set("version", literal("17.1.0-next.
|
|
26875
|
+
definitionMap.set("version", literal("17.1.0-next.2"));
|
|
26869
26876
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
26870
26877
|
definitionMap.set("type", metadata.type);
|
|
26871
26878
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -26874,7 +26881,7 @@ function compileDeclareClassMetadata(metadata) {
|
|
|
26874
26881
|
return importExpr(Identifiers.declareClassMetadata).callFn([definitionMap.toLiteralMap()]);
|
|
26875
26882
|
}
|
|
26876
26883
|
|
|
26877
|
-
// bazel-out/
|
|
26884
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
|
|
26878
26885
|
function toOptionalLiteralArray(values, mapper) {
|
|
26879
26886
|
if (values === null || values.length === 0) {
|
|
26880
26887
|
return null;
|
|
@@ -26922,7 +26929,7 @@ function compileDependency(dep) {
|
|
|
26922
26929
|
return depMeta.toLiteralMap();
|
|
26923
26930
|
}
|
|
26924
26931
|
|
|
26925
|
-
// bazel-out/
|
|
26932
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
|
|
26926
26933
|
var MINIMUM_PARTIAL_LINKER_VERSION2 = "16.1.0";
|
|
26927
26934
|
function compileDeclareDirectiveFromMetadata(meta) {
|
|
26928
26935
|
const definitionMap = createDirectiveDefinitionMap(meta);
|
|
@@ -26936,7 +26943,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
26936
26943
|
const hasTransformFunctions = Object.values(meta.inputs).some((input) => input.transformFunction !== null);
|
|
26937
26944
|
const minVersion = hasTransformFunctions ? MINIMUM_PARTIAL_LINKER_VERSION2 : "14.0.0";
|
|
26938
26945
|
definitionMap.set("minVersion", literal(minVersion));
|
|
26939
|
-
definitionMap.set("version", literal("17.1.0-next.
|
|
26946
|
+
definitionMap.set("version", literal("17.1.0-next.2"));
|
|
26940
26947
|
definitionMap.set("type", meta.type.value);
|
|
26941
26948
|
if (meta.isStandalone) {
|
|
26942
26949
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -27029,7 +27036,7 @@ function createHostDirectives(hostDirectives) {
|
|
|
27029
27036
|
return literalArr(expressions);
|
|
27030
27037
|
}
|
|
27031
27038
|
|
|
27032
|
-
// bazel-out/
|
|
27039
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
|
|
27033
27040
|
function compileDeclareComponentFromMetadata(meta, template2, additionalTemplateInfo) {
|
|
27034
27041
|
const definitionMap = createComponentDefinitionMap(meta, template2, additionalTemplateInfo);
|
|
27035
27042
|
const expression = importExpr(Identifiers.declareComponent).callFn([definitionMap.toLiteralMap()]);
|
|
@@ -27163,12 +27170,12 @@ var BlockPresenceVisitor = class extends RecursiveVisitor {
|
|
|
27163
27170
|
}
|
|
27164
27171
|
};
|
|
27165
27172
|
|
|
27166
|
-
// bazel-out/
|
|
27173
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
|
|
27167
27174
|
var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
|
|
27168
27175
|
function compileDeclareFactoryFunction(meta) {
|
|
27169
27176
|
const definitionMap = new DefinitionMap();
|
|
27170
27177
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
|
|
27171
|
-
definitionMap.set("version", literal("17.1.0-next.
|
|
27178
|
+
definitionMap.set("version", literal("17.1.0-next.2"));
|
|
27172
27179
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27173
27180
|
definitionMap.set("type", meta.type.value);
|
|
27174
27181
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -27180,7 +27187,7 @@ function compileDeclareFactoryFunction(meta) {
|
|
|
27180
27187
|
};
|
|
27181
27188
|
}
|
|
27182
27189
|
|
|
27183
|
-
// bazel-out/
|
|
27190
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
|
|
27184
27191
|
var MINIMUM_PARTIAL_LINKER_VERSION4 = "12.0.0";
|
|
27185
27192
|
function compileDeclareInjectableFromMetadata(meta) {
|
|
27186
27193
|
const definitionMap = createInjectableDefinitionMap(meta);
|
|
@@ -27191,7 +27198,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
27191
27198
|
function createInjectableDefinitionMap(meta) {
|
|
27192
27199
|
const definitionMap = new DefinitionMap();
|
|
27193
27200
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
|
|
27194
|
-
definitionMap.set("version", literal("17.1.0-next.
|
|
27201
|
+
definitionMap.set("version", literal("17.1.0-next.2"));
|
|
27195
27202
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27196
27203
|
definitionMap.set("type", meta.type.value);
|
|
27197
27204
|
if (meta.providedIn !== void 0) {
|
|
@@ -27218,7 +27225,7 @@ function createInjectableDefinitionMap(meta) {
|
|
|
27218
27225
|
return definitionMap;
|
|
27219
27226
|
}
|
|
27220
27227
|
|
|
27221
|
-
// bazel-out/
|
|
27228
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
|
|
27222
27229
|
var MINIMUM_PARTIAL_LINKER_VERSION5 = "12.0.0";
|
|
27223
27230
|
function compileDeclareInjectorFromMetadata(meta) {
|
|
27224
27231
|
const definitionMap = createInjectorDefinitionMap(meta);
|
|
@@ -27229,7 +27236,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
27229
27236
|
function createInjectorDefinitionMap(meta) {
|
|
27230
27237
|
const definitionMap = new DefinitionMap();
|
|
27231
27238
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
|
|
27232
|
-
definitionMap.set("version", literal("17.1.0-next.
|
|
27239
|
+
definitionMap.set("version", literal("17.1.0-next.2"));
|
|
27233
27240
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27234
27241
|
definitionMap.set("type", meta.type.value);
|
|
27235
27242
|
definitionMap.set("providers", meta.providers);
|
|
@@ -27239,7 +27246,7 @@ function createInjectorDefinitionMap(meta) {
|
|
|
27239
27246
|
return definitionMap;
|
|
27240
27247
|
}
|
|
27241
27248
|
|
|
27242
|
-
// bazel-out/
|
|
27249
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
|
|
27243
27250
|
var MINIMUM_PARTIAL_LINKER_VERSION6 = "14.0.0";
|
|
27244
27251
|
function compileDeclareNgModuleFromMetadata(meta) {
|
|
27245
27252
|
const definitionMap = createNgModuleDefinitionMap(meta);
|
|
@@ -27253,7 +27260,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
27253
27260
|
throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
|
|
27254
27261
|
}
|
|
27255
27262
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
|
|
27256
|
-
definitionMap.set("version", literal("17.1.0-next.
|
|
27263
|
+
definitionMap.set("version", literal("17.1.0-next.2"));
|
|
27257
27264
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27258
27265
|
definitionMap.set("type", meta.type.value);
|
|
27259
27266
|
if (meta.bootstrap.length > 0) {
|
|
@@ -27277,7 +27284,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
27277
27284
|
return definitionMap;
|
|
27278
27285
|
}
|
|
27279
27286
|
|
|
27280
|
-
// bazel-out/
|
|
27287
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
|
|
27281
27288
|
var MINIMUM_PARTIAL_LINKER_VERSION7 = "14.0.0";
|
|
27282
27289
|
function compileDeclarePipeFromMetadata(meta) {
|
|
27283
27290
|
const definitionMap = createPipeDefinitionMap(meta);
|
|
@@ -27288,7 +27295,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
27288
27295
|
function createPipeDefinitionMap(meta) {
|
|
27289
27296
|
const definitionMap = new DefinitionMap();
|
|
27290
27297
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION7));
|
|
27291
|
-
definitionMap.set("version", literal("17.1.0-next.
|
|
27298
|
+
definitionMap.set("version", literal("17.1.0-next.2"));
|
|
27292
27299
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27293
27300
|
definitionMap.set("type", meta.type.value);
|
|
27294
27301
|
if (meta.isStandalone) {
|
|
@@ -27301,13 +27308,13 @@ function createPipeDefinitionMap(meta) {
|
|
|
27301
27308
|
return definitionMap;
|
|
27302
27309
|
}
|
|
27303
27310
|
|
|
27304
|
-
// bazel-out/
|
|
27311
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
27305
27312
|
publishFacade(_global);
|
|
27306
27313
|
|
|
27307
|
-
// bazel-out/
|
|
27308
|
-
var VERSION3 = new Version("17.1.0-next.
|
|
27314
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
27315
|
+
var VERSION3 = new Version("17.1.0-next.2");
|
|
27309
27316
|
|
|
27310
|
-
// bazel-out/
|
|
27317
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
27311
27318
|
var EmitFlags;
|
|
27312
27319
|
(function(EmitFlags2) {
|
|
27313
27320
|
EmitFlags2[EmitFlags2["DTS"] = 1] = "DTS";
|
|
@@ -27319,13 +27326,13 @@ var EmitFlags;
|
|
|
27319
27326
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
27320
27327
|
})(EmitFlags || (EmitFlags = {}));
|
|
27321
27328
|
|
|
27322
|
-
// bazel-out/
|
|
27329
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
27323
27330
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
27324
27331
|
|
|
27325
|
-
// bazel-out/
|
|
27332
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
27326
27333
|
var import_typescript103 = __toESM(require("typescript"), 1);
|
|
27327
27334
|
|
|
27328
|
-
// bazel-out/
|
|
27335
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
27329
27336
|
var path = __toESM(require("path"), 1);
|
|
27330
27337
|
function i18nGetExtension(formatName) {
|
|
27331
27338
|
const format = formatName.toLowerCase();
|
|
@@ -27375,10 +27382,10 @@ function getPathNormalizer(basePath) {
|
|
|
27375
27382
|
};
|
|
27376
27383
|
}
|
|
27377
27384
|
|
|
27378
|
-
// bazel-out/
|
|
27385
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
27379
27386
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
27380
27387
|
|
|
27381
|
-
// bazel-out/
|
|
27388
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
27382
27389
|
function toNumbers(value) {
|
|
27383
27390
|
const suffixIndex = value.lastIndexOf("-");
|
|
27384
27391
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -27413,7 +27420,7 @@ function compareVersions(v1, v2) {
|
|
|
27413
27420
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
27414
27421
|
}
|
|
27415
27422
|
|
|
27416
|
-
// bazel-out/
|
|
27423
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
27417
27424
|
var MIN_TS_VERSION = "5.2.0";
|
|
27418
27425
|
var MAX_TS_VERSION = "5.4.0";
|
|
27419
27426
|
var tsVersion = import_typescript3.default.version;
|
|
@@ -27426,13 +27433,13 @@ function verifySupportedTypeScriptVersion() {
|
|
|
27426
27433
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
27427
27434
|
}
|
|
27428
27435
|
|
|
27429
|
-
// bazel-out/
|
|
27436
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
27430
27437
|
var import_typescript99 = __toESM(require("typescript"), 1);
|
|
27431
27438
|
|
|
27432
|
-
// bazel-out/
|
|
27439
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
27433
27440
|
var import_typescript20 = __toESM(require("typescript"), 1);
|
|
27434
27441
|
|
|
27435
|
-
// bazel-out/
|
|
27442
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
27436
27443
|
var ErrorCode;
|
|
27437
27444
|
(function(ErrorCode2) {
|
|
27438
27445
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -27493,6 +27500,7 @@ var ErrorCode;
|
|
|
27493
27500
|
ErrorCode2[ErrorCode2["MISSING_REQUIRED_INPUTS"] = 8008] = "MISSING_REQUIRED_INPUTS";
|
|
27494
27501
|
ErrorCode2[ErrorCode2["ILLEGAL_FOR_LOOP_TRACK_ACCESS"] = 8009] = "ILLEGAL_FOR_LOOP_TRACK_ACCESS";
|
|
27495
27502
|
ErrorCode2[ErrorCode2["INACCESSIBLE_DEFERRED_TRIGGER_ELEMENT"] = 8010] = "INACCESSIBLE_DEFERRED_TRIGGER_ELEMENT";
|
|
27503
|
+
ErrorCode2[ErrorCode2["CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION"] = 8011] = "CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION";
|
|
27496
27504
|
ErrorCode2[ErrorCode2["INVALID_BANANA_IN_BOX"] = 8101] = "INVALID_BANANA_IN_BOX";
|
|
27497
27505
|
ErrorCode2[ErrorCode2["NULLISH_COALESCING_NOT_NULLABLE"] = 8102] = "NULLISH_COALESCING_NOT_NULLABLE";
|
|
27498
27506
|
ErrorCode2[ErrorCode2["MISSING_CONTROL_FLOW_DIRECTIVE"] = 8103] = "MISSING_CONTROL_FLOW_DIRECTIVE";
|
|
@@ -27511,7 +27519,7 @@ var ErrorCode;
|
|
|
27511
27519
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_IMPORTED_STYLES_STRING"] = 11002] = "LOCAL_COMPILATION_IMPORTED_STYLES_STRING";
|
|
27512
27520
|
})(ErrorCode || (ErrorCode = {}));
|
|
27513
27521
|
|
|
27514
|
-
// bazel-out/
|
|
27522
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
27515
27523
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
27516
27524
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
27517
27525
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -27523,15 +27531,15 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
27523
27531
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
27524
27532
|
]);
|
|
27525
27533
|
|
|
27526
|
-
// bazel-out/
|
|
27534
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
27527
27535
|
var import_typescript4 = __toESM(require("typescript"), 1);
|
|
27528
27536
|
|
|
27529
|
-
// bazel-out/
|
|
27537
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
27530
27538
|
function ngErrorCode(code) {
|
|
27531
27539
|
return parseInt("-99" + code);
|
|
27532
27540
|
}
|
|
27533
27541
|
|
|
27534
|
-
// bazel-out/
|
|
27542
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
27535
27543
|
var FatalDiagnosticError = class {
|
|
27536
27544
|
constructor(code, node, message, relatedInformation) {
|
|
27537
27545
|
this.code = code;
|
|
@@ -27587,10 +27595,10 @@ function addDiagnosticChain(messageText, add) {
|
|
|
27587
27595
|
return messageText;
|
|
27588
27596
|
}
|
|
27589
27597
|
|
|
27590
|
-
// bazel-out/
|
|
27598
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
27591
27599
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
27592
27600
|
|
|
27593
|
-
// bazel-out/
|
|
27601
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
27594
27602
|
var ExtendedTemplateDiagnosticName;
|
|
27595
27603
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
27596
27604
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -27604,13 +27612,13 @@ var ExtendedTemplateDiagnosticName;
|
|
|
27604
27612
|
ExtendedTemplateDiagnosticName2["INTERPOLATED_SIGNAL_NOT_INVOKED"] = "interpolatedSignalNotInvoked";
|
|
27605
27613
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
27606
27614
|
|
|
27607
|
-
// bazel-out/
|
|
27615
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
27608
27616
|
var import_typescript19 = __toESM(require("typescript"), 1);
|
|
27609
27617
|
|
|
27610
|
-
// bazel-out/
|
|
27618
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
27611
27619
|
var import_typescript7 = __toESM(require("typescript"), 1);
|
|
27612
27620
|
|
|
27613
|
-
// bazel-out/
|
|
27621
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
27614
27622
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
27615
27623
|
var TS = /\.tsx?$/i;
|
|
27616
27624
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -27711,7 +27719,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
27711
27719
|
return redirectInfo.unredirected;
|
|
27712
27720
|
}
|
|
27713
27721
|
|
|
27714
|
-
// bazel-out/
|
|
27722
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
27715
27723
|
function findExportedNameOfNode(target, file, reflector) {
|
|
27716
27724
|
const exports = reflector.getExportsOfModule(file);
|
|
27717
27725
|
if (exports === null) {
|
|
@@ -27731,7 +27739,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
27731
27739
|
return foundExportName;
|
|
27732
27740
|
}
|
|
27733
27741
|
|
|
27734
|
-
// bazel-out/
|
|
27742
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
27735
27743
|
var ImportFlags;
|
|
27736
27744
|
(function(ImportFlags2) {
|
|
27737
27745
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -27947,7 +27955,7 @@ var UnifiedModulesStrategy = class {
|
|
|
27947
27955
|
}
|
|
27948
27956
|
};
|
|
27949
27957
|
|
|
27950
|
-
// bazel-out/
|
|
27958
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
27951
27959
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
27952
27960
|
var UnifiedModulesAliasingHost = class {
|
|
27953
27961
|
constructor(unifiedModulesHost) {
|
|
@@ -28014,7 +28022,7 @@ var AliasStrategy = class {
|
|
|
28014
28022
|
}
|
|
28015
28023
|
};
|
|
28016
28024
|
|
|
28017
|
-
// bazel-out/
|
|
28025
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
28018
28026
|
function relativePathBetween(from, to) {
|
|
28019
28027
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
28020
28028
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -28023,7 +28031,7 @@ function normalizeSeparators2(path4) {
|
|
|
28023
28031
|
return path4.replace(/\\/g, "/");
|
|
28024
28032
|
}
|
|
28025
28033
|
|
|
28026
|
-
// bazel-out/
|
|
28034
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
28027
28035
|
var NoopImportRewriter = class {
|
|
28028
28036
|
shouldImportSymbol(symbol, specifier) {
|
|
28029
28037
|
return true;
|
|
@@ -28082,7 +28090,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
28082
28090
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
28083
28091
|
}
|
|
28084
28092
|
|
|
28085
|
-
// bazel-out/
|
|
28093
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
28086
28094
|
var import_typescript9 = __toESM(require("typescript"), 1);
|
|
28087
28095
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
28088
28096
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -28117,7 +28125,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
28117
28125
|
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.");
|
|
28118
28126
|
}
|
|
28119
28127
|
|
|
28120
|
-
// bazel-out/
|
|
28128
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
28121
28129
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
28122
28130
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
28123
28131
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -28158,13 +28166,13 @@ var DefaultImportTracker = class {
|
|
|
28158
28166
|
}
|
|
28159
28167
|
};
|
|
28160
28168
|
|
|
28161
|
-
// bazel-out/
|
|
28169
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
28162
28170
|
var import_typescript15 = __toESM(require("typescript"), 1);
|
|
28163
28171
|
|
|
28164
|
-
// bazel-out/
|
|
28172
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
28165
28173
|
var import_typescript14 = __toESM(require("typescript"), 1);
|
|
28166
28174
|
|
|
28167
|
-
// bazel-out/
|
|
28175
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
28168
28176
|
var import_typescript11 = __toESM(require("typescript"), 1);
|
|
28169
28177
|
function isDecoratorIdentifier(exp) {
|
|
28170
28178
|
return import_typescript11.default.isIdentifier(exp) || import_typescript11.default.isPropertyAccessExpression(exp) && import_typescript11.default.isIdentifier(exp.expression) && import_typescript11.default.isIdentifier(exp.name);
|
|
@@ -28178,7 +28186,7 @@ var ClassMemberKind;
|
|
|
28178
28186
|
ClassMemberKind2[ClassMemberKind2["Method"] = 4] = "Method";
|
|
28179
28187
|
})(ClassMemberKind || (ClassMemberKind = {}));
|
|
28180
28188
|
|
|
28181
|
-
// bazel-out/
|
|
28189
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
28182
28190
|
var import_typescript12 = __toESM(require("typescript"), 1);
|
|
28183
28191
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
28184
28192
|
var _a2, _b2;
|
|
@@ -28351,7 +28359,7 @@ function extractModuleName(node) {
|
|
|
28351
28359
|
return node.moduleSpecifier.text;
|
|
28352
28360
|
}
|
|
28353
28361
|
|
|
28354
|
-
// bazel-out/
|
|
28362
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
28355
28363
|
var import_typescript13 = __toESM(require("typescript"), 1);
|
|
28356
28364
|
function isNamedClassDeclaration(node) {
|
|
28357
28365
|
return import_typescript13.default.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -28360,7 +28368,7 @@ function isIdentifier(node) {
|
|
|
28360
28368
|
return node !== void 0 && import_typescript13.default.isIdentifier(node);
|
|
28361
28369
|
}
|
|
28362
28370
|
|
|
28363
|
-
// bazel-out/
|
|
28371
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
28364
28372
|
var TypeScriptReflectionHost = class {
|
|
28365
28373
|
constructor(checker, isLocalCompilation = false) {
|
|
28366
28374
|
this.checker = checker;
|
|
@@ -28795,7 +28803,7 @@ function getExportedName(decl, originalId) {
|
|
|
28795
28803
|
}
|
|
28796
28804
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
28797
28805
|
|
|
28798
|
-
// bazel-out/
|
|
28806
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
28799
28807
|
var AssumeEager = "AssumeEager";
|
|
28800
28808
|
var DeferredSymbolTracker = class {
|
|
28801
28809
|
constructor(typeChecker) {
|
|
@@ -28892,7 +28900,7 @@ var DeferredSymbolTracker = class {
|
|
|
28892
28900
|
}
|
|
28893
28901
|
};
|
|
28894
28902
|
|
|
28895
|
-
// bazel-out/
|
|
28903
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
28896
28904
|
var Reference2 = class {
|
|
28897
28905
|
constructor(node, bestGuessOwningModule = null) {
|
|
28898
28906
|
this.node = node;
|
|
@@ -28955,7 +28963,7 @@ var Reference2 = class {
|
|
|
28955
28963
|
}
|
|
28956
28964
|
};
|
|
28957
28965
|
|
|
28958
|
-
// bazel-out/
|
|
28966
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
28959
28967
|
var ModuleResolver = class {
|
|
28960
28968
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
28961
28969
|
this.program = program;
|
|
@@ -28972,7 +28980,7 @@ var ModuleResolver = class {
|
|
|
28972
28980
|
}
|
|
28973
28981
|
};
|
|
28974
28982
|
|
|
28975
|
-
// bazel-out/
|
|
28983
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
28976
28984
|
function valueReferenceToExpression(valueRef) {
|
|
28977
28985
|
if (valueRef.kind === 2) {
|
|
28978
28986
|
return null;
|
|
@@ -29215,7 +29223,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
29215
29223
|
return import_typescript19.default.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === import_typescript19.default.SyntaxKind.AbstractKeyword) : false;
|
|
29216
29224
|
}
|
|
29217
29225
|
|
|
29218
|
-
// bazel-out/
|
|
29226
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
29219
29227
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
29220
29228
|
const deps = [];
|
|
29221
29229
|
const errors = [];
|
|
@@ -29357,10 +29365,10 @@ function createUnsuitableInjectionTokenError(clazz, error2) {
|
|
|
29357
29365
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain2, hints);
|
|
29358
29366
|
}
|
|
29359
29367
|
|
|
29360
|
-
// bazel-out/
|
|
29368
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
29361
29369
|
var import_typescript29 = __toESM(require("typescript"), 1);
|
|
29362
29370
|
|
|
29363
|
-
// bazel-out/
|
|
29371
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
29364
29372
|
var MetaKind;
|
|
29365
29373
|
(function(MetaKind2) {
|
|
29366
29374
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -29373,10 +29381,10 @@ var MatchSource;
|
|
|
29373
29381
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
29374
29382
|
})(MatchSource || (MatchSource = {}));
|
|
29375
29383
|
|
|
29376
|
-
// bazel-out/
|
|
29384
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
29377
29385
|
var import_typescript24 = __toESM(require("typescript"), 1);
|
|
29378
29386
|
|
|
29379
|
-
// bazel-out/
|
|
29387
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
29380
29388
|
var ClassPropertyMapping = class {
|
|
29381
29389
|
constructor(forwardMap) {
|
|
29382
29390
|
this.forwardMap = forwardMap;
|
|
@@ -29454,7 +29462,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
29454
29462
|
return reverseMap;
|
|
29455
29463
|
}
|
|
29456
29464
|
|
|
29457
|
-
// bazel-out/
|
|
29465
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
29458
29466
|
var import_typescript22 = __toESM(require("typescript"), 1);
|
|
29459
29467
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
29460
29468
|
if (!import_typescript22.default.isTupleTypeNode(def)) {
|
|
@@ -29638,7 +29646,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
29638
29646
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
29639
29647
|
}
|
|
29640
29648
|
|
|
29641
|
-
// bazel-out/
|
|
29649
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
29642
29650
|
var DtsMetadataReader = class {
|
|
29643
29651
|
constructor(checker, reflector) {
|
|
29644
29652
|
this.checker = checker;
|
|
@@ -29681,6 +29689,7 @@ var DtsMetadataReader = class {
|
|
|
29681
29689
|
const isStructural = !isComponent && ctorParams !== null && ctorParams.some((param) => {
|
|
29682
29690
|
return param.typeValueReference.kind === 1 && param.typeValueReference.moduleName === "@angular/core" && param.typeValueReference.importedName === "TemplateRef";
|
|
29683
29691
|
});
|
|
29692
|
+
const ngContentSelectors = def.type.typeArguments.length > 6 ? readStringArrayType(def.type.typeArguments[6]) : null;
|
|
29684
29693
|
const isStandalone = def.type.typeArguments.length > 7 && ((_a2 = readBooleanType(def.type.typeArguments[7])) != null ? _a2 : false);
|
|
29685
29694
|
const inputs = ClassPropertyMapping.fromMappedObject(readInputsType(def.type.typeArguments[3]));
|
|
29686
29695
|
const outputs = ClassPropertyMapping.fromMappedObject(readMapType(def.type.typeArguments[4], readStringType));
|
|
@@ -29703,12 +29712,14 @@ var DtsMetadataReader = class {
|
|
|
29703
29712
|
isPoisoned: false,
|
|
29704
29713
|
isStructural,
|
|
29705
29714
|
animationTriggerNames: null,
|
|
29715
|
+
ngContentSelectors,
|
|
29706
29716
|
isStandalone,
|
|
29707
29717
|
isSignal,
|
|
29708
29718
|
imports: null,
|
|
29709
29719
|
schemas: null,
|
|
29710
29720
|
decorator: null,
|
|
29711
|
-
assumedToExportProviders: isComponent && isStandalone
|
|
29721
|
+
assumedToExportProviders: isComponent && isStandalone,
|
|
29722
|
+
preserveWhitespaces: false
|
|
29712
29723
|
});
|
|
29713
29724
|
}
|
|
29714
29725
|
getPipeMetadata(ref) {
|
|
@@ -29813,7 +29824,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
29813
29824
|
return result.length > 0 ? result : null;
|
|
29814
29825
|
}
|
|
29815
29826
|
|
|
29816
|
-
// bazel-out/
|
|
29827
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
29817
29828
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
29818
29829
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
29819
29830
|
if (topMeta === null) {
|
|
@@ -29826,6 +29837,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
29826
29837
|
const undeclaredInputFields = /* @__PURE__ */ new Set();
|
|
29827
29838
|
const restrictedInputFields = /* @__PURE__ */ new Set();
|
|
29828
29839
|
const stringLiteralInputFields = /* @__PURE__ */ new Set();
|
|
29840
|
+
let hostDirectives = null;
|
|
29829
29841
|
let isDynamic = false;
|
|
29830
29842
|
let inputs = ClassPropertyMapping.empty();
|
|
29831
29843
|
let outputs = ClassPropertyMapping.empty();
|
|
@@ -29856,6 +29868,10 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
29856
29868
|
for (const field of meta.stringLiteralInputFields) {
|
|
29857
29869
|
stringLiteralInputFields.add(field);
|
|
29858
29870
|
}
|
|
29871
|
+
if (meta.hostDirectives !== null && meta.hostDirectives.length > 0) {
|
|
29872
|
+
hostDirectives != null ? hostDirectives : hostDirectives = [];
|
|
29873
|
+
hostDirectives.push(...meta.hostDirectives);
|
|
29874
|
+
}
|
|
29859
29875
|
};
|
|
29860
29876
|
addMetadata(topMeta);
|
|
29861
29877
|
return __spreadProps(__spreadValues({}, topMeta), {
|
|
@@ -29866,11 +29882,12 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
29866
29882
|
restrictedInputFields,
|
|
29867
29883
|
stringLiteralInputFields,
|
|
29868
29884
|
baseClass: isDynamic ? "dynamic" : null,
|
|
29869
|
-
isStructural
|
|
29885
|
+
isStructural,
|
|
29886
|
+
hostDirectives
|
|
29870
29887
|
});
|
|
29871
29888
|
}
|
|
29872
29889
|
|
|
29873
|
-
// bazel-out/
|
|
29890
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
29874
29891
|
var LocalMetadataRegistry = class {
|
|
29875
29892
|
constructor() {
|
|
29876
29893
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -29927,7 +29944,7 @@ var CompoundMetadataRegistry = class {
|
|
|
29927
29944
|
}
|
|
29928
29945
|
};
|
|
29929
29946
|
|
|
29930
|
-
// bazel-out/
|
|
29947
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
29931
29948
|
var ResourceRegistry = class {
|
|
29932
29949
|
constructor() {
|
|
29933
29950
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -29992,7 +30009,7 @@ var ResourceRegistry = class {
|
|
|
29992
30009
|
}
|
|
29993
30010
|
};
|
|
29994
30011
|
|
|
29995
|
-
// bazel-out/
|
|
30012
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
|
|
29996
30013
|
var ExportedProviderStatusResolver = class {
|
|
29997
30014
|
constructor(metaReader) {
|
|
29998
30015
|
this.metaReader = metaReader;
|
|
@@ -30036,7 +30053,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
30036
30053
|
}
|
|
30037
30054
|
};
|
|
30038
30055
|
|
|
30039
|
-
// bazel-out/
|
|
30056
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
30040
30057
|
var EMPTY_ARRAY = [];
|
|
30041
30058
|
var HostDirectivesResolver = class {
|
|
30042
30059
|
constructor(metaReader) {
|
|
@@ -30097,10 +30114,10 @@ function resolveOutput(bindingName) {
|
|
|
30097
30114
|
return bindingName;
|
|
30098
30115
|
}
|
|
30099
30116
|
|
|
30100
|
-
// bazel-out/
|
|
30117
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
30101
30118
|
var import_typescript26 = __toESM(require("typescript"), 1);
|
|
30102
30119
|
|
|
30103
|
-
// bazel-out/
|
|
30120
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
30104
30121
|
var DynamicValue = class {
|
|
30105
30122
|
constructor(node, reason, code) {
|
|
30106
30123
|
this.node = node;
|
|
@@ -30190,7 +30207,7 @@ var DynamicValue = class {
|
|
|
30190
30207
|
}
|
|
30191
30208
|
};
|
|
30192
30209
|
|
|
30193
|
-
// bazel-out/
|
|
30210
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
30194
30211
|
var ResolvedModule = class {
|
|
30195
30212
|
constructor(exports, evaluate) {
|
|
30196
30213
|
this.exports = exports;
|
|
@@ -30220,7 +30237,7 @@ var EnumValue = class {
|
|
|
30220
30237
|
var KnownFn = class {
|
|
30221
30238
|
};
|
|
30222
30239
|
|
|
30223
|
-
// bazel-out/
|
|
30240
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
30224
30241
|
function describeResolvedType(value, maxDepth = 1) {
|
|
30225
30242
|
var _a2, _b2;
|
|
30226
30243
|
if (value === null) {
|
|
@@ -30349,10 +30366,10 @@ function getContainerNode(node) {
|
|
|
30349
30366
|
return node.getSourceFile();
|
|
30350
30367
|
}
|
|
30351
30368
|
|
|
30352
|
-
// bazel-out/
|
|
30369
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
30353
30370
|
var import_typescript27 = __toESM(require("typescript"), 1);
|
|
30354
30371
|
|
|
30355
|
-
// bazel-out/
|
|
30372
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
30356
30373
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
30357
30374
|
constructor(lhs) {
|
|
30358
30375
|
super();
|
|
@@ -30404,14 +30421,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
|
|
|
30404
30421
|
}
|
|
30405
30422
|
};
|
|
30406
30423
|
|
|
30407
|
-
// bazel-out/
|
|
30424
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
30408
30425
|
var SyntheticValue = class {
|
|
30409
30426
|
constructor(value) {
|
|
30410
30427
|
this.value = value;
|
|
30411
30428
|
}
|
|
30412
30429
|
};
|
|
30413
30430
|
|
|
30414
|
-
// bazel-out/
|
|
30431
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
30415
30432
|
function literalBinaryOp(op) {
|
|
30416
30433
|
return { op, literal: true };
|
|
30417
30434
|
}
|
|
@@ -30986,7 +31003,7 @@ function owningModule(context, override = null) {
|
|
|
30986
31003
|
}
|
|
30987
31004
|
}
|
|
30988
31005
|
|
|
30989
|
-
// bazel-out/
|
|
31006
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
30990
31007
|
var PartialEvaluator = class {
|
|
30991
31008
|
constructor(host, checker, dependencyTracker) {
|
|
30992
31009
|
this.host = host;
|
|
@@ -31006,7 +31023,7 @@ var PartialEvaluator = class {
|
|
|
31006
31023
|
}
|
|
31007
31024
|
};
|
|
31008
31025
|
|
|
31009
|
-
// bazel-out/
|
|
31026
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
31010
31027
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
31011
31028
|
const context = [];
|
|
31012
31029
|
for (const decl of data) {
|
|
@@ -31202,7 +31219,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
|
|
|
31202
31219
|
return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${kind.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of ${baseClassName}'s constructor. Either add a @${baseNeedsDecorator} decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
|
|
31203
31220
|
}
|
|
31204
31221
|
|
|
31205
|
-
// bazel-out/
|
|
31222
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
31206
31223
|
var import_typescript31 = __toESM(require("typescript"), 1);
|
|
31207
31224
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
31208
31225
|
let resolved = null;
|
|
@@ -31252,7 +31269,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
31252
31269
|
return meta;
|
|
31253
31270
|
}
|
|
31254
31271
|
|
|
31255
|
-
// bazel-out/
|
|
31272
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
31256
31273
|
function compileNgFactoryDefField(metadata) {
|
|
31257
31274
|
const res = compileFactoryFunction(metadata);
|
|
31258
31275
|
return {
|
|
@@ -31274,7 +31291,7 @@ function compileDeclareFactory(metadata) {
|
|
|
31274
31291
|
};
|
|
31275
31292
|
}
|
|
31276
31293
|
|
|
31277
|
-
// bazel-out/
|
|
31294
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
31278
31295
|
var InjectableClassRegistry = class {
|
|
31279
31296
|
constructor(host, isCore) {
|
|
31280
31297
|
this.host = host;
|
|
@@ -31300,7 +31317,7 @@ var InjectableClassRegistry = class {
|
|
|
31300
31317
|
}
|
|
31301
31318
|
};
|
|
31302
31319
|
|
|
31303
|
-
// bazel-out/
|
|
31320
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
31304
31321
|
var import_typescript32 = __toESM(require("typescript"), 1);
|
|
31305
31322
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
31306
31323
|
if (!reflection.isClass(clazz)) {
|
|
@@ -31384,7 +31401,7 @@ function removeIdentifierReferences(node, names) {
|
|
|
31384
31401
|
return result.transformed[0];
|
|
31385
31402
|
}
|
|
31386
31403
|
|
|
31387
|
-
// bazel-out/
|
|
31404
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
|
|
31388
31405
|
var path2 = __toESM(require("path"), 1);
|
|
31389
31406
|
function extractClassDebugInfo(clazz, reflection, rootDirs, forbidOrphanRendering) {
|
|
31390
31407
|
if (!reflection.isClass(clazz)) {
|
|
@@ -31410,13 +31427,13 @@ function computeRelativePathIfPossible(filePath, rootDirs) {
|
|
|
31410
31427
|
return null;
|
|
31411
31428
|
}
|
|
31412
31429
|
|
|
31413
|
-
// bazel-out/
|
|
31430
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
31414
31431
|
var NoopReferencesRegistry = class {
|
|
31415
31432
|
add(source, ...references) {
|
|
31416
31433
|
}
|
|
31417
31434
|
};
|
|
31418
31435
|
|
|
31419
|
-
// bazel-out/
|
|
31436
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
31420
31437
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
31421
31438
|
const schemas = [];
|
|
31422
31439
|
const result = evaluator.evaluate(rawExpr);
|
|
@@ -31445,7 +31462,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
31445
31462
|
return schemas;
|
|
31446
31463
|
}
|
|
31447
31464
|
|
|
31448
|
-
// bazel-out/
|
|
31465
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
|
|
31449
31466
|
function compileInputTransformFields(inputs) {
|
|
31450
31467
|
const extraFields = [];
|
|
31451
31468
|
for (const input of inputs) {
|
|
@@ -31462,10 +31479,10 @@ function compileInputTransformFields(inputs) {
|
|
|
31462
31479
|
return extraFields;
|
|
31463
31480
|
}
|
|
31464
31481
|
|
|
31465
|
-
// bazel-out/
|
|
31482
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
31466
31483
|
var import_typescript55 = __toESM(require("typescript"), 1);
|
|
31467
31484
|
|
|
31468
|
-
// bazel-out/
|
|
31485
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
31469
31486
|
var import_typescript33 = __toESM(require("typescript"), 1);
|
|
31470
31487
|
var SemanticSymbol = class {
|
|
31471
31488
|
constructor(decl) {
|
|
@@ -31481,7 +31498,7 @@ function getSymbolIdentifier(decl) {
|
|
|
31481
31498
|
return decl.name.text;
|
|
31482
31499
|
}
|
|
31483
31500
|
|
|
31484
|
-
// bazel-out/
|
|
31501
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
31485
31502
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
31486
31503
|
isPublicApiAffected() {
|
|
31487
31504
|
return false;
|
|
@@ -31623,10 +31640,10 @@ function getImportPath(expr) {
|
|
|
31623
31640
|
}
|
|
31624
31641
|
}
|
|
31625
31642
|
|
|
31626
|
-
// bazel-out/
|
|
31643
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
31627
31644
|
var import_typescript34 = __toESM(require("typescript"), 1);
|
|
31628
31645
|
|
|
31629
|
-
// bazel-out/
|
|
31646
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
31630
31647
|
function isSymbolEqual(a, b) {
|
|
31631
31648
|
if (a.decl === b.decl) {
|
|
31632
31649
|
return true;
|
|
@@ -31676,7 +31693,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
31676
31693
|
return true;
|
|
31677
31694
|
}
|
|
31678
31695
|
|
|
31679
|
-
// bazel-out/
|
|
31696
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
31680
31697
|
function extractSemanticTypeParameters(node) {
|
|
31681
31698
|
if (!import_typescript34.default.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
31682
31699
|
return null;
|
|
@@ -31696,7 +31713,7 @@ function isTypeParameterEqual(a, b) {
|
|
|
31696
31713
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
31697
31714
|
}
|
|
31698
31715
|
|
|
31699
|
-
// bazel-out/
|
|
31716
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
31700
31717
|
var PerfPhase;
|
|
31701
31718
|
(function(PerfPhase2) {
|
|
31702
31719
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -31764,7 +31781,7 @@ var PerfCheckpoint;
|
|
|
31764
31781
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
31765
31782
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
31766
31783
|
|
|
31767
|
-
// bazel-out/
|
|
31784
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
31768
31785
|
var NoopPerfRecorder = class {
|
|
31769
31786
|
eventCount() {
|
|
31770
31787
|
}
|
|
@@ -31781,7 +31798,7 @@ var NoopPerfRecorder = class {
|
|
|
31781
31798
|
};
|
|
31782
31799
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
31783
31800
|
|
|
31784
|
-
// bazel-out/
|
|
31801
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
31785
31802
|
function mark() {
|
|
31786
31803
|
return process.hrtime();
|
|
31787
31804
|
}
|
|
@@ -31790,7 +31807,7 @@ function timeSinceInMicros(mark2) {
|
|
|
31790
31807
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
31791
31808
|
}
|
|
31792
31809
|
|
|
31793
|
-
// bazel-out/
|
|
31810
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
31794
31811
|
var ActivePerfRecorder = class {
|
|
31795
31812
|
static zeroedToNow() {
|
|
31796
31813
|
return new ActivePerfRecorder(mark());
|
|
@@ -31884,14 +31901,14 @@ var DelegatingPerfRecorder = class {
|
|
|
31884
31901
|
}
|
|
31885
31902
|
};
|
|
31886
31903
|
|
|
31887
|
-
// bazel-out/
|
|
31904
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
31888
31905
|
var ComponentScopeKind;
|
|
31889
31906
|
(function(ComponentScopeKind2) {
|
|
31890
31907
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
31891
31908
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
31892
31909
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
31893
31910
|
|
|
31894
|
-
// bazel-out/
|
|
31911
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
31895
31912
|
var CompoundComponentScopeReader = class {
|
|
31896
31913
|
constructor(readers) {
|
|
31897
31914
|
this.readers = readers;
|
|
@@ -31916,7 +31933,7 @@ var CompoundComponentScopeReader = class {
|
|
|
31916
31933
|
}
|
|
31917
31934
|
};
|
|
31918
31935
|
|
|
31919
|
-
// bazel-out/
|
|
31936
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
31920
31937
|
var MetadataDtsModuleScopeResolver = class {
|
|
31921
31938
|
constructor(dtsMetaReader, aliasingHost) {
|
|
31922
31939
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -31991,10 +32008,10 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
31991
32008
|
}
|
|
31992
32009
|
};
|
|
31993
32010
|
|
|
31994
|
-
// bazel-out/
|
|
32011
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
31995
32012
|
var import_typescript35 = __toESM(require("typescript"), 1);
|
|
31996
32013
|
|
|
31997
|
-
// bazel-out/
|
|
32014
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
31998
32015
|
function getDiagnosticNode(ref, rawExpr) {
|
|
31999
32016
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
32000
32017
|
}
|
|
@@ -32017,7 +32034,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
|
|
|
32017
32034
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
|
|
32018
32035
|
}
|
|
32019
32036
|
|
|
32020
|
-
// bazel-out/
|
|
32037
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
32021
32038
|
var LocalModuleScopeRegistry = class {
|
|
32022
32039
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
32023
32040
|
this.localReader = localReader;
|
|
@@ -32356,7 +32373,7 @@ function reexportCollision(module3, refA, refB) {
|
|
|
32356
32373
|
]);
|
|
32357
32374
|
}
|
|
32358
32375
|
|
|
32359
|
-
// bazel-out/
|
|
32376
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
32360
32377
|
var import_typescript37 = __toESM(require("typescript"), 1);
|
|
32361
32378
|
var TypeCheckScopeRegistry = class {
|
|
32362
32379
|
constructor(scopeReader, metaReader, hostDirectivesResolver) {
|
|
@@ -32424,7 +32441,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
32424
32441
|
}
|
|
32425
32442
|
};
|
|
32426
32443
|
|
|
32427
|
-
// bazel-out/
|
|
32444
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
32428
32445
|
var CompilationMode;
|
|
32429
32446
|
(function(CompilationMode2) {
|
|
32430
32447
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -32438,7 +32455,7 @@ var HandlerPrecedence;
|
|
|
32438
32455
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
32439
32456
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
32440
32457
|
|
|
32441
|
-
// bazel-out/
|
|
32458
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
32442
32459
|
var import_typescript38 = __toESM(require("typescript"), 1);
|
|
32443
32460
|
function aliasTransformFactory(exportStatements) {
|
|
32444
32461
|
return () => {
|
|
@@ -32461,10 +32478,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
32461
32478
|
};
|
|
32462
32479
|
}
|
|
32463
32480
|
|
|
32464
|
-
// bazel-out/
|
|
32481
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
32465
32482
|
var import_typescript39 = __toESM(require("typescript"), 1);
|
|
32466
32483
|
|
|
32467
|
-
// bazel-out/
|
|
32484
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
32468
32485
|
var TraitState;
|
|
32469
32486
|
(function(TraitState2) {
|
|
32470
32487
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -32521,7 +32538,7 @@ var TraitImpl = class {
|
|
|
32521
32538
|
}
|
|
32522
32539
|
};
|
|
32523
32540
|
|
|
32524
|
-
// bazel-out/
|
|
32541
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
32525
32542
|
var TraitCompiler = class {
|
|
32526
32543
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
32527
32544
|
this.handlers = handlers;
|
|
@@ -32969,10 +32986,10 @@ function containsErrors(diagnostics) {
|
|
|
32969
32986
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === import_typescript39.default.DiagnosticCategory.Error);
|
|
32970
32987
|
}
|
|
32971
32988
|
|
|
32972
|
-
// bazel-out/
|
|
32989
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
32973
32990
|
var import_typescript47 = __toESM(require("typescript"), 1);
|
|
32974
32991
|
|
|
32975
|
-
// bazel-out/
|
|
32992
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
32976
32993
|
var Context = class {
|
|
32977
32994
|
constructor(isStatement) {
|
|
32978
32995
|
this.isStatement = isStatement;
|
|
@@ -32985,7 +33002,7 @@ var Context = class {
|
|
|
32985
33002
|
}
|
|
32986
33003
|
};
|
|
32987
33004
|
|
|
32988
|
-
// bazel-out/
|
|
33005
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
32989
33006
|
var import_typescript41 = __toESM(require("typescript"), 1);
|
|
32990
33007
|
var ImportManager = class {
|
|
32991
33008
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -33021,7 +33038,7 @@ var ImportManager = class {
|
|
|
33021
33038
|
}
|
|
33022
33039
|
};
|
|
33023
33040
|
|
|
33024
|
-
// bazel-out/
|
|
33041
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
33025
33042
|
var UNARY_OPERATORS2 = /* @__PURE__ */ new Map([
|
|
33026
33043
|
[UnaryOperator.Minus, "-"],
|
|
33027
33044
|
[UnaryOperator.Plus, "+"]
|
|
@@ -33258,7 +33275,7 @@ function createRange(span) {
|
|
|
33258
33275
|
};
|
|
33259
33276
|
}
|
|
33260
33277
|
|
|
33261
|
-
// bazel-out/
|
|
33278
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
33262
33279
|
var import_typescript42 = __toESM(require("typescript"), 1);
|
|
33263
33280
|
var INELIGIBLE = {};
|
|
33264
33281
|
function canEmitType(type, canEmit) {
|
|
@@ -33333,10 +33350,10 @@ var TypeEmitter = class {
|
|
|
33333
33350
|
}
|
|
33334
33351
|
};
|
|
33335
33352
|
|
|
33336
|
-
// bazel-out/
|
|
33353
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
33337
33354
|
var import_typescript44 = __toESM(require("typescript"), 1);
|
|
33338
33355
|
|
|
33339
|
-
// bazel-out/
|
|
33356
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
33340
33357
|
var import_typescript43 = __toESM(require("typescript"), 1);
|
|
33341
33358
|
function tsNumericExpression(value) {
|
|
33342
33359
|
if (value < 0) {
|
|
@@ -33346,7 +33363,7 @@ function tsNumericExpression(value) {
|
|
|
33346
33363
|
return import_typescript43.default.factory.createNumericLiteral(value);
|
|
33347
33364
|
}
|
|
33348
33365
|
|
|
33349
|
-
// bazel-out/
|
|
33366
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
33350
33367
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
33351
33368
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
33352
33369
|
}
|
|
@@ -33560,7 +33577,7 @@ var TypeTranslatorVisitor = class {
|
|
|
33560
33577
|
}
|
|
33561
33578
|
};
|
|
33562
33579
|
|
|
33563
|
-
// bazel-out/
|
|
33580
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
33564
33581
|
var import_typescript45 = __toESM(require("typescript"), 1);
|
|
33565
33582
|
var PureAnnotation;
|
|
33566
33583
|
(function(PureAnnotation2) {
|
|
@@ -33756,7 +33773,7 @@ function attachComments(statement, leadingComments) {
|
|
|
33756
33773
|
}
|
|
33757
33774
|
}
|
|
33758
33775
|
|
|
33759
|
-
// bazel-out/
|
|
33776
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
33760
33777
|
function translateExpression(expression, imports, options = {}) {
|
|
33761
33778
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
33762
33779
|
}
|
|
@@ -33764,7 +33781,7 @@ function translateStatement(statement, imports, options = {}) {
|
|
|
33764
33781
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
|
|
33765
33782
|
}
|
|
33766
33783
|
|
|
33767
|
-
// bazel-out/
|
|
33784
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
33768
33785
|
var import_typescript46 = __toESM(require("typescript"), 1);
|
|
33769
33786
|
function addImports(importManager, sf, extraStatements = []) {
|
|
33770
33787
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -33800,7 +33817,7 @@ function isImportStatement(stmt) {
|
|
|
33800
33817
|
return import_typescript46.default.isImportDeclaration(stmt) || import_typescript46.default.isImportEqualsDeclaration(stmt) || import_typescript46.default.isNamespaceImport(stmt);
|
|
33801
33818
|
}
|
|
33802
33819
|
|
|
33803
|
-
// bazel-out/
|
|
33820
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
33804
33821
|
var DtsTransformRegistry = class {
|
|
33805
33822
|
constructor() {
|
|
33806
33823
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -33947,10 +33964,10 @@ function markForEmitAsSingleLine(node) {
|
|
|
33947
33964
|
import_typescript47.default.forEachChild(node, markForEmitAsSingleLine);
|
|
33948
33965
|
}
|
|
33949
33966
|
|
|
33950
|
-
// bazel-out/
|
|
33967
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
33951
33968
|
var import_typescript49 = __toESM(require("typescript"), 1);
|
|
33952
33969
|
|
|
33953
|
-
// bazel-out/
|
|
33970
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
33954
33971
|
var import_typescript48 = __toESM(require("typescript"), 1);
|
|
33955
33972
|
function visit(node, visitor, context) {
|
|
33956
33973
|
return visitor._visit(node, context);
|
|
@@ -34011,7 +34028,7 @@ var Visitor = class {
|
|
|
34011
34028
|
}
|
|
34012
34029
|
};
|
|
34013
34030
|
|
|
34014
|
-
// bazel-out/
|
|
34031
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
34015
34032
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
34016
34033
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
34017
34034
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -34235,7 +34252,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
34235
34252
|
return array;
|
|
34236
34253
|
}
|
|
34237
34254
|
|
|
34238
|
-
// bazel-out/
|
|
34255
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
34239
34256
|
var import_typescript50 = __toESM(require("typescript"), 1);
|
|
34240
34257
|
var EMPTY_OBJECT = {};
|
|
34241
34258
|
var QUERY_TYPES = /* @__PURE__ */ new Set([
|
|
@@ -34827,7 +34844,7 @@ function toR3InputMetadata(mapping) {
|
|
|
34827
34844
|
};
|
|
34828
34845
|
}
|
|
34829
34846
|
|
|
34830
|
-
// bazel-out/
|
|
34847
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
34831
34848
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
34832
34849
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
34833
34850
|
super(decl);
|
|
@@ -34907,7 +34924,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
34907
34924
|
return isSymbolEqual(current, previous);
|
|
34908
34925
|
}
|
|
34909
34926
|
|
|
34910
|
-
// bazel-out/
|
|
34927
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
34911
34928
|
var FIELD_DECORATORS = [
|
|
34912
34929
|
"Input",
|
|
34913
34930
|
"Output",
|
|
@@ -35019,7 +35036,9 @@ var DirectiveDecoratorHandler = class {
|
|
|
35019
35036
|
isSignal: analysis.meta.isSignal,
|
|
35020
35037
|
imports: null,
|
|
35021
35038
|
schemas: null,
|
|
35039
|
+
ngContentSelectors: null,
|
|
35022
35040
|
decorator: analysis.decorator,
|
|
35041
|
+
preserveWhitespaces: false,
|
|
35023
35042
|
assumedToExportProviders: false
|
|
35024
35043
|
}));
|
|
35025
35044
|
this.injectableRegistry.registerInjectable(node, {
|
|
@@ -35079,10 +35098,10 @@ var DirectiveDecoratorHandler = class {
|
|
|
35079
35098
|
}
|
|
35080
35099
|
};
|
|
35081
35100
|
|
|
35082
|
-
// bazel-out/
|
|
35101
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
35083
35102
|
var import_typescript52 = __toESM(require("typescript"), 1);
|
|
35084
35103
|
|
|
35085
|
-
// bazel-out/
|
|
35104
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
35086
35105
|
var import_typescript51 = __toESM(require("typescript"), 1);
|
|
35087
35106
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
35088
35107
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -35149,7 +35168,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
35149
35168
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
35150
35169
|
}
|
|
35151
35170
|
|
|
35152
|
-
// bazel-out/
|
|
35171
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
35153
35172
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
35154
35173
|
constructor(decl, hasProviders) {
|
|
35155
35174
|
super(decl);
|
|
@@ -35714,7 +35733,7 @@ function isSyntheticReference(ref) {
|
|
|
35714
35733
|
return ref.synthetic;
|
|
35715
35734
|
}
|
|
35716
35735
|
|
|
35717
|
-
// bazel-out/
|
|
35736
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
35718
35737
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
35719
35738
|
const name = ref.debugName || "(unknown)";
|
|
35720
35739
|
const path4 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -35737,7 +35756,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
35737
35756
|
return null;
|
|
35738
35757
|
}
|
|
35739
35758
|
|
|
35740
|
-
// bazel-out/
|
|
35759
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
35741
35760
|
var import_typescript54 = __toESM(require("typescript"), 1);
|
|
35742
35761
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
35743
35762
|
return declaration.isInline ? declaration.expression : declaration.templateUrlExpression;
|
|
@@ -36092,7 +36111,7 @@ function _extractTemplateStyleUrls(template2) {
|
|
|
36092
36111
|
return template2.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
|
|
36093
36112
|
}
|
|
36094
36113
|
|
|
36095
|
-
// bazel-out/
|
|
36114
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
36096
36115
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
36097
36116
|
constructor() {
|
|
36098
36117
|
super(...arguments);
|
|
@@ -36127,7 +36146,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
36127
36146
|
}
|
|
36128
36147
|
};
|
|
36129
36148
|
|
|
36130
|
-
// bazel-out/
|
|
36149
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
36131
36150
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
36132
36151
|
if (value instanceof Map) {
|
|
36133
36152
|
const name = value.get("name");
|
|
@@ -36203,7 +36222,7 @@ function isLikelyModuleWithProviders(value) {
|
|
|
36203
36222
|
return false;
|
|
36204
36223
|
}
|
|
36205
36224
|
|
|
36206
|
-
// bazel-out/
|
|
36225
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
36207
36226
|
var EMPTY_ARRAY2 = [];
|
|
36208
36227
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
36209
36228
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
@@ -36478,10 +36497,7 @@ var ComponentDecoratorHandler = class {
|
|
|
36478
36497
|
hostDirectives,
|
|
36479
36498
|
rawHostDirectives,
|
|
36480
36499
|
meta: __spreadProps(__spreadValues({}, metadata), {
|
|
36481
|
-
template:
|
|
36482
|
-
nodes: template2.nodes,
|
|
36483
|
-
ngContentSelectors: template2.ngContentSelectors
|
|
36484
|
-
},
|
|
36500
|
+
template: template2,
|
|
36485
36501
|
encapsulation,
|
|
36486
36502
|
changeDetection,
|
|
36487
36503
|
interpolation: (_c2 = template2.interpolationConfig) != null ? _c2 : DEFAULT_INTERPOLATION_CONFIG,
|
|
@@ -36525,6 +36541,7 @@ var ComponentDecoratorHandler = class {
|
|
|
36525
36541
|
return new ComponentSymbol(node, analysis.meta.selector, analysis.inputs, analysis.outputs, analysis.meta.exportAs, analysis.typeCheckMeta, typeParameters);
|
|
36526
36542
|
}
|
|
36527
36543
|
register(node, analysis) {
|
|
36544
|
+
var _a2;
|
|
36528
36545
|
const ref = new Reference2(node);
|
|
36529
36546
|
this.metaRegistry.registerDirectiveMetadata(__spreadProps(__spreadValues({
|
|
36530
36547
|
kind: MetaKind.Directive,
|
|
@@ -36548,7 +36565,9 @@ var ComponentDecoratorHandler = class {
|
|
|
36548
36565
|
animationTriggerNames: analysis.animationTriggerNames,
|
|
36549
36566
|
schemas: analysis.schemas,
|
|
36550
36567
|
decorator: analysis.decorator,
|
|
36551
|
-
assumedToExportProviders: false
|
|
36568
|
+
assumedToExportProviders: false,
|
|
36569
|
+
ngContentSelectors: analysis.template.ngContentSelectors,
|
|
36570
|
+
preserveWhitespaces: (_a2 = analysis.template.preserveWhitespaces) != null ? _a2 : false
|
|
36552
36571
|
}));
|
|
36553
36572
|
this.resourceRegistry.registerResources(analysis.resources, node);
|
|
36554
36573
|
this.injectableRegistry.registerInjectable(node, {
|
|
@@ -36587,6 +36606,7 @@ var ComponentDecoratorHandler = class {
|
|
|
36587
36606
|
return null;
|
|
36588
36607
|
}
|
|
36589
36608
|
typeCheck(ctx, node, meta) {
|
|
36609
|
+
var _a2;
|
|
36590
36610
|
if (this.typeCheckScopeRegistry === null || !import_typescript55.default.isClassDeclaration(node)) {
|
|
36591
36611
|
return;
|
|
36592
36612
|
}
|
|
@@ -36598,7 +36618,7 @@ var ComponentDecoratorHandler = class {
|
|
|
36598
36618
|
return;
|
|
36599
36619
|
}
|
|
36600
36620
|
const binder = new R3TargetBinder(scope.matcher);
|
|
36601
|
-
ctx.addTemplate(new Reference2(node), binder, meta.template.diagNodes, scope.pipes, scope.schemas, meta.template.sourceMapping, meta.template.file, meta.template.errors, meta.meta.isStandalone);
|
|
36621
|
+
ctx.addTemplate(new Reference2(node), binder, meta.template.diagNodes, scope.pipes, scope.schemas, meta.template.sourceMapping, meta.template.file, meta.template.errors, meta.meta.isStandalone, (_a2 = meta.meta.template.preserveWhitespaces) != null ? _a2 : false);
|
|
36602
36622
|
}
|
|
36603
36623
|
extendedTemplateCheck(component, extendedTemplateChecker) {
|
|
36604
36624
|
return extendedTemplateChecker.getDiagnosticsForComponent(component);
|
|
@@ -37013,7 +37033,7 @@ function validateStandaloneImports(importRefs, importExpr2, metaReader, scopeRea
|
|
|
37013
37033
|
return diagnostics;
|
|
37014
37034
|
}
|
|
37015
37035
|
|
|
37016
|
-
// bazel-out/
|
|
37036
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
37017
37037
|
var import_typescript57 = __toESM(require("typescript"), 1);
|
|
37018
37038
|
var InjectableDecoratorHandler = class {
|
|
37019
37039
|
constructor(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, perf, includeClassMetadata, compilationMode, errorOnDuplicateProv = true) {
|
|
@@ -37238,7 +37258,7 @@ function getDep(dep, reflector) {
|
|
|
37238
37258
|
return meta;
|
|
37239
37259
|
}
|
|
37240
37260
|
|
|
37241
|
-
// bazel-out/
|
|
37261
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
37242
37262
|
var import_typescript58 = __toESM(require("typescript"), 1);
|
|
37243
37263
|
var PipeSymbol = class extends SemanticSymbol {
|
|
37244
37264
|
constructor(decl, name) {
|
|
@@ -37389,7 +37409,7 @@ var PipeDecoratorHandler = class {
|
|
|
37389
37409
|
}
|
|
37390
37410
|
};
|
|
37391
37411
|
|
|
37392
|
-
// bazel-out/
|
|
37412
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
37393
37413
|
var CycleAnalyzer = class {
|
|
37394
37414
|
constructor(importGraph) {
|
|
37395
37415
|
this.importGraph = importGraph;
|
|
@@ -37460,7 +37480,7 @@ var Cycle = class {
|
|
|
37460
37480
|
}
|
|
37461
37481
|
};
|
|
37462
37482
|
|
|
37463
|
-
// bazel-out/
|
|
37483
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
37464
37484
|
var import_typescript59 = __toESM(require("typescript"), 1);
|
|
37465
37485
|
var ImportGraph = class {
|
|
37466
37486
|
constructor(checker, perf) {
|
|
@@ -37552,13 +37572,13 @@ var Found = class {
|
|
|
37552
37572
|
}
|
|
37553
37573
|
};
|
|
37554
37574
|
|
|
37555
|
-
// bazel-out/
|
|
37575
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
37556
37576
|
var import_typescript65 = __toESM(require("typescript"), 1);
|
|
37557
37577
|
|
|
37558
|
-
// bazel-out/
|
|
37578
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
37559
37579
|
var import_typescript62 = __toESM(require("typescript"), 1);
|
|
37560
37580
|
|
|
37561
|
-
// bazel-out/
|
|
37581
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
37562
37582
|
var EntryType;
|
|
37563
37583
|
(function(EntryType2) {
|
|
37564
37584
|
EntryType2["Block"] = "block";
|
|
@@ -37601,17 +37621,17 @@ var MemberTags;
|
|
|
37601
37621
|
MemberTags2["Inherited"] = "override";
|
|
37602
37622
|
})(MemberTags || (MemberTags = {}));
|
|
37603
37623
|
|
|
37604
|
-
// bazel-out/
|
|
37624
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
37605
37625
|
function isAngularPrivateName(name) {
|
|
37606
37626
|
var _a2;
|
|
37607
37627
|
const firstChar = (_a2 = name[0]) != null ? _a2 : "";
|
|
37608
37628
|
return firstChar === "\u0275" || firstChar === "_";
|
|
37609
37629
|
}
|
|
37610
37630
|
|
|
37611
|
-
// bazel-out/
|
|
37631
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
37612
37632
|
var import_typescript61 = __toESM(require("typescript"), 1);
|
|
37613
37633
|
|
|
37614
|
-
// bazel-out/
|
|
37634
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
37615
37635
|
function extractGenerics(declaration) {
|
|
37616
37636
|
var _a2, _b2;
|
|
37617
37637
|
return (_b2 = (_a2 = declaration.typeParameters) == null ? void 0 : _a2.map((typeParam) => {
|
|
@@ -37624,7 +37644,7 @@ function extractGenerics(declaration) {
|
|
|
37624
37644
|
})) != null ? _b2 : [];
|
|
37625
37645
|
}
|
|
37626
37646
|
|
|
37627
|
-
// bazel-out/
|
|
37647
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
37628
37648
|
var import_typescript60 = __toESM(require("typescript"), 1);
|
|
37629
37649
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf))/g;
|
|
37630
37650
|
function extractJsDocTags(node) {
|
|
@@ -37668,12 +37688,12 @@ function unescapeAngularDecorators(comment) {
|
|
|
37668
37688
|
return comment.replace(/_NG_AT_/g, "@");
|
|
37669
37689
|
}
|
|
37670
37690
|
|
|
37671
|
-
// bazel-out/
|
|
37691
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
37672
37692
|
function extractResolvedTypeString(node, checker) {
|
|
37673
37693
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
37674
37694
|
}
|
|
37675
37695
|
|
|
37676
|
-
// bazel-out/
|
|
37696
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
37677
37697
|
var FunctionExtractor = class {
|
|
37678
37698
|
constructor(declaration, typeChecker) {
|
|
37679
37699
|
this.declaration = declaration;
|
|
@@ -37727,7 +37747,7 @@ var FunctionExtractor = class {
|
|
|
37727
37747
|
}
|
|
37728
37748
|
};
|
|
37729
37749
|
|
|
37730
|
-
// bazel-out/
|
|
37750
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
37731
37751
|
var ClassExtractor = class {
|
|
37732
37752
|
constructor(declaration, typeChecker) {
|
|
37733
37753
|
this.declaration = declaration;
|
|
@@ -37954,7 +37974,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
37954
37974
|
return extractor.extract();
|
|
37955
37975
|
}
|
|
37956
37976
|
|
|
37957
|
-
// bazel-out/
|
|
37977
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
37958
37978
|
function extractConstant(declaration, typeChecker) {
|
|
37959
37979
|
const resolvedType = typeChecker.getBaseTypeOfLiteralType(typeChecker.getTypeAtLocation(declaration));
|
|
37960
37980
|
const variableStatement = declaration.parent.parent;
|
|
@@ -37972,7 +37992,7 @@ function isSyntheticAngularConstant(declaration) {
|
|
|
37972
37992
|
return declaration.name.getText() === "USED_FOR_NG_TYPE_CHECKING";
|
|
37973
37993
|
}
|
|
37974
37994
|
|
|
37975
|
-
// bazel-out/
|
|
37995
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
37976
37996
|
var import_typescript63 = __toESM(require("typescript"), 1);
|
|
37977
37997
|
function extractorDecorator(declaration, typeChecker) {
|
|
37978
37998
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -38045,7 +38065,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
38045
38065
|
return callSignature;
|
|
38046
38066
|
}
|
|
38047
38067
|
|
|
38048
|
-
// bazel-out/
|
|
38068
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
38049
38069
|
var import_typescript64 = __toESM(require("typescript"), 1);
|
|
38050
38070
|
function extractEnum(declaration, typeChecker) {
|
|
38051
38071
|
return {
|
|
@@ -38076,7 +38096,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
38076
38096
|
return (_a2 = literal3 == null ? void 0 : literal3.getText()) != null ? _a2 : "";
|
|
38077
38097
|
}
|
|
38078
38098
|
|
|
38079
|
-
// bazel-out/
|
|
38099
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
38080
38100
|
function extractTypeAlias(declaration) {
|
|
38081
38101
|
return {
|
|
38082
38102
|
name: declaration.name.getText(),
|
|
@@ -38088,7 +38108,7 @@ function extractTypeAlias(declaration) {
|
|
|
38088
38108
|
};
|
|
38089
38109
|
}
|
|
38090
38110
|
|
|
38091
|
-
// bazel-out/
|
|
38111
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
38092
38112
|
var DocsExtractor = class {
|
|
38093
38113
|
constructor(typeChecker, metadataReader) {
|
|
38094
38114
|
this.typeChecker = typeChecker;
|
|
@@ -38150,7 +38170,7 @@ function isIgnoredInterface(node) {
|
|
|
38150
38170
|
return node.name.getText().endsWith("Decorator") || isDecoratorOptionsInterface(node);
|
|
38151
38171
|
}
|
|
38152
38172
|
|
|
38153
|
-
// bazel-out/
|
|
38173
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
38154
38174
|
var import_typescript66 = __toESM(require("typescript"), 1);
|
|
38155
38175
|
var FlatIndexGenerator = class {
|
|
38156
38176
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -38175,7 +38195,7 @@ export * from '${relativeEntryPoint}';
|
|
|
38175
38195
|
}
|
|
38176
38196
|
};
|
|
38177
38197
|
|
|
38178
|
-
// bazel-out/
|
|
38198
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
38179
38199
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
38180
38200
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
38181
38201
|
let resolvedEntryPoint = null;
|
|
@@ -38191,7 +38211,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
38191
38211
|
return resolvedEntryPoint;
|
|
38192
38212
|
}
|
|
38193
38213
|
|
|
38194
|
-
// bazel-out/
|
|
38214
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
38195
38215
|
var import_typescript68 = __toESM(require("typescript"), 1);
|
|
38196
38216
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
38197
38217
|
const diagnostics = [];
|
|
@@ -38271,7 +38291,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
38271
38291
|
}
|
|
38272
38292
|
}
|
|
38273
38293
|
|
|
38274
|
-
// bazel-out/
|
|
38294
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
38275
38295
|
var ReferenceGraph = class {
|
|
38276
38296
|
constructor() {
|
|
38277
38297
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -38325,7 +38345,7 @@ var ReferenceGraph = class {
|
|
|
38325
38345
|
}
|
|
38326
38346
|
};
|
|
38327
38347
|
|
|
38328
|
-
// bazel-out/
|
|
38348
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
38329
38349
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
38330
38350
|
var UpdateMode;
|
|
38331
38351
|
(function(UpdateMode2) {
|
|
@@ -38333,13 +38353,13 @@ var UpdateMode;
|
|
|
38333
38353
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
38334
38354
|
})(UpdateMode || (UpdateMode = {}));
|
|
38335
38355
|
|
|
38336
|
-
// bazel-out/
|
|
38356
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
38337
38357
|
var import_typescript72 = __toESM(require("typescript"), 1);
|
|
38338
38358
|
|
|
38339
|
-
// bazel-out/
|
|
38359
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
38340
38360
|
var import_typescript69 = __toESM(require("typescript"), 1);
|
|
38341
38361
|
|
|
38342
|
-
// bazel-out/
|
|
38362
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
38343
38363
|
var NgExtension = Symbol("NgExtension");
|
|
38344
38364
|
function isExtended(sf) {
|
|
38345
38365
|
return sf[NgExtension] !== void 0;
|
|
@@ -38399,13 +38419,13 @@ function retagTsFile(sf) {
|
|
|
38399
38419
|
}
|
|
38400
38420
|
}
|
|
38401
38421
|
|
|
38402
|
-
// bazel-out/
|
|
38422
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
38403
38423
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
38404
38424
|
function makeShimFileName(fileName, suffix) {
|
|
38405
38425
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
38406
38426
|
}
|
|
38407
38427
|
|
|
38408
|
-
// bazel-out/
|
|
38428
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
38409
38429
|
var ShimAdapter = class {
|
|
38410
38430
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
38411
38431
|
this.delegate = delegate;
|
|
@@ -38500,7 +38520,7 @@ var ShimAdapter = class {
|
|
|
38500
38520
|
}
|
|
38501
38521
|
};
|
|
38502
38522
|
|
|
38503
|
-
// bazel-out/
|
|
38523
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
38504
38524
|
var ShimReferenceTagger = class {
|
|
38505
38525
|
constructor(shimExtensions) {
|
|
38506
38526
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -38534,7 +38554,7 @@ var ShimReferenceTagger = class {
|
|
|
38534
38554
|
}
|
|
38535
38555
|
};
|
|
38536
38556
|
|
|
38537
|
-
// bazel-out/
|
|
38557
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
38538
38558
|
var DelegatingCompilerHost = class {
|
|
38539
38559
|
constructor(delegate) {
|
|
38540
38560
|
this.delegate = delegate;
|
|
@@ -38648,7 +38668,7 @@ var TsCreateProgramDriver = class {
|
|
|
38648
38668
|
}
|
|
38649
38669
|
};
|
|
38650
38670
|
|
|
38651
|
-
// bazel-out/
|
|
38671
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
38652
38672
|
var FileDependencyGraph = class {
|
|
38653
38673
|
constructor() {
|
|
38654
38674
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -38715,7 +38735,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
38715
38735
|
return false;
|
|
38716
38736
|
}
|
|
38717
38737
|
|
|
38718
|
-
// bazel-out/
|
|
38738
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
38719
38739
|
var IncrementalStateKind;
|
|
38720
38740
|
(function(IncrementalStateKind2) {
|
|
38721
38741
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -38723,7 +38743,7 @@ var IncrementalStateKind;
|
|
|
38723
38743
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
38724
38744
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
38725
38745
|
|
|
38726
|
-
// bazel-out/
|
|
38746
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
38727
38747
|
var PhaseKind;
|
|
38728
38748
|
(function(PhaseKind2) {
|
|
38729
38749
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -38924,7 +38944,7 @@ function toOriginalSourceFile(sf) {
|
|
|
38924
38944
|
}
|
|
38925
38945
|
}
|
|
38926
38946
|
|
|
38927
|
-
// bazel-out/
|
|
38947
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
38928
38948
|
var TrackedIncrementalBuildStrategy = class {
|
|
38929
38949
|
constructor() {
|
|
38930
38950
|
this.state = null;
|
|
@@ -38945,7 +38965,7 @@ var TrackedIncrementalBuildStrategy = class {
|
|
|
38945
38965
|
};
|
|
38946
38966
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
38947
38967
|
|
|
38948
|
-
// bazel-out/
|
|
38968
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
38949
38969
|
var IdentifierKind;
|
|
38950
38970
|
(function(IdentifierKind2) {
|
|
38951
38971
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -38963,7 +38983,7 @@ var AbsoluteSourceSpan2 = class {
|
|
|
38963
38983
|
}
|
|
38964
38984
|
};
|
|
38965
38985
|
|
|
38966
|
-
// bazel-out/
|
|
38986
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
38967
38987
|
var IndexingContext = class {
|
|
38968
38988
|
constructor() {
|
|
38969
38989
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -38973,7 +38993,7 @@ var IndexingContext = class {
|
|
|
38973
38993
|
}
|
|
38974
38994
|
};
|
|
38975
38995
|
|
|
38976
|
-
// bazel-out/
|
|
38996
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
38977
38997
|
var ExpressionVisitor = class extends RecursiveAstVisitor2 {
|
|
38978
38998
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
38979
38999
|
super();
|
|
@@ -39254,7 +39274,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
39254
39274
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
39255
39275
|
}
|
|
39256
39276
|
|
|
39257
|
-
// bazel-out/
|
|
39277
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
39258
39278
|
function generateAnalysis(context) {
|
|
39259
39279
|
const analysis = /* @__PURE__ */ new Map();
|
|
39260
39280
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -39290,7 +39310,7 @@ function generateAnalysis(context) {
|
|
|
39290
39310
|
return analysis;
|
|
39291
39311
|
}
|
|
39292
39312
|
|
|
39293
|
-
// bazel-out/
|
|
39313
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
39294
39314
|
var NgModuleIndexImpl = class {
|
|
39295
39315
|
constructor(metaReader, localReader) {
|
|
39296
39316
|
this.metaReader = metaReader;
|
|
@@ -39379,7 +39399,7 @@ var NgModuleIndexImpl = class {
|
|
|
39379
39399
|
}
|
|
39380
39400
|
};
|
|
39381
39401
|
|
|
39382
|
-
// bazel-out/
|
|
39402
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
39383
39403
|
var import_typescript75 = __toESM(require("typescript"), 1);
|
|
39384
39404
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
39385
39405
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -39527,7 +39547,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
39527
39547
|
};
|
|
39528
39548
|
}
|
|
39529
39549
|
|
|
39530
|
-
// bazel-out/
|
|
39550
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
39531
39551
|
var StandaloneComponentScopeReader = class {
|
|
39532
39552
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
39533
39553
|
this.metaReader = metaReader;
|
|
@@ -39605,21 +39625,21 @@ var StandaloneComponentScopeReader = class {
|
|
|
39605
39625
|
}
|
|
39606
39626
|
};
|
|
39607
39627
|
|
|
39608
|
-
// bazel-out/
|
|
39628
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
39609
39629
|
var OptimizeFor;
|
|
39610
39630
|
(function(OptimizeFor2) {
|
|
39611
39631
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
39612
39632
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
39613
39633
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
39614
39634
|
|
|
39615
|
-
// bazel-out/
|
|
39635
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
39616
39636
|
var CompletionKind;
|
|
39617
39637
|
(function(CompletionKind2) {
|
|
39618
39638
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
39619
39639
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
39620
39640
|
})(CompletionKind || (CompletionKind = {}));
|
|
39621
39641
|
|
|
39622
|
-
// bazel-out/
|
|
39642
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
39623
39643
|
var PotentialImportKind;
|
|
39624
39644
|
(function(PotentialImportKind2) {
|
|
39625
39645
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -39631,7 +39651,7 @@ var PotentialImportMode;
|
|
|
39631
39651
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
39632
39652
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
39633
39653
|
|
|
39634
|
-
// bazel-out/
|
|
39654
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
39635
39655
|
var SymbolKind;
|
|
39636
39656
|
(function(SymbolKind2) {
|
|
39637
39657
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -39647,7 +39667,7 @@ var SymbolKind;
|
|
|
39647
39667
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
39648
39668
|
})(SymbolKind || (SymbolKind = {}));
|
|
39649
39669
|
|
|
39650
|
-
// bazel-out/
|
|
39670
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
39651
39671
|
var import_typescript76 = __toESM(require("typescript"), 1);
|
|
39652
39672
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
39653
39673
|
var _a2;
|
|
@@ -39754,7 +39774,7 @@ function parseTemplateAsSourceFile(fileName, template2) {
|
|
|
39754
39774
|
return import_typescript76.default.createSourceFile(fileName, template2, import_typescript76.default.ScriptTarget.Latest, false, import_typescript76.default.ScriptKind.JSX);
|
|
39755
39775
|
}
|
|
39756
39776
|
|
|
39757
|
-
// bazel-out/
|
|
39777
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
39758
39778
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
39759
39779
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
39760
39780
|
function getTemplateId(clazz) {
|
|
@@ -39771,10 +39791,10 @@ function allocateTemplateId(sf) {
|
|
|
39771
39791
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
39772
39792
|
}
|
|
39773
39793
|
|
|
39774
|
-
// bazel-out/
|
|
39794
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
39775
39795
|
var import_typescript78 = __toESM(require("typescript"), 1);
|
|
39776
39796
|
|
|
39777
|
-
// bazel-out/
|
|
39797
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
39778
39798
|
var import_typescript77 = __toESM(require("typescript"), 1);
|
|
39779
39799
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
39780
39800
|
function readSpanComment(node, sourceFile = node.getSourceFile()) {
|
|
@@ -39903,7 +39923,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
39903
39923
|
}) || false;
|
|
39904
39924
|
}
|
|
39905
39925
|
|
|
39906
|
-
// bazel-out/
|
|
39926
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
39907
39927
|
var CompletionEngine = class {
|
|
39908
39928
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
39909
39929
|
this.tcb = tcb;
|
|
@@ -40060,10 +40080,10 @@ var CompletionEngine = class {
|
|
|
40060
40080
|
}
|
|
40061
40081
|
};
|
|
40062
40082
|
|
|
40063
|
-
// bazel-out/
|
|
40083
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
40064
40084
|
var import_typescript92 = __toESM(require("typescript"), 1);
|
|
40065
40085
|
|
|
40066
|
-
// bazel-out/
|
|
40086
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
40067
40087
|
var import_typescript79 = __toESM(require("typescript"), 1);
|
|
40068
40088
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
40069
40089
|
var REMOVE_XHTML_REGEX = /^:xhtml:/;
|
|
@@ -40115,10 +40135,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
40115
40135
|
}
|
|
40116
40136
|
};
|
|
40117
40137
|
|
|
40118
|
-
// bazel-out/
|
|
40138
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
40119
40139
|
var import_typescript85 = __toESM(require("typescript"), 1);
|
|
40120
40140
|
|
|
40121
|
-
// bazel-out/
|
|
40141
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
40122
40142
|
var import_typescript80 = __toESM(require("typescript"), 1);
|
|
40123
40143
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
40124
40144
|
import_typescript80.default.SyntaxKind.ParenthesizedExpression,
|
|
@@ -40203,13 +40223,13 @@ function tsNumericExpression2(value) {
|
|
|
40203
40223
|
return import_typescript80.default.factory.createNumericLiteral(value);
|
|
40204
40224
|
}
|
|
40205
40225
|
|
|
40206
|
-
// bazel-out/
|
|
40226
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
40207
40227
|
var import_typescript84 = __toESM(require("typescript"), 1);
|
|
40208
40228
|
|
|
40209
|
-
// bazel-out/
|
|
40229
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
40210
40230
|
var import_typescript82 = __toESM(require("typescript"), 1);
|
|
40211
40231
|
|
|
40212
|
-
// bazel-out/
|
|
40232
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
40213
40233
|
var import_typescript81 = __toESM(require("typescript"), 1);
|
|
40214
40234
|
var TypeParameterEmitter = class {
|
|
40215
40235
|
constructor(typeParameters, reflector) {
|
|
@@ -40287,7 +40307,7 @@ var TypeParameterEmitter = class {
|
|
|
40287
40307
|
}
|
|
40288
40308
|
};
|
|
40289
40309
|
|
|
40290
|
-
// bazel-out/
|
|
40310
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
40291
40311
|
var TcbInliningRequirement;
|
|
40292
40312
|
(function(TcbInliningRequirement2) {
|
|
40293
40313
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -40367,7 +40387,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
40367
40387
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
40368
40388
|
}
|
|
40369
40389
|
|
|
40370
|
-
// bazel-out/
|
|
40390
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
40371
40391
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
40372
40392
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
40373
40393
|
const rawType = import_typescript84.default.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -40478,7 +40498,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
40478
40498
|
});
|
|
40479
40499
|
}
|
|
40480
40500
|
|
|
40481
|
-
// bazel-out/
|
|
40501
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
40482
40502
|
var Environment = class {
|
|
40483
40503
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
40484
40504
|
this.config = config;
|
|
@@ -40572,7 +40592,7 @@ var Environment = class {
|
|
|
40572
40592
|
}
|
|
40573
40593
|
};
|
|
40574
40594
|
|
|
40575
|
-
// bazel-out/
|
|
40595
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
40576
40596
|
var import_typescript86 = __toESM(require("typescript"), 1);
|
|
40577
40597
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
40578
40598
|
constructor(resolver) {
|
|
@@ -40718,6 +40738,20 @@ Deferred blocks can only access triggers in same view, a parent embedded view or
|
|
|
40718
40738
|
}
|
|
40719
40739
|
this._diagnostics.push(makeTemplateDiagnostic(templateId, this.resolver.getSourceMapping(templateId), trigger.sourceSpan, import_typescript86.default.DiagnosticCategory.Error, ngErrorCode(ErrorCode.INACCESSIBLE_DEFERRED_TRIGGER_ELEMENT), message));
|
|
40720
40740
|
}
|
|
40741
|
+
controlFlowPreventingContentProjection(templateId, projectionNode, componentName, slotSelector, controlFlowNode, preservesWhitespaces) {
|
|
40742
|
+
const blockName = controlFlowNode instanceof IfBlockBranch ? "@if" : "@for";
|
|
40743
|
+
const lines = [
|
|
40744
|
+
`Node matches the "${slotSelector}" slot of the "${componentName}" component, but will not be projected into the specific slot because the surrounding ${blockName} has more than one node at its root. To project the node in the right slot, you can:
|
|
40745
|
+
`,
|
|
40746
|
+
`1. Wrap the content of the ${blockName} block in an <ng-container/> that matches the "${slotSelector}" selector.`,
|
|
40747
|
+
`2. Split the content of the ${blockName} block across multiple ${blockName} blocks such that each one only has a single projectable node at its root.`,
|
|
40748
|
+
`3. Remove all content from the ${blockName} block, except for the node being projected.`
|
|
40749
|
+
];
|
|
40750
|
+
if (preservesWhitespaces) {
|
|
40751
|
+
lines.push(`Note: the host component has \`preserveWhitespaces: true\` which may cause whitespace to affect content projection.`);
|
|
40752
|
+
}
|
|
40753
|
+
this._diagnostics.push(makeTemplateDiagnostic(templateId, this.resolver.getSourceMapping(templateId), projectionNode.startSourceSpan, import_typescript86.default.DiagnosticCategory.Warning, ngErrorCode(ErrorCode.CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION), lines.join("\n")));
|
|
40754
|
+
}
|
|
40721
40755
|
};
|
|
40722
40756
|
function makeInlineDiagnostic(templateId, code, node, messageText, relatedInformation) {
|
|
40723
40757
|
return __spreadProps(__spreadValues({}, makeDiagnostic(code, node, messageText, relatedInformation)), {
|
|
@@ -40726,7 +40760,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
40726
40760
|
});
|
|
40727
40761
|
}
|
|
40728
40762
|
|
|
40729
|
-
// bazel-out/
|
|
40763
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
40730
40764
|
var import_typescript87 = __toESM(require("typescript"), 1);
|
|
40731
40765
|
var TypeCheckShimGenerator = class {
|
|
40732
40766
|
constructor() {
|
|
@@ -40744,10 +40778,10 @@ var TypeCheckShimGenerator = class {
|
|
|
40744
40778
|
}
|
|
40745
40779
|
};
|
|
40746
40780
|
|
|
40747
|
-
// bazel-out/
|
|
40781
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
40748
40782
|
var import_typescript90 = __toESM(require("typescript"), 1);
|
|
40749
40783
|
|
|
40750
|
-
// bazel-out/
|
|
40784
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
40751
40785
|
var import_typescript88 = __toESM(require("typescript"), 1);
|
|
40752
40786
|
function wrapForDiagnostics(expr) {
|
|
40753
40787
|
return import_typescript88.default.factory.createParenthesizedExpression(expr);
|
|
@@ -40792,7 +40826,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
40792
40826
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
40793
40827
|
}
|
|
40794
40828
|
|
|
40795
|
-
// bazel-out/
|
|
40829
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
40796
40830
|
var import_typescript89 = __toESM(require("typescript"), 1);
|
|
40797
40831
|
var NULL_AS_ANY = import_typescript89.default.factory.createAsExpression(import_typescript89.default.factory.createNull(), import_typescript89.default.factory.createKeywordTypeNode(import_typescript89.default.SyntaxKind.AnyKeyword));
|
|
40798
40832
|
var UNDEFINED = import_typescript89.default.factory.createIdentifier("undefined");
|
|
@@ -41124,7 +41158,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
41124
41158
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
41125
41159
|
})();
|
|
41126
41160
|
|
|
41127
|
-
// bazel-out/
|
|
41161
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
41128
41162
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
41129
41163
|
constructor(templateId, boundTarget, oob) {
|
|
41130
41164
|
super();
|
|
@@ -41147,7 +41181,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
41147
41181
|
}
|
|
41148
41182
|
};
|
|
41149
41183
|
|
|
41150
|
-
// bazel-out/
|
|
41184
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
41151
41185
|
var TcbGenericContextBehavior;
|
|
41152
41186
|
(function(TcbGenericContextBehavior2) {
|
|
41153
41187
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -41155,7 +41189,7 @@ var TcbGenericContextBehavior;
|
|
|
41155
41189
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["FallbackToAny"] = 2] = "FallbackToAny";
|
|
41156
41190
|
})(TcbGenericContextBehavior || (TcbGenericContextBehavior = {}));
|
|
41157
41191
|
function generateTypeCheckBlock(env, ref, name, meta, domSchemaChecker, oobRecorder, genericContextBehavior) {
|
|
41158
|
-
const tcb = new Context2(env, domSchemaChecker, oobRecorder, meta.id, meta.boundTarget, meta.pipes, meta.schemas, meta.isStandalone);
|
|
41192
|
+
const tcb = new Context2(env, domSchemaChecker, oobRecorder, meta.id, meta.boundTarget, meta.pipes, meta.schemas, meta.isStandalone, meta.preserveWhitespaces);
|
|
41159
41193
|
const scope = Scope3.forNodes(tcb, null, null, tcb.boundTarget.target.template, null);
|
|
41160
41194
|
const ctxRawType = env.referenceType(ref);
|
|
41161
41195
|
if (!import_typescript90.default.isTypeReferenceNode(ctxRawType)) {
|
|
@@ -41611,6 +41645,61 @@ var TcbDomSchemaCheckerOp = class extends TcbOp {
|
|
|
41611
41645
|
return null;
|
|
41612
41646
|
}
|
|
41613
41647
|
};
|
|
41648
|
+
var TcbControlFlowContentProjectionOp = class extends TcbOp {
|
|
41649
|
+
constructor(tcb, element2, ngContentSelectors, componentName) {
|
|
41650
|
+
super();
|
|
41651
|
+
this.tcb = tcb;
|
|
41652
|
+
this.element = element2;
|
|
41653
|
+
this.ngContentSelectors = ngContentSelectors;
|
|
41654
|
+
this.componentName = componentName;
|
|
41655
|
+
this.optional = false;
|
|
41656
|
+
}
|
|
41657
|
+
execute() {
|
|
41658
|
+
const controlFlowToCheck = this.findPotentialControlFlowNodes();
|
|
41659
|
+
if (controlFlowToCheck.length > 0) {
|
|
41660
|
+
const matcher = new SelectorMatcher();
|
|
41661
|
+
for (const selector of this.ngContentSelectors) {
|
|
41662
|
+
if (selector !== "*") {
|
|
41663
|
+
matcher.addSelectables(CssSelector.parse(selector), selector);
|
|
41664
|
+
}
|
|
41665
|
+
}
|
|
41666
|
+
for (const root of controlFlowToCheck) {
|
|
41667
|
+
for (const child of root.children) {
|
|
41668
|
+
if (child instanceof Element || child instanceof Template) {
|
|
41669
|
+
matcher.match(createCssSelectorFromNode(child), (_, originalSelector) => {
|
|
41670
|
+
this.tcb.oobRecorder.controlFlowPreventingContentProjection(this.tcb.id, child, this.componentName, originalSelector, root, this.tcb.hostPreserveWhitespaces);
|
|
41671
|
+
});
|
|
41672
|
+
}
|
|
41673
|
+
}
|
|
41674
|
+
}
|
|
41675
|
+
}
|
|
41676
|
+
return null;
|
|
41677
|
+
}
|
|
41678
|
+
findPotentialControlFlowNodes() {
|
|
41679
|
+
const result = [];
|
|
41680
|
+
for (const child of this.element.children) {
|
|
41681
|
+
let eligibleNode = null;
|
|
41682
|
+
if (child instanceof ForLoopBlock) {
|
|
41683
|
+
eligibleNode = child;
|
|
41684
|
+
} else if (child instanceof IfBlock) {
|
|
41685
|
+
eligibleNode = child.branches[0];
|
|
41686
|
+
}
|
|
41687
|
+
if (eligibleNode === null || eligibleNode.children.length < 2) {
|
|
41688
|
+
continue;
|
|
41689
|
+
}
|
|
41690
|
+
const rootNodeCount = eligibleNode.children.reduce((count, node) => {
|
|
41691
|
+
if (!(node instanceof Text) || this.tcb.hostPreserveWhitespaces || node.value.trim().length > 0) {
|
|
41692
|
+
count++;
|
|
41693
|
+
}
|
|
41694
|
+
return count;
|
|
41695
|
+
}, 0);
|
|
41696
|
+
if (rootNodeCount > 1) {
|
|
41697
|
+
result.push(eligibleNode);
|
|
41698
|
+
}
|
|
41699
|
+
}
|
|
41700
|
+
return result;
|
|
41701
|
+
}
|
|
41702
|
+
};
|
|
41614
41703
|
var ATTR_TO_PROP = new Map(Object.entries({
|
|
41615
41704
|
"class": "className",
|
|
41616
41705
|
"for": "htmlFor",
|
|
@@ -41944,7 +42033,7 @@ var TcbForOfOp = class extends TcbOp {
|
|
|
41944
42033
|
};
|
|
41945
42034
|
var INFER_TYPE_FOR_CIRCULAR_OP_EXPR = import_typescript90.default.factory.createNonNullExpression(import_typescript90.default.factory.createNull());
|
|
41946
42035
|
var Context2 = class {
|
|
41947
|
-
constructor(env, domSchemaChecker, oobRecorder, id, boundTarget, pipes, schemas, hostIsStandalone) {
|
|
42036
|
+
constructor(env, domSchemaChecker, oobRecorder, id, boundTarget, pipes, schemas, hostIsStandalone, hostPreserveWhitespaces) {
|
|
41948
42037
|
this.env = env;
|
|
41949
42038
|
this.domSchemaChecker = domSchemaChecker;
|
|
41950
42039
|
this.oobRecorder = oobRecorder;
|
|
@@ -41953,6 +42042,7 @@ var Context2 = class {
|
|
|
41953
42042
|
this.pipes = pipes;
|
|
41954
42043
|
this.schemas = schemas;
|
|
41955
42044
|
this.hostIsStandalone = hostIsStandalone;
|
|
42045
|
+
this.hostPreserveWhitespaces = hostPreserveWhitespaces;
|
|
41956
42046
|
this.nextId = 1;
|
|
41957
42047
|
}
|
|
41958
42048
|
allocateId() {
|
|
@@ -42105,6 +42195,7 @@ var _Scope = class {
|
|
|
42105
42195
|
if (node instanceof Element) {
|
|
42106
42196
|
const opIndex = this.opQueue.push(new TcbElementOp(this.tcb, this, node)) - 1;
|
|
42107
42197
|
this.elementOpMap.set(node, opIndex);
|
|
42198
|
+
this.appendContentProjectionCheckOp(node);
|
|
42108
42199
|
this.appendDirectivesAndInputsOfNode(node);
|
|
42109
42200
|
this.appendOutputsOfNode(node);
|
|
42110
42201
|
this.appendChildren(node);
|
|
@@ -42248,6 +42339,16 @@ var _Scope = class {
|
|
|
42248
42339
|
}
|
|
42249
42340
|
}
|
|
42250
42341
|
}
|
|
42342
|
+
appendContentProjectionCheckOp(root) {
|
|
42343
|
+
var _a2;
|
|
42344
|
+
const meta = ((_a2 = this.tcb.boundTarget.getDirectivesOfNode(root)) == null ? void 0 : _a2.find((meta2) => meta2.isComponent)) || null;
|
|
42345
|
+
if (meta !== null && meta.ngContentSelectors !== null && meta.ngContentSelectors.length > 0) {
|
|
42346
|
+
const selectors = meta.ngContentSelectors;
|
|
42347
|
+
if (selectors.length > 1 || selectors.length === 1 && selectors[0] !== "*") {
|
|
42348
|
+
this.opQueue.push(new TcbControlFlowContentProjectionOp(this.tcb, root, selectors, meta.name));
|
|
42349
|
+
}
|
|
42350
|
+
}
|
|
42351
|
+
}
|
|
42251
42352
|
appendDeferredBlock(block) {
|
|
42252
42353
|
this.appendDeferredTriggers(block, block.triggers);
|
|
42253
42354
|
this.appendDeferredTriggers(block, block.prefetchTriggers);
|
|
@@ -42533,7 +42634,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
42533
42634
|
}
|
|
42534
42635
|
};
|
|
42535
42636
|
|
|
42536
|
-
// bazel-out/
|
|
42637
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
42537
42638
|
var import_typescript91 = __toESM(require("typescript"), 1);
|
|
42538
42639
|
var TypeCheckFile = class extends Environment {
|
|
42539
42640
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -42569,7 +42670,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
42569
42670
|
}
|
|
42570
42671
|
};
|
|
42571
42672
|
|
|
42572
|
-
// bazel-out/
|
|
42673
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
42573
42674
|
var InliningMode;
|
|
42574
42675
|
(function(InliningMode2) {
|
|
42575
42676
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -42591,7 +42692,7 @@ var TypeCheckContextImpl = class {
|
|
|
42591
42692
|
throw new Error(`AssertionError: invalid inlining configuration.`);
|
|
42592
42693
|
}
|
|
42593
42694
|
}
|
|
42594
|
-
addTemplate(ref, binder, template2, pipes, schemas, sourceMapping, file, parseErrors, isStandalone) {
|
|
42695
|
+
addTemplate(ref, binder, template2, pipes, schemas, sourceMapping, file, parseErrors, isStandalone, preserveWhitespaces) {
|
|
42595
42696
|
if (!this.host.shouldCheckComponent(ref.node)) {
|
|
42596
42697
|
return;
|
|
42597
42698
|
}
|
|
@@ -42644,7 +42745,8 @@ var TypeCheckContextImpl = class {
|
|
|
42644
42745
|
boundTarget,
|
|
42645
42746
|
pipes,
|
|
42646
42747
|
schemas,
|
|
42647
|
-
isStandalone
|
|
42748
|
+
isStandalone,
|
|
42749
|
+
preserveWhitespaces
|
|
42648
42750
|
};
|
|
42649
42751
|
this.perf.eventCount(PerfEvent.GenerateTcb);
|
|
42650
42752
|
if (inliningRequirement !== TcbInliningRequirement.None && this.inlining === InliningMode.InlineOps) {
|
|
@@ -42806,7 +42908,7 @@ function splitStringAtPoints(str, points) {
|
|
|
42806
42908
|
return splits;
|
|
42807
42909
|
}
|
|
42808
42910
|
|
|
42809
|
-
// bazel-out/
|
|
42911
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
42810
42912
|
var LF_CHAR = 10;
|
|
42811
42913
|
var CR_CHAR = 13;
|
|
42812
42914
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -42847,7 +42949,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
42847
42949
|
return low - 1;
|
|
42848
42950
|
}
|
|
42849
42951
|
|
|
42850
|
-
// bazel-out/
|
|
42952
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
42851
42953
|
var TemplateSource = class {
|
|
42852
42954
|
constructor(mapping, file) {
|
|
42853
42955
|
this.mapping = mapping;
|
|
@@ -42898,7 +43000,7 @@ var TemplateSourceManager = class {
|
|
|
42898
43000
|
}
|
|
42899
43001
|
};
|
|
42900
43002
|
|
|
42901
|
-
// bazel-out/
|
|
43003
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
42902
43004
|
var import_typescript93 = __toESM(require("typescript"), 1);
|
|
42903
43005
|
var SymbolBuilder = class {
|
|
42904
43006
|
constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
|
|
@@ -43375,7 +43477,7 @@ function sourceSpanEqual(a, b) {
|
|
|
43375
43477
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
43376
43478
|
}
|
|
43377
43479
|
|
|
43378
|
-
// bazel-out/
|
|
43480
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
43379
43481
|
var REGISTRY2 = new DomElementSchemaRegistry();
|
|
43380
43482
|
var TemplateTypeCheckerImpl = class {
|
|
43381
43483
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -44071,7 +44173,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
44071
44173
|
}
|
|
44072
44174
|
};
|
|
44073
44175
|
|
|
44074
|
-
// bazel-out/
|
|
44176
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
44075
44177
|
var TemplateCheckWithVisitor = class {
|
|
44076
44178
|
run(ctx, component, template2) {
|
|
44077
44179
|
const visitor = new TemplateVisitor2(ctx, component, this);
|
|
@@ -44194,7 +44296,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
44194
44296
|
}
|
|
44195
44297
|
};
|
|
44196
44298
|
|
|
44197
|
-
// bazel-out/
|
|
44299
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
44198
44300
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
44199
44301
|
constructor() {
|
|
44200
44302
|
super(...arguments);
|
|
@@ -44229,7 +44331,7 @@ var factory = {
|
|
|
44229
44331
|
create: () => new InterpolatedSignalCheck()
|
|
44230
44332
|
};
|
|
44231
44333
|
|
|
44232
|
-
// bazel-out/
|
|
44334
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
44233
44335
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
44234
44336
|
constructor() {
|
|
44235
44337
|
super(...arguments);
|
|
@@ -44254,7 +44356,7 @@ var factory2 = {
|
|
|
44254
44356
|
create: () => new InvalidBananaInBoxCheck()
|
|
44255
44357
|
};
|
|
44256
44358
|
|
|
44257
|
-
// bazel-out/
|
|
44359
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
44258
44360
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
44259
44361
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
44260
44362
|
["ngFor", { directive: "NgFor", builtIn: "@for" }],
|
|
@@ -44298,7 +44400,7 @@ var factory3 = {
|
|
|
44298
44400
|
}
|
|
44299
44401
|
};
|
|
44300
44402
|
|
|
44301
|
-
// bazel-out/
|
|
44403
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
44302
44404
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
44303
44405
|
constructor() {
|
|
44304
44406
|
super(...arguments);
|
|
@@ -44330,7 +44432,7 @@ var factory4 = {
|
|
|
44330
44432
|
create: () => new MissingNgForOfLetCheck()
|
|
44331
44433
|
};
|
|
44332
44434
|
|
|
44333
|
-
// bazel-out/
|
|
44435
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
44334
44436
|
var import_typescript96 = __toESM(require("typescript"), 1);
|
|
44335
44437
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
44336
44438
|
constructor() {
|
|
@@ -44374,7 +44476,7 @@ var factory5 = {
|
|
|
44374
44476
|
}
|
|
44375
44477
|
};
|
|
44376
44478
|
|
|
44377
|
-
// bazel-out/
|
|
44479
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
44378
44480
|
var import_typescript97 = __toESM(require("typescript"), 1);
|
|
44379
44481
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
44380
44482
|
constructor() {
|
|
@@ -44419,7 +44521,7 @@ var factory6 = {
|
|
|
44419
44521
|
}
|
|
44420
44522
|
};
|
|
44421
44523
|
|
|
44422
|
-
// bazel-out/
|
|
44524
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
44423
44525
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
44424
44526
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
44425
44527
|
constructor() {
|
|
@@ -44442,7 +44544,7 @@ var factory7 = {
|
|
|
44442
44544
|
create: () => new SuffixNotSupportedCheck()
|
|
44443
44545
|
};
|
|
44444
44546
|
|
|
44445
|
-
// bazel-out/
|
|
44547
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
44446
44548
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
44447
44549
|
constructor() {
|
|
44448
44550
|
super(...arguments);
|
|
@@ -44480,10 +44582,10 @@ var factory8 = {
|
|
|
44480
44582
|
create: () => new TextAttributeNotBindingSpec()
|
|
44481
44583
|
};
|
|
44482
44584
|
|
|
44483
|
-
// bazel-out/
|
|
44585
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
44484
44586
|
var import_typescript98 = __toESM(require("typescript"), 1);
|
|
44485
44587
|
|
|
44486
|
-
// bazel-out/
|
|
44588
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
44487
44589
|
var DiagnosticCategoryLabel;
|
|
44488
44590
|
(function(DiagnosticCategoryLabel2) {
|
|
44489
44591
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -44491,7 +44593,7 @@ var DiagnosticCategoryLabel;
|
|
|
44491
44593
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
44492
44594
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
44493
44595
|
|
|
44494
|
-
// bazel-out/
|
|
44596
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
44495
44597
|
var ExtendedTemplateCheckerImpl = class {
|
|
44496
44598
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
44497
44599
|
var _a2, _b2, _c2, _d2, _e2;
|
|
@@ -44543,7 +44645,7 @@ function assertNever(value) {
|
|
|
44543
44645
|
${value}`);
|
|
44544
44646
|
}
|
|
44545
44647
|
|
|
44546
|
-
// bazel-out/
|
|
44648
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
44547
44649
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
44548
44650
|
factory2,
|
|
44549
44651
|
factory5,
|
|
@@ -44555,7 +44657,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
44555
44657
|
factory
|
|
44556
44658
|
];
|
|
44557
44659
|
|
|
44558
|
-
// bazel-out/
|
|
44660
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
44559
44661
|
var CompilationTicketKind;
|
|
44560
44662
|
(function(CompilationTicketKind2) {
|
|
44561
44663
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -45299,9 +45401,15 @@ function versionMapFromProgram(program, driver) {
|
|
|
45299
45401
|
return versions;
|
|
45300
45402
|
}
|
|
45301
45403
|
|
|
45302
|
-
// bazel-out/
|
|
45404
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
45303
45405
|
var import_typescript101 = __toESM(require("typescript"), 1);
|
|
45304
45406
|
var DelegatingCompilerHost2 = class {
|
|
45407
|
+
get jsDocParsingMode() {
|
|
45408
|
+
return this.delegate.jsDocParsingMode;
|
|
45409
|
+
}
|
|
45410
|
+
set jsDocParsingMode(mode) {
|
|
45411
|
+
this.delegate.jsDocParsingMode = mode;
|
|
45412
|
+
}
|
|
45305
45413
|
constructor(delegate) {
|
|
45306
45414
|
this.delegate = delegate;
|
|
45307
45415
|
this.createHash = this.delegateMethod("createHash");
|
|
@@ -45333,7 +45441,6 @@ var DelegatingCompilerHost2 = class {
|
|
|
45333
45441
|
this.hasInvalidatedResolutions = this.delegateMethod("hasInvalidatedResolutions");
|
|
45334
45442
|
this.resolveModuleNameLiterals = this.delegateMethod("resolveModuleNameLiterals");
|
|
45335
45443
|
this.resolveTypeReferenceDirectiveReferences = this.delegateMethod("resolveTypeReferenceDirectiveReferences");
|
|
45336
|
-
this.jsDocParsingMode = this.delegateMethod("jsDocParsingMode");
|
|
45337
45444
|
}
|
|
45338
45445
|
delegateMethod(name) {
|
|
45339
45446
|
return this.delegate[name] !== void 0 ? this.delegate[name].bind(this.delegate) : void 0;
|
|
@@ -45404,12 +45511,12 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
45404
45511
|
isResource(sf) {
|
|
45405
45512
|
return false;
|
|
45406
45513
|
}
|
|
45407
|
-
getSourceFile(fileName,
|
|
45514
|
+
getSourceFile(fileName, languageVersionOrOptions, onError, shouldCreateNewSourceFile) {
|
|
45408
45515
|
const shimSf = this.shimAdapter.maybeGenerate(resolve(fileName));
|
|
45409
45516
|
if (shimSf !== null) {
|
|
45410
45517
|
return shimSf;
|
|
45411
45518
|
}
|
|
45412
|
-
const sf = this.delegate.getSourceFile(fileName,
|
|
45519
|
+
const sf = this.delegate.getSourceFile(fileName, languageVersionOrOptions, onError, shouldCreateNewSourceFile);
|
|
45413
45520
|
if (sf === void 0) {
|
|
45414
45521
|
return void 0;
|
|
45415
45522
|
}
|
|
@@ -45433,7 +45540,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
45433
45540
|
}
|
|
45434
45541
|
};
|
|
45435
45542
|
|
|
45436
|
-
// bazel-out/
|
|
45543
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
45437
45544
|
var NgtscProgram = class {
|
|
45438
45545
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
45439
45546
|
this.options = options;
|
|
@@ -45660,21 +45767,21 @@ function mergeEmitResults(emitResults) {
|
|
|
45660
45767
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
45661
45768
|
}
|
|
45662
45769
|
|
|
45663
|
-
// bazel-out/
|
|
45770
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
45664
45771
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
45665
45772
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
45666
45773
|
}
|
|
45667
45774
|
|
|
45668
|
-
// bazel-out/
|
|
45775
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
45669
45776
|
var import_typescript105 = __toESM(require("typescript"), 1);
|
|
45670
45777
|
|
|
45671
|
-
// bazel-out/
|
|
45778
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
45672
45779
|
var import_typescript104 = __toESM(require("typescript"), 1);
|
|
45673
45780
|
|
|
45674
|
-
// bazel-out/
|
|
45781
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
45675
45782
|
var import_typescript106 = __toESM(require("typescript"), 1);
|
|
45676
45783
|
|
|
45677
|
-
// bazel-out/
|
|
45784
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
45678
45785
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
45679
45786
|
ngDevMode: false,
|
|
45680
45787
|
ngI18nClosureMode: false
|
|
@@ -45683,7 +45790,7 @@ var GLOBAL_DEFS_FOR_TERSER_WITH_AOT = __spreadProps(__spreadValues({}, GLOBAL_DE
|
|
|
45683
45790
|
ngJitMode: false
|
|
45684
45791
|
});
|
|
45685
45792
|
|
|
45686
|
-
// bazel-out/
|
|
45793
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
45687
45794
|
var LogLevel;
|
|
45688
45795
|
(function(LogLevel2) {
|
|
45689
45796
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -45692,7 +45799,7 @@ var LogLevel;
|
|
|
45692
45799
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
45693
45800
|
})(LogLevel || (LogLevel = {}));
|
|
45694
45801
|
|
|
45695
|
-
// bazel-out/
|
|
45802
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
45696
45803
|
var RESET = "\x1B[0m";
|
|
45697
45804
|
var RED = "\x1B[31m";
|
|
45698
45805
|
var YELLOW = "\x1B[33m";
|
|
@@ -45701,18 +45808,18 @@ var DEBUG = `${BLUE}Debug:${RESET}`;
|
|
|
45701
45808
|
var WARN = `${YELLOW}Warning:${RESET}`;
|
|
45702
45809
|
var ERROR = `${RED}Error:${RESET}`;
|
|
45703
45810
|
|
|
45704
|
-
// bazel-out/
|
|
45811
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
45705
45812
|
setFileSystem(new NodeJSFileSystem());
|
|
45706
45813
|
|
|
45707
|
-
// bazel-out/
|
|
45814
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
45708
45815
|
var import_fs2 = require("fs");
|
|
45709
45816
|
var import_path8 = require("path");
|
|
45710
45817
|
var import_typescript119 = __toESM(require("typescript"), 1);
|
|
45711
45818
|
|
|
45712
|
-
// bazel-out/
|
|
45819
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
45713
45820
|
var import_typescript108 = __toESM(require("typescript"), 1);
|
|
45714
45821
|
|
|
45715
|
-
// bazel-out/
|
|
45822
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
|
|
45716
45823
|
var import_path4 = require("path");
|
|
45717
45824
|
var import_typescript107 = __toESM(require("typescript"), 1);
|
|
45718
45825
|
var ImportManager2 = class {
|
|
@@ -45896,7 +46003,7 @@ ${text2}`;
|
|
|
45896
46003
|
}
|
|
45897
46004
|
};
|
|
45898
46005
|
|
|
45899
|
-
// bazel-out/
|
|
46006
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
45900
46007
|
var ChangeTracker = class {
|
|
45901
46008
|
constructor(_printer, _importRemapper) {
|
|
45902
46009
|
__publicField(this, "_printer");
|
|
@@ -45955,7 +46062,7 @@ function normalizePath(path4) {
|
|
|
45955
46062
|
return path4.replace(/\\/g, "/");
|
|
45956
46063
|
}
|
|
45957
46064
|
|
|
45958
|
-
// bazel-out/
|
|
46065
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
45959
46066
|
var import_core16 = require("@angular-devkit/core");
|
|
45960
46067
|
function getProjectTsConfigPaths(tree) {
|
|
45961
46068
|
return __async(this, null, function* () {
|
|
@@ -46035,11 +46142,11 @@ function getWorkspace(tree) {
|
|
|
46035
46142
|
});
|
|
46036
46143
|
}
|
|
46037
46144
|
|
|
46038
|
-
// bazel-out/
|
|
46145
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
46039
46146
|
var import_path5 = require("path");
|
|
46040
46147
|
var import_typescript110 = __toESM(require("typescript"), 1);
|
|
46041
46148
|
|
|
46042
|
-
// bazel-out/
|
|
46149
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
46043
46150
|
var path3 = __toESM(require("path"), 1);
|
|
46044
46151
|
var import_typescript109 = __toESM(require("typescript"), 1);
|
|
46045
46152
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -46056,7 +46163,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
46056
46163
|
return import_typescript109.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
46057
46164
|
}
|
|
46058
46165
|
|
|
46059
|
-
// bazel-out/
|
|
46166
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
46060
46167
|
function createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles, optionOverrides) {
|
|
46061
46168
|
tsconfigPath = (0, import_path5.resolve)(basePath, tsconfigPath);
|
|
46062
46169
|
const parsed = parseTsconfigFile(tsconfigPath, (0, import_path5.dirname)(tsconfigPath));
|
|
@@ -46085,13 +46192,13 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
46085
46192
|
return !(0, import_path5.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
46086
46193
|
}
|
|
46087
46194
|
|
|
46088
|
-
// bazel-out/
|
|
46195
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
46089
46196
|
var import_typescript115 = __toESM(require("typescript"), 1);
|
|
46090
46197
|
|
|
46091
|
-
// bazel-out/
|
|
46198
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
46092
46199
|
var import_typescript112 = __toESM(require("typescript"), 1);
|
|
46093
46200
|
|
|
46094
|
-
// bazel-out/
|
|
46201
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
|
|
46095
46202
|
var import_typescript111 = __toESM(require("typescript"), 1);
|
|
46096
46203
|
function getImportOfIdentifier(typeChecker, node) {
|
|
46097
46204
|
const symbol = typeChecker.getSymbolAtLocation(node);
|
|
@@ -46142,7 +46249,7 @@ function findImportSpecifier(nodes, specifierName) {
|
|
|
46142
46249
|
});
|
|
46143
46250
|
}
|
|
46144
46251
|
|
|
46145
|
-
// bazel-out/
|
|
46252
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
46146
46253
|
function getCallDecoratorImport(typeChecker, decorator) {
|
|
46147
46254
|
if (!import_typescript112.default.isCallExpression(decorator.expression) || !import_typescript112.default.isIdentifier(decorator.expression.expression)) {
|
|
46148
46255
|
return null;
|
|
@@ -46151,7 +46258,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
|
|
|
46151
46258
|
return getImportOfIdentifier(typeChecker, identifier);
|
|
46152
46259
|
}
|
|
46153
46260
|
|
|
46154
|
-
// bazel-out/
|
|
46261
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
|
|
46155
46262
|
function getAngularDecorators(typeChecker, decorators) {
|
|
46156
46263
|
return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
|
|
46157
46264
|
node,
|
|
@@ -46161,7 +46268,7 @@ function getAngularDecorators(typeChecker, decorators) {
|
|
|
46161
46268
|
}));
|
|
46162
46269
|
}
|
|
46163
46270
|
|
|
46164
|
-
// bazel-out/
|
|
46271
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
|
|
46165
46272
|
var import_typescript113 = __toESM(require("typescript"), 1);
|
|
46166
46273
|
function closestNode(node, predicate) {
|
|
46167
46274
|
let current = node.parent;
|
|
@@ -46174,7 +46281,7 @@ function closestNode(node, predicate) {
|
|
|
46174
46281
|
return null;
|
|
46175
46282
|
}
|
|
46176
46283
|
|
|
46177
|
-
// bazel-out/
|
|
46284
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
|
|
46178
46285
|
var import_path6 = require("path");
|
|
46179
46286
|
var import_typescript114 = __toESM(require("typescript"), 1);
|
|
46180
46287
|
var UniqueItemTracker = class {
|
|
@@ -46350,7 +46457,7 @@ function isClassReferenceInAngularModule(node, className, moduleName, typeChecke
|
|
|
46350
46457
|
}));
|
|
46351
46458
|
}
|
|
46352
46459
|
|
|
46353
|
-
// bazel-out/
|
|
46460
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
46354
46461
|
function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles) {
|
|
46355
46462
|
const filesToRemove = /* @__PURE__ */ new Set();
|
|
46356
46463
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
@@ -46549,14 +46656,14 @@ function findNgModuleDecorator(node, typeChecker) {
|
|
|
46549
46656
|
return decorators.find((decorator) => decorator.name === "NgModule") || null;
|
|
46550
46657
|
}
|
|
46551
46658
|
|
|
46552
|
-
// bazel-out/
|
|
46659
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
46553
46660
|
var import_path7 = require("path");
|
|
46554
46661
|
var import_typescript118 = __toESM(require("typescript"), 1);
|
|
46555
46662
|
|
|
46556
|
-
// bazel-out/
|
|
46663
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
46557
46664
|
var import_typescript117 = __toESM(require("typescript"), 1);
|
|
46558
46665
|
|
|
46559
|
-
// bazel-out/
|
|
46666
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
|
|
46560
46667
|
var import_typescript116 = __toESM(require("typescript"), 1);
|
|
46561
46668
|
function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
46562
46669
|
var _a2, _b2;
|
|
@@ -46565,7 +46672,7 @@ function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
|
46565
46672
|
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];
|
|
46566
46673
|
}
|
|
46567
46674
|
|
|
46568
|
-
// bazel-out/
|
|
46675
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
46569
46676
|
function toStandalone(sourceFiles, program, printer, fileImportRemapper, componentImportRemapper) {
|
|
46570
46677
|
const templateTypeChecker = program.compiler.getTemplateTypeChecker();
|
|
46571
46678
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -46928,7 +47035,7 @@ function isStandaloneDeclaration(node, declarationsInMigration, templateTypeChec
|
|
|
46928
47035
|
return metadata != null && metadata.isStandalone;
|
|
46929
47036
|
}
|
|
46930
47037
|
|
|
46931
|
-
// bazel-out/
|
|
47038
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
46932
47039
|
function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles, componentImportRemapper) {
|
|
46933
47040
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
46934
47041
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -47305,7 +47412,7 @@ function hasImport(program, rootFileNames, moduleName) {
|
|
|
47305
47412
|
return false;
|
|
47306
47413
|
}
|
|
47307
47414
|
|
|
47308
|
-
// bazel-out/
|
|
47415
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
47309
47416
|
var MigrationMode;
|
|
47310
47417
|
(function(MigrationMode2) {
|
|
47311
47418
|
MigrationMode2["toStandalone"] = "convert-to-standalone";
|