@angular/core 16.1.3 → 16.1.5
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/esm2022/rxjs-interop/src/take_until_destroyed.mjs +3 -3
- package/esm2022/rxjs-interop/src/to_observable.mjs +1 -1
- package/esm2022/rxjs-interop/src/to_signal.mjs +1 -1
- package/esm2022/src/di/contextual.mjs +10 -7
- package/esm2022/src/di/injection_token.mjs +2 -2
- package/esm2022/src/di/injector_compatibility.mjs +4 -3
- package/esm2022/src/di/interface/defs.mjs +3 -2
- package/esm2022/src/di/interface/injector.mjs +2 -2
- package/esm2022/src/di/provider_collection.mjs +2 -2
- package/esm2022/src/di/r3_injector.mjs +1 -1
- package/esm2022/src/errors.mjs +1 -1
- package/esm2022/src/linker/template_ref.mjs +1 -1
- package/esm2022/src/render3/assert.mjs +8 -3
- package/esm2022/src/render3/features/standalone_feature.mjs +4 -4
- package/esm2022/src/render3/pipe.mjs +26 -2
- package/esm2022/src/render3/reactivity/effect.mjs +1 -1
- package/esm2022/src/signals/src/graph.mjs +7 -3
- package/esm2022/src/util/raf.mjs +20 -5
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/src/zone/ng_zone.mjs +10 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +87 -25
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +9 -5
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +59 -21
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +33 -18
- package/package.json +1 -1
- package/rxjs-interop/index.d.ts +15 -12
- package/schematics/migrations/guard-and-resolve-interfaces/bundle.js +13 -13
- package/schematics/migrations/remove-module-id/bundle.js +14 -14
- package/schematics/ng-generate/standalone-migration/bundle.js +463 -414
- package/schematics/ng-generate/standalone-migration/bundle.js.map +3 -3
- package/testing/index.d.ts +1 -1
|
@@ -63,7 +63,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
63
63
|
});
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
-
// bazel-out/
|
|
66
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
67
67
|
var standalone_migration_exports = {};
|
|
68
68
|
__export(standalone_migration_exports, {
|
|
69
69
|
default: () => standalone_migration_default
|
|
@@ -71,10 +71,10 @@ __export(standalone_migration_exports, {
|
|
|
71
71
|
module.exports = __toCommonJS(standalone_migration_exports);
|
|
72
72
|
var import_schematics = require("@angular-devkit/schematics");
|
|
73
73
|
|
|
74
|
-
// bazel-out/
|
|
74
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
75
75
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
76
76
|
|
|
77
|
-
// bazel-out/
|
|
77
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
78
78
|
var InvalidFileSystem = class {
|
|
79
79
|
exists(path3) {
|
|
80
80
|
throw makeError();
|
|
@@ -162,7 +162,7 @@ function makeError() {
|
|
|
162
162
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
// bazel-out/
|
|
165
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
166
166
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
167
167
|
function stripExtension(path3) {
|
|
168
168
|
return path3.replace(TS_DTS_JS_EXTENSION, "");
|
|
@@ -175,7 +175,7 @@ function getSourceFileOrError(program, fileName) {
|
|
|
175
175
|
return sf;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
// bazel-out/
|
|
178
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
179
179
|
var fs = new InvalidFileSystem();
|
|
180
180
|
function getFileSystem() {
|
|
181
181
|
return fs;
|
|
@@ -219,7 +219,7 @@ function toRelativeImport(relativePath) {
|
|
|
219
219
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
// bazel-out/
|
|
222
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
223
223
|
var LogicalProjectPath = {
|
|
224
224
|
relativePathBetween: function(from, to) {
|
|
225
225
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -265,7 +265,7 @@ function isWithinBasePath(base, path3) {
|
|
|
265
265
|
return isLocalRelativePath(relative(base, path3));
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
// bazel-out/
|
|
268
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
269
269
|
var import_fs = __toESM(require("fs"), 1);
|
|
270
270
|
var import_module = __toESM(require("module"), 1);
|
|
271
271
|
var p = __toESM(require("path"), 1);
|
|
@@ -373,7 +373,7 @@ function toggleCase(str) {
|
|
|
373
373
|
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
374
374
|
}
|
|
375
375
|
|
|
376
|
-
// bazel-out/
|
|
376
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/selector.mjs
|
|
377
377
|
var _SELECTOR_REGEXP = new RegExp(
|
|
378
378
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
379
379
|
"g"
|
|
@@ -681,7 +681,7 @@ var SelectorContext = class {
|
|
|
681
681
|
}
|
|
682
682
|
};
|
|
683
683
|
|
|
684
|
-
// bazel-out/
|
|
684
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/core.mjs
|
|
685
685
|
var emitDistinctChangesOnlyDefaultValue = true;
|
|
686
686
|
var ViewEncapsulation;
|
|
687
687
|
(function(ViewEncapsulation2) {
|
|
@@ -744,7 +744,7 @@ function parseSelectorToR3Selector(selector) {
|
|
|
744
744
|
return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
|
|
745
745
|
}
|
|
746
746
|
|
|
747
|
-
// bazel-out/
|
|
747
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
748
748
|
var output_ast_exports = {};
|
|
749
749
|
__export(output_ast_exports, {
|
|
750
750
|
ArrayType: () => ArrayType,
|
|
@@ -829,7 +829,7 @@ __export(output_ast_exports, {
|
|
|
829
829
|
variable: () => variable
|
|
830
830
|
});
|
|
831
831
|
|
|
832
|
-
// bazel-out/
|
|
832
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/big_integer.mjs
|
|
833
833
|
var BigInteger = class {
|
|
834
834
|
static zero() {
|
|
835
835
|
return new BigInteger([0]);
|
|
@@ -921,7 +921,7 @@ var BigIntExponentiation = class {
|
|
|
921
921
|
}
|
|
922
922
|
};
|
|
923
923
|
|
|
924
|
-
// bazel-out/
|
|
924
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
|
|
925
925
|
var textEncoder;
|
|
926
926
|
function digest(message) {
|
|
927
927
|
return message.id || computeDigest(message);
|
|
@@ -1184,7 +1184,7 @@ function wordsToDecimalString(hi, lo) {
|
|
|
1184
1184
|
return decimal.toString();
|
|
1185
1185
|
}
|
|
1186
1186
|
|
|
1187
|
-
// bazel-out/
|
|
1187
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
1188
1188
|
var TypeModifier;
|
|
1189
1189
|
(function(TypeModifier2) {
|
|
1190
1190
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -2226,7 +2226,7 @@ function serializeTags(tags) {
|
|
|
2226
2226
|
return out;
|
|
2227
2227
|
}
|
|
2228
2228
|
|
|
2229
|
-
// bazel-out/
|
|
2229
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
2230
2230
|
var CONSTANT_PREFIX = "_c";
|
|
2231
2231
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
2232
2232
|
var KEY_CONTEXT = {};
|
|
@@ -2391,7 +2391,7 @@ function isLongStringLiteral(expr) {
|
|
|
2391
2391
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
2392
2392
|
}
|
|
2393
2393
|
|
|
2394
|
-
// bazel-out/
|
|
2394
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
2395
2395
|
var CORE = "@angular/core";
|
|
2396
2396
|
var _Identifiers = class {
|
|
2397
2397
|
};
|
|
@@ -2949,7 +2949,7 @@ var Identifiers = _Identifiers;
|
|
|
2949
2949
|
_Identifiers.validateIframeAttribute = { name: "\u0275\u0275validateIframeAttribute", moduleName: CORE };
|
|
2950
2950
|
})();
|
|
2951
2951
|
|
|
2952
|
-
// bazel-out/
|
|
2952
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/util.mjs
|
|
2953
2953
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
2954
2954
|
function dashCaseToCamelCase(input) {
|
|
2955
2955
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -3037,7 +3037,7 @@ function partitionArray(arr, conditionFn) {
|
|
|
3037
3037
|
return [truthy, falsy];
|
|
3038
3038
|
}
|
|
3039
3039
|
|
|
3040
|
-
// bazel-out/
|
|
3040
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
3041
3041
|
var VERSION = 3;
|
|
3042
3042
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
3043
3043
|
var SourceMapGenerator = class {
|
|
@@ -3166,7 +3166,7 @@ function toBase64Digit(value) {
|
|
|
3166
3166
|
return B64_DIGITS[value];
|
|
3167
3167
|
}
|
|
3168
3168
|
|
|
3169
|
-
// bazel-out/
|
|
3169
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
3170
3170
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
3171
3171
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
3172
3172
|
var _INDENT_WITH = " ";
|
|
@@ -3641,7 +3641,7 @@ function _createIndent(count) {
|
|
|
3641
3641
|
return res;
|
|
3642
3642
|
}
|
|
3643
3643
|
|
|
3644
|
-
// bazel-out/
|
|
3644
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
3645
3645
|
function typeWithParameters(type, numParams) {
|
|
3646
3646
|
if (numParams === 0) {
|
|
3647
3647
|
return expressionType(type);
|
|
@@ -3709,7 +3709,7 @@ function generateForwardRef(expr) {
|
|
|
3709
3709
|
return importExpr(Identifiers.forwardRef).callFn([fn([], [new ReturnStatement(expr)])]);
|
|
3710
3710
|
}
|
|
3711
3711
|
|
|
3712
|
-
// bazel-out/
|
|
3712
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
3713
3713
|
var R3FactoryDelegateType;
|
|
3714
3714
|
(function(R3FactoryDelegateType2) {
|
|
3715
3715
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -3854,7 +3854,7 @@ function getInjectFn(target) {
|
|
|
3854
3854
|
}
|
|
3855
3855
|
}
|
|
3856
3856
|
|
|
3857
|
-
// bazel-out/
|
|
3857
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
3858
3858
|
var Comment = class {
|
|
3859
3859
|
constructor(value, sourceSpan) {
|
|
3860
3860
|
this.value = value;
|
|
@@ -4076,7 +4076,7 @@ function visitAll(visitor, nodes) {
|
|
|
4076
4076
|
return result;
|
|
4077
4077
|
}
|
|
4078
4078
|
|
|
4079
|
-
// bazel-out/
|
|
4079
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
4080
4080
|
var Message = class {
|
|
4081
4081
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
4082
4082
|
this.nodes = nodes;
|
|
@@ -4239,7 +4239,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
4239
4239
|
}
|
|
4240
4240
|
};
|
|
4241
4241
|
|
|
4242
|
-
// bazel-out/
|
|
4242
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
|
|
4243
4243
|
var Serializer = class {
|
|
4244
4244
|
createNameMapper(message) {
|
|
4245
4245
|
return null;
|
|
@@ -4291,7 +4291,7 @@ var SimplePlaceholderMapper = class extends RecurseVisitor {
|
|
|
4291
4291
|
}
|
|
4292
4292
|
};
|
|
4293
4293
|
|
|
4294
|
-
// bazel-out/
|
|
4294
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
4295
4295
|
var _Visitor = class {
|
|
4296
4296
|
visitTag(tag) {
|
|
4297
4297
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -4379,7 +4379,7 @@ function escapeXml(text2) {
|
|
|
4379
4379
|
return _ESCAPED_CHARS.reduce((text3, entry) => text3.replace(entry[0], entry[1]), text2);
|
|
4380
4380
|
}
|
|
4381
4381
|
|
|
4382
|
-
// bazel-out/
|
|
4382
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
4383
4383
|
var _MESSAGES_TAG = "messagebundle";
|
|
4384
4384
|
var _MESSAGE_TAG = "msg";
|
|
4385
4385
|
var _PLACEHOLDER_TAG = "ph";
|
|
@@ -4522,7 +4522,7 @@ function toPublicName(internalName) {
|
|
|
4522
4522
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
4523
4523
|
}
|
|
4524
4524
|
|
|
4525
|
-
// bazel-out/
|
|
4525
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
4526
4526
|
var CLOSURE_TRANSLATION_VAR_PREFIX = "MSG_";
|
|
4527
4527
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
4528
4528
|
var I18N_ATTR = "i18n";
|
|
@@ -4624,7 +4624,7 @@ function declareI18nVariable(variable2) {
|
|
|
4624
4624
|
return new DeclareVarStmt(variable2.name, void 0, INFERRED_TYPE, void 0, variable2.sourceSpan);
|
|
4625
4625
|
}
|
|
4626
4626
|
|
|
4627
|
-
// bazel-out/
|
|
4627
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
4628
4628
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
4629
4629
|
var TEMPORARY_NAME = "_t";
|
|
4630
4630
|
var CONTEXT_NAME = "ctx";
|
|
@@ -4840,7 +4840,7 @@ function getInstructionStatements(instructions) {
|
|
|
4840
4840
|
return statements;
|
|
4841
4841
|
}
|
|
4842
4842
|
|
|
4843
|
-
// bazel-out/
|
|
4843
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
4844
4844
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
4845
4845
|
let result = null;
|
|
4846
4846
|
const factoryMeta = {
|
|
@@ -4928,7 +4928,7 @@ function createFactoryFunction(type) {
|
|
|
4928
4928
|
return fn([new FnParam("t", DYNAMIC_TYPE)], [new ReturnStatement(type.prop("\u0275fac").callFn([variable("t")]))]);
|
|
4929
4929
|
}
|
|
4930
4930
|
|
|
4931
|
-
// bazel-out/
|
|
4931
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
4932
4932
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
4933
4933
|
/^\s*$/,
|
|
4934
4934
|
/[<>]/,
|
|
@@ -4950,7 +4950,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
4950
4950
|
}
|
|
4951
4951
|
}
|
|
4952
4952
|
|
|
4953
|
-
// bazel-out/
|
|
4953
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/interpolation_config.mjs
|
|
4954
4954
|
var InterpolationConfig = class {
|
|
4955
4955
|
static fromArray(markers) {
|
|
4956
4956
|
if (!markers) {
|
|
@@ -4966,7 +4966,7 @@ var InterpolationConfig = class {
|
|
|
4966
4966
|
};
|
|
4967
4967
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
4968
4968
|
|
|
4969
|
-
// bazel-out/
|
|
4969
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
4970
4970
|
var $EOF = 0;
|
|
4971
4971
|
var $BSPACE = 8;
|
|
4972
4972
|
var $TAB = 9;
|
|
@@ -5047,7 +5047,7 @@ function isQuote(code) {
|
|
|
5047
5047
|
return code === $SQ || code === $DQ || code === $BT;
|
|
5048
5048
|
}
|
|
5049
5049
|
|
|
5050
|
-
// bazel-out/
|
|
5050
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
5051
5051
|
var ParseLocation = class {
|
|
5052
5052
|
constructor(file, offset, line, col) {
|
|
5053
5053
|
this.file = file;
|
|
@@ -5194,7 +5194,7 @@ function sanitizeIdentifier(name) {
|
|
|
5194
5194
|
return name.replace(/\W/g, "_");
|
|
5195
5195
|
}
|
|
5196
5196
|
|
|
5197
|
-
// bazel-out/
|
|
5197
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
5198
5198
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
5199
5199
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
5200
5200
|
constructor() {
|
|
@@ -5265,7 +5265,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
5265
5265
|
}
|
|
5266
5266
|
};
|
|
5267
5267
|
|
|
5268
|
-
// bazel-out/
|
|
5268
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
5269
5269
|
var policy;
|
|
5270
5270
|
function getPolicy() {
|
|
5271
5271
|
if (policy === void 0) {
|
|
@@ -5302,7 +5302,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
5302
5302
|
return fn2.bind(_global);
|
|
5303
5303
|
}
|
|
5304
5304
|
|
|
5305
|
-
// bazel-out/
|
|
5305
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
5306
5306
|
var JitEvaluator = class {
|
|
5307
5307
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
5308
5308
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -5393,7 +5393,7 @@ function isUseStrictStatement(statement) {
|
|
|
5393
5393
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
5394
5394
|
}
|
|
5395
5395
|
|
|
5396
|
-
// bazel-out/
|
|
5396
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
5397
5397
|
function compileInjector(meta) {
|
|
5398
5398
|
const definitionMap = new DefinitionMap();
|
|
5399
5399
|
if (meta.providers !== null) {
|
|
@@ -5410,7 +5410,7 @@ function createInjectorType(meta) {
|
|
|
5410
5410
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
5411
5411
|
}
|
|
5412
5412
|
|
|
5413
|
-
// bazel-out/
|
|
5413
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
5414
5414
|
var R3JitReflector = class {
|
|
5415
5415
|
constructor(context) {
|
|
5416
5416
|
this.context = context;
|
|
@@ -5426,44 +5426,54 @@ var R3JitReflector = class {
|
|
|
5426
5426
|
}
|
|
5427
5427
|
};
|
|
5428
5428
|
|
|
5429
|
-
// bazel-out/
|
|
5429
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
5430
5430
|
var R3SelectorScopeMode;
|
|
5431
5431
|
(function(R3SelectorScopeMode2) {
|
|
5432
5432
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
5433
5433
|
R3SelectorScopeMode2[R3SelectorScopeMode2["SideEffect"] = 1] = "SideEffect";
|
|
5434
5434
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Omit"] = 2] = "Omit";
|
|
5435
5435
|
})(R3SelectorScopeMode || (R3SelectorScopeMode = {}));
|
|
5436
|
+
var R3NgModuleMetadataKind;
|
|
5437
|
+
(function(R3NgModuleMetadataKind2) {
|
|
5438
|
+
R3NgModuleMetadataKind2[R3NgModuleMetadataKind2["Global"] = 0] = "Global";
|
|
5439
|
+
R3NgModuleMetadataKind2[R3NgModuleMetadataKind2["Local"] = 1] = "Local";
|
|
5440
|
+
})(R3NgModuleMetadataKind || (R3NgModuleMetadataKind = {}));
|
|
5436
5441
|
function compileNgModule(meta) {
|
|
5437
|
-
const { type: moduleType, bootstrap, declarations, imports, exports, schemas, containsForwardDecls, selectorScopeMode, id } = meta;
|
|
5438
5442
|
const statements = [];
|
|
5439
5443
|
const definitionMap = new DefinitionMap();
|
|
5440
|
-
definitionMap.set("type",
|
|
5441
|
-
if (
|
|
5442
|
-
|
|
5444
|
+
definitionMap.set("type", meta.type.value);
|
|
5445
|
+
if (meta.kind === R3NgModuleMetadataKind.Global) {
|
|
5446
|
+
if (meta.bootstrap.length > 0) {
|
|
5447
|
+
definitionMap.set("bootstrap", refsToArray(meta.bootstrap, meta.containsForwardDecls));
|
|
5448
|
+
}
|
|
5449
|
+
} else {
|
|
5450
|
+
if (meta.bootstrapExpression) {
|
|
5451
|
+
definitionMap.set("bootstrap", meta.bootstrapExpression);
|
|
5452
|
+
}
|
|
5443
5453
|
}
|
|
5444
|
-
if (selectorScopeMode === R3SelectorScopeMode.Inline) {
|
|
5445
|
-
if (declarations.length > 0) {
|
|
5446
|
-
definitionMap.set("declarations", refsToArray(declarations, containsForwardDecls));
|
|
5454
|
+
if (meta.selectorScopeMode === R3SelectorScopeMode.Inline) {
|
|
5455
|
+
if (meta.declarations.length > 0) {
|
|
5456
|
+
definitionMap.set("declarations", refsToArray(meta.declarations, meta.containsForwardDecls));
|
|
5447
5457
|
}
|
|
5448
|
-
if (imports.length > 0) {
|
|
5449
|
-
definitionMap.set("imports", refsToArray(imports, containsForwardDecls));
|
|
5458
|
+
if (meta.imports.length > 0) {
|
|
5459
|
+
definitionMap.set("imports", refsToArray(meta.imports, meta.containsForwardDecls));
|
|
5450
5460
|
}
|
|
5451
|
-
if (exports.length > 0) {
|
|
5452
|
-
definitionMap.set("exports", refsToArray(exports, containsForwardDecls));
|
|
5461
|
+
if (meta.exports.length > 0) {
|
|
5462
|
+
definitionMap.set("exports", refsToArray(meta.exports, meta.containsForwardDecls));
|
|
5453
5463
|
}
|
|
5454
|
-
} else if (selectorScopeMode === R3SelectorScopeMode.SideEffect) {
|
|
5464
|
+
} else if (meta.selectorScopeMode === R3SelectorScopeMode.SideEffect) {
|
|
5455
5465
|
const setNgModuleScopeCall = generateSetNgModuleScopeCall(meta);
|
|
5456
5466
|
if (setNgModuleScopeCall !== null) {
|
|
5457
5467
|
statements.push(setNgModuleScopeCall);
|
|
5458
5468
|
}
|
|
5459
5469
|
} else {
|
|
5460
5470
|
}
|
|
5461
|
-
if (schemas !== null && schemas.length > 0) {
|
|
5462
|
-
definitionMap.set("schemas", literalArr(schemas.map((ref) => ref.value)));
|
|
5471
|
+
if (meta.schemas !== null && meta.schemas.length > 0) {
|
|
5472
|
+
definitionMap.set("schemas", literalArr(meta.schemas.map((ref) => ref.value)));
|
|
5463
5473
|
}
|
|
5464
|
-
if (id !== null) {
|
|
5465
|
-
definitionMap.set("id", id);
|
|
5466
|
-
statements.push(importExpr(Identifiers.registerNgModuleType).callFn([
|
|
5474
|
+
if (meta.id !== null) {
|
|
5475
|
+
definitionMap.set("id", meta.id);
|
|
5476
|
+
statements.push(importExpr(Identifiers.registerNgModuleType).callFn([meta.type.value, meta.id]).toStmt());
|
|
5467
5477
|
}
|
|
5468
5478
|
const expression = importExpr(Identifiers.defineNgModule).callFn([definitionMap.toLiteralMap()], void 0, true);
|
|
5469
5479
|
const type = createNgModuleType(meta);
|
|
@@ -5492,7 +5502,11 @@ function compileNgModuleDeclarationExpression(meta) {
|
|
|
5492
5502
|
}
|
|
5493
5503
|
return importExpr(Identifiers.defineNgModule).callFn([definitionMap.toLiteralMap()]);
|
|
5494
5504
|
}
|
|
5495
|
-
function createNgModuleType(
|
|
5505
|
+
function createNgModuleType(meta) {
|
|
5506
|
+
if (meta.kind === R3NgModuleMetadataKind.Local) {
|
|
5507
|
+
return new ExpressionType(meta.type.value);
|
|
5508
|
+
}
|
|
5509
|
+
const { type: moduleType, declarations, exports, imports, includeImportTypes, publicDeclarationTypes } = meta;
|
|
5496
5510
|
return new ExpressionType(importExpr(Identifiers.NgModuleDeclaration, [
|
|
5497
5511
|
new ExpressionType(moduleType.type),
|
|
5498
5512
|
publicDeclarationTypes === null ? tupleTypeOf(declarations) : tupleOfTypes(publicDeclarationTypes),
|
|
@@ -5501,23 +5515,40 @@ function createNgModuleType({ type: moduleType, declarations, exports, imports,
|
|
|
5501
5515
|
]));
|
|
5502
5516
|
}
|
|
5503
5517
|
function generateSetNgModuleScopeCall(meta) {
|
|
5504
|
-
const { type: moduleType, declarations, imports, exports, containsForwardDecls } = meta;
|
|
5505
5518
|
const scopeMap = new DefinitionMap();
|
|
5506
|
-
if (
|
|
5507
|
-
|
|
5519
|
+
if (meta.kind === R3NgModuleMetadataKind.Global) {
|
|
5520
|
+
if (meta.declarations.length > 0) {
|
|
5521
|
+
scopeMap.set("declarations", refsToArray(meta.declarations, meta.containsForwardDecls));
|
|
5522
|
+
}
|
|
5523
|
+
} else {
|
|
5524
|
+
if (meta.declarationsExpression) {
|
|
5525
|
+
scopeMap.set("declarations", meta.declarationsExpression);
|
|
5526
|
+
}
|
|
5508
5527
|
}
|
|
5509
|
-
if (
|
|
5510
|
-
|
|
5528
|
+
if (meta.kind === R3NgModuleMetadataKind.Global) {
|
|
5529
|
+
if (meta.imports.length > 0) {
|
|
5530
|
+
scopeMap.set("imports", refsToArray(meta.imports, meta.containsForwardDecls));
|
|
5531
|
+
}
|
|
5532
|
+
} else {
|
|
5533
|
+
if (meta.importsExpression) {
|
|
5534
|
+
scopeMap.set("imports", meta.importsExpression);
|
|
5535
|
+
}
|
|
5511
5536
|
}
|
|
5512
|
-
if (
|
|
5513
|
-
|
|
5537
|
+
if (meta.kind === R3NgModuleMetadataKind.Global) {
|
|
5538
|
+
if (meta.exports.length > 0) {
|
|
5539
|
+
scopeMap.set("exports", refsToArray(meta.exports, meta.containsForwardDecls));
|
|
5540
|
+
}
|
|
5541
|
+
} else {
|
|
5542
|
+
if (meta.exportsExpression) {
|
|
5543
|
+
scopeMap.set("exports", meta.exportsExpression);
|
|
5544
|
+
}
|
|
5514
5545
|
}
|
|
5515
5546
|
if (Object.keys(scopeMap.values).length === 0) {
|
|
5516
5547
|
return null;
|
|
5517
5548
|
}
|
|
5518
5549
|
const fnCall = new InvokeFunctionExpr(
|
|
5519
5550
|
importExpr(Identifiers.setNgModuleScope),
|
|
5520
|
-
[
|
|
5551
|
+
[meta.type.value, scopeMap.toLiteralMap()]
|
|
5521
5552
|
);
|
|
5522
5553
|
const guardedCall = jitOnlyGuardedExpression(fnCall);
|
|
5523
5554
|
const iife = new FunctionExpr(
|
|
@@ -5539,7 +5570,7 @@ function tupleOfTypes(types) {
|
|
|
5539
5570
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
5540
5571
|
}
|
|
5541
5572
|
|
|
5542
|
-
// bazel-out/
|
|
5573
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
5543
5574
|
function compilePipeFromMetadata(metadata) {
|
|
5544
5575
|
const definitionMapValues = [];
|
|
5545
5576
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -5560,7 +5591,7 @@ function createPipeType(metadata) {
|
|
|
5560
5591
|
]));
|
|
5561
5592
|
}
|
|
5562
5593
|
|
|
5563
|
-
// bazel-out/
|
|
5594
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
5564
5595
|
var R3TemplateDependencyKind;
|
|
5565
5596
|
(function(R3TemplateDependencyKind2) {
|
|
5566
5597
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -5568,7 +5599,7 @@ var R3TemplateDependencyKind;
|
|
|
5568
5599
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
5569
5600
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
5570
5601
|
|
|
5571
|
-
// bazel-out/
|
|
5602
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
5572
5603
|
var ParserError = class {
|
|
5573
5604
|
constructor(message, input, errLocation, ctxLocation) {
|
|
5574
5605
|
this.input = input;
|
|
@@ -6234,7 +6265,7 @@ var BoundElementProperty = class {
|
|
|
6234
6265
|
}
|
|
6235
6266
|
};
|
|
6236
6267
|
|
|
6237
|
-
// bazel-out/
|
|
6268
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
|
|
6238
6269
|
var _EventHandlerVars = class {
|
|
6239
6270
|
};
|
|
6240
6271
|
var EventHandlerVars = _EventHandlerVars;
|
|
@@ -6855,7 +6886,7 @@ var BuiltinFunctionCall = class extends Call {
|
|
|
6855
6886
|
}
|
|
6856
6887
|
};
|
|
6857
6888
|
|
|
6858
|
-
// bazel-out/
|
|
6889
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
6859
6890
|
var _SECURITY_SCHEMA;
|
|
6860
6891
|
function SECURITY_SCHEMA() {
|
|
6861
6892
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -6913,7 +6944,7 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
6913
6944
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
6914
6945
|
}
|
|
6915
6946
|
|
|
6916
|
-
// bazel-out/
|
|
6947
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
6917
6948
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
6918
6949
|
"inherit",
|
|
6919
6950
|
"initial",
|
|
@@ -7380,7 +7411,7 @@ function repeatGroups(groups, multiples) {
|
|
|
7380
7411
|
}
|
|
7381
7412
|
}
|
|
7382
7413
|
|
|
7383
|
-
// bazel-out/
|
|
7414
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
7384
7415
|
var TagContentType;
|
|
7385
7416
|
(function(TagContentType2) {
|
|
7386
7417
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -7413,7 +7444,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
7413
7444
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
7414
7445
|
}
|
|
7415
7446
|
|
|
7416
|
-
// bazel-out/
|
|
7447
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/element.mjs
|
|
7417
7448
|
var ElementAttributeKind;
|
|
7418
7449
|
(function(ElementAttributeKind2) {
|
|
7419
7450
|
ElementAttributeKind2[ElementAttributeKind2["Attribute"] = 0] = "Attribute";
|
|
@@ -7490,7 +7521,7 @@ function assertIsElementAttributes(attrs) {
|
|
|
7490
7521
|
}
|
|
7491
7522
|
}
|
|
7492
7523
|
|
|
7493
|
-
// bazel-out/
|
|
7524
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
7494
7525
|
var OpKind;
|
|
7495
7526
|
(function(OpKind2) {
|
|
7496
7527
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -7533,7 +7564,7 @@ var SemanticVariableKind;
|
|
|
7533
7564
|
SemanticVariableKind2[SemanticVariableKind2["SavedView"] = 2] = "SavedView";
|
|
7534
7565
|
})(SemanticVariableKind || (SemanticVariableKind = {}));
|
|
7535
7566
|
|
|
7536
|
-
// bazel-out/
|
|
7567
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
7537
7568
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
7538
7569
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
7539
7570
|
var UsesSlotIndex = Symbol("UsesSlotIndex");
|
|
@@ -7574,7 +7605,7 @@ function hasUsesSlotIndexTrait(value) {
|
|
|
7574
7605
|
return value[UsesSlotIndex] === true;
|
|
7575
7606
|
}
|
|
7576
7607
|
|
|
7577
|
-
// bazel-out/
|
|
7608
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
7578
7609
|
var _a;
|
|
7579
7610
|
var _b;
|
|
7580
7611
|
var _c;
|
|
@@ -7977,7 +8008,7 @@ function transformExpressionsInStatement(stmt, transform, flags) {
|
|
|
7977
8008
|
}
|
|
7978
8009
|
}
|
|
7979
8010
|
|
|
7980
|
-
// bazel-out/
|
|
8011
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
7981
8012
|
var _OpList = class {
|
|
7982
8013
|
constructor() {
|
|
7983
8014
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -8143,7 +8174,7 @@ var OpList = _OpList;
|
|
|
8143
8174
|
_OpList.nextListId = 0;
|
|
8144
8175
|
})();
|
|
8145
8176
|
|
|
8146
|
-
// bazel-out/
|
|
8177
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
8147
8178
|
function createStatementOp(statement) {
|
|
8148
8179
|
return __spreadValues({
|
|
8149
8180
|
kind: OpKind.Statement,
|
|
@@ -8164,7 +8195,7 @@ var NEW_OP = {
|
|
|
8164
8195
|
next: null
|
|
8165
8196
|
};
|
|
8166
8197
|
|
|
8167
|
-
// bazel-out/
|
|
8198
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
8168
8199
|
function createElementStartOp(tag, xref) {
|
|
8169
8200
|
return __spreadValues(__spreadValues({
|
|
8170
8201
|
kind: OpKind.ElementStart,
|
|
@@ -8216,7 +8247,7 @@ function createPipeOp(xref, name) {
|
|
|
8216
8247
|
}, NEW_OP), TRAIT_CONSUMES_SLOT);
|
|
8217
8248
|
}
|
|
8218
8249
|
|
|
8219
|
-
// bazel-out/
|
|
8250
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
8220
8251
|
function createInterpolateTextOp(xref, strings, expressions) {
|
|
8221
8252
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
8222
8253
|
kind: OpKind.InterpolateText,
|
|
@@ -8249,7 +8280,7 @@ function createAdvanceOp(delta) {
|
|
|
8249
8280
|
}, NEW_OP);
|
|
8250
8281
|
}
|
|
8251
8282
|
|
|
8252
|
-
// bazel-out/
|
|
8283
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
8253
8284
|
function phaseConstCollection(cpl) {
|
|
8254
8285
|
for (const [_, view] of cpl.views) {
|
|
8255
8286
|
for (const op of view.create) {
|
|
@@ -8290,7 +8321,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n, projectAs, s
|
|
|
8290
8321
|
return literalArr(attrArray);
|
|
8291
8322
|
}
|
|
8292
8323
|
|
|
8293
|
-
// bazel-out/
|
|
8324
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
8294
8325
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
8295
8326
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
8296
8327
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]]
|
|
@@ -8311,7 +8342,7 @@ function phaseEmptyElements(cpl) {
|
|
|
8311
8342
|
}
|
|
8312
8343
|
}
|
|
8313
8344
|
|
|
8314
|
-
// bazel-out/
|
|
8345
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
8315
8346
|
function phaseGenerateAdvance(cpl) {
|
|
8316
8347
|
for (const [_, view] of cpl.views) {
|
|
8317
8348
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -8343,7 +8374,7 @@ function phaseGenerateAdvance(cpl) {
|
|
|
8343
8374
|
}
|
|
8344
8375
|
}
|
|
8345
8376
|
|
|
8346
|
-
// bazel-out/
|
|
8377
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
8347
8378
|
function element(slot, tag, constIndex, localRefIndex) {
|
|
8348
8379
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex);
|
|
8349
8380
|
}
|
|
@@ -8572,7 +8603,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs) {
|
|
|
8572
8603
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs).toStmt());
|
|
8573
8604
|
}
|
|
8574
8605
|
|
|
8575
|
-
// bazel-out/
|
|
8606
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
8576
8607
|
function phaseReify(cpl) {
|
|
8577
8608
|
for (const [_, view] of cpl.views) {
|
|
8578
8609
|
reifyCreateOperations(view, view.create);
|
|
@@ -8726,7 +8757,7 @@ var LookForEventVisitor = class extends RecursiveAstVisitor {
|
|
|
8726
8757
|
}
|
|
8727
8758
|
};
|
|
8728
8759
|
|
|
8729
|
-
// bazel-out/
|
|
8760
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
8730
8761
|
function phaseSlotAllocation(cpl) {
|
|
8731
8762
|
const slotMap = /* @__PURE__ */ new Map();
|
|
8732
8763
|
for (const [_, view] of cpl.views) {
|
|
@@ -8769,7 +8800,7 @@ function phaseSlotAllocation(cpl) {
|
|
|
8769
8800
|
}
|
|
8770
8801
|
}
|
|
8771
8802
|
|
|
8772
|
-
// bazel-out/
|
|
8803
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
8773
8804
|
function phaseVarCounting(cpl) {
|
|
8774
8805
|
for (const [_, view] of cpl.views) {
|
|
8775
8806
|
let varCount = 0;
|
|
@@ -8826,7 +8857,7 @@ function varsUsedByIrExpression(expr) {
|
|
|
8826
8857
|
}
|
|
8827
8858
|
}
|
|
8828
8859
|
|
|
8829
|
-
// bazel-out/
|
|
8860
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
8830
8861
|
function phaseNaming(cpl) {
|
|
8831
8862
|
addNamesToView(cpl.root, cpl.componentName, { index: 0 });
|
|
8832
8863
|
}
|
|
@@ -8884,7 +8915,7 @@ function getVariableName(variable2, state) {
|
|
|
8884
8915
|
return variable2.name;
|
|
8885
8916
|
}
|
|
8886
8917
|
|
|
8887
|
-
// bazel-out/
|
|
8918
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
8888
8919
|
function phaseLocalRefs(cpl) {
|
|
8889
8920
|
for (const view of cpl.views.values()) {
|
|
8890
8921
|
for (const op of view.create) {
|
|
@@ -8915,7 +8946,7 @@ function serializeLocalRefs(refs) {
|
|
|
8915
8946
|
return literalArr(constRefs);
|
|
8916
8947
|
}
|
|
8917
8948
|
|
|
8918
|
-
// bazel-out/
|
|
8949
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
8919
8950
|
function phaseGenerateVariables(cpl) {
|
|
8920
8951
|
recursivelyProcessView(cpl.root, null);
|
|
8921
8952
|
}
|
|
@@ -8997,7 +9028,7 @@ function generateVariablesInScopeForView(view, scope) {
|
|
|
8997
9028
|
return newOps;
|
|
8998
9029
|
}
|
|
8999
9030
|
|
|
9000
|
-
// bazel-out/
|
|
9031
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
9001
9032
|
function phaseResolveNames(cpl) {
|
|
9002
9033
|
for (const [_, view] of cpl.views) {
|
|
9003
9034
|
processLexicalScope(view, view.create, null);
|
|
@@ -9050,7 +9081,7 @@ function processLexicalScope(view, ops, savedView) {
|
|
|
9050
9081
|
}
|
|
9051
9082
|
}
|
|
9052
9083
|
|
|
9053
|
-
// bazel-out/
|
|
9084
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
9054
9085
|
function phaseResolveContexts(cpl) {
|
|
9055
9086
|
for (const view of cpl.views.values()) {
|
|
9056
9087
|
processLexicalScope2(view, view.create);
|
|
@@ -9088,7 +9119,7 @@ function processLexicalScope2(view, ops) {
|
|
|
9088
9119
|
}
|
|
9089
9120
|
}
|
|
9090
9121
|
|
|
9091
|
-
// bazel-out/
|
|
9122
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
9092
9123
|
function phaseVariableOptimization(cpl, options) {
|
|
9093
9124
|
for (const [_, view] of cpl.views) {
|
|
9094
9125
|
optimizeVariablesInOpList(view.create, options);
|
|
@@ -9298,7 +9329,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
9298
9329
|
}
|
|
9299
9330
|
}
|
|
9300
9331
|
|
|
9301
|
-
// bazel-out/
|
|
9332
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
9302
9333
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
9303
9334
|
Identifiers.elementStart,
|
|
9304
9335
|
Identifiers.elementEnd,
|
|
@@ -9344,7 +9375,7 @@ function chainOperationsInList(opList) {
|
|
|
9344
9375
|
}
|
|
9345
9376
|
}
|
|
9346
9377
|
|
|
9347
|
-
// bazel-out/
|
|
9378
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
9348
9379
|
function phaseMergeNextContext(cpl) {
|
|
9349
9380
|
for (const view of cpl.views.values()) {
|
|
9350
9381
|
for (const op of view.create) {
|
|
@@ -9389,7 +9420,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
9389
9420
|
}
|
|
9390
9421
|
}
|
|
9391
9422
|
|
|
9392
|
-
// bazel-out/
|
|
9423
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
9393
9424
|
var CONTAINER_TAG = "ng-container";
|
|
9394
9425
|
function phaseNgContainer(cpl) {
|
|
9395
9426
|
for (const [_, view] of cpl.views) {
|
|
@@ -9406,7 +9437,7 @@ function phaseNgContainer(cpl) {
|
|
|
9406
9437
|
}
|
|
9407
9438
|
}
|
|
9408
9439
|
|
|
9409
|
-
// bazel-out/
|
|
9440
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
9410
9441
|
function phaseSaveRestoreView(cpl) {
|
|
9411
9442
|
for (const view of cpl.views.values()) {
|
|
9412
9443
|
if (view === cpl.root) {
|
|
@@ -9439,7 +9470,7 @@ function phaseSaveRestoreView(cpl) {
|
|
|
9439
9470
|
}
|
|
9440
9471
|
}
|
|
9441
9472
|
|
|
9442
|
-
// bazel-out/
|
|
9473
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
9443
9474
|
function phasePureFunctionExtraction(cpl) {
|
|
9444
9475
|
for (const view of cpl.views.values()) {
|
|
9445
9476
|
for (const op of view.ops()) {
|
|
@@ -9481,7 +9512,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
9481
9512
|
}
|
|
9482
9513
|
};
|
|
9483
9514
|
|
|
9484
|
-
// bazel-out/
|
|
9515
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
9485
9516
|
function phasePipeCreation(cpl) {
|
|
9486
9517
|
for (const view of cpl.views.values()) {
|
|
9487
9518
|
processPipeBindingsInView(view);
|
|
@@ -9524,7 +9555,7 @@ function addPipeToCreationBlock(view, afterTargetXref, binding) {
|
|
|
9524
9555
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
9525
9556
|
}
|
|
9526
9557
|
|
|
9527
|
-
// bazel-out/
|
|
9558
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
9528
9559
|
function phasePipeVariadic(cpl) {
|
|
9529
9560
|
for (const view of cpl.views.values()) {
|
|
9530
9561
|
for (const op of view.update) {
|
|
@@ -9541,7 +9572,7 @@ function phasePipeVariadic(cpl) {
|
|
|
9541
9572
|
}
|
|
9542
9573
|
}
|
|
9543
9574
|
|
|
9544
|
-
// bazel-out/
|
|
9575
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
9545
9576
|
function phasePureLiteralStructures(cpl) {
|
|
9546
9577
|
for (const view of cpl.views.values()) {
|
|
9547
9578
|
for (const op of view.update) {
|
|
@@ -9588,7 +9619,7 @@ function transformLiteralMap(expr) {
|
|
|
9588
9619
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
9589
9620
|
}
|
|
9590
9621
|
|
|
9591
|
-
// bazel-out/
|
|
9622
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/align_pipe_variadic_var_offset.mjs
|
|
9592
9623
|
function phaseAlignPipeVariadicVarOffset(cpl) {
|
|
9593
9624
|
for (const view of cpl.views.values()) {
|
|
9594
9625
|
for (const op of view.update) {
|
|
@@ -9609,7 +9640,7 @@ function phaseAlignPipeVariadicVarOffset(cpl) {
|
|
|
9609
9640
|
}
|
|
9610
9641
|
}
|
|
9611
9642
|
|
|
9612
|
-
// bazel-out/
|
|
9643
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
9613
9644
|
function transformTemplate(cpl) {
|
|
9614
9645
|
phasePipeCreation(cpl);
|
|
9615
9646
|
phasePipeVariadic(cpl);
|
|
@@ -9691,7 +9722,7 @@ function maybeGenerateRfBlock(flag, statements) {
|
|
|
9691
9722
|
];
|
|
9692
9723
|
}
|
|
9693
9724
|
|
|
9694
|
-
// bazel-out/
|
|
9725
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
9695
9726
|
var ComponentCompilation = class {
|
|
9696
9727
|
constructor(componentName, pool) {
|
|
9697
9728
|
this.componentName = componentName;
|
|
@@ -9749,7 +9780,7 @@ var ViewCompilation = class {
|
|
|
9749
9780
|
}
|
|
9750
9781
|
};
|
|
9751
9782
|
|
|
9752
|
-
// bazel-out/
|
|
9783
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
9753
9784
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
9754
9785
|
["&&", BinaryOperator.And],
|
|
9755
9786
|
[">", BinaryOperator.Bigger],
|
|
@@ -9770,7 +9801,7 @@ var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
|
9770
9801
|
["+", BinaryOperator.Plus]
|
|
9771
9802
|
]);
|
|
9772
9803
|
|
|
9773
|
-
// bazel-out/
|
|
9804
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
9774
9805
|
function ingest(componentName, template2, constantPool) {
|
|
9775
9806
|
const cpl = new ComponentCompilation(componentName, constantPool);
|
|
9776
9807
|
ingestNodes(cpl.root, template2);
|
|
@@ -9965,10 +9996,10 @@ function assertIsArray(value) {
|
|
|
9965
9996
|
}
|
|
9966
9997
|
}
|
|
9967
9998
|
|
|
9968
|
-
// bazel-out/
|
|
9999
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
|
|
9969
10000
|
var USE_TEMPLATE_PIPELINE = false;
|
|
9970
10001
|
|
|
9971
|
-
// bazel-out/
|
|
10002
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
|
|
9972
10003
|
function parse(value) {
|
|
9973
10004
|
const styles = [];
|
|
9974
10005
|
let i = 0;
|
|
@@ -10029,7 +10060,7 @@ function hyphenate(value) {
|
|
|
10029
10060
|
}).toLowerCase();
|
|
10030
10061
|
}
|
|
10031
10062
|
|
|
10032
|
-
// bazel-out/
|
|
10063
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
|
|
10033
10064
|
var IMPORTANT_FLAG = "!important";
|
|
10034
10065
|
var MIN_STYLING_BINDING_SLOTS_REQUIRED = 2;
|
|
10035
10066
|
var StylingBuilder = class {
|
|
@@ -10362,7 +10393,7 @@ function isEmptyExpression(ast) {
|
|
|
10362
10393
|
return ast instanceof EmptyExpr;
|
|
10363
10394
|
}
|
|
10364
10395
|
|
|
10365
|
-
// bazel-out/
|
|
10396
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
10366
10397
|
var TokenType;
|
|
10367
10398
|
(function(TokenType2) {
|
|
10368
10399
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -10723,7 +10754,7 @@ function parseIntAutoRadix(text2) {
|
|
|
10723
10754
|
return result;
|
|
10724
10755
|
}
|
|
10725
10756
|
|
|
10726
|
-
// bazel-out/
|
|
10757
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
10727
10758
|
var SplitInterpolation = class {
|
|
10728
10759
|
constructor(strings, expressions, offsets) {
|
|
10729
10760
|
this.strings = strings;
|
|
@@ -11617,7 +11648,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
11617
11648
|
return offsetMap;
|
|
11618
11649
|
}
|
|
11619
11650
|
|
|
11620
|
-
// bazel-out/
|
|
11651
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
11621
11652
|
var NodeWithI18n = class {
|
|
11622
11653
|
constructor(sourceSpan, i18n) {
|
|
11623
11654
|
this.sourceSpan = sourceSpan;
|
|
@@ -11705,11 +11736,11 @@ function visitAll2(visitor, nodes, context = null) {
|
|
|
11705
11736
|
return result;
|
|
11706
11737
|
}
|
|
11707
11738
|
|
|
11708
|
-
// bazel-out/
|
|
11739
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
11709
11740
|
var ElementSchemaRegistry = class {
|
|
11710
11741
|
};
|
|
11711
11742
|
|
|
11712
|
-
// bazel-out/
|
|
11743
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
11713
11744
|
var BOOLEAN = "boolean";
|
|
11714
11745
|
var NUMBER = "number";
|
|
11715
11746
|
var STRING = "string";
|
|
@@ -12062,7 +12093,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
12062
12093
|
}
|
|
12063
12094
|
}
|
|
12064
12095
|
|
|
12065
|
-
// bazel-out/
|
|
12096
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
12066
12097
|
var HtmlTagDefinition = class {
|
|
12067
12098
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
12068
12099
|
this.closedByChildren = {};
|
|
@@ -12180,7 +12211,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
12180
12211
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
12181
12212
|
}
|
|
12182
12213
|
|
|
12183
|
-
// bazel-out/
|
|
12214
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
12184
12215
|
var NAMED_ENTITIES = {
|
|
12185
12216
|
"AElig": "\xC6",
|
|
12186
12217
|
"AMP": "&",
|
|
@@ -14311,7 +14342,7 @@ var NAMED_ENTITIES = {
|
|
|
14311
14342
|
var NGSP_UNICODE = "\uE500";
|
|
14312
14343
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
14313
14344
|
|
|
14314
|
-
// bazel-out/
|
|
14345
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
14315
14346
|
var TokenError = class extends ParseError {
|
|
14316
14347
|
constructor(errorMsg, tokenType, span) {
|
|
14317
14348
|
super(span, errorMsg);
|
|
@@ -15146,7 +15177,7 @@ var CursorError = class {
|
|
|
15146
15177
|
}
|
|
15147
15178
|
};
|
|
15148
15179
|
|
|
15149
|
-
// bazel-out/
|
|
15180
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
15150
15181
|
var TreeError = class extends ParseError {
|
|
15151
15182
|
static create(elementName, span, msg) {
|
|
15152
15183
|
return new TreeError(elementName, span, msg);
|
|
@@ -15473,7 +15504,7 @@ function decodeEntity(match, entity) {
|
|
|
15473
15504
|
return match;
|
|
15474
15505
|
}
|
|
15475
15506
|
|
|
15476
|
-
// bazel-out/
|
|
15507
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
15477
15508
|
var HtmlParser = class extends Parser2 {
|
|
15478
15509
|
constructor() {
|
|
15479
15510
|
super(getHtmlTagDefinition);
|
|
@@ -15483,7 +15514,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
15483
15514
|
}
|
|
15484
15515
|
};
|
|
15485
15516
|
|
|
15486
|
-
// bazel-out/
|
|
15517
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
15487
15518
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
15488
15519
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
15489
15520
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -15543,7 +15574,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
15543
15574
|
return result;
|
|
15544
15575
|
}
|
|
15545
15576
|
|
|
15546
|
-
// bazel-out/
|
|
15577
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
15547
15578
|
function mapLiteral(obj, quoted = false) {
|
|
15548
15579
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
15549
15580
|
key,
|
|
@@ -15552,7 +15583,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
15552
15583
|
})));
|
|
15553
15584
|
}
|
|
15554
15585
|
|
|
15555
|
-
// bazel-out/
|
|
15586
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
15556
15587
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
15557
15588
|
"iframe|srcdoc",
|
|
15558
15589
|
"*|innerhtml",
|
|
@@ -15567,7 +15598,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
15567
15598
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
15568
15599
|
}
|
|
15569
15600
|
|
|
15570
|
-
// bazel-out/
|
|
15601
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
15571
15602
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
15572
15603
|
var ATTRIBUTE_PREFIX = "attr";
|
|
15573
15604
|
var CLASS_PREFIX = "class";
|
|
@@ -15887,7 +15918,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
15887
15918
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
15888
15919
|
}
|
|
15889
15920
|
|
|
15890
|
-
// bazel-out/
|
|
15921
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
15891
15922
|
function isStyleUrlResolvable(url) {
|
|
15892
15923
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
15893
15924
|
return false;
|
|
@@ -15896,7 +15927,7 @@ function isStyleUrlResolvable(url) {
|
|
|
15896
15927
|
}
|
|
15897
15928
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
15898
15929
|
|
|
15899
|
-
// bazel-out/
|
|
15930
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
15900
15931
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
15901
15932
|
var LINK_ELEMENT = "link";
|
|
15902
15933
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -15966,7 +15997,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
15966
15997
|
return selectAttr;
|
|
15967
15998
|
}
|
|
15968
15999
|
|
|
15969
|
-
// bazel-out/
|
|
16000
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
15970
16001
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
15971
16002
|
var KW_BIND_IDX = 1;
|
|
15972
16003
|
var KW_LET_IDX = 2;
|
|
@@ -16314,7 +16345,7 @@ function textContents(node) {
|
|
|
16314
16345
|
}
|
|
16315
16346
|
}
|
|
16316
16347
|
|
|
16317
|
-
// bazel-out/
|
|
16348
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
|
|
16318
16349
|
var TagType;
|
|
16319
16350
|
(function(TagType2) {
|
|
16320
16351
|
TagType2[TagType2["ELEMENT"] = 0] = "ELEMENT";
|
|
@@ -16449,7 +16480,7 @@ function serializePlaceholderValue(value) {
|
|
|
16449
16480
|
}
|
|
16450
16481
|
}
|
|
16451
16482
|
|
|
16452
|
-
// bazel-out/
|
|
16483
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
16453
16484
|
var IcuSerializerVisitor = class {
|
|
16454
16485
|
visitText(text2) {
|
|
16455
16486
|
return text2.value;
|
|
@@ -16480,7 +16511,7 @@ function serializeIcuNode(icu) {
|
|
|
16480
16511
|
return icu.visit(serializer);
|
|
16481
16512
|
}
|
|
16482
16513
|
|
|
16483
|
-
// bazel-out/
|
|
16514
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
16484
16515
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
16485
16516
|
"A": "LINK",
|
|
16486
16517
|
"B": "BOLD_TEXT",
|
|
@@ -16574,7 +16605,7 @@ var PlaceholderRegistry = class {
|
|
|
16574
16605
|
}
|
|
16575
16606
|
};
|
|
16576
16607
|
|
|
16577
|
-
// bazel-out/
|
|
16608
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
16578
16609
|
var _expParser = new Parser(new Lexer());
|
|
16579
16610
|
function createI18nMessageFactory(interpolationConfig) {
|
|
16580
16611
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig);
|
|
@@ -16729,14 +16760,14 @@ function extractPlaceholderName(input) {
|
|
|
16729
16760
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
16730
16761
|
}
|
|
16731
16762
|
|
|
16732
|
-
// bazel-out/
|
|
16763
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
16733
16764
|
var I18nError = class extends ParseError {
|
|
16734
16765
|
constructor(span, msg) {
|
|
16735
16766
|
super(span, msg);
|
|
16736
16767
|
}
|
|
16737
16768
|
};
|
|
16738
16769
|
|
|
16739
|
-
// bazel-out/
|
|
16770
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
16740
16771
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
16741
16772
|
if (htmlNode instanceof NodeWithI18n) {
|
|
16742
16773
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -16885,7 +16916,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
16885
16916
|
return jsDocComment(tags);
|
|
16886
16917
|
}
|
|
16887
16918
|
|
|
16888
|
-
// bazel-out/
|
|
16919
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
16889
16920
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
16890
16921
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
16891
16922
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -16933,7 +16964,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
16933
16964
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
16934
16965
|
}
|
|
16935
16966
|
|
|
16936
|
-
// bazel-out/
|
|
16967
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
16937
16968
|
function createLocalizeStatements(variable2, message, params) {
|
|
16938
16969
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
16939
16970
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -17016,7 +17047,7 @@ function createEmptyMessagePart(location) {
|
|
|
17016
17047
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
17017
17048
|
}
|
|
17018
17049
|
|
|
17019
|
-
// bazel-out/
|
|
17050
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
17020
17051
|
var NG_CONTENT_SELECT_ATTR2 = "select";
|
|
17021
17052
|
var NG_PROJECT_AS_ATTR_NAME = "ngProjectAs";
|
|
17022
17053
|
var EVENT_BINDING_SCOPE_GLOBALS = /* @__PURE__ */ new Set(["$event"]);
|
|
@@ -18318,7 +18349,7 @@ function createClosureModeGuard() {
|
|
|
18318
18349
|
return typeofExpr(variable(NG_I18N_CLOSURE_MODE)).notIdentical(literal("undefined", STRING_TYPE)).and(variable(NG_I18N_CLOSURE_MODE));
|
|
18319
18350
|
}
|
|
18320
18351
|
|
|
18321
|
-
// bazel-out/
|
|
18352
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
18322
18353
|
var ATTR_REGEX = /attr\.([^\]]+)/;
|
|
18323
18354
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
18324
18355
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
@@ -18878,11 +18909,11 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
18878
18909
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
18879
18910
|
}
|
|
18880
18911
|
|
|
18881
|
-
// bazel-out/
|
|
18912
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
18882
18913
|
var ResourceLoader = class {
|
|
18883
18914
|
};
|
|
18884
18915
|
|
|
18885
|
-
// bazel-out/
|
|
18916
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
18886
18917
|
var CompilerFacadeImpl = class {
|
|
18887
18918
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
18888
18919
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -18961,6 +18992,7 @@ var CompilerFacadeImpl = class {
|
|
|
18961
18992
|
}
|
|
18962
18993
|
compileNgModule(angularCoreEnv, sourceMapUrl, facade) {
|
|
18963
18994
|
const meta = {
|
|
18995
|
+
kind: R3NgModuleMetadataKind.Global,
|
|
18964
18996
|
type: wrapReference(facade.type),
|
|
18965
18997
|
bootstrap: facade.bootstrap.map(wrapReference),
|
|
18966
18998
|
declarations: facade.declarations.map(wrapReference),
|
|
@@ -19405,10 +19437,10 @@ function publishFacade(global2) {
|
|
|
19405
19437
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
19406
19438
|
}
|
|
19407
19439
|
|
|
19408
|
-
// bazel-out/
|
|
19409
|
-
var VERSION2 = new Version("16.1.
|
|
19440
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/version.mjs
|
|
19441
|
+
var VERSION2 = new Version("16.1.5");
|
|
19410
19442
|
|
|
19411
|
-
// bazel-out/
|
|
19443
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
19412
19444
|
var _I18N_ATTR = "i18n";
|
|
19413
19445
|
var _I18N_ATTR_PREFIX = "i18n-";
|
|
19414
19446
|
var _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;
|
|
@@ -19712,7 +19744,7 @@ function _parseMessageMeta(i18n) {
|
|
|
19712
19744
|
return { meaning, description, id: id.trim() };
|
|
19713
19745
|
}
|
|
19714
19746
|
|
|
19715
|
-
// bazel-out/
|
|
19747
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
19716
19748
|
var XmlTagDefinition = class {
|
|
19717
19749
|
constructor() {
|
|
19718
19750
|
this.closedByParent = false;
|
|
@@ -19737,7 +19769,7 @@ function getXmlTagDefinition(tagName) {
|
|
|
19737
19769
|
return _TAG_DEFINITION;
|
|
19738
19770
|
}
|
|
19739
19771
|
|
|
19740
|
-
// bazel-out/
|
|
19772
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
|
|
19741
19773
|
var XmlParser = class extends Parser2 {
|
|
19742
19774
|
constructor() {
|
|
19743
19775
|
super(getXmlTagDefinition);
|
|
@@ -19747,7 +19779,7 @@ var XmlParser = class extends Parser2 {
|
|
|
19747
19779
|
}
|
|
19748
19780
|
};
|
|
19749
19781
|
|
|
19750
|
-
// bazel-out/
|
|
19782
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
|
|
19751
19783
|
var _VERSION = "1.2";
|
|
19752
19784
|
var _XMLNS = "urn:oasis:names:tc:xliff:document:1.2";
|
|
19753
19785
|
var _DEFAULT_SOURCE_LANG = "en";
|
|
@@ -19987,7 +20019,7 @@ function getCtypeForTag(tag) {
|
|
|
19987
20019
|
}
|
|
19988
20020
|
}
|
|
19989
20021
|
|
|
19990
|
-
// bazel-out/
|
|
20022
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
|
|
19991
20023
|
var _VERSION2 = "2.0";
|
|
19992
20024
|
var _XMLNS2 = "urn:oasis:names:tc:xliff:document:2.0";
|
|
19993
20025
|
var _DEFAULT_SOURCE_LANG2 = "en";
|
|
@@ -20278,7 +20310,7 @@ function getTypeForTag(tag) {
|
|
|
20278
20310
|
}
|
|
20279
20311
|
}
|
|
20280
20312
|
|
|
20281
|
-
// bazel-out/
|
|
20313
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
|
|
20282
20314
|
var MessageBundle = class {
|
|
20283
20315
|
constructor(_htmlParser, _implicitTags, _implicitAttrs, _locale = null) {
|
|
20284
20316
|
this._htmlParser = _htmlParser;
|
|
@@ -20345,7 +20377,7 @@ var MapPlaceholderNames = class extends CloneVisitor {
|
|
|
20345
20377
|
}
|
|
20346
20378
|
};
|
|
20347
20379
|
|
|
20348
|
-
// bazel-out/
|
|
20380
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
20349
20381
|
var FactoryTarget2;
|
|
20350
20382
|
(function(FactoryTarget3) {
|
|
20351
20383
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -20355,7 +20387,7 @@ var FactoryTarget2;
|
|
|
20355
20387
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
20356
20388
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
20357
20389
|
|
|
20358
|
-
// bazel-out/
|
|
20390
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
20359
20391
|
var R3TargetBinder = class {
|
|
20360
20392
|
constructor(directiveMatcher) {
|
|
20361
20393
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -20707,7 +20739,7 @@ function extractTemplateEntities(rootScope) {
|
|
|
20707
20739
|
return templateEntities;
|
|
20708
20740
|
}
|
|
20709
20741
|
|
|
20710
|
-
// bazel-out/
|
|
20742
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
|
|
20711
20743
|
function compileClassMetadata(metadata) {
|
|
20712
20744
|
var _a2, _b2;
|
|
20713
20745
|
const fnCall = importExpr(Identifiers.setClassMetadata).callFn([
|
|
@@ -20720,12 +20752,12 @@ function compileClassMetadata(metadata) {
|
|
|
20720
20752
|
return iife.callFn([]);
|
|
20721
20753
|
}
|
|
20722
20754
|
|
|
20723
|
-
// bazel-out/
|
|
20755
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
|
|
20724
20756
|
var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
|
|
20725
20757
|
function compileDeclareClassMetadata(metadata) {
|
|
20726
20758
|
const definitionMap = new DefinitionMap();
|
|
20727
20759
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
20728
|
-
definitionMap.set("version", literal("16.1.
|
|
20760
|
+
definitionMap.set("version", literal("16.1.5"));
|
|
20729
20761
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
20730
20762
|
definitionMap.set("type", metadata.type);
|
|
20731
20763
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -20734,7 +20766,7 @@ function compileDeclareClassMetadata(metadata) {
|
|
|
20734
20766
|
return importExpr(Identifiers.declareClassMetadata).callFn([definitionMap.toLiteralMap()]);
|
|
20735
20767
|
}
|
|
20736
20768
|
|
|
20737
|
-
// bazel-out/
|
|
20769
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
|
|
20738
20770
|
function toOptionalLiteralArray(values, mapper) {
|
|
20739
20771
|
if (values === null || values.length === 0) {
|
|
20740
20772
|
return null;
|
|
@@ -20782,7 +20814,7 @@ function compileDependency(dep) {
|
|
|
20782
20814
|
return depMeta.toLiteralMap();
|
|
20783
20815
|
}
|
|
20784
20816
|
|
|
20785
|
-
// bazel-out/
|
|
20817
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
|
|
20786
20818
|
var MINIMUM_PARTIAL_LINKER_VERSION2 = "14.0.0";
|
|
20787
20819
|
function compileDeclareDirectiveFromMetadata(meta) {
|
|
20788
20820
|
const definitionMap = createDirectiveDefinitionMap(meta);
|
|
@@ -20794,7 +20826,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
20794
20826
|
var _a2;
|
|
20795
20827
|
const definitionMap = new DefinitionMap();
|
|
20796
20828
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
|
|
20797
|
-
definitionMap.set("version", literal("16.1.
|
|
20829
|
+
definitionMap.set("version", literal("16.1.5"));
|
|
20798
20830
|
definitionMap.set("type", meta.type.value);
|
|
20799
20831
|
if (meta.isStandalone) {
|
|
20800
20832
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -20887,7 +20919,7 @@ function createHostDirectives(hostDirectives) {
|
|
|
20887
20919
|
return literalArr(expressions);
|
|
20888
20920
|
}
|
|
20889
20921
|
|
|
20890
|
-
// bazel-out/
|
|
20922
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
|
|
20891
20923
|
function compileDeclareComponentFromMetadata(meta, template2, additionalTemplateInfo) {
|
|
20892
20924
|
const definitionMap = createComponentDefinitionMap(meta, template2, additionalTemplateInfo);
|
|
20893
20925
|
const expression = importExpr(Identifiers.declareComponent).callFn([definitionMap.toLiteralMap()]);
|
|
@@ -20974,12 +21006,12 @@ function compileUsedDependenciesMetadata(meta) {
|
|
|
20974
21006
|
});
|
|
20975
21007
|
}
|
|
20976
21008
|
|
|
20977
|
-
// bazel-out/
|
|
21009
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
|
|
20978
21010
|
var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
|
|
20979
21011
|
function compileDeclareFactoryFunction(meta) {
|
|
20980
21012
|
const definitionMap = new DefinitionMap();
|
|
20981
21013
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
|
|
20982
|
-
definitionMap.set("version", literal("16.1.
|
|
21014
|
+
definitionMap.set("version", literal("16.1.5"));
|
|
20983
21015
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
20984
21016
|
definitionMap.set("type", meta.type.value);
|
|
20985
21017
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -20991,7 +21023,7 @@ function compileDeclareFactoryFunction(meta) {
|
|
|
20991
21023
|
};
|
|
20992
21024
|
}
|
|
20993
21025
|
|
|
20994
|
-
// bazel-out/
|
|
21026
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
|
|
20995
21027
|
var MINIMUM_PARTIAL_LINKER_VERSION4 = "12.0.0";
|
|
20996
21028
|
function compileDeclareInjectableFromMetadata(meta) {
|
|
20997
21029
|
const definitionMap = createInjectableDefinitionMap(meta);
|
|
@@ -21002,7 +21034,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
21002
21034
|
function createInjectableDefinitionMap(meta) {
|
|
21003
21035
|
const definitionMap = new DefinitionMap();
|
|
21004
21036
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
|
|
21005
|
-
definitionMap.set("version", literal("16.1.
|
|
21037
|
+
definitionMap.set("version", literal("16.1.5"));
|
|
21006
21038
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
21007
21039
|
definitionMap.set("type", meta.type.value);
|
|
21008
21040
|
if (meta.providedIn !== void 0) {
|
|
@@ -21029,7 +21061,7 @@ function createInjectableDefinitionMap(meta) {
|
|
|
21029
21061
|
return definitionMap;
|
|
21030
21062
|
}
|
|
21031
21063
|
|
|
21032
|
-
// bazel-out/
|
|
21064
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
|
|
21033
21065
|
var MINIMUM_PARTIAL_LINKER_VERSION5 = "12.0.0";
|
|
21034
21066
|
function compileDeclareInjectorFromMetadata(meta) {
|
|
21035
21067
|
const definitionMap = createInjectorDefinitionMap(meta);
|
|
@@ -21040,7 +21072,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
21040
21072
|
function createInjectorDefinitionMap(meta) {
|
|
21041
21073
|
const definitionMap = new DefinitionMap();
|
|
21042
21074
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
|
|
21043
|
-
definitionMap.set("version", literal("16.1.
|
|
21075
|
+
definitionMap.set("version", literal("16.1.5"));
|
|
21044
21076
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
21045
21077
|
definitionMap.set("type", meta.type.value);
|
|
21046
21078
|
definitionMap.set("providers", meta.providers);
|
|
@@ -21050,7 +21082,7 @@ function createInjectorDefinitionMap(meta) {
|
|
|
21050
21082
|
return definitionMap;
|
|
21051
21083
|
}
|
|
21052
21084
|
|
|
21053
|
-
// bazel-out/
|
|
21085
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
|
|
21054
21086
|
var MINIMUM_PARTIAL_LINKER_VERSION6 = "14.0.0";
|
|
21055
21087
|
function compileDeclareNgModuleFromMetadata(meta) {
|
|
21056
21088
|
const definitionMap = createNgModuleDefinitionMap(meta);
|
|
@@ -21060,8 +21092,11 @@ function compileDeclareNgModuleFromMetadata(meta) {
|
|
|
21060
21092
|
}
|
|
21061
21093
|
function createNgModuleDefinitionMap(meta) {
|
|
21062
21094
|
const definitionMap = new DefinitionMap();
|
|
21095
|
+
if (meta.kind === R3NgModuleMetadataKind.Local) {
|
|
21096
|
+
throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
|
|
21097
|
+
}
|
|
21063
21098
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
|
|
21064
|
-
definitionMap.set("version", literal("16.1.
|
|
21099
|
+
definitionMap.set("version", literal("16.1.5"));
|
|
21065
21100
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
21066
21101
|
definitionMap.set("type", meta.type.value);
|
|
21067
21102
|
if (meta.bootstrap.length > 0) {
|
|
@@ -21085,7 +21120,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
21085
21120
|
return definitionMap;
|
|
21086
21121
|
}
|
|
21087
21122
|
|
|
21088
|
-
// bazel-out/
|
|
21123
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
|
|
21089
21124
|
var MINIMUM_PARTIAL_LINKER_VERSION7 = "14.0.0";
|
|
21090
21125
|
function compileDeclarePipeFromMetadata(meta) {
|
|
21091
21126
|
const definitionMap = createPipeDefinitionMap(meta);
|
|
@@ -21096,7 +21131,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
21096
21131
|
function createPipeDefinitionMap(meta) {
|
|
21097
21132
|
const definitionMap = new DefinitionMap();
|
|
21098
21133
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION7));
|
|
21099
|
-
definitionMap.set("version", literal("16.1.
|
|
21134
|
+
definitionMap.set("version", literal("16.1.5"));
|
|
21100
21135
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
21101
21136
|
definitionMap.set("type", meta.type.value);
|
|
21102
21137
|
if (meta.isStandalone) {
|
|
@@ -21109,13 +21144,13 @@ function createPipeDefinitionMap(meta) {
|
|
|
21109
21144
|
return definitionMap;
|
|
21110
21145
|
}
|
|
21111
21146
|
|
|
21112
|
-
// bazel-out/
|
|
21147
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
21113
21148
|
publishFacade(_global);
|
|
21114
21149
|
|
|
21115
|
-
// bazel-out/
|
|
21116
|
-
var VERSION3 = new Version("16.1.
|
|
21150
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
21151
|
+
var VERSION3 = new Version("16.1.5");
|
|
21117
21152
|
|
|
21118
|
-
// bazel-out/
|
|
21153
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
21119
21154
|
var EmitFlags;
|
|
21120
21155
|
(function(EmitFlags2) {
|
|
21121
21156
|
EmitFlags2[EmitFlags2["DTS"] = 1] = "DTS";
|
|
@@ -21127,13 +21162,13 @@ var EmitFlags;
|
|
|
21127
21162
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
21128
21163
|
})(EmitFlags || (EmitFlags = {}));
|
|
21129
21164
|
|
|
21130
|
-
// bazel-out/
|
|
21165
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
21131
21166
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
21132
21167
|
|
|
21133
|
-
// bazel-out/
|
|
21168
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
21134
21169
|
var import_typescript94 = __toESM(require("typescript"), 1);
|
|
21135
21170
|
|
|
21136
|
-
// bazel-out/
|
|
21171
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
21137
21172
|
var path = __toESM(require("path"), 1);
|
|
21138
21173
|
function i18nGetExtension(formatName) {
|
|
21139
21174
|
const format = formatName.toLowerCase();
|
|
@@ -21183,10 +21218,10 @@ function getPathNormalizer(basePath) {
|
|
|
21183
21218
|
};
|
|
21184
21219
|
}
|
|
21185
21220
|
|
|
21186
|
-
// bazel-out/
|
|
21221
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
21187
21222
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
21188
21223
|
|
|
21189
|
-
// bazel-out/
|
|
21224
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
21190
21225
|
function toNumbers(value) {
|
|
21191
21226
|
const suffixIndex = value.lastIndexOf("-");
|
|
21192
21227
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -21221,7 +21256,7 @@ function compareVersions(v1, v2) {
|
|
|
21221
21256
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
21222
21257
|
}
|
|
21223
21258
|
|
|
21224
|
-
// bazel-out/
|
|
21259
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
21225
21260
|
var MIN_TS_VERSION = "4.9.3";
|
|
21226
21261
|
var MAX_TS_VERSION = "5.2.0";
|
|
21227
21262
|
var tsVersion = import_typescript3.default.version;
|
|
@@ -21234,13 +21269,13 @@ function verifySupportedTypeScriptVersion() {
|
|
|
21234
21269
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
21235
21270
|
}
|
|
21236
21271
|
|
|
21237
|
-
// bazel-out/
|
|
21272
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
21238
21273
|
var import_typescript90 = __toESM(require("typescript"), 1);
|
|
21239
21274
|
|
|
21240
|
-
// bazel-out/
|
|
21275
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
21241
21276
|
var import_typescript14 = __toESM(require("typescript"), 1);
|
|
21242
21277
|
|
|
21243
|
-
// bazel-out/
|
|
21278
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
21244
21279
|
var ErrorCode;
|
|
21245
21280
|
(function(ErrorCode2) {
|
|
21246
21281
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -21314,7 +21349,7 @@ var ErrorCode;
|
|
|
21314
21349
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
21315
21350
|
})(ErrorCode || (ErrorCode = {}));
|
|
21316
21351
|
|
|
21317
|
-
// bazel-out/
|
|
21352
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
21318
21353
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
21319
21354
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
21320
21355
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -21326,15 +21361,15 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
21326
21361
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
21327
21362
|
]);
|
|
21328
21363
|
|
|
21329
|
-
// bazel-out/
|
|
21364
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
21330
21365
|
var import_typescript4 = __toESM(require("typescript"), 1);
|
|
21331
21366
|
|
|
21332
|
-
// bazel-out/
|
|
21367
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
21333
21368
|
function ngErrorCode(code) {
|
|
21334
21369
|
return parseInt("-99" + code);
|
|
21335
21370
|
}
|
|
21336
21371
|
|
|
21337
|
-
// bazel-out/
|
|
21372
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
21338
21373
|
var FatalDiagnosticError = class {
|
|
21339
21374
|
constructor(code, node, message, relatedInformation) {
|
|
21340
21375
|
this.code = code;
|
|
@@ -21390,10 +21425,10 @@ function addDiagnosticChain(messageText, add) {
|
|
|
21390
21425
|
return messageText;
|
|
21391
21426
|
}
|
|
21392
21427
|
|
|
21393
|
-
// bazel-out/
|
|
21428
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
21394
21429
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
21395
21430
|
|
|
21396
|
-
// bazel-out/
|
|
21431
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
21397
21432
|
var ExtendedTemplateDiagnosticName;
|
|
21398
21433
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
21399
21434
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -21406,13 +21441,13 @@ var ExtendedTemplateDiagnosticName;
|
|
|
21406
21441
|
ExtendedTemplateDiagnosticName2["SKIP_HYDRATION_NOT_STATIC"] = "skipHydrationNotStatic";
|
|
21407
21442
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
21408
21443
|
|
|
21409
|
-
// bazel-out/
|
|
21444
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
21410
21445
|
var import_typescript13 = __toESM(require("typescript"), 1);
|
|
21411
21446
|
|
|
21412
|
-
// bazel-out/
|
|
21447
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
21413
21448
|
var import_typescript7 = __toESM(require("typescript"), 1);
|
|
21414
21449
|
|
|
21415
|
-
// bazel-out/
|
|
21450
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
21416
21451
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
21417
21452
|
var TS = /\.tsx?$/i;
|
|
21418
21453
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -21513,7 +21548,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
21513
21548
|
return redirectInfo.unredirected;
|
|
21514
21549
|
}
|
|
21515
21550
|
|
|
21516
|
-
// bazel-out/
|
|
21551
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
21517
21552
|
function findExportedNameOfNode(target, file, reflector) {
|
|
21518
21553
|
const exports = reflector.getExportsOfModule(file);
|
|
21519
21554
|
if (exports === null) {
|
|
@@ -21533,7 +21568,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
21533
21568
|
return foundExportName;
|
|
21534
21569
|
}
|
|
21535
21570
|
|
|
21536
|
-
// bazel-out/
|
|
21571
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
21537
21572
|
var ImportFlags;
|
|
21538
21573
|
(function(ImportFlags2) {
|
|
21539
21574
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -21749,7 +21784,7 @@ var UnifiedModulesStrategy = class {
|
|
|
21749
21784
|
}
|
|
21750
21785
|
};
|
|
21751
21786
|
|
|
21752
|
-
// bazel-out/
|
|
21787
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
21753
21788
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
21754
21789
|
var UnifiedModulesAliasingHost = class {
|
|
21755
21790
|
constructor(unifiedModulesHost) {
|
|
@@ -21816,7 +21851,7 @@ var AliasStrategy = class {
|
|
|
21816
21851
|
}
|
|
21817
21852
|
};
|
|
21818
21853
|
|
|
21819
|
-
// bazel-out/
|
|
21854
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
21820
21855
|
function relativePathBetween(from, to) {
|
|
21821
21856
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
21822
21857
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -21825,7 +21860,7 @@ function normalizeSeparators2(path3) {
|
|
|
21825
21860
|
return path3.replace(/\\/g, "/");
|
|
21826
21861
|
}
|
|
21827
21862
|
|
|
21828
|
-
// bazel-out/
|
|
21863
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
21829
21864
|
var NoopImportRewriter = class {
|
|
21830
21865
|
shouldImportSymbol(symbol, specifier) {
|
|
21831
21866
|
return true;
|
|
@@ -21883,7 +21918,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
21883
21918
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
21884
21919
|
}
|
|
21885
21920
|
|
|
21886
|
-
// bazel-out/
|
|
21921
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
21887
21922
|
var import_typescript9 = __toESM(require("typescript"), 1);
|
|
21888
21923
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
21889
21924
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -21918,7 +21953,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
21918
21953
|
throw Error("Angular compiler is incompatible with this version of the TypeScript compiler.\n\nIf you recently updated TypeScript and this issue surfaces now, consider downgrading.\n\nPlease report an issue on the Angular repositories when this issue surfaces and you are using a supposedly compatible TypeScript version.");
|
|
21919
21954
|
}
|
|
21920
21955
|
|
|
21921
|
-
// bazel-out/
|
|
21956
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
21922
21957
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
21923
21958
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
21924
21959
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -21959,7 +21994,7 @@ var DefaultImportTracker = class {
|
|
|
21959
21994
|
}
|
|
21960
21995
|
};
|
|
21961
21996
|
|
|
21962
|
-
// bazel-out/
|
|
21997
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
21963
21998
|
var Reference2 = class {
|
|
21964
21999
|
constructor(node, bestGuessOwningModule = null) {
|
|
21965
22000
|
this.node = node;
|
|
@@ -22022,7 +22057,7 @@ var Reference2 = class {
|
|
|
22022
22057
|
}
|
|
22023
22058
|
};
|
|
22024
22059
|
|
|
22025
|
-
// bazel-out/
|
|
22060
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
22026
22061
|
var ModuleResolver = class {
|
|
22027
22062
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
22028
22063
|
this.program = program;
|
|
@@ -22039,7 +22074,7 @@ var ModuleResolver = class {
|
|
|
22039
22074
|
}
|
|
22040
22075
|
};
|
|
22041
22076
|
|
|
22042
|
-
// bazel-out/
|
|
22077
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
22043
22078
|
function valueReferenceToExpression(valueRef) {
|
|
22044
22079
|
if (valueRef.kind === 2) {
|
|
22045
22080
|
return null;
|
|
@@ -22278,7 +22313,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
22278
22313
|
return import_typescript13.default.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === import_typescript13.default.SyntaxKind.AbstractKeyword) : false;
|
|
22279
22314
|
}
|
|
22280
22315
|
|
|
22281
|
-
// bazel-out/
|
|
22316
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
22282
22317
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
22283
22318
|
const deps = [];
|
|
22284
22319
|
const errors = [];
|
|
@@ -22420,10 +22455,10 @@ function createUnsuitableInjectionTokenError(clazz, error2) {
|
|
|
22420
22455
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
22421
22456
|
}
|
|
22422
22457
|
|
|
22423
|
-
// bazel-out/
|
|
22458
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
22424
22459
|
var import_typescript27 = __toESM(require("typescript"), 1);
|
|
22425
22460
|
|
|
22426
|
-
// bazel-out/
|
|
22461
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
22427
22462
|
var MetaKind;
|
|
22428
22463
|
(function(MetaKind2) {
|
|
22429
22464
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -22436,10 +22471,10 @@ var MatchSource;
|
|
|
22436
22471
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
22437
22472
|
})(MatchSource || (MatchSource = {}));
|
|
22438
22473
|
|
|
22439
|
-
// bazel-out/
|
|
22474
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
22440
22475
|
var import_typescript22 = __toESM(require("typescript"), 1);
|
|
22441
22476
|
|
|
22442
|
-
// bazel-out/
|
|
22477
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
22443
22478
|
var import_typescript15 = __toESM(require("typescript"), 1);
|
|
22444
22479
|
function isDecoratorIdentifier(exp) {
|
|
22445
22480
|
return import_typescript15.default.isIdentifier(exp) || import_typescript15.default.isPropertyAccessExpression(exp) && import_typescript15.default.isIdentifier(exp.expression) && import_typescript15.default.isIdentifier(exp.name);
|
|
@@ -22453,7 +22488,7 @@ var ClassMemberKind;
|
|
|
22453
22488
|
ClassMemberKind2[ClassMemberKind2["Method"] = 4] = "Method";
|
|
22454
22489
|
})(ClassMemberKind || (ClassMemberKind = {}));
|
|
22455
22490
|
|
|
22456
|
-
// bazel-out/
|
|
22491
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
22457
22492
|
var import_typescript16 = __toESM(require("typescript"), 1);
|
|
22458
22493
|
function typeToValue(typeNode, checker) {
|
|
22459
22494
|
if (typeNode === null) {
|
|
@@ -22619,10 +22654,10 @@ function extractModuleName(node) {
|
|
|
22619
22654
|
return node.moduleSpecifier.text;
|
|
22620
22655
|
}
|
|
22621
22656
|
|
|
22622
|
-
// bazel-out/
|
|
22657
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
22623
22658
|
var import_typescript18 = __toESM(require("typescript"), 1);
|
|
22624
22659
|
|
|
22625
|
-
// bazel-out/
|
|
22660
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
22626
22661
|
var import_typescript17 = __toESM(require("typescript"), 1);
|
|
22627
22662
|
function isNamedClassDeclaration(node) {
|
|
22628
22663
|
return import_typescript17.default.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -22631,7 +22666,7 @@ function isIdentifier(node) {
|
|
|
22631
22666
|
return node !== void 0 && import_typescript17.default.isIdentifier(node);
|
|
22632
22667
|
}
|
|
22633
22668
|
|
|
22634
|
-
// bazel-out/
|
|
22669
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
22635
22670
|
var TypeScriptReflectionHost = class {
|
|
22636
22671
|
constructor(checker) {
|
|
22637
22672
|
this.checker = checker;
|
|
@@ -23060,7 +23095,7 @@ function getExportedName(decl, originalId) {
|
|
|
23060
23095
|
}
|
|
23061
23096
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
23062
23097
|
|
|
23063
|
-
// bazel-out/
|
|
23098
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
23064
23099
|
var ClassPropertyMapping = class {
|
|
23065
23100
|
constructor(forwardMap) {
|
|
23066
23101
|
this.forwardMap = forwardMap;
|
|
@@ -23138,7 +23173,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
23138
23173
|
return reverseMap;
|
|
23139
23174
|
}
|
|
23140
23175
|
|
|
23141
|
-
// bazel-out/
|
|
23176
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
23142
23177
|
var import_typescript20 = __toESM(require("typescript"), 1);
|
|
23143
23178
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
23144
23179
|
if (!import_typescript20.default.isTupleTypeNode(def)) {
|
|
@@ -23323,7 +23358,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
23323
23358
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
23324
23359
|
}
|
|
23325
23360
|
|
|
23326
|
-
// bazel-out/
|
|
23361
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
23327
23362
|
var DtsMetadataReader = class {
|
|
23328
23363
|
constructor(checker, reflector) {
|
|
23329
23364
|
this.checker = checker;
|
|
@@ -23498,7 +23533,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
23498
23533
|
return result.length > 0 ? result : null;
|
|
23499
23534
|
}
|
|
23500
23535
|
|
|
23501
|
-
// bazel-out/
|
|
23536
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
23502
23537
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
23503
23538
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
23504
23539
|
if (topMeta === null) {
|
|
@@ -23555,7 +23590,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
23555
23590
|
});
|
|
23556
23591
|
}
|
|
23557
23592
|
|
|
23558
|
-
// bazel-out/
|
|
23593
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
23559
23594
|
var LocalMetadataRegistry = class {
|
|
23560
23595
|
constructor() {
|
|
23561
23596
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -23612,7 +23647,7 @@ var CompoundMetadataRegistry = class {
|
|
|
23612
23647
|
}
|
|
23613
23648
|
};
|
|
23614
23649
|
|
|
23615
|
-
// bazel-out/
|
|
23650
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
23616
23651
|
var ResourceRegistry = class {
|
|
23617
23652
|
constructor() {
|
|
23618
23653
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -23677,7 +23712,7 @@ var ResourceRegistry = class {
|
|
|
23677
23712
|
}
|
|
23678
23713
|
};
|
|
23679
23714
|
|
|
23680
|
-
// bazel-out/
|
|
23715
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
|
|
23681
23716
|
var ExportedProviderStatusResolver = class {
|
|
23682
23717
|
constructor(metaReader) {
|
|
23683
23718
|
this.metaReader = metaReader;
|
|
@@ -23721,7 +23756,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
23721
23756
|
}
|
|
23722
23757
|
};
|
|
23723
23758
|
|
|
23724
|
-
// bazel-out/
|
|
23759
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
23725
23760
|
var EMPTY_ARRAY = [];
|
|
23726
23761
|
var HostDirectivesResolver = class {
|
|
23727
23762
|
constructor(metaReader) {
|
|
@@ -23782,10 +23817,10 @@ function resolveOutput(bindingName) {
|
|
|
23782
23817
|
return bindingName;
|
|
23783
23818
|
}
|
|
23784
23819
|
|
|
23785
|
-
// bazel-out/
|
|
23820
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
23786
23821
|
var import_typescript24 = __toESM(require("typescript"), 1);
|
|
23787
23822
|
|
|
23788
|
-
// bazel-out/
|
|
23823
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
23789
23824
|
var DynamicValue = class {
|
|
23790
23825
|
constructor(node, reason, code) {
|
|
23791
23826
|
this.node = node;
|
|
@@ -23875,7 +23910,7 @@ var DynamicValue = class {
|
|
|
23875
23910
|
}
|
|
23876
23911
|
};
|
|
23877
23912
|
|
|
23878
|
-
// bazel-out/
|
|
23913
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
23879
23914
|
var ResolvedModule = class {
|
|
23880
23915
|
constructor(exports, evaluate) {
|
|
23881
23916
|
this.exports = exports;
|
|
@@ -23905,7 +23940,7 @@ var EnumValue = class {
|
|
|
23905
23940
|
var KnownFn = class {
|
|
23906
23941
|
};
|
|
23907
23942
|
|
|
23908
|
-
// bazel-out/
|
|
23943
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
23909
23944
|
function describeResolvedType(value, maxDepth = 1) {
|
|
23910
23945
|
var _a2, _b2;
|
|
23911
23946
|
if (value === null) {
|
|
@@ -24034,10 +24069,10 @@ function getContainerNode(node) {
|
|
|
24034
24069
|
return node.getSourceFile();
|
|
24035
24070
|
}
|
|
24036
24071
|
|
|
24037
|
-
// bazel-out/
|
|
24072
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
24038
24073
|
var import_typescript25 = __toESM(require("typescript"), 1);
|
|
24039
24074
|
|
|
24040
|
-
// bazel-out/
|
|
24075
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
24041
24076
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
24042
24077
|
constructor(lhs) {
|
|
24043
24078
|
super();
|
|
@@ -24089,14 +24124,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
|
|
|
24089
24124
|
}
|
|
24090
24125
|
};
|
|
24091
24126
|
|
|
24092
|
-
// bazel-out/
|
|
24127
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
24093
24128
|
var SyntheticValue = class {
|
|
24094
24129
|
constructor(value) {
|
|
24095
24130
|
this.value = value;
|
|
24096
24131
|
}
|
|
24097
24132
|
};
|
|
24098
24133
|
|
|
24099
|
-
// bazel-out/
|
|
24134
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
24100
24135
|
function literalBinaryOp(op) {
|
|
24101
24136
|
return { op, literal: true };
|
|
24102
24137
|
}
|
|
@@ -24674,7 +24709,7 @@ function getOriginalKeywordKind(identifier) {
|
|
|
24674
24709
|
return typeof import_typescript25.default.identifierToKeywordKind === "function" ? import_typescript25.default.identifierToKeywordKind(identifier) : identifier.originalKeywordKind;
|
|
24675
24710
|
}
|
|
24676
24711
|
|
|
24677
|
-
// bazel-out/
|
|
24712
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
24678
24713
|
var PartialEvaluator = class {
|
|
24679
24714
|
constructor(host, checker, dependencyTracker) {
|
|
24680
24715
|
this.host = host;
|
|
@@ -24694,7 +24729,7 @@ var PartialEvaluator = class {
|
|
|
24694
24729
|
}
|
|
24695
24730
|
};
|
|
24696
24731
|
|
|
24697
|
-
// bazel-out/
|
|
24732
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
24698
24733
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
24699
24734
|
const context = [];
|
|
24700
24735
|
for (const decl of data) {
|
|
@@ -24890,7 +24925,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
|
|
|
24890
24925
|
return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${kind.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of ${baseClassName}'s constructor. Either add a @${baseNeedsDecorator} decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
|
|
24891
24926
|
}
|
|
24892
24927
|
|
|
24893
|
-
// bazel-out/
|
|
24928
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
24894
24929
|
var import_typescript29 = __toESM(require("typescript"), 1);
|
|
24895
24930
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
24896
24931
|
let resolved = null;
|
|
@@ -24923,7 +24958,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
24923
24958
|
return meta;
|
|
24924
24959
|
}
|
|
24925
24960
|
|
|
24926
|
-
// bazel-out/
|
|
24961
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
24927
24962
|
function compileNgFactoryDefField(metadata) {
|
|
24928
24963
|
const res = compileFactoryFunction(metadata);
|
|
24929
24964
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
@@ -24933,7 +24968,7 @@ function compileDeclareFactory(metadata) {
|
|
|
24933
24968
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
24934
24969
|
}
|
|
24935
24970
|
|
|
24936
|
-
// bazel-out/
|
|
24971
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
24937
24972
|
var InjectableClassRegistry = class {
|
|
24938
24973
|
constructor(host, isCore) {
|
|
24939
24974
|
this.host = host;
|
|
@@ -24959,7 +24994,7 @@ var InjectableClassRegistry = class {
|
|
|
24959
24994
|
}
|
|
24960
24995
|
};
|
|
24961
24996
|
|
|
24962
|
-
// bazel-out/
|
|
24997
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
24963
24998
|
var import_typescript30 = __toESM(require("typescript"), 1);
|
|
24964
24999
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
24965
25000
|
if (!reflection.isClass(clazz)) {
|
|
@@ -25045,13 +25080,13 @@ function removeIdentifierReferences(node, name) {
|
|
|
25045
25080
|
return result.transformed[0];
|
|
25046
25081
|
}
|
|
25047
25082
|
|
|
25048
|
-
// bazel-out/
|
|
25083
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
25049
25084
|
var NoopReferencesRegistry = class {
|
|
25050
25085
|
add(source, ...references) {
|
|
25051
25086
|
}
|
|
25052
25087
|
};
|
|
25053
25088
|
|
|
25054
|
-
// bazel-out/
|
|
25089
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
25055
25090
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
25056
25091
|
const schemas = [];
|
|
25057
25092
|
const result = evaluator.evaluate(rawExpr);
|
|
@@ -25080,7 +25115,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
25080
25115
|
return schemas;
|
|
25081
25116
|
}
|
|
25082
25117
|
|
|
25083
|
-
// bazel-out/
|
|
25118
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
|
|
25084
25119
|
function compileInputTransformFields(inputs) {
|
|
25085
25120
|
const extraFields = [];
|
|
25086
25121
|
for (const input of inputs) {
|
|
@@ -25096,10 +25131,10 @@ function compileInputTransformFields(inputs) {
|
|
|
25096
25131
|
return extraFields;
|
|
25097
25132
|
}
|
|
25098
25133
|
|
|
25099
|
-
// bazel-out/
|
|
25134
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
25100
25135
|
var import_typescript51 = __toESM(require("typescript"), 1);
|
|
25101
25136
|
|
|
25102
|
-
// bazel-out/
|
|
25137
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
25103
25138
|
var import_typescript31 = __toESM(require("typescript"), 1);
|
|
25104
25139
|
var SemanticSymbol = class {
|
|
25105
25140
|
constructor(decl) {
|
|
@@ -25115,7 +25150,7 @@ function getSymbolIdentifier(decl) {
|
|
|
25115
25150
|
return decl.name.text;
|
|
25116
25151
|
}
|
|
25117
25152
|
|
|
25118
|
-
// bazel-out/
|
|
25153
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
25119
25154
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
25120
25155
|
isPublicApiAffected() {
|
|
25121
25156
|
return false;
|
|
@@ -25257,10 +25292,10 @@ function getImportPath(expr) {
|
|
|
25257
25292
|
}
|
|
25258
25293
|
}
|
|
25259
25294
|
|
|
25260
|
-
// bazel-out/
|
|
25295
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
25261
25296
|
var import_typescript32 = __toESM(require("typescript"), 1);
|
|
25262
25297
|
|
|
25263
|
-
// bazel-out/
|
|
25298
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
25264
25299
|
function isSymbolEqual(a, b) {
|
|
25265
25300
|
if (a.decl === b.decl) {
|
|
25266
25301
|
return true;
|
|
@@ -25310,7 +25345,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
25310
25345
|
return true;
|
|
25311
25346
|
}
|
|
25312
25347
|
|
|
25313
|
-
// bazel-out/
|
|
25348
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
25314
25349
|
function extractSemanticTypeParameters(node) {
|
|
25315
25350
|
if (!import_typescript32.default.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
25316
25351
|
return null;
|
|
@@ -25330,7 +25365,7 @@ function isTypeParameterEqual(a, b) {
|
|
|
25330
25365
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
25331
25366
|
}
|
|
25332
25367
|
|
|
25333
|
-
// bazel-out/
|
|
25368
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
25334
25369
|
var PerfPhase;
|
|
25335
25370
|
(function(PerfPhase2) {
|
|
25336
25371
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -25397,7 +25432,7 @@ var PerfCheckpoint;
|
|
|
25397
25432
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
25398
25433
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
25399
25434
|
|
|
25400
|
-
// bazel-out/
|
|
25435
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
25401
25436
|
var NoopPerfRecorder = class {
|
|
25402
25437
|
eventCount() {
|
|
25403
25438
|
}
|
|
@@ -25414,7 +25449,7 @@ var NoopPerfRecorder = class {
|
|
|
25414
25449
|
};
|
|
25415
25450
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
25416
25451
|
|
|
25417
|
-
// bazel-out/
|
|
25452
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
25418
25453
|
function mark() {
|
|
25419
25454
|
return process.hrtime();
|
|
25420
25455
|
}
|
|
@@ -25423,7 +25458,7 @@ function timeSinceInMicros(mark2) {
|
|
|
25423
25458
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
25424
25459
|
}
|
|
25425
25460
|
|
|
25426
|
-
// bazel-out/
|
|
25461
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
25427
25462
|
var ActivePerfRecorder = class {
|
|
25428
25463
|
static zeroedToNow() {
|
|
25429
25464
|
return new ActivePerfRecorder(mark());
|
|
@@ -25517,14 +25552,14 @@ var DelegatingPerfRecorder = class {
|
|
|
25517
25552
|
}
|
|
25518
25553
|
};
|
|
25519
25554
|
|
|
25520
|
-
// bazel-out/
|
|
25555
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
25521
25556
|
var ComponentScopeKind;
|
|
25522
25557
|
(function(ComponentScopeKind2) {
|
|
25523
25558
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
25524
25559
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
25525
25560
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
25526
25561
|
|
|
25527
|
-
// bazel-out/
|
|
25562
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
25528
25563
|
var CompoundComponentScopeReader = class {
|
|
25529
25564
|
constructor(readers) {
|
|
25530
25565
|
this.readers = readers;
|
|
@@ -25549,7 +25584,7 @@ var CompoundComponentScopeReader = class {
|
|
|
25549
25584
|
}
|
|
25550
25585
|
};
|
|
25551
25586
|
|
|
25552
|
-
// bazel-out/
|
|
25587
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
25553
25588
|
var MetadataDtsModuleScopeResolver = class {
|
|
25554
25589
|
constructor(dtsMetaReader, aliasingHost) {
|
|
25555
25590
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -25624,10 +25659,10 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
25624
25659
|
}
|
|
25625
25660
|
};
|
|
25626
25661
|
|
|
25627
|
-
// bazel-out/
|
|
25662
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
25628
25663
|
var import_typescript33 = __toESM(require("typescript"), 1);
|
|
25629
25664
|
|
|
25630
|
-
// bazel-out/
|
|
25665
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
25631
25666
|
function getDiagnosticNode(ref, rawExpr) {
|
|
25632
25667
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
25633
25668
|
}
|
|
@@ -25650,7 +25685,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
|
|
|
25650
25685
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
|
|
25651
25686
|
}
|
|
25652
25687
|
|
|
25653
|
-
// bazel-out/
|
|
25688
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
25654
25689
|
var LocalModuleScopeRegistry = class {
|
|
25655
25690
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
25656
25691
|
this.localReader = localReader;
|
|
@@ -25989,7 +26024,7 @@ function reexportCollision(module3, refA, refB) {
|
|
|
25989
26024
|
]);
|
|
25990
26025
|
}
|
|
25991
26026
|
|
|
25992
|
-
// bazel-out/
|
|
26027
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
25993
26028
|
var import_typescript35 = __toESM(require("typescript"), 1);
|
|
25994
26029
|
var TypeCheckScopeRegistry = class {
|
|
25995
26030
|
constructor(scopeReader, metaReader, hostDirectivesResolver) {
|
|
@@ -26057,7 +26092,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
26057
26092
|
}
|
|
26058
26093
|
};
|
|
26059
26094
|
|
|
26060
|
-
// bazel-out/
|
|
26095
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
26061
26096
|
var CompilationMode;
|
|
26062
26097
|
(function(CompilationMode2) {
|
|
26063
26098
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -26071,7 +26106,7 @@ var HandlerPrecedence;
|
|
|
26071
26106
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
26072
26107
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
26073
26108
|
|
|
26074
|
-
// bazel-out/
|
|
26109
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
26075
26110
|
var import_typescript36 = __toESM(require("typescript"), 1);
|
|
26076
26111
|
function aliasTransformFactory(exportStatements) {
|
|
26077
26112
|
return () => {
|
|
@@ -26094,10 +26129,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
26094
26129
|
};
|
|
26095
26130
|
}
|
|
26096
26131
|
|
|
26097
|
-
// bazel-out/
|
|
26132
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
26098
26133
|
var import_typescript37 = __toESM(require("typescript"), 1);
|
|
26099
26134
|
|
|
26100
|
-
// bazel-out/
|
|
26135
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
26101
26136
|
var TraitState;
|
|
26102
26137
|
(function(TraitState2) {
|
|
26103
26138
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -26154,7 +26189,7 @@ var TraitImpl = class {
|
|
|
26154
26189
|
}
|
|
26155
26190
|
};
|
|
26156
26191
|
|
|
26157
|
-
// bazel-out/
|
|
26192
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
26158
26193
|
var TraitCompiler = class {
|
|
26159
26194
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
26160
26195
|
this.handlers = handlers;
|
|
@@ -26589,10 +26624,10 @@ function containsErrors(diagnostics) {
|
|
|
26589
26624
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === import_typescript37.default.DiagnosticCategory.Error);
|
|
26590
26625
|
}
|
|
26591
26626
|
|
|
26592
|
-
// bazel-out/
|
|
26627
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
26593
26628
|
var import_typescript43 = __toESM(require("typescript"), 1);
|
|
26594
26629
|
|
|
26595
|
-
// bazel-out/
|
|
26630
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
26596
26631
|
var Context = class {
|
|
26597
26632
|
constructor(isStatement) {
|
|
26598
26633
|
this.isStatement = isStatement;
|
|
@@ -26605,7 +26640,7 @@ var Context = class {
|
|
|
26605
26640
|
}
|
|
26606
26641
|
};
|
|
26607
26642
|
|
|
26608
|
-
// bazel-out/
|
|
26643
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
26609
26644
|
var import_typescript39 = __toESM(require("typescript"), 1);
|
|
26610
26645
|
var ImportManager = class {
|
|
26611
26646
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -26641,7 +26676,7 @@ var ImportManager = class {
|
|
|
26641
26676
|
}
|
|
26642
26677
|
};
|
|
26643
26678
|
|
|
26644
|
-
// bazel-out/
|
|
26679
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
26645
26680
|
var UNARY_OPERATORS2 = /* @__PURE__ */ new Map([
|
|
26646
26681
|
[UnaryOperator.Minus, "-"],
|
|
26647
26682
|
[UnaryOperator.Plus, "+"]
|
|
@@ -26872,7 +26907,7 @@ function createRange(span) {
|
|
|
26872
26907
|
};
|
|
26873
26908
|
}
|
|
26874
26909
|
|
|
26875
|
-
// bazel-out/
|
|
26910
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
26876
26911
|
var import_typescript40 = __toESM(require("typescript"), 1);
|
|
26877
26912
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
26878
26913
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
@@ -27088,7 +27123,7 @@ var TypeTranslatorVisitor = class {
|
|
|
27088
27123
|
}
|
|
27089
27124
|
};
|
|
27090
27125
|
|
|
27091
|
-
// bazel-out/
|
|
27126
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
27092
27127
|
var import_typescript41 = __toESM(require("typescript"), 1);
|
|
27093
27128
|
var PureAnnotation;
|
|
27094
27129
|
(function(PureAnnotation2) {
|
|
@@ -27271,7 +27306,7 @@ function attachComments(statement, leadingComments) {
|
|
|
27271
27306
|
}
|
|
27272
27307
|
}
|
|
27273
27308
|
|
|
27274
|
-
// bazel-out/
|
|
27309
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
27275
27310
|
function translateExpression(expression, imports, options = {}) {
|
|
27276
27311
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
27277
27312
|
}
|
|
@@ -27279,7 +27314,7 @@ function translateStatement(statement, imports, options = {}) {
|
|
|
27279
27314
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
|
|
27280
27315
|
}
|
|
27281
27316
|
|
|
27282
|
-
// bazel-out/
|
|
27317
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
27283
27318
|
var import_typescript42 = __toESM(require("typescript"), 1);
|
|
27284
27319
|
function addImports(importManager, sf, extraStatements = []) {
|
|
27285
27320
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -27315,7 +27350,7 @@ function isImportStatement(stmt) {
|
|
|
27315
27350
|
return import_typescript42.default.isImportDeclaration(stmt) || import_typescript42.default.isImportEqualsDeclaration(stmt) || import_typescript42.default.isNamespaceImport(stmt);
|
|
27316
27351
|
}
|
|
27317
27352
|
|
|
27318
|
-
// bazel-out/
|
|
27353
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
27319
27354
|
var DtsTransformRegistry = class {
|
|
27320
27355
|
constructor() {
|
|
27321
27356
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -27462,10 +27497,10 @@ function markForEmitAsSingleLine(node) {
|
|
|
27462
27497
|
import_typescript43.default.forEachChild(node, markForEmitAsSingleLine);
|
|
27463
27498
|
}
|
|
27464
27499
|
|
|
27465
|
-
// bazel-out/
|
|
27500
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
27466
27501
|
var import_typescript45 = __toESM(require("typescript"), 1);
|
|
27467
27502
|
|
|
27468
|
-
// bazel-out/
|
|
27503
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
27469
27504
|
var import_typescript44 = __toESM(require("typescript"), 1);
|
|
27470
27505
|
function visit(node, visitor, context) {
|
|
27471
27506
|
return visitor._visit(node, context);
|
|
@@ -27526,7 +27561,7 @@ var Visitor = class {
|
|
|
27526
27561
|
}
|
|
27527
27562
|
};
|
|
27528
27563
|
|
|
27529
|
-
// bazel-out/
|
|
27564
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
27530
27565
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
27531
27566
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
27532
27567
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -27737,7 +27772,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
27737
27772
|
return array;
|
|
27738
27773
|
}
|
|
27739
27774
|
|
|
27740
|
-
// bazel-out/
|
|
27775
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
27741
27776
|
var import_typescript46 = __toESM(require("typescript"), 1);
|
|
27742
27777
|
var EMPTY_OBJECT = {};
|
|
27743
27778
|
var QUERY_TYPES = /* @__PURE__ */ new Set([
|
|
@@ -28300,7 +28335,7 @@ function toR3InputMetadata(mapping) {
|
|
|
28300
28335
|
};
|
|
28301
28336
|
}
|
|
28302
28337
|
|
|
28303
|
-
// bazel-out/
|
|
28338
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
28304
28339
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
28305
28340
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
28306
28341
|
super(decl);
|
|
@@ -28380,7 +28415,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
28380
28415
|
return isSymbolEqual(current, previous);
|
|
28381
28416
|
}
|
|
28382
28417
|
|
|
28383
|
-
// bazel-out/
|
|
28418
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
28384
28419
|
var FIELD_DECORATORS = [
|
|
28385
28420
|
"Input",
|
|
28386
28421
|
"Output",
|
|
@@ -28544,10 +28579,10 @@ var DirectiveDecoratorHandler = class {
|
|
|
28544
28579
|
}
|
|
28545
28580
|
};
|
|
28546
28581
|
|
|
28547
|
-
// bazel-out/
|
|
28582
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
28548
28583
|
var import_typescript48 = __toESM(require("typescript"), 1);
|
|
28549
28584
|
|
|
28550
|
-
// bazel-out/
|
|
28585
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
28551
28586
|
var import_typescript47 = __toESM(require("typescript"), 1);
|
|
28552
28587
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
28553
28588
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -28614,7 +28649,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
28614
28649
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
28615
28650
|
}
|
|
28616
28651
|
|
|
28617
|
-
// bazel-out/
|
|
28652
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
28618
28653
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
28619
28654
|
constructor(decl, hasProviders) {
|
|
28620
28655
|
super(decl);
|
|
@@ -28681,7 +28716,7 @@ var NgModuleSymbol = class extends SemanticSymbol {
|
|
|
28681
28716
|
}
|
|
28682
28717
|
};
|
|
28683
28718
|
var NgModuleDecoratorHandler = class {
|
|
28684
|
-
constructor(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, exportedProviderStatusResolver, semanticDepGraphUpdater, isCore, refEmitter, annotateForClosureCompiler, onlyPublishPublicTypings, injectableRegistry, perf, includeClassMetadata) {
|
|
28719
|
+
constructor(reflector, evaluator, metaReader, metaRegistry, scopeRegistry, referencesRegistry, exportedProviderStatusResolver, semanticDepGraphUpdater, isCore, refEmitter, annotateForClosureCompiler, onlyPublishPublicTypings, injectableRegistry, perf, includeClassMetadata, compilationMode) {
|
|
28685
28720
|
this.reflector = reflector;
|
|
28686
28721
|
this.evaluator = evaluator;
|
|
28687
28722
|
this.metaReader = metaReader;
|
|
@@ -28697,6 +28732,7 @@ var NgModuleDecoratorHandler = class {
|
|
|
28697
28732
|
this.injectableRegistry = injectableRegistry;
|
|
28698
28733
|
this.perf = perf;
|
|
28699
28734
|
this.includeClassMetadata = includeClassMetadata;
|
|
28735
|
+
this.compilationMode = compilationMode;
|
|
28700
28736
|
this.precedence = HandlerPrecedence.PRIMARY;
|
|
28701
28737
|
this.name = "NgModuleDecoratorHandler";
|
|
28702
28738
|
}
|
|
@@ -28716,7 +28752,7 @@ var NgModuleDecoratorHandler = class {
|
|
|
28716
28752
|
}
|
|
28717
28753
|
}
|
|
28718
28754
|
analyze(node, decorator) {
|
|
28719
|
-
var _a2;
|
|
28755
|
+
var _a2, _b2, _c2, _d2, _e2;
|
|
28720
28756
|
this.perf.eventCount(PerfEvent.AnalyzeNgModule);
|
|
28721
28757
|
const name = node.name.text;
|
|
28722
28758
|
if (decorator.args === null || decorator.args.length > 1) {
|
|
@@ -28736,9 +28772,8 @@ var NgModuleDecoratorHandler = class {
|
|
|
28736
28772
|
]);
|
|
28737
28773
|
const diagnostics = [];
|
|
28738
28774
|
let declarationRefs = [];
|
|
28739
|
-
|
|
28740
|
-
if (
|
|
28741
|
-
rawDeclarations = ngModule.get("declarations");
|
|
28775
|
+
const rawDeclarations = (_a2 = ngModule.get("declarations")) != null ? _a2 : null;
|
|
28776
|
+
if (this.compilationMode !== CompilationMode.LOCAL && rawDeclarations !== null) {
|
|
28742
28777
|
const declarationMeta = this.evaluator.evaluate(rawDeclarations, forwardRefResolver);
|
|
28743
28778
|
declarationRefs = this.resolveTypeList(rawDeclarations, declarationMeta, name, "declarations", 0).references;
|
|
28744
28779
|
for (const ref of declarationRefs) {
|
|
@@ -28752,33 +28787,31 @@ var NgModuleDecoratorHandler = class {
|
|
|
28752
28787
|
return { diagnostics };
|
|
28753
28788
|
}
|
|
28754
28789
|
let importRefs = [];
|
|
28755
|
-
let rawImports = null;
|
|
28756
|
-
if (
|
|
28757
|
-
rawImports = ngModule.get("imports");
|
|
28790
|
+
let rawImports = (_b2 = ngModule.get("imports")) != null ? _b2 : null;
|
|
28791
|
+
if (this.compilationMode !== CompilationMode.LOCAL && rawImports !== null) {
|
|
28758
28792
|
const importsMeta = this.evaluator.evaluate(rawImports, moduleResolvers);
|
|
28759
28793
|
importRefs = this.resolveTypeList(rawImports, importsMeta, name, "imports", 0).references;
|
|
28760
28794
|
}
|
|
28761
28795
|
let exportRefs = [];
|
|
28762
|
-
|
|
28763
|
-
if (
|
|
28764
|
-
rawExports = ngModule.get("exports");
|
|
28796
|
+
const rawExports = (_c2 = ngModule.get("exports")) != null ? _c2 : null;
|
|
28797
|
+
if (this.compilationMode !== CompilationMode.LOCAL && rawExports !== null) {
|
|
28765
28798
|
const exportsMeta = this.evaluator.evaluate(rawExports, moduleResolvers);
|
|
28766
28799
|
exportRefs = this.resolveTypeList(rawExports, exportsMeta, name, "exports", 0).references;
|
|
28767
28800
|
this.referencesRegistry.add(node, ...exportRefs);
|
|
28768
28801
|
}
|
|
28769
28802
|
let bootstrapRefs = [];
|
|
28770
|
-
|
|
28771
|
-
|
|
28772
|
-
const bootstrapMeta = this.evaluator.evaluate(
|
|
28773
|
-
bootstrapRefs = this.resolveTypeList(
|
|
28803
|
+
const rawBootstrap = (_d2 = ngModule.get("bootstrap")) != null ? _d2 : null;
|
|
28804
|
+
if (this.compilationMode !== CompilationMode.LOCAL && rawBootstrap !== null) {
|
|
28805
|
+
const bootstrapMeta = this.evaluator.evaluate(rawBootstrap, forwardRefResolver);
|
|
28806
|
+
bootstrapRefs = this.resolveTypeList(rawBootstrap, bootstrapMeta, name, "bootstrap", 0).references;
|
|
28774
28807
|
for (const ref of bootstrapRefs) {
|
|
28775
28808
|
const dirMeta = this.metaReader.getDirectiveMetadata(ref);
|
|
28776
28809
|
if (dirMeta == null ? void 0 : dirMeta.isStandalone) {
|
|
28777
|
-
diagnostics.push(makeStandaloneBootstrapDiagnostic(node, ref,
|
|
28810
|
+
diagnostics.push(makeStandaloneBootstrapDiagnostic(node, ref, rawBootstrap));
|
|
28778
28811
|
}
|
|
28779
28812
|
}
|
|
28780
28813
|
}
|
|
28781
|
-
const schemas = ngModule.has("schemas") ? extractSchemas(ngModule.get("schemas"), this.evaluator, "NgModule") : [];
|
|
28814
|
+
const schemas = this.compilationMode !== CompilationMode.LOCAL && ngModule.has("schemas") ? extractSchemas(ngModule.get("schemas"), this.evaluator, "NgModule") : [];
|
|
28782
28815
|
let id = null;
|
|
28783
28816
|
if (ngModule.has("id")) {
|
|
28784
28817
|
const idExpr = ngModule.get("id");
|
|
@@ -28807,26 +28840,42 @@ var NgModuleDecoratorHandler = class {
|
|
|
28807
28840
|
const isForwardReference = (ref) => isExpressionForwardReference(ref.value, node.name, valueContext);
|
|
28808
28841
|
const containsForwardDecls = bootstrap.some(isForwardReference) || declarations.some(isForwardReference) || imports.some(isForwardReference) || exports.some(isForwardReference);
|
|
28809
28842
|
const type = wrapTypeReference(this.reflector, node);
|
|
28810
|
-
|
|
28811
|
-
|
|
28812
|
-
|
|
28813
|
-
|
|
28814
|
-
|
|
28815
|
-
|
|
28816
|
-
|
|
28817
|
-
|
|
28818
|
-
|
|
28819
|
-
|
|
28820
|
-
|
|
28821
|
-
|
|
28822
|
-
|
|
28843
|
+
let ngModuleMetadata;
|
|
28844
|
+
if (this.compilationMode === CompilationMode.LOCAL) {
|
|
28845
|
+
ngModuleMetadata = {
|
|
28846
|
+
kind: R3NgModuleMetadataKind.Local,
|
|
28847
|
+
type,
|
|
28848
|
+
bootstrapExpression: rawBootstrap ? new WrappedNodeExpr(rawBootstrap) : null,
|
|
28849
|
+
declarationsExpression: rawDeclarations ? new WrappedNodeExpr(rawDeclarations) : null,
|
|
28850
|
+
exportsExpression: rawExports ? new WrappedNodeExpr(rawExports) : null,
|
|
28851
|
+
importsExpression: rawImports ? new WrappedNodeExpr(rawImports) : null,
|
|
28852
|
+
id,
|
|
28853
|
+
selectorScopeMode: R3SelectorScopeMode.SideEffect,
|
|
28854
|
+
schemas: []
|
|
28855
|
+
};
|
|
28856
|
+
} else {
|
|
28857
|
+
ngModuleMetadata = {
|
|
28858
|
+
kind: R3NgModuleMetadataKind.Global,
|
|
28859
|
+
type,
|
|
28860
|
+
bootstrap,
|
|
28861
|
+
declarations,
|
|
28862
|
+
publicDeclarationTypes: this.onlyPublishPublicTypings ? exportedDeclarations : null,
|
|
28863
|
+
exports,
|
|
28864
|
+
imports,
|
|
28865
|
+
includeImportTypes: !this.onlyPublishPublicTypings,
|
|
28866
|
+
containsForwardDecls,
|
|
28867
|
+
id,
|
|
28868
|
+
selectorScopeMode: R3SelectorScopeMode.SideEffect,
|
|
28869
|
+
schemas: []
|
|
28870
|
+
};
|
|
28871
|
+
}
|
|
28823
28872
|
const rawProviders = ngModule.has("providers") ? ngModule.get("providers") : null;
|
|
28824
28873
|
let wrappedProviders = null;
|
|
28825
28874
|
if (rawProviders !== null && (!import_typescript48.default.isArrayLiteralExpression(rawProviders) || rawProviders.elements.length > 0)) {
|
|
28826
28875
|
wrappedProviders = new WrappedNodeExpr(this.annotateForClosureCompiler ? wrapFunctionExpressionsInParens(rawProviders) : rawProviders);
|
|
28827
28876
|
}
|
|
28828
28877
|
const topLevelImports = [];
|
|
28829
|
-
if (ngModule.has("imports")) {
|
|
28878
|
+
if (this.compilationMode !== CompilationMode.LOCAL && ngModule.has("imports")) {
|
|
28830
28879
|
const rawImports2 = unwrapExpression(ngModule.get("imports"));
|
|
28831
28880
|
let topLevelExpressions = [];
|
|
28832
28881
|
if (import_typescript48.default.isArrayLiteralExpression(rawImports2)) {
|
|
@@ -28885,7 +28934,7 @@ var NgModuleDecoratorHandler = class {
|
|
|
28885
28934
|
classMetadata: this.includeClassMetadata ? extractClassMetadata(node, this.reflector, this.isCore, this.annotateForClosureCompiler) : null,
|
|
28886
28935
|
factorySymbolName: node.name.text,
|
|
28887
28936
|
remoteScopesMayRequireCycleProtection,
|
|
28888
|
-
decorator: (
|
|
28937
|
+
decorator: (_e2 = decorator == null ? void 0 : decorator.node) != null ? _e2 : null
|
|
28889
28938
|
}
|
|
28890
28939
|
};
|
|
28891
28940
|
}
|
|
@@ -29137,7 +29186,7 @@ function isSyntheticReference(ref) {
|
|
|
29137
29186
|
return ref.synthetic;
|
|
29138
29187
|
}
|
|
29139
29188
|
|
|
29140
|
-
// bazel-out/
|
|
29189
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
29141
29190
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
29142
29191
|
const name = ref.debugName || "(unknown)";
|
|
29143
29192
|
const path3 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -29160,7 +29209,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
29160
29209
|
return null;
|
|
29161
29210
|
}
|
|
29162
29211
|
|
|
29163
|
-
// bazel-out/
|
|
29212
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
29164
29213
|
var import_typescript50 = __toESM(require("typescript"), 1);
|
|
29165
29214
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
29166
29215
|
return declaration.isInline ? declaration.expression : declaration.templateUrlExpression;
|
|
@@ -29470,7 +29519,7 @@ function _extractTemplateStyleUrls(template2) {
|
|
|
29470
29519
|
return template2.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
|
|
29471
29520
|
}
|
|
29472
29521
|
|
|
29473
|
-
// bazel-out/
|
|
29522
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
29474
29523
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
29475
29524
|
constructor() {
|
|
29476
29525
|
super(...arguments);
|
|
@@ -29505,7 +29554,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
29505
29554
|
}
|
|
29506
29555
|
};
|
|
29507
29556
|
|
|
29508
|
-
// bazel-out/
|
|
29557
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
29509
29558
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
29510
29559
|
if (value instanceof Map) {
|
|
29511
29560
|
const name = value.get("name");
|
|
@@ -29581,7 +29630,7 @@ function isLikelyModuleWithProviders(value) {
|
|
|
29581
29630
|
return false;
|
|
29582
29631
|
}
|
|
29583
29632
|
|
|
29584
|
-
// bazel-out/
|
|
29633
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
29585
29634
|
var EMPTY_ARRAY2 = [];
|
|
29586
29635
|
var ComponentDecoratorHandler = class {
|
|
29587
29636
|
constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver, includeClassMetadata) {
|
|
@@ -30233,7 +30282,7 @@ function validateStandaloneImports(importRefs, importExpr2, metaReader, scopeRea
|
|
|
30233
30282
|
return diagnostics;
|
|
30234
30283
|
}
|
|
30235
30284
|
|
|
30236
|
-
// bazel-out/
|
|
30285
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
30237
30286
|
var import_typescript53 = __toESM(require("typescript"), 1);
|
|
30238
30287
|
var InjectableDecoratorHandler = class {
|
|
30239
30288
|
constructor(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, perf, includeClassMetadata, errorOnDuplicateProv = true) {
|
|
@@ -30448,7 +30497,7 @@ function getDep(dep, reflector) {
|
|
|
30448
30497
|
return meta;
|
|
30449
30498
|
}
|
|
30450
30499
|
|
|
30451
|
-
// bazel-out/
|
|
30500
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
30452
30501
|
var import_typescript54 = __toESM(require("typescript"), 1);
|
|
30453
30502
|
var PipeSymbol = class extends SemanticSymbol {
|
|
30454
30503
|
constructor(decl, name) {
|
|
@@ -30592,7 +30641,7 @@ var PipeDecoratorHandler = class {
|
|
|
30592
30641
|
}
|
|
30593
30642
|
};
|
|
30594
30643
|
|
|
30595
|
-
// bazel-out/
|
|
30644
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
30596
30645
|
var CycleAnalyzer = class {
|
|
30597
30646
|
constructor(importGraph) {
|
|
30598
30647
|
this.importGraph = importGraph;
|
|
@@ -30663,7 +30712,7 @@ var Cycle = class {
|
|
|
30663
30712
|
}
|
|
30664
30713
|
};
|
|
30665
30714
|
|
|
30666
|
-
// bazel-out/
|
|
30715
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
30667
30716
|
var import_typescript55 = __toESM(require("typescript"), 1);
|
|
30668
30717
|
var ImportGraph = class {
|
|
30669
30718
|
constructor(checker, perf) {
|
|
@@ -30755,7 +30804,7 @@ var Found = class {
|
|
|
30755
30804
|
}
|
|
30756
30805
|
};
|
|
30757
30806
|
|
|
30758
|
-
// bazel-out/
|
|
30807
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
30759
30808
|
var import_typescript56 = __toESM(require("typescript"), 1);
|
|
30760
30809
|
var FlatIndexGenerator = class {
|
|
30761
30810
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -30780,7 +30829,7 @@ export * from '${relativeEntryPoint}';
|
|
|
30780
30829
|
}
|
|
30781
30830
|
};
|
|
30782
30831
|
|
|
30783
|
-
// bazel-out/
|
|
30832
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
30784
30833
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
30785
30834
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
30786
30835
|
let resolvedEntryPoint = null;
|
|
@@ -30796,7 +30845,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
30796
30845
|
return resolvedEntryPoint;
|
|
30797
30846
|
}
|
|
30798
30847
|
|
|
30799
|
-
// bazel-out/
|
|
30848
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
30800
30849
|
var import_typescript58 = __toESM(require("typescript"), 1);
|
|
30801
30850
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
30802
30851
|
const diagnostics = [];
|
|
@@ -30876,7 +30925,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
30876
30925
|
}
|
|
30877
30926
|
}
|
|
30878
30927
|
|
|
30879
|
-
// bazel-out/
|
|
30928
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
30880
30929
|
var ReferenceGraph = class {
|
|
30881
30930
|
constructor() {
|
|
30882
30931
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -30930,7 +30979,7 @@ var ReferenceGraph = class {
|
|
|
30930
30979
|
}
|
|
30931
30980
|
};
|
|
30932
30981
|
|
|
30933
|
-
// bazel-out/
|
|
30982
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
30934
30983
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
30935
30984
|
var UpdateMode;
|
|
30936
30985
|
(function(UpdateMode2) {
|
|
@@ -30938,13 +30987,13 @@ var UpdateMode;
|
|
|
30938
30987
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
30939
30988
|
})(UpdateMode || (UpdateMode = {}));
|
|
30940
30989
|
|
|
30941
|
-
// bazel-out/
|
|
30990
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
30942
30991
|
var import_typescript62 = __toESM(require("typescript"), 1);
|
|
30943
30992
|
|
|
30944
|
-
// bazel-out/
|
|
30993
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
30945
30994
|
var import_typescript59 = __toESM(require("typescript"), 1);
|
|
30946
30995
|
|
|
30947
|
-
// bazel-out/
|
|
30996
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
30948
30997
|
var NgExtension = Symbol("NgExtension");
|
|
30949
30998
|
function isExtended(sf) {
|
|
30950
30999
|
return sf[NgExtension] !== void 0;
|
|
@@ -31004,13 +31053,13 @@ function retagTsFile(sf) {
|
|
|
31004
31053
|
}
|
|
31005
31054
|
}
|
|
31006
31055
|
|
|
31007
|
-
// bazel-out/
|
|
31056
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
31008
31057
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
31009
31058
|
function makeShimFileName(fileName, suffix) {
|
|
31010
31059
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
31011
31060
|
}
|
|
31012
31061
|
|
|
31013
|
-
// bazel-out/
|
|
31062
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
31014
31063
|
var ShimAdapter = class {
|
|
31015
31064
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
31016
31065
|
this.delegate = delegate;
|
|
@@ -31105,7 +31154,7 @@ var ShimAdapter = class {
|
|
|
31105
31154
|
}
|
|
31106
31155
|
};
|
|
31107
31156
|
|
|
31108
|
-
// bazel-out/
|
|
31157
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
31109
31158
|
var ShimReferenceTagger = class {
|
|
31110
31159
|
constructor(shimExtensions) {
|
|
31111
31160
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -31139,7 +31188,7 @@ var ShimReferenceTagger = class {
|
|
|
31139
31188
|
}
|
|
31140
31189
|
};
|
|
31141
31190
|
|
|
31142
|
-
// bazel-out/
|
|
31191
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
31143
31192
|
var DelegatingCompilerHost = class {
|
|
31144
31193
|
constructor(delegate) {
|
|
31145
31194
|
this.delegate = delegate;
|
|
@@ -31252,7 +31301,7 @@ var TsCreateProgramDriver = class {
|
|
|
31252
31301
|
}
|
|
31253
31302
|
};
|
|
31254
31303
|
|
|
31255
|
-
// bazel-out/
|
|
31304
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
31256
31305
|
var FileDependencyGraph = class {
|
|
31257
31306
|
constructor() {
|
|
31258
31307
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -31319,7 +31368,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
31319
31368
|
return false;
|
|
31320
31369
|
}
|
|
31321
31370
|
|
|
31322
|
-
// bazel-out/
|
|
31371
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
31323
31372
|
var IncrementalStateKind;
|
|
31324
31373
|
(function(IncrementalStateKind2) {
|
|
31325
31374
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -31327,7 +31376,7 @@ var IncrementalStateKind;
|
|
|
31327
31376
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
31328
31377
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
31329
31378
|
|
|
31330
|
-
// bazel-out/
|
|
31379
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
31331
31380
|
var PhaseKind;
|
|
31332
31381
|
(function(PhaseKind2) {
|
|
31333
31382
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -31528,7 +31577,7 @@ function toOriginalSourceFile(sf) {
|
|
|
31528
31577
|
}
|
|
31529
31578
|
}
|
|
31530
31579
|
|
|
31531
|
-
// bazel-out/
|
|
31580
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
31532
31581
|
var TrackedIncrementalBuildStrategy = class {
|
|
31533
31582
|
constructor() {
|
|
31534
31583
|
this.state = null;
|
|
@@ -31549,7 +31598,7 @@ var TrackedIncrementalBuildStrategy = class {
|
|
|
31549
31598
|
};
|
|
31550
31599
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
31551
31600
|
|
|
31552
|
-
// bazel-out/
|
|
31601
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
31553
31602
|
var IdentifierKind;
|
|
31554
31603
|
(function(IdentifierKind2) {
|
|
31555
31604
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -31567,7 +31616,7 @@ var AbsoluteSourceSpan2 = class {
|
|
|
31567
31616
|
}
|
|
31568
31617
|
};
|
|
31569
31618
|
|
|
31570
|
-
// bazel-out/
|
|
31619
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
31571
31620
|
var IndexingContext = class {
|
|
31572
31621
|
constructor() {
|
|
31573
31622
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -31577,7 +31626,7 @@ var IndexingContext = class {
|
|
|
31577
31626
|
}
|
|
31578
31627
|
};
|
|
31579
31628
|
|
|
31580
|
-
// bazel-out/
|
|
31629
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
31581
31630
|
var ExpressionVisitor = class extends RecursiveAstVisitor2 {
|
|
31582
31631
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
31583
31632
|
super();
|
|
@@ -31813,7 +31862,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
31813
31862
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
31814
31863
|
}
|
|
31815
31864
|
|
|
31816
|
-
// bazel-out/
|
|
31865
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
31817
31866
|
function generateAnalysis(context) {
|
|
31818
31867
|
const analysis = /* @__PURE__ */ new Map();
|
|
31819
31868
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -31849,7 +31898,7 @@ function generateAnalysis(context) {
|
|
|
31849
31898
|
return analysis;
|
|
31850
31899
|
}
|
|
31851
31900
|
|
|
31852
|
-
// bazel-out/
|
|
31901
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
31853
31902
|
var NgModuleIndexImpl = class {
|
|
31854
31903
|
constructor(metaReader, localReader) {
|
|
31855
31904
|
this.metaReader = metaReader;
|
|
@@ -31938,7 +31987,7 @@ var NgModuleIndexImpl = class {
|
|
|
31938
31987
|
}
|
|
31939
31988
|
};
|
|
31940
31989
|
|
|
31941
|
-
// bazel-out/
|
|
31990
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
31942
31991
|
var import_typescript65 = __toESM(require("typescript"), 1);
|
|
31943
31992
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
31944
31993
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -32086,7 +32135,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
32086
32135
|
};
|
|
32087
32136
|
}
|
|
32088
32137
|
|
|
32089
|
-
// bazel-out/
|
|
32138
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
32090
32139
|
var StandaloneComponentScopeReader = class {
|
|
32091
32140
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
32092
32141
|
this.metaReader = metaReader;
|
|
@@ -32164,21 +32213,21 @@ var StandaloneComponentScopeReader = class {
|
|
|
32164
32213
|
}
|
|
32165
32214
|
};
|
|
32166
32215
|
|
|
32167
|
-
// bazel-out/
|
|
32216
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
32168
32217
|
var OptimizeFor;
|
|
32169
32218
|
(function(OptimizeFor2) {
|
|
32170
32219
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
32171
32220
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
32172
32221
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
32173
32222
|
|
|
32174
|
-
// bazel-out/
|
|
32223
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
32175
32224
|
var CompletionKind;
|
|
32176
32225
|
(function(CompletionKind2) {
|
|
32177
32226
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
32178
32227
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
32179
32228
|
})(CompletionKind || (CompletionKind = {}));
|
|
32180
32229
|
|
|
32181
|
-
// bazel-out/
|
|
32230
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
32182
32231
|
var PotentialImportKind;
|
|
32183
32232
|
(function(PotentialImportKind2) {
|
|
32184
32233
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -32190,7 +32239,7 @@ var PotentialImportMode;
|
|
|
32190
32239
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
32191
32240
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
32192
32241
|
|
|
32193
|
-
// bazel-out/
|
|
32242
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
32194
32243
|
var SymbolKind;
|
|
32195
32244
|
(function(SymbolKind2) {
|
|
32196
32245
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -32206,7 +32255,7 @@ var SymbolKind;
|
|
|
32206
32255
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
32207
32256
|
})(SymbolKind || (SymbolKind = {}));
|
|
32208
32257
|
|
|
32209
|
-
// bazel-out/
|
|
32258
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
32210
32259
|
var import_typescript66 = __toESM(require("typescript"), 1);
|
|
32211
32260
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
32212
32261
|
var _a2;
|
|
@@ -32313,7 +32362,7 @@ function parseTemplateAsSourceFile(fileName, template2) {
|
|
|
32313
32362
|
return import_typescript66.default.createSourceFile(fileName, template2, import_typescript66.default.ScriptTarget.Latest, false, import_typescript66.default.ScriptKind.JSX);
|
|
32314
32363
|
}
|
|
32315
32364
|
|
|
32316
|
-
// bazel-out/
|
|
32365
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
32317
32366
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
32318
32367
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
32319
32368
|
function getTemplateId(clazz) {
|
|
@@ -32330,10 +32379,10 @@ function allocateTemplateId(sf) {
|
|
|
32330
32379
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
32331
32380
|
}
|
|
32332
32381
|
|
|
32333
|
-
// bazel-out/
|
|
32382
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
32334
32383
|
var import_typescript68 = __toESM(require("typescript"), 1);
|
|
32335
32384
|
|
|
32336
|
-
// bazel-out/
|
|
32385
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
32337
32386
|
var import_typescript67 = __toESM(require("typescript"), 1);
|
|
32338
32387
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
32339
32388
|
function readSpanComment(node, sourceFile = node.getSourceFile()) {
|
|
@@ -32462,7 +32511,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
32462
32511
|
}) || false;
|
|
32463
32512
|
}
|
|
32464
32513
|
|
|
32465
|
-
// bazel-out/
|
|
32514
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
32466
32515
|
var CompletionEngine = class {
|
|
32467
32516
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
32468
32517
|
this.tcb = tcb;
|
|
@@ -32619,10 +32668,10 @@ var CompletionEngine = class {
|
|
|
32619
32668
|
}
|
|
32620
32669
|
};
|
|
32621
32670
|
|
|
32622
|
-
// bazel-out/
|
|
32671
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
32623
32672
|
var import_typescript83 = __toESM(require("typescript"), 1);
|
|
32624
32673
|
|
|
32625
|
-
// bazel-out/
|
|
32674
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
32626
32675
|
var import_typescript69 = __toESM(require("typescript"), 1);
|
|
32627
32676
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
32628
32677
|
var REMOVE_XHTML_REGEX = /^:xhtml:/;
|
|
@@ -32674,10 +32723,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
32674
32723
|
}
|
|
32675
32724
|
};
|
|
32676
32725
|
|
|
32677
|
-
// bazel-out/
|
|
32726
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
32678
32727
|
var import_typescript76 = __toESM(require("typescript"), 1);
|
|
32679
32728
|
|
|
32680
|
-
// bazel-out/
|
|
32729
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
32681
32730
|
var import_typescript70 = __toESM(require("typescript"), 1);
|
|
32682
32731
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
32683
32732
|
import_typescript70.default.SyntaxKind.ParenthesizedExpression,
|
|
@@ -32751,16 +32800,16 @@ function isAccessExpression(node) {
|
|
|
32751
32800
|
return import_typescript70.default.isPropertyAccessExpression(node) || import_typescript70.default.isElementAccessExpression(node);
|
|
32752
32801
|
}
|
|
32753
32802
|
|
|
32754
|
-
// bazel-out/
|
|
32803
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
32755
32804
|
var import_typescript75 = __toESM(require("typescript"), 1);
|
|
32756
32805
|
|
|
32757
|
-
// bazel-out/
|
|
32806
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
32758
32807
|
var import_typescript73 = __toESM(require("typescript"), 1);
|
|
32759
32808
|
|
|
32760
|
-
// bazel-out/
|
|
32809
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
32761
32810
|
var import_typescript72 = __toESM(require("typescript"), 1);
|
|
32762
32811
|
|
|
32763
|
-
// bazel-out/
|
|
32812
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
32764
32813
|
var import_typescript71 = __toESM(require("typescript"), 1);
|
|
32765
32814
|
var INELIGIBLE = {};
|
|
32766
32815
|
function canEmitType(type, canEmit) {
|
|
@@ -32835,7 +32884,7 @@ var TypeEmitter = class {
|
|
|
32835
32884
|
}
|
|
32836
32885
|
};
|
|
32837
32886
|
|
|
32838
|
-
// bazel-out/
|
|
32887
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
32839
32888
|
var TypeParameterEmitter = class {
|
|
32840
32889
|
constructor(typeParameters, reflector) {
|
|
32841
32890
|
this.typeParameters = typeParameters;
|
|
@@ -32912,7 +32961,7 @@ var TypeParameterEmitter = class {
|
|
|
32912
32961
|
}
|
|
32913
32962
|
};
|
|
32914
32963
|
|
|
32915
|
-
// bazel-out/
|
|
32964
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
32916
32965
|
var TcbInliningRequirement;
|
|
32917
32966
|
(function(TcbInliningRequirement2) {
|
|
32918
32967
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -32992,7 +33041,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
32992
33041
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
32993
33042
|
}
|
|
32994
33043
|
|
|
32995
|
-
// bazel-out/
|
|
33044
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
32996
33045
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
32997
33046
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
32998
33047
|
const rawType = import_typescript75.default.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -33103,7 +33152,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
33103
33152
|
});
|
|
33104
33153
|
}
|
|
33105
33154
|
|
|
33106
|
-
// bazel-out/
|
|
33155
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
33107
33156
|
var Environment = class {
|
|
33108
33157
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
33109
33158
|
this.config = config;
|
|
@@ -33197,7 +33246,7 @@ var Environment = class {
|
|
|
33197
33246
|
}
|
|
33198
33247
|
};
|
|
33199
33248
|
|
|
33200
|
-
// bazel-out/
|
|
33249
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
33201
33250
|
var import_typescript77 = __toESM(require("typescript"), 1);
|
|
33202
33251
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
33203
33252
|
constructor(resolver) {
|
|
@@ -33332,7 +33381,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
33332
33381
|
});
|
|
33333
33382
|
}
|
|
33334
33383
|
|
|
33335
|
-
// bazel-out/
|
|
33384
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
33336
33385
|
var import_typescript78 = __toESM(require("typescript"), 1);
|
|
33337
33386
|
var TypeCheckShimGenerator = class {
|
|
33338
33387
|
constructor() {
|
|
@@ -33350,10 +33399,10 @@ var TypeCheckShimGenerator = class {
|
|
|
33350
33399
|
}
|
|
33351
33400
|
};
|
|
33352
33401
|
|
|
33353
|
-
// bazel-out/
|
|
33402
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
33354
33403
|
var import_typescript81 = __toESM(require("typescript"), 1);
|
|
33355
33404
|
|
|
33356
|
-
// bazel-out/
|
|
33405
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
33357
33406
|
var import_typescript79 = __toESM(require("typescript"), 1);
|
|
33358
33407
|
function wrapForDiagnostics(expr) {
|
|
33359
33408
|
return import_typescript79.default.factory.createParenthesizedExpression(expr);
|
|
@@ -33398,7 +33447,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
33398
33447
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
33399
33448
|
}
|
|
33400
33449
|
|
|
33401
|
-
// bazel-out/
|
|
33450
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
33402
33451
|
var import_typescript80 = __toESM(require("typescript"), 1);
|
|
33403
33452
|
var NULL_AS_ANY = import_typescript80.default.factory.createAsExpression(import_typescript80.default.factory.createNull(), import_typescript80.default.factory.createKeywordTypeNode(import_typescript80.default.SyntaxKind.AnyKeyword));
|
|
33404
33453
|
var UNDEFINED = import_typescript80.default.factory.createIdentifier("undefined");
|
|
@@ -33730,7 +33779,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
33730
33779
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
33731
33780
|
})();
|
|
33732
33781
|
|
|
33733
|
-
// bazel-out/
|
|
33782
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
33734
33783
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
33735
33784
|
constructor(templateId, boundTarget, oob) {
|
|
33736
33785
|
super();
|
|
@@ -33753,7 +33802,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
33753
33802
|
}
|
|
33754
33803
|
};
|
|
33755
33804
|
|
|
33756
|
-
// bazel-out/
|
|
33805
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
33757
33806
|
var TcbGenericContextBehavior;
|
|
33758
33807
|
(function(TcbGenericContextBehavior2) {
|
|
33759
33808
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -34880,7 +34929,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
34880
34929
|
}
|
|
34881
34930
|
};
|
|
34882
34931
|
|
|
34883
|
-
// bazel-out/
|
|
34932
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
34884
34933
|
var import_typescript82 = __toESM(require("typescript"), 1);
|
|
34885
34934
|
var TypeCheckFile = class extends Environment {
|
|
34886
34935
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -34916,7 +34965,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
34916
34965
|
}
|
|
34917
34966
|
};
|
|
34918
34967
|
|
|
34919
|
-
// bazel-out/
|
|
34968
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
34920
34969
|
var InliningMode;
|
|
34921
34970
|
(function(InliningMode2) {
|
|
34922
34971
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -35153,7 +35202,7 @@ function splitStringAtPoints(str, points) {
|
|
|
35153
35202
|
return splits;
|
|
35154
35203
|
}
|
|
35155
35204
|
|
|
35156
|
-
// bazel-out/
|
|
35205
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
35157
35206
|
var LF_CHAR = 10;
|
|
35158
35207
|
var CR_CHAR = 13;
|
|
35159
35208
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -35194,7 +35243,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
35194
35243
|
return low - 1;
|
|
35195
35244
|
}
|
|
35196
35245
|
|
|
35197
|
-
// bazel-out/
|
|
35246
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
35198
35247
|
var TemplateSource = class {
|
|
35199
35248
|
constructor(mapping, file) {
|
|
35200
35249
|
this.mapping = mapping;
|
|
@@ -35245,7 +35294,7 @@ var TemplateSourceManager = class {
|
|
|
35245
35294
|
}
|
|
35246
35295
|
};
|
|
35247
35296
|
|
|
35248
|
-
// bazel-out/
|
|
35297
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
35249
35298
|
var import_typescript84 = __toESM(require("typescript"), 1);
|
|
35250
35299
|
var SymbolBuilder = class {
|
|
35251
35300
|
constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
|
|
@@ -35722,7 +35771,7 @@ function sourceSpanEqual(a, b) {
|
|
|
35722
35771
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
35723
35772
|
}
|
|
35724
35773
|
|
|
35725
|
-
// bazel-out/
|
|
35774
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
35726
35775
|
var REGISTRY2 = new DomElementSchemaRegistry();
|
|
35727
35776
|
var TemplateTypeCheckerImpl = class {
|
|
35728
35777
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -36418,7 +36467,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
36418
36467
|
}
|
|
36419
36468
|
};
|
|
36420
36469
|
|
|
36421
|
-
// bazel-out/
|
|
36470
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
36422
36471
|
var TemplateCheckWithVisitor = class {
|
|
36423
36472
|
run(ctx, component, template2) {
|
|
36424
36473
|
const visitor = new TemplateVisitor2(ctx, component, this);
|
|
@@ -36494,7 +36543,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
36494
36543
|
}
|
|
36495
36544
|
};
|
|
36496
36545
|
|
|
36497
|
-
// bazel-out/
|
|
36546
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
36498
36547
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
36499
36548
|
constructor() {
|
|
36500
36549
|
super(...arguments);
|
|
@@ -36519,7 +36568,7 @@ var factory = {
|
|
|
36519
36568
|
create: () => new InvalidBananaInBoxCheck()
|
|
36520
36569
|
};
|
|
36521
36570
|
|
|
36522
|
-
// bazel-out/
|
|
36571
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
36523
36572
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
36524
36573
|
["ngIf", "NgIf"],
|
|
36525
36574
|
["ngFor", "NgFor"],
|
|
@@ -36563,7 +36612,7 @@ var factory2 = {
|
|
|
36563
36612
|
}
|
|
36564
36613
|
};
|
|
36565
36614
|
|
|
36566
|
-
// bazel-out/
|
|
36615
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
36567
36616
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
36568
36617
|
constructor() {
|
|
36569
36618
|
super(...arguments);
|
|
@@ -36595,7 +36644,7 @@ var factory3 = {
|
|
|
36595
36644
|
create: () => new MissingNgForOfLetCheck()
|
|
36596
36645
|
};
|
|
36597
36646
|
|
|
36598
|
-
// bazel-out/
|
|
36647
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
36599
36648
|
var import_typescript87 = __toESM(require("typescript"), 1);
|
|
36600
36649
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
36601
36650
|
constructor() {
|
|
@@ -36639,7 +36688,7 @@ var factory4 = {
|
|
|
36639
36688
|
}
|
|
36640
36689
|
};
|
|
36641
36690
|
|
|
36642
|
-
// bazel-out/
|
|
36691
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
36643
36692
|
var import_typescript88 = __toESM(require("typescript"), 1);
|
|
36644
36693
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
36645
36694
|
constructor() {
|
|
@@ -36684,7 +36733,7 @@ var factory5 = {
|
|
|
36684
36733
|
}
|
|
36685
36734
|
};
|
|
36686
36735
|
|
|
36687
|
-
// bazel-out/
|
|
36736
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
36688
36737
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
36689
36738
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
36690
36739
|
constructor() {
|
|
@@ -36707,7 +36756,7 @@ var factory6 = {
|
|
|
36707
36756
|
create: () => new SuffixNotSupportedCheck()
|
|
36708
36757
|
};
|
|
36709
36758
|
|
|
36710
|
-
// bazel-out/
|
|
36759
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
36711
36760
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
36712
36761
|
constructor() {
|
|
36713
36762
|
super(...arguments);
|
|
@@ -36745,10 +36794,10 @@ var factory7 = {
|
|
|
36745
36794
|
create: () => new TextAttributeNotBindingSpec()
|
|
36746
36795
|
};
|
|
36747
36796
|
|
|
36748
|
-
// bazel-out/
|
|
36797
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
36749
36798
|
var import_typescript89 = __toESM(require("typescript"), 1);
|
|
36750
36799
|
|
|
36751
|
-
// bazel-out/
|
|
36800
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
36752
36801
|
var DiagnosticCategoryLabel;
|
|
36753
36802
|
(function(DiagnosticCategoryLabel2) {
|
|
36754
36803
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -36756,7 +36805,7 @@ var DiagnosticCategoryLabel;
|
|
|
36756
36805
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
36757
36806
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
36758
36807
|
|
|
36759
|
-
// bazel-out/
|
|
36808
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
36760
36809
|
var ExtendedTemplateCheckerImpl = class {
|
|
36761
36810
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
36762
36811
|
var _a2, _b2, _c2, _d2, _e2;
|
|
@@ -36808,7 +36857,7 @@ function assertNever(value) {
|
|
|
36808
36857
|
${value}`);
|
|
36809
36858
|
}
|
|
36810
36859
|
|
|
36811
|
-
// bazel-out/
|
|
36860
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
36812
36861
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
36813
36862
|
factory,
|
|
36814
36863
|
factory4,
|
|
@@ -36819,7 +36868,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
36819
36868
|
factory6
|
|
36820
36869
|
];
|
|
36821
36870
|
|
|
36822
|
-
// bazel-out/
|
|
36871
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
36823
36872
|
var CompilationTicketKind;
|
|
36824
36873
|
(function(CompilationTicketKind2) {
|
|
36825
36874
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -37355,7 +37404,7 @@ var NgCompiler = class {
|
|
|
37355
37404
|
new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, supportTestBed),
|
|
37356
37405
|
new PipeDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder, supportTestBed),
|
|
37357
37406
|
new InjectableDecoratorHandler(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, this.delegatingPerfRecorder, supportTestBed),
|
|
37358
|
-
new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, ngModuleScopeRegistry, referencesRegistry, exportedProviderStatusResolver, semanticDepGraphUpdater, isCore, refEmitter, this.closureCompilerEnabled, (_b2 = this.options.onlyPublishPublicTypingsForNgModules) != null ? _b2 : false, injectableRegistry, this.delegatingPerfRecorder, supportTestBed)
|
|
37407
|
+
new NgModuleDecoratorHandler(reflector, evaluator, metaReader, metaRegistry, ngModuleScopeRegistry, referencesRegistry, exportedProviderStatusResolver, semanticDepGraphUpdater, isCore, refEmitter, this.closureCompilerEnabled, (_b2 = this.options.onlyPublishPublicTypingsForNgModules) != null ? _b2 : false, injectableRegistry, this.delegatingPerfRecorder, supportTestBed, compilationMode)
|
|
37359
37408
|
];
|
|
37360
37409
|
const traitCompiler = new TraitCompiler(handlers, reflector, this.delegatingPerfRecorder, this.incrementalCompilation, this.options.compileNonExportedClasses !== false, compilationMode, dtsTransforms, semanticDepGraphUpdater, this.adapter);
|
|
37361
37410
|
const notifyingDriver = new NotifyingProgramDriverWrapper(this.programDriver, (program) => {
|
|
@@ -37542,7 +37591,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
37542
37591
|
return versions;
|
|
37543
37592
|
}
|
|
37544
37593
|
|
|
37545
|
-
// bazel-out/
|
|
37594
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
37546
37595
|
var import_typescript92 = __toESM(require("typescript"), 1);
|
|
37547
37596
|
var DelegatingCompilerHost2 = class {
|
|
37548
37597
|
constructor(delegate) {
|
|
@@ -37675,7 +37724,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
37675
37724
|
}
|
|
37676
37725
|
};
|
|
37677
37726
|
|
|
37678
|
-
// bazel-out/
|
|
37727
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
37679
37728
|
var NgtscProgram = class {
|
|
37680
37729
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
37681
37730
|
this.options = options;
|
|
@@ -37893,21 +37942,21 @@ function mergeEmitResults(emitResults) {
|
|
|
37893
37942
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
37894
37943
|
}
|
|
37895
37944
|
|
|
37896
|
-
// bazel-out/
|
|
37945
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
37897
37946
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
37898
37947
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
37899
37948
|
}
|
|
37900
37949
|
|
|
37901
|
-
// bazel-out/
|
|
37950
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
37902
37951
|
var import_typescript96 = __toESM(require("typescript"), 1);
|
|
37903
37952
|
|
|
37904
|
-
// bazel-out/
|
|
37953
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
37905
37954
|
var import_typescript95 = __toESM(require("typescript"), 1);
|
|
37906
37955
|
|
|
37907
|
-
// bazel-out/
|
|
37956
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
37908
37957
|
var import_typescript97 = __toESM(require("typescript"), 1);
|
|
37909
37958
|
|
|
37910
|
-
// bazel-out/
|
|
37959
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
37911
37960
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
37912
37961
|
ngDevMode: false,
|
|
37913
37962
|
ngI18nClosureMode: false
|
|
@@ -37916,7 +37965,7 @@ var GLOBAL_DEFS_FOR_TERSER_WITH_AOT = __spreadProps(__spreadValues({}, GLOBAL_DE
|
|
|
37916
37965
|
ngJitMode: false
|
|
37917
37966
|
});
|
|
37918
37967
|
|
|
37919
|
-
// bazel-out/
|
|
37968
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
37920
37969
|
var LogLevel;
|
|
37921
37970
|
(function(LogLevel2) {
|
|
37922
37971
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -37925,7 +37974,7 @@ var LogLevel;
|
|
|
37925
37974
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
37926
37975
|
})(LogLevel || (LogLevel = {}));
|
|
37927
37976
|
|
|
37928
|
-
// bazel-out/
|
|
37977
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
37929
37978
|
var RESET = "\x1B[0m";
|
|
37930
37979
|
var RED = "\x1B[31m";
|
|
37931
37980
|
var YELLOW = "\x1B[33m";
|
|
@@ -37934,18 +37983,18 @@ var DEBUG = `${BLUE}Debug:${RESET}`;
|
|
|
37934
37983
|
var WARN = `${YELLOW}Warning:${RESET}`;
|
|
37935
37984
|
var ERROR = `${RED}Error:${RESET}`;
|
|
37936
37985
|
|
|
37937
|
-
// bazel-out/
|
|
37986
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
37938
37987
|
setFileSystem(new NodeJSFileSystem());
|
|
37939
37988
|
|
|
37940
|
-
// bazel-out/
|
|
37989
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
37941
37990
|
var import_fs2 = require("fs");
|
|
37942
37991
|
var import_path8 = require("path");
|
|
37943
37992
|
var import_typescript110 = __toESM(require("typescript"), 1);
|
|
37944
37993
|
|
|
37945
|
-
// bazel-out/
|
|
37994
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
37946
37995
|
var import_typescript99 = __toESM(require("typescript"), 1);
|
|
37947
37996
|
|
|
37948
|
-
// bazel-out/
|
|
37997
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
|
|
37949
37998
|
var import_path4 = require("path");
|
|
37950
37999
|
var import_typescript98 = __toESM(require("typescript"), 1);
|
|
37951
38000
|
var ImportManager2 = class {
|
|
@@ -38129,7 +38178,7 @@ ${text2}`;
|
|
|
38129
38178
|
}
|
|
38130
38179
|
};
|
|
38131
38180
|
|
|
38132
|
-
// bazel-out/
|
|
38181
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
38133
38182
|
var ChangeTracker = class {
|
|
38134
38183
|
constructor(_printer, _importRemapper) {
|
|
38135
38184
|
__publicField(this, "_printer");
|
|
@@ -38185,7 +38234,7 @@ function normalizePath(path3) {
|
|
|
38185
38234
|
return path3.replace(/\\/g, "/");
|
|
38186
38235
|
}
|
|
38187
38236
|
|
|
38188
|
-
// bazel-out/
|
|
38237
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
38189
38238
|
var import_core13 = require("@angular-devkit/core");
|
|
38190
38239
|
function getProjectTsConfigPaths(tree) {
|
|
38191
38240
|
return __async(this, null, function* () {
|
|
@@ -38265,11 +38314,11 @@ function getWorkspace(tree) {
|
|
|
38265
38314
|
});
|
|
38266
38315
|
}
|
|
38267
38316
|
|
|
38268
|
-
// bazel-out/
|
|
38317
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
38269
38318
|
var import_path5 = require("path");
|
|
38270
38319
|
var import_typescript101 = __toESM(require("typescript"), 1);
|
|
38271
38320
|
|
|
38272
|
-
// bazel-out/
|
|
38321
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
38273
38322
|
var path2 = __toESM(require("path"), 1);
|
|
38274
38323
|
var import_typescript100 = __toESM(require("typescript"), 1);
|
|
38275
38324
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -38286,7 +38335,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
38286
38335
|
return import_typescript100.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
38287
38336
|
}
|
|
38288
38337
|
|
|
38289
|
-
// bazel-out/
|
|
38338
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
38290
38339
|
function createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles, optionOverrides) {
|
|
38291
38340
|
tsconfigPath = (0, import_path5.resolve)(basePath, tsconfigPath);
|
|
38292
38341
|
const parsed = parseTsconfigFile(tsconfigPath, (0, import_path5.dirname)(tsconfigPath));
|
|
@@ -38315,13 +38364,13 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
38315
38364
|
return !(0, import_path5.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
38316
38365
|
}
|
|
38317
38366
|
|
|
38318
|
-
// bazel-out/
|
|
38367
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
38319
38368
|
var import_typescript106 = __toESM(require("typescript"), 1);
|
|
38320
38369
|
|
|
38321
|
-
// bazel-out/
|
|
38370
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
38322
38371
|
var import_typescript103 = __toESM(require("typescript"), 1);
|
|
38323
38372
|
|
|
38324
|
-
// bazel-out/
|
|
38373
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
|
|
38325
38374
|
var import_typescript102 = __toESM(require("typescript"), 1);
|
|
38326
38375
|
function getImportOfIdentifier(typeChecker, node) {
|
|
38327
38376
|
const symbol = typeChecker.getSymbolAtLocation(node);
|
|
@@ -38372,7 +38421,7 @@ function findImportSpecifier(nodes, specifierName) {
|
|
|
38372
38421
|
});
|
|
38373
38422
|
}
|
|
38374
38423
|
|
|
38375
|
-
// bazel-out/
|
|
38424
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
38376
38425
|
function getCallDecoratorImport(typeChecker, decorator) {
|
|
38377
38426
|
if (!import_typescript103.default.isCallExpression(decorator.expression) || !import_typescript103.default.isIdentifier(decorator.expression.expression)) {
|
|
38378
38427
|
return null;
|
|
@@ -38381,7 +38430,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
|
|
|
38381
38430
|
return getImportOfIdentifier(typeChecker, identifier);
|
|
38382
38431
|
}
|
|
38383
38432
|
|
|
38384
|
-
// bazel-out/
|
|
38433
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
|
|
38385
38434
|
function getAngularDecorators(typeChecker, decorators) {
|
|
38386
38435
|
return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
|
|
38387
38436
|
node,
|
|
@@ -38391,7 +38440,7 @@ function getAngularDecorators(typeChecker, decorators) {
|
|
|
38391
38440
|
}));
|
|
38392
38441
|
}
|
|
38393
38442
|
|
|
38394
|
-
// bazel-out/
|
|
38443
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
|
|
38395
38444
|
var import_typescript104 = __toESM(require("typescript"), 1);
|
|
38396
38445
|
function closestNode(node, predicate) {
|
|
38397
38446
|
let current = node.parent;
|
|
@@ -38404,7 +38453,7 @@ function closestNode(node, predicate) {
|
|
|
38404
38453
|
return null;
|
|
38405
38454
|
}
|
|
38406
38455
|
|
|
38407
|
-
// bazel-out/
|
|
38456
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
|
|
38408
38457
|
var import_path6 = require("path");
|
|
38409
38458
|
var import_typescript105 = __toESM(require("typescript"), 1);
|
|
38410
38459
|
var UniqueItemTracker = class {
|
|
@@ -38580,7 +38629,7 @@ function isClassReferenceInAngularModule(node, className, moduleName, typeChecke
|
|
|
38580
38629
|
}));
|
|
38581
38630
|
}
|
|
38582
38631
|
|
|
38583
|
-
// bazel-out/
|
|
38632
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
38584
38633
|
function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles) {
|
|
38585
38634
|
const filesToRemove = /* @__PURE__ */ new Set();
|
|
38586
38635
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
@@ -38779,14 +38828,14 @@ function findNgModuleDecorator(node, typeChecker) {
|
|
|
38779
38828
|
return decorators.find((decorator) => decorator.name === "NgModule") || null;
|
|
38780
38829
|
}
|
|
38781
38830
|
|
|
38782
|
-
// bazel-out/
|
|
38831
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
38783
38832
|
var import_path7 = require("path");
|
|
38784
38833
|
var import_typescript109 = __toESM(require("typescript"), 1);
|
|
38785
38834
|
|
|
38786
|
-
// bazel-out/
|
|
38835
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
38787
38836
|
var import_typescript108 = __toESM(require("typescript"), 1);
|
|
38788
38837
|
|
|
38789
|
-
// bazel-out/
|
|
38838
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
|
|
38790
38839
|
var import_typescript107 = __toESM(require("typescript"), 1);
|
|
38791
38840
|
function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
38792
38841
|
var _a2, _b2;
|
|
@@ -38795,7 +38844,7 @@ function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
|
38795
38844
|
return !!(((_a2 = nodeSymbol == null ? void 0 : nodeSymbol.declarations) == null ? void 0 : _a2[0]) && ((_b2 = importSymbol == null ? void 0 : importSymbol.declarations) == null ? void 0 : _b2[0])) && nodeSymbol.declarations[0] === importSymbol.declarations[0];
|
|
38796
38845
|
}
|
|
38797
38846
|
|
|
38798
|
-
// bazel-out/
|
|
38847
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
38799
38848
|
function toStandalone(sourceFiles, program, printer, fileImportRemapper, componentImportRemapper) {
|
|
38800
38849
|
const templateTypeChecker = program.compiler.getTemplateTypeChecker();
|
|
38801
38850
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -39158,7 +39207,7 @@ function isStandaloneDeclaration(node, declarationsInMigration, templateTypeChec
|
|
|
39158
39207
|
return metadata != null && metadata.isStandalone;
|
|
39159
39208
|
}
|
|
39160
39209
|
|
|
39161
|
-
// bazel-out/
|
|
39210
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
39162
39211
|
function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles, componentImportRemapper) {
|
|
39163
39212
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
39164
39213
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -39535,7 +39584,7 @@ function hasImport(program, rootFileNames, moduleName) {
|
|
|
39535
39584
|
return false;
|
|
39536
39585
|
}
|
|
39537
39586
|
|
|
39538
|
-
// bazel-out/
|
|
39587
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
39539
39588
|
var MigrationMode;
|
|
39540
39589
|
(function(MigrationMode2) {
|
|
39541
39590
|
MigrationMode2["toStandalone"] = "convert-to-standalone";
|