@angular/core 17.0.4 → 17.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/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 +307 -302
- 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 +510 -382
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +4 -4
- package/schematics/ng-generate/standalone-migration/bundle.js +571 -560
- 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,7 @@ function getInjectFn(target) {
|
|
|
3997
3997
|
}
|
|
3998
3998
|
}
|
|
3999
3999
|
|
|
4000
|
-
// bazel-out/
|
|
4000
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
4001
4001
|
var Comment = class {
|
|
4002
4002
|
constructor(value, sourceSpan) {
|
|
4003
4003
|
this.value = value;
|
|
@@ -4451,7 +4451,7 @@ function visitAll(visitor, nodes) {
|
|
|
4451
4451
|
return result;
|
|
4452
4452
|
}
|
|
4453
4453
|
|
|
4454
|
-
// bazel-out/
|
|
4454
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
4455
4455
|
var Message = class {
|
|
4456
4456
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
4457
4457
|
this.nodes = nodes;
|
|
@@ -4640,7 +4640,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
4640
4640
|
}
|
|
4641
4641
|
};
|
|
4642
4642
|
|
|
4643
|
-
// bazel-out/
|
|
4643
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
|
|
4644
4644
|
var Serializer = class {
|
|
4645
4645
|
createNameMapper(message) {
|
|
4646
4646
|
return null;
|
|
@@ -4697,7 +4697,7 @@ var SimplePlaceholderMapper = class extends RecurseVisitor {
|
|
|
4697
4697
|
}
|
|
4698
4698
|
};
|
|
4699
4699
|
|
|
4700
|
-
// bazel-out/
|
|
4700
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
4701
4701
|
var _Visitor = class {
|
|
4702
4702
|
visitTag(tag) {
|
|
4703
4703
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -4785,7 +4785,7 @@ function escapeXml(text2) {
|
|
|
4785
4785
|
return _ESCAPED_CHARS.reduce((text3, entry) => text3.replace(entry[0], entry[1]), text2);
|
|
4786
4786
|
}
|
|
4787
4787
|
|
|
4788
|
-
// bazel-out/
|
|
4788
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
4789
4789
|
var _MESSAGES_TAG = "messagebundle";
|
|
4790
4790
|
var _MESSAGE_TAG = "msg";
|
|
4791
4791
|
var _PLACEHOLDER_TAG = "ph";
|
|
@@ -4937,7 +4937,7 @@ function toPublicName(internalName) {
|
|
|
4937
4937
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
4938
4938
|
}
|
|
4939
4939
|
|
|
4940
|
-
// bazel-out/
|
|
4940
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
4941
4941
|
var CLOSURE_TRANSLATION_VAR_PREFIX = "MSG_";
|
|
4942
4942
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
4943
4943
|
var I18N_ATTR = "i18n";
|
|
@@ -5039,7 +5039,7 @@ function declareI18nVariable(variable2) {
|
|
|
5039
5039
|
return new DeclareVarStmt(variable2.name, void 0, INFERRED_TYPE, void 0, variable2.sourceSpan);
|
|
5040
5040
|
}
|
|
5041
5041
|
|
|
5042
|
-
// bazel-out/
|
|
5042
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
5043
5043
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
5044
5044
|
var TEMPORARY_NAME = "_t";
|
|
5045
5045
|
var CONTEXT_NAME = "ctx";
|
|
@@ -5262,7 +5262,7 @@ function getInstructionStatements(instructions) {
|
|
|
5262
5262
|
return statements;
|
|
5263
5263
|
}
|
|
5264
5264
|
|
|
5265
|
-
// bazel-out/
|
|
5265
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
5266
5266
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
5267
5267
|
let result = null;
|
|
5268
5268
|
const factoryMeta = {
|
|
@@ -5347,7 +5347,7 @@ function createFactoryFunction(type) {
|
|
|
5347
5347
|
return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
|
|
5348
5348
|
}
|
|
5349
5349
|
|
|
5350
|
-
// bazel-out/
|
|
5350
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
5351
5351
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
5352
5352
|
/^\s*$/,
|
|
5353
5353
|
/[<>]/,
|
|
@@ -5369,7 +5369,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
5369
5369
|
}
|
|
5370
5370
|
}
|
|
5371
5371
|
|
|
5372
|
-
// bazel-out/
|
|
5372
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
|
|
5373
5373
|
var InterpolationConfig = class {
|
|
5374
5374
|
static fromArray(markers) {
|
|
5375
5375
|
if (!markers) {
|
|
@@ -5386,7 +5386,7 @@ var InterpolationConfig = class {
|
|
|
5386
5386
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
5387
5387
|
var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
|
|
5388
5388
|
|
|
5389
|
-
// bazel-out/
|
|
5389
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
5390
5390
|
var $EOF = 0;
|
|
5391
5391
|
var $BSPACE = 8;
|
|
5392
5392
|
var $TAB = 9;
|
|
@@ -5468,7 +5468,7 @@ function isQuote(code) {
|
|
|
5468
5468
|
return code === $SQ || code === $DQ || code === $BT;
|
|
5469
5469
|
}
|
|
5470
5470
|
|
|
5471
|
-
// bazel-out/
|
|
5471
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
5472
5472
|
var ParseLocation = class {
|
|
5473
5473
|
constructor(file, offset, line, col) {
|
|
5474
5474
|
this.file = file;
|
|
@@ -5615,7 +5615,7 @@ function sanitizeIdentifier(name) {
|
|
|
5615
5615
|
return name.replace(/\W/g, "_");
|
|
5616
5616
|
}
|
|
5617
5617
|
|
|
5618
|
-
// bazel-out/
|
|
5618
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
5619
5619
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
5620
5620
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
5621
5621
|
constructor() {
|
|
@@ -5708,7 +5708,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
5708
5708
|
}
|
|
5709
5709
|
};
|
|
5710
5710
|
|
|
5711
|
-
// bazel-out/
|
|
5711
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
5712
5712
|
var policy;
|
|
5713
5713
|
function getPolicy() {
|
|
5714
5714
|
if (policy === void 0) {
|
|
@@ -5746,7 +5746,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
5746
5746
|
return fn2.bind(_global);
|
|
5747
5747
|
}
|
|
5748
5748
|
|
|
5749
|
-
// bazel-out/
|
|
5749
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
5750
5750
|
var JitEvaluator = class {
|
|
5751
5751
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
5752
5752
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -5837,7 +5837,7 @@ function isUseStrictStatement(statement) {
|
|
|
5837
5837
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
5838
5838
|
}
|
|
5839
5839
|
|
|
5840
|
-
// bazel-out/
|
|
5840
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
5841
5841
|
function compileInjector(meta) {
|
|
5842
5842
|
const definitionMap = new DefinitionMap();
|
|
5843
5843
|
if (meta.providers !== null) {
|
|
@@ -5854,7 +5854,7 @@ function createInjectorType(meta) {
|
|
|
5854
5854
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
5855
5855
|
}
|
|
5856
5856
|
|
|
5857
|
-
// bazel-out/
|
|
5857
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
5858
5858
|
var R3JitReflector = class {
|
|
5859
5859
|
constructor(context) {
|
|
5860
5860
|
this.context = context;
|
|
@@ -5870,7 +5870,7 @@ var R3JitReflector = class {
|
|
|
5870
5870
|
}
|
|
5871
5871
|
};
|
|
5872
5872
|
|
|
5873
|
-
// bazel-out/
|
|
5873
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
5874
5874
|
var R3SelectorScopeMode;
|
|
5875
5875
|
(function(R3SelectorScopeMode2) {
|
|
5876
5876
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -6011,7 +6011,7 @@ function tupleOfTypes(types) {
|
|
|
6011
6011
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
6012
6012
|
}
|
|
6013
6013
|
|
|
6014
|
-
// bazel-out/
|
|
6014
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
6015
6015
|
function compilePipeFromMetadata(metadata) {
|
|
6016
6016
|
const definitionMapValues = [];
|
|
6017
6017
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -6032,7 +6032,7 @@ function createPipeType(metadata) {
|
|
|
6032
6032
|
]));
|
|
6033
6033
|
}
|
|
6034
6034
|
|
|
6035
|
-
// bazel-out/
|
|
6035
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
6036
6036
|
var R3TemplateDependencyKind;
|
|
6037
6037
|
(function(R3TemplateDependencyKind2) {
|
|
6038
6038
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -6040,7 +6040,7 @@ var R3TemplateDependencyKind;
|
|
|
6040
6040
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
6041
6041
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
6042
6042
|
|
|
6043
|
-
// bazel-out/
|
|
6043
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
6044
6044
|
var ParserError = class {
|
|
6045
6045
|
constructor(message, input, errLocation, ctxLocation) {
|
|
6046
6046
|
this.input = input;
|
|
@@ -6706,7 +6706,7 @@ var BoundElementProperty = class {
|
|
|
6706
6706
|
}
|
|
6707
6707
|
};
|
|
6708
6708
|
|
|
6709
|
-
// bazel-out/
|
|
6709
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
|
|
6710
6710
|
var _EventHandlerVars = class {
|
|
6711
6711
|
};
|
|
6712
6712
|
var EventHandlerVars = _EventHandlerVars;
|
|
@@ -7347,7 +7347,7 @@ var BuiltinFunctionCall = class extends Call {
|
|
|
7347
7347
|
}
|
|
7348
7348
|
};
|
|
7349
7349
|
|
|
7350
|
-
// bazel-out/
|
|
7350
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
7351
7351
|
var _SECURITY_SCHEMA;
|
|
7352
7352
|
function SECURITY_SCHEMA() {
|
|
7353
7353
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -7405,7 +7405,7 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
7405
7405
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
7406
7406
|
}
|
|
7407
7407
|
|
|
7408
|
-
// bazel-out/
|
|
7408
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
7409
7409
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
7410
7410
|
"inherit",
|
|
7411
7411
|
"initial",
|
|
@@ -7876,7 +7876,7 @@ function repeatGroups(groups, multiples) {
|
|
|
7876
7876
|
}
|
|
7877
7877
|
}
|
|
7878
7878
|
|
|
7879
|
-
// bazel-out/
|
|
7879
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
7880
7880
|
var OpKind;
|
|
7881
7881
|
(function(OpKind2) {
|
|
7882
7882
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -8030,8 +8030,13 @@ var DerivedRepeaterVarIdentity;
|
|
|
8030
8030
|
DerivedRepeaterVarIdentity2[DerivedRepeaterVarIdentity2["Even"] = 2] = "Even";
|
|
8031
8031
|
DerivedRepeaterVarIdentity2[DerivedRepeaterVarIdentity2["Odd"] = 3] = "Odd";
|
|
8032
8032
|
})(DerivedRepeaterVarIdentity || (DerivedRepeaterVarIdentity = {}));
|
|
8033
|
+
var I18nContextKind;
|
|
8034
|
+
(function(I18nContextKind2) {
|
|
8035
|
+
I18nContextKind2[I18nContextKind2["RootI18n"] = 0] = "RootI18n";
|
|
8036
|
+
I18nContextKind2[I18nContextKind2["Icu"] = 1] = "Icu";
|
|
8037
|
+
})(I18nContextKind || (I18nContextKind = {}));
|
|
8033
8038
|
|
|
8034
|
-
// bazel-out/
|
|
8039
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
8035
8040
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
8036
8041
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
8037
8042
|
var ConsumesVarsTrait = Symbol("ConsumesVars");
|
|
@@ -8063,7 +8068,7 @@ function hasUsesVarOffsetTrait(expr) {
|
|
|
8063
8068
|
return expr[UsesVarOffset] === true;
|
|
8064
8069
|
}
|
|
8065
8070
|
|
|
8066
|
-
// bazel-out/
|
|
8071
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
8067
8072
|
function createStatementOp(statement) {
|
|
8068
8073
|
return __spreadValues({
|
|
8069
8074
|
kind: OpKind.Statement,
|
|
@@ -8085,7 +8090,7 @@ var NEW_OP = {
|
|
|
8085
8090
|
next: null
|
|
8086
8091
|
};
|
|
8087
8092
|
|
|
8088
|
-
// bazel-out/
|
|
8093
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
8089
8094
|
function createInterpolateTextOp(xref, interpolation, i18nPlaceholders, sourceSpan) {
|
|
8090
8095
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
8091
8096
|
kind: OpKind.InterpolateText,
|
|
@@ -8234,7 +8239,7 @@ function createI18nApplyOp(target, handle, sourceSpan) {
|
|
|
8234
8239
|
}, NEW_OP);
|
|
8235
8240
|
}
|
|
8236
8241
|
|
|
8237
|
-
// bazel-out/
|
|
8242
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
8238
8243
|
var _a;
|
|
8239
8244
|
var _b;
|
|
8240
8245
|
var _c;
|
|
@@ -9085,7 +9090,7 @@ function isStringLiteral(expr) {
|
|
|
9085
9090
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
9086
9091
|
}
|
|
9087
9092
|
|
|
9088
|
-
// bazel-out/
|
|
9093
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
9089
9094
|
var _OpList = class {
|
|
9090
9095
|
constructor() {
|
|
9091
9096
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -9276,14 +9281,14 @@ var OpList = _OpList;
|
|
|
9276
9281
|
_OpList.nextListId = 0;
|
|
9277
9282
|
})();
|
|
9278
9283
|
|
|
9279
|
-
// bazel-out/
|
|
9284
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
9280
9285
|
var SlotHandle = class {
|
|
9281
9286
|
constructor() {
|
|
9282
9287
|
this.slot = null;
|
|
9283
9288
|
}
|
|
9284
9289
|
};
|
|
9285
9290
|
|
|
9286
|
-
// bazel-out/
|
|
9291
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
9287
9292
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
9288
9293
|
OpKind.Element,
|
|
9289
9294
|
OpKind.ElementStart,
|
|
@@ -9515,9 +9520,10 @@ function createIcuEndOp(xref) {
|
|
|
9515
9520
|
xref
|
|
9516
9521
|
}, NEW_OP);
|
|
9517
9522
|
}
|
|
9518
|
-
function createI18nContextOp(xref, i18nBlock, message, sourceSpan) {
|
|
9523
|
+
function createI18nContextOp(contextKind, xref, i18nBlock, message, sourceSpan) {
|
|
9519
9524
|
return __spreadValues({
|
|
9520
9525
|
kind: OpKind.I18nContext,
|
|
9526
|
+
contextKind,
|
|
9521
9527
|
xref,
|
|
9522
9528
|
i18nBlock,
|
|
9523
9529
|
message,
|
|
@@ -9527,7 +9533,7 @@ function createI18nContextOp(xref, i18nBlock, message, sourceSpan) {
|
|
|
9527
9533
|
}, NEW_OP);
|
|
9528
9534
|
}
|
|
9529
9535
|
|
|
9530
|
-
// bazel-out/
|
|
9536
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
9531
9537
|
function createHostPropertyOp(name, expression, isAnimationTrigger, sourceSpan) {
|
|
9532
9538
|
return __spreadValues(__spreadValues({
|
|
9533
9539
|
kind: OpKind.HostProperty,
|
|
@@ -9538,10 +9544,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, sourceSpan)
|
|
|
9538
9544
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
9539
9545
|
}
|
|
9540
9546
|
|
|
9541
|
-
// bazel-out/
|
|
9547
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
9542
9548
|
var CTX_REF = "CTX_REF_MARKER";
|
|
9543
9549
|
|
|
9544
|
-
// bazel-out/
|
|
9550
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
9545
9551
|
var CompilationJobKind;
|
|
9546
9552
|
(function(CompilationJobKind2) {
|
|
9547
9553
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -9648,7 +9654,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
9648
9654
|
}
|
|
9649
9655
|
};
|
|
9650
9656
|
|
|
9651
|
-
// bazel-out/
|
|
9657
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
9652
9658
|
function deleteAnyCasts(job) {
|
|
9653
9659
|
for (const unit of job.units) {
|
|
9654
9660
|
for (const op of unit.ops()) {
|
|
@@ -9666,7 +9672,7 @@ function removeAnys(e) {
|
|
|
9666
9672
|
return e;
|
|
9667
9673
|
}
|
|
9668
9674
|
|
|
9669
|
-
// bazel-out/
|
|
9675
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
9670
9676
|
function applyI18nExpressions(job) {
|
|
9671
9677
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
9672
9678
|
for (const unit of job.units) {
|
|
@@ -9697,10 +9703,9 @@ function needsApplication(i18nContexts, op) {
|
|
|
9697
9703
|
return false;
|
|
9698
9704
|
}
|
|
9699
9705
|
|
|
9700
|
-
// bazel-out/
|
|
9706
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
9701
9707
|
function assignI18nSlotDependencies(job) {
|
|
9702
9708
|
const i18nLastSlotConsumers = /* @__PURE__ */ new Map();
|
|
9703
|
-
const i18nContexts = /* @__PURE__ */ new Map();
|
|
9704
9709
|
let lastSlotConsumer = null;
|
|
9705
9710
|
let currentI18nOp = null;
|
|
9706
9711
|
for (const unit of job.units) {
|
|
@@ -9716,21 +9721,17 @@ function assignI18nSlotDependencies(job) {
|
|
|
9716
9721
|
i18nLastSlotConsumers.set(currentI18nOp.xref, lastSlotConsumer);
|
|
9717
9722
|
currentI18nOp = null;
|
|
9718
9723
|
break;
|
|
9719
|
-
case OpKind.I18nContext:
|
|
9720
|
-
i18nContexts.set(op.xref, op);
|
|
9721
|
-
break;
|
|
9722
9724
|
}
|
|
9723
9725
|
}
|
|
9724
9726
|
for (const op of unit.update) {
|
|
9725
9727
|
if (op.kind === OpKind.I18nExpression) {
|
|
9726
|
-
|
|
9727
|
-
op.target = i18nLastSlotConsumers.get(i18nContext.i18nBlock);
|
|
9728
|
+
op.target = i18nLastSlotConsumers.get(op.target);
|
|
9728
9729
|
}
|
|
9729
9730
|
}
|
|
9730
9731
|
}
|
|
9731
9732
|
}
|
|
9732
9733
|
|
|
9733
|
-
// bazel-out/
|
|
9734
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
9734
9735
|
function createOpXrefMap(unit) {
|
|
9735
9736
|
const map = /* @__PURE__ */ new Map();
|
|
9736
9737
|
for (const op of unit.create) {
|
|
@@ -9742,7 +9743,7 @@ function createOpXrefMap(unit) {
|
|
|
9742
9743
|
return map;
|
|
9743
9744
|
}
|
|
9744
9745
|
|
|
9745
|
-
// bazel-out/
|
|
9746
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
9746
9747
|
function extractAttributes(job) {
|
|
9747
9748
|
for (const unit of job.units) {
|
|
9748
9749
|
const elements = createOpXrefMap(unit);
|
|
@@ -9809,7 +9810,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
9809
9810
|
}
|
|
9810
9811
|
}
|
|
9811
9812
|
|
|
9812
|
-
// bazel-out/
|
|
9813
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
9813
9814
|
function lookupElement2(elements, xref) {
|
|
9814
9815
|
const el = elements.get(xref);
|
|
9815
9816
|
if (el === void 0) {
|
|
@@ -9859,7 +9860,7 @@ function specializeBindings(job) {
|
|
|
9859
9860
|
}
|
|
9860
9861
|
}
|
|
9861
9862
|
|
|
9862
|
-
// bazel-out/
|
|
9863
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
9863
9864
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
9864
9865
|
Identifiers.attribute,
|
|
9865
9866
|
Identifiers.classProp,
|
|
@@ -9925,7 +9926,7 @@ function chainOperationsInList(opList) {
|
|
|
9925
9926
|
}
|
|
9926
9927
|
}
|
|
9927
9928
|
|
|
9928
|
-
// bazel-out/
|
|
9929
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
9929
9930
|
function collapseSingletonInterpolations(job) {
|
|
9930
9931
|
for (const unit of job.units) {
|
|
9931
9932
|
for (const op of unit.update) {
|
|
@@ -9937,7 +9938,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
9937
9938
|
}
|
|
9938
9939
|
}
|
|
9939
9940
|
|
|
9940
|
-
// bazel-out/
|
|
9941
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
9941
9942
|
function generateConditionalExpressions(job) {
|
|
9942
9943
|
for (const unit of job.units) {
|
|
9943
9944
|
for (const op of unit.ops()) {
|
|
@@ -9974,7 +9975,7 @@ function generateConditionalExpressions(job) {
|
|
|
9974
9975
|
}
|
|
9975
9976
|
}
|
|
9976
9977
|
|
|
9977
|
-
// bazel-out/
|
|
9978
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
9978
9979
|
var TagContentType;
|
|
9979
9980
|
(function(TagContentType2) {
|
|
9980
9981
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -10007,7 +10008,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
10007
10008
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
10008
10009
|
}
|
|
10009
10010
|
|
|
10010
|
-
// bazel-out/
|
|
10011
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
10011
10012
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
10012
10013
|
["&&", BinaryOperator.And],
|
|
10013
10014
|
[">", BinaryOperator.Bigger],
|
|
@@ -10057,7 +10058,7 @@ function literalOrArrayLiteral(value) {
|
|
|
10057
10058
|
return literal(value);
|
|
10058
10059
|
}
|
|
10059
10060
|
|
|
10060
|
-
// bazel-out/
|
|
10061
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
10061
10062
|
function collectElementConsts(job) {
|
|
10062
10063
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
10063
10064
|
for (const unit of job.units) {
|
|
@@ -10191,7 +10192,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
10191
10192
|
return literalArr(attrArray);
|
|
10192
10193
|
}
|
|
10193
10194
|
|
|
10194
|
-
// bazel-out/
|
|
10195
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_defer_deps_fns.mjs
|
|
10195
10196
|
function createDeferDepsFns(job) {
|
|
10196
10197
|
for (const unit of job.units) {
|
|
10197
10198
|
for (const op of unit.create) {
|
|
@@ -10219,18 +10220,22 @@ function createDeferDepsFns(job) {
|
|
|
10219
10220
|
}
|
|
10220
10221
|
}
|
|
10221
10222
|
|
|
10222
|
-
// bazel-out/
|
|
10223
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
10223
10224
|
function createI18nContexts(job) {
|
|
10225
|
+
const rootContexts = /* @__PURE__ */ new Map();
|
|
10224
10226
|
let currentI18nOp = null;
|
|
10225
10227
|
let xref;
|
|
10226
10228
|
for (const unit of job.units) {
|
|
10227
10229
|
for (const op of unit.create) {
|
|
10228
10230
|
switch (op.kind) {
|
|
10229
10231
|
case OpKind.I18nStart:
|
|
10230
|
-
xref = job.allocateXrefId();
|
|
10231
|
-
unit.create.push(createI18nContextOp(xref, op.xref, op.message, null));
|
|
10232
|
-
op.context = xref;
|
|
10233
10232
|
currentI18nOp = op;
|
|
10233
|
+
if (op.xref === op.root) {
|
|
10234
|
+
xref = job.allocateXrefId();
|
|
10235
|
+
unit.create.push(createI18nContextOp(I18nContextKind.RootI18n, xref, op.xref, op.message, null));
|
|
10236
|
+
op.context = xref;
|
|
10237
|
+
rootContexts.set(op.xref, xref);
|
|
10238
|
+
}
|
|
10234
10239
|
break;
|
|
10235
10240
|
case OpKind.I18nEnd:
|
|
10236
10241
|
currentI18nOp = null;
|
|
@@ -10241,7 +10246,7 @@ function createI18nContexts(job) {
|
|
|
10241
10246
|
}
|
|
10242
10247
|
if (op.message.id !== currentI18nOp.message.id) {
|
|
10243
10248
|
xref = job.allocateXrefId();
|
|
10244
|
-
unit.create.push(createI18nContextOp(xref, currentI18nOp.xref, op.message, null));
|
|
10249
|
+
unit.create.push(createI18nContextOp(I18nContextKind.Icu, xref, currentI18nOp.xref, op.message, null));
|
|
10245
10250
|
op.context = xref;
|
|
10246
10251
|
} else {
|
|
10247
10252
|
op.context = currentI18nOp.context;
|
|
@@ -10250,9 +10255,16 @@ function createI18nContexts(job) {
|
|
|
10250
10255
|
}
|
|
10251
10256
|
}
|
|
10252
10257
|
}
|
|
10258
|
+
for (const unit of job.units) {
|
|
10259
|
+
for (const op of unit.create) {
|
|
10260
|
+
if (op.kind === OpKind.I18nStart && op.xref !== op.root) {
|
|
10261
|
+
op.context = rootContexts.get(op.root);
|
|
10262
|
+
}
|
|
10263
|
+
}
|
|
10264
|
+
}
|
|
10253
10265
|
}
|
|
10254
10266
|
|
|
10255
|
-
// bazel-out/
|
|
10267
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
10256
10268
|
function configureDeferInstructions(job) {
|
|
10257
10269
|
for (const unit of job.units) {
|
|
10258
10270
|
for (const op of unit.create) {
|
|
@@ -10269,7 +10281,7 @@ function configureDeferInstructions(job) {
|
|
|
10269
10281
|
}
|
|
10270
10282
|
}
|
|
10271
10283
|
|
|
10272
|
-
// bazel-out/
|
|
10284
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
10273
10285
|
function resolveDeferTargetNames(job) {
|
|
10274
10286
|
const scopes = /* @__PURE__ */ new Map();
|
|
10275
10287
|
function getScopeForView2(view) {
|
|
@@ -10363,7 +10375,7 @@ var Scope = class {
|
|
|
10363
10375
|
}
|
|
10364
10376
|
};
|
|
10365
10377
|
|
|
10366
|
-
// bazel-out/
|
|
10378
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
10367
10379
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
10368
10380
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
10369
10381
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -10390,7 +10402,7 @@ function collapseEmptyInstructions(job) {
|
|
|
10390
10402
|
}
|
|
10391
10403
|
}
|
|
10392
10404
|
|
|
10393
|
-
// bazel-out/
|
|
10405
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
10394
10406
|
function expandSafeReads(job) {
|
|
10395
10407
|
for (const unit of job.units) {
|
|
10396
10408
|
for (const op of unit.ops()) {
|
|
@@ -10526,7 +10538,7 @@ function ternaryTransform(e) {
|
|
|
10526
10538
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
10527
10539
|
}
|
|
10528
10540
|
|
|
10529
|
-
// bazel-out/
|
|
10541
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
10530
10542
|
var ESCAPE = "\uFFFD";
|
|
10531
10543
|
var ELEMENT_MARKER = "#";
|
|
10532
10544
|
var TEMPLATE_MARKER = "*";
|
|
@@ -10537,7 +10549,7 @@ var LIST_END_MARKER = "]";
|
|
|
10537
10549
|
var LIST_DELIMITER = "|";
|
|
10538
10550
|
function extractI18nMessages(job) {
|
|
10539
10551
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
10540
|
-
const
|
|
10552
|
+
const i18nBlocks = /* @__PURE__ */ new Map();
|
|
10541
10553
|
for (const unit of job.units) {
|
|
10542
10554
|
for (const op of unit.create) {
|
|
10543
10555
|
switch (op.kind) {
|
|
@@ -10545,7 +10557,7 @@ function extractI18nMessages(job) {
|
|
|
10545
10557
|
i18nContexts.set(op.xref, op);
|
|
10546
10558
|
break;
|
|
10547
10559
|
case OpKind.I18nStart:
|
|
10548
|
-
|
|
10560
|
+
i18nBlocks.set(op.xref, op);
|
|
10549
10561
|
break;
|
|
10550
10562
|
}
|
|
10551
10563
|
}
|
|
@@ -10570,11 +10582,12 @@ function extractI18nMessages(job) {
|
|
|
10570
10582
|
if (!op.context) {
|
|
10571
10583
|
throw Error("ICU op should have its context set.");
|
|
10572
10584
|
}
|
|
10573
|
-
|
|
10574
|
-
|
|
10585
|
+
const i18nContext = i18nContexts.get(op.context);
|
|
10586
|
+
if (i18nContext.contextKind === I18nContextKind.Icu) {
|
|
10575
10587
|
const subMessage = createI18nMessage(job, i18nContext, op.messagePlaceholder);
|
|
10576
10588
|
unit.create.push(subMessage);
|
|
10577
|
-
const
|
|
10589
|
+
const rootI18nId = i18nBlocks.get(i18nContext.i18nBlock).root;
|
|
10590
|
+
const parentMessage = i18nBlockMessages.get(rootI18nId);
|
|
10578
10591
|
parentMessage == null ? void 0 : parentMessage.subMessages.push(subMessage.xref);
|
|
10579
10592
|
}
|
|
10580
10593
|
OpList.remove(op);
|
|
@@ -10587,30 +10600,67 @@ function extractI18nMessages(job) {
|
|
|
10587
10600
|
}
|
|
10588
10601
|
}
|
|
10589
10602
|
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);
|
|
10603
|
+
let [formattedParams, needsPostprocessing] = formatParams(context.params);
|
|
10604
|
+
const [formattedPostprocessingParams] = formatParams(context.postprocessingParams);
|
|
10605
|
+
needsPostprocessing || (needsPostprocessing = formattedPostprocessingParams.size > 0);
|
|
10606
|
+
return createI18nMessageOp(job.allocateXrefId(), context.i18nBlock, context.message, messagePlaceholder != null ? messagePlaceholder : null, formattedParams, formattedPostprocessingParams, needsPostprocessing);
|
|
10597
10607
|
}
|
|
10598
10608
|
function formatParams(params) {
|
|
10599
|
-
const
|
|
10609
|
+
const formattedParams = /* @__PURE__ */ new Map();
|
|
10610
|
+
let needsPostprocessing = false;
|
|
10600
10611
|
for (const [placeholder, placeholderValues] of params) {
|
|
10601
|
-
const serializedValues = formatParamValues(placeholderValues);
|
|
10612
|
+
const [serializedValues, paramNeedsPostprocessing] = formatParamValues(placeholderValues);
|
|
10613
|
+
needsPostprocessing || (needsPostprocessing = paramNeedsPostprocessing);
|
|
10602
10614
|
if (serializedValues !== null) {
|
|
10603
|
-
|
|
10615
|
+
formattedParams.set(placeholder, literal(serializedValues));
|
|
10604
10616
|
}
|
|
10605
10617
|
}
|
|
10606
|
-
return
|
|
10618
|
+
return [formattedParams, needsPostprocessing];
|
|
10607
10619
|
}
|
|
10608
10620
|
function formatParamValues(values) {
|
|
10609
10621
|
if (values.length === 0) {
|
|
10610
|
-
return null;
|
|
10622
|
+
return [null, false];
|
|
10611
10623
|
}
|
|
10624
|
+
collapseElementTemplatePairs(values);
|
|
10612
10625
|
const serializedValues = values.map((value) => formatValue(value));
|
|
10613
|
-
return serializedValues.length === 1 ? serializedValues[0] : `${LIST_START_MARKER}${serializedValues.join(LIST_DELIMITER)}${LIST_END_MARKER}
|
|
10626
|
+
return serializedValues.length === 1 ? [serializedValues[0], false] : [`${LIST_START_MARKER}${serializedValues.join(LIST_DELIMITER)}${LIST_END_MARKER}`, true];
|
|
10627
|
+
}
|
|
10628
|
+
function collapseElementTemplatePairs(values) {
|
|
10629
|
+
var _a2;
|
|
10630
|
+
const valueIndiciesBySubTemplateIndex = /* @__PURE__ */ new Map();
|
|
10631
|
+
for (let i = 0; i < values.length; i++) {
|
|
10632
|
+
const value = values[i];
|
|
10633
|
+
if (value.subTemplateIndex !== null && value.flags & (I18nParamValueFlags.ElementTag | I18nParamValueFlags.TemplateTag)) {
|
|
10634
|
+
const valueIndicies = (_a2 = valueIndiciesBySubTemplateIndex.get(value.subTemplateIndex)) != null ? _a2 : [];
|
|
10635
|
+
valueIndicies.push(i);
|
|
10636
|
+
valueIndiciesBySubTemplateIndex.set(value.subTemplateIndex, valueIndicies);
|
|
10637
|
+
}
|
|
10638
|
+
}
|
|
10639
|
+
for (const [subTemplateIndex, valueIndicies] of valueIndiciesBySubTemplateIndex) {
|
|
10640
|
+
if (valueIndicies.length > 1) {
|
|
10641
|
+
const elementIndex = valueIndicies.find((index) => values[index].flags & I18nParamValueFlags.ElementTag);
|
|
10642
|
+
const templateIndex = valueIndicies.find((index) => values[index].flags & I18nParamValueFlags.TemplateTag);
|
|
10643
|
+
if (elementIndex !== void 0 && templateIndex !== void 0) {
|
|
10644
|
+
const elementValue = values[elementIndex];
|
|
10645
|
+
const templateValue = values[templateIndex];
|
|
10646
|
+
let compundValue;
|
|
10647
|
+
if (elementValue.flags & I18nParamValueFlags.OpenTag && elementValue.flags & I18nParamValueFlags.CloseTag) {
|
|
10648
|
+
compundValue = `${formatValue(templateValue)}${formatValue(elementValue)}${formatValue(templateValue)}`;
|
|
10649
|
+
} else if (elementValue.flags & I18nParamValueFlags.OpenTag) {
|
|
10650
|
+
compundValue = `${formatValue(templateValue)}${formatValue(elementValue)}`;
|
|
10651
|
+
} else {
|
|
10652
|
+
compundValue = `${formatValue(elementValue)}${formatValue(templateValue)}`;
|
|
10653
|
+
}
|
|
10654
|
+
values.splice(elementIndex, 1, { value: compundValue, subTemplateIndex, flags: I18nParamValueFlags.None });
|
|
10655
|
+
values.splice(templateIndex, 1, null);
|
|
10656
|
+
}
|
|
10657
|
+
}
|
|
10658
|
+
}
|
|
10659
|
+
for (let i = values.length - 1; i >= 0; i--) {
|
|
10660
|
+
if (values[i] === null) {
|
|
10661
|
+
values.splice(i, 1);
|
|
10662
|
+
}
|
|
10663
|
+
}
|
|
10614
10664
|
}
|
|
10615
10665
|
function formatValue(value) {
|
|
10616
10666
|
if (value.flags === I18nParamValueFlags.None) {
|
|
@@ -10633,7 +10683,7 @@ function formatValue(value) {
|
|
|
10633
10683
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
10634
10684
|
}
|
|
10635
10685
|
|
|
10636
|
-
// bazel-out/
|
|
10686
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
10637
10687
|
function generateAdvance(job) {
|
|
10638
10688
|
for (const unit of job.units) {
|
|
10639
10689
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -10665,7 +10715,7 @@ function generateAdvance(job) {
|
|
|
10665
10715
|
}
|
|
10666
10716
|
}
|
|
10667
10717
|
|
|
10668
|
-
// bazel-out/
|
|
10718
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
10669
10719
|
function generateProjectionDefs(job) {
|
|
10670
10720
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
10671
10721
|
const selectors = [];
|
|
@@ -10689,7 +10739,7 @@ function generateProjectionDefs(job) {
|
|
|
10689
10739
|
}
|
|
10690
10740
|
}
|
|
10691
10741
|
|
|
10692
|
-
// bazel-out/
|
|
10742
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
10693
10743
|
function generateVariables(job) {
|
|
10694
10744
|
recursivelyProcessView(job.root, null);
|
|
10695
10745
|
}
|
|
@@ -10777,7 +10827,7 @@ function generateVariablesInScopeForView(view, scope) {
|
|
|
10777
10827
|
return newOps;
|
|
10778
10828
|
}
|
|
10779
10829
|
|
|
10780
|
-
// bazel-out/
|
|
10830
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
10781
10831
|
function collectConstExpressions(job) {
|
|
10782
10832
|
for (const unit of job.units) {
|
|
10783
10833
|
for (const op of unit.ops()) {
|
|
@@ -10791,7 +10841,7 @@ function collectConstExpressions(job) {
|
|
|
10791
10841
|
}
|
|
10792
10842
|
}
|
|
10793
10843
|
|
|
10794
|
-
// bazel-out/
|
|
10844
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
10795
10845
|
var STYLE_DOT = "style.";
|
|
10796
10846
|
var CLASS_DOT = "class.";
|
|
10797
10847
|
var STYLE_BANG = "style!";
|
|
@@ -10849,7 +10899,7 @@ function parseProperty(name) {
|
|
|
10849
10899
|
return { property: property2, suffix };
|
|
10850
10900
|
}
|
|
10851
10901
|
|
|
10852
|
-
// bazel-out/
|
|
10902
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
10853
10903
|
function mapLiteral(obj, quoted = false) {
|
|
10854
10904
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
10855
10905
|
key,
|
|
@@ -10858,7 +10908,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
10858
10908
|
})));
|
|
10859
10909
|
}
|
|
10860
10910
|
|
|
10861
|
-
// bazel-out/
|
|
10911
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
10862
10912
|
var IcuSerializerVisitor = class {
|
|
10863
10913
|
visitText(text2) {
|
|
10864
10914
|
return text2.value;
|
|
@@ -10892,7 +10942,7 @@ function serializeIcuNode(icu) {
|
|
|
10892
10942
|
return icu.visit(serializer);
|
|
10893
10943
|
}
|
|
10894
10944
|
|
|
10895
|
-
// bazel-out/
|
|
10945
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
10896
10946
|
var TokenType;
|
|
10897
10947
|
(function(TokenType2) {
|
|
10898
10948
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -11253,7 +11303,7 @@ function parseIntAutoRadix(text2) {
|
|
|
11253
11303
|
return result;
|
|
11254
11304
|
}
|
|
11255
11305
|
|
|
11256
|
-
// bazel-out/
|
|
11306
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
11257
11307
|
var SplitInterpolation = class {
|
|
11258
11308
|
constructor(strings, expressions, offsets) {
|
|
11259
11309
|
this.strings = strings;
|
|
@@ -12147,7 +12197,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
12147
12197
|
return offsetMap;
|
|
12148
12198
|
}
|
|
12149
12199
|
|
|
12150
|
-
// bazel-out/
|
|
12200
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
12151
12201
|
var NodeWithI18n = class {
|
|
12152
12202
|
constructor(sourceSpan, i18n2) {
|
|
12153
12203
|
this.sourceSpan = sourceSpan;
|
|
@@ -12258,11 +12308,11 @@ function visitAll2(visitor, nodes, context = null) {
|
|
|
12258
12308
|
return result;
|
|
12259
12309
|
}
|
|
12260
12310
|
|
|
12261
|
-
// bazel-out/
|
|
12311
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
12262
12312
|
var ElementSchemaRegistry = class {
|
|
12263
12313
|
};
|
|
12264
12314
|
|
|
12265
|
-
// bazel-out/
|
|
12315
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
12266
12316
|
var BOOLEAN = "boolean";
|
|
12267
12317
|
var NUMBER = "number";
|
|
12268
12318
|
var STRING = "string";
|
|
@@ -12615,7 +12665,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
12615
12665
|
}
|
|
12616
12666
|
}
|
|
12617
12667
|
|
|
12618
|
-
// bazel-out/
|
|
12668
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
12619
12669
|
var HtmlTagDefinition = class {
|
|
12620
12670
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
12621
12671
|
this.closedByChildren = {};
|
|
@@ -12733,7 +12783,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
12733
12783
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
12734
12784
|
}
|
|
12735
12785
|
|
|
12736
|
-
// bazel-out/
|
|
12786
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
12737
12787
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
12738
12788
|
"A": "LINK",
|
|
12739
12789
|
"B": "BOLD_TEXT",
|
|
@@ -12855,7 +12905,7 @@ var PlaceholderRegistry = class {
|
|
|
12855
12905
|
}
|
|
12856
12906
|
};
|
|
12857
12907
|
|
|
12858
|
-
// bazel-out/
|
|
12908
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
12859
12909
|
var _expParser = new Parser(new Lexer());
|
|
12860
12910
|
function createI18nMessageFactory(interpolationConfig, containerBlocks) {
|
|
12861
12911
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
|
|
@@ -13034,14 +13084,14 @@ function extractPlaceholderName(input) {
|
|
|
13034
13084
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
13035
13085
|
}
|
|
13036
13086
|
|
|
13037
|
-
// bazel-out/
|
|
13087
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
13038
13088
|
var I18nError = class extends ParseError {
|
|
13039
13089
|
constructor(span, msg) {
|
|
13040
13090
|
super(span, msg);
|
|
13041
13091
|
}
|
|
13042
13092
|
};
|
|
13043
13093
|
|
|
13044
|
-
// bazel-out/
|
|
13094
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
13045
13095
|
var NAMED_ENTITIES = {
|
|
13046
13096
|
"AElig": "\xC6",
|
|
13047
13097
|
"AMP": "&",
|
|
@@ -15172,7 +15222,7 @@ var NAMED_ENTITIES = {
|
|
|
15172
15222
|
var NGSP_UNICODE = "\uE500";
|
|
15173
15223
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
15174
15224
|
|
|
15175
|
-
// bazel-out/
|
|
15225
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
15176
15226
|
var TokenError = class extends ParseError {
|
|
15177
15227
|
constructor(errorMsg, tokenType, span) {
|
|
15178
15228
|
super(span, errorMsg);
|
|
@@ -16093,7 +16143,7 @@ var CursorError = class {
|
|
|
16093
16143
|
}
|
|
16094
16144
|
};
|
|
16095
16145
|
|
|
16096
|
-
// bazel-out/
|
|
16146
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
16097
16147
|
var TreeError = class extends ParseError {
|
|
16098
16148
|
static create(elementName, span, msg) {
|
|
16099
16149
|
return new TreeError(elementName, span, msg);
|
|
@@ -16477,7 +16527,7 @@ function decodeEntity(match, entity) {
|
|
|
16477
16527
|
return match;
|
|
16478
16528
|
}
|
|
16479
16529
|
|
|
16480
|
-
// bazel-out/
|
|
16530
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
16481
16531
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
16482
16532
|
"iframe|srcdoc",
|
|
16483
16533
|
"*|innerhtml",
|
|
@@ -16492,7 +16542,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
16492
16542
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
16493
16543
|
}
|
|
16494
16544
|
|
|
16495
|
-
// bazel-out/
|
|
16545
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
16496
16546
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
16497
16547
|
if (htmlNode instanceof NodeWithI18n) {
|
|
16498
16548
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -16649,7 +16699,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
16649
16699
|
return jsDocComment(tags);
|
|
16650
16700
|
}
|
|
16651
16701
|
|
|
16652
|
-
// bazel-out/
|
|
16702
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
16653
16703
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
16654
16704
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
16655
16705
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -16700,7 +16750,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
16700
16750
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
16701
16751
|
}
|
|
16702
16752
|
|
|
16703
|
-
// bazel-out/
|
|
16753
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
16704
16754
|
function createLocalizeStatements(variable2, message, params) {
|
|
16705
16755
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
16706
16756
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -16789,7 +16839,7 @@ function createEmptyMessagePart(location) {
|
|
|
16789
16839
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
16790
16840
|
}
|
|
16791
16841
|
|
|
16792
|
-
// bazel-out/
|
|
16842
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
16793
16843
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
16794
16844
|
var TRANSLATION_VAR_PREFIX2 = "i18n_";
|
|
16795
16845
|
function collectI18nConsts(job) {
|
|
@@ -16884,7 +16934,7 @@ function assertAllParamsResolved(op) {
|
|
|
16884
16934
|
}
|
|
16885
16935
|
}
|
|
16886
16936
|
|
|
16887
|
-
// bazel-out/
|
|
16937
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
16888
16938
|
function extractI18nText(job) {
|
|
16889
16939
|
var _a2;
|
|
16890
16940
|
for (const unit of job.units) {
|
|
@@ -16943,7 +16993,7 @@ function extractI18nText(job) {
|
|
|
16943
16993
|
}
|
|
16944
16994
|
}
|
|
16945
16995
|
|
|
16946
|
-
// bazel-out/
|
|
16996
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
16947
16997
|
function liftLocalRefs(job) {
|
|
16948
16998
|
for (const unit of job.units) {
|
|
16949
16999
|
for (const op of unit.create) {
|
|
@@ -16973,48 +17023,7 @@ function serializeLocalRefs(refs) {
|
|
|
16973
17023
|
return literalArr(constRefs);
|
|
16974
17024
|
}
|
|
16975
17025
|
|
|
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
|
|
17026
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
17018
17027
|
function emitNamespaceChanges(job) {
|
|
17019
17028
|
for (const unit of job.units) {
|
|
17020
17029
|
let activeNamespace = Namespace.HTML;
|
|
@@ -17030,7 +17039,7 @@ function emitNamespaceChanges(job) {
|
|
|
17030
17039
|
}
|
|
17031
17040
|
}
|
|
17032
17041
|
|
|
17033
|
-
// bazel-out/
|
|
17042
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
|
|
17034
17043
|
function parse(value) {
|
|
17035
17044
|
const styles = [];
|
|
17036
17045
|
let i = 0;
|
|
@@ -17091,7 +17100,7 @@ function hyphenate2(value) {
|
|
|
17091
17100
|
}).toLowerCase();
|
|
17092
17101
|
}
|
|
17093
17102
|
|
|
17094
|
-
// bazel-out/
|
|
17103
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
17095
17104
|
function nameFunctionsAndVariables(job) {
|
|
17096
17105
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
17097
17106
|
}
|
|
@@ -17206,7 +17215,7 @@ function stripImportant(name) {
|
|
|
17206
17215
|
return name;
|
|
17207
17216
|
}
|
|
17208
17217
|
|
|
17209
|
-
// bazel-out/
|
|
17218
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
17210
17219
|
function mergeNextContextExpressions(job) {
|
|
17211
17220
|
for (const unit of job.units) {
|
|
17212
17221
|
for (const op of unit.create) {
|
|
@@ -17252,7 +17261,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
17252
17261
|
}
|
|
17253
17262
|
}
|
|
17254
17263
|
|
|
17255
|
-
// bazel-out/
|
|
17264
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
17256
17265
|
var CONTAINER_TAG = "ng-container";
|
|
17257
17266
|
function generateNgContainerOps(job) {
|
|
17258
17267
|
for (const unit of job.units) {
|
|
@@ -17269,7 +17278,7 @@ function generateNgContainerOps(job) {
|
|
|
17269
17278
|
}
|
|
17270
17279
|
}
|
|
17271
17280
|
|
|
17272
|
-
// bazel-out/
|
|
17281
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
17273
17282
|
function lookupElement3(elements, xref) {
|
|
17274
17283
|
const el = elements.get(xref);
|
|
17275
17284
|
if (el === void 0) {
|
|
@@ -17299,7 +17308,7 @@ function disableBindings(job) {
|
|
|
17299
17308
|
}
|
|
17300
17309
|
}
|
|
17301
17310
|
|
|
17302
|
-
// bazel-out/
|
|
17311
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
17303
17312
|
function generateNullishCoalesceExpressions(job) {
|
|
17304
17313
|
for (const unit of job.units) {
|
|
17305
17314
|
for (const op of unit.ops()) {
|
|
@@ -17315,7 +17324,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
17315
17324
|
}
|
|
17316
17325
|
}
|
|
17317
17326
|
|
|
17318
|
-
// bazel-out/
|
|
17327
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
17319
17328
|
function kindTest(kind) {
|
|
17320
17329
|
return (op) => op.kind === kind;
|
|
17321
17330
|
}
|
|
@@ -17389,7 +17398,7 @@ function keepLast(ops) {
|
|
|
17389
17398
|
return ops.slice(ops.length - 1);
|
|
17390
17399
|
}
|
|
17391
17400
|
|
|
17392
|
-
// bazel-out/
|
|
17401
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
17393
17402
|
function parseExtractedStyles(job) {
|
|
17394
17403
|
for (const unit of job.units) {
|
|
17395
17404
|
for (const op of unit.create) {
|
|
@@ -17412,7 +17421,7 @@ function parseExtractedStyles(job) {
|
|
|
17412
17421
|
}
|
|
17413
17422
|
}
|
|
17414
17423
|
|
|
17415
|
-
// bazel-out/
|
|
17424
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
17416
17425
|
function removeContentSelectors(job) {
|
|
17417
17426
|
for (const unit of job.units) {
|
|
17418
17427
|
const elements = createOpXrefMap(unit);
|
|
@@ -17436,7 +17445,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
17436
17445
|
return el;
|
|
17437
17446
|
}
|
|
17438
17447
|
|
|
17439
|
-
// bazel-out/
|
|
17448
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
17440
17449
|
function createPipes(job) {
|
|
17441
17450
|
for (const unit of job.units) {
|
|
17442
17451
|
processPipeBindingsInView(unit);
|
|
@@ -17484,7 +17493,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
17484
17493
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
17485
17494
|
}
|
|
17486
17495
|
|
|
17487
|
-
// bazel-out/
|
|
17496
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
17488
17497
|
function createVariadicPipes(job) {
|
|
17489
17498
|
for (const unit of job.units) {
|
|
17490
17499
|
for (const op of unit.update) {
|
|
@@ -17501,7 +17510,7 @@ function createVariadicPipes(job) {
|
|
|
17501
17510
|
}
|
|
17502
17511
|
}
|
|
17503
17512
|
|
|
17504
|
-
// bazel-out/
|
|
17513
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
17505
17514
|
function propagateI18nBlocks(job) {
|
|
17506
17515
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
17507
17516
|
}
|
|
@@ -17525,9 +17534,10 @@ function propagateI18nBlocksToTemplates(unit, subTemplateIndex) {
|
|
|
17525
17534
|
subTemplateIndex++;
|
|
17526
17535
|
wrapTemplateWithI18n(templateView, i18nBlock);
|
|
17527
17536
|
}
|
|
17528
|
-
propagateI18nBlocksToTemplates(templateView, subTemplateIndex);
|
|
17537
|
+
subTemplateIndex = propagateI18nBlocksToTemplates(templateView, subTemplateIndex);
|
|
17529
17538
|
}
|
|
17530
17539
|
}
|
|
17540
|
+
return subTemplateIndex;
|
|
17531
17541
|
}
|
|
17532
17542
|
function wrapTemplateWithI18n(unit, parentI18n) {
|
|
17533
17543
|
var _a2;
|
|
@@ -17538,7 +17548,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
17538
17548
|
}
|
|
17539
17549
|
}
|
|
17540
17550
|
|
|
17541
|
-
// bazel-out/
|
|
17551
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
17542
17552
|
function extractPureFunctions(job) {
|
|
17543
17553
|
for (const view of job.units) {
|
|
17544
17554
|
for (const op of view.ops()) {
|
|
@@ -17580,7 +17590,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
17580
17590
|
}
|
|
17581
17591
|
};
|
|
17582
17592
|
|
|
17583
|
-
// bazel-out/
|
|
17593
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
17584
17594
|
function generatePureLiteralStructures(job) {
|
|
17585
17595
|
for (const unit of job.units) {
|
|
17586
17596
|
for (const op of unit.update) {
|
|
@@ -17627,7 +17637,7 @@ function transformLiteralMap(expr) {
|
|
|
17627
17637
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
17628
17638
|
}
|
|
17629
17639
|
|
|
17630
|
-
// bazel-out/
|
|
17640
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
17631
17641
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
17632
17642
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
17633
17643
|
}
|
|
@@ -18138,7 +18148,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
18138
18148
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
18139
18149
|
}
|
|
18140
18150
|
|
|
18141
|
-
// bazel-out/
|
|
18151
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
18142
18152
|
var sanitizerIdentifierMap = /* @__PURE__ */ new Map([
|
|
18143
18153
|
[SanitizerFn.Html, Identifiers.sanitizeHtml],
|
|
18144
18154
|
[SanitizerFn.IframeAttribute, Identifiers.validateIframeAttribute],
|
|
@@ -18467,7 +18477,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
18467
18477
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
18468
18478
|
}
|
|
18469
18479
|
|
|
18470
|
-
// bazel-out/
|
|
18480
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
18471
18481
|
function removeEmptyBindings(job) {
|
|
18472
18482
|
for (const unit of job.units) {
|
|
18473
18483
|
for (const op of unit.update) {
|
|
@@ -18488,7 +18498,7 @@ function removeEmptyBindings(job) {
|
|
|
18488
18498
|
}
|
|
18489
18499
|
}
|
|
18490
18500
|
|
|
18491
|
-
// bazel-out/
|
|
18501
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
18492
18502
|
function removeI18nContexts(job) {
|
|
18493
18503
|
for (const unit of job.units) {
|
|
18494
18504
|
for (const op of unit.create) {
|
|
@@ -18504,7 +18514,7 @@ function removeI18nContexts(job) {
|
|
|
18504
18514
|
}
|
|
18505
18515
|
}
|
|
18506
18516
|
|
|
18507
|
-
// bazel-out/
|
|
18517
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/repeater_derived_vars.mjs
|
|
18508
18518
|
function generateRepeaterDerivedVars(job) {
|
|
18509
18519
|
const repeaters = /* @__PURE__ */ new Map();
|
|
18510
18520
|
for (const unit of job.units) {
|
|
@@ -18536,7 +18546,7 @@ function generateRepeaterDerivedVars(job) {
|
|
|
18536
18546
|
}
|
|
18537
18547
|
}
|
|
18538
18548
|
|
|
18539
|
-
// bazel-out/
|
|
18549
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
18540
18550
|
function resolveContexts(job) {
|
|
18541
18551
|
for (const unit of job.units) {
|
|
18542
18552
|
processLexicalScope(unit, unit.create);
|
|
@@ -18577,7 +18587,7 @@ function processLexicalScope(view, ops) {
|
|
|
18577
18587
|
}
|
|
18578
18588
|
}
|
|
18579
18589
|
|
|
18580
|
-
// bazel-out/
|
|
18590
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
18581
18591
|
function resolveDollarEvent(job) {
|
|
18582
18592
|
for (const unit of job.units) {
|
|
18583
18593
|
transformDollarEvent(unit, unit.create);
|
|
@@ -18598,7 +18608,7 @@ function transformDollarEvent(unit, ops) {
|
|
|
18598
18608
|
}
|
|
18599
18609
|
}
|
|
18600
18610
|
|
|
18601
|
-
// bazel-out/
|
|
18611
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
18602
18612
|
function resolveI18nElementPlaceholders(job) {
|
|
18603
18613
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
18604
18614
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -18614,55 +18624,67 @@ function resolveI18nElementPlaceholders(job) {
|
|
|
18614
18624
|
}
|
|
18615
18625
|
}
|
|
18616
18626
|
}
|
|
18617
|
-
|
|
18618
|
-
|
|
18619
|
-
|
|
18620
|
-
|
|
18621
|
-
|
|
18622
|
-
|
|
18623
|
-
|
|
18627
|
+
resolvePlaceholdersForView(job, job.root, i18nContexts, elements);
|
|
18628
|
+
}
|
|
18629
|
+
function resolvePlaceholdersForView(job, unit, i18nContexts, elements) {
|
|
18630
|
+
let currentOps = null;
|
|
18631
|
+
for (const op of unit.create) {
|
|
18632
|
+
switch (op.kind) {
|
|
18633
|
+
case OpKind.I18nStart:
|
|
18634
|
+
if (!op.context) {
|
|
18635
|
+
throw Error("Could not find i18n context for i18n op");
|
|
18636
|
+
}
|
|
18637
|
+
currentOps = { i18nBlock: op, i18nContext: i18nContexts.get(op.context) };
|
|
18638
|
+
break;
|
|
18639
|
+
case OpKind.I18nEnd:
|
|
18640
|
+
currentOps = null;
|
|
18641
|
+
break;
|
|
18642
|
+
case OpKind.ElementStart:
|
|
18643
|
+
if (op.i18nPlaceholder !== void 0) {
|
|
18644
|
+
if (currentOps === null) {
|
|
18645
|
+
throw Error("i18n tag placeholder should only occur inside an i18n block");
|
|
18624
18646
|
}
|
|
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);
|
|
18647
|
+
const { startName, closeName } = op.i18nPlaceholder;
|
|
18648
|
+
let flags = I18nParamValueFlags.ElementTag | I18nParamValueFlags.OpenTag;
|
|
18649
|
+
if (closeName === "") {
|
|
18650
|
+
flags |= I18nParamValueFlags.CloseTag;
|
|
18641
18651
|
}
|
|
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
|
-
}
|
|
18652
|
+
addParam(currentOps.i18nContext.params, startName, op.handle.slot, currentOps.i18nBlock.subTemplateIndex, flags);
|
|
18653
|
+
}
|
|
18654
|
+
break;
|
|
18655
|
+
case OpKind.ElementEnd:
|
|
18656
|
+
const startOp = elements.get(op.xref);
|
|
18657
|
+
if (startOp && startOp.i18nPlaceholder !== void 0) {
|
|
18658
|
+
if (currentOps === null) {
|
|
18659
|
+
throw Error("i18n tag placeholder should only occur inside an i18n block");
|
|
18653
18660
|
}
|
|
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);
|
|
18661
|
+
const { closeName } = startOp.i18nPlaceholder;
|
|
18662
|
+
if (closeName !== "") {
|
|
18663
|
+
addParam(currentOps.i18nContext.params, closeName, startOp.handle.slot, currentOps.i18nBlock.subTemplateIndex, I18nParamValueFlags.ElementTag | I18nParamValueFlags.CloseTag);
|
|
18663
18664
|
}
|
|
18664
|
-
|
|
18665
|
-
|
|
18665
|
+
}
|
|
18666
|
+
break;
|
|
18667
|
+
case OpKind.Template:
|
|
18668
|
+
if (op.i18nPlaceholder !== void 0) {
|
|
18669
|
+
if (currentOps === null) {
|
|
18670
|
+
throw Error("i18n tag placeholder should only occur inside an i18n block");
|
|
18671
|
+
}
|
|
18672
|
+
let startFlags = I18nParamValueFlags.TemplateTag | I18nParamValueFlags.OpenTag;
|
|
18673
|
+
const subTemplateIndex = getSubTemplateIndexForTemplateTag(job, currentOps.i18nBlock, op);
|
|
18674
|
+
const { startName, closeName } = op.i18nPlaceholder;
|
|
18675
|
+
const isSelfClosing = closeName === "";
|
|
18676
|
+
if (isSelfClosing) {
|
|
18677
|
+
startFlags |= I18nParamValueFlags.CloseTag;
|
|
18678
|
+
}
|
|
18679
|
+
addParam(currentOps.i18nContext.params, startName, op.handle.slot, subTemplateIndex, startFlags);
|
|
18680
|
+
resolvePlaceholdersForView(job, job.views.get(op.xref), i18nContexts, elements);
|
|
18681
|
+
if (!isSelfClosing) {
|
|
18682
|
+
addParam(currentOps.i18nContext.params, closeName, op.handle.slot, subTemplateIndex, I18nParamValueFlags.TemplateTag | I18nParamValueFlags.CloseTag);
|
|
18683
|
+
}
|
|
18684
|
+
} else {
|
|
18685
|
+
resolvePlaceholdersForView(job, job.views.get(op.xref), i18nContexts, elements);
|
|
18686
|
+
}
|
|
18687
|
+
break;
|
|
18666
18688
|
}
|
|
18667
18689
|
}
|
|
18668
18690
|
}
|
|
@@ -18681,7 +18703,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
18681
18703
|
params.set(placeholder, values);
|
|
18682
18704
|
}
|
|
18683
18705
|
|
|
18684
|
-
// bazel-out/
|
|
18706
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
18685
18707
|
function resolveI18nExpressionPlaceholders(job) {
|
|
18686
18708
|
const subTemplateIndicies = /* @__PURE__ */ new Map();
|
|
18687
18709
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
@@ -18702,8 +18724,8 @@ function resolveI18nExpressionPlaceholders(job) {
|
|
|
18702
18724
|
for (const op of unit.update) {
|
|
18703
18725
|
if (op.kind === OpKind.I18nExpression) {
|
|
18704
18726
|
const i18nContext = i18nContexts.get(op.context);
|
|
18705
|
-
const index = expressionIndices.get(
|
|
18706
|
-
const subTemplateIndex = subTemplateIndicies.get(
|
|
18727
|
+
const index = expressionIndices.get(op.target) || 0;
|
|
18728
|
+
const subTemplateIndex = subTemplateIndicies.get(op.target);
|
|
18707
18729
|
const params = op.resolutionTime === I18nParamResolutionTime.Creation ? i18nContext.params : i18nContext.postprocessingParams;
|
|
18708
18730
|
const values = params.get(op.i18nPlaceholder) || [];
|
|
18709
18731
|
values.push({
|
|
@@ -18712,36 +18734,20 @@ function resolveI18nExpressionPlaceholders(job) {
|
|
|
18712
18734
|
flags: I18nParamValueFlags.ExpressionIndex
|
|
18713
18735
|
});
|
|
18714
18736
|
params.set(op.i18nPlaceholder, values);
|
|
18715
|
-
expressionIndices.set(
|
|
18737
|
+
expressionIndices.set(op.target, index + 1);
|
|
18716
18738
|
}
|
|
18717
18739
|
}
|
|
18718
18740
|
}
|
|
18719
18741
|
}
|
|
18720
18742
|
|
|
18721
|
-
// bazel-out/
|
|
18743
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_icu_placeholders.mjs
|
|
18722
18744
|
function resolveI18nIcuPlaceholders(job) {
|
|
18723
|
-
const contextOps = /* @__PURE__ */ new Map();
|
|
18724
|
-
for (const unit of job.units) {
|
|
18725
|
-
for (const op of unit.create) {
|
|
18726
|
-
switch (op.kind) {
|
|
18727
|
-
case OpKind.I18nContext:
|
|
18728
|
-
contextOps.set(op.xref, op);
|
|
18729
|
-
break;
|
|
18730
|
-
}
|
|
18731
|
-
}
|
|
18732
|
-
}
|
|
18733
18745
|
for (const unit of job.units) {
|
|
18734
18746
|
for (const op of unit.create) {
|
|
18735
|
-
|
|
18736
|
-
|
|
18737
|
-
|
|
18738
|
-
|
|
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;
|
|
18747
|
+
if (op.kind === OpKind.I18nContext && op.contextKind === I18nContextKind.Icu) {
|
|
18748
|
+
for (const node of op.message.nodes) {
|
|
18749
|
+
node.visit(new ResolveIcuPlaceholdersVisitor(op.postprocessingParams));
|
|
18750
|
+
}
|
|
18745
18751
|
}
|
|
18746
18752
|
}
|
|
18747
18753
|
}
|
|
@@ -18778,7 +18784,7 @@ var ResolveIcuPlaceholdersVisitor = class extends RecurseVisitor {
|
|
|
18778
18784
|
}
|
|
18779
18785
|
};
|
|
18780
18786
|
|
|
18781
|
-
// bazel-out/
|
|
18787
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
18782
18788
|
function resolveNames(job) {
|
|
18783
18789
|
for (const unit of job.units) {
|
|
18784
18790
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -18842,7 +18848,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
18842
18848
|
}
|
|
18843
18849
|
}
|
|
18844
18850
|
|
|
18845
|
-
// bazel-out/
|
|
18851
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
18846
18852
|
var sanitizers = /* @__PURE__ */ new Map([
|
|
18847
18853
|
[SecurityContext.HTML, SanitizerFn.Html],
|
|
18848
18854
|
[SecurityContext.SCRIPT, SanitizerFn.Script],
|
|
@@ -18879,7 +18885,7 @@ function isIframeElement(op) {
|
|
|
18879
18885
|
return op.kind === OpKind.ElementStart && ((_a2 = op.tag) == null ? void 0 : _a2.toLowerCase()) === "iframe";
|
|
18880
18886
|
}
|
|
18881
18887
|
|
|
18882
|
-
// bazel-out/
|
|
18888
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
18883
18889
|
function saveAndRestoreView(job) {
|
|
18884
18890
|
for (const unit of job.units) {
|
|
18885
18891
|
unit.create.prepend([
|
|
@@ -18924,7 +18930,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
18924
18930
|
}
|
|
18925
18931
|
}
|
|
18926
18932
|
|
|
18927
|
-
// bazel-out/
|
|
18933
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
18928
18934
|
function allocateSlots(job) {
|
|
18929
18935
|
const slotMap = /* @__PURE__ */ new Map();
|
|
18930
18936
|
for (const unit of job.units) {
|
|
@@ -18949,7 +18955,7 @@ function allocateSlots(job) {
|
|
|
18949
18955
|
}
|
|
18950
18956
|
}
|
|
18951
18957
|
|
|
18952
|
-
// bazel-out/
|
|
18958
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
18953
18959
|
function specializeStyleBindings(job) {
|
|
18954
18960
|
for (const unit of job.units) {
|
|
18955
18961
|
for (const op of unit.update) {
|
|
@@ -18979,7 +18985,7 @@ function specializeStyleBindings(job) {
|
|
|
18979
18985
|
}
|
|
18980
18986
|
}
|
|
18981
18987
|
|
|
18982
|
-
// bazel-out/
|
|
18988
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
18983
18989
|
function generateTemporaryVariables(job) {
|
|
18984
18990
|
for (const unit of job.units) {
|
|
18985
18991
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -19037,7 +19043,7 @@ function assignName(names, expr) {
|
|
|
19037
19043
|
expr.name = name;
|
|
19038
19044
|
}
|
|
19039
19045
|
|
|
19040
|
-
// bazel-out/
|
|
19046
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
19041
19047
|
function generateTrackFns(job) {
|
|
19042
19048
|
for (const unit of job.units) {
|
|
19043
19049
|
for (const op of unit.create) {
|
|
@@ -19067,7 +19073,7 @@ function generateTrackFns(job) {
|
|
|
19067
19073
|
}
|
|
19068
19074
|
}
|
|
19069
19075
|
|
|
19070
|
-
// bazel-out/
|
|
19076
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
19071
19077
|
function optimizeTrackFns(job) {
|
|
19072
19078
|
for (const unit of job.units) {
|
|
19073
19079
|
for (const op of unit.create) {
|
|
@@ -19114,7 +19120,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
19114
19120
|
return true;
|
|
19115
19121
|
}
|
|
19116
19122
|
|
|
19117
|
-
// bazel-out/
|
|
19123
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
19118
19124
|
function generateTrackVariables(job) {
|
|
19119
19125
|
for (const unit of job.units) {
|
|
19120
19126
|
for (const op of unit.create) {
|
|
@@ -19135,7 +19141,7 @@ function generateTrackVariables(job) {
|
|
|
19135
19141
|
}
|
|
19136
19142
|
}
|
|
19137
19143
|
|
|
19138
|
-
// bazel-out/
|
|
19144
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
19139
19145
|
function countVariables(job) {
|
|
19140
19146
|
for (const unit of job.units) {
|
|
19141
19147
|
let varCount = 0;
|
|
@@ -19240,7 +19246,7 @@ function isSingletonInterpolation(expr) {
|
|
|
19240
19246
|
return true;
|
|
19241
19247
|
}
|
|
19242
19248
|
|
|
19243
|
-
// bazel-out/
|
|
19249
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
19244
19250
|
function optimizeVariables(job) {
|
|
19245
19251
|
for (const unit of job.units) {
|
|
19246
19252
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -19490,7 +19496,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
19490
19496
|
}
|
|
19491
19497
|
}
|
|
19492
19498
|
|
|
19493
|
-
// bazel-out/
|
|
19499
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
19494
19500
|
function wrapI18nIcus(job) {
|
|
19495
19501
|
for (const unit of job.units) {
|
|
19496
19502
|
let currentI18nOp = null;
|
|
@@ -19520,7 +19526,7 @@ function wrapI18nIcus(job) {
|
|
|
19520
19526
|
}
|
|
19521
19527
|
}
|
|
19522
19528
|
|
|
19523
|
-
// bazel-out/
|
|
19529
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
19524
19530
|
var phases = [
|
|
19525
19531
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
19526
19532
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -19563,7 +19569,6 @@ var phases = [
|
|
|
19563
19569
|
{ kind: CompilationJobKind.Tmpl, fn: resolveI18nElementPlaceholders },
|
|
19564
19570
|
{ kind: CompilationJobKind.Tmpl, fn: resolveI18nExpressionPlaceholders },
|
|
19565
19571
|
{ kind: CompilationJobKind.Tmpl, fn: resolveI18nIcuPlaceholders },
|
|
19566
|
-
{ kind: CompilationJobKind.Tmpl, fn: mergeI18nContexts },
|
|
19567
19572
|
{ kind: CompilationJobKind.Tmpl, fn: extractI18nMessages },
|
|
19568
19573
|
{ kind: CompilationJobKind.Tmpl, fn: generateTrackFns },
|
|
19569
19574
|
{ kind: CompilationJobKind.Tmpl, fn: collectI18nConsts },
|
|
@@ -19685,7 +19690,7 @@ function emitHostBindingFunction(job) {
|
|
|
19685
19690
|
);
|
|
19686
19691
|
}
|
|
19687
19692
|
|
|
19688
|
-
// bazel-out/
|
|
19693
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
19689
19694
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
19690
19695
|
function ingestComponent(componentName, template2, constantPool, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta) {
|
|
19691
19696
|
const job = new ComponentCompilationJob(componentName, constantPool, compatibilityMode, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta);
|
|
@@ -20266,10 +20271,10 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
20266
20271
|
return null;
|
|
20267
20272
|
}
|
|
20268
20273
|
|
|
20269
|
-
// bazel-out/
|
|
20274
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
|
|
20270
20275
|
var USE_TEMPLATE_PIPELINE = false;
|
|
20271
20276
|
|
|
20272
|
-
// bazel-out/
|
|
20277
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
|
|
20273
20278
|
var IMPORTANT_FLAG = "!important";
|
|
20274
20279
|
var MIN_STYLING_BINDING_SLOTS_REQUIRED = 2;
|
|
20275
20280
|
var StylingBuilder = class {
|
|
@@ -20602,7 +20607,7 @@ function isEmptyExpression(ast) {
|
|
|
20602
20607
|
return ast instanceof EmptyExpr;
|
|
20603
20608
|
}
|
|
20604
20609
|
|
|
20605
|
-
// bazel-out/
|
|
20610
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
20606
20611
|
var HtmlParser = class extends Parser2 {
|
|
20607
20612
|
constructor() {
|
|
20608
20613
|
super(getHtmlTagDefinition);
|
|
@@ -20612,7 +20617,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
20612
20617
|
}
|
|
20613
20618
|
};
|
|
20614
20619
|
|
|
20615
|
-
// bazel-out/
|
|
20620
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
20616
20621
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
20617
20622
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
20618
20623
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -20678,7 +20683,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
20678
20683
|
return result;
|
|
20679
20684
|
}
|
|
20680
20685
|
|
|
20681
|
-
// bazel-out/
|
|
20686
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
20682
20687
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
20683
20688
|
var ATTRIBUTE_PREFIX = "attr";
|
|
20684
20689
|
var CLASS_PREFIX = "class";
|
|
@@ -20998,7 +21003,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
20998
21003
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
20999
21004
|
}
|
|
21000
21005
|
|
|
21001
|
-
// bazel-out/
|
|
21006
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
21002
21007
|
function isStyleUrlResolvable(url) {
|
|
21003
21008
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
21004
21009
|
return false;
|
|
@@ -21007,7 +21012,7 @@ function isStyleUrlResolvable(url) {
|
|
|
21007
21012
|
}
|
|
21008
21013
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
21009
21014
|
|
|
21010
|
-
// bazel-out/
|
|
21015
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
21011
21016
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
21012
21017
|
var LINK_ELEMENT = "link";
|
|
21013
21018
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -21077,7 +21082,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
21077
21082
|
return selectAttr;
|
|
21078
21083
|
}
|
|
21079
21084
|
|
|
21080
|
-
// bazel-out/
|
|
21085
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
21081
21086
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
21082
21087
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
21083
21088
|
var CONDITIONAL_ALIAS_PATTERN = /^as\s+(.*)/;
|
|
@@ -21368,7 +21373,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
21368
21373
|
return expression.slice(start, end);
|
|
21369
21374
|
}
|
|
21370
21375
|
|
|
21371
|
-
// bazel-out/
|
|
21376
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
21372
21377
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
21373
21378
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
21374
21379
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -21632,7 +21637,7 @@ function parseDeferredTime(value) {
|
|
|
21632
21637
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
21633
21638
|
}
|
|
21634
21639
|
|
|
21635
|
-
// bazel-out/
|
|
21640
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
21636
21641
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
21637
21642
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
21638
21643
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -21767,7 +21772,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
21767
21772
|
return { triggers, prefetchTriggers };
|
|
21768
21773
|
}
|
|
21769
21774
|
|
|
21770
|
-
// bazel-out/
|
|
21775
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
21771
21776
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
21772
21777
|
var KW_BIND_IDX = 1;
|
|
21773
21778
|
var KW_LET_IDX = 2;
|
|
@@ -22198,7 +22203,7 @@ function textContents(node) {
|
|
|
22198
22203
|
}
|
|
22199
22204
|
}
|
|
22200
22205
|
|
|
22201
|
-
// bazel-out/
|
|
22206
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
|
|
22202
22207
|
var TagType;
|
|
22203
22208
|
(function(TagType2) {
|
|
22204
22209
|
TagType2[TagType2["ELEMENT"] = 0] = "ELEMENT";
|
|
@@ -22343,7 +22348,7 @@ function serializePlaceholderValue(value) {
|
|
|
22343
22348
|
}
|
|
22344
22349
|
}
|
|
22345
22350
|
|
|
22346
|
-
// bazel-out/
|
|
22351
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
22347
22352
|
var NG_CONTENT_SELECT_ATTR2 = "select";
|
|
22348
22353
|
var NG_PROJECT_AS_ATTR_NAME = "ngProjectAs";
|
|
22349
22354
|
var EVENT_BINDING_SCOPE_GLOBALS = /* @__PURE__ */ new Set(["$event"]);
|
|
@@ -24035,7 +24040,7 @@ function createClosureModeGuard2() {
|
|
|
24035
24040
|
return typeofExpr(variable(NG_I18N_CLOSURE_MODE2)).notIdentical(literal("undefined", STRING_TYPE)).and(variable(NG_I18N_CLOSURE_MODE2));
|
|
24036
24041
|
}
|
|
24037
24042
|
|
|
24038
|
-
// bazel-out/
|
|
24043
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
24039
24044
|
var ATTR_REGEX = /attr\.([^\]]+)/;
|
|
24040
24045
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
24041
24046
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
@@ -24086,6 +24091,9 @@ function addFeatures(definitionMap, meta) {
|
|
|
24086
24091
|
break;
|
|
24087
24092
|
}
|
|
24088
24093
|
}
|
|
24094
|
+
if ((_a2 = meta.hostDirectives) == null ? void 0 : _a2.length) {
|
|
24095
|
+
features.push(importExpr(Identifiers.HostDirectivesFeature).callFn([createHostDirectivesFeatureArg(meta.hostDirectives)]));
|
|
24096
|
+
}
|
|
24089
24097
|
if (meta.usesInheritance) {
|
|
24090
24098
|
features.push(importExpr(Identifiers.InheritDefinitionFeature));
|
|
24091
24099
|
}
|
|
@@ -24098,9 +24106,6 @@ function addFeatures(definitionMap, meta) {
|
|
|
24098
24106
|
if (meta.hasOwnProperty("template") && meta.isStandalone) {
|
|
24099
24107
|
features.push(importExpr(Identifiers.StandaloneFeature));
|
|
24100
24108
|
}
|
|
24101
|
-
if ((_a2 = meta.hostDirectives) == null ? void 0 : _a2.length) {
|
|
24102
|
-
features.push(importExpr(Identifiers.HostDirectivesFeature).callFn([createHostDirectivesFeatureArg(meta.hostDirectives)]));
|
|
24103
|
-
}
|
|
24104
24109
|
if (features.length) {
|
|
24105
24110
|
definitionMap.set("features", literalArr(features));
|
|
24106
24111
|
}
|
|
@@ -24637,7 +24642,7 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
24637
24642
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
24638
24643
|
}
|
|
24639
24644
|
|
|
24640
|
-
// bazel-out/
|
|
24645
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
24641
24646
|
var R3TargetBinder = class {
|
|
24642
24647
|
constructor(directiveMatcher) {
|
|
24643
24648
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -25242,11 +25247,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
25242
25247
|
return templateEntities;
|
|
25243
25248
|
}
|
|
25244
25249
|
|
|
25245
|
-
// bazel-out/
|
|
25250
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
25246
25251
|
var ResourceLoader = class {
|
|
25247
25252
|
};
|
|
25248
25253
|
|
|
25249
|
-
// bazel-out/
|
|
25254
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
25250
25255
|
var CompilerFacadeImpl = class {
|
|
25251
25256
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
25252
25257
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -25798,10 +25803,10 @@ function publishFacade(global) {
|
|
|
25798
25803
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
25799
25804
|
}
|
|
25800
25805
|
|
|
25801
|
-
// bazel-out/
|
|
25802
|
-
var VERSION2 = new Version("17.0.
|
|
25806
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
|
|
25807
|
+
var VERSION2 = new Version("17.0.5");
|
|
25803
25808
|
|
|
25804
|
-
// bazel-out/
|
|
25809
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
25805
25810
|
var _I18N_ATTR = "i18n";
|
|
25806
25811
|
var _I18N_ATTR_PREFIX = "i18n-";
|
|
25807
25812
|
var _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;
|
|
@@ -26110,7 +26115,7 @@ function _parseMessageMeta(i18n2) {
|
|
|
26110
26115
|
return { meaning, description, id: id.trim() };
|
|
26111
26116
|
}
|
|
26112
26117
|
|
|
26113
|
-
// bazel-out/
|
|
26118
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
26114
26119
|
var XmlTagDefinition = class {
|
|
26115
26120
|
constructor() {
|
|
26116
26121
|
this.closedByParent = false;
|
|
@@ -26135,7 +26140,7 @@ function getXmlTagDefinition(tagName) {
|
|
|
26135
26140
|
return _TAG_DEFINITION;
|
|
26136
26141
|
}
|
|
26137
26142
|
|
|
26138
|
-
// bazel-out/
|
|
26143
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
|
|
26139
26144
|
var XmlParser = class extends Parser2 {
|
|
26140
26145
|
constructor() {
|
|
26141
26146
|
super(getXmlTagDefinition);
|
|
@@ -26145,7 +26150,7 @@ var XmlParser = class extends Parser2 {
|
|
|
26145
26150
|
}
|
|
26146
26151
|
};
|
|
26147
26152
|
|
|
26148
|
-
// bazel-out/
|
|
26153
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
|
|
26149
26154
|
var _VERSION = "1.2";
|
|
26150
26155
|
var _XMLNS = "urn:oasis:names:tc:xliff:document:1.2";
|
|
26151
26156
|
var _DEFAULT_SOURCE_LANG = "en";
|
|
@@ -26399,7 +26404,7 @@ function getCtypeForTag(tag) {
|
|
|
26399
26404
|
}
|
|
26400
26405
|
}
|
|
26401
26406
|
|
|
26402
|
-
// bazel-out/
|
|
26407
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
|
|
26403
26408
|
var _VERSION2 = "2.0";
|
|
26404
26409
|
var _XMLNS2 = "urn:oasis:names:tc:xliff:document:2.0";
|
|
26405
26410
|
var _DEFAULT_SOURCE_LANG2 = "en";
|
|
@@ -26715,7 +26720,7 @@ function getTypeForTag(tag) {
|
|
|
26715
26720
|
}
|
|
26716
26721
|
}
|
|
26717
26722
|
|
|
26718
|
-
// bazel-out/
|
|
26723
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
|
|
26719
26724
|
var MessageBundle = class {
|
|
26720
26725
|
constructor(_htmlParser, _implicitTags, _implicitAttrs, _locale = null) {
|
|
26721
26726
|
this._htmlParser = _htmlParser;
|
|
@@ -26788,7 +26793,7 @@ var MapPlaceholderNames = class extends CloneVisitor {
|
|
|
26788
26793
|
}
|
|
26789
26794
|
};
|
|
26790
26795
|
|
|
26791
|
-
// bazel-out/
|
|
26796
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
26792
26797
|
var FactoryTarget2;
|
|
26793
26798
|
(function(FactoryTarget3) {
|
|
26794
26799
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -26798,7 +26803,7 @@ var FactoryTarget2;
|
|
|
26798
26803
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
26799
26804
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
26800
26805
|
|
|
26801
|
-
// bazel-out/
|
|
26806
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
|
|
26802
26807
|
function compileClassMetadata(metadata) {
|
|
26803
26808
|
var _a2, _b2;
|
|
26804
26809
|
const fnCall = importExpr(Identifiers.setClassMetadata).callFn([
|
|
@@ -26840,7 +26845,7 @@ function compileComponentClassMetadata(metadata, deferrableTypes) {
|
|
|
26840
26845
|
return iife.callFn([]);
|
|
26841
26846
|
}
|
|
26842
26847
|
|
|
26843
|
-
// bazel-out/
|
|
26848
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_class_debug_info_compiler.mjs
|
|
26844
26849
|
function compileClassDebugInfo(debugInfo) {
|
|
26845
26850
|
const debugInfoObject = {
|
|
26846
26851
|
className: debugInfo.className
|
|
@@ -26860,12 +26865,12 @@ function compileClassDebugInfo(debugInfo) {
|
|
|
26860
26865
|
return iife.callFn([]);
|
|
26861
26866
|
}
|
|
26862
26867
|
|
|
26863
|
-
// bazel-out/
|
|
26868
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
|
|
26864
26869
|
var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
|
|
26865
26870
|
function compileDeclareClassMetadata(metadata) {
|
|
26866
26871
|
const definitionMap = new DefinitionMap();
|
|
26867
26872
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
26868
|
-
definitionMap.set("version", literal("17.0.
|
|
26873
|
+
definitionMap.set("version", literal("17.0.5"));
|
|
26869
26874
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
26870
26875
|
definitionMap.set("type", metadata.type);
|
|
26871
26876
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -26874,7 +26879,7 @@ function compileDeclareClassMetadata(metadata) {
|
|
|
26874
26879
|
return importExpr(Identifiers.declareClassMetadata).callFn([definitionMap.toLiteralMap()]);
|
|
26875
26880
|
}
|
|
26876
26881
|
|
|
26877
|
-
// bazel-out/
|
|
26882
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
|
|
26878
26883
|
function toOptionalLiteralArray(values, mapper) {
|
|
26879
26884
|
if (values === null || values.length === 0) {
|
|
26880
26885
|
return null;
|
|
@@ -26922,7 +26927,7 @@ function compileDependency(dep) {
|
|
|
26922
26927
|
return depMeta.toLiteralMap();
|
|
26923
26928
|
}
|
|
26924
26929
|
|
|
26925
|
-
// bazel-out/
|
|
26930
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
|
|
26926
26931
|
var MINIMUM_PARTIAL_LINKER_VERSION2 = "16.1.0";
|
|
26927
26932
|
function compileDeclareDirectiveFromMetadata(meta) {
|
|
26928
26933
|
const definitionMap = createDirectiveDefinitionMap(meta);
|
|
@@ -26936,7 +26941,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
26936
26941
|
const hasTransformFunctions = Object.values(meta.inputs).some((input) => input.transformFunction !== null);
|
|
26937
26942
|
const minVersion = hasTransformFunctions ? MINIMUM_PARTIAL_LINKER_VERSION2 : "14.0.0";
|
|
26938
26943
|
definitionMap.set("minVersion", literal(minVersion));
|
|
26939
|
-
definitionMap.set("version", literal("17.0.
|
|
26944
|
+
definitionMap.set("version", literal("17.0.5"));
|
|
26940
26945
|
definitionMap.set("type", meta.type.value);
|
|
26941
26946
|
if (meta.isStandalone) {
|
|
26942
26947
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -27029,7 +27034,7 @@ function createHostDirectives(hostDirectives) {
|
|
|
27029
27034
|
return literalArr(expressions);
|
|
27030
27035
|
}
|
|
27031
27036
|
|
|
27032
|
-
// bazel-out/
|
|
27037
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
|
|
27033
27038
|
function compileDeclareComponentFromMetadata(meta, template2, additionalTemplateInfo) {
|
|
27034
27039
|
const definitionMap = createComponentDefinitionMap(meta, template2, additionalTemplateInfo);
|
|
27035
27040
|
const expression = importExpr(Identifiers.declareComponent).callFn([definitionMap.toLiteralMap()]);
|
|
@@ -27163,12 +27168,12 @@ var BlockPresenceVisitor = class extends RecursiveVisitor {
|
|
|
27163
27168
|
}
|
|
27164
27169
|
};
|
|
27165
27170
|
|
|
27166
|
-
// bazel-out/
|
|
27171
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
|
|
27167
27172
|
var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
|
|
27168
27173
|
function compileDeclareFactoryFunction(meta) {
|
|
27169
27174
|
const definitionMap = new DefinitionMap();
|
|
27170
27175
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
|
|
27171
|
-
definitionMap.set("version", literal("17.0.
|
|
27176
|
+
definitionMap.set("version", literal("17.0.5"));
|
|
27172
27177
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27173
27178
|
definitionMap.set("type", meta.type.value);
|
|
27174
27179
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -27180,7 +27185,7 @@ function compileDeclareFactoryFunction(meta) {
|
|
|
27180
27185
|
};
|
|
27181
27186
|
}
|
|
27182
27187
|
|
|
27183
|
-
// bazel-out/
|
|
27188
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
|
|
27184
27189
|
var MINIMUM_PARTIAL_LINKER_VERSION4 = "12.0.0";
|
|
27185
27190
|
function compileDeclareInjectableFromMetadata(meta) {
|
|
27186
27191
|
const definitionMap = createInjectableDefinitionMap(meta);
|
|
@@ -27191,7 +27196,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
27191
27196
|
function createInjectableDefinitionMap(meta) {
|
|
27192
27197
|
const definitionMap = new DefinitionMap();
|
|
27193
27198
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
|
|
27194
|
-
definitionMap.set("version", literal("17.0.
|
|
27199
|
+
definitionMap.set("version", literal("17.0.5"));
|
|
27195
27200
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27196
27201
|
definitionMap.set("type", meta.type.value);
|
|
27197
27202
|
if (meta.providedIn !== void 0) {
|
|
@@ -27218,7 +27223,7 @@ function createInjectableDefinitionMap(meta) {
|
|
|
27218
27223
|
return definitionMap;
|
|
27219
27224
|
}
|
|
27220
27225
|
|
|
27221
|
-
// bazel-out/
|
|
27226
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
|
|
27222
27227
|
var MINIMUM_PARTIAL_LINKER_VERSION5 = "12.0.0";
|
|
27223
27228
|
function compileDeclareInjectorFromMetadata(meta) {
|
|
27224
27229
|
const definitionMap = createInjectorDefinitionMap(meta);
|
|
@@ -27229,7 +27234,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
27229
27234
|
function createInjectorDefinitionMap(meta) {
|
|
27230
27235
|
const definitionMap = new DefinitionMap();
|
|
27231
27236
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
|
|
27232
|
-
definitionMap.set("version", literal("17.0.
|
|
27237
|
+
definitionMap.set("version", literal("17.0.5"));
|
|
27233
27238
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27234
27239
|
definitionMap.set("type", meta.type.value);
|
|
27235
27240
|
definitionMap.set("providers", meta.providers);
|
|
@@ -27239,7 +27244,7 @@ function createInjectorDefinitionMap(meta) {
|
|
|
27239
27244
|
return definitionMap;
|
|
27240
27245
|
}
|
|
27241
27246
|
|
|
27242
|
-
// bazel-out/
|
|
27247
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
|
|
27243
27248
|
var MINIMUM_PARTIAL_LINKER_VERSION6 = "14.0.0";
|
|
27244
27249
|
function compileDeclareNgModuleFromMetadata(meta) {
|
|
27245
27250
|
const definitionMap = createNgModuleDefinitionMap(meta);
|
|
@@ -27253,7 +27258,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
27253
27258
|
throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
|
|
27254
27259
|
}
|
|
27255
27260
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
|
|
27256
|
-
definitionMap.set("version", literal("17.0.
|
|
27261
|
+
definitionMap.set("version", literal("17.0.5"));
|
|
27257
27262
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27258
27263
|
definitionMap.set("type", meta.type.value);
|
|
27259
27264
|
if (meta.bootstrap.length > 0) {
|
|
@@ -27277,7 +27282,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
27277
27282
|
return definitionMap;
|
|
27278
27283
|
}
|
|
27279
27284
|
|
|
27280
|
-
// bazel-out/
|
|
27285
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
|
|
27281
27286
|
var MINIMUM_PARTIAL_LINKER_VERSION7 = "14.0.0";
|
|
27282
27287
|
function compileDeclarePipeFromMetadata(meta) {
|
|
27283
27288
|
const definitionMap = createPipeDefinitionMap(meta);
|
|
@@ -27288,7 +27293,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
27288
27293
|
function createPipeDefinitionMap(meta) {
|
|
27289
27294
|
const definitionMap = new DefinitionMap();
|
|
27290
27295
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION7));
|
|
27291
|
-
definitionMap.set("version", literal("17.0.
|
|
27296
|
+
definitionMap.set("version", literal("17.0.5"));
|
|
27292
27297
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27293
27298
|
definitionMap.set("type", meta.type.value);
|
|
27294
27299
|
if (meta.isStandalone) {
|
|
@@ -27301,13 +27306,13 @@ function createPipeDefinitionMap(meta) {
|
|
|
27301
27306
|
return definitionMap;
|
|
27302
27307
|
}
|
|
27303
27308
|
|
|
27304
|
-
// bazel-out/
|
|
27309
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
27305
27310
|
publishFacade(_global);
|
|
27306
27311
|
|
|
27307
|
-
// bazel-out/
|
|
27308
|
-
var VERSION3 = new Version("17.0.
|
|
27312
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
27313
|
+
var VERSION3 = new Version("17.0.5");
|
|
27309
27314
|
|
|
27310
|
-
// bazel-out/
|
|
27315
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
27311
27316
|
var EmitFlags;
|
|
27312
27317
|
(function(EmitFlags2) {
|
|
27313
27318
|
EmitFlags2[EmitFlags2["DTS"] = 1] = "DTS";
|
|
@@ -27319,13 +27324,13 @@ var EmitFlags;
|
|
|
27319
27324
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
27320
27325
|
})(EmitFlags || (EmitFlags = {}));
|
|
27321
27326
|
|
|
27322
|
-
// bazel-out/
|
|
27327
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
27323
27328
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
27324
27329
|
|
|
27325
|
-
// bazel-out/
|
|
27330
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
27326
27331
|
var import_typescript102 = __toESM(require("typescript"), 1);
|
|
27327
27332
|
|
|
27328
|
-
// bazel-out/
|
|
27333
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
27329
27334
|
var path = __toESM(require("path"), 1);
|
|
27330
27335
|
function i18nGetExtension(formatName) {
|
|
27331
27336
|
const format = formatName.toLowerCase();
|
|
@@ -27375,10 +27380,10 @@ function getPathNormalizer(basePath) {
|
|
|
27375
27380
|
};
|
|
27376
27381
|
}
|
|
27377
27382
|
|
|
27378
|
-
// bazel-out/
|
|
27383
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
27379
27384
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
27380
27385
|
|
|
27381
|
-
// bazel-out/
|
|
27386
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
27382
27387
|
function toNumbers(value) {
|
|
27383
27388
|
const suffixIndex = value.lastIndexOf("-");
|
|
27384
27389
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -27413,7 +27418,7 @@ function compareVersions(v1, v2) {
|
|
|
27413
27418
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
27414
27419
|
}
|
|
27415
27420
|
|
|
27416
|
-
// bazel-out/
|
|
27421
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
27417
27422
|
var MIN_TS_VERSION = "5.2.0";
|
|
27418
27423
|
var MAX_TS_VERSION = "5.3.0";
|
|
27419
27424
|
var tsVersion = import_typescript3.default.version;
|
|
@@ -27426,13 +27431,13 @@ function verifySupportedTypeScriptVersion() {
|
|
|
27426
27431
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
27427
27432
|
}
|
|
27428
27433
|
|
|
27429
|
-
// bazel-out/
|
|
27434
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
27430
27435
|
var import_typescript98 = __toESM(require("typescript"), 1);
|
|
27431
27436
|
|
|
27432
|
-
// bazel-out/
|
|
27437
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
27433
27438
|
var import_typescript32 = __toESM(require("typescript"), 1);
|
|
27434
27439
|
|
|
27435
|
-
// bazel-out/
|
|
27440
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
27436
27441
|
var ErrorCode;
|
|
27437
27442
|
(function(ErrorCode2) {
|
|
27438
27443
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -27511,7 +27516,7 @@ var ErrorCode;
|
|
|
27511
27516
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_IMPORTED_STYLES_STRING"] = 11002] = "LOCAL_COMPILATION_IMPORTED_STYLES_STRING";
|
|
27512
27517
|
})(ErrorCode || (ErrorCode = {}));
|
|
27513
27518
|
|
|
27514
|
-
// bazel-out/
|
|
27519
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
27515
27520
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
27516
27521
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
27517
27522
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -27523,15 +27528,15 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
27523
27528
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
27524
27529
|
]);
|
|
27525
27530
|
|
|
27526
|
-
// bazel-out/
|
|
27531
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
27527
27532
|
var import_typescript4 = __toESM(require("typescript"), 1);
|
|
27528
27533
|
|
|
27529
|
-
// bazel-out/
|
|
27534
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
27530
27535
|
function ngErrorCode(code) {
|
|
27531
27536
|
return parseInt("-99" + code);
|
|
27532
27537
|
}
|
|
27533
27538
|
|
|
27534
|
-
// bazel-out/
|
|
27539
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
27535
27540
|
var FatalDiagnosticError = class {
|
|
27536
27541
|
constructor(code, node, message, relatedInformation) {
|
|
27537
27542
|
this.code = code;
|
|
@@ -27587,10 +27592,10 @@ function addDiagnosticChain(messageText, add) {
|
|
|
27587
27592
|
return messageText;
|
|
27588
27593
|
}
|
|
27589
27594
|
|
|
27590
|
-
// bazel-out/
|
|
27595
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
27591
27596
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
27592
27597
|
|
|
27593
|
-
// bazel-out/
|
|
27598
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
27594
27599
|
var ExtendedTemplateDiagnosticName;
|
|
27595
27600
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
27596
27601
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -27604,7 +27609,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
27604
27609
|
ExtendedTemplateDiagnosticName2["INTERPOLATED_SIGNAL_NOT_INVOKED"] = "interpolatedSignalNotInvoked";
|
|
27605
27610
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
27606
27611
|
|
|
27607
|
-
// bazel-out/
|
|
27612
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
27608
27613
|
var CompilationMode;
|
|
27609
27614
|
(function(CompilationMode2) {
|
|
27610
27615
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -27618,7 +27623,7 @@ var HandlerPrecedence;
|
|
|
27618
27623
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
27619
27624
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
27620
27625
|
|
|
27621
|
-
// bazel-out/
|
|
27626
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
27622
27627
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
27623
27628
|
function aliasTransformFactory(exportStatements) {
|
|
27624
27629
|
return () => {
|
|
@@ -27641,10 +27646,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
27641
27646
|
};
|
|
27642
27647
|
}
|
|
27643
27648
|
|
|
27644
|
-
// bazel-out/
|
|
27649
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
27645
27650
|
var import_typescript12 = __toESM(require("typescript"), 1);
|
|
27646
27651
|
|
|
27647
|
-
// bazel-out/
|
|
27652
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
27648
27653
|
var PerfPhase;
|
|
27649
27654
|
(function(PerfPhase2) {
|
|
27650
27655
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -27712,7 +27717,7 @@ var PerfCheckpoint;
|
|
|
27712
27717
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
27713
27718
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
27714
27719
|
|
|
27715
|
-
// bazel-out/
|
|
27720
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
27716
27721
|
var NoopPerfRecorder = class {
|
|
27717
27722
|
eventCount() {
|
|
27718
27723
|
}
|
|
@@ -27729,7 +27734,7 @@ var NoopPerfRecorder = class {
|
|
|
27729
27734
|
};
|
|
27730
27735
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
27731
27736
|
|
|
27732
|
-
// bazel-out/
|
|
27737
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
27733
27738
|
function mark() {
|
|
27734
27739
|
return process.hrtime();
|
|
27735
27740
|
}
|
|
@@ -27738,7 +27743,7 @@ function timeSinceInMicros(mark2) {
|
|
|
27738
27743
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
27739
27744
|
}
|
|
27740
27745
|
|
|
27741
|
-
// bazel-out/
|
|
27746
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
27742
27747
|
var ActivePerfRecorder = class {
|
|
27743
27748
|
static zeroedToNow() {
|
|
27744
27749
|
return new ActivePerfRecorder(mark());
|
|
@@ -27832,7 +27837,7 @@ var DelegatingPerfRecorder = class {
|
|
|
27832
27837
|
}
|
|
27833
27838
|
};
|
|
27834
27839
|
|
|
27835
|
-
// bazel-out/
|
|
27840
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
27836
27841
|
var import_typescript6 = __toESM(require("typescript"), 1);
|
|
27837
27842
|
function isDecoratorIdentifier(exp) {
|
|
27838
27843
|
return import_typescript6.default.isIdentifier(exp) || import_typescript6.default.isPropertyAccessExpression(exp) && import_typescript6.default.isIdentifier(exp.expression) && import_typescript6.default.isIdentifier(exp.name);
|
|
@@ -27846,7 +27851,7 @@ var ClassMemberKind;
|
|
|
27846
27851
|
ClassMemberKind2[ClassMemberKind2["Method"] = 4] = "Method";
|
|
27847
27852
|
})(ClassMemberKind || (ClassMemberKind = {}));
|
|
27848
27853
|
|
|
27849
|
-
// bazel-out/
|
|
27854
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
27850
27855
|
var import_typescript7 = __toESM(require("typescript"), 1);
|
|
27851
27856
|
function typeToValue(typeNode, checker) {
|
|
27852
27857
|
if (typeNode === null) {
|
|
@@ -28012,10 +28017,10 @@ function extractModuleName(node) {
|
|
|
28012
28017
|
return node.moduleSpecifier.text;
|
|
28013
28018
|
}
|
|
28014
28019
|
|
|
28015
|
-
// bazel-out/
|
|
28020
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
28016
28021
|
var import_typescript9 = __toESM(require("typescript"), 1);
|
|
28017
28022
|
|
|
28018
|
-
// bazel-out/
|
|
28023
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
28019
28024
|
var import_typescript8 = __toESM(require("typescript"), 1);
|
|
28020
28025
|
function isNamedClassDeclaration(node) {
|
|
28021
28026
|
return import_typescript8.default.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -28024,7 +28029,7 @@ function isIdentifier(node) {
|
|
|
28024
28029
|
return node !== void 0 && import_typescript8.default.isIdentifier(node);
|
|
28025
28030
|
}
|
|
28026
28031
|
|
|
28027
|
-
// bazel-out/
|
|
28032
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
28028
28033
|
var TypeScriptReflectionHost = class {
|
|
28029
28034
|
constructor(checker) {
|
|
28030
28035
|
this.checker = checker;
|
|
@@ -28458,7 +28463,7 @@ function getExportedName(decl, originalId) {
|
|
|
28458
28463
|
}
|
|
28459
28464
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
28460
28465
|
|
|
28461
|
-
// bazel-out/
|
|
28466
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
28462
28467
|
var import_typescript11 = __toESM(require("typescript"), 1);
|
|
28463
28468
|
var TS = /\.tsx?$/i;
|
|
28464
28469
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -28559,7 +28564,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
28559
28564
|
return redirectInfo.unredirected;
|
|
28560
28565
|
}
|
|
28561
28566
|
|
|
28562
|
-
// bazel-out/
|
|
28567
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
28563
28568
|
var TraitState;
|
|
28564
28569
|
(function(TraitState2) {
|
|
28565
28570
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -28616,7 +28621,7 @@ var TraitImpl = class {
|
|
|
28616
28621
|
}
|
|
28617
28622
|
};
|
|
28618
28623
|
|
|
28619
|
-
// bazel-out/
|
|
28624
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
28620
28625
|
var TraitCompiler = class {
|
|
28621
28626
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
28622
28627
|
this.handlers = handlers;
|
|
@@ -29064,10 +29069,10 @@ function containsErrors(diagnostics) {
|
|
|
29064
29069
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === import_typescript12.default.DiagnosticCategory.Error);
|
|
29065
29070
|
}
|
|
29066
29071
|
|
|
29067
|
-
// bazel-out/
|
|
29072
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
29068
29073
|
var import_typescript28 = __toESM(require("typescript"), 1);
|
|
29069
29074
|
|
|
29070
|
-
// bazel-out/
|
|
29075
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
29071
29076
|
var Context = class {
|
|
29072
29077
|
constructor(isStatement) {
|
|
29073
29078
|
this.isStatement = isStatement;
|
|
@@ -29080,13 +29085,13 @@ var Context = class {
|
|
|
29080
29085
|
}
|
|
29081
29086
|
};
|
|
29082
29087
|
|
|
29083
|
-
// bazel-out/
|
|
29088
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
29084
29089
|
var import_typescript23 = __toESM(require("typescript"), 1);
|
|
29085
29090
|
|
|
29086
|
-
// bazel-out/
|
|
29091
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
29087
29092
|
var import_typescript15 = __toESM(require("typescript"), 1);
|
|
29088
29093
|
|
|
29089
|
-
// bazel-out/
|
|
29094
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
29090
29095
|
function findExportedNameOfNode(target, file, reflector) {
|
|
29091
29096
|
const exports = reflector.getExportsOfModule(file);
|
|
29092
29097
|
if (exports === null) {
|
|
@@ -29106,7 +29111,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
29106
29111
|
return foundExportName;
|
|
29107
29112
|
}
|
|
29108
29113
|
|
|
29109
|
-
// bazel-out/
|
|
29114
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
29110
29115
|
var ImportFlags;
|
|
29111
29116
|
(function(ImportFlags2) {
|
|
29112
29117
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -29322,7 +29327,7 @@ var UnifiedModulesStrategy = class {
|
|
|
29322
29327
|
}
|
|
29323
29328
|
};
|
|
29324
29329
|
|
|
29325
|
-
// bazel-out/
|
|
29330
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
29326
29331
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
29327
29332
|
var UnifiedModulesAliasingHost = class {
|
|
29328
29333
|
constructor(unifiedModulesHost) {
|
|
@@ -29389,7 +29394,7 @@ var AliasStrategy = class {
|
|
|
29389
29394
|
}
|
|
29390
29395
|
};
|
|
29391
29396
|
|
|
29392
|
-
// bazel-out/
|
|
29397
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
29393
29398
|
function relativePathBetween(from, to) {
|
|
29394
29399
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
29395
29400
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -29398,7 +29403,7 @@ function normalizeSeparators2(path4) {
|
|
|
29398
29403
|
return path4.replace(/\\/g, "/");
|
|
29399
29404
|
}
|
|
29400
29405
|
|
|
29401
|
-
// bazel-out/
|
|
29406
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
29402
29407
|
var NoopImportRewriter = class {
|
|
29403
29408
|
shouldImportSymbol(symbol, specifier) {
|
|
29404
29409
|
return true;
|
|
@@ -29457,7 +29462,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
29457
29462
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
29458
29463
|
}
|
|
29459
29464
|
|
|
29460
|
-
// bazel-out/
|
|
29465
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
29461
29466
|
var import_typescript17 = __toESM(require("typescript"), 1);
|
|
29462
29467
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
29463
29468
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -29492,7 +29497,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
29492
29497
|
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.");
|
|
29493
29498
|
}
|
|
29494
29499
|
|
|
29495
|
-
// bazel-out/
|
|
29500
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
29496
29501
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
29497
29502
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
29498
29503
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -29533,7 +29538,7 @@ var DefaultImportTracker = class {
|
|
|
29533
29538
|
}
|
|
29534
29539
|
};
|
|
29535
29540
|
|
|
29536
|
-
// bazel-out/
|
|
29541
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
29537
29542
|
var import_typescript19 = __toESM(require("typescript"), 1);
|
|
29538
29543
|
var AssumeEager = "AssumeEager";
|
|
29539
29544
|
var DeferredSymbolTracker = class {
|
|
@@ -29631,7 +29636,7 @@ var DeferredSymbolTracker = class {
|
|
|
29631
29636
|
}
|
|
29632
29637
|
};
|
|
29633
29638
|
|
|
29634
|
-
// bazel-out/
|
|
29639
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
29635
29640
|
var Reference2 = class {
|
|
29636
29641
|
constructor(node, bestGuessOwningModule = null) {
|
|
29637
29642
|
this.node = node;
|
|
@@ -29694,7 +29699,7 @@ var Reference2 = class {
|
|
|
29694
29699
|
}
|
|
29695
29700
|
};
|
|
29696
29701
|
|
|
29697
|
-
// bazel-out/
|
|
29702
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
29698
29703
|
var ModuleResolver = class {
|
|
29699
29704
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
29700
29705
|
this.program = program;
|
|
@@ -29711,7 +29716,7 @@ var ModuleResolver = class {
|
|
|
29711
29716
|
}
|
|
29712
29717
|
};
|
|
29713
29718
|
|
|
29714
|
-
// bazel-out/
|
|
29719
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
29715
29720
|
var ImportManager = class {
|
|
29716
29721
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
29717
29722
|
this.rewriter = rewriter;
|
|
@@ -29746,7 +29751,7 @@ var ImportManager = class {
|
|
|
29746
29751
|
}
|
|
29747
29752
|
};
|
|
29748
29753
|
|
|
29749
|
-
// bazel-out/
|
|
29754
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
29750
29755
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
29751
29756
|
[UnaryOperator.Minus, "-"],
|
|
29752
29757
|
[UnaryOperator.Plus, "+"]
|
|
@@ -29983,7 +29988,7 @@ function createRange(span) {
|
|
|
29983
29988
|
};
|
|
29984
29989
|
}
|
|
29985
29990
|
|
|
29986
|
-
// bazel-out/
|
|
29991
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
29987
29992
|
var import_typescript24 = __toESM(require("typescript"), 1);
|
|
29988
29993
|
var INELIGIBLE = {};
|
|
29989
29994
|
function canEmitType(type, canEmit) {
|
|
@@ -30058,7 +30063,7 @@ var TypeEmitter = class {
|
|
|
30058
30063
|
}
|
|
30059
30064
|
};
|
|
30060
30065
|
|
|
30061
|
-
// bazel-out/
|
|
30066
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
30062
30067
|
var import_typescript25 = __toESM(require("typescript"), 1);
|
|
30063
30068
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
30064
30069
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
@@ -30273,7 +30278,7 @@ var TypeTranslatorVisitor = class {
|
|
|
30273
30278
|
}
|
|
30274
30279
|
};
|
|
30275
30280
|
|
|
30276
|
-
// bazel-out/
|
|
30281
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
30277
30282
|
var import_typescript26 = __toESM(require("typescript"), 1);
|
|
30278
30283
|
var PureAnnotation;
|
|
30279
30284
|
(function(PureAnnotation2) {
|
|
@@ -30469,7 +30474,7 @@ function attachComments(statement, leadingComments) {
|
|
|
30469
30474
|
}
|
|
30470
30475
|
}
|
|
30471
30476
|
|
|
30472
|
-
// bazel-out/
|
|
30477
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
30473
30478
|
function translateExpression(expression, imports, options = {}) {
|
|
30474
30479
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
30475
30480
|
}
|
|
@@ -30477,7 +30482,7 @@ function translateStatement(statement, imports, options = {}) {
|
|
|
30477
30482
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
|
|
30478
30483
|
}
|
|
30479
30484
|
|
|
30480
|
-
// bazel-out/
|
|
30485
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
30481
30486
|
var import_typescript27 = __toESM(require("typescript"), 1);
|
|
30482
30487
|
function addImports(importManager, sf, extraStatements = []) {
|
|
30483
30488
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -30513,7 +30518,7 @@ function isImportStatement(stmt) {
|
|
|
30513
30518
|
return import_typescript27.default.isImportDeclaration(stmt) || import_typescript27.default.isImportEqualsDeclaration(stmt) || import_typescript27.default.isNamespaceImport(stmt);
|
|
30514
30519
|
}
|
|
30515
30520
|
|
|
30516
|
-
// bazel-out/
|
|
30521
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
30517
30522
|
var DtsTransformRegistry = class {
|
|
30518
30523
|
constructor() {
|
|
30519
30524
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -30660,10 +30665,10 @@ function markForEmitAsSingleLine(node) {
|
|
|
30660
30665
|
import_typescript28.default.forEachChild(node, markForEmitAsSingleLine);
|
|
30661
30666
|
}
|
|
30662
30667
|
|
|
30663
|
-
// bazel-out/
|
|
30668
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
30664
30669
|
var import_typescript30 = __toESM(require("typescript"), 1);
|
|
30665
30670
|
|
|
30666
|
-
// bazel-out/
|
|
30671
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
30667
30672
|
var import_typescript29 = __toESM(require("typescript"), 1);
|
|
30668
30673
|
function visit(node, visitor, context) {
|
|
30669
30674
|
return visitor._visit(node, context);
|
|
@@ -30724,7 +30729,7 @@ var Visitor = class {
|
|
|
30724
30729
|
}
|
|
30725
30730
|
};
|
|
30726
30731
|
|
|
30727
|
-
// bazel-out/
|
|
30732
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
30728
30733
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
30729
30734
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
30730
30735
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -30948,7 +30953,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
30948
30953
|
return array;
|
|
30949
30954
|
}
|
|
30950
30955
|
|
|
30951
|
-
// bazel-out/
|
|
30956
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
30952
30957
|
var import_typescript31 = __toESM(require("typescript"), 1);
|
|
30953
30958
|
function valueReferenceToExpression(valueRef) {
|
|
30954
30959
|
if (valueRef.kind === 2) {
|
|
@@ -31192,7 +31197,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
31192
31197
|
return import_typescript31.default.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === import_typescript31.default.SyntaxKind.AbstractKeyword) : false;
|
|
31193
31198
|
}
|
|
31194
31199
|
|
|
31195
|
-
// bazel-out/
|
|
31200
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
31196
31201
|
function getConstructorDependencies(clazz, reflector, isCore, compilationMode) {
|
|
31197
31202
|
const deps = [];
|
|
31198
31203
|
const errors = [];
|
|
@@ -31348,10 +31353,10 @@ function createUnsuitableInjectionTokenError(clazz, error2) {
|
|
|
31348
31353
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain2, hints);
|
|
31349
31354
|
}
|
|
31350
31355
|
|
|
31351
|
-
// bazel-out/
|
|
31356
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
31352
31357
|
var import_typescript40 = __toESM(require("typescript"), 1);
|
|
31353
31358
|
|
|
31354
|
-
// bazel-out/
|
|
31359
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
31355
31360
|
var MetaKind;
|
|
31356
31361
|
(function(MetaKind2) {
|
|
31357
31362
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -31364,10 +31369,10 @@ var MatchSource;
|
|
|
31364
31369
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
31365
31370
|
})(MatchSource || (MatchSource = {}));
|
|
31366
31371
|
|
|
31367
|
-
// bazel-out/
|
|
31372
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
31368
31373
|
var import_typescript35 = __toESM(require("typescript"), 1);
|
|
31369
31374
|
|
|
31370
|
-
// bazel-out/
|
|
31375
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
31371
31376
|
var ClassPropertyMapping = class {
|
|
31372
31377
|
constructor(forwardMap) {
|
|
31373
31378
|
this.forwardMap = forwardMap;
|
|
@@ -31445,7 +31450,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
31445
31450
|
return reverseMap;
|
|
31446
31451
|
}
|
|
31447
31452
|
|
|
31448
|
-
// bazel-out/
|
|
31453
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
31449
31454
|
var import_typescript33 = __toESM(require("typescript"), 1);
|
|
31450
31455
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
31451
31456
|
if (!import_typescript33.default.isTupleTypeNode(def)) {
|
|
@@ -31629,7 +31634,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
31629
31634
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
31630
31635
|
}
|
|
31631
31636
|
|
|
31632
|
-
// bazel-out/
|
|
31637
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
31633
31638
|
var DtsMetadataReader = class {
|
|
31634
31639
|
constructor(checker, reflector) {
|
|
31635
31640
|
this.checker = checker;
|
|
@@ -31804,7 +31809,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
31804
31809
|
return result.length > 0 ? result : null;
|
|
31805
31810
|
}
|
|
31806
31811
|
|
|
31807
|
-
// bazel-out/
|
|
31812
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
31808
31813
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
31809
31814
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
31810
31815
|
if (topMeta === null) {
|
|
@@ -31817,6 +31822,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
31817
31822
|
const undeclaredInputFields = /* @__PURE__ */ new Set();
|
|
31818
31823
|
const restrictedInputFields = /* @__PURE__ */ new Set();
|
|
31819
31824
|
const stringLiteralInputFields = /* @__PURE__ */ new Set();
|
|
31825
|
+
let hostDirectives = null;
|
|
31820
31826
|
let isDynamic = false;
|
|
31821
31827
|
let inputs = ClassPropertyMapping.empty();
|
|
31822
31828
|
let outputs = ClassPropertyMapping.empty();
|
|
@@ -31847,6 +31853,10 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
31847
31853
|
for (const field of meta.stringLiteralInputFields) {
|
|
31848
31854
|
stringLiteralInputFields.add(field);
|
|
31849
31855
|
}
|
|
31856
|
+
if (meta.hostDirectives !== null && meta.hostDirectives.length > 0) {
|
|
31857
|
+
hostDirectives != null ? hostDirectives : hostDirectives = [];
|
|
31858
|
+
hostDirectives.push(...meta.hostDirectives);
|
|
31859
|
+
}
|
|
31850
31860
|
};
|
|
31851
31861
|
addMetadata(topMeta);
|
|
31852
31862
|
return __spreadProps(__spreadValues({}, topMeta), {
|
|
@@ -31857,11 +31867,12 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
31857
31867
|
restrictedInputFields,
|
|
31858
31868
|
stringLiteralInputFields,
|
|
31859
31869
|
baseClass: isDynamic ? "dynamic" : null,
|
|
31860
|
-
isStructural
|
|
31870
|
+
isStructural,
|
|
31871
|
+
hostDirectives
|
|
31861
31872
|
});
|
|
31862
31873
|
}
|
|
31863
31874
|
|
|
31864
|
-
// bazel-out/
|
|
31875
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
31865
31876
|
var LocalMetadataRegistry = class {
|
|
31866
31877
|
constructor() {
|
|
31867
31878
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -31918,7 +31929,7 @@ var CompoundMetadataRegistry = class {
|
|
|
31918
31929
|
}
|
|
31919
31930
|
};
|
|
31920
31931
|
|
|
31921
|
-
// bazel-out/
|
|
31932
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
31922
31933
|
var ResourceRegistry = class {
|
|
31923
31934
|
constructor() {
|
|
31924
31935
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -31983,7 +31994,7 @@ var ResourceRegistry = class {
|
|
|
31983
31994
|
}
|
|
31984
31995
|
};
|
|
31985
31996
|
|
|
31986
|
-
// bazel-out/
|
|
31997
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
|
|
31987
31998
|
var ExportedProviderStatusResolver = class {
|
|
31988
31999
|
constructor(metaReader) {
|
|
31989
32000
|
this.metaReader = metaReader;
|
|
@@ -32027,7 +32038,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
32027
32038
|
}
|
|
32028
32039
|
};
|
|
32029
32040
|
|
|
32030
|
-
// bazel-out/
|
|
32041
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
32031
32042
|
var EMPTY_ARRAY = [];
|
|
32032
32043
|
var HostDirectivesResolver = class {
|
|
32033
32044
|
constructor(metaReader) {
|
|
@@ -32088,10 +32099,10 @@ function resolveOutput(bindingName) {
|
|
|
32088
32099
|
return bindingName;
|
|
32089
32100
|
}
|
|
32090
32101
|
|
|
32091
|
-
// bazel-out/
|
|
32102
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
32092
32103
|
var import_typescript37 = __toESM(require("typescript"), 1);
|
|
32093
32104
|
|
|
32094
|
-
// bazel-out/
|
|
32105
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
32095
32106
|
var DynamicValue = class {
|
|
32096
32107
|
constructor(node, reason, code) {
|
|
32097
32108
|
this.node = node;
|
|
@@ -32181,7 +32192,7 @@ var DynamicValue = class {
|
|
|
32181
32192
|
}
|
|
32182
32193
|
};
|
|
32183
32194
|
|
|
32184
|
-
// bazel-out/
|
|
32195
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
32185
32196
|
var ResolvedModule = class {
|
|
32186
32197
|
constructor(exports, evaluate) {
|
|
32187
32198
|
this.exports = exports;
|
|
@@ -32211,7 +32222,7 @@ var EnumValue = class {
|
|
|
32211
32222
|
var KnownFn = class {
|
|
32212
32223
|
};
|
|
32213
32224
|
|
|
32214
|
-
// bazel-out/
|
|
32225
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
32215
32226
|
function describeResolvedType(value, maxDepth = 1) {
|
|
32216
32227
|
var _a2, _b2;
|
|
32217
32228
|
if (value === null) {
|
|
@@ -32340,10 +32351,10 @@ function getContainerNode(node) {
|
|
|
32340
32351
|
return node.getSourceFile();
|
|
32341
32352
|
}
|
|
32342
32353
|
|
|
32343
|
-
// bazel-out/
|
|
32354
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
32344
32355
|
var import_typescript38 = __toESM(require("typescript"), 1);
|
|
32345
32356
|
|
|
32346
|
-
// bazel-out/
|
|
32357
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
32347
32358
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
32348
32359
|
constructor(lhs) {
|
|
32349
32360
|
super();
|
|
@@ -32395,14 +32406,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
|
|
|
32395
32406
|
}
|
|
32396
32407
|
};
|
|
32397
32408
|
|
|
32398
|
-
// bazel-out/
|
|
32409
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
32399
32410
|
var SyntheticValue = class {
|
|
32400
32411
|
constructor(value) {
|
|
32401
32412
|
this.value = value;
|
|
32402
32413
|
}
|
|
32403
32414
|
};
|
|
32404
32415
|
|
|
32405
|
-
// bazel-out/
|
|
32416
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
32406
32417
|
function literalBinaryOp(op) {
|
|
32407
32418
|
return { op, literal: true };
|
|
32408
32419
|
}
|
|
@@ -32977,7 +32988,7 @@ function owningModule(context, override = null) {
|
|
|
32977
32988
|
}
|
|
32978
32989
|
}
|
|
32979
32990
|
|
|
32980
|
-
// bazel-out/
|
|
32991
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
32981
32992
|
var PartialEvaluator = class {
|
|
32982
32993
|
constructor(host, checker, dependencyTracker) {
|
|
32983
32994
|
this.host = host;
|
|
@@ -32997,7 +33008,7 @@ var PartialEvaluator = class {
|
|
|
32997
33008
|
}
|
|
32998
33009
|
};
|
|
32999
33010
|
|
|
33000
|
-
// bazel-out/
|
|
33011
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
33001
33012
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
33002
33013
|
const context = [];
|
|
33003
33014
|
for (const decl of data) {
|
|
@@ -33193,7 +33204,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
|
|
|
33193
33204
|
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}.`);
|
|
33194
33205
|
}
|
|
33195
33206
|
|
|
33196
|
-
// bazel-out/
|
|
33207
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
33197
33208
|
var import_typescript42 = __toESM(require("typescript"), 1);
|
|
33198
33209
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
33199
33210
|
let resolved = null;
|
|
@@ -33243,7 +33254,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
33243
33254
|
return meta;
|
|
33244
33255
|
}
|
|
33245
33256
|
|
|
33246
|
-
// bazel-out/
|
|
33257
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
33247
33258
|
function compileNgFactoryDefField(metadata) {
|
|
33248
33259
|
const res = compileFactoryFunction(metadata);
|
|
33249
33260
|
return {
|
|
@@ -33265,7 +33276,7 @@ function compileDeclareFactory(metadata) {
|
|
|
33265
33276
|
};
|
|
33266
33277
|
}
|
|
33267
33278
|
|
|
33268
|
-
// bazel-out/
|
|
33279
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
33269
33280
|
var InjectableClassRegistry = class {
|
|
33270
33281
|
constructor(host, isCore) {
|
|
33271
33282
|
this.host = host;
|
|
@@ -33291,7 +33302,7 @@ var InjectableClassRegistry = class {
|
|
|
33291
33302
|
}
|
|
33292
33303
|
};
|
|
33293
33304
|
|
|
33294
|
-
// bazel-out/
|
|
33305
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
33295
33306
|
var import_typescript43 = __toESM(require("typescript"), 1);
|
|
33296
33307
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
33297
33308
|
if (!reflection.isClass(clazz)) {
|
|
@@ -33375,7 +33386,7 @@ function removeIdentifierReferences(node, names) {
|
|
|
33375
33386
|
return result.transformed[0];
|
|
33376
33387
|
}
|
|
33377
33388
|
|
|
33378
|
-
// bazel-out/
|
|
33389
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
|
|
33379
33390
|
var path2 = __toESM(require("path"), 1);
|
|
33380
33391
|
function extractClassDebugInfo(clazz, reflection, rootDirs, forbidOrphanRendering) {
|
|
33381
33392
|
if (!reflection.isClass(clazz)) {
|
|
@@ -33401,13 +33412,13 @@ function computeRelativePathIfPossible(filePath, rootDirs) {
|
|
|
33401
33412
|
return null;
|
|
33402
33413
|
}
|
|
33403
33414
|
|
|
33404
|
-
// bazel-out/
|
|
33415
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
33405
33416
|
var NoopReferencesRegistry = class {
|
|
33406
33417
|
add(source, ...references) {
|
|
33407
33418
|
}
|
|
33408
33419
|
};
|
|
33409
33420
|
|
|
33410
|
-
// bazel-out/
|
|
33421
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
33411
33422
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
33412
33423
|
const schemas = [];
|
|
33413
33424
|
const result = evaluator.evaluate(rawExpr);
|
|
@@ -33436,7 +33447,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
33436
33447
|
return schemas;
|
|
33437
33448
|
}
|
|
33438
33449
|
|
|
33439
|
-
// bazel-out/
|
|
33450
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
|
|
33440
33451
|
function compileInputTransformFields(inputs) {
|
|
33441
33452
|
const extraFields = [];
|
|
33442
33453
|
for (const input of inputs) {
|
|
@@ -33453,10 +33464,10 @@ function compileInputTransformFields(inputs) {
|
|
|
33453
33464
|
return extraFields;
|
|
33454
33465
|
}
|
|
33455
33466
|
|
|
33456
|
-
// bazel-out/
|
|
33467
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
33457
33468
|
var import_typescript54 = __toESM(require("typescript"), 1);
|
|
33458
33469
|
|
|
33459
|
-
// bazel-out/
|
|
33470
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
33460
33471
|
var import_typescript44 = __toESM(require("typescript"), 1);
|
|
33461
33472
|
var SemanticSymbol = class {
|
|
33462
33473
|
constructor(decl) {
|
|
@@ -33472,7 +33483,7 @@ function getSymbolIdentifier(decl) {
|
|
|
33472
33483
|
return decl.name.text;
|
|
33473
33484
|
}
|
|
33474
33485
|
|
|
33475
|
-
// bazel-out/
|
|
33486
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
33476
33487
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
33477
33488
|
isPublicApiAffected() {
|
|
33478
33489
|
return false;
|
|
@@ -33614,10 +33625,10 @@ function getImportPath(expr) {
|
|
|
33614
33625
|
}
|
|
33615
33626
|
}
|
|
33616
33627
|
|
|
33617
|
-
// bazel-out/
|
|
33628
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
33618
33629
|
var import_typescript45 = __toESM(require("typescript"), 1);
|
|
33619
33630
|
|
|
33620
|
-
// bazel-out/
|
|
33631
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
33621
33632
|
function isSymbolEqual(a, b) {
|
|
33622
33633
|
if (a.decl === b.decl) {
|
|
33623
33634
|
return true;
|
|
@@ -33667,7 +33678,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
33667
33678
|
return true;
|
|
33668
33679
|
}
|
|
33669
33680
|
|
|
33670
|
-
// bazel-out/
|
|
33681
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
33671
33682
|
function extractSemanticTypeParameters(node) {
|
|
33672
33683
|
if (!import_typescript45.default.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
33673
33684
|
return null;
|
|
@@ -33687,14 +33698,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
33687
33698
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
33688
33699
|
}
|
|
33689
33700
|
|
|
33690
|
-
// bazel-out/
|
|
33701
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
33691
33702
|
var ComponentScopeKind;
|
|
33692
33703
|
(function(ComponentScopeKind2) {
|
|
33693
33704
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
33694
33705
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
33695
33706
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
33696
33707
|
|
|
33697
|
-
// bazel-out/
|
|
33708
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
33698
33709
|
var CompoundComponentScopeReader = class {
|
|
33699
33710
|
constructor(readers) {
|
|
33700
33711
|
this.readers = readers;
|
|
@@ -33719,7 +33730,7 @@ var CompoundComponentScopeReader = class {
|
|
|
33719
33730
|
}
|
|
33720
33731
|
};
|
|
33721
33732
|
|
|
33722
|
-
// bazel-out/
|
|
33733
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
33723
33734
|
var MetadataDtsModuleScopeResolver = class {
|
|
33724
33735
|
constructor(dtsMetaReader, aliasingHost) {
|
|
33725
33736
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -33794,10 +33805,10 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
33794
33805
|
}
|
|
33795
33806
|
};
|
|
33796
33807
|
|
|
33797
|
-
// bazel-out/
|
|
33808
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
33798
33809
|
var import_typescript46 = __toESM(require("typescript"), 1);
|
|
33799
33810
|
|
|
33800
|
-
// bazel-out/
|
|
33811
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
33801
33812
|
function getDiagnosticNode(ref, rawExpr) {
|
|
33802
33813
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
33803
33814
|
}
|
|
@@ -33820,7 +33831,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
|
|
|
33820
33831
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
|
|
33821
33832
|
}
|
|
33822
33833
|
|
|
33823
|
-
// bazel-out/
|
|
33834
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
33824
33835
|
var LocalModuleScopeRegistry = class {
|
|
33825
33836
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
33826
33837
|
this.localReader = localReader;
|
|
@@ -34159,7 +34170,7 @@ function reexportCollision(module3, refA, refB) {
|
|
|
34159
34170
|
]);
|
|
34160
34171
|
}
|
|
34161
34172
|
|
|
34162
|
-
// bazel-out/
|
|
34173
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
34163
34174
|
var import_typescript48 = __toESM(require("typescript"), 1);
|
|
34164
34175
|
var TypeCheckScopeRegistry = class {
|
|
34165
34176
|
constructor(scopeReader, metaReader, hostDirectivesResolver) {
|
|
@@ -34227,7 +34238,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
34227
34238
|
}
|
|
34228
34239
|
};
|
|
34229
34240
|
|
|
34230
|
-
// bazel-out/
|
|
34241
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
34231
34242
|
var import_typescript49 = __toESM(require("typescript"), 1);
|
|
34232
34243
|
var EMPTY_OBJECT = {};
|
|
34233
34244
|
var QUERY_TYPES = /* @__PURE__ */ new Set([
|
|
@@ -34819,7 +34830,7 @@ function toR3InputMetadata(mapping) {
|
|
|
34819
34830
|
};
|
|
34820
34831
|
}
|
|
34821
34832
|
|
|
34822
|
-
// bazel-out/
|
|
34833
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
34823
34834
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
34824
34835
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
34825
34836
|
super(decl);
|
|
@@ -34899,7 +34910,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
34899
34910
|
return isSymbolEqual(current, previous);
|
|
34900
34911
|
}
|
|
34901
34912
|
|
|
34902
|
-
// bazel-out/
|
|
34913
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
34903
34914
|
var FIELD_DECORATORS = [
|
|
34904
34915
|
"Input",
|
|
34905
34916
|
"Output",
|
|
@@ -35071,10 +35082,10 @@ var DirectiveDecoratorHandler = class {
|
|
|
35071
35082
|
}
|
|
35072
35083
|
};
|
|
35073
35084
|
|
|
35074
|
-
// bazel-out/
|
|
35085
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
35075
35086
|
var import_typescript51 = __toESM(require("typescript"), 1);
|
|
35076
35087
|
|
|
35077
|
-
// bazel-out/
|
|
35088
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
35078
35089
|
var import_typescript50 = __toESM(require("typescript"), 1);
|
|
35079
35090
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
35080
35091
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -35141,7 +35152,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
35141
35152
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
35142
35153
|
}
|
|
35143
35154
|
|
|
35144
|
-
// bazel-out/
|
|
35155
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
35145
35156
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
35146
35157
|
constructor(decl, hasProviders) {
|
|
35147
35158
|
super(decl);
|
|
@@ -35706,7 +35717,7 @@ function isSyntheticReference(ref) {
|
|
|
35706
35717
|
return ref.synthetic;
|
|
35707
35718
|
}
|
|
35708
35719
|
|
|
35709
|
-
// bazel-out/
|
|
35720
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
35710
35721
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
35711
35722
|
const name = ref.debugName || "(unknown)";
|
|
35712
35723
|
const path4 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -35729,7 +35740,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
35729
35740
|
return null;
|
|
35730
35741
|
}
|
|
35731
35742
|
|
|
35732
|
-
// bazel-out/
|
|
35743
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
35733
35744
|
var import_typescript53 = __toESM(require("typescript"), 1);
|
|
35734
35745
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
35735
35746
|
return declaration.isInline ? declaration.expression : declaration.templateUrlExpression;
|
|
@@ -36084,7 +36095,7 @@ function _extractTemplateStyleUrls(template2) {
|
|
|
36084
36095
|
return template2.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
|
|
36085
36096
|
}
|
|
36086
36097
|
|
|
36087
|
-
// bazel-out/
|
|
36098
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
36088
36099
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
36089
36100
|
constructor() {
|
|
36090
36101
|
super(...arguments);
|
|
@@ -36119,7 +36130,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
36119
36130
|
}
|
|
36120
36131
|
};
|
|
36121
36132
|
|
|
36122
|
-
// bazel-out/
|
|
36133
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
36123
36134
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
36124
36135
|
if (value instanceof Map) {
|
|
36125
36136
|
const name = value.get("name");
|
|
@@ -36195,7 +36206,7 @@ function isLikelyModuleWithProviders(value) {
|
|
|
36195
36206
|
return false;
|
|
36196
36207
|
}
|
|
36197
36208
|
|
|
36198
|
-
// bazel-out/
|
|
36209
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
36199
36210
|
var EMPTY_ARRAY2 = [];
|
|
36200
36211
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
36201
36212
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
@@ -37005,7 +37016,7 @@ function validateStandaloneImports(importRefs, importExpr2, metaReader, scopeRea
|
|
|
37005
37016
|
return diagnostics;
|
|
37006
37017
|
}
|
|
37007
37018
|
|
|
37008
|
-
// bazel-out/
|
|
37019
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
37009
37020
|
var import_typescript56 = __toESM(require("typescript"), 1);
|
|
37010
37021
|
var InjectableDecoratorHandler = class {
|
|
37011
37022
|
constructor(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, perf, includeClassMetadata, compilationMode, errorOnDuplicateProv = true) {
|
|
@@ -37230,7 +37241,7 @@ function getDep(dep, reflector) {
|
|
|
37230
37241
|
return meta;
|
|
37231
37242
|
}
|
|
37232
37243
|
|
|
37233
|
-
// bazel-out/
|
|
37244
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
37234
37245
|
var import_typescript57 = __toESM(require("typescript"), 1);
|
|
37235
37246
|
var PipeSymbol = class extends SemanticSymbol {
|
|
37236
37247
|
constructor(decl, name) {
|
|
@@ -37381,7 +37392,7 @@ var PipeDecoratorHandler = class {
|
|
|
37381
37392
|
}
|
|
37382
37393
|
};
|
|
37383
37394
|
|
|
37384
|
-
// bazel-out/
|
|
37395
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
37385
37396
|
var CycleAnalyzer = class {
|
|
37386
37397
|
constructor(importGraph) {
|
|
37387
37398
|
this.importGraph = importGraph;
|
|
@@ -37452,7 +37463,7 @@ var Cycle = class {
|
|
|
37452
37463
|
}
|
|
37453
37464
|
};
|
|
37454
37465
|
|
|
37455
|
-
// bazel-out/
|
|
37466
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
37456
37467
|
var import_typescript58 = __toESM(require("typescript"), 1);
|
|
37457
37468
|
var ImportGraph = class {
|
|
37458
37469
|
constructor(checker, perf) {
|
|
@@ -37544,13 +37555,13 @@ var Found = class {
|
|
|
37544
37555
|
}
|
|
37545
37556
|
};
|
|
37546
37557
|
|
|
37547
|
-
// bazel-out/
|
|
37558
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
37548
37559
|
var import_typescript64 = __toESM(require("typescript"), 1);
|
|
37549
37560
|
|
|
37550
|
-
// bazel-out/
|
|
37561
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
37551
37562
|
var import_typescript61 = __toESM(require("typescript"), 1);
|
|
37552
37563
|
|
|
37553
|
-
// bazel-out/
|
|
37564
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
37554
37565
|
var EntryType;
|
|
37555
37566
|
(function(EntryType2) {
|
|
37556
37567
|
EntryType2["Block"] = "block";
|
|
@@ -37593,17 +37604,17 @@ var MemberTags;
|
|
|
37593
37604
|
MemberTags2["Inherited"] = "override";
|
|
37594
37605
|
})(MemberTags || (MemberTags = {}));
|
|
37595
37606
|
|
|
37596
|
-
// bazel-out/
|
|
37607
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
37597
37608
|
function isAngularPrivateName(name) {
|
|
37598
37609
|
var _a2;
|
|
37599
37610
|
const firstChar = (_a2 = name[0]) != null ? _a2 : "";
|
|
37600
37611
|
return firstChar === "\u0275" || firstChar === "_";
|
|
37601
37612
|
}
|
|
37602
37613
|
|
|
37603
|
-
// bazel-out/
|
|
37614
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
37604
37615
|
var import_typescript60 = __toESM(require("typescript"), 1);
|
|
37605
37616
|
|
|
37606
|
-
// bazel-out/
|
|
37617
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
37607
37618
|
function extractGenerics(declaration) {
|
|
37608
37619
|
var _a2, _b2;
|
|
37609
37620
|
return (_b2 = (_a2 = declaration.typeParameters) == null ? void 0 : _a2.map((typeParam) => {
|
|
@@ -37616,7 +37627,7 @@ function extractGenerics(declaration) {
|
|
|
37616
37627
|
})) != null ? _b2 : [];
|
|
37617
37628
|
}
|
|
37618
37629
|
|
|
37619
|
-
// bazel-out/
|
|
37630
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
37620
37631
|
var import_typescript59 = __toESM(require("typescript"), 1);
|
|
37621
37632
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf))/g;
|
|
37622
37633
|
function extractJsDocTags(node) {
|
|
@@ -37660,12 +37671,12 @@ function unescapeAngularDecorators(comment) {
|
|
|
37660
37671
|
return comment.replace(/_NG_AT_/g, "@");
|
|
37661
37672
|
}
|
|
37662
37673
|
|
|
37663
|
-
// bazel-out/
|
|
37674
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
37664
37675
|
function extractResolvedTypeString(node, checker) {
|
|
37665
37676
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
37666
37677
|
}
|
|
37667
37678
|
|
|
37668
|
-
// bazel-out/
|
|
37679
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
37669
37680
|
var FunctionExtractor = class {
|
|
37670
37681
|
constructor(declaration, typeChecker) {
|
|
37671
37682
|
this.declaration = declaration;
|
|
@@ -37719,7 +37730,7 @@ var FunctionExtractor = class {
|
|
|
37719
37730
|
}
|
|
37720
37731
|
};
|
|
37721
37732
|
|
|
37722
|
-
// bazel-out/
|
|
37733
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
37723
37734
|
var ClassExtractor = class {
|
|
37724
37735
|
constructor(declaration, typeChecker) {
|
|
37725
37736
|
this.declaration = declaration;
|
|
@@ -37946,7 +37957,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
37946
37957
|
return extractor.extract();
|
|
37947
37958
|
}
|
|
37948
37959
|
|
|
37949
|
-
// bazel-out/
|
|
37960
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
37950
37961
|
function extractConstant(declaration, typeChecker) {
|
|
37951
37962
|
const resolvedType = typeChecker.getBaseTypeOfLiteralType(typeChecker.getTypeAtLocation(declaration));
|
|
37952
37963
|
const variableStatement = declaration.parent.parent;
|
|
@@ -37964,7 +37975,7 @@ function isSyntheticAngularConstant(declaration) {
|
|
|
37964
37975
|
return declaration.name.getText() === "USED_FOR_NG_TYPE_CHECKING";
|
|
37965
37976
|
}
|
|
37966
37977
|
|
|
37967
|
-
// bazel-out/
|
|
37978
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
37968
37979
|
var import_typescript62 = __toESM(require("typescript"), 1);
|
|
37969
37980
|
function extractorDecorator(declaration, typeChecker) {
|
|
37970
37981
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -38037,7 +38048,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
38037
38048
|
return callSignature;
|
|
38038
38049
|
}
|
|
38039
38050
|
|
|
38040
|
-
// bazel-out/
|
|
38051
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
38041
38052
|
var import_typescript63 = __toESM(require("typescript"), 1);
|
|
38042
38053
|
function extractEnum(declaration, typeChecker) {
|
|
38043
38054
|
return {
|
|
@@ -38066,7 +38077,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
38066
38077
|
return (_a2 = literal3 == null ? void 0 : literal3.getText()) != null ? _a2 : "";
|
|
38067
38078
|
}
|
|
38068
38079
|
|
|
38069
|
-
// bazel-out/
|
|
38080
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
38070
38081
|
function extractTypeAlias(declaration) {
|
|
38071
38082
|
return {
|
|
38072
38083
|
name: declaration.name.getText(),
|
|
@@ -38078,7 +38089,7 @@ function extractTypeAlias(declaration) {
|
|
|
38078
38089
|
};
|
|
38079
38090
|
}
|
|
38080
38091
|
|
|
38081
|
-
// bazel-out/
|
|
38092
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
38082
38093
|
var DocsExtractor = class {
|
|
38083
38094
|
constructor(typeChecker, metadataReader) {
|
|
38084
38095
|
this.typeChecker = typeChecker;
|
|
@@ -38140,7 +38151,7 @@ function isIgnoredInterface(node) {
|
|
|
38140
38151
|
return node.name.getText().endsWith("Decorator") || isDecoratorOptionsInterface(node);
|
|
38141
38152
|
}
|
|
38142
38153
|
|
|
38143
|
-
// bazel-out/
|
|
38154
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
38144
38155
|
var import_typescript65 = __toESM(require("typescript"), 1);
|
|
38145
38156
|
var FlatIndexGenerator = class {
|
|
38146
38157
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -38165,7 +38176,7 @@ export * from '${relativeEntryPoint}';
|
|
|
38165
38176
|
}
|
|
38166
38177
|
};
|
|
38167
38178
|
|
|
38168
|
-
// bazel-out/
|
|
38179
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
38169
38180
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
38170
38181
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
38171
38182
|
let resolvedEntryPoint = null;
|
|
@@ -38181,7 +38192,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
38181
38192
|
return resolvedEntryPoint;
|
|
38182
38193
|
}
|
|
38183
38194
|
|
|
38184
|
-
// bazel-out/
|
|
38195
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
38185
38196
|
var import_typescript67 = __toESM(require("typescript"), 1);
|
|
38186
38197
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
38187
38198
|
const diagnostics = [];
|
|
@@ -38261,7 +38272,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
38261
38272
|
}
|
|
38262
38273
|
}
|
|
38263
38274
|
|
|
38264
|
-
// bazel-out/
|
|
38275
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
38265
38276
|
var ReferenceGraph = class {
|
|
38266
38277
|
constructor() {
|
|
38267
38278
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -38315,7 +38326,7 @@ var ReferenceGraph = class {
|
|
|
38315
38326
|
}
|
|
38316
38327
|
};
|
|
38317
38328
|
|
|
38318
|
-
// bazel-out/
|
|
38329
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
38319
38330
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
38320
38331
|
var UpdateMode;
|
|
38321
38332
|
(function(UpdateMode2) {
|
|
@@ -38323,13 +38334,13 @@ var UpdateMode;
|
|
|
38323
38334
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
38324
38335
|
})(UpdateMode || (UpdateMode = {}));
|
|
38325
38336
|
|
|
38326
|
-
// bazel-out/
|
|
38337
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
38327
38338
|
var import_typescript71 = __toESM(require("typescript"), 1);
|
|
38328
38339
|
|
|
38329
|
-
// bazel-out/
|
|
38340
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
38330
38341
|
var import_typescript68 = __toESM(require("typescript"), 1);
|
|
38331
38342
|
|
|
38332
|
-
// bazel-out/
|
|
38343
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
38333
38344
|
var NgExtension = Symbol("NgExtension");
|
|
38334
38345
|
function isExtended(sf) {
|
|
38335
38346
|
return sf[NgExtension] !== void 0;
|
|
@@ -38389,13 +38400,13 @@ function retagTsFile(sf) {
|
|
|
38389
38400
|
}
|
|
38390
38401
|
}
|
|
38391
38402
|
|
|
38392
|
-
// bazel-out/
|
|
38403
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
38393
38404
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
38394
38405
|
function makeShimFileName(fileName, suffix) {
|
|
38395
38406
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
38396
38407
|
}
|
|
38397
38408
|
|
|
38398
|
-
// bazel-out/
|
|
38409
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
38399
38410
|
var ShimAdapter = class {
|
|
38400
38411
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
38401
38412
|
this.delegate = delegate;
|
|
@@ -38490,7 +38501,7 @@ var ShimAdapter = class {
|
|
|
38490
38501
|
}
|
|
38491
38502
|
};
|
|
38492
38503
|
|
|
38493
|
-
// bazel-out/
|
|
38504
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
38494
38505
|
var ShimReferenceTagger = class {
|
|
38495
38506
|
constructor(shimExtensions) {
|
|
38496
38507
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -38524,7 +38535,7 @@ var ShimReferenceTagger = class {
|
|
|
38524
38535
|
}
|
|
38525
38536
|
};
|
|
38526
38537
|
|
|
38527
|
-
// bazel-out/
|
|
38538
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
38528
38539
|
var DelegatingCompilerHost = class {
|
|
38529
38540
|
constructor(delegate) {
|
|
38530
38541
|
this.delegate = delegate;
|
|
@@ -38637,7 +38648,7 @@ var TsCreateProgramDriver = class {
|
|
|
38637
38648
|
}
|
|
38638
38649
|
};
|
|
38639
38650
|
|
|
38640
|
-
// bazel-out/
|
|
38651
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
38641
38652
|
var FileDependencyGraph = class {
|
|
38642
38653
|
constructor() {
|
|
38643
38654
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -38704,7 +38715,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
38704
38715
|
return false;
|
|
38705
38716
|
}
|
|
38706
38717
|
|
|
38707
|
-
// bazel-out/
|
|
38718
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
38708
38719
|
var IncrementalStateKind;
|
|
38709
38720
|
(function(IncrementalStateKind2) {
|
|
38710
38721
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -38712,7 +38723,7 @@ var IncrementalStateKind;
|
|
|
38712
38723
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
38713
38724
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
38714
38725
|
|
|
38715
|
-
// bazel-out/
|
|
38726
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
38716
38727
|
var PhaseKind;
|
|
38717
38728
|
(function(PhaseKind2) {
|
|
38718
38729
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -38913,7 +38924,7 @@ function toOriginalSourceFile(sf) {
|
|
|
38913
38924
|
}
|
|
38914
38925
|
}
|
|
38915
38926
|
|
|
38916
|
-
// bazel-out/
|
|
38927
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
38917
38928
|
var TrackedIncrementalBuildStrategy = class {
|
|
38918
38929
|
constructor() {
|
|
38919
38930
|
this.state = null;
|
|
@@ -38934,7 +38945,7 @@ var TrackedIncrementalBuildStrategy = class {
|
|
|
38934
38945
|
};
|
|
38935
38946
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
38936
38947
|
|
|
38937
|
-
// bazel-out/
|
|
38948
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
38938
38949
|
var IdentifierKind;
|
|
38939
38950
|
(function(IdentifierKind2) {
|
|
38940
38951
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -38952,7 +38963,7 @@ var AbsoluteSourceSpan2 = class {
|
|
|
38952
38963
|
}
|
|
38953
38964
|
};
|
|
38954
38965
|
|
|
38955
|
-
// bazel-out/
|
|
38966
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
38956
38967
|
var IndexingContext = class {
|
|
38957
38968
|
constructor() {
|
|
38958
38969
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -38962,7 +38973,7 @@ var IndexingContext = class {
|
|
|
38962
38973
|
}
|
|
38963
38974
|
};
|
|
38964
38975
|
|
|
38965
|
-
// bazel-out/
|
|
38976
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
38966
38977
|
var ExpressionVisitor = class extends RecursiveAstVisitor2 {
|
|
38967
38978
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
38968
38979
|
super();
|
|
@@ -39243,7 +39254,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
39243
39254
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
39244
39255
|
}
|
|
39245
39256
|
|
|
39246
|
-
// bazel-out/
|
|
39257
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
39247
39258
|
function generateAnalysis(context) {
|
|
39248
39259
|
const analysis = /* @__PURE__ */ new Map();
|
|
39249
39260
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -39279,7 +39290,7 @@ function generateAnalysis(context) {
|
|
|
39279
39290
|
return analysis;
|
|
39280
39291
|
}
|
|
39281
39292
|
|
|
39282
|
-
// bazel-out/
|
|
39293
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
39283
39294
|
var NgModuleIndexImpl = class {
|
|
39284
39295
|
constructor(metaReader, localReader) {
|
|
39285
39296
|
this.metaReader = metaReader;
|
|
@@ -39368,7 +39379,7 @@ var NgModuleIndexImpl = class {
|
|
|
39368
39379
|
}
|
|
39369
39380
|
};
|
|
39370
39381
|
|
|
39371
|
-
// bazel-out/
|
|
39382
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
39372
39383
|
var import_typescript74 = __toESM(require("typescript"), 1);
|
|
39373
39384
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
39374
39385
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -39516,7 +39527,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
39516
39527
|
};
|
|
39517
39528
|
}
|
|
39518
39529
|
|
|
39519
|
-
// bazel-out/
|
|
39530
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
39520
39531
|
var StandaloneComponentScopeReader = class {
|
|
39521
39532
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
39522
39533
|
this.metaReader = metaReader;
|
|
@@ -39594,21 +39605,21 @@ var StandaloneComponentScopeReader = class {
|
|
|
39594
39605
|
}
|
|
39595
39606
|
};
|
|
39596
39607
|
|
|
39597
|
-
// bazel-out/
|
|
39608
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
39598
39609
|
var OptimizeFor;
|
|
39599
39610
|
(function(OptimizeFor2) {
|
|
39600
39611
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
39601
39612
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
39602
39613
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
39603
39614
|
|
|
39604
|
-
// bazel-out/
|
|
39615
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
39605
39616
|
var CompletionKind;
|
|
39606
39617
|
(function(CompletionKind2) {
|
|
39607
39618
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
39608
39619
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
39609
39620
|
})(CompletionKind || (CompletionKind = {}));
|
|
39610
39621
|
|
|
39611
|
-
// bazel-out/
|
|
39622
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
39612
39623
|
var PotentialImportKind;
|
|
39613
39624
|
(function(PotentialImportKind2) {
|
|
39614
39625
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -39620,7 +39631,7 @@ var PotentialImportMode;
|
|
|
39620
39631
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
39621
39632
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
39622
39633
|
|
|
39623
|
-
// bazel-out/
|
|
39634
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
39624
39635
|
var SymbolKind;
|
|
39625
39636
|
(function(SymbolKind2) {
|
|
39626
39637
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -39636,7 +39647,7 @@ var SymbolKind;
|
|
|
39636
39647
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
39637
39648
|
})(SymbolKind || (SymbolKind = {}));
|
|
39638
39649
|
|
|
39639
|
-
// bazel-out/
|
|
39650
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
39640
39651
|
var import_typescript75 = __toESM(require("typescript"), 1);
|
|
39641
39652
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
39642
39653
|
var _a2;
|
|
@@ -39743,7 +39754,7 @@ function parseTemplateAsSourceFile(fileName, template2) {
|
|
|
39743
39754
|
return import_typescript75.default.createSourceFile(fileName, template2, import_typescript75.default.ScriptTarget.Latest, false, import_typescript75.default.ScriptKind.JSX);
|
|
39744
39755
|
}
|
|
39745
39756
|
|
|
39746
|
-
// bazel-out/
|
|
39757
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
39747
39758
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
39748
39759
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
39749
39760
|
function getTemplateId(clazz) {
|
|
@@ -39760,10 +39771,10 @@ function allocateTemplateId(sf) {
|
|
|
39760
39771
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
39761
39772
|
}
|
|
39762
39773
|
|
|
39763
|
-
// bazel-out/
|
|
39774
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
39764
39775
|
var import_typescript77 = __toESM(require("typescript"), 1);
|
|
39765
39776
|
|
|
39766
|
-
// bazel-out/
|
|
39777
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
39767
39778
|
var import_typescript76 = __toESM(require("typescript"), 1);
|
|
39768
39779
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
39769
39780
|
function readSpanComment(node, sourceFile = node.getSourceFile()) {
|
|
@@ -39892,7 +39903,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
39892
39903
|
}) || false;
|
|
39893
39904
|
}
|
|
39894
39905
|
|
|
39895
|
-
// bazel-out/
|
|
39906
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
39896
39907
|
var CompletionEngine = class {
|
|
39897
39908
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
39898
39909
|
this.tcb = tcb;
|
|
@@ -40049,10 +40060,10 @@ var CompletionEngine = class {
|
|
|
40049
40060
|
}
|
|
40050
40061
|
};
|
|
40051
40062
|
|
|
40052
|
-
// bazel-out/
|
|
40063
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
40053
40064
|
var import_typescript91 = __toESM(require("typescript"), 1);
|
|
40054
40065
|
|
|
40055
|
-
// bazel-out/
|
|
40066
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
40056
40067
|
var import_typescript78 = __toESM(require("typescript"), 1);
|
|
40057
40068
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
40058
40069
|
var REMOVE_XHTML_REGEX = /^:xhtml:/;
|
|
@@ -40104,10 +40115,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
40104
40115
|
}
|
|
40105
40116
|
};
|
|
40106
40117
|
|
|
40107
|
-
// bazel-out/
|
|
40118
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
40108
40119
|
var import_typescript84 = __toESM(require("typescript"), 1);
|
|
40109
40120
|
|
|
40110
|
-
// bazel-out/
|
|
40121
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
40111
40122
|
var import_typescript79 = __toESM(require("typescript"), 1);
|
|
40112
40123
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
40113
40124
|
import_typescript79.default.SyntaxKind.ParenthesizedExpression,
|
|
@@ -40185,13 +40196,13 @@ function isAccessExpression2(node) {
|
|
|
40185
40196
|
return import_typescript79.default.isPropertyAccessExpression(node) || import_typescript79.default.isElementAccessExpression(node);
|
|
40186
40197
|
}
|
|
40187
40198
|
|
|
40188
|
-
// bazel-out/
|
|
40199
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
40189
40200
|
var import_typescript83 = __toESM(require("typescript"), 1);
|
|
40190
40201
|
|
|
40191
|
-
// bazel-out/
|
|
40202
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
40192
40203
|
var import_typescript81 = __toESM(require("typescript"), 1);
|
|
40193
40204
|
|
|
40194
|
-
// bazel-out/
|
|
40205
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
40195
40206
|
var import_typescript80 = __toESM(require("typescript"), 1);
|
|
40196
40207
|
var TypeParameterEmitter = class {
|
|
40197
40208
|
constructor(typeParameters, reflector) {
|
|
@@ -40269,7 +40280,7 @@ var TypeParameterEmitter = class {
|
|
|
40269
40280
|
}
|
|
40270
40281
|
};
|
|
40271
40282
|
|
|
40272
|
-
// bazel-out/
|
|
40283
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
40273
40284
|
var TcbInliningRequirement;
|
|
40274
40285
|
(function(TcbInliningRequirement2) {
|
|
40275
40286
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -40349,7 +40360,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
40349
40360
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
40350
40361
|
}
|
|
40351
40362
|
|
|
40352
|
-
// bazel-out/
|
|
40363
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
40353
40364
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
40354
40365
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
40355
40366
|
const rawType = import_typescript83.default.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -40460,7 +40471,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
40460
40471
|
});
|
|
40461
40472
|
}
|
|
40462
40473
|
|
|
40463
|
-
// bazel-out/
|
|
40474
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
40464
40475
|
var Environment = class {
|
|
40465
40476
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
40466
40477
|
this.config = config;
|
|
@@ -40554,7 +40565,7 @@ var Environment = class {
|
|
|
40554
40565
|
}
|
|
40555
40566
|
};
|
|
40556
40567
|
|
|
40557
|
-
// bazel-out/
|
|
40568
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
40558
40569
|
var import_typescript85 = __toESM(require("typescript"), 1);
|
|
40559
40570
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
40560
40571
|
constructor(resolver) {
|
|
@@ -40708,7 +40719,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
40708
40719
|
});
|
|
40709
40720
|
}
|
|
40710
40721
|
|
|
40711
|
-
// bazel-out/
|
|
40722
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
40712
40723
|
var import_typescript86 = __toESM(require("typescript"), 1);
|
|
40713
40724
|
var TypeCheckShimGenerator = class {
|
|
40714
40725
|
constructor() {
|
|
@@ -40726,10 +40737,10 @@ var TypeCheckShimGenerator = class {
|
|
|
40726
40737
|
}
|
|
40727
40738
|
};
|
|
40728
40739
|
|
|
40729
|
-
// bazel-out/
|
|
40740
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
40730
40741
|
var import_typescript89 = __toESM(require("typescript"), 1);
|
|
40731
40742
|
|
|
40732
|
-
// bazel-out/
|
|
40743
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
40733
40744
|
var import_typescript87 = __toESM(require("typescript"), 1);
|
|
40734
40745
|
function wrapForDiagnostics(expr) {
|
|
40735
40746
|
return import_typescript87.default.factory.createParenthesizedExpression(expr);
|
|
@@ -40774,7 +40785,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
40774
40785
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
40775
40786
|
}
|
|
40776
40787
|
|
|
40777
|
-
// bazel-out/
|
|
40788
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
40778
40789
|
var import_typescript88 = __toESM(require("typescript"), 1);
|
|
40779
40790
|
var NULL_AS_ANY = import_typescript88.default.factory.createAsExpression(import_typescript88.default.factory.createNull(), import_typescript88.default.factory.createKeywordTypeNode(import_typescript88.default.SyntaxKind.AnyKeyword));
|
|
40780
40791
|
var UNDEFINED = import_typescript88.default.factory.createIdentifier("undefined");
|
|
@@ -41106,7 +41117,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
41106
41117
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
41107
41118
|
})();
|
|
41108
41119
|
|
|
41109
|
-
// bazel-out/
|
|
41120
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
41110
41121
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
41111
41122
|
constructor(templateId, boundTarget, oob) {
|
|
41112
41123
|
super();
|
|
@@ -41129,7 +41140,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
41129
41140
|
}
|
|
41130
41141
|
};
|
|
41131
41142
|
|
|
41132
|
-
// bazel-out/
|
|
41143
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
41133
41144
|
var TcbGenericContextBehavior;
|
|
41134
41145
|
(function(TcbGenericContextBehavior2) {
|
|
41135
41146
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -42515,7 +42526,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
42515
42526
|
}
|
|
42516
42527
|
};
|
|
42517
42528
|
|
|
42518
|
-
// bazel-out/
|
|
42529
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
42519
42530
|
var import_typescript90 = __toESM(require("typescript"), 1);
|
|
42520
42531
|
var TypeCheckFile = class extends Environment {
|
|
42521
42532
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -42551,7 +42562,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
42551
42562
|
}
|
|
42552
42563
|
};
|
|
42553
42564
|
|
|
42554
|
-
// bazel-out/
|
|
42565
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
42555
42566
|
var InliningMode;
|
|
42556
42567
|
(function(InliningMode2) {
|
|
42557
42568
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -42788,7 +42799,7 @@ function splitStringAtPoints(str, points) {
|
|
|
42788
42799
|
return splits;
|
|
42789
42800
|
}
|
|
42790
42801
|
|
|
42791
|
-
// bazel-out/
|
|
42802
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
42792
42803
|
var LF_CHAR = 10;
|
|
42793
42804
|
var CR_CHAR = 13;
|
|
42794
42805
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -42829,7 +42840,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
42829
42840
|
return low - 1;
|
|
42830
42841
|
}
|
|
42831
42842
|
|
|
42832
|
-
// bazel-out/
|
|
42843
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
42833
42844
|
var TemplateSource = class {
|
|
42834
42845
|
constructor(mapping, file) {
|
|
42835
42846
|
this.mapping = mapping;
|
|
@@ -42880,7 +42891,7 @@ var TemplateSourceManager = class {
|
|
|
42880
42891
|
}
|
|
42881
42892
|
};
|
|
42882
42893
|
|
|
42883
|
-
// bazel-out/
|
|
42894
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
42884
42895
|
var import_typescript92 = __toESM(require("typescript"), 1);
|
|
42885
42896
|
var SymbolBuilder = class {
|
|
42886
42897
|
constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
|
|
@@ -43357,7 +43368,7 @@ function sourceSpanEqual(a, b) {
|
|
|
43357
43368
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
43358
43369
|
}
|
|
43359
43370
|
|
|
43360
|
-
// bazel-out/
|
|
43371
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
43361
43372
|
var REGISTRY2 = new DomElementSchemaRegistry();
|
|
43362
43373
|
var TemplateTypeCheckerImpl = class {
|
|
43363
43374
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -44053,7 +44064,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
44053
44064
|
}
|
|
44054
44065
|
};
|
|
44055
44066
|
|
|
44056
|
-
// bazel-out/
|
|
44067
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
44057
44068
|
var TemplateCheckWithVisitor = class {
|
|
44058
44069
|
run(ctx, component, template2) {
|
|
44059
44070
|
const visitor = new TemplateVisitor2(ctx, component, this);
|
|
@@ -44176,7 +44187,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
44176
44187
|
}
|
|
44177
44188
|
};
|
|
44178
44189
|
|
|
44179
|
-
// bazel-out/
|
|
44190
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
44180
44191
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
44181
44192
|
constructor() {
|
|
44182
44193
|
super(...arguments);
|
|
@@ -44211,7 +44222,7 @@ var factory = {
|
|
|
44211
44222
|
create: () => new InterpolatedSignalCheck()
|
|
44212
44223
|
};
|
|
44213
44224
|
|
|
44214
|
-
// bazel-out/
|
|
44225
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
44215
44226
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
44216
44227
|
constructor() {
|
|
44217
44228
|
super(...arguments);
|
|
@@ -44236,7 +44247,7 @@ var factory2 = {
|
|
|
44236
44247
|
create: () => new InvalidBananaInBoxCheck()
|
|
44237
44248
|
};
|
|
44238
44249
|
|
|
44239
|
-
// bazel-out/
|
|
44250
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
44240
44251
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
44241
44252
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
44242
44253
|
["ngFor", { directive: "NgFor", builtIn: "@for" }],
|
|
@@ -44280,7 +44291,7 @@ var factory3 = {
|
|
|
44280
44291
|
}
|
|
44281
44292
|
};
|
|
44282
44293
|
|
|
44283
|
-
// bazel-out/
|
|
44294
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
44284
44295
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
44285
44296
|
constructor() {
|
|
44286
44297
|
super(...arguments);
|
|
@@ -44312,7 +44323,7 @@ var factory4 = {
|
|
|
44312
44323
|
create: () => new MissingNgForOfLetCheck()
|
|
44313
44324
|
};
|
|
44314
44325
|
|
|
44315
|
-
// bazel-out/
|
|
44326
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
44316
44327
|
var import_typescript95 = __toESM(require("typescript"), 1);
|
|
44317
44328
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
44318
44329
|
constructor() {
|
|
@@ -44356,7 +44367,7 @@ var factory5 = {
|
|
|
44356
44367
|
}
|
|
44357
44368
|
};
|
|
44358
44369
|
|
|
44359
|
-
// bazel-out/
|
|
44370
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
44360
44371
|
var import_typescript96 = __toESM(require("typescript"), 1);
|
|
44361
44372
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
44362
44373
|
constructor() {
|
|
@@ -44401,7 +44412,7 @@ var factory6 = {
|
|
|
44401
44412
|
}
|
|
44402
44413
|
};
|
|
44403
44414
|
|
|
44404
|
-
// bazel-out/
|
|
44415
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
44405
44416
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
44406
44417
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
44407
44418
|
constructor() {
|
|
@@ -44424,7 +44435,7 @@ var factory7 = {
|
|
|
44424
44435
|
create: () => new SuffixNotSupportedCheck()
|
|
44425
44436
|
};
|
|
44426
44437
|
|
|
44427
|
-
// bazel-out/
|
|
44438
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
44428
44439
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
44429
44440
|
constructor() {
|
|
44430
44441
|
super(...arguments);
|
|
@@ -44462,10 +44473,10 @@ var factory8 = {
|
|
|
44462
44473
|
create: () => new TextAttributeNotBindingSpec()
|
|
44463
44474
|
};
|
|
44464
44475
|
|
|
44465
|
-
// bazel-out/
|
|
44476
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
44466
44477
|
var import_typescript97 = __toESM(require("typescript"), 1);
|
|
44467
44478
|
|
|
44468
|
-
// bazel-out/
|
|
44479
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
44469
44480
|
var DiagnosticCategoryLabel;
|
|
44470
44481
|
(function(DiagnosticCategoryLabel2) {
|
|
44471
44482
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -44473,7 +44484,7 @@ var DiagnosticCategoryLabel;
|
|
|
44473
44484
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
44474
44485
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
44475
44486
|
|
|
44476
|
-
// bazel-out/
|
|
44487
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
44477
44488
|
var ExtendedTemplateCheckerImpl = class {
|
|
44478
44489
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
44479
44490
|
var _a2, _b2, _c2, _d2, _e2;
|
|
@@ -44525,7 +44536,7 @@ function assertNever(value) {
|
|
|
44525
44536
|
${value}`);
|
|
44526
44537
|
}
|
|
44527
44538
|
|
|
44528
|
-
// bazel-out/
|
|
44539
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
44529
44540
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
44530
44541
|
factory2,
|
|
44531
44542
|
factory5,
|
|
@@ -44537,7 +44548,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
44537
44548
|
factory
|
|
44538
44549
|
];
|
|
44539
44550
|
|
|
44540
|
-
// bazel-out/
|
|
44551
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
44541
44552
|
var CompilationTicketKind;
|
|
44542
44553
|
(function(CompilationTicketKind2) {
|
|
44543
44554
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -45281,7 +45292,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
45281
45292
|
return versions;
|
|
45282
45293
|
}
|
|
45283
45294
|
|
|
45284
|
-
// bazel-out/
|
|
45295
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
45285
45296
|
var import_typescript100 = __toESM(require("typescript"), 1);
|
|
45286
45297
|
var DelegatingCompilerHost2 = class {
|
|
45287
45298
|
constructor(delegate) {
|
|
@@ -45414,7 +45425,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
45414
45425
|
}
|
|
45415
45426
|
};
|
|
45416
45427
|
|
|
45417
|
-
// bazel-out/
|
|
45428
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
45418
45429
|
var NgtscProgram = class {
|
|
45419
45430
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
45420
45431
|
this.options = options;
|
|
@@ -45641,21 +45652,21 @@ function mergeEmitResults(emitResults) {
|
|
|
45641
45652
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
45642
45653
|
}
|
|
45643
45654
|
|
|
45644
|
-
// bazel-out/
|
|
45655
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
45645
45656
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
45646
45657
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
45647
45658
|
}
|
|
45648
45659
|
|
|
45649
|
-
// bazel-out/
|
|
45660
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
45650
45661
|
var import_typescript104 = __toESM(require("typescript"), 1);
|
|
45651
45662
|
|
|
45652
|
-
// bazel-out/
|
|
45663
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
45653
45664
|
var import_typescript103 = __toESM(require("typescript"), 1);
|
|
45654
45665
|
|
|
45655
|
-
// bazel-out/
|
|
45666
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
45656
45667
|
var import_typescript105 = __toESM(require("typescript"), 1);
|
|
45657
45668
|
|
|
45658
|
-
// bazel-out/
|
|
45669
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
45659
45670
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
45660
45671
|
ngDevMode: false,
|
|
45661
45672
|
ngI18nClosureMode: false
|
|
@@ -45664,7 +45675,7 @@ var GLOBAL_DEFS_FOR_TERSER_WITH_AOT = __spreadProps(__spreadValues({}, GLOBAL_DE
|
|
|
45664
45675
|
ngJitMode: false
|
|
45665
45676
|
});
|
|
45666
45677
|
|
|
45667
|
-
// bazel-out/
|
|
45678
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
45668
45679
|
var LogLevel;
|
|
45669
45680
|
(function(LogLevel2) {
|
|
45670
45681
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -45673,7 +45684,7 @@ var LogLevel;
|
|
|
45673
45684
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
45674
45685
|
})(LogLevel || (LogLevel = {}));
|
|
45675
45686
|
|
|
45676
|
-
// bazel-out/
|
|
45687
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
45677
45688
|
var RESET = "\x1B[0m";
|
|
45678
45689
|
var RED = "\x1B[31m";
|
|
45679
45690
|
var YELLOW = "\x1B[33m";
|
|
@@ -45682,18 +45693,18 @@ var DEBUG = `${BLUE}Debug:${RESET}`;
|
|
|
45682
45693
|
var WARN = `${YELLOW}Warning:${RESET}`;
|
|
45683
45694
|
var ERROR = `${RED}Error:${RESET}`;
|
|
45684
45695
|
|
|
45685
|
-
// bazel-out/
|
|
45696
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
45686
45697
|
setFileSystem(new NodeJSFileSystem());
|
|
45687
45698
|
|
|
45688
|
-
// bazel-out/
|
|
45699
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
45689
45700
|
var import_fs2 = require("fs");
|
|
45690
45701
|
var import_path8 = require("path");
|
|
45691
45702
|
var import_typescript118 = __toESM(require("typescript"), 1);
|
|
45692
45703
|
|
|
45693
|
-
// bazel-out/
|
|
45704
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
45694
45705
|
var import_typescript107 = __toESM(require("typescript"), 1);
|
|
45695
45706
|
|
|
45696
|
-
// bazel-out/
|
|
45707
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
|
|
45697
45708
|
var import_path4 = require("path");
|
|
45698
45709
|
var import_typescript106 = __toESM(require("typescript"), 1);
|
|
45699
45710
|
var ImportManager2 = class {
|
|
@@ -45877,7 +45888,7 @@ ${text2}`;
|
|
|
45877
45888
|
}
|
|
45878
45889
|
};
|
|
45879
45890
|
|
|
45880
|
-
// bazel-out/
|
|
45891
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
45881
45892
|
var ChangeTracker = class {
|
|
45882
45893
|
constructor(_printer, _importRemapper) {
|
|
45883
45894
|
__publicField(this, "_printer");
|
|
@@ -45936,7 +45947,7 @@ function normalizePath(path4) {
|
|
|
45936
45947
|
return path4.replace(/\\/g, "/");
|
|
45937
45948
|
}
|
|
45938
45949
|
|
|
45939
|
-
// bazel-out/
|
|
45950
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
45940
45951
|
var import_core16 = require("@angular-devkit/core");
|
|
45941
45952
|
function getProjectTsConfigPaths(tree) {
|
|
45942
45953
|
return __async(this, null, function* () {
|
|
@@ -46016,11 +46027,11 @@ function getWorkspace(tree) {
|
|
|
46016
46027
|
});
|
|
46017
46028
|
}
|
|
46018
46029
|
|
|
46019
|
-
// bazel-out/
|
|
46030
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
46020
46031
|
var import_path5 = require("path");
|
|
46021
46032
|
var import_typescript109 = __toESM(require("typescript"), 1);
|
|
46022
46033
|
|
|
46023
|
-
// bazel-out/
|
|
46034
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
46024
46035
|
var path3 = __toESM(require("path"), 1);
|
|
46025
46036
|
var import_typescript108 = __toESM(require("typescript"), 1);
|
|
46026
46037
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -46037,7 +46048,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
46037
46048
|
return import_typescript108.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
46038
46049
|
}
|
|
46039
46050
|
|
|
46040
|
-
// bazel-out/
|
|
46051
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
46041
46052
|
function createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles, optionOverrides) {
|
|
46042
46053
|
tsconfigPath = (0, import_path5.resolve)(basePath, tsconfigPath);
|
|
46043
46054
|
const parsed = parseTsconfigFile(tsconfigPath, (0, import_path5.dirname)(tsconfigPath));
|
|
@@ -46066,13 +46077,13 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
46066
46077
|
return !(0, import_path5.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
46067
46078
|
}
|
|
46068
46079
|
|
|
46069
|
-
// bazel-out/
|
|
46080
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
46070
46081
|
var import_typescript114 = __toESM(require("typescript"), 1);
|
|
46071
46082
|
|
|
46072
|
-
// bazel-out/
|
|
46083
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
46073
46084
|
var import_typescript111 = __toESM(require("typescript"), 1);
|
|
46074
46085
|
|
|
46075
|
-
// bazel-out/
|
|
46086
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
|
|
46076
46087
|
var import_typescript110 = __toESM(require("typescript"), 1);
|
|
46077
46088
|
function getImportOfIdentifier(typeChecker, node) {
|
|
46078
46089
|
const symbol = typeChecker.getSymbolAtLocation(node);
|
|
@@ -46123,7 +46134,7 @@ function findImportSpecifier(nodes, specifierName) {
|
|
|
46123
46134
|
});
|
|
46124
46135
|
}
|
|
46125
46136
|
|
|
46126
|
-
// bazel-out/
|
|
46137
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
46127
46138
|
function getCallDecoratorImport(typeChecker, decorator) {
|
|
46128
46139
|
if (!import_typescript111.default.isCallExpression(decorator.expression) || !import_typescript111.default.isIdentifier(decorator.expression.expression)) {
|
|
46129
46140
|
return null;
|
|
@@ -46132,7 +46143,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
|
|
|
46132
46143
|
return getImportOfIdentifier(typeChecker, identifier);
|
|
46133
46144
|
}
|
|
46134
46145
|
|
|
46135
|
-
// bazel-out/
|
|
46146
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
|
|
46136
46147
|
function getAngularDecorators(typeChecker, decorators) {
|
|
46137
46148
|
return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
|
|
46138
46149
|
node,
|
|
@@ -46142,7 +46153,7 @@ function getAngularDecorators(typeChecker, decorators) {
|
|
|
46142
46153
|
}));
|
|
46143
46154
|
}
|
|
46144
46155
|
|
|
46145
|
-
// bazel-out/
|
|
46156
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
|
|
46146
46157
|
var import_typescript112 = __toESM(require("typescript"), 1);
|
|
46147
46158
|
function closestNode(node, predicate) {
|
|
46148
46159
|
let current = node.parent;
|
|
@@ -46155,7 +46166,7 @@ function closestNode(node, predicate) {
|
|
|
46155
46166
|
return null;
|
|
46156
46167
|
}
|
|
46157
46168
|
|
|
46158
|
-
// bazel-out/
|
|
46169
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
|
|
46159
46170
|
var import_path6 = require("path");
|
|
46160
46171
|
var import_typescript113 = __toESM(require("typescript"), 1);
|
|
46161
46172
|
var UniqueItemTracker = class {
|
|
@@ -46331,7 +46342,7 @@ function isClassReferenceInAngularModule(node, className, moduleName, typeChecke
|
|
|
46331
46342
|
}));
|
|
46332
46343
|
}
|
|
46333
46344
|
|
|
46334
|
-
// bazel-out/
|
|
46345
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
46335
46346
|
function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles) {
|
|
46336
46347
|
const filesToRemove = /* @__PURE__ */ new Set();
|
|
46337
46348
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
@@ -46530,14 +46541,14 @@ function findNgModuleDecorator(node, typeChecker) {
|
|
|
46530
46541
|
return decorators.find((decorator) => decorator.name === "NgModule") || null;
|
|
46531
46542
|
}
|
|
46532
46543
|
|
|
46533
|
-
// bazel-out/
|
|
46544
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
46534
46545
|
var import_path7 = require("path");
|
|
46535
46546
|
var import_typescript117 = __toESM(require("typescript"), 1);
|
|
46536
46547
|
|
|
46537
|
-
// bazel-out/
|
|
46548
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
46538
46549
|
var import_typescript116 = __toESM(require("typescript"), 1);
|
|
46539
46550
|
|
|
46540
|
-
// bazel-out/
|
|
46551
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
|
|
46541
46552
|
var import_typescript115 = __toESM(require("typescript"), 1);
|
|
46542
46553
|
function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
46543
46554
|
var _a2, _b2;
|
|
@@ -46546,7 +46557,7 @@ function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
|
46546
46557
|
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];
|
|
46547
46558
|
}
|
|
46548
46559
|
|
|
46549
|
-
// bazel-out/
|
|
46560
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
46550
46561
|
function toStandalone(sourceFiles, program, printer, fileImportRemapper, componentImportRemapper) {
|
|
46551
46562
|
const templateTypeChecker = program.compiler.getTemplateTypeChecker();
|
|
46552
46563
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -46909,7 +46920,7 @@ function isStandaloneDeclaration(node, declarationsInMigration, templateTypeChec
|
|
|
46909
46920
|
return metadata != null && metadata.isStandalone;
|
|
46910
46921
|
}
|
|
46911
46922
|
|
|
46912
|
-
// bazel-out/
|
|
46923
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
46913
46924
|
function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles, componentImportRemapper) {
|
|
46914
46925
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
46915
46926
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -47286,7 +47297,7 @@ function hasImport(program, rootFileNames, moduleName) {
|
|
|
47286
47297
|
return false;
|
|
47287
47298
|
}
|
|
47288
47299
|
|
|
47289
|
-
// bazel-out/
|
|
47300
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
47290
47301
|
var MigrationMode;
|
|
47291
47302
|
(function(MigrationMode2) {
|
|
47292
47303
|
MigrationMode2["toStandalone"] = "convert-to-standalone";
|