@angular/core 15.2.6 → 15.2.8
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/debug/debug_node.mjs +4 -9
- package/esm2020/src/di/interface/defs.mjs +3 -18
- package/esm2020/src/render3/component_ref.mjs +5 -4
- package/esm2020/src/render3/instructions/element_validation.mjs +4 -5
- package/esm2020/src/render3/instructions/styling.mjs +22 -2
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/logger.mjs +3 -3
- package/esm2020/testing/src/styling.mjs +1 -2
- package/esm2020/testing/src/testing_internal.mjs +1 -2
- package/fesm2015/core.mjs +33 -33
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +30 -25
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +33 -33
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +30 -25
- package/fesm2020/testing.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
- 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 +358 -340
- package/schematics/ng-generate/standalone-migration/bundle.js.map +2 -2
- package/testing/index.d.ts +1 -1
- package/esm2020/testing/src/ng_zone_mock.mjs +0 -33
|
@@ -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;
|
|
@@ -6770,7 +6770,7 @@ function hyphenate(value) {
|
|
|
6770
6770
|
}).toLowerCase();
|
|
6771
6771
|
}
|
|
6772
6772
|
|
|
6773
|
-
// bazel-out/
|
|
6773
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
|
|
6774
6774
|
var IMPORTANT_FLAG = "!important";
|
|
6775
6775
|
var MIN_STYLING_BINDING_SLOTS_REQUIRED = 2;
|
|
6776
6776
|
var StylingBuilder = class {
|
|
@@ -7103,7 +7103,7 @@ function isEmptyExpression(ast) {
|
|
|
7103
7103
|
return ast instanceof EmptyExpr;
|
|
7104
7104
|
}
|
|
7105
7105
|
|
|
7106
|
-
// bazel-out/
|
|
7106
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
7107
7107
|
var TokenType;
|
|
7108
7108
|
(function(TokenType2) {
|
|
7109
7109
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -7464,7 +7464,7 @@ function parseIntAutoRadix(text) {
|
|
|
7464
7464
|
return result;
|
|
7465
7465
|
}
|
|
7466
7466
|
|
|
7467
|
-
// bazel-out/
|
|
7467
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
7468
7468
|
var SplitInterpolation = class {
|
|
7469
7469
|
constructor(strings, expressions, offsets) {
|
|
7470
7470
|
this.strings = strings;
|
|
@@ -8358,7 +8358,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
8358
8358
|
return offsetMap;
|
|
8359
8359
|
}
|
|
8360
8360
|
|
|
8361
|
-
// bazel-out/
|
|
8361
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
8362
8362
|
var NodeWithI18n = class {
|
|
8363
8363
|
constructor(sourceSpan, i18n) {
|
|
8364
8364
|
this.sourceSpan = sourceSpan;
|
|
@@ -8446,7 +8446,7 @@ function visitAll2(visitor, nodes, context = null) {
|
|
|
8446
8446
|
return result;
|
|
8447
8447
|
}
|
|
8448
8448
|
|
|
8449
|
-
// bazel-out/
|
|
8449
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
8450
8450
|
var TagContentType;
|
|
8451
8451
|
(function(TagContentType2) {
|
|
8452
8452
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -8479,11 +8479,11 @@ function mergeNsAndName(prefix, localName) {
|
|
|
8479
8479
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
8480
8480
|
}
|
|
8481
8481
|
|
|
8482
|
-
// bazel-out/
|
|
8482
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
8483
8483
|
var ElementSchemaRegistry = class {
|
|
8484
8484
|
};
|
|
8485
8485
|
|
|
8486
|
-
// bazel-out/
|
|
8486
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
8487
8487
|
var BOOLEAN = "boolean";
|
|
8488
8488
|
var NUMBER = "number";
|
|
8489
8489
|
var STRING = "string";
|
|
@@ -8836,7 +8836,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
8836
8836
|
}
|
|
8837
8837
|
}
|
|
8838
8838
|
|
|
8839
|
-
// bazel-out/
|
|
8839
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
8840
8840
|
var HtmlTagDefinition = class {
|
|
8841
8841
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
8842
8842
|
this.closedByChildren = {};
|
|
@@ -8954,7 +8954,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
8954
8954
|
return (_b = (_a = TAG_DEFINITIONS[tagName]) != null ? _a : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b : DEFAULT_TAG_DEFINITION;
|
|
8955
8955
|
}
|
|
8956
8956
|
|
|
8957
|
-
// bazel-out/
|
|
8957
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
8958
8958
|
var NAMED_ENTITIES = {
|
|
8959
8959
|
"AElig": "\xC6",
|
|
8960
8960
|
"AMP": "&",
|
|
@@ -11085,7 +11085,7 @@ var NAMED_ENTITIES = {
|
|
|
11085
11085
|
var NGSP_UNICODE = "\uE500";
|
|
11086
11086
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
11087
11087
|
|
|
11088
|
-
// bazel-out/
|
|
11088
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
11089
11089
|
var TokenError = class extends ParseError {
|
|
11090
11090
|
constructor(errorMsg, tokenType, span) {
|
|
11091
11091
|
super(span, errorMsg);
|
|
@@ -11920,7 +11920,7 @@ var CursorError = class {
|
|
|
11920
11920
|
}
|
|
11921
11921
|
};
|
|
11922
11922
|
|
|
11923
|
-
// bazel-out/
|
|
11923
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
11924
11924
|
var TreeError = class extends ParseError {
|
|
11925
11925
|
static create(elementName, span, msg) {
|
|
11926
11926
|
return new TreeError(elementName, span, msg);
|
|
@@ -12247,7 +12247,7 @@ function decodeEntity(match, entity) {
|
|
|
12247
12247
|
return match;
|
|
12248
12248
|
}
|
|
12249
12249
|
|
|
12250
|
-
// bazel-out/
|
|
12250
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
12251
12251
|
var HtmlParser = class extends Parser2 {
|
|
12252
12252
|
constructor() {
|
|
12253
12253
|
super(getHtmlTagDefinition);
|
|
@@ -12257,7 +12257,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
12257
12257
|
}
|
|
12258
12258
|
};
|
|
12259
12259
|
|
|
12260
|
-
// bazel-out/
|
|
12260
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
12261
12261
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
12262
12262
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
12263
12263
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -12317,7 +12317,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
12317
12317
|
return result;
|
|
12318
12318
|
}
|
|
12319
12319
|
|
|
12320
|
-
// bazel-out/
|
|
12320
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
12321
12321
|
function mapLiteral(obj, quoted = false) {
|
|
12322
12322
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
12323
12323
|
key,
|
|
@@ -12326,7 +12326,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
12326
12326
|
})));
|
|
12327
12327
|
}
|
|
12328
12328
|
|
|
12329
|
-
// bazel-out/
|
|
12329
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
12330
12330
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
12331
12331
|
"iframe|srcdoc",
|
|
12332
12332
|
"*|innerhtml",
|
|
@@ -12341,7 +12341,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
12341
12341
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
12342
12342
|
}
|
|
12343
12343
|
|
|
12344
|
-
// bazel-out/
|
|
12344
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
12345
12345
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
12346
12346
|
var ATTRIBUTE_PREFIX = "attr";
|
|
12347
12347
|
var CLASS_PREFIX = "class";
|
|
@@ -12661,7 +12661,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
12661
12661
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
12662
12662
|
}
|
|
12663
12663
|
|
|
12664
|
-
// bazel-out/
|
|
12664
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
12665
12665
|
function isStyleUrlResolvable(url) {
|
|
12666
12666
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
12667
12667
|
return false;
|
|
@@ -12670,7 +12670,7 @@ function isStyleUrlResolvable(url) {
|
|
|
12670
12670
|
}
|
|
12671
12671
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
12672
12672
|
|
|
12673
|
-
// bazel-out/
|
|
12673
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
12674
12674
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
12675
12675
|
var LINK_ELEMENT = "link";
|
|
12676
12676
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -12740,7 +12740,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
12740
12740
|
return selectAttr;
|
|
12741
12741
|
}
|
|
12742
12742
|
|
|
12743
|
-
// bazel-out/
|
|
12743
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
12744
12744
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
12745
12745
|
var KW_BIND_IDX = 1;
|
|
12746
12746
|
var KW_LET_IDX = 2;
|
|
@@ -13088,7 +13088,7 @@ function textContents(node) {
|
|
|
13088
13088
|
}
|
|
13089
13089
|
}
|
|
13090
13090
|
|
|
13091
|
-
// bazel-out/
|
|
13091
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
|
|
13092
13092
|
var TagType;
|
|
13093
13093
|
(function(TagType2) {
|
|
13094
13094
|
TagType2[TagType2["ELEMENT"] = 0] = "ELEMENT";
|
|
@@ -13223,7 +13223,7 @@ function serializePlaceholderValue(value) {
|
|
|
13223
13223
|
}
|
|
13224
13224
|
}
|
|
13225
13225
|
|
|
13226
|
-
// bazel-out/
|
|
13226
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
13227
13227
|
var IcuSerializerVisitor = class {
|
|
13228
13228
|
visitText(text) {
|
|
13229
13229
|
return text.value;
|
|
@@ -13254,7 +13254,7 @@ function serializeIcuNode(icu) {
|
|
|
13254
13254
|
return icu.visit(serializer);
|
|
13255
13255
|
}
|
|
13256
13256
|
|
|
13257
|
-
// bazel-out/
|
|
13257
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
13258
13258
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
13259
13259
|
"A": "LINK",
|
|
13260
13260
|
"B": "BOLD_TEXT",
|
|
@@ -13348,7 +13348,7 @@ var PlaceholderRegistry = class {
|
|
|
13348
13348
|
}
|
|
13349
13349
|
};
|
|
13350
13350
|
|
|
13351
|
-
// bazel-out/
|
|
13351
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
13352
13352
|
var _expParser = new Parser(new Lexer());
|
|
13353
13353
|
function createI18nMessageFactory(interpolationConfig) {
|
|
13354
13354
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig);
|
|
@@ -13503,14 +13503,14 @@ function extractPlaceholderName(input) {
|
|
|
13503
13503
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
13504
13504
|
}
|
|
13505
13505
|
|
|
13506
|
-
// bazel-out/
|
|
13506
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
13507
13507
|
var I18nError = class extends ParseError {
|
|
13508
13508
|
constructor(span, msg) {
|
|
13509
13509
|
super(span, msg);
|
|
13510
13510
|
}
|
|
13511
13511
|
};
|
|
13512
13512
|
|
|
13513
|
-
// bazel-out/
|
|
13513
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
13514
13514
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
13515
13515
|
if (htmlNode instanceof NodeWithI18n) {
|
|
13516
13516
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -13659,7 +13659,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
13659
13659
|
return jsDocComment(tags);
|
|
13660
13660
|
}
|
|
13661
13661
|
|
|
13662
|
-
// bazel-out/
|
|
13662
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
13663
13663
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
13664
13664
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
13665
13665
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -13707,7 +13707,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
13707
13707
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
13708
13708
|
}
|
|
13709
13709
|
|
|
13710
|
-
// bazel-out/
|
|
13710
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
13711
13711
|
function createLocalizeStatements(variable2, message, params) {
|
|
13712
13712
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
13713
13713
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -13790,7 +13790,7 @@ function createEmptyMessagePart(location) {
|
|
|
13790
13790
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
13791
13791
|
}
|
|
13792
13792
|
|
|
13793
|
-
// bazel-out/
|
|
13793
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
13794
13794
|
var NG_CONTENT_SELECT_ATTR2 = "select";
|
|
13795
13795
|
var NG_PROJECT_AS_ATTR_NAME = "ngProjectAs";
|
|
13796
13796
|
var EVENT_BINDING_SCOPE_GLOBALS = /* @__PURE__ */ new Set(["$event"]);
|
|
@@ -15092,7 +15092,7 @@ function createClosureModeGuard() {
|
|
|
15092
15092
|
return typeofExpr(variable(NG_I18N_CLOSURE_MODE)).notIdentical(literal("undefined", STRING_TYPE)).and(variable(NG_I18N_CLOSURE_MODE));
|
|
15093
15093
|
}
|
|
15094
15094
|
|
|
15095
|
-
// bazel-out/
|
|
15095
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
15096
15096
|
var ATTR_REGEX = /attr\.([^\]]+)/;
|
|
15097
15097
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
15098
15098
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
@@ -15611,11 +15611,11 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
15611
15611
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
15612
15612
|
}
|
|
15613
15613
|
|
|
15614
|
-
// bazel-out/
|
|
15614
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
15615
15615
|
var ResourceLoader = class {
|
|
15616
15616
|
};
|
|
15617
15617
|
|
|
15618
|
-
// bazel-out/
|
|
15618
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
15619
15619
|
var CompilerFacadeImpl = class {
|
|
15620
15620
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
15621
15621
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -16098,10 +16098,10 @@ function publishFacade(global2) {
|
|
|
16098
16098
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
16099
16099
|
}
|
|
16100
16100
|
|
|
16101
|
-
// bazel-out/
|
|
16102
|
-
var VERSION2 = new Version("15.2.
|
|
16101
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
|
|
16102
|
+
var VERSION2 = new Version("15.2.8");
|
|
16103
16103
|
|
|
16104
|
-
// bazel-out/
|
|
16104
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
16105
16105
|
var _I18N_ATTR = "i18n";
|
|
16106
16106
|
var _I18N_ATTR_PREFIX = "i18n-";
|
|
16107
16107
|
var _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;
|
|
@@ -16405,7 +16405,7 @@ function _parseMessageMeta(i18n) {
|
|
|
16405
16405
|
return { meaning, description, id: id.trim() };
|
|
16406
16406
|
}
|
|
16407
16407
|
|
|
16408
|
-
// bazel-out/
|
|
16408
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
16409
16409
|
var XmlTagDefinition = class {
|
|
16410
16410
|
constructor() {
|
|
16411
16411
|
this.closedByParent = false;
|
|
@@ -16429,7 +16429,7 @@ function getXmlTagDefinition(tagName) {
|
|
|
16429
16429
|
return _TAG_DEFINITION;
|
|
16430
16430
|
}
|
|
16431
16431
|
|
|
16432
|
-
// bazel-out/
|
|
16432
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
|
|
16433
16433
|
var XmlParser = class extends Parser2 {
|
|
16434
16434
|
constructor() {
|
|
16435
16435
|
super(getXmlTagDefinition);
|
|
@@ -16439,7 +16439,7 @@ var XmlParser = class extends Parser2 {
|
|
|
16439
16439
|
}
|
|
16440
16440
|
};
|
|
16441
16441
|
|
|
16442
|
-
// bazel-out/
|
|
16442
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
|
|
16443
16443
|
var _VERSION = "1.2";
|
|
16444
16444
|
var _XMLNS = "urn:oasis:names:tc:xliff:document:1.2";
|
|
16445
16445
|
var _DEFAULT_SOURCE_LANG = "en";
|
|
@@ -16679,7 +16679,7 @@ function getCtypeForTag(tag) {
|
|
|
16679
16679
|
}
|
|
16680
16680
|
}
|
|
16681
16681
|
|
|
16682
|
-
// bazel-out/
|
|
16682
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
|
|
16683
16683
|
var _VERSION2 = "2.0";
|
|
16684
16684
|
var _XMLNS2 = "urn:oasis:names:tc:xliff:document:2.0";
|
|
16685
16685
|
var _DEFAULT_SOURCE_LANG2 = "en";
|
|
@@ -16967,7 +16967,7 @@ function getTypeForTag(tag) {
|
|
|
16967
16967
|
}
|
|
16968
16968
|
}
|
|
16969
16969
|
|
|
16970
|
-
// bazel-out/
|
|
16970
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
|
|
16971
16971
|
var MessageBundle = class {
|
|
16972
16972
|
constructor(_htmlParser, _implicitTags, _implicitAttrs, _locale = null) {
|
|
16973
16973
|
this._htmlParser = _htmlParser;
|
|
@@ -17034,7 +17034,7 @@ var MapPlaceholderNames = class extends CloneVisitor {
|
|
|
17034
17034
|
}
|
|
17035
17035
|
};
|
|
17036
17036
|
|
|
17037
|
-
// bazel-out/
|
|
17037
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
17038
17038
|
var FactoryTarget2;
|
|
17039
17039
|
(function(FactoryTarget3) {
|
|
17040
17040
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -17044,7 +17044,7 @@ var FactoryTarget2;
|
|
|
17044
17044
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
17045
17045
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
17046
17046
|
|
|
17047
|
-
// bazel-out/
|
|
17047
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
17048
17048
|
var R3TargetBinder = class {
|
|
17049
17049
|
constructor(directiveMatcher) {
|
|
17050
17050
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -17396,7 +17396,7 @@ function extractTemplateEntities(rootScope) {
|
|
|
17396
17396
|
return templateEntities;
|
|
17397
17397
|
}
|
|
17398
17398
|
|
|
17399
|
-
// bazel-out/
|
|
17399
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
|
|
17400
17400
|
function compileClassMetadata(metadata) {
|
|
17401
17401
|
var _a, _b;
|
|
17402
17402
|
const fnCall = importExpr(Identifiers.setClassMetadata).callFn([
|
|
@@ -17409,12 +17409,12 @@ function compileClassMetadata(metadata) {
|
|
|
17409
17409
|
return iife.callFn([]);
|
|
17410
17410
|
}
|
|
17411
17411
|
|
|
17412
|
-
// bazel-out/
|
|
17412
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
|
|
17413
17413
|
var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
|
|
17414
17414
|
function compileDeclareClassMetadata(metadata) {
|
|
17415
17415
|
const definitionMap = new DefinitionMap();
|
|
17416
17416
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
17417
|
-
definitionMap.set("version", literal("15.2.
|
|
17417
|
+
definitionMap.set("version", literal("15.2.8"));
|
|
17418
17418
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
17419
17419
|
definitionMap.set("type", metadata.type);
|
|
17420
17420
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -17423,7 +17423,7 @@ function compileDeclareClassMetadata(metadata) {
|
|
|
17423
17423
|
return importExpr(Identifiers.declareClassMetadata).callFn([definitionMap.toLiteralMap()]);
|
|
17424
17424
|
}
|
|
17425
17425
|
|
|
17426
|
-
// bazel-out/
|
|
17426
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
|
|
17427
17427
|
function toOptionalLiteralArray(values, mapper) {
|
|
17428
17428
|
if (values === null || values.length === 0) {
|
|
17429
17429
|
return null;
|
|
@@ -17471,7 +17471,7 @@ function compileDependency(dep) {
|
|
|
17471
17471
|
return depMeta.toLiteralMap();
|
|
17472
17472
|
}
|
|
17473
17473
|
|
|
17474
|
-
// bazel-out/
|
|
17474
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
|
|
17475
17475
|
var MINIMUM_PARTIAL_LINKER_VERSION2 = "14.0.0";
|
|
17476
17476
|
function compileDeclareDirectiveFromMetadata(meta) {
|
|
17477
17477
|
const definitionMap = createDirectiveDefinitionMap(meta);
|
|
@@ -17483,7 +17483,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
17483
17483
|
var _a;
|
|
17484
17484
|
const definitionMap = new DefinitionMap();
|
|
17485
17485
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
|
|
17486
|
-
definitionMap.set("version", literal("15.2.
|
|
17486
|
+
definitionMap.set("version", literal("15.2.8"));
|
|
17487
17487
|
definitionMap.set("type", meta.internalType);
|
|
17488
17488
|
if (meta.isStandalone) {
|
|
17489
17489
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -17573,7 +17573,7 @@ function createHostDirectives(hostDirectives) {
|
|
|
17573
17573
|
return literalArr(expressions);
|
|
17574
17574
|
}
|
|
17575
17575
|
|
|
17576
|
-
// bazel-out/
|
|
17576
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
|
|
17577
17577
|
function compileDeclareComponentFromMetadata(meta, template, additionalTemplateInfo) {
|
|
17578
17578
|
const definitionMap = createComponentDefinitionMap(meta, template, additionalTemplateInfo);
|
|
17579
17579
|
const expression = importExpr(Identifiers.declareComponent).callFn([definitionMap.toLiteralMap()]);
|
|
@@ -17660,12 +17660,12 @@ function compileUsedDependenciesMetadata(meta) {
|
|
|
17660
17660
|
});
|
|
17661
17661
|
}
|
|
17662
17662
|
|
|
17663
|
-
// bazel-out/
|
|
17663
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
|
|
17664
17664
|
var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
|
|
17665
17665
|
function compileDeclareFactoryFunction(meta) {
|
|
17666
17666
|
const definitionMap = new DefinitionMap();
|
|
17667
17667
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
|
|
17668
|
-
definitionMap.set("version", literal("15.2.
|
|
17668
|
+
definitionMap.set("version", literal("15.2.8"));
|
|
17669
17669
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
17670
17670
|
definitionMap.set("type", meta.internalType);
|
|
17671
17671
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -17677,7 +17677,7 @@ function compileDeclareFactoryFunction(meta) {
|
|
|
17677
17677
|
};
|
|
17678
17678
|
}
|
|
17679
17679
|
|
|
17680
|
-
// bazel-out/
|
|
17680
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
|
|
17681
17681
|
var MINIMUM_PARTIAL_LINKER_VERSION4 = "12.0.0";
|
|
17682
17682
|
function compileDeclareInjectableFromMetadata(meta) {
|
|
17683
17683
|
const definitionMap = createInjectableDefinitionMap(meta);
|
|
@@ -17688,7 +17688,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
17688
17688
|
function createInjectableDefinitionMap(meta) {
|
|
17689
17689
|
const definitionMap = new DefinitionMap();
|
|
17690
17690
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
|
|
17691
|
-
definitionMap.set("version", literal("15.2.
|
|
17691
|
+
definitionMap.set("version", literal("15.2.8"));
|
|
17692
17692
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
17693
17693
|
definitionMap.set("type", meta.internalType);
|
|
17694
17694
|
if (meta.providedIn !== void 0) {
|
|
@@ -17715,7 +17715,7 @@ function createInjectableDefinitionMap(meta) {
|
|
|
17715
17715
|
return definitionMap;
|
|
17716
17716
|
}
|
|
17717
17717
|
|
|
17718
|
-
// bazel-out/
|
|
17718
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
|
|
17719
17719
|
var MINIMUM_PARTIAL_LINKER_VERSION5 = "12.0.0";
|
|
17720
17720
|
function compileDeclareInjectorFromMetadata(meta) {
|
|
17721
17721
|
const definitionMap = createInjectorDefinitionMap(meta);
|
|
@@ -17726,7 +17726,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
17726
17726
|
function createInjectorDefinitionMap(meta) {
|
|
17727
17727
|
const definitionMap = new DefinitionMap();
|
|
17728
17728
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
|
|
17729
|
-
definitionMap.set("version", literal("15.2.
|
|
17729
|
+
definitionMap.set("version", literal("15.2.8"));
|
|
17730
17730
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
17731
17731
|
definitionMap.set("type", meta.internalType);
|
|
17732
17732
|
definitionMap.set("providers", meta.providers);
|
|
@@ -17736,7 +17736,7 @@ function createInjectorDefinitionMap(meta) {
|
|
|
17736
17736
|
return definitionMap;
|
|
17737
17737
|
}
|
|
17738
17738
|
|
|
17739
|
-
// bazel-out/
|
|
17739
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
|
|
17740
17740
|
var MINIMUM_PARTIAL_LINKER_VERSION6 = "14.0.0";
|
|
17741
17741
|
function compileDeclareNgModuleFromMetadata(meta) {
|
|
17742
17742
|
const definitionMap = createNgModuleDefinitionMap(meta);
|
|
@@ -17747,7 +17747,7 @@ function compileDeclareNgModuleFromMetadata(meta) {
|
|
|
17747
17747
|
function createNgModuleDefinitionMap(meta) {
|
|
17748
17748
|
const definitionMap = new DefinitionMap();
|
|
17749
17749
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
|
|
17750
|
-
definitionMap.set("version", literal("15.2.
|
|
17750
|
+
definitionMap.set("version", literal("15.2.8"));
|
|
17751
17751
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
17752
17752
|
definitionMap.set("type", meta.internalType);
|
|
17753
17753
|
if (meta.bootstrap.length > 0) {
|
|
@@ -17771,7 +17771,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
17771
17771
|
return definitionMap;
|
|
17772
17772
|
}
|
|
17773
17773
|
|
|
17774
|
-
// bazel-out/
|
|
17774
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
|
|
17775
17775
|
var MINIMUM_PARTIAL_LINKER_VERSION7 = "14.0.0";
|
|
17776
17776
|
function compileDeclarePipeFromMetadata(meta) {
|
|
17777
17777
|
const definitionMap = createPipeDefinitionMap(meta);
|
|
@@ -17782,7 +17782,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
17782
17782
|
function createPipeDefinitionMap(meta) {
|
|
17783
17783
|
const definitionMap = new DefinitionMap();
|
|
17784
17784
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION7));
|
|
17785
|
-
definitionMap.set("version", literal("15.2.
|
|
17785
|
+
definitionMap.set("version", literal("15.2.8"));
|
|
17786
17786
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
17787
17787
|
definitionMap.set("type", meta.internalType);
|
|
17788
17788
|
if (meta.isStandalone) {
|
|
@@ -17795,13 +17795,13 @@ function createPipeDefinitionMap(meta) {
|
|
|
17795
17795
|
return definitionMap;
|
|
17796
17796
|
}
|
|
17797
17797
|
|
|
17798
|
-
// bazel-out/
|
|
17798
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
17799
17799
|
publishFacade(_global);
|
|
17800
17800
|
|
|
17801
|
-
// bazel-out/
|
|
17802
|
-
var VERSION3 = new Version("15.2.
|
|
17801
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
17802
|
+
var VERSION3 = new Version("15.2.8");
|
|
17803
17803
|
|
|
17804
|
-
// bazel-out/
|
|
17804
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
17805
17805
|
var EmitFlags;
|
|
17806
17806
|
(function(EmitFlags2) {
|
|
17807
17807
|
EmitFlags2[EmitFlags2["DTS"] = 1] = "DTS";
|
|
@@ -17813,13 +17813,13 @@ var EmitFlags;
|
|
|
17813
17813
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
17814
17814
|
})(EmitFlags || (EmitFlags = {}));
|
|
17815
17815
|
|
|
17816
|
-
// bazel-out/
|
|
17816
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
17817
17817
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
17818
17818
|
|
|
17819
|
-
// bazel-out/
|
|
17819
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
17820
17820
|
var import_typescript97 = __toESM(require("typescript"), 1);
|
|
17821
17821
|
|
|
17822
|
-
// bazel-out/
|
|
17822
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
17823
17823
|
var path = __toESM(require("path"), 1);
|
|
17824
17824
|
function i18nGetExtension(formatName) {
|
|
17825
17825
|
const format = formatName.toLowerCase();
|
|
@@ -17869,10 +17869,10 @@ function getPathNormalizer(basePath) {
|
|
|
17869
17869
|
};
|
|
17870
17870
|
}
|
|
17871
17871
|
|
|
17872
|
-
// bazel-out/
|
|
17872
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
17873
17873
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
17874
17874
|
|
|
17875
|
-
// bazel-out/
|
|
17875
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
17876
17876
|
function toNumbers(value) {
|
|
17877
17877
|
const suffixIndex = value.lastIndexOf("-");
|
|
17878
17878
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -17907,7 +17907,7 @@ function compareVersions(v1, v2) {
|
|
|
17907
17907
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
17908
17908
|
}
|
|
17909
17909
|
|
|
17910
|
-
// bazel-out/
|
|
17910
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
17911
17911
|
var MIN_TS_VERSION = "4.8.2";
|
|
17912
17912
|
var MAX_TS_VERSION = "5.0.0";
|
|
17913
17913
|
var tsVersion = import_typescript3.default.version;
|
|
@@ -17920,13 +17920,13 @@ function verifySupportedTypeScriptVersion() {
|
|
|
17920
17920
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
17921
17921
|
}
|
|
17922
17922
|
|
|
17923
|
-
// bazel-out/
|
|
17923
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
17924
17924
|
var import_typescript93 = __toESM(require("typescript"), 1);
|
|
17925
17925
|
|
|
17926
|
-
// bazel-out/
|
|
17926
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
17927
17927
|
var import_typescript19 = __toESM(require("typescript"), 1);
|
|
17928
17928
|
|
|
17929
|
-
// bazel-out/
|
|
17929
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
17930
17930
|
var ErrorCode;
|
|
17931
17931
|
(function(ErrorCode2) {
|
|
17932
17932
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -17996,7 +17996,7 @@ var ErrorCode;
|
|
|
17996
17996
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
17997
17997
|
})(ErrorCode || (ErrorCode = {}));
|
|
17998
17998
|
|
|
17999
|
-
// bazel-out/
|
|
17999
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
18000
18000
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
18001
18001
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
18002
18002
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -18008,15 +18008,15 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
18008
18008
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
18009
18009
|
]);
|
|
18010
18010
|
|
|
18011
|
-
// bazel-out/
|
|
18011
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
18012
18012
|
var import_typescript4 = __toESM(require("typescript"), 1);
|
|
18013
18013
|
|
|
18014
|
-
// bazel-out/
|
|
18014
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
18015
18015
|
function ngErrorCode(code) {
|
|
18016
18016
|
return parseInt("-99" + code);
|
|
18017
18017
|
}
|
|
18018
18018
|
|
|
18019
|
-
// bazel-out/
|
|
18019
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
18020
18020
|
var FatalDiagnosticError = class {
|
|
18021
18021
|
constructor(code, node, message, relatedInformation) {
|
|
18022
18022
|
this.code = code;
|
|
@@ -18072,10 +18072,10 @@ function addDiagnosticChain(messageText, add) {
|
|
|
18072
18072
|
return messageText;
|
|
18073
18073
|
}
|
|
18074
18074
|
|
|
18075
|
-
// bazel-out/
|
|
18075
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
18076
18076
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
18077
18077
|
|
|
18078
|
-
// bazel-out/
|
|
18078
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
18079
18079
|
var ExtendedTemplateDiagnosticName;
|
|
18080
18080
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
18081
18081
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -18087,7 +18087,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
18087
18087
|
ExtendedTemplateDiagnosticName2["SUFFIX_NOT_SUPPORTED"] = "suffixNotSupported";
|
|
18088
18088
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
18089
18089
|
|
|
18090
|
-
// bazel-out/
|
|
18090
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
18091
18091
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
18092
18092
|
var Decorator = {
|
|
18093
18093
|
nodeForError: (decorator) => {
|
|
@@ -18122,7 +18122,7 @@ function isConcreteDeclaration(decl) {
|
|
|
18122
18122
|
return decl.kind === 0;
|
|
18123
18123
|
}
|
|
18124
18124
|
|
|
18125
|
-
// bazel-out/
|
|
18125
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
18126
18126
|
var import_typescript6 = __toESM(require("typescript"), 1);
|
|
18127
18127
|
function typeToValue(typeNode, checker) {
|
|
18128
18128
|
if (typeNode === null) {
|
|
@@ -18288,10 +18288,10 @@ function extractModuleName(node) {
|
|
|
18288
18288
|
return node.moduleSpecifier.text;
|
|
18289
18289
|
}
|
|
18290
18290
|
|
|
18291
|
-
// bazel-out/
|
|
18291
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
18292
18292
|
var import_typescript8 = __toESM(require("typescript"), 1);
|
|
18293
18293
|
|
|
18294
|
-
// bazel-out/
|
|
18294
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
18295
18295
|
var import_typescript7 = __toESM(require("typescript"), 1);
|
|
18296
18296
|
function isNamedClassDeclaration(node) {
|
|
18297
18297
|
return import_typescript7.default.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -18300,7 +18300,7 @@ function isIdentifier(node) {
|
|
|
18300
18300
|
return node !== void 0 && import_typescript7.default.isIdentifier(node);
|
|
18301
18301
|
}
|
|
18302
18302
|
|
|
18303
|
-
// bazel-out/
|
|
18303
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
18304
18304
|
var TypeScriptReflectionHost = class {
|
|
18305
18305
|
constructor(checker) {
|
|
18306
18306
|
this.checker = checker;
|
|
@@ -18736,13 +18736,13 @@ function getExportedName(decl, originalId) {
|
|
|
18736
18736
|
}
|
|
18737
18737
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
18738
18738
|
|
|
18739
|
-
// bazel-out/
|
|
18739
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
18740
18740
|
var import_typescript18 = __toESM(require("typescript"), 1);
|
|
18741
18741
|
|
|
18742
|
-
// bazel-out/
|
|
18742
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
18743
18743
|
var import_typescript12 = __toESM(require("typescript"), 1);
|
|
18744
18744
|
|
|
18745
|
-
// bazel-out/
|
|
18745
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
18746
18746
|
var import_typescript10 = __toESM(require("typescript"), 1);
|
|
18747
18747
|
var TS = /\.tsx?$/i;
|
|
18748
18748
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -18843,7 +18843,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
18843
18843
|
return redirectInfo.unredirected;
|
|
18844
18844
|
}
|
|
18845
18845
|
|
|
18846
|
-
// bazel-out/
|
|
18846
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
18847
18847
|
function findExportedNameOfNode(target, file, reflector) {
|
|
18848
18848
|
const exports = reflector.getExportsOfModule(file);
|
|
18849
18849
|
if (exports === null) {
|
|
@@ -18863,7 +18863,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
18863
18863
|
return foundExportName;
|
|
18864
18864
|
}
|
|
18865
18865
|
|
|
18866
|
-
// bazel-out/
|
|
18866
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
18867
18867
|
var ImportFlags;
|
|
18868
18868
|
(function(ImportFlags2) {
|
|
18869
18869
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -19079,7 +19079,7 @@ var UnifiedModulesStrategy = class {
|
|
|
19079
19079
|
}
|
|
19080
19080
|
};
|
|
19081
19081
|
|
|
19082
|
-
// bazel-out/
|
|
19082
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
19083
19083
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
19084
19084
|
var UnifiedModulesAliasingHost = class {
|
|
19085
19085
|
constructor(unifiedModulesHost) {
|
|
@@ -19146,7 +19146,7 @@ var AliasStrategy = class {
|
|
|
19146
19146
|
}
|
|
19147
19147
|
};
|
|
19148
19148
|
|
|
19149
|
-
// bazel-out/
|
|
19149
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
19150
19150
|
function relativePathBetween(from, to) {
|
|
19151
19151
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
19152
19152
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -19155,7 +19155,7 @@ function normalizeSeparators2(path3) {
|
|
|
19155
19155
|
return path3.replace(/\\/g, "/");
|
|
19156
19156
|
}
|
|
19157
19157
|
|
|
19158
|
-
// bazel-out/
|
|
19158
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
19159
19159
|
var NoopImportRewriter = class {
|
|
19160
19160
|
shouldImportSymbol(symbol, specifier) {
|
|
19161
19161
|
return true;
|
|
@@ -19213,7 +19213,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
19213
19213
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
19214
19214
|
}
|
|
19215
19215
|
|
|
19216
|
-
// bazel-out/
|
|
19216
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
19217
19217
|
var import_typescript14 = __toESM(require("typescript"), 1);
|
|
19218
19218
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
19219
19219
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -19248,7 +19248,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
19248
19248
|
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.");
|
|
19249
19249
|
}
|
|
19250
19250
|
|
|
19251
|
-
// bazel-out/
|
|
19251
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
19252
19252
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
19253
19253
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
19254
19254
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -19289,7 +19289,7 @@ var DefaultImportTracker = class {
|
|
|
19289
19289
|
}
|
|
19290
19290
|
};
|
|
19291
19291
|
|
|
19292
|
-
// bazel-out/
|
|
19292
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
19293
19293
|
var Reference2 = class {
|
|
19294
19294
|
constructor(node, bestGuessOwningModule = null) {
|
|
19295
19295
|
this.node = node;
|
|
@@ -19352,7 +19352,7 @@ var Reference2 = class {
|
|
|
19352
19352
|
}
|
|
19353
19353
|
};
|
|
19354
19354
|
|
|
19355
|
-
// bazel-out/
|
|
19355
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
19356
19356
|
var ModuleResolver = class {
|
|
19357
19357
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
19358
19358
|
this.program = program;
|
|
@@ -19369,7 +19369,7 @@ var ModuleResolver = class {
|
|
|
19369
19369
|
}
|
|
19370
19370
|
};
|
|
19371
19371
|
|
|
19372
|
-
// bazel-out/
|
|
19372
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
19373
19373
|
function valueReferenceToExpression(valueRef) {
|
|
19374
19374
|
if (valueRef.kind === 2) {
|
|
19375
19375
|
return null;
|
|
@@ -19606,7 +19606,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
19606
19606
|
return clazz.modifiers !== void 0 && clazz.modifiers.some((mod) => mod.kind === import_typescript18.default.SyntaxKind.AbstractKeyword);
|
|
19607
19607
|
}
|
|
19608
19608
|
|
|
19609
|
-
// bazel-out/
|
|
19609
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
19610
19610
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
19611
19611
|
const deps = [];
|
|
19612
19612
|
const errors = [];
|
|
@@ -19748,10 +19748,10 @@ function createUnsuitableInjectionTokenError(clazz, error2) {
|
|
|
19748
19748
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
19749
19749
|
}
|
|
19750
19750
|
|
|
19751
|
-
// bazel-out/
|
|
19751
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
19752
19752
|
var import_typescript27 = __toESM(require("typescript"), 1);
|
|
19753
19753
|
|
|
19754
|
-
// bazel-out/
|
|
19754
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
19755
19755
|
var MetaKind;
|
|
19756
19756
|
(function(MetaKind2) {
|
|
19757
19757
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -19764,10 +19764,10 @@ var MatchSource;
|
|
|
19764
19764
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
19765
19765
|
})(MatchSource || (MatchSource = {}));
|
|
19766
19766
|
|
|
19767
|
-
// bazel-out/
|
|
19767
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
19768
19768
|
var import_typescript22 = __toESM(require("typescript"), 1);
|
|
19769
19769
|
|
|
19770
|
-
// bazel-out/
|
|
19770
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
19771
19771
|
var ClassPropertyMapping = class {
|
|
19772
19772
|
constructor(forwardMap) {
|
|
19773
19773
|
this.forwardMap = forwardMap;
|
|
@@ -19843,7 +19843,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
19843
19843
|
return reverseMap;
|
|
19844
19844
|
}
|
|
19845
19845
|
|
|
19846
|
-
// bazel-out/
|
|
19846
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
19847
19847
|
var import_typescript20 = __toESM(require("typescript"), 1);
|
|
19848
19848
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
19849
19849
|
if (!import_typescript20.default.isTupleTypeNode(def)) {
|
|
@@ -20025,7 +20025,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
20025
20025
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
20026
20026
|
}
|
|
20027
20027
|
|
|
20028
|
-
// bazel-out/
|
|
20028
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
20029
20029
|
var DtsMetadataReader = class {
|
|
20030
20030
|
constructor(checker, reflector) {
|
|
20031
20031
|
this.checker = checker;
|
|
@@ -20164,7 +20164,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
20164
20164
|
return result.length > 0 ? result : null;
|
|
20165
20165
|
}
|
|
20166
20166
|
|
|
20167
|
-
// bazel-out/
|
|
20167
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
20168
20168
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
20169
20169
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
20170
20170
|
if (topMeta === null) {
|
|
@@ -20221,7 +20221,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
20221
20221
|
});
|
|
20222
20222
|
}
|
|
20223
20223
|
|
|
20224
|
-
// bazel-out/
|
|
20224
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
20225
20225
|
var LocalMetadataRegistry = class {
|
|
20226
20226
|
constructor() {
|
|
20227
20227
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -20278,7 +20278,7 @@ var CompoundMetadataRegistry = class {
|
|
|
20278
20278
|
}
|
|
20279
20279
|
};
|
|
20280
20280
|
|
|
20281
|
-
// bazel-out/
|
|
20281
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
20282
20282
|
var ResourceRegistry = class {
|
|
20283
20283
|
constructor() {
|
|
20284
20284
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -20343,7 +20343,7 @@ var ResourceRegistry = class {
|
|
|
20343
20343
|
}
|
|
20344
20344
|
};
|
|
20345
20345
|
|
|
20346
|
-
// bazel-out/
|
|
20346
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
20347
20347
|
var EMPTY_ARRAY = [];
|
|
20348
20348
|
var HostDirectivesResolver = class {
|
|
20349
20349
|
constructor(metaReader) {
|
|
@@ -20393,10 +20393,10 @@ var HostDirectivesResolver = class {
|
|
|
20393
20393
|
}
|
|
20394
20394
|
};
|
|
20395
20395
|
|
|
20396
|
-
// bazel-out/
|
|
20396
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
20397
20397
|
var import_typescript24 = __toESM(require("typescript"), 1);
|
|
20398
20398
|
|
|
20399
|
-
// bazel-out/
|
|
20399
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
20400
20400
|
var DynamicValue = class {
|
|
20401
20401
|
constructor(node, reason, code) {
|
|
20402
20402
|
this.node = node;
|
|
@@ -20486,7 +20486,7 @@ var DynamicValue = class {
|
|
|
20486
20486
|
}
|
|
20487
20487
|
};
|
|
20488
20488
|
|
|
20489
|
-
// bazel-out/
|
|
20489
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
20490
20490
|
var ResolvedModule = class {
|
|
20491
20491
|
constructor(exports, evaluate) {
|
|
20492
20492
|
this.exports = exports;
|
|
@@ -20516,7 +20516,7 @@ var EnumValue = class {
|
|
|
20516
20516
|
var KnownFn = class {
|
|
20517
20517
|
};
|
|
20518
20518
|
|
|
20519
|
-
// bazel-out/
|
|
20519
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
20520
20520
|
function describeResolvedType(value, maxDepth = 1) {
|
|
20521
20521
|
var _a, _b;
|
|
20522
20522
|
if (value === null) {
|
|
@@ -20645,10 +20645,10 @@ function getContainerNode(node) {
|
|
|
20645
20645
|
return node.getSourceFile();
|
|
20646
20646
|
}
|
|
20647
20647
|
|
|
20648
|
-
// bazel-out/
|
|
20648
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
20649
20649
|
var import_typescript25 = __toESM(require("typescript"), 1);
|
|
20650
20650
|
|
|
20651
|
-
// bazel-out/
|
|
20651
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
20652
20652
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
20653
20653
|
constructor(lhs) {
|
|
20654
20654
|
super();
|
|
@@ -20719,7 +20719,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
20719
20719
|
}
|
|
20720
20720
|
};
|
|
20721
20721
|
|
|
20722
|
-
// bazel-out/
|
|
20722
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
20723
20723
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
20724
20724
|
};
|
|
20725
20725
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -20772,7 +20772,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
20772
20772
|
}
|
|
20773
20773
|
};
|
|
20774
20774
|
|
|
20775
|
-
// bazel-out/
|
|
20775
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
20776
20776
|
var jsGlobalObjectValue = /* @__PURE__ */ new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
20777
20777
|
var assignTsHelperFn = new AssignHelperFn();
|
|
20778
20778
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -20796,14 +20796,14 @@ function resolveKnownDeclaration(decl) {
|
|
|
20796
20796
|
}
|
|
20797
20797
|
}
|
|
20798
20798
|
|
|
20799
|
-
// bazel-out/
|
|
20799
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
20800
20800
|
var SyntheticValue = class {
|
|
20801
20801
|
constructor(value) {
|
|
20802
20802
|
this.value = value;
|
|
20803
20803
|
}
|
|
20804
20804
|
};
|
|
20805
20805
|
|
|
20806
|
-
// bazel-out/
|
|
20806
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
20807
20807
|
function literalBinaryOp(op) {
|
|
20808
20808
|
return { op, literal: true };
|
|
20809
20809
|
}
|
|
@@ -21401,7 +21401,7 @@ function owningModule(context, override = null) {
|
|
|
21401
21401
|
}
|
|
21402
21402
|
}
|
|
21403
21403
|
|
|
21404
|
-
// bazel-out/
|
|
21404
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
21405
21405
|
var PartialEvaluator = class {
|
|
21406
21406
|
constructor(host, checker, dependencyTracker) {
|
|
21407
21407
|
this.host = host;
|
|
@@ -21421,7 +21421,7 @@ var PartialEvaluator = class {
|
|
|
21421
21421
|
}
|
|
21422
21422
|
};
|
|
21423
21423
|
|
|
21424
|
-
// bazel-out/
|
|
21424
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
21425
21425
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
21426
21426
|
const context = [];
|
|
21427
21427
|
for (const decl of data) {
|
|
@@ -21596,7 +21596,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
|
|
|
21596
21596
|
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}.`);
|
|
21597
21597
|
}
|
|
21598
21598
|
|
|
21599
|
-
// bazel-out/
|
|
21599
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
21600
21600
|
var import_typescript29 = __toESM(require("typescript"), 1);
|
|
21601
21601
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
21602
21602
|
let resolved = null;
|
|
@@ -21629,7 +21629,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
21629
21629
|
return meta;
|
|
21630
21630
|
}
|
|
21631
21631
|
|
|
21632
|
-
// bazel-out/
|
|
21632
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
21633
21633
|
function compileNgFactoryDefField(metadata) {
|
|
21634
21634
|
const res = compileFactoryFunction(metadata);
|
|
21635
21635
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
@@ -21639,7 +21639,7 @@ function compileDeclareFactory(metadata) {
|
|
|
21639
21639
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
21640
21640
|
}
|
|
21641
21641
|
|
|
21642
|
-
// bazel-out/
|
|
21642
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
21643
21643
|
var InjectableClassRegistry = class {
|
|
21644
21644
|
constructor(host, isCore) {
|
|
21645
21645
|
this.host = host;
|
|
@@ -21665,7 +21665,7 @@ var InjectableClassRegistry = class {
|
|
|
21665
21665
|
}
|
|
21666
21666
|
};
|
|
21667
21667
|
|
|
21668
|
-
// bazel-out/
|
|
21668
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
21669
21669
|
var import_typescript30 = __toESM(require("typescript"), 1);
|
|
21670
21670
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
21671
21671
|
if (!reflection.isClass(clazz)) {
|
|
@@ -21751,13 +21751,13 @@ function removeIdentifierReferences(node, name) {
|
|
|
21751
21751
|
return result.transformed[0];
|
|
21752
21752
|
}
|
|
21753
21753
|
|
|
21754
|
-
// bazel-out/
|
|
21754
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
21755
21755
|
var NoopReferencesRegistry = class {
|
|
21756
21756
|
add(source, ...references) {
|
|
21757
21757
|
}
|
|
21758
21758
|
};
|
|
21759
21759
|
|
|
21760
|
-
// bazel-out/
|
|
21760
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
21761
21761
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
21762
21762
|
const schemas = [];
|
|
21763
21763
|
const result = evaluator.evaluate(rawExpr);
|
|
@@ -21786,10 +21786,10 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
21786
21786
|
return schemas;
|
|
21787
21787
|
}
|
|
21788
21788
|
|
|
21789
|
-
// bazel-out/
|
|
21789
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
21790
21790
|
var import_typescript52 = __toESM(require("typescript"), 1);
|
|
21791
21791
|
|
|
21792
|
-
// bazel-out/
|
|
21792
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
21793
21793
|
var import_typescript31 = __toESM(require("typescript"), 1);
|
|
21794
21794
|
var SemanticSymbol = class {
|
|
21795
21795
|
constructor(decl) {
|
|
@@ -21805,7 +21805,7 @@ function getSymbolIdentifier(decl) {
|
|
|
21805
21805
|
return decl.name.text;
|
|
21806
21806
|
}
|
|
21807
21807
|
|
|
21808
|
-
// bazel-out/
|
|
21808
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
21809
21809
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
21810
21810
|
isPublicApiAffected() {
|
|
21811
21811
|
return false;
|
|
@@ -21947,10 +21947,10 @@ function getImportPath(expr) {
|
|
|
21947
21947
|
}
|
|
21948
21948
|
}
|
|
21949
21949
|
|
|
21950
|
-
// bazel-out/
|
|
21950
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
21951
21951
|
var import_typescript32 = __toESM(require("typescript"), 1);
|
|
21952
21952
|
|
|
21953
|
-
// bazel-out/
|
|
21953
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
21954
21954
|
function isSymbolEqual(a, b) {
|
|
21955
21955
|
if (a.decl === b.decl) {
|
|
21956
21956
|
return true;
|
|
@@ -22000,7 +22000,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
22000
22000
|
return true;
|
|
22001
22001
|
}
|
|
22002
22002
|
|
|
22003
|
-
// bazel-out/
|
|
22003
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
22004
22004
|
function extractSemanticTypeParameters(node) {
|
|
22005
22005
|
if (!import_typescript32.default.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
22006
22006
|
return null;
|
|
@@ -22020,7 +22020,7 @@ function isTypeParameterEqual(a, b) {
|
|
|
22020
22020
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
22021
22021
|
}
|
|
22022
22022
|
|
|
22023
|
-
// bazel-out/
|
|
22023
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
22024
22024
|
var PerfPhase;
|
|
22025
22025
|
(function(PerfPhase2) {
|
|
22026
22026
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -22087,7 +22087,7 @@ var PerfCheckpoint;
|
|
|
22087
22087
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
22088
22088
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
22089
22089
|
|
|
22090
|
-
// bazel-out/
|
|
22090
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
22091
22091
|
var NoopPerfRecorder = class {
|
|
22092
22092
|
eventCount() {
|
|
22093
22093
|
}
|
|
@@ -22104,7 +22104,7 @@ var NoopPerfRecorder = class {
|
|
|
22104
22104
|
};
|
|
22105
22105
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
22106
22106
|
|
|
22107
|
-
// bazel-out/
|
|
22107
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
22108
22108
|
function mark() {
|
|
22109
22109
|
return process.hrtime();
|
|
22110
22110
|
}
|
|
@@ -22113,7 +22113,7 @@ function timeSinceInMicros(mark2) {
|
|
|
22113
22113
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
22114
22114
|
}
|
|
22115
22115
|
|
|
22116
|
-
// bazel-out/
|
|
22116
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
22117
22117
|
var ActivePerfRecorder = class {
|
|
22118
22118
|
static zeroedToNow() {
|
|
22119
22119
|
return new ActivePerfRecorder(mark());
|
|
@@ -22207,14 +22207,14 @@ var DelegatingPerfRecorder = class {
|
|
|
22207
22207
|
}
|
|
22208
22208
|
};
|
|
22209
22209
|
|
|
22210
|
-
// bazel-out/
|
|
22210
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
22211
22211
|
var ComponentScopeKind;
|
|
22212
22212
|
(function(ComponentScopeKind2) {
|
|
22213
22213
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
22214
22214
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
22215
22215
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
22216
22216
|
|
|
22217
|
-
// bazel-out/
|
|
22217
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
22218
22218
|
var CompoundComponentScopeReader = class {
|
|
22219
22219
|
constructor(readers) {
|
|
22220
22220
|
this.readers = readers;
|
|
@@ -22239,7 +22239,7 @@ var CompoundComponentScopeReader = class {
|
|
|
22239
22239
|
}
|
|
22240
22240
|
};
|
|
22241
22241
|
|
|
22242
|
-
// bazel-out/
|
|
22242
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
22243
22243
|
var MetadataDtsModuleScopeResolver = class {
|
|
22244
22244
|
constructor(dtsMetaReader, aliasingHost) {
|
|
22245
22245
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -22314,10 +22314,10 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
22314
22314
|
}
|
|
22315
22315
|
};
|
|
22316
22316
|
|
|
22317
|
-
// bazel-out/
|
|
22317
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
22318
22318
|
var import_typescript33 = __toESM(require("typescript"), 1);
|
|
22319
22319
|
|
|
22320
|
-
// bazel-out/
|
|
22320
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
22321
22321
|
function getDiagnosticNode(ref, rawExpr) {
|
|
22322
22322
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
22323
22323
|
}
|
|
@@ -22340,7 +22340,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
|
|
|
22340
22340
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
|
|
22341
22341
|
}
|
|
22342
22342
|
|
|
22343
|
-
// bazel-out/
|
|
22343
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
22344
22344
|
var LocalModuleScopeRegistry = class {
|
|
22345
22345
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
22346
22346
|
this.localReader = localReader;
|
|
@@ -22679,7 +22679,7 @@ function reexportCollision(module3, refA, refB) {
|
|
|
22679
22679
|
]);
|
|
22680
22680
|
}
|
|
22681
22681
|
|
|
22682
|
-
// bazel-out/
|
|
22682
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
22683
22683
|
var import_typescript35 = __toESM(require("typescript"), 1);
|
|
22684
22684
|
var TypeCheckScopeRegistry = class {
|
|
22685
22685
|
constructor(scopeReader, metaReader, hostDirectivesResolver) {
|
|
@@ -22747,7 +22747,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
22747
22747
|
}
|
|
22748
22748
|
};
|
|
22749
22749
|
|
|
22750
|
-
// bazel-out/
|
|
22750
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
22751
22751
|
var CompilationMode;
|
|
22752
22752
|
(function(CompilationMode2) {
|
|
22753
22753
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -22765,7 +22765,7 @@ var HandlerFlags;
|
|
|
22765
22765
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
22766
22766
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
22767
22767
|
|
|
22768
|
-
// bazel-out/
|
|
22768
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
22769
22769
|
var import_typescript36 = __toESM(require("typescript"), 1);
|
|
22770
22770
|
function aliasTransformFactory(exportStatements) {
|
|
22771
22771
|
return () => {
|
|
@@ -22788,10 +22788,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
22788
22788
|
};
|
|
22789
22789
|
}
|
|
22790
22790
|
|
|
22791
|
-
// bazel-out/
|
|
22791
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
22792
22792
|
var import_typescript37 = __toESM(require("typescript"), 1);
|
|
22793
22793
|
|
|
22794
|
-
// bazel-out/
|
|
22794
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
22795
22795
|
var TraitState;
|
|
22796
22796
|
(function(TraitState2) {
|
|
22797
22797
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -22810,6 +22810,7 @@ var TraitImpl = class {
|
|
|
22810
22810
|
this.resolution = null;
|
|
22811
22811
|
this.analysisDiagnostics = null;
|
|
22812
22812
|
this.resolveDiagnostics = null;
|
|
22813
|
+
this.typeCheckDiagnostics = null;
|
|
22813
22814
|
this.handler = handler;
|
|
22814
22815
|
this.detected = detected;
|
|
22815
22816
|
}
|
|
@@ -22829,6 +22830,7 @@ var TraitImpl = class {
|
|
|
22829
22830
|
this.resolution = resolution;
|
|
22830
22831
|
this.state = TraitState.Resolved;
|
|
22831
22832
|
this.resolveDiagnostics = diagnostics;
|
|
22833
|
+
this.typeCheckDiagnostics = null;
|
|
22832
22834
|
return this;
|
|
22833
22835
|
}
|
|
22834
22836
|
toSkipped() {
|
|
@@ -22846,7 +22848,7 @@ var TraitImpl = class {
|
|
|
22846
22848
|
}
|
|
22847
22849
|
};
|
|
22848
22850
|
|
|
22849
|
-
// bazel-out/
|
|
22851
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
22850
22852
|
var TraitCompiler = class {
|
|
22851
22853
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
22852
22854
|
this.handlers = handlers;
|
|
@@ -23265,6 +23267,7 @@ var TraitCompiler = class {
|
|
|
23265
23267
|
return decorators;
|
|
23266
23268
|
}
|
|
23267
23269
|
get diagnostics() {
|
|
23270
|
+
var _a;
|
|
23268
23271
|
const diagnostics = [];
|
|
23269
23272
|
for (const clazz of this.classes.keys()) {
|
|
23270
23273
|
const record = this.classes.get(clazz);
|
|
@@ -23275,8 +23278,8 @@ var TraitCompiler = class {
|
|
|
23275
23278
|
if ((trait.state === TraitState.Analyzed || trait.state === TraitState.Resolved) && trait.analysisDiagnostics !== null) {
|
|
23276
23279
|
diagnostics.push(...trait.analysisDiagnostics);
|
|
23277
23280
|
}
|
|
23278
|
-
if (trait.state === TraitState.Resolved
|
|
23279
|
-
diagnostics.push(...trait.resolveDiagnostics);
|
|
23281
|
+
if (trait.state === TraitState.Resolved) {
|
|
23282
|
+
diagnostics.push(...(_a = trait.resolveDiagnostics) != null ? _a : []);
|
|
23280
23283
|
}
|
|
23281
23284
|
}
|
|
23282
23285
|
}
|
|
@@ -23290,10 +23293,10 @@ function containsErrors(diagnostics) {
|
|
|
23290
23293
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === import_typescript37.default.DiagnosticCategory.Error);
|
|
23291
23294
|
}
|
|
23292
23295
|
|
|
23293
|
-
// bazel-out/
|
|
23296
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
23294
23297
|
var import_typescript44 = __toESM(require("typescript"), 1);
|
|
23295
23298
|
|
|
23296
|
-
// bazel-out/
|
|
23299
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
23297
23300
|
var Context = class {
|
|
23298
23301
|
constructor(isStatement) {
|
|
23299
23302
|
this.isStatement = isStatement;
|
|
@@ -23306,7 +23309,7 @@ var Context = class {
|
|
|
23306
23309
|
}
|
|
23307
23310
|
};
|
|
23308
23311
|
|
|
23309
|
-
// bazel-out/
|
|
23312
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
23310
23313
|
var import_typescript39 = __toESM(require("typescript"), 1);
|
|
23311
23314
|
var ImportManager = class {
|
|
23312
23315
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -23342,7 +23345,7 @@ var ImportManager = class {
|
|
|
23342
23345
|
}
|
|
23343
23346
|
};
|
|
23344
23347
|
|
|
23345
|
-
// bazel-out/
|
|
23348
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
23346
23349
|
var UNARY_OPERATORS2 = /* @__PURE__ */ new Map([
|
|
23347
23350
|
[UnaryOperator.Minus, "-"],
|
|
23348
23351
|
[UnaryOperator.Plus, "+"]
|
|
@@ -23573,10 +23576,10 @@ function createRange(span) {
|
|
|
23573
23576
|
};
|
|
23574
23577
|
}
|
|
23575
23578
|
|
|
23576
|
-
// bazel-out/
|
|
23579
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
23577
23580
|
var import_typescript41 = __toESM(require("typescript"), 1);
|
|
23578
23581
|
|
|
23579
|
-
// bazel-out/
|
|
23582
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.mjs
|
|
23580
23583
|
var import_typescript40 = __toESM(require("typescript"), 1);
|
|
23581
23584
|
var IS_AFTER_TS_49 = isAfterVersion(4, 9);
|
|
23582
23585
|
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);
|
|
@@ -23606,7 +23609,7 @@ function isAfterVersion(targetMajor, targetMinor) {
|
|
|
23606
23609
|
return major === targetMajor ? minor >= targetMinor : true;
|
|
23607
23610
|
}
|
|
23608
23611
|
|
|
23609
|
-
// bazel-out/
|
|
23612
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
23610
23613
|
function translateType(type, imports) {
|
|
23611
23614
|
return type.visitType(new TypeTranslatorVisitor(imports), new Context(false));
|
|
23612
23615
|
}
|
|
@@ -23780,7 +23783,7 @@ var TypeTranslatorVisitor = class {
|
|
|
23780
23783
|
}
|
|
23781
23784
|
};
|
|
23782
23785
|
|
|
23783
|
-
// bazel-out/
|
|
23786
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
23784
23787
|
var import_typescript42 = __toESM(require("typescript"), 1);
|
|
23785
23788
|
var PureAnnotation;
|
|
23786
23789
|
(function(PureAnnotation2) {
|
|
@@ -23963,7 +23966,7 @@ function attachComments(statement, leadingComments) {
|
|
|
23963
23966
|
}
|
|
23964
23967
|
}
|
|
23965
23968
|
|
|
23966
|
-
// bazel-out/
|
|
23969
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
23967
23970
|
function translateExpression(expression, imports, options = {}) {
|
|
23968
23971
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
23969
23972
|
}
|
|
@@ -23971,7 +23974,7 @@ function translateStatement(statement, imports, options = {}) {
|
|
|
23971
23974
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
|
|
23972
23975
|
}
|
|
23973
23976
|
|
|
23974
|
-
// bazel-out/
|
|
23977
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
23975
23978
|
var import_typescript43 = __toESM(require("typescript"), 1);
|
|
23976
23979
|
function addImports(importManager, sf, extraStatements = []) {
|
|
23977
23980
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -24007,7 +24010,7 @@ function isImportStatement(stmt) {
|
|
|
24007
24010
|
return import_typescript43.default.isImportDeclaration(stmt) || import_typescript43.default.isImportEqualsDeclaration(stmt) || import_typescript43.default.isNamespaceImport(stmt);
|
|
24008
24011
|
}
|
|
24009
24012
|
|
|
24010
|
-
// bazel-out/
|
|
24013
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
24011
24014
|
var DtsTransformRegistry = class {
|
|
24012
24015
|
constructor() {
|
|
24013
24016
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -24152,10 +24155,10 @@ function markForEmitAsSingleLine(node) {
|
|
|
24152
24155
|
import_typescript44.default.forEachChild(node, markForEmitAsSingleLine);
|
|
24153
24156
|
}
|
|
24154
24157
|
|
|
24155
|
-
// bazel-out/
|
|
24158
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
24156
24159
|
var import_typescript46 = __toESM(require("typescript"), 1);
|
|
24157
24160
|
|
|
24158
|
-
// bazel-out/
|
|
24161
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
24159
24162
|
var import_typescript45 = __toESM(require("typescript"), 1);
|
|
24160
24163
|
function visit(node, visitor, context) {
|
|
24161
24164
|
return visitor._visit(node, context);
|
|
@@ -24216,7 +24219,7 @@ var Visitor = class {
|
|
|
24216
24219
|
}
|
|
24217
24220
|
};
|
|
24218
24221
|
|
|
24219
|
-
// bazel-out/
|
|
24222
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
24220
24223
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
24221
24224
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
24222
24225
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -24424,7 +24427,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
24424
24427
|
return array;
|
|
24425
24428
|
}
|
|
24426
24429
|
|
|
24427
|
-
// bazel-out/
|
|
24430
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
24428
24431
|
var import_typescript47 = __toESM(require("typescript"), 1);
|
|
24429
24432
|
var EMPTY_OBJECT = {};
|
|
24430
24433
|
var QUERY_TYPES = /* @__PURE__ */ new Set([
|
|
@@ -24433,7 +24436,7 @@ var QUERY_TYPES = /* @__PURE__ */ new Set([
|
|
|
24433
24436
|
"ViewChild",
|
|
24434
24437
|
"ViewChildren"
|
|
24435
24438
|
]);
|
|
24436
|
-
function extractDirectiveMetadata(clazz, decorator, reflector, evaluator, refEmitter, isCore, flags, annotateForClosureCompiler, defaultSelector = null) {
|
|
24439
|
+
function extractDirectiveMetadata(clazz, decorator, reflector, evaluator, refEmitter, referencesRegistry, isCore, flags, annotateForClosureCompiler, defaultSelector = null) {
|
|
24437
24440
|
let directive;
|
|
24438
24441
|
if (decorator === null || decorator.args === null || decorator.args.length === 0) {
|
|
24439
24442
|
directive = /* @__PURE__ */ new Map();
|
|
@@ -24511,6 +24514,9 @@ function extractDirectiveMetadata(clazz, decorator, reflector, evaluator, refEmi
|
|
|
24511
24514
|
const outputs = ClassPropertyMapping.fromMappedObject(__spreadValues(__spreadValues({}, outputsFromMeta), outputsFromFields));
|
|
24512
24515
|
const rawHostDirectives = directive.get("hostDirectives") || null;
|
|
24513
24516
|
const hostDirectives = rawHostDirectives === null ? null : extractHostDirectives(rawHostDirectives, evaluator);
|
|
24517
|
+
if (hostDirectives !== null) {
|
|
24518
|
+
referencesRegistry.add(clazz, ...hostDirectives.map((hostDir) => hostDir.directive));
|
|
24519
|
+
}
|
|
24514
24520
|
const metadata = {
|
|
24515
24521
|
name: clazz.name.text,
|
|
24516
24522
|
deps: ctorDeps,
|
|
@@ -24840,7 +24846,7 @@ function toHostDirectiveMetadata(hostDirective, context, refEmitter) {
|
|
|
24840
24846
|
};
|
|
24841
24847
|
}
|
|
24842
24848
|
|
|
24843
|
-
// bazel-out/
|
|
24849
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
24844
24850
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
24845
24851
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
24846
24852
|
super(decl);
|
|
@@ -24917,7 +24923,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
24917
24923
|
return isSymbolEqual(current, previous);
|
|
24918
24924
|
}
|
|
24919
24925
|
|
|
24920
|
-
// bazel-out/
|
|
24926
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
24921
24927
|
var FIELD_DECORATORS = [
|
|
24922
24928
|
"Input",
|
|
24923
24929
|
"Output",
|
|
@@ -24939,7 +24945,7 @@ var LIFECYCLE_HOOKS = /* @__PURE__ */ new Set([
|
|
|
24939
24945
|
"ngAfterContentChecked"
|
|
24940
24946
|
]);
|
|
24941
24947
|
var DirectiveDecoratorHandler = class {
|
|
24942
|
-
constructor(reflector, evaluator, metaRegistry, scopeRegistry, metaReader, injectableRegistry, refEmitter, isCore, strictCtorDeps, semanticDepGraphUpdater, annotateForClosureCompiler, compileUndecoratedClassesWithAngularFeatures, perf) {
|
|
24948
|
+
constructor(reflector, evaluator, metaRegistry, scopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, annotateForClosureCompiler, compileUndecoratedClassesWithAngularFeatures, perf) {
|
|
24943
24949
|
this.reflector = reflector;
|
|
24944
24950
|
this.evaluator = evaluator;
|
|
24945
24951
|
this.metaRegistry = metaRegistry;
|
|
@@ -24947,6 +24953,7 @@ var DirectiveDecoratorHandler = class {
|
|
|
24947
24953
|
this.metaReader = metaReader;
|
|
24948
24954
|
this.injectableRegistry = injectableRegistry;
|
|
24949
24955
|
this.refEmitter = refEmitter;
|
|
24956
|
+
this.referencesRegistry = referencesRegistry;
|
|
24950
24957
|
this.isCore = isCore;
|
|
24951
24958
|
this.strictCtorDeps = strictCtorDeps;
|
|
24952
24959
|
this.semanticDepGraphUpdater = semanticDepGraphUpdater;
|
|
@@ -24974,7 +24981,7 @@ var DirectiveDecoratorHandler = class {
|
|
|
24974
24981
|
return { diagnostics: [getUndecoratedClassWithAngularFeaturesDiagnostic(node)] };
|
|
24975
24982
|
}
|
|
24976
24983
|
this.perf.eventCount(PerfEvent.AnalyzeDirective);
|
|
24977
|
-
const directiveResult = extractDirectiveMetadata(node, decorator, this.reflector, this.evaluator, this.refEmitter, this.isCore, flags, this.annotateForClosureCompiler);
|
|
24984
|
+
const directiveResult = extractDirectiveMetadata(node, decorator, this.reflector, this.evaluator, this.refEmitter, this.referencesRegistry, this.isCore, flags, this.annotateForClosureCompiler);
|
|
24978
24985
|
if (directiveResult === void 0) {
|
|
24979
24986
|
return {};
|
|
24980
24987
|
}
|
|
@@ -25076,10 +25083,10 @@ var DirectiveDecoratorHandler = class {
|
|
|
25076
25083
|
}
|
|
25077
25084
|
};
|
|
25078
25085
|
|
|
25079
|
-
// bazel-out/
|
|
25086
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
25080
25087
|
var import_typescript49 = __toESM(require("typescript"), 1);
|
|
25081
25088
|
|
|
25082
|
-
// bazel-out/
|
|
25089
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
25083
25090
|
var import_typescript48 = __toESM(require("typescript"), 1);
|
|
25084
25091
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
25085
25092
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -25146,7 +25153,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
25146
25153
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
25147
25154
|
}
|
|
25148
25155
|
|
|
25149
|
-
// bazel-out/
|
|
25156
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
25150
25157
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
25151
25158
|
constructor() {
|
|
25152
25159
|
super(...arguments);
|
|
@@ -25648,7 +25655,7 @@ function isSyntheticReference(ref) {
|
|
|
25648
25655
|
return ref.synthetic;
|
|
25649
25656
|
}
|
|
25650
25657
|
|
|
25651
|
-
// bazel-out/
|
|
25658
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
25652
25659
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
25653
25660
|
const name = ref.debugName || "(unknown)";
|
|
25654
25661
|
const path3 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -25671,15 +25678,10 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
25671
25678
|
return null;
|
|
25672
25679
|
}
|
|
25673
25680
|
|
|
25674
|
-
// bazel-out/
|
|
25681
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
25675
25682
|
var import_typescript51 = __toESM(require("typescript"), 1);
|
|
25676
25683
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
25677
|
-
|
|
25678
|
-
case true:
|
|
25679
|
-
return declaration.expression;
|
|
25680
|
-
case false:
|
|
25681
|
-
return declaration.templateUrlExpression;
|
|
25682
|
-
}
|
|
25684
|
+
return declaration.isInline ? declaration.expression : declaration.templateUrlExpression;
|
|
25683
25685
|
}
|
|
25684
25686
|
function extractTemplate(node, template, evaluator, depTracker, resourceLoader, options) {
|
|
25685
25687
|
if (template.isInline) {
|
|
@@ -25986,7 +25988,7 @@ function _extractTemplateStyleUrls(template) {
|
|
|
25986
25988
|
return template.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
|
|
25987
25989
|
}
|
|
25988
25990
|
|
|
25989
|
-
// bazel-out/
|
|
25991
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
25990
25992
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
25991
25993
|
constructor() {
|
|
25992
25994
|
super(...arguments);
|
|
@@ -26021,7 +26023,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
26021
26023
|
}
|
|
26022
26024
|
};
|
|
26023
26025
|
|
|
26024
|
-
// bazel-out/
|
|
26026
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
26025
26027
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
26026
26028
|
if (value instanceof Map) {
|
|
26027
26029
|
const name = value.get("name");
|
|
@@ -26097,10 +26099,10 @@ function isLikelyModuleWithProviders(value) {
|
|
|
26097
26099
|
return false;
|
|
26098
26100
|
}
|
|
26099
26101
|
|
|
26100
|
-
// bazel-out/
|
|
26102
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
26101
26103
|
var EMPTY_ARRAY2 = [];
|
|
26102
26104
|
var ComponentDecoratorHandler = class {
|
|
26103
|
-
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) {
|
|
26105
|
+
constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver) {
|
|
26104
26106
|
this.reflector = reflector;
|
|
26105
26107
|
this.evaluator = evaluator;
|
|
26106
26108
|
this.metaRegistry = metaRegistry;
|
|
@@ -26123,6 +26125,7 @@ var ComponentDecoratorHandler = class {
|
|
|
26123
26125
|
this.cycleAnalyzer = cycleAnalyzer;
|
|
26124
26126
|
this.cycleHandlingStrategy = cycleHandlingStrategy;
|
|
26125
26127
|
this.refEmitter = refEmitter;
|
|
26128
|
+
this.referencesRegistry = referencesRegistry;
|
|
26126
26129
|
this.depTracker = depTracker;
|
|
26127
26130
|
this.injectableRegistry = injectableRegistry;
|
|
26128
26131
|
this.semanticDepGraphUpdater = semanticDepGraphUpdater;
|
|
@@ -26204,7 +26207,7 @@ var ComponentDecoratorHandler = class {
|
|
|
26204
26207
|
this.literalCache.delete(decorator);
|
|
26205
26208
|
let diagnostics;
|
|
26206
26209
|
let isPoisoned = false;
|
|
26207
|
-
const directiveResult = extractDirectiveMetadata(node, decorator, this.reflector, this.evaluator, this.refEmitter, this.isCore, flags, this.annotateForClosureCompiler, this.elementSchemaRegistry.getDefaultComponentElementName());
|
|
26210
|
+
const directiveResult = extractDirectiveMetadata(node, decorator, this.reflector, this.evaluator, this.refEmitter, this.referencesRegistry, this.isCore, flags, this.annotateForClosureCompiler, this.elementSchemaRegistry.getDefaultComponentElementName());
|
|
26208
26211
|
if (directiveResult === void 0) {
|
|
26209
26212
|
return {};
|
|
26210
26213
|
}
|
|
@@ -26743,7 +26746,7 @@ function validateStandaloneImports(importRefs, importExpr2, metaReader, scopeRea
|
|
|
26743
26746
|
return diagnostics;
|
|
26744
26747
|
}
|
|
26745
26748
|
|
|
26746
|
-
// bazel-out/
|
|
26749
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
26747
26750
|
var import_typescript54 = __toESM(require("typescript"), 1);
|
|
26748
26751
|
var InjectableDecoratorHandler = class {
|
|
26749
26752
|
constructor(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, perf, errorOnDuplicateProv = true) {
|
|
@@ -26959,7 +26962,7 @@ function getDep(dep, reflector) {
|
|
|
26959
26962
|
return meta;
|
|
26960
26963
|
}
|
|
26961
26964
|
|
|
26962
|
-
// bazel-out/
|
|
26965
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
26963
26966
|
var import_typescript55 = __toESM(require("typescript"), 1);
|
|
26964
26967
|
var PipeSymbol = class extends SemanticSymbol {
|
|
26965
26968
|
constructor(decl, name) {
|
|
@@ -27104,7 +27107,7 @@ var PipeDecoratorHandler = class {
|
|
|
27104
27107
|
}
|
|
27105
27108
|
};
|
|
27106
27109
|
|
|
27107
|
-
// bazel-out/
|
|
27110
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
27108
27111
|
var CycleAnalyzer = class {
|
|
27109
27112
|
constructor(importGraph) {
|
|
27110
27113
|
this.importGraph = importGraph;
|
|
@@ -27175,7 +27178,7 @@ var Cycle = class {
|
|
|
27175
27178
|
}
|
|
27176
27179
|
};
|
|
27177
27180
|
|
|
27178
|
-
// bazel-out/
|
|
27181
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
27179
27182
|
var import_typescript56 = __toESM(require("typescript"), 1);
|
|
27180
27183
|
var ImportGraph = class {
|
|
27181
27184
|
constructor(checker, perf) {
|
|
@@ -27267,7 +27270,7 @@ var Found = class {
|
|
|
27267
27270
|
}
|
|
27268
27271
|
};
|
|
27269
27272
|
|
|
27270
|
-
// bazel-out/
|
|
27273
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
27271
27274
|
var import_typescript57 = __toESM(require("typescript"), 1);
|
|
27272
27275
|
var FlatIndexGenerator = class {
|
|
27273
27276
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -27292,7 +27295,7 @@ export * from '${relativeEntryPoint}';
|
|
|
27292
27295
|
}
|
|
27293
27296
|
};
|
|
27294
27297
|
|
|
27295
|
-
// bazel-out/
|
|
27298
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
27296
27299
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
27297
27300
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
27298
27301
|
let resolvedEntryPoint = null;
|
|
@@ -27308,7 +27311,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
27308
27311
|
return resolvedEntryPoint;
|
|
27309
27312
|
}
|
|
27310
27313
|
|
|
27311
|
-
// bazel-out/
|
|
27314
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
27312
27315
|
var import_typescript59 = __toESM(require("typescript"), 1);
|
|
27313
27316
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
27314
27317
|
const diagnostics = [];
|
|
@@ -27388,7 +27391,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
27388
27391
|
}
|
|
27389
27392
|
}
|
|
27390
27393
|
|
|
27391
|
-
// bazel-out/
|
|
27394
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
27392
27395
|
var ReferenceGraph = class {
|
|
27393
27396
|
constructor() {
|
|
27394
27397
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -27442,7 +27445,7 @@ var ReferenceGraph = class {
|
|
|
27442
27445
|
}
|
|
27443
27446
|
};
|
|
27444
27447
|
|
|
27445
|
-
// bazel-out/
|
|
27448
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
27446
27449
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
27447
27450
|
var UpdateMode;
|
|
27448
27451
|
(function(UpdateMode2) {
|
|
@@ -27450,13 +27453,13 @@ var UpdateMode;
|
|
|
27450
27453
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
27451
27454
|
})(UpdateMode || (UpdateMode = {}));
|
|
27452
27455
|
|
|
27453
|
-
// bazel-out/
|
|
27456
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
27454
27457
|
var import_typescript65 = __toESM(require("typescript"), 1);
|
|
27455
27458
|
|
|
27456
|
-
// bazel-out/
|
|
27459
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
27457
27460
|
var import_typescript60 = __toESM(require("typescript"), 1);
|
|
27458
27461
|
|
|
27459
|
-
// bazel-out/
|
|
27462
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
27460
27463
|
var NgExtension = Symbol("NgExtension");
|
|
27461
27464
|
function isExtended(sf) {
|
|
27462
27465
|
return sf[NgExtension] !== void 0;
|
|
@@ -27516,7 +27519,7 @@ function retagTsFile(sf) {
|
|
|
27516
27519
|
}
|
|
27517
27520
|
}
|
|
27518
27521
|
|
|
27519
|
-
// bazel-out/
|
|
27522
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
27520
27523
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
27521
27524
|
function makeShimFileName(fileName, suffix) {
|
|
27522
27525
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
@@ -27531,7 +27534,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
|
|
|
27531
27534
|
return moduleName;
|
|
27532
27535
|
}
|
|
27533
27536
|
|
|
27534
|
-
// bazel-out/
|
|
27537
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
27535
27538
|
var ShimAdapter = class {
|
|
27536
27539
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
27537
27540
|
this.delegate = delegate;
|
|
@@ -27626,7 +27629,7 @@ var ShimAdapter = class {
|
|
|
27626
27629
|
}
|
|
27627
27630
|
};
|
|
27628
27631
|
|
|
27629
|
-
// bazel-out/
|
|
27632
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
27630
27633
|
var import_typescript62 = __toESM(require("typescript"), 1);
|
|
27631
27634
|
var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
|
|
27632
27635
|
var STRIP_NG_FACTORY = /(.*)NgFactory$/;
|
|
@@ -27786,7 +27789,7 @@ function updateInitializers(stmt, update) {
|
|
|
27786
27789
|
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)))));
|
|
27787
27790
|
}
|
|
27788
27791
|
|
|
27789
|
-
// bazel-out/
|
|
27792
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
27790
27793
|
var ShimReferenceTagger = class {
|
|
27791
27794
|
constructor(shimExtensions) {
|
|
27792
27795
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -27820,7 +27823,7 @@ var ShimReferenceTagger = class {
|
|
|
27820
27823
|
}
|
|
27821
27824
|
};
|
|
27822
27825
|
|
|
27823
|
-
// bazel-out/
|
|
27826
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
27824
27827
|
var import_typescript64 = __toESM(require("typescript"), 1);
|
|
27825
27828
|
var SummaryGenerator = class {
|
|
27826
27829
|
constructor() {
|
|
@@ -27861,7 +27864,7 @@ function isExported2(decl) {
|
|
|
27861
27864
|
return modifiers !== void 0 && modifiers.some((mod) => mod.kind == import_typescript64.default.SyntaxKind.ExportKeyword) || false;
|
|
27862
27865
|
}
|
|
27863
27866
|
|
|
27864
|
-
// bazel-out/
|
|
27867
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
27865
27868
|
var DelegatingCompilerHost = class {
|
|
27866
27869
|
constructor(delegate) {
|
|
27867
27870
|
this.delegate = delegate;
|
|
@@ -27972,7 +27975,7 @@ var TsCreateProgramDriver = class {
|
|
|
27972
27975
|
}
|
|
27973
27976
|
};
|
|
27974
27977
|
|
|
27975
|
-
// bazel-out/
|
|
27978
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
27976
27979
|
var FileDependencyGraph = class {
|
|
27977
27980
|
constructor() {
|
|
27978
27981
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -28039,7 +28042,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
28039
28042
|
return false;
|
|
28040
28043
|
}
|
|
28041
28044
|
|
|
28042
|
-
// bazel-out/
|
|
28045
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
28043
28046
|
var IncrementalStateKind;
|
|
28044
28047
|
(function(IncrementalStateKind2) {
|
|
28045
28048
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -28047,7 +28050,7 @@ var IncrementalStateKind;
|
|
|
28047
28050
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
28048
28051
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
28049
28052
|
|
|
28050
|
-
// bazel-out/
|
|
28053
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
28051
28054
|
var PhaseKind;
|
|
28052
28055
|
(function(PhaseKind2) {
|
|
28053
28056
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -28248,7 +28251,7 @@ function toOriginalSourceFile(sf) {
|
|
|
28248
28251
|
}
|
|
28249
28252
|
}
|
|
28250
28253
|
|
|
28251
|
-
// bazel-out/
|
|
28254
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
28252
28255
|
var TrackedIncrementalBuildStrategy = class {
|
|
28253
28256
|
constructor() {
|
|
28254
28257
|
this.state = null;
|
|
@@ -28269,7 +28272,7 @@ var TrackedIncrementalBuildStrategy = class {
|
|
|
28269
28272
|
};
|
|
28270
28273
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
28271
28274
|
|
|
28272
|
-
// bazel-out/
|
|
28275
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
28273
28276
|
var IdentifierKind;
|
|
28274
28277
|
(function(IdentifierKind2) {
|
|
28275
28278
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -28287,7 +28290,7 @@ var AbsoluteSourceSpan2 = class {
|
|
|
28287
28290
|
}
|
|
28288
28291
|
};
|
|
28289
28292
|
|
|
28290
|
-
// bazel-out/
|
|
28293
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
28291
28294
|
var IndexingContext = class {
|
|
28292
28295
|
constructor() {
|
|
28293
28296
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -28297,7 +28300,7 @@ var IndexingContext = class {
|
|
|
28297
28300
|
}
|
|
28298
28301
|
};
|
|
28299
28302
|
|
|
28300
|
-
// bazel-out/
|
|
28303
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
28301
28304
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
28302
28305
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
28303
28306
|
super();
|
|
@@ -28533,7 +28536,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
28533
28536
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
28534
28537
|
}
|
|
28535
28538
|
|
|
28536
|
-
// bazel-out/
|
|
28539
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
28537
28540
|
function generateAnalysis(context) {
|
|
28538
28541
|
const analysis = /* @__PURE__ */ new Map();
|
|
28539
28542
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -28569,7 +28572,7 @@ function generateAnalysis(context) {
|
|
|
28569
28572
|
return analysis;
|
|
28570
28573
|
}
|
|
28571
28574
|
|
|
28572
|
-
// bazel-out/
|
|
28575
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
28573
28576
|
var NgModuleIndexImpl = class {
|
|
28574
28577
|
constructor(metaReader, localReader) {
|
|
28575
28578
|
this.metaReader = metaReader;
|
|
@@ -28658,7 +28661,7 @@ var NgModuleIndexImpl = class {
|
|
|
28658
28661
|
}
|
|
28659
28662
|
};
|
|
28660
28663
|
|
|
28661
|
-
// bazel-out/
|
|
28664
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
28662
28665
|
var import_typescript68 = __toESM(require("typescript"), 1);
|
|
28663
28666
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
28664
28667
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -28806,7 +28809,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
28806
28809
|
};
|
|
28807
28810
|
}
|
|
28808
28811
|
|
|
28809
|
-
// bazel-out/
|
|
28812
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
28810
28813
|
var StandaloneComponentScopeReader = class {
|
|
28811
28814
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
28812
28815
|
this.metaReader = metaReader;
|
|
@@ -28884,21 +28887,21 @@ var StandaloneComponentScopeReader = class {
|
|
|
28884
28887
|
}
|
|
28885
28888
|
};
|
|
28886
28889
|
|
|
28887
|
-
// bazel-out/
|
|
28890
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
28888
28891
|
var OptimizeFor;
|
|
28889
28892
|
(function(OptimizeFor2) {
|
|
28890
28893
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
28891
28894
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
28892
28895
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
28893
28896
|
|
|
28894
|
-
// bazel-out/
|
|
28897
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
28895
28898
|
var CompletionKind;
|
|
28896
28899
|
(function(CompletionKind2) {
|
|
28897
28900
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
28898
28901
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
28899
28902
|
})(CompletionKind || (CompletionKind = {}));
|
|
28900
28903
|
|
|
28901
|
-
// bazel-out/
|
|
28904
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
28902
28905
|
var PotentialImportKind;
|
|
28903
28906
|
(function(PotentialImportKind2) {
|
|
28904
28907
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -28910,7 +28913,7 @@ var PotentialImportMode;
|
|
|
28910
28913
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
28911
28914
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
28912
28915
|
|
|
28913
|
-
// bazel-out/
|
|
28916
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
28914
28917
|
var SymbolKind;
|
|
28915
28918
|
(function(SymbolKind2) {
|
|
28916
28919
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -28926,7 +28929,7 @@ var SymbolKind;
|
|
|
28926
28929
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
28927
28930
|
})(SymbolKind || (SymbolKind = {}));
|
|
28928
28931
|
|
|
28929
|
-
// bazel-out/
|
|
28932
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
28930
28933
|
var import_typescript69 = __toESM(require("typescript"), 1);
|
|
28931
28934
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
28932
28935
|
var _a;
|
|
@@ -29033,7 +29036,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
29033
29036
|
return import_typescript69.default.createSourceFile(fileName, template, import_typescript69.default.ScriptTarget.Latest, false, import_typescript69.default.ScriptKind.JSX);
|
|
29034
29037
|
}
|
|
29035
29038
|
|
|
29036
|
-
// bazel-out/
|
|
29039
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
29037
29040
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
29038
29041
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
29039
29042
|
function getTemplateId(clazz) {
|
|
@@ -29050,10 +29053,10 @@ function allocateTemplateId(sf) {
|
|
|
29050
29053
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
29051
29054
|
}
|
|
29052
29055
|
|
|
29053
|
-
// bazel-out/
|
|
29056
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
29054
29057
|
var import_typescript71 = __toESM(require("typescript"), 1);
|
|
29055
29058
|
|
|
29056
|
-
// bazel-out/
|
|
29059
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
29057
29060
|
var import_typescript70 = __toESM(require("typescript"), 1);
|
|
29058
29061
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
29059
29062
|
function readSpanComment(node, sourceFile = node.getSourceFile()) {
|
|
@@ -29182,7 +29185,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
29182
29185
|
}) || false;
|
|
29183
29186
|
}
|
|
29184
29187
|
|
|
29185
|
-
// bazel-out/
|
|
29188
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
29186
29189
|
var CompletionEngine = class {
|
|
29187
29190
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
29188
29191
|
this.tcb = tcb;
|
|
@@ -29339,10 +29342,10 @@ var CompletionEngine = class {
|
|
|
29339
29342
|
}
|
|
29340
29343
|
};
|
|
29341
29344
|
|
|
29342
|
-
// bazel-out/
|
|
29345
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
29343
29346
|
var import_typescript86 = __toESM(require("typescript"), 1);
|
|
29344
29347
|
|
|
29345
|
-
// bazel-out/
|
|
29348
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
29346
29349
|
var import_typescript72 = __toESM(require("typescript"), 1);
|
|
29347
29350
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
29348
29351
|
var REMOVE_XHTML_REGEX = /^:xhtml:/;
|
|
@@ -29394,10 +29397,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
29394
29397
|
}
|
|
29395
29398
|
};
|
|
29396
29399
|
|
|
29397
|
-
// bazel-out/
|
|
29400
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
29398
29401
|
var import_typescript79 = __toESM(require("typescript"), 1);
|
|
29399
29402
|
|
|
29400
|
-
// bazel-out/
|
|
29403
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
29401
29404
|
var import_typescript73 = __toESM(require("typescript"), 1);
|
|
29402
29405
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
29403
29406
|
import_typescript73.default.SyntaxKind.ParenthesizedExpression,
|
|
@@ -29471,16 +29474,16 @@ function isAccessExpression(node) {
|
|
|
29471
29474
|
return import_typescript73.default.isPropertyAccessExpression(node) || import_typescript73.default.isElementAccessExpression(node);
|
|
29472
29475
|
}
|
|
29473
29476
|
|
|
29474
|
-
// bazel-out/
|
|
29477
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
29475
29478
|
var import_typescript78 = __toESM(require("typescript"), 1);
|
|
29476
29479
|
|
|
29477
|
-
// bazel-out/
|
|
29480
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
29478
29481
|
var import_typescript76 = __toESM(require("typescript"), 1);
|
|
29479
29482
|
|
|
29480
|
-
// bazel-out/
|
|
29483
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
29481
29484
|
var import_typescript75 = __toESM(require("typescript"), 1);
|
|
29482
29485
|
|
|
29483
|
-
// bazel-out/
|
|
29486
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
29484
29487
|
var import_typescript74 = __toESM(require("typescript"), 1);
|
|
29485
29488
|
var INELIGIBLE = {};
|
|
29486
29489
|
function canEmitType(type, canEmit) {
|
|
@@ -29555,7 +29558,7 @@ var TypeEmitter = class {
|
|
|
29555
29558
|
}
|
|
29556
29559
|
};
|
|
29557
29560
|
|
|
29558
|
-
// bazel-out/
|
|
29561
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
29559
29562
|
var TypeParameterEmitter = class {
|
|
29560
29563
|
constructor(typeParameters, reflector) {
|
|
29561
29564
|
this.typeParameters = typeParameters;
|
|
@@ -29632,7 +29635,7 @@ var TypeParameterEmitter = class {
|
|
|
29632
29635
|
}
|
|
29633
29636
|
};
|
|
29634
29637
|
|
|
29635
|
-
// bazel-out/
|
|
29638
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
29636
29639
|
var TcbInliningRequirement;
|
|
29637
29640
|
(function(TcbInliningRequirement2) {
|
|
29638
29641
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -29712,7 +29715,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
29712
29715
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
29713
29716
|
}
|
|
29714
29717
|
|
|
29715
|
-
// bazel-out/
|
|
29718
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
29716
29719
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
29717
29720
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
29718
29721
|
const rawType = import_typescript78.default.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -29824,7 +29827,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
29824
29827
|
});
|
|
29825
29828
|
}
|
|
29826
29829
|
|
|
29827
|
-
// bazel-out/
|
|
29830
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
29828
29831
|
var Environment = class {
|
|
29829
29832
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
29830
29833
|
this.config = config;
|
|
@@ -29916,7 +29919,7 @@ var Environment = class {
|
|
|
29916
29919
|
}
|
|
29917
29920
|
};
|
|
29918
29921
|
|
|
29919
|
-
// bazel-out/
|
|
29922
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
29920
29923
|
var import_typescript80 = __toESM(require("typescript"), 1);
|
|
29921
29924
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
29922
29925
|
constructor(resolver) {
|
|
@@ -30047,7 +30050,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
30047
30050
|
});
|
|
30048
30051
|
}
|
|
30049
30052
|
|
|
30050
|
-
// bazel-out/
|
|
30053
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
30051
30054
|
var import_typescript81 = __toESM(require("typescript"), 1);
|
|
30052
30055
|
var TypeCheckShimGenerator = class {
|
|
30053
30056
|
constructor() {
|
|
@@ -30065,10 +30068,10 @@ var TypeCheckShimGenerator = class {
|
|
|
30065
30068
|
}
|
|
30066
30069
|
};
|
|
30067
30070
|
|
|
30068
|
-
// bazel-out/
|
|
30071
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
30069
30072
|
var import_typescript84 = __toESM(require("typescript"), 1);
|
|
30070
30073
|
|
|
30071
|
-
// bazel-out/
|
|
30074
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
30072
30075
|
var import_typescript82 = __toESM(require("typescript"), 1);
|
|
30073
30076
|
function wrapForDiagnostics(expr) {
|
|
30074
30077
|
return import_typescript82.default.factory.createParenthesizedExpression(expr);
|
|
@@ -30113,7 +30116,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
30113
30116
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
30114
30117
|
}
|
|
30115
30118
|
|
|
30116
|
-
// bazel-out/
|
|
30119
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
30117
30120
|
var import_typescript83 = __toESM(require("typescript"), 1);
|
|
30118
30121
|
var NULL_AS_ANY = import_typescript83.default.factory.createAsExpression(import_typescript83.default.factory.createNull(), import_typescript83.default.factory.createKeywordTypeNode(import_typescript83.default.SyntaxKind.AnyKeyword));
|
|
30119
30122
|
var UNDEFINED = import_typescript83.default.factory.createIdentifier("undefined");
|
|
@@ -30442,7 +30445,7 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
30442
30445
|
};
|
|
30443
30446
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
30444
30447
|
|
|
30445
|
-
// bazel-out/
|
|
30448
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
30446
30449
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor {
|
|
30447
30450
|
constructor(templateId, boundTarget, oob) {
|
|
30448
30451
|
super();
|
|
@@ -30465,7 +30468,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor {
|
|
|
30465
30468
|
}
|
|
30466
30469
|
};
|
|
30467
30470
|
|
|
30468
|
-
// bazel-out/
|
|
30471
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
30469
30472
|
var TcbGenericContextBehavior;
|
|
30470
30473
|
(function(TcbGenericContextBehavior2) {
|
|
30471
30474
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -31568,7 +31571,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
31568
31571
|
}
|
|
31569
31572
|
};
|
|
31570
31573
|
|
|
31571
|
-
// bazel-out/
|
|
31574
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
31572
31575
|
var import_typescript85 = __toESM(require("typescript"), 1);
|
|
31573
31576
|
var TypeCheckFile = class extends Environment {
|
|
31574
31577
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -31604,7 +31607,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
31604
31607
|
}
|
|
31605
31608
|
};
|
|
31606
31609
|
|
|
31607
|
-
// bazel-out/
|
|
31610
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
31608
31611
|
var InliningMode;
|
|
31609
31612
|
(function(InliningMode2) {
|
|
31610
31613
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -31842,7 +31845,7 @@ function splitStringAtPoints(str, points) {
|
|
|
31842
31845
|
return splits;
|
|
31843
31846
|
}
|
|
31844
31847
|
|
|
31845
|
-
// bazel-out/
|
|
31848
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
31846
31849
|
var LF_CHAR = 10;
|
|
31847
31850
|
var CR_CHAR = 13;
|
|
31848
31851
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -31883,7 +31886,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
31883
31886
|
return low - 1;
|
|
31884
31887
|
}
|
|
31885
31888
|
|
|
31886
|
-
// bazel-out/
|
|
31889
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
31887
31890
|
var TemplateSource = class {
|
|
31888
31891
|
constructor(mapping, file) {
|
|
31889
31892
|
this.mapping = mapping;
|
|
@@ -31934,7 +31937,7 @@ var TemplateSourceManager = class {
|
|
|
31934
31937
|
}
|
|
31935
31938
|
};
|
|
31936
31939
|
|
|
31937
|
-
// bazel-out/
|
|
31940
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
31938
31941
|
var import_typescript87 = __toESM(require("typescript"), 1);
|
|
31939
31942
|
var SymbolBuilder = class {
|
|
31940
31943
|
constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
|
|
@@ -32411,7 +32414,7 @@ function sourceSpanEqual(a, b) {
|
|
|
32411
32414
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
32412
32415
|
}
|
|
32413
32416
|
|
|
32414
|
-
// bazel-out/
|
|
32417
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
32415
32418
|
var REGISTRY2 = new DomElementSchemaRegistry();
|
|
32416
32419
|
var TemplateTypeCheckerImpl = class {
|
|
32417
32420
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -33104,7 +33107,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
33104
33107
|
}
|
|
33105
33108
|
};
|
|
33106
33109
|
|
|
33107
|
-
// bazel-out/
|
|
33110
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
33108
33111
|
var TemplateCheckWithVisitor = class {
|
|
33109
33112
|
run(ctx, component, template) {
|
|
33110
33113
|
const visitor = new TemplateVisitor2(ctx, component, this);
|
|
@@ -33180,7 +33183,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor {
|
|
|
33180
33183
|
}
|
|
33181
33184
|
};
|
|
33182
33185
|
|
|
33183
|
-
// bazel-out/
|
|
33186
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
33184
33187
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
33185
33188
|
constructor() {
|
|
33186
33189
|
super(...arguments);
|
|
@@ -33205,7 +33208,7 @@ var factory = {
|
|
|
33205
33208
|
create: () => new InvalidBananaInBoxCheck()
|
|
33206
33209
|
};
|
|
33207
33210
|
|
|
33208
|
-
// bazel-out/
|
|
33211
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
33209
33212
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
33210
33213
|
["ngIf", "NgIf"],
|
|
33211
33214
|
["ngFor", "NgFor"],
|
|
@@ -33249,7 +33252,7 @@ var factory2 = {
|
|
|
33249
33252
|
}
|
|
33250
33253
|
};
|
|
33251
33254
|
|
|
33252
|
-
// bazel-out/
|
|
33255
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
33253
33256
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
33254
33257
|
constructor() {
|
|
33255
33258
|
super(...arguments);
|
|
@@ -33281,7 +33284,7 @@ var factory3 = {
|
|
|
33281
33284
|
create: () => new MissingNgForOfLetCheck()
|
|
33282
33285
|
};
|
|
33283
33286
|
|
|
33284
|
-
// bazel-out/
|
|
33287
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
33285
33288
|
var import_typescript90 = __toESM(require("typescript"), 1);
|
|
33286
33289
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
33287
33290
|
constructor() {
|
|
@@ -33325,7 +33328,7 @@ var factory4 = {
|
|
|
33325
33328
|
}
|
|
33326
33329
|
};
|
|
33327
33330
|
|
|
33328
|
-
// bazel-out/
|
|
33331
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
33329
33332
|
var import_typescript91 = __toESM(require("typescript"), 1);
|
|
33330
33333
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
33331
33334
|
constructor() {
|
|
@@ -33370,7 +33373,7 @@ var factory5 = {
|
|
|
33370
33373
|
}
|
|
33371
33374
|
};
|
|
33372
33375
|
|
|
33373
|
-
// bazel-out/
|
|
33376
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
33374
33377
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
33375
33378
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
33376
33379
|
constructor() {
|
|
@@ -33393,7 +33396,7 @@ var factory6 = {
|
|
|
33393
33396
|
create: () => new SuffixNotSupportedCheck()
|
|
33394
33397
|
};
|
|
33395
33398
|
|
|
33396
|
-
// bazel-out/
|
|
33399
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
33397
33400
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
33398
33401
|
constructor() {
|
|
33399
33402
|
super(...arguments);
|
|
@@ -33431,10 +33434,10 @@ var factory7 = {
|
|
|
33431
33434
|
create: () => new TextAttributeNotBindingSpec()
|
|
33432
33435
|
};
|
|
33433
33436
|
|
|
33434
|
-
// bazel-out/
|
|
33437
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
33435
33438
|
var import_typescript92 = __toESM(require("typescript"), 1);
|
|
33436
33439
|
|
|
33437
|
-
// bazel-out/
|
|
33440
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
33438
33441
|
var DiagnosticCategoryLabel;
|
|
33439
33442
|
(function(DiagnosticCategoryLabel2) {
|
|
33440
33443
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -33442,7 +33445,7 @@ var DiagnosticCategoryLabel;
|
|
|
33442
33445
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
33443
33446
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
33444
33447
|
|
|
33445
|
-
// bazel-out/
|
|
33448
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
33446
33449
|
var ExtendedTemplateCheckerImpl = class {
|
|
33447
33450
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
33448
33451
|
var _a, _b, _c, _d, _e;
|
|
@@ -33494,7 +33497,7 @@ function assertNever(value) {
|
|
|
33494
33497
|
${value}`);
|
|
33495
33498
|
}
|
|
33496
33499
|
|
|
33497
|
-
// bazel-out/
|
|
33500
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
33498
33501
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
33499
33502
|
factory,
|
|
33500
33503
|
factory4,
|
|
@@ -33505,7 +33508,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
33505
33508
|
factory6
|
|
33506
33509
|
];
|
|
33507
33510
|
|
|
33508
|
-
// bazel-out/
|
|
33511
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
33509
33512
|
var CompilationTicketKind;
|
|
33510
33513
|
(function(CompilationTicketKind2) {
|
|
33511
33514
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -33902,7 +33905,14 @@ var NgCompiler = class {
|
|
|
33902
33905
|
if (sf.isDeclarationFile || this.adapter.isShim(sf)) {
|
|
33903
33906
|
continue;
|
|
33904
33907
|
}
|
|
33905
|
-
|
|
33908
|
+
try {
|
|
33909
|
+
diagnostics.push(...compilation.templateTypeChecker.getDiagnosticsForFile(sf, OptimizeFor.WholeProgram));
|
|
33910
|
+
} catch (err) {
|
|
33911
|
+
if (!(err instanceof FatalDiagnosticError)) {
|
|
33912
|
+
throw err;
|
|
33913
|
+
}
|
|
33914
|
+
diagnostics.push(err.toDiagnostic());
|
|
33915
|
+
}
|
|
33906
33916
|
}
|
|
33907
33917
|
const program = this.programDriver.getProgram();
|
|
33908
33918
|
this.incrementalStrategy.setIncrementalState(this.incrementalCompilation.state, program);
|
|
@@ -33913,7 +33923,14 @@ var NgCompiler = class {
|
|
|
33913
33923
|
const compilation = this.ensureAnalyzed();
|
|
33914
33924
|
const diagnostics = [];
|
|
33915
33925
|
if (!sf.isDeclarationFile && !this.adapter.isShim(sf)) {
|
|
33916
|
-
|
|
33926
|
+
try {
|
|
33927
|
+
diagnostics.push(...compilation.templateTypeChecker.getDiagnosticsForFile(sf, optimizeFor));
|
|
33928
|
+
} catch (err) {
|
|
33929
|
+
if (!(err instanceof FatalDiagnosticError)) {
|
|
33930
|
+
throw err;
|
|
33931
|
+
}
|
|
33932
|
+
diagnostics.push(err.toDiagnostic());
|
|
33933
|
+
}
|
|
33917
33934
|
}
|
|
33918
33935
|
const program = this.programDriver.getProgram();
|
|
33919
33936
|
this.incrementalStrategy.setIncrementalState(this.incrementalCompilation.state, program);
|
|
@@ -34004,8 +34021,8 @@ var NgCompiler = class {
|
|
|
34004
34021
|
const cycleHandlingStrategy = compilationMode === CompilationMode.FULL ? 0 : 1;
|
|
34005
34022
|
const strictCtorDeps = this.options.strictInjectionParameters || false;
|
|
34006
34023
|
const handlers = [
|
|
34007
|
-
new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, depScopeReader, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver),
|
|
34008
|
-
new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, isCore, strictCtorDeps, semanticDepGraphUpdater, this.closureCompilerEnabled, false, this.delegatingPerfRecorder),
|
|
34024
|
+
new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, depScopeReader, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver),
|
|
34025
|
+
new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, this.closureCompilerEnabled, false, this.delegatingPerfRecorder),
|
|
34009
34026
|
new PipeDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder),
|
|
34010
34027
|
new InjectableDecoratorHandler(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, this.delegatingPerfRecorder),
|
|
34011
34028
|
new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, ngModuleScopeRegistry, referencesRegistry, isCore, refEmitter, this.adapter.factoryTracker, this.closureCompilerEnabled, (_a = this.options.onlyPublishPublicTypingsForNgModules) != null ? _a : false, injectableRegistry, this.delegatingPerfRecorder)
|
|
@@ -34195,7 +34212,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
34195
34212
|
return versions;
|
|
34196
34213
|
}
|
|
34197
34214
|
|
|
34198
|
-
// bazel-out/
|
|
34215
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
34199
34216
|
var import_typescript95 = __toESM(require("typescript"), 1);
|
|
34200
34217
|
var DelegatingCompilerHost2 = class {
|
|
34201
34218
|
constructor(delegate) {
|
|
@@ -34340,7 +34357,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
34340
34357
|
}
|
|
34341
34358
|
};
|
|
34342
34359
|
|
|
34343
|
-
// bazel-out/
|
|
34360
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
34344
34361
|
var NgtscProgram = class {
|
|
34345
34362
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
34346
34363
|
this.options = options;
|
|
@@ -34558,21 +34575,21 @@ function mergeEmitResults(emitResults) {
|
|
|
34558
34575
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
34559
34576
|
}
|
|
34560
34577
|
|
|
34561
|
-
// bazel-out/
|
|
34578
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
34562
34579
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
34563
34580
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
34564
34581
|
}
|
|
34565
34582
|
|
|
34566
|
-
// bazel-out/
|
|
34583
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
34567
34584
|
var import_typescript99 = __toESM(require("typescript"), 1);
|
|
34568
34585
|
|
|
34569
|
-
// bazel-out/
|
|
34586
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
34570
34587
|
var import_typescript98 = __toESM(require("typescript"), 1);
|
|
34571
34588
|
|
|
34572
|
-
// bazel-out/
|
|
34589
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
34573
34590
|
var import_typescript100 = __toESM(require("typescript"), 1);
|
|
34574
34591
|
|
|
34575
|
-
// bazel-out/
|
|
34592
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
34576
34593
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
34577
34594
|
ngDevMode: false,
|
|
34578
34595
|
ngI18nClosureMode: false
|
|
@@ -34581,7 +34598,7 @@ var GLOBAL_DEFS_FOR_TERSER_WITH_AOT = __spreadProps(__spreadValues({}, GLOBAL_DE
|
|
|
34581
34598
|
ngJitMode: false
|
|
34582
34599
|
});
|
|
34583
34600
|
|
|
34584
|
-
// bazel-out/
|
|
34601
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
34585
34602
|
var LogLevel;
|
|
34586
34603
|
(function(LogLevel2) {
|
|
34587
34604
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -34590,7 +34607,7 @@ var LogLevel;
|
|
|
34590
34607
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
34591
34608
|
})(LogLevel || (LogLevel = {}));
|
|
34592
34609
|
|
|
34593
|
-
// bazel-out/
|
|
34610
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
34594
34611
|
var RESET = "\x1B[0m";
|
|
34595
34612
|
var RED = "\x1B[31m";
|
|
34596
34613
|
var YELLOW = "\x1B[33m";
|
|
@@ -34599,18 +34616,18 @@ var DEBUG = `${BLUE}Debug:${RESET}`;
|
|
|
34599
34616
|
var WARN = `${YELLOW}Warning:${RESET}`;
|
|
34600
34617
|
var ERROR = `${RED}Error:${RESET}`;
|
|
34601
34618
|
|
|
34602
|
-
// bazel-out/
|
|
34619
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
34603
34620
|
setFileSystem(new NodeJSFileSystem());
|
|
34604
34621
|
|
|
34605
|
-
// bazel-out/
|
|
34622
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
34606
34623
|
var import_fs2 = require("fs");
|
|
34607
34624
|
var import_path8 = require("path");
|
|
34608
34625
|
var import_typescript113 = __toESM(require("typescript"), 1);
|
|
34609
34626
|
|
|
34610
|
-
// bazel-out/
|
|
34627
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
34611
34628
|
var import_typescript102 = __toESM(require("typescript"), 1);
|
|
34612
34629
|
|
|
34613
|
-
// bazel-out/
|
|
34630
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
|
|
34614
34631
|
var import_path4 = require("path");
|
|
34615
34632
|
var import_typescript101 = __toESM(require("typescript"), 1);
|
|
34616
34633
|
var IS_AFTER_TS_492 = isAfterVersion2(4, 9);
|
|
@@ -34803,7 +34820,7 @@ function isAfterVersion2(targetMajor, targetMinor) {
|
|
|
34803
34820
|
return major === targetMajor ? minor >= targetMinor : true;
|
|
34804
34821
|
}
|
|
34805
34822
|
|
|
34806
|
-
// bazel-out/
|
|
34823
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
34807
34824
|
var ChangeTracker = class {
|
|
34808
34825
|
constructor(_printer, _importRemapper) {
|
|
34809
34826
|
this._printer = _printer;
|
|
@@ -34856,7 +34873,7 @@ function normalizePath(path3) {
|
|
|
34856
34873
|
return path3.replace(/\\/g, "/");
|
|
34857
34874
|
}
|
|
34858
34875
|
|
|
34859
|
-
// bazel-out/
|
|
34876
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
34860
34877
|
var import_core13 = require("@angular-devkit/core");
|
|
34861
34878
|
function getProjectTsConfigPaths(tree) {
|
|
34862
34879
|
return __async(this, null, function* () {
|
|
@@ -34936,11 +34953,11 @@ function getWorkspace(tree) {
|
|
|
34936
34953
|
});
|
|
34937
34954
|
}
|
|
34938
34955
|
|
|
34939
|
-
// bazel-out/
|
|
34956
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
34940
34957
|
var import_path5 = require("path");
|
|
34941
34958
|
var import_typescript104 = __toESM(require("typescript"), 1);
|
|
34942
34959
|
|
|
34943
|
-
// bazel-out/
|
|
34960
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
34944
34961
|
var path2 = __toESM(require("path"), 1);
|
|
34945
34962
|
var import_typescript103 = __toESM(require("typescript"), 1);
|
|
34946
34963
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -34957,7 +34974,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
34957
34974
|
return import_typescript103.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
34958
34975
|
}
|
|
34959
34976
|
|
|
34960
|
-
// bazel-out/
|
|
34977
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
34961
34978
|
function createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles, optionOverrides) {
|
|
34962
34979
|
tsconfigPath = (0, import_path5.resolve)(basePath, tsconfigPath);
|
|
34963
34980
|
const parsed = parseTsconfigFile(tsconfigPath, (0, import_path5.dirname)(tsconfigPath));
|
|
@@ -34986,13 +35003,13 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
34986
35003
|
return !(0, import_path5.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
34987
35004
|
}
|
|
34988
35005
|
|
|
34989
|
-
// bazel-out/
|
|
35006
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
34990
35007
|
var import_typescript109 = __toESM(require("typescript"), 1);
|
|
34991
35008
|
|
|
34992
|
-
// bazel-out/
|
|
35009
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
34993
35010
|
var import_typescript106 = __toESM(require("typescript"), 1);
|
|
34994
35011
|
|
|
34995
|
-
// bazel-out/
|
|
35012
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
|
|
34996
35013
|
var import_typescript105 = __toESM(require("typescript"), 1);
|
|
34997
35014
|
function getImportOfIdentifier(typeChecker, node) {
|
|
34998
35015
|
const symbol = typeChecker.getSymbolAtLocation(node);
|
|
@@ -35036,7 +35053,7 @@ function findImportSpecifier(nodes, specifierName) {
|
|
|
35036
35053
|
});
|
|
35037
35054
|
}
|
|
35038
35055
|
|
|
35039
|
-
// bazel-out/
|
|
35056
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
35040
35057
|
function getCallDecoratorImport(typeChecker, decorator) {
|
|
35041
35058
|
if (!import_typescript106.default.isCallExpression(decorator.expression) || !import_typescript106.default.isIdentifier(decorator.expression.expression)) {
|
|
35042
35059
|
return null;
|
|
@@ -35045,7 +35062,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
|
|
|
35045
35062
|
return getImportOfIdentifier(typeChecker, identifier);
|
|
35046
35063
|
}
|
|
35047
35064
|
|
|
35048
|
-
// bazel-out/
|
|
35065
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
|
|
35049
35066
|
function getAngularDecorators(typeChecker, decorators) {
|
|
35050
35067
|
return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
|
|
35051
35068
|
node,
|
|
@@ -35055,7 +35072,7 @@ function getAngularDecorators(typeChecker, decorators) {
|
|
|
35055
35072
|
}));
|
|
35056
35073
|
}
|
|
35057
35074
|
|
|
35058
|
-
// bazel-out/
|
|
35075
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
|
|
35059
35076
|
var import_typescript107 = __toESM(require("typescript"), 1);
|
|
35060
35077
|
function closestNode(node, predicate) {
|
|
35061
35078
|
let current = node.parent;
|
|
@@ -35068,7 +35085,7 @@ function closestNode(node, predicate) {
|
|
|
35068
35085
|
return null;
|
|
35069
35086
|
}
|
|
35070
35087
|
|
|
35071
|
-
// bazel-out/
|
|
35088
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
|
|
35072
35089
|
var import_path6 = require("path");
|
|
35073
35090
|
var import_typescript108 = __toESM(require("typescript"), 1);
|
|
35074
35091
|
var UniqueItemTracker = class {
|
|
@@ -35238,7 +35255,7 @@ function isClassReferenceInAngularModule(node, className, moduleName, typeChecke
|
|
|
35238
35255
|
}));
|
|
35239
35256
|
}
|
|
35240
35257
|
|
|
35241
|
-
// bazel-out/
|
|
35258
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
35242
35259
|
function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles) {
|
|
35243
35260
|
const filesToRemove = /* @__PURE__ */ new Set();
|
|
35244
35261
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
@@ -35437,14 +35454,14 @@ function findNgModuleDecorator(node, typeChecker) {
|
|
|
35437
35454
|
return decorators.find((decorator) => decorator.name === "NgModule") || null;
|
|
35438
35455
|
}
|
|
35439
35456
|
|
|
35440
|
-
// bazel-out/
|
|
35457
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
35441
35458
|
var import_path7 = require("path");
|
|
35442
35459
|
var import_typescript112 = __toESM(require("typescript"), 1);
|
|
35443
35460
|
|
|
35444
|
-
// bazel-out/
|
|
35461
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
35445
35462
|
var import_typescript111 = __toESM(require("typescript"), 1);
|
|
35446
35463
|
|
|
35447
|
-
// bazel-out/
|
|
35464
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
|
|
35448
35465
|
var import_typescript110 = __toESM(require("typescript"), 1);
|
|
35449
35466
|
function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
35450
35467
|
var _a, _b;
|
|
@@ -35453,7 +35470,7 @@ function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
|
35453
35470
|
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];
|
|
35454
35471
|
}
|
|
35455
35472
|
|
|
35456
|
-
// bazel-out/
|
|
35473
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
35457
35474
|
function toStandalone(sourceFiles, program, printer, fileImportRemapper, componentImportRemapper) {
|
|
35458
35475
|
const templateTypeChecker = program.compiler.getTemplateTypeChecker();
|
|
35459
35476
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -35801,7 +35818,7 @@ function isStandaloneDeclaration(node, declarationsInMigration, templateTypeChec
|
|
|
35801
35818
|
return metadata != null && metadata.isStandalone;
|
|
35802
35819
|
}
|
|
35803
35820
|
|
|
35804
|
-
// bazel-out/
|
|
35821
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
35805
35822
|
function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles, componentImportRemapper) {
|
|
35806
35823
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
35807
35824
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -36177,7 +36194,7 @@ function hasImport(program, rootFileNames, moduleName) {
|
|
|
36177
36194
|
return false;
|
|
36178
36195
|
}
|
|
36179
36196
|
|
|
36180
|
-
// bazel-out/
|
|
36197
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
36181
36198
|
var MigrationMode;
|
|
36182
36199
|
(function(MigrationMode2) {
|
|
36183
36200
|
MigrationMode2["toStandalone"] = "convert-to-standalone";
|
|
@@ -36202,6 +36219,7 @@ function standalone_migration_default(options) {
|
|
|
36202
36219
|
}
|
|
36203
36220
|
context.logger.info("\u{1F389} Automated migration step has finished! \u{1F389}");
|
|
36204
36221
|
context.logger.info("IMPORTANT! Please verify manually that your application builds and behaves as expected.");
|
|
36222
|
+
context.logger.info(`See https://angular.io/guide/standalone-migration for more information.`);
|
|
36205
36223
|
});
|
|
36206
36224
|
}
|
|
36207
36225
|
function standaloneMigration(tree, tsconfigPath, basePath, pathToMigrate, schematicOptions, oldProgram) {
|