@angular/compiler-cli 14.0.1 → 14.0.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/bundles/{chunk-ZJCM37WF.js → chunk-5K2JLFXT.js} +6 -6
- package/bundles/{chunk-ZJCM37WF.js.map → chunk-5K2JLFXT.js.map} +0 -0
- package/bundles/{chunk-RT3OZMJ6.js → chunk-74GV6EUR.js} +101 -121
- package/bundles/chunk-74GV6EUR.js.map +6 -0
- package/bundles/{chunk-U2VFXNL7.js → chunk-BRHP6XKM.js} +4 -4
- package/bundles/{chunk-U2VFXNL7.js.map → chunk-BRHP6XKM.js.map} +0 -0
- package/bundles/{chunk-KIWI22Y5.js → chunk-BU7ESD7N.js} +5 -5
- package/bundles/{chunk-KIWI22Y5.js.map → chunk-BU7ESD7N.js.map} +0 -0
- package/bundles/{chunk-SFACRVMZ.js → chunk-C2OTZTPY.js} +26 -26
- package/bundles/{chunk-SFACRVMZ.js.map → chunk-C2OTZTPY.js.map} +0 -0
- package/bundles/{chunk-VEAB5CR7.js → chunk-GN23SRRJ.js} +31 -31
- package/bundles/{chunk-VEAB5CR7.js.map → chunk-GN23SRRJ.js.map} +0 -0
- package/bundles/{chunk-AXU2Z2WN.js → chunk-I5XLLSQO.js} +70 -70
- package/bundles/{chunk-AXU2Z2WN.js.map → chunk-I5XLLSQO.js.map} +0 -0
- package/bundles/{chunk-QK4SXRQA.js → chunk-LC26KH5A.js} +5 -5
- package/bundles/{chunk-QK4SXRQA.js.map → chunk-LC26KH5A.js.map} +0 -0
- package/bundles/{chunk-HMWNYAAE.js → chunk-SJL5HBUW.js} +2 -2
- package/bundles/{chunk-HMWNYAAE.js.map → chunk-SJL5HBUW.js.map} +0 -0
- package/bundles/{chunk-MURZUYM7.js → chunk-TD64C4QJ.js} +7 -7
- package/bundles/{chunk-MURZUYM7.js.map → chunk-TD64C4QJ.js.map} +0 -0
- package/bundles/{chunk-AKU7LV22.js → chunk-TV7VZNWL.js} +6 -6
- package/bundles/{chunk-AKU7LV22.js.map → chunk-TV7VZNWL.js.map} +0 -0
- package/bundles/{chunk-NTRR4N4C.js → chunk-UT3V7UNM.js} +74 -71
- package/bundles/{chunk-NTRR4N4C.js.map → chunk-UT3V7UNM.js.map} +1 -1
- package/bundles/{chunk-BFPVXDJN.js → chunk-WH4QSABR.js} +7 -7
- package/bundles/{chunk-BFPVXDJN.js.map → chunk-WH4QSABR.js.map} +0 -0
- package/bundles/{chunk-EI6PFDB4.js → chunk-Z3OO24P2.js} +40 -40
- package/bundles/{chunk-EI6PFDB4.js.map → chunk-Z3OO24P2.js.map} +0 -0
- package/bundles/{chunk-7J66ZDC5.js → chunk-ZCDB56AX.js} +3 -3
- package/bundles/{chunk-7J66ZDC5.js.map → chunk-ZCDB56AX.js.map} +0 -0
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +12 -12
- package/bundles/ngcc/main-ngcc.js +13 -13
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +13 -13
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +5 -5
- package/bundles/private/tooling.js +2 -2
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/program.d.ts +1 -0
- package/src/ngtsc/typecheck/src/tcb_util.d.ts +1 -1
- package/src/ngtsc/typecheck/src/ts_util.d.ts +0 -3
- package/src/perform_compile.d.ts +2 -1
- package/src/transformers/api.d.ts +2 -1
- package/bundles/chunk-RT3OZMJ6.js.map +0 -6
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
resolve,
|
|
14
14
|
stripExtension,
|
|
15
15
|
toRelativeImport
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TD64C4QJ.js";
|
|
17
17
|
|
|
18
|
-
// bazel-out/
|
|
18
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
19
19
|
import ts from "typescript";
|
|
20
20
|
var TS = /\.tsx?$/i;
|
|
21
21
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -110,7 +110,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
110
110
|
return redirectInfo.unredirected;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
// bazel-out/
|
|
113
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
114
114
|
var Reference = class {
|
|
115
115
|
constructor(node, bestGuessOwningModule = null) {
|
|
116
116
|
this.node = node;
|
|
@@ -173,14 +173,14 @@ var Reference = class {
|
|
|
173
173
|
}
|
|
174
174
|
};
|
|
175
175
|
|
|
176
|
-
// bazel-out/
|
|
176
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
177
177
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
178
178
|
|
|
179
|
-
// bazel-out/
|
|
179
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
180
180
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
181
181
|
import ts3 from "typescript";
|
|
182
182
|
|
|
183
|
-
// bazel-out/
|
|
183
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
184
184
|
var ErrorCode;
|
|
185
185
|
(function(ErrorCode2) {
|
|
186
186
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -241,7 +241,7 @@ var ErrorCode;
|
|
|
241
241
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
242
242
|
})(ErrorCode || (ErrorCode = {}));
|
|
243
243
|
|
|
244
|
-
// bazel-out/
|
|
244
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
245
245
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
246
246
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
247
247
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -253,10 +253,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
253
253
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
254
254
|
]);
|
|
255
255
|
|
|
256
|
-
// bazel-out/
|
|
256
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
257
257
|
import ts2 from "typescript";
|
|
258
258
|
|
|
259
|
-
// bazel-out/
|
|
259
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
260
260
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
261
261
|
function replaceTsWithNgInErrors(errors) {
|
|
262
262
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -265,7 +265,7 @@ function ngErrorCode(code) {
|
|
|
265
265
|
return parseInt("-99" + code);
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
// bazel-out/
|
|
268
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
269
269
|
var FatalDiagnosticError = class {
|
|
270
270
|
constructor(code, node, message, relatedInformation) {
|
|
271
271
|
this.code = code;
|
|
@@ -313,17 +313,17 @@ function isFatalDiagnosticError(err) {
|
|
|
313
313
|
return err._isFatalDiagnosticError === true;
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
// bazel-out/
|
|
316
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
317
317
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
318
318
|
|
|
319
|
-
// bazel-out/
|
|
319
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
320
320
|
var ExtendedTemplateDiagnosticName;
|
|
321
321
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
322
322
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
323
323
|
ExtendedTemplateDiagnosticName2["NULLISH_COALESCING_NOT_NULLABLE"] = "nullishCoalescingNotNullable";
|
|
324
324
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
325
325
|
|
|
326
|
-
// bazel-out/
|
|
326
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
327
327
|
function findExportedNameOfNode(target, file, reflector) {
|
|
328
328
|
const exports = reflector.getExportsOfModule(file);
|
|
329
329
|
if (exports === null) {
|
|
@@ -343,7 +343,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
343
343
|
return foundExportName;
|
|
344
344
|
}
|
|
345
345
|
|
|
346
|
-
// bazel-out/
|
|
346
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
347
347
|
var ImportFlags;
|
|
348
348
|
(function(ImportFlags2) {
|
|
349
349
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -559,7 +559,7 @@ var UnifiedModulesStrategy = class {
|
|
|
559
559
|
}
|
|
560
560
|
};
|
|
561
561
|
|
|
562
|
-
// bazel-out/
|
|
562
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
563
563
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
564
564
|
var UnifiedModulesAliasingHost = class {
|
|
565
565
|
constructor(unifiedModulesHost) {
|
|
@@ -626,7 +626,7 @@ var AliasStrategy = class {
|
|
|
626
626
|
}
|
|
627
627
|
};
|
|
628
628
|
|
|
629
|
-
// bazel-out/
|
|
629
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
630
630
|
function relativePathBetween(from, to) {
|
|
631
631
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
632
632
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -635,7 +635,7 @@ function normalizeSeparators(path) {
|
|
|
635
635
|
return path.replace(/\\/g, "/");
|
|
636
636
|
}
|
|
637
637
|
|
|
638
|
-
// bazel-out/
|
|
638
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
639
639
|
var NoopImportRewriter = class {
|
|
640
640
|
shouldImportSymbol(symbol, specifier) {
|
|
641
641
|
return true;
|
|
@@ -693,7 +693,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
693
693
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
694
694
|
}
|
|
695
695
|
|
|
696
|
-
// bazel-out/
|
|
696
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
697
697
|
import ts4 from "typescript";
|
|
698
698
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
699
699
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
@@ -738,7 +738,7 @@ var DefaultImportTracker = class {
|
|
|
738
738
|
}
|
|
739
739
|
};
|
|
740
740
|
|
|
741
|
-
// bazel-out/
|
|
741
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
742
742
|
var ModuleResolver = class {
|
|
743
743
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
744
744
|
this.program = program;
|
|
@@ -755,7 +755,7 @@ var ModuleResolver = class {
|
|
|
755
755
|
}
|
|
756
756
|
};
|
|
757
757
|
|
|
758
|
-
// bazel-out/
|
|
758
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
759
759
|
var Context = class {
|
|
760
760
|
constructor(isStatement) {
|
|
761
761
|
this.isStatement = isStatement;
|
|
@@ -768,7 +768,7 @@ var Context = class {
|
|
|
768
768
|
}
|
|
769
769
|
};
|
|
770
770
|
|
|
771
|
-
// bazel-out/
|
|
771
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
772
772
|
import * as o from "@angular/compiler";
|
|
773
773
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
774
774
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -992,7 +992,7 @@ function createRange(span) {
|
|
|
992
992
|
};
|
|
993
993
|
}
|
|
994
994
|
|
|
995
|
-
// bazel-out/
|
|
995
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
996
996
|
import ts5 from "typescript";
|
|
997
997
|
var ImportManager = class {
|
|
998
998
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -1028,7 +1028,7 @@ var ImportManager = class {
|
|
|
1028
1028
|
}
|
|
1029
1029
|
};
|
|
1030
1030
|
|
|
1031
|
-
// bazel-out/
|
|
1031
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
1032
1032
|
import * as o2 from "@angular/compiler";
|
|
1033
1033
|
import ts6 from "typescript";
|
|
1034
1034
|
function translateType(type, imports) {
|
|
@@ -1199,7 +1199,7 @@ var TypeTranslatorVisitor = class {
|
|
|
1199
1199
|
}
|
|
1200
1200
|
};
|
|
1201
1201
|
|
|
1202
|
-
// bazel-out/
|
|
1202
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
1203
1203
|
import ts7 from "typescript";
|
|
1204
1204
|
var PureAnnotation;
|
|
1205
1205
|
(function(PureAnnotation2) {
|
|
@@ -1377,7 +1377,7 @@ function attachComments(statement, leadingComments) {
|
|
|
1377
1377
|
}
|
|
1378
1378
|
}
|
|
1379
1379
|
|
|
1380
|
-
// bazel-out/
|
|
1380
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
1381
1381
|
function translateExpression(expression, imports, options = {}) {
|
|
1382
1382
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
1383
1383
|
}
|
|
@@ -1445,4 +1445,4 @@ export {
|
|
|
1445
1445
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1446
1446
|
* found in the LICENSE file at https://angular.io/license
|
|
1447
1447
|
*/
|
|
1448
|
-
//# sourceMappingURL=chunk-
|
|
1448
|
+
//# sourceMappingURL=chunk-C2OTZTPY.js.map
|
|
File without changes
|
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
SourceFileLoader
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WH4QSABR.js";
|
|
9
9
|
import {
|
|
10
10
|
Context,
|
|
11
11
|
ExpressionTranslatorVisitor
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-C2OTZTPY.js";
|
|
13
13
|
import {
|
|
14
14
|
__spreadProps,
|
|
15
15
|
__spreadValues
|
|
16
16
|
} from "./chunk-GMSUYBZP.js";
|
|
17
17
|
|
|
18
|
-
// bazel-out/
|
|
18
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/fatal_linker_error.mjs
|
|
19
19
|
var FatalLinkerError = class extends Error {
|
|
20
20
|
constructor(node, message) {
|
|
21
21
|
super(message);
|
|
@@ -27,14 +27,14 @@ function isFatalLinkerError(e) {
|
|
|
27
27
|
return e && e.type === "FatalLinkerError";
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
// bazel-out/
|
|
30
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/ast/utils.mjs
|
|
31
31
|
function assert(node, predicate, expected) {
|
|
32
32
|
if (!predicate(node)) {
|
|
33
33
|
throw new FatalLinkerError(node, `Unsupported syntax, expected ${expected}.`);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
// bazel-out/
|
|
37
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/ast/ast_value.mjs
|
|
38
38
|
import * as o from "@angular/compiler";
|
|
39
39
|
var AstObject = class {
|
|
40
40
|
constructor(expression, obj, host) {
|
|
@@ -160,10 +160,10 @@ var AstValue = class {
|
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
162
|
|
|
163
|
-
// bazel-out/
|
|
163
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
164
164
|
import { ConstantPool } from "@angular/compiler";
|
|
165
165
|
|
|
166
|
-
// bazel-out/
|
|
166
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/linker_import_generator.mjs
|
|
167
167
|
var LinkerImportGenerator = class {
|
|
168
168
|
constructor(ngImport) {
|
|
169
169
|
this.ngImport = ngImport;
|
|
@@ -183,7 +183,7 @@ var LinkerImportGenerator = class {
|
|
|
183
183
|
}
|
|
184
184
|
};
|
|
185
185
|
|
|
186
|
-
// bazel-out/
|
|
186
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
187
187
|
var EmitScope = class {
|
|
188
188
|
constructor(ngImport, translator, factory) {
|
|
189
189
|
this.ngImport = ngImport;
|
|
@@ -212,7 +212,7 @@ var EmitScope = class {
|
|
|
212
212
|
}
|
|
213
213
|
};
|
|
214
214
|
|
|
215
|
-
// bazel-out/
|
|
215
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/local_emit_scope.mjs
|
|
216
216
|
var LocalEmitScope = class extends EmitScope {
|
|
217
217
|
translateDefinition(definition) {
|
|
218
218
|
return super.translateDefinition({
|
|
@@ -225,10 +225,10 @@ var LocalEmitScope = class extends EmitScope {
|
|
|
225
225
|
}
|
|
226
226
|
};
|
|
227
227
|
|
|
228
|
-
// bazel-out/
|
|
228
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
229
229
|
import semver from "semver";
|
|
230
230
|
|
|
231
|
-
// bazel-out/
|
|
231
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/get_source_file.mjs
|
|
232
232
|
function createGetSourceFile(sourceUrl, code, loader) {
|
|
233
233
|
if (loader === null) {
|
|
234
234
|
return () => null;
|
|
@@ -243,7 +243,7 @@ function createGetSourceFile(sourceUrl, code, loader) {
|
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
-
// bazel-out/
|
|
246
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.mjs
|
|
247
247
|
import { compileClassMetadata } from "@angular/compiler";
|
|
248
248
|
var PartialClassMetadataLinkerVersion1 = class {
|
|
249
249
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -263,13 +263,13 @@ function toR3ClassMetadata(metaObj) {
|
|
|
263
263
|
};
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
-
// bazel-out/
|
|
266
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
267
267
|
import { ChangeDetectionStrategy, compileComponentFromMetadata, DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, makeBindingParser as makeBindingParser2, parseTemplate, R3TemplateDependencyKind, ViewEncapsulation } from "@angular/compiler";
|
|
268
268
|
|
|
269
|
-
// bazel-out/
|
|
269
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
270
270
|
import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSourceFile, ParseSourceSpan } from "@angular/compiler";
|
|
271
271
|
|
|
272
|
-
// bazel-out/
|
|
272
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
|
|
273
273
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
274
274
|
function wrapReference(wrapped) {
|
|
275
275
|
return { value: wrapped, type: wrapped };
|
|
@@ -317,7 +317,7 @@ function extractForwardRef(expr) {
|
|
|
317
317
|
return createMayBeForwardRefExpression(wrapperFn.getFunctionReturnValue().getOpaque(), 2);
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
// bazel-out/
|
|
320
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
321
321
|
var PartialDirectiveLinkerVersion1 = class {
|
|
322
322
|
constructor(sourceUrl, code) {
|
|
323
323
|
this.sourceUrl = sourceUrl;
|
|
@@ -415,7 +415,7 @@ function createSourceSpan(range, code, sourceUrl) {
|
|
|
415
415
|
return new ParseSourceSpan(startLocation, startLocation.moveBy(range.endPos - range.startPos));
|
|
416
416
|
}
|
|
417
417
|
|
|
418
|
-
// bazel-out/
|
|
418
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
419
419
|
function makeDirectiveMetadata(directiveExpr, typeExpr, isComponentByDefault = null) {
|
|
420
420
|
return {
|
|
421
421
|
kind: R3TemplateDependencyKind.Directive,
|
|
@@ -607,7 +607,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
|
|
|
607
607
|
return enumValue;
|
|
608
608
|
}
|
|
609
609
|
|
|
610
|
-
// bazel-out/
|
|
610
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
|
|
611
611
|
import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
|
|
612
612
|
var PartialFactoryLinkerVersion1 = class {
|
|
613
613
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -644,7 +644,7 @@ function getDependencies(metaObj, propName) {
|
|
|
644
644
|
return null;
|
|
645
645
|
}
|
|
646
646
|
|
|
647
|
-
// bazel-out/
|
|
647
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
|
|
648
648
|
import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
|
|
649
649
|
var PartialInjectableLinkerVersion1 = class {
|
|
650
650
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -683,7 +683,7 @@ function toR3InjectableMeta(metaObj) {
|
|
|
683
683
|
return meta;
|
|
684
684
|
}
|
|
685
685
|
|
|
686
|
-
// bazel-out/
|
|
686
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
|
|
687
687
|
import { compileInjector } from "@angular/compiler";
|
|
688
688
|
var PartialInjectorLinkerVersion1 = class {
|
|
689
689
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -706,7 +706,7 @@ function toR3InjectorMeta(metaObj) {
|
|
|
706
706
|
};
|
|
707
707
|
}
|
|
708
708
|
|
|
709
|
-
// bazel-out/
|
|
709
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
|
|
710
710
|
import { compileNgModule, R3SelectorScopeMode } from "@angular/compiler";
|
|
711
711
|
var PartialNgModuleLinkerVersion1 = class {
|
|
712
712
|
constructor(emitInline) {
|
|
@@ -777,7 +777,7 @@ function wrapReferences(values) {
|
|
|
777
777
|
return values.getArray().map((i) => wrapReference(i.getOpaque()));
|
|
778
778
|
}
|
|
779
779
|
|
|
780
|
-
// bazel-out/
|
|
780
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
|
|
781
781
|
import { compilePipeFromMetadata } from "@angular/compiler";
|
|
782
782
|
var PartialPipeLinkerVersion1 = class {
|
|
783
783
|
constructor() {
|
|
@@ -807,7 +807,7 @@ function toR3PipeMeta(metaObj) {
|
|
|
807
807
|
};
|
|
808
808
|
}
|
|
809
809
|
|
|
810
|
-
// bazel-out/
|
|
810
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
811
811
|
var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
|
|
812
812
|
var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
|
|
813
813
|
var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
|
|
@@ -828,7 +828,7 @@ var declarationFunctions = [
|
|
|
828
828
|
];
|
|
829
829
|
function createLinkerMap(environment, sourceUrl, code) {
|
|
830
830
|
const linkers = /* @__PURE__ */ new Map();
|
|
831
|
-
const LATEST_VERSION_RANGE = getRange("<=", "14.0.
|
|
831
|
+
const LATEST_VERSION_RANGE = getRange("<=", "14.0.4");
|
|
832
832
|
linkers.set(\u0275\u0275ngDeclareDirective, [
|
|
833
833
|
{ range: LATEST_VERSION_RANGE, linker: new PartialDirectiveLinkerVersion1(sourceUrl, code) }
|
|
834
834
|
]);
|
|
@@ -875,7 +875,7 @@ var PartialLinkerSelector = class {
|
|
|
875
875
|
throw new Error(`Unknown partial declaration function ${functionName}.`);
|
|
876
876
|
}
|
|
877
877
|
const linkerRanges = this.linkers.get(functionName);
|
|
878
|
-
if (version === "14.0.
|
|
878
|
+
if (version === "14.0.4") {
|
|
879
879
|
return linkerRanges[linkerRanges.length - 1].linker;
|
|
880
880
|
}
|
|
881
881
|
const declarationRange = getRange(">=", minVersion);
|
|
@@ -901,7 +901,7 @@ function getRange(comparator, versionStr) {
|
|
|
901
901
|
return new semver.Range(`${comparator}${version.format()}`);
|
|
902
902
|
}
|
|
903
903
|
|
|
904
|
-
// bazel-out/
|
|
904
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
|
|
905
905
|
var FileLinker = class {
|
|
906
906
|
constructor(linkerEnvironment, sourceUrl, code) {
|
|
907
907
|
this.linkerEnvironment = linkerEnvironment;
|
|
@@ -944,14 +944,14 @@ var FileLinker = class {
|
|
|
944
944
|
}
|
|
945
945
|
};
|
|
946
946
|
|
|
947
|
-
// bazel-out/
|
|
947
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
|
|
948
948
|
var DEFAULT_LINKER_OPTIONS = {
|
|
949
949
|
sourceMapping: true,
|
|
950
950
|
linkerJitMode: false,
|
|
951
951
|
unknownDeclarationVersionHandling: "error"
|
|
952
952
|
};
|
|
953
953
|
|
|
954
|
-
// bazel-out/
|
|
954
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
|
|
955
955
|
var Translator = class {
|
|
956
956
|
constructor(factory) {
|
|
957
957
|
this.factory = factory;
|
|
@@ -964,7 +964,7 @@ var Translator = class {
|
|
|
964
964
|
}
|
|
965
965
|
};
|
|
966
966
|
|
|
967
|
-
// bazel-out/
|
|
967
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
|
|
968
968
|
var LinkerEnvironment = class {
|
|
969
969
|
constructor(fileSystem, logger, host, factory, options) {
|
|
970
970
|
this.fileSystem = fileSystem;
|
|
@@ -985,7 +985,7 @@ var LinkerEnvironment = class {
|
|
|
985
985
|
}
|
|
986
986
|
};
|
|
987
987
|
|
|
988
|
-
// bazel-out/
|
|
988
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
|
|
989
989
|
function needsLinking(path, source) {
|
|
990
990
|
return declarationFunctions.some((fn) => source.includes(fn));
|
|
991
991
|
}
|
|
@@ -1006,4 +1006,4 @@ export {
|
|
|
1006
1006
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1007
1007
|
* found in the LICENSE file at https://angular.io/license
|
|
1008
1008
|
*/
|
|
1009
|
-
//# sourceMappingURL=chunk-
|
|
1009
|
+
//# sourceMappingURL=chunk-GN23SRRJ.js.map
|
|
File without changes
|