@angular/core 15.2.0-next.3 → 15.2.0-next.4
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/sanitization/inert_body.mjs +4 -56
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/logger.mjs +3 -3
- package/esm2020/testing/src/ng_zone_mock.mjs +3 -3
- package/fesm2015/core.mjs +5 -57
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +5 -57
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +5 -57
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +5 -57
- 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 +26 -11
- package/schematics/migrations/relative-link-resolution/bundle.js.map +2 -2
- package/schematics/migrations/router-link-with-href/bundle.js +29 -14
- package/schematics/migrations/router-link-with-href/bundle.js.map +2 -2
- package/schematics/ng-generate/standalone-migration/bundle.js +588 -438
- package/schematics/ng-generate/standalone-migration/bundle.js.map +3 -3
- package/testing/index.d.ts +1 -1
|
@@ -59,7 +59,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
59
59
|
});
|
|
60
60
|
};
|
|
61
61
|
|
|
62
|
-
// bazel-out/
|
|
62
|
+
// bazel-out/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
6253
6253
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
6254
6254
|
"inherit",
|
|
6255
6255
|
"initial",
|
|
@@ -6281,7 +6281,6 @@ var animationKeywords = /* @__PURE__ */ new Set([
|
|
|
6281
6281
|
]);
|
|
6282
6282
|
var ShadowCss = class {
|
|
6283
6283
|
constructor() {
|
|
6284
|
-
this.strictStyling = true;
|
|
6285
6284
|
this._animationDeclarationKeyframesRe = /(^|\s+)(?:(?:(['"])((?:\\\\|\\\2|(?!\2).)+)\2)|(-?[A-Za-z][\w\-]*))(?=[,\s]|$)/g;
|
|
6286
6285
|
}
|
|
6287
6286
|
shimCssText(cssText, selector, hostSelector = "") {
|
|
@@ -6403,7 +6402,7 @@ var ShadowCss = class {
|
|
|
6403
6402
|
let selector = rule.selector;
|
|
6404
6403
|
let content = rule.content;
|
|
6405
6404
|
if (rule.selector[0] !== "@") {
|
|
6406
|
-
selector = this._scopeSelector(rule.selector, scopeSelector, hostSelector
|
|
6405
|
+
selector = this._scopeSelector(rule.selector, scopeSelector, hostSelector);
|
|
6407
6406
|
} else if (rule.selector.startsWith("@media") || rule.selector.startsWith("@supports") || rule.selector.startsWith("@document") || rule.selector.startsWith("@layer") || rule.selector.startsWith("@container")) {
|
|
6408
6407
|
content = this._scopeSelectors(rule.content, scopeSelector, hostSelector);
|
|
6409
6408
|
} else if (rule.selector.startsWith("@font-face") || rule.selector.startsWith("@page")) {
|
|
@@ -6418,12 +6417,12 @@ var ShadowCss = class {
|
|
|
6418
6417
|
return new CssRule(selector, rule.content);
|
|
6419
6418
|
});
|
|
6420
6419
|
}
|
|
6421
|
-
_scopeSelector(selector, scopeSelector, hostSelector
|
|
6420
|
+
_scopeSelector(selector, scopeSelector, hostSelector) {
|
|
6422
6421
|
return selector.split(",").map((part) => part.trim().split(_shadowDeepSelectors)).map((deepParts) => {
|
|
6423
6422
|
const [shallowPart, ...otherParts] = deepParts;
|
|
6424
6423
|
const applyScope = (shallowPart2) => {
|
|
6425
6424
|
if (this._selectorNeedsScoping(shallowPart2, scopeSelector)) {
|
|
6426
|
-
return
|
|
6425
|
+
return this._applySelectorScope(shallowPart2, scopeSelector, hostSelector);
|
|
6427
6426
|
} else {
|
|
6428
6427
|
return shallowPart2;
|
|
6429
6428
|
}
|
|
@@ -6441,13 +6440,10 @@ var ShadowCss = class {
|
|
|
6441
6440
|
scopeSelector = scopeSelector.replace(lre, "\\[").replace(rre, "\\]");
|
|
6442
6441
|
return new RegExp("^(" + scopeSelector + ")" + _selectorReSuffix, "m");
|
|
6443
6442
|
}
|
|
6444
|
-
_applySelectorScope(selector, scopeSelector, hostSelector) {
|
|
6445
|
-
return this._applySimpleSelectorScope(selector, scopeSelector, hostSelector);
|
|
6446
|
-
}
|
|
6447
6443
|
_applySimpleSelectorScope(selector, scopeSelector, hostSelector) {
|
|
6448
6444
|
_polyfillHostRe.lastIndex = 0;
|
|
6449
6445
|
if (_polyfillHostRe.test(selector)) {
|
|
6450
|
-
const replaceBy =
|
|
6446
|
+
const replaceBy = `[${hostSelector}]`;
|
|
6451
6447
|
return selector.replace(_polyfillHostNoCombinatorRe, (hnc, selector2) => {
|
|
6452
6448
|
return selector2.replace(/([^:]*)(:*)(.*)/, (_, before, colon, after) => {
|
|
6453
6449
|
return before + replaceBy + colon + after;
|
|
@@ -6456,7 +6452,7 @@ var ShadowCss = class {
|
|
|
6456
6452
|
}
|
|
6457
6453
|
return scopeSelector + " " + selector;
|
|
6458
6454
|
}
|
|
6459
|
-
|
|
6455
|
+
_applySelectorScope(selector, scopeSelector, hostSelector) {
|
|
6460
6456
|
var _a;
|
|
6461
6457
|
const isRe = /\[is=([^\]]*)\]/g;
|
|
6462
6458
|
scopeSelector = scopeSelector.replace(isRe, (_, ...parts) => parts[0]);
|
|
@@ -6713,7 +6709,7 @@ function repeatGroups(groups, multiples) {
|
|
|
6713
6709
|
}
|
|
6714
6710
|
}
|
|
6715
6711
|
|
|
6716
|
-
// bazel-out/
|
|
6712
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
|
|
6717
6713
|
function parse(value) {
|
|
6718
6714
|
const styles = [];
|
|
6719
6715
|
let i = 0;
|
|
@@ -6789,7 +6785,7 @@ function hyphenate(value) {
|
|
|
6789
6785
|
}).toLowerCase();
|
|
6790
6786
|
}
|
|
6791
6787
|
|
|
6792
|
-
// bazel-out/
|
|
6788
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
|
|
6793
6789
|
var IMPORTANT_FLAG = "!important";
|
|
6794
6790
|
var MIN_STYLING_BINDING_SLOTS_REQUIRED = 2;
|
|
6795
6791
|
var StylingBuilder = class {
|
|
@@ -7122,7 +7118,7 @@ function isEmptyExpression(ast) {
|
|
|
7122
7118
|
return ast instanceof EmptyExpr;
|
|
7123
7119
|
}
|
|
7124
7120
|
|
|
7125
|
-
// bazel-out/
|
|
7121
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
7126
7122
|
var TokenType;
|
|
7127
7123
|
(function(TokenType2) {
|
|
7128
7124
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -7483,7 +7479,7 @@ function parseIntAutoRadix(text) {
|
|
|
7483
7479
|
return result;
|
|
7484
7480
|
}
|
|
7485
7481
|
|
|
7486
|
-
// bazel-out/
|
|
7482
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
7487
7483
|
var SplitInterpolation = class {
|
|
7488
7484
|
constructor(strings, expressions, offsets) {
|
|
7489
7485
|
this.strings = strings;
|
|
@@ -8377,7 +8373,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
8377
8373
|
return offsetMap;
|
|
8378
8374
|
}
|
|
8379
8375
|
|
|
8380
|
-
// bazel-out/
|
|
8376
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
8381
8377
|
var NodeWithI18n = class {
|
|
8382
8378
|
constructor(sourceSpan, i18n) {
|
|
8383
8379
|
this.sourceSpan = sourceSpan;
|
|
@@ -8465,7 +8461,7 @@ function visitAll2(visitor, nodes, context = null) {
|
|
|
8465
8461
|
return result;
|
|
8466
8462
|
}
|
|
8467
8463
|
|
|
8468
|
-
// bazel-out/
|
|
8464
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
8469
8465
|
var TagContentType;
|
|
8470
8466
|
(function(TagContentType2) {
|
|
8471
8467
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -8498,11 +8494,11 @@ function mergeNsAndName(prefix, localName) {
|
|
|
8498
8494
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
8499
8495
|
}
|
|
8500
8496
|
|
|
8501
|
-
// bazel-out/
|
|
8497
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
8502
8498
|
var ElementSchemaRegistry = class {
|
|
8503
8499
|
};
|
|
8504
8500
|
|
|
8505
|
-
// bazel-out/
|
|
8501
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
8506
8502
|
var BOOLEAN = "boolean";
|
|
8507
8503
|
var NUMBER = "number";
|
|
8508
8504
|
var STRING = "string";
|
|
@@ -8855,7 +8851,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
8855
8851
|
}
|
|
8856
8852
|
}
|
|
8857
8853
|
|
|
8858
|
-
// bazel-out/
|
|
8854
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
8859
8855
|
var HtmlTagDefinition = class {
|
|
8860
8856
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
8861
8857
|
this.closedByChildren = {};
|
|
@@ -8973,7 +8969,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
8973
8969
|
return (_b = (_a = TAG_DEFINITIONS[tagName]) != null ? _a : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b : DEFAULT_TAG_DEFINITION;
|
|
8974
8970
|
}
|
|
8975
8971
|
|
|
8976
|
-
// bazel-out/
|
|
8972
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
8977
8973
|
var NAMED_ENTITIES = {
|
|
8978
8974
|
"AElig": "\xC6",
|
|
8979
8975
|
"AMP": "&",
|
|
@@ -11104,7 +11100,7 @@ var NAMED_ENTITIES = {
|
|
|
11104
11100
|
var NGSP_UNICODE = "\uE500";
|
|
11105
11101
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
11106
11102
|
|
|
11107
|
-
// bazel-out/
|
|
11103
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
11108
11104
|
var TokenError = class extends ParseError {
|
|
11109
11105
|
constructor(errorMsg, tokenType, span) {
|
|
11110
11106
|
super(span, errorMsg);
|
|
@@ -11939,7 +11935,7 @@ var CursorError = class {
|
|
|
11939
11935
|
}
|
|
11940
11936
|
};
|
|
11941
11937
|
|
|
11942
|
-
// bazel-out/
|
|
11938
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
11943
11939
|
var TreeError = class extends ParseError {
|
|
11944
11940
|
static create(elementName, span, msg) {
|
|
11945
11941
|
return new TreeError(elementName, span, msg);
|
|
@@ -12266,7 +12262,7 @@ function decodeEntity(match, entity) {
|
|
|
12266
12262
|
return match;
|
|
12267
12263
|
}
|
|
12268
12264
|
|
|
12269
|
-
// bazel-out/
|
|
12265
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
12270
12266
|
var HtmlParser = class extends Parser2 {
|
|
12271
12267
|
constructor() {
|
|
12272
12268
|
super(getHtmlTagDefinition);
|
|
@@ -12276,7 +12272,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
12276
12272
|
}
|
|
12277
12273
|
};
|
|
12278
12274
|
|
|
12279
|
-
// bazel-out/
|
|
12275
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
12280
12276
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
12281
12277
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
12282
12278
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -12336,7 +12332,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
12336
12332
|
return result;
|
|
12337
12333
|
}
|
|
12338
12334
|
|
|
12339
|
-
// bazel-out/
|
|
12335
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
12340
12336
|
function mapLiteral(obj, quoted = false) {
|
|
12341
12337
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
12342
12338
|
key,
|
|
@@ -12345,7 +12341,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
12345
12341
|
})));
|
|
12346
12342
|
}
|
|
12347
12343
|
|
|
12348
|
-
// bazel-out/
|
|
12344
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
12349
12345
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
12350
12346
|
"iframe|srcdoc",
|
|
12351
12347
|
"*|innerhtml",
|
|
@@ -12360,7 +12356,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
12360
12356
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
12361
12357
|
}
|
|
12362
12358
|
|
|
12363
|
-
// bazel-out/
|
|
12359
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
12364
12360
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
12365
12361
|
var ATTRIBUTE_PREFIX = "attr";
|
|
12366
12362
|
var CLASS_PREFIX = "class";
|
|
@@ -12680,7 +12676,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
12680
12676
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
12681
12677
|
}
|
|
12682
12678
|
|
|
12683
|
-
// bazel-out/
|
|
12679
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
12684
12680
|
function isStyleUrlResolvable(url) {
|
|
12685
12681
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
12686
12682
|
return false;
|
|
@@ -12689,7 +12685,7 @@ function isStyleUrlResolvable(url) {
|
|
|
12689
12685
|
}
|
|
12690
12686
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
12691
12687
|
|
|
12692
|
-
// bazel-out/
|
|
12688
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
12693
12689
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
12694
12690
|
var LINK_ELEMENT = "link";
|
|
12695
12691
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -12759,7 +12755,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
12759
12755
|
return selectAttr;
|
|
12760
12756
|
}
|
|
12761
12757
|
|
|
12762
|
-
// bazel-out/
|
|
12758
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
12763
12759
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
12764
12760
|
var KW_BIND_IDX = 1;
|
|
12765
12761
|
var KW_LET_IDX = 2;
|
|
@@ -13107,7 +13103,7 @@ function textContents(node) {
|
|
|
13107
13103
|
}
|
|
13108
13104
|
}
|
|
13109
13105
|
|
|
13110
|
-
// bazel-out/
|
|
13106
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
|
|
13111
13107
|
var TagType;
|
|
13112
13108
|
(function(TagType2) {
|
|
13113
13109
|
TagType2[TagType2["ELEMENT"] = 0] = "ELEMENT";
|
|
@@ -13242,7 +13238,7 @@ function serializePlaceholderValue(value) {
|
|
|
13242
13238
|
}
|
|
13243
13239
|
}
|
|
13244
13240
|
|
|
13245
|
-
// bazel-out/
|
|
13241
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
13246
13242
|
var IcuSerializerVisitor = class {
|
|
13247
13243
|
visitText(text) {
|
|
13248
13244
|
return text.value;
|
|
@@ -13273,7 +13269,7 @@ function serializeIcuNode(icu) {
|
|
|
13273
13269
|
return icu.visit(serializer);
|
|
13274
13270
|
}
|
|
13275
13271
|
|
|
13276
|
-
// bazel-out/
|
|
13272
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
13277
13273
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
13278
13274
|
"A": "LINK",
|
|
13279
13275
|
"B": "BOLD_TEXT",
|
|
@@ -13367,7 +13363,7 @@ var PlaceholderRegistry = class {
|
|
|
13367
13363
|
}
|
|
13368
13364
|
};
|
|
13369
13365
|
|
|
13370
|
-
// bazel-out/
|
|
13366
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
13371
13367
|
var _expParser = new Parser(new Lexer());
|
|
13372
13368
|
function createI18nMessageFactory(interpolationConfig) {
|
|
13373
13369
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig);
|
|
@@ -13522,14 +13518,14 @@ function extractPlaceholderName(input) {
|
|
|
13522
13518
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
13523
13519
|
}
|
|
13524
13520
|
|
|
13525
|
-
// bazel-out/
|
|
13521
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
13526
13522
|
var I18nError = class extends ParseError {
|
|
13527
13523
|
constructor(span, msg) {
|
|
13528
13524
|
super(span, msg);
|
|
13529
13525
|
}
|
|
13530
13526
|
};
|
|
13531
13527
|
|
|
13532
|
-
// bazel-out/
|
|
13528
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
13533
13529
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
13534
13530
|
if (htmlNode instanceof NodeWithI18n) {
|
|
13535
13531
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -13678,7 +13674,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
13678
13674
|
return jsDocComment(tags);
|
|
13679
13675
|
}
|
|
13680
13676
|
|
|
13681
|
-
// bazel-out/
|
|
13677
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
13682
13678
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
13683
13679
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
13684
13680
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -13726,7 +13722,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
13726
13722
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
13727
13723
|
}
|
|
13728
13724
|
|
|
13729
|
-
// bazel-out/
|
|
13725
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
13730
13726
|
function createLocalizeStatements(variable2, message, params) {
|
|
13731
13727
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
13732
13728
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -13809,7 +13805,7 @@ function createEmptyMessagePart(location) {
|
|
|
13809
13805
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
13810
13806
|
}
|
|
13811
13807
|
|
|
13812
|
-
// bazel-out/
|
|
13808
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
13813
13809
|
var NG_CONTENT_SELECT_ATTR2 = "select";
|
|
13814
13810
|
var NG_PROJECT_AS_ATTR_NAME = "ngProjectAs";
|
|
13815
13811
|
var EVENT_BINDING_SCOPE_GLOBALS = /* @__PURE__ */ new Set(["$event"]);
|
|
@@ -15111,7 +15107,7 @@ function createClosureModeGuard() {
|
|
|
15111
15107
|
return typeofExpr(variable(NG_I18N_CLOSURE_MODE)).notIdentical(literal("undefined", STRING_TYPE)).and(variable(NG_I18N_CLOSURE_MODE));
|
|
15112
15108
|
}
|
|
15113
15109
|
|
|
15114
|
-
// bazel-out/
|
|
15110
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
15115
15111
|
var ATTR_REGEX = /attr\.([^\]]+)/;
|
|
15116
15112
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
15117
15113
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
@@ -15630,11 +15626,11 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
15630
15626
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
15631
15627
|
}
|
|
15632
15628
|
|
|
15633
|
-
// bazel-out/
|
|
15629
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
15634
15630
|
var ResourceLoader = class {
|
|
15635
15631
|
};
|
|
15636
15632
|
|
|
15637
|
-
// bazel-out/
|
|
15633
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
15638
15634
|
var CompilerFacadeImpl = class {
|
|
15639
15635
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
15640
15636
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -16117,10 +16113,10 @@ function publishFacade(global2) {
|
|
|
16117
16113
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
16118
16114
|
}
|
|
16119
16115
|
|
|
16120
|
-
// bazel-out/
|
|
16121
|
-
var VERSION2 = new Version("15.2.0-next.
|
|
16116
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
|
|
16117
|
+
var VERSION2 = new Version("15.2.0-next.4");
|
|
16122
16118
|
|
|
16123
|
-
// bazel-out/
|
|
16119
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
16124
16120
|
var _I18N_ATTR = "i18n";
|
|
16125
16121
|
var _I18N_ATTR_PREFIX = "i18n-";
|
|
16126
16122
|
var _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;
|
|
@@ -16424,7 +16420,7 @@ function _parseMessageMeta(i18n) {
|
|
|
16424
16420
|
return { meaning, description, id: id.trim() };
|
|
16425
16421
|
}
|
|
16426
16422
|
|
|
16427
|
-
// bazel-out/
|
|
16423
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
16428
16424
|
var XmlTagDefinition = class {
|
|
16429
16425
|
constructor() {
|
|
16430
16426
|
this.closedByParent = false;
|
|
@@ -16448,7 +16444,7 @@ function getXmlTagDefinition(tagName) {
|
|
|
16448
16444
|
return _TAG_DEFINITION;
|
|
16449
16445
|
}
|
|
16450
16446
|
|
|
16451
|
-
// bazel-out/
|
|
16447
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
|
|
16452
16448
|
var XmlParser = class extends Parser2 {
|
|
16453
16449
|
constructor() {
|
|
16454
16450
|
super(getXmlTagDefinition);
|
|
@@ -16458,7 +16454,7 @@ var XmlParser = class extends Parser2 {
|
|
|
16458
16454
|
}
|
|
16459
16455
|
};
|
|
16460
16456
|
|
|
16461
|
-
// bazel-out/
|
|
16457
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
|
|
16462
16458
|
var _VERSION = "1.2";
|
|
16463
16459
|
var _XMLNS = "urn:oasis:names:tc:xliff:document:1.2";
|
|
16464
16460
|
var _DEFAULT_SOURCE_LANG = "en";
|
|
@@ -16698,7 +16694,7 @@ function getCtypeForTag(tag) {
|
|
|
16698
16694
|
}
|
|
16699
16695
|
}
|
|
16700
16696
|
|
|
16701
|
-
// bazel-out/
|
|
16697
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
|
|
16702
16698
|
var _VERSION2 = "2.0";
|
|
16703
16699
|
var _XMLNS2 = "urn:oasis:names:tc:xliff:document:2.0";
|
|
16704
16700
|
var _DEFAULT_SOURCE_LANG2 = "en";
|
|
@@ -16986,7 +16982,7 @@ function getTypeForTag(tag) {
|
|
|
16986
16982
|
}
|
|
16987
16983
|
}
|
|
16988
16984
|
|
|
16989
|
-
// bazel-out/
|
|
16985
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
|
|
16990
16986
|
var MessageBundle = class {
|
|
16991
16987
|
constructor(_htmlParser, _implicitTags, _implicitAttrs, _locale = null) {
|
|
16992
16988
|
this._htmlParser = _htmlParser;
|
|
@@ -17053,7 +17049,7 @@ var MapPlaceholderNames = class extends CloneVisitor {
|
|
|
17053
17049
|
}
|
|
17054
17050
|
};
|
|
17055
17051
|
|
|
17056
|
-
// bazel-out/
|
|
17052
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
17057
17053
|
var FactoryTarget2;
|
|
17058
17054
|
(function(FactoryTarget3) {
|
|
17059
17055
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -17063,7 +17059,7 @@ var FactoryTarget2;
|
|
|
17063
17059
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
17064
17060
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
17065
17061
|
|
|
17066
|
-
// bazel-out/
|
|
17062
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
17067
17063
|
var R3TargetBinder = class {
|
|
17068
17064
|
constructor(directiveMatcher) {
|
|
17069
17065
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -17415,7 +17411,7 @@ function extractTemplateEntities(rootScope) {
|
|
|
17415
17411
|
return templateEntities;
|
|
17416
17412
|
}
|
|
17417
17413
|
|
|
17418
|
-
// bazel-out/
|
|
17414
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
|
|
17419
17415
|
function compileClassMetadata(metadata) {
|
|
17420
17416
|
var _a, _b;
|
|
17421
17417
|
const fnCall = importExpr(Identifiers.setClassMetadata).callFn([
|
|
@@ -17428,12 +17424,12 @@ function compileClassMetadata(metadata) {
|
|
|
17428
17424
|
return iife.callFn([]);
|
|
17429
17425
|
}
|
|
17430
17426
|
|
|
17431
|
-
// bazel-out/
|
|
17427
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
|
|
17432
17428
|
var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
|
|
17433
17429
|
function compileDeclareClassMetadata(metadata) {
|
|
17434
17430
|
const definitionMap = new DefinitionMap();
|
|
17435
17431
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
17436
|
-
definitionMap.set("version", literal("15.2.0-next.
|
|
17432
|
+
definitionMap.set("version", literal("15.2.0-next.4"));
|
|
17437
17433
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
17438
17434
|
definitionMap.set("type", metadata.type);
|
|
17439
17435
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -17442,7 +17438,7 @@ function compileDeclareClassMetadata(metadata) {
|
|
|
17442
17438
|
return importExpr(Identifiers.declareClassMetadata).callFn([definitionMap.toLiteralMap()]);
|
|
17443
17439
|
}
|
|
17444
17440
|
|
|
17445
|
-
// bazel-out/
|
|
17441
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
|
|
17446
17442
|
function toOptionalLiteralArray(values, mapper) {
|
|
17447
17443
|
if (values === null || values.length === 0) {
|
|
17448
17444
|
return null;
|
|
@@ -17490,7 +17486,7 @@ function compileDependency(dep) {
|
|
|
17490
17486
|
return depMeta.toLiteralMap();
|
|
17491
17487
|
}
|
|
17492
17488
|
|
|
17493
|
-
// bazel-out/
|
|
17489
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
|
|
17494
17490
|
var MINIMUM_PARTIAL_LINKER_VERSION2 = "14.0.0";
|
|
17495
17491
|
function compileDeclareDirectiveFromMetadata(meta) {
|
|
17496
17492
|
const definitionMap = createDirectiveDefinitionMap(meta);
|
|
@@ -17502,7 +17498,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
17502
17498
|
var _a;
|
|
17503
17499
|
const definitionMap = new DefinitionMap();
|
|
17504
17500
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
|
|
17505
|
-
definitionMap.set("version", literal("15.2.0-next.
|
|
17501
|
+
definitionMap.set("version", literal("15.2.0-next.4"));
|
|
17506
17502
|
definitionMap.set("type", meta.internalType);
|
|
17507
17503
|
if (meta.isStandalone) {
|
|
17508
17504
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -17592,7 +17588,7 @@ function createHostDirectives(hostDirectives) {
|
|
|
17592
17588
|
return literalArr(expressions);
|
|
17593
17589
|
}
|
|
17594
17590
|
|
|
17595
|
-
// bazel-out/
|
|
17591
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
|
|
17596
17592
|
function compileDeclareComponentFromMetadata(meta, template, additionalTemplateInfo) {
|
|
17597
17593
|
const definitionMap = createComponentDefinitionMap(meta, template, additionalTemplateInfo);
|
|
17598
17594
|
const expression = importExpr(Identifiers.declareComponent).callFn([definitionMap.toLiteralMap()]);
|
|
@@ -17679,12 +17675,12 @@ function compileUsedDependenciesMetadata(meta) {
|
|
|
17679
17675
|
});
|
|
17680
17676
|
}
|
|
17681
17677
|
|
|
17682
|
-
// bazel-out/
|
|
17678
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
|
|
17683
17679
|
var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
|
|
17684
17680
|
function compileDeclareFactoryFunction(meta) {
|
|
17685
17681
|
const definitionMap = new DefinitionMap();
|
|
17686
17682
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
|
|
17687
|
-
definitionMap.set("version", literal("15.2.0-next.
|
|
17683
|
+
definitionMap.set("version", literal("15.2.0-next.4"));
|
|
17688
17684
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
17689
17685
|
definitionMap.set("type", meta.internalType);
|
|
17690
17686
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -17696,7 +17692,7 @@ function compileDeclareFactoryFunction(meta) {
|
|
|
17696
17692
|
};
|
|
17697
17693
|
}
|
|
17698
17694
|
|
|
17699
|
-
// bazel-out/
|
|
17695
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
|
|
17700
17696
|
var MINIMUM_PARTIAL_LINKER_VERSION4 = "12.0.0";
|
|
17701
17697
|
function compileDeclareInjectableFromMetadata(meta) {
|
|
17702
17698
|
const definitionMap = createInjectableDefinitionMap(meta);
|
|
@@ -17707,7 +17703,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
17707
17703
|
function createInjectableDefinitionMap(meta) {
|
|
17708
17704
|
const definitionMap = new DefinitionMap();
|
|
17709
17705
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
|
|
17710
|
-
definitionMap.set("version", literal("15.2.0-next.
|
|
17706
|
+
definitionMap.set("version", literal("15.2.0-next.4"));
|
|
17711
17707
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
17712
17708
|
definitionMap.set("type", meta.internalType);
|
|
17713
17709
|
if (meta.providedIn !== void 0) {
|
|
@@ -17734,7 +17730,7 @@ function createInjectableDefinitionMap(meta) {
|
|
|
17734
17730
|
return definitionMap;
|
|
17735
17731
|
}
|
|
17736
17732
|
|
|
17737
|
-
// bazel-out/
|
|
17733
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
|
|
17738
17734
|
var MINIMUM_PARTIAL_LINKER_VERSION5 = "12.0.0";
|
|
17739
17735
|
function compileDeclareInjectorFromMetadata(meta) {
|
|
17740
17736
|
const definitionMap = createInjectorDefinitionMap(meta);
|
|
@@ -17745,7 +17741,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
17745
17741
|
function createInjectorDefinitionMap(meta) {
|
|
17746
17742
|
const definitionMap = new DefinitionMap();
|
|
17747
17743
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
|
|
17748
|
-
definitionMap.set("version", literal("15.2.0-next.
|
|
17744
|
+
definitionMap.set("version", literal("15.2.0-next.4"));
|
|
17749
17745
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
17750
17746
|
definitionMap.set("type", meta.internalType);
|
|
17751
17747
|
definitionMap.set("providers", meta.providers);
|
|
@@ -17755,7 +17751,7 @@ function createInjectorDefinitionMap(meta) {
|
|
|
17755
17751
|
return definitionMap;
|
|
17756
17752
|
}
|
|
17757
17753
|
|
|
17758
|
-
// bazel-out/
|
|
17754
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
|
|
17759
17755
|
var MINIMUM_PARTIAL_LINKER_VERSION6 = "14.0.0";
|
|
17760
17756
|
function compileDeclareNgModuleFromMetadata(meta) {
|
|
17761
17757
|
const definitionMap = createNgModuleDefinitionMap(meta);
|
|
@@ -17766,7 +17762,7 @@ function compileDeclareNgModuleFromMetadata(meta) {
|
|
|
17766
17762
|
function createNgModuleDefinitionMap(meta) {
|
|
17767
17763
|
const definitionMap = new DefinitionMap();
|
|
17768
17764
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
|
|
17769
|
-
definitionMap.set("version", literal("15.2.0-next.
|
|
17765
|
+
definitionMap.set("version", literal("15.2.0-next.4"));
|
|
17770
17766
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
17771
17767
|
definitionMap.set("type", meta.internalType);
|
|
17772
17768
|
if (meta.bootstrap.length > 0) {
|
|
@@ -17790,7 +17786,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
17790
17786
|
return definitionMap;
|
|
17791
17787
|
}
|
|
17792
17788
|
|
|
17793
|
-
// bazel-out/
|
|
17789
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
|
|
17794
17790
|
var MINIMUM_PARTIAL_LINKER_VERSION7 = "14.0.0";
|
|
17795
17791
|
function compileDeclarePipeFromMetadata(meta) {
|
|
17796
17792
|
const definitionMap = createPipeDefinitionMap(meta);
|
|
@@ -17801,7 +17797,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
17801
17797
|
function createPipeDefinitionMap(meta) {
|
|
17802
17798
|
const definitionMap = new DefinitionMap();
|
|
17803
17799
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION7));
|
|
17804
|
-
definitionMap.set("version", literal("15.2.0-next.
|
|
17800
|
+
definitionMap.set("version", literal("15.2.0-next.4"));
|
|
17805
17801
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
17806
17802
|
definitionMap.set("type", meta.internalType);
|
|
17807
17803
|
if (meta.isStandalone) {
|
|
@@ -17814,13 +17810,13 @@ function createPipeDefinitionMap(meta) {
|
|
|
17814
17810
|
return definitionMap;
|
|
17815
17811
|
}
|
|
17816
17812
|
|
|
17817
|
-
// bazel-out/
|
|
17813
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
17818
17814
|
publishFacade(_global);
|
|
17819
17815
|
|
|
17820
|
-
// bazel-out/
|
|
17821
|
-
var VERSION3 = new Version("15.2.0-next.
|
|
17816
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
17817
|
+
var VERSION3 = new Version("15.2.0-next.4");
|
|
17822
17818
|
|
|
17823
|
-
// bazel-out/
|
|
17819
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
17824
17820
|
var EmitFlags;
|
|
17825
17821
|
(function(EmitFlags2) {
|
|
17826
17822
|
EmitFlags2[EmitFlags2["DTS"] = 1] = "DTS";
|
|
@@ -17832,13 +17828,13 @@ var EmitFlags;
|
|
|
17832
17828
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
17833
17829
|
})(EmitFlags || (EmitFlags = {}));
|
|
17834
17830
|
|
|
17835
|
-
// bazel-out/
|
|
17831
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
17836
17832
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
17837
17833
|
|
|
17838
|
-
// bazel-out/
|
|
17834
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
17839
17835
|
var import_typescript97 = __toESM(require("typescript"), 1);
|
|
17840
17836
|
|
|
17841
|
-
// bazel-out/
|
|
17837
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
17842
17838
|
var path = __toESM(require("path"), 1);
|
|
17843
17839
|
function i18nGetExtension(formatName) {
|
|
17844
17840
|
const format = formatName.toLowerCase();
|
|
@@ -17888,10 +17884,10 @@ function getPathNormalizer(basePath) {
|
|
|
17888
17884
|
};
|
|
17889
17885
|
}
|
|
17890
17886
|
|
|
17891
|
-
// bazel-out/
|
|
17887
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
17892
17888
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
17893
17889
|
|
|
17894
|
-
// bazel-out/
|
|
17890
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
17895
17891
|
function toNumbers(value) {
|
|
17896
17892
|
const suffixIndex = value.lastIndexOf("-");
|
|
17897
17893
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -17926,7 +17922,7 @@ function compareVersions(v1, v2) {
|
|
|
17926
17922
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
17927
17923
|
}
|
|
17928
17924
|
|
|
17929
|
-
// bazel-out/
|
|
17925
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
17930
17926
|
var MIN_TS_VERSION = "4.8.2";
|
|
17931
17927
|
var MAX_TS_VERSION = "5.0.0";
|
|
17932
17928
|
var tsVersion = import_typescript3.default.version;
|
|
@@ -17939,13 +17935,13 @@ function verifySupportedTypeScriptVersion() {
|
|
|
17939
17935
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
17940
17936
|
}
|
|
17941
17937
|
|
|
17942
|
-
// bazel-out/
|
|
17938
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
17943
17939
|
var import_typescript93 = __toESM(require("typescript"), 1);
|
|
17944
17940
|
|
|
17945
|
-
// bazel-out/
|
|
17941
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
17946
17942
|
var import_typescript19 = __toESM(require("typescript"), 1);
|
|
17947
17943
|
|
|
17948
|
-
// bazel-out/
|
|
17944
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
17949
17945
|
var ErrorCode;
|
|
17950
17946
|
(function(ErrorCode2) {
|
|
17951
17947
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -18015,7 +18011,7 @@ var ErrorCode;
|
|
|
18015
18011
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
18016
18012
|
})(ErrorCode || (ErrorCode = {}));
|
|
18017
18013
|
|
|
18018
|
-
// bazel-out/
|
|
18014
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
18019
18015
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
18020
18016
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
18021
18017
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -18027,15 +18023,15 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
18027
18023
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
18028
18024
|
]);
|
|
18029
18025
|
|
|
18030
|
-
// bazel-out/
|
|
18026
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
18031
18027
|
var import_typescript4 = __toESM(require("typescript"), 1);
|
|
18032
18028
|
|
|
18033
|
-
// bazel-out/
|
|
18029
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
18034
18030
|
function ngErrorCode(code) {
|
|
18035
18031
|
return parseInt("-99" + code);
|
|
18036
18032
|
}
|
|
18037
18033
|
|
|
18038
|
-
// bazel-out/
|
|
18034
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
18039
18035
|
var FatalDiagnosticError = class {
|
|
18040
18036
|
constructor(code, node, message, relatedInformation) {
|
|
18041
18037
|
this.code = code;
|
|
@@ -18091,10 +18087,10 @@ function addDiagnosticChain(messageText, add) {
|
|
|
18091
18087
|
return messageText;
|
|
18092
18088
|
}
|
|
18093
18089
|
|
|
18094
|
-
// bazel-out/
|
|
18090
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
18095
18091
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
18096
18092
|
|
|
18097
|
-
// bazel-out/
|
|
18093
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
18098
18094
|
var ExtendedTemplateDiagnosticName;
|
|
18099
18095
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
18100
18096
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -18106,7 +18102,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
18106
18102
|
ExtendedTemplateDiagnosticName2["SUFFIX_NOT_SUPPORTED"] = "suffixNotSupported";
|
|
18107
18103
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
18108
18104
|
|
|
18109
|
-
// bazel-out/
|
|
18105
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
18110
18106
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
18111
18107
|
var Decorator = {
|
|
18112
18108
|
nodeForError: (decorator) => {
|
|
@@ -18141,7 +18137,7 @@ function isConcreteDeclaration(decl) {
|
|
|
18141
18137
|
return decl.kind === 0;
|
|
18142
18138
|
}
|
|
18143
18139
|
|
|
18144
|
-
// bazel-out/
|
|
18140
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
18145
18141
|
var import_typescript6 = __toESM(require("typescript"), 1);
|
|
18146
18142
|
function typeToValue(typeNode, checker) {
|
|
18147
18143
|
if (typeNode === null) {
|
|
@@ -18307,10 +18303,10 @@ function extractModuleName(node) {
|
|
|
18307
18303
|
return node.moduleSpecifier.text;
|
|
18308
18304
|
}
|
|
18309
18305
|
|
|
18310
|
-
// bazel-out/
|
|
18306
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
18311
18307
|
var import_typescript8 = __toESM(require("typescript"), 1);
|
|
18312
18308
|
|
|
18313
|
-
// bazel-out/
|
|
18309
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
18314
18310
|
var import_typescript7 = __toESM(require("typescript"), 1);
|
|
18315
18311
|
function isNamedClassDeclaration(node) {
|
|
18316
18312
|
return import_typescript7.default.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -18319,7 +18315,7 @@ function isIdentifier(node) {
|
|
|
18319
18315
|
return node !== void 0 && import_typescript7.default.isIdentifier(node);
|
|
18320
18316
|
}
|
|
18321
18317
|
|
|
18322
|
-
// bazel-out/
|
|
18318
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
18323
18319
|
var TypeScriptReflectionHost = class {
|
|
18324
18320
|
constructor(checker) {
|
|
18325
18321
|
this.checker = checker;
|
|
@@ -18755,13 +18751,13 @@ function getExportedName(decl, originalId) {
|
|
|
18755
18751
|
}
|
|
18756
18752
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
18757
18753
|
|
|
18758
|
-
// bazel-out/
|
|
18754
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
18759
18755
|
var import_typescript18 = __toESM(require("typescript"), 1);
|
|
18760
18756
|
|
|
18761
|
-
// bazel-out/
|
|
18757
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
18762
18758
|
var import_typescript12 = __toESM(require("typescript"), 1);
|
|
18763
18759
|
|
|
18764
|
-
// bazel-out/
|
|
18760
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
18765
18761
|
var import_typescript10 = __toESM(require("typescript"), 1);
|
|
18766
18762
|
var TS = /\.tsx?$/i;
|
|
18767
18763
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -18862,7 +18858,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
18862
18858
|
return redirectInfo.unredirected;
|
|
18863
18859
|
}
|
|
18864
18860
|
|
|
18865
|
-
// bazel-out/
|
|
18861
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
18866
18862
|
function findExportedNameOfNode(target, file, reflector) {
|
|
18867
18863
|
const exports = reflector.getExportsOfModule(file);
|
|
18868
18864
|
if (exports === null) {
|
|
@@ -18882,7 +18878,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
18882
18878
|
return foundExportName;
|
|
18883
18879
|
}
|
|
18884
18880
|
|
|
18885
|
-
// bazel-out/
|
|
18881
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
18886
18882
|
var ImportFlags;
|
|
18887
18883
|
(function(ImportFlags2) {
|
|
18888
18884
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -19098,7 +19094,7 @@ var UnifiedModulesStrategy = class {
|
|
|
19098
19094
|
}
|
|
19099
19095
|
};
|
|
19100
19096
|
|
|
19101
|
-
// bazel-out/
|
|
19097
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
19102
19098
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
19103
19099
|
var UnifiedModulesAliasingHost = class {
|
|
19104
19100
|
constructor(unifiedModulesHost) {
|
|
@@ -19165,7 +19161,7 @@ var AliasStrategy = class {
|
|
|
19165
19161
|
}
|
|
19166
19162
|
};
|
|
19167
19163
|
|
|
19168
|
-
// bazel-out/
|
|
19164
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
19169
19165
|
function relativePathBetween(from, to) {
|
|
19170
19166
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
19171
19167
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -19174,7 +19170,7 @@ function normalizeSeparators2(path3) {
|
|
|
19174
19170
|
return path3.replace(/\\/g, "/");
|
|
19175
19171
|
}
|
|
19176
19172
|
|
|
19177
|
-
// bazel-out/
|
|
19173
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
19178
19174
|
var NoopImportRewriter = class {
|
|
19179
19175
|
shouldImportSymbol(symbol, specifier) {
|
|
19180
19176
|
return true;
|
|
@@ -19232,7 +19228,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
19232
19228
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
19233
19229
|
}
|
|
19234
19230
|
|
|
19235
|
-
// bazel-out/
|
|
19231
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
19236
19232
|
var import_typescript14 = __toESM(require("typescript"), 1);
|
|
19237
19233
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
19238
19234
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
@@ -19277,7 +19273,7 @@ var DefaultImportTracker = class {
|
|
|
19277
19273
|
}
|
|
19278
19274
|
};
|
|
19279
19275
|
|
|
19280
|
-
// bazel-out/
|
|
19276
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
19281
19277
|
var Reference2 = class {
|
|
19282
19278
|
constructor(node, bestGuessOwningModule = null) {
|
|
19283
19279
|
this.node = node;
|
|
@@ -19340,7 +19336,7 @@ var Reference2 = class {
|
|
|
19340
19336
|
}
|
|
19341
19337
|
};
|
|
19342
19338
|
|
|
19343
|
-
// bazel-out/
|
|
19339
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
19344
19340
|
var ModuleResolver = class {
|
|
19345
19341
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
19346
19342
|
this.program = program;
|
|
@@ -19357,7 +19353,7 @@ var ModuleResolver = class {
|
|
|
19357
19353
|
}
|
|
19358
19354
|
};
|
|
19359
19355
|
|
|
19360
|
-
// bazel-out/
|
|
19356
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
19361
19357
|
function valueReferenceToExpression(valueRef) {
|
|
19362
19358
|
if (valueRef.kind === 2) {
|
|
19363
19359
|
return null;
|
|
@@ -19594,7 +19590,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
19594
19590
|
return clazz.modifiers !== void 0 && clazz.modifiers.some((mod) => mod.kind === import_typescript18.default.SyntaxKind.AbstractKeyword);
|
|
19595
19591
|
}
|
|
19596
19592
|
|
|
19597
|
-
// bazel-out/
|
|
19593
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
19598
19594
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
19599
19595
|
const deps = [];
|
|
19600
19596
|
const errors = [];
|
|
@@ -19736,10 +19732,10 @@ function createUnsuitableInjectionTokenError(clazz, error2) {
|
|
|
19736
19732
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
19737
19733
|
}
|
|
19738
19734
|
|
|
19739
|
-
// bazel-out/
|
|
19735
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
19740
19736
|
var import_typescript27 = __toESM(require("typescript"), 1);
|
|
19741
19737
|
|
|
19742
|
-
// bazel-out/
|
|
19738
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
19743
19739
|
var MetaKind;
|
|
19744
19740
|
(function(MetaKind2) {
|
|
19745
19741
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -19752,10 +19748,10 @@ var MatchSource;
|
|
|
19752
19748
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
19753
19749
|
})(MatchSource || (MatchSource = {}));
|
|
19754
19750
|
|
|
19755
|
-
// bazel-out/
|
|
19751
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
19756
19752
|
var import_typescript22 = __toESM(require("typescript"), 1);
|
|
19757
19753
|
|
|
19758
|
-
// bazel-out/
|
|
19754
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
19759
19755
|
var ClassPropertyMapping = class {
|
|
19760
19756
|
constructor(forwardMap) {
|
|
19761
19757
|
this.forwardMap = forwardMap;
|
|
@@ -19831,7 +19827,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
19831
19827
|
return reverseMap;
|
|
19832
19828
|
}
|
|
19833
19829
|
|
|
19834
|
-
// bazel-out/
|
|
19830
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
19835
19831
|
var import_typescript20 = __toESM(require("typescript"), 1);
|
|
19836
19832
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
19837
19833
|
if (!import_typescript20.default.isTupleTypeNode(def)) {
|
|
@@ -20013,7 +20009,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
20013
20009
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
20014
20010
|
}
|
|
20015
20011
|
|
|
20016
|
-
// bazel-out/
|
|
20012
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
20017
20013
|
var DtsMetadataReader = class {
|
|
20018
20014
|
constructor(checker, reflector) {
|
|
20019
20015
|
this.checker = checker;
|
|
@@ -20152,7 +20148,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
20152
20148
|
return result.length > 0 ? result : null;
|
|
20153
20149
|
}
|
|
20154
20150
|
|
|
20155
|
-
// bazel-out/
|
|
20151
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
20156
20152
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
20157
20153
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
20158
20154
|
if (topMeta === null) {
|
|
@@ -20209,7 +20205,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
20209
20205
|
});
|
|
20210
20206
|
}
|
|
20211
20207
|
|
|
20212
|
-
// bazel-out/
|
|
20208
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
20213
20209
|
var LocalMetadataRegistry = class {
|
|
20214
20210
|
constructor() {
|
|
20215
20211
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -20266,7 +20262,7 @@ var CompoundMetadataRegistry = class {
|
|
|
20266
20262
|
}
|
|
20267
20263
|
};
|
|
20268
20264
|
|
|
20269
|
-
// bazel-out/
|
|
20265
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
20270
20266
|
var ResourceRegistry = class {
|
|
20271
20267
|
constructor() {
|
|
20272
20268
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -20331,7 +20327,7 @@ var ResourceRegistry = class {
|
|
|
20331
20327
|
}
|
|
20332
20328
|
};
|
|
20333
20329
|
|
|
20334
|
-
// bazel-out/
|
|
20330
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
20335
20331
|
var EMPTY_ARRAY = [];
|
|
20336
20332
|
var HostDirectivesResolver = class {
|
|
20337
20333
|
constructor(metaReader) {
|
|
@@ -20381,10 +20377,10 @@ var HostDirectivesResolver = class {
|
|
|
20381
20377
|
}
|
|
20382
20378
|
};
|
|
20383
20379
|
|
|
20384
|
-
// bazel-out/
|
|
20380
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
20385
20381
|
var import_typescript24 = __toESM(require("typescript"), 1);
|
|
20386
20382
|
|
|
20387
|
-
// bazel-out/
|
|
20383
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
20388
20384
|
var DynamicValue = class {
|
|
20389
20385
|
constructor(node, reason, code) {
|
|
20390
20386
|
this.node = node;
|
|
@@ -20474,7 +20470,7 @@ var DynamicValue = class {
|
|
|
20474
20470
|
}
|
|
20475
20471
|
};
|
|
20476
20472
|
|
|
20477
|
-
// bazel-out/
|
|
20473
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
20478
20474
|
var ResolvedModule = class {
|
|
20479
20475
|
constructor(exports, evaluate) {
|
|
20480
20476
|
this.exports = exports;
|
|
@@ -20504,7 +20500,7 @@ var EnumValue = class {
|
|
|
20504
20500
|
var KnownFn = class {
|
|
20505
20501
|
};
|
|
20506
20502
|
|
|
20507
|
-
// bazel-out/
|
|
20503
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
20508
20504
|
function describeResolvedType(value, maxDepth = 1) {
|
|
20509
20505
|
var _a, _b;
|
|
20510
20506
|
if (value === null) {
|
|
@@ -20633,10 +20629,10 @@ function getContainerNode(node) {
|
|
|
20633
20629
|
return node.getSourceFile();
|
|
20634
20630
|
}
|
|
20635
20631
|
|
|
20636
|
-
// bazel-out/
|
|
20632
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
20637
20633
|
var import_typescript25 = __toESM(require("typescript"), 1);
|
|
20638
20634
|
|
|
20639
|
-
// bazel-out/
|
|
20635
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
20640
20636
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
20641
20637
|
constructor(lhs) {
|
|
20642
20638
|
super();
|
|
@@ -20707,7 +20703,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
20707
20703
|
}
|
|
20708
20704
|
};
|
|
20709
20705
|
|
|
20710
|
-
// bazel-out/
|
|
20706
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
20711
20707
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
20712
20708
|
};
|
|
20713
20709
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -20760,7 +20756,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
20760
20756
|
}
|
|
20761
20757
|
};
|
|
20762
20758
|
|
|
20763
|
-
// bazel-out/
|
|
20759
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
20764
20760
|
var jsGlobalObjectValue = /* @__PURE__ */ new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
20765
20761
|
var assignTsHelperFn = new AssignHelperFn();
|
|
20766
20762
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -20784,14 +20780,14 @@ function resolveKnownDeclaration(decl) {
|
|
|
20784
20780
|
}
|
|
20785
20781
|
}
|
|
20786
20782
|
|
|
20787
|
-
// bazel-out/
|
|
20783
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
20788
20784
|
var SyntheticValue = class {
|
|
20789
20785
|
constructor(value) {
|
|
20790
20786
|
this.value = value;
|
|
20791
20787
|
}
|
|
20792
20788
|
};
|
|
20793
20789
|
|
|
20794
|
-
// bazel-out/
|
|
20790
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
20795
20791
|
function literalBinaryOp(op) {
|
|
20796
20792
|
return { op, literal: true };
|
|
20797
20793
|
}
|
|
@@ -21389,7 +21385,7 @@ function owningModule(context, override = null) {
|
|
|
21389
21385
|
}
|
|
21390
21386
|
}
|
|
21391
21387
|
|
|
21392
|
-
// bazel-out/
|
|
21388
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
21393
21389
|
var PartialEvaluator = class {
|
|
21394
21390
|
constructor(host, checker, dependencyTracker) {
|
|
21395
21391
|
this.host = host;
|
|
@@ -21409,7 +21405,7 @@ var PartialEvaluator = class {
|
|
|
21409
21405
|
}
|
|
21410
21406
|
};
|
|
21411
21407
|
|
|
21412
|
-
// bazel-out/
|
|
21408
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
21413
21409
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
21414
21410
|
const context = [];
|
|
21415
21411
|
for (const decl of data) {
|
|
@@ -21584,7 +21580,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
|
|
|
21584
21580
|
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}.`);
|
|
21585
21581
|
}
|
|
21586
21582
|
|
|
21587
|
-
// bazel-out/
|
|
21583
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
21588
21584
|
var import_typescript29 = __toESM(require("typescript"), 1);
|
|
21589
21585
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
21590
21586
|
let resolved = null;
|
|
@@ -21617,7 +21613,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
21617
21613
|
return meta;
|
|
21618
21614
|
}
|
|
21619
21615
|
|
|
21620
|
-
// bazel-out/
|
|
21616
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
21621
21617
|
function compileNgFactoryDefField(metadata) {
|
|
21622
21618
|
const res = compileFactoryFunction(metadata);
|
|
21623
21619
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
@@ -21627,7 +21623,7 @@ function compileDeclareFactory(metadata) {
|
|
|
21627
21623
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
21628
21624
|
}
|
|
21629
21625
|
|
|
21630
|
-
// bazel-out/
|
|
21626
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
21631
21627
|
var InjectableClassRegistry = class {
|
|
21632
21628
|
constructor(host, isCore) {
|
|
21633
21629
|
this.host = host;
|
|
@@ -21653,7 +21649,7 @@ var InjectableClassRegistry = class {
|
|
|
21653
21649
|
}
|
|
21654
21650
|
};
|
|
21655
21651
|
|
|
21656
|
-
// bazel-out/
|
|
21652
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
21657
21653
|
var import_typescript30 = __toESM(require("typescript"), 1);
|
|
21658
21654
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
21659
21655
|
if (!reflection.isClass(clazz)) {
|
|
@@ -21739,13 +21735,13 @@ function removeIdentifierReferences(node, name) {
|
|
|
21739
21735
|
return result.transformed[0];
|
|
21740
21736
|
}
|
|
21741
21737
|
|
|
21742
|
-
// bazel-out/
|
|
21738
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
21743
21739
|
var NoopReferencesRegistry = class {
|
|
21744
21740
|
add(source, ...references) {
|
|
21745
21741
|
}
|
|
21746
21742
|
};
|
|
21747
21743
|
|
|
21748
|
-
// bazel-out/
|
|
21744
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
21749
21745
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
21750
21746
|
const schemas = [];
|
|
21751
21747
|
const result = evaluator.evaluate(rawExpr);
|
|
@@ -21774,10 +21770,10 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
21774
21770
|
return schemas;
|
|
21775
21771
|
}
|
|
21776
21772
|
|
|
21777
|
-
// bazel-out/
|
|
21773
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
21778
21774
|
var import_typescript52 = __toESM(require("typescript"), 1);
|
|
21779
21775
|
|
|
21780
|
-
// bazel-out/
|
|
21776
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
21781
21777
|
var import_typescript31 = __toESM(require("typescript"), 1);
|
|
21782
21778
|
var SemanticSymbol = class {
|
|
21783
21779
|
constructor(decl) {
|
|
@@ -21793,7 +21789,7 @@ function getSymbolIdentifier(decl) {
|
|
|
21793
21789
|
return decl.name.text;
|
|
21794
21790
|
}
|
|
21795
21791
|
|
|
21796
|
-
// bazel-out/
|
|
21792
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
21797
21793
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
21798
21794
|
isPublicApiAffected() {
|
|
21799
21795
|
return false;
|
|
@@ -21935,10 +21931,10 @@ function getImportPath(expr) {
|
|
|
21935
21931
|
}
|
|
21936
21932
|
}
|
|
21937
21933
|
|
|
21938
|
-
// bazel-out/
|
|
21934
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
21939
21935
|
var import_typescript32 = __toESM(require("typescript"), 1);
|
|
21940
21936
|
|
|
21941
|
-
// bazel-out/
|
|
21937
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
21942
21938
|
function isSymbolEqual(a, b) {
|
|
21943
21939
|
if (a.decl === b.decl) {
|
|
21944
21940
|
return true;
|
|
@@ -21988,7 +21984,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
21988
21984
|
return true;
|
|
21989
21985
|
}
|
|
21990
21986
|
|
|
21991
|
-
// bazel-out/
|
|
21987
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
21992
21988
|
function extractSemanticTypeParameters(node) {
|
|
21993
21989
|
if (!import_typescript32.default.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
21994
21990
|
return null;
|
|
@@ -22008,7 +22004,7 @@ function isTypeParameterEqual(a, b) {
|
|
|
22008
22004
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
22009
22005
|
}
|
|
22010
22006
|
|
|
22011
|
-
// bazel-out/
|
|
22007
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
22012
22008
|
var PerfPhase;
|
|
22013
22009
|
(function(PerfPhase2) {
|
|
22014
22010
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -22075,7 +22071,7 @@ var PerfCheckpoint;
|
|
|
22075
22071
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
22076
22072
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
22077
22073
|
|
|
22078
|
-
// bazel-out/
|
|
22074
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
22079
22075
|
var NoopPerfRecorder = class {
|
|
22080
22076
|
eventCount() {
|
|
22081
22077
|
}
|
|
@@ -22092,7 +22088,7 @@ var NoopPerfRecorder = class {
|
|
|
22092
22088
|
};
|
|
22093
22089
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
22094
22090
|
|
|
22095
|
-
// bazel-out/
|
|
22091
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
22096
22092
|
function mark() {
|
|
22097
22093
|
return process.hrtime();
|
|
22098
22094
|
}
|
|
@@ -22101,7 +22097,7 @@ function timeSinceInMicros(mark2) {
|
|
|
22101
22097
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
22102
22098
|
}
|
|
22103
22099
|
|
|
22104
|
-
// bazel-out/
|
|
22100
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
22105
22101
|
var ActivePerfRecorder = class {
|
|
22106
22102
|
static zeroedToNow() {
|
|
22107
22103
|
return new ActivePerfRecorder(mark());
|
|
@@ -22195,14 +22191,14 @@ var DelegatingPerfRecorder = class {
|
|
|
22195
22191
|
}
|
|
22196
22192
|
};
|
|
22197
22193
|
|
|
22198
|
-
// bazel-out/
|
|
22194
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
22199
22195
|
var ComponentScopeKind;
|
|
22200
22196
|
(function(ComponentScopeKind2) {
|
|
22201
22197
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
22202
22198
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
22203
22199
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
22204
22200
|
|
|
22205
|
-
// bazel-out/
|
|
22201
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
22206
22202
|
var CompoundComponentScopeReader = class {
|
|
22207
22203
|
constructor(readers) {
|
|
22208
22204
|
this.readers = readers;
|
|
@@ -22227,7 +22223,7 @@ var CompoundComponentScopeReader = class {
|
|
|
22227
22223
|
}
|
|
22228
22224
|
};
|
|
22229
22225
|
|
|
22230
|
-
// bazel-out/
|
|
22226
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
22231
22227
|
var MetadataDtsModuleScopeResolver = class {
|
|
22232
22228
|
constructor(dtsMetaReader, aliasingHost) {
|
|
22233
22229
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -22302,10 +22298,10 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
22302
22298
|
}
|
|
22303
22299
|
};
|
|
22304
22300
|
|
|
22305
|
-
// bazel-out/
|
|
22301
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
22306
22302
|
var import_typescript33 = __toESM(require("typescript"), 1);
|
|
22307
22303
|
|
|
22308
|
-
// bazel-out/
|
|
22304
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
22309
22305
|
function getDiagnosticNode(ref, rawExpr) {
|
|
22310
22306
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
22311
22307
|
}
|
|
@@ -22328,7 +22324,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
|
|
|
22328
22324
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
|
|
22329
22325
|
}
|
|
22330
22326
|
|
|
22331
|
-
// bazel-out/
|
|
22327
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
22332
22328
|
var LocalModuleScopeRegistry = class {
|
|
22333
22329
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
22334
22330
|
this.localReader = localReader;
|
|
@@ -22667,7 +22663,7 @@ function reexportCollision(module3, refA, refB) {
|
|
|
22667
22663
|
]);
|
|
22668
22664
|
}
|
|
22669
22665
|
|
|
22670
|
-
// bazel-out/
|
|
22666
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
22671
22667
|
var import_typescript35 = __toESM(require("typescript"), 1);
|
|
22672
22668
|
var TypeCheckScopeRegistry = class {
|
|
22673
22669
|
constructor(scopeReader, metaReader, hostDirectivesResolver) {
|
|
@@ -22735,7 +22731,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
22735
22731
|
}
|
|
22736
22732
|
};
|
|
22737
22733
|
|
|
22738
|
-
// bazel-out/
|
|
22734
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
22739
22735
|
var CompilationMode;
|
|
22740
22736
|
(function(CompilationMode2) {
|
|
22741
22737
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -22753,7 +22749,7 @@ var HandlerFlags;
|
|
|
22753
22749
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
22754
22750
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
22755
22751
|
|
|
22756
|
-
// bazel-out/
|
|
22752
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
22757
22753
|
var import_typescript36 = __toESM(require("typescript"), 1);
|
|
22758
22754
|
function aliasTransformFactory(exportStatements) {
|
|
22759
22755
|
return () => {
|
|
@@ -22776,10 +22772,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
22776
22772
|
};
|
|
22777
22773
|
}
|
|
22778
22774
|
|
|
22779
|
-
// bazel-out/
|
|
22775
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
22780
22776
|
var import_typescript37 = __toESM(require("typescript"), 1);
|
|
22781
22777
|
|
|
22782
|
-
// bazel-out/
|
|
22778
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
22783
22779
|
var TraitState;
|
|
22784
22780
|
(function(TraitState2) {
|
|
22785
22781
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -22834,7 +22830,7 @@ var TraitImpl = class {
|
|
|
22834
22830
|
}
|
|
22835
22831
|
};
|
|
22836
22832
|
|
|
22837
|
-
// bazel-out/
|
|
22833
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
22838
22834
|
var TraitCompiler = class {
|
|
22839
22835
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
22840
22836
|
this.handlers = handlers;
|
|
@@ -23278,10 +23274,10 @@ function containsErrors(diagnostics) {
|
|
|
23278
23274
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === import_typescript37.default.DiagnosticCategory.Error);
|
|
23279
23275
|
}
|
|
23280
23276
|
|
|
23281
|
-
// bazel-out/
|
|
23277
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
23282
23278
|
var import_typescript44 = __toESM(require("typescript"), 1);
|
|
23283
23279
|
|
|
23284
|
-
// bazel-out/
|
|
23280
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
23285
23281
|
var Context = class {
|
|
23286
23282
|
constructor(isStatement) {
|
|
23287
23283
|
this.isStatement = isStatement;
|
|
@@ -23294,7 +23290,7 @@ var Context = class {
|
|
|
23294
23290
|
}
|
|
23295
23291
|
};
|
|
23296
23292
|
|
|
23297
|
-
// bazel-out/
|
|
23293
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
23298
23294
|
var import_typescript39 = __toESM(require("typescript"), 1);
|
|
23299
23295
|
var ImportManager = class {
|
|
23300
23296
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -23330,7 +23326,7 @@ var ImportManager = class {
|
|
|
23330
23326
|
}
|
|
23331
23327
|
};
|
|
23332
23328
|
|
|
23333
|
-
// bazel-out/
|
|
23329
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
23334
23330
|
var UNARY_OPERATORS2 = /* @__PURE__ */ new Map([
|
|
23335
23331
|
[UnaryOperator.Minus, "-"],
|
|
23336
23332
|
[UnaryOperator.Plus, "+"]
|
|
@@ -23561,10 +23557,10 @@ function createRange(span) {
|
|
|
23561
23557
|
};
|
|
23562
23558
|
}
|
|
23563
23559
|
|
|
23564
|
-
// bazel-out/
|
|
23560
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
23565
23561
|
var import_typescript41 = __toESM(require("typescript"), 1);
|
|
23566
23562
|
|
|
23567
|
-
// bazel-out/
|
|
23563
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.mjs
|
|
23568
23564
|
var import_typescript40 = __toESM(require("typescript"), 1);
|
|
23569
23565
|
var IS_AFTER_TS_49 = isAfterVersion(4, 9);
|
|
23570
23566
|
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);
|
|
@@ -23594,7 +23590,7 @@ function isAfterVersion(targetMajor, targetMinor) {
|
|
|
23594
23590
|
return major === targetMajor ? minor >= targetMinor : true;
|
|
23595
23591
|
}
|
|
23596
23592
|
|
|
23597
|
-
// bazel-out/
|
|
23593
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
23598
23594
|
function translateType(type, imports) {
|
|
23599
23595
|
return type.visitType(new TypeTranslatorVisitor(imports), new Context(false));
|
|
23600
23596
|
}
|
|
@@ -23768,7 +23764,7 @@ var TypeTranslatorVisitor = class {
|
|
|
23768
23764
|
}
|
|
23769
23765
|
};
|
|
23770
23766
|
|
|
23771
|
-
// bazel-out/
|
|
23767
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
23772
23768
|
var import_typescript42 = __toESM(require("typescript"), 1);
|
|
23773
23769
|
var PureAnnotation;
|
|
23774
23770
|
(function(PureAnnotation2) {
|
|
@@ -23951,7 +23947,7 @@ function attachComments(statement, leadingComments) {
|
|
|
23951
23947
|
}
|
|
23952
23948
|
}
|
|
23953
23949
|
|
|
23954
|
-
// bazel-out/
|
|
23950
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
23955
23951
|
function translateExpression(expression, imports, options = {}) {
|
|
23956
23952
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
23957
23953
|
}
|
|
@@ -23959,7 +23955,7 @@ function translateStatement(statement, imports, options = {}) {
|
|
|
23959
23955
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
|
|
23960
23956
|
}
|
|
23961
23957
|
|
|
23962
|
-
// bazel-out/
|
|
23958
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
23963
23959
|
var import_typescript43 = __toESM(require("typescript"), 1);
|
|
23964
23960
|
function addImports(importManager, sf, extraStatements = []) {
|
|
23965
23961
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -23995,7 +23991,7 @@ function isImportStatement(stmt) {
|
|
|
23995
23991
|
return import_typescript43.default.isImportDeclaration(stmt) || import_typescript43.default.isImportEqualsDeclaration(stmt) || import_typescript43.default.isNamespaceImport(stmt);
|
|
23996
23992
|
}
|
|
23997
23993
|
|
|
23998
|
-
// bazel-out/
|
|
23994
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
23999
23995
|
var DtsTransformRegistry = class {
|
|
24000
23996
|
constructor() {
|
|
24001
23997
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -24140,10 +24136,10 @@ function markForEmitAsSingleLine(node) {
|
|
|
24140
24136
|
import_typescript44.default.forEachChild(node, markForEmitAsSingleLine);
|
|
24141
24137
|
}
|
|
24142
24138
|
|
|
24143
|
-
// bazel-out/
|
|
24139
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
24144
24140
|
var import_typescript46 = __toESM(require("typescript"), 1);
|
|
24145
24141
|
|
|
24146
|
-
// bazel-out/
|
|
24142
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
24147
24143
|
var import_typescript45 = __toESM(require("typescript"), 1);
|
|
24148
24144
|
function visit(node, visitor, context) {
|
|
24149
24145
|
return visitor._visit(node, context);
|
|
@@ -24204,7 +24200,7 @@ var Visitor = class {
|
|
|
24204
24200
|
}
|
|
24205
24201
|
};
|
|
24206
24202
|
|
|
24207
|
-
// bazel-out/
|
|
24203
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
24208
24204
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
24209
24205
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
24210
24206
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -24412,7 +24408,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
24412
24408
|
return array;
|
|
24413
24409
|
}
|
|
24414
24410
|
|
|
24415
|
-
// bazel-out/
|
|
24411
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
24416
24412
|
var import_typescript47 = __toESM(require("typescript"), 1);
|
|
24417
24413
|
var EMPTY_OBJECT = {};
|
|
24418
24414
|
var QUERY_TYPES = /* @__PURE__ */ new Set([
|
|
@@ -24828,7 +24824,7 @@ function toHostDirectiveMetadata(hostDirective, context, refEmitter) {
|
|
|
24828
24824
|
};
|
|
24829
24825
|
}
|
|
24830
24826
|
|
|
24831
|
-
// bazel-out/
|
|
24827
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
24832
24828
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
24833
24829
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
24834
24830
|
super(decl);
|
|
@@ -24905,7 +24901,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
24905
24901
|
return isSymbolEqual(current, previous);
|
|
24906
24902
|
}
|
|
24907
24903
|
|
|
24908
|
-
// bazel-out/
|
|
24904
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
24909
24905
|
var FIELD_DECORATORS = [
|
|
24910
24906
|
"Input",
|
|
24911
24907
|
"Output",
|
|
@@ -25064,10 +25060,10 @@ var DirectiveDecoratorHandler = class {
|
|
|
25064
25060
|
}
|
|
25065
25061
|
};
|
|
25066
25062
|
|
|
25067
|
-
// bazel-out/
|
|
25063
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
25068
25064
|
var import_typescript49 = __toESM(require("typescript"), 1);
|
|
25069
25065
|
|
|
25070
|
-
// bazel-out/
|
|
25066
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
25071
25067
|
var import_typescript48 = __toESM(require("typescript"), 1);
|
|
25072
25068
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
25073
25069
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -25134,7 +25130,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
25134
25130
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
25135
25131
|
}
|
|
25136
25132
|
|
|
25137
|
-
// bazel-out/
|
|
25133
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
25138
25134
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
25139
25135
|
constructor() {
|
|
25140
25136
|
super(...arguments);
|
|
@@ -25636,7 +25632,7 @@ function isSyntheticReference(ref) {
|
|
|
25636
25632
|
return ref.synthetic;
|
|
25637
25633
|
}
|
|
25638
25634
|
|
|
25639
|
-
// bazel-out/
|
|
25635
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
25640
25636
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
25641
25637
|
const name = ref.debugName || "(unknown)";
|
|
25642
25638
|
const path3 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -25659,7 +25655,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
25659
25655
|
return null;
|
|
25660
25656
|
}
|
|
25661
25657
|
|
|
25662
|
-
// bazel-out/
|
|
25658
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
25663
25659
|
var import_typescript51 = __toESM(require("typescript"), 1);
|
|
25664
25660
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
25665
25661
|
switch (declaration.isInline) {
|
|
@@ -25968,7 +25964,7 @@ function _extractTemplateStyleUrls(template) {
|
|
|
25968
25964
|
return template.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
|
|
25969
25965
|
}
|
|
25970
25966
|
|
|
25971
|
-
// bazel-out/
|
|
25967
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
25972
25968
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
25973
25969
|
constructor() {
|
|
25974
25970
|
super(...arguments);
|
|
@@ -26003,7 +25999,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
26003
25999
|
}
|
|
26004
26000
|
};
|
|
26005
26001
|
|
|
26006
|
-
// bazel-out/
|
|
26002
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
26007
26003
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
26008
26004
|
if (value instanceof Map) {
|
|
26009
26005
|
const name = value.get("name");
|
|
@@ -26079,7 +26075,7 @@ function isLikelyModuleWithProviders(value) {
|
|
|
26079
26075
|
return false;
|
|
26080
26076
|
}
|
|
26081
26077
|
|
|
26082
|
-
// bazel-out/
|
|
26078
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
26083
26079
|
var EMPTY_ARRAY2 = [];
|
|
26084
26080
|
var ComponentDecoratorHandler = class {
|
|
26085
26081
|
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) {
|
|
@@ -26722,7 +26718,7 @@ function validateStandaloneImports(importRefs, importExpr2, metaReader, scopeRea
|
|
|
26722
26718
|
return diagnostics;
|
|
26723
26719
|
}
|
|
26724
26720
|
|
|
26725
|
-
// bazel-out/
|
|
26721
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
26726
26722
|
var import_typescript54 = __toESM(require("typescript"), 1);
|
|
26727
26723
|
var InjectableDecoratorHandler = class {
|
|
26728
26724
|
constructor(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, perf, errorOnDuplicateProv = true) {
|
|
@@ -26938,7 +26934,7 @@ function getDep(dep, reflector) {
|
|
|
26938
26934
|
return meta;
|
|
26939
26935
|
}
|
|
26940
26936
|
|
|
26941
|
-
// bazel-out/
|
|
26937
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
26942
26938
|
var import_typescript55 = __toESM(require("typescript"), 1);
|
|
26943
26939
|
var PipeSymbol = class extends SemanticSymbol {
|
|
26944
26940
|
constructor(decl, name) {
|
|
@@ -27083,7 +27079,7 @@ var PipeDecoratorHandler = class {
|
|
|
27083
27079
|
}
|
|
27084
27080
|
};
|
|
27085
27081
|
|
|
27086
|
-
// bazel-out/
|
|
27082
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
27087
27083
|
var CycleAnalyzer = class {
|
|
27088
27084
|
constructor(importGraph) {
|
|
27089
27085
|
this.importGraph = importGraph;
|
|
@@ -27154,7 +27150,7 @@ var Cycle = class {
|
|
|
27154
27150
|
}
|
|
27155
27151
|
};
|
|
27156
27152
|
|
|
27157
|
-
// bazel-out/
|
|
27153
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
27158
27154
|
var import_typescript56 = __toESM(require("typescript"), 1);
|
|
27159
27155
|
var ImportGraph = class {
|
|
27160
27156
|
constructor(checker, perf) {
|
|
@@ -27246,7 +27242,7 @@ var Found = class {
|
|
|
27246
27242
|
}
|
|
27247
27243
|
};
|
|
27248
27244
|
|
|
27249
|
-
// bazel-out/
|
|
27245
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
27250
27246
|
var import_typescript57 = __toESM(require("typescript"), 1);
|
|
27251
27247
|
var FlatIndexGenerator = class {
|
|
27252
27248
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -27271,7 +27267,7 @@ export * from '${relativeEntryPoint}';
|
|
|
27271
27267
|
}
|
|
27272
27268
|
};
|
|
27273
27269
|
|
|
27274
|
-
// bazel-out/
|
|
27270
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
27275
27271
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
27276
27272
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
27277
27273
|
let resolvedEntryPoint = null;
|
|
@@ -27287,7 +27283,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
27287
27283
|
return resolvedEntryPoint;
|
|
27288
27284
|
}
|
|
27289
27285
|
|
|
27290
|
-
// bazel-out/
|
|
27286
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
27291
27287
|
var import_typescript59 = __toESM(require("typescript"), 1);
|
|
27292
27288
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
27293
27289
|
const diagnostics = [];
|
|
@@ -27367,7 +27363,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
27367
27363
|
}
|
|
27368
27364
|
}
|
|
27369
27365
|
|
|
27370
|
-
// bazel-out/
|
|
27366
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
27371
27367
|
var ReferenceGraph = class {
|
|
27372
27368
|
constructor() {
|
|
27373
27369
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -27421,7 +27417,7 @@ var ReferenceGraph = class {
|
|
|
27421
27417
|
}
|
|
27422
27418
|
};
|
|
27423
27419
|
|
|
27424
|
-
// bazel-out/
|
|
27420
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
27425
27421
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
27426
27422
|
var UpdateMode;
|
|
27427
27423
|
(function(UpdateMode2) {
|
|
@@ -27429,13 +27425,13 @@ var UpdateMode;
|
|
|
27429
27425
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
27430
27426
|
})(UpdateMode || (UpdateMode = {}));
|
|
27431
27427
|
|
|
27432
|
-
// bazel-out/
|
|
27428
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
27433
27429
|
var import_typescript65 = __toESM(require("typescript"), 1);
|
|
27434
27430
|
|
|
27435
|
-
// bazel-out/
|
|
27431
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
27436
27432
|
var import_typescript60 = __toESM(require("typescript"), 1);
|
|
27437
27433
|
|
|
27438
|
-
// bazel-out/
|
|
27434
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
27439
27435
|
var NgExtension = Symbol("NgExtension");
|
|
27440
27436
|
function isExtended(sf) {
|
|
27441
27437
|
return sf[NgExtension] !== void 0;
|
|
@@ -27495,7 +27491,7 @@ function retagTsFile(sf) {
|
|
|
27495
27491
|
}
|
|
27496
27492
|
}
|
|
27497
27493
|
|
|
27498
|
-
// bazel-out/
|
|
27494
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
27499
27495
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
27500
27496
|
function makeShimFileName(fileName, suffix) {
|
|
27501
27497
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
@@ -27510,7 +27506,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
|
|
|
27510
27506
|
return moduleName;
|
|
27511
27507
|
}
|
|
27512
27508
|
|
|
27513
|
-
// bazel-out/
|
|
27509
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
27514
27510
|
var ShimAdapter = class {
|
|
27515
27511
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
27516
27512
|
this.delegate = delegate;
|
|
@@ -27605,7 +27601,7 @@ var ShimAdapter = class {
|
|
|
27605
27601
|
}
|
|
27606
27602
|
};
|
|
27607
27603
|
|
|
27608
|
-
// bazel-out/
|
|
27604
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
27609
27605
|
var import_typescript62 = __toESM(require("typescript"), 1);
|
|
27610
27606
|
var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
|
|
27611
27607
|
var STRIP_NG_FACTORY = /(.*)NgFactory$/;
|
|
@@ -27765,7 +27761,7 @@ function updateInitializers(stmt, update) {
|
|
|
27765
27761
|
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)))));
|
|
27766
27762
|
}
|
|
27767
27763
|
|
|
27768
|
-
// bazel-out/
|
|
27764
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
27769
27765
|
var ShimReferenceTagger = class {
|
|
27770
27766
|
constructor(shimExtensions) {
|
|
27771
27767
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -27799,7 +27795,7 @@ var ShimReferenceTagger = class {
|
|
|
27799
27795
|
}
|
|
27800
27796
|
};
|
|
27801
27797
|
|
|
27802
|
-
// bazel-out/
|
|
27798
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
27803
27799
|
var import_typescript64 = __toESM(require("typescript"), 1);
|
|
27804
27800
|
var SummaryGenerator = class {
|
|
27805
27801
|
constructor() {
|
|
@@ -27840,7 +27836,7 @@ function isExported2(decl) {
|
|
|
27840
27836
|
return modifiers !== void 0 && modifiers.some((mod) => mod.kind == import_typescript64.default.SyntaxKind.ExportKeyword) || false;
|
|
27841
27837
|
}
|
|
27842
27838
|
|
|
27843
|
-
// bazel-out/
|
|
27839
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
27844
27840
|
var DelegatingCompilerHost = class {
|
|
27845
27841
|
constructor(delegate) {
|
|
27846
27842
|
this.delegate = delegate;
|
|
@@ -27951,7 +27947,7 @@ var TsCreateProgramDriver = class {
|
|
|
27951
27947
|
}
|
|
27952
27948
|
};
|
|
27953
27949
|
|
|
27954
|
-
// bazel-out/
|
|
27950
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
27955
27951
|
var FileDependencyGraph = class {
|
|
27956
27952
|
constructor() {
|
|
27957
27953
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -28018,7 +28014,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
28018
28014
|
return false;
|
|
28019
28015
|
}
|
|
28020
28016
|
|
|
28021
|
-
// bazel-out/
|
|
28017
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
28022
28018
|
var IncrementalStateKind;
|
|
28023
28019
|
(function(IncrementalStateKind2) {
|
|
28024
28020
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -28026,7 +28022,7 @@ var IncrementalStateKind;
|
|
|
28026
28022
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
28027
28023
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
28028
28024
|
|
|
28029
|
-
// bazel-out/
|
|
28025
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
28030
28026
|
var PhaseKind;
|
|
28031
28027
|
(function(PhaseKind2) {
|
|
28032
28028
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -28227,7 +28223,7 @@ function toOriginalSourceFile(sf) {
|
|
|
28227
28223
|
}
|
|
28228
28224
|
}
|
|
28229
28225
|
|
|
28230
|
-
// bazel-out/
|
|
28226
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
28231
28227
|
var TrackedIncrementalBuildStrategy = class {
|
|
28232
28228
|
constructor() {
|
|
28233
28229
|
this.state = null;
|
|
@@ -28248,7 +28244,7 @@ var TrackedIncrementalBuildStrategy = class {
|
|
|
28248
28244
|
};
|
|
28249
28245
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
28250
28246
|
|
|
28251
|
-
// bazel-out/
|
|
28247
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
28252
28248
|
var IdentifierKind;
|
|
28253
28249
|
(function(IdentifierKind2) {
|
|
28254
28250
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -28266,7 +28262,7 @@ var AbsoluteSourceSpan2 = class {
|
|
|
28266
28262
|
}
|
|
28267
28263
|
};
|
|
28268
28264
|
|
|
28269
|
-
// bazel-out/
|
|
28265
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
28270
28266
|
var IndexingContext = class {
|
|
28271
28267
|
constructor() {
|
|
28272
28268
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -28276,7 +28272,7 @@ var IndexingContext = class {
|
|
|
28276
28272
|
}
|
|
28277
28273
|
};
|
|
28278
28274
|
|
|
28279
|
-
// bazel-out/
|
|
28275
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
28280
28276
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
28281
28277
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
28282
28278
|
super();
|
|
@@ -28512,7 +28508,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
28512
28508
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
28513
28509
|
}
|
|
28514
28510
|
|
|
28515
|
-
// bazel-out/
|
|
28511
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
28516
28512
|
function generateAnalysis(context) {
|
|
28517
28513
|
const analysis = /* @__PURE__ */ new Map();
|
|
28518
28514
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -28548,7 +28544,7 @@ function generateAnalysis(context) {
|
|
|
28548
28544
|
return analysis;
|
|
28549
28545
|
}
|
|
28550
28546
|
|
|
28551
|
-
// bazel-out/
|
|
28547
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
28552
28548
|
var NgModuleIndexImpl = class {
|
|
28553
28549
|
constructor(metaReader, localReader) {
|
|
28554
28550
|
this.metaReader = metaReader;
|
|
@@ -28637,7 +28633,7 @@ var NgModuleIndexImpl = class {
|
|
|
28637
28633
|
}
|
|
28638
28634
|
};
|
|
28639
28635
|
|
|
28640
|
-
// bazel-out/
|
|
28636
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
28641
28637
|
var import_typescript68 = __toESM(require("typescript"), 1);
|
|
28642
28638
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
28643
28639
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -28785,7 +28781,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
28785
28781
|
};
|
|
28786
28782
|
}
|
|
28787
28783
|
|
|
28788
|
-
// bazel-out/
|
|
28784
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
28789
28785
|
var StandaloneComponentScopeReader = class {
|
|
28790
28786
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
28791
28787
|
this.metaReader = metaReader;
|
|
@@ -28863,21 +28859,21 @@ var StandaloneComponentScopeReader = class {
|
|
|
28863
28859
|
}
|
|
28864
28860
|
};
|
|
28865
28861
|
|
|
28866
|
-
// bazel-out/
|
|
28862
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
28867
28863
|
var OptimizeFor;
|
|
28868
28864
|
(function(OptimizeFor2) {
|
|
28869
28865
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
28870
28866
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
28871
28867
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
28872
28868
|
|
|
28873
|
-
// bazel-out/
|
|
28869
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
28874
28870
|
var CompletionKind;
|
|
28875
28871
|
(function(CompletionKind2) {
|
|
28876
28872
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
28877
28873
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
28878
28874
|
})(CompletionKind || (CompletionKind = {}));
|
|
28879
28875
|
|
|
28880
|
-
// bazel-out/
|
|
28876
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
28881
28877
|
var PotentialImportKind;
|
|
28882
28878
|
(function(PotentialImportKind2) {
|
|
28883
28879
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -28889,7 +28885,7 @@ var PotentialImportMode;
|
|
|
28889
28885
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
28890
28886
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
28891
28887
|
|
|
28892
|
-
// bazel-out/
|
|
28888
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
28893
28889
|
var SymbolKind;
|
|
28894
28890
|
(function(SymbolKind2) {
|
|
28895
28891
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -28905,7 +28901,7 @@ var SymbolKind;
|
|
|
28905
28901
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
28906
28902
|
})(SymbolKind || (SymbolKind = {}));
|
|
28907
28903
|
|
|
28908
|
-
// bazel-out/
|
|
28904
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
28909
28905
|
var import_typescript69 = __toESM(require("typescript"), 1);
|
|
28910
28906
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
28911
28907
|
var _a;
|
|
@@ -29012,7 +29008,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
29012
29008
|
return import_typescript69.default.createSourceFile(fileName, template, import_typescript69.default.ScriptTarget.Latest, false, import_typescript69.default.ScriptKind.JSX);
|
|
29013
29009
|
}
|
|
29014
29010
|
|
|
29015
|
-
// bazel-out/
|
|
29011
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
29016
29012
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
29017
29013
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
29018
29014
|
function getTemplateId(clazz) {
|
|
@@ -29029,10 +29025,10 @@ function allocateTemplateId(sf) {
|
|
|
29029
29025
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
29030
29026
|
}
|
|
29031
29027
|
|
|
29032
|
-
// bazel-out/
|
|
29028
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
29033
29029
|
var import_typescript71 = __toESM(require("typescript"), 1);
|
|
29034
29030
|
|
|
29035
|
-
// bazel-out/
|
|
29031
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
29036
29032
|
var import_typescript70 = __toESM(require("typescript"), 1);
|
|
29037
29033
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
29038
29034
|
function readSpanComment(node, sourceFile = node.getSourceFile()) {
|
|
@@ -29161,7 +29157,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
29161
29157
|
}) || false;
|
|
29162
29158
|
}
|
|
29163
29159
|
|
|
29164
|
-
// bazel-out/
|
|
29160
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
29165
29161
|
var CompletionEngine = class {
|
|
29166
29162
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
29167
29163
|
this.tcb = tcb;
|
|
@@ -29318,10 +29314,10 @@ var CompletionEngine = class {
|
|
|
29318
29314
|
}
|
|
29319
29315
|
};
|
|
29320
29316
|
|
|
29321
|
-
// bazel-out/
|
|
29317
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
29322
29318
|
var import_typescript86 = __toESM(require("typescript"), 1);
|
|
29323
29319
|
|
|
29324
|
-
// bazel-out/
|
|
29320
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
29325
29321
|
var import_typescript72 = __toESM(require("typescript"), 1);
|
|
29326
29322
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
29327
29323
|
var REMOVE_XHTML_REGEX = /^:xhtml:/;
|
|
@@ -29373,10 +29369,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
29373
29369
|
}
|
|
29374
29370
|
};
|
|
29375
29371
|
|
|
29376
|
-
// bazel-out/
|
|
29372
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
29377
29373
|
var import_typescript79 = __toESM(require("typescript"), 1);
|
|
29378
29374
|
|
|
29379
|
-
// bazel-out/
|
|
29375
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
29380
29376
|
var import_typescript73 = __toESM(require("typescript"), 1);
|
|
29381
29377
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
29382
29378
|
import_typescript73.default.SyntaxKind.ParenthesizedExpression,
|
|
@@ -29450,16 +29446,16 @@ function isAccessExpression(node) {
|
|
|
29450
29446
|
return import_typescript73.default.isPropertyAccessExpression(node) || import_typescript73.default.isElementAccessExpression(node);
|
|
29451
29447
|
}
|
|
29452
29448
|
|
|
29453
|
-
// bazel-out/
|
|
29449
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
29454
29450
|
var import_typescript78 = __toESM(require("typescript"), 1);
|
|
29455
29451
|
|
|
29456
|
-
// bazel-out/
|
|
29452
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
29457
29453
|
var import_typescript76 = __toESM(require("typescript"), 1);
|
|
29458
29454
|
|
|
29459
|
-
// bazel-out/
|
|
29455
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
29460
29456
|
var import_typescript75 = __toESM(require("typescript"), 1);
|
|
29461
29457
|
|
|
29462
|
-
// bazel-out/
|
|
29458
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
29463
29459
|
var import_typescript74 = __toESM(require("typescript"), 1);
|
|
29464
29460
|
var INELIGIBLE = {};
|
|
29465
29461
|
function canEmitType(type, canEmit) {
|
|
@@ -29534,7 +29530,7 @@ var TypeEmitter = class {
|
|
|
29534
29530
|
}
|
|
29535
29531
|
};
|
|
29536
29532
|
|
|
29537
|
-
// bazel-out/
|
|
29533
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
29538
29534
|
var TypeParameterEmitter = class {
|
|
29539
29535
|
constructor(typeParameters, reflector) {
|
|
29540
29536
|
this.typeParameters = typeParameters;
|
|
@@ -29611,7 +29607,7 @@ var TypeParameterEmitter = class {
|
|
|
29611
29607
|
}
|
|
29612
29608
|
};
|
|
29613
29609
|
|
|
29614
|
-
// bazel-out/
|
|
29610
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
29615
29611
|
var TcbInliningRequirement;
|
|
29616
29612
|
(function(TcbInliningRequirement2) {
|
|
29617
29613
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -29691,7 +29687,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
29691
29687
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
29692
29688
|
}
|
|
29693
29689
|
|
|
29694
|
-
// bazel-out/
|
|
29690
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
29695
29691
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
29696
29692
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
29697
29693
|
const rawType = import_typescript78.default.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -29803,7 +29799,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
29803
29799
|
});
|
|
29804
29800
|
}
|
|
29805
29801
|
|
|
29806
|
-
// bazel-out/
|
|
29802
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
29807
29803
|
var Environment = class {
|
|
29808
29804
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
29809
29805
|
this.config = config;
|
|
@@ -29895,7 +29891,7 @@ var Environment = class {
|
|
|
29895
29891
|
}
|
|
29896
29892
|
};
|
|
29897
29893
|
|
|
29898
|
-
// bazel-out/
|
|
29894
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
29899
29895
|
var import_typescript80 = __toESM(require("typescript"), 1);
|
|
29900
29896
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
29901
29897
|
constructor(resolver) {
|
|
@@ -30026,7 +30022,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
30026
30022
|
});
|
|
30027
30023
|
}
|
|
30028
30024
|
|
|
30029
|
-
// bazel-out/
|
|
30025
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
30030
30026
|
var import_typescript81 = __toESM(require("typescript"), 1);
|
|
30031
30027
|
var TypeCheckShimGenerator = class {
|
|
30032
30028
|
constructor() {
|
|
@@ -30044,10 +30040,10 @@ var TypeCheckShimGenerator = class {
|
|
|
30044
30040
|
}
|
|
30045
30041
|
};
|
|
30046
30042
|
|
|
30047
|
-
// bazel-out/
|
|
30043
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
30048
30044
|
var import_typescript84 = __toESM(require("typescript"), 1);
|
|
30049
30045
|
|
|
30050
|
-
// bazel-out/
|
|
30046
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
30051
30047
|
var import_typescript82 = __toESM(require("typescript"), 1);
|
|
30052
30048
|
function wrapForDiagnostics(expr) {
|
|
30053
30049
|
return import_typescript82.default.factory.createParenthesizedExpression(expr);
|
|
@@ -30092,7 +30088,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
30092
30088
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
30093
30089
|
}
|
|
30094
30090
|
|
|
30095
|
-
// bazel-out/
|
|
30091
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
30096
30092
|
var import_typescript83 = __toESM(require("typescript"), 1);
|
|
30097
30093
|
var NULL_AS_ANY = import_typescript83.default.factory.createAsExpression(import_typescript83.default.factory.createNull(), import_typescript83.default.factory.createKeywordTypeNode(import_typescript83.default.SyntaxKind.AnyKeyword));
|
|
30098
30094
|
var UNDEFINED = import_typescript83.default.factory.createIdentifier("undefined");
|
|
@@ -30421,7 +30417,7 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
30421
30417
|
};
|
|
30422
30418
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
30423
30419
|
|
|
30424
|
-
// bazel-out/
|
|
30420
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
30425
30421
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor {
|
|
30426
30422
|
constructor(templateId, boundTarget, oob) {
|
|
30427
30423
|
super();
|
|
@@ -30444,7 +30440,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor {
|
|
|
30444
30440
|
}
|
|
30445
30441
|
};
|
|
30446
30442
|
|
|
30447
|
-
// bazel-out/
|
|
30443
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
30448
30444
|
var TcbGenericContextBehavior;
|
|
30449
30445
|
(function(TcbGenericContextBehavior2) {
|
|
30450
30446
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -31547,7 +31543,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
31547
31543
|
}
|
|
31548
31544
|
};
|
|
31549
31545
|
|
|
31550
|
-
// bazel-out/
|
|
31546
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
31551
31547
|
var import_typescript85 = __toESM(require("typescript"), 1);
|
|
31552
31548
|
var TypeCheckFile = class extends Environment {
|
|
31553
31549
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -31583,7 +31579,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
31583
31579
|
}
|
|
31584
31580
|
};
|
|
31585
31581
|
|
|
31586
|
-
// bazel-out/
|
|
31582
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
31587
31583
|
var InliningMode;
|
|
31588
31584
|
(function(InliningMode2) {
|
|
31589
31585
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -31821,7 +31817,7 @@ function splitStringAtPoints(str, points) {
|
|
|
31821
31817
|
return splits;
|
|
31822
31818
|
}
|
|
31823
31819
|
|
|
31824
|
-
// bazel-out/
|
|
31820
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
31825
31821
|
var LF_CHAR = 10;
|
|
31826
31822
|
var CR_CHAR = 13;
|
|
31827
31823
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -31862,7 +31858,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
31862
31858
|
return low - 1;
|
|
31863
31859
|
}
|
|
31864
31860
|
|
|
31865
|
-
// bazel-out/
|
|
31861
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
31866
31862
|
var TemplateSource = class {
|
|
31867
31863
|
constructor(mapping, file) {
|
|
31868
31864
|
this.mapping = mapping;
|
|
@@ -31913,7 +31909,7 @@ var TemplateSourceManager = class {
|
|
|
31913
31909
|
}
|
|
31914
31910
|
};
|
|
31915
31911
|
|
|
31916
|
-
// bazel-out/
|
|
31912
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
31917
31913
|
var import_typescript87 = __toESM(require("typescript"), 1);
|
|
31918
31914
|
var SymbolBuilder = class {
|
|
31919
31915
|
constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
|
|
@@ -32390,7 +32386,7 @@ function sourceSpanEqual(a, b) {
|
|
|
32390
32386
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
32391
32387
|
}
|
|
32392
32388
|
|
|
32393
|
-
// bazel-out/
|
|
32389
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
32394
32390
|
var REGISTRY2 = new DomElementSchemaRegistry();
|
|
32395
32391
|
var TemplateTypeCheckerImpl = class {
|
|
32396
32392
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -32880,18 +32876,27 @@ var TemplateTypeCheckerImpl = class {
|
|
|
32880
32876
|
return scope.ngModule;
|
|
32881
32877
|
}
|
|
32882
32878
|
emit(kind, refTo, inContext) {
|
|
32879
|
+
var _a, _b;
|
|
32883
32880
|
const emittedRef = this.refEmitter.emit(refTo, inContext.getSourceFile());
|
|
32884
32881
|
if (emittedRef.kind === 1) {
|
|
32885
32882
|
return null;
|
|
32886
32883
|
}
|
|
32887
32884
|
const emitted = emittedRef.expression;
|
|
32888
32885
|
if (emitted instanceof WrappedNodeExpr) {
|
|
32889
|
-
|
|
32886
|
+
let isForwardReference = false;
|
|
32887
|
+
if (emitted.node.getStart() > inContext.getStart()) {
|
|
32888
|
+
const declaration = (_b = (_a = this.programDriver.getProgram().getTypeChecker().getTypeAtLocation(emitted.node).getSymbol()) == null ? void 0 : _a.declarations) == null ? void 0 : _b[0];
|
|
32889
|
+
if (declaration && declaration.getSourceFile() === inContext.getSourceFile()) {
|
|
32890
|
+
isForwardReference = true;
|
|
32891
|
+
}
|
|
32892
|
+
}
|
|
32893
|
+
return { kind, symbolName: emitted.node.text, isForwardReference };
|
|
32890
32894
|
} else if (emitted instanceof ExternalExpr && emitted.value.moduleName !== null && emitted.value.name !== null) {
|
|
32891
32895
|
return {
|
|
32892
32896
|
kind,
|
|
32893
32897
|
moduleSpecifier: emitted.value.moduleName,
|
|
32894
|
-
symbolName: emitted.value.name
|
|
32898
|
+
symbolName: emitted.value.name,
|
|
32899
|
+
isForwardReference: false
|
|
32895
32900
|
};
|
|
32896
32901
|
}
|
|
32897
32902
|
return null;
|
|
@@ -33074,7 +33079,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
33074
33079
|
}
|
|
33075
33080
|
};
|
|
33076
33081
|
|
|
33077
|
-
// bazel-out/
|
|
33082
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
33078
33083
|
var TemplateCheckWithVisitor = class {
|
|
33079
33084
|
run(ctx, component, template) {
|
|
33080
33085
|
const visitor = new TemplateVisitor2(ctx, component, this);
|
|
@@ -33150,7 +33155,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor {
|
|
|
33150
33155
|
}
|
|
33151
33156
|
};
|
|
33152
33157
|
|
|
33153
|
-
// bazel-out/
|
|
33158
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
33154
33159
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
33155
33160
|
constructor() {
|
|
33156
33161
|
super(...arguments);
|
|
@@ -33175,7 +33180,7 @@ var factory = {
|
|
|
33175
33180
|
create: () => new InvalidBananaInBoxCheck()
|
|
33176
33181
|
};
|
|
33177
33182
|
|
|
33178
|
-
// bazel-out/
|
|
33183
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
33179
33184
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
33180
33185
|
["ngIf", "NgIf"],
|
|
33181
33186
|
["ngFor", "NgFor"],
|
|
@@ -33219,7 +33224,7 @@ var factory2 = {
|
|
|
33219
33224
|
}
|
|
33220
33225
|
};
|
|
33221
33226
|
|
|
33222
|
-
// bazel-out/
|
|
33227
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
33223
33228
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
33224
33229
|
constructor() {
|
|
33225
33230
|
super(...arguments);
|
|
@@ -33251,7 +33256,7 @@ var factory3 = {
|
|
|
33251
33256
|
create: () => new MissingNgForOfLetCheck()
|
|
33252
33257
|
};
|
|
33253
33258
|
|
|
33254
|
-
// bazel-out/
|
|
33259
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
33255
33260
|
var import_typescript90 = __toESM(require("typescript"), 1);
|
|
33256
33261
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
33257
33262
|
constructor() {
|
|
@@ -33295,7 +33300,7 @@ var factory4 = {
|
|
|
33295
33300
|
}
|
|
33296
33301
|
};
|
|
33297
33302
|
|
|
33298
|
-
// bazel-out/
|
|
33303
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
33299
33304
|
var import_typescript91 = __toESM(require("typescript"), 1);
|
|
33300
33305
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
33301
33306
|
constructor() {
|
|
@@ -33340,7 +33345,7 @@ var factory5 = {
|
|
|
33340
33345
|
}
|
|
33341
33346
|
};
|
|
33342
33347
|
|
|
33343
|
-
// bazel-out/
|
|
33348
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
33344
33349
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
33345
33350
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
33346
33351
|
constructor() {
|
|
@@ -33363,7 +33368,7 @@ var factory6 = {
|
|
|
33363
33368
|
create: () => new SuffixNotSupportedCheck()
|
|
33364
33369
|
};
|
|
33365
33370
|
|
|
33366
|
-
// bazel-out/
|
|
33371
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
33367
33372
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
33368
33373
|
constructor() {
|
|
33369
33374
|
super(...arguments);
|
|
@@ -33401,10 +33406,10 @@ var factory7 = {
|
|
|
33401
33406
|
create: () => new TextAttributeNotBindingSpec()
|
|
33402
33407
|
};
|
|
33403
33408
|
|
|
33404
|
-
// bazel-out/
|
|
33409
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
33405
33410
|
var import_typescript92 = __toESM(require("typescript"), 1);
|
|
33406
33411
|
|
|
33407
|
-
// bazel-out/
|
|
33412
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
33408
33413
|
var DiagnosticCategoryLabel;
|
|
33409
33414
|
(function(DiagnosticCategoryLabel2) {
|
|
33410
33415
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -33412,7 +33417,7 @@ var DiagnosticCategoryLabel;
|
|
|
33412
33417
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
33413
33418
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
33414
33419
|
|
|
33415
|
-
// bazel-out/
|
|
33420
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
33416
33421
|
var ExtendedTemplateCheckerImpl = class {
|
|
33417
33422
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
33418
33423
|
var _a, _b, _c, _d, _e;
|
|
@@ -33464,7 +33469,7 @@ function assertNever(value) {
|
|
|
33464
33469
|
${value}`);
|
|
33465
33470
|
}
|
|
33466
33471
|
|
|
33467
|
-
// bazel-out/
|
|
33472
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
33468
33473
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
33469
33474
|
factory,
|
|
33470
33475
|
factory4,
|
|
@@ -33475,7 +33480,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
33475
33480
|
factory6
|
|
33476
33481
|
];
|
|
33477
33482
|
|
|
33478
|
-
// bazel-out/
|
|
33483
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
33479
33484
|
var CompilationTicketKind;
|
|
33480
33485
|
(function(CompilationTicketKind2) {
|
|
33481
33486
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -34165,7 +34170,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
34165
34170
|
return versions;
|
|
34166
34171
|
}
|
|
34167
34172
|
|
|
34168
|
-
// bazel-out/
|
|
34173
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
34169
34174
|
var import_typescript95 = __toESM(require("typescript"), 1);
|
|
34170
34175
|
var DelegatingCompilerHost2 = class {
|
|
34171
34176
|
constructor(delegate) {
|
|
@@ -34310,7 +34315,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
34310
34315
|
}
|
|
34311
34316
|
};
|
|
34312
34317
|
|
|
34313
|
-
// bazel-out/
|
|
34318
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
34314
34319
|
var NgtscProgram = class {
|
|
34315
34320
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
34316
34321
|
this.options = options;
|
|
@@ -34528,25 +34533,25 @@ function mergeEmitResults(emitResults) {
|
|
|
34528
34533
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
34529
34534
|
}
|
|
34530
34535
|
|
|
34531
|
-
// bazel-out/
|
|
34536
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
34532
34537
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
34533
34538
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
34534
34539
|
}
|
|
34535
34540
|
|
|
34536
|
-
// bazel-out/
|
|
34541
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
34537
34542
|
var import_typescript99 = __toESM(require("typescript"), 1);
|
|
34538
34543
|
|
|
34539
|
-
// bazel-out/
|
|
34544
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
34540
34545
|
var import_typescript98 = __toESM(require("typescript"), 1);
|
|
34541
34546
|
|
|
34542
|
-
// bazel-out/
|
|
34547
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
34543
34548
|
var import_typescript101 = __toESM(require("typescript"), 1);
|
|
34544
34549
|
|
|
34545
|
-
// bazel-out/
|
|
34550
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/patch_alias_reference_resolution.mjs
|
|
34546
34551
|
var import_typescript100 = __toESM(require("typescript"), 1);
|
|
34547
34552
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
34548
34553
|
|
|
34549
|
-
// bazel-out/
|
|
34554
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
34550
34555
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
34551
34556
|
ngDevMode: false,
|
|
34552
34557
|
ngI18nClosureMode: false
|
|
@@ -34555,7 +34560,7 @@ var GLOBAL_DEFS_FOR_TERSER_WITH_AOT = __spreadProps(__spreadValues({}, GLOBAL_DE
|
|
|
34555
34560
|
ngJitMode: false
|
|
34556
34561
|
});
|
|
34557
34562
|
|
|
34558
|
-
// bazel-out/
|
|
34563
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
34559
34564
|
var LogLevel;
|
|
34560
34565
|
(function(LogLevel2) {
|
|
34561
34566
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -34564,7 +34569,7 @@ var LogLevel;
|
|
|
34564
34569
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
34565
34570
|
})(LogLevel || (LogLevel = {}));
|
|
34566
34571
|
|
|
34567
|
-
// bazel-out/
|
|
34572
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
34568
34573
|
var RESET = "\x1B[0m";
|
|
34569
34574
|
var RED = "\x1B[31m";
|
|
34570
34575
|
var YELLOW = "\x1B[33m";
|
|
@@ -34573,15 +34578,15 @@ var DEBUG = `${BLUE}Debug:${RESET}`;
|
|
|
34573
34578
|
var WARN = `${YELLOW}Warning:${RESET}`;
|
|
34574
34579
|
var ERROR = `${RED}Error:${RESET}`;
|
|
34575
34580
|
|
|
34576
|
-
// bazel-out/
|
|
34581
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
34577
34582
|
setFileSystem(new NodeJSFileSystem());
|
|
34578
34583
|
|
|
34579
|
-
// bazel-out/
|
|
34584
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
34580
34585
|
var import_fs2 = require("fs");
|
|
34581
34586
|
var import_path8 = require("path");
|
|
34582
34587
|
var import_typescript113 = __toESM(require("typescript"), 1);
|
|
34583
34588
|
|
|
34584
|
-
// bazel-out/
|
|
34589
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
34585
34590
|
var import_core13 = require("@angular-devkit/core");
|
|
34586
34591
|
function getProjectTsConfigPaths(tree) {
|
|
34587
34592
|
return __async(this, null, function* () {
|
|
@@ -34661,11 +34666,11 @@ function getWorkspace(tree) {
|
|
|
34661
34666
|
});
|
|
34662
34667
|
}
|
|
34663
34668
|
|
|
34664
|
-
// bazel-out/
|
|
34669
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
34665
34670
|
var import_path4 = require("path");
|
|
34666
34671
|
var import_typescript103 = __toESM(require("typescript"), 1);
|
|
34667
34672
|
|
|
34668
|
-
// bazel-out/
|
|
34673
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
34669
34674
|
var path2 = __toESM(require("path"), 1);
|
|
34670
34675
|
var import_typescript102 = __toESM(require("typescript"), 1);
|
|
34671
34676
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -34682,12 +34687,13 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
34682
34687
|
return import_typescript102.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
34683
34688
|
}
|
|
34684
34689
|
|
|
34685
|
-
// bazel-out/
|
|
34686
|
-
function createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
|
|
34690
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
34691
|
+
function createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles, optionOverrides) {
|
|
34687
34692
|
tsconfigPath = (0, import_path4.resolve)(basePath, tsconfigPath);
|
|
34688
34693
|
const parsed = parseTsconfigFile(tsconfigPath, (0, import_path4.dirname)(tsconfigPath));
|
|
34689
|
-
const
|
|
34690
|
-
|
|
34694
|
+
const options = optionOverrides ? __spreadValues(__spreadValues({}, parsed.options), optionOverrides) : parsed.options;
|
|
34695
|
+
const host = createMigrationCompilerHost(tree, options, basePath, fakeFileRead);
|
|
34696
|
+
return { rootNames: parsed.fileNames.concat(additionalFiles || []), options, host };
|
|
34691
34697
|
}
|
|
34692
34698
|
function createMigrationCompilerHost(tree, options, basePath, fakeRead) {
|
|
34693
34699
|
const host = import_typescript103.default.createCompilerHost(options, true);
|
|
@@ -34704,19 +34710,19 @@ function createMigrationCompilerHost(tree, options, basePath, fakeRead) {
|
|
|
34704
34710
|
return host;
|
|
34705
34711
|
}
|
|
34706
34712
|
function canMigrateFile(basePath, sourceFile, program) {
|
|
34707
|
-
if (sourceFile.isDeclarationFile || program.isSourceFileFromExternalLibrary(sourceFile)) {
|
|
34713
|
+
if (sourceFile.fileName.endsWith(".ngtypecheck.ts") || sourceFile.isDeclarationFile || program.isSourceFileFromExternalLibrary(sourceFile)) {
|
|
34708
34714
|
return false;
|
|
34709
34715
|
}
|
|
34710
34716
|
return !(0, import_path4.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
34711
34717
|
}
|
|
34712
34718
|
|
|
34713
|
-
// bazel-out/
|
|
34719
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
34714
34720
|
var import_typescript109 = __toESM(require("typescript"), 1);
|
|
34715
34721
|
|
|
34716
|
-
// bazel-out/
|
|
34722
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
34717
34723
|
var import_typescript105 = __toESM(require("typescript"), 1);
|
|
34718
34724
|
|
|
34719
|
-
// bazel-out/
|
|
34725
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
|
|
34720
34726
|
var import_typescript104 = __toESM(require("typescript"), 1);
|
|
34721
34727
|
function getImportOfIdentifier(typeChecker, node) {
|
|
34722
34728
|
const symbol = typeChecker.getSymbolAtLocation(node);
|
|
@@ -34760,7 +34766,7 @@ function findImportSpecifier(nodes, specifierName) {
|
|
|
34760
34766
|
});
|
|
34761
34767
|
}
|
|
34762
34768
|
|
|
34763
|
-
// bazel-out/
|
|
34769
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
34764
34770
|
function getCallDecoratorImport(typeChecker, decorator) {
|
|
34765
34771
|
if (!import_typescript105.default.isCallExpression(decorator.expression) || !import_typescript105.default.isIdentifier(decorator.expression.expression)) {
|
|
34766
34772
|
return null;
|
|
@@ -34769,7 +34775,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
|
|
|
34769
34775
|
return getImportOfIdentifier(typeChecker, identifier);
|
|
34770
34776
|
}
|
|
34771
34777
|
|
|
34772
|
-
// bazel-out/
|
|
34778
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
|
|
34773
34779
|
function getAngularDecorators(typeChecker, decorators) {
|
|
34774
34780
|
return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
|
|
34775
34781
|
node,
|
|
@@ -34779,7 +34785,7 @@ function getAngularDecorators(typeChecker, decorators) {
|
|
|
34779
34785
|
}));
|
|
34780
34786
|
}
|
|
34781
34787
|
|
|
34782
|
-
// bazel-out/
|
|
34788
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
|
|
34783
34789
|
var import_typescript106 = __toESM(require("typescript"), 1);
|
|
34784
34790
|
function closestNode(node, predicate) {
|
|
34785
34791
|
let current = node.parent;
|
|
@@ -34792,11 +34798,11 @@ function closestNode(node, predicate) {
|
|
|
34792
34798
|
return null;
|
|
34793
34799
|
}
|
|
34794
34800
|
|
|
34795
|
-
// bazel-out/
|
|
34801
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
|
|
34796
34802
|
var import_path6 = require("path");
|
|
34797
34803
|
var import_typescript108 = __toESM(require("typescript"), 1);
|
|
34798
34804
|
|
|
34799
|
-
// bazel-out/
|
|
34805
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
|
|
34800
34806
|
var import_path5 = require("path");
|
|
34801
34807
|
var import_typescript107 = __toESM(require("typescript"), 1);
|
|
34802
34808
|
var IS_AFTER_TS_492 = isAfterVersion2(4, 9);
|
|
@@ -34989,10 +34995,11 @@ function isAfterVersion2(targetMajor, targetMinor) {
|
|
|
34989
34995
|
return major === targetMajor ? minor >= targetMinor : true;
|
|
34990
34996
|
}
|
|
34991
34997
|
|
|
34992
|
-
// bazel-out/
|
|
34998
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
|
|
34993
34999
|
var ChangeTracker = class {
|
|
34994
|
-
constructor(_printer) {
|
|
35000
|
+
constructor(_printer, _importRemapper) {
|
|
34995
35001
|
this._printer = _printer;
|
|
35002
|
+
this._importRemapper = _importRemapper;
|
|
34996
35003
|
this._changes = /* @__PURE__ */ new Map();
|
|
34997
35004
|
this._importManager = new ImportManager2((currentFile) => ({
|
|
34998
35005
|
addNewImport: (start, text) => this.insertText(currentFile, start, text),
|
|
@@ -35013,6 +35020,10 @@ var ChangeTracker = class {
|
|
|
35013
35020
|
this._trackChange(node.getSourceFile(), { start: node.getStart(), removeLength: node.getWidth(), text: "" });
|
|
35014
35021
|
}
|
|
35015
35022
|
addImport(sourceFile, symbolName, moduleName, alias = null) {
|
|
35023
|
+
if (this._importRemapper) {
|
|
35024
|
+
moduleName = this._importRemapper(moduleName);
|
|
35025
|
+
}
|
|
35026
|
+
moduleName = normalizePath(moduleName);
|
|
35016
35027
|
return this._importManager.addImportToSourceFile(sourceFile, symbolName, moduleName, alias);
|
|
35017
35028
|
}
|
|
35018
35029
|
recordChanges() {
|
|
@@ -35099,13 +35110,16 @@ function getRelativeImportPath(fromFile, toFile) {
|
|
|
35099
35110
|
if (!path3.startsWith(".")) {
|
|
35100
35111
|
path3 = "./" + path3;
|
|
35101
35112
|
}
|
|
35102
|
-
return path3;
|
|
35113
|
+
return normalizePath(path3);
|
|
35114
|
+
}
|
|
35115
|
+
function normalizePath(path3) {
|
|
35116
|
+
return path3.replace(/\\/g, "/");
|
|
35103
35117
|
}
|
|
35104
35118
|
|
|
35105
|
-
// bazel-out/
|
|
35106
|
-
function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, printer) {
|
|
35119
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
35120
|
+
function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper) {
|
|
35107
35121
|
const filesToRemove = /* @__PURE__ */ new Set();
|
|
35108
|
-
const tracker = new ChangeTracker(printer);
|
|
35122
|
+
const tracker = new ChangeTracker(printer, importRemapper);
|
|
35109
35123
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
35110
35124
|
const languageService = createLanguageService(program, host, rootFileNames, basePath);
|
|
35111
35125
|
const removalLocations = {
|
|
@@ -35294,14 +35308,14 @@ function findNgModuleDecorator(node, typeChecker) {
|
|
|
35294
35308
|
return decorators.find((decorator) => decorator.name === "NgModule") || null;
|
|
35295
35309
|
}
|
|
35296
35310
|
|
|
35297
|
-
// bazel-out/
|
|
35311
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
35298
35312
|
var import_path7 = require("path");
|
|
35299
35313
|
var import_typescript112 = __toESM(require("typescript"), 1);
|
|
35300
35314
|
|
|
35301
|
-
// bazel-out/
|
|
35315
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
35302
35316
|
var import_typescript111 = __toESM(require("typescript"), 1);
|
|
35303
35317
|
|
|
35304
|
-
// bazel-out/
|
|
35318
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
|
|
35305
35319
|
var import_typescript110 = __toESM(require("typescript"), 1);
|
|
35306
35320
|
function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
35307
35321
|
var _a, _b;
|
|
@@ -35310,18 +35324,25 @@ function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
|
35310
35324
|
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];
|
|
35311
35325
|
}
|
|
35312
35326
|
|
|
35313
|
-
// bazel-out/
|
|
35314
|
-
function toStandalone(sourceFiles, program, printer) {
|
|
35327
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
35328
|
+
function toStandalone(sourceFiles, program, printer, importRemapper) {
|
|
35315
35329
|
const templateTypeChecker = program.compiler.getTemplateTypeChecker();
|
|
35316
35330
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
35317
35331
|
const modulesToMigrate = [];
|
|
35318
35332
|
const testObjectsToMigrate = [];
|
|
35319
35333
|
const declarations = [];
|
|
35320
|
-
const tracker = new ChangeTracker(printer);
|
|
35334
|
+
const tracker = new ChangeTracker(printer, importRemapper);
|
|
35321
35335
|
for (const sourceFile of sourceFiles) {
|
|
35322
|
-
const
|
|
35323
|
-
|
|
35324
|
-
|
|
35336
|
+
const modules = findNgModuleClassesToMigrate(sourceFile, typeChecker);
|
|
35337
|
+
const testObjects = findTestObjectsToMigrate(sourceFile, typeChecker);
|
|
35338
|
+
for (const module3 of modules) {
|
|
35339
|
+
const allModuleDeclarations = extractDeclarationsFromModule(module3, templateTypeChecker);
|
|
35340
|
+
const unbootstrappedDeclarations = filterNonBootstrappedDeclarations(allModuleDeclarations, module3, templateTypeChecker, typeChecker);
|
|
35341
|
+
if (unbootstrappedDeclarations.length > 0) {
|
|
35342
|
+
modulesToMigrate.push(module3);
|
|
35343
|
+
declarations.push(...unbootstrappedDeclarations);
|
|
35344
|
+
}
|
|
35345
|
+
}
|
|
35325
35346
|
testObjectsToMigrate.push(...testObjects);
|
|
35326
35347
|
}
|
|
35327
35348
|
for (const declaration of declarations) {
|
|
@@ -35330,7 +35351,7 @@ function toStandalone(sourceFiles, program, printer) {
|
|
|
35330
35351
|
for (const node of modulesToMigrate) {
|
|
35331
35352
|
migrateNgModuleClass(node, declarations, tracker, typeChecker, templateTypeChecker);
|
|
35332
35353
|
}
|
|
35333
|
-
migrateTestDeclarations(testObjectsToMigrate, declarations, tracker, typeChecker);
|
|
35354
|
+
migrateTestDeclarations(testObjectsToMigrate, declarations, tracker, templateTypeChecker, typeChecker);
|
|
35334
35355
|
return tracker.recordChanges();
|
|
35335
35356
|
}
|
|
35336
35357
|
function convertNgModuleDeclarationToStandalone(ref, allDeclarations, tracker, typeChecker) {
|
|
@@ -35363,7 +35384,14 @@ function getComponentImportExpressions(ref, allDeclarations, tracker, typeChecke
|
|
|
35363
35384
|
const identifier = tracker.addImport(ref.node.getSourceFile(), importLocation.symbolName, importLocation.moduleSpecifier);
|
|
35364
35385
|
imports.push(identifier);
|
|
35365
35386
|
} else {
|
|
35366
|
-
|
|
35387
|
+
const identifier = import_typescript111.default.factory.createIdentifier(importLocation.symbolName);
|
|
35388
|
+
if (importLocation.isForwardReference) {
|
|
35389
|
+
const forwardRefExpression = tracker.addImport(ref.node.getSourceFile(), "forwardRef", "@angular/core");
|
|
35390
|
+
const arrowFunction = import_typescript111.default.factory.createArrowFunction(void 0, void 0, [], void 0, void 0, identifier);
|
|
35391
|
+
imports.push(import_typescript111.default.factory.createCallExpression(forwardRefExpression, void 0, [arrowFunction]));
|
|
35392
|
+
} else {
|
|
35393
|
+
imports.push(identifier);
|
|
35394
|
+
}
|
|
35367
35395
|
}
|
|
35368
35396
|
seenImports.add(importLocation.symbolName);
|
|
35369
35397
|
}
|
|
@@ -35373,11 +35401,12 @@ function getComponentImportExpressions(ref, allDeclarations, tracker, typeChecke
|
|
|
35373
35401
|
function migrateNgModuleClass(node, allDeclarations, tracker, typeChecker, templateTypeChecker) {
|
|
35374
35402
|
var _a;
|
|
35375
35403
|
const decorator = (_a = templateTypeChecker.getNgModuleMetadata(node)) == null ? void 0 : _a.decorator;
|
|
35376
|
-
|
|
35377
|
-
|
|
35404
|
+
const metadata = decorator ? extractMetadataLiteral(decorator) : null;
|
|
35405
|
+
if (metadata) {
|
|
35406
|
+
moveDeclarationsToImports(metadata, allDeclarations.map((decl) => decl.node), typeChecker, templateTypeChecker, tracker);
|
|
35378
35407
|
}
|
|
35379
35408
|
}
|
|
35380
|
-
function moveDeclarationsToImports(literal3, allDeclarations, typeChecker, tracker) {
|
|
35409
|
+
function moveDeclarationsToImports(literal3, allDeclarations, typeChecker, templateTypeChecker, tracker) {
|
|
35381
35410
|
const declarationsProp = findLiteralProperty(literal3, "declarations");
|
|
35382
35411
|
if (!declarationsProp) {
|
|
35383
35412
|
return;
|
|
@@ -35391,7 +35420,7 @@ function moveDeclarationsToImports(literal3, allDeclarations, typeChecker, track
|
|
|
35391
35420
|
for (const el of declarationsProp.initializer.elements) {
|
|
35392
35421
|
if (import_typescript111.default.isIdentifier(el)) {
|
|
35393
35422
|
const correspondingClass = findClassDeclaration(el, typeChecker);
|
|
35394
|
-
if (!correspondingClass ||
|
|
35423
|
+
if (!correspondingClass || isStandaloneDeclaration(correspondingClass, allDeclarations, templateTypeChecker)) {
|
|
35395
35424
|
declarationsToCopy.push(el);
|
|
35396
35425
|
} else {
|
|
35397
35426
|
declarationsToPreserve.push(el);
|
|
@@ -35447,55 +35476,65 @@ function addPropertyToAngularDecorator(node, property) {
|
|
|
35447
35476
|
} else {
|
|
35448
35477
|
return node;
|
|
35449
35478
|
}
|
|
35450
|
-
return import_typescript111.default.factory.
|
|
35451
|
-
import_typescript111.default.factory.createObjectLiteralExpression(literalProperties, literalProperties.length > 1)
|
|
35452
|
-
]));
|
|
35479
|
+
return import_typescript111.default.factory.createDecorator(import_typescript111.default.factory.createCallExpression(node.expression.expression, node.expression.typeArguments, [import_typescript111.default.factory.createObjectLiteralExpression(literalProperties, literalProperties.length > 1)]));
|
|
35453
35480
|
}
|
|
35454
35481
|
function isNamedPropertyAssignment(node) {
|
|
35455
35482
|
return import_typescript111.default.isPropertyAssignment(node) && node.name && import_typescript111.default.isIdentifier(node.name);
|
|
35456
35483
|
}
|
|
35457
35484
|
function findImportLocation(target, inComponent, importMode, typeChecker) {
|
|
35458
35485
|
const importLocations = typeChecker.getPotentialImportsFor(target, inComponent.node, importMode);
|
|
35486
|
+
let firstSameFileImport = null;
|
|
35459
35487
|
let firstModuleImport = null;
|
|
35460
35488
|
for (const location of importLocations) {
|
|
35461
35489
|
if (location.kind === PotentialImportKind.Standalone) {
|
|
35462
35490
|
return location;
|
|
35463
35491
|
}
|
|
35464
|
-
if (location.
|
|
35492
|
+
if (!location.moduleSpecifier && !firstSameFileImport) {
|
|
35493
|
+
firstSameFileImport = location;
|
|
35494
|
+
}
|
|
35495
|
+
if (location.kind === PotentialImportKind.NgModule && !firstModuleImport && !location.symbolName.startsWith("\u0275")) {
|
|
35465
35496
|
firstModuleImport = location;
|
|
35466
35497
|
}
|
|
35467
35498
|
}
|
|
35468
|
-
return firstModuleImport;
|
|
35499
|
+
return firstSameFileImport || firstModuleImport || importLocations[0] || null;
|
|
35469
35500
|
}
|
|
35470
35501
|
function hasNgModuleMetadataElements(node) {
|
|
35471
35502
|
return import_typescript111.default.isPropertyAssignment(node) && (!import_typescript111.default.isArrayLiteralExpression(node.initializer) || node.initializer.elements.length > 0);
|
|
35472
35503
|
}
|
|
35473
|
-
function
|
|
35504
|
+
function findNgModuleClassesToMigrate(sourceFile, typeChecker) {
|
|
35474
35505
|
const modules = [];
|
|
35506
|
+
if (getImportSpecifier(sourceFile, "@angular/core", "NgModule")) {
|
|
35507
|
+
sourceFile.forEachChild(function walk(node) {
|
|
35508
|
+
if (import_typescript111.default.isClassDeclaration(node)) {
|
|
35509
|
+
const decorator = getAngularDecorators(typeChecker, import_typescript111.default.getDecorators(node) || []).find((current) => current.name === "NgModule");
|
|
35510
|
+
const metadata = decorator ? extractMetadataLiteral(decorator.node) : null;
|
|
35511
|
+
if (metadata) {
|
|
35512
|
+
const declarations = findLiteralProperty(metadata, "declarations");
|
|
35513
|
+
if (declarations != null && hasNgModuleMetadataElements(declarations)) {
|
|
35514
|
+
modules.push(node);
|
|
35515
|
+
}
|
|
35516
|
+
}
|
|
35517
|
+
}
|
|
35518
|
+
node.forEachChild(walk);
|
|
35519
|
+
});
|
|
35520
|
+
}
|
|
35521
|
+
return modules;
|
|
35522
|
+
}
|
|
35523
|
+
function findTestObjectsToMigrate(sourceFile, typeChecker) {
|
|
35475
35524
|
const testObjects = [];
|
|
35476
35525
|
const testBedImport = getImportSpecifier(sourceFile, "@angular/core/testing", "TestBed");
|
|
35477
35526
|
const catalystImport = getImportSpecifier(sourceFile, /testing\/catalyst$/, "setupModule");
|
|
35478
|
-
|
|
35479
|
-
|
|
35480
|
-
|
|
35481
|
-
|
|
35482
|
-
|
|
35483
|
-
const declarations = findLiteralProperty(metadata, "declarations");
|
|
35484
|
-
const bootstrap = findLiteralProperty(metadata, "bootstrap");
|
|
35485
|
-
const hasDeclarations = declarations != null && hasNgModuleMetadataElements(declarations);
|
|
35486
|
-
const hasBootstrap = bootstrap != null && hasNgModuleMetadataElements(bootstrap);
|
|
35487
|
-
if (hasDeclarations && !hasBootstrap) {
|
|
35488
|
-
modules.push(node);
|
|
35527
|
+
if (testBedImport || catalystImport) {
|
|
35528
|
+
sourceFile.forEachChild(function walk(node) {
|
|
35529
|
+
if (import_typescript111.default.isCallExpression(node) && node.arguments.length > 0 && import_typescript111.default.isObjectLiteralExpression(node.arguments[0])) {
|
|
35530
|
+
if (testBedImport && import_typescript111.default.isPropertyAccessExpression(node.expression) && node.expression.name.text === "configureTestingModule" && isReferenceToImport(typeChecker, node.expression.expression, testBedImport) || catalystImport && import_typescript111.default.isIdentifier(node.expression) && isReferenceToImport(typeChecker, node.expression, catalystImport)) {
|
|
35531
|
+
testObjects.push(node.arguments[0]);
|
|
35489
35532
|
}
|
|
35490
35533
|
}
|
|
35491
|
-
|
|
35492
|
-
|
|
35493
|
-
|
|
35494
|
-
|
|
35495
|
-
}
|
|
35496
|
-
node.forEachChild(walk);
|
|
35497
|
-
});
|
|
35498
|
-
return { modules, testObjects };
|
|
35534
|
+
node.forEachChild(walk);
|
|
35535
|
+
});
|
|
35536
|
+
}
|
|
35537
|
+
return testObjects;
|
|
35499
35538
|
}
|
|
35500
35539
|
function findTemplateDependencies(ref, typeChecker) {
|
|
35501
35540
|
const results = [];
|
|
@@ -35518,11 +35557,32 @@ function findTemplateDependencies(ref, typeChecker) {
|
|
|
35518
35557
|
}
|
|
35519
35558
|
return results;
|
|
35520
35559
|
}
|
|
35521
|
-
function
|
|
35522
|
-
|
|
35523
|
-
|
|
35560
|
+
function filterNonBootstrappedDeclarations(declarations, ngModule, templateTypeChecker, typeChecker) {
|
|
35561
|
+
const metadata = templateTypeChecker.getNgModuleMetadata(ngModule);
|
|
35562
|
+
const metaLiteral = metadata && metadata.decorator ? extractMetadataLiteral(metadata.decorator) : null;
|
|
35563
|
+
const bootstrapProp = metaLiteral ? findLiteralProperty(metaLiteral, "bootstrap") : null;
|
|
35564
|
+
if (!bootstrapProp) {
|
|
35565
|
+
return declarations;
|
|
35566
|
+
}
|
|
35567
|
+
if (!import_typescript111.default.isPropertyAssignment(bootstrapProp) || !import_typescript111.default.isArrayLiteralExpression(bootstrapProp.initializer)) {
|
|
35568
|
+
return [];
|
|
35569
|
+
}
|
|
35570
|
+
const bootstrappedClasses = /* @__PURE__ */ new Set();
|
|
35571
|
+
for (const el of bootstrapProp.initializer.elements) {
|
|
35572
|
+
const referencedClass = import_typescript111.default.isIdentifier(el) ? findClassDeclaration(el, typeChecker) : null;
|
|
35573
|
+
if (referencedClass) {
|
|
35574
|
+
bootstrappedClasses.add(referencedClass);
|
|
35575
|
+
} else {
|
|
35576
|
+
return [];
|
|
35577
|
+
}
|
|
35578
|
+
}
|
|
35579
|
+
return declarations.filter((ref) => !bootstrappedClasses.has(ref.node));
|
|
35524
35580
|
}
|
|
35525
|
-
function
|
|
35581
|
+
function extractDeclarationsFromModule(ngModule, templateTypeChecker) {
|
|
35582
|
+
const metadata = templateTypeChecker.getNgModuleMetadata(ngModule);
|
|
35583
|
+
return metadata ? metadata.declarations.filter((decl) => import_typescript111.default.isClassDeclaration(decl.node)) : [];
|
|
35584
|
+
}
|
|
35585
|
+
function migrateTestDeclarations(testObjects, declarationsOutsideOfTestFiles, tracker, templateTypeChecker, typeChecker) {
|
|
35526
35586
|
const { decorators, componentImports } = analyzeTestingModules(testObjects, typeChecker);
|
|
35527
35587
|
const allDeclarations = declarationsOutsideOfTestFiles.map((ref) => ref.node);
|
|
35528
35588
|
for (const decorator of decorators) {
|
|
@@ -35546,7 +35606,7 @@ function migrateTestDeclarations(testObjects, declarationsOutsideOfTestFiles, tr
|
|
|
35546
35606
|
}
|
|
35547
35607
|
}
|
|
35548
35608
|
for (const obj of testObjects) {
|
|
35549
|
-
moveDeclarationsToImports(obj, allDeclarations, typeChecker, tracker);
|
|
35609
|
+
moveDeclarationsToImports(obj, allDeclarations, typeChecker, templateTypeChecker, tracker);
|
|
35550
35610
|
}
|
|
35551
35611
|
}
|
|
35552
35612
|
function analyzeTestingModules(testObjects, typeChecker) {
|
|
@@ -35559,7 +35619,7 @@ function analyzeTestingModules(testObjects, typeChecker) {
|
|
|
35559
35619
|
continue;
|
|
35560
35620
|
}
|
|
35561
35621
|
const importsProp = findLiteralProperty(obj, "imports");
|
|
35562
|
-
const importElements = importsProp && hasNgModuleMetadataElements(importsProp) ? importsProp.initializer.elements : null;
|
|
35622
|
+
const importElements = importsProp && hasNgModuleMetadataElements(importsProp) ? importsProp.initializer.elements.filter((el) => !import_typescript111.default.isCallExpression(el)) : null;
|
|
35563
35623
|
for (const decl of declarations) {
|
|
35564
35624
|
if (seenDeclarations.has(decl)) {
|
|
35565
35625
|
continue;
|
|
@@ -35594,29 +35654,49 @@ function extractDeclarationsFromTestObject(obj, typeChecker) {
|
|
|
35594
35654
|
}
|
|
35595
35655
|
return results;
|
|
35596
35656
|
}
|
|
35657
|
+
function extractMetadataLiteral(decorator) {
|
|
35658
|
+
return import_typescript111.default.isCallExpression(decorator.expression) && decorator.expression.arguments.length === 1 && import_typescript111.default.isObjectLiteralExpression(decorator.expression.arguments[0]) ? decorator.expression.arguments[0] : null;
|
|
35659
|
+
}
|
|
35660
|
+
function isStandaloneDeclaration(node, declarationsInMigration, templateTypeChecker) {
|
|
35661
|
+
if (declarationsInMigration.includes(node)) {
|
|
35662
|
+
return true;
|
|
35663
|
+
}
|
|
35664
|
+
const metadata = templateTypeChecker.getDirectiveMetadata(node) || templateTypeChecker.getPipeMetadata(node);
|
|
35665
|
+
return metadata != null && metadata.isStandalone;
|
|
35666
|
+
}
|
|
35597
35667
|
|
|
35598
|
-
// bazel-out/
|
|
35599
|
-
function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFiles, printer) {
|
|
35600
|
-
const tracker = new ChangeTracker(printer);
|
|
35668
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
35669
|
+
function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper) {
|
|
35670
|
+
const tracker = new ChangeTracker(printer, importRemapper);
|
|
35601
35671
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
35602
35672
|
const templateTypeChecker = program.compiler.getTemplateTypeChecker();
|
|
35603
35673
|
const languageService = createLanguageService(program, host, rootFileNames, basePath);
|
|
35604
35674
|
const bootstrapCalls = [];
|
|
35605
|
-
|
|
35606
|
-
|
|
35607
|
-
|
|
35608
|
-
|
|
35609
|
-
|
|
35675
|
+
const testObjects = [];
|
|
35676
|
+
const allDeclarations = [];
|
|
35677
|
+
for (const sourceFile of sourceFiles) {
|
|
35678
|
+
sourceFile.forEachChild(function walk(node) {
|
|
35679
|
+
if (import_typescript112.default.isCallExpression(node) && import_typescript112.default.isPropertyAccessExpression(node.expression) && node.expression.name.text === "bootstrapModule" && isClassReferenceInAngularModule(node.expression, "PlatformRef", "core", typeChecker)) {
|
|
35680
|
+
const call = analyzeBootstrapCall(node, typeChecker, templateTypeChecker);
|
|
35681
|
+
if (call) {
|
|
35682
|
+
bootstrapCalls.push(call);
|
|
35683
|
+
}
|
|
35610
35684
|
}
|
|
35611
|
-
|
|
35612
|
-
|
|
35613
|
-
|
|
35685
|
+
node.forEachChild(walk);
|
|
35686
|
+
});
|
|
35687
|
+
testObjects.push(...findTestObjectsToMigrate(sourceFile, typeChecker));
|
|
35688
|
+
}
|
|
35614
35689
|
for (const call of bootstrapCalls) {
|
|
35615
|
-
|
|
35690
|
+
allDeclarations.push(...call.declarations);
|
|
35691
|
+
migrateBootstrapCall(call, tracker, languageService, typeChecker, printer);
|
|
35692
|
+
}
|
|
35693
|
+
for (const declaration of allDeclarations) {
|
|
35694
|
+
convertNgModuleDeclarationToStandalone(declaration, allDeclarations, tracker, templateTypeChecker);
|
|
35616
35695
|
}
|
|
35696
|
+
migrateTestDeclarations(testObjects, allDeclarations, tracker, templateTypeChecker, typeChecker);
|
|
35617
35697
|
return tracker.recordChanges();
|
|
35618
35698
|
}
|
|
35619
|
-
function analyzeBootstrapCall(call, typeChecker) {
|
|
35699
|
+
function analyzeBootstrapCall(call, typeChecker, templateTypeChecker) {
|
|
35620
35700
|
if (call.arguments.length === 0 || !import_typescript112.default.isIdentifier(call.arguments[0])) {
|
|
35621
35701
|
return null;
|
|
35622
35702
|
}
|
|
@@ -35635,11 +35715,17 @@ function analyzeBootstrapCall(call, typeChecker) {
|
|
|
35635
35715
|
}
|
|
35636
35716
|
const component = findClassDeclaration(bootstrapProp.initializer.elements[0], typeChecker);
|
|
35637
35717
|
if (component && component.name && import_typescript112.default.isIdentifier(component.name)) {
|
|
35638
|
-
return {
|
|
35718
|
+
return {
|
|
35719
|
+
module: declaration,
|
|
35720
|
+
metadata,
|
|
35721
|
+
component,
|
|
35722
|
+
call,
|
|
35723
|
+
declarations: extractDeclarationsFromModule(declaration, templateTypeChecker)
|
|
35724
|
+
};
|
|
35639
35725
|
}
|
|
35640
35726
|
return null;
|
|
35641
35727
|
}
|
|
35642
|
-
function migrateBootstrapCall(analysis, tracker, languageService, typeChecker,
|
|
35728
|
+
function migrateBootstrapCall(analysis, tracker, languageService, typeChecker, printer) {
|
|
35643
35729
|
const sourceFile = analysis.call.getSourceFile();
|
|
35644
35730
|
const moduleSourceFile = analysis.metadata.getSourceFile();
|
|
35645
35731
|
const providers = findLiteralProperty(analysis.metadata, "providers");
|
|
@@ -35648,7 +35734,6 @@ function migrateBootstrapCall(analysis, tracker, languageService, typeChecker, t
|
|
|
35648
35734
|
const providersInNewCall = [];
|
|
35649
35735
|
const moduleImportsInNewCall = [];
|
|
35650
35736
|
let nodeLookup = null;
|
|
35651
|
-
convertBootstrappedModuleToStandalone(analysis, tracker, templateTypeChecker);
|
|
35652
35737
|
tracker.insertText(moduleSourceFile, analysis.metadata.getStart(), '/* TODO(standalone-migration): clean up removed NgModule class manually or run the "Remove unnecessary NgModule classes" step of the migration again. \n');
|
|
35653
35738
|
tracker.insertText(moduleSourceFile, analysis.metadata.getEnd(), " */");
|
|
35654
35739
|
if (providers && import_typescript112.default.isPropertyAssignment(providers)) {
|
|
@@ -35701,41 +35786,33 @@ function replaceBootstrapCallExpression(analysis, providers, modules, tracker) {
|
|
|
35701
35786
|
analysis.metadata.getSourceFile()
|
|
35702
35787
|
);
|
|
35703
35788
|
}
|
|
35704
|
-
function convertBootstrappedModuleToStandalone(analysis, tracker, templateTypeChecker) {
|
|
35705
|
-
var _a, _b;
|
|
35706
|
-
const metadata = templateTypeChecker.getNgModuleMetadata(analysis.module);
|
|
35707
|
-
if (!metadata) {
|
|
35708
|
-
throw new Error(`Cannot resolve NgModule metadata for class ${(_a = analysis.module.name) == null ? void 0 : _a.getText()}. Cannot switch to standalone bootstrap API.`);
|
|
35709
|
-
}
|
|
35710
|
-
const classDeclarations = metadata.declarations.filter((decl) => import_typescript112.default.isClassDeclaration(decl.node));
|
|
35711
|
-
if (!classDeclarations.some((decl) => decl.node === analysis.component)) {
|
|
35712
|
-
throw new Error(`Bootstrapped component is not in the declarations array of NgModule ${(_b = analysis.module.name) == null ? void 0 : _b.getText()}. Cannot switch to standalone bootstrap API.`);
|
|
35713
|
-
}
|
|
35714
|
-
for (const decl of classDeclarations) {
|
|
35715
|
-
if (import_typescript112.default.isClassDeclaration(decl.node)) {
|
|
35716
|
-
convertNgModuleDeclarationToStandalone(decl, classDeclarations, tracker, templateTypeChecker);
|
|
35717
|
-
}
|
|
35718
|
-
}
|
|
35719
|
-
}
|
|
35720
35789
|
function migrateImportsForBootstrapCall(sourceFile, imports, nodeLookup, importsForNewCall, providersInNewCall, tracker, nodesToCopy, languageService, typeChecker) {
|
|
35721
35790
|
if (!import_typescript112.default.isArrayLiteralExpression(imports.initializer)) {
|
|
35722
35791
|
importsForNewCall.push(imports.initializer);
|
|
35723
35792
|
return;
|
|
35724
35793
|
}
|
|
35725
35794
|
for (const element of imports.initializer.elements) {
|
|
35726
|
-
if (import_typescript112.default.isCallExpression(element) &&
|
|
35727
|
-
|
|
35728
|
-
|
|
35729
|
-
|
|
35795
|
+
if (import_typescript112.default.isCallExpression(element) && import_typescript112.default.isPropertyAccessExpression(element.expression) && element.arguments.length > 0 && element.expression.name.text === "forRoot" && isClassReferenceInAngularModule(element.expression.expression, "RouterModule", "router", typeChecker)) {
|
|
35796
|
+
const options = element.arguments[1];
|
|
35797
|
+
const features = options ? getRouterModuleForRootFeatures(sourceFile, options, tracker) : [];
|
|
35798
|
+
if (features !== null) {
|
|
35799
|
+
providersInNewCall.push(import_typescript112.default.factory.createCallExpression(tracker.addImport(sourceFile, "provideRouter", "@angular/router"), [], [element.arguments[0], ...features]));
|
|
35800
|
+
addNodesToCopy(sourceFile, element.arguments[0], nodeLookup, tracker, nodesToCopy, languageService);
|
|
35801
|
+
if (options) {
|
|
35802
|
+
addNodesToCopy(sourceFile, options, nodeLookup, tracker, nodesToCopy, languageService);
|
|
35803
|
+
}
|
|
35804
|
+
continue;
|
|
35805
|
+
}
|
|
35730
35806
|
}
|
|
35731
35807
|
if (import_typescript112.default.isIdentifier(element)) {
|
|
35732
|
-
const animationsModule = "
|
|
35733
|
-
|
|
35734
|
-
|
|
35808
|
+
const animationsModule = "platform-browser/animations";
|
|
35809
|
+
const animationsImport = `@angular/${animationsModule}`;
|
|
35810
|
+
if (isClassReferenceInAngularModule(element, "BrowserAnimationsModule", animationsModule, typeChecker)) {
|
|
35811
|
+
providersInNewCall.push(import_typescript112.default.factory.createCallExpression(tracker.addImport(sourceFile, "provideAnimations", animationsImport), [], []));
|
|
35735
35812
|
continue;
|
|
35736
35813
|
}
|
|
35737
|
-
if (
|
|
35738
|
-
providersInNewCall.push(import_typescript112.default.factory.createCallExpression(tracker.addImport(sourceFile, "provideNoopAnimations",
|
|
35814
|
+
if (isClassReferenceInAngularModule(element, "NoopAnimationsModule", animationsModule, typeChecker)) {
|
|
35815
|
+
providersInNewCall.push(import_typescript112.default.factory.createCallExpression(tracker.addImport(sourceFile, "provideNoopAnimations", animationsImport), [], []));
|
|
35739
35816
|
continue;
|
|
35740
35817
|
}
|
|
35741
35818
|
}
|
|
@@ -35748,6 +35825,71 @@ function migrateImportsForBootstrapCall(sourceFile, imports, nodeLookup, imports
|
|
|
35748
35825
|
}
|
|
35749
35826
|
}
|
|
35750
35827
|
}
|
|
35828
|
+
function getRouterModuleForRootFeatures(sourceFile, options, tracker) {
|
|
35829
|
+
if (!import_typescript112.default.isObjectLiteralExpression(options)) {
|
|
35830
|
+
return null;
|
|
35831
|
+
}
|
|
35832
|
+
const featureExpressions = [];
|
|
35833
|
+
const configOptions = [];
|
|
35834
|
+
const inMemoryScrollingOptions = [];
|
|
35835
|
+
const features = new UniqueItemTracker();
|
|
35836
|
+
for (const prop of options.properties) {
|
|
35837
|
+
if (!import_typescript112.default.isPropertyAssignment(prop) || !import_typescript112.default.isIdentifier(prop.name) && !import_typescript112.default.isStringLiteralLike(prop.name)) {
|
|
35838
|
+
return null;
|
|
35839
|
+
}
|
|
35840
|
+
switch (prop.name.text) {
|
|
35841
|
+
case "preloadingStrategy":
|
|
35842
|
+
features.track("withPreloading", prop.initializer);
|
|
35843
|
+
break;
|
|
35844
|
+
case "enableTracing":
|
|
35845
|
+
if (prop.initializer.kind === import_typescript112.default.SyntaxKind.TrueKeyword) {
|
|
35846
|
+
features.track("withDebugTracing", null);
|
|
35847
|
+
}
|
|
35848
|
+
break;
|
|
35849
|
+
case "initialNavigation":
|
|
35850
|
+
if (!import_typescript112.default.isStringLiteralLike(prop.initializer)) {
|
|
35851
|
+
return null;
|
|
35852
|
+
}
|
|
35853
|
+
if (prop.initializer.text === "enabledBlocking" || prop.initializer.text === "enabled") {
|
|
35854
|
+
features.track("withEnabledBlockingInitialNavigation", null);
|
|
35855
|
+
} else if (prop.initializer.text === "disabled") {
|
|
35856
|
+
features.track("withDisabledInitialNavigation", null);
|
|
35857
|
+
}
|
|
35858
|
+
break;
|
|
35859
|
+
case "useHash":
|
|
35860
|
+
if (prop.initializer.kind === import_typescript112.default.SyntaxKind.TrueKeyword) {
|
|
35861
|
+
features.track("withHashLocation", null);
|
|
35862
|
+
}
|
|
35863
|
+
break;
|
|
35864
|
+
case "errorHandler":
|
|
35865
|
+
features.track("withNavigationErrorHandler", prop.initializer);
|
|
35866
|
+
break;
|
|
35867
|
+
case "anchorScrolling":
|
|
35868
|
+
case "scrollPositionRestoration":
|
|
35869
|
+
inMemoryScrollingOptions.push(prop);
|
|
35870
|
+
break;
|
|
35871
|
+
default:
|
|
35872
|
+
configOptions.push(prop);
|
|
35873
|
+
break;
|
|
35874
|
+
}
|
|
35875
|
+
}
|
|
35876
|
+
if (inMemoryScrollingOptions.length > 0) {
|
|
35877
|
+
features.track("withInMemoryScrolling", import_typescript112.default.factory.createObjectLiteralExpression(inMemoryScrollingOptions));
|
|
35878
|
+
}
|
|
35879
|
+
if (configOptions.length > 0) {
|
|
35880
|
+
features.track("withRouterConfig", import_typescript112.default.factory.createObjectLiteralExpression(configOptions));
|
|
35881
|
+
}
|
|
35882
|
+
for (const [feature, featureArgs] of features.getEntries()) {
|
|
35883
|
+
const callArgs = [];
|
|
35884
|
+
featureArgs.forEach((arg) => {
|
|
35885
|
+
if (arg !== null) {
|
|
35886
|
+
callArgs.push(arg);
|
|
35887
|
+
}
|
|
35888
|
+
});
|
|
35889
|
+
featureExpressions.push(import_typescript112.default.factory.createCallExpression(tracker.addImport(sourceFile, feature, "@angular/router"), [], callArgs));
|
|
35890
|
+
}
|
|
35891
|
+
return featureExpressions;
|
|
35892
|
+
}
|
|
35751
35893
|
function addNodesToCopy(targetFile, rootNode, nodeLookup, tracker, nodesToCopy, languageService) {
|
|
35752
35894
|
const refs = findAllSameFileReferences(rootNode, nodeLookup, languageService);
|
|
35753
35895
|
for (const ref of refs) {
|
|
@@ -35869,12 +36011,15 @@ function closestOrSelf(node, predicate) {
|
|
|
35869
36011
|
function isExportableDeclaration(node) {
|
|
35870
36012
|
return import_typescript112.default.isEnumDeclaration(node) || import_typescript112.default.isClassDeclaration(node) || import_typescript112.default.isFunctionDeclaration(node) || import_typescript112.default.isInterfaceDeclaration(node) || import_typescript112.default.isTypeAliasDeclaration(node);
|
|
35871
36013
|
}
|
|
35872
|
-
function
|
|
36014
|
+
function isClassReferenceInAngularModule(node, className, moduleName, typeChecker) {
|
|
35873
36015
|
var _a;
|
|
35874
36016
|
const symbol = typeChecker.getTypeAtLocation(node).getSymbol();
|
|
36017
|
+
const externalName = `@angular/${moduleName}`;
|
|
36018
|
+
const internalName = `angular2/rc/packages/${moduleName}`;
|
|
35875
36019
|
return !!((_a = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _a.some((decl) => {
|
|
35876
36020
|
const closestClass = closestOrSelf(decl, import_typescript112.default.isClassDeclaration);
|
|
35877
|
-
|
|
36021
|
+
const closestClassFileName = closestClass == null ? void 0 : closestClass.getSourceFile().fileName;
|
|
36022
|
+
return closestClass && closestClassFileName && closestClass.name && import_typescript112.default.isIdentifier(closestClass.name) && closestClass.name.text === className && (closestClassFileName.includes(externalName) || closestClassFileName.includes(internalName));
|
|
35878
36023
|
}));
|
|
35879
36024
|
}
|
|
35880
36025
|
function getLastImportEnd(sourceFile) {
|
|
@@ -35889,39 +36034,43 @@ function getLastImportEnd(sourceFile) {
|
|
|
35889
36034
|
return index;
|
|
35890
36035
|
}
|
|
35891
36036
|
|
|
35892
|
-
// bazel-out/
|
|
36037
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
35893
36038
|
var MigrationMode;
|
|
35894
36039
|
(function(MigrationMode2) {
|
|
35895
36040
|
MigrationMode2["toStandalone"] = "convert-to-standalone";
|
|
35896
36041
|
MigrationMode2["pruneModules"] = "prune-ng-modules";
|
|
35897
36042
|
MigrationMode2["standaloneBootstrap"] = "standalone-bootstrap";
|
|
35898
36043
|
})(MigrationMode || (MigrationMode = {}));
|
|
35899
|
-
var normalizePath = (path3) => path3.replace(/\\/g, "/");
|
|
35900
36044
|
function standalone_migration_default(options) {
|
|
35901
36045
|
return (tree) => __async(this, null, function* () {
|
|
35902
36046
|
const { buildPaths, testPaths } = yield getProjectTsConfigPaths(tree);
|
|
35903
36047
|
const basePath = process.cwd();
|
|
35904
36048
|
const allPaths = [...buildPaths, ...testPaths];
|
|
36049
|
+
const pathToMigrate = normalizePath((0, import_path8.join)(basePath, options.path));
|
|
36050
|
+
let migratedFiles = 0;
|
|
35905
36051
|
if (!allPaths.length) {
|
|
35906
36052
|
throw new import_schematics.SchematicsException("Could not find any tsconfig file. Cannot run the standalone migration.");
|
|
35907
36053
|
}
|
|
35908
36054
|
for (const tsconfigPath of allPaths) {
|
|
35909
|
-
standaloneMigration(tree, tsconfigPath, basePath, options);
|
|
36055
|
+
migratedFiles += standaloneMigration(tree, tsconfigPath, basePath, pathToMigrate, options);
|
|
36056
|
+
}
|
|
36057
|
+
if (migratedFiles === 0) {
|
|
36058
|
+
throw new import_schematics.SchematicsException(`Could not find any files to migrate under the path ${pathToMigrate}. Cannot run the standalone migration.`);
|
|
35910
36059
|
}
|
|
35911
36060
|
});
|
|
35912
36061
|
}
|
|
35913
|
-
function standaloneMigration(tree, tsconfigPath, basePath,
|
|
35914
|
-
if (
|
|
36062
|
+
function standaloneMigration(tree, tsconfigPath, basePath, pathToMigrate, schematicOptions) {
|
|
36063
|
+
if (schematicOptions.path.startsWith("..")) {
|
|
35915
36064
|
throw new import_schematics.SchematicsException("Cannot run standalone migration outside of the current project.");
|
|
35916
36065
|
}
|
|
35917
|
-
const { host, rootNames } = createProgramOptions(tree, tsconfigPath, basePath
|
|
35918
|
-
|
|
35919
|
-
|
|
35920
|
-
|
|
35921
|
-
|
|
36066
|
+
const { host, options, rootNames } = createProgramOptions(tree, tsconfigPath, basePath, void 0, void 0, {
|
|
36067
|
+
_enableTemplateTypeChecker: true,
|
|
36068
|
+
compileNonExportedClasses: true,
|
|
36069
|
+
skipLibCheck: true,
|
|
36070
|
+
skipDefaultLibCheck: true
|
|
35922
36071
|
});
|
|
36072
|
+
const program = createProgram({ rootNames, host, options });
|
|
35923
36073
|
const printer = import_typescript113.default.createPrinter();
|
|
35924
|
-
const pathToMigrate = normalizePath((0, import_path8.join)(basePath, options.path));
|
|
35925
36074
|
if ((0, import_fs2.existsSync)(pathToMigrate) && !(0, import_fs2.statSync)(pathToMigrate).isDirectory()) {
|
|
35926
36075
|
throw new import_schematics.SchematicsException(`Migration path ${pathToMigrate} has to be a directory. Cannot run the standalone migration.`);
|
|
35927
36076
|
}
|
|
@@ -35929,15 +36078,15 @@ function standaloneMigration(tree, tsconfigPath, basePath, options) {
|
|
|
35929
36078
|
return sourceFile.fileName.startsWith(pathToMigrate) && canMigrateFile(basePath, sourceFile, program.getTsProgram());
|
|
35930
36079
|
});
|
|
35931
36080
|
if (sourceFiles.length === 0) {
|
|
35932
|
-
|
|
36081
|
+
return 0;
|
|
35933
36082
|
}
|
|
35934
36083
|
let pendingChanges;
|
|
35935
36084
|
let filesToRemove = null;
|
|
35936
|
-
if (
|
|
36085
|
+
if (schematicOptions.mode === MigrationMode.pruneModules) {
|
|
35937
36086
|
const result = pruneNgModules(program, host, basePath, rootNames, sourceFiles, printer);
|
|
35938
36087
|
pendingChanges = result.pendingChanges;
|
|
35939
36088
|
filesToRemove = result.filesToRemove;
|
|
35940
|
-
} else if (
|
|
36089
|
+
} else if (schematicOptions.mode === MigrationMode.standaloneBootstrap) {
|
|
35941
36090
|
pendingChanges = toStandaloneBootstrap(program, host, basePath, rootNames, sourceFiles, printer);
|
|
35942
36091
|
} else {
|
|
35943
36092
|
pendingChanges = toStandalone(sourceFiles, program, printer);
|
|
@@ -35960,6 +36109,7 @@ function standaloneMigration(tree, tsconfigPath, basePath, options) {
|
|
|
35960
36109
|
tree.delete((0, import_path8.relative)(basePath, file.fileName));
|
|
35961
36110
|
}
|
|
35962
36111
|
}
|
|
36112
|
+
return sourceFiles.length;
|
|
35963
36113
|
}
|
|
35964
36114
|
// Annotate the CommonJS export names for ESM import in node:
|
|
35965
36115
|
0 && (module.exports = {});
|