@angular/compiler-cli 17.0.0-next.0 → 17.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-HJOPJLIM.js → chunk-7PCPPTTO.js} +5 -5
- package/bundles/{chunk-WFZNEQRO.js → chunk-ABAFIH3N.js} +93 -93
- package/bundles/{chunk-U7JQC45O.js → chunk-BOXNK2F2.js} +119 -86
- package/bundles/{chunk-U7JQC45O.js.map → chunk-BOXNK2F2.js.map} +1 -1
- package/bundles/{chunk-GYHDNUIK.js → chunk-EKTJ7622.js} +7 -7
- package/bundles/{chunk-O44BCL4P.js → chunk-HEDZI6BK.js} +10 -42
- package/bundles/chunk-HEDZI6BK.js.map +6 -0
- package/bundles/{chunk-UHYH6BYB.js → chunk-JZC4T2RR.js} +1 -1
- package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-7AJOGEL7.js → chunk-NGWY7NOB.js} +29 -27
- package/bundles/{chunk-7AJOGEL7.js.map → chunk-NGWY7NOB.js.map} +1 -1
- package/bundles/{chunk-FXPDGYDZ.js → chunk-OYEEKZWP.js} +4 -4
- package/bundles/{chunk-EC5K6QPP.js → chunk-PCMLSPQF.js} +8 -8
- package/bundles/{chunk-P4NPKMGZ.js → chunk-QJNBIBVG.js} +8 -8
- package/bundles/chunk-XI2RTGAL.js +16 -0
- package/bundles/{chunk-FRSHP5TN.js → chunk-Y4VOTDJT.js} +31 -31
- package/bundles/index.js +14 -14
- package/bundles/linker/babel/index.js +14 -14
- package/bundles/linker/index.js +6 -6
- package/bundles/ngcc/index.js +1 -1
- package/bundles/private/bazel.js +2 -2
- package/bundles/private/localize.js +4 -4
- package/bundles/private/migrations.js +7 -7
- package/bundles/private/tooling.js +5 -5
- package/bundles/src/bin/ng_xi18n.js +12 -12
- package/bundles/src/bin/ngc.js +11 -19
- package/bundles/src/bin/ngc.js.map +1 -1
- package/bundles_metadata.json +1 -1
- package/package.json +3 -3
- package/src/main.d.ts +2 -4
- package/src/ngtsc/annotations/component/src/resources.d.ts +3 -2
- package/src/ngtsc/annotations/directive/src/shared.d.ts +1 -0
- package/src/ngtsc/diagnostics/src/error_code.d.ts +11 -1
- package/src/ngtsc/logging/src/console_logger.d.ts +3 -3
- package/bundles/chunk-O44BCL4P.js.map +0 -6
- package/bundles/chunk-SRFZMXHZ.js +0 -35
- /package/bundles/{chunk-HJOPJLIM.js.map → chunk-7PCPPTTO.js.map} +0 -0
- /package/bundles/{chunk-WFZNEQRO.js.map → chunk-ABAFIH3N.js.map} +0 -0
- /package/bundles/{chunk-GYHDNUIK.js.map → chunk-EKTJ7622.js.map} +0 -0
- /package/bundles/{chunk-SRFZMXHZ.js.map → chunk-JZC4T2RR.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-FXPDGYDZ.js.map → chunk-OYEEKZWP.js.map} +0 -0
- /package/bundles/{chunk-EC5K6QPP.js.map → chunk-PCMLSPQF.js.map} +0 -0
- /package/bundles/{chunk-P4NPKMGZ.js.map → chunk-QJNBIBVG.js.map} +0 -0
- /package/bundles/{chunk-UHYH6BYB.js.map → chunk-XI2RTGAL.js.map} +0 -0
- /package/bundles/{chunk-FRSHP5TN.js.map → chunk-Y4VOTDJT.js.map} +0 -0
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
__require
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XI2RTGAL.js";
|
|
8
8
|
|
|
9
|
-
// bazel-out/
|
|
9
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
10
10
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
11
11
|
function normalizeSeparators(path) {
|
|
12
12
|
return path.replace(/\\/g, "/");
|
|
@@ -22,7 +22,7 @@ function getSourceFileOrError(program, fileName) {
|
|
|
22
22
|
return sf;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
// bazel-out/
|
|
25
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
26
26
|
var InvalidFileSystem = class {
|
|
27
27
|
exists(path) {
|
|
28
28
|
throw makeError();
|
|
@@ -110,7 +110,7 @@ function makeError() {
|
|
|
110
110
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
// bazel-out/
|
|
113
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
114
114
|
var fs = new InvalidFileSystem();
|
|
115
115
|
function getFileSystem() {
|
|
116
116
|
return fs;
|
|
@@ -167,7 +167,7 @@ function toRelativeImport(relativePath) {
|
|
|
167
167
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
// bazel-out/
|
|
170
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
171
171
|
import * as os from "os";
|
|
172
172
|
import ts from "typescript";
|
|
173
173
|
var NgtscCompilerHost = class {
|
|
@@ -225,7 +225,7 @@ var NgtscCompilerHost = class {
|
|
|
225
225
|
}
|
|
226
226
|
};
|
|
227
227
|
|
|
228
|
-
// bazel-out/
|
|
228
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
229
229
|
var LogicalProjectPath = {
|
|
230
230
|
relativePathBetween: function(from, to) {
|
|
231
231
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -271,7 +271,7 @@ function isWithinBasePath(base, path) {
|
|
|
271
271
|
return isLocalRelativePath(relative(base, path));
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
-
// bazel-out/
|
|
274
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
275
275
|
import fs2 from "fs";
|
|
276
276
|
import module from "module";
|
|
277
277
|
import * as p from "path";
|
|
@@ -407,4 +407,4 @@ export {
|
|
|
407
407
|
* Use of this source code is governed by an MIT-style license that can be
|
|
408
408
|
* found in the LICENSE file at https://angular.io/license
|
|
409
409
|
*/
|
|
410
|
-
//# sourceMappingURL=chunk-
|
|
410
|
+
//# sourceMappingURL=chunk-PCMLSPQF.js.map
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
NoopImportRewriter,
|
|
8
8
|
Reference,
|
|
9
9
|
assertSuccessfulReferenceEmit
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NGWY7NOB.js";
|
|
11
11
|
|
|
12
|
-
// bazel-out/
|
|
12
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
13
13
|
var Context = class {
|
|
14
14
|
constructor(isStatement) {
|
|
15
15
|
this.isStatement = isStatement;
|
|
@@ -22,7 +22,7 @@ var Context = class {
|
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
// bazel-out/
|
|
25
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
26
26
|
import * as o from "@angular/compiler";
|
|
27
27
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
28
28
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -257,7 +257,7 @@ function createRange(span) {
|
|
|
257
257
|
};
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
-
// bazel-out/
|
|
260
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
261
261
|
import ts from "typescript";
|
|
262
262
|
var ImportManager = class {
|
|
263
263
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -293,7 +293,7 @@ var ImportManager = class {
|
|
|
293
293
|
}
|
|
294
294
|
};
|
|
295
295
|
|
|
296
|
-
// bazel-out/
|
|
296
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
297
297
|
import * as o2 from "@angular/compiler";
|
|
298
298
|
import ts2 from "typescript";
|
|
299
299
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
@@ -513,7 +513,7 @@ var TypeTranslatorVisitor = class {
|
|
|
513
513
|
}
|
|
514
514
|
};
|
|
515
515
|
|
|
516
|
-
// bazel-out/
|
|
516
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
517
517
|
import ts3 from "typescript";
|
|
518
518
|
var PureAnnotation;
|
|
519
519
|
(function(PureAnnotation2) {
|
|
@@ -703,7 +703,7 @@ function attachComments(statement, leadingComments) {
|
|
|
703
703
|
}
|
|
704
704
|
}
|
|
705
705
|
|
|
706
|
-
// bazel-out/
|
|
706
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
707
707
|
function translateExpression(expression, imports, options = {}) {
|
|
708
708
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
709
709
|
}
|
|
@@ -726,4 +726,4 @@ export {
|
|
|
726
726
|
* Use of this source code is governed by an MIT-style license that can be
|
|
727
727
|
* found in the LICENSE file at https://angular.io/license
|
|
728
728
|
*/
|
|
729
|
-
//# sourceMappingURL=chunk-
|
|
729
|
+
//# sourceMappingURL=chunk-QJNBIBVG.js.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
|
|
2
|
+
import {createRequire as __cjsCompatRequire} from 'module';
|
|
3
|
+
const require = __cjsCompatRequire(import.meta.url);
|
|
4
|
+
|
|
5
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
6
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
7
|
+
}) : x)(function(x) {
|
|
8
|
+
if (typeof require !== "undefined")
|
|
9
|
+
return require.apply(this, arguments);
|
|
10
|
+
throw new Error('Dynamic require of "' + x + '" is not supported');
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
export {
|
|
14
|
+
__require
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=chunk-XI2RTGAL.js.map
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
import {
|
|
6
6
|
Context,
|
|
7
7
|
ExpressionTranslatorVisitor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QJNBIBVG.js";
|
|
9
9
|
import {
|
|
10
10
|
SourceFileLoader
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EKTJ7622.js";
|
|
12
12
|
|
|
13
|
-
// bazel-out/
|
|
13
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/fatal_linker_error.mjs
|
|
14
14
|
var FatalLinkerError = class extends Error {
|
|
15
15
|
constructor(node, message) {
|
|
16
16
|
super(message);
|
|
@@ -22,14 +22,14 @@ function isFatalLinkerError(e) {
|
|
|
22
22
|
return e && e.type === "FatalLinkerError";
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
// bazel-out/
|
|
25
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/ast/utils.mjs
|
|
26
26
|
function assert(node, predicate, expected) {
|
|
27
27
|
if (!predicate(node)) {
|
|
28
28
|
throw new FatalLinkerError(node, `Unsupported syntax, expected ${expected}.`);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
// bazel-out/
|
|
32
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/ast/ast_value.mjs
|
|
33
33
|
import * as o from "@angular/compiler";
|
|
34
34
|
var AstObject = class {
|
|
35
35
|
static parse(expression, host) {
|
|
@@ -155,10 +155,10 @@ var AstValue = class {
|
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
157
|
|
|
158
|
-
// bazel-out/
|
|
158
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
159
159
|
import { ConstantPool } from "@angular/compiler";
|
|
160
160
|
|
|
161
|
-
// bazel-out/
|
|
161
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/linker_import_generator.mjs
|
|
162
162
|
var LinkerImportGenerator = class {
|
|
163
163
|
constructor(ngImport) {
|
|
164
164
|
this.ngImport = ngImport;
|
|
@@ -178,7 +178,7 @@ var LinkerImportGenerator = class {
|
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
|
|
181
|
-
// bazel-out/
|
|
181
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
182
182
|
var EmitScope = class {
|
|
183
183
|
constructor(ngImport, translator, factory) {
|
|
184
184
|
this.ngImport = ngImport;
|
|
@@ -207,7 +207,7 @@ var EmitScope = class {
|
|
|
207
207
|
}
|
|
208
208
|
};
|
|
209
209
|
|
|
210
|
-
// bazel-out/
|
|
210
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/local_emit_scope.mjs
|
|
211
211
|
var LocalEmitScope = class extends EmitScope {
|
|
212
212
|
translateDefinition(definition) {
|
|
213
213
|
return super.translateDefinition({
|
|
@@ -220,10 +220,10 @@ var LocalEmitScope = class extends EmitScope {
|
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
222
|
|
|
223
|
-
// bazel-out/
|
|
223
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
224
224
|
import semver from "semver";
|
|
225
225
|
|
|
226
|
-
// bazel-out/
|
|
226
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/get_source_file.mjs
|
|
227
227
|
function createGetSourceFile(sourceUrl, code, loader) {
|
|
228
228
|
if (loader === null) {
|
|
229
229
|
return () => null;
|
|
@@ -238,7 +238,7 @@ function createGetSourceFile(sourceUrl, code, loader) {
|
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
// bazel-out/
|
|
241
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.mjs
|
|
242
242
|
import { compileClassMetadata } from "@angular/compiler";
|
|
243
243
|
var PartialClassMetadataLinkerVersion1 = class {
|
|
244
244
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -258,13 +258,13 @@ function toR3ClassMetadata(metaObj) {
|
|
|
258
258
|
};
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
// bazel-out/
|
|
261
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
262
262
|
import { ChangeDetectionStrategy, compileComponentFromMetadata, DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, makeBindingParser as makeBindingParser2, parseTemplate, R3TemplateDependencyKind, ViewEncapsulation } from "@angular/compiler";
|
|
263
263
|
|
|
264
|
-
// bazel-out/
|
|
264
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
265
265
|
import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSourceFile, ParseSourceSpan } from "@angular/compiler";
|
|
266
266
|
|
|
267
|
-
// bazel-out/
|
|
267
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
|
|
268
268
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
269
269
|
function wrapReference(wrapped) {
|
|
270
270
|
return { value: wrapped, type: wrapped };
|
|
@@ -312,7 +312,7 @@ function extractForwardRef(expr) {
|
|
|
312
312
|
return createMayBeForwardRefExpression(wrapperFn.getFunctionReturnValue().getOpaque(), 2);
|
|
313
313
|
}
|
|
314
314
|
|
|
315
|
-
// bazel-out/
|
|
315
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
316
316
|
var PartialDirectiveLinkerVersion1 = class {
|
|
317
317
|
constructor(sourceUrl, code) {
|
|
318
318
|
this.sourceUrl = sourceUrl;
|
|
@@ -442,7 +442,7 @@ function createSourceSpan(range, code, sourceUrl) {
|
|
|
442
442
|
return new ParseSourceSpan(startLocation, startLocation.moveBy(range.endPos - range.startPos));
|
|
443
443
|
}
|
|
444
444
|
|
|
445
|
-
// bazel-out/
|
|
445
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
446
446
|
function makeDirectiveMetadata(directiveExpr, typeExpr, isComponentByDefault = null) {
|
|
447
447
|
return {
|
|
448
448
|
kind: R3TemplateDependencyKind.Directive,
|
|
@@ -637,7 +637,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
|
|
|
637
637
|
return enumValue;
|
|
638
638
|
}
|
|
639
639
|
|
|
640
|
-
// bazel-out/
|
|
640
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
|
|
641
641
|
import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
|
|
642
642
|
var PartialFactoryLinkerVersion1 = class {
|
|
643
643
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -673,7 +673,7 @@ function getDependencies(metaObj, propName) {
|
|
|
673
673
|
return null;
|
|
674
674
|
}
|
|
675
675
|
|
|
676
|
-
// bazel-out/
|
|
676
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
|
|
677
677
|
import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
|
|
678
678
|
var PartialInjectableLinkerVersion1 = class {
|
|
679
679
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -711,7 +711,7 @@ function toR3InjectableMeta(metaObj) {
|
|
|
711
711
|
return meta;
|
|
712
712
|
}
|
|
713
713
|
|
|
714
|
-
// bazel-out/
|
|
714
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
|
|
715
715
|
import { compileInjector } from "@angular/compiler";
|
|
716
716
|
var PartialInjectorLinkerVersion1 = class {
|
|
717
717
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -733,7 +733,7 @@ function toR3InjectorMeta(metaObj) {
|
|
|
733
733
|
};
|
|
734
734
|
}
|
|
735
735
|
|
|
736
|
-
// bazel-out/
|
|
736
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
|
|
737
737
|
import { compileNgModule, R3NgModuleMetadataKind, R3SelectorScopeMode } from "@angular/compiler";
|
|
738
738
|
var PartialNgModuleLinkerVersion1 = class {
|
|
739
739
|
constructor(emitInline) {
|
|
@@ -805,7 +805,7 @@ function wrapReferences(values) {
|
|
|
805
805
|
return values.getArray().map((i) => wrapReference(i.getOpaque()));
|
|
806
806
|
}
|
|
807
807
|
|
|
808
|
-
// bazel-out/
|
|
808
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
|
|
809
809
|
import { compilePipeFromMetadata } from "@angular/compiler";
|
|
810
810
|
var PartialPipeLinkerVersion1 = class {
|
|
811
811
|
constructor() {
|
|
@@ -834,7 +834,7 @@ function toR3PipeMeta(metaObj) {
|
|
|
834
834
|
};
|
|
835
835
|
}
|
|
836
836
|
|
|
837
|
-
// bazel-out/
|
|
837
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
838
838
|
var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
|
|
839
839
|
var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
|
|
840
840
|
var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
|
|
@@ -855,7 +855,7 @@ var declarationFunctions = [
|
|
|
855
855
|
];
|
|
856
856
|
function createLinkerMap(environment, sourceUrl, code) {
|
|
857
857
|
const linkers = /* @__PURE__ */ new Map();
|
|
858
|
-
const LATEST_VERSION_RANGE = getRange("<=", "17.0.0-next.
|
|
858
|
+
const LATEST_VERSION_RANGE = getRange("<=", "17.0.0-next.1");
|
|
859
859
|
linkers.set(\u0275\u0275ngDeclareDirective, [
|
|
860
860
|
{ range: LATEST_VERSION_RANGE, linker: new PartialDirectiveLinkerVersion1(sourceUrl, code) }
|
|
861
861
|
]);
|
|
@@ -902,7 +902,7 @@ var PartialLinkerSelector = class {
|
|
|
902
902
|
throw new Error(`Unknown partial declaration function ${functionName}.`);
|
|
903
903
|
}
|
|
904
904
|
const linkerRanges = this.linkers.get(functionName);
|
|
905
|
-
if (version === "17.0.0-next.
|
|
905
|
+
if (version === "17.0.0-next.1") {
|
|
906
906
|
return linkerRanges[linkerRanges.length - 1].linker;
|
|
907
907
|
}
|
|
908
908
|
const declarationRange = getRange(">=", minVersion);
|
|
@@ -928,7 +928,7 @@ function getRange(comparator, versionStr) {
|
|
|
928
928
|
return new semver.Range(`${comparator}${version.format()}`);
|
|
929
929
|
}
|
|
930
930
|
|
|
931
|
-
// bazel-out/
|
|
931
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
|
|
932
932
|
var FileLinker = class {
|
|
933
933
|
constructor(linkerEnvironment, sourceUrl, code) {
|
|
934
934
|
this.linkerEnvironment = linkerEnvironment;
|
|
@@ -971,14 +971,14 @@ var FileLinker = class {
|
|
|
971
971
|
}
|
|
972
972
|
};
|
|
973
973
|
|
|
974
|
-
// bazel-out/
|
|
974
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
|
|
975
975
|
var DEFAULT_LINKER_OPTIONS = {
|
|
976
976
|
sourceMapping: true,
|
|
977
977
|
linkerJitMode: false,
|
|
978
978
|
unknownDeclarationVersionHandling: "error"
|
|
979
979
|
};
|
|
980
980
|
|
|
981
|
-
// bazel-out/
|
|
981
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
|
|
982
982
|
var Translator = class {
|
|
983
983
|
constructor(factory) {
|
|
984
984
|
this.factory = factory;
|
|
@@ -991,7 +991,7 @@ var Translator = class {
|
|
|
991
991
|
}
|
|
992
992
|
};
|
|
993
993
|
|
|
994
|
-
// bazel-out/
|
|
994
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
|
|
995
995
|
var LinkerEnvironment = class {
|
|
996
996
|
constructor(fileSystem, logger, host, factory, options) {
|
|
997
997
|
this.fileSystem = fileSystem;
|
|
@@ -1012,7 +1012,7 @@ var LinkerEnvironment = class {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
};
|
|
1014
1014
|
|
|
1015
|
-
// bazel-out/
|
|
1015
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
|
|
1016
1016
|
function needsLinking(path, source) {
|
|
1017
1017
|
return declarationFunctions.some((fn) => source.includes(fn));
|
|
1018
1018
|
}
|
|
@@ -1033,4 +1033,4 @@ export {
|
|
|
1033
1033
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1034
1034
|
* found in the LICENSE file at https://angular.io/license
|
|
1035
1035
|
*/
|
|
1036
|
-
//# sourceMappingURL=chunk-
|
|
1036
|
+
//# sourceMappingURL=chunk-Y4VOTDJT.js.map
|
package/bundles/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
GLOBAL_DEFS_FOR_TERSER,
|
|
7
7
|
GLOBAL_DEFS_FOR_TERSER_WITH_AOT,
|
|
8
8
|
constructorParametersDownlevelTransform
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OYEEKZWP.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_ERROR_CODE,
|
|
12
12
|
EmitFlags,
|
|
@@ -29,21 +29,21 @@ import {
|
|
|
29
29
|
performCompilation,
|
|
30
30
|
readConfiguration,
|
|
31
31
|
untagAllTsFiles
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ABAFIH3N.js";
|
|
33
33
|
import {
|
|
34
34
|
OptimizeFor
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-BOXNK2F2.js";
|
|
36
|
+
import "./chunk-JZC4T2RR.js";
|
|
37
|
+
import "./chunk-QJNBIBVG.js";
|
|
38
|
+
import "./chunk-NGWY7NOB.js";
|
|
39
39
|
import {
|
|
40
40
|
ActivePerfRecorder,
|
|
41
41
|
PerfPhase
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-7PCPPTTO.js";
|
|
43
43
|
import {
|
|
44
44
|
ConsoleLogger,
|
|
45
45
|
LogLevel
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-LYJKWJUC.js";
|
|
47
47
|
import {
|
|
48
48
|
LogicalFileSystem,
|
|
49
49
|
LogicalProjectPath,
|
|
@@ -64,14 +64,14 @@ import {
|
|
|
64
64
|
resolve,
|
|
65
65
|
setFileSystem,
|
|
66
66
|
toRelativeImport
|
|
67
|
-
} from "./chunk-
|
|
68
|
-
import "./chunk-
|
|
67
|
+
} from "./chunk-PCMLSPQF.js";
|
|
68
|
+
import "./chunk-XI2RTGAL.js";
|
|
69
69
|
|
|
70
|
-
// bazel-out/
|
|
70
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
71
71
|
import { Version } from "@angular/compiler";
|
|
72
|
-
var VERSION = new Version("17.0.0-next.
|
|
72
|
+
var VERSION = new Version("17.0.0-next.1");
|
|
73
73
|
|
|
74
|
-
// bazel-out/
|
|
74
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.mjs
|
|
75
75
|
var NgTscPlugin = class {
|
|
76
76
|
get compiler() {
|
|
77
77
|
if (this._compiler === null) {
|
|
@@ -148,7 +148,7 @@ var NgTscPlugin = class {
|
|
|
148
148
|
}
|
|
149
149
|
};
|
|
150
150
|
|
|
151
|
-
// bazel-out/
|
|
151
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
152
152
|
setFileSystem(new NodeJSFileSystem());
|
|
153
153
|
export {
|
|
154
154
|
ConsoleLogger,
|
|
@@ -8,23 +8,23 @@ import {
|
|
|
8
8
|
LinkerEnvironment,
|
|
9
9
|
assert,
|
|
10
10
|
isFatalLinkerError
|
|
11
|
-
} from "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
11
|
+
} from "../../chunk-Y4VOTDJT.js";
|
|
12
|
+
import "../../chunk-QJNBIBVG.js";
|
|
13
|
+
import "../../chunk-NGWY7NOB.js";
|
|
14
14
|
import {
|
|
15
15
|
ConsoleLogger,
|
|
16
16
|
LogLevel
|
|
17
|
-
} from "../../chunk-
|
|
18
|
-
import "../../chunk-
|
|
17
|
+
} from "../../chunk-LYJKWJUC.js";
|
|
18
|
+
import "../../chunk-EKTJ7622.js";
|
|
19
19
|
import {
|
|
20
20
|
NodeJSFileSystem
|
|
21
|
-
} from "../../chunk-
|
|
22
|
-
import "../../chunk-
|
|
21
|
+
} from "../../chunk-PCMLSPQF.js";
|
|
22
|
+
import "../../chunk-XI2RTGAL.js";
|
|
23
23
|
|
|
24
|
-
// bazel-out/
|
|
24
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/es2015_linker_plugin.mjs
|
|
25
25
|
import { types as t4 } from "@babel/core";
|
|
26
26
|
|
|
27
|
-
// bazel-out/
|
|
27
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/ast/babel_ast_factory.mjs
|
|
28
28
|
import { types as t } from "@babel/core";
|
|
29
29
|
var BabelAstFactory = class {
|
|
30
30
|
constructor(sourceUrl) {
|
|
@@ -141,7 +141,7 @@ function isLExpression(expr) {
|
|
|
141
141
|
return t.isLVal(expr);
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
// bazel-out/
|
|
144
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/ast/babel_ast_host.mjs
|
|
145
145
|
import { types as t2 } from "@babel/core";
|
|
146
146
|
var BabelAstHost = class {
|
|
147
147
|
constructor() {
|
|
@@ -259,7 +259,7 @@ function isMinifiedBooleanLiteral(node) {
|
|
|
259
259
|
return t2.isUnaryExpression(node) && node.prefix && node.operator === "!" && t2.isNumericLiteral(node.argument) && (node.argument.value === 0 || node.argument.value === 1);
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
// bazel-out/
|
|
262
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_declaration_scope.mjs
|
|
263
263
|
import { types as t3 } from "@babel/core";
|
|
264
264
|
var BabelDeclarationScope = class {
|
|
265
265
|
constructor(declarationScope) {
|
|
@@ -285,7 +285,7 @@ var BabelDeclarationScope = class {
|
|
|
285
285
|
}
|
|
286
286
|
};
|
|
287
287
|
|
|
288
|
-
// bazel-out/
|
|
288
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/es2015_linker_plugin.mjs
|
|
289
289
|
function createEs2015LinkerPlugin({ fileSystem, logger, ...options }) {
|
|
290
290
|
let fileLinker = null;
|
|
291
291
|
return {
|
|
@@ -386,7 +386,7 @@ function buildCodeFrameError(file, message, node) {
|
|
|
386
386
|
return `${filename}: ${error.message}`;
|
|
387
387
|
}
|
|
388
388
|
|
|
389
|
-
// bazel-out/
|
|
389
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_plugin.mjs
|
|
390
390
|
function defaultLinkerPlugin(api, options) {
|
|
391
391
|
api.assertVersion(7);
|
|
392
392
|
return createEs2015LinkerPlugin({
|
|
@@ -396,7 +396,7 @@ function defaultLinkerPlugin(api, options) {
|
|
|
396
396
|
});
|
|
397
397
|
}
|
|
398
398
|
|
|
399
|
-
// bazel-out/
|
|
399
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/index.mjs
|
|
400
400
|
var babel_default = defaultLinkerPlugin;
|
|
401
401
|
export {
|
|
402
402
|
createEs2015LinkerPlugin,
|
package/bundles/linker/index.js
CHANGED
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
assert,
|
|
11
11
|
isFatalLinkerError,
|
|
12
12
|
needsLinking
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
13
|
+
} from "../chunk-Y4VOTDJT.js";
|
|
14
|
+
import "../chunk-QJNBIBVG.js";
|
|
15
|
+
import "../chunk-NGWY7NOB.js";
|
|
16
|
+
import "../chunk-EKTJ7622.js";
|
|
17
|
+
import "../chunk-PCMLSPQF.js";
|
|
18
|
+
import "../chunk-XI2RTGAL.js";
|
|
19
19
|
export {
|
|
20
20
|
DEFAULT_LINKER_OPTIONS,
|
|
21
21
|
FatalLinkerError,
|
package/bundles/ngcc/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
const require = __cjsCompatRequire(import.meta.url);
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
// bazel-out/
|
|
7
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/index.mjs
|
|
8
8
|
function stringEncaseCRLFWithFirstIndex(value, prefix, postfix, index) {
|
|
9
9
|
let endIndex = 0;
|
|
10
10
|
let returnValue = "";
|
package/bundles/private/bazel.js
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
import {
|
|
6
6
|
ConsoleLogger,
|
|
7
7
|
LogLevel
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-LYJKWJUC.js";
|
|
9
9
|
import {
|
|
10
10
|
SourceFile,
|
|
11
11
|
SourceFileLoader
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-EKTJ7622.js";
|
|
13
13
|
import {
|
|
14
14
|
LogicalFileSystem,
|
|
15
15
|
LogicalProjectPath,
|
|
@@ -30,8 +30,8 @@ import {
|
|
|
30
30
|
resolve,
|
|
31
31
|
setFileSystem,
|
|
32
32
|
toRelativeImport
|
|
33
|
-
} from "../chunk-
|
|
34
|
-
import "../chunk-
|
|
33
|
+
} from "../chunk-PCMLSPQF.js";
|
|
34
|
+
import "../chunk-XI2RTGAL.js";
|
|
35
35
|
export {
|
|
36
36
|
ConsoleLogger,
|
|
37
37
|
LogLevel,
|
|
@@ -9,17 +9,17 @@ import {
|
|
|
9
9
|
PotentialImportMode,
|
|
10
10
|
StaticInterpreter,
|
|
11
11
|
forwardRefResolver
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-BOXNK2F2.js";
|
|
13
|
+
import "../chunk-JZC4T2RR.js";
|
|
14
|
+
import "../chunk-QJNBIBVG.js";
|
|
15
15
|
import {
|
|
16
16
|
Reference,
|
|
17
17
|
TypeScriptReflectionHost,
|
|
18
18
|
reflectObjectLiteral
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-NGWY7NOB.js";
|
|
20
|
+
import "../chunk-7PCPPTTO.js";
|
|
21
|
+
import "../chunk-PCMLSPQF.js";
|
|
22
|
+
import "../chunk-XI2RTGAL.js";
|
|
23
23
|
export {
|
|
24
24
|
DynamicValue,
|
|
25
25
|
PartialEvaluator,
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
GLOBAL_DEFS_FOR_TERSER,
|
|
7
7
|
GLOBAL_DEFS_FOR_TERSER_WITH_AOT,
|
|
8
8
|
constructorParametersDownlevelTransform
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-OYEEKZWP.js";
|
|
10
|
+
import "../chunk-JZC4T2RR.js";
|
|
11
|
+
import "../chunk-NGWY7NOB.js";
|
|
12
|
+
import "../chunk-PCMLSPQF.js";
|
|
13
|
+
import "../chunk-XI2RTGAL.js";
|
|
14
14
|
export {
|
|
15
15
|
GLOBAL_DEFS_FOR_TERSER,
|
|
16
16
|
GLOBAL_DEFS_FOR_TERSER_WITH_AOT,
|