@angular/compiler-cli 14.0.0-rc.1 → 14.0.0-rc.2
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-LX5Q27EF.js → chunk-7J66ZDC5.js} +3 -3
- package/bundles/{chunk-LX5Q27EF.js.map → chunk-7J66ZDC5.js.map} +0 -0
- package/bundles/{chunk-W6KM7BUM.js → chunk-AKU7LV22.js} +6 -6
- package/bundles/{chunk-W6KM7BUM.js.map → chunk-AKU7LV22.js.map} +0 -0
- package/bundles/{chunk-WGBFSDVQ.js → chunk-BFPVXDJN.js} +7 -7
- package/bundles/{chunk-WGBFSDVQ.js.map → chunk-BFPVXDJN.js.map} +0 -0
- package/bundles/{chunk-UMY2M5GZ.js → chunk-GGBQTGO6.js} +40 -40
- package/bundles/{chunk-UMY2M5GZ.js.map → chunk-GGBQTGO6.js.map} +0 -0
- package/bundles/{chunk-R3C7RFJ4.js → chunk-HMWNYAAE.js} +2 -2
- package/bundles/{chunk-R3C7RFJ4.js.map → chunk-HMWNYAAE.js.map} +0 -0
- package/bundles/{chunk-T7MYRXIE.js → chunk-MURZUYM7.js} +7 -7
- package/bundles/{chunk-T7MYRXIE.js.map → chunk-MURZUYM7.js.map} +0 -0
- package/bundles/{chunk-R4NY3TJC.js → chunk-QK4SXRQA.js} +5 -5
- package/bundles/{chunk-R4NY3TJC.js.map → chunk-QK4SXRQA.js.map} +0 -0
- package/bundles/{chunk-UJXXCVVY.js → chunk-RV5PLZZB.js} +70 -70
- package/bundles/{chunk-UJXXCVVY.js.map → chunk-RV5PLZZB.js.map} +0 -0
- package/bundles/{chunk-JDKMNZ6O.js → chunk-SFACRVMZ.js} +26 -26
- package/bundles/{chunk-JDKMNZ6O.js.map → chunk-SFACRVMZ.js.map} +0 -0
- package/bundles/{chunk-N4EFPPNE.js → chunk-SYV2KBTF.js} +5 -5
- package/bundles/{chunk-N4EFPPNE.js.map → chunk-SYV2KBTF.js.map} +0 -0
- package/bundles/{chunk-OLGEBPBY.js → chunk-U2VFXNL7.js} +4 -4
- package/bundles/{chunk-OLGEBPBY.js.map → chunk-U2VFXNL7.js.map} +0 -0
- package/bundles/{chunk-7XY4OMWJ.js → chunk-VEAB5CR7.js} +31 -31
- package/bundles/{chunk-7XY4OMWJ.js.map → chunk-VEAB5CR7.js.map} +0 -0
- package/bundles/{chunk-TFEYVOY6.js → chunk-VLER5B3O.js} +103 -100
- package/bundles/chunk-VLER5B3O.js.map +6 -0
- package/bundles/{chunk-74SXTDBS.js → chunk-VSZPIAX6.js} +196 -157
- package/bundles/chunk-VSZPIAX6.js.map +6 -0
- package/bundles/{chunk-2IMT6JFI.js → chunk-ZJCM37WF.js} +6 -6
- package/bundles/{chunk-2IMT6JFI.js.map → chunk-ZJCM37WF.js.map} +0 -0
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +16 -16
- package/bundles/linker/babel/index.js.map +1 -1
- 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/annotations/common/src/util.d.ts +6 -0
- package/src/ngtsc/annotations/ng_module/index.d.ts +1 -0
- package/src/ngtsc/annotations/ng_module/src/handler.d.ts +0 -19
- package/src/ngtsc/annotations/ng_module/src/module_with_providers.d.ts +26 -0
- package/src/ngtsc/typecheck/api/api.d.ts +1 -0
- package/src/ngtsc/typecheck/api/context.d.ts +2 -1
- package/src/ngtsc/typecheck/src/context.d.ts +1 -1
- package/src/ngtsc/typecheck/src/dom.d.ts +4 -2
- package/src/ngtsc/typecheck/src/type_check_block.d.ts +2 -1
- package/bundles/chunk-74SXTDBS.js.map +0 -6
- package/bundles/chunk-TFEYVOY6.js.map +0 -6
|
@@ -30,11 +30,11 @@ import {
|
|
|
30
30
|
aliasTransformFactory,
|
|
31
31
|
declarationTransformFactory,
|
|
32
32
|
ivyTransformFactory
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-VSZPIAX6.js";
|
|
34
34
|
import {
|
|
35
35
|
TypeScriptReflectionHost,
|
|
36
36
|
isNamedClassDeclaration
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-ZJCM37WF.js";
|
|
38
38
|
import {
|
|
39
39
|
AbsoluteModuleStrategy,
|
|
40
40
|
AliasStrategy,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
toUnredirectedSourceFile,
|
|
74
74
|
translateExpression,
|
|
75
75
|
translateType
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-SFACRVMZ.js";
|
|
77
77
|
import {
|
|
78
78
|
LogicalFileSystem,
|
|
79
79
|
absoluteFrom,
|
|
@@ -84,20 +84,20 @@ import {
|
|
|
84
84
|
getSourceFileOrError,
|
|
85
85
|
join,
|
|
86
86
|
resolve
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-MURZUYM7.js";
|
|
88
88
|
import {
|
|
89
89
|
ActivePerfRecorder,
|
|
90
90
|
DelegatingPerfRecorder,
|
|
91
91
|
PerfCheckpoint,
|
|
92
92
|
PerfEvent,
|
|
93
93
|
PerfPhase
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-QK4SXRQA.js";
|
|
95
95
|
import {
|
|
96
96
|
__spreadProps,
|
|
97
97
|
__spreadValues
|
|
98
98
|
} from "./chunk-GMSUYBZP.js";
|
|
99
99
|
|
|
100
|
-
// bazel-out/
|
|
100
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
101
101
|
var DEFAULT_ERROR_CODE = 100;
|
|
102
102
|
var UNKNOWN_ERROR_CODE = 500;
|
|
103
103
|
var SOURCE = "angular";
|
|
@@ -115,7 +115,7 @@ var EmitFlags;
|
|
|
115
115
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
116
116
|
})(EmitFlags || (EmitFlags = {}));
|
|
117
117
|
|
|
118
|
-
// bazel-out/
|
|
118
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
119
119
|
import ts from "typescript";
|
|
120
120
|
var wrapHostForTest = null;
|
|
121
121
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -125,21 +125,21 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
125
125
|
return tsHost;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
// bazel-out/
|
|
128
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
129
129
|
var OptimizeFor;
|
|
130
130
|
(function(OptimizeFor2) {
|
|
131
131
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
132
132
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
133
133
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
134
134
|
|
|
135
|
-
// bazel-out/
|
|
135
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
136
136
|
var CompletionKind;
|
|
137
137
|
(function(CompletionKind2) {
|
|
138
138
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
139
139
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
140
140
|
})(CompletionKind || (CompletionKind = {}));
|
|
141
141
|
|
|
142
|
-
// bazel-out/
|
|
142
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
143
143
|
var SymbolKind;
|
|
144
144
|
(function(SymbolKind2) {
|
|
145
145
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -155,11 +155,11 @@ var SymbolKind;
|
|
|
155
155
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
156
156
|
})(SymbolKind || (SymbolKind = {}));
|
|
157
157
|
|
|
158
|
-
// bazel-out/
|
|
158
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
159
159
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
160
160
|
import ts33 from "typescript";
|
|
161
161
|
|
|
162
|
-
// bazel-out/
|
|
162
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
163
163
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
164
164
|
import * as path from "path";
|
|
165
165
|
function i18nGetExtension(formatName) {
|
|
@@ -210,10 +210,10 @@ function getPathNormalizer(basePath) {
|
|
|
210
210
|
};
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
// bazel-out/
|
|
213
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
214
214
|
import ts2 from "typescript";
|
|
215
215
|
|
|
216
|
-
// bazel-out/
|
|
216
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
217
217
|
function toNumbers(value) {
|
|
218
218
|
const suffixIndex = value.lastIndexOf("-");
|
|
219
219
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -248,7 +248,7 @@ function compareVersions(v1, v2) {
|
|
|
248
248
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
-
// bazel-out/
|
|
251
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
252
252
|
var MIN_TS_VERSION = "4.6.2";
|
|
253
253
|
var MAX_TS_VERSION = "4.8.0";
|
|
254
254
|
var tsVersion = ts2.version;
|
|
@@ -261,10 +261,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
261
261
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
// bazel-out/
|
|
264
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
265
265
|
import ts31 from "typescript";
|
|
266
266
|
|
|
267
|
-
// bazel-out/
|
|
267
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
268
268
|
var CycleAnalyzer = class {
|
|
269
269
|
constructor(importGraph) {
|
|
270
270
|
this.importGraph = importGraph;
|
|
@@ -335,7 +335,7 @@ var Cycle = class {
|
|
|
335
335
|
}
|
|
336
336
|
};
|
|
337
337
|
|
|
338
|
-
// bazel-out/
|
|
338
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
339
339
|
import ts3 from "typescript";
|
|
340
340
|
var ImportGraph = class {
|
|
341
341
|
constructor(checker, perf) {
|
|
@@ -427,7 +427,7 @@ var Found = class {
|
|
|
427
427
|
}
|
|
428
428
|
};
|
|
429
429
|
|
|
430
|
-
// bazel-out/
|
|
430
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
431
431
|
import ts4 from "typescript";
|
|
432
432
|
var FlatIndexGenerator = class {
|
|
433
433
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -452,7 +452,7 @@ export * from '${relativeEntryPoint}';
|
|
|
452
452
|
}
|
|
453
453
|
};
|
|
454
454
|
|
|
455
|
-
// bazel-out/
|
|
455
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
456
456
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
457
457
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
458
458
|
let resolvedEntryPoint = null;
|
|
@@ -468,7 +468,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
468
468
|
return resolvedEntryPoint;
|
|
469
469
|
}
|
|
470
470
|
|
|
471
|
-
// bazel-out/
|
|
471
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
472
472
|
import ts5 from "typescript";
|
|
473
473
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
474
474
|
const diagnostics = [];
|
|
@@ -548,7 +548,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
550
|
|
|
551
|
-
// bazel-out/
|
|
551
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
552
552
|
var ReferenceGraph = class {
|
|
553
553
|
constructor() {
|
|
554
554
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -602,7 +602,7 @@ var ReferenceGraph = class {
|
|
|
602
602
|
}
|
|
603
603
|
};
|
|
604
604
|
|
|
605
|
-
// bazel-out/
|
|
605
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
606
606
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
607
607
|
var UpdateMode;
|
|
608
608
|
(function(UpdateMode2) {
|
|
@@ -610,13 +610,13 @@ var UpdateMode;
|
|
|
610
610
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
611
611
|
})(UpdateMode || (UpdateMode = {}));
|
|
612
612
|
|
|
613
|
-
// bazel-out/
|
|
613
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
614
614
|
import ts9 from "typescript";
|
|
615
615
|
|
|
616
|
-
// bazel-out/
|
|
616
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
617
617
|
import ts6 from "typescript";
|
|
618
618
|
|
|
619
|
-
// bazel-out/
|
|
619
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
620
620
|
var NgExtension = Symbol("NgExtension");
|
|
621
621
|
function isExtended(sf) {
|
|
622
622
|
return sf[NgExtension] !== void 0;
|
|
@@ -676,7 +676,7 @@ function retagTsFile(sf) {
|
|
|
676
676
|
}
|
|
677
677
|
}
|
|
678
678
|
|
|
679
|
-
// bazel-out/
|
|
679
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
680
680
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
681
681
|
function makeShimFileName(fileName, suffix) {
|
|
682
682
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
@@ -691,7 +691,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
|
|
|
691
691
|
return moduleName;
|
|
692
692
|
}
|
|
693
693
|
|
|
694
|
-
// bazel-out/
|
|
694
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
695
695
|
var ShimAdapter = class {
|
|
696
696
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
697
697
|
this.delegate = delegate;
|
|
@@ -788,7 +788,7 @@ var ShimAdapter = class {
|
|
|
788
788
|
}
|
|
789
789
|
};
|
|
790
790
|
|
|
791
|
-
// bazel-out/
|
|
791
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
792
792
|
import ts7 from "typescript";
|
|
793
793
|
var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
|
|
794
794
|
var STRIP_NG_FACTORY = /(.*)NgFactory$/;
|
|
@@ -935,7 +935,7 @@ function updateInitializers(stmt, update) {
|
|
|
935
935
|
return ts7.factory.updateVariableStatement(stmt, stmt.modifiers, ts7.factory.updateVariableDeclarationList(stmt.declarationList, stmt.declarationList.declarations.map((decl) => ts7.updateVariableDeclaration(decl, decl.name, decl.type, update(decl.initializer)))));
|
|
936
936
|
}
|
|
937
937
|
|
|
938
|
-
// bazel-out/
|
|
938
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
939
939
|
var ShimReferenceTagger = class {
|
|
940
940
|
constructor(shimExtensions) {
|
|
941
941
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -969,7 +969,7 @@ var ShimReferenceTagger = class {
|
|
|
969
969
|
}
|
|
970
970
|
};
|
|
971
971
|
|
|
972
|
-
// bazel-out/
|
|
972
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
973
973
|
import ts8 from "typescript";
|
|
974
974
|
var SummaryGenerator = class {
|
|
975
975
|
constructor() {
|
|
@@ -1009,7 +1009,7 @@ function isExported2(decl) {
|
|
|
1009
1009
|
return decl.modifiers !== void 0 && decl.modifiers.some((mod) => mod.kind == ts8.SyntaxKind.ExportKeyword);
|
|
1010
1010
|
}
|
|
1011
1011
|
|
|
1012
|
-
// bazel-out/
|
|
1012
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1013
1013
|
var DelegatingCompilerHost = class {
|
|
1014
1014
|
constructor(delegate) {
|
|
1015
1015
|
this.delegate = delegate;
|
|
@@ -1119,7 +1119,7 @@ var TsCreateProgramDriver = class {
|
|
|
1119
1119
|
}
|
|
1120
1120
|
};
|
|
1121
1121
|
|
|
1122
|
-
// bazel-out/
|
|
1122
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1123
1123
|
var FileDependencyGraph = class {
|
|
1124
1124
|
constructor() {
|
|
1125
1125
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1186,7 +1186,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1186
1186
|
return false;
|
|
1187
1187
|
}
|
|
1188
1188
|
|
|
1189
|
-
// bazel-out/
|
|
1189
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1190
1190
|
var IncrementalStateKind;
|
|
1191
1191
|
(function(IncrementalStateKind2) {
|
|
1192
1192
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1194,7 +1194,7 @@ var IncrementalStateKind;
|
|
|
1194
1194
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1195
1195
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1196
1196
|
|
|
1197
|
-
// bazel-out/
|
|
1197
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1198
1198
|
var PhaseKind;
|
|
1199
1199
|
(function(PhaseKind2) {
|
|
1200
1200
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1395,7 +1395,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1395
1395
|
}
|
|
1396
1396
|
}
|
|
1397
1397
|
|
|
1398
|
-
// bazel-out/
|
|
1398
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1399
1399
|
var TrackedIncrementalBuildStrategy = class {
|
|
1400
1400
|
constructor() {
|
|
1401
1401
|
this.state = null;
|
|
@@ -1431,7 +1431,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1431
1431
|
};
|
|
1432
1432
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1433
1433
|
|
|
1434
|
-
// bazel-out/
|
|
1434
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1435
1435
|
var IdentifierKind;
|
|
1436
1436
|
(function(IdentifierKind2) {
|
|
1437
1437
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1449,7 +1449,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1449
1449
|
}
|
|
1450
1450
|
};
|
|
1451
1451
|
|
|
1452
|
-
// bazel-out/
|
|
1452
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1453
1453
|
var IndexingContext = class {
|
|
1454
1454
|
constructor() {
|
|
1455
1455
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1459,10 +1459,10 @@ var IndexingContext = class {
|
|
|
1459
1459
|
}
|
|
1460
1460
|
};
|
|
1461
1461
|
|
|
1462
|
-
// bazel-out/
|
|
1462
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1463
1463
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1464
1464
|
|
|
1465
|
-
// bazel-out/
|
|
1465
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1466
1466
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1467
1467
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1468
1468
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -1699,7 +1699,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
1699
1699
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
1700
1700
|
}
|
|
1701
1701
|
|
|
1702
|
-
// bazel-out/
|
|
1702
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1703
1703
|
function generateAnalysis(context) {
|
|
1704
1704
|
const analysis = /* @__PURE__ */ new Map();
|
|
1705
1705
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -1735,7 +1735,7 @@ function generateAnalysis(context) {
|
|
|
1735
1735
|
return analysis;
|
|
1736
1736
|
}
|
|
1737
1737
|
|
|
1738
|
-
// bazel-out/
|
|
1738
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
1739
1739
|
import ts10 from "typescript";
|
|
1740
1740
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
1741
1741
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -1881,7 +1881,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
1881
1881
|
};
|
|
1882
1882
|
}
|
|
1883
1883
|
|
|
1884
|
-
// bazel-out/
|
|
1884
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
1885
1885
|
var StandaloneComponentScopeReader = class {
|
|
1886
1886
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
1887
1887
|
this.metaReader = metaReader;
|
|
@@ -1959,10 +1959,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
1959
1959
|
}
|
|
1960
1960
|
};
|
|
1961
1961
|
|
|
1962
|
-
// bazel-out/
|
|
1962
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
1963
1963
|
import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
|
|
1964
1964
|
|
|
1965
|
-
// bazel-out/
|
|
1965
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
1966
1966
|
import ts11 from "typescript";
|
|
1967
1967
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
1968
1968
|
if (mapping.type === "direct") {
|
|
@@ -2035,7 +2035,7 @@ function makeTemplateDiagnostic(templateId, mapping, span, category, code, messa
|
|
|
2035
2035
|
}
|
|
2036
2036
|
}
|
|
2037
2037
|
|
|
2038
|
-
// bazel-out/
|
|
2038
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
2039
2039
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
2040
2040
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
2041
2041
|
function getTemplateId(clazz) {
|
|
@@ -2052,11 +2052,11 @@ function allocateTemplateId(sf) {
|
|
|
2052
2052
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
2053
2053
|
}
|
|
2054
2054
|
|
|
2055
|
-
// bazel-out/
|
|
2055
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2056
2056
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
2057
2057
|
import ts13 from "typescript";
|
|
2058
2058
|
|
|
2059
|
-
// bazel-out/
|
|
2059
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
2060
2060
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
2061
2061
|
import ts12 from "typescript";
|
|
2062
2062
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2176,7 +2176,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2176
2176
|
}) || false;
|
|
2177
2177
|
}
|
|
2178
2178
|
|
|
2179
|
-
// bazel-out/
|
|
2179
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2180
2180
|
var CompletionEngine = class {
|
|
2181
2181
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2182
2182
|
this.tcb = tcb;
|
|
@@ -2333,10 +2333,10 @@ var CompletionEngine = class {
|
|
|
2333
2333
|
}
|
|
2334
2334
|
};
|
|
2335
2335
|
|
|
2336
|
-
// bazel-out/
|
|
2336
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2337
2337
|
import ts27 from "typescript";
|
|
2338
2338
|
|
|
2339
|
-
// bazel-out/
|
|
2339
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2340
2340
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2341
2341
|
import ts14 from "typescript";
|
|
2342
2342
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2349,18 +2349,19 @@ var RegistryDomSchemaChecker = class {
|
|
|
2349
2349
|
get diagnostics() {
|
|
2350
2350
|
return this._diagnostics;
|
|
2351
2351
|
}
|
|
2352
|
-
checkElement(id, element, schemas) {
|
|
2352
|
+
checkElement(id, element, schemas, hostIsStandalone) {
|
|
2353
2353
|
const name = element.name.replace(REMOVE_XHTML_REGEX, "");
|
|
2354
2354
|
if (!REGISTRY.hasElement(name, schemas)) {
|
|
2355
2355
|
const mapping = this.resolver.getSourceMapping(id);
|
|
2356
|
+
const schemas2 = `'${hostIsStandalone ? "@Component" : "@NgModule"}.schemas'`;
|
|
2356
2357
|
let errorMsg = `'${name}' is not a known element:
|
|
2357
2358
|
`;
|
|
2358
|
-
errorMsg += `1. If '${name}' is an Angular component, then verify that it is part of this module.
|
|
2359
|
+
errorMsg += `1. If '${name}' is an Angular component, then verify that it is ${hostIsStandalone ? "included in the '@Component.imports' of this component" : "part of this module"}.
|
|
2359
2360
|
`;
|
|
2360
2361
|
if (name.indexOf("-") > -1) {
|
|
2361
|
-
errorMsg += `2. If '${name}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the
|
|
2362
|
+
errorMsg += `2. If '${name}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the ${schemas2} of this component to suppress this message.`;
|
|
2362
2363
|
} else {
|
|
2363
|
-
errorMsg += `2. To allow any element add 'NO_ERRORS_SCHEMA' to the
|
|
2364
|
+
errorMsg += `2. To allow any element add 'NO_ERRORS_SCHEMA' to the ${schemas2} of this component.`;
|
|
2364
2365
|
}
|
|
2365
2366
|
const diag = makeTemplateDiagnostic(id, mapping, element.startSourceSpan, ts14.DiagnosticCategory.Error, ngErrorCode(ErrorCode.SCHEMA_INVALID_ELEMENT), errorMsg);
|
|
2366
2367
|
this._diagnostics.push(diag);
|
|
@@ -2386,11 +2387,11 @@ var RegistryDomSchemaChecker = class {
|
|
|
2386
2387
|
}
|
|
2387
2388
|
};
|
|
2388
2389
|
|
|
2389
|
-
// bazel-out/
|
|
2390
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2390
2391
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
2391
2392
|
import ts20 from "typescript";
|
|
2392
2393
|
|
|
2393
|
-
// bazel-out/
|
|
2394
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
2394
2395
|
import ts15 from "typescript";
|
|
2395
2396
|
var PARSED_TS_VERSION = parseFloat(ts15.versionMajorMinor);
|
|
2396
2397
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
@@ -2463,16 +2464,16 @@ function isAccessExpression(node) {
|
|
|
2463
2464
|
return ts15.isPropertyAccessExpression(node) || ts15.isElementAccessExpression(node);
|
|
2464
2465
|
}
|
|
2465
2466
|
|
|
2466
|
-
// bazel-out/
|
|
2467
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2467
2468
|
import ts19 from "typescript";
|
|
2468
2469
|
|
|
2469
|
-
// bazel-out/
|
|
2470
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2470
2471
|
import ts18 from "typescript";
|
|
2471
2472
|
|
|
2472
|
-
// bazel-out/
|
|
2473
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2473
2474
|
import ts17 from "typescript";
|
|
2474
2475
|
|
|
2475
|
-
// bazel-out/
|
|
2476
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
2476
2477
|
import ts16 from "typescript";
|
|
2477
2478
|
var INELIGIBLE = {};
|
|
2478
2479
|
function canEmitType(type, canEmit) {
|
|
@@ -2534,7 +2535,7 @@ var TypeEmitter = class {
|
|
|
2534
2535
|
}
|
|
2535
2536
|
};
|
|
2536
2537
|
|
|
2537
|
-
// bazel-out/
|
|
2538
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
2538
2539
|
var TypeParameterEmitter = class {
|
|
2539
2540
|
constructor(typeParameters, reflector) {
|
|
2540
2541
|
this.typeParameters = typeParameters;
|
|
@@ -2611,7 +2612,7 @@ var TypeParameterEmitter = class {
|
|
|
2611
2612
|
}
|
|
2612
2613
|
};
|
|
2613
2614
|
|
|
2614
|
-
// bazel-out/
|
|
2615
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
2615
2616
|
var TcbInliningRequirement;
|
|
2616
2617
|
(function(TcbInliningRequirement2) {
|
|
2617
2618
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -2691,7 +2692,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
2691
2692
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
2692
2693
|
}
|
|
2693
2694
|
|
|
2694
|
-
// bazel-out/
|
|
2695
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
2695
2696
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
2696
2697
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
2697
2698
|
const rawType = ts19.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -2762,7 +2763,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
2762
2763
|
});
|
|
2763
2764
|
}
|
|
2764
2765
|
|
|
2765
|
-
// bazel-out/
|
|
2766
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2766
2767
|
var Environment = class {
|
|
2767
2768
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
2768
2769
|
this.config = config;
|
|
@@ -2854,7 +2855,7 @@ var Environment = class {
|
|
|
2854
2855
|
}
|
|
2855
2856
|
};
|
|
2856
2857
|
|
|
2857
|
-
// bazel-out/
|
|
2858
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
2858
2859
|
import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
2859
2860
|
import ts21 from "typescript";
|
|
2860
2861
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -2986,7 +2987,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
2986
2987
|
});
|
|
2987
2988
|
}
|
|
2988
2989
|
|
|
2989
|
-
// bazel-out/
|
|
2990
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
2990
2991
|
import ts22 from "typescript";
|
|
2991
2992
|
var TypeCheckShimGenerator = class {
|
|
2992
2993
|
constructor() {
|
|
@@ -3004,11 +3005,11 @@ var TypeCheckShimGenerator = class {
|
|
|
3004
3005
|
}
|
|
3005
3006
|
};
|
|
3006
3007
|
|
|
3007
|
-
// bazel-out/
|
|
3008
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3008
3009
|
import { BindingPipe, Call as Call2, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver4, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite3, SafeCall, SafePropertyRead as SafePropertyRead3, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstElement as TmplAstElement3, TmplAstIcu, TmplAstReference as TmplAstReference3, TmplAstTemplate as TmplAstTemplate2, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
|
|
3009
3010
|
import ts25 from "typescript";
|
|
3010
3011
|
|
|
3011
|
-
// bazel-out/
|
|
3012
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
3012
3013
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
3013
3014
|
import ts23 from "typescript";
|
|
3014
3015
|
function wrapForDiagnostics(expr) {
|
|
@@ -3054,7 +3055,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3054
3055
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3055
3056
|
}
|
|
3056
3057
|
|
|
3057
|
-
// bazel-out/
|
|
3058
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3058
3059
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3059
3060
|
import ts24 from "typescript";
|
|
3060
3061
|
var NULL_AS_ANY = ts24.factory.createAsExpression(ts24.factory.createNull(), ts24.factory.createKeywordTypeNode(ts24.SyntaxKind.AnyKeyword));
|
|
@@ -3384,7 +3385,7 @@ var VeSafeLhsInferenceBugDetector = class {
|
|
|
3384
3385
|
};
|
|
3385
3386
|
VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
|
|
3386
3387
|
|
|
3387
|
-
// bazel-out/
|
|
3388
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
3388
3389
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
3389
3390
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
3390
3391
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -3408,7 +3409,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
3408
3409
|
}
|
|
3409
3410
|
};
|
|
3410
3411
|
|
|
3411
|
-
// bazel-out/
|
|
3412
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3412
3413
|
var TcbGenericContextBehavior;
|
|
3413
3414
|
(function(TcbGenericContextBehavior2) {
|
|
3414
3415
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -3416,7 +3417,7 @@ var TcbGenericContextBehavior;
|
|
|
3416
3417
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["FallbackToAny"] = 2] = "FallbackToAny";
|
|
3417
3418
|
})(TcbGenericContextBehavior || (TcbGenericContextBehavior = {}));
|
|
3418
3419
|
function generateTypeCheckBlock(env, ref, name, meta, domSchemaChecker, oobRecorder, genericContextBehavior) {
|
|
3419
|
-
const tcb = new Context(env, domSchemaChecker, oobRecorder, meta.id, meta.boundTarget, meta.pipes, meta.schemas);
|
|
3420
|
+
const tcb = new Context(env, domSchemaChecker, oobRecorder, meta.id, meta.boundTarget, meta.pipes, meta.schemas, meta.isStandalone);
|
|
3420
3421
|
const scope = Scope.forNodes(tcb, null, tcb.boundTarget.target.template, null);
|
|
3421
3422
|
const ctxRawType = env.referenceType(ref);
|
|
3422
3423
|
if (!ts25.isTypeReferenceNode(ctxRawType)) {
|
|
@@ -3828,7 +3829,7 @@ var TcbDomSchemaCheckerOp = class extends TcbOp {
|
|
|
3828
3829
|
}
|
|
3829
3830
|
execute() {
|
|
3830
3831
|
if (this.checkElement) {
|
|
3831
|
-
this.tcb.domSchemaChecker.checkElement(this.tcb.id, this.element, this.tcb.schemas);
|
|
3832
|
+
this.tcb.domSchemaChecker.checkElement(this.tcb.id, this.element, this.tcb.schemas, this.tcb.hostIsStandalone);
|
|
3832
3833
|
}
|
|
3833
3834
|
for (const binding of this.element.inputs) {
|
|
3834
3835
|
if (binding.type === 0 && this.claimedInputs.has(binding.name)) {
|
|
@@ -3997,7 +3998,7 @@ var TcbComponentContextCompletionOp = class extends TcbOp {
|
|
|
3997
3998
|
};
|
|
3998
3999
|
var INFER_TYPE_FOR_CIRCULAR_OP_EXPR = ts25.factory.createNonNullExpression(ts25.factory.createNull());
|
|
3999
4000
|
var Context = class {
|
|
4000
|
-
constructor(env, domSchemaChecker, oobRecorder, id, boundTarget, pipes, schemas) {
|
|
4001
|
+
constructor(env, domSchemaChecker, oobRecorder, id, boundTarget, pipes, schemas, hostIsStandalone) {
|
|
4001
4002
|
this.env = env;
|
|
4002
4003
|
this.domSchemaChecker = domSchemaChecker;
|
|
4003
4004
|
this.oobRecorder = oobRecorder;
|
|
@@ -4005,6 +4006,7 @@ var Context = class {
|
|
|
4005
4006
|
this.boundTarget = boundTarget;
|
|
4006
4007
|
this.pipes = pipes;
|
|
4007
4008
|
this.schemas = schemas;
|
|
4009
|
+
this.hostIsStandalone = hostIsStandalone;
|
|
4008
4010
|
this.nextId = 1;
|
|
4009
4011
|
}
|
|
4010
4012
|
allocateId() {
|
|
@@ -4458,7 +4460,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
4458
4460
|
}
|
|
4459
4461
|
};
|
|
4460
4462
|
|
|
4461
|
-
// bazel-out/
|
|
4463
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
4462
4464
|
import ts26 from "typescript";
|
|
4463
4465
|
var TypeCheckFile = class extends Environment {
|
|
4464
4466
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -4494,7 +4496,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
4494
4496
|
}
|
|
4495
4497
|
};
|
|
4496
4498
|
|
|
4497
|
-
// bazel-out/
|
|
4499
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4498
4500
|
var InliningMode;
|
|
4499
4501
|
(function(InliningMode2) {
|
|
4500
4502
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -4516,7 +4518,7 @@ var TypeCheckContextImpl = class {
|
|
|
4516
4518
|
throw new Error(`AssertionError: invalid inlining configuration.`);
|
|
4517
4519
|
}
|
|
4518
4520
|
}
|
|
4519
|
-
addTemplate(ref, binder, template, pipes, schemas, sourceMapping, file, parseErrors) {
|
|
4521
|
+
addTemplate(ref, binder, template, pipes, schemas, sourceMapping, file, parseErrors, isStandalone) {
|
|
4520
4522
|
if (!this.host.shouldCheckComponent(ref.node)) {
|
|
4521
4523
|
return;
|
|
4522
4524
|
}
|
|
@@ -4562,7 +4564,8 @@ var TypeCheckContextImpl = class {
|
|
|
4562
4564
|
id: fileData.sourceManager.captureSource(ref.node, sourceMapping, file),
|
|
4563
4565
|
boundTarget,
|
|
4564
4566
|
pipes,
|
|
4565
|
-
schemas
|
|
4567
|
+
schemas,
|
|
4568
|
+
isStandalone
|
|
4566
4569
|
};
|
|
4567
4570
|
this.perf.eventCount(PerfEvent.GenerateTcb);
|
|
4568
4571
|
if (inliningRequirement !== TcbInliningRequirement.None && this.inlining === InliningMode.InlineOps) {
|
|
@@ -4724,10 +4727,10 @@ function splitStringAtPoints(str, points) {
|
|
|
4724
4727
|
return splits;
|
|
4725
4728
|
}
|
|
4726
4729
|
|
|
4727
|
-
// bazel-out/
|
|
4730
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4728
4731
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
4729
4732
|
|
|
4730
|
-
// bazel-out/
|
|
4733
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
4731
4734
|
var LF_CHAR = 10;
|
|
4732
4735
|
var CR_CHAR = 13;
|
|
4733
4736
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -4768,7 +4771,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
4768
4771
|
return low - 1;
|
|
4769
4772
|
}
|
|
4770
4773
|
|
|
4771
|
-
// bazel-out/
|
|
4774
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
4772
4775
|
var TemplateSource = class {
|
|
4773
4776
|
constructor(mapping, file) {
|
|
4774
4777
|
this.mapping = mapping;
|
|
@@ -4819,7 +4822,7 @@ var TemplateSourceManager = class {
|
|
|
4819
4822
|
}
|
|
4820
4823
|
};
|
|
4821
4824
|
|
|
4822
|
-
// bazel-out/
|
|
4825
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
4823
4826
|
import { AST, ASTWithSource as ASTWithSource3, BindingPipe as BindingPipe2, PropertyRead as PropertyRead5, PropertyWrite as PropertyWrite4, SafePropertyRead as SafePropertyRead4, TmplAstBoundAttribute as TmplAstBoundAttribute2, TmplAstBoundEvent, TmplAstElement as TmplAstElement4, TmplAstReference as TmplAstReference4, TmplAstTemplate as TmplAstTemplate3, TmplAstTextAttribute as TmplAstTextAttribute3, TmplAstVariable as TmplAstVariable3 } from "@angular/compiler";
|
|
4824
4827
|
import ts28 from "typescript";
|
|
4825
4828
|
var SymbolBuilder = class {
|
|
@@ -5259,7 +5262,7 @@ function sourceSpanEqual(a, b) {
|
|
|
5259
5262
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
5260
5263
|
}
|
|
5261
5264
|
|
|
5262
|
-
// bazel-out/
|
|
5265
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
5263
5266
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
5264
5267
|
var TemplateTypeCheckerImpl = class {
|
|
5265
5268
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -5795,10 +5798,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
5795
5798
|
}
|
|
5796
5799
|
};
|
|
5797
5800
|
|
|
5798
|
-
// bazel-out/
|
|
5801
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
5799
5802
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
5800
5803
|
|
|
5801
|
-
// bazel-out/
|
|
5804
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
5802
5805
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
|
|
5803
5806
|
var TemplateCheckWithVisitor = class {
|
|
5804
5807
|
run(ctx, component, template) {
|
|
@@ -5875,7 +5878,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
5875
5878
|
}
|
|
5876
5879
|
};
|
|
5877
5880
|
|
|
5878
|
-
// bazel-out/
|
|
5881
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
5879
5882
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
5880
5883
|
constructor() {
|
|
5881
5884
|
super(...arguments);
|
|
@@ -5900,7 +5903,7 @@ var factory = {
|
|
|
5900
5903
|
create: () => new InvalidBananaInBoxCheck()
|
|
5901
5904
|
};
|
|
5902
5905
|
|
|
5903
|
-
// bazel-out/
|
|
5906
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
5904
5907
|
import { Binary } from "@angular/compiler";
|
|
5905
5908
|
import ts29 from "typescript";
|
|
5906
5909
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -5945,10 +5948,10 @@ var factory2 = {
|
|
|
5945
5948
|
}
|
|
5946
5949
|
};
|
|
5947
5950
|
|
|
5948
|
-
// bazel-out/
|
|
5951
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
5949
5952
|
import ts30 from "typescript";
|
|
5950
5953
|
|
|
5951
|
-
// bazel-out/
|
|
5954
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
5952
5955
|
var DiagnosticCategoryLabel;
|
|
5953
5956
|
(function(DiagnosticCategoryLabel2) {
|
|
5954
5957
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -5956,7 +5959,7 @@ var DiagnosticCategoryLabel;
|
|
|
5956
5959
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
5957
5960
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
5958
5961
|
|
|
5959
|
-
// bazel-out/
|
|
5962
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
5960
5963
|
var ExtendedTemplateCheckerImpl = class {
|
|
5961
5964
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
5962
5965
|
var _a, _b, _c, _d, _e;
|
|
@@ -6008,13 +6011,13 @@ function assertNever(value) {
|
|
|
6008
6011
|
${value}`);
|
|
6009
6012
|
}
|
|
6010
6013
|
|
|
6011
|
-
// bazel-out/
|
|
6014
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
6012
6015
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
6013
6016
|
factory,
|
|
6014
6017
|
factory2
|
|
6015
6018
|
];
|
|
6016
6019
|
|
|
6017
|
-
// bazel-out/
|
|
6020
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
6018
6021
|
var CompilationTicketKind;
|
|
6019
6022
|
(function(CompilationTicketKind2) {
|
|
6020
6023
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -6710,7 +6713,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
6710
6713
|
return versions;
|
|
6711
6714
|
}
|
|
6712
6715
|
|
|
6713
|
-
// bazel-out/
|
|
6716
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
6714
6717
|
import ts32 from "typescript";
|
|
6715
6718
|
var DelegatingCompilerHost2 = class {
|
|
6716
6719
|
constructor(delegate) {
|
|
@@ -6854,7 +6857,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
6854
6857
|
}
|
|
6855
6858
|
};
|
|
6856
6859
|
|
|
6857
|
-
// bazel-out/
|
|
6860
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
6858
6861
|
var NgtscProgram = class {
|
|
6859
6862
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
6860
6863
|
this.options = options;
|
|
@@ -7061,15 +7064,15 @@ function mergeEmitResults(emitResults) {
|
|
|
7061
7064
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
7062
7065
|
}
|
|
7063
7066
|
|
|
7064
|
-
// bazel-out/
|
|
7067
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
7065
7068
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
7066
7069
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
7067
7070
|
}
|
|
7068
7071
|
|
|
7069
|
-
// bazel-out/
|
|
7072
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7070
7073
|
import ts35 from "typescript";
|
|
7071
7074
|
|
|
7072
|
-
// bazel-out/
|
|
7075
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
7073
7076
|
import ts34 from "typescript";
|
|
7074
7077
|
var GENERATED_FILES = /(.*?)\.(ngfactory|shim\.ngstyle|ngstyle|ngsummary)\.(js|d\.ts|ts)$/;
|
|
7075
7078
|
function createMessageDiagnostic(messageText) {
|
|
@@ -7084,7 +7087,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
7084
7087
|
};
|
|
7085
7088
|
}
|
|
7086
7089
|
|
|
7087
|
-
// bazel-out/
|
|
7090
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
7088
7091
|
var defaultFormatHost = {
|
|
7089
7092
|
getCurrentDirectory: () => ts35.sys.getCurrentDirectory(),
|
|
7090
7093
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -7297,4 +7300,4 @@ export {
|
|
|
7297
7300
|
* found in the LICENSE file at https://angular.io/license
|
|
7298
7301
|
*/
|
|
7299
7302
|
// Closure Compiler ignores @suppress and similar if the comment contains @license.
|
|
7300
|
-
//# sourceMappingURL=chunk-
|
|
7303
|
+
//# sourceMappingURL=chunk-VLER5B3O.js.map
|