@angular/compiler-cli 18.2.0-next.2 → 18.2.0-next.3
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-I56P56EE.js → chunk-5DVL3S3Z.js} +75 -9
- package/bundles/{chunk-I56P56EE.js.map → chunk-5DVL3S3Z.js.map} +1 -1
- package/bundles/{chunk-6OFVLEJY.js → chunk-AQRCENAS.js} +7 -7
- package/bundles/{chunk-6OFVLEJY.js.map → chunk-AQRCENAS.js.map} +1 -1
- package/bundles/{chunk-GJ2BX3NZ.js → chunk-B4ZOGV3N.js} +3 -3
- package/bundles/{chunk-CW5TTYLY.js → chunk-EFWQF5B3.js} +29 -19
- package/bundles/chunk-EFWQF5B3.js.map +6 -0
- package/bundles/{chunk-XVC3L7YN.js → chunk-FL7B5BOI.js} +2 -2
- package/bundles/{chunk-BR33BNGB.js → chunk-KQXJFD6L.js} +2 -2
- package/bundles/{chunk-YDQXTFSY.js → chunk-O4UKU4TQ.js} +3 -3
- package/bundles/index.js +6 -6
- package/bundles/linker/babel/index.js +2 -2
- package/bundles/linker/index.js +2 -2
- package/bundles/private/migrations.js +2 -2
- package/bundles/private/tooling.js +4 -4
- package/bundles/src/bin/ng_xi18n.js +5 -5
- package/bundles/src/bin/ngc.js +5 -5
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/annotations/ng_module/src/handler.d.ts +3 -2
- package/src/ngtsc/core/api/src/options.d.ts +1 -1
- package/src/ngtsc/translator/src/import_manager/import_manager.d.ts +17 -0
- package/src/ngtsc/translator/src/import_manager/import_typescript_transform.d.ts +1 -0
- package/bundles/chunk-CW5TTYLY.js.map +0 -6
- /package/bundles/{chunk-GJ2BX3NZ.js.map → chunk-B4ZOGV3N.js.map} +0 -0
- /package/bundles/{chunk-XVC3L7YN.js.map → chunk-FL7B5BOI.js.map} +0 -0
- /package/bundles/{chunk-BR33BNGB.js.map → chunk-KQXJFD6L.js.map} +0 -0
- /package/bundles/{chunk-YDQXTFSY.js.map → chunk-O4UKU4TQ.js.map} +0 -0
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
translateStatement,
|
|
46
46
|
translateType,
|
|
47
47
|
typeNodeToValueExpr
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-5DVL3S3Z.js";
|
|
49
49
|
import {
|
|
50
50
|
PerfCheckpoint,
|
|
51
51
|
PerfEvent,
|
|
@@ -6013,7 +6013,7 @@ var NgModuleSymbol = class extends SemanticSymbol {
|
|
|
6013
6013
|
}
|
|
6014
6014
|
};
|
|
6015
6015
|
var NgModuleDecoratorHandler = class {
|
|
6016
|
-
constructor(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, exportedProviderStatusResolver, semanticDepGraphUpdater, isCore, refEmitter, annotateForClosureCompiler, onlyPublishPublicTypings, injectableRegistry, perf, includeClassMetadata, includeSelectorScope, compilationMode, localCompilationExtraImportsTracker) {
|
|
6016
|
+
constructor(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, exportedProviderStatusResolver, semanticDepGraphUpdater, isCore, refEmitter, annotateForClosureCompiler, onlyPublishPublicTypings, injectableRegistry, perf, includeClassMetadata, includeSelectorScope, compilationMode, localCompilationExtraImportsTracker, jitDeclarationRegistry) {
|
|
6017
6017
|
this.reflector = reflector;
|
|
6018
6018
|
this.evaluator = evaluator;
|
|
6019
6019
|
this.metaReader = metaReader;
|
|
@@ -6032,6 +6032,7 @@ var NgModuleDecoratorHandler = class {
|
|
|
6032
6032
|
this.includeSelectorScope = includeSelectorScope;
|
|
6033
6033
|
this.compilationMode = compilationMode;
|
|
6034
6034
|
this.localCompilationExtraImportsTracker = localCompilationExtraImportsTracker;
|
|
6035
|
+
this.jitDeclarationRegistry = jitDeclarationRegistry;
|
|
6035
6036
|
this.precedence = HandlerPrecedence.PRIMARY;
|
|
6036
6037
|
this.name = "NgModuleDecoratorHandler";
|
|
6037
6038
|
}
|
|
@@ -6063,6 +6064,7 @@ var NgModuleDecoratorHandler = class {
|
|
|
6063
6064
|
}
|
|
6064
6065
|
const ngModule = reflectObjectLiteral(meta);
|
|
6065
6066
|
if (ngModule.has("jit")) {
|
|
6067
|
+
this.jitDeclarationRegistry.jitDeclarations.add(node);
|
|
6066
6068
|
return {};
|
|
6067
6069
|
}
|
|
6068
6070
|
const moduleResolvers = combineResolvers([
|
|
@@ -8415,10 +8417,12 @@ var MagicString = class {
|
|
|
8415
8417
|
update(start, end, content, options) {
|
|
8416
8418
|
if (typeof content !== "string")
|
|
8417
8419
|
throw new TypeError("replacement content must be a string");
|
|
8418
|
-
|
|
8419
|
-
start
|
|
8420
|
-
|
|
8421
|
-
end
|
|
8420
|
+
if (this.original.length !== 0) {
|
|
8421
|
+
while (start < 0)
|
|
8422
|
+
start += this.original.length;
|
|
8423
|
+
while (end < 0)
|
|
8424
|
+
end += this.original.length;
|
|
8425
|
+
}
|
|
8422
8426
|
if (end > this.original.length)
|
|
8423
8427
|
throw new Error("end is out of bounds");
|
|
8424
8428
|
if (start === end)
|
|
@@ -8496,10 +8500,12 @@ var MagicString = class {
|
|
|
8496
8500
|
return this;
|
|
8497
8501
|
}
|
|
8498
8502
|
remove(start, end) {
|
|
8499
|
-
|
|
8500
|
-
start
|
|
8501
|
-
|
|
8502
|
-
end
|
|
8503
|
+
if (this.original.length !== 0) {
|
|
8504
|
+
while (start < 0)
|
|
8505
|
+
start += this.original.length;
|
|
8506
|
+
while (end < 0)
|
|
8507
|
+
end += this.original.length;
|
|
8508
|
+
}
|
|
8503
8509
|
if (start === end)
|
|
8504
8510
|
return this;
|
|
8505
8511
|
if (start < 0 || end > this.original.length)
|
|
@@ -8518,10 +8524,12 @@ var MagicString = class {
|
|
|
8518
8524
|
return this;
|
|
8519
8525
|
}
|
|
8520
8526
|
reset(start, end) {
|
|
8521
|
-
|
|
8522
|
-
start
|
|
8523
|
-
|
|
8524
|
-
end
|
|
8527
|
+
if (this.original.length !== 0) {
|
|
8528
|
+
while (start < 0)
|
|
8529
|
+
start += this.original.length;
|
|
8530
|
+
while (end < 0)
|
|
8531
|
+
end += this.original.length;
|
|
8532
|
+
}
|
|
8525
8533
|
if (start === end)
|
|
8526
8534
|
return this;
|
|
8527
8535
|
if (start < 0 || end > this.original.length)
|
|
@@ -8585,10 +8593,12 @@ var MagicString = class {
|
|
|
8585
8593
|
return this.intro + lineStr;
|
|
8586
8594
|
}
|
|
8587
8595
|
slice(start = 0, end = this.original.length) {
|
|
8588
|
-
|
|
8589
|
-
start
|
|
8590
|
-
|
|
8591
|
-
end
|
|
8596
|
+
if (this.original.length !== 0) {
|
|
8597
|
+
while (start < 0)
|
|
8598
|
+
start += this.original.length;
|
|
8599
|
+
while (end < 0)
|
|
8600
|
+
end += this.original.length;
|
|
8601
|
+
}
|
|
8592
8602
|
let result = "";
|
|
8593
8603
|
let chunk = this.firstChunk;
|
|
8594
8604
|
while (chunk && (chunk.start > start || chunk.end <= start)) {
|
|
@@ -14740,4 +14750,4 @@ export {
|
|
|
14740
14750
|
* Use of this source code is governed by an MIT-style license that can be
|
|
14741
14751
|
* found in the LICENSE file at https://angular.io/license
|
|
14742
14752
|
*/
|
|
14743
|
-
//# sourceMappingURL=chunk-
|
|
14753
|
+
//# sourceMappingURL=chunk-EFWQF5B3.js.map
|