@angular/core 15.2.0 → 15.2.1
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/esm2020/src/core_render3_private_export.mjs +2 -1
- package/esm2020/src/linker/query_list.mjs +6 -7
- package/esm2020/src/render3/instructions/element.mjs +10 -9
- package/esm2020/src/render3/instructions/shared.mjs +3 -4
- package/esm2020/src/render3/interfaces/node.mjs +1 -1
- package/esm2020/src/util/iterable.mjs +6 -7
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/logger.mjs +3 -3
- package/esm2020/testing/src/ng_zone_mock.mjs +3 -3
- package/fesm2015/core.mjs +24 -46
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +23 -45
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +24 -46
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +23 -45
- package/fesm2020/testing.mjs.map +1 -1
- package/index.d.ts +10 -1
- package/package.json +2 -2
- package/schematics/migrations/relative-link-resolution/bundle.js +7 -7
- package/schematics/migrations/router-link-with-href/bundle.js +10 -10
- package/schematics/ng-generate/standalone-migration/bundle.js +401 -367
- package/schematics/ng-generate/standalone-migration/bundle.js.map +2 -2
- package/testing/index.d.ts +1 -1
- package/esm2020/src/util/symbol.mjs +0 -30
|
@@ -59,7 +59,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
59
59
|
});
|
|
60
60
|
};
|
|
61
61
|
|
|
62
|
-
// bazel-out/
|
|
62
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
63
63
|
var standalone_migration_exports = {};
|
|
64
64
|
__export(standalone_migration_exports, {
|
|
65
65
|
default: () => standalone_migration_default
|
|
@@ -67,10 +67,10 @@ __export(standalone_migration_exports, {
|
|
|
67
67
|
module.exports = __toCommonJS(standalone_migration_exports);
|
|
68
68
|
var import_schematics = require("@angular-devkit/schematics");
|
|
69
69
|
|
|
70
|
-
// bazel-out/
|
|
70
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
71
71
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
72
72
|
|
|
73
|
-
// bazel-out/
|
|
73
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
74
74
|
var InvalidFileSystem = class {
|
|
75
75
|
exists(path3) {
|
|
76
76
|
throw makeError();
|
|
@@ -158,7 +158,7 @@ function makeError() {
|
|
|
158
158
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
// bazel-out/
|
|
161
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
162
162
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
163
163
|
function stripExtension(path3) {
|
|
164
164
|
return path3.replace(TS_DTS_JS_EXTENSION, "");
|
|
@@ -171,7 +171,7 @@ function getSourceFileOrError(program, fileName) {
|
|
|
171
171
|
return sf;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
// bazel-out/
|
|
174
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
175
175
|
var fs = new InvalidFileSystem();
|
|
176
176
|
function getFileSystem() {
|
|
177
177
|
return fs;
|
|
@@ -218,7 +218,7 @@ function toRelativeImport(relativePath) {
|
|
|
218
218
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
// bazel-out/
|
|
221
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
222
222
|
var LogicalProjectPath = {
|
|
223
223
|
relativePathBetween: function(from, to) {
|
|
224
224
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -264,7 +264,7 @@ function isWithinBasePath(base, path3) {
|
|
|
264
264
|
return isLocalRelativePath(relative(base, path3));
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
// bazel-out/
|
|
267
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
268
268
|
var import_fs = __toESM(require("fs"), 1);
|
|
269
269
|
var import_module = __toESM(require("module"), 1);
|
|
270
270
|
var p = __toESM(require("path"), 1);
|
|
@@ -372,7 +372,7 @@ function toggleCase(str) {
|
|
|
372
372
|
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
373
373
|
}
|
|
374
374
|
|
|
375
|
-
// bazel-out/
|
|
375
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/selector.mjs
|
|
376
376
|
var _SELECTOR_REGEXP = new RegExp(
|
|
377
377
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
378
378
|
"g"
|
|
@@ -680,7 +680,7 @@ var SelectorContext = class {
|
|
|
680
680
|
}
|
|
681
681
|
};
|
|
682
682
|
|
|
683
|
-
// bazel-out/
|
|
683
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/core.mjs
|
|
684
684
|
var emitDistinctChangesOnlyDefaultValue = true;
|
|
685
685
|
var ViewEncapsulation;
|
|
686
686
|
(function(ViewEncapsulation2) {
|
|
@@ -743,7 +743,7 @@ function parseSelectorToR3Selector(selector) {
|
|
|
743
743
|
return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
|
|
744
744
|
}
|
|
745
745
|
|
|
746
|
-
// bazel-out/
|
|
746
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/big_integer.mjs
|
|
747
747
|
var BigInteger = class {
|
|
748
748
|
static zero() {
|
|
749
749
|
return new BigInteger([0]);
|
|
@@ -835,7 +835,7 @@ var BigIntExponentiation = class {
|
|
|
835
835
|
}
|
|
836
836
|
};
|
|
837
837
|
|
|
838
|
-
// bazel-out/
|
|
838
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
|
|
839
839
|
var textEncoder;
|
|
840
840
|
function digest(message) {
|
|
841
841
|
return message.id || computeDigest(message);
|
|
@@ -1098,7 +1098,7 @@ function wordsToDecimalString(hi, lo) {
|
|
|
1098
1098
|
return decimal.toString();
|
|
1099
1099
|
}
|
|
1100
1100
|
|
|
1101
|
-
// bazel-out/
|
|
1101
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
1102
1102
|
var TypeModifier;
|
|
1103
1103
|
(function(TypeModifier2) {
|
|
1104
1104
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -1925,7 +1925,7 @@ function serializeTags(tags) {
|
|
|
1925
1925
|
return out;
|
|
1926
1926
|
}
|
|
1927
1927
|
|
|
1928
|
-
// bazel-out/
|
|
1928
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
1929
1929
|
var CONSTANT_PREFIX = "_c";
|
|
1930
1930
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
1931
1931
|
var KEY_CONTEXT = {};
|
|
@@ -2093,7 +2093,7 @@ function isLongStringLiteral(expr) {
|
|
|
2093
2093
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
2094
2094
|
}
|
|
2095
2095
|
|
|
2096
|
-
// bazel-out/
|
|
2096
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
2097
2097
|
var CORE = "@angular/core";
|
|
2098
2098
|
var Identifiers = class {
|
|
2099
2099
|
};
|
|
@@ -2297,7 +2297,7 @@ Identifiers.trustConstantHtml = { name: "\u0275\u0275trustConstantHtml", moduleN
|
|
|
2297
2297
|
Identifiers.trustConstantResourceUrl = { name: "\u0275\u0275trustConstantResourceUrl", moduleName: CORE };
|
|
2298
2298
|
Identifiers.validateIframeAttribute = { name: "\u0275\u0275validateIframeAttribute", moduleName: CORE };
|
|
2299
2299
|
|
|
2300
|
-
// bazel-out/
|
|
2300
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
|
|
2301
2301
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
2302
2302
|
function dashCaseToCamelCase(input) {
|
|
2303
2303
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -2385,7 +2385,7 @@ function partitionArray(arr, conditionFn) {
|
|
|
2385
2385
|
return [truthy, falsy];
|
|
2386
2386
|
}
|
|
2387
2387
|
|
|
2388
|
-
// bazel-out/
|
|
2388
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
2389
2389
|
var VERSION = 3;
|
|
2390
2390
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
2391
2391
|
var SourceMapGenerator = class {
|
|
@@ -2514,7 +2514,7 @@ function toBase64Digit(value) {
|
|
|
2514
2514
|
return B64_DIGITS[value];
|
|
2515
2515
|
}
|
|
2516
2516
|
|
|
2517
|
-
// bazel-out/
|
|
2517
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
2518
2518
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
2519
2519
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
2520
2520
|
var _INDENT_WITH = " ";
|
|
@@ -2989,7 +2989,7 @@ function _createIndent(count) {
|
|
|
2989
2989
|
return res;
|
|
2990
2990
|
}
|
|
2991
2991
|
|
|
2992
|
-
// bazel-out/
|
|
2992
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
2993
2993
|
function typeWithParameters(type, numParams) {
|
|
2994
2994
|
if (numParams === 0) {
|
|
2995
2995
|
return expressionType(type);
|
|
@@ -3057,7 +3057,7 @@ function generateForwardRef(expr) {
|
|
|
3057
3057
|
return importExpr(Identifiers.forwardRef).callFn([fn([], [new ReturnStatement(expr)])]);
|
|
3058
3058
|
}
|
|
3059
3059
|
|
|
3060
|
-
// bazel-out/
|
|
3060
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
3061
3061
|
var R3FactoryDelegateType;
|
|
3062
3062
|
(function(R3FactoryDelegateType2) {
|
|
3063
3063
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -3202,7 +3202,7 @@ function getInjectFn(target) {
|
|
|
3202
3202
|
}
|
|
3203
3203
|
}
|
|
3204
3204
|
|
|
3205
|
-
// bazel-out/
|
|
3205
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
3206
3206
|
var Comment = class {
|
|
3207
3207
|
constructor(value, sourceSpan) {
|
|
3208
3208
|
this.value = value;
|
|
@@ -3424,7 +3424,7 @@ function visitAll(visitor, nodes) {
|
|
|
3424
3424
|
return result;
|
|
3425
3425
|
}
|
|
3426
3426
|
|
|
3427
|
-
// bazel-out/
|
|
3427
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
3428
3428
|
var Message = class {
|
|
3429
3429
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
3430
3430
|
this.nodes = nodes;
|
|
@@ -3587,7 +3587,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
3587
3587
|
}
|
|
3588
3588
|
};
|
|
3589
3589
|
|
|
3590
|
-
// bazel-out/
|
|
3590
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
|
|
3591
3591
|
var Serializer = class {
|
|
3592
3592
|
createNameMapper(message) {
|
|
3593
3593
|
return null;
|
|
@@ -3639,7 +3639,7 @@ var SimplePlaceholderMapper = class extends RecurseVisitor {
|
|
|
3639
3639
|
}
|
|
3640
3640
|
};
|
|
3641
3641
|
|
|
3642
|
-
// bazel-out/
|
|
3642
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
3643
3643
|
var _Visitor = class {
|
|
3644
3644
|
visitTag(tag) {
|
|
3645
3645
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -3727,7 +3727,7 @@ function escapeXml(text) {
|
|
|
3727
3727
|
return _ESCAPED_CHARS.reduce((text2, entry) => text2.replace(entry[0], entry[1]), text);
|
|
3728
3728
|
}
|
|
3729
3729
|
|
|
3730
|
-
// bazel-out/
|
|
3730
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
3731
3731
|
var _MESSAGES_TAG = "messagebundle";
|
|
3732
3732
|
var _MESSAGE_TAG = "msg";
|
|
3733
3733
|
var _PLACEHOLDER_TAG = "ph";
|
|
@@ -3870,7 +3870,7 @@ function toPublicName(internalName) {
|
|
|
3870
3870
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
3871
3871
|
}
|
|
3872
3872
|
|
|
3873
|
-
// bazel-out/
|
|
3873
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
3874
3874
|
var CLOSURE_TRANSLATION_VAR_PREFIX = "MSG_";
|
|
3875
3875
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
3876
3876
|
var I18N_ATTR = "i18n";
|
|
@@ -3972,7 +3972,7 @@ function declareI18nVariable(variable2) {
|
|
|
3972
3972
|
return new DeclareVarStmt(variable2.name, void 0, INFERRED_TYPE, void 0, variable2.sourceSpan);
|
|
3973
3973
|
}
|
|
3974
3974
|
|
|
3975
|
-
// bazel-out/
|
|
3975
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
3976
3976
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
3977
3977
|
var TEMPORARY_NAME = "_t";
|
|
3978
3978
|
var CONTEXT_NAME = "ctx";
|
|
@@ -4178,7 +4178,7 @@ function getInstructionStatements(instructions) {
|
|
|
4178
4178
|
return statements;
|
|
4179
4179
|
}
|
|
4180
4180
|
|
|
4181
|
-
// bazel-out/
|
|
4181
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
4182
4182
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
4183
4183
|
let result = null;
|
|
4184
4184
|
const factoryMeta = {
|
|
@@ -4267,7 +4267,7 @@ function createFactoryFunction(type) {
|
|
|
4267
4267
|
return fn([new FnParam("t", DYNAMIC_TYPE)], [new ReturnStatement(type.prop("\u0275fac").callFn([variable("t")]))]);
|
|
4268
4268
|
}
|
|
4269
4269
|
|
|
4270
|
-
// bazel-out/
|
|
4270
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
4271
4271
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
4272
4272
|
/^\s*$/,
|
|
4273
4273
|
/[<>]/,
|
|
@@ -4289,7 +4289,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
4289
4289
|
}
|
|
4290
4290
|
}
|
|
4291
4291
|
|
|
4292
|
-
// bazel-out/
|
|
4292
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/interpolation_config.mjs
|
|
4293
4293
|
var InterpolationConfig = class {
|
|
4294
4294
|
static fromArray(markers) {
|
|
4295
4295
|
if (!markers) {
|
|
@@ -4305,7 +4305,7 @@ var InterpolationConfig = class {
|
|
|
4305
4305
|
};
|
|
4306
4306
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
4307
4307
|
|
|
4308
|
-
// bazel-out/
|
|
4308
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
4309
4309
|
var $EOF = 0;
|
|
4310
4310
|
var $BSPACE = 8;
|
|
4311
4311
|
var $TAB = 9;
|
|
@@ -4386,7 +4386,7 @@ function isQuote(code) {
|
|
|
4386
4386
|
return code === $SQ || code === $DQ || code === $BT;
|
|
4387
4387
|
}
|
|
4388
4388
|
|
|
4389
|
-
// bazel-out/
|
|
4389
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
4390
4390
|
var ParseLocation = class {
|
|
4391
4391
|
constructor(file, offset, line, col) {
|
|
4392
4392
|
this.file = file;
|
|
@@ -4533,7 +4533,7 @@ function sanitizeIdentifier(name) {
|
|
|
4533
4533
|
return name.replace(/\W/g, "_");
|
|
4534
4534
|
}
|
|
4535
4535
|
|
|
4536
|
-
// bazel-out/
|
|
4536
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
4537
4537
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
4538
4538
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
4539
4539
|
constructor() {
|
|
@@ -4604,7 +4604,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
4604
4604
|
}
|
|
4605
4605
|
};
|
|
4606
4606
|
|
|
4607
|
-
// bazel-out/
|
|
4607
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
4608
4608
|
var policy;
|
|
4609
4609
|
function getPolicy() {
|
|
4610
4610
|
if (policy === void 0) {
|
|
@@ -4641,7 +4641,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
4641
4641
|
return fn2.bind(_global);
|
|
4642
4642
|
}
|
|
4643
4643
|
|
|
4644
|
-
// bazel-out/
|
|
4644
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
4645
4645
|
var JitEvaluator = class {
|
|
4646
4646
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
4647
4647
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -4732,7 +4732,7 @@ function isUseStrictStatement(statement) {
|
|
|
4732
4732
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
4733
4733
|
}
|
|
4734
4734
|
|
|
4735
|
-
// bazel-out/
|
|
4735
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
4736
4736
|
function compileInjector(meta) {
|
|
4737
4737
|
const definitionMap = new DefinitionMap();
|
|
4738
4738
|
if (meta.providers !== null) {
|
|
@@ -4749,7 +4749,7 @@ function createInjectorType(meta) {
|
|
|
4749
4749
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
4750
4750
|
}
|
|
4751
4751
|
|
|
4752
|
-
// bazel-out/
|
|
4752
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
4753
4753
|
var R3JitReflector = class {
|
|
4754
4754
|
constructor(context) {
|
|
4755
4755
|
this.context = context;
|
|
@@ -4765,7 +4765,7 @@ var R3JitReflector = class {
|
|
|
4765
4765
|
}
|
|
4766
4766
|
};
|
|
4767
4767
|
|
|
4768
|
-
// bazel-out/
|
|
4768
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
4769
4769
|
var R3SelectorScopeMode;
|
|
4770
4770
|
(function(R3SelectorScopeMode2) {
|
|
4771
4771
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -4878,7 +4878,7 @@ function tupleOfTypes(types) {
|
|
|
4878
4878
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
4879
4879
|
}
|
|
4880
4880
|
|
|
4881
|
-
// bazel-out/
|
|
4881
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
4882
4882
|
function compilePipeFromMetadata(metadata) {
|
|
4883
4883
|
const definitionMapValues = [];
|
|
4884
4884
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -4899,7 +4899,7 @@ function createPipeType(metadata) {
|
|
|
4899
4899
|
]));
|
|
4900
4900
|
}
|
|
4901
4901
|
|
|
4902
|
-
// bazel-out/
|
|
4902
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
4903
4903
|
var R3TemplateDependencyKind;
|
|
4904
4904
|
(function(R3TemplateDependencyKind2) {
|
|
4905
4905
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -4907,7 +4907,7 @@ var R3TemplateDependencyKind;
|
|
|
4907
4907
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
4908
4908
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
4909
4909
|
|
|
4910
|
-
// bazel-out/
|
|
4910
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
4911
4911
|
var ParserError = class {
|
|
4912
4912
|
constructor(message, input, errLocation, ctxLocation) {
|
|
4913
4913
|
this.input = input;
|
|
@@ -5573,7 +5573,7 @@ var BoundElementProperty = class {
|
|
|
5573
5573
|
}
|
|
5574
5574
|
};
|
|
5575
5575
|
|
|
5576
|
-
// bazel-out/
|
|
5576
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
|
|
5577
5577
|
var EventHandlerVars = class {
|
|
5578
5578
|
};
|
|
5579
5579
|
EventHandlerVars.event = variable("$event");
|
|
@@ -6191,7 +6191,7 @@ var BuiltinFunctionCall = class extends Call {
|
|
|
6191
6191
|
}
|
|
6192
6192
|
};
|
|
6193
6193
|
|
|
6194
|
-
// bazel-out/
|
|
6194
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
6195
6195
|
var _SECURITY_SCHEMA;
|
|
6196
6196
|
function SECURITY_SCHEMA() {
|
|
6197
6197
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -6249,7 +6249,7 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
6249
6249
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
6250
6250
|
}
|
|
6251
6251
|
|
|
6252
|
-
// bazel-out/
|
|
6252
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
6253
6253
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
6254
6254
|
"inherit",
|
|
6255
6255
|
"initial",
|
|
@@ -6709,7 +6709,7 @@ function repeatGroups(groups, multiples) {
|
|
|
6709
6709
|
}
|
|
6710
6710
|
}
|
|
6711
6711
|
|
|
6712
|
-
// bazel-out/
|
|
6712
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
|
|
6713
6713
|
function parse(value) {
|
|
6714
6714
|
const styles = [];
|
|
6715
6715
|
let i = 0;
|
|
@@ -6785,7 +6785,7 @@ function hyphenate(value) {
|
|
|
6785
6785
|
}).toLowerCase();
|
|
6786
6786
|
}
|
|
6787
6787
|
|
|
6788
|
-
// bazel-out/
|
|
6788
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
|
|
6789
6789
|
var IMPORTANT_FLAG = "!important";
|
|
6790
6790
|
var MIN_STYLING_BINDING_SLOTS_REQUIRED = 2;
|
|
6791
6791
|
var StylingBuilder = class {
|
|
@@ -7118,7 +7118,7 @@ function isEmptyExpression(ast) {
|
|
|
7118
7118
|
return ast instanceof EmptyExpr;
|
|
7119
7119
|
}
|
|
7120
7120
|
|
|
7121
|
-
// bazel-out/
|
|
7121
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
7122
7122
|
var TokenType;
|
|
7123
7123
|
(function(TokenType2) {
|
|
7124
7124
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -7479,7 +7479,7 @@ function parseIntAutoRadix(text) {
|
|
|
7479
7479
|
return result;
|
|
7480
7480
|
}
|
|
7481
7481
|
|
|
7482
|
-
// bazel-out/
|
|
7482
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
7483
7483
|
var SplitInterpolation = class {
|
|
7484
7484
|
constructor(strings, expressions, offsets) {
|
|
7485
7485
|
this.strings = strings;
|
|
@@ -8373,7 +8373,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
8373
8373
|
return offsetMap;
|
|
8374
8374
|
}
|
|
8375
8375
|
|
|
8376
|
-
// bazel-out/
|
|
8376
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
8377
8377
|
var NodeWithI18n = class {
|
|
8378
8378
|
constructor(sourceSpan, i18n) {
|
|
8379
8379
|
this.sourceSpan = sourceSpan;
|
|
@@ -8461,7 +8461,7 @@ function visitAll2(visitor, nodes, context = null) {
|
|
|
8461
8461
|
return result;
|
|
8462
8462
|
}
|
|
8463
8463
|
|
|
8464
|
-
// bazel-out/
|
|
8464
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
8465
8465
|
var TagContentType;
|
|
8466
8466
|
(function(TagContentType2) {
|
|
8467
8467
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -8494,11 +8494,11 @@ function mergeNsAndName(prefix, localName) {
|
|
|
8494
8494
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
8495
8495
|
}
|
|
8496
8496
|
|
|
8497
|
-
// bazel-out/
|
|
8497
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
8498
8498
|
var ElementSchemaRegistry = class {
|
|
8499
8499
|
};
|
|
8500
8500
|
|
|
8501
|
-
// bazel-out/
|
|
8501
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
8502
8502
|
var BOOLEAN = "boolean";
|
|
8503
8503
|
var NUMBER = "number";
|
|
8504
8504
|
var STRING = "string";
|
|
@@ -8851,7 +8851,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
8851
8851
|
}
|
|
8852
8852
|
}
|
|
8853
8853
|
|
|
8854
|
-
// bazel-out/
|
|
8854
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
8855
8855
|
var HtmlTagDefinition = class {
|
|
8856
8856
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
8857
8857
|
this.closedByChildren = {};
|
|
@@ -8969,7 +8969,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
8969
8969
|
return (_b = (_a = TAG_DEFINITIONS[tagName]) != null ? _a : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b : DEFAULT_TAG_DEFINITION;
|
|
8970
8970
|
}
|
|
8971
8971
|
|
|
8972
|
-
// bazel-out/
|
|
8972
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
8973
8973
|
var NAMED_ENTITIES = {
|
|
8974
8974
|
"AElig": "\xC6",
|
|
8975
8975
|
"AMP": "&",
|
|
@@ -11100,7 +11100,7 @@ var NAMED_ENTITIES = {
|
|
|
11100
11100
|
var NGSP_UNICODE = "\uE500";
|
|
11101
11101
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
11102
11102
|
|
|
11103
|
-
// bazel-out/
|
|
11103
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
11104
11104
|
var TokenError = class extends ParseError {
|
|
11105
11105
|
constructor(errorMsg, tokenType, span) {
|
|
11106
11106
|
super(span, errorMsg);
|
|
@@ -11935,7 +11935,7 @@ var CursorError = class {
|
|
|
11935
11935
|
}
|
|
11936
11936
|
};
|
|
11937
11937
|
|
|
11938
|
-
// bazel-out/
|
|
11938
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
11939
11939
|
var TreeError = class extends ParseError {
|
|
11940
11940
|
static create(elementName, span, msg) {
|
|
11941
11941
|
return new TreeError(elementName, span, msg);
|
|
@@ -12262,7 +12262,7 @@ function decodeEntity(match, entity) {
|
|
|
12262
12262
|
return match;
|
|
12263
12263
|
}
|
|
12264
12264
|
|
|
12265
|
-
// bazel-out/
|
|
12265
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
12266
12266
|
var HtmlParser = class extends Parser2 {
|
|
12267
12267
|
constructor() {
|
|
12268
12268
|
super(getHtmlTagDefinition);
|
|
@@ -12272,7 +12272,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
12272
12272
|
}
|
|
12273
12273
|
};
|
|
12274
12274
|
|
|
12275
|
-
// bazel-out/
|
|
12275
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
12276
12276
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
12277
12277
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
12278
12278
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -12332,7 +12332,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
12332
12332
|
return result;
|
|
12333
12333
|
}
|
|
12334
12334
|
|
|
12335
|
-
// bazel-out/
|
|
12335
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
12336
12336
|
function mapLiteral(obj, quoted = false) {
|
|
12337
12337
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
12338
12338
|
key,
|
|
@@ -12341,7 +12341,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
12341
12341
|
})));
|
|
12342
12342
|
}
|
|
12343
12343
|
|
|
12344
|
-
// bazel-out/
|
|
12344
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
12345
12345
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
12346
12346
|
"iframe|srcdoc",
|
|
12347
12347
|
"*|innerhtml",
|
|
@@ -12356,7 +12356,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
12356
12356
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
12357
12357
|
}
|
|
12358
12358
|
|
|
12359
|
-
// bazel-out/
|
|
12359
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
12360
12360
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
12361
12361
|
var ATTRIBUTE_PREFIX = "attr";
|
|
12362
12362
|
var CLASS_PREFIX = "class";
|
|
@@ -12676,7 +12676,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
12676
12676
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
12677
12677
|
}
|
|
12678
12678
|
|
|
12679
|
-
// bazel-out/
|
|
12679
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
12680
12680
|
function isStyleUrlResolvable(url) {
|
|
12681
12681
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
12682
12682
|
return false;
|
|
@@ -12685,7 +12685,7 @@ function isStyleUrlResolvable(url) {
|
|
|
12685
12685
|
}
|
|
12686
12686
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
12687
12687
|
|
|
12688
|
-
// bazel-out/
|
|
12688
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
12689
12689
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
12690
12690
|
var LINK_ELEMENT = "link";
|
|
12691
12691
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -12755,7 +12755,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
12755
12755
|
return selectAttr;
|
|
12756
12756
|
}
|
|
12757
12757
|
|
|
12758
|
-
// bazel-out/
|
|
12758
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
12759
12759
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
12760
12760
|
var KW_BIND_IDX = 1;
|
|
12761
12761
|
var KW_LET_IDX = 2;
|
|
@@ -13103,7 +13103,7 @@ function textContents(node) {
|
|
|
13103
13103
|
}
|
|
13104
13104
|
}
|
|
13105
13105
|
|
|
13106
|
-
// bazel-out/
|
|
13106
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
|
|
13107
13107
|
var TagType;
|
|
13108
13108
|
(function(TagType2) {
|
|
13109
13109
|
TagType2[TagType2["ELEMENT"] = 0] = "ELEMENT";
|
|
@@ -13238,7 +13238,7 @@ function serializePlaceholderValue(value) {
|
|
|
13238
13238
|
}
|
|
13239
13239
|
}
|
|
13240
13240
|
|
|
13241
|
-
// bazel-out/
|
|
13241
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
13242
13242
|
var IcuSerializerVisitor = class {
|
|
13243
13243
|
visitText(text) {
|
|
13244
13244
|
return text.value;
|
|
@@ -13269,7 +13269,7 @@ function serializeIcuNode(icu) {
|
|
|
13269
13269
|
return icu.visit(serializer);
|
|
13270
13270
|
}
|
|
13271
13271
|
|
|
13272
|
-
// bazel-out/
|
|
13272
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
13273
13273
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
13274
13274
|
"A": "LINK",
|
|
13275
13275
|
"B": "BOLD_TEXT",
|
|
@@ -13363,7 +13363,7 @@ var PlaceholderRegistry = class {
|
|
|
13363
13363
|
}
|
|
13364
13364
|
};
|
|
13365
13365
|
|
|
13366
|
-
// bazel-out/
|
|
13366
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
13367
13367
|
var _expParser = new Parser(new Lexer());
|
|
13368
13368
|
function createI18nMessageFactory(interpolationConfig) {
|
|
13369
13369
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig);
|
|
@@ -13518,14 +13518,14 @@ function extractPlaceholderName(input) {
|
|
|
13518
13518
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
13519
13519
|
}
|
|
13520
13520
|
|
|
13521
|
-
// bazel-out/
|
|
13521
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
13522
13522
|
var I18nError = class extends ParseError {
|
|
13523
13523
|
constructor(span, msg) {
|
|
13524
13524
|
super(span, msg);
|
|
13525
13525
|
}
|
|
13526
13526
|
};
|
|
13527
13527
|
|
|
13528
|
-
// bazel-out/
|
|
13528
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
13529
13529
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
13530
13530
|
if (htmlNode instanceof NodeWithI18n) {
|
|
13531
13531
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -13674,7 +13674,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
13674
13674
|
return jsDocComment(tags);
|
|
13675
13675
|
}
|
|
13676
13676
|
|
|
13677
|
-
// bazel-out/
|
|
13677
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
13678
13678
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
13679
13679
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
13680
13680
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -13722,7 +13722,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
13722
13722
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
13723
13723
|
}
|
|
13724
13724
|
|
|
13725
|
-
// bazel-out/
|
|
13725
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
13726
13726
|
function createLocalizeStatements(variable2, message, params) {
|
|
13727
13727
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
13728
13728
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -13805,7 +13805,7 @@ function createEmptyMessagePart(location) {
|
|
|
13805
13805
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
13806
13806
|
}
|
|
13807
13807
|
|
|
13808
|
-
// bazel-out/
|
|
13808
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
13809
13809
|
var NG_CONTENT_SELECT_ATTR2 = "select";
|
|
13810
13810
|
var NG_PROJECT_AS_ATTR_NAME = "ngProjectAs";
|
|
13811
13811
|
var EVENT_BINDING_SCOPE_GLOBALS = /* @__PURE__ */ new Set(["$event"]);
|
|
@@ -15107,7 +15107,7 @@ function createClosureModeGuard() {
|
|
|
15107
15107
|
return typeofExpr(variable(NG_I18N_CLOSURE_MODE)).notIdentical(literal("undefined", STRING_TYPE)).and(variable(NG_I18N_CLOSURE_MODE));
|
|
15108
15108
|
}
|
|
15109
15109
|
|
|
15110
|
-
// bazel-out/
|
|
15110
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
15111
15111
|
var ATTR_REGEX = /attr\.([^\]]+)/;
|
|
15112
15112
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
15113
15113
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
@@ -15626,11 +15626,11 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
15626
15626
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
15627
15627
|
}
|
|
15628
15628
|
|
|
15629
|
-
// bazel-out/
|
|
15629
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
15630
15630
|
var ResourceLoader = class {
|
|
15631
15631
|
};
|
|
15632
15632
|
|
|
15633
|
-
// bazel-out/
|
|
15633
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
15634
15634
|
var CompilerFacadeImpl = class {
|
|
15635
15635
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
15636
15636
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -16113,10 +16113,10 @@ function publishFacade(global2) {
|
|
|
16113
16113
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
16114
16114
|
}
|
|
16115
16115
|
|
|
16116
|
-
// bazel-out/
|
|
16117
|
-
var VERSION2 = new Version("15.2.
|
|
16116
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
|
|
16117
|
+
var VERSION2 = new Version("15.2.1");
|
|
16118
16118
|
|
|
16119
|
-
// bazel-out/
|
|
16119
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
16120
16120
|
var _I18N_ATTR = "i18n";
|
|
16121
16121
|
var _I18N_ATTR_PREFIX = "i18n-";
|
|
16122
16122
|
var _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;
|
|
@@ -16420,7 +16420,7 @@ function _parseMessageMeta(i18n) {
|
|
|
16420
16420
|
return { meaning, description, id: id.trim() };
|
|
16421
16421
|
}
|
|
16422
16422
|
|
|
16423
|
-
// bazel-out/
|
|
16423
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
16424
16424
|
var XmlTagDefinition = class {
|
|
16425
16425
|
constructor() {
|
|
16426
16426
|
this.closedByParent = false;
|
|
@@ -16444,7 +16444,7 @@ function getXmlTagDefinition(tagName) {
|
|
|
16444
16444
|
return _TAG_DEFINITION;
|
|
16445
16445
|
}
|
|
16446
16446
|
|
|
16447
|
-
// bazel-out/
|
|
16447
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
|
|
16448
16448
|
var XmlParser = class extends Parser2 {
|
|
16449
16449
|
constructor() {
|
|
16450
16450
|
super(getXmlTagDefinition);
|
|
@@ -16454,7 +16454,7 @@ var XmlParser = class extends Parser2 {
|
|
|
16454
16454
|
}
|
|
16455
16455
|
};
|
|
16456
16456
|
|
|
16457
|
-
// bazel-out/
|
|
16457
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
|
|
16458
16458
|
var _VERSION = "1.2";
|
|
16459
16459
|
var _XMLNS = "urn:oasis:names:tc:xliff:document:1.2";
|
|
16460
16460
|
var _DEFAULT_SOURCE_LANG = "en";
|
|
@@ -16694,7 +16694,7 @@ function getCtypeForTag(tag) {
|
|
|
16694
16694
|
}
|
|
16695
16695
|
}
|
|
16696
16696
|
|
|
16697
|
-
// bazel-out/
|
|
16697
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
|
|
16698
16698
|
var _VERSION2 = "2.0";
|
|
16699
16699
|
var _XMLNS2 = "urn:oasis:names:tc:xliff:document:2.0";
|
|
16700
16700
|
var _DEFAULT_SOURCE_LANG2 = "en";
|
|
@@ -16982,7 +16982,7 @@ function getTypeForTag(tag) {
|
|
|
16982
16982
|
}
|
|
16983
16983
|
}
|
|
16984
16984
|
|
|
16985
|
-
// bazel-out/
|
|
16985
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
|
|
16986
16986
|
var MessageBundle = class {
|
|
16987
16987
|
constructor(_htmlParser, _implicitTags, _implicitAttrs, _locale = null) {
|
|
16988
16988
|
this._htmlParser = _htmlParser;
|
|
@@ -17049,7 +17049,7 @@ var MapPlaceholderNames = class extends CloneVisitor {
|
|
|
17049
17049
|
}
|
|
17050
17050
|
};
|
|
17051
17051
|
|
|
17052
|
-
// bazel-out/
|
|
17052
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
17053
17053
|
var FactoryTarget2;
|
|
17054
17054
|
(function(FactoryTarget3) {
|
|
17055
17055
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -17059,7 +17059,7 @@ var FactoryTarget2;
|
|
|
17059
17059
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
17060
17060
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
17061
17061
|
|
|
17062
|
-
// bazel-out/
|
|
17062
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
17063
17063
|
var R3TargetBinder = class {
|
|
17064
17064
|
constructor(directiveMatcher) {
|
|
17065
17065
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -17411,7 +17411,7 @@ function extractTemplateEntities(rootScope) {
|
|
|
17411
17411
|
return templateEntities;
|
|
17412
17412
|
}
|
|
17413
17413
|
|
|
17414
|
-
// bazel-out/
|
|
17414
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
|
|
17415
17415
|
function compileClassMetadata(metadata) {
|
|
17416
17416
|
var _a, _b;
|
|
17417
17417
|
const fnCall = importExpr(Identifiers.setClassMetadata).callFn([
|
|
@@ -17424,12 +17424,12 @@ function compileClassMetadata(metadata) {
|
|
|
17424
17424
|
return iife.callFn([]);
|
|
17425
17425
|
}
|
|
17426
17426
|
|
|
17427
|
-
// bazel-out/
|
|
17427
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
|
|
17428
17428
|
var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
|
|
17429
17429
|
function compileDeclareClassMetadata(metadata) {
|
|
17430
17430
|
const definitionMap = new DefinitionMap();
|
|
17431
17431
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
17432
|
-
definitionMap.set("version", literal("15.2.
|
|
17432
|
+
definitionMap.set("version", literal("15.2.1"));
|
|
17433
17433
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
17434
17434
|
definitionMap.set("type", metadata.type);
|
|
17435
17435
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -17438,7 +17438,7 @@ function compileDeclareClassMetadata(metadata) {
|
|
|
17438
17438
|
return importExpr(Identifiers.declareClassMetadata).callFn([definitionMap.toLiteralMap()]);
|
|
17439
17439
|
}
|
|
17440
17440
|
|
|
17441
|
-
// bazel-out/
|
|
17441
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
|
|
17442
17442
|
function toOptionalLiteralArray(values, mapper) {
|
|
17443
17443
|
if (values === null || values.length === 0) {
|
|
17444
17444
|
return null;
|
|
@@ -17486,7 +17486,7 @@ function compileDependency(dep) {
|
|
|
17486
17486
|
return depMeta.toLiteralMap();
|
|
17487
17487
|
}
|
|
17488
17488
|
|
|
17489
|
-
// bazel-out/
|
|
17489
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
|
|
17490
17490
|
var MINIMUM_PARTIAL_LINKER_VERSION2 = "14.0.0";
|
|
17491
17491
|
function compileDeclareDirectiveFromMetadata(meta) {
|
|
17492
17492
|
const definitionMap = createDirectiveDefinitionMap(meta);
|
|
@@ -17498,7 +17498,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
17498
17498
|
var _a;
|
|
17499
17499
|
const definitionMap = new DefinitionMap();
|
|
17500
17500
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
|
|
17501
|
-
definitionMap.set("version", literal("15.2.
|
|
17501
|
+
definitionMap.set("version", literal("15.2.1"));
|
|
17502
17502
|
definitionMap.set("type", meta.internalType);
|
|
17503
17503
|
if (meta.isStandalone) {
|
|
17504
17504
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -17588,7 +17588,7 @@ function createHostDirectives(hostDirectives) {
|
|
|
17588
17588
|
return literalArr(expressions);
|
|
17589
17589
|
}
|
|
17590
17590
|
|
|
17591
|
-
// bazel-out/
|
|
17591
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
|
|
17592
17592
|
function compileDeclareComponentFromMetadata(meta, template, additionalTemplateInfo) {
|
|
17593
17593
|
const definitionMap = createComponentDefinitionMap(meta, template, additionalTemplateInfo);
|
|
17594
17594
|
const expression = importExpr(Identifiers.declareComponent).callFn([definitionMap.toLiteralMap()]);
|
|
@@ -17675,12 +17675,12 @@ function compileUsedDependenciesMetadata(meta) {
|
|
|
17675
17675
|
});
|
|
17676
17676
|
}
|
|
17677
17677
|
|
|
17678
|
-
// bazel-out/
|
|
17678
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
|
|
17679
17679
|
var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
|
|
17680
17680
|
function compileDeclareFactoryFunction(meta) {
|
|
17681
17681
|
const definitionMap = new DefinitionMap();
|
|
17682
17682
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
|
|
17683
|
-
definitionMap.set("version", literal("15.2.
|
|
17683
|
+
definitionMap.set("version", literal("15.2.1"));
|
|
17684
17684
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
17685
17685
|
definitionMap.set("type", meta.internalType);
|
|
17686
17686
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -17692,7 +17692,7 @@ function compileDeclareFactoryFunction(meta) {
|
|
|
17692
17692
|
};
|
|
17693
17693
|
}
|
|
17694
17694
|
|
|
17695
|
-
// bazel-out/
|
|
17695
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
|
|
17696
17696
|
var MINIMUM_PARTIAL_LINKER_VERSION4 = "12.0.0";
|
|
17697
17697
|
function compileDeclareInjectableFromMetadata(meta) {
|
|
17698
17698
|
const definitionMap = createInjectableDefinitionMap(meta);
|
|
@@ -17703,7 +17703,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
17703
17703
|
function createInjectableDefinitionMap(meta) {
|
|
17704
17704
|
const definitionMap = new DefinitionMap();
|
|
17705
17705
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
|
|
17706
|
-
definitionMap.set("version", literal("15.2.
|
|
17706
|
+
definitionMap.set("version", literal("15.2.1"));
|
|
17707
17707
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
17708
17708
|
definitionMap.set("type", meta.internalType);
|
|
17709
17709
|
if (meta.providedIn !== void 0) {
|
|
@@ -17730,7 +17730,7 @@ function createInjectableDefinitionMap(meta) {
|
|
|
17730
17730
|
return definitionMap;
|
|
17731
17731
|
}
|
|
17732
17732
|
|
|
17733
|
-
// bazel-out/
|
|
17733
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
|
|
17734
17734
|
var MINIMUM_PARTIAL_LINKER_VERSION5 = "12.0.0";
|
|
17735
17735
|
function compileDeclareInjectorFromMetadata(meta) {
|
|
17736
17736
|
const definitionMap = createInjectorDefinitionMap(meta);
|
|
@@ -17741,7 +17741,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
17741
17741
|
function createInjectorDefinitionMap(meta) {
|
|
17742
17742
|
const definitionMap = new DefinitionMap();
|
|
17743
17743
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
|
|
17744
|
-
definitionMap.set("version", literal("15.2.
|
|
17744
|
+
definitionMap.set("version", literal("15.2.1"));
|
|
17745
17745
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
17746
17746
|
definitionMap.set("type", meta.internalType);
|
|
17747
17747
|
definitionMap.set("providers", meta.providers);
|
|
@@ -17751,7 +17751,7 @@ function createInjectorDefinitionMap(meta) {
|
|
|
17751
17751
|
return definitionMap;
|
|
17752
17752
|
}
|
|
17753
17753
|
|
|
17754
|
-
// bazel-out/
|
|
17754
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
|
|
17755
17755
|
var MINIMUM_PARTIAL_LINKER_VERSION6 = "14.0.0";
|
|
17756
17756
|
function compileDeclareNgModuleFromMetadata(meta) {
|
|
17757
17757
|
const definitionMap = createNgModuleDefinitionMap(meta);
|
|
@@ -17762,7 +17762,7 @@ function compileDeclareNgModuleFromMetadata(meta) {
|
|
|
17762
17762
|
function createNgModuleDefinitionMap(meta) {
|
|
17763
17763
|
const definitionMap = new DefinitionMap();
|
|
17764
17764
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
|
|
17765
|
-
definitionMap.set("version", literal("15.2.
|
|
17765
|
+
definitionMap.set("version", literal("15.2.1"));
|
|
17766
17766
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
17767
17767
|
definitionMap.set("type", meta.internalType);
|
|
17768
17768
|
if (meta.bootstrap.length > 0) {
|
|
@@ -17786,7 +17786,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
17786
17786
|
return definitionMap;
|
|
17787
17787
|
}
|
|
17788
17788
|
|
|
17789
|
-
// bazel-out/
|
|
17789
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
|
|
17790
17790
|
var MINIMUM_PARTIAL_LINKER_VERSION7 = "14.0.0";
|
|
17791
17791
|
function compileDeclarePipeFromMetadata(meta) {
|
|
17792
17792
|
const definitionMap = createPipeDefinitionMap(meta);
|
|
@@ -17797,7 +17797,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
17797
17797
|
function createPipeDefinitionMap(meta) {
|
|
17798
17798
|
const definitionMap = new DefinitionMap();
|
|
17799
17799
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION7));
|
|
17800
|
-
definitionMap.set("version", literal("15.2.
|
|
17800
|
+
definitionMap.set("version", literal("15.2.1"));
|
|
17801
17801
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
17802
17802
|
definitionMap.set("type", meta.internalType);
|
|
17803
17803
|
if (meta.isStandalone) {
|
|
@@ -17810,13 +17810,13 @@ function createPipeDefinitionMap(meta) {
|
|
|
17810
17810
|
return definitionMap;
|
|
17811
17811
|
}
|
|
17812
17812
|
|
|
17813
|
-
// bazel-out/
|
|
17813
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
17814
17814
|
publishFacade(_global);
|
|
17815
17815
|
|
|
17816
|
-
// bazel-out/
|
|
17817
|
-
var VERSION3 = new Version("15.2.
|
|
17816
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
17817
|
+
var VERSION3 = new Version("15.2.1");
|
|
17818
17818
|
|
|
17819
|
-
// bazel-out/
|
|
17819
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
17820
17820
|
var EmitFlags;
|
|
17821
17821
|
(function(EmitFlags2) {
|
|
17822
17822
|
EmitFlags2[EmitFlags2["DTS"] = 1] = "DTS";
|
|
@@ -17828,13 +17828,13 @@ var EmitFlags;
|
|
|
17828
17828
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
17829
17829
|
})(EmitFlags || (EmitFlags = {}));
|
|
17830
17830
|
|
|
17831
|
-
// bazel-out/
|
|
17831
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
17832
17832
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
17833
17833
|
|
|
17834
|
-
// bazel-out/
|
|
17834
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
17835
17835
|
var import_typescript97 = __toESM(require("typescript"), 1);
|
|
17836
17836
|
|
|
17837
|
-
// bazel-out/
|
|
17837
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
17838
17838
|
var path = __toESM(require("path"), 1);
|
|
17839
17839
|
function i18nGetExtension(formatName) {
|
|
17840
17840
|
const format = formatName.toLowerCase();
|
|
@@ -17884,10 +17884,10 @@ function getPathNormalizer(basePath) {
|
|
|
17884
17884
|
};
|
|
17885
17885
|
}
|
|
17886
17886
|
|
|
17887
|
-
// bazel-out/
|
|
17887
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
17888
17888
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
17889
17889
|
|
|
17890
|
-
// bazel-out/
|
|
17890
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
17891
17891
|
function toNumbers(value) {
|
|
17892
17892
|
const suffixIndex = value.lastIndexOf("-");
|
|
17893
17893
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -17922,7 +17922,7 @@ function compareVersions(v1, v2) {
|
|
|
17922
17922
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
17923
17923
|
}
|
|
17924
17924
|
|
|
17925
|
-
// bazel-out/
|
|
17925
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
17926
17926
|
var MIN_TS_VERSION = "4.8.2";
|
|
17927
17927
|
var MAX_TS_VERSION = "5.0.0";
|
|
17928
17928
|
var tsVersion = import_typescript3.default.version;
|
|
@@ -17935,13 +17935,13 @@ function verifySupportedTypeScriptVersion() {
|
|
|
17935
17935
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
17936
17936
|
}
|
|
17937
17937
|
|
|
17938
|
-
// bazel-out/
|
|
17938
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
17939
17939
|
var import_typescript93 = __toESM(require("typescript"), 1);
|
|
17940
17940
|
|
|
17941
|
-
// bazel-out/
|
|
17941
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
17942
17942
|
var import_typescript19 = __toESM(require("typescript"), 1);
|
|
17943
17943
|
|
|
17944
|
-
// bazel-out/
|
|
17944
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
17945
17945
|
var ErrorCode;
|
|
17946
17946
|
(function(ErrorCode2) {
|
|
17947
17947
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -18011,7 +18011,7 @@ var ErrorCode;
|
|
|
18011
18011
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
18012
18012
|
})(ErrorCode || (ErrorCode = {}));
|
|
18013
18013
|
|
|
18014
|
-
// bazel-out/
|
|
18014
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
18015
18015
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
18016
18016
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
18017
18017
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -18023,15 +18023,15 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
18023
18023
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
18024
18024
|
]);
|
|
18025
18025
|
|
|
18026
|
-
// bazel-out/
|
|
18026
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
18027
18027
|
var import_typescript4 = __toESM(require("typescript"), 1);
|
|
18028
18028
|
|
|
18029
|
-
// bazel-out/
|
|
18029
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
18030
18030
|
function ngErrorCode(code) {
|
|
18031
18031
|
return parseInt("-99" + code);
|
|
18032
18032
|
}
|
|
18033
18033
|
|
|
18034
|
-
// bazel-out/
|
|
18034
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
18035
18035
|
var FatalDiagnosticError = class {
|
|
18036
18036
|
constructor(code, node, message, relatedInformation) {
|
|
18037
18037
|
this.code = code;
|
|
@@ -18087,10 +18087,10 @@ function addDiagnosticChain(messageText, add) {
|
|
|
18087
18087
|
return messageText;
|
|
18088
18088
|
}
|
|
18089
18089
|
|
|
18090
|
-
// bazel-out/
|
|
18090
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
18091
18091
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
18092
18092
|
|
|
18093
|
-
// bazel-out/
|
|
18093
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
18094
18094
|
var ExtendedTemplateDiagnosticName;
|
|
18095
18095
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
18096
18096
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -18102,7 +18102,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
18102
18102
|
ExtendedTemplateDiagnosticName2["SUFFIX_NOT_SUPPORTED"] = "suffixNotSupported";
|
|
18103
18103
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
18104
18104
|
|
|
18105
|
-
// bazel-out/
|
|
18105
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
18106
18106
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
18107
18107
|
var Decorator = {
|
|
18108
18108
|
nodeForError: (decorator) => {
|
|
@@ -18137,7 +18137,7 @@ function isConcreteDeclaration(decl) {
|
|
|
18137
18137
|
return decl.kind === 0;
|
|
18138
18138
|
}
|
|
18139
18139
|
|
|
18140
|
-
// bazel-out/
|
|
18140
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
18141
18141
|
var import_typescript6 = __toESM(require("typescript"), 1);
|
|
18142
18142
|
function typeToValue(typeNode, checker) {
|
|
18143
18143
|
if (typeNode === null) {
|
|
@@ -18303,10 +18303,10 @@ function extractModuleName(node) {
|
|
|
18303
18303
|
return node.moduleSpecifier.text;
|
|
18304
18304
|
}
|
|
18305
18305
|
|
|
18306
|
-
// bazel-out/
|
|
18306
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
18307
18307
|
var import_typescript8 = __toESM(require("typescript"), 1);
|
|
18308
18308
|
|
|
18309
|
-
// bazel-out/
|
|
18309
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
18310
18310
|
var import_typescript7 = __toESM(require("typescript"), 1);
|
|
18311
18311
|
function isNamedClassDeclaration(node) {
|
|
18312
18312
|
return import_typescript7.default.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -18315,7 +18315,7 @@ function isIdentifier(node) {
|
|
|
18315
18315
|
return node !== void 0 && import_typescript7.default.isIdentifier(node);
|
|
18316
18316
|
}
|
|
18317
18317
|
|
|
18318
|
-
// bazel-out/
|
|
18318
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
18319
18319
|
var TypeScriptReflectionHost = class {
|
|
18320
18320
|
constructor(checker) {
|
|
18321
18321
|
this.checker = checker;
|
|
@@ -18751,13 +18751,13 @@ function getExportedName(decl, originalId) {
|
|
|
18751
18751
|
}
|
|
18752
18752
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
18753
18753
|
|
|
18754
|
-
// bazel-out/
|
|
18754
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
18755
18755
|
var import_typescript18 = __toESM(require("typescript"), 1);
|
|
18756
18756
|
|
|
18757
|
-
// bazel-out/
|
|
18757
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
18758
18758
|
var import_typescript12 = __toESM(require("typescript"), 1);
|
|
18759
18759
|
|
|
18760
|
-
// bazel-out/
|
|
18760
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
18761
18761
|
var import_typescript10 = __toESM(require("typescript"), 1);
|
|
18762
18762
|
var TS = /\.tsx?$/i;
|
|
18763
18763
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -18858,7 +18858,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
18858
18858
|
return redirectInfo.unredirected;
|
|
18859
18859
|
}
|
|
18860
18860
|
|
|
18861
|
-
// bazel-out/
|
|
18861
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
18862
18862
|
function findExportedNameOfNode(target, file, reflector) {
|
|
18863
18863
|
const exports = reflector.getExportsOfModule(file);
|
|
18864
18864
|
if (exports === null) {
|
|
@@ -18878,7 +18878,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
18878
18878
|
return foundExportName;
|
|
18879
18879
|
}
|
|
18880
18880
|
|
|
18881
|
-
// bazel-out/
|
|
18881
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
18882
18882
|
var ImportFlags;
|
|
18883
18883
|
(function(ImportFlags2) {
|
|
18884
18884
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -19094,7 +19094,7 @@ var UnifiedModulesStrategy = class {
|
|
|
19094
19094
|
}
|
|
19095
19095
|
};
|
|
19096
19096
|
|
|
19097
|
-
// bazel-out/
|
|
19097
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
19098
19098
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
19099
19099
|
var UnifiedModulesAliasingHost = class {
|
|
19100
19100
|
constructor(unifiedModulesHost) {
|
|
@@ -19161,7 +19161,7 @@ var AliasStrategy = class {
|
|
|
19161
19161
|
}
|
|
19162
19162
|
};
|
|
19163
19163
|
|
|
19164
|
-
// bazel-out/
|
|
19164
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
19165
19165
|
function relativePathBetween(from, to) {
|
|
19166
19166
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
19167
19167
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -19170,7 +19170,7 @@ function normalizeSeparators2(path3) {
|
|
|
19170
19170
|
return path3.replace(/\\/g, "/");
|
|
19171
19171
|
}
|
|
19172
19172
|
|
|
19173
|
-
// bazel-out/
|
|
19173
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
19174
19174
|
var NoopImportRewriter = class {
|
|
19175
19175
|
shouldImportSymbol(symbol, specifier) {
|
|
19176
19176
|
return true;
|
|
@@ -19228,7 +19228,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
19228
19228
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
19229
19229
|
}
|
|
19230
19230
|
|
|
19231
|
-
// bazel-out/
|
|
19231
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
19232
19232
|
var import_typescript14 = __toESM(require("typescript"), 1);
|
|
19233
19233
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
19234
19234
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -19263,7 +19263,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
19263
19263
|
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.");
|
|
19264
19264
|
}
|
|
19265
19265
|
|
|
19266
|
-
// bazel-out/
|
|
19266
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
19267
19267
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
19268
19268
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
19269
19269
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -19304,7 +19304,7 @@ var DefaultImportTracker = class {
|
|
|
19304
19304
|
}
|
|
19305
19305
|
};
|
|
19306
19306
|
|
|
19307
|
-
// bazel-out/
|
|
19307
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
19308
19308
|
var Reference2 = class {
|
|
19309
19309
|
constructor(node, bestGuessOwningModule = null) {
|
|
19310
19310
|
this.node = node;
|
|
@@ -19367,7 +19367,7 @@ var Reference2 = class {
|
|
|
19367
19367
|
}
|
|
19368
19368
|
};
|
|
19369
19369
|
|
|
19370
|
-
// bazel-out/
|
|
19370
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
19371
19371
|
var ModuleResolver = class {
|
|
19372
19372
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
19373
19373
|
this.program = program;
|
|
@@ -19384,7 +19384,7 @@ var ModuleResolver = class {
|
|
|
19384
19384
|
}
|
|
19385
19385
|
};
|
|
19386
19386
|
|
|
19387
|
-
// bazel-out/
|
|
19387
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
19388
19388
|
function valueReferenceToExpression(valueRef) {
|
|
19389
19389
|
if (valueRef.kind === 2) {
|
|
19390
19390
|
return null;
|
|
@@ -19621,7 +19621,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
19621
19621
|
return clazz.modifiers !== void 0 && clazz.modifiers.some((mod) => mod.kind === import_typescript18.default.SyntaxKind.AbstractKeyword);
|
|
19622
19622
|
}
|
|
19623
19623
|
|
|
19624
|
-
// bazel-out/
|
|
19624
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
19625
19625
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
19626
19626
|
const deps = [];
|
|
19627
19627
|
const errors = [];
|
|
@@ -19763,10 +19763,10 @@ function createUnsuitableInjectionTokenError(clazz, error2) {
|
|
|
19763
19763
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
19764
19764
|
}
|
|
19765
19765
|
|
|
19766
|
-
// bazel-out/
|
|
19766
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
19767
19767
|
var import_typescript27 = __toESM(require("typescript"), 1);
|
|
19768
19768
|
|
|
19769
|
-
// bazel-out/
|
|
19769
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
19770
19770
|
var MetaKind;
|
|
19771
19771
|
(function(MetaKind2) {
|
|
19772
19772
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -19779,10 +19779,10 @@ var MatchSource;
|
|
|
19779
19779
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
19780
19780
|
})(MatchSource || (MatchSource = {}));
|
|
19781
19781
|
|
|
19782
|
-
// bazel-out/
|
|
19782
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
19783
19783
|
var import_typescript22 = __toESM(require("typescript"), 1);
|
|
19784
19784
|
|
|
19785
|
-
// bazel-out/
|
|
19785
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
19786
19786
|
var ClassPropertyMapping = class {
|
|
19787
19787
|
constructor(forwardMap) {
|
|
19788
19788
|
this.forwardMap = forwardMap;
|
|
@@ -19858,7 +19858,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
19858
19858
|
return reverseMap;
|
|
19859
19859
|
}
|
|
19860
19860
|
|
|
19861
|
-
// bazel-out/
|
|
19861
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
19862
19862
|
var import_typescript20 = __toESM(require("typescript"), 1);
|
|
19863
19863
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
19864
19864
|
if (!import_typescript20.default.isTupleTypeNode(def)) {
|
|
@@ -20040,7 +20040,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
20040
20040
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
20041
20041
|
}
|
|
20042
20042
|
|
|
20043
|
-
// bazel-out/
|
|
20043
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
20044
20044
|
var DtsMetadataReader = class {
|
|
20045
20045
|
constructor(checker, reflector) {
|
|
20046
20046
|
this.checker = checker;
|
|
@@ -20179,7 +20179,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
20179
20179
|
return result.length > 0 ? result : null;
|
|
20180
20180
|
}
|
|
20181
20181
|
|
|
20182
|
-
// bazel-out/
|
|
20182
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
20183
20183
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
20184
20184
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
20185
20185
|
if (topMeta === null) {
|
|
@@ -20236,7 +20236,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
20236
20236
|
});
|
|
20237
20237
|
}
|
|
20238
20238
|
|
|
20239
|
-
// bazel-out/
|
|
20239
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
20240
20240
|
var LocalMetadataRegistry = class {
|
|
20241
20241
|
constructor() {
|
|
20242
20242
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -20293,7 +20293,7 @@ var CompoundMetadataRegistry = class {
|
|
|
20293
20293
|
}
|
|
20294
20294
|
};
|
|
20295
20295
|
|
|
20296
|
-
// bazel-out/
|
|
20296
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
20297
20297
|
var ResourceRegistry = class {
|
|
20298
20298
|
constructor() {
|
|
20299
20299
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -20358,7 +20358,7 @@ var ResourceRegistry = class {
|
|
|
20358
20358
|
}
|
|
20359
20359
|
};
|
|
20360
20360
|
|
|
20361
|
-
// bazel-out/
|
|
20361
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
20362
20362
|
var EMPTY_ARRAY = [];
|
|
20363
20363
|
var HostDirectivesResolver = class {
|
|
20364
20364
|
constructor(metaReader) {
|
|
@@ -20408,10 +20408,10 @@ var HostDirectivesResolver = class {
|
|
|
20408
20408
|
}
|
|
20409
20409
|
};
|
|
20410
20410
|
|
|
20411
|
-
// bazel-out/
|
|
20411
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
20412
20412
|
var import_typescript24 = __toESM(require("typescript"), 1);
|
|
20413
20413
|
|
|
20414
|
-
// bazel-out/
|
|
20414
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
20415
20415
|
var DynamicValue = class {
|
|
20416
20416
|
constructor(node, reason, code) {
|
|
20417
20417
|
this.node = node;
|
|
@@ -20501,7 +20501,7 @@ var DynamicValue = class {
|
|
|
20501
20501
|
}
|
|
20502
20502
|
};
|
|
20503
20503
|
|
|
20504
|
-
// bazel-out/
|
|
20504
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
20505
20505
|
var ResolvedModule = class {
|
|
20506
20506
|
constructor(exports, evaluate) {
|
|
20507
20507
|
this.exports = exports;
|
|
@@ -20531,7 +20531,7 @@ var EnumValue = class {
|
|
|
20531
20531
|
var KnownFn = class {
|
|
20532
20532
|
};
|
|
20533
20533
|
|
|
20534
|
-
// bazel-out/
|
|
20534
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
20535
20535
|
function describeResolvedType(value, maxDepth = 1) {
|
|
20536
20536
|
var _a, _b;
|
|
20537
20537
|
if (value === null) {
|
|
@@ -20660,10 +20660,10 @@ function getContainerNode(node) {
|
|
|
20660
20660
|
return node.getSourceFile();
|
|
20661
20661
|
}
|
|
20662
20662
|
|
|
20663
|
-
// bazel-out/
|
|
20663
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
20664
20664
|
var import_typescript25 = __toESM(require("typescript"), 1);
|
|
20665
20665
|
|
|
20666
|
-
// bazel-out/
|
|
20666
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
20667
20667
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
20668
20668
|
constructor(lhs) {
|
|
20669
20669
|
super();
|
|
@@ -20734,7 +20734,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
20734
20734
|
}
|
|
20735
20735
|
};
|
|
20736
20736
|
|
|
20737
|
-
// bazel-out/
|
|
20737
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
20738
20738
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
20739
20739
|
};
|
|
20740
20740
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -20787,7 +20787,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
20787
20787
|
}
|
|
20788
20788
|
};
|
|
20789
20789
|
|
|
20790
|
-
// bazel-out/
|
|
20790
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
20791
20791
|
var jsGlobalObjectValue = /* @__PURE__ */ new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
20792
20792
|
var assignTsHelperFn = new AssignHelperFn();
|
|
20793
20793
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -20811,14 +20811,14 @@ function resolveKnownDeclaration(decl) {
|
|
|
20811
20811
|
}
|
|
20812
20812
|
}
|
|
20813
20813
|
|
|
20814
|
-
// bazel-out/
|
|
20814
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
20815
20815
|
var SyntheticValue = class {
|
|
20816
20816
|
constructor(value) {
|
|
20817
20817
|
this.value = value;
|
|
20818
20818
|
}
|
|
20819
20819
|
};
|
|
20820
20820
|
|
|
20821
|
-
// bazel-out/
|
|
20821
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
20822
20822
|
function literalBinaryOp(op) {
|
|
20823
20823
|
return { op, literal: true };
|
|
20824
20824
|
}
|
|
@@ -21416,7 +21416,7 @@ function owningModule(context, override = null) {
|
|
|
21416
21416
|
}
|
|
21417
21417
|
}
|
|
21418
21418
|
|
|
21419
|
-
// bazel-out/
|
|
21419
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
21420
21420
|
var PartialEvaluator = class {
|
|
21421
21421
|
constructor(host, checker, dependencyTracker) {
|
|
21422
21422
|
this.host = host;
|
|
@@ -21436,7 +21436,7 @@ var PartialEvaluator = class {
|
|
|
21436
21436
|
}
|
|
21437
21437
|
};
|
|
21438
21438
|
|
|
21439
|
-
// bazel-out/
|
|
21439
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
21440
21440
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
21441
21441
|
const context = [];
|
|
21442
21442
|
for (const decl of data) {
|
|
@@ -21611,7 +21611,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
|
|
|
21611
21611
|
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}.`);
|
|
21612
21612
|
}
|
|
21613
21613
|
|
|
21614
|
-
// bazel-out/
|
|
21614
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
21615
21615
|
var import_typescript29 = __toESM(require("typescript"), 1);
|
|
21616
21616
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
21617
21617
|
let resolved = null;
|
|
@@ -21644,7 +21644,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
21644
21644
|
return meta;
|
|
21645
21645
|
}
|
|
21646
21646
|
|
|
21647
|
-
// bazel-out/
|
|
21647
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
21648
21648
|
function compileNgFactoryDefField(metadata) {
|
|
21649
21649
|
const res = compileFactoryFunction(metadata);
|
|
21650
21650
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
@@ -21654,7 +21654,7 @@ function compileDeclareFactory(metadata) {
|
|
|
21654
21654
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
21655
21655
|
}
|
|
21656
21656
|
|
|
21657
|
-
// bazel-out/
|
|
21657
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
21658
21658
|
var InjectableClassRegistry = class {
|
|
21659
21659
|
constructor(host, isCore) {
|
|
21660
21660
|
this.host = host;
|
|
@@ -21680,7 +21680,7 @@ var InjectableClassRegistry = class {
|
|
|
21680
21680
|
}
|
|
21681
21681
|
};
|
|
21682
21682
|
|
|
21683
|
-
// bazel-out/
|
|
21683
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
21684
21684
|
var import_typescript30 = __toESM(require("typescript"), 1);
|
|
21685
21685
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
21686
21686
|
if (!reflection.isClass(clazz)) {
|
|
@@ -21766,13 +21766,13 @@ function removeIdentifierReferences(node, name) {
|
|
|
21766
21766
|
return result.transformed[0];
|
|
21767
21767
|
}
|
|
21768
21768
|
|
|
21769
|
-
// bazel-out/
|
|
21769
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
21770
21770
|
var NoopReferencesRegistry = class {
|
|
21771
21771
|
add(source, ...references) {
|
|
21772
21772
|
}
|
|
21773
21773
|
};
|
|
21774
21774
|
|
|
21775
|
-
// bazel-out/
|
|
21775
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
21776
21776
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
21777
21777
|
const schemas = [];
|
|
21778
21778
|
const result = evaluator.evaluate(rawExpr);
|
|
@@ -21801,10 +21801,10 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
21801
21801
|
return schemas;
|
|
21802
21802
|
}
|
|
21803
21803
|
|
|
21804
|
-
// bazel-out/
|
|
21804
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
21805
21805
|
var import_typescript52 = __toESM(require("typescript"), 1);
|
|
21806
21806
|
|
|
21807
|
-
// bazel-out/
|
|
21807
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
21808
21808
|
var import_typescript31 = __toESM(require("typescript"), 1);
|
|
21809
21809
|
var SemanticSymbol = class {
|
|
21810
21810
|
constructor(decl) {
|
|
@@ -21820,7 +21820,7 @@ function getSymbolIdentifier(decl) {
|
|
|
21820
21820
|
return decl.name.text;
|
|
21821
21821
|
}
|
|
21822
21822
|
|
|
21823
|
-
// bazel-out/
|
|
21823
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
21824
21824
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
21825
21825
|
isPublicApiAffected() {
|
|
21826
21826
|
return false;
|
|
@@ -21962,10 +21962,10 @@ function getImportPath(expr) {
|
|
|
21962
21962
|
}
|
|
21963
21963
|
}
|
|
21964
21964
|
|
|
21965
|
-
// bazel-out/
|
|
21965
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
21966
21966
|
var import_typescript32 = __toESM(require("typescript"), 1);
|
|
21967
21967
|
|
|
21968
|
-
// bazel-out/
|
|
21968
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
21969
21969
|
function isSymbolEqual(a, b) {
|
|
21970
21970
|
if (a.decl === b.decl) {
|
|
21971
21971
|
return true;
|
|
@@ -22015,7 +22015,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
22015
22015
|
return true;
|
|
22016
22016
|
}
|
|
22017
22017
|
|
|
22018
|
-
// bazel-out/
|
|
22018
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
22019
22019
|
function extractSemanticTypeParameters(node) {
|
|
22020
22020
|
if (!import_typescript32.default.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
22021
22021
|
return null;
|
|
@@ -22035,7 +22035,7 @@ function isTypeParameterEqual(a, b) {
|
|
|
22035
22035
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
22036
22036
|
}
|
|
22037
22037
|
|
|
22038
|
-
// bazel-out/
|
|
22038
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
22039
22039
|
var PerfPhase;
|
|
22040
22040
|
(function(PerfPhase2) {
|
|
22041
22041
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -22102,7 +22102,7 @@ var PerfCheckpoint;
|
|
|
22102
22102
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
22103
22103
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
22104
22104
|
|
|
22105
|
-
// bazel-out/
|
|
22105
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
22106
22106
|
var NoopPerfRecorder = class {
|
|
22107
22107
|
eventCount() {
|
|
22108
22108
|
}
|
|
@@ -22119,7 +22119,7 @@ var NoopPerfRecorder = class {
|
|
|
22119
22119
|
};
|
|
22120
22120
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
22121
22121
|
|
|
22122
|
-
// bazel-out/
|
|
22122
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
22123
22123
|
function mark() {
|
|
22124
22124
|
return process.hrtime();
|
|
22125
22125
|
}
|
|
@@ -22128,7 +22128,7 @@ function timeSinceInMicros(mark2) {
|
|
|
22128
22128
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
22129
22129
|
}
|
|
22130
22130
|
|
|
22131
|
-
// bazel-out/
|
|
22131
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
22132
22132
|
var ActivePerfRecorder = class {
|
|
22133
22133
|
static zeroedToNow() {
|
|
22134
22134
|
return new ActivePerfRecorder(mark());
|
|
@@ -22222,14 +22222,14 @@ var DelegatingPerfRecorder = class {
|
|
|
22222
22222
|
}
|
|
22223
22223
|
};
|
|
22224
22224
|
|
|
22225
|
-
// bazel-out/
|
|
22225
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
22226
22226
|
var ComponentScopeKind;
|
|
22227
22227
|
(function(ComponentScopeKind2) {
|
|
22228
22228
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
22229
22229
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
22230
22230
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
22231
22231
|
|
|
22232
|
-
// bazel-out/
|
|
22232
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
22233
22233
|
var CompoundComponentScopeReader = class {
|
|
22234
22234
|
constructor(readers) {
|
|
22235
22235
|
this.readers = readers;
|
|
@@ -22254,7 +22254,7 @@ var CompoundComponentScopeReader = class {
|
|
|
22254
22254
|
}
|
|
22255
22255
|
};
|
|
22256
22256
|
|
|
22257
|
-
// bazel-out/
|
|
22257
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
22258
22258
|
var MetadataDtsModuleScopeResolver = class {
|
|
22259
22259
|
constructor(dtsMetaReader, aliasingHost) {
|
|
22260
22260
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -22329,10 +22329,10 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
22329
22329
|
}
|
|
22330
22330
|
};
|
|
22331
22331
|
|
|
22332
|
-
// bazel-out/
|
|
22332
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
22333
22333
|
var import_typescript33 = __toESM(require("typescript"), 1);
|
|
22334
22334
|
|
|
22335
|
-
// bazel-out/
|
|
22335
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
22336
22336
|
function getDiagnosticNode(ref, rawExpr) {
|
|
22337
22337
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
22338
22338
|
}
|
|
@@ -22355,7 +22355,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
|
|
|
22355
22355
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
|
|
22356
22356
|
}
|
|
22357
22357
|
|
|
22358
|
-
// bazel-out/
|
|
22358
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
22359
22359
|
var LocalModuleScopeRegistry = class {
|
|
22360
22360
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
22361
22361
|
this.localReader = localReader;
|
|
@@ -22694,7 +22694,7 @@ function reexportCollision(module3, refA, refB) {
|
|
|
22694
22694
|
]);
|
|
22695
22695
|
}
|
|
22696
22696
|
|
|
22697
|
-
// bazel-out/
|
|
22697
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
22698
22698
|
var import_typescript35 = __toESM(require("typescript"), 1);
|
|
22699
22699
|
var TypeCheckScopeRegistry = class {
|
|
22700
22700
|
constructor(scopeReader, metaReader, hostDirectivesResolver) {
|
|
@@ -22762,7 +22762,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
22762
22762
|
}
|
|
22763
22763
|
};
|
|
22764
22764
|
|
|
22765
|
-
// bazel-out/
|
|
22765
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
22766
22766
|
var CompilationMode;
|
|
22767
22767
|
(function(CompilationMode2) {
|
|
22768
22768
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -22780,7 +22780,7 @@ var HandlerFlags;
|
|
|
22780
22780
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
22781
22781
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
22782
22782
|
|
|
22783
|
-
// bazel-out/
|
|
22783
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
22784
22784
|
var import_typescript36 = __toESM(require("typescript"), 1);
|
|
22785
22785
|
function aliasTransformFactory(exportStatements) {
|
|
22786
22786
|
return () => {
|
|
@@ -22803,10 +22803,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
22803
22803
|
};
|
|
22804
22804
|
}
|
|
22805
22805
|
|
|
22806
|
-
// bazel-out/
|
|
22806
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
22807
22807
|
var import_typescript37 = __toESM(require("typescript"), 1);
|
|
22808
22808
|
|
|
22809
|
-
// bazel-out/
|
|
22809
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
22810
22810
|
var TraitState;
|
|
22811
22811
|
(function(TraitState2) {
|
|
22812
22812
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -22861,7 +22861,7 @@ var TraitImpl = class {
|
|
|
22861
22861
|
}
|
|
22862
22862
|
};
|
|
22863
22863
|
|
|
22864
|
-
// bazel-out/
|
|
22864
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
22865
22865
|
var TraitCompiler = class {
|
|
22866
22866
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
22867
22867
|
this.handlers = handlers;
|
|
@@ -23305,10 +23305,10 @@ function containsErrors(diagnostics) {
|
|
|
23305
23305
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === import_typescript37.default.DiagnosticCategory.Error);
|
|
23306
23306
|
}
|
|
23307
23307
|
|
|
23308
|
-
// bazel-out/
|
|
23308
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
23309
23309
|
var import_typescript44 = __toESM(require("typescript"), 1);
|
|
23310
23310
|
|
|
23311
|
-
// bazel-out/
|
|
23311
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
23312
23312
|
var Context = class {
|
|
23313
23313
|
constructor(isStatement) {
|
|
23314
23314
|
this.isStatement = isStatement;
|
|
@@ -23321,7 +23321,7 @@ var Context = class {
|
|
|
23321
23321
|
}
|
|
23322
23322
|
};
|
|
23323
23323
|
|
|
23324
|
-
// bazel-out/
|
|
23324
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
23325
23325
|
var import_typescript39 = __toESM(require("typescript"), 1);
|
|
23326
23326
|
var ImportManager = class {
|
|
23327
23327
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -23357,7 +23357,7 @@ var ImportManager = class {
|
|
|
23357
23357
|
}
|
|
23358
23358
|
};
|
|
23359
23359
|
|
|
23360
|
-
// bazel-out/
|
|
23360
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
23361
23361
|
var UNARY_OPERATORS2 = /* @__PURE__ */ new Map([
|
|
23362
23362
|
[UnaryOperator.Minus, "-"],
|
|
23363
23363
|
[UnaryOperator.Plus, "+"]
|
|
@@ -23588,10 +23588,10 @@ function createRange(span) {
|
|
|
23588
23588
|
};
|
|
23589
23589
|
}
|
|
23590
23590
|
|
|
23591
|
-
// bazel-out/
|
|
23591
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
23592
23592
|
var import_typescript41 = __toESM(require("typescript"), 1);
|
|
23593
23593
|
|
|
23594
|
-
// bazel-out/
|
|
23594
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.mjs
|
|
23595
23595
|
var import_typescript40 = __toESM(require("typescript"), 1);
|
|
23596
23596
|
var IS_AFTER_TS_49 = isAfterVersion(4, 9);
|
|
23597
23597
|
var createParameterDeclaration = IS_AFTER_TS_49 ? import_typescript40.default.factory.createParameterDeclaration : (modifiers, dotDotDotToken, name, questionToken, type, initializer) => import_typescript40.default.factory.createParameterDeclaration(...splitModifiers(modifiers), dotDotDotToken, name, questionToken, type, initializer);
|
|
@@ -23621,7 +23621,7 @@ function isAfterVersion(targetMajor, targetMinor) {
|
|
|
23621
23621
|
return major === targetMajor ? minor >= targetMinor : true;
|
|
23622
23622
|
}
|
|
23623
23623
|
|
|
23624
|
-
// bazel-out/
|
|
23624
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
23625
23625
|
function translateType(type, imports) {
|
|
23626
23626
|
return type.visitType(new TypeTranslatorVisitor(imports), new Context(false));
|
|
23627
23627
|
}
|
|
@@ -23795,7 +23795,7 @@ var TypeTranslatorVisitor = class {
|
|
|
23795
23795
|
}
|
|
23796
23796
|
};
|
|
23797
23797
|
|
|
23798
|
-
// bazel-out/
|
|
23798
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
23799
23799
|
var import_typescript42 = __toESM(require("typescript"), 1);
|
|
23800
23800
|
var PureAnnotation;
|
|
23801
23801
|
(function(PureAnnotation2) {
|
|
@@ -23978,7 +23978,7 @@ function attachComments(statement, leadingComments) {
|
|
|
23978
23978
|
}
|
|
23979
23979
|
}
|
|
23980
23980
|
|
|
23981
|
-
// bazel-out/
|
|
23981
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
23982
23982
|
function translateExpression(expression, imports, options = {}) {
|
|
23983
23983
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
23984
23984
|
}
|
|
@@ -23986,7 +23986,7 @@ function translateStatement(statement, imports, options = {}) {
|
|
|
23986
23986
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
|
|
23987
23987
|
}
|
|
23988
23988
|
|
|
23989
|
-
// bazel-out/
|
|
23989
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
23990
23990
|
var import_typescript43 = __toESM(require("typescript"), 1);
|
|
23991
23991
|
function addImports(importManager, sf, extraStatements = []) {
|
|
23992
23992
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -24022,7 +24022,7 @@ function isImportStatement(stmt) {
|
|
|
24022
24022
|
return import_typescript43.default.isImportDeclaration(stmt) || import_typescript43.default.isImportEqualsDeclaration(stmt) || import_typescript43.default.isNamespaceImport(stmt);
|
|
24023
24023
|
}
|
|
24024
24024
|
|
|
24025
|
-
// bazel-out/
|
|
24025
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
24026
24026
|
var DtsTransformRegistry = class {
|
|
24027
24027
|
constructor() {
|
|
24028
24028
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -24167,10 +24167,10 @@ function markForEmitAsSingleLine(node) {
|
|
|
24167
24167
|
import_typescript44.default.forEachChild(node, markForEmitAsSingleLine);
|
|
24168
24168
|
}
|
|
24169
24169
|
|
|
24170
|
-
// bazel-out/
|
|
24170
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
24171
24171
|
var import_typescript46 = __toESM(require("typescript"), 1);
|
|
24172
24172
|
|
|
24173
|
-
// bazel-out/
|
|
24173
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
24174
24174
|
var import_typescript45 = __toESM(require("typescript"), 1);
|
|
24175
24175
|
function visit(node, visitor, context) {
|
|
24176
24176
|
return visitor._visit(node, context);
|
|
@@ -24231,7 +24231,7 @@ var Visitor = class {
|
|
|
24231
24231
|
}
|
|
24232
24232
|
};
|
|
24233
24233
|
|
|
24234
|
-
// bazel-out/
|
|
24234
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
24235
24235
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
24236
24236
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
24237
24237
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -24439,7 +24439,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
24439
24439
|
return array;
|
|
24440
24440
|
}
|
|
24441
24441
|
|
|
24442
|
-
// bazel-out/
|
|
24442
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
24443
24443
|
var import_typescript47 = __toESM(require("typescript"), 1);
|
|
24444
24444
|
var EMPTY_OBJECT = {};
|
|
24445
24445
|
var QUERY_TYPES = /* @__PURE__ */ new Set([
|
|
@@ -24855,7 +24855,7 @@ function toHostDirectiveMetadata(hostDirective, context, refEmitter) {
|
|
|
24855
24855
|
};
|
|
24856
24856
|
}
|
|
24857
24857
|
|
|
24858
|
-
// bazel-out/
|
|
24858
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
24859
24859
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
24860
24860
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
24861
24861
|
super(decl);
|
|
@@ -24932,7 +24932,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
24932
24932
|
return isSymbolEqual(current, previous);
|
|
24933
24933
|
}
|
|
24934
24934
|
|
|
24935
|
-
// bazel-out/
|
|
24935
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
24936
24936
|
var FIELD_DECORATORS = [
|
|
24937
24937
|
"Input",
|
|
24938
24938
|
"Output",
|
|
@@ -25091,10 +25091,10 @@ var DirectiveDecoratorHandler = class {
|
|
|
25091
25091
|
}
|
|
25092
25092
|
};
|
|
25093
25093
|
|
|
25094
|
-
// bazel-out/
|
|
25094
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
25095
25095
|
var import_typescript49 = __toESM(require("typescript"), 1);
|
|
25096
25096
|
|
|
25097
|
-
// bazel-out/
|
|
25097
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
25098
25098
|
var import_typescript48 = __toESM(require("typescript"), 1);
|
|
25099
25099
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
25100
25100
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -25161,7 +25161,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
25161
25161
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
25162
25162
|
}
|
|
25163
25163
|
|
|
25164
|
-
// bazel-out/
|
|
25164
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
25165
25165
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
25166
25166
|
constructor() {
|
|
25167
25167
|
super(...arguments);
|
|
@@ -25663,7 +25663,7 @@ function isSyntheticReference(ref) {
|
|
|
25663
25663
|
return ref.synthetic;
|
|
25664
25664
|
}
|
|
25665
25665
|
|
|
25666
|
-
// bazel-out/
|
|
25666
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
25667
25667
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
25668
25668
|
const name = ref.debugName || "(unknown)";
|
|
25669
25669
|
const path3 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -25686,7 +25686,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
25686
25686
|
return null;
|
|
25687
25687
|
}
|
|
25688
25688
|
|
|
25689
|
-
// bazel-out/
|
|
25689
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
25690
25690
|
var import_typescript51 = __toESM(require("typescript"), 1);
|
|
25691
25691
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
25692
25692
|
switch (declaration.isInline) {
|
|
@@ -25786,7 +25786,7 @@ function parseExtractedTemplate(template, sourceStr, sourceParseRange, escapedSt
|
|
|
25786
25786
|
file: new ParseSourceFile(sourceStr, sourceMapUrl != null ? sourceMapUrl : "")
|
|
25787
25787
|
});
|
|
25788
25788
|
}
|
|
25789
|
-
function parseTemplateDeclaration(decorator, component, containingFile, evaluator, resourceLoader, defaultPreserveWhitespaces) {
|
|
25789
|
+
function parseTemplateDeclaration(node, decorator, component, containingFile, evaluator, depTracker, resourceLoader, defaultPreserveWhitespaces) {
|
|
25790
25790
|
let preserveWhitespaces = defaultPreserveWhitespaces;
|
|
25791
25791
|
if (component.has("preserveWhitespaces")) {
|
|
25792
25792
|
const expr = component.get("preserveWhitespaces");
|
|
@@ -25822,6 +25822,9 @@ function parseTemplateDeclaration(decorator, component, containingFile, evaluato
|
|
|
25822
25822
|
resolvedTemplateUrl: resourceUrl
|
|
25823
25823
|
};
|
|
25824
25824
|
} catch (e) {
|
|
25825
|
+
if (depTracker !== null) {
|
|
25826
|
+
depTracker.recordDependencyAnalysisFailure(node.getSourceFile());
|
|
25827
|
+
}
|
|
25825
25828
|
throw makeResourceNotFoundError(templateUrl, templateUrlExpr, 0);
|
|
25826
25829
|
}
|
|
25827
25830
|
} else if (component.has("template")) {
|
|
@@ -25849,7 +25852,7 @@ function preloadAndParseTemplate(evaluator, resourceLoader, depTracker, preanaly
|
|
|
25849
25852
|
const templatePromise = resourceLoader.preload(resourceUrl, { type: "template", containingFile });
|
|
25850
25853
|
if (templatePromise !== void 0) {
|
|
25851
25854
|
return templatePromise.then(() => {
|
|
25852
|
-
const templateDecl = parseTemplateDeclaration(decorator, component, containingFile, evaluator, resourceLoader, defaultPreserveWhitespaces);
|
|
25855
|
+
const templateDecl = parseTemplateDeclaration(node, decorator, component, containingFile, evaluator, depTracker, resourceLoader, defaultPreserveWhitespaces);
|
|
25853
25856
|
const template = extractTemplate(node, templateDecl, evaluator, depTracker, resourceLoader, options);
|
|
25854
25857
|
preanalyzeTemplateCache.set(node, template);
|
|
25855
25858
|
return template;
|
|
@@ -25858,10 +25861,13 @@ function preloadAndParseTemplate(evaluator, resourceLoader, depTracker, preanaly
|
|
|
25858
25861
|
return Promise.resolve(null);
|
|
25859
25862
|
}
|
|
25860
25863
|
} catch (e) {
|
|
25864
|
+
if (depTracker !== null) {
|
|
25865
|
+
depTracker.recordDependencyAnalysisFailure(node.getSourceFile());
|
|
25866
|
+
}
|
|
25861
25867
|
throw makeResourceNotFoundError(templateUrl, templateUrlExpr, 0);
|
|
25862
25868
|
}
|
|
25863
25869
|
} else {
|
|
25864
|
-
const templateDecl = parseTemplateDeclaration(decorator, component, containingFile, evaluator, resourceLoader, defaultPreserveWhitespaces);
|
|
25870
|
+
const templateDecl = parseTemplateDeclaration(node, decorator, component, containingFile, evaluator, depTracker, resourceLoader, defaultPreserveWhitespaces);
|
|
25865
25871
|
const template = extractTemplate(node, templateDecl, evaluator, depTracker, resourceLoader, options);
|
|
25866
25872
|
preanalyzeTemplateCache.set(node, template);
|
|
25867
25873
|
return Promise.resolve(template);
|
|
@@ -25995,7 +26001,7 @@ function _extractTemplateStyleUrls(template) {
|
|
|
25995
26001
|
return template.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
|
|
25996
26002
|
}
|
|
25997
26003
|
|
|
25998
|
-
// bazel-out/
|
|
26004
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
25999
26005
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
26000
26006
|
constructor() {
|
|
26001
26007
|
super(...arguments);
|
|
@@ -26030,7 +26036,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
26030
26036
|
}
|
|
26031
26037
|
};
|
|
26032
26038
|
|
|
26033
|
-
// bazel-out/
|
|
26039
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
26034
26040
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
26035
26041
|
if (value instanceof Map) {
|
|
26036
26042
|
const name = value.get("name");
|
|
@@ -26106,7 +26112,7 @@ function isLikelyModuleWithProviders(value) {
|
|
|
26106
26112
|
return false;
|
|
26107
26113
|
}
|
|
26108
26114
|
|
|
26109
|
-
// bazel-out/
|
|
26115
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
26110
26116
|
var EMPTY_ARRAY2 = [];
|
|
26111
26117
|
var ComponentDecoratorHandler = class {
|
|
26112
26118
|
constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver) {
|
|
@@ -26291,7 +26297,7 @@ var ComponentDecoratorHandler = class {
|
|
|
26291
26297
|
this.preanalyzeTemplateCache.delete(node);
|
|
26292
26298
|
template = preanalyzed;
|
|
26293
26299
|
} else {
|
|
26294
|
-
const templateDecl = parseTemplateDeclaration(decorator, component, containingFile, this.evaluator, this.resourceLoader, this.defaultPreserveWhitespaces);
|
|
26300
|
+
const templateDecl = parseTemplateDeclaration(node, decorator, component, containingFile, this.evaluator, this.depTracker, this.resourceLoader, this.defaultPreserveWhitespaces);
|
|
26295
26301
|
template = extractTemplate(node, templateDecl, this.evaluator, this.depTracker, this.resourceLoader, {
|
|
26296
26302
|
enableI18nLegacyMessageIdFormat: this.enableI18nLegacyMessageIdFormat,
|
|
26297
26303
|
i18nNormalizeLineEndingsInICUs: this.i18nNormalizeLineEndingsInICUs,
|
|
@@ -26317,6 +26323,9 @@ var ComponentDecoratorHandler = class {
|
|
|
26317
26323
|
this.depTracker.addResourceDependency(node.getSourceFile(), absoluteFrom(resourceUrl));
|
|
26318
26324
|
}
|
|
26319
26325
|
} catch (e) {
|
|
26326
|
+
if (this.depTracker !== null) {
|
|
26327
|
+
this.depTracker.recordDependencyAnalysisFailure(node.getSourceFile());
|
|
26328
|
+
}
|
|
26320
26329
|
if (diagnostics === void 0) {
|
|
26321
26330
|
diagnostics = [];
|
|
26322
26331
|
}
|
|
@@ -26749,7 +26758,7 @@ function validateStandaloneImports(importRefs, importExpr2, metaReader, scopeRea
|
|
|
26749
26758
|
return diagnostics;
|
|
26750
26759
|
}
|
|
26751
26760
|
|
|
26752
|
-
// bazel-out/
|
|
26761
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
26753
26762
|
var import_typescript54 = __toESM(require("typescript"), 1);
|
|
26754
26763
|
var InjectableDecoratorHandler = class {
|
|
26755
26764
|
constructor(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, perf, errorOnDuplicateProv = true) {
|
|
@@ -26965,7 +26974,7 @@ function getDep(dep, reflector) {
|
|
|
26965
26974
|
return meta;
|
|
26966
26975
|
}
|
|
26967
26976
|
|
|
26968
|
-
// bazel-out/
|
|
26977
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
26969
26978
|
var import_typescript55 = __toESM(require("typescript"), 1);
|
|
26970
26979
|
var PipeSymbol = class extends SemanticSymbol {
|
|
26971
26980
|
constructor(decl, name) {
|
|
@@ -27110,7 +27119,7 @@ var PipeDecoratorHandler = class {
|
|
|
27110
27119
|
}
|
|
27111
27120
|
};
|
|
27112
27121
|
|
|
27113
|
-
// bazel-out/
|
|
27122
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
27114
27123
|
var CycleAnalyzer = class {
|
|
27115
27124
|
constructor(importGraph) {
|
|
27116
27125
|
this.importGraph = importGraph;
|
|
@@ -27181,7 +27190,7 @@ var Cycle = class {
|
|
|
27181
27190
|
}
|
|
27182
27191
|
};
|
|
27183
27192
|
|
|
27184
|
-
// bazel-out/
|
|
27193
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
27185
27194
|
var import_typescript56 = __toESM(require("typescript"), 1);
|
|
27186
27195
|
var ImportGraph = class {
|
|
27187
27196
|
constructor(checker, perf) {
|
|
@@ -27273,7 +27282,7 @@ var Found = class {
|
|
|
27273
27282
|
}
|
|
27274
27283
|
};
|
|
27275
27284
|
|
|
27276
|
-
// bazel-out/
|
|
27285
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
27277
27286
|
var import_typescript57 = __toESM(require("typescript"), 1);
|
|
27278
27287
|
var FlatIndexGenerator = class {
|
|
27279
27288
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -27298,7 +27307,7 @@ export * from '${relativeEntryPoint}';
|
|
|
27298
27307
|
}
|
|
27299
27308
|
};
|
|
27300
27309
|
|
|
27301
|
-
// bazel-out/
|
|
27310
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
27302
27311
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
27303
27312
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
27304
27313
|
let resolvedEntryPoint = null;
|
|
@@ -27314,7 +27323,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
27314
27323
|
return resolvedEntryPoint;
|
|
27315
27324
|
}
|
|
27316
27325
|
|
|
27317
|
-
// bazel-out/
|
|
27326
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
27318
27327
|
var import_typescript59 = __toESM(require("typescript"), 1);
|
|
27319
27328
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
27320
27329
|
const diagnostics = [];
|
|
@@ -27394,7 +27403,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
27394
27403
|
}
|
|
27395
27404
|
}
|
|
27396
27405
|
|
|
27397
|
-
// bazel-out/
|
|
27406
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
27398
27407
|
var ReferenceGraph = class {
|
|
27399
27408
|
constructor() {
|
|
27400
27409
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -27448,7 +27457,7 @@ var ReferenceGraph = class {
|
|
|
27448
27457
|
}
|
|
27449
27458
|
};
|
|
27450
27459
|
|
|
27451
|
-
// bazel-out/
|
|
27460
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
27452
27461
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
27453
27462
|
var UpdateMode;
|
|
27454
27463
|
(function(UpdateMode2) {
|
|
@@ -27456,13 +27465,13 @@ var UpdateMode;
|
|
|
27456
27465
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
27457
27466
|
})(UpdateMode || (UpdateMode = {}));
|
|
27458
27467
|
|
|
27459
|
-
// bazel-out/
|
|
27468
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
27460
27469
|
var import_typescript65 = __toESM(require("typescript"), 1);
|
|
27461
27470
|
|
|
27462
|
-
// bazel-out/
|
|
27471
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
27463
27472
|
var import_typescript60 = __toESM(require("typescript"), 1);
|
|
27464
27473
|
|
|
27465
|
-
// bazel-out/
|
|
27474
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
27466
27475
|
var NgExtension = Symbol("NgExtension");
|
|
27467
27476
|
function isExtended(sf) {
|
|
27468
27477
|
return sf[NgExtension] !== void 0;
|
|
@@ -27522,7 +27531,7 @@ function retagTsFile(sf) {
|
|
|
27522
27531
|
}
|
|
27523
27532
|
}
|
|
27524
27533
|
|
|
27525
|
-
// bazel-out/
|
|
27534
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
27526
27535
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
27527
27536
|
function makeShimFileName(fileName, suffix) {
|
|
27528
27537
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
@@ -27537,7 +27546,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
|
|
|
27537
27546
|
return moduleName;
|
|
27538
27547
|
}
|
|
27539
27548
|
|
|
27540
|
-
// bazel-out/
|
|
27549
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
27541
27550
|
var ShimAdapter = class {
|
|
27542
27551
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
27543
27552
|
this.delegate = delegate;
|
|
@@ -27632,7 +27641,7 @@ var ShimAdapter = class {
|
|
|
27632
27641
|
}
|
|
27633
27642
|
};
|
|
27634
27643
|
|
|
27635
|
-
// bazel-out/
|
|
27644
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
27636
27645
|
var import_typescript62 = __toESM(require("typescript"), 1);
|
|
27637
27646
|
var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
|
|
27638
27647
|
var STRIP_NG_FACTORY = /(.*)NgFactory$/;
|
|
@@ -27792,7 +27801,7 @@ function updateInitializers(stmt, update) {
|
|
|
27792
27801
|
return import_typescript62.default.factory.updateVariableStatement(stmt, import_typescript62.default.getModifiers(stmt), import_typescript62.default.factory.updateVariableDeclarationList(stmt.declarationList, stmt.declarationList.declarations.map((decl) => import_typescript62.default.factory.updateVariableDeclaration(decl, decl.name, decl.exclamationToken, decl.type, update(decl.initializer)))));
|
|
27793
27802
|
}
|
|
27794
27803
|
|
|
27795
|
-
// bazel-out/
|
|
27804
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
27796
27805
|
var ShimReferenceTagger = class {
|
|
27797
27806
|
constructor(shimExtensions) {
|
|
27798
27807
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -27826,7 +27835,7 @@ var ShimReferenceTagger = class {
|
|
|
27826
27835
|
}
|
|
27827
27836
|
};
|
|
27828
27837
|
|
|
27829
|
-
// bazel-out/
|
|
27838
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
27830
27839
|
var import_typescript64 = __toESM(require("typescript"), 1);
|
|
27831
27840
|
var SummaryGenerator = class {
|
|
27832
27841
|
constructor() {
|
|
@@ -27867,7 +27876,7 @@ function isExported2(decl) {
|
|
|
27867
27876
|
return modifiers !== void 0 && modifiers.some((mod) => mod.kind == import_typescript64.default.SyntaxKind.ExportKeyword) || false;
|
|
27868
27877
|
}
|
|
27869
27878
|
|
|
27870
|
-
// bazel-out/
|
|
27879
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
27871
27880
|
var DelegatingCompilerHost = class {
|
|
27872
27881
|
constructor(delegate) {
|
|
27873
27882
|
this.delegate = delegate;
|
|
@@ -27978,7 +27987,7 @@ var TsCreateProgramDriver = class {
|
|
|
27978
27987
|
}
|
|
27979
27988
|
};
|
|
27980
27989
|
|
|
27981
|
-
// bazel-out/
|
|
27990
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
27982
27991
|
var FileDependencyGraph = class {
|
|
27983
27992
|
constructor() {
|
|
27984
27993
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -28045,7 +28054,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
28045
28054
|
return false;
|
|
28046
28055
|
}
|
|
28047
28056
|
|
|
28048
|
-
// bazel-out/
|
|
28057
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
28049
28058
|
var IncrementalStateKind;
|
|
28050
28059
|
(function(IncrementalStateKind2) {
|
|
28051
28060
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -28053,7 +28062,7 @@ var IncrementalStateKind;
|
|
|
28053
28062
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
28054
28063
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
28055
28064
|
|
|
28056
|
-
// bazel-out/
|
|
28065
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
28057
28066
|
var PhaseKind;
|
|
28058
28067
|
(function(PhaseKind2) {
|
|
28059
28068
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -28254,7 +28263,7 @@ function toOriginalSourceFile(sf) {
|
|
|
28254
28263
|
}
|
|
28255
28264
|
}
|
|
28256
28265
|
|
|
28257
|
-
// bazel-out/
|
|
28266
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
28258
28267
|
var TrackedIncrementalBuildStrategy = class {
|
|
28259
28268
|
constructor() {
|
|
28260
28269
|
this.state = null;
|
|
@@ -28275,7 +28284,7 @@ var TrackedIncrementalBuildStrategy = class {
|
|
|
28275
28284
|
};
|
|
28276
28285
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
28277
28286
|
|
|
28278
|
-
// bazel-out/
|
|
28287
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
28279
28288
|
var IdentifierKind;
|
|
28280
28289
|
(function(IdentifierKind2) {
|
|
28281
28290
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -28293,7 +28302,7 @@ var AbsoluteSourceSpan2 = class {
|
|
|
28293
28302
|
}
|
|
28294
28303
|
};
|
|
28295
28304
|
|
|
28296
|
-
// bazel-out/
|
|
28305
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
28297
28306
|
var IndexingContext = class {
|
|
28298
28307
|
constructor() {
|
|
28299
28308
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -28303,7 +28312,7 @@ var IndexingContext = class {
|
|
|
28303
28312
|
}
|
|
28304
28313
|
};
|
|
28305
28314
|
|
|
28306
|
-
// bazel-out/
|
|
28315
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
28307
28316
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
28308
28317
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
28309
28318
|
super();
|
|
@@ -28539,7 +28548,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
28539
28548
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
28540
28549
|
}
|
|
28541
28550
|
|
|
28542
|
-
// bazel-out/
|
|
28551
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
28543
28552
|
function generateAnalysis(context) {
|
|
28544
28553
|
const analysis = /* @__PURE__ */ new Map();
|
|
28545
28554
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -28575,7 +28584,7 @@ function generateAnalysis(context) {
|
|
|
28575
28584
|
return analysis;
|
|
28576
28585
|
}
|
|
28577
28586
|
|
|
28578
|
-
// bazel-out/
|
|
28587
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
28579
28588
|
var NgModuleIndexImpl = class {
|
|
28580
28589
|
constructor(metaReader, localReader) {
|
|
28581
28590
|
this.metaReader = metaReader;
|
|
@@ -28664,7 +28673,7 @@ var NgModuleIndexImpl = class {
|
|
|
28664
28673
|
}
|
|
28665
28674
|
};
|
|
28666
28675
|
|
|
28667
|
-
// bazel-out/
|
|
28676
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
28668
28677
|
var import_typescript68 = __toESM(require("typescript"), 1);
|
|
28669
28678
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
28670
28679
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -28812,7 +28821,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
28812
28821
|
};
|
|
28813
28822
|
}
|
|
28814
28823
|
|
|
28815
|
-
// bazel-out/
|
|
28824
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
28816
28825
|
var StandaloneComponentScopeReader = class {
|
|
28817
28826
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
28818
28827
|
this.metaReader = metaReader;
|
|
@@ -28890,21 +28899,21 @@ var StandaloneComponentScopeReader = class {
|
|
|
28890
28899
|
}
|
|
28891
28900
|
};
|
|
28892
28901
|
|
|
28893
|
-
// bazel-out/
|
|
28902
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
28894
28903
|
var OptimizeFor;
|
|
28895
28904
|
(function(OptimizeFor2) {
|
|
28896
28905
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
28897
28906
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
28898
28907
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
28899
28908
|
|
|
28900
|
-
// bazel-out/
|
|
28909
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
28901
28910
|
var CompletionKind;
|
|
28902
28911
|
(function(CompletionKind2) {
|
|
28903
28912
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
28904
28913
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
28905
28914
|
})(CompletionKind || (CompletionKind = {}));
|
|
28906
28915
|
|
|
28907
|
-
// bazel-out/
|
|
28916
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
28908
28917
|
var PotentialImportKind;
|
|
28909
28918
|
(function(PotentialImportKind2) {
|
|
28910
28919
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -28916,7 +28925,7 @@ var PotentialImportMode;
|
|
|
28916
28925
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
28917
28926
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
28918
28927
|
|
|
28919
|
-
// bazel-out/
|
|
28928
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
28920
28929
|
var SymbolKind;
|
|
28921
28930
|
(function(SymbolKind2) {
|
|
28922
28931
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -28932,7 +28941,7 @@ var SymbolKind;
|
|
|
28932
28941
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
28933
28942
|
})(SymbolKind || (SymbolKind = {}));
|
|
28934
28943
|
|
|
28935
|
-
// bazel-out/
|
|
28944
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
28936
28945
|
var import_typescript69 = __toESM(require("typescript"), 1);
|
|
28937
28946
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
28938
28947
|
var _a;
|
|
@@ -29039,7 +29048,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
29039
29048
|
return import_typescript69.default.createSourceFile(fileName, template, import_typescript69.default.ScriptTarget.Latest, false, import_typescript69.default.ScriptKind.JSX);
|
|
29040
29049
|
}
|
|
29041
29050
|
|
|
29042
|
-
// bazel-out/
|
|
29051
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
29043
29052
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
29044
29053
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
29045
29054
|
function getTemplateId(clazz) {
|
|
@@ -29056,10 +29065,10 @@ function allocateTemplateId(sf) {
|
|
|
29056
29065
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
29057
29066
|
}
|
|
29058
29067
|
|
|
29059
|
-
// bazel-out/
|
|
29068
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
29060
29069
|
var import_typescript71 = __toESM(require("typescript"), 1);
|
|
29061
29070
|
|
|
29062
|
-
// bazel-out/
|
|
29071
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
29063
29072
|
var import_typescript70 = __toESM(require("typescript"), 1);
|
|
29064
29073
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
29065
29074
|
function readSpanComment(node, sourceFile = node.getSourceFile()) {
|
|
@@ -29188,7 +29197,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
29188
29197
|
}) || false;
|
|
29189
29198
|
}
|
|
29190
29199
|
|
|
29191
|
-
// bazel-out/
|
|
29200
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
29192
29201
|
var CompletionEngine = class {
|
|
29193
29202
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
29194
29203
|
this.tcb = tcb;
|
|
@@ -29345,10 +29354,10 @@ var CompletionEngine = class {
|
|
|
29345
29354
|
}
|
|
29346
29355
|
};
|
|
29347
29356
|
|
|
29348
|
-
// bazel-out/
|
|
29357
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
29349
29358
|
var import_typescript86 = __toESM(require("typescript"), 1);
|
|
29350
29359
|
|
|
29351
|
-
// bazel-out/
|
|
29360
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
29352
29361
|
var import_typescript72 = __toESM(require("typescript"), 1);
|
|
29353
29362
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
29354
29363
|
var REMOVE_XHTML_REGEX = /^:xhtml:/;
|
|
@@ -29400,10 +29409,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
29400
29409
|
}
|
|
29401
29410
|
};
|
|
29402
29411
|
|
|
29403
|
-
// bazel-out/
|
|
29412
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
29404
29413
|
var import_typescript79 = __toESM(require("typescript"), 1);
|
|
29405
29414
|
|
|
29406
|
-
// bazel-out/
|
|
29415
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
29407
29416
|
var import_typescript73 = __toESM(require("typescript"), 1);
|
|
29408
29417
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
29409
29418
|
import_typescript73.default.SyntaxKind.ParenthesizedExpression,
|
|
@@ -29477,16 +29486,16 @@ function isAccessExpression(node) {
|
|
|
29477
29486
|
return import_typescript73.default.isPropertyAccessExpression(node) || import_typescript73.default.isElementAccessExpression(node);
|
|
29478
29487
|
}
|
|
29479
29488
|
|
|
29480
|
-
// bazel-out/
|
|
29489
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
29481
29490
|
var import_typescript78 = __toESM(require("typescript"), 1);
|
|
29482
29491
|
|
|
29483
|
-
// bazel-out/
|
|
29492
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
29484
29493
|
var import_typescript76 = __toESM(require("typescript"), 1);
|
|
29485
29494
|
|
|
29486
|
-
// bazel-out/
|
|
29495
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
29487
29496
|
var import_typescript75 = __toESM(require("typescript"), 1);
|
|
29488
29497
|
|
|
29489
|
-
// bazel-out/
|
|
29498
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
29490
29499
|
var import_typescript74 = __toESM(require("typescript"), 1);
|
|
29491
29500
|
var INELIGIBLE = {};
|
|
29492
29501
|
function canEmitType(type, canEmit) {
|
|
@@ -29561,7 +29570,7 @@ var TypeEmitter = class {
|
|
|
29561
29570
|
}
|
|
29562
29571
|
};
|
|
29563
29572
|
|
|
29564
|
-
// bazel-out/
|
|
29573
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
29565
29574
|
var TypeParameterEmitter = class {
|
|
29566
29575
|
constructor(typeParameters, reflector) {
|
|
29567
29576
|
this.typeParameters = typeParameters;
|
|
@@ -29638,7 +29647,7 @@ var TypeParameterEmitter = class {
|
|
|
29638
29647
|
}
|
|
29639
29648
|
};
|
|
29640
29649
|
|
|
29641
|
-
// bazel-out/
|
|
29650
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
29642
29651
|
var TcbInliningRequirement;
|
|
29643
29652
|
(function(TcbInliningRequirement2) {
|
|
29644
29653
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -29718,7 +29727,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
29718
29727
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
29719
29728
|
}
|
|
29720
29729
|
|
|
29721
|
-
// bazel-out/
|
|
29730
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
29722
29731
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
29723
29732
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
29724
29733
|
const rawType = import_typescript78.default.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -29830,7 +29839,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
29830
29839
|
});
|
|
29831
29840
|
}
|
|
29832
29841
|
|
|
29833
|
-
// bazel-out/
|
|
29842
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
29834
29843
|
var Environment = class {
|
|
29835
29844
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
29836
29845
|
this.config = config;
|
|
@@ -29922,7 +29931,7 @@ var Environment = class {
|
|
|
29922
29931
|
}
|
|
29923
29932
|
};
|
|
29924
29933
|
|
|
29925
|
-
// bazel-out/
|
|
29934
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
29926
29935
|
var import_typescript80 = __toESM(require("typescript"), 1);
|
|
29927
29936
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
29928
29937
|
constructor(resolver) {
|
|
@@ -30053,7 +30062,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
30053
30062
|
});
|
|
30054
30063
|
}
|
|
30055
30064
|
|
|
30056
|
-
// bazel-out/
|
|
30065
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
30057
30066
|
var import_typescript81 = __toESM(require("typescript"), 1);
|
|
30058
30067
|
var TypeCheckShimGenerator = class {
|
|
30059
30068
|
constructor() {
|
|
@@ -30071,10 +30080,10 @@ var TypeCheckShimGenerator = class {
|
|
|
30071
30080
|
}
|
|
30072
30081
|
};
|
|
30073
30082
|
|
|
30074
|
-
// bazel-out/
|
|
30083
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
30075
30084
|
var import_typescript84 = __toESM(require("typescript"), 1);
|
|
30076
30085
|
|
|
30077
|
-
// bazel-out/
|
|
30086
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
30078
30087
|
var import_typescript82 = __toESM(require("typescript"), 1);
|
|
30079
30088
|
function wrapForDiagnostics(expr) {
|
|
30080
30089
|
return import_typescript82.default.factory.createParenthesizedExpression(expr);
|
|
@@ -30119,7 +30128,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
30119
30128
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
30120
30129
|
}
|
|
30121
30130
|
|
|
30122
|
-
// bazel-out/
|
|
30131
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
30123
30132
|
var import_typescript83 = __toESM(require("typescript"), 1);
|
|
30124
30133
|
var NULL_AS_ANY = import_typescript83.default.factory.createAsExpression(import_typescript83.default.factory.createNull(), import_typescript83.default.factory.createKeywordTypeNode(import_typescript83.default.SyntaxKind.AnyKeyword));
|
|
30125
30134
|
var UNDEFINED = import_typescript83.default.factory.createIdentifier("undefined");
|
|
@@ -30448,7 +30457,7 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
30448
30457
|
};
|
|
30449
30458
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
30450
30459
|
|
|
30451
|
-
// bazel-out/
|
|
30460
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
30452
30461
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor {
|
|
30453
30462
|
constructor(templateId, boundTarget, oob) {
|
|
30454
30463
|
super();
|
|
@@ -30471,7 +30480,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor {
|
|
|
30471
30480
|
}
|
|
30472
30481
|
};
|
|
30473
30482
|
|
|
30474
|
-
// bazel-out/
|
|
30483
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
30475
30484
|
var TcbGenericContextBehavior;
|
|
30476
30485
|
(function(TcbGenericContextBehavior2) {
|
|
30477
30486
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -31574,7 +31583,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
31574
31583
|
}
|
|
31575
31584
|
};
|
|
31576
31585
|
|
|
31577
|
-
// bazel-out/
|
|
31586
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
31578
31587
|
var import_typescript85 = __toESM(require("typescript"), 1);
|
|
31579
31588
|
var TypeCheckFile = class extends Environment {
|
|
31580
31589
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -31610,7 +31619,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
31610
31619
|
}
|
|
31611
31620
|
};
|
|
31612
31621
|
|
|
31613
|
-
// bazel-out/
|
|
31622
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
31614
31623
|
var InliningMode;
|
|
31615
31624
|
(function(InliningMode2) {
|
|
31616
31625
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -31848,7 +31857,7 @@ function splitStringAtPoints(str, points) {
|
|
|
31848
31857
|
return splits;
|
|
31849
31858
|
}
|
|
31850
31859
|
|
|
31851
|
-
// bazel-out/
|
|
31860
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
31852
31861
|
var LF_CHAR = 10;
|
|
31853
31862
|
var CR_CHAR = 13;
|
|
31854
31863
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -31889,7 +31898,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
31889
31898
|
return low - 1;
|
|
31890
31899
|
}
|
|
31891
31900
|
|
|
31892
|
-
// bazel-out/
|
|
31901
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
31893
31902
|
var TemplateSource = class {
|
|
31894
31903
|
constructor(mapping, file) {
|
|
31895
31904
|
this.mapping = mapping;
|
|
@@ -31940,7 +31949,7 @@ var TemplateSourceManager = class {
|
|
|
31940
31949
|
}
|
|
31941
31950
|
};
|
|
31942
31951
|
|
|
31943
|
-
// bazel-out/
|
|
31952
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
31944
31953
|
var import_typescript87 = __toESM(require("typescript"), 1);
|
|
31945
31954
|
var SymbolBuilder = class {
|
|
31946
31955
|
constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
|
|
@@ -32417,7 +32426,7 @@ function sourceSpanEqual(a, b) {
|
|
|
32417
32426
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
32418
32427
|
}
|
|
32419
32428
|
|
|
32420
|
-
// bazel-out/
|
|
32429
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
32421
32430
|
var REGISTRY2 = new DomElementSchemaRegistry();
|
|
32422
32431
|
var TemplateTypeCheckerImpl = class {
|
|
32423
32432
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -33110,7 +33119,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
33110
33119
|
}
|
|
33111
33120
|
};
|
|
33112
33121
|
|
|
33113
|
-
// bazel-out/
|
|
33122
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
33114
33123
|
var TemplateCheckWithVisitor = class {
|
|
33115
33124
|
run(ctx, component, template) {
|
|
33116
33125
|
const visitor = new TemplateVisitor2(ctx, component, this);
|
|
@@ -33186,7 +33195,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor {
|
|
|
33186
33195
|
}
|
|
33187
33196
|
};
|
|
33188
33197
|
|
|
33189
|
-
// bazel-out/
|
|
33198
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
33190
33199
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
33191
33200
|
constructor() {
|
|
33192
33201
|
super(...arguments);
|
|
@@ -33211,7 +33220,7 @@ var factory = {
|
|
|
33211
33220
|
create: () => new InvalidBananaInBoxCheck()
|
|
33212
33221
|
};
|
|
33213
33222
|
|
|
33214
|
-
// bazel-out/
|
|
33223
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
33215
33224
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
33216
33225
|
["ngIf", "NgIf"],
|
|
33217
33226
|
["ngFor", "NgFor"],
|
|
@@ -33255,7 +33264,7 @@ var factory2 = {
|
|
|
33255
33264
|
}
|
|
33256
33265
|
};
|
|
33257
33266
|
|
|
33258
|
-
// bazel-out/
|
|
33267
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
33259
33268
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
33260
33269
|
constructor() {
|
|
33261
33270
|
super(...arguments);
|
|
@@ -33287,7 +33296,7 @@ var factory3 = {
|
|
|
33287
33296
|
create: () => new MissingNgForOfLetCheck()
|
|
33288
33297
|
};
|
|
33289
33298
|
|
|
33290
|
-
// bazel-out/
|
|
33299
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
33291
33300
|
var import_typescript90 = __toESM(require("typescript"), 1);
|
|
33292
33301
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
33293
33302
|
constructor() {
|
|
@@ -33331,7 +33340,7 @@ var factory4 = {
|
|
|
33331
33340
|
}
|
|
33332
33341
|
};
|
|
33333
33342
|
|
|
33334
|
-
// bazel-out/
|
|
33343
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
33335
33344
|
var import_typescript91 = __toESM(require("typescript"), 1);
|
|
33336
33345
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
33337
33346
|
constructor() {
|
|
@@ -33376,7 +33385,7 @@ var factory5 = {
|
|
|
33376
33385
|
}
|
|
33377
33386
|
};
|
|
33378
33387
|
|
|
33379
|
-
// bazel-out/
|
|
33388
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
33380
33389
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
33381
33390
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
33382
33391
|
constructor() {
|
|
@@ -33399,7 +33408,7 @@ var factory6 = {
|
|
|
33399
33408
|
create: () => new SuffixNotSupportedCheck()
|
|
33400
33409
|
};
|
|
33401
33410
|
|
|
33402
|
-
// bazel-out/
|
|
33411
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
33403
33412
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
33404
33413
|
constructor() {
|
|
33405
33414
|
super(...arguments);
|
|
@@ -33437,10 +33446,10 @@ var factory7 = {
|
|
|
33437
33446
|
create: () => new TextAttributeNotBindingSpec()
|
|
33438
33447
|
};
|
|
33439
33448
|
|
|
33440
|
-
// bazel-out/
|
|
33449
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
33441
33450
|
var import_typescript92 = __toESM(require("typescript"), 1);
|
|
33442
33451
|
|
|
33443
|
-
// bazel-out/
|
|
33452
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
33444
33453
|
var DiagnosticCategoryLabel;
|
|
33445
33454
|
(function(DiagnosticCategoryLabel2) {
|
|
33446
33455
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -33448,7 +33457,7 @@ var DiagnosticCategoryLabel;
|
|
|
33448
33457
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
33449
33458
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
33450
33459
|
|
|
33451
|
-
// bazel-out/
|
|
33460
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
33452
33461
|
var ExtendedTemplateCheckerImpl = class {
|
|
33453
33462
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
33454
33463
|
var _a, _b, _c, _d, _e;
|
|
@@ -33500,7 +33509,7 @@ function assertNever(value) {
|
|
|
33500
33509
|
${value}`);
|
|
33501
33510
|
}
|
|
33502
33511
|
|
|
33503
|
-
// bazel-out/
|
|
33512
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
33504
33513
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
33505
33514
|
factory,
|
|
33506
33515
|
factory4,
|
|
@@ -33511,7 +33520,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
33511
33520
|
factory6
|
|
33512
33521
|
];
|
|
33513
33522
|
|
|
33514
|
-
// bazel-out/
|
|
33523
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
33515
33524
|
var CompilationTicketKind;
|
|
33516
33525
|
(function(CompilationTicketKind2) {
|
|
33517
33526
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -34201,7 +34210,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
34201
34210
|
return versions;
|
|
34202
34211
|
}
|
|
34203
34212
|
|
|
34204
|
-
// bazel-out/
|
|
34213
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
34205
34214
|
var import_typescript95 = __toESM(require("typescript"), 1);
|
|
34206
34215
|
var DelegatingCompilerHost2 = class {
|
|
34207
34216
|
constructor(delegate) {
|
|
@@ -34346,7 +34355,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
34346
34355
|
}
|
|
34347
34356
|
};
|
|
34348
34357
|
|
|
34349
|
-
// bazel-out/
|
|
34358
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
34350
34359
|
var NgtscProgram = class {
|
|
34351
34360
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
34352
34361
|
this.options = options;
|
|
@@ -34564,21 +34573,21 @@ function mergeEmitResults(emitResults) {
|
|
|
34564
34573
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
34565
34574
|
}
|
|
34566
34575
|
|
|
34567
|
-
// bazel-out/
|
|
34576
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
34568
34577
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
34569
34578
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
34570
34579
|
}
|
|
34571
34580
|
|
|
34572
|
-
// bazel-out/
|
|
34581
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
34573
34582
|
var import_typescript99 = __toESM(require("typescript"), 1);
|
|
34574
34583
|
|
|
34575
|
-
// bazel-out/
|
|
34584
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
34576
34585
|
var import_typescript98 = __toESM(require("typescript"), 1);
|
|
34577
34586
|
|
|
34578
|
-
// bazel-out/
|
|
34587
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
34579
34588
|
var import_typescript100 = __toESM(require("typescript"), 1);
|
|
34580
34589
|
|
|
34581
|
-
// bazel-out/
|
|
34590
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
34582
34591
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
34583
34592
|
ngDevMode: false,
|
|
34584
34593
|
ngI18nClosureMode: false
|
|
@@ -34587,7 +34596,7 @@ var GLOBAL_DEFS_FOR_TERSER_WITH_AOT = __spreadProps(__spreadValues({}, GLOBAL_DE
|
|
|
34587
34596
|
ngJitMode: false
|
|
34588
34597
|
});
|
|
34589
34598
|
|
|
34590
|
-
// bazel-out/
|
|
34599
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
34591
34600
|
var LogLevel;
|
|
34592
34601
|
(function(LogLevel2) {
|
|
34593
34602
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -34596,7 +34605,7 @@ var LogLevel;
|
|
|
34596
34605
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
34597
34606
|
})(LogLevel || (LogLevel = {}));
|
|
34598
34607
|
|
|
34599
|
-
// bazel-out/
|
|
34608
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
34600
34609
|
var RESET = "\x1B[0m";
|
|
34601
34610
|
var RED = "\x1B[31m";
|
|
34602
34611
|
var YELLOW = "\x1B[33m";
|
|
@@ -34605,15 +34614,15 @@ var DEBUG = `${BLUE}Debug:${RESET}`;
|
|
|
34605
34614
|
var WARN = `${YELLOW}Warning:${RESET}`;
|
|
34606
34615
|
var ERROR = `${RED}Error:${RESET}`;
|
|
34607
34616
|
|
|
34608
|
-
// bazel-out/
|
|
34617
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
34609
34618
|
setFileSystem(new NodeJSFileSystem());
|
|
34610
34619
|
|
|
34611
|
-
// bazel-out/
|
|
34620
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
34612
34621
|
var import_fs2 = require("fs");
|
|
34613
34622
|
var import_path8 = require("path");
|
|
34614
34623
|
var import_typescript112 = __toESM(require("typescript"), 1);
|
|
34615
34624
|
|
|
34616
|
-
// bazel-out/
|
|
34625
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
34617
34626
|
var import_core13 = require("@angular-devkit/core");
|
|
34618
34627
|
function getProjectTsConfigPaths(tree) {
|
|
34619
34628
|
return __async(this, null, function* () {
|
|
@@ -34693,11 +34702,11 @@ function getWorkspace(tree) {
|
|
|
34693
34702
|
});
|
|
34694
34703
|
}
|
|
34695
34704
|
|
|
34696
|
-
// bazel-out/
|
|
34705
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
34697
34706
|
var import_path4 = require("path");
|
|
34698
34707
|
var import_typescript102 = __toESM(require("typescript"), 1);
|
|
34699
34708
|
|
|
34700
|
-
// bazel-out/
|
|
34709
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
34701
34710
|
var path2 = __toESM(require("path"), 1);
|
|
34702
34711
|
var import_typescript101 = __toESM(require("typescript"), 1);
|
|
34703
34712
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -34714,7 +34723,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
34714
34723
|
return import_typescript101.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
34715
34724
|
}
|
|
34716
34725
|
|
|
34717
|
-
// bazel-out/
|
|
34726
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
34718
34727
|
function createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles, optionOverrides) {
|
|
34719
34728
|
tsconfigPath = (0, import_path4.resolve)(basePath, tsconfigPath);
|
|
34720
34729
|
const parsed = parseTsconfigFile(tsconfigPath, (0, import_path4.dirname)(tsconfigPath));
|
|
@@ -34743,13 +34752,13 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
34743
34752
|
return !(0, import_path4.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
34744
34753
|
}
|
|
34745
34754
|
|
|
34746
|
-
// bazel-out/
|
|
34755
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
34747
34756
|
var import_typescript108 = __toESM(require("typescript"), 1);
|
|
34748
34757
|
|
|
34749
|
-
// bazel-out/
|
|
34758
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
34750
34759
|
var import_typescript104 = __toESM(require("typescript"), 1);
|
|
34751
34760
|
|
|
34752
|
-
// bazel-out/
|
|
34761
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
|
|
34753
34762
|
var import_typescript103 = __toESM(require("typescript"), 1);
|
|
34754
34763
|
function getImportOfIdentifier(typeChecker, node) {
|
|
34755
34764
|
const symbol = typeChecker.getSymbolAtLocation(node);
|
|
@@ -34793,7 +34802,7 @@ function findImportSpecifier(nodes, specifierName) {
|
|
|
34793
34802
|
});
|
|
34794
34803
|
}
|
|
34795
34804
|
|
|
34796
|
-
// bazel-out/
|
|
34805
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
34797
34806
|
function getCallDecoratorImport(typeChecker, decorator) {
|
|
34798
34807
|
if (!import_typescript104.default.isCallExpression(decorator.expression) || !import_typescript104.default.isIdentifier(decorator.expression.expression)) {
|
|
34799
34808
|
return null;
|
|
@@ -34802,7 +34811,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
|
|
|
34802
34811
|
return getImportOfIdentifier(typeChecker, identifier);
|
|
34803
34812
|
}
|
|
34804
34813
|
|
|
34805
|
-
// bazel-out/
|
|
34814
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
|
|
34806
34815
|
function getAngularDecorators(typeChecker, decorators) {
|
|
34807
34816
|
return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
|
|
34808
34817
|
node,
|
|
@@ -34812,7 +34821,7 @@ function getAngularDecorators(typeChecker, decorators) {
|
|
|
34812
34821
|
}));
|
|
34813
34822
|
}
|
|
34814
34823
|
|
|
34815
|
-
// bazel-out/
|
|
34824
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
|
|
34816
34825
|
var import_typescript105 = __toESM(require("typescript"), 1);
|
|
34817
34826
|
function closestNode(node, predicate) {
|
|
34818
34827
|
let current = node.parent;
|
|
@@ -34825,11 +34834,11 @@ function closestNode(node, predicate) {
|
|
|
34825
34834
|
return null;
|
|
34826
34835
|
}
|
|
34827
34836
|
|
|
34828
|
-
// bazel-out/
|
|
34837
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
|
|
34829
34838
|
var import_path6 = require("path");
|
|
34830
34839
|
var import_typescript107 = __toESM(require("typescript"), 1);
|
|
34831
34840
|
|
|
34832
|
-
// bazel-out/
|
|
34841
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
|
|
34833
34842
|
var import_path5 = require("path");
|
|
34834
34843
|
var import_typescript106 = __toESM(require("typescript"), 1);
|
|
34835
34844
|
var IS_AFTER_TS_492 = isAfterVersion2(4, 9);
|
|
@@ -35022,7 +35031,7 @@ function isAfterVersion2(targetMajor, targetMinor) {
|
|
|
35022
35031
|
return major === targetMajor ? minor >= targetMinor : true;
|
|
35023
35032
|
}
|
|
35024
35033
|
|
|
35025
|
-
// bazel-out/
|
|
35034
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
|
|
35026
35035
|
var ChangeTracker = class {
|
|
35027
35036
|
constructor(_printer, _importRemapper) {
|
|
35028
35037
|
this._printer = _printer;
|
|
@@ -35083,6 +35092,9 @@ var UniqueItemTracker = class {
|
|
|
35083
35092
|
this._nodes.set(key, /* @__PURE__ */ new Set([item]));
|
|
35084
35093
|
}
|
|
35085
35094
|
}
|
|
35095
|
+
get(key) {
|
|
35096
|
+
return this._nodes.get(key);
|
|
35097
|
+
}
|
|
35086
35098
|
getEntries() {
|
|
35087
35099
|
return this._nodes.entries();
|
|
35088
35100
|
}
|
|
@@ -35238,23 +35250,32 @@ function isClassReferenceInAngularModule(node, className, moduleName, typeChecke
|
|
|
35238
35250
|
}));
|
|
35239
35251
|
}
|
|
35240
35252
|
|
|
35241
|
-
// bazel-out/
|
|
35253
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
35242
35254
|
function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles) {
|
|
35243
35255
|
const filesToRemove = /* @__PURE__ */ new Set();
|
|
35244
35256
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
35245
|
-
const
|
|
35257
|
+
const tsProgram = program.getTsProgram();
|
|
35258
|
+
const typeChecker = tsProgram.getTypeChecker();
|
|
35246
35259
|
const referenceResolver = new ReferenceResolver(program, host, rootFileNames, basePath, referenceLookupExcludedFiles);
|
|
35247
35260
|
const removalLocations = {
|
|
35248
35261
|
arrays: new UniqueItemTracker(),
|
|
35249
35262
|
imports: new UniqueItemTracker(),
|
|
35250
35263
|
exports: new UniqueItemTracker(),
|
|
35251
|
-
classes: /* @__PURE__ */ new Set(),
|
|
35252
35264
|
unknown: /* @__PURE__ */ new Set()
|
|
35253
35265
|
};
|
|
35266
|
+
const classesToRemove = /* @__PURE__ */ new Set();
|
|
35267
|
+
const barrelExports = new UniqueItemTracker();
|
|
35268
|
+
const nodesToRemove = /* @__PURE__ */ new Set();
|
|
35254
35269
|
sourceFiles.forEach(function walk(node) {
|
|
35270
|
+
var _a, _b;
|
|
35255
35271
|
if (import_typescript108.default.isClassDeclaration(node) && canRemoveClass(node, typeChecker)) {
|
|
35256
35272
|
collectRemovalLocations(node, removalLocations, referenceResolver, program);
|
|
35257
|
-
|
|
35273
|
+
classesToRemove.add(node);
|
|
35274
|
+
} else if (import_typescript108.default.isExportDeclaration(node) && !node.exportClause && node.moduleSpecifier && import_typescript108.default.isStringLiteralLike(node.moduleSpecifier) && node.moduleSpecifier.text.startsWith(".")) {
|
|
35275
|
+
const exportedSourceFile = (_b = (_a = typeChecker.getSymbolAtLocation(node.moduleSpecifier)) == null ? void 0 : _a.valueDeclaration) == null ? void 0 : _b.getSourceFile();
|
|
35276
|
+
if (exportedSourceFile) {
|
|
35277
|
+
barrelExports.track(exportedSourceFile, node);
|
|
35278
|
+
}
|
|
35258
35279
|
}
|
|
35259
35280
|
node.forEachChild(walk);
|
|
35260
35281
|
});
|
|
@@ -35262,9 +35283,22 @@ function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, pri
|
|
|
35262
35283
|
removeImportReferences(removalLocations.imports, tracker);
|
|
35263
35284
|
removeExportReferences(removalLocations.exports, tracker);
|
|
35264
35285
|
addRemovalTodos(removalLocations.unknown, tracker);
|
|
35265
|
-
|
|
35286
|
+
(function trackNodesToRemove(nodes) {
|
|
35287
|
+
for (const node of nodes) {
|
|
35288
|
+
const sourceFile = node.getSourceFile();
|
|
35289
|
+
if (!filesToRemove.has(sourceFile) && canRemoveFile(sourceFile, nodes)) {
|
|
35290
|
+
const barrelExportsForFile = barrelExports.get(sourceFile);
|
|
35291
|
+
nodesToRemove.add(node);
|
|
35292
|
+
filesToRemove.add(sourceFile);
|
|
35293
|
+
barrelExportsForFile && trackNodesToRemove(barrelExportsForFile);
|
|
35294
|
+
} else {
|
|
35295
|
+
nodesToRemove.add(node);
|
|
35296
|
+
}
|
|
35297
|
+
}
|
|
35298
|
+
})(classesToRemove);
|
|
35299
|
+
for (const node of nodesToRemove) {
|
|
35266
35300
|
const sourceFile = node.getSourceFile();
|
|
35267
|
-
if (!filesToRemove.has(sourceFile) && canRemoveFile(sourceFile,
|
|
35301
|
+
if (!filesToRemove.has(sourceFile) && canRemoveFile(sourceFile, nodesToRemove)) {
|
|
35268
35302
|
filesToRemove.add(sourceFile);
|
|
35269
35303
|
} else {
|
|
35270
35304
|
tracker.removeNode(node);
|
|
@@ -35377,13 +35411,13 @@ function canRemoveClass(node, typeChecker) {
|
|
|
35377
35411
|
function isNonEmptyNgModuleProperty(node) {
|
|
35378
35412
|
return import_typescript108.default.isPropertyAssignment(node) && import_typescript108.default.isIdentifier(node.name) && import_typescript108.default.isArrayLiteralExpression(node.initializer) && node.initializer.elements.length > 0;
|
|
35379
35413
|
}
|
|
35380
|
-
function canRemoveFile(sourceFile,
|
|
35414
|
+
function canRemoveFile(sourceFile, nodesToBeRemoved) {
|
|
35381
35415
|
var _a;
|
|
35382
35416
|
for (const node of sourceFile.statements) {
|
|
35383
|
-
if (import_typescript108.default.isImportDeclaration(node) ||
|
|
35417
|
+
if (import_typescript108.default.isImportDeclaration(node) || nodesToBeRemoved.has(node)) {
|
|
35384
35418
|
continue;
|
|
35385
35419
|
}
|
|
35386
|
-
if (import_typescript108.default.canHaveModifiers(node) && ((_a = import_typescript108.default.getModifiers(node)) == null ? void 0 : _a.some((m) => m.kind === import_typescript108.default.SyntaxKind.ExportKeyword))) {
|
|
35420
|
+
if (import_typescript108.default.isExportDeclaration(node) || import_typescript108.default.canHaveModifiers(node) && ((_a = import_typescript108.default.getModifiers(node)) == null ? void 0 : _a.some((m) => m.kind === import_typescript108.default.SyntaxKind.ExportKeyword))) {
|
|
35387
35421
|
return false;
|
|
35388
35422
|
}
|
|
35389
35423
|
}
|
|
@@ -35415,14 +35449,14 @@ function findNgModuleDecorator(node, typeChecker) {
|
|
|
35415
35449
|
return decorators.find((decorator) => decorator.name === "NgModule") || null;
|
|
35416
35450
|
}
|
|
35417
35451
|
|
|
35418
|
-
// bazel-out/
|
|
35452
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
35419
35453
|
var import_path7 = require("path");
|
|
35420
35454
|
var import_typescript111 = __toESM(require("typescript"), 1);
|
|
35421
35455
|
|
|
35422
|
-
// bazel-out/
|
|
35456
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
35423
35457
|
var import_typescript110 = __toESM(require("typescript"), 1);
|
|
35424
35458
|
|
|
35425
|
-
// bazel-out/
|
|
35459
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
|
|
35426
35460
|
var import_typescript109 = __toESM(require("typescript"), 1);
|
|
35427
35461
|
function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
35428
35462
|
var _a, _b;
|
|
@@ -35431,13 +35465,13 @@ function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
|
35431
35465
|
return !!(((_a = nodeSymbol == null ? void 0 : nodeSymbol.declarations) == null ? void 0 : _a[0]) && ((_b = importSymbol == null ? void 0 : importSymbol.declarations) == null ? void 0 : _b[0])) && nodeSymbol.declarations[0] === importSymbol.declarations[0];
|
|
35432
35466
|
}
|
|
35433
35467
|
|
|
35434
|
-
// bazel-out/
|
|
35468
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
35435
35469
|
function toStandalone(sourceFiles, program, printer, fileImportRemapper, componentImportRemapper) {
|
|
35436
35470
|
const templateTypeChecker = program.compiler.getTemplateTypeChecker();
|
|
35437
35471
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
35438
|
-
const modulesToMigrate =
|
|
35439
|
-
const testObjectsToMigrate =
|
|
35440
|
-
const declarations =
|
|
35472
|
+
const modulesToMigrate = /* @__PURE__ */ new Set();
|
|
35473
|
+
const testObjectsToMigrate = /* @__PURE__ */ new Set();
|
|
35474
|
+
const declarations = /* @__PURE__ */ new Set();
|
|
35441
35475
|
const tracker = new ChangeTracker(printer, fileImportRemapper);
|
|
35442
35476
|
for (const sourceFile of sourceFiles) {
|
|
35443
35477
|
const modules = findNgModuleClassesToMigrate(sourceFile, typeChecker);
|
|
@@ -35446,11 +35480,11 @@ function toStandalone(sourceFiles, program, printer, fileImportRemapper, compone
|
|
|
35446
35480
|
const allModuleDeclarations = extractDeclarationsFromModule(module3, templateTypeChecker);
|
|
35447
35481
|
const unbootstrappedDeclarations = filterNonBootstrappedDeclarations(allModuleDeclarations, module3, templateTypeChecker, typeChecker);
|
|
35448
35482
|
if (unbootstrappedDeclarations.length > 0) {
|
|
35449
|
-
modulesToMigrate.
|
|
35450
|
-
declarations.
|
|
35483
|
+
modulesToMigrate.add(module3);
|
|
35484
|
+
unbootstrappedDeclarations.forEach((decl) => declarations.add(decl));
|
|
35451
35485
|
}
|
|
35452
35486
|
}
|
|
35453
|
-
testObjectsToMigrate.
|
|
35487
|
+
testObjects.forEach((obj) => testObjectsToMigrate.add(obj));
|
|
35454
35488
|
}
|
|
35455
35489
|
for (const declaration of declarations) {
|
|
35456
35490
|
convertNgModuleDeclarationToStandalone(declaration, declarations, tracker, templateTypeChecker, componentImportRemapper);
|
|
@@ -35461,46 +35495,46 @@ function toStandalone(sourceFiles, program, printer, fileImportRemapper, compone
|
|
|
35461
35495
|
migrateTestDeclarations(testObjectsToMigrate, declarations, tracker, templateTypeChecker, typeChecker);
|
|
35462
35496
|
return tracker.recordChanges();
|
|
35463
35497
|
}
|
|
35464
|
-
function convertNgModuleDeclarationToStandalone(
|
|
35465
|
-
const directiveMeta = typeChecker.getDirectiveMetadata(
|
|
35498
|
+
function convertNgModuleDeclarationToStandalone(decl, allDeclarations, tracker, typeChecker, importRemapper) {
|
|
35499
|
+
const directiveMeta = typeChecker.getDirectiveMetadata(decl);
|
|
35466
35500
|
if (directiveMeta && directiveMeta.decorator && !directiveMeta.isStandalone) {
|
|
35467
35501
|
let decorator = addStandaloneToDecorator(directiveMeta.decorator);
|
|
35468
35502
|
if (directiveMeta.isComponent) {
|
|
35469
|
-
const importsToAdd = getComponentImportExpressions(
|
|
35503
|
+
const importsToAdd = getComponentImportExpressions(decl, allDeclarations, tracker, typeChecker, importRemapper);
|
|
35470
35504
|
if (importsToAdd.length > 0) {
|
|
35471
35505
|
decorator = addPropertyToAngularDecorator(decorator, import_typescript110.default.factory.createPropertyAssignment("imports", import_typescript110.default.factory.createArrayLiteralExpression(importsToAdd)));
|
|
35472
35506
|
}
|
|
35473
35507
|
}
|
|
35474
35508
|
tracker.replaceNode(directiveMeta.decorator, decorator);
|
|
35475
35509
|
} else {
|
|
35476
|
-
const pipeMeta = typeChecker.getPipeMetadata(
|
|
35510
|
+
const pipeMeta = typeChecker.getPipeMetadata(decl);
|
|
35477
35511
|
if (pipeMeta && pipeMeta.decorator && !pipeMeta.isStandalone) {
|
|
35478
35512
|
tracker.replaceNode(pipeMeta.decorator, addStandaloneToDecorator(pipeMeta.decorator));
|
|
35479
35513
|
}
|
|
35480
35514
|
}
|
|
35481
35515
|
}
|
|
35482
|
-
function getComponentImportExpressions(
|
|
35483
|
-
const templateDependencies = findTemplateDependencies(
|
|
35484
|
-
const usedDependenciesInMigration = new Set(templateDependencies.filter((dep) => allDeclarations.
|
|
35516
|
+
function getComponentImportExpressions(decl, allDeclarations, tracker, typeChecker, importRemapper) {
|
|
35517
|
+
const templateDependencies = findTemplateDependencies(decl, typeChecker);
|
|
35518
|
+
const usedDependenciesInMigration = new Set(templateDependencies.filter((dep) => allDeclarations.has(dep.node)));
|
|
35485
35519
|
const imports = [];
|
|
35486
35520
|
const seenImports = /* @__PURE__ */ new Set();
|
|
35487
35521
|
const resolvedDependencies = [];
|
|
35488
35522
|
for (const dep of templateDependencies) {
|
|
35489
|
-
const importLocation = findImportLocation(dep,
|
|
35523
|
+
const importLocation = findImportLocation(dep, decl, usedDependenciesInMigration.has(dep) ? PotentialImportMode.ForceDirect : PotentialImportMode.Normal, typeChecker);
|
|
35490
35524
|
if (importLocation && !seenImports.has(importLocation.symbolName)) {
|
|
35491
35525
|
seenImports.add(importLocation.symbolName);
|
|
35492
35526
|
resolvedDependencies.push(importLocation);
|
|
35493
35527
|
}
|
|
35494
35528
|
}
|
|
35495
|
-
const processedDependencies = importRemapper ? importRemapper(resolvedDependencies,
|
|
35529
|
+
const processedDependencies = importRemapper ? importRemapper(resolvedDependencies, decl) : resolvedDependencies;
|
|
35496
35530
|
for (const importLocation of processedDependencies) {
|
|
35497
35531
|
if (importLocation.moduleSpecifier) {
|
|
35498
|
-
const identifier = tracker.addImport(
|
|
35532
|
+
const identifier = tracker.addImport(decl.getSourceFile(), importLocation.symbolName, importLocation.moduleSpecifier);
|
|
35499
35533
|
imports.push(identifier);
|
|
35500
35534
|
} else {
|
|
35501
35535
|
const identifier = import_typescript110.default.factory.createIdentifier(importLocation.symbolName);
|
|
35502
35536
|
if (importLocation.isForwardReference) {
|
|
35503
|
-
const forwardRefExpression = tracker.addImport(
|
|
35537
|
+
const forwardRefExpression = tracker.addImport(decl.getSourceFile(), "forwardRef", "@angular/core");
|
|
35504
35538
|
const arrowFunction = import_typescript110.default.factory.createArrowFunction(void 0, void 0, [], void 0, void 0, identifier);
|
|
35505
35539
|
imports.push(import_typescript110.default.factory.createCallExpression(forwardRefExpression, void 0, [arrowFunction]));
|
|
35506
35540
|
} else {
|
|
@@ -35515,7 +35549,7 @@ function migrateNgModuleClass(node, allDeclarations, tracker, typeChecker, templ
|
|
|
35515
35549
|
const decorator = (_a = templateTypeChecker.getNgModuleMetadata(node)) == null ? void 0 : _a.decorator;
|
|
35516
35550
|
const metadata = decorator ? extractMetadataLiteral(decorator) : null;
|
|
35517
35551
|
if (metadata) {
|
|
35518
|
-
moveDeclarationsToImports(metadata, allDeclarations
|
|
35552
|
+
moveDeclarationsToImports(metadata, allDeclarations, typeChecker, templateTypeChecker, tracker);
|
|
35519
35553
|
}
|
|
35520
35554
|
}
|
|
35521
35555
|
function moveDeclarationsToImports(literal3, allDeclarations, typeChecker, templateTypeChecker, tracker) {
|
|
@@ -35594,7 +35628,7 @@ function isNamedPropertyAssignment(node) {
|
|
|
35594
35628
|
return import_typescript110.default.isPropertyAssignment(node) && node.name && import_typescript110.default.isIdentifier(node.name);
|
|
35595
35629
|
}
|
|
35596
35630
|
function findImportLocation(target, inComponent, importMode, typeChecker) {
|
|
35597
|
-
const importLocations = typeChecker.getPotentialImportsFor(target, inComponent
|
|
35631
|
+
const importLocations = typeChecker.getPotentialImportsFor(target, inComponent, importMode);
|
|
35598
35632
|
let firstSameFileImport = null;
|
|
35599
35633
|
let firstModuleImport = null;
|
|
35600
35634
|
for (const location of importLocations) {
|
|
@@ -35648,10 +35682,10 @@ function findTestObjectsToMigrate(sourceFile, typeChecker) {
|
|
|
35648
35682
|
}
|
|
35649
35683
|
return testObjects;
|
|
35650
35684
|
}
|
|
35651
|
-
function findTemplateDependencies(
|
|
35685
|
+
function findTemplateDependencies(decl, typeChecker) {
|
|
35652
35686
|
const results = [];
|
|
35653
|
-
const usedDirectives = typeChecker.getUsedDirectives(
|
|
35654
|
-
const usedPipes = typeChecker.getUsedPipes(
|
|
35687
|
+
const usedDirectives = typeChecker.getUsedDirectives(decl);
|
|
35688
|
+
const usedPipes = typeChecker.getUsedPipes(decl);
|
|
35655
35689
|
if (usedDirectives !== null) {
|
|
35656
35690
|
for (const dir of usedDirectives) {
|
|
35657
35691
|
if (import_typescript110.default.isClassDeclaration(dir.ref.node)) {
|
|
@@ -35660,7 +35694,7 @@ function findTemplateDependencies(ref, typeChecker) {
|
|
|
35660
35694
|
}
|
|
35661
35695
|
}
|
|
35662
35696
|
if (usedPipes !== null) {
|
|
35663
|
-
const potentialPipes = typeChecker.getPotentialPipes(
|
|
35697
|
+
const potentialPipes = typeChecker.getPotentialPipes(decl);
|
|
35664
35698
|
for (const pipe of potentialPipes) {
|
|
35665
35699
|
if (import_typescript110.default.isClassDeclaration(pipe.ref.node) && usedPipes.some((current) => pipe.name === current)) {
|
|
35666
35700
|
results.push(pipe.ref);
|
|
@@ -35688,27 +35722,27 @@ function filterNonBootstrappedDeclarations(declarations, ngModule, templateTypeC
|
|
|
35688
35722
|
return [];
|
|
35689
35723
|
}
|
|
35690
35724
|
}
|
|
35691
|
-
return declarations.filter((ref) => !bootstrappedClasses.has(ref
|
|
35725
|
+
return declarations.filter((ref) => !bootstrappedClasses.has(ref));
|
|
35692
35726
|
}
|
|
35693
35727
|
function extractDeclarationsFromModule(ngModule, templateTypeChecker) {
|
|
35694
35728
|
const metadata = templateTypeChecker.getNgModuleMetadata(ngModule);
|
|
35695
|
-
return metadata ? metadata.declarations.filter((decl) => import_typescript110.default.isClassDeclaration(decl.node)) : [];
|
|
35729
|
+
return metadata ? metadata.declarations.filter((decl) => import_typescript110.default.isClassDeclaration(decl.node)).map((decl) => decl.node) : [];
|
|
35696
35730
|
}
|
|
35697
35731
|
function migrateTestDeclarations(testObjects, declarationsOutsideOfTestFiles, tracker, templateTypeChecker, typeChecker) {
|
|
35698
35732
|
const { decorators, componentImports } = analyzeTestingModules(testObjects, typeChecker);
|
|
35699
|
-
const allDeclarations = declarationsOutsideOfTestFiles
|
|
35733
|
+
const allDeclarations = new Set(declarationsOutsideOfTestFiles);
|
|
35700
35734
|
for (const decorator of decorators) {
|
|
35701
35735
|
const closestClass = closestNode(decorator.node, import_typescript110.default.isClassDeclaration);
|
|
35702
35736
|
if (decorator.name === "Pipe" || decorator.name === "Directive") {
|
|
35703
35737
|
tracker.replaceNode(decorator.node, addStandaloneToDecorator(decorator.node));
|
|
35704
35738
|
if (closestClass) {
|
|
35705
|
-
allDeclarations.
|
|
35739
|
+
allDeclarations.add(closestClass);
|
|
35706
35740
|
}
|
|
35707
35741
|
} else if (decorator.name === "Component") {
|
|
35708
35742
|
const newDecorator = addStandaloneToDecorator(decorator.node);
|
|
35709
35743
|
const importsToAdd = componentImports.get(decorator.node);
|
|
35710
35744
|
if (closestClass) {
|
|
35711
|
-
allDeclarations.
|
|
35745
|
+
allDeclarations.add(closestClass);
|
|
35712
35746
|
}
|
|
35713
35747
|
if (importsToAdd && importsToAdd.size > 0) {
|
|
35714
35748
|
tracker.replaceNode(decorator.node, addPropertyToAngularDecorator(newDecorator, import_typescript110.default.factory.createPropertyAssignment("imports", import_typescript110.default.factory.createArrayLiteralExpression(Array.from(importsToAdd)))));
|
|
@@ -35772,22 +35806,22 @@ function extractMetadataLiteral(decorator) {
|
|
|
35772
35806
|
return import_typescript110.default.isCallExpression(decorator.expression) && decorator.expression.arguments.length === 1 && import_typescript110.default.isObjectLiteralExpression(decorator.expression.arguments[0]) ? decorator.expression.arguments[0] : null;
|
|
35773
35807
|
}
|
|
35774
35808
|
function isStandaloneDeclaration(node, declarationsInMigration, templateTypeChecker) {
|
|
35775
|
-
if (declarationsInMigration.
|
|
35809
|
+
if (declarationsInMigration.has(node)) {
|
|
35776
35810
|
return true;
|
|
35777
35811
|
}
|
|
35778
35812
|
const metadata = templateTypeChecker.getDirectiveMetadata(node) || templateTypeChecker.getPipeMetadata(node);
|
|
35779
35813
|
return metadata != null && metadata.isStandalone;
|
|
35780
35814
|
}
|
|
35781
35815
|
|
|
35782
|
-
// bazel-out/
|
|
35816
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
35783
35817
|
function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles, componentImportRemapper) {
|
|
35784
35818
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
35785
35819
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
35786
35820
|
const templateTypeChecker = program.compiler.getTemplateTypeChecker();
|
|
35787
35821
|
const referenceResolver = new ReferenceResolver(program, host, rootFileNames, basePath, referenceLookupExcludedFiles);
|
|
35788
35822
|
const bootstrapCalls = [];
|
|
35789
|
-
const testObjects =
|
|
35790
|
-
const allDeclarations =
|
|
35823
|
+
const testObjects = /* @__PURE__ */ new Set();
|
|
35824
|
+
const allDeclarations = /* @__PURE__ */ new Set();
|
|
35791
35825
|
for (const sourceFile of sourceFiles) {
|
|
35792
35826
|
sourceFile.forEachChild(function walk(node) {
|
|
35793
35827
|
if (import_typescript111.default.isCallExpression(node) && import_typescript111.default.isPropertyAccessExpression(node.expression) && node.expression.name.text === "bootstrapModule" && isClassReferenceInAngularModule(node.expression, "PlatformRef", "core", typeChecker)) {
|
|
@@ -35798,10 +35832,10 @@ function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFil
|
|
|
35798
35832
|
}
|
|
35799
35833
|
node.forEachChild(walk);
|
|
35800
35834
|
});
|
|
35801
|
-
|
|
35835
|
+
findTestObjectsToMigrate(sourceFile, typeChecker).forEach((obj) => testObjects.add(obj));
|
|
35802
35836
|
}
|
|
35803
35837
|
for (const call of bootstrapCalls) {
|
|
35804
|
-
|
|
35838
|
+
call.declarations.forEach((decl) => allDeclarations.add(decl));
|
|
35805
35839
|
migrateBootstrapCall(call, tracker, referenceResolver, typeChecker, printer);
|
|
35806
35840
|
}
|
|
35807
35841
|
for (const declaration of allDeclarations) {
|
|
@@ -36133,7 +36167,7 @@ function getLastImportEnd(sourceFile) {
|
|
|
36133
36167
|
return index;
|
|
36134
36168
|
}
|
|
36135
36169
|
|
|
36136
|
-
// bazel-out/
|
|
36170
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
36137
36171
|
var MigrationMode;
|
|
36138
36172
|
(function(MigrationMode2) {
|
|
36139
36173
|
MigrationMode2["toStandalone"] = "convert-to-standalone";
|