@angular/core 17.1.0 → 17.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/src/application/application_init.mjs +2 -2
- package/esm2022/src/application/application_ref.mjs +2 -2
- package/esm2022/src/application/application_tokens.mjs +9 -9
- package/esm2022/src/change_detection/scheduling/zoneless_scheduling_impl.mjs +51 -18
- package/esm2022/src/core_private_export.mjs +2 -2
- package/esm2022/src/defer/instructions.mjs +4 -2
- package/esm2022/src/di/forward_ref.mjs +1 -1
- package/esm2022/src/di/initializer_token.mjs +2 -2
- package/esm2022/src/di/injector.mjs +4 -4
- package/esm2022/src/di/injector_token.mjs +2 -2
- package/esm2022/src/di/internal_tokens.mjs +2 -2
- package/esm2022/src/di/scope.mjs +2 -2
- package/esm2022/src/hydration/error_handling.mjs +17 -6
- package/esm2022/src/hydration/utils.mjs +54 -8
- package/esm2022/src/i18n/tokens.mjs +5 -5
- package/esm2022/src/linker/compiler.mjs +2 -2
- package/esm2022/src/metadata/di.mjs +1 -1
- package/esm2022/src/platform/platform.mjs +2 -2
- package/esm2022/src/platform/platform_ref.mjs +2 -2
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/render3/instructions/element.mjs +3 -3
- package/esm2022/src/render3/node_manipulation.mjs +2 -5
- package/esm2022/src/render3/util/global_utils.mjs +3 -1
- package/esm2022/src/util/ng_dev_mode.mjs +11 -3
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/component_fixture.mjs +128 -93
- package/esm2022/testing/src/logger.mjs +3 -3
- package/esm2022/testing/src/test_bed.mjs +11 -6
- package/esm2022/testing/src/test_bed_common.mjs +9 -2
- package/esm2022/testing/src/test_bed_compiler.mjs +5 -4
- package/esm2022/testing/src/testing.mjs +2 -2
- package/fesm2022/core.mjs +157 -62
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +143 -96
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +38 -10
- package/package.json +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/block-template-entities/bundle.js +230 -201
- package/schematics/migrations/block-template-entities/bundle.js.map +3 -3
- package/schematics/migrations/compiler-options/bundle.js +13 -13
- package/schematics/migrations/transfer-state/bundle.js +13 -13
- package/schematics/ng-generate/control-flow-migration/bundle.js +240 -211
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +3 -3
- package/schematics/ng-generate/standalone-migration/bundle.js +536 -493
- package/schematics/ng-generate/standalone-migration/bundle.js.map +3 -3
- package/testing/index.d.ts +6 -17
|
@@ -63,7 +63,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
63
63
|
});
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
-
// bazel-out/
|
|
66
|
+
// bazel-out/k8-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/k8-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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
78
78
|
var InvalidFileSystem = class {
|
|
79
79
|
exists(path4) {
|
|
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/k8-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(path4) {
|
|
168
168
|
return path4.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/k8-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/k8-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, path4) {
|
|
|
265
265
|
return isLocalRelativePath(relative(base, path4));
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
// bazel-out/
|
|
268
|
+
// bazel-out/k8-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/k8-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/k8-fastbuild/bin/packages/compiler/src/core.mjs
|
|
685
685
|
var emitDistinctChangesOnlyDefaultValue = true;
|
|
686
686
|
var ViewEncapsulation;
|
|
687
687
|
(function(ViewEncapsulation2) {
|
|
@@ -750,7 +750,7 @@ function parseSelectorToR3Selector(selector) {
|
|
|
750
750
|
return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
|
|
751
751
|
}
|
|
752
752
|
|
|
753
|
-
// bazel-out/
|
|
753
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
754
754
|
var output_ast_exports = {};
|
|
755
755
|
__export(output_ast_exports, {
|
|
756
756
|
ArrayType: () => ArrayType,
|
|
@@ -838,7 +838,7 @@ __export(output_ast_exports, {
|
|
|
838
838
|
variable: () => variable
|
|
839
839
|
});
|
|
840
840
|
|
|
841
|
-
// bazel-out/
|
|
841
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
|
|
842
842
|
var textEncoder;
|
|
843
843
|
function digest(message) {
|
|
844
844
|
return message.id || computeDigest(message);
|
|
@@ -1081,7 +1081,7 @@ function wordAt(bytes, index, endian) {
|
|
|
1081
1081
|
return word;
|
|
1082
1082
|
}
|
|
1083
1083
|
|
|
1084
|
-
// bazel-out/
|
|
1084
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
1085
1085
|
var TypeModifier;
|
|
1086
1086
|
(function(TypeModifier2) {
|
|
1087
1087
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -2276,7 +2276,7 @@ function serializeTags(tags) {
|
|
|
2276
2276
|
return out;
|
|
2277
2277
|
}
|
|
2278
2278
|
|
|
2279
|
-
// bazel-out/
|
|
2279
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
2280
2280
|
var CONSTANT_PREFIX = "_c";
|
|
2281
2281
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
2282
2282
|
var KEY_CONTEXT = {};
|
|
@@ -2459,7 +2459,7 @@ function isLongStringLiteral(expr) {
|
|
|
2459
2459
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
2460
2460
|
}
|
|
2461
2461
|
|
|
2462
|
-
// bazel-out/
|
|
2462
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
2463
2463
|
var CORE = "@angular/core";
|
|
2464
2464
|
var _Identifiers = class {
|
|
2465
2465
|
};
|
|
@@ -3104,7 +3104,7 @@ var Identifiers = _Identifiers;
|
|
|
3104
3104
|
_Identifiers.UnwrapDirectiveSignalInputs = { name: "\u0275UnwrapDirectiveSignalInputs", moduleName: CORE };
|
|
3105
3105
|
})();
|
|
3106
3106
|
|
|
3107
|
-
// bazel-out/
|
|
3107
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
|
|
3108
3108
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
3109
3109
|
function dashCaseToCamelCase(input) {
|
|
3110
3110
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -3192,7 +3192,7 @@ function partitionArray(arr, conditionFn) {
|
|
|
3192
3192
|
return [truthy, falsy];
|
|
3193
3193
|
}
|
|
3194
3194
|
|
|
3195
|
-
// bazel-out/
|
|
3195
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
3196
3196
|
var VERSION = 3;
|
|
3197
3197
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
3198
3198
|
var SourceMapGenerator = class {
|
|
@@ -3321,7 +3321,7 @@ function toBase64Digit(value) {
|
|
|
3321
3321
|
return B64_DIGITS[value];
|
|
3322
3322
|
}
|
|
3323
3323
|
|
|
3324
|
-
// bazel-out/
|
|
3324
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
3325
3325
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
3326
3326
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
3327
3327
|
var _INDENT_WITH = " ";
|
|
@@ -3809,7 +3809,7 @@ function _createIndent(count) {
|
|
|
3809
3809
|
return res;
|
|
3810
3810
|
}
|
|
3811
3811
|
|
|
3812
|
-
// bazel-out/
|
|
3812
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
3813
3813
|
function typeWithParameters(type, numParams) {
|
|
3814
3814
|
if (numParams === 0) {
|
|
3815
3815
|
return expressionType(type);
|
|
@@ -3877,7 +3877,7 @@ function generateForwardRef(expr) {
|
|
|
3877
3877
|
return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
|
|
3878
3878
|
}
|
|
3879
3879
|
|
|
3880
|
-
// bazel-out/
|
|
3880
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
3881
3881
|
var R3FactoryDelegateType;
|
|
3882
3882
|
(function(R3FactoryDelegateType2) {
|
|
3883
3883
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -4022,7 +4022,7 @@ function getInjectFn(target) {
|
|
|
4022
4022
|
}
|
|
4023
4023
|
}
|
|
4024
4024
|
|
|
4025
|
-
// bazel-out/
|
|
4025
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
4026
4026
|
var TagContentType;
|
|
4027
4027
|
(function(TagContentType2) {
|
|
4028
4028
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -4059,7 +4059,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
4059
4059
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
4060
4060
|
}
|
|
4061
4061
|
|
|
4062
|
-
// bazel-out/
|
|
4062
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
4063
4063
|
var Comment = class {
|
|
4064
4064
|
constructor(value, sourceSpan) {
|
|
4065
4065
|
this.value = value;
|
|
@@ -4513,7 +4513,7 @@ function visitAll(visitor, nodes) {
|
|
|
4513
4513
|
return result;
|
|
4514
4514
|
}
|
|
4515
4515
|
|
|
4516
|
-
// bazel-out/
|
|
4516
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
4517
4517
|
var Message = class {
|
|
4518
4518
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
4519
4519
|
this.nodes = nodes;
|
|
@@ -4702,7 +4702,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
4702
4702
|
}
|
|
4703
4703
|
};
|
|
4704
4704
|
|
|
4705
|
-
// bazel-out/
|
|
4705
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
|
|
4706
4706
|
var Serializer = class {
|
|
4707
4707
|
createNameMapper(message) {
|
|
4708
4708
|
return null;
|
|
@@ -4759,7 +4759,7 @@ var SimplePlaceholderMapper = class extends RecurseVisitor {
|
|
|
4759
4759
|
}
|
|
4760
4760
|
};
|
|
4761
4761
|
|
|
4762
|
-
// bazel-out/
|
|
4762
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
4763
4763
|
var _Visitor = class {
|
|
4764
4764
|
visitTag(tag) {
|
|
4765
4765
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -4847,7 +4847,7 @@ function escapeXml(text2) {
|
|
|
4847
4847
|
return _ESCAPED_CHARS.reduce((text3, entry) => text3.replace(entry[0], entry[1]), text2);
|
|
4848
4848
|
}
|
|
4849
4849
|
|
|
4850
|
-
// bazel-out/
|
|
4850
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
4851
4851
|
var _MESSAGES_TAG = "messagebundle";
|
|
4852
4852
|
var _MESSAGE_TAG = "msg";
|
|
4853
4853
|
var _PLACEHOLDER_TAG = "ph";
|
|
@@ -4999,7 +4999,7 @@ function toPublicName(internalName) {
|
|
|
4999
4999
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
5000
5000
|
}
|
|
5001
5001
|
|
|
5002
|
-
// bazel-out/
|
|
5002
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
5003
5003
|
var CLOSURE_TRANSLATION_VAR_PREFIX = "MSG_";
|
|
5004
5004
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
5005
5005
|
var I18N_ATTR = "i18n";
|
|
@@ -5101,7 +5101,7 @@ function declareI18nVariable(variable2) {
|
|
|
5101
5101
|
return new DeclareVarStmt(variable2.name, void 0, INFERRED_TYPE, void 0, variable2.sourceSpan);
|
|
5102
5102
|
}
|
|
5103
5103
|
|
|
5104
|
-
// bazel-out/
|
|
5104
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
5105
5105
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
5106
5106
|
var TEMPORARY_NAME = "_t";
|
|
5107
5107
|
var CONTEXT_NAME = "ctx";
|
|
@@ -5318,7 +5318,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
|
|
|
5318
5318
|
}
|
|
5319
5319
|
});
|
|
5320
5320
|
elOrTpl.inputs.forEach((i) => {
|
|
5321
|
-
if (i.type === 0) {
|
|
5321
|
+
if (i.type === 0 || i.type === 5) {
|
|
5322
5322
|
attributesMap[i.name] = "";
|
|
5323
5323
|
}
|
|
5324
5324
|
});
|
|
@@ -5363,7 +5363,7 @@ function getInstructionStatements(instructions) {
|
|
|
5363
5363
|
return statements;
|
|
5364
5364
|
}
|
|
5365
5365
|
|
|
5366
|
-
// bazel-out/
|
|
5366
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
5367
5367
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
5368
5368
|
let result = null;
|
|
5369
5369
|
const factoryMeta = {
|
|
@@ -5448,7 +5448,7 @@ function createFactoryFunction(type) {
|
|
|
5448
5448
|
return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
|
|
5449
5449
|
}
|
|
5450
5450
|
|
|
5451
|
-
// bazel-out/
|
|
5451
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
5452
5452
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
5453
5453
|
/^\s*$/,
|
|
5454
5454
|
/[<>]/,
|
|
@@ -5470,7 +5470,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
5470
5470
|
}
|
|
5471
5471
|
}
|
|
5472
5472
|
|
|
5473
|
-
// bazel-out/
|
|
5473
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
|
|
5474
5474
|
var InterpolationConfig = class {
|
|
5475
5475
|
static fromArray(markers) {
|
|
5476
5476
|
if (!markers) {
|
|
@@ -5487,7 +5487,7 @@ var InterpolationConfig = class {
|
|
|
5487
5487
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
5488
5488
|
var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
|
|
5489
5489
|
|
|
5490
|
-
// bazel-out/
|
|
5490
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
5491
5491
|
var $EOF = 0;
|
|
5492
5492
|
var $BSPACE = 8;
|
|
5493
5493
|
var $TAB = 9;
|
|
@@ -5569,7 +5569,7 @@ function isQuote(code) {
|
|
|
5569
5569
|
return code === $SQ || code === $DQ || code === $BT;
|
|
5570
5570
|
}
|
|
5571
5571
|
|
|
5572
|
-
// bazel-out/
|
|
5572
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
5573
5573
|
var ParseLocation = class {
|
|
5574
5574
|
constructor(file, offset, line, col) {
|
|
5575
5575
|
this.file = file;
|
|
@@ -5716,7 +5716,7 @@ function sanitizeIdentifier(name) {
|
|
|
5716
5716
|
return name.replace(/\W/g, "_");
|
|
5717
5717
|
}
|
|
5718
5718
|
|
|
5719
|
-
// bazel-out/
|
|
5719
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
5720
5720
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
5721
5721
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
5722
5722
|
constructor() {
|
|
@@ -5809,7 +5809,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
5809
5809
|
}
|
|
5810
5810
|
};
|
|
5811
5811
|
|
|
5812
|
-
// bazel-out/
|
|
5812
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
5813
5813
|
var policy;
|
|
5814
5814
|
function getPolicy() {
|
|
5815
5815
|
if (policy === void 0) {
|
|
@@ -5847,7 +5847,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
5847
5847
|
return fn2.bind(_global);
|
|
5848
5848
|
}
|
|
5849
5849
|
|
|
5850
|
-
// bazel-out/
|
|
5850
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
5851
5851
|
var JitEvaluator = class {
|
|
5852
5852
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
5853
5853
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -5938,7 +5938,7 @@ function isUseStrictStatement(statement) {
|
|
|
5938
5938
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
5939
5939
|
}
|
|
5940
5940
|
|
|
5941
|
-
// bazel-out/
|
|
5941
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
5942
5942
|
function compileInjector(meta) {
|
|
5943
5943
|
const definitionMap = new DefinitionMap();
|
|
5944
5944
|
if (meta.providers !== null) {
|
|
@@ -5955,7 +5955,7 @@ function createInjectorType(meta) {
|
|
|
5955
5955
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
5956
5956
|
}
|
|
5957
5957
|
|
|
5958
|
-
// bazel-out/
|
|
5958
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
5959
5959
|
var R3JitReflector = class {
|
|
5960
5960
|
constructor(context) {
|
|
5961
5961
|
this.context = context;
|
|
@@ -5971,7 +5971,7 @@ var R3JitReflector = class {
|
|
|
5971
5971
|
}
|
|
5972
5972
|
};
|
|
5973
5973
|
|
|
5974
|
-
// bazel-out/
|
|
5974
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
5975
5975
|
var R3SelectorScopeMode;
|
|
5976
5976
|
(function(R3SelectorScopeMode2) {
|
|
5977
5977
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -6112,7 +6112,7 @@ function tupleOfTypes(types) {
|
|
|
6112
6112
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
6113
6113
|
}
|
|
6114
6114
|
|
|
6115
|
-
// bazel-out/
|
|
6115
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
6116
6116
|
function compilePipeFromMetadata(metadata) {
|
|
6117
6117
|
const definitionMapValues = [];
|
|
6118
6118
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -6133,7 +6133,7 @@ function createPipeType(metadata) {
|
|
|
6133
6133
|
]));
|
|
6134
6134
|
}
|
|
6135
6135
|
|
|
6136
|
-
// bazel-out/
|
|
6136
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
6137
6137
|
var R3TemplateDependencyKind;
|
|
6138
6138
|
(function(R3TemplateDependencyKind2) {
|
|
6139
6139
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -6141,7 +6141,7 @@ var R3TemplateDependencyKind;
|
|
|
6141
6141
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
6142
6142
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
6143
6143
|
|
|
6144
|
-
// bazel-out/
|
|
6144
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
6145
6145
|
var ParserError = class {
|
|
6146
6146
|
constructor(message, input, errLocation, ctxLocation) {
|
|
6147
6147
|
this.input = input;
|
|
@@ -6773,6 +6773,7 @@ var ParsedPropertyType;
|
|
|
6773
6773
|
ParsedPropertyType2[ParsedPropertyType2["DEFAULT"] = 0] = "DEFAULT";
|
|
6774
6774
|
ParsedPropertyType2[ParsedPropertyType2["LITERAL_ATTR"] = 1] = "LITERAL_ATTR";
|
|
6775
6775
|
ParsedPropertyType2[ParsedPropertyType2["ANIMATION"] = 2] = "ANIMATION";
|
|
6776
|
+
ParsedPropertyType2[ParsedPropertyType2["TWO_WAY"] = 3] = "TWO_WAY";
|
|
6776
6777
|
})(ParsedPropertyType || (ParsedPropertyType = {}));
|
|
6777
6778
|
var ParsedEvent = class {
|
|
6778
6779
|
constructor(name, targetOrPhase, type, handler, sourceSpan, handlerSpan, keySpan) {
|
|
@@ -6807,7 +6808,7 @@ var BoundElementProperty = class {
|
|
|
6807
6808
|
}
|
|
6808
6809
|
};
|
|
6809
6810
|
|
|
6810
|
-
// bazel-out/
|
|
6811
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
|
|
6811
6812
|
var _EventHandlerVars = class {
|
|
6812
6813
|
};
|
|
6813
6814
|
var EventHandlerVars = _EventHandlerVars;
|
|
@@ -7448,7 +7449,7 @@ var BuiltinFunctionCall = class extends Call {
|
|
|
7448
7449
|
}
|
|
7449
7450
|
};
|
|
7450
7451
|
|
|
7451
|
-
// bazel-out/
|
|
7452
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
7452
7453
|
var _SECURITY_SCHEMA;
|
|
7453
7454
|
function SECURITY_SCHEMA() {
|
|
7454
7455
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -7506,7 +7507,7 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
7506
7507
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
7507
7508
|
}
|
|
7508
7509
|
|
|
7509
|
-
// bazel-out/
|
|
7510
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
7510
7511
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
7511
7512
|
"inherit",
|
|
7512
7513
|
"initial",
|
|
@@ -7977,7 +7978,7 @@ function repeatGroups(groups, multiples) {
|
|
|
7977
7978
|
}
|
|
7978
7979
|
}
|
|
7979
7980
|
|
|
7980
|
-
// bazel-out/
|
|
7981
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
7981
7982
|
var OpKind;
|
|
7982
7983
|
(function(OpKind2) {
|
|
7983
7984
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -8136,7 +8137,7 @@ var TemplateKind;
|
|
|
8136
8137
|
TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
|
|
8137
8138
|
})(TemplateKind || (TemplateKind = {}));
|
|
8138
8139
|
|
|
8139
|
-
// bazel-out/
|
|
8140
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
8140
8141
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
8141
8142
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
8142
8143
|
var ConsumesVarsTrait = Symbol("ConsumesVars");
|
|
@@ -8168,7 +8169,7 @@ function hasUsesVarOffsetTrait(expr) {
|
|
|
8168
8169
|
return expr[UsesVarOffset] === true;
|
|
8169
8170
|
}
|
|
8170
8171
|
|
|
8171
|
-
// bazel-out/
|
|
8172
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
8172
8173
|
function createStatementOp(statement) {
|
|
8173
8174
|
return __spreadValues({
|
|
8174
8175
|
kind: OpKind.Statement,
|
|
@@ -8190,7 +8191,7 @@ var NEW_OP = {
|
|
|
8190
8191
|
next: null
|
|
8191
8192
|
};
|
|
8192
8193
|
|
|
8193
|
-
// bazel-out/
|
|
8194
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
8194
8195
|
function createInterpolateTextOp(xref, interpolation, sourceSpan) {
|
|
8195
8196
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
8196
8197
|
kind: OpKind.InterpolateText,
|
|
@@ -8356,7 +8357,7 @@ function createI18nApplyOp(owner, handle, sourceSpan) {
|
|
|
8356
8357
|
}, NEW_OP);
|
|
8357
8358
|
}
|
|
8358
8359
|
|
|
8359
|
-
// bazel-out/
|
|
8360
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
8360
8361
|
var _a;
|
|
8361
8362
|
var _b;
|
|
8362
8363
|
var _c;
|
|
@@ -9188,7 +9189,7 @@ function isStringLiteral(expr) {
|
|
|
9188
9189
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
9189
9190
|
}
|
|
9190
9191
|
|
|
9191
|
-
// bazel-out/
|
|
9192
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
9192
9193
|
var _OpList = class {
|
|
9193
9194
|
constructor() {
|
|
9194
9195
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -9379,14 +9380,14 @@ var OpList = _OpList;
|
|
|
9379
9380
|
_OpList.nextListId = 0;
|
|
9380
9381
|
})();
|
|
9381
9382
|
|
|
9382
|
-
// bazel-out/
|
|
9383
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
9383
9384
|
var SlotHandle = class {
|
|
9384
9385
|
constructor() {
|
|
9385
9386
|
this.slot = null;
|
|
9386
9387
|
}
|
|
9387
9388
|
};
|
|
9388
9389
|
|
|
9389
|
-
// bazel-out/
|
|
9390
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
9390
9391
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
9391
9392
|
OpKind.Element,
|
|
9392
9393
|
OpKind.ElementStart,
|
|
@@ -9555,7 +9556,7 @@ function createExtractedAttributeOp(target, bindingKind, namespace, name, expres
|
|
|
9555
9556
|
trustedValueFn: null
|
|
9556
9557
|
}, NEW_OP);
|
|
9557
9558
|
}
|
|
9558
|
-
function createDeferOp(xref, main, mainSlot, metadata, sourceSpan) {
|
|
9559
|
+
function createDeferOp(xref, main, mainSlot, metadata, resolverFn, sourceSpan) {
|
|
9559
9560
|
return __spreadProps(__spreadValues(__spreadValues({
|
|
9560
9561
|
kind: OpKind.Defer,
|
|
9561
9562
|
xref,
|
|
@@ -9574,7 +9575,7 @@ function createDeferOp(xref, main, mainSlot, metadata, sourceSpan) {
|
|
|
9574
9575
|
errorView: null,
|
|
9575
9576
|
errorSlot: null,
|
|
9576
9577
|
metadata,
|
|
9577
|
-
resolverFn
|
|
9578
|
+
resolverFn,
|
|
9578
9579
|
sourceSpan
|
|
9579
9580
|
}, NEW_OP), TRAIT_CONSUMES_SLOT), {
|
|
9580
9581
|
numSlotsUsed: 2
|
|
@@ -9673,7 +9674,7 @@ function createI18nAttributesOp(xref, handle, target) {
|
|
|
9673
9674
|
}, NEW_OP), TRAIT_CONSUMES_SLOT);
|
|
9674
9675
|
}
|
|
9675
9676
|
|
|
9676
|
-
// bazel-out/
|
|
9677
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
9677
9678
|
function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
|
|
9678
9679
|
return __spreadValues(__spreadValues({
|
|
9679
9680
|
kind: OpKind.HostProperty,
|
|
@@ -9687,10 +9688,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
|
|
|
9687
9688
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
9688
9689
|
}
|
|
9689
9690
|
|
|
9690
|
-
// bazel-out/
|
|
9691
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
9691
9692
|
var CTX_REF = "CTX_REF_MARKER";
|
|
9692
9693
|
|
|
9693
|
-
// bazel-out/
|
|
9694
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
9694
9695
|
var CompilationJobKind;
|
|
9695
9696
|
(function(CompilationJobKind2) {
|
|
9696
9697
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -9710,11 +9711,12 @@ var CompilationJob = class {
|
|
|
9710
9711
|
}
|
|
9711
9712
|
};
|
|
9712
9713
|
var ComponentCompilationJob = class extends CompilationJob {
|
|
9713
|
-
constructor(componentName, pool, compatibility, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta) {
|
|
9714
|
+
constructor(componentName, pool, compatibility, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta, allDeferrableDepsFn) {
|
|
9714
9715
|
super(componentName, pool, compatibility);
|
|
9715
9716
|
this.relativeContextFilePath = relativeContextFilePath;
|
|
9716
9717
|
this.i18nUseExternalIds = i18nUseExternalIds;
|
|
9717
9718
|
this.deferBlocksMeta = deferBlocksMeta;
|
|
9719
|
+
this.allDeferrableDepsFn = allDeferrableDepsFn;
|
|
9718
9720
|
this.kind = CompilationJobKind.Tmpl;
|
|
9719
9721
|
this.fnSuffix = "Template";
|
|
9720
9722
|
this.views = /* @__PURE__ */ new Map();
|
|
@@ -9797,7 +9799,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
9797
9799
|
}
|
|
9798
9800
|
};
|
|
9799
9801
|
|
|
9800
|
-
// bazel-out/
|
|
9802
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
9801
9803
|
function deleteAnyCasts(job) {
|
|
9802
9804
|
for (const unit of job.units) {
|
|
9803
9805
|
for (const op of unit.ops()) {
|
|
@@ -9815,7 +9817,7 @@ function removeAnys(e) {
|
|
|
9815
9817
|
return e;
|
|
9816
9818
|
}
|
|
9817
9819
|
|
|
9818
|
-
// bazel-out/
|
|
9820
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
9819
9821
|
function applyI18nExpressions(job) {
|
|
9820
9822
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
9821
9823
|
for (const unit of job.units) {
|
|
@@ -9858,7 +9860,7 @@ function needsApplication(i18nContexts, op) {
|
|
|
9858
9860
|
return false;
|
|
9859
9861
|
}
|
|
9860
9862
|
|
|
9861
|
-
// bazel-out/
|
|
9863
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
9862
9864
|
function assignI18nSlotDependencies(job) {
|
|
9863
9865
|
for (const unit of job.units) {
|
|
9864
9866
|
let updateOp = unit.update.head;
|
|
@@ -9903,7 +9905,7 @@ function assignI18nSlotDependencies(job) {
|
|
|
9903
9905
|
}
|
|
9904
9906
|
}
|
|
9905
9907
|
|
|
9906
|
-
// bazel-out/
|
|
9908
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
9907
9909
|
function createOpXrefMap(unit) {
|
|
9908
9910
|
const map = /* @__PURE__ */ new Map();
|
|
9909
9911
|
for (const op of unit.create) {
|
|
@@ -9918,7 +9920,7 @@ function createOpXrefMap(unit) {
|
|
|
9918
9920
|
return map;
|
|
9919
9921
|
}
|
|
9920
9922
|
|
|
9921
|
-
// bazel-out/
|
|
9923
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
9922
9924
|
function extractAttributes(job) {
|
|
9923
9925
|
for (const unit of job.units) {
|
|
9924
9926
|
const elements = createOpXrefMap(unit);
|
|
@@ -10020,7 +10022,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
10020
10022
|
}
|
|
10021
10023
|
}
|
|
10022
10024
|
|
|
10023
|
-
// bazel-out/
|
|
10025
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
10024
10026
|
function lookupElement2(elements, xref) {
|
|
10025
10027
|
const el = elements.get(xref);
|
|
10026
10028
|
if (el === void 0) {
|
|
@@ -10071,7 +10073,7 @@ function specializeBindings(job) {
|
|
|
10071
10073
|
}
|
|
10072
10074
|
}
|
|
10073
10075
|
|
|
10074
|
-
// bazel-out/
|
|
10076
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
10075
10077
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
10076
10078
|
Identifiers.attribute,
|
|
10077
10079
|
Identifiers.classProp,
|
|
@@ -10137,7 +10139,7 @@ function chainOperationsInList(opList) {
|
|
|
10137
10139
|
}
|
|
10138
10140
|
}
|
|
10139
10141
|
|
|
10140
|
-
// bazel-out/
|
|
10142
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
10141
10143
|
function collapseSingletonInterpolations(job) {
|
|
10142
10144
|
for (const unit of job.units) {
|
|
10143
10145
|
for (const op of unit.update) {
|
|
@@ -10149,7 +10151,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
10149
10151
|
}
|
|
10150
10152
|
}
|
|
10151
10153
|
|
|
10152
|
-
// bazel-out/
|
|
10154
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
10153
10155
|
function generateConditionalExpressions(job) {
|
|
10154
10156
|
for (const unit of job.units) {
|
|
10155
10157
|
for (const op of unit.ops()) {
|
|
@@ -10186,7 +10188,7 @@ function generateConditionalExpressions(job) {
|
|
|
10186
10188
|
}
|
|
10187
10189
|
}
|
|
10188
10190
|
|
|
10189
|
-
// bazel-out/
|
|
10191
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
10190
10192
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
10191
10193
|
["&&", BinaryOperator.And],
|
|
10192
10194
|
[">", BinaryOperator.Bigger],
|
|
@@ -10237,7 +10239,7 @@ function literalOrArrayLiteral(value) {
|
|
|
10237
10239
|
return literal(value);
|
|
10238
10240
|
}
|
|
10239
10241
|
|
|
10240
|
-
// bazel-out/
|
|
10242
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
10241
10243
|
function collectElementConsts(job) {
|
|
10242
10244
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
10243
10245
|
for (const unit of job.units) {
|
|
@@ -10399,7 +10401,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
10399
10401
|
return literalArr(attrArray);
|
|
10400
10402
|
}
|
|
10401
10403
|
|
|
10402
|
-
// bazel-out/
|
|
10404
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
|
|
10403
10405
|
function convertI18nBindings(job) {
|
|
10404
10406
|
const i18nAttributesByElem = /* @__PURE__ */ new Map();
|
|
10405
10407
|
for (const unit of job.units) {
|
|
@@ -10440,14 +10442,18 @@ function convertI18nBindings(job) {
|
|
|
10440
10442
|
}
|
|
10441
10443
|
}
|
|
10442
10444
|
|
|
10443
|
-
// bazel-out/
|
|
10445
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_defer_deps_fns.mjs
|
|
10444
10446
|
function createDeferDepsFns(job) {
|
|
10447
|
+
var _a2;
|
|
10445
10448
|
for (const unit of job.units) {
|
|
10446
10449
|
for (const op of unit.create) {
|
|
10447
10450
|
if (op.kind === OpKind.Defer) {
|
|
10448
10451
|
if (op.metadata.deps.length === 0) {
|
|
10449
10452
|
continue;
|
|
10450
10453
|
}
|
|
10454
|
+
if (op.resolverFn !== null) {
|
|
10455
|
+
continue;
|
|
10456
|
+
}
|
|
10451
10457
|
const dependencies = [];
|
|
10452
10458
|
for (const dep of op.metadata.deps) {
|
|
10453
10459
|
if (dep.isDeferrable) {
|
|
@@ -10462,9 +10468,10 @@ function createDeferDepsFns(job) {
|
|
|
10462
10468
|
if (op.handle.slot === null) {
|
|
10463
10469
|
throw new Error("AssertionError: slot must be assigned bfore extracting defer deps functions");
|
|
10464
10470
|
}
|
|
10471
|
+
const fullPathName = (_a2 = unit.fnName) == null ? void 0 : _a2.replace(`_Template`, ``);
|
|
10465
10472
|
op.resolverFn = job.pool.getSharedFunctionReference(
|
|
10466
10473
|
depsFnExpr,
|
|
10467
|
-
`${
|
|
10474
|
+
`${fullPathName}_Defer_${op.handle.slot}_DepsFn`,
|
|
10468
10475
|
false
|
|
10469
10476
|
);
|
|
10470
10477
|
}
|
|
@@ -10472,7 +10479,7 @@ function createDeferDepsFns(job) {
|
|
|
10472
10479
|
}
|
|
10473
10480
|
}
|
|
10474
10481
|
|
|
10475
|
-
// bazel-out/
|
|
10482
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
10476
10483
|
function createI18nContexts(job) {
|
|
10477
10484
|
const attrContextByMessage = /* @__PURE__ */ new Map();
|
|
10478
10485
|
for (const unit of job.units) {
|
|
@@ -10537,7 +10544,7 @@ function createI18nContexts(job) {
|
|
|
10537
10544
|
throw Error("AssertionError: Unexpected ICU outside of an i18n block.");
|
|
10538
10545
|
}
|
|
10539
10546
|
if (op.message.id !== currentI18nOp.message.id) {
|
|
10540
|
-
const contextOp = createI18nContextOp(I18nContextKind.Icu, job.allocateXrefId(), currentI18nOp.
|
|
10547
|
+
const contextOp = createI18nContextOp(I18nContextKind.Icu, job.allocateXrefId(), currentI18nOp.root, op.message, null);
|
|
10541
10548
|
unit.create.push(contextOp);
|
|
10542
10549
|
op.context = contextOp.xref;
|
|
10543
10550
|
} else {
|
|
@@ -10550,7 +10557,7 @@ function createI18nContexts(job) {
|
|
|
10550
10557
|
}
|
|
10551
10558
|
}
|
|
10552
10559
|
|
|
10553
|
-
// bazel-out/
|
|
10560
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
|
|
10554
10561
|
function deduplicateTextBindings(job) {
|
|
10555
10562
|
const seen = /* @__PURE__ */ new Map();
|
|
10556
10563
|
for (const unit of job.units) {
|
|
@@ -10572,7 +10579,7 @@ function deduplicateTextBindings(job) {
|
|
|
10572
10579
|
}
|
|
10573
10580
|
}
|
|
10574
10581
|
|
|
10575
|
-
// bazel-out/
|
|
10582
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
10576
10583
|
function configureDeferInstructions(job) {
|
|
10577
10584
|
for (const unit of job.units) {
|
|
10578
10585
|
for (const op of unit.create) {
|
|
@@ -10589,7 +10596,7 @@ function configureDeferInstructions(job) {
|
|
|
10589
10596
|
}
|
|
10590
10597
|
}
|
|
10591
10598
|
|
|
10592
|
-
// bazel-out/
|
|
10599
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
10593
10600
|
function resolveDeferTargetNames(job) {
|
|
10594
10601
|
const scopes = /* @__PURE__ */ new Map();
|
|
10595
10602
|
function getScopeForView2(view) {
|
|
@@ -10683,7 +10690,7 @@ var Scope = class {
|
|
|
10683
10690
|
}
|
|
10684
10691
|
};
|
|
10685
10692
|
|
|
10686
|
-
// bazel-out/
|
|
10693
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
10687
10694
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
10688
10695
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
10689
10696
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -10710,7 +10717,7 @@ function collapseEmptyInstructions(job) {
|
|
|
10710
10717
|
}
|
|
10711
10718
|
}
|
|
10712
10719
|
|
|
10713
|
-
// bazel-out/
|
|
10720
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
10714
10721
|
function expandSafeReads(job) {
|
|
10715
10722
|
for (const unit of job.units) {
|
|
10716
10723
|
for (const op of unit.ops()) {
|
|
@@ -10846,7 +10853,7 @@ function ternaryTransform(e) {
|
|
|
10846
10853
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
10847
10854
|
}
|
|
10848
10855
|
|
|
10849
|
-
// bazel-out/
|
|
10856
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
10850
10857
|
var ESCAPE = "\uFFFD";
|
|
10851
10858
|
var ELEMENT_MARKER = "#";
|
|
10852
10859
|
var TEMPLATE_MARKER = "*";
|
|
@@ -10982,7 +10989,7 @@ function formatValue(value) {
|
|
|
10982
10989
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
10983
10990
|
}
|
|
10984
10991
|
|
|
10985
|
-
// bazel-out/
|
|
10992
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
10986
10993
|
function generateAdvance(job) {
|
|
10987
10994
|
for (const unit of job.units) {
|
|
10988
10995
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -11014,7 +11021,7 @@ function generateAdvance(job) {
|
|
|
11014
11021
|
}
|
|
11015
11022
|
}
|
|
11016
11023
|
|
|
11017
|
-
// bazel-out/
|
|
11024
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
11018
11025
|
function generateProjectionDefs(job) {
|
|
11019
11026
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
11020
11027
|
const selectors = [];
|
|
@@ -11038,7 +11045,7 @@ function generateProjectionDefs(job) {
|
|
|
11038
11045
|
}
|
|
11039
11046
|
}
|
|
11040
11047
|
|
|
11041
|
-
// bazel-out/
|
|
11048
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
11042
11049
|
function generateVariables(job) {
|
|
11043
11050
|
recursivelyProcessView(job.root, null);
|
|
11044
11051
|
}
|
|
@@ -11131,7 +11138,7 @@ function generateVariablesInScopeForView(view, scope) {
|
|
|
11131
11138
|
return newOps;
|
|
11132
11139
|
}
|
|
11133
11140
|
|
|
11134
|
-
// bazel-out/
|
|
11141
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
11135
11142
|
function collectConstExpressions(job) {
|
|
11136
11143
|
for (const unit of job.units) {
|
|
11137
11144
|
for (const op of unit.ops()) {
|
|
@@ -11145,7 +11152,7 @@ function collectConstExpressions(job) {
|
|
|
11145
11152
|
}
|
|
11146
11153
|
}
|
|
11147
11154
|
|
|
11148
|
-
// bazel-out/
|
|
11155
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
11149
11156
|
var STYLE_DOT = "style.";
|
|
11150
11157
|
var CLASS_DOT = "class.";
|
|
11151
11158
|
var STYLE_BANG = "style!";
|
|
@@ -11203,7 +11210,7 @@ function parseProperty(name) {
|
|
|
11203
11210
|
return { property: property2, suffix };
|
|
11204
11211
|
}
|
|
11205
11212
|
|
|
11206
|
-
// bazel-out/
|
|
11213
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
11207
11214
|
function mapLiteral(obj, quoted = false) {
|
|
11208
11215
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
11209
11216
|
key,
|
|
@@ -11212,7 +11219,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
11212
11219
|
})));
|
|
11213
11220
|
}
|
|
11214
11221
|
|
|
11215
|
-
// bazel-out/
|
|
11222
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
11216
11223
|
var IcuSerializerVisitor = class {
|
|
11217
11224
|
visitText(text2) {
|
|
11218
11225
|
return text2.value;
|
|
@@ -11246,7 +11253,7 @@ function serializeIcuNode(icu) {
|
|
|
11246
11253
|
return icu.visit(serializer);
|
|
11247
11254
|
}
|
|
11248
11255
|
|
|
11249
|
-
// bazel-out/
|
|
11256
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
11250
11257
|
var TokenType;
|
|
11251
11258
|
(function(TokenType2) {
|
|
11252
11259
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -11607,7 +11614,7 @@ function parseIntAutoRadix(text2) {
|
|
|
11607
11614
|
return result;
|
|
11608
11615
|
}
|
|
11609
11616
|
|
|
11610
|
-
// bazel-out/
|
|
11617
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
11611
11618
|
var SplitInterpolation = class {
|
|
11612
11619
|
constructor(strings, expressions, offsets) {
|
|
11613
11620
|
this.strings = strings;
|
|
@@ -12501,7 +12508,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
12501
12508
|
return offsetMap;
|
|
12502
12509
|
}
|
|
12503
12510
|
|
|
12504
|
-
// bazel-out/
|
|
12511
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
12505
12512
|
var NodeWithI18n = class {
|
|
12506
12513
|
constructor(sourceSpan, i18n2) {
|
|
12507
12514
|
this.sourceSpan = sourceSpan;
|
|
@@ -12612,11 +12619,11 @@ function visitAll2(visitor, nodes, context = null) {
|
|
|
12612
12619
|
return result;
|
|
12613
12620
|
}
|
|
12614
12621
|
|
|
12615
|
-
// bazel-out/
|
|
12622
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
12616
12623
|
var ElementSchemaRegistry = class {
|
|
12617
12624
|
};
|
|
12618
12625
|
|
|
12619
|
-
// bazel-out/
|
|
12626
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
12620
12627
|
var BOOLEAN = "boolean";
|
|
12621
12628
|
var NUMBER = "number";
|
|
12622
12629
|
var STRING = "string";
|
|
@@ -12969,7 +12976,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
12969
12976
|
}
|
|
12970
12977
|
}
|
|
12971
12978
|
|
|
12972
|
-
// bazel-out/
|
|
12979
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
12973
12980
|
var HtmlTagDefinition = class {
|
|
12974
12981
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
12975
12982
|
this.closedByChildren = {};
|
|
@@ -13087,7 +13094,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
13087
13094
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
13088
13095
|
}
|
|
13089
13096
|
|
|
13090
|
-
// bazel-out/
|
|
13097
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
13091
13098
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
13092
13099
|
"A": "LINK",
|
|
13093
13100
|
"B": "BOLD_TEXT",
|
|
@@ -13209,7 +13216,7 @@ var PlaceholderRegistry = class {
|
|
|
13209
13216
|
}
|
|
13210
13217
|
};
|
|
13211
13218
|
|
|
13212
|
-
// bazel-out/
|
|
13219
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
13213
13220
|
var _expParser = new Parser(new Lexer());
|
|
13214
13221
|
function createI18nMessageFactory(interpolationConfig, containerBlocks) {
|
|
13215
13222
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
|
|
@@ -13388,14 +13395,14 @@ function extractPlaceholderName(input) {
|
|
|
13388
13395
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
13389
13396
|
}
|
|
13390
13397
|
|
|
13391
|
-
// bazel-out/
|
|
13398
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
13392
13399
|
var I18nError = class extends ParseError {
|
|
13393
13400
|
constructor(span, msg) {
|
|
13394
13401
|
super(span, msg);
|
|
13395
13402
|
}
|
|
13396
13403
|
};
|
|
13397
13404
|
|
|
13398
|
-
// bazel-out/
|
|
13405
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
13399
13406
|
var NAMED_ENTITIES = {
|
|
13400
13407
|
"AElig": "\xC6",
|
|
13401
13408
|
"AMP": "&",
|
|
@@ -15526,7 +15533,7 @@ var NAMED_ENTITIES = {
|
|
|
15526
15533
|
var NGSP_UNICODE = "\uE500";
|
|
15527
15534
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
15528
15535
|
|
|
15529
|
-
// bazel-out/
|
|
15536
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
15530
15537
|
var TokenError = class extends ParseError {
|
|
15531
15538
|
constructor(errorMsg, tokenType, span) {
|
|
15532
15539
|
super(span, errorMsg);
|
|
@@ -16447,7 +16454,7 @@ var CursorError = class {
|
|
|
16447
16454
|
}
|
|
16448
16455
|
};
|
|
16449
16456
|
|
|
16450
|
-
// bazel-out/
|
|
16457
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
16451
16458
|
var TreeError = class extends ParseError {
|
|
16452
16459
|
static create(elementName, span, msg) {
|
|
16453
16460
|
return new TreeError(elementName, span, msg);
|
|
@@ -16831,7 +16838,7 @@ function decodeEntity(match, entity) {
|
|
|
16831
16838
|
return match;
|
|
16832
16839
|
}
|
|
16833
16840
|
|
|
16834
|
-
// bazel-out/
|
|
16841
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
16835
16842
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
16836
16843
|
"iframe|srcdoc",
|
|
16837
16844
|
"*|innerhtml",
|
|
@@ -16846,7 +16853,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
16846
16853
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
16847
16854
|
}
|
|
16848
16855
|
|
|
16849
|
-
// bazel-out/
|
|
16856
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
16850
16857
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
16851
16858
|
if (htmlNode instanceof NodeWithI18n) {
|
|
16852
16859
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -17003,7 +17010,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
17003
17010
|
return jsDocComment(tags);
|
|
17004
17011
|
}
|
|
17005
17012
|
|
|
17006
|
-
// bazel-out/
|
|
17013
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
17007
17014
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
17008
17015
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
17009
17016
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -17054,7 +17061,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
17054
17061
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
17055
17062
|
}
|
|
17056
17063
|
|
|
17057
|
-
// bazel-out/
|
|
17064
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
17058
17065
|
function createLocalizeStatements(variable2, message, params) {
|
|
17059
17066
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
17060
17067
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -17143,7 +17150,7 @@ function createEmptyMessagePart(location) {
|
|
|
17143
17150
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
17144
17151
|
}
|
|
17145
17152
|
|
|
17146
|
-
// bazel-out/
|
|
17153
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
17147
17154
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
17148
17155
|
var TRANSLATION_VAR_PREFIX2 = "i18n_";
|
|
17149
17156
|
var I18N_ICU_MAPPING_PREFIX2 = "I18N_EXP_";
|
|
@@ -17304,7 +17311,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
17304
17311
|
return variable(name);
|
|
17305
17312
|
}
|
|
17306
17313
|
|
|
17307
|
-
// bazel-out/
|
|
17314
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
17308
17315
|
function convertI18nText(job) {
|
|
17309
17316
|
var _a2, _b2, _c2;
|
|
17310
17317
|
for (const unit of job.units) {
|
|
@@ -17374,7 +17381,7 @@ function convertI18nText(job) {
|
|
|
17374
17381
|
}
|
|
17375
17382
|
}
|
|
17376
17383
|
|
|
17377
|
-
// bazel-out/
|
|
17384
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
17378
17385
|
function liftLocalRefs(job) {
|
|
17379
17386
|
for (const unit of job.units) {
|
|
17380
17387
|
for (const op of unit.create) {
|
|
@@ -17404,7 +17411,7 @@ function serializeLocalRefs(refs) {
|
|
|
17404
17411
|
return literalArr(constRefs);
|
|
17405
17412
|
}
|
|
17406
17413
|
|
|
17407
|
-
// bazel-out/
|
|
17414
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
17408
17415
|
function emitNamespaceChanges(job) {
|
|
17409
17416
|
for (const unit of job.units) {
|
|
17410
17417
|
let activeNamespace = Namespace.HTML;
|
|
@@ -17420,7 +17427,7 @@ function emitNamespaceChanges(job) {
|
|
|
17420
17427
|
}
|
|
17421
17428
|
}
|
|
17422
17429
|
|
|
17423
|
-
// bazel-out/
|
|
17430
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
|
|
17424
17431
|
function parse(value) {
|
|
17425
17432
|
const styles = [];
|
|
17426
17433
|
let i = 0;
|
|
@@ -17481,7 +17488,7 @@ function hyphenate2(value) {
|
|
|
17481
17488
|
}).toLowerCase();
|
|
17482
17489
|
}
|
|
17483
17490
|
|
|
17484
|
-
// bazel-out/
|
|
17491
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
17485
17492
|
function nameFunctionsAndVariables(job) {
|
|
17486
17493
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
17487
17494
|
}
|
|
@@ -17601,7 +17608,7 @@ function stripImportant(name) {
|
|
|
17601
17608
|
return name;
|
|
17602
17609
|
}
|
|
17603
17610
|
|
|
17604
|
-
// bazel-out/
|
|
17611
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
17605
17612
|
function mergeNextContextExpressions(job) {
|
|
17606
17613
|
for (const unit of job.units) {
|
|
17607
17614
|
for (const op of unit.create) {
|
|
@@ -17647,7 +17654,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
17647
17654
|
}
|
|
17648
17655
|
}
|
|
17649
17656
|
|
|
17650
|
-
// bazel-out/
|
|
17657
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
17651
17658
|
var CONTAINER_TAG = "ng-container";
|
|
17652
17659
|
function generateNgContainerOps(job) {
|
|
17653
17660
|
for (const unit of job.units) {
|
|
@@ -17664,7 +17671,7 @@ function generateNgContainerOps(job) {
|
|
|
17664
17671
|
}
|
|
17665
17672
|
}
|
|
17666
17673
|
|
|
17667
|
-
// bazel-out/
|
|
17674
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
17668
17675
|
function lookupElement3(elements, xref) {
|
|
17669
17676
|
const el = elements.get(xref);
|
|
17670
17677
|
if (el === void 0) {
|
|
@@ -17694,7 +17701,7 @@ function disableBindings(job) {
|
|
|
17694
17701
|
}
|
|
17695
17702
|
}
|
|
17696
17703
|
|
|
17697
|
-
// bazel-out/
|
|
17704
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
17698
17705
|
function generateNullishCoalesceExpressions(job) {
|
|
17699
17706
|
for (const unit of job.units) {
|
|
17700
17707
|
for (const op of unit.ops()) {
|
|
@@ -17710,7 +17717,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
17710
17717
|
}
|
|
17711
17718
|
}
|
|
17712
17719
|
|
|
17713
|
-
// bazel-out/
|
|
17720
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
17714
17721
|
function kindTest(kind) {
|
|
17715
17722
|
return (op) => op.kind === kind;
|
|
17716
17723
|
}
|
|
@@ -17792,7 +17799,7 @@ function keepLast(ops) {
|
|
|
17792
17799
|
return ops.slice(ops.length - 1);
|
|
17793
17800
|
}
|
|
17794
17801
|
|
|
17795
|
-
// bazel-out/
|
|
17802
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
17796
17803
|
function parseExtractedStyles(job) {
|
|
17797
17804
|
const elements = /* @__PURE__ */ new Map();
|
|
17798
17805
|
for (const unit of job.units) {
|
|
@@ -17827,7 +17834,7 @@ function parseExtractedStyles(job) {
|
|
|
17827
17834
|
}
|
|
17828
17835
|
}
|
|
17829
17836
|
|
|
17830
|
-
// bazel-out/
|
|
17837
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
17831
17838
|
function removeContentSelectors(job) {
|
|
17832
17839
|
for (const unit of job.units) {
|
|
17833
17840
|
const elements = createOpXrefMap(unit);
|
|
@@ -17854,7 +17861,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
17854
17861
|
return el;
|
|
17855
17862
|
}
|
|
17856
17863
|
|
|
17857
|
-
// bazel-out/
|
|
17864
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
17858
17865
|
function createPipes(job) {
|
|
17859
17866
|
for (const unit of job.units) {
|
|
17860
17867
|
processPipeBindingsInView(unit);
|
|
@@ -17902,7 +17909,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
17902
17909
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
17903
17910
|
}
|
|
17904
17911
|
|
|
17905
|
-
// bazel-out/
|
|
17912
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
17906
17913
|
function createVariadicPipes(job) {
|
|
17907
17914
|
for (const unit of job.units) {
|
|
17908
17915
|
for (const op of unit.update) {
|
|
@@ -17919,7 +17926,7 @@ function createVariadicPipes(job) {
|
|
|
17919
17926
|
}
|
|
17920
17927
|
}
|
|
17921
17928
|
|
|
17922
|
-
// bazel-out/
|
|
17929
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
17923
17930
|
function propagateI18nBlocks(job) {
|
|
17924
17931
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
17925
17932
|
}
|
|
@@ -17973,7 +17980,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
17973
17980
|
}
|
|
17974
17981
|
}
|
|
17975
17982
|
|
|
17976
|
-
// bazel-out/
|
|
17983
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
17977
17984
|
function extractPureFunctions(job) {
|
|
17978
17985
|
for (const view of job.units) {
|
|
17979
17986
|
for (const op of view.ops()) {
|
|
@@ -18015,7 +18022,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
18015
18022
|
}
|
|
18016
18023
|
};
|
|
18017
18024
|
|
|
18018
|
-
// bazel-out/
|
|
18025
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
18019
18026
|
function generatePureLiteralStructures(job) {
|
|
18020
18027
|
for (const unit of job.units) {
|
|
18021
18028
|
for (const op of unit.update) {
|
|
@@ -18062,7 +18069,7 @@ function transformLiteralMap(expr) {
|
|
|
18062
18069
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
18063
18070
|
}
|
|
18064
18071
|
|
|
18065
|
-
// bazel-out/
|
|
18072
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
18066
18073
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
18067
18074
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
18068
18075
|
}
|
|
@@ -18584,7 +18591,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
18584
18591
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
18585
18592
|
}
|
|
18586
18593
|
|
|
18587
|
-
// bazel-out/
|
|
18594
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
18588
18595
|
var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
|
|
18589
18596
|
["window", Identifiers.resolveWindow],
|
|
18590
18597
|
["document", Identifiers.resolveDocument],
|
|
@@ -18917,7 +18924,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
18917
18924
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
18918
18925
|
}
|
|
18919
18926
|
|
|
18920
|
-
// bazel-out/
|
|
18927
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
18921
18928
|
function removeEmptyBindings(job) {
|
|
18922
18929
|
for (const unit of job.units) {
|
|
18923
18930
|
for (const op of unit.update) {
|
|
@@ -18938,7 +18945,7 @@ function removeEmptyBindings(job) {
|
|
|
18938
18945
|
}
|
|
18939
18946
|
}
|
|
18940
18947
|
|
|
18941
|
-
// bazel-out/
|
|
18948
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
18942
18949
|
function removeI18nContexts(job) {
|
|
18943
18950
|
for (const unit of job.units) {
|
|
18944
18951
|
for (const op of unit.create) {
|
|
@@ -18954,7 +18961,7 @@ function removeI18nContexts(job) {
|
|
|
18954
18961
|
}
|
|
18955
18962
|
}
|
|
18956
18963
|
|
|
18957
|
-
// bazel-out/
|
|
18964
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
|
|
18958
18965
|
function removeUnusedI18nAttributesOps(job) {
|
|
18959
18966
|
for (const unit of job.units) {
|
|
18960
18967
|
const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
|
|
@@ -18976,7 +18983,7 @@ function removeUnusedI18nAttributesOps(job) {
|
|
|
18976
18983
|
}
|
|
18977
18984
|
}
|
|
18978
18985
|
|
|
18979
|
-
// bazel-out/
|
|
18986
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
18980
18987
|
function resolveContexts(job) {
|
|
18981
18988
|
for (const unit of job.units) {
|
|
18982
18989
|
processLexicalScope(unit, unit.create);
|
|
@@ -19017,7 +19024,7 @@ function processLexicalScope(view, ops) {
|
|
|
19017
19024
|
}
|
|
19018
19025
|
}
|
|
19019
19026
|
|
|
19020
|
-
// bazel-out/
|
|
19027
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
19021
19028
|
function resolveDollarEvent(job) {
|
|
19022
19029
|
for (const unit of job.units) {
|
|
19023
19030
|
transformDollarEvent(unit, unit.create);
|
|
@@ -19038,7 +19045,7 @@ function transformDollarEvent(unit, ops) {
|
|
|
19038
19045
|
}
|
|
19039
19046
|
}
|
|
19040
19047
|
|
|
19041
|
-
// bazel-out/
|
|
19048
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
19042
19049
|
function resolveI18nElementPlaceholders(job) {
|
|
19043
19050
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
19044
19051
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -19217,7 +19224,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
19217
19224
|
params.set(placeholder, values);
|
|
19218
19225
|
}
|
|
19219
19226
|
|
|
19220
|
-
// bazel-out/
|
|
19227
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
19221
19228
|
function resolveI18nExpressionPlaceholders(job) {
|
|
19222
19229
|
var _a2;
|
|
19223
19230
|
const subTemplateIndicies = /* @__PURE__ */ new Map();
|
|
@@ -19270,7 +19277,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
|
|
|
19270
19277
|
}
|
|
19271
19278
|
}
|
|
19272
19279
|
|
|
19273
|
-
// bazel-out/
|
|
19280
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
19274
19281
|
function resolveNames(job) {
|
|
19275
19282
|
for (const unit of job.units) {
|
|
19276
19283
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -19334,7 +19341,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
19334
19341
|
}
|
|
19335
19342
|
}
|
|
19336
19343
|
|
|
19337
|
-
// bazel-out/
|
|
19344
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
19338
19345
|
var sanitizerFns = /* @__PURE__ */ new Map([
|
|
19339
19346
|
[SecurityContext.HTML, Identifiers.sanitizeHtml],
|
|
19340
19347
|
[SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
|
|
@@ -19404,7 +19411,7 @@ function getOnlySecurityContext(securityContext) {
|
|
|
19404
19411
|
return securityContext;
|
|
19405
19412
|
}
|
|
19406
19413
|
|
|
19407
|
-
// bazel-out/
|
|
19414
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
19408
19415
|
function saveAndRestoreView(job) {
|
|
19409
19416
|
for (const unit of job.units) {
|
|
19410
19417
|
unit.create.prepend([
|
|
@@ -19449,7 +19456,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
19449
19456
|
}
|
|
19450
19457
|
}
|
|
19451
19458
|
|
|
19452
|
-
// bazel-out/
|
|
19459
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
19453
19460
|
function allocateSlots(job) {
|
|
19454
19461
|
const slotMap = /* @__PURE__ */ new Map();
|
|
19455
19462
|
for (const unit of job.units) {
|
|
@@ -19474,7 +19481,7 @@ function allocateSlots(job) {
|
|
|
19474
19481
|
}
|
|
19475
19482
|
}
|
|
19476
19483
|
|
|
19477
|
-
// bazel-out/
|
|
19484
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
19478
19485
|
function specializeStyleBindings(job) {
|
|
19479
19486
|
for (const unit of job.units) {
|
|
19480
19487
|
for (const op of unit.update) {
|
|
@@ -19504,7 +19511,7 @@ function specializeStyleBindings(job) {
|
|
|
19504
19511
|
}
|
|
19505
19512
|
}
|
|
19506
19513
|
|
|
19507
|
-
// bazel-out/
|
|
19514
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
19508
19515
|
function generateTemporaryVariables(job) {
|
|
19509
19516
|
for (const unit of job.units) {
|
|
19510
19517
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -19562,7 +19569,7 @@ function assignName(names, expr) {
|
|
|
19562
19569
|
expr.name = name;
|
|
19563
19570
|
}
|
|
19564
19571
|
|
|
19565
|
-
// bazel-out/
|
|
19572
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
19566
19573
|
function generateTrackFns(job) {
|
|
19567
19574
|
for (const unit of job.units) {
|
|
19568
19575
|
for (const op of unit.create) {
|
|
@@ -19595,7 +19602,7 @@ function generateTrackFns(job) {
|
|
|
19595
19602
|
}
|
|
19596
19603
|
}
|
|
19597
19604
|
|
|
19598
|
-
// bazel-out/
|
|
19605
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
19599
19606
|
function optimizeTrackFns(job) {
|
|
19600
19607
|
for (const unit of job.units) {
|
|
19601
19608
|
for (const op of unit.create) {
|
|
@@ -19642,7 +19649,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
19642
19649
|
return true;
|
|
19643
19650
|
}
|
|
19644
19651
|
|
|
19645
|
-
// bazel-out/
|
|
19652
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
19646
19653
|
function generateTrackVariables(job) {
|
|
19647
19654
|
for (const unit of job.units) {
|
|
19648
19655
|
for (const op of unit.create) {
|
|
@@ -19663,7 +19670,7 @@ function generateTrackVariables(job) {
|
|
|
19663
19670
|
}
|
|
19664
19671
|
}
|
|
19665
19672
|
|
|
19666
|
-
// bazel-out/
|
|
19673
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
19667
19674
|
function countVariables(job) {
|
|
19668
19675
|
for (const unit of job.units) {
|
|
19669
19676
|
let varCount = 0;
|
|
@@ -19771,7 +19778,7 @@ function isSingletonInterpolation(expr) {
|
|
|
19771
19778
|
return true;
|
|
19772
19779
|
}
|
|
19773
19780
|
|
|
19774
|
-
// bazel-out/
|
|
19781
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
19775
19782
|
function optimizeVariables(job) {
|
|
19776
19783
|
for (const unit of job.units) {
|
|
19777
19784
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -20021,7 +20028,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
20021
20028
|
}
|
|
20022
20029
|
}
|
|
20023
20030
|
|
|
20024
|
-
// bazel-out/
|
|
20031
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
20025
20032
|
function wrapI18nIcus(job) {
|
|
20026
20033
|
for (const unit of job.units) {
|
|
20027
20034
|
let currentI18nOp = null;
|
|
@@ -20051,7 +20058,7 @@ function wrapI18nIcus(job) {
|
|
|
20051
20058
|
}
|
|
20052
20059
|
}
|
|
20053
20060
|
|
|
20054
|
-
// bazel-out/
|
|
20061
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
20055
20062
|
var phases = [
|
|
20056
20063
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
20057
20064
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -20093,7 +20100,6 @@ var phases = [
|
|
|
20093
20100
|
{ kind: CompilationJobKind.Both, fn: expandSafeReads },
|
|
20094
20101
|
{ kind: CompilationJobKind.Both, fn: generateTemporaryVariables },
|
|
20095
20102
|
{ kind: CompilationJobKind.Tmpl, fn: allocateSlots },
|
|
20096
|
-
{ kind: CompilationJobKind.Tmpl, fn: createDeferDepsFns },
|
|
20097
20103
|
{ kind: CompilationJobKind.Tmpl, fn: resolveI18nElementPlaceholders },
|
|
20098
20104
|
{ kind: CompilationJobKind.Tmpl, fn: resolveI18nExpressionPlaceholders },
|
|
20099
20105
|
{ kind: CompilationJobKind.Tmpl, fn: extractI18nMessages },
|
|
@@ -20106,6 +20112,7 @@ var phases = [
|
|
|
20106
20112
|
{ kind: CompilationJobKind.Tmpl, fn: generateAdvance },
|
|
20107
20113
|
{ kind: CompilationJobKind.Both, fn: optimizeVariables },
|
|
20108
20114
|
{ kind: CompilationJobKind.Both, fn: nameFunctionsAndVariables },
|
|
20115
|
+
{ kind: CompilationJobKind.Tmpl, fn: createDeferDepsFns },
|
|
20109
20116
|
{ kind: CompilationJobKind.Tmpl, fn: mergeNextContextExpressions },
|
|
20110
20117
|
{ kind: CompilationJobKind.Tmpl, fn: generateNgContainerOps },
|
|
20111
20118
|
{ kind: CompilationJobKind.Tmpl, fn: collapseEmptyInstructions },
|
|
@@ -20216,12 +20223,12 @@ function emitHostBindingFunction(job) {
|
|
|
20216
20223
|
);
|
|
20217
20224
|
}
|
|
20218
20225
|
|
|
20219
|
-
// bazel-out/
|
|
20226
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
20220
20227
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
20221
20228
|
var domSchema = new DomElementSchemaRegistry();
|
|
20222
20229
|
var NG_TEMPLATE_TAG_NAME = "ng-template";
|
|
20223
|
-
function ingestComponent(componentName, template2, constantPool, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta) {
|
|
20224
|
-
const job = new ComponentCompilationJob(componentName, constantPool, compatibilityMode, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta);
|
|
20230
|
+
function ingestComponent(componentName, template2, constantPool, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta, allDeferrableDepsFn) {
|
|
20231
|
+
const job = new ComponentCompilationJob(componentName, constantPool, compatibilityMode, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta, allDeferrableDepsFn);
|
|
20225
20232
|
ingestNodes(job.root, template2);
|
|
20226
20233
|
return job;
|
|
20227
20234
|
}
|
|
@@ -20276,7 +20283,7 @@ function ingestHostAttribute(job, name, value, securityContexts) {
|
|
|
20276
20283
|
job.root.update.push(attrBinding);
|
|
20277
20284
|
}
|
|
20278
20285
|
function ingestHostEvent(job, event) {
|
|
20279
|
-
const [phase, target] = event.type
|
|
20286
|
+
const [phase, target] = event.type !== 1 ? [null, event.targetOrPhase] : [event.targetOrPhase, null];
|
|
20280
20287
|
const eventBinding = createListenerOp(job.root.xref, new SlotHandle(), event.name, null, makeListenerHandlerOps(job.root, event.handler, event.handlerSpan), phase, target, true, event.sourceSpan);
|
|
20281
20288
|
job.root.create.push(eventBinding);
|
|
20282
20289
|
}
|
|
@@ -20485,7 +20492,7 @@ function ingestDeferBlock(unit, deferBlock) {
|
|
|
20485
20492
|
const placeholder = ingestDeferView(unit, "Placeholder", (_d2 = deferBlock.placeholder) == null ? void 0 : _d2.i18n, (_e2 = deferBlock.placeholder) == null ? void 0 : _e2.children, (_f2 = deferBlock.placeholder) == null ? void 0 : _f2.sourceSpan);
|
|
20486
20493
|
const error2 = ingestDeferView(unit, "Error", (_g = deferBlock.error) == null ? void 0 : _g.i18n, (_h = deferBlock.error) == null ? void 0 : _h.children, (_i = deferBlock.error) == null ? void 0 : _i.sourceSpan);
|
|
20487
20494
|
const deferXref = unit.job.allocateXrefId();
|
|
20488
|
-
const deferOp = createDeferOp(deferXref, main.xref, main.handle, blockMeta, deferBlock.sourceSpan);
|
|
20495
|
+
const deferOp = createDeferOp(deferXref, main.xref, main.handle, blockMeta, unit.job.allDeferrableDepsFn, deferBlock.sourceSpan);
|
|
20489
20496
|
deferOp.placeholderView = (_j = placeholder == null ? void 0 : placeholder.xref) != null ? _j : null;
|
|
20490
20497
|
deferOp.placeholderSlot = (_k = placeholder == null ? void 0 : placeholder.handle) != null ? _k : null;
|
|
20491
20498
|
deferOp.loadingSlot = (_l = loading == null ? void 0 : loading.handle) != null ? _l : null;
|
|
@@ -20743,6 +20750,7 @@ function convertAstWithInterpolation(job, value, i18nMeta, sourceSpan) {
|
|
|
20743
20750
|
}
|
|
20744
20751
|
var BINDING_KINDS = /* @__PURE__ */ new Map([
|
|
20745
20752
|
[0, BindingKind.Property],
|
|
20753
|
+
[5, BindingKind.Property],
|
|
20746
20754
|
[1, BindingKind.Attribute],
|
|
20747
20755
|
[2, BindingKind.ClassName],
|
|
20748
20756
|
[3, BindingKind.StyleProperty],
|
|
@@ -20821,7 +20829,7 @@ function ingestTemplateBindings(unit, op, template2, templateKind) {
|
|
|
20821
20829
|
function createTemplateBinding(view, xref, type, name, value, unit, securityContext, isStructuralTemplateAttribute, templateKind, i18nMessage, sourceSpan) {
|
|
20822
20830
|
const isTextBinding = typeof value === "string";
|
|
20823
20831
|
if (templateKind === TemplateKind.Structural) {
|
|
20824
|
-
if (!isStructuralTemplateAttribute && (type === 0 || type === 2 || type === 3)) {
|
|
20832
|
+
if (!isStructuralTemplateAttribute && (type === 0 || type === 5 || type === 2 || type === 3)) {
|
|
20825
20833
|
return createExtractedAttributeOp(xref, BindingKind.Property, null, name, null, null, i18nMessage, securityContext);
|
|
20826
20834
|
}
|
|
20827
20835
|
if (!isTextBinding && (type === 1 || type === 4)) {
|
|
@@ -20899,10 +20907,10 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
20899
20907
|
return null;
|
|
20900
20908
|
}
|
|
20901
20909
|
|
|
20902
|
-
// bazel-out/
|
|
20910
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
|
|
20903
20911
|
var USE_TEMPLATE_PIPELINE = false;
|
|
20904
20912
|
|
|
20905
|
-
// bazel-out/
|
|
20913
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
|
|
20906
20914
|
var IMPORTANT_FLAG = "!important";
|
|
20907
20915
|
var MIN_STYLING_BINDING_SLOTS_REQUIRED = 2;
|
|
20908
20916
|
var StylingBuilder = class {
|
|
@@ -21235,7 +21243,7 @@ function isEmptyExpression(ast) {
|
|
|
21235
21243
|
return ast instanceof EmptyExpr;
|
|
21236
21244
|
}
|
|
21237
21245
|
|
|
21238
|
-
// bazel-out/
|
|
21246
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
21239
21247
|
var HtmlParser = class extends Parser2 {
|
|
21240
21248
|
constructor() {
|
|
21241
21249
|
super(getHtmlTagDefinition);
|
|
@@ -21245,7 +21253,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
21245
21253
|
}
|
|
21246
21254
|
};
|
|
21247
21255
|
|
|
21248
|
-
// bazel-out/
|
|
21256
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
21249
21257
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
21250
21258
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
21251
21259
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -21311,7 +21319,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
21311
21319
|
return result;
|
|
21312
21320
|
}
|
|
21313
21321
|
|
|
21314
|
-
// bazel-out/
|
|
21322
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
21315
21323
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
21316
21324
|
var ATTRIBUTE_PREFIX = "attr";
|
|
21317
21325
|
var CLASS_PREFIX = "class";
|
|
@@ -21337,6 +21345,7 @@ var BindingParser = class {
|
|
|
21337
21345
|
propName,
|
|
21338
21346
|
expression,
|
|
21339
21347
|
true,
|
|
21348
|
+
false,
|
|
21340
21349
|
sourceSpan,
|
|
21341
21350
|
sourceSpan.start.offset,
|
|
21342
21351
|
void 0,
|
|
@@ -21402,7 +21411,7 @@ var BindingParser = class {
|
|
|
21402
21411
|
} else if (binding.value) {
|
|
21403
21412
|
const srcSpan = isIvyAst ? bindingSpan : sourceSpan;
|
|
21404
21413
|
const valueSpan = moveParseSourceSpan(sourceSpan, binding.value.ast.sourceSpan);
|
|
21405
|
-
this._parsePropertyAst(key, binding.value, srcSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
|
|
21414
|
+
this._parsePropertyAst(key, binding.value, false, srcSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
|
|
21406
21415
|
} else {
|
|
21407
21416
|
targetMatchableAttrs.push([key, ""]);
|
|
21408
21417
|
this.parseLiteralAttr(key, null, keySpan, absoluteValueOffset, void 0, targetMatchableAttrs, targetProps, keySpan);
|
|
@@ -21437,7 +21446,7 @@ var BindingParser = class {
|
|
|
21437
21446
|
targetProps.push(new ParsedProperty(name, this._exprParser.wrapLiteralPrimitive(value, "", absoluteOffset), ParsedPropertyType.LITERAL_ATTR, sourceSpan, keySpan, valueSpan));
|
|
21438
21447
|
}
|
|
21439
21448
|
}
|
|
21440
|
-
parsePropertyBinding(name, expression, isHost, sourceSpan, absoluteOffset, valueSpan, targetMatchableAttrs, targetProps, keySpan) {
|
|
21449
|
+
parsePropertyBinding(name, expression, isHost, isPartOfAssignmentBinding, sourceSpan, absoluteOffset, valueSpan, targetMatchableAttrs, targetProps, keySpan) {
|
|
21441
21450
|
if (name.length === 0) {
|
|
21442
21451
|
this._reportError(`Property name is missing in binding`, sourceSpan);
|
|
21443
21452
|
}
|
|
@@ -21458,20 +21467,20 @@ var BindingParser = class {
|
|
|
21458
21467
|
if (isAnimationProp) {
|
|
21459
21468
|
this._parseAnimation(name, expression, sourceSpan, absoluteOffset, keySpan, valueSpan, targetMatchableAttrs, targetProps);
|
|
21460
21469
|
} else {
|
|
21461
|
-
this._parsePropertyAst(name, this.parseBinding(expression, isHost, valueSpan || sourceSpan, absoluteOffset), sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
|
|
21470
|
+
this._parsePropertyAst(name, this.parseBinding(expression, isHost, valueSpan || sourceSpan, absoluteOffset), isPartOfAssignmentBinding, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
|
|
21462
21471
|
}
|
|
21463
21472
|
}
|
|
21464
21473
|
parsePropertyInterpolation(name, value, sourceSpan, valueSpan, targetMatchableAttrs, targetProps, keySpan, interpolatedTokens) {
|
|
21465
21474
|
const expr = this.parseInterpolation(value, valueSpan || sourceSpan, interpolatedTokens);
|
|
21466
21475
|
if (expr) {
|
|
21467
|
-
this._parsePropertyAst(name, expr, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
|
|
21476
|
+
this._parsePropertyAst(name, expr, false, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
|
|
21468
21477
|
return true;
|
|
21469
21478
|
}
|
|
21470
21479
|
return false;
|
|
21471
21480
|
}
|
|
21472
|
-
_parsePropertyAst(name, ast, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps) {
|
|
21481
|
+
_parsePropertyAst(name, ast, isPartOfAssignmentBinding, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps) {
|
|
21473
21482
|
targetMatchableAttrs.push([name, ast.source]);
|
|
21474
|
-
targetProps.push(new ParsedProperty(name, ast, ParsedPropertyType.DEFAULT, sourceSpan, keySpan, valueSpan));
|
|
21483
|
+
targetProps.push(new ParsedProperty(name, ast, isPartOfAssignmentBinding ? ParsedPropertyType.TWO_WAY : ParsedPropertyType.DEFAULT, sourceSpan, keySpan, valueSpan));
|
|
21475
21484
|
}
|
|
21476
21485
|
_parseAnimation(name, expression, sourceSpan, absoluteOffset, keySpan, valueSpan, targetMatchableAttrs, targetProps) {
|
|
21477
21486
|
if (name.length === 0) {
|
|
@@ -21531,7 +21540,7 @@ var BindingParser = class {
|
|
|
21531
21540
|
const mappedPropName = this._schemaRegistry.getMappedPropName(boundProp.name);
|
|
21532
21541
|
boundPropertyName = mapPropertyName ? mappedPropName : boundProp.name;
|
|
21533
21542
|
securityContexts = calcPossibleSecurityContexts(this._schemaRegistry, elementSelector, mappedPropName, false);
|
|
21534
|
-
bindingType = 0;
|
|
21543
|
+
bindingType = boundProp.type === ParsedPropertyType.TWO_WAY ? 5 : 0;
|
|
21535
21544
|
if (!skipValidation) {
|
|
21536
21545
|
this._validatePropertyOrAttributeName(mappedPropName, boundProp.sourceSpan, false);
|
|
21537
21546
|
}
|
|
@@ -21577,7 +21586,7 @@ var BindingParser = class {
|
|
|
21577
21586
|
const [target, eventName] = splitAtColon(name, [null, name]);
|
|
21578
21587
|
const ast = this._parseAction(expression, isAssignmentEvent, handlerSpan);
|
|
21579
21588
|
targetMatchableAttrs.push([name, ast.source]);
|
|
21580
|
-
targetEvents.push(new ParsedEvent(eventName, target, 0, ast, sourceSpan, handlerSpan, keySpan));
|
|
21589
|
+
targetEvents.push(new ParsedEvent(eventName, target, isAssignmentEvent ? 2 : 0, ast, sourceSpan, handlerSpan, keySpan));
|
|
21581
21590
|
}
|
|
21582
21591
|
_parseAction(value, isAssignmentEvent, sourceSpan) {
|
|
21583
21592
|
const sourceInfo = (sourceSpan && sourceSpan.start || "(unknown").toString();
|
|
@@ -21631,7 +21640,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
21631
21640
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
21632
21641
|
}
|
|
21633
21642
|
|
|
21634
|
-
// bazel-out/
|
|
21643
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
21635
21644
|
function isStyleUrlResolvable(url) {
|
|
21636
21645
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
21637
21646
|
return false;
|
|
@@ -21640,7 +21649,7 @@ function isStyleUrlResolvable(url) {
|
|
|
21640
21649
|
}
|
|
21641
21650
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
21642
21651
|
|
|
21643
|
-
// bazel-out/
|
|
21652
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
21644
21653
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
21645
21654
|
var LINK_ELEMENT = "link";
|
|
21646
21655
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -21710,12 +21719,13 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
21710
21719
|
return selectAttr;
|
|
21711
21720
|
}
|
|
21712
21721
|
|
|
21713
|
-
// bazel-out/
|
|
21722
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
21714
21723
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
21715
21724
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
21716
|
-
var CONDITIONAL_ALIAS_PATTERN = /^as\s+(.*)/;
|
|
21725
|
+
var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
|
|
21717
21726
|
var ELSE_IF_PATTERN = /^else[^\S\r\n]+if/;
|
|
21718
21727
|
var FOR_LOOP_LET_PATTERN = /^let\s+([\S\s]*)/;
|
|
21728
|
+
var CHARACTERS_IN_SURROUNDING_WHITESPACE_PATTERN = /(\s*)(\S+)(\s*)/;
|
|
21719
21729
|
var ALLOWED_FOR_LOOP_LET_VARIABLES = /* @__PURE__ */ new Set(["$index", "$first", "$last", "$even", "$odd", "$count"]);
|
|
21720
21730
|
function isConnectedForLoopBlock(name) {
|
|
21721
21731
|
return name === "empty";
|
|
@@ -21827,8 +21837,10 @@ function parseForLoopParameters(block, errors, bindingParser) {
|
|
|
21827
21837
|
return null;
|
|
21828
21838
|
}
|
|
21829
21839
|
const [, itemName, rawExpression] = match;
|
|
21840
|
+
const variableName = expressionParam.expression.split(" ")[0];
|
|
21841
|
+
const variableSpan = new ParseSourceSpan(expressionParam.sourceSpan.start, expressionParam.sourceSpan.start.moveBy(variableName.length));
|
|
21830
21842
|
const result = {
|
|
21831
|
-
itemName: new Variable(itemName, "$implicit",
|
|
21843
|
+
itemName: new Variable(itemName, "$implicit", variableSpan, variableSpan),
|
|
21832
21844
|
trackBy: null,
|
|
21833
21845
|
expression: parseBlockParameterToBinding(expressionParam, bindingParser, rawExpression),
|
|
21834
21846
|
context: {}
|
|
@@ -21836,7 +21848,8 @@ function parseForLoopParameters(block, errors, bindingParser) {
|
|
|
21836
21848
|
for (const param of secondaryParams) {
|
|
21837
21849
|
const letMatch = param.expression.match(FOR_LOOP_LET_PATTERN);
|
|
21838
21850
|
if (letMatch !== null) {
|
|
21839
|
-
|
|
21851
|
+
const variablesSpan = new ParseSourceSpan(param.sourceSpan.start.moveBy(letMatch[0].length - letMatch[1].length), param.sourceSpan.end);
|
|
21852
|
+
parseLetParameter(param.sourceSpan, letMatch[1], variablesSpan, result.context, errors);
|
|
21840
21853
|
continue;
|
|
21841
21854
|
}
|
|
21842
21855
|
const trackMatch = param.expression.match(FOR_LOOP_TRACK_PATTERN);
|
|
@@ -21852,16 +21865,18 @@ function parseForLoopParameters(block, errors, bindingParser) {
|
|
|
21852
21865
|
}
|
|
21853
21866
|
errors.push(new ParseError(param.sourceSpan, `Unrecognized @for loop paramater "${param.expression}"`));
|
|
21854
21867
|
}
|
|
21855
|
-
for (const
|
|
21856
|
-
if (!result.context.hasOwnProperty(
|
|
21868
|
+
for (const variableName2 of ALLOWED_FOR_LOOP_LET_VARIABLES) {
|
|
21869
|
+
if (!result.context.hasOwnProperty(variableName2)) {
|
|
21857
21870
|
const emptySpanAfterForBlockStart = new ParseSourceSpan(block.startSourceSpan.end, block.startSourceSpan.end);
|
|
21858
|
-
result.context[
|
|
21871
|
+
result.context[variableName2] = new Variable(variableName2, variableName2, emptySpanAfterForBlockStart, emptySpanAfterForBlockStart);
|
|
21859
21872
|
}
|
|
21860
21873
|
}
|
|
21861
21874
|
return result;
|
|
21862
21875
|
}
|
|
21863
21876
|
function parseLetParameter(sourceSpan, expression, span, context, errors) {
|
|
21877
|
+
var _a2, _b2, _c2;
|
|
21864
21878
|
const parts = expression.split(",");
|
|
21879
|
+
let startSpan = span.start;
|
|
21865
21880
|
for (const part of parts) {
|
|
21866
21881
|
const expressionParts = part.split("=");
|
|
21867
21882
|
const name = expressionParts.length === 2 ? expressionParts[0].trim() : "";
|
|
@@ -21873,8 +21888,20 @@ function parseLetParameter(sourceSpan, expression, span, context, errors) {
|
|
|
21873
21888
|
} else if (context.hasOwnProperty(variableName)) {
|
|
21874
21889
|
errors.push(new ParseError(sourceSpan, `Duplicate "let" parameter variable "${variableName}"`));
|
|
21875
21890
|
} else {
|
|
21876
|
-
|
|
21891
|
+
const [, keyLeadingWhitespace, keyName] = (_a2 = expressionParts[0].match(CHARACTERS_IN_SURROUNDING_WHITESPACE_PATTERN)) != null ? _a2 : [];
|
|
21892
|
+
const keySpan = keyLeadingWhitespace !== void 0 && expressionParts.length === 2 ? new ParseSourceSpan(
|
|
21893
|
+
startSpan.moveBy(keyLeadingWhitespace.length),
|
|
21894
|
+
startSpan.moveBy(keyLeadingWhitespace.length + keyName.length)
|
|
21895
|
+
) : span;
|
|
21896
|
+
let valueSpan = void 0;
|
|
21897
|
+
if (expressionParts.length === 2) {
|
|
21898
|
+
const [, valueLeadingWhitespace, implicit] = (_b2 = expressionParts[1].match(CHARACTERS_IN_SURROUNDING_WHITESPACE_PATTERN)) != null ? _b2 : [];
|
|
21899
|
+
valueSpan = valueLeadingWhitespace !== void 0 ? new ParseSourceSpan(startSpan.moveBy(expressionParts[0].length + 1 + valueLeadingWhitespace.length), startSpan.moveBy(expressionParts[0].length + 1 + valueLeadingWhitespace.length + implicit.length)) : void 0;
|
|
21900
|
+
}
|
|
21901
|
+
const sourceSpan2 = new ParseSourceSpan(keySpan.start, (_c2 = valueSpan == null ? void 0 : valueSpan.end) != null ? _c2 : keySpan.end);
|
|
21902
|
+
context[variableName] = new Variable(name, variableName, sourceSpan2, keySpan, valueSpan);
|
|
21877
21903
|
}
|
|
21904
|
+
startSpan = startSpan.moveBy(part.length + 1);
|
|
21878
21905
|
}
|
|
21879
21906
|
}
|
|
21880
21907
|
function validateIfConnectedBlocks(connectedBlocks) {
|
|
@@ -21954,8 +21981,10 @@ function parseConditionalBlockParameters(block, errors, bindingParser) {
|
|
|
21954
21981
|
} else if (expressionAlias !== null) {
|
|
21955
21982
|
errors.push(new ParseError(param.sourceSpan, 'Conditional can only have one "as" expression'));
|
|
21956
21983
|
} else {
|
|
21957
|
-
const name = aliasMatch[
|
|
21958
|
-
|
|
21984
|
+
const name = aliasMatch[2].trim();
|
|
21985
|
+
const variableStart = param.sourceSpan.start.moveBy(aliasMatch[1].length);
|
|
21986
|
+
const variableSpan = new ParseSourceSpan(variableStart, variableStart.moveBy(name.length));
|
|
21987
|
+
expressionAlias = new Variable(name, name, variableSpan, variableSpan);
|
|
21959
21988
|
}
|
|
21960
21989
|
}
|
|
21961
21990
|
return { expression, expressionAlias };
|
|
@@ -22001,7 +22030,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
22001
22030
|
return expression.slice(start, end);
|
|
22002
22031
|
}
|
|
22003
22032
|
|
|
22004
|
-
// bazel-out/
|
|
22033
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
22005
22034
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
22006
22035
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
22007
22036
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -22265,7 +22294,7 @@ function parseDeferredTime(value) {
|
|
|
22265
22294
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
22266
22295
|
}
|
|
22267
22296
|
|
|
22268
|
-
// bazel-out/
|
|
22297
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
22269
22298
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
22270
22299
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
22271
22300
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -22400,7 +22429,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
22400
22429
|
return { triggers, prefetchTriggers };
|
|
22401
22430
|
}
|
|
22402
22431
|
|
|
22403
|
-
// bazel-out/
|
|
22432
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
22404
22433
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
22405
22434
|
var KW_BIND_IDX = 1;
|
|
22406
22435
|
var KW_LET_IDX = 2;
|
|
@@ -22673,7 +22702,7 @@ var HtmlAstToIvyAst = class {
|
|
|
22673
22702
|
if (bindParts[KW_BIND_IDX] != null) {
|
|
22674
22703
|
const identifier = bindParts[IDENT_KW_IDX];
|
|
22675
22704
|
const keySpan2 = createKeySpan(srcSpan, bindParts[KW_BIND_IDX], identifier);
|
|
22676
|
-
this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
|
|
22705
|
+
this.bindingParser.parsePropertyBinding(identifier, value, false, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
|
|
22677
22706
|
} else if (bindParts[KW_LET_IDX]) {
|
|
22678
22707
|
if (isTemplateElement) {
|
|
22679
22708
|
const identifier = bindParts[IDENT_KW_IDX];
|
|
@@ -22695,7 +22724,7 @@ var HtmlAstToIvyAst = class {
|
|
|
22695
22724
|
} else if (bindParts[KW_BINDON_IDX]) {
|
|
22696
22725
|
const identifier = bindParts[IDENT_KW_IDX];
|
|
22697
22726
|
const keySpan2 = createKeySpan(srcSpan, bindParts[KW_BINDON_IDX], identifier);
|
|
22698
|
-
this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
|
|
22727
|
+
this.bindingParser.parsePropertyBinding(identifier, value, false, true, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
|
|
22699
22728
|
this.parseAssignmentEvent(identifier, value, srcSpan, attribute2.valueSpan, matchableAttributes, boundEvents, keySpan2);
|
|
22700
22729
|
} else if (bindParts[KW_AT_IDX]) {
|
|
22701
22730
|
const keySpan2 = createKeySpan(srcSpan, "", name);
|
|
@@ -22715,10 +22744,10 @@ var HtmlAstToIvyAst = class {
|
|
|
22715
22744
|
const identifier = name.substring(delims.start.length, name.length - delims.end.length);
|
|
22716
22745
|
const keySpan2 = createKeySpan(srcSpan, delims.start, identifier);
|
|
22717
22746
|
if (delims.start === BINDING_DELIMS.BANANA_BOX.start) {
|
|
22718
|
-
this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
|
|
22747
|
+
this.bindingParser.parsePropertyBinding(identifier, value, false, true, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
|
|
22719
22748
|
this.parseAssignmentEvent(identifier, value, srcSpan, attribute2.valueSpan, matchableAttributes, boundEvents, keySpan2);
|
|
22720
22749
|
} else if (delims.start === BINDING_DELIMS.PROPERTY.start) {
|
|
22721
|
-
this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
|
|
22750
|
+
this.bindingParser.parsePropertyBinding(identifier, value, false, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
|
|
22722
22751
|
} else {
|
|
22723
22752
|
const events = [];
|
|
22724
22753
|
this.bindingParser.parseEvent(identifier, value, false, srcSpan, attribute2.valueSpan || srcSpan, matchableAttributes, events, keySpan2);
|
|
@@ -22831,7 +22860,7 @@ function textContents(node) {
|
|
|
22831
22860
|
}
|
|
22832
22861
|
}
|
|
22833
22862
|
|
|
22834
|
-
// bazel-out/
|
|
22863
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
|
|
22835
22864
|
var TagType;
|
|
22836
22865
|
(function(TagType2) {
|
|
22837
22866
|
TagType2[TagType2["ELEMENT"] = 0] = "ELEMENT";
|
|
@@ -22976,7 +23005,7 @@ function serializePlaceholderValue(value) {
|
|
|
22976
23005
|
}
|
|
22977
23006
|
}
|
|
22978
23007
|
|
|
22979
|
-
// bazel-out/
|
|
23008
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
22980
23009
|
var NG_CONTENT_SELECT_ATTR2 = "select";
|
|
22981
23010
|
var NG_PROJECT_AS_ATTR_NAME = "ngProjectAs";
|
|
22982
23011
|
var EVENT_BINDING_SCOPE_GLOBALS = /* @__PURE__ */ new Set(["$event"]);
|
|
@@ -23387,7 +23416,7 @@ var TemplateDefinitionBuilder = class {
|
|
|
23387
23416
|
element2.inputs.forEach((input) => {
|
|
23388
23417
|
const stylingInputWasSet = stylingBuilder.registerBoundInput(input);
|
|
23389
23418
|
if (!stylingInputWasSet) {
|
|
23390
|
-
if (input.type === 0 && input.i18n) {
|
|
23419
|
+
if ((input.type === 0 || input.type === 5) && input.i18n) {
|
|
23391
23420
|
boundI18nAttrs.push(input);
|
|
23392
23421
|
} else {
|
|
23393
23422
|
allOtherInputs.push(input);
|
|
@@ -23473,7 +23502,7 @@ var TemplateDefinitionBuilder = class {
|
|
|
23473
23502
|
}
|
|
23474
23503
|
}
|
|
23475
23504
|
this.allocateBindingSlots(value);
|
|
23476
|
-
if (inputType === 0) {
|
|
23505
|
+
if (inputType === 0 || inputType === 5) {
|
|
23477
23506
|
if (value instanceof Interpolation) {
|
|
23478
23507
|
this.interpolatedUpdateInstruction(getPropertyInterpolationExpression(value), elementIndex, attrName, input, value, params);
|
|
23479
23508
|
} else {
|
|
@@ -24663,7 +24692,7 @@ function createClosureModeGuard2() {
|
|
|
24663
24692
|
return typeofExpr(variable(NG_I18N_CLOSURE_MODE2)).notIdentical(literal("undefined", STRING_TYPE)).and(variable(NG_I18N_CLOSURE_MODE2));
|
|
24664
24693
|
}
|
|
24665
24694
|
|
|
24666
|
-
// bazel-out/
|
|
24695
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
24667
24696
|
var ATTR_REGEX = /attr\.([^\]]+)/;
|
|
24668
24697
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
24669
24698
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
@@ -24767,12 +24796,12 @@ function compileComponentFromMetadata(meta, constantPool, bindingParser) {
|
|
|
24767
24796
|
}
|
|
24768
24797
|
const templateTypeName = meta.name;
|
|
24769
24798
|
const templateName = templateTypeName ? `${templateTypeName}_Template` : null;
|
|
24799
|
+
let allDeferrableDepsFn = null;
|
|
24800
|
+
if (meta.deferBlocks.size > 0 && meta.deferrableTypes.size > 0 && meta.deferBlockDepsEmitMode === 1) {
|
|
24801
|
+
const fnName = `${templateTypeName}_DeferFn`;
|
|
24802
|
+
allDeferrableDepsFn = createDeferredDepsFunction(constantPool, fnName, meta.deferrableTypes);
|
|
24803
|
+
}
|
|
24770
24804
|
if (!USE_TEMPLATE_PIPELINE) {
|
|
24771
|
-
let allDeferrableDepsFn = null;
|
|
24772
|
-
if (meta.deferBlocks.size > 0 && meta.deferrableTypes.size > 0 && meta.deferBlockDepsEmitMode === 1) {
|
|
24773
|
-
const fnName = `${templateTypeName}_DeferFn`;
|
|
24774
|
-
allDeferrableDepsFn = createDeferredDepsFunction(constantPool, fnName, meta.deferrableTypes);
|
|
24775
|
-
}
|
|
24776
24805
|
const template2 = meta.template;
|
|
24777
24806
|
const templateBuilder = new TemplateDefinitionBuilder(constantPool, BindingScope.createRootScope(), 0, templateTypeName, null, null, templateName, Identifiers.namespaceHTML, meta.relativeContextFilePath, meta.i18nUseExternalIds, meta.deferBlocks, /* @__PURE__ */ new Map(), allDeferrableDepsFn);
|
|
24778
24807
|
const templateFunctionExpression = templateBuilder.buildTemplateFunction(template2.nodes, []);
|
|
@@ -24792,7 +24821,7 @@ function compileComponentFromMetadata(meta, constantPool, bindingParser) {
|
|
|
24792
24821
|
}
|
|
24793
24822
|
definitionMap.set("template", templateFunctionExpression);
|
|
24794
24823
|
} else {
|
|
24795
|
-
const tpl = ingestComponent(meta.name, meta.template.nodes, constantPool, meta.relativeContextFilePath, meta.i18nUseExternalIds, meta.deferBlocks);
|
|
24824
|
+
const tpl = ingestComponent(meta.name, meta.template.nodes, constantPool, meta.relativeContextFilePath, meta.i18nUseExternalIds, meta.deferBlocks, allDeferrableDepsFn);
|
|
24796
24825
|
transform(tpl, CompilationJobKind.Tmpl);
|
|
24797
24826
|
const templateFn = emitTemplateFn(tpl, constantPool);
|
|
24798
24827
|
if (tpl.contentSelectors !== null) {
|
|
@@ -25294,7 +25323,7 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
25294
25323
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
25295
25324
|
}
|
|
25296
25325
|
|
|
25297
|
-
// bazel-out/
|
|
25326
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
25298
25327
|
var R3TargetBinder = class {
|
|
25299
25328
|
constructor(directiveMatcher) {
|
|
25300
25329
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -25911,11 +25940,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
25911
25940
|
return templateEntities;
|
|
25912
25941
|
}
|
|
25913
25942
|
|
|
25914
|
-
// bazel-out/
|
|
25943
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
25915
25944
|
var ResourceLoader = class {
|
|
25916
25945
|
};
|
|
25917
25946
|
|
|
25918
|
-
// bazel-out/
|
|
25947
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
25919
25948
|
var CompilerFacadeImpl = class {
|
|
25920
25949
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
25921
25950
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -26488,10 +26517,10 @@ function publishFacade(global) {
|
|
|
26488
26517
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
26489
26518
|
}
|
|
26490
26519
|
|
|
26491
|
-
// bazel-out/
|
|
26492
|
-
var VERSION2 = new Version("17.1.
|
|
26520
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
|
|
26521
|
+
var VERSION2 = new Version("17.1.2");
|
|
26493
26522
|
|
|
26494
|
-
// bazel-out/
|
|
26523
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
26495
26524
|
var _I18N_ATTR = "i18n";
|
|
26496
26525
|
var _I18N_ATTR_PREFIX = "i18n-";
|
|
26497
26526
|
var _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;
|
|
@@ -26800,7 +26829,7 @@ function _parseMessageMeta(i18n2) {
|
|
|
26800
26829
|
return { meaning, description, id: id.trim() };
|
|
26801
26830
|
}
|
|
26802
26831
|
|
|
26803
|
-
// bazel-out/
|
|
26832
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
26804
26833
|
var XmlTagDefinition = class {
|
|
26805
26834
|
constructor() {
|
|
26806
26835
|
this.closedByParent = false;
|
|
@@ -26825,7 +26854,7 @@ function getXmlTagDefinition(tagName) {
|
|
|
26825
26854
|
return _TAG_DEFINITION;
|
|
26826
26855
|
}
|
|
26827
26856
|
|
|
26828
|
-
// bazel-out/
|
|
26857
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
|
|
26829
26858
|
var XmlParser = class extends Parser2 {
|
|
26830
26859
|
constructor() {
|
|
26831
26860
|
super(getXmlTagDefinition);
|
|
@@ -26835,7 +26864,7 @@ var XmlParser = class extends Parser2 {
|
|
|
26835
26864
|
}
|
|
26836
26865
|
};
|
|
26837
26866
|
|
|
26838
|
-
// bazel-out/
|
|
26867
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
|
|
26839
26868
|
var _VERSION = "1.2";
|
|
26840
26869
|
var _XMLNS = "urn:oasis:names:tc:xliff:document:1.2";
|
|
26841
26870
|
var _DEFAULT_SOURCE_LANG = "en";
|
|
@@ -27089,7 +27118,7 @@ function getCtypeForTag(tag) {
|
|
|
27089
27118
|
}
|
|
27090
27119
|
}
|
|
27091
27120
|
|
|
27092
|
-
// bazel-out/
|
|
27121
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
|
|
27093
27122
|
var _VERSION2 = "2.0";
|
|
27094
27123
|
var _XMLNS2 = "urn:oasis:names:tc:xliff:document:2.0";
|
|
27095
27124
|
var _DEFAULT_SOURCE_LANG2 = "en";
|
|
@@ -27405,7 +27434,7 @@ function getTypeForTag(tag) {
|
|
|
27405
27434
|
}
|
|
27406
27435
|
}
|
|
27407
27436
|
|
|
27408
|
-
// bazel-out/
|
|
27437
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
|
|
27409
27438
|
var MessageBundle = class {
|
|
27410
27439
|
constructor(_htmlParser, _implicitTags, _implicitAttrs, _locale = null) {
|
|
27411
27440
|
this._htmlParser = _htmlParser;
|
|
@@ -27478,7 +27507,7 @@ var MapPlaceholderNames = class extends CloneVisitor {
|
|
|
27478
27507
|
}
|
|
27479
27508
|
};
|
|
27480
27509
|
|
|
27481
|
-
// bazel-out/
|
|
27510
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
27482
27511
|
var FactoryTarget2;
|
|
27483
27512
|
(function(FactoryTarget3) {
|
|
27484
27513
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -27488,7 +27517,7 @@ var FactoryTarget2;
|
|
|
27488
27517
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
27489
27518
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
27490
27519
|
|
|
27491
|
-
// bazel-out/
|
|
27520
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
|
|
27492
27521
|
function compileClassMetadata(metadata) {
|
|
27493
27522
|
var _a2, _b2;
|
|
27494
27523
|
const fnCall = importExpr(Identifiers.setClassMetadata).callFn([
|
|
@@ -27530,7 +27559,7 @@ function compileComponentClassMetadata(metadata, deferrableTypes) {
|
|
|
27530
27559
|
return iife.callFn([]);
|
|
27531
27560
|
}
|
|
27532
27561
|
|
|
27533
|
-
// bazel-out/
|
|
27562
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_class_debug_info_compiler.mjs
|
|
27534
27563
|
function compileClassDebugInfo(debugInfo) {
|
|
27535
27564
|
const debugInfoObject = {
|
|
27536
27565
|
className: debugInfo.className
|
|
@@ -27550,12 +27579,12 @@ function compileClassDebugInfo(debugInfo) {
|
|
|
27550
27579
|
return iife.callFn([]);
|
|
27551
27580
|
}
|
|
27552
27581
|
|
|
27553
|
-
// bazel-out/
|
|
27582
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
|
|
27554
27583
|
var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
|
|
27555
27584
|
function compileDeclareClassMetadata(metadata) {
|
|
27556
27585
|
const definitionMap = new DefinitionMap();
|
|
27557
27586
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
27558
|
-
definitionMap.set("version", literal("17.1.
|
|
27587
|
+
definitionMap.set("version", literal("17.1.2"));
|
|
27559
27588
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27560
27589
|
definitionMap.set("type", metadata.type);
|
|
27561
27590
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -27564,7 +27593,7 @@ function compileDeclareClassMetadata(metadata) {
|
|
|
27564
27593
|
return importExpr(Identifiers.declareClassMetadata).callFn([definitionMap.toLiteralMap()]);
|
|
27565
27594
|
}
|
|
27566
27595
|
|
|
27567
|
-
// bazel-out/
|
|
27596
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
|
|
27568
27597
|
function toOptionalLiteralArray(values, mapper) {
|
|
27569
27598
|
if (values === null || values.length === 0) {
|
|
27570
27599
|
return null;
|
|
@@ -27612,7 +27641,7 @@ function compileDependency(dep) {
|
|
|
27612
27641
|
return depMeta.toLiteralMap();
|
|
27613
27642
|
}
|
|
27614
27643
|
|
|
27615
|
-
// bazel-out/
|
|
27644
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
|
|
27616
27645
|
function compileDeclareDirectiveFromMetadata(meta) {
|
|
27617
27646
|
const definitionMap = createDirectiveDefinitionMap(meta);
|
|
27618
27647
|
const expression = importExpr(Identifiers.declareDirective).callFn([definitionMap.toLiteralMap()]);
|
|
@@ -27624,7 +27653,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
27624
27653
|
const definitionMap = new DefinitionMap();
|
|
27625
27654
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
27626
27655
|
definitionMap.set("minVersion", literal(minVersion));
|
|
27627
|
-
definitionMap.set("version", literal("17.1.
|
|
27656
|
+
definitionMap.set("version", literal("17.1.2"));
|
|
27628
27657
|
definitionMap.set("type", meta.type.value);
|
|
27629
27658
|
if (meta.isStandalone) {
|
|
27630
27659
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -27778,7 +27807,7 @@ function legacyInputsPartialMetadata(inputs) {
|
|
|
27778
27807
|
}));
|
|
27779
27808
|
}
|
|
27780
27809
|
|
|
27781
|
-
// bazel-out/
|
|
27810
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
|
|
27782
27811
|
function compileDeclareComponentFromMetadata(meta, template2, additionalTemplateInfo) {
|
|
27783
27812
|
const definitionMap = createComponentDefinitionMap(meta, template2, additionalTemplateInfo);
|
|
27784
27813
|
const expression = importExpr(Identifiers.declareComponent).callFn([definitionMap.toLiteralMap()]);
|
|
@@ -27912,12 +27941,12 @@ var BlockPresenceVisitor = class extends RecursiveVisitor {
|
|
|
27912
27941
|
}
|
|
27913
27942
|
};
|
|
27914
27943
|
|
|
27915
|
-
// bazel-out/
|
|
27944
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
|
|
27916
27945
|
var MINIMUM_PARTIAL_LINKER_VERSION2 = "12.0.0";
|
|
27917
27946
|
function compileDeclareFactoryFunction(meta) {
|
|
27918
27947
|
const definitionMap = new DefinitionMap();
|
|
27919
27948
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
|
|
27920
|
-
definitionMap.set("version", literal("17.1.
|
|
27949
|
+
definitionMap.set("version", literal("17.1.2"));
|
|
27921
27950
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27922
27951
|
definitionMap.set("type", meta.type.value);
|
|
27923
27952
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -27929,7 +27958,7 @@ function compileDeclareFactoryFunction(meta) {
|
|
|
27929
27958
|
};
|
|
27930
27959
|
}
|
|
27931
27960
|
|
|
27932
|
-
// bazel-out/
|
|
27961
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
|
|
27933
27962
|
var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
|
|
27934
27963
|
function compileDeclareInjectableFromMetadata(meta) {
|
|
27935
27964
|
const definitionMap = createInjectableDefinitionMap(meta);
|
|
@@ -27940,7 +27969,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
27940
27969
|
function createInjectableDefinitionMap(meta) {
|
|
27941
27970
|
const definitionMap = new DefinitionMap();
|
|
27942
27971
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
|
|
27943
|
-
definitionMap.set("version", literal("17.1.
|
|
27972
|
+
definitionMap.set("version", literal("17.1.2"));
|
|
27944
27973
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27945
27974
|
definitionMap.set("type", meta.type.value);
|
|
27946
27975
|
if (meta.providedIn !== void 0) {
|
|
@@ -27967,7 +27996,7 @@ function createInjectableDefinitionMap(meta) {
|
|
|
27967
27996
|
return definitionMap;
|
|
27968
27997
|
}
|
|
27969
27998
|
|
|
27970
|
-
// bazel-out/
|
|
27999
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
|
|
27971
28000
|
var MINIMUM_PARTIAL_LINKER_VERSION4 = "12.0.0";
|
|
27972
28001
|
function compileDeclareInjectorFromMetadata(meta) {
|
|
27973
28002
|
const definitionMap = createInjectorDefinitionMap(meta);
|
|
@@ -27978,7 +28007,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
27978
28007
|
function createInjectorDefinitionMap(meta) {
|
|
27979
28008
|
const definitionMap = new DefinitionMap();
|
|
27980
28009
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
|
|
27981
|
-
definitionMap.set("version", literal("17.1.
|
|
28010
|
+
definitionMap.set("version", literal("17.1.2"));
|
|
27982
28011
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27983
28012
|
definitionMap.set("type", meta.type.value);
|
|
27984
28013
|
definitionMap.set("providers", meta.providers);
|
|
@@ -27988,7 +28017,7 @@ function createInjectorDefinitionMap(meta) {
|
|
|
27988
28017
|
return definitionMap;
|
|
27989
28018
|
}
|
|
27990
28019
|
|
|
27991
|
-
// bazel-out/
|
|
28020
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
|
|
27992
28021
|
var MINIMUM_PARTIAL_LINKER_VERSION5 = "14.0.0";
|
|
27993
28022
|
function compileDeclareNgModuleFromMetadata(meta) {
|
|
27994
28023
|
const definitionMap = createNgModuleDefinitionMap(meta);
|
|
@@ -28002,7 +28031,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
28002
28031
|
throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
|
|
28003
28032
|
}
|
|
28004
28033
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
|
|
28005
|
-
definitionMap.set("version", literal("17.1.
|
|
28034
|
+
definitionMap.set("version", literal("17.1.2"));
|
|
28006
28035
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
28007
28036
|
definitionMap.set("type", meta.type.value);
|
|
28008
28037
|
if (meta.bootstrap.length > 0) {
|
|
@@ -28026,7 +28055,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
28026
28055
|
return definitionMap;
|
|
28027
28056
|
}
|
|
28028
28057
|
|
|
28029
|
-
// bazel-out/
|
|
28058
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
|
|
28030
28059
|
var MINIMUM_PARTIAL_LINKER_VERSION6 = "14.0.0";
|
|
28031
28060
|
function compileDeclarePipeFromMetadata(meta) {
|
|
28032
28061
|
const definitionMap = createPipeDefinitionMap(meta);
|
|
@@ -28037,7 +28066,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
28037
28066
|
function createPipeDefinitionMap(meta) {
|
|
28038
28067
|
const definitionMap = new DefinitionMap();
|
|
28039
28068
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
|
|
28040
|
-
definitionMap.set("version", literal("17.1.
|
|
28069
|
+
definitionMap.set("version", literal("17.1.2"));
|
|
28041
28070
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
28042
28071
|
definitionMap.set("type", meta.type.value);
|
|
28043
28072
|
if (meta.isStandalone) {
|
|
@@ -28050,13 +28079,13 @@ function createPipeDefinitionMap(meta) {
|
|
|
28050
28079
|
return definitionMap;
|
|
28051
28080
|
}
|
|
28052
28081
|
|
|
28053
|
-
// bazel-out/
|
|
28082
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
28054
28083
|
publishFacade(_global);
|
|
28055
28084
|
|
|
28056
|
-
// bazel-out/
|
|
28057
|
-
var VERSION3 = new Version("17.1.
|
|
28085
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
28086
|
+
var VERSION3 = new Version("17.1.2");
|
|
28058
28087
|
|
|
28059
|
-
// bazel-out/
|
|
28088
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
28060
28089
|
var EmitFlags;
|
|
28061
28090
|
(function(EmitFlags2) {
|
|
28062
28091
|
EmitFlags2[EmitFlags2["DTS"] = 1] = "DTS";
|
|
@@ -28068,13 +28097,13 @@ var EmitFlags;
|
|
|
28068
28097
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
28069
28098
|
})(EmitFlags || (EmitFlags = {}));
|
|
28070
28099
|
|
|
28071
|
-
// bazel-out/
|
|
28100
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
28072
28101
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
28073
28102
|
|
|
28074
|
-
// bazel-out/
|
|
28103
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
28075
28104
|
var import_typescript104 = __toESM(require("typescript"), 1);
|
|
28076
28105
|
|
|
28077
|
-
// bazel-out/
|
|
28106
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
28078
28107
|
var path = __toESM(require("path"), 1);
|
|
28079
28108
|
function i18nGetExtension(formatName) {
|
|
28080
28109
|
const format = formatName.toLowerCase();
|
|
@@ -28124,10 +28153,10 @@ function getPathNormalizer(basePath) {
|
|
|
28124
28153
|
};
|
|
28125
28154
|
}
|
|
28126
28155
|
|
|
28127
|
-
// bazel-out/
|
|
28156
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
28128
28157
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
28129
28158
|
|
|
28130
|
-
// bazel-out/
|
|
28159
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
28131
28160
|
function toNumbers(value) {
|
|
28132
28161
|
const suffixIndex = value.lastIndexOf("-");
|
|
28133
28162
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -28162,7 +28191,7 @@ function compareVersions(v1, v2) {
|
|
|
28162
28191
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
28163
28192
|
}
|
|
28164
28193
|
|
|
28165
|
-
// bazel-out/
|
|
28194
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
28166
28195
|
var MIN_TS_VERSION = "5.2.0";
|
|
28167
28196
|
var MAX_TS_VERSION = "5.4.0";
|
|
28168
28197
|
var tsVersion = import_typescript3.default.version;
|
|
@@ -28175,13 +28204,13 @@ function verifySupportedTypeScriptVersion() {
|
|
|
28175
28204
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
28176
28205
|
}
|
|
28177
28206
|
|
|
28178
|
-
// bazel-out/
|
|
28207
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
28179
28208
|
var import_typescript100 = __toESM(require("typescript"), 1);
|
|
28180
28209
|
|
|
28181
|
-
// bazel-out/
|
|
28210
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
28182
28211
|
var import_typescript21 = __toESM(require("typescript"), 1);
|
|
28183
28212
|
|
|
28184
|
-
// bazel-out/
|
|
28213
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
28185
28214
|
var ErrorCode;
|
|
28186
28215
|
(function(ErrorCode2) {
|
|
28187
28216
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -28268,7 +28297,7 @@ var ErrorCode;
|
|
|
28268
28297
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_IMPORTED_STYLES_STRING"] = 11002] = "LOCAL_COMPILATION_IMPORTED_STYLES_STRING";
|
|
28269
28298
|
})(ErrorCode || (ErrorCode = {}));
|
|
28270
28299
|
|
|
28271
|
-
// bazel-out/
|
|
28300
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
28272
28301
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
28273
28302
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
28274
28303
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -28280,15 +28309,15 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
28280
28309
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
28281
28310
|
]);
|
|
28282
28311
|
|
|
28283
|
-
// bazel-out/
|
|
28312
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
28284
28313
|
var import_typescript4 = __toESM(require("typescript"), 1);
|
|
28285
28314
|
|
|
28286
|
-
// bazel-out/
|
|
28315
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
28287
28316
|
function ngErrorCode(code) {
|
|
28288
28317
|
return parseInt("-99" + code);
|
|
28289
28318
|
}
|
|
28290
28319
|
|
|
28291
|
-
// bazel-out/
|
|
28320
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
28292
28321
|
var FatalDiagnosticError = class {
|
|
28293
28322
|
constructor(code, node, message, relatedInformation) {
|
|
28294
28323
|
this.code = code;
|
|
@@ -28344,10 +28373,10 @@ function addDiagnosticChain(messageText, add) {
|
|
|
28344
28373
|
return messageText;
|
|
28345
28374
|
}
|
|
28346
28375
|
|
|
28347
|
-
// bazel-out/
|
|
28376
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
28348
28377
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
28349
28378
|
|
|
28350
|
-
// bazel-out/
|
|
28379
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
28351
28380
|
var ExtendedTemplateDiagnosticName;
|
|
28352
28381
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
28353
28382
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -28362,13 +28391,13 @@ var ExtendedTemplateDiagnosticName;
|
|
|
28362
28391
|
ExtendedTemplateDiagnosticName2["CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION"] = "controlFlowPreventingContentProjection";
|
|
28363
28392
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
28364
28393
|
|
|
28365
|
-
// bazel-out/
|
|
28394
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
28366
28395
|
var import_typescript20 = __toESM(require("typescript"), 1);
|
|
28367
28396
|
|
|
28368
|
-
// bazel-out/
|
|
28397
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
28369
28398
|
var import_typescript7 = __toESM(require("typescript"), 1);
|
|
28370
28399
|
|
|
28371
|
-
// bazel-out/
|
|
28400
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
28372
28401
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
28373
28402
|
var TS = /\.tsx?$/i;
|
|
28374
28403
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -28469,7 +28498,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
28469
28498
|
return redirectInfo.unredirected;
|
|
28470
28499
|
}
|
|
28471
28500
|
|
|
28472
|
-
// bazel-out/
|
|
28501
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
28473
28502
|
function findExportedNameOfNode(target, file, reflector) {
|
|
28474
28503
|
const exports = reflector.getExportsOfModule(file);
|
|
28475
28504
|
if (exports === null) {
|
|
@@ -28489,7 +28518,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
28489
28518
|
return foundExportName;
|
|
28490
28519
|
}
|
|
28491
28520
|
|
|
28492
|
-
// bazel-out/
|
|
28521
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
28493
28522
|
var ImportFlags;
|
|
28494
28523
|
(function(ImportFlags2) {
|
|
28495
28524
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -28718,7 +28747,7 @@ var UnifiedModulesStrategy = class {
|
|
|
28718
28747
|
}
|
|
28719
28748
|
};
|
|
28720
28749
|
|
|
28721
|
-
// bazel-out/
|
|
28750
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
28722
28751
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
28723
28752
|
var UnifiedModulesAliasingHost = class {
|
|
28724
28753
|
constructor(unifiedModulesHost) {
|
|
@@ -28785,7 +28814,7 @@ var AliasStrategy = class {
|
|
|
28785
28814
|
}
|
|
28786
28815
|
};
|
|
28787
28816
|
|
|
28788
|
-
// bazel-out/
|
|
28817
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
28789
28818
|
function relativePathBetween(from, to) {
|
|
28790
28819
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
28791
28820
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -28794,7 +28823,7 @@ function normalizeSeparators2(path4) {
|
|
|
28794
28823
|
return path4.replace(/\\/g, "/");
|
|
28795
28824
|
}
|
|
28796
28825
|
|
|
28797
|
-
// bazel-out/
|
|
28826
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
28798
28827
|
var NoopImportRewriter = class {
|
|
28799
28828
|
shouldImportSymbol(symbol, specifier) {
|
|
28800
28829
|
return true;
|
|
@@ -28853,7 +28882,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
28853
28882
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
28854
28883
|
}
|
|
28855
28884
|
|
|
28856
|
-
// bazel-out/
|
|
28885
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
28857
28886
|
var import_typescript9 = __toESM(require("typescript"), 1);
|
|
28858
28887
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
28859
28888
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -28888,7 +28917,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
28888
28917
|
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.");
|
|
28889
28918
|
}
|
|
28890
28919
|
|
|
28891
|
-
// bazel-out/
|
|
28920
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
28892
28921
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
28893
28922
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
28894
28923
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -28929,13 +28958,13 @@ var DefaultImportTracker = class {
|
|
|
28929
28958
|
}
|
|
28930
28959
|
};
|
|
28931
28960
|
|
|
28932
|
-
// bazel-out/
|
|
28961
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
28933
28962
|
var import_typescript15 = __toESM(require("typescript"), 1);
|
|
28934
28963
|
|
|
28935
|
-
// bazel-out/
|
|
28964
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
28936
28965
|
var import_typescript14 = __toESM(require("typescript"), 1);
|
|
28937
28966
|
|
|
28938
|
-
// bazel-out/
|
|
28967
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
28939
28968
|
var import_typescript11 = __toESM(require("typescript"), 1);
|
|
28940
28969
|
function isDecoratorIdentifier(exp) {
|
|
28941
28970
|
return import_typescript11.default.isIdentifier(exp) || import_typescript11.default.isPropertyAccessExpression(exp) && import_typescript11.default.isIdentifier(exp.expression) && import_typescript11.default.isIdentifier(exp.name);
|
|
@@ -28950,7 +28979,7 @@ var ClassMemberKind;
|
|
|
28950
28979
|
})(ClassMemberKind || (ClassMemberKind = {}));
|
|
28951
28980
|
var AmbientImport = {};
|
|
28952
28981
|
|
|
28953
|
-
// bazel-out/
|
|
28982
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
28954
28983
|
var import_typescript12 = __toESM(require("typescript"), 1);
|
|
28955
28984
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
28956
28985
|
var _a2, _b2;
|
|
@@ -29123,7 +29152,7 @@ function extractModuleName(node) {
|
|
|
29123
29152
|
return node.moduleSpecifier.text;
|
|
29124
29153
|
}
|
|
29125
29154
|
|
|
29126
|
-
// bazel-out/
|
|
29155
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
29127
29156
|
var import_typescript13 = __toESM(require("typescript"), 1);
|
|
29128
29157
|
function isNamedClassDeclaration(node) {
|
|
29129
29158
|
return import_typescript13.default.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -29132,7 +29161,7 @@ function isIdentifier(node) {
|
|
|
29132
29161
|
return node !== void 0 && import_typescript13.default.isIdentifier(node);
|
|
29133
29162
|
}
|
|
29134
29163
|
|
|
29135
|
-
// bazel-out/
|
|
29164
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
29136
29165
|
var TypeScriptReflectionHost = class {
|
|
29137
29166
|
constructor(checker, isLocalCompilation = false) {
|
|
29138
29167
|
this.checker = checker;
|
|
@@ -29572,7 +29601,7 @@ function getExportedName(decl, originalId) {
|
|
|
29572
29601
|
}
|
|
29573
29602
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
29574
29603
|
|
|
29575
|
-
// bazel-out/
|
|
29604
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
29576
29605
|
var AssumeEager = "AssumeEager";
|
|
29577
29606
|
var DeferredSymbolTracker = class {
|
|
29578
29607
|
constructor(typeChecker, onlyExplicitDeferDependencyImports) {
|
|
@@ -29692,7 +29721,7 @@ var DeferredSymbolTracker = class {
|
|
|
29692
29721
|
}
|
|
29693
29722
|
};
|
|
29694
29723
|
|
|
29695
|
-
// bazel-out/
|
|
29724
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
29696
29725
|
var Reference2 = class {
|
|
29697
29726
|
constructor(node, bestGuessOwningModule = null) {
|
|
29698
29727
|
this.node = node;
|
|
@@ -29761,7 +29790,7 @@ var Reference2 = class {
|
|
|
29761
29790
|
}
|
|
29762
29791
|
};
|
|
29763
29792
|
|
|
29764
|
-
// bazel-out/
|
|
29793
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
29765
29794
|
var ModuleResolver = class {
|
|
29766
29795
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
29767
29796
|
this.program = program;
|
|
@@ -29778,7 +29807,7 @@ var ModuleResolver = class {
|
|
|
29778
29807
|
}
|
|
29779
29808
|
};
|
|
29780
29809
|
|
|
29781
|
-
// bazel-out/
|
|
29810
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
29782
29811
|
function valueReferenceToExpression(valueRef) {
|
|
29783
29812
|
if (valueRef.kind === 2) {
|
|
29784
29813
|
return null;
|
|
@@ -30021,7 +30050,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
30021
30050
|
return import_typescript20.default.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === import_typescript20.default.SyntaxKind.AbstractKeyword) : false;
|
|
30022
30051
|
}
|
|
30023
30052
|
|
|
30024
|
-
// bazel-out/
|
|
30053
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
30025
30054
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
30026
30055
|
const deps = [];
|
|
30027
30056
|
const errors = [];
|
|
@@ -30163,10 +30192,10 @@ function createUnsuitableInjectionTokenError(clazz, error2) {
|
|
|
30163
30192
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain2, hints);
|
|
30164
30193
|
}
|
|
30165
30194
|
|
|
30166
|
-
// bazel-out/
|
|
30195
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
30167
30196
|
var import_typescript29 = __toESM(require("typescript"), 1);
|
|
30168
30197
|
|
|
30169
|
-
// bazel-out/
|
|
30198
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
30170
30199
|
var MetaKind;
|
|
30171
30200
|
(function(MetaKind2) {
|
|
30172
30201
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -30179,10 +30208,10 @@ var MatchSource;
|
|
|
30179
30208
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
30180
30209
|
})(MatchSource || (MatchSource = {}));
|
|
30181
30210
|
|
|
30182
|
-
// bazel-out/
|
|
30211
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
30183
30212
|
var import_typescript24 = __toESM(require("typescript"), 1);
|
|
30184
30213
|
|
|
30185
|
-
// bazel-out/
|
|
30214
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
30186
30215
|
var ClassPropertyMapping = class {
|
|
30187
30216
|
constructor(forwardMap) {
|
|
30188
30217
|
this.forwardMap = forwardMap;
|
|
@@ -30262,7 +30291,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
30262
30291
|
return reverseMap;
|
|
30263
30292
|
}
|
|
30264
30293
|
|
|
30265
|
-
// bazel-out/
|
|
30294
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
30266
30295
|
var import_typescript22 = __toESM(require("typescript"), 1);
|
|
30267
30296
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
30268
30297
|
if (!import_typescript22.default.isTupleTypeNode(def)) {
|
|
@@ -30452,7 +30481,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
30452
30481
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
30453
30482
|
}
|
|
30454
30483
|
|
|
30455
|
-
// bazel-out/
|
|
30484
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
30456
30485
|
var DtsMetadataReader = class {
|
|
30457
30486
|
constructor(checker, reflector) {
|
|
30458
30487
|
this.checker = checker;
|
|
@@ -30635,7 +30664,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
30635
30664
|
return result.length > 0 ? result : null;
|
|
30636
30665
|
}
|
|
30637
30666
|
|
|
30638
|
-
// bazel-out/
|
|
30667
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
30639
30668
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
30640
30669
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
30641
30670
|
if (topMeta === null) {
|
|
@@ -30698,7 +30727,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
30698
30727
|
});
|
|
30699
30728
|
}
|
|
30700
30729
|
|
|
30701
|
-
// bazel-out/
|
|
30730
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
30702
30731
|
var LocalMetadataRegistry = class {
|
|
30703
30732
|
constructor() {
|
|
30704
30733
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -30755,7 +30784,7 @@ var CompoundMetadataRegistry = class {
|
|
|
30755
30784
|
}
|
|
30756
30785
|
};
|
|
30757
30786
|
|
|
30758
|
-
// bazel-out/
|
|
30787
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
30759
30788
|
var ResourceRegistry = class {
|
|
30760
30789
|
constructor() {
|
|
30761
30790
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -30820,7 +30849,7 @@ var ResourceRegistry = class {
|
|
|
30820
30849
|
}
|
|
30821
30850
|
};
|
|
30822
30851
|
|
|
30823
|
-
// bazel-out/
|
|
30852
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
|
|
30824
30853
|
var ExportedProviderStatusResolver = class {
|
|
30825
30854
|
constructor(metaReader) {
|
|
30826
30855
|
this.metaReader = metaReader;
|
|
@@ -30864,7 +30893,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
30864
30893
|
}
|
|
30865
30894
|
};
|
|
30866
30895
|
|
|
30867
|
-
// bazel-out/
|
|
30896
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
30868
30897
|
var EMPTY_ARRAY = [];
|
|
30869
30898
|
var HostDirectivesResolver = class {
|
|
30870
30899
|
constructor(metaReader) {
|
|
@@ -30926,10 +30955,10 @@ function resolveOutput(bindingName) {
|
|
|
30926
30955
|
return bindingName;
|
|
30927
30956
|
}
|
|
30928
30957
|
|
|
30929
|
-
// bazel-out/
|
|
30958
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
30930
30959
|
var import_typescript26 = __toESM(require("typescript"), 1);
|
|
30931
30960
|
|
|
30932
|
-
// bazel-out/
|
|
30961
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
30933
30962
|
var DynamicValue = class {
|
|
30934
30963
|
constructor(node, reason, code) {
|
|
30935
30964
|
this.node = node;
|
|
@@ -31019,7 +31048,7 @@ var DynamicValue = class {
|
|
|
31019
31048
|
}
|
|
31020
31049
|
};
|
|
31021
31050
|
|
|
31022
|
-
// bazel-out/
|
|
31051
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
31023
31052
|
var ResolvedModule = class {
|
|
31024
31053
|
constructor(exports, evaluate) {
|
|
31025
31054
|
this.exports = exports;
|
|
@@ -31049,7 +31078,7 @@ var EnumValue = class {
|
|
|
31049
31078
|
var KnownFn = class {
|
|
31050
31079
|
};
|
|
31051
31080
|
|
|
31052
|
-
// bazel-out/
|
|
31081
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
31053
31082
|
function describeResolvedType(value, maxDepth = 1) {
|
|
31054
31083
|
var _a2, _b2;
|
|
31055
31084
|
if (value === null) {
|
|
@@ -31178,10 +31207,10 @@ function getContainerNode(node) {
|
|
|
31178
31207
|
return node.getSourceFile();
|
|
31179
31208
|
}
|
|
31180
31209
|
|
|
31181
|
-
// bazel-out/
|
|
31210
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
31182
31211
|
var import_typescript27 = __toESM(require("typescript"), 1);
|
|
31183
31212
|
|
|
31184
|
-
// bazel-out/
|
|
31213
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
31185
31214
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
31186
31215
|
constructor(lhs) {
|
|
31187
31216
|
super();
|
|
@@ -31233,14 +31262,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
|
|
|
31233
31262
|
}
|
|
31234
31263
|
};
|
|
31235
31264
|
|
|
31236
|
-
// bazel-out/
|
|
31265
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
31237
31266
|
var SyntheticValue = class {
|
|
31238
31267
|
constructor(value) {
|
|
31239
31268
|
this.value = value;
|
|
31240
31269
|
}
|
|
31241
31270
|
};
|
|
31242
31271
|
|
|
31243
|
-
// bazel-out/
|
|
31272
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
31244
31273
|
function literalBinaryOp(op) {
|
|
31245
31274
|
return { op, literal: true };
|
|
31246
31275
|
}
|
|
@@ -31815,7 +31844,7 @@ function owningModule(context, override = null) {
|
|
|
31815
31844
|
}
|
|
31816
31845
|
}
|
|
31817
31846
|
|
|
31818
|
-
// bazel-out/
|
|
31847
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
31819
31848
|
var PartialEvaluator = class {
|
|
31820
31849
|
constructor(host, checker, dependencyTracker) {
|
|
31821
31850
|
this.host = host;
|
|
@@ -31835,7 +31864,7 @@ var PartialEvaluator = class {
|
|
|
31835
31864
|
}
|
|
31836
31865
|
};
|
|
31837
31866
|
|
|
31838
|
-
// bazel-out/
|
|
31867
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
31839
31868
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
31840
31869
|
const context = [];
|
|
31841
31870
|
for (const decl of data) {
|
|
@@ -32031,7 +32060,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
|
|
|
32031
32060
|
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}.`);
|
|
32032
32061
|
}
|
|
32033
32062
|
|
|
32034
|
-
// bazel-out/
|
|
32063
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
32035
32064
|
var import_typescript31 = __toESM(require("typescript"), 1);
|
|
32036
32065
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
32037
32066
|
let resolved = null;
|
|
@@ -32081,7 +32110,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
32081
32110
|
return meta;
|
|
32082
32111
|
}
|
|
32083
32112
|
|
|
32084
|
-
// bazel-out/
|
|
32113
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
32085
32114
|
function compileNgFactoryDefField(metadata) {
|
|
32086
32115
|
const res = compileFactoryFunction(metadata);
|
|
32087
32116
|
return {
|
|
@@ -32103,7 +32132,7 @@ function compileDeclareFactory(metadata) {
|
|
|
32103
32132
|
};
|
|
32104
32133
|
}
|
|
32105
32134
|
|
|
32106
|
-
// bazel-out/
|
|
32135
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
32107
32136
|
var InjectableClassRegistry = class {
|
|
32108
32137
|
constructor(host, isCore) {
|
|
32109
32138
|
this.host = host;
|
|
@@ -32129,7 +32158,7 @@ var InjectableClassRegistry = class {
|
|
|
32129
32158
|
}
|
|
32130
32159
|
};
|
|
32131
32160
|
|
|
32132
|
-
// bazel-out/
|
|
32161
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
32133
32162
|
var import_typescript32 = __toESM(require("typescript"), 1);
|
|
32134
32163
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
32135
32164
|
if (!reflection.isClass(clazz)) {
|
|
@@ -32213,7 +32242,7 @@ function removeIdentifierReferences(node, names) {
|
|
|
32213
32242
|
return result.transformed[0];
|
|
32214
32243
|
}
|
|
32215
32244
|
|
|
32216
|
-
// bazel-out/
|
|
32245
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
|
|
32217
32246
|
var path2 = __toESM(require("path"), 1);
|
|
32218
32247
|
function extractClassDebugInfo(clazz, reflection, rootDirs, forbidOrphanRendering) {
|
|
32219
32248
|
if (!reflection.isClass(clazz)) {
|
|
@@ -32239,13 +32268,13 @@ function computeRelativePathIfPossible(filePath, rootDirs) {
|
|
|
32239
32268
|
return null;
|
|
32240
32269
|
}
|
|
32241
32270
|
|
|
32242
|
-
// bazel-out/
|
|
32271
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
32243
32272
|
var NoopReferencesRegistry = class {
|
|
32244
32273
|
add(source, ...references) {
|
|
32245
32274
|
}
|
|
32246
32275
|
};
|
|
32247
32276
|
|
|
32248
|
-
// bazel-out/
|
|
32277
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
32249
32278
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
32250
32279
|
const schemas = [];
|
|
32251
32280
|
const result = evaluator.evaluate(rawExpr);
|
|
@@ -32274,7 +32303,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
32274
32303
|
return schemas;
|
|
32275
32304
|
}
|
|
32276
32305
|
|
|
32277
|
-
// bazel-out/
|
|
32306
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
|
|
32278
32307
|
function compileInputTransformFields(inputs) {
|
|
32279
32308
|
const extraFields = [];
|
|
32280
32309
|
for (const input of inputs) {
|
|
@@ -32291,10 +32320,10 @@ function compileInputTransformFields(inputs) {
|
|
|
32291
32320
|
return extraFields;
|
|
32292
32321
|
}
|
|
32293
32322
|
|
|
32294
|
-
// bazel-out/
|
|
32323
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
32295
32324
|
var import_typescript56 = __toESM(require("typescript"), 1);
|
|
32296
32325
|
|
|
32297
|
-
// bazel-out/
|
|
32326
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
32298
32327
|
var import_typescript33 = __toESM(require("typescript"), 1);
|
|
32299
32328
|
var SemanticSymbol = class {
|
|
32300
32329
|
constructor(decl) {
|
|
@@ -32310,7 +32339,7 @@ function getSymbolIdentifier(decl) {
|
|
|
32310
32339
|
return decl.name.text;
|
|
32311
32340
|
}
|
|
32312
32341
|
|
|
32313
|
-
// bazel-out/
|
|
32342
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
32314
32343
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
32315
32344
|
isPublicApiAffected() {
|
|
32316
32345
|
return false;
|
|
@@ -32452,10 +32481,10 @@ function getImportPath(expr) {
|
|
|
32452
32481
|
}
|
|
32453
32482
|
}
|
|
32454
32483
|
|
|
32455
|
-
// bazel-out/
|
|
32484
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
32456
32485
|
var import_typescript34 = __toESM(require("typescript"), 1);
|
|
32457
32486
|
|
|
32458
|
-
// bazel-out/
|
|
32487
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
32459
32488
|
function isSymbolEqual(a, b) {
|
|
32460
32489
|
if (a.decl === b.decl) {
|
|
32461
32490
|
return true;
|
|
@@ -32505,7 +32534,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
32505
32534
|
return true;
|
|
32506
32535
|
}
|
|
32507
32536
|
|
|
32508
|
-
// bazel-out/
|
|
32537
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
32509
32538
|
function extractSemanticTypeParameters(node) {
|
|
32510
32539
|
if (!import_typescript34.default.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
32511
32540
|
return null;
|
|
@@ -32525,7 +32554,7 @@ function isTypeParameterEqual(a, b) {
|
|
|
32525
32554
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
32526
32555
|
}
|
|
32527
32556
|
|
|
32528
|
-
// bazel-out/
|
|
32557
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
32529
32558
|
var PerfPhase;
|
|
32530
32559
|
(function(PerfPhase2) {
|
|
32531
32560
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -32593,7 +32622,7 @@ var PerfCheckpoint;
|
|
|
32593
32622
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
32594
32623
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
32595
32624
|
|
|
32596
|
-
// bazel-out/
|
|
32625
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
32597
32626
|
var NoopPerfRecorder = class {
|
|
32598
32627
|
eventCount() {
|
|
32599
32628
|
}
|
|
@@ -32610,7 +32639,7 @@ var NoopPerfRecorder = class {
|
|
|
32610
32639
|
};
|
|
32611
32640
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
32612
32641
|
|
|
32613
|
-
// bazel-out/
|
|
32642
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
32614
32643
|
function mark() {
|
|
32615
32644
|
return process.hrtime();
|
|
32616
32645
|
}
|
|
@@ -32619,7 +32648,7 @@ function timeSinceInMicros(mark2) {
|
|
|
32619
32648
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
32620
32649
|
}
|
|
32621
32650
|
|
|
32622
|
-
// bazel-out/
|
|
32651
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
32623
32652
|
var ActivePerfRecorder = class {
|
|
32624
32653
|
static zeroedToNow() {
|
|
32625
32654
|
return new ActivePerfRecorder(mark());
|
|
@@ -32713,14 +32742,14 @@ var DelegatingPerfRecorder = class {
|
|
|
32713
32742
|
}
|
|
32714
32743
|
};
|
|
32715
32744
|
|
|
32716
|
-
// bazel-out/
|
|
32745
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
32717
32746
|
var ComponentScopeKind;
|
|
32718
32747
|
(function(ComponentScopeKind2) {
|
|
32719
32748
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
32720
32749
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
32721
32750
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
32722
32751
|
|
|
32723
|
-
// bazel-out/
|
|
32752
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
32724
32753
|
var CompoundComponentScopeReader = class {
|
|
32725
32754
|
constructor(readers) {
|
|
32726
32755
|
this.readers = readers;
|
|
@@ -32745,7 +32774,7 @@ var CompoundComponentScopeReader = class {
|
|
|
32745
32774
|
}
|
|
32746
32775
|
};
|
|
32747
32776
|
|
|
32748
|
-
// bazel-out/
|
|
32777
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
32749
32778
|
var MetadataDtsModuleScopeResolver = class {
|
|
32750
32779
|
constructor(dtsMetaReader, aliasingHost) {
|
|
32751
32780
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -32820,10 +32849,10 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
32820
32849
|
}
|
|
32821
32850
|
};
|
|
32822
32851
|
|
|
32823
|
-
// bazel-out/
|
|
32852
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
32824
32853
|
var import_typescript35 = __toESM(require("typescript"), 1);
|
|
32825
32854
|
|
|
32826
|
-
// bazel-out/
|
|
32855
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
32827
32856
|
function getDiagnosticNode(ref, rawExpr) {
|
|
32828
32857
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
32829
32858
|
}
|
|
@@ -32849,7 +32878,7 @@ function makeUnknownComponentDeferredImportDiagnostic(ref, rawExpr) {
|
|
|
32849
32878
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_DEFERRED_IMPORT, getDiagnosticNode(ref, rawExpr), `Component deferred imports must be standalone components, directives or pipes.`);
|
|
32850
32879
|
}
|
|
32851
32880
|
|
|
32852
|
-
// bazel-out/
|
|
32881
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
32853
32882
|
var LocalModuleScopeRegistry = class {
|
|
32854
32883
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
32855
32884
|
this.localReader = localReader;
|
|
@@ -33188,7 +33217,7 @@ function reexportCollision(module3, refA, refB) {
|
|
|
33188
33217
|
]);
|
|
33189
33218
|
}
|
|
33190
33219
|
|
|
33191
|
-
// bazel-out/
|
|
33220
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
33192
33221
|
var import_typescript37 = __toESM(require("typescript"), 1);
|
|
33193
33222
|
var TypeCheckScopeRegistry = class {
|
|
33194
33223
|
constructor(scopeReader, metaReader, hostDirectivesResolver) {
|
|
@@ -33265,7 +33294,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
33265
33294
|
}
|
|
33266
33295
|
};
|
|
33267
33296
|
|
|
33268
|
-
// bazel-out/
|
|
33297
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
33269
33298
|
var CompilationMode;
|
|
33270
33299
|
(function(CompilationMode2) {
|
|
33271
33300
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -33279,7 +33308,7 @@ var HandlerPrecedence;
|
|
|
33279
33308
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
33280
33309
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
33281
33310
|
|
|
33282
|
-
// bazel-out/
|
|
33311
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
33283
33312
|
var import_typescript38 = __toESM(require("typescript"), 1);
|
|
33284
33313
|
function aliasTransformFactory(exportStatements) {
|
|
33285
33314
|
return () => {
|
|
@@ -33302,10 +33331,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
33302
33331
|
};
|
|
33303
33332
|
}
|
|
33304
33333
|
|
|
33305
|
-
// bazel-out/
|
|
33334
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
33306
33335
|
var import_typescript39 = __toESM(require("typescript"), 1);
|
|
33307
33336
|
|
|
33308
|
-
// bazel-out/
|
|
33337
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
33309
33338
|
var TraitState;
|
|
33310
33339
|
(function(TraitState2) {
|
|
33311
33340
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -33362,7 +33391,7 @@ var TraitImpl = class {
|
|
|
33362
33391
|
}
|
|
33363
33392
|
};
|
|
33364
33393
|
|
|
33365
|
-
// bazel-out/
|
|
33394
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
33366
33395
|
var TraitCompiler = class {
|
|
33367
33396
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
33368
33397
|
this.handlers = handlers;
|
|
@@ -33804,10 +33833,10 @@ function containsErrors(diagnostics) {
|
|
|
33804
33833
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === import_typescript39.default.DiagnosticCategory.Error);
|
|
33805
33834
|
}
|
|
33806
33835
|
|
|
33807
|
-
// bazel-out/
|
|
33836
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
33808
33837
|
var import_typescript47 = __toESM(require("typescript"), 1);
|
|
33809
33838
|
|
|
33810
|
-
// bazel-out/
|
|
33839
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
33811
33840
|
var Context = class {
|
|
33812
33841
|
constructor(isStatement) {
|
|
33813
33842
|
this.isStatement = isStatement;
|
|
@@ -33820,7 +33849,7 @@ var Context = class {
|
|
|
33820
33849
|
}
|
|
33821
33850
|
};
|
|
33822
33851
|
|
|
33823
|
-
// bazel-out/
|
|
33852
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
33824
33853
|
var import_typescript41 = __toESM(require("typescript"), 1);
|
|
33825
33854
|
var ImportManager = class {
|
|
33826
33855
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i", factory9 = import_typescript41.default.factory) {
|
|
@@ -33857,7 +33886,7 @@ var ImportManager = class {
|
|
|
33857
33886
|
}
|
|
33858
33887
|
};
|
|
33859
33888
|
|
|
33860
|
-
// bazel-out/
|
|
33889
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
33861
33890
|
var UNARY_OPERATORS2 = /* @__PURE__ */ new Map([
|
|
33862
33891
|
[UnaryOperator.Minus, "-"],
|
|
33863
33892
|
[UnaryOperator.Plus, "+"]
|
|
@@ -34095,7 +34124,7 @@ function createRange(span) {
|
|
|
34095
34124
|
};
|
|
34096
34125
|
}
|
|
34097
34126
|
|
|
34098
|
-
// bazel-out/
|
|
34127
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
34099
34128
|
var import_typescript42 = __toESM(require("typescript"), 1);
|
|
34100
34129
|
var INELIGIBLE = {};
|
|
34101
34130
|
function canEmitType(type, canEmit) {
|
|
@@ -34170,10 +34199,10 @@ var TypeEmitter = class {
|
|
|
34170
34199
|
}
|
|
34171
34200
|
};
|
|
34172
34201
|
|
|
34173
|
-
// bazel-out/
|
|
34202
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
34174
34203
|
var import_typescript44 = __toESM(require("typescript"), 1);
|
|
34175
34204
|
|
|
34176
|
-
// bazel-out/
|
|
34205
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
34177
34206
|
var import_typescript43 = __toESM(require("typescript"), 1);
|
|
34178
34207
|
function tsNumericExpression(value) {
|
|
34179
34208
|
if (value < 0) {
|
|
@@ -34183,7 +34212,7 @@ function tsNumericExpression(value) {
|
|
|
34183
34212
|
return import_typescript43.default.factory.createNumericLiteral(value);
|
|
34184
34213
|
}
|
|
34185
34214
|
|
|
34186
|
-
// bazel-out/
|
|
34215
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
34187
34216
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
34188
34217
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
34189
34218
|
}
|
|
@@ -34397,7 +34426,7 @@ var TypeTranslatorVisitor = class {
|
|
|
34397
34426
|
}
|
|
34398
34427
|
};
|
|
34399
34428
|
|
|
34400
|
-
// bazel-out/
|
|
34429
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
34401
34430
|
var import_typescript45 = __toESM(require("typescript"), 1);
|
|
34402
34431
|
var PureAnnotation;
|
|
34403
34432
|
(function(PureAnnotation2) {
|
|
@@ -34594,7 +34623,7 @@ function attachComments(statement, leadingComments) {
|
|
|
34594
34623
|
}
|
|
34595
34624
|
}
|
|
34596
34625
|
|
|
34597
|
-
// bazel-out/
|
|
34626
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
34598
34627
|
function translateExpression(expression, imports, options = {}) {
|
|
34599
34628
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
34600
34629
|
}
|
|
@@ -34602,7 +34631,7 @@ function translateStatement(statement, imports, options = {}) {
|
|
|
34602
34631
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
|
|
34603
34632
|
}
|
|
34604
34633
|
|
|
34605
|
-
// bazel-out/
|
|
34634
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
34606
34635
|
var import_typescript46 = __toESM(require("typescript"), 1);
|
|
34607
34636
|
function addImports(factory9 = import_typescript46.default.factory, importManager, sf, extraStatements = []) {
|
|
34608
34637
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -34638,7 +34667,7 @@ function isImportStatement(stmt) {
|
|
|
34638
34667
|
return import_typescript46.default.isImportDeclaration(stmt) || import_typescript46.default.isImportEqualsDeclaration(stmt) || import_typescript46.default.isNamespaceImport(stmt);
|
|
34639
34668
|
}
|
|
34640
34669
|
|
|
34641
|
-
// bazel-out/
|
|
34670
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
34642
34671
|
var DtsTransformRegistry = class {
|
|
34643
34672
|
constructor() {
|
|
34644
34673
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -34785,10 +34814,10 @@ function markForEmitAsSingleLine(node) {
|
|
|
34785
34814
|
import_typescript47.default.forEachChild(node, markForEmitAsSingleLine);
|
|
34786
34815
|
}
|
|
34787
34816
|
|
|
34788
|
-
// bazel-out/
|
|
34817
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
34789
34818
|
var import_typescript49 = __toESM(require("typescript"), 1);
|
|
34790
34819
|
|
|
34791
|
-
// bazel-out/
|
|
34820
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
34792
34821
|
var import_typescript48 = __toESM(require("typescript"), 1);
|
|
34793
34822
|
function visit(node, visitor, context) {
|
|
34794
34823
|
return visitor._visit(node, context);
|
|
@@ -34849,7 +34878,7 @@ var Visitor = class {
|
|
|
34849
34878
|
}
|
|
34850
34879
|
};
|
|
34851
34880
|
|
|
34852
|
-
// bazel-out/
|
|
34881
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
34853
34882
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
34854
34883
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
34855
34884
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -35073,10 +35102,10 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
35073
35102
|
return array;
|
|
35074
35103
|
}
|
|
35075
35104
|
|
|
35076
|
-
// bazel-out/
|
|
35105
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
35077
35106
|
var import_typescript51 = __toESM(require("typescript"), 1);
|
|
35078
35107
|
|
|
35079
|
-
// bazel-out/
|
|
35108
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
|
|
35080
35109
|
var import_typescript50 = __toESM(require("typescript"), 1);
|
|
35081
35110
|
function tryParseInputInitializerAndOptions(member, reflector, coreModule) {
|
|
35082
35111
|
if (member.value === null || !import_typescript50.default.isCallExpression(member.value)) {
|
|
@@ -35160,7 +35189,7 @@ function tryParseSignalInputMapping(member, reflector, coreModule) {
|
|
|
35160
35189
|
};
|
|
35161
35190
|
}
|
|
35162
35191
|
|
|
35163
|
-
// bazel-out/
|
|
35192
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
35164
35193
|
var EMPTY_OBJECT = {};
|
|
35165
35194
|
var QUERY_TYPES = /* @__PURE__ */ new Set([
|
|
35166
35195
|
"ContentChild",
|
|
@@ -35815,7 +35844,7 @@ function toR3InputMetadata(mapping) {
|
|
|
35815
35844
|
};
|
|
35816
35845
|
}
|
|
35817
35846
|
|
|
35818
|
-
// bazel-out/
|
|
35847
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
35819
35848
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
35820
35849
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
35821
35850
|
super(decl);
|
|
@@ -35895,7 +35924,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
35895
35924
|
return isSymbolEqual(current, previous);
|
|
35896
35925
|
}
|
|
35897
35926
|
|
|
35898
|
-
// bazel-out/
|
|
35927
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
35899
35928
|
var FIELD_DECORATORS = [
|
|
35900
35929
|
"Input",
|
|
35901
35930
|
"Output",
|
|
@@ -36077,10 +36106,10 @@ var DirectiveDecoratorHandler = class {
|
|
|
36077
36106
|
}
|
|
36078
36107
|
};
|
|
36079
36108
|
|
|
36080
|
-
// bazel-out/
|
|
36109
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
36081
36110
|
var import_typescript53 = __toESM(require("typescript"), 1);
|
|
36082
36111
|
|
|
36083
|
-
// bazel-out/
|
|
36112
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
36084
36113
|
var import_typescript52 = __toESM(require("typescript"), 1);
|
|
36085
36114
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
36086
36115
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -36147,7 +36176,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
36147
36176
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
36148
36177
|
}
|
|
36149
36178
|
|
|
36150
|
-
// bazel-out/
|
|
36179
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
36151
36180
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
36152
36181
|
constructor(decl, hasProviders) {
|
|
36153
36182
|
super(decl);
|
|
@@ -36718,7 +36747,7 @@ function isSyntheticReference(ref) {
|
|
|
36718
36747
|
return ref.synthetic;
|
|
36719
36748
|
}
|
|
36720
36749
|
|
|
36721
|
-
// bazel-out/
|
|
36750
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
36722
36751
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
36723
36752
|
const name = ref.debugName || "(unknown)";
|
|
36724
36753
|
const path4 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -36741,7 +36770,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
36741
36770
|
return null;
|
|
36742
36771
|
}
|
|
36743
36772
|
|
|
36744
|
-
// bazel-out/
|
|
36773
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
36745
36774
|
var import_typescript55 = __toESM(require("typescript"), 1);
|
|
36746
36775
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
36747
36776
|
return declaration.isInline ? declaration.expression : declaration.templateUrlExpression;
|
|
@@ -37096,7 +37125,7 @@ function _extractTemplateStyleUrls(template2) {
|
|
|
37096
37125
|
return template2.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
|
|
37097
37126
|
}
|
|
37098
37127
|
|
|
37099
|
-
// bazel-out/
|
|
37128
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
37100
37129
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
37101
37130
|
constructor() {
|
|
37102
37131
|
super(...arguments);
|
|
@@ -37131,7 +37160,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
37131
37160
|
}
|
|
37132
37161
|
};
|
|
37133
37162
|
|
|
37134
|
-
// bazel-out/
|
|
37163
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
37135
37164
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
37136
37165
|
if (value instanceof Map) {
|
|
37137
37166
|
const name = value.get("name");
|
|
@@ -37208,7 +37237,7 @@ function isLikelyModuleWithProviders(value) {
|
|
|
37208
37237
|
return false;
|
|
37209
37238
|
}
|
|
37210
37239
|
|
|
37211
|
-
// bazel-out/
|
|
37240
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
37212
37241
|
var EMPTY_ARRAY2 = [];
|
|
37213
37242
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
37214
37243
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
@@ -38164,7 +38193,7 @@ function validateStandaloneImports(importRefs, importExpr2, metaReader, scopeRea
|
|
|
38164
38193
|
return diagnostics;
|
|
38165
38194
|
}
|
|
38166
38195
|
|
|
38167
|
-
// bazel-out/
|
|
38196
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
38168
38197
|
var import_typescript58 = __toESM(require("typescript"), 1);
|
|
38169
38198
|
var InjectableDecoratorHandler = class {
|
|
38170
38199
|
constructor(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, perf, includeClassMetadata, compilationMode, errorOnDuplicateProv = true) {
|
|
@@ -38395,7 +38424,7 @@ function getDep(dep, reflector) {
|
|
|
38395
38424
|
return meta;
|
|
38396
38425
|
}
|
|
38397
38426
|
|
|
38398
|
-
// bazel-out/
|
|
38427
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
38399
38428
|
var import_typescript59 = __toESM(require("typescript"), 1);
|
|
38400
38429
|
var PipeSymbol = class extends SemanticSymbol {
|
|
38401
38430
|
constructor(decl, name) {
|
|
@@ -38553,7 +38582,7 @@ var PipeDecoratorHandler = class {
|
|
|
38553
38582
|
}
|
|
38554
38583
|
};
|
|
38555
38584
|
|
|
38556
|
-
// bazel-out/
|
|
38585
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
38557
38586
|
var CycleAnalyzer = class {
|
|
38558
38587
|
constructor(importGraph) {
|
|
38559
38588
|
this.importGraph = importGraph;
|
|
@@ -38624,7 +38653,7 @@ var Cycle = class {
|
|
|
38624
38653
|
}
|
|
38625
38654
|
};
|
|
38626
38655
|
|
|
38627
|
-
// bazel-out/
|
|
38656
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
38628
38657
|
var import_typescript60 = __toESM(require("typescript"), 1);
|
|
38629
38658
|
var ImportGraph = class {
|
|
38630
38659
|
constructor(checker, perf) {
|
|
@@ -38716,13 +38745,13 @@ var Found = class {
|
|
|
38716
38745
|
}
|
|
38717
38746
|
};
|
|
38718
38747
|
|
|
38719
|
-
// bazel-out/
|
|
38748
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
38720
38749
|
var import_typescript66 = __toESM(require("typescript"), 1);
|
|
38721
38750
|
|
|
38722
|
-
// bazel-out/
|
|
38751
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
38723
38752
|
var import_typescript63 = __toESM(require("typescript"), 1);
|
|
38724
38753
|
|
|
38725
|
-
// bazel-out/
|
|
38754
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
38726
38755
|
var EntryType;
|
|
38727
38756
|
(function(EntryType2) {
|
|
38728
38757
|
EntryType2["Block"] = "block";
|
|
@@ -38765,17 +38794,17 @@ var MemberTags;
|
|
|
38765
38794
|
MemberTags2["Inherited"] = "override";
|
|
38766
38795
|
})(MemberTags || (MemberTags = {}));
|
|
38767
38796
|
|
|
38768
|
-
// bazel-out/
|
|
38797
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
38769
38798
|
function isAngularPrivateName(name) {
|
|
38770
38799
|
var _a2;
|
|
38771
38800
|
const firstChar = (_a2 = name[0]) != null ? _a2 : "";
|
|
38772
38801
|
return firstChar === "\u0275" || firstChar === "_";
|
|
38773
38802
|
}
|
|
38774
38803
|
|
|
38775
|
-
// bazel-out/
|
|
38804
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
38776
38805
|
var import_typescript62 = __toESM(require("typescript"), 1);
|
|
38777
38806
|
|
|
38778
|
-
// bazel-out/
|
|
38807
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
38779
38808
|
function extractGenerics(declaration) {
|
|
38780
38809
|
var _a2, _b2;
|
|
38781
38810
|
return (_b2 = (_a2 = declaration.typeParameters) == null ? void 0 : _a2.map((typeParam) => {
|
|
@@ -38788,7 +38817,7 @@ function extractGenerics(declaration) {
|
|
|
38788
38817
|
})) != null ? _b2 : [];
|
|
38789
38818
|
}
|
|
38790
38819
|
|
|
38791
|
-
// bazel-out/
|
|
38820
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
38792
38821
|
var import_typescript61 = __toESM(require("typescript"), 1);
|
|
38793
38822
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf))/g;
|
|
38794
38823
|
function extractJsDocTags(node) {
|
|
@@ -38832,12 +38861,12 @@ function unescapeAngularDecorators(comment) {
|
|
|
38832
38861
|
return comment.replace(/_NG_AT_/g, "@");
|
|
38833
38862
|
}
|
|
38834
38863
|
|
|
38835
|
-
// bazel-out/
|
|
38864
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
38836
38865
|
function extractResolvedTypeString(node, checker) {
|
|
38837
38866
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
38838
38867
|
}
|
|
38839
38868
|
|
|
38840
|
-
// bazel-out/
|
|
38869
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
38841
38870
|
var FunctionExtractor = class {
|
|
38842
38871
|
constructor(declaration, typeChecker) {
|
|
38843
38872
|
this.declaration = declaration;
|
|
@@ -38891,7 +38920,7 @@ var FunctionExtractor = class {
|
|
|
38891
38920
|
}
|
|
38892
38921
|
};
|
|
38893
38922
|
|
|
38894
|
-
// bazel-out/
|
|
38923
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
38895
38924
|
var ClassExtractor = class {
|
|
38896
38925
|
constructor(declaration, typeChecker) {
|
|
38897
38926
|
this.declaration = declaration;
|
|
@@ -39118,7 +39147,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
39118
39147
|
return extractor.extract();
|
|
39119
39148
|
}
|
|
39120
39149
|
|
|
39121
|
-
// bazel-out/
|
|
39150
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
39122
39151
|
function extractConstant(declaration, typeChecker) {
|
|
39123
39152
|
const resolvedType = typeChecker.getBaseTypeOfLiteralType(typeChecker.getTypeAtLocation(declaration));
|
|
39124
39153
|
const variableStatement = declaration.parent.parent;
|
|
@@ -39136,7 +39165,7 @@ function isSyntheticAngularConstant(declaration) {
|
|
|
39136
39165
|
return declaration.name.getText() === "USED_FOR_NG_TYPE_CHECKING";
|
|
39137
39166
|
}
|
|
39138
39167
|
|
|
39139
|
-
// bazel-out/
|
|
39168
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
39140
39169
|
var import_typescript64 = __toESM(require("typescript"), 1);
|
|
39141
39170
|
function extractorDecorator(declaration, typeChecker) {
|
|
39142
39171
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -39209,7 +39238,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
39209
39238
|
return callSignature;
|
|
39210
39239
|
}
|
|
39211
39240
|
|
|
39212
|
-
// bazel-out/
|
|
39241
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
39213
39242
|
var import_typescript65 = __toESM(require("typescript"), 1);
|
|
39214
39243
|
function extractEnum(declaration, typeChecker) {
|
|
39215
39244
|
return {
|
|
@@ -39240,7 +39269,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
39240
39269
|
return (_a2 = literal3 == null ? void 0 : literal3.getText()) != null ? _a2 : "";
|
|
39241
39270
|
}
|
|
39242
39271
|
|
|
39243
|
-
// bazel-out/
|
|
39272
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
39244
39273
|
function extractTypeAlias(declaration) {
|
|
39245
39274
|
return {
|
|
39246
39275
|
name: declaration.name.getText(),
|
|
@@ -39252,7 +39281,7 @@ function extractTypeAlias(declaration) {
|
|
|
39252
39281
|
};
|
|
39253
39282
|
}
|
|
39254
39283
|
|
|
39255
|
-
// bazel-out/
|
|
39284
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
39256
39285
|
var DocsExtractor = class {
|
|
39257
39286
|
constructor(typeChecker, metadataReader) {
|
|
39258
39287
|
this.typeChecker = typeChecker;
|
|
@@ -39314,7 +39343,7 @@ function isIgnoredInterface(node) {
|
|
|
39314
39343
|
return node.name.getText().endsWith("Decorator") || isDecoratorOptionsInterface(node);
|
|
39315
39344
|
}
|
|
39316
39345
|
|
|
39317
|
-
// bazel-out/
|
|
39346
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
39318
39347
|
var import_typescript67 = __toESM(require("typescript"), 1);
|
|
39319
39348
|
var FlatIndexGenerator = class {
|
|
39320
39349
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -39339,7 +39368,7 @@ export * from '${relativeEntryPoint}';
|
|
|
39339
39368
|
}
|
|
39340
39369
|
};
|
|
39341
39370
|
|
|
39342
|
-
// bazel-out/
|
|
39371
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
39343
39372
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
39344
39373
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
39345
39374
|
let resolvedEntryPoint = null;
|
|
@@ -39355,7 +39384,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
39355
39384
|
return resolvedEntryPoint;
|
|
39356
39385
|
}
|
|
39357
39386
|
|
|
39358
|
-
// bazel-out/
|
|
39387
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
39359
39388
|
var import_typescript69 = __toESM(require("typescript"), 1);
|
|
39360
39389
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
39361
39390
|
const diagnostics = [];
|
|
@@ -39435,7 +39464,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
39435
39464
|
}
|
|
39436
39465
|
}
|
|
39437
39466
|
|
|
39438
|
-
// bazel-out/
|
|
39467
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
39439
39468
|
var ReferenceGraph = class {
|
|
39440
39469
|
constructor() {
|
|
39441
39470
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -39489,7 +39518,7 @@ var ReferenceGraph = class {
|
|
|
39489
39518
|
}
|
|
39490
39519
|
};
|
|
39491
39520
|
|
|
39492
|
-
// bazel-out/
|
|
39521
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
39493
39522
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
39494
39523
|
var UpdateMode;
|
|
39495
39524
|
(function(UpdateMode2) {
|
|
@@ -39497,13 +39526,13 @@ var UpdateMode;
|
|
|
39497
39526
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
39498
39527
|
})(UpdateMode || (UpdateMode = {}));
|
|
39499
39528
|
|
|
39500
|
-
// bazel-out/
|
|
39529
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
39501
39530
|
var import_typescript73 = __toESM(require("typescript"), 1);
|
|
39502
39531
|
|
|
39503
|
-
// bazel-out/
|
|
39532
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
39504
39533
|
var import_typescript70 = __toESM(require("typescript"), 1);
|
|
39505
39534
|
|
|
39506
|
-
// bazel-out/
|
|
39535
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
39507
39536
|
var NgExtension = Symbol("NgExtension");
|
|
39508
39537
|
function isExtended(sf) {
|
|
39509
39538
|
return sf[NgExtension] !== void 0;
|
|
@@ -39563,13 +39592,13 @@ function retagTsFile(sf) {
|
|
|
39563
39592
|
}
|
|
39564
39593
|
}
|
|
39565
39594
|
|
|
39566
|
-
// bazel-out/
|
|
39595
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
39567
39596
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
39568
39597
|
function makeShimFileName(fileName, suffix) {
|
|
39569
39598
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
39570
39599
|
}
|
|
39571
39600
|
|
|
39572
|
-
// bazel-out/
|
|
39601
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
39573
39602
|
var ShimAdapter = class {
|
|
39574
39603
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
39575
39604
|
this.delegate = delegate;
|
|
@@ -39664,7 +39693,7 @@ var ShimAdapter = class {
|
|
|
39664
39693
|
}
|
|
39665
39694
|
};
|
|
39666
39695
|
|
|
39667
|
-
// bazel-out/
|
|
39696
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
39668
39697
|
var ShimReferenceTagger = class {
|
|
39669
39698
|
constructor(shimExtensions) {
|
|
39670
39699
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -39698,7 +39727,7 @@ var ShimReferenceTagger = class {
|
|
|
39698
39727
|
}
|
|
39699
39728
|
};
|
|
39700
39729
|
|
|
39701
|
-
// bazel-out/
|
|
39730
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
39702
39731
|
var DelegatingCompilerHost = class {
|
|
39703
39732
|
get jsDocParsingMode() {
|
|
39704
39733
|
return this.delegate.jsDocParsingMode;
|
|
@@ -39817,7 +39846,7 @@ var TsCreateProgramDriver = class {
|
|
|
39817
39846
|
}
|
|
39818
39847
|
};
|
|
39819
39848
|
|
|
39820
|
-
// bazel-out/
|
|
39849
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
39821
39850
|
var FileDependencyGraph = class {
|
|
39822
39851
|
constructor() {
|
|
39823
39852
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -39884,7 +39913,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
39884
39913
|
return false;
|
|
39885
39914
|
}
|
|
39886
39915
|
|
|
39887
|
-
// bazel-out/
|
|
39916
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
39888
39917
|
var IncrementalStateKind;
|
|
39889
39918
|
(function(IncrementalStateKind2) {
|
|
39890
39919
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -39892,7 +39921,7 @@ var IncrementalStateKind;
|
|
|
39892
39921
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
39893
39922
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
39894
39923
|
|
|
39895
|
-
// bazel-out/
|
|
39924
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
39896
39925
|
var PhaseKind;
|
|
39897
39926
|
(function(PhaseKind2) {
|
|
39898
39927
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -40093,7 +40122,7 @@ function toOriginalSourceFile(sf) {
|
|
|
40093
40122
|
}
|
|
40094
40123
|
}
|
|
40095
40124
|
|
|
40096
|
-
// bazel-out/
|
|
40125
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
40097
40126
|
var TrackedIncrementalBuildStrategy = class {
|
|
40098
40127
|
constructor() {
|
|
40099
40128
|
this.state = null;
|
|
@@ -40114,7 +40143,7 @@ var TrackedIncrementalBuildStrategy = class {
|
|
|
40114
40143
|
};
|
|
40115
40144
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
40116
40145
|
|
|
40117
|
-
// bazel-out/
|
|
40146
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
40118
40147
|
var IdentifierKind;
|
|
40119
40148
|
(function(IdentifierKind2) {
|
|
40120
40149
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -40132,7 +40161,7 @@ var AbsoluteSourceSpan2 = class {
|
|
|
40132
40161
|
}
|
|
40133
40162
|
};
|
|
40134
40163
|
|
|
40135
|
-
// bazel-out/
|
|
40164
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
40136
40165
|
var IndexingContext = class {
|
|
40137
40166
|
constructor() {
|
|
40138
40167
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -40142,7 +40171,7 @@ var IndexingContext = class {
|
|
|
40142
40171
|
}
|
|
40143
40172
|
};
|
|
40144
40173
|
|
|
40145
|
-
// bazel-out/
|
|
40174
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
40146
40175
|
var ExpressionVisitor = class extends RecursiveAstVisitor2 {
|
|
40147
40176
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
40148
40177
|
super();
|
|
@@ -40423,7 +40452,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
40423
40452
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
40424
40453
|
}
|
|
40425
40454
|
|
|
40426
|
-
// bazel-out/
|
|
40455
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
40427
40456
|
function generateAnalysis(context) {
|
|
40428
40457
|
const analysis = /* @__PURE__ */ new Map();
|
|
40429
40458
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -40459,7 +40488,7 @@ function generateAnalysis(context) {
|
|
|
40459
40488
|
return analysis;
|
|
40460
40489
|
}
|
|
40461
40490
|
|
|
40462
|
-
// bazel-out/
|
|
40491
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
40463
40492
|
var NgModuleIndexImpl = class {
|
|
40464
40493
|
constructor(metaReader, localReader) {
|
|
40465
40494
|
this.metaReader = metaReader;
|
|
@@ -40548,7 +40577,7 @@ var NgModuleIndexImpl = class {
|
|
|
40548
40577
|
}
|
|
40549
40578
|
};
|
|
40550
40579
|
|
|
40551
|
-
// bazel-out/
|
|
40580
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
40552
40581
|
var import_typescript76 = __toESM(require("typescript"), 1);
|
|
40553
40582
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
40554
40583
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -40696,7 +40725,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
40696
40725
|
};
|
|
40697
40726
|
}
|
|
40698
40727
|
|
|
40699
|
-
// bazel-out/
|
|
40728
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
40700
40729
|
var StandaloneComponentScopeReader = class {
|
|
40701
40730
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
40702
40731
|
this.metaReader = metaReader;
|
|
@@ -40792,21 +40821,21 @@ var StandaloneComponentScopeReader = class {
|
|
|
40792
40821
|
}
|
|
40793
40822
|
};
|
|
40794
40823
|
|
|
40795
|
-
// bazel-out/
|
|
40824
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
40796
40825
|
var OptimizeFor;
|
|
40797
40826
|
(function(OptimizeFor2) {
|
|
40798
40827
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
40799
40828
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
40800
40829
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
40801
40830
|
|
|
40802
|
-
// bazel-out/
|
|
40831
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
40803
40832
|
var CompletionKind;
|
|
40804
40833
|
(function(CompletionKind2) {
|
|
40805
40834
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
40806
40835
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
40807
40836
|
})(CompletionKind || (CompletionKind = {}));
|
|
40808
40837
|
|
|
40809
|
-
// bazel-out/
|
|
40838
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
40810
40839
|
var PotentialImportKind;
|
|
40811
40840
|
(function(PotentialImportKind2) {
|
|
40812
40841
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -40818,7 +40847,7 @@ var PotentialImportMode;
|
|
|
40818
40847
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
40819
40848
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
40820
40849
|
|
|
40821
|
-
// bazel-out/
|
|
40850
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
40822
40851
|
var SymbolKind;
|
|
40823
40852
|
(function(SymbolKind2) {
|
|
40824
40853
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -40834,7 +40863,7 @@ var SymbolKind;
|
|
|
40834
40863
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
40835
40864
|
})(SymbolKind || (SymbolKind = {}));
|
|
40836
40865
|
|
|
40837
|
-
// bazel-out/
|
|
40866
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
40838
40867
|
var import_typescript77 = __toESM(require("typescript"), 1);
|
|
40839
40868
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
40840
40869
|
var _a2;
|
|
@@ -40941,7 +40970,7 @@ function parseTemplateAsSourceFile(fileName, template2) {
|
|
|
40941
40970
|
return import_typescript77.default.createSourceFile(fileName, template2, import_typescript77.default.ScriptTarget.Latest, false, import_typescript77.default.ScriptKind.JSX);
|
|
40942
40971
|
}
|
|
40943
40972
|
|
|
40944
|
-
// bazel-out/
|
|
40973
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
40945
40974
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
40946
40975
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
40947
40976
|
function getTemplateId(clazz) {
|
|
@@ -40958,10 +40987,10 @@ function allocateTemplateId(sf) {
|
|
|
40958
40987
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
40959
40988
|
}
|
|
40960
40989
|
|
|
40961
|
-
// bazel-out/
|
|
40990
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
40962
40991
|
var import_typescript79 = __toESM(require("typescript"), 1);
|
|
40963
40992
|
|
|
40964
|
-
// bazel-out/
|
|
40993
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
40965
40994
|
var import_typescript78 = __toESM(require("typescript"), 1);
|
|
40966
40995
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
40967
40996
|
function readSpanComment(node, sourceFile = node.getSourceFile()) {
|
|
@@ -40987,6 +41016,7 @@ var ExpressionIdentifier;
|
|
|
40987
41016
|
ExpressionIdentifier2["DIRECTIVE"] = "DIR";
|
|
40988
41017
|
ExpressionIdentifier2["COMPONENT_COMPLETION"] = "COMPCOMP";
|
|
40989
41018
|
ExpressionIdentifier2["EVENT_PARAMETER"] = "EP";
|
|
41019
|
+
ExpressionIdentifier2["VARIABLE_AS_EXPRESSION"] = "VAE";
|
|
40990
41020
|
})(ExpressionIdentifier || (ExpressionIdentifier = {}));
|
|
40991
41021
|
function addExpressionIdentifier(node, identifier) {
|
|
40992
41022
|
import_typescript78.default.addSyntheticTrailingComment(
|
|
@@ -41090,7 +41120,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
41090
41120
|
}) || false;
|
|
41091
41121
|
}
|
|
41092
41122
|
|
|
41093
|
-
// bazel-out/
|
|
41123
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
41094
41124
|
var CompletionEngine = class {
|
|
41095
41125
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
41096
41126
|
this.tcb = tcb;
|
|
@@ -41247,10 +41277,10 @@ var CompletionEngine = class {
|
|
|
41247
41277
|
}
|
|
41248
41278
|
};
|
|
41249
41279
|
|
|
41250
|
-
// bazel-out/
|
|
41280
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
41251
41281
|
var import_typescript93 = __toESM(require("typescript"), 1);
|
|
41252
41282
|
|
|
41253
|
-
// bazel-out/
|
|
41283
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
41254
41284
|
var import_typescript80 = __toESM(require("typescript"), 1);
|
|
41255
41285
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
41256
41286
|
var REMOVE_XHTML_REGEX = /^:xhtml:/;
|
|
@@ -41302,10 +41332,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
41302
41332
|
}
|
|
41303
41333
|
};
|
|
41304
41334
|
|
|
41305
|
-
// bazel-out/
|
|
41335
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
41306
41336
|
var import_typescript86 = __toESM(require("typescript"), 1);
|
|
41307
41337
|
|
|
41308
|
-
// bazel-out/
|
|
41338
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
|
|
41309
41339
|
var ReferenceEmitEnvironment = class {
|
|
41310
41340
|
constructor(importManager, refEmitter, reflector, contextFile) {
|
|
41311
41341
|
this.importManager = importManager;
|
|
@@ -41335,7 +41365,7 @@ var ReferenceEmitEnvironment = class {
|
|
|
41335
41365
|
}
|
|
41336
41366
|
};
|
|
41337
41367
|
|
|
41338
|
-
// bazel-out/
|
|
41368
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
41339
41369
|
var import_typescript81 = __toESM(require("typescript"), 1);
|
|
41340
41370
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
41341
41371
|
import_typescript81.default.SyntaxKind.ParenthesizedExpression,
|
|
@@ -41371,14 +41401,12 @@ function tsCreateElement(tagName) {
|
|
|
41371
41401
|
);
|
|
41372
41402
|
}
|
|
41373
41403
|
function tsDeclareVariable(id, type) {
|
|
41374
|
-
|
|
41375
|
-
|
|
41376
|
-
initializer = import_typescript81.default.factory.createAsExpression(initializer, import_typescript81.default.factory.createKeywordTypeNode(import_typescript81.default.SyntaxKind.BooleanKeyword));
|
|
41377
|
-
}
|
|
41404
|
+
addExpressionIdentifier(type, ExpressionIdentifier.VARIABLE_AS_EXPRESSION);
|
|
41405
|
+
const initializer = import_typescript81.default.factory.createAsExpression(import_typescript81.default.factory.createNonNullExpression(import_typescript81.default.factory.createNull()), type);
|
|
41378
41406
|
const decl = import_typescript81.default.factory.createVariableDeclaration(
|
|
41379
41407
|
id,
|
|
41380
41408
|
void 0,
|
|
41381
|
-
|
|
41409
|
+
void 0,
|
|
41382
41410
|
initializer
|
|
41383
41411
|
);
|
|
41384
41412
|
return import_typescript81.default.factory.createVariableStatement(
|
|
@@ -41420,13 +41448,13 @@ function tsNumericExpression2(value) {
|
|
|
41420
41448
|
return import_typescript81.default.factory.createNumericLiteral(value);
|
|
41421
41449
|
}
|
|
41422
41450
|
|
|
41423
|
-
// bazel-out/
|
|
41451
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
41424
41452
|
var import_typescript85 = __toESM(require("typescript"), 1);
|
|
41425
41453
|
|
|
41426
|
-
// bazel-out/
|
|
41454
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
41427
41455
|
var import_typescript83 = __toESM(require("typescript"), 1);
|
|
41428
41456
|
|
|
41429
|
-
// bazel-out/
|
|
41457
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
41430
41458
|
var import_typescript82 = __toESM(require("typescript"), 1);
|
|
41431
41459
|
var TypeParameterEmitter = class {
|
|
41432
41460
|
constructor(typeParameters, reflector) {
|
|
@@ -41504,7 +41532,7 @@ var TypeParameterEmitter = class {
|
|
|
41504
41532
|
}
|
|
41505
41533
|
};
|
|
41506
41534
|
|
|
41507
|
-
// bazel-out/
|
|
41535
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
41508
41536
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_MODULES = [
|
|
41509
41537
|
Identifiers.InputSignalBrandWriteType.moduleName
|
|
41510
41538
|
];
|
|
@@ -41592,7 +41620,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
41592
41620
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
41593
41621
|
}
|
|
41594
41622
|
|
|
41595
|
-
// bazel-out/
|
|
41623
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
41596
41624
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
41597
41625
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
41598
41626
|
const rawType = import_typescript85.default.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -41715,7 +41743,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
41715
41743
|
});
|
|
41716
41744
|
}
|
|
41717
41745
|
|
|
41718
|
-
// bazel-out/
|
|
41746
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
41719
41747
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
41720
41748
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
41721
41749
|
super(importManager, refEmitter, reflector, contextFile);
|
|
@@ -41790,7 +41818,7 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
41790
41818
|
}
|
|
41791
41819
|
};
|
|
41792
41820
|
|
|
41793
|
-
// bazel-out/
|
|
41821
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
41794
41822
|
var import_typescript87 = __toESM(require("typescript"), 1);
|
|
41795
41823
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
41796
41824
|
constructor(resolver) {
|
|
@@ -41990,7 +42018,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
41990
42018
|
});
|
|
41991
42019
|
}
|
|
41992
42020
|
|
|
41993
|
-
// bazel-out/
|
|
42021
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
41994
42022
|
var import_typescript88 = __toESM(require("typescript"), 1);
|
|
41995
42023
|
var TypeCheckShimGenerator = class {
|
|
41996
42024
|
constructor() {
|
|
@@ -42008,10 +42036,10 @@ var TypeCheckShimGenerator = class {
|
|
|
42008
42036
|
}
|
|
42009
42037
|
};
|
|
42010
42038
|
|
|
42011
|
-
// bazel-out/
|
|
42039
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
42012
42040
|
var import_typescript91 = __toESM(require("typescript"), 1);
|
|
42013
42041
|
|
|
42014
|
-
// bazel-out/
|
|
42042
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
42015
42043
|
var import_typescript89 = __toESM(require("typescript"), 1);
|
|
42016
42044
|
function wrapForDiagnostics(expr) {
|
|
42017
42045
|
return import_typescript89.default.factory.createParenthesizedExpression(expr);
|
|
@@ -42056,7 +42084,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
42056
42084
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
42057
42085
|
}
|
|
42058
42086
|
|
|
42059
|
-
// bazel-out/
|
|
42087
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
42060
42088
|
var import_typescript90 = __toESM(require("typescript"), 1);
|
|
42061
42089
|
var NULL_AS_ANY = import_typescript90.default.factory.createAsExpression(import_typescript90.default.factory.createNull(), import_typescript90.default.factory.createKeywordTypeNode(import_typescript90.default.SyntaxKind.AnyKeyword));
|
|
42062
42090
|
var UNDEFINED = import_typescript90.default.factory.createIdentifier("undefined");
|
|
@@ -42388,7 +42416,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
42388
42416
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
42389
42417
|
})();
|
|
42390
42418
|
|
|
42391
|
-
// bazel-out/
|
|
42419
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
42392
42420
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
42393
42421
|
constructor(templateId, boundTarget, oob) {
|
|
42394
42422
|
super();
|
|
@@ -42411,7 +42439,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
42411
42439
|
}
|
|
42412
42440
|
};
|
|
42413
42441
|
|
|
42414
|
-
// bazel-out/
|
|
42442
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
42415
42443
|
var TcbGenericContextBehavior;
|
|
42416
42444
|
(function(TcbGenericContextBehavior2) {
|
|
42417
42445
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -42636,8 +42664,8 @@ var TcbDirectiveTypeOpBase = class extends TcbOp {
|
|
|
42636
42664
|
type = import_typescript91.default.factory.createTypeReferenceNode(rawType.typeName, typeArguments);
|
|
42637
42665
|
}
|
|
42638
42666
|
const id = this.tcb.allocateId();
|
|
42639
|
-
addExpressionIdentifier(
|
|
42640
|
-
addParseSpanInfo(
|
|
42667
|
+
addExpressionIdentifier(id, ExpressionIdentifier.DIRECTIVE);
|
|
42668
|
+
addParseSpanInfo(id, this.node.startSourceSpan || this.node.sourceSpan);
|
|
42641
42669
|
this.scope.addStatement(tsDeclareVariable(id, type));
|
|
42642
42670
|
return id;
|
|
42643
42671
|
}
|
|
@@ -42874,14 +42902,13 @@ var TcbDomSchemaCheckerOp = class extends TcbOp {
|
|
|
42874
42902
|
this.tcb.domSchemaChecker.checkElement(this.tcb.id, this.element, this.tcb.schemas, this.tcb.hostIsStandalone);
|
|
42875
42903
|
}
|
|
42876
42904
|
for (const binding of this.element.inputs) {
|
|
42877
|
-
|
|
42905
|
+
const isPropertyBinding = binding.type === 0 || binding.type === 5;
|
|
42906
|
+
if (isPropertyBinding && this.claimedInputs.has(binding.name)) {
|
|
42878
42907
|
continue;
|
|
42879
42908
|
}
|
|
42880
|
-
if (binding.
|
|
42881
|
-
|
|
42882
|
-
|
|
42883
|
-
this.tcb.domSchemaChecker.checkProperty(this.tcb.id, this.element, propertyName, binding.sourceSpan, this.tcb.schemas, this.tcb.hostIsStandalone);
|
|
42884
|
-
}
|
|
42909
|
+
if (isPropertyBinding && binding.name !== "style" && binding.name !== "class") {
|
|
42910
|
+
const propertyName = (_a2 = ATTR_TO_PROP.get(binding.name)) != null ? _a2 : binding.name;
|
|
42911
|
+
this.tcb.domSchemaChecker.checkProperty(this.tcb.id, this.element, propertyName, binding.sourceSpan, this.tcb.schemas, this.tcb.hostIsStandalone);
|
|
42885
42912
|
}
|
|
42886
42913
|
}
|
|
42887
42914
|
return null;
|
|
@@ -42983,11 +43010,12 @@ var TcbUnclaimedInputsOp = class extends TcbOp {
|
|
|
42983
43010
|
var _a2;
|
|
42984
43011
|
let elId = null;
|
|
42985
43012
|
for (const binding of this.element.inputs) {
|
|
42986
|
-
|
|
43013
|
+
const isPropertyBinding = binding.type === 0 || binding.type === 5;
|
|
43014
|
+
if (isPropertyBinding && this.claimedInputs.has(binding.name)) {
|
|
42987
43015
|
continue;
|
|
42988
43016
|
}
|
|
42989
43017
|
const expr = widenBinding(tcbExpression(binding.value, this.tcb, this.scope), this.tcb);
|
|
42990
|
-
if (this.tcb.env.config.checkTypeOfDomBindings &&
|
|
43018
|
+
if (this.tcb.env.config.checkTypeOfDomBindings && isPropertyBinding) {
|
|
42991
43019
|
if (binding.name !== "style" && binding.name !== "class") {
|
|
42992
43020
|
if (elId === null) {
|
|
42993
43021
|
elId = this.scope.resolve(this.element);
|
|
@@ -43022,7 +43050,7 @@ var TcbDirectiveOutputsOp = class extends TcbOp {
|
|
|
43022
43050
|
let dirId = null;
|
|
43023
43051
|
const outputs = this.dir.outputs;
|
|
43024
43052
|
for (const output of this.node.outputs) {
|
|
43025
|
-
if (output.type
|
|
43053
|
+
if (output.type === 1 || !outputs.hasBindingPropertyName(output.name)) {
|
|
43026
43054
|
continue;
|
|
43027
43055
|
}
|
|
43028
43056
|
if (this.tcb.env.config.checkTypeOfOutputEvents && output.name.endsWith("Change")) {
|
|
@@ -43130,7 +43158,9 @@ var TcbBlockVariableOp = class extends TcbOp {
|
|
|
43130
43158
|
execute() {
|
|
43131
43159
|
const id = this.tcb.allocateId();
|
|
43132
43160
|
addParseSpanInfo(id, this.variable.keySpan);
|
|
43133
|
-
|
|
43161
|
+
const variable2 = tsCreateVariable(id, wrapForTypeChecker(this.initializer));
|
|
43162
|
+
addParseSpanInfo(variable2.declarationList.declarations[0], this.variable.sourceSpan);
|
|
43163
|
+
this.scope.addStatement(variable2);
|
|
43134
43164
|
return id;
|
|
43135
43165
|
}
|
|
43136
43166
|
};
|
|
@@ -43146,7 +43176,9 @@ var TcbBlockImplicitVariableOp = class extends TcbOp {
|
|
|
43146
43176
|
execute() {
|
|
43147
43177
|
const id = this.tcb.allocateId();
|
|
43148
43178
|
addParseSpanInfo(id, this.variable.keySpan);
|
|
43149
|
-
|
|
43179
|
+
const variable2 = tsDeclareVariable(id, this.type);
|
|
43180
|
+
addParseSpanInfo(variable2.declarationList.declarations[0], this.variable.sourceSpan);
|
|
43181
|
+
this.scope.addStatement(variable2);
|
|
43150
43182
|
return id;
|
|
43151
43183
|
}
|
|
43152
43184
|
};
|
|
@@ -43282,6 +43314,7 @@ var TcbForOfOp = class extends TcbOp {
|
|
|
43282
43314
|
throw new Error(`Could not resolve for loop variable ${this.block.item.name} to an identifier`);
|
|
43283
43315
|
}
|
|
43284
43316
|
const initializer = import_typescript91.default.factory.createVariableDeclarationList([import_typescript91.default.factory.createVariableDeclaration(initializerId)], import_typescript91.default.NodeFlags.Const);
|
|
43317
|
+
addParseSpanInfo(initializer, this.block.item.keySpan);
|
|
43285
43318
|
const expression = import_typescript91.default.factory.createNonNullExpression(tcbExpression(this.block.expression, this.tcb, loopScope));
|
|
43286
43319
|
const trackTranslator = new TcbForLoopTrackTranslator(this.tcb, loopScope, this.block);
|
|
43287
43320
|
const trackExpression = trackTranslator.translate(this.block.trackBy);
|
|
@@ -43784,7 +43817,7 @@ function tcbCallTypeCtor(dir, tcb, inputs) {
|
|
|
43784
43817
|
function getBoundAttributes(directive, node) {
|
|
43785
43818
|
const boundInputs = [];
|
|
43786
43819
|
const processAttribute = (attr) => {
|
|
43787
|
-
if (attr instanceof BoundAttribute && attr.type !== 0) {
|
|
43820
|
+
if (attr instanceof BoundAttribute && attr.type !== 0 && attr.type !== 5) {
|
|
43788
43821
|
return;
|
|
43789
43822
|
}
|
|
43790
43823
|
const inputs = directive.inputs.getByBindingPropertyName(attr.name);
|
|
@@ -43912,7 +43945,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
43912
43945
|
}
|
|
43913
43946
|
};
|
|
43914
43947
|
|
|
43915
|
-
// bazel-out/
|
|
43948
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
43916
43949
|
var import_typescript92 = __toESM(require("typescript"), 1);
|
|
43917
43950
|
var TypeCheckFile = class extends Environment {
|
|
43918
43951
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -43949,7 +43982,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
43949
43982
|
}
|
|
43950
43983
|
};
|
|
43951
43984
|
|
|
43952
|
-
// bazel-out/
|
|
43985
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
43953
43986
|
var InliningMode;
|
|
43954
43987
|
(function(InliningMode2) {
|
|
43955
43988
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -44189,7 +44222,7 @@ function splitStringAtPoints(str, points) {
|
|
|
44189
44222
|
return splits;
|
|
44190
44223
|
}
|
|
44191
44224
|
|
|
44192
|
-
// bazel-out/
|
|
44225
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
44193
44226
|
var LF_CHAR = 10;
|
|
44194
44227
|
var CR_CHAR = 13;
|
|
44195
44228
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -44230,7 +44263,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
44230
44263
|
return low - 1;
|
|
44231
44264
|
}
|
|
44232
44265
|
|
|
44233
|
-
// bazel-out/
|
|
44266
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
44234
44267
|
var TemplateSource = class {
|
|
44235
44268
|
constructor(mapping, file) {
|
|
44236
44269
|
this.mapping = mapping;
|
|
@@ -44281,7 +44314,7 @@ var TemplateSourceManager = class {
|
|
|
44281
44314
|
}
|
|
44282
44315
|
};
|
|
44283
44316
|
|
|
44284
|
-
// bazel-out/
|
|
44317
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
44285
44318
|
var import_typescript94 = __toESM(require("typescript"), 1);
|
|
44286
44319
|
var SymbolBuilder = class {
|
|
44287
44320
|
constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
|
|
@@ -44583,17 +44616,22 @@ var SymbolBuilder = class {
|
|
|
44583
44616
|
}
|
|
44584
44617
|
getSymbolOfVariable(variable2) {
|
|
44585
44618
|
const node = findFirstMatchingNode(this.typeCheckBlock, { withSpan: variable2.sourceSpan, filter: import_typescript94.default.isVariableDeclaration });
|
|
44586
|
-
if (node === null
|
|
44619
|
+
if (node === null) {
|
|
44587
44620
|
return null;
|
|
44588
44621
|
}
|
|
44589
|
-
|
|
44590
|
-
if (
|
|
44622
|
+
let nodeValueSymbol = null;
|
|
44623
|
+
if (import_typescript94.default.isForOfStatement(node.parent.parent)) {
|
|
44624
|
+
nodeValueSymbol = this.getSymbolOfTsNode(node);
|
|
44625
|
+
} else if (node.initializer !== void 0) {
|
|
44626
|
+
nodeValueSymbol = this.getSymbolOfTsNode(node.initializer);
|
|
44627
|
+
}
|
|
44628
|
+
if (nodeValueSymbol === null) {
|
|
44591
44629
|
return null;
|
|
44592
44630
|
}
|
|
44593
44631
|
return {
|
|
44594
|
-
tsType:
|
|
44595
|
-
tsSymbol:
|
|
44596
|
-
initializerLocation:
|
|
44632
|
+
tsType: nodeValueSymbol.tsType,
|
|
44633
|
+
tsSymbol: nodeValueSymbol.tsSymbol,
|
|
44634
|
+
initializerLocation: nodeValueSymbol.tcbLocation,
|
|
44597
44635
|
kind: SymbolKind.Variable,
|
|
44598
44636
|
declaration: variable2,
|
|
44599
44637
|
localVarLocation: {
|
|
@@ -44758,7 +44796,7 @@ function sourceSpanEqual(a, b) {
|
|
|
44758
44796
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
44759
44797
|
}
|
|
44760
44798
|
|
|
44761
|
-
// bazel-out/
|
|
44799
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
44762
44800
|
var REGISTRY2 = new DomElementSchemaRegistry();
|
|
44763
44801
|
var TemplateTypeCheckerImpl = class {
|
|
44764
44802
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -45454,7 +45492,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
45454
45492
|
}
|
|
45455
45493
|
};
|
|
45456
45494
|
|
|
45457
|
-
// bazel-out/
|
|
45495
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
45458
45496
|
var TemplateCheckWithVisitor = class {
|
|
45459
45497
|
run(ctx, component, template2) {
|
|
45460
45498
|
const visitor = new TemplateVisitor2(ctx, component, this);
|
|
@@ -45577,7 +45615,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
45577
45615
|
}
|
|
45578
45616
|
};
|
|
45579
45617
|
|
|
45580
|
-
// bazel-out/
|
|
45618
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
45581
45619
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
45582
45620
|
constructor() {
|
|
45583
45621
|
super(...arguments);
|
|
@@ -45614,7 +45652,7 @@ var factory = {
|
|
|
45614
45652
|
create: () => new InterpolatedSignalCheck()
|
|
45615
45653
|
};
|
|
45616
45654
|
|
|
45617
|
-
// bazel-out/
|
|
45655
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
45618
45656
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
45619
45657
|
constructor() {
|
|
45620
45658
|
super(...arguments);
|
|
@@ -45639,7 +45677,7 @@ var factory2 = {
|
|
|
45639
45677
|
create: () => new InvalidBananaInBoxCheck()
|
|
45640
45678
|
};
|
|
45641
45679
|
|
|
45642
|
-
// bazel-out/
|
|
45680
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
45643
45681
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
45644
45682
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
45645
45683
|
["ngFor", { directive: "NgFor", builtIn: "@for" }],
|
|
@@ -45683,7 +45721,7 @@ var factory3 = {
|
|
|
45683
45721
|
}
|
|
45684
45722
|
};
|
|
45685
45723
|
|
|
45686
|
-
// bazel-out/
|
|
45724
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
45687
45725
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
45688
45726
|
constructor() {
|
|
45689
45727
|
super(...arguments);
|
|
@@ -45715,7 +45753,7 @@ var factory4 = {
|
|
|
45715
45753
|
create: () => new MissingNgForOfLetCheck()
|
|
45716
45754
|
};
|
|
45717
45755
|
|
|
45718
|
-
// bazel-out/
|
|
45756
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
45719
45757
|
var import_typescript97 = __toESM(require("typescript"), 1);
|
|
45720
45758
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
45721
45759
|
constructor() {
|
|
@@ -45759,7 +45797,7 @@ var factory5 = {
|
|
|
45759
45797
|
}
|
|
45760
45798
|
};
|
|
45761
45799
|
|
|
45762
|
-
// bazel-out/
|
|
45800
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
45763
45801
|
var import_typescript98 = __toESM(require("typescript"), 1);
|
|
45764
45802
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
45765
45803
|
constructor() {
|
|
@@ -45804,7 +45842,7 @@ var factory6 = {
|
|
|
45804
45842
|
}
|
|
45805
45843
|
};
|
|
45806
45844
|
|
|
45807
|
-
// bazel-out/
|
|
45845
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
45808
45846
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
45809
45847
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
45810
45848
|
constructor() {
|
|
@@ -45827,7 +45865,7 @@ var factory7 = {
|
|
|
45827
45865
|
create: () => new SuffixNotSupportedCheck()
|
|
45828
45866
|
};
|
|
45829
45867
|
|
|
45830
|
-
// bazel-out/
|
|
45868
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
45831
45869
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
45832
45870
|
constructor() {
|
|
45833
45871
|
super(...arguments);
|
|
@@ -45865,10 +45903,10 @@ var factory8 = {
|
|
|
45865
45903
|
create: () => new TextAttributeNotBindingSpec()
|
|
45866
45904
|
};
|
|
45867
45905
|
|
|
45868
|
-
// bazel-out/
|
|
45906
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
45869
45907
|
var import_typescript99 = __toESM(require("typescript"), 1);
|
|
45870
45908
|
|
|
45871
|
-
// bazel-out/
|
|
45909
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
45872
45910
|
var DiagnosticCategoryLabel;
|
|
45873
45911
|
(function(DiagnosticCategoryLabel2) {
|
|
45874
45912
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -45876,7 +45914,7 @@ var DiagnosticCategoryLabel;
|
|
|
45876
45914
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
45877
45915
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
45878
45916
|
|
|
45879
|
-
// bazel-out/
|
|
45917
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
45880
45918
|
var ExtendedTemplateCheckerImpl = class {
|
|
45881
45919
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
45882
45920
|
var _a2, _b2, _c2, _d2, _e2;
|
|
@@ -45928,7 +45966,7 @@ function assertNever(value) {
|
|
|
45928
45966
|
${value}`);
|
|
45929
45967
|
}
|
|
45930
45968
|
|
|
45931
|
-
// bazel-out/
|
|
45969
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
45932
45970
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
45933
45971
|
factory2,
|
|
45934
45972
|
factory5,
|
|
@@ -45944,7 +45982,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
|
45944
45982
|
...ALL_DIAGNOSTIC_FACTORIES.map((factory9) => factory9.name)
|
|
45945
45983
|
]);
|
|
45946
45984
|
|
|
45947
|
-
// bazel-out/
|
|
45985
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
45948
45986
|
var CompilationTicketKind;
|
|
45949
45987
|
(function(CompilationTicketKind2) {
|
|
45950
45988
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -46693,7 +46731,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
46693
46731
|
return versions;
|
|
46694
46732
|
}
|
|
46695
46733
|
|
|
46696
|
-
// bazel-out/
|
|
46734
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
46697
46735
|
var import_typescript102 = __toESM(require("typescript"), 1);
|
|
46698
46736
|
var DelegatingCompilerHost2 = class {
|
|
46699
46737
|
get jsDocParsingMode() {
|
|
@@ -46832,7 +46870,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
46832
46870
|
}
|
|
46833
46871
|
};
|
|
46834
46872
|
|
|
46835
|
-
// bazel-out/
|
|
46873
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
46836
46874
|
var NgtscProgram = class {
|
|
46837
46875
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
46838
46876
|
this.options = options;
|
|
@@ -47059,24 +47097,24 @@ function mergeEmitResults(emitResults) {
|
|
|
47059
47097
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
47060
47098
|
}
|
|
47061
47099
|
|
|
47062
|
-
// bazel-out/
|
|
47100
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
47063
47101
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
47064
47102
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
47065
47103
|
}
|
|
47066
47104
|
|
|
47067
|
-
// bazel-out/
|
|
47105
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
47068
47106
|
var import_typescript106 = __toESM(require("typescript"), 1);
|
|
47069
47107
|
|
|
47070
|
-
// bazel-out/
|
|
47108
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
47071
47109
|
var import_typescript105 = __toESM(require("typescript"), 1);
|
|
47072
47110
|
|
|
47073
|
-
// bazel-out/
|
|
47111
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/downlevel_decorators_transform.mjs
|
|
47074
47112
|
var import_typescript107 = __toESM(require("typescript"), 1);
|
|
47075
47113
|
|
|
47076
|
-
// bazel-out/
|
|
47114
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/signal_inputs_metadata_transform.mjs
|
|
47077
47115
|
var import_typescript108 = __toESM(require("typescript"), 1);
|
|
47078
47116
|
|
|
47079
|
-
// bazel-out/
|
|
47117
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
47080
47118
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
47081
47119
|
ngDevMode: false,
|
|
47082
47120
|
ngI18nClosureMode: false
|
|
@@ -47085,7 +47123,7 @@ var GLOBAL_DEFS_FOR_TERSER_WITH_AOT = __spreadProps(__spreadValues({}, GLOBAL_DE
|
|
|
47085
47123
|
ngJitMode: false
|
|
47086
47124
|
});
|
|
47087
47125
|
|
|
47088
|
-
// bazel-out/
|
|
47126
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
47089
47127
|
var LogLevel;
|
|
47090
47128
|
(function(LogLevel2) {
|
|
47091
47129
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -47094,7 +47132,7 @@ var LogLevel;
|
|
|
47094
47132
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
47095
47133
|
})(LogLevel || (LogLevel = {}));
|
|
47096
47134
|
|
|
47097
|
-
// bazel-out/
|
|
47135
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
47098
47136
|
var RESET = "\x1B[0m";
|
|
47099
47137
|
var RED = "\x1B[31m";
|
|
47100
47138
|
var YELLOW = "\x1B[33m";
|
|
@@ -47103,18 +47141,18 @@ var DEBUG = `${BLUE}Debug:${RESET}`;
|
|
|
47103
47141
|
var WARN = `${YELLOW}Warning:${RESET}`;
|
|
47104
47142
|
var ERROR = `${RED}Error:${RESET}`;
|
|
47105
47143
|
|
|
47106
|
-
// bazel-out/
|
|
47144
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
47107
47145
|
setFileSystem(new NodeJSFileSystem());
|
|
47108
47146
|
|
|
47109
|
-
// bazel-out/
|
|
47147
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
47110
47148
|
var import_fs2 = require("fs");
|
|
47111
47149
|
var import_path8 = require("path");
|
|
47112
47150
|
var import_typescript121 = __toESM(require("typescript"), 1);
|
|
47113
47151
|
|
|
47114
|
-
// bazel-out/
|
|
47152
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
47115
47153
|
var import_typescript110 = __toESM(require("typescript"), 1);
|
|
47116
47154
|
|
|
47117
|
-
// bazel-out/
|
|
47155
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
|
|
47118
47156
|
var import_path4 = require("path");
|
|
47119
47157
|
var import_typescript109 = __toESM(require("typescript"), 1);
|
|
47120
47158
|
var ImportManager2 = class {
|
|
@@ -47298,7 +47336,7 @@ ${text2}`;
|
|
|
47298
47336
|
}
|
|
47299
47337
|
};
|
|
47300
47338
|
|
|
47301
|
-
// bazel-out/
|
|
47339
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
47302
47340
|
var ChangeTracker = class {
|
|
47303
47341
|
constructor(_printer, _importRemapper) {
|
|
47304
47342
|
__publicField(this, "_printer");
|
|
@@ -47357,7 +47395,7 @@ function normalizePath(path4) {
|
|
|
47357
47395
|
return path4.replace(/\\/g, "/");
|
|
47358
47396
|
}
|
|
47359
47397
|
|
|
47360
|
-
// bazel-out/
|
|
47398
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
47361
47399
|
var import_core19 = require("@angular-devkit/core");
|
|
47362
47400
|
function getProjectTsConfigPaths(tree) {
|
|
47363
47401
|
return __async(this, null, function* () {
|
|
@@ -47437,11 +47475,11 @@ function getWorkspace(tree) {
|
|
|
47437
47475
|
});
|
|
47438
47476
|
}
|
|
47439
47477
|
|
|
47440
|
-
// bazel-out/
|
|
47478
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
47441
47479
|
var import_path5 = require("path");
|
|
47442
47480
|
var import_typescript112 = __toESM(require("typescript"), 1);
|
|
47443
47481
|
|
|
47444
|
-
// bazel-out/
|
|
47482
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
47445
47483
|
var path3 = __toESM(require("path"), 1);
|
|
47446
47484
|
var import_typescript111 = __toESM(require("typescript"), 1);
|
|
47447
47485
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -47458,7 +47496,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
47458
47496
|
return import_typescript111.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
47459
47497
|
}
|
|
47460
47498
|
|
|
47461
|
-
// bazel-out/
|
|
47499
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
47462
47500
|
function createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles, optionOverrides) {
|
|
47463
47501
|
tsconfigPath = (0, import_path5.resolve)(basePath, tsconfigPath);
|
|
47464
47502
|
const parsed = parseTsconfigFile(tsconfigPath, (0, import_path5.dirname)(tsconfigPath));
|
|
@@ -47487,13 +47525,13 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
47487
47525
|
return !(0, import_path5.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
47488
47526
|
}
|
|
47489
47527
|
|
|
47490
|
-
// bazel-out/
|
|
47528
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
47491
47529
|
var import_typescript117 = __toESM(require("typescript"), 1);
|
|
47492
47530
|
|
|
47493
|
-
// bazel-out/
|
|
47531
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
47494
47532
|
var import_typescript114 = __toESM(require("typescript"), 1);
|
|
47495
47533
|
|
|
47496
|
-
// bazel-out/
|
|
47534
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
|
|
47497
47535
|
var import_typescript113 = __toESM(require("typescript"), 1);
|
|
47498
47536
|
function getImportOfIdentifier(typeChecker, node) {
|
|
47499
47537
|
const symbol = typeChecker.getSymbolAtLocation(node);
|
|
@@ -47544,7 +47582,7 @@ function findImportSpecifier(nodes, specifierName) {
|
|
|
47544
47582
|
});
|
|
47545
47583
|
}
|
|
47546
47584
|
|
|
47547
|
-
// bazel-out/
|
|
47585
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
47548
47586
|
function getCallDecoratorImport(typeChecker, decorator) {
|
|
47549
47587
|
if (!import_typescript114.default.isCallExpression(decorator.expression) || !import_typescript114.default.isIdentifier(decorator.expression.expression)) {
|
|
47550
47588
|
return null;
|
|
@@ -47553,7 +47591,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
|
|
|
47553
47591
|
return getImportOfIdentifier(typeChecker, identifier);
|
|
47554
47592
|
}
|
|
47555
47593
|
|
|
47556
|
-
// bazel-out/
|
|
47594
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
|
|
47557
47595
|
function getAngularDecorators(typeChecker, decorators) {
|
|
47558
47596
|
return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
|
|
47559
47597
|
node,
|
|
@@ -47563,7 +47601,7 @@ function getAngularDecorators(typeChecker, decorators) {
|
|
|
47563
47601
|
}));
|
|
47564
47602
|
}
|
|
47565
47603
|
|
|
47566
|
-
// bazel-out/
|
|
47604
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
|
|
47567
47605
|
var import_typescript115 = __toESM(require("typescript"), 1);
|
|
47568
47606
|
function closestNode(node, predicate) {
|
|
47569
47607
|
let current = node.parent;
|
|
@@ -47576,7 +47614,7 @@ function closestNode(node, predicate) {
|
|
|
47576
47614
|
return null;
|
|
47577
47615
|
}
|
|
47578
47616
|
|
|
47579
|
-
// bazel-out/
|
|
47617
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
|
|
47580
47618
|
var import_path6 = require("path");
|
|
47581
47619
|
var import_typescript116 = __toESM(require("typescript"), 1);
|
|
47582
47620
|
var UniqueItemTracker = class {
|
|
@@ -47752,7 +47790,7 @@ function isClassReferenceInAngularModule(node, className, moduleName, typeChecke
|
|
|
47752
47790
|
}));
|
|
47753
47791
|
}
|
|
47754
47792
|
|
|
47755
|
-
// bazel-out/
|
|
47793
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
47756
47794
|
function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles) {
|
|
47757
47795
|
const filesToRemove = /* @__PURE__ */ new Set();
|
|
47758
47796
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
@@ -47951,14 +47989,14 @@ function findNgModuleDecorator(node, typeChecker) {
|
|
|
47951
47989
|
return decorators.find((decorator) => decorator.name === "NgModule") || null;
|
|
47952
47990
|
}
|
|
47953
47991
|
|
|
47954
|
-
// bazel-out/
|
|
47992
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
47955
47993
|
var import_path7 = require("path");
|
|
47956
47994
|
var import_typescript120 = __toESM(require("typescript"), 1);
|
|
47957
47995
|
|
|
47958
|
-
// bazel-out/
|
|
47996
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
47959
47997
|
var import_typescript119 = __toESM(require("typescript"), 1);
|
|
47960
47998
|
|
|
47961
|
-
// bazel-out/
|
|
47999
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
|
|
47962
48000
|
var import_typescript118 = __toESM(require("typescript"), 1);
|
|
47963
48001
|
function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
47964
48002
|
var _a2, _b2;
|
|
@@ -47967,7 +48005,7 @@ function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
|
47967
48005
|
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];
|
|
47968
48006
|
}
|
|
47969
48007
|
|
|
47970
|
-
// bazel-out/
|
|
48008
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
47971
48009
|
function toStandalone(sourceFiles, program, printer, fileImportRemapper, componentImportRemapper) {
|
|
47972
48010
|
const templateTypeChecker = program.compiler.getTemplateTypeChecker();
|
|
47973
48011
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -48186,9 +48224,14 @@ function findTestObjectsToMigrate(sourceFile, typeChecker) {
|
|
|
48186
48224
|
const catalystImport = getImportSpecifier(sourceFile, /testing\/catalyst$/, "setupModule");
|
|
48187
48225
|
if (testBedImport || catalystImport) {
|
|
48188
48226
|
sourceFile.forEachChild(function walk(node) {
|
|
48189
|
-
|
|
48190
|
-
|
|
48191
|
-
|
|
48227
|
+
const isObjectLiteralCall = import_typescript119.default.isCallExpression(node) && node.arguments.length > 0 && import_typescript119.default.isObjectLiteralExpression(node.arguments[0]);
|
|
48228
|
+
const config = isObjectLiteralCall ? node.arguments[0] : null;
|
|
48229
|
+
const isTestBedCall = isObjectLiteralCall && (testBedImport && import_typescript119.default.isPropertyAccessExpression(node.expression) && node.expression.name.text === "configureTestingModule" && isReferenceToImport(typeChecker, node.expression.expression, testBedImport));
|
|
48230
|
+
const isCatalystCall = isObjectLiteralCall && (catalystImport && import_typescript119.default.isIdentifier(node.expression) && isReferenceToImport(typeChecker, node.expression, catalystImport));
|
|
48231
|
+
if ((isTestBedCall || isCatalystCall) && config) {
|
|
48232
|
+
const declarations = findLiteralProperty(config, "declarations");
|
|
48233
|
+
if (declarations && import_typescript119.default.isPropertyAssignment(declarations) && import_typescript119.default.isArrayLiteralExpression(declarations.initializer) && declarations.initializer.elements.length > 0) {
|
|
48234
|
+
testObjects.push(config);
|
|
48192
48235
|
}
|
|
48193
48236
|
}
|
|
48194
48237
|
node.forEachChild(walk);
|
|
@@ -48330,7 +48373,7 @@ function isStandaloneDeclaration(node, declarationsInMigration, templateTypeChec
|
|
|
48330
48373
|
return metadata != null && metadata.isStandalone;
|
|
48331
48374
|
}
|
|
48332
48375
|
|
|
48333
|
-
// bazel-out/
|
|
48376
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
48334
48377
|
function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles, componentImportRemapper) {
|
|
48335
48378
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
48336
48379
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -48707,7 +48750,7 @@ function hasImport(program, rootFileNames, moduleName) {
|
|
|
48707
48750
|
return false;
|
|
48708
48751
|
}
|
|
48709
48752
|
|
|
48710
|
-
// bazel-out/
|
|
48753
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
48711
48754
|
var MigrationMode;
|
|
48712
48755
|
(function(MigrationMode2) {
|
|
48713
48756
|
MigrationMode2["toStandalone"] = "convert-to-standalone";
|