@angular/compiler-cli 18.2.1 → 19.0.0-next.1
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-B4ZOGV3N.js +1 -1
- package/bundles/{chunk-4GMJ67OV.js → chunk-CNPXFKGI.js} +2 -2
- package/bundles/{chunk-ZHJO7SMX.js → chunk-DK2K5DIA.js} +2 -2
- package/bundles/{chunk-5I46MBAD.js → chunk-QJ5A7O7J.js} +4 -4
- package/bundles/{chunk-NOUP24WG.js → chunk-UWZBW4E4.js} +2 -2
- package/bundles/{chunk-56IXZIL6.js → chunk-VNKFV2MZ.js} +35 -23
- package/bundles/{chunk-56IXZIL6.js.map → chunk-VNKFV2MZ.js.map} +1 -1
- package/bundles/index.js +5 -5
- package/bundles/private/migrations.js +1 -1
- package/bundles/private/tooling.js +3 -3
- package/bundles/src/bin/ng_xi18n.js +4 -4
- package/bundles/src/bin/ngc.js +4 -4
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +3 -3
- /package/bundles/{chunk-4GMJ67OV.js.map → chunk-CNPXFKGI.js.map} +0 -0
- /package/bundles/{chunk-ZHJO7SMX.js.map → chunk-DK2K5DIA.js.map} +0 -0
- /package/bundles/{chunk-5I46MBAD.js.map → chunk-QJ5A7O7J.js.map} +0 -0
- /package/bundles/{chunk-NOUP24WG.js.map → chunk-UWZBW4E4.js.map} +0 -0
|
@@ -299,7 +299,7 @@ import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSo
|
|
|
299
299
|
|
|
300
300
|
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
|
|
301
301
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
302
|
-
var PLACEHOLDER_VERSION = "
|
|
302
|
+
var PLACEHOLDER_VERSION = "19.0.0-next.1";
|
|
303
303
|
function wrapReference(wrapped) {
|
|
304
304
|
return { value: wrapped, type: wrapped };
|
|
305
305
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
angularJitApplicationTransform
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DK2K5DIA.js";
|
|
8
8
|
|
|
9
9
|
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
10
10
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
@@ -31,4 +31,4 @@ export {
|
|
|
31
31
|
* Use of this source code is governed by an MIT-style license that can be
|
|
32
32
|
* found in the LICENSE file at https://angular.io/license
|
|
33
33
|
*/
|
|
34
|
-
//# sourceMappingURL=chunk-
|
|
34
|
+
//# sourceMappingURL=chunk-CNPXFKGI.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
tryParseSignalInputMapping,
|
|
11
11
|
tryParseSignalModelMapping,
|
|
12
12
|
tryParseSignalQueryFromInitializer
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VNKFV2MZ.js";
|
|
14
14
|
import {
|
|
15
15
|
ImportManager,
|
|
16
16
|
ImportedSymbolsTracker,
|
|
@@ -536,4 +536,4 @@ export {
|
|
|
536
536
|
* Use of this source code is governed by an MIT-style license that can be
|
|
537
537
|
* found in the LICENSE file at https://angular.io/license
|
|
538
538
|
*/
|
|
539
|
-
//# sourceMappingURL=chunk-
|
|
539
|
+
//# sourceMappingURL=chunk-DK2K5DIA.js.map
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
angularJitApplicationTransform
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DK2K5DIA.js";
|
|
8
8
|
import {
|
|
9
9
|
CompilationMode,
|
|
10
10
|
ComponentDecoratorHandler,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
retagAllTsFiles,
|
|
52
52
|
tryParseInitializerApi,
|
|
53
53
|
untagAllTsFiles
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-VNKFV2MZ.js";
|
|
55
55
|
import {
|
|
56
56
|
AbsoluteModuleStrategy,
|
|
57
57
|
AliasStrategy,
|
|
@@ -1084,7 +1084,7 @@ function compareVersions(v1, v2) {
|
|
|
1084
1084
|
|
|
1085
1085
|
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1086
1086
|
var MIN_TS_VERSION = "5.4.0";
|
|
1087
|
-
var MAX_TS_VERSION = "5.
|
|
1087
|
+
var MAX_TS_VERSION = "5.7.0";
|
|
1088
1088
|
var tsVersion = ts11.version;
|
|
1089
1089
|
function checkVersion(version, minVersion, maxVersion) {
|
|
1090
1090
|
if (compareVersions(version, minVersion) < 0 || compareVersions(version, maxVersion) >= 0) {
|
|
@@ -4744,4 +4744,4 @@ export {
|
|
|
4744
4744
|
* Use of this source code is governed by an MIT-style license that can be
|
|
4745
4745
|
* found in the LICENSE file at https://angular.io/license
|
|
4746
4746
|
*/
|
|
4747
|
-
//# sourceMappingURL=chunk-
|
|
4747
|
+
//# sourceMappingURL=chunk-QJ5A7O7J.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
formatDiagnostics,
|
|
13
13
|
performCompilation,
|
|
14
14
|
readConfiguration
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QJ5A7O7J.js";
|
|
16
16
|
|
|
17
17
|
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
18
18
|
import ts2 from "typescript";
|
|
@@ -363,4 +363,4 @@ export {
|
|
|
363
363
|
* Use of this source code is governed by an MIT-style license that can be
|
|
364
364
|
* found in the LICENSE file at https://angular.io/license
|
|
365
365
|
*/
|
|
366
|
-
//# sourceMappingURL=chunk-
|
|
366
|
+
//# sourceMappingURL=chunk-UWZBW4E4.js.map
|
|
@@ -13348,29 +13348,41 @@ var ComponentDecoratorHandler = class {
|
|
|
13348
13348
|
};
|
|
13349
13349
|
const templateAndTemplateStyleResources = preloadAndParseTemplate(this.evaluator, this.resourceLoader, this.depTracker, this.preanalyzeTemplateCache, node, decorator, component, containingFile, this.defaultPreserveWhitespaces, this.extractTemplateOptions, this.compilationMode).then((template) => {
|
|
13350
13350
|
if (template === null) {
|
|
13351
|
-
return
|
|
13351
|
+
return { templateStyles: [], templateStyleUrls: [] };
|
|
13352
|
+
}
|
|
13353
|
+
let templateUrl;
|
|
13354
|
+
if (template.sourceMapping.type === "external") {
|
|
13355
|
+
templateUrl = template.sourceMapping.templateUrl;
|
|
13352
13356
|
}
|
|
13353
|
-
return
|
|
13357
|
+
return {
|
|
13358
|
+
templateUrl,
|
|
13359
|
+
templateStyles: template.styles,
|
|
13360
|
+
templateStyleUrls: template.styleUrls
|
|
13361
|
+
};
|
|
13354
13362
|
});
|
|
13355
13363
|
const componentStyleUrls = extractComponentStyleUrls(this.evaluator, component);
|
|
13356
|
-
|
|
13357
|
-
|
|
13358
|
-
const
|
|
13359
|
-
if (
|
|
13360
|
-
this.
|
|
13361
|
-
}
|
|
13362
|
-
|
|
13363
|
-
|
|
13364
|
-
|
|
13364
|
+
return templateAndTemplateStyleResources.then(async (templateInfo) => {
|
|
13365
|
+
let styles = null;
|
|
13366
|
+
const rawStyles = parseDirectiveStyles(component, this.evaluator, this.compilationMode);
|
|
13367
|
+
if (rawStyles == null ? void 0 : rawStyles.length) {
|
|
13368
|
+
styles = await Promise.all(rawStyles.map((style) => this.resourceLoader.preprocessInline(style, { type: "style", containingFile })));
|
|
13369
|
+
}
|
|
13370
|
+
if (templateInfo.templateStyles) {
|
|
13371
|
+
styles != null ? styles : styles = [];
|
|
13372
|
+
styles.push(...await Promise.all(templateInfo.templateStyles.map((style) => {
|
|
13373
|
+
var _a;
|
|
13374
|
+
return this.resourceLoader.preprocessInline(style, {
|
|
13375
|
+
type: "style",
|
|
13376
|
+
containingFile: (_a = templateInfo.templateUrl) != null ? _a : containingFile
|
|
13377
|
+
});
|
|
13378
|
+
})));
|
|
13365
13379
|
}
|
|
13366
|
-
|
|
13367
|
-
|
|
13368
|
-
|
|
13369
|
-
|
|
13370
|
-
|
|
13371
|
-
|
|
13372
|
-
...componentStyleUrls.map((styleUrl) => resolveStyleUrl(styleUrl.url))
|
|
13373
|
-
]).then(() => void 0);
|
|
13380
|
+
this.preanalyzeStylesCache.set(node, styles);
|
|
13381
|
+
await Promise.all([
|
|
13382
|
+
...componentStyleUrls.map((styleUrl) => resolveStyleUrl(styleUrl.url)),
|
|
13383
|
+
...templateInfo.templateStyleUrls.map((url) => resolveStyleUrl(url))
|
|
13384
|
+
]);
|
|
13385
|
+
});
|
|
13374
13386
|
}
|
|
13375
13387
|
analyze(node, decorator) {
|
|
13376
13388
|
var _a, _b, _c, _d, _e;
|
|
@@ -13555,9 +13567,9 @@ var ComponentDecoratorHandler = class {
|
|
|
13555
13567
|
styles.push(...litStyles);
|
|
13556
13568
|
}
|
|
13557
13569
|
}
|
|
13558
|
-
|
|
13559
|
-
|
|
13560
|
-
|
|
13570
|
+
if (template.styles.length > 0) {
|
|
13571
|
+
styles.push(...template.styles);
|
|
13572
|
+
}
|
|
13561
13573
|
}
|
|
13562
13574
|
let explicitlyDeferredTypes = null;
|
|
13563
13575
|
if (metadata.isStandalone && rawDeferredImports !== null) {
|
|
@@ -14750,4 +14762,4 @@ export {
|
|
|
14750
14762
|
* Use of this source code is governed by an MIT-style license that can be
|
|
14751
14763
|
* found in the LICENSE file at https://angular.io/license
|
|
14752
14764
|
*/
|
|
14753
|
-
//# sourceMappingURL=chunk-
|
|
14765
|
+
//# sourceMappingURL=chunk-VNKFV2MZ.js.map
|