@angular/core 18.0.3 → 18.0.4
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/authoring/model/model_signal.mjs +2 -3
- package/esm2022/src/change_detection/scheduling/zoneless_scheduling_impl.mjs +2 -2
- package/esm2022/src/core_render3_private_export.mjs +2 -2
- package/esm2022/src/defer/instructions.mjs +2 -10
- package/esm2022/src/errors.mjs +1 -1
- package/esm2022/src/hydration/event_replay.mjs +32 -14
- package/esm2022/src/render3/chained_injector.mjs +34 -0
- package/esm2022/src/render3/component_ref.mjs +3 -28
- package/esm2022/src/render3/index.mjs +2 -2
- package/esm2022/src/render3/instructions/all.mjs +2 -1
- package/esm2022/src/render3/instructions/let_declaration.mjs +39 -0
- package/esm2022/src/render3/jit/environment.mjs +4 -1
- package/esm2022/src/render3/util/injector_discovery_utils.mjs +14 -5
- package/esm2022/src/render3/util/injector_utils.mjs +10 -1
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +140 -71
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/index.d.ts +28 -5
- package/package.json +1 -1
- package/primitives/event-dispatch/index.d.ts +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/http-providers/bundle.js +15 -15
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +422 -218
- package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +4 -4
- package/schematics/ng-generate/control-flow-migration/bundle.js +437 -226
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +4 -4
- package/schematics/ng-generate/standalone-migration/bundle.js +711 -505
- package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
- package/testing/index.d.ts +1 -1
|
@@ -1887,7 +1887,7 @@ var require_semver2 = __commonJS({
|
|
|
1887
1887
|
}
|
|
1888
1888
|
});
|
|
1889
1889
|
|
|
1890
|
-
// bazel-out/
|
|
1890
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
1891
1891
|
var standalone_migration_exports = {};
|
|
1892
1892
|
__export(standalone_migration_exports, {
|
|
1893
1893
|
default: () => standalone_migration_default
|
|
@@ -1895,10 +1895,10 @@ __export(standalone_migration_exports, {
|
|
|
1895
1895
|
module.exports = __toCommonJS(standalone_migration_exports);
|
|
1896
1896
|
var import_schematics = require("@angular-devkit/schematics");
|
|
1897
1897
|
|
|
1898
|
-
// bazel-out/
|
|
1898
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
1899
1899
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
1900
1900
|
|
|
1901
|
-
// bazel-out/
|
|
1901
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
1902
1902
|
var InvalidFileSystem = class {
|
|
1903
1903
|
exists(path4) {
|
|
1904
1904
|
throw makeError();
|
|
@@ -1986,7 +1986,7 @@ function makeError() {
|
|
|
1986
1986
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
1987
1987
|
}
|
|
1988
1988
|
|
|
1989
|
-
// bazel-out/
|
|
1989
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
1990
1990
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
1991
1991
|
function stripExtension(path4) {
|
|
1992
1992
|
return path4.replace(TS_DTS_JS_EXTENSION, "");
|
|
@@ -1999,7 +1999,7 @@ function getSourceFileOrError(program, fileName) {
|
|
|
1999
1999
|
return sf;
|
|
2000
2000
|
}
|
|
2001
2001
|
|
|
2002
|
-
// bazel-out/
|
|
2002
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
2003
2003
|
var fs = new InvalidFileSystem();
|
|
2004
2004
|
function getFileSystem() {
|
|
2005
2005
|
return fs;
|
|
@@ -2043,7 +2043,7 @@ function toRelativeImport(relativePath) {
|
|
|
2043
2043
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
2044
2044
|
}
|
|
2045
2045
|
|
|
2046
|
-
// bazel-out/
|
|
2046
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
2047
2047
|
var LogicalProjectPath = {
|
|
2048
2048
|
relativePathBetween: function(from, to) {
|
|
2049
2049
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -2089,7 +2089,7 @@ function isWithinBasePath(base, path4) {
|
|
|
2089
2089
|
return isLocalRelativePath(relative(base, path4));
|
|
2090
2090
|
}
|
|
2091
2091
|
|
|
2092
|
-
// bazel-out/
|
|
2092
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
2093
2093
|
var import_fs = __toESM(require("fs"), 1);
|
|
2094
2094
|
var import_module = require("module");
|
|
2095
2095
|
var p = __toESM(require("path"), 1);
|
|
@@ -2197,7 +2197,7 @@ function toggleCase(str) {
|
|
|
2197
2197
|
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
2198
2198
|
}
|
|
2199
2199
|
|
|
2200
|
-
// bazel-out/
|
|
2200
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/selector.mjs
|
|
2201
2201
|
var _SELECTOR_REGEXP = new RegExp(
|
|
2202
2202
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
2203
2203
|
"g"
|
|
@@ -2505,7 +2505,7 @@ var SelectorContext = class {
|
|
|
2505
2505
|
}
|
|
2506
2506
|
};
|
|
2507
2507
|
|
|
2508
|
-
// bazel-out/
|
|
2508
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/core.mjs
|
|
2509
2509
|
var emitDistinctChangesOnlyDefaultValue = true;
|
|
2510
2510
|
var ViewEncapsulation;
|
|
2511
2511
|
(function(ViewEncapsulation2) {
|
|
@@ -2574,7 +2574,7 @@ function parseSelectorToR3Selector(selector) {
|
|
|
2574
2574
|
return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
|
|
2575
2575
|
}
|
|
2576
2576
|
|
|
2577
|
-
// bazel-out/
|
|
2577
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
2578
2578
|
var output_ast_exports = {};
|
|
2579
2579
|
__export(output_ast_exports, {
|
|
2580
2580
|
ArrayType: () => ArrayType,
|
|
@@ -2662,7 +2662,7 @@ __export(output_ast_exports, {
|
|
|
2662
2662
|
variable: () => variable
|
|
2663
2663
|
});
|
|
2664
2664
|
|
|
2665
|
-
// bazel-out/
|
|
2665
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
|
|
2666
2666
|
var textEncoder;
|
|
2667
2667
|
function digest(message) {
|
|
2668
2668
|
return message.id || computeDigest(message);
|
|
@@ -2905,7 +2905,7 @@ function wordAt(bytes, index, endian) {
|
|
|
2905
2905
|
return word;
|
|
2906
2906
|
}
|
|
2907
2907
|
|
|
2908
|
-
// bazel-out/
|
|
2908
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
2909
2909
|
var TypeModifier;
|
|
2910
2910
|
(function(TypeModifier2) {
|
|
2911
2911
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -4100,7 +4100,7 @@ function serializeTags(tags) {
|
|
|
4100
4100
|
return out;
|
|
4101
4101
|
}
|
|
4102
4102
|
|
|
4103
|
-
// bazel-out/
|
|
4103
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
4104
4104
|
var CONSTANT_PREFIX = "_c";
|
|
4105
4105
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
4106
4106
|
var KEY_CONTEXT = {};
|
|
@@ -4288,7 +4288,7 @@ function isLongStringLiteral(expr) {
|
|
|
4288
4288
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
4289
4289
|
}
|
|
4290
4290
|
|
|
4291
|
-
// bazel-out/
|
|
4291
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
4292
4292
|
var CORE = "@angular/core";
|
|
4293
4293
|
var _Identifiers = class {
|
|
4294
4294
|
};
|
|
@@ -5085,6 +5085,15 @@ var Identifiers = _Identifiers;
|
|
|
5085
5085
|
(() => {
|
|
5086
5086
|
_Identifiers.twoWayListener = { name: "\u0275\u0275twoWayListener", moduleName: CORE };
|
|
5087
5087
|
})();
|
|
5088
|
+
(() => {
|
|
5089
|
+
_Identifiers.declareLet = { name: "\u0275\u0275declareLet", moduleName: CORE };
|
|
5090
|
+
})();
|
|
5091
|
+
(() => {
|
|
5092
|
+
_Identifiers.storeLet = { name: "\u0275\u0275storeLet", moduleName: CORE };
|
|
5093
|
+
})();
|
|
5094
|
+
(() => {
|
|
5095
|
+
_Identifiers.readContextLet = { name: "\u0275\u0275readContextLet", moduleName: CORE };
|
|
5096
|
+
})();
|
|
5088
5097
|
(() => {
|
|
5089
5098
|
_Identifiers.NgOnChangesFeature = { name: "\u0275\u0275NgOnChangesFeature", moduleName: CORE };
|
|
5090
5099
|
})();
|
|
@@ -5176,7 +5185,7 @@ var Identifiers = _Identifiers;
|
|
|
5176
5185
|
_Identifiers.unwrapWritableSignal = { name: "\u0275unwrapWritableSignal", moduleName: CORE };
|
|
5177
5186
|
})();
|
|
5178
5187
|
|
|
5179
|
-
// bazel-out/
|
|
5188
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
|
|
5180
5189
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
5181
5190
|
function dashCaseToCamelCase(input) {
|
|
5182
5191
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -5253,7 +5262,7 @@ var Version = class {
|
|
|
5253
5262
|
};
|
|
5254
5263
|
var _global = globalThis;
|
|
5255
5264
|
|
|
5256
|
-
// bazel-out/
|
|
5265
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
5257
5266
|
var VERSION = 3;
|
|
5258
5267
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
5259
5268
|
var SourceMapGenerator = class {
|
|
@@ -5382,7 +5391,7 @@ function toBase64Digit(value) {
|
|
|
5382
5391
|
return B64_DIGITS[value];
|
|
5383
5392
|
}
|
|
5384
5393
|
|
|
5385
|
-
// bazel-out/
|
|
5394
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
5386
5395
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
5387
5396
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
5388
5397
|
var _INDENT_WITH = " ";
|
|
@@ -5870,7 +5879,7 @@ function _createIndent(count) {
|
|
|
5870
5879
|
return res;
|
|
5871
5880
|
}
|
|
5872
5881
|
|
|
5873
|
-
// bazel-out/
|
|
5882
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
5874
5883
|
function typeWithParameters(type, numParams) {
|
|
5875
5884
|
if (numParams === 0) {
|
|
5876
5885
|
return expressionType(type);
|
|
@@ -5928,7 +5937,7 @@ function generateForwardRef(expr) {
|
|
|
5928
5937
|
return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
|
|
5929
5938
|
}
|
|
5930
5939
|
|
|
5931
|
-
// bazel-out/
|
|
5940
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
5932
5941
|
var R3FactoryDelegateType;
|
|
5933
5942
|
(function(R3FactoryDelegateType2) {
|
|
5934
5943
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -6073,7 +6082,7 @@ function getInjectFn(target) {
|
|
|
6073
6082
|
}
|
|
6074
6083
|
}
|
|
6075
6084
|
|
|
6076
|
-
// bazel-out/
|
|
6085
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
6077
6086
|
var ParserError = class {
|
|
6078
6087
|
constructor(message, input, errLocation, ctxLocation) {
|
|
6079
6088
|
this.input = input;
|
|
@@ -6511,7 +6520,7 @@ var BoundElementProperty = class {
|
|
|
6511
6520
|
}
|
|
6512
6521
|
};
|
|
6513
6522
|
|
|
6514
|
-
// bazel-out/
|
|
6523
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
6515
6524
|
var TagContentType;
|
|
6516
6525
|
(function(TagContentType2) {
|
|
6517
6526
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -6548,7 +6557,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
6548
6557
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
6549
6558
|
}
|
|
6550
6559
|
|
|
6551
|
-
// bazel-out/
|
|
6560
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
6552
6561
|
var Comment = class {
|
|
6553
6562
|
constructor(value, sourceSpan) {
|
|
6554
6563
|
this.value = value;
|
|
@@ -7018,7 +7027,7 @@ function visitAll(visitor, nodes) {
|
|
|
7018
7027
|
return result;
|
|
7019
7028
|
}
|
|
7020
7029
|
|
|
7021
|
-
// bazel-out/
|
|
7030
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
7022
7031
|
var Message = class {
|
|
7023
7032
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
7024
7033
|
this.nodes = nodes;
|
|
@@ -7209,7 +7218,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
7209
7218
|
}
|
|
7210
7219
|
};
|
|
7211
7220
|
|
|
7212
|
-
// bazel-out/
|
|
7221
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
|
|
7213
7222
|
var Serializer = class {
|
|
7214
7223
|
createNameMapper(message) {
|
|
7215
7224
|
return null;
|
|
@@ -7266,7 +7275,7 @@ var SimplePlaceholderMapper = class extends RecurseVisitor {
|
|
|
7266
7275
|
}
|
|
7267
7276
|
};
|
|
7268
7277
|
|
|
7269
|
-
// bazel-out/
|
|
7278
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
7270
7279
|
var _Visitor = class {
|
|
7271
7280
|
visitTag(tag) {
|
|
7272
7281
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -7354,7 +7363,7 @@ function escapeXml(text2) {
|
|
|
7354
7363
|
return _ESCAPED_CHARS.reduce((text3, entry) => text3.replace(entry[0], entry[1]), text2);
|
|
7355
7364
|
}
|
|
7356
7365
|
|
|
7357
|
-
// bazel-out/
|
|
7366
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
7358
7367
|
var _XMB_HANDLER = "angular";
|
|
7359
7368
|
var _MESSAGES_TAG = "messagebundle";
|
|
7360
7369
|
var _MESSAGE_TAG = "msg";
|
|
@@ -7516,7 +7525,7 @@ function toPublicName(internalName) {
|
|
|
7516
7525
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
7517
7526
|
}
|
|
7518
7527
|
|
|
7519
|
-
// bazel-out/
|
|
7528
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
7520
7529
|
var I18N_ATTR = "i18n";
|
|
7521
7530
|
var I18N_ATTR_PREFIX = "i18n-";
|
|
7522
7531
|
var I18N_ICU_VAR_PREFIX = "VAR_";
|
|
@@ -7556,7 +7565,7 @@ function formatI18nPlaceholderName(name, useCamelCase = true) {
|
|
|
7556
7565
|
return postfix ? `${raw}_${postfix}` : raw;
|
|
7557
7566
|
}
|
|
7558
7567
|
|
|
7559
|
-
// bazel-out/
|
|
7568
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
7560
7569
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
7561
7570
|
var TEMPORARY_NAME = "_t";
|
|
7562
7571
|
var CONTEXT_NAME = "ctx";
|
|
@@ -7683,7 +7692,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
|
|
|
7683
7692
|
return attributesMap;
|
|
7684
7693
|
}
|
|
7685
7694
|
|
|
7686
|
-
// bazel-out/
|
|
7695
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
7687
7696
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
7688
7697
|
let result = null;
|
|
7689
7698
|
const factoryMeta = {
|
|
@@ -7770,7 +7779,7 @@ function createFactoryFunction(type) {
|
|
|
7770
7779
|
return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
|
|
7771
7780
|
}
|
|
7772
7781
|
|
|
7773
|
-
// bazel-out/
|
|
7782
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
7774
7783
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
7775
7784
|
/@/,
|
|
7776
7785
|
/^\s*$/,
|
|
@@ -7793,7 +7802,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
7793
7802
|
}
|
|
7794
7803
|
}
|
|
7795
7804
|
|
|
7796
|
-
// bazel-out/
|
|
7805
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
|
|
7797
7806
|
var InterpolationConfig = class {
|
|
7798
7807
|
static fromArray(markers) {
|
|
7799
7808
|
if (!markers) {
|
|
@@ -7810,7 +7819,7 @@ var InterpolationConfig = class {
|
|
|
7810
7819
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
7811
7820
|
var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
|
|
7812
7821
|
|
|
7813
|
-
// bazel-out/
|
|
7822
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
7814
7823
|
var $EOF = 0;
|
|
7815
7824
|
var $BSPACE = 8;
|
|
7816
7825
|
var $TAB = 9;
|
|
@@ -7892,7 +7901,7 @@ function isQuote(code) {
|
|
|
7892
7901
|
return code === $SQ || code === $DQ || code === $BT;
|
|
7893
7902
|
}
|
|
7894
7903
|
|
|
7895
|
-
// bazel-out/
|
|
7904
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
7896
7905
|
var ParseLocation = class {
|
|
7897
7906
|
constructor(file, offset, line, col) {
|
|
7898
7907
|
this.file = file;
|
|
@@ -8039,7 +8048,7 @@ function sanitizeIdentifier(name) {
|
|
|
8039
8048
|
return name.replace(/\W/g, "_");
|
|
8040
8049
|
}
|
|
8041
8050
|
|
|
8042
|
-
// bazel-out/
|
|
8051
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
8043
8052
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
8044
8053
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
8045
8054
|
constructor() {
|
|
@@ -8132,7 +8141,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
8132
8141
|
}
|
|
8133
8142
|
};
|
|
8134
8143
|
|
|
8135
|
-
// bazel-out/
|
|
8144
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
8136
8145
|
var policy;
|
|
8137
8146
|
function getPolicy() {
|
|
8138
8147
|
if (policy === void 0) {
|
|
@@ -8170,7 +8179,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
8170
8179
|
return fn2.bind(_global);
|
|
8171
8180
|
}
|
|
8172
8181
|
|
|
8173
|
-
// bazel-out/
|
|
8182
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
8174
8183
|
var JitEvaluator = class {
|
|
8175
8184
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
8176
8185
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -8258,7 +8267,7 @@ function isUseStrictStatement(statement) {
|
|
|
8258
8267
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
8259
8268
|
}
|
|
8260
8269
|
|
|
8261
|
-
// bazel-out/
|
|
8270
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
8262
8271
|
function compileInjector(meta) {
|
|
8263
8272
|
const definitionMap = new DefinitionMap();
|
|
8264
8273
|
if (meta.providers !== null) {
|
|
@@ -8275,7 +8284,7 @@ function createInjectorType(meta) {
|
|
|
8275
8284
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
8276
8285
|
}
|
|
8277
8286
|
|
|
8278
|
-
// bazel-out/
|
|
8287
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
8279
8288
|
var R3JitReflector = class {
|
|
8280
8289
|
constructor(context) {
|
|
8281
8290
|
this.context = context;
|
|
@@ -8291,7 +8300,7 @@ var R3JitReflector = class {
|
|
|
8291
8300
|
}
|
|
8292
8301
|
};
|
|
8293
8302
|
|
|
8294
|
-
// bazel-out/
|
|
8303
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
8295
8304
|
var R3SelectorScopeMode;
|
|
8296
8305
|
(function(R3SelectorScopeMode2) {
|
|
8297
8306
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -8426,7 +8435,7 @@ function tupleOfTypes(types) {
|
|
|
8426
8435
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
8427
8436
|
}
|
|
8428
8437
|
|
|
8429
|
-
// bazel-out/
|
|
8438
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
8430
8439
|
function compilePipeFromMetadata(metadata) {
|
|
8431
8440
|
const definitionMapValues = [];
|
|
8432
8441
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -8447,7 +8456,7 @@ function createPipeType(metadata) {
|
|
|
8447
8456
|
]));
|
|
8448
8457
|
}
|
|
8449
8458
|
|
|
8450
|
-
// bazel-out/
|
|
8459
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
8451
8460
|
var R3TemplateDependencyKind;
|
|
8452
8461
|
(function(R3TemplateDependencyKind2) {
|
|
8453
8462
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -8455,7 +8464,7 @@ var R3TemplateDependencyKind;
|
|
|
8455
8464
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
8456
8465
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
8457
8466
|
|
|
8458
|
-
// bazel-out/
|
|
8467
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
8459
8468
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
8460
8469
|
"inherit",
|
|
8461
8470
|
"initial",
|
|
@@ -8935,7 +8944,7 @@ function repeatGroups(groups, multiples) {
|
|
|
8935
8944
|
}
|
|
8936
8945
|
}
|
|
8937
8946
|
|
|
8938
|
-
// bazel-out/
|
|
8947
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
8939
8948
|
var OpKind;
|
|
8940
8949
|
(function(OpKind2) {
|
|
8941
8950
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -8976,16 +8985,18 @@ var OpKind;
|
|
|
8976
8985
|
OpKind2[OpKind2["Repeater"] = 35] = "Repeater";
|
|
8977
8986
|
OpKind2[OpKind2["TwoWayProperty"] = 36] = "TwoWayProperty";
|
|
8978
8987
|
OpKind2[OpKind2["TwoWayListener"] = 37] = "TwoWayListener";
|
|
8979
|
-
OpKind2[OpKind2["
|
|
8980
|
-
OpKind2[OpKind2["
|
|
8981
|
-
OpKind2[OpKind2["
|
|
8982
|
-
OpKind2[OpKind2["
|
|
8983
|
-
OpKind2[OpKind2["
|
|
8984
|
-
OpKind2[OpKind2["
|
|
8985
|
-
OpKind2[OpKind2["
|
|
8986
|
-
OpKind2[OpKind2["
|
|
8987
|
-
OpKind2[OpKind2["
|
|
8988
|
-
OpKind2[OpKind2["
|
|
8988
|
+
OpKind2[OpKind2["DeclareLet"] = 38] = "DeclareLet";
|
|
8989
|
+
OpKind2[OpKind2["StoreLet"] = 39] = "StoreLet";
|
|
8990
|
+
OpKind2[OpKind2["I18nStart"] = 40] = "I18nStart";
|
|
8991
|
+
OpKind2[OpKind2["I18n"] = 41] = "I18n";
|
|
8992
|
+
OpKind2[OpKind2["I18nEnd"] = 42] = "I18nEnd";
|
|
8993
|
+
OpKind2[OpKind2["I18nExpression"] = 43] = "I18nExpression";
|
|
8994
|
+
OpKind2[OpKind2["I18nApply"] = 44] = "I18nApply";
|
|
8995
|
+
OpKind2[OpKind2["IcuStart"] = 45] = "IcuStart";
|
|
8996
|
+
OpKind2[OpKind2["IcuEnd"] = 46] = "IcuEnd";
|
|
8997
|
+
OpKind2[OpKind2["IcuPlaceholder"] = 47] = "IcuPlaceholder";
|
|
8998
|
+
OpKind2[OpKind2["I18nContext"] = 48] = "I18nContext";
|
|
8999
|
+
OpKind2[OpKind2["I18nAttributes"] = 49] = "I18nAttributes";
|
|
8989
9000
|
})(OpKind || (OpKind = {}));
|
|
8990
9001
|
var ExpressionKind;
|
|
8991
9002
|
(function(ExpressionKind2) {
|
|
@@ -8995,24 +9006,26 @@ var ExpressionKind;
|
|
|
8995
9006
|
ExpressionKind2[ExpressionKind2["ReadVariable"] = 3] = "ReadVariable";
|
|
8996
9007
|
ExpressionKind2[ExpressionKind2["NextContext"] = 4] = "NextContext";
|
|
8997
9008
|
ExpressionKind2[ExpressionKind2["Reference"] = 5] = "Reference";
|
|
8998
|
-
ExpressionKind2[ExpressionKind2["
|
|
8999
|
-
ExpressionKind2[ExpressionKind2["
|
|
9000
|
-
ExpressionKind2[ExpressionKind2["
|
|
9001
|
-
ExpressionKind2[ExpressionKind2["
|
|
9002
|
-
ExpressionKind2[ExpressionKind2["
|
|
9003
|
-
ExpressionKind2[ExpressionKind2["
|
|
9004
|
-
ExpressionKind2[ExpressionKind2["
|
|
9005
|
-
ExpressionKind2[ExpressionKind2["
|
|
9006
|
-
ExpressionKind2[ExpressionKind2["
|
|
9007
|
-
ExpressionKind2[ExpressionKind2["
|
|
9008
|
-
ExpressionKind2[ExpressionKind2["
|
|
9009
|
-
ExpressionKind2[ExpressionKind2["
|
|
9010
|
-
ExpressionKind2[ExpressionKind2["
|
|
9011
|
-
ExpressionKind2[ExpressionKind2["
|
|
9012
|
-
ExpressionKind2[ExpressionKind2["
|
|
9013
|
-
ExpressionKind2[ExpressionKind2["
|
|
9014
|
-
ExpressionKind2[ExpressionKind2["
|
|
9015
|
-
ExpressionKind2[ExpressionKind2["
|
|
9009
|
+
ExpressionKind2[ExpressionKind2["StoreLet"] = 6] = "StoreLet";
|
|
9010
|
+
ExpressionKind2[ExpressionKind2["ContextLetReference"] = 7] = "ContextLetReference";
|
|
9011
|
+
ExpressionKind2[ExpressionKind2["GetCurrentView"] = 8] = "GetCurrentView";
|
|
9012
|
+
ExpressionKind2[ExpressionKind2["RestoreView"] = 9] = "RestoreView";
|
|
9013
|
+
ExpressionKind2[ExpressionKind2["ResetView"] = 10] = "ResetView";
|
|
9014
|
+
ExpressionKind2[ExpressionKind2["PureFunctionExpr"] = 11] = "PureFunctionExpr";
|
|
9015
|
+
ExpressionKind2[ExpressionKind2["PureFunctionParameterExpr"] = 12] = "PureFunctionParameterExpr";
|
|
9016
|
+
ExpressionKind2[ExpressionKind2["PipeBinding"] = 13] = "PipeBinding";
|
|
9017
|
+
ExpressionKind2[ExpressionKind2["PipeBindingVariadic"] = 14] = "PipeBindingVariadic";
|
|
9018
|
+
ExpressionKind2[ExpressionKind2["SafePropertyRead"] = 15] = "SafePropertyRead";
|
|
9019
|
+
ExpressionKind2[ExpressionKind2["SafeKeyedRead"] = 16] = "SafeKeyedRead";
|
|
9020
|
+
ExpressionKind2[ExpressionKind2["SafeInvokeFunction"] = 17] = "SafeInvokeFunction";
|
|
9021
|
+
ExpressionKind2[ExpressionKind2["SafeTernaryExpr"] = 18] = "SafeTernaryExpr";
|
|
9022
|
+
ExpressionKind2[ExpressionKind2["EmptyExpr"] = 19] = "EmptyExpr";
|
|
9023
|
+
ExpressionKind2[ExpressionKind2["AssignTemporaryExpr"] = 20] = "AssignTemporaryExpr";
|
|
9024
|
+
ExpressionKind2[ExpressionKind2["ReadTemporaryExpr"] = 21] = "ReadTemporaryExpr";
|
|
9025
|
+
ExpressionKind2[ExpressionKind2["SlotLiteralExpr"] = 22] = "SlotLiteralExpr";
|
|
9026
|
+
ExpressionKind2[ExpressionKind2["ConditionalCase"] = 23] = "ConditionalCase";
|
|
9027
|
+
ExpressionKind2[ExpressionKind2["ConstCollected"] = 24] = "ConstCollected";
|
|
9028
|
+
ExpressionKind2[ExpressionKind2["TwoWayBindingSet"] = 25] = "TwoWayBindingSet";
|
|
9016
9029
|
})(ExpressionKind || (ExpressionKind = {}));
|
|
9017
9030
|
var VariableFlags;
|
|
9018
9031
|
(function(VariableFlags2) {
|
|
@@ -9089,7 +9102,7 @@ var TemplateKind;
|
|
|
9089
9102
|
TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
|
|
9090
9103
|
})(TemplateKind || (TemplateKind = {}));
|
|
9091
9104
|
|
|
9092
|
-
// bazel-out/
|
|
9105
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
9093
9106
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
9094
9107
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
9095
9108
|
var ConsumesVarsTrait = Symbol("ConsumesVars");
|
|
@@ -9107,8 +9120,8 @@ var TRAIT_CONSUMES_VARS = {
|
|
|
9107
9120
|
function hasConsumesSlotTrait(op) {
|
|
9108
9121
|
return op[ConsumesSlot] === true;
|
|
9109
9122
|
}
|
|
9110
|
-
function hasDependsOnSlotContextTrait(
|
|
9111
|
-
return
|
|
9123
|
+
function hasDependsOnSlotContextTrait(value) {
|
|
9124
|
+
return value[DependsOnSlotContext] === true;
|
|
9112
9125
|
}
|
|
9113
9126
|
function hasConsumesVarsTrait(value) {
|
|
9114
9127
|
return value[ConsumesVarsTrait] === true;
|
|
@@ -9117,7 +9130,7 @@ function hasUsesVarOffsetTrait(expr) {
|
|
|
9117
9130
|
return expr[UsesVarOffset] === true;
|
|
9118
9131
|
}
|
|
9119
9132
|
|
|
9120
|
-
// bazel-out/
|
|
9133
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
9121
9134
|
function createStatementOp(statement) {
|
|
9122
9135
|
return __spreadValues({
|
|
9123
9136
|
kind: OpKind.Statement,
|
|
@@ -9139,7 +9152,7 @@ var NEW_OP = {
|
|
|
9139
9152
|
next: null
|
|
9140
9153
|
};
|
|
9141
9154
|
|
|
9142
|
-
// bazel-out/
|
|
9155
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
9143
9156
|
function createInterpolateTextOp(xref, interpolation, sourceSpan) {
|
|
9144
9157
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
9145
9158
|
kind: OpKind.InterpolateText,
|
|
@@ -9318,14 +9331,25 @@ function createI18nApplyOp(owner, handle, sourceSpan) {
|
|
|
9318
9331
|
sourceSpan
|
|
9319
9332
|
}, NEW_OP);
|
|
9320
9333
|
}
|
|
9334
|
+
function createStoreLetOp(target, declaredName, value, sourceSpan) {
|
|
9335
|
+
return __spreadValues(__spreadValues(__spreadValues({
|
|
9336
|
+
kind: OpKind.StoreLet,
|
|
9337
|
+
target,
|
|
9338
|
+
declaredName,
|
|
9339
|
+
value,
|
|
9340
|
+
sourceSpan
|
|
9341
|
+
}, TRAIT_DEPENDS_ON_SLOT_CONTEXT), TRAIT_CONSUMES_VARS), NEW_OP);
|
|
9342
|
+
}
|
|
9321
9343
|
|
|
9322
|
-
// bazel-out/
|
|
9344
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
9323
9345
|
var _a;
|
|
9324
9346
|
var _b;
|
|
9325
9347
|
var _c;
|
|
9326
9348
|
var _d;
|
|
9327
9349
|
var _e;
|
|
9328
9350
|
var _f;
|
|
9351
|
+
var _g;
|
|
9352
|
+
var _h;
|
|
9329
9353
|
function isIrExpression(expr) {
|
|
9330
9354
|
return expr instanceof ExpressionBase;
|
|
9331
9355
|
}
|
|
@@ -9376,6 +9400,56 @@ var ReferenceExpr = class extends ExpressionBase {
|
|
|
9376
9400
|
return new ReferenceExpr(this.target, this.targetSlot, this.offset);
|
|
9377
9401
|
}
|
|
9378
9402
|
};
|
|
9403
|
+
var _StoreLetExpr = class extends ExpressionBase {
|
|
9404
|
+
constructor(target, value, sourceSpan) {
|
|
9405
|
+
super();
|
|
9406
|
+
this.target = target;
|
|
9407
|
+
this.value = value;
|
|
9408
|
+
this.sourceSpan = sourceSpan;
|
|
9409
|
+
this.kind = ExpressionKind.StoreLet;
|
|
9410
|
+
this[_a] = true;
|
|
9411
|
+
this[_b] = true;
|
|
9412
|
+
}
|
|
9413
|
+
visitExpression() {
|
|
9414
|
+
}
|
|
9415
|
+
isEquivalent(e) {
|
|
9416
|
+
return e instanceof _StoreLetExpr && e.target === this.target && e.value.isEquivalent(this.value);
|
|
9417
|
+
}
|
|
9418
|
+
isConstant() {
|
|
9419
|
+
return false;
|
|
9420
|
+
}
|
|
9421
|
+
transformInternalExpressions(transform2, flags) {
|
|
9422
|
+
this.value = transformExpressionsInExpression(this.value, transform2, flags);
|
|
9423
|
+
}
|
|
9424
|
+
clone() {
|
|
9425
|
+
return new _StoreLetExpr(this.target, this.value, this.sourceSpan);
|
|
9426
|
+
}
|
|
9427
|
+
};
|
|
9428
|
+
var StoreLetExpr = _StoreLetExpr;
|
|
9429
|
+
(() => {
|
|
9430
|
+
_a = ConsumesVarsTrait, _b = DependsOnSlotContext;
|
|
9431
|
+
})();
|
|
9432
|
+
var ContextLetReferenceExpr = class extends ExpressionBase {
|
|
9433
|
+
constructor(target, targetSlot) {
|
|
9434
|
+
super();
|
|
9435
|
+
this.target = target;
|
|
9436
|
+
this.targetSlot = targetSlot;
|
|
9437
|
+
this.kind = ExpressionKind.ContextLetReference;
|
|
9438
|
+
}
|
|
9439
|
+
visitExpression() {
|
|
9440
|
+
}
|
|
9441
|
+
isEquivalent(e) {
|
|
9442
|
+
return e instanceof ContextLetReferenceExpr && e.target === this.target;
|
|
9443
|
+
}
|
|
9444
|
+
isConstant() {
|
|
9445
|
+
return false;
|
|
9446
|
+
}
|
|
9447
|
+
transformInternalExpressions() {
|
|
9448
|
+
}
|
|
9449
|
+
clone() {
|
|
9450
|
+
return new ContextLetReferenceExpr(this.target, this.targetSlot);
|
|
9451
|
+
}
|
|
9452
|
+
};
|
|
9379
9453
|
var ContextExpr = class extends ExpressionBase {
|
|
9380
9454
|
constructor(view) {
|
|
9381
9455
|
super();
|
|
@@ -9564,8 +9638,8 @@ var _PureFunctionExpr = class extends ExpressionBase {
|
|
|
9564
9638
|
constructor(expression, args) {
|
|
9565
9639
|
super();
|
|
9566
9640
|
this.kind = ExpressionKind.PureFunctionExpr;
|
|
9567
|
-
this[
|
|
9568
|
-
this[
|
|
9641
|
+
this[_c] = true;
|
|
9642
|
+
this[_d] = true;
|
|
9569
9643
|
this.varOffset = null;
|
|
9570
9644
|
this.fn = null;
|
|
9571
9645
|
this.body = expression;
|
|
@@ -9607,7 +9681,7 @@ var _PureFunctionExpr = class extends ExpressionBase {
|
|
|
9607
9681
|
};
|
|
9608
9682
|
var PureFunctionExpr = _PureFunctionExpr;
|
|
9609
9683
|
(() => {
|
|
9610
|
-
|
|
9684
|
+
_c = ConsumesVarsTrait, _d = UsesVarOffset;
|
|
9611
9685
|
})();
|
|
9612
9686
|
var PureFunctionParameterExpr = class extends ExpressionBase {
|
|
9613
9687
|
constructor(index) {
|
|
@@ -9637,8 +9711,8 @@ var _PipeBindingExpr = class extends ExpressionBase {
|
|
|
9637
9711
|
this.name = name;
|
|
9638
9712
|
this.args = args;
|
|
9639
9713
|
this.kind = ExpressionKind.PipeBinding;
|
|
9640
|
-
this[
|
|
9641
|
-
this[
|
|
9714
|
+
this[_e] = true;
|
|
9715
|
+
this[_f] = true;
|
|
9642
9716
|
this.varOffset = null;
|
|
9643
9717
|
}
|
|
9644
9718
|
visitExpression(visitor, context) {
|
|
@@ -9665,7 +9739,7 @@ var _PipeBindingExpr = class extends ExpressionBase {
|
|
|
9665
9739
|
};
|
|
9666
9740
|
var PipeBindingExpr = _PipeBindingExpr;
|
|
9667
9741
|
(() => {
|
|
9668
|
-
|
|
9742
|
+
_e = ConsumesVarsTrait, _f = UsesVarOffset;
|
|
9669
9743
|
})();
|
|
9670
9744
|
var _PipeBindingVariadicExpr = class extends ExpressionBase {
|
|
9671
9745
|
constructor(target, targetSlot, name, args, numArgs) {
|
|
@@ -9676,8 +9750,8 @@ var _PipeBindingVariadicExpr = class extends ExpressionBase {
|
|
|
9676
9750
|
this.args = args;
|
|
9677
9751
|
this.numArgs = numArgs;
|
|
9678
9752
|
this.kind = ExpressionKind.PipeBindingVariadic;
|
|
9679
|
-
this[
|
|
9680
|
-
this[
|
|
9753
|
+
this[_g] = true;
|
|
9754
|
+
this[_h] = true;
|
|
9681
9755
|
this.varOffset = null;
|
|
9682
9756
|
}
|
|
9683
9757
|
visitExpression(visitor, context) {
|
|
@@ -9700,7 +9774,7 @@ var _PipeBindingVariadicExpr = class extends ExpressionBase {
|
|
|
9700
9774
|
};
|
|
9701
9775
|
var PipeBindingVariadicExpr = _PipeBindingVariadicExpr;
|
|
9702
9776
|
(() => {
|
|
9703
|
-
|
|
9777
|
+
_g = ConsumesVarsTrait, _h = UsesVarOffset;
|
|
9704
9778
|
})();
|
|
9705
9779
|
var SafePropertyReadExpr = class extends ExpressionBase {
|
|
9706
9780
|
constructor(receiver, name) {
|
|
@@ -10059,6 +10133,9 @@ function transformExpressionsInOp(op, transform2, flags) {
|
|
|
10059
10133
|
case OpKind.DeferWhen:
|
|
10060
10134
|
op.expr = transformExpressionsInExpression(op.expr, transform2, flags);
|
|
10061
10135
|
break;
|
|
10136
|
+
case OpKind.StoreLet:
|
|
10137
|
+
op.value = transformExpressionsInExpression(op.value, transform2, flags);
|
|
10138
|
+
break;
|
|
10062
10139
|
case OpKind.Advance:
|
|
10063
10140
|
case OpKind.Container:
|
|
10064
10141
|
case OpKind.ContainerEnd:
|
|
@@ -10084,6 +10161,7 @@ function transformExpressionsInOp(op, transform2, flags) {
|
|
|
10084
10161
|
case OpKind.Text:
|
|
10085
10162
|
case OpKind.I18nAttributes:
|
|
10086
10163
|
case OpKind.IcuPlaceholder:
|
|
10164
|
+
case OpKind.DeclareLet:
|
|
10087
10165
|
break;
|
|
10088
10166
|
default:
|
|
10089
10167
|
throw new Error(`AssertionError: transformExpressionsInOp doesn't handle ${OpKind[op.kind]}`);
|
|
@@ -10181,7 +10259,7 @@ function isStringLiteral(expr) {
|
|
|
10181
10259
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
10182
10260
|
}
|
|
10183
10261
|
|
|
10184
|
-
// bazel-out/
|
|
10262
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
10185
10263
|
var _OpList = class {
|
|
10186
10264
|
constructor() {
|
|
10187
10265
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -10372,14 +10450,14 @@ var OpList = _OpList;
|
|
|
10372
10450
|
_OpList.nextListId = 0;
|
|
10373
10451
|
})();
|
|
10374
10452
|
|
|
10375
|
-
// bazel-out/
|
|
10453
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
10376
10454
|
var SlotHandle = class {
|
|
10377
10455
|
constructor() {
|
|
10378
10456
|
this.slot = null;
|
|
10379
10457
|
}
|
|
10380
10458
|
};
|
|
10381
10459
|
|
|
10382
|
-
// bazel-out/
|
|
10460
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
10383
10461
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
10384
10462
|
OpKind.Element,
|
|
10385
10463
|
OpKind.ElementStart,
|
|
@@ -10599,6 +10677,15 @@ function createDeferOnOp(defer2, trigger, prefetch, sourceSpan) {
|
|
|
10599
10677
|
sourceSpan
|
|
10600
10678
|
}, NEW_OP);
|
|
10601
10679
|
}
|
|
10680
|
+
function createDeclareLetOp(xref, declaredName, sourceSpan) {
|
|
10681
|
+
return __spreadValues(__spreadValues({
|
|
10682
|
+
kind: OpKind.DeclareLet,
|
|
10683
|
+
xref,
|
|
10684
|
+
declaredName,
|
|
10685
|
+
sourceSpan,
|
|
10686
|
+
handle: new SlotHandle()
|
|
10687
|
+
}, TRAIT_CONSUMES_SLOT), NEW_OP);
|
|
10688
|
+
}
|
|
10602
10689
|
function createI18nMessageOp(xref, i18nContext, i18nBlock, message, messagePlaceholder, params, postprocessingParams, needsPostprocessing) {
|
|
10603
10690
|
return __spreadValues({
|
|
10604
10691
|
kind: OpKind.I18nMessage,
|
|
@@ -10683,7 +10770,7 @@ function createI18nAttributesOp(xref, handle, target) {
|
|
|
10683
10770
|
}, NEW_OP), TRAIT_CONSUMES_SLOT);
|
|
10684
10771
|
}
|
|
10685
10772
|
|
|
10686
|
-
// bazel-out/
|
|
10773
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
10687
10774
|
function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
|
|
10688
10775
|
return __spreadValues(__spreadValues({
|
|
10689
10776
|
kind: OpKind.HostProperty,
|
|
@@ -10697,10 +10784,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
|
|
|
10697
10784
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
10698
10785
|
}
|
|
10699
10786
|
|
|
10700
|
-
// bazel-out/
|
|
10787
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
10701
10788
|
var CTX_REF = "CTX_REF_MARKER";
|
|
10702
10789
|
|
|
10703
|
-
// bazel-out/
|
|
10790
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
10704
10791
|
var CompilationJobKind;
|
|
10705
10792
|
(function(CompilationJobKind2) {
|
|
10706
10793
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -10808,7 +10895,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
10808
10895
|
}
|
|
10809
10896
|
};
|
|
10810
10897
|
|
|
10811
|
-
// bazel-out/
|
|
10898
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
10812
10899
|
function deleteAnyCasts(job) {
|
|
10813
10900
|
for (const unit of job.units) {
|
|
10814
10901
|
for (const op of unit.ops()) {
|
|
@@ -10826,7 +10913,7 @@ function removeAnys(e) {
|
|
|
10826
10913
|
return e;
|
|
10827
10914
|
}
|
|
10828
10915
|
|
|
10829
|
-
// bazel-out/
|
|
10916
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
10830
10917
|
function applyI18nExpressions(job) {
|
|
10831
10918
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
10832
10919
|
for (const unit of job.units) {
|
|
@@ -10869,7 +10956,7 @@ function needsApplication(i18nContexts, op) {
|
|
|
10869
10956
|
return false;
|
|
10870
10957
|
}
|
|
10871
10958
|
|
|
10872
|
-
// bazel-out/
|
|
10959
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
10873
10960
|
function assignI18nSlotDependencies(job) {
|
|
10874
10961
|
for (const unit of job.units) {
|
|
10875
10962
|
let updateOp = unit.update.head;
|
|
@@ -10914,7 +11001,7 @@ function assignI18nSlotDependencies(job) {
|
|
|
10914
11001
|
}
|
|
10915
11002
|
}
|
|
10916
11003
|
|
|
10917
|
-
// bazel-out/
|
|
11004
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
10918
11005
|
function createOpXrefMap(unit) {
|
|
10919
11006
|
const map = /* @__PURE__ */ new Map();
|
|
10920
11007
|
for (const op of unit.create) {
|
|
@@ -10929,7 +11016,7 @@ function createOpXrefMap(unit) {
|
|
|
10929
11016
|
return map;
|
|
10930
11017
|
}
|
|
10931
11018
|
|
|
10932
|
-
// bazel-out/
|
|
11019
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
10933
11020
|
function extractAttributes(job) {
|
|
10934
11021
|
for (const unit of job.units) {
|
|
10935
11022
|
const elements = createOpXrefMap(unit);
|
|
@@ -11058,7 +11145,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
11058
11145
|
}
|
|
11059
11146
|
}
|
|
11060
11147
|
|
|
11061
|
-
// bazel-out/
|
|
11148
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
11062
11149
|
function lookupElement2(elements, xref) {
|
|
11063
11150
|
const el = elements.get(xref);
|
|
11064
11151
|
if (el === void 0) {
|
|
@@ -11115,7 +11202,7 @@ function specializeBindings(job) {
|
|
|
11115
11202
|
}
|
|
11116
11203
|
}
|
|
11117
11204
|
|
|
11118
|
-
// bazel-out/
|
|
11205
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
11119
11206
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
11120
11207
|
Identifiers.attribute,
|
|
11121
11208
|
Identifiers.classProp,
|
|
@@ -11144,7 +11231,8 @@ var CHAINABLE = /* @__PURE__ */ new Set([
|
|
|
11144
11231
|
Identifiers.syntheticHostProperty,
|
|
11145
11232
|
Identifiers.templateCreate,
|
|
11146
11233
|
Identifiers.twoWayProperty,
|
|
11147
|
-
Identifiers.twoWayListener
|
|
11234
|
+
Identifiers.twoWayListener,
|
|
11235
|
+
Identifiers.declareLet
|
|
11148
11236
|
]);
|
|
11149
11237
|
function chain(job) {
|
|
11150
11238
|
for (const unit of job.units) {
|
|
@@ -11183,7 +11271,7 @@ function chainOperationsInList(opList) {
|
|
|
11183
11271
|
}
|
|
11184
11272
|
}
|
|
11185
11273
|
|
|
11186
|
-
// bazel-out/
|
|
11274
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
11187
11275
|
function collapseSingletonInterpolations(job) {
|
|
11188
11276
|
for (const unit of job.units) {
|
|
11189
11277
|
for (const op of unit.update) {
|
|
@@ -11195,7 +11283,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
11195
11283
|
}
|
|
11196
11284
|
}
|
|
11197
11285
|
|
|
11198
|
-
// bazel-out/
|
|
11286
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
11199
11287
|
function generateConditionalExpressions(job) {
|
|
11200
11288
|
for (const unit of job.units) {
|
|
11201
11289
|
for (const op of unit.ops()) {
|
|
@@ -11232,7 +11320,7 @@ function generateConditionalExpressions(job) {
|
|
|
11232
11320
|
}
|
|
11233
11321
|
}
|
|
11234
11322
|
|
|
11235
|
-
// bazel-out/
|
|
11323
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
11236
11324
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
11237
11325
|
["&&", BinaryOperator.And],
|
|
11238
11326
|
[">", BinaryOperator.Bigger],
|
|
@@ -11289,7 +11377,7 @@ function literalOrArrayLiteral(value) {
|
|
|
11289
11377
|
return literal(value);
|
|
11290
11378
|
}
|
|
11291
11379
|
|
|
11292
|
-
// bazel-out/
|
|
11380
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
11293
11381
|
function collectElementConsts(job) {
|
|
11294
11382
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
11295
11383
|
for (const unit of job.units) {
|
|
@@ -11458,7 +11546,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
11458
11546
|
return literalArr(attrArray);
|
|
11459
11547
|
}
|
|
11460
11548
|
|
|
11461
|
-
// bazel-out/
|
|
11549
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
|
|
11462
11550
|
function convertI18nBindings(job) {
|
|
11463
11551
|
const i18nAttributesByElem = /* @__PURE__ */ new Map();
|
|
11464
11552
|
for (const unit of job.units) {
|
|
@@ -11499,7 +11587,7 @@ function convertI18nBindings(job) {
|
|
|
11499
11587
|
}
|
|
11500
11588
|
}
|
|
11501
11589
|
|
|
11502
|
-
// bazel-out/
|
|
11590
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
|
|
11503
11591
|
function resolveDeferDepsFns(job) {
|
|
11504
11592
|
var _a2;
|
|
11505
11593
|
for (const unit of job.units) {
|
|
@@ -11524,7 +11612,7 @@ function resolveDeferDepsFns(job) {
|
|
|
11524
11612
|
}
|
|
11525
11613
|
}
|
|
11526
11614
|
|
|
11527
|
-
// bazel-out/
|
|
11615
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
11528
11616
|
function createI18nContexts(job) {
|
|
11529
11617
|
const attrContextByMessage = /* @__PURE__ */ new Map();
|
|
11530
11618
|
for (const unit of job.units) {
|
|
@@ -11602,7 +11690,7 @@ function createI18nContexts(job) {
|
|
|
11602
11690
|
}
|
|
11603
11691
|
}
|
|
11604
11692
|
|
|
11605
|
-
// bazel-out/
|
|
11693
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
|
|
11606
11694
|
function deduplicateTextBindings(job) {
|
|
11607
11695
|
const seen = /* @__PURE__ */ new Map();
|
|
11608
11696
|
for (const unit of job.units) {
|
|
@@ -11624,7 +11712,7 @@ function deduplicateTextBindings(job) {
|
|
|
11624
11712
|
}
|
|
11625
11713
|
}
|
|
11626
11714
|
|
|
11627
|
-
// bazel-out/
|
|
11715
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
11628
11716
|
function configureDeferInstructions(job) {
|
|
11629
11717
|
for (const unit of job.units) {
|
|
11630
11718
|
for (const op of unit.create) {
|
|
@@ -11641,7 +11729,7 @@ function configureDeferInstructions(job) {
|
|
|
11641
11729
|
}
|
|
11642
11730
|
}
|
|
11643
11731
|
|
|
11644
|
-
// bazel-out/
|
|
11732
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
11645
11733
|
function resolveDeferTargetNames(job) {
|
|
11646
11734
|
const scopes = /* @__PURE__ */ new Map();
|
|
11647
11735
|
function getScopeForView2(view) {
|
|
@@ -11735,7 +11823,7 @@ var Scope = class {
|
|
|
11735
11823
|
}
|
|
11736
11824
|
};
|
|
11737
11825
|
|
|
11738
|
-
// bazel-out/
|
|
11826
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
11739
11827
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
11740
11828
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
11741
11829
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -11762,7 +11850,7 @@ function collapseEmptyInstructions(job) {
|
|
|
11762
11850
|
}
|
|
11763
11851
|
}
|
|
11764
11852
|
|
|
11765
|
-
// bazel-out/
|
|
11853
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
11766
11854
|
function expandSafeReads(job) {
|
|
11767
11855
|
for (const unit of job.units) {
|
|
11768
11856
|
for (const op of unit.ops()) {
|
|
@@ -11898,7 +11986,7 @@ function ternaryTransform(e) {
|
|
|
11898
11986
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
11899
11987
|
}
|
|
11900
11988
|
|
|
11901
|
-
// bazel-out/
|
|
11989
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
11902
11990
|
var ESCAPE = "\uFFFD";
|
|
11903
11991
|
var ELEMENT_MARKER = "#";
|
|
11904
11992
|
var TEMPLATE_MARKER = "*";
|
|
@@ -12034,7 +12122,7 @@ function formatValue(value) {
|
|
|
12034
12122
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
12035
12123
|
}
|
|
12036
12124
|
|
|
12037
|
-
// bazel-out/
|
|
12125
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
12038
12126
|
function generateAdvance(job) {
|
|
12039
12127
|
for (const unit of job.units) {
|
|
12040
12128
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -12048,25 +12136,36 @@ function generateAdvance(job) {
|
|
|
12048
12136
|
}
|
|
12049
12137
|
let slotContext = 0;
|
|
12050
12138
|
for (const op of unit.update) {
|
|
12051
|
-
|
|
12139
|
+
let consumer = null;
|
|
12140
|
+
if (hasDependsOnSlotContextTrait(op)) {
|
|
12141
|
+
consumer = op;
|
|
12142
|
+
} else {
|
|
12143
|
+
visitExpressionsInOp(op, (expr) => {
|
|
12144
|
+
if (consumer === null && hasDependsOnSlotContextTrait(expr)) {
|
|
12145
|
+
consumer = expr;
|
|
12146
|
+
}
|
|
12147
|
+
});
|
|
12148
|
+
}
|
|
12149
|
+
if (consumer === null) {
|
|
12052
12150
|
continue;
|
|
12053
|
-
} else if (!slotMap.has(op.target)) {
|
|
12054
|
-
throw new Error(`AssertionError: reference to unknown slot for target ${op.target}`);
|
|
12055
12151
|
}
|
|
12056
|
-
|
|
12152
|
+
if (!slotMap.has(consumer.target)) {
|
|
12153
|
+
throw new Error(`AssertionError: reference to unknown slot for target ${consumer.target}`);
|
|
12154
|
+
}
|
|
12155
|
+
const slot = slotMap.get(consumer.target);
|
|
12057
12156
|
if (slotContext !== slot) {
|
|
12058
12157
|
const delta = slot - slotContext;
|
|
12059
12158
|
if (delta < 0) {
|
|
12060
12159
|
throw new Error(`AssertionError: slot counter should never need to move backwards`);
|
|
12061
12160
|
}
|
|
12062
|
-
OpList.insertBefore(createAdvanceOp(delta,
|
|
12161
|
+
OpList.insertBefore(createAdvanceOp(delta, consumer.sourceSpan), op);
|
|
12063
12162
|
slotContext = slot;
|
|
12064
12163
|
}
|
|
12065
12164
|
}
|
|
12066
12165
|
}
|
|
12067
12166
|
}
|
|
12068
12167
|
|
|
12069
|
-
// bazel-out/
|
|
12168
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
12070
12169
|
function generateProjectionDefs(job) {
|
|
12071
12170
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
12072
12171
|
const selectors = [];
|
|
@@ -12090,7 +12189,7 @@ function generateProjectionDefs(job) {
|
|
|
12090
12189
|
}
|
|
12091
12190
|
}
|
|
12092
12191
|
|
|
12093
|
-
// bazel-out/
|
|
12192
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
12094
12193
|
function generateVariables(job) {
|
|
12095
12194
|
recursivelyProcessView(job.root, null);
|
|
12096
12195
|
}
|
|
@@ -12114,12 +12213,11 @@ function recursivelyProcessView(view, parentScope) {
|
|
|
12114
12213
|
break;
|
|
12115
12214
|
case OpKind.Listener:
|
|
12116
12215
|
case OpKind.TwoWayListener:
|
|
12117
|
-
op.handlerOps.prepend(generateVariablesInScopeForView(view, scope));
|
|
12216
|
+
op.handlerOps.prepend(generateVariablesInScopeForView(view, scope, true));
|
|
12118
12217
|
break;
|
|
12119
12218
|
}
|
|
12120
12219
|
}
|
|
12121
|
-
|
|
12122
|
-
view.update.prepend(preambleOps);
|
|
12220
|
+
view.update.prepend(generateVariablesInScopeForView(view, scope, false));
|
|
12123
12221
|
}
|
|
12124
12222
|
function getScopeForView(view, parent) {
|
|
12125
12223
|
const scope = {
|
|
@@ -12132,6 +12230,7 @@ function getScopeForView(view, parent) {
|
|
|
12132
12230
|
contextVariables: /* @__PURE__ */ new Map(),
|
|
12133
12231
|
aliases: view.aliases,
|
|
12134
12232
|
references: [],
|
|
12233
|
+
letDeclarations: [],
|
|
12135
12234
|
parent
|
|
12136
12235
|
};
|
|
12137
12236
|
for (const identifier of view.contextVariables.keys()) {
|
|
@@ -12162,11 +12261,22 @@ function getScopeForView(view, parent) {
|
|
|
12162
12261
|
});
|
|
12163
12262
|
}
|
|
12164
12263
|
break;
|
|
12264
|
+
case OpKind.DeclareLet:
|
|
12265
|
+
scope.letDeclarations.push({
|
|
12266
|
+
targetId: op.xref,
|
|
12267
|
+
targetSlot: op.handle,
|
|
12268
|
+
variable: {
|
|
12269
|
+
kind: SemanticVariableKind.Identifier,
|
|
12270
|
+
name: null,
|
|
12271
|
+
identifier: op.declaredName
|
|
12272
|
+
}
|
|
12273
|
+
});
|
|
12274
|
+
break;
|
|
12165
12275
|
}
|
|
12166
12276
|
}
|
|
12167
12277
|
return scope;
|
|
12168
12278
|
}
|
|
12169
|
-
function generateVariablesInScopeForView(view, scope) {
|
|
12279
|
+
function generateVariablesInScopeForView(view, scope, isListener) {
|
|
12170
12280
|
const newOps = [];
|
|
12171
12281
|
if (scope.view !== view.xref) {
|
|
12172
12282
|
newOps.push(createVariableOp(view.job.allocateXrefId(), scope.viewContextVariable, new NextContextExpr(), VariableFlags.None));
|
|
@@ -12183,13 +12293,18 @@ function generateVariablesInScopeForView(view, scope) {
|
|
|
12183
12293
|
for (const ref of scope.references) {
|
|
12184
12294
|
newOps.push(createVariableOp(view.job.allocateXrefId(), ref.variable, new ReferenceExpr(ref.targetId, ref.targetSlot, ref.offset), VariableFlags.None));
|
|
12185
12295
|
}
|
|
12296
|
+
if (scope.view !== view.xref || isListener) {
|
|
12297
|
+
for (const decl of scope.letDeclarations) {
|
|
12298
|
+
newOps.push(createVariableOp(view.job.allocateXrefId(), decl.variable, new ContextLetReferenceExpr(decl.targetId, decl.targetSlot), VariableFlags.None));
|
|
12299
|
+
}
|
|
12300
|
+
}
|
|
12186
12301
|
if (scope.parent !== null) {
|
|
12187
|
-
newOps.push(...generateVariablesInScopeForView(view, scope.parent));
|
|
12302
|
+
newOps.push(...generateVariablesInScopeForView(view, scope.parent, false));
|
|
12188
12303
|
}
|
|
12189
12304
|
return newOps;
|
|
12190
12305
|
}
|
|
12191
12306
|
|
|
12192
|
-
// bazel-out/
|
|
12307
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
12193
12308
|
function collectConstExpressions(job) {
|
|
12194
12309
|
for (const unit of job.units) {
|
|
12195
12310
|
for (const op of unit.ops()) {
|
|
@@ -12203,7 +12318,7 @@ function collectConstExpressions(job) {
|
|
|
12203
12318
|
}
|
|
12204
12319
|
}
|
|
12205
12320
|
|
|
12206
|
-
// bazel-out/
|
|
12321
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
12207
12322
|
var STYLE_DOT = "style.";
|
|
12208
12323
|
var CLASS_DOT = "class.";
|
|
12209
12324
|
var STYLE_BANG = "style!";
|
|
@@ -12261,7 +12376,7 @@ function parseProperty(name) {
|
|
|
12261
12376
|
return { property: property2, suffix };
|
|
12262
12377
|
}
|
|
12263
12378
|
|
|
12264
|
-
// bazel-out/
|
|
12379
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
12265
12380
|
function mapLiteral(obj, quoted = false) {
|
|
12266
12381
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
12267
12382
|
key,
|
|
@@ -12270,7 +12385,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
12270
12385
|
})));
|
|
12271
12386
|
}
|
|
12272
12387
|
|
|
12273
|
-
// bazel-out/
|
|
12388
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
12274
12389
|
var IcuSerializerVisitor = class {
|
|
12275
12390
|
visitText(text2) {
|
|
12276
12391
|
return text2.value;
|
|
@@ -12304,7 +12419,7 @@ function serializeIcuNode(icu) {
|
|
|
12304
12419
|
return icu.visit(serializer);
|
|
12305
12420
|
}
|
|
12306
12421
|
|
|
12307
|
-
// bazel-out/
|
|
12422
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
12308
12423
|
var TokenType;
|
|
12309
12424
|
(function(TokenType2) {
|
|
12310
12425
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -12665,7 +12780,7 @@ function parseIntAutoRadix(text2) {
|
|
|
12665
12780
|
return result;
|
|
12666
12781
|
}
|
|
12667
12782
|
|
|
12668
|
-
// bazel-out/
|
|
12783
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
12669
12784
|
var SplitInterpolation = class {
|
|
12670
12785
|
constructor(strings, expressions, offsets) {
|
|
12671
12786
|
this.strings = strings;
|
|
@@ -13306,13 +13421,15 @@ var _ParseAST = class {
|
|
|
13306
13421
|
const keyStart = this.inputIndex;
|
|
13307
13422
|
const quoted = this.next.isString();
|
|
13308
13423
|
const key = this.expectIdentifierOrKeywordOrString();
|
|
13309
|
-
|
|
13424
|
+
const literalMapKey = { key, quoted };
|
|
13425
|
+
keys.push(literalMapKey);
|
|
13310
13426
|
if (quoted) {
|
|
13311
13427
|
this.expectCharacter($COLON);
|
|
13312
13428
|
values.push(this.parsePipe());
|
|
13313
13429
|
} else if (this.consumeOptionalCharacter($COLON)) {
|
|
13314
13430
|
values.push(this.parsePipe());
|
|
13315
13431
|
} else {
|
|
13432
|
+
literalMapKey.isShorthandInitialized = true;
|
|
13316
13433
|
const span = this.span(keyStart);
|
|
13317
13434
|
const sourceSpan = this.sourceSpan(keyStart);
|
|
13318
13435
|
values.push(new PropertyRead(span, sourceSpan, sourceSpan, new ImplicitReceiver(span, sourceSpan), key));
|
|
@@ -13547,7 +13664,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
13547
13664
|
return offsetMap;
|
|
13548
13665
|
}
|
|
13549
13666
|
|
|
13550
|
-
// bazel-out/
|
|
13667
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
13551
13668
|
var NodeWithI18n = class {
|
|
13552
13669
|
constructor(sourceSpan, i18n2) {
|
|
13553
13670
|
this.sourceSpan = sourceSpan;
|
|
@@ -13670,7 +13787,7 @@ function visitAll2(visitor, nodes, context = null) {
|
|
|
13670
13787
|
return result;
|
|
13671
13788
|
}
|
|
13672
13789
|
|
|
13673
|
-
// bazel-out/
|
|
13790
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
13674
13791
|
var _SECURITY_SCHEMA;
|
|
13675
13792
|
function SECURITY_SCHEMA() {
|
|
13676
13793
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -13731,11 +13848,11 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
13731
13848
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
13732
13849
|
}
|
|
13733
13850
|
|
|
13734
|
-
// bazel-out/
|
|
13851
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
13735
13852
|
var ElementSchemaRegistry = class {
|
|
13736
13853
|
};
|
|
13737
13854
|
|
|
13738
|
-
// bazel-out/
|
|
13855
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
13739
13856
|
var BOOLEAN = "boolean";
|
|
13740
13857
|
var NUMBER = "number";
|
|
13741
13858
|
var STRING = "string";
|
|
@@ -14118,7 +14235,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
14118
14235
|
}
|
|
14119
14236
|
}
|
|
14120
14237
|
|
|
14121
|
-
// bazel-out/
|
|
14238
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
14122
14239
|
var HtmlTagDefinition = class {
|
|
14123
14240
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
14124
14241
|
this.closedByChildren = {};
|
|
@@ -14254,7 +14371,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
14254
14371
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
14255
14372
|
}
|
|
14256
14373
|
|
|
14257
|
-
// bazel-out/
|
|
14374
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
14258
14375
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
14259
14376
|
"A": "LINK",
|
|
14260
14377
|
"B": "BOLD_TEXT",
|
|
@@ -14376,7 +14493,7 @@ var PlaceholderRegistry = class {
|
|
|
14376
14493
|
}
|
|
14377
14494
|
};
|
|
14378
14495
|
|
|
14379
|
-
// bazel-out/
|
|
14496
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
14380
14497
|
var _expParser = new Parser(new Lexer());
|
|
14381
14498
|
function createI18nMessageFactory(interpolationConfig, containerBlocks) {
|
|
14382
14499
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
|
|
@@ -14558,14 +14675,14 @@ function extractPlaceholderName(input) {
|
|
|
14558
14675
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
14559
14676
|
}
|
|
14560
14677
|
|
|
14561
|
-
// bazel-out/
|
|
14678
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
14562
14679
|
var I18nError = class extends ParseError {
|
|
14563
14680
|
constructor(span, msg) {
|
|
14564
14681
|
super(span, msg);
|
|
14565
14682
|
}
|
|
14566
14683
|
};
|
|
14567
14684
|
|
|
14568
|
-
// bazel-out/
|
|
14685
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
14569
14686
|
var NAMED_ENTITIES = {
|
|
14570
14687
|
"AElig": "\xC6",
|
|
14571
14688
|
"AMP": "&",
|
|
@@ -16696,7 +16813,7 @@ var NAMED_ENTITIES = {
|
|
|
16696
16813
|
var NGSP_UNICODE = "\uE500";
|
|
16697
16814
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
16698
16815
|
|
|
16699
|
-
// bazel-out/
|
|
16816
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
16700
16817
|
var TokenError = class extends ParseError {
|
|
16701
16818
|
constructor(errorMsg, tokenType, span) {
|
|
16702
16819
|
super(span, errorMsg);
|
|
@@ -17686,7 +17803,7 @@ var CursorError = class {
|
|
|
17686
17803
|
}
|
|
17687
17804
|
};
|
|
17688
17805
|
|
|
17689
|
-
// bazel-out/
|
|
17806
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
17690
17807
|
var TreeError = class extends ParseError {
|
|
17691
17808
|
static create(elementName, span, msg) {
|
|
17692
17809
|
return new TreeError(elementName, span, msg);
|
|
@@ -18114,7 +18231,7 @@ function decodeEntity(match, entity) {
|
|
|
18114
18231
|
return match;
|
|
18115
18232
|
}
|
|
18116
18233
|
|
|
18117
|
-
// bazel-out/
|
|
18234
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
18118
18235
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
18119
18236
|
"iframe|srcdoc",
|
|
18120
18237
|
"*|innerhtml",
|
|
@@ -18129,7 +18246,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
18129
18246
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
18130
18247
|
}
|
|
18131
18248
|
|
|
18132
|
-
// bazel-out/
|
|
18249
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
18133
18250
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
18134
18251
|
if (htmlNode instanceof NodeWithI18n) {
|
|
18135
18252
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -18289,7 +18406,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
18289
18406
|
return jsDocComment(tags);
|
|
18290
18407
|
}
|
|
18291
18408
|
|
|
18292
|
-
// bazel-out/
|
|
18409
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
18293
18410
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
18294
18411
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
18295
18412
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -18340,7 +18457,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
18340
18457
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
18341
18458
|
}
|
|
18342
18459
|
|
|
18343
|
-
// bazel-out/
|
|
18460
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
18344
18461
|
function createLocalizeStatements(variable2, message, params) {
|
|
18345
18462
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
18346
18463
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -18429,7 +18546,7 @@ function createEmptyMessagePart(location) {
|
|
|
18429
18546
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
18430
18547
|
}
|
|
18431
18548
|
|
|
18432
|
-
// bazel-out/
|
|
18549
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
18433
18550
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
18434
18551
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
18435
18552
|
var I18N_ICU_MAPPING_PREFIX = "I18N_EXP_";
|
|
@@ -18600,7 +18717,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
18600
18717
|
return variable(name);
|
|
18601
18718
|
}
|
|
18602
18719
|
|
|
18603
|
-
// bazel-out/
|
|
18720
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
18604
18721
|
function convertI18nText(job) {
|
|
18605
18722
|
var _a2, _b2, _c2;
|
|
18606
18723
|
for (const unit of job.units) {
|
|
@@ -18670,7 +18787,7 @@ function convertI18nText(job) {
|
|
|
18670
18787
|
}
|
|
18671
18788
|
}
|
|
18672
18789
|
|
|
18673
|
-
// bazel-out/
|
|
18790
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
18674
18791
|
function liftLocalRefs(job) {
|
|
18675
18792
|
for (const unit of job.units) {
|
|
18676
18793
|
for (const op of unit.create) {
|
|
@@ -18700,7 +18817,7 @@ function serializeLocalRefs(refs) {
|
|
|
18700
18817
|
return literalArr(constRefs);
|
|
18701
18818
|
}
|
|
18702
18819
|
|
|
18703
|
-
// bazel-out/
|
|
18820
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
18704
18821
|
function emitNamespaceChanges(job) {
|
|
18705
18822
|
for (const unit of job.units) {
|
|
18706
18823
|
let activeNamespace = Namespace.HTML;
|
|
@@ -18716,7 +18833,7 @@ function emitNamespaceChanges(job) {
|
|
|
18716
18833
|
}
|
|
18717
18834
|
}
|
|
18718
18835
|
|
|
18719
|
-
// bazel-out/
|
|
18836
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
18720
18837
|
function parse(value) {
|
|
18721
18838
|
const styles = [];
|
|
18722
18839
|
let i = 0;
|
|
@@ -18810,7 +18927,7 @@ function parseExtractedStyles(job) {
|
|
|
18810
18927
|
}
|
|
18811
18928
|
}
|
|
18812
18929
|
|
|
18813
|
-
// bazel-out/
|
|
18930
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
18814
18931
|
function nameFunctionsAndVariables(job) {
|
|
18815
18932
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
18816
18933
|
}
|
|
@@ -18954,7 +19071,7 @@ function stripImportant(name) {
|
|
|
18954
19071
|
return name;
|
|
18955
19072
|
}
|
|
18956
19073
|
|
|
18957
|
-
// bazel-out/
|
|
19074
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
18958
19075
|
function mergeNextContextExpressions(job) {
|
|
18959
19076
|
for (const unit of job.units) {
|
|
18960
19077
|
for (const op of unit.create) {
|
|
@@ -18991,6 +19108,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
18991
19108
|
break;
|
|
18992
19109
|
case ExpressionKind.GetCurrentView:
|
|
18993
19110
|
case ExpressionKind.Reference:
|
|
19111
|
+
case ExpressionKind.ContextLetReference:
|
|
18994
19112
|
tryToMerge = false;
|
|
18995
19113
|
break;
|
|
18996
19114
|
}
|
|
@@ -19000,7 +19118,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
19000
19118
|
}
|
|
19001
19119
|
}
|
|
19002
19120
|
|
|
19003
|
-
// bazel-out/
|
|
19121
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
19004
19122
|
var CONTAINER_TAG = "ng-container";
|
|
19005
19123
|
function generateNgContainerOps(job) {
|
|
19006
19124
|
for (const unit of job.units) {
|
|
@@ -19017,7 +19135,7 @@ function generateNgContainerOps(job) {
|
|
|
19017
19135
|
}
|
|
19018
19136
|
}
|
|
19019
19137
|
|
|
19020
|
-
// bazel-out/
|
|
19138
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
19021
19139
|
function lookupElement3(elements, xref) {
|
|
19022
19140
|
const el = elements.get(xref);
|
|
19023
19141
|
if (el === void 0) {
|
|
@@ -19047,7 +19165,7 @@ function disableBindings(job) {
|
|
|
19047
19165
|
}
|
|
19048
19166
|
}
|
|
19049
19167
|
|
|
19050
|
-
// bazel-out/
|
|
19168
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
19051
19169
|
function generateNullishCoalesceExpressions(job) {
|
|
19052
19170
|
for (const unit of job.units) {
|
|
19053
19171
|
for (const op of unit.ops()) {
|
|
@@ -19063,7 +19181,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
19063
19181
|
}
|
|
19064
19182
|
}
|
|
19065
19183
|
|
|
19066
|
-
// bazel-out/
|
|
19184
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
19067
19185
|
function kindTest(kind) {
|
|
19068
19186
|
return (op) => op.kind === kind;
|
|
19069
19187
|
}
|
|
@@ -19153,7 +19271,7 @@ function keepLast(ops) {
|
|
|
19153
19271
|
return ops.slice(ops.length - 1);
|
|
19154
19272
|
}
|
|
19155
19273
|
|
|
19156
|
-
// bazel-out/
|
|
19274
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
19157
19275
|
function removeContentSelectors(job) {
|
|
19158
19276
|
for (const unit of job.units) {
|
|
19159
19277
|
const elements = createOpXrefMap(unit);
|
|
@@ -19180,7 +19298,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
19180
19298
|
return el;
|
|
19181
19299
|
}
|
|
19182
19300
|
|
|
19183
|
-
// bazel-out/
|
|
19301
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
19184
19302
|
function createPipes(job) {
|
|
19185
19303
|
for (const unit of job.units) {
|
|
19186
19304
|
processPipeBindingsInView(unit);
|
|
@@ -19228,7 +19346,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
19228
19346
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
19229
19347
|
}
|
|
19230
19348
|
|
|
19231
|
-
// bazel-out/
|
|
19349
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
19232
19350
|
function createVariadicPipes(job) {
|
|
19233
19351
|
for (const unit of job.units) {
|
|
19234
19352
|
for (const op of unit.update) {
|
|
@@ -19245,7 +19363,7 @@ function createVariadicPipes(job) {
|
|
|
19245
19363
|
}
|
|
19246
19364
|
}
|
|
19247
19365
|
|
|
19248
|
-
// bazel-out/
|
|
19366
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
19249
19367
|
function propagateI18nBlocks(job) {
|
|
19250
19368
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
19251
19369
|
}
|
|
@@ -19299,7 +19417,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
19299
19417
|
}
|
|
19300
19418
|
}
|
|
19301
19419
|
|
|
19302
|
-
// bazel-out/
|
|
19420
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
19303
19421
|
function extractPureFunctions(job) {
|
|
19304
19422
|
for (const view of job.units) {
|
|
19305
19423
|
for (const op of view.ops()) {
|
|
@@ -19341,7 +19459,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
19341
19459
|
}
|
|
19342
19460
|
};
|
|
19343
19461
|
|
|
19344
|
-
// bazel-out/
|
|
19462
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
19345
19463
|
function generatePureLiteralStructures(job) {
|
|
19346
19464
|
for (const unit of job.units) {
|
|
19347
19465
|
for (const op of unit.update) {
|
|
@@ -19388,7 +19506,7 @@ function transformLiteralMap(expr) {
|
|
|
19388
19506
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
19389
19507
|
}
|
|
19390
19508
|
|
|
19391
|
-
// bazel-out/
|
|
19509
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
19392
19510
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
19393
19511
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
19394
19512
|
}
|
|
@@ -19610,6 +19728,15 @@ function repeater(collection, sourceSpan) {
|
|
|
19610
19728
|
function deferWhen(prefetch, expr, sourceSpan) {
|
|
19611
19729
|
return call(prefetch ? Identifiers.deferPrefetchWhen : Identifiers.deferWhen, [expr], sourceSpan);
|
|
19612
19730
|
}
|
|
19731
|
+
function declareLet(slot, sourceSpan) {
|
|
19732
|
+
return call(Identifiers.declareLet, [literal(slot)], sourceSpan);
|
|
19733
|
+
}
|
|
19734
|
+
function storeLet(value, sourceSpan) {
|
|
19735
|
+
return importExpr(Identifiers.storeLet).callFn([value], sourceSpan);
|
|
19736
|
+
}
|
|
19737
|
+
function readContextLet(slot) {
|
|
19738
|
+
return importExpr(Identifiers.readContextLet).callFn([literal(slot)]);
|
|
19739
|
+
}
|
|
19613
19740
|
function i18n(slot, constIndex, subTemplateIndex, sourceSpan) {
|
|
19614
19741
|
const args = [literal(slot), literal(constIndex)];
|
|
19615
19742
|
if (subTemplateIndex) {
|
|
@@ -19911,7 +20038,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
19911
20038
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
19912
20039
|
}
|
|
19913
20040
|
|
|
19914
|
-
// bazel-out/
|
|
20041
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
19915
20042
|
var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
|
|
19916
20043
|
["window", Identifiers.resolveWindow],
|
|
19917
20044
|
["document", Identifiers.resolveDocument],
|
|
@@ -19924,7 +20051,7 @@ function reify(job) {
|
|
|
19924
20051
|
}
|
|
19925
20052
|
}
|
|
19926
20053
|
function reifyCreateOperations(unit, ops) {
|
|
19927
|
-
var _a2, _b2, _c2, _d2, _e2, _f2,
|
|
20054
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2;
|
|
19928
20055
|
for (const op of ops) {
|
|
19929
20056
|
transformExpressionsInOp(op, reifyIrExpression, VisitorContextFlag.None);
|
|
19930
20057
|
switch (op.kind) {
|
|
@@ -19983,6 +20110,9 @@ function reifyCreateOperations(unit, ops) {
|
|
|
19983
20110
|
case OpKind.Pipe:
|
|
19984
20111
|
OpList.replace(op, pipe(op.handle.slot, op.name));
|
|
19985
20112
|
break;
|
|
20113
|
+
case OpKind.DeclareLet:
|
|
20114
|
+
OpList.replace(op, declareLet(op.handle.slot, op.sourceSpan));
|
|
20115
|
+
break;
|
|
19986
20116
|
case OpKind.Listener:
|
|
19987
20117
|
const listenerFn = reifyListenerHandler(unit, op.handlerFnName, op.handlerOps, op.consumesDollarEvent);
|
|
19988
20118
|
const eventTargetResolver = op.eventTarget ? GLOBAL_TARGET_RESOLVERS.get(op.eventTarget) : null;
|
|
@@ -20029,7 +20159,7 @@ function reifyCreateOperations(unit, ops) {
|
|
|
20029
20159
|
case DeferTriggerKind.Interaction:
|
|
20030
20160
|
case DeferTriggerKind.Hover:
|
|
20031
20161
|
case DeferTriggerKind.Viewport:
|
|
20032
|
-
if (((
|
|
20162
|
+
if (((_g2 = op.trigger.targetSlot) == null ? void 0 : _g2.slot) == null || op.trigger.targetSlotViewSteps === null) {
|
|
20033
20163
|
throw new Error(`Slot or view steps not set in trigger reification for trigger kind ${op.trigger.kind}`);
|
|
20034
20164
|
}
|
|
20035
20165
|
args = [op.trigger.targetSlot.slot];
|
|
@@ -20190,6 +20320,8 @@ function reifyUpdateOperations(_unit, ops) {
|
|
|
20190
20320
|
case OpKind.DeferWhen:
|
|
20191
20321
|
OpList.replace(op, deferWhen(op.prefetch, op.expr, op.sourceSpan));
|
|
20192
20322
|
break;
|
|
20323
|
+
case OpKind.StoreLet:
|
|
20324
|
+
throw new Error(`AssertionError: unexpected storeLet ${op.declaredName}`);
|
|
20193
20325
|
case OpKind.Statement:
|
|
20194
20326
|
break;
|
|
20195
20327
|
default:
|
|
@@ -20247,6 +20379,10 @@ function reifyIrExpression(expr) {
|
|
|
20247
20379
|
return pipeBindV(expr.targetSlot.slot, expr.varOffset, expr.args);
|
|
20248
20380
|
case ExpressionKind.SlotLiteralExpr:
|
|
20249
20381
|
return literal(expr.slot.slot);
|
|
20382
|
+
case ExpressionKind.ContextLetReference:
|
|
20383
|
+
return readContextLet(expr.targetSlot.slot);
|
|
20384
|
+
case ExpressionKind.StoreLet:
|
|
20385
|
+
return storeLet(expr.value, expr.sourceSpan);
|
|
20250
20386
|
default:
|
|
20251
20387
|
throw new Error(`AssertionError: Unsupported reification of ir.Expression kind: ${ExpressionKind[expr.kind]}`);
|
|
20252
20388
|
}
|
|
@@ -20267,7 +20403,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
20267
20403
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
20268
20404
|
}
|
|
20269
20405
|
|
|
20270
|
-
// bazel-out/
|
|
20406
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
20271
20407
|
function removeEmptyBindings(job) {
|
|
20272
20408
|
for (const unit of job.units) {
|
|
20273
20409
|
for (const op of unit.update) {
|
|
@@ -20288,7 +20424,7 @@ function removeEmptyBindings(job) {
|
|
|
20288
20424
|
}
|
|
20289
20425
|
}
|
|
20290
20426
|
|
|
20291
|
-
// bazel-out/
|
|
20427
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
20292
20428
|
function removeI18nContexts(job) {
|
|
20293
20429
|
for (const unit of job.units) {
|
|
20294
20430
|
for (const op of unit.create) {
|
|
@@ -20304,7 +20440,7 @@ function removeI18nContexts(job) {
|
|
|
20304
20440
|
}
|
|
20305
20441
|
}
|
|
20306
20442
|
|
|
20307
|
-
// bazel-out/
|
|
20443
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
|
|
20308
20444
|
function removeUnusedI18nAttributesOps(job) {
|
|
20309
20445
|
for (const unit of job.units) {
|
|
20310
20446
|
const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
|
|
@@ -20326,7 +20462,7 @@ function removeUnusedI18nAttributesOps(job) {
|
|
|
20326
20462
|
}
|
|
20327
20463
|
}
|
|
20328
20464
|
|
|
20329
|
-
// bazel-out/
|
|
20465
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
20330
20466
|
function resolveContexts(job) {
|
|
20331
20467
|
for (const unit of job.units) {
|
|
20332
20468
|
processLexicalScope(unit, unit.create);
|
|
@@ -20368,7 +20504,7 @@ function processLexicalScope(view, ops) {
|
|
|
20368
20504
|
}
|
|
20369
20505
|
}
|
|
20370
20506
|
|
|
20371
|
-
// bazel-out/
|
|
20507
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
20372
20508
|
function resolveDollarEvent(job) {
|
|
20373
20509
|
for (const unit of job.units) {
|
|
20374
20510
|
transformDollarEvent(unit.create);
|
|
@@ -20391,7 +20527,7 @@ function transformDollarEvent(ops) {
|
|
|
20391
20527
|
}
|
|
20392
20528
|
}
|
|
20393
20529
|
|
|
20394
|
-
// bazel-out/
|
|
20530
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
20395
20531
|
function resolveI18nElementPlaceholders(job) {
|
|
20396
20532
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
20397
20533
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -20570,7 +20706,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
20570
20706
|
params.set(placeholder, values);
|
|
20571
20707
|
}
|
|
20572
20708
|
|
|
20573
|
-
// bazel-out/
|
|
20709
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
20574
20710
|
function resolveI18nExpressionPlaceholders(job) {
|
|
20575
20711
|
var _a2;
|
|
20576
20712
|
const subTemplateIndices = /* @__PURE__ */ new Map();
|
|
@@ -20623,7 +20759,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
|
|
|
20623
20759
|
}
|
|
20624
20760
|
}
|
|
20625
20761
|
|
|
20626
|
-
// bazel-out/
|
|
20762
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
20627
20763
|
function resolveNames(job) {
|
|
20628
20764
|
for (const unit of job.units) {
|
|
20629
20765
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -20688,7 +20824,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
20688
20824
|
}
|
|
20689
20825
|
}
|
|
20690
20826
|
|
|
20691
|
-
// bazel-out/
|
|
20827
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
20692
20828
|
var sanitizerFns = /* @__PURE__ */ new Map([
|
|
20693
20829
|
[SecurityContext.HTML, Identifiers.sanitizeHtml],
|
|
20694
20830
|
[SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
|
|
@@ -20758,7 +20894,7 @@ function getOnlySecurityContext(securityContext) {
|
|
|
20758
20894
|
return securityContext;
|
|
20759
20895
|
}
|
|
20760
20896
|
|
|
20761
|
-
// bazel-out/
|
|
20897
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
|
|
20762
20898
|
function transformTwoWayBindingSet(job) {
|
|
20763
20899
|
for (const unit of job.units) {
|
|
20764
20900
|
for (const op of unit.create) {
|
|
@@ -20781,7 +20917,7 @@ function transformTwoWayBindingSet(job) {
|
|
|
20781
20917
|
}
|
|
20782
20918
|
}
|
|
20783
20919
|
|
|
20784
|
-
// bazel-out/
|
|
20920
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
20785
20921
|
function saveAndRestoreView(job) {
|
|
20786
20922
|
for (const unit of job.units) {
|
|
20787
20923
|
unit.create.prepend([
|
|
@@ -20799,7 +20935,7 @@ function saveAndRestoreView(job) {
|
|
|
20799
20935
|
if (!needsRestoreView) {
|
|
20800
20936
|
for (const handlerOp of op.handlerOps) {
|
|
20801
20937
|
visitExpressionsInOp(handlerOp, (expr) => {
|
|
20802
|
-
if (expr instanceof ReferenceExpr) {
|
|
20938
|
+
if (expr instanceof ReferenceExpr || expr instanceof ContextLetReferenceExpr) {
|
|
20803
20939
|
needsRestoreView = true;
|
|
20804
20940
|
}
|
|
20805
20941
|
});
|
|
@@ -20826,7 +20962,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
20826
20962
|
}
|
|
20827
20963
|
}
|
|
20828
20964
|
|
|
20829
|
-
// bazel-out/
|
|
20965
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
20830
20966
|
function allocateSlots(job) {
|
|
20831
20967
|
const slotMap = /* @__PURE__ */ new Map();
|
|
20832
20968
|
for (const unit of job.units) {
|
|
@@ -20851,7 +20987,7 @@ function allocateSlots(job) {
|
|
|
20851
20987
|
}
|
|
20852
20988
|
}
|
|
20853
20989
|
|
|
20854
|
-
// bazel-out/
|
|
20990
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
20855
20991
|
function specializeStyleBindings(job) {
|
|
20856
20992
|
for (const unit of job.units) {
|
|
20857
20993
|
for (const op of unit.update) {
|
|
@@ -20881,7 +21017,7 @@ function specializeStyleBindings(job) {
|
|
|
20881
21017
|
}
|
|
20882
21018
|
}
|
|
20883
21019
|
|
|
20884
|
-
// bazel-out/
|
|
21020
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
20885
21021
|
function generateTemporaryVariables(job) {
|
|
20886
21022
|
for (const unit of job.units) {
|
|
20887
21023
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -20939,7 +21075,7 @@ function assignName(names, expr) {
|
|
|
20939
21075
|
expr.name = name;
|
|
20940
21076
|
}
|
|
20941
21077
|
|
|
20942
|
-
// bazel-out/
|
|
21078
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
20943
21079
|
function generateTrackFns(job) {
|
|
20944
21080
|
for (const unit of job.units) {
|
|
20945
21081
|
for (const op of unit.create) {
|
|
@@ -20972,7 +21108,7 @@ function generateTrackFns(job) {
|
|
|
20972
21108
|
}
|
|
20973
21109
|
}
|
|
20974
21110
|
|
|
20975
|
-
// bazel-out/
|
|
21111
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
20976
21112
|
function optimizeTrackFns(job) {
|
|
20977
21113
|
for (const unit of job.units) {
|
|
20978
21114
|
for (const op of unit.create) {
|
|
@@ -21022,7 +21158,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
21022
21158
|
return true;
|
|
21023
21159
|
}
|
|
21024
21160
|
|
|
21025
|
-
// bazel-out/
|
|
21161
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
21026
21162
|
function generateTrackVariables(job) {
|
|
21027
21163
|
for (const unit of job.units) {
|
|
21028
21164
|
for (const op of unit.create) {
|
|
@@ -21043,7 +21179,7 @@ function generateTrackVariables(job) {
|
|
|
21043
21179
|
}
|
|
21044
21180
|
}
|
|
21045
21181
|
|
|
21046
|
-
// bazel-out/
|
|
21182
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
21047
21183
|
function countVariables(job) {
|
|
21048
21184
|
for (const unit of job.units) {
|
|
21049
21185
|
let varCount = 0;
|
|
@@ -21124,6 +21260,7 @@ function varsUsedByOp(op) {
|
|
|
21124
21260
|
case OpKind.I18nExpression:
|
|
21125
21261
|
case OpKind.Conditional:
|
|
21126
21262
|
case OpKind.DeferWhen:
|
|
21263
|
+
case OpKind.StoreLet:
|
|
21127
21264
|
return 1;
|
|
21128
21265
|
case OpKind.RepeaterCreate:
|
|
21129
21266
|
return op.emptyView ? 1 : 0;
|
|
@@ -21139,6 +21276,8 @@ function varsUsedByIrExpression(expr) {
|
|
|
21139
21276
|
return 1 + expr.args.length;
|
|
21140
21277
|
case ExpressionKind.PipeBindingVariadic:
|
|
21141
21278
|
return 1 + expr.numArgs;
|
|
21279
|
+
case ExpressionKind.StoreLet:
|
|
21280
|
+
return 1;
|
|
21142
21281
|
default:
|
|
21143
21282
|
throw new Error(`AssertionError: unhandled ConsumesVarsTrait expression ${expr.constructor.name}`);
|
|
21144
21283
|
}
|
|
@@ -21153,7 +21292,7 @@ function isSingletonInterpolation(expr) {
|
|
|
21153
21292
|
return true;
|
|
21154
21293
|
}
|
|
21155
21294
|
|
|
21156
|
-
// bazel-out/
|
|
21295
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
21157
21296
|
function optimizeVariables(job) {
|
|
21158
21297
|
for (const unit of job.units) {
|
|
21159
21298
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -21290,7 +21429,10 @@ function fencesForIrExpression(expr) {
|
|
|
21290
21429
|
return Fence.ViewContextRead | Fence.ViewContextWrite;
|
|
21291
21430
|
case ExpressionKind.RestoreView:
|
|
21292
21431
|
return Fence.ViewContextRead | Fence.ViewContextWrite | Fence.SideEffectful;
|
|
21432
|
+
case ExpressionKind.StoreLet:
|
|
21433
|
+
return Fence.SideEffectful;
|
|
21293
21434
|
case ExpressionKind.Reference:
|
|
21435
|
+
case ExpressionKind.ContextLetReference:
|
|
21294
21436
|
return Fence.ViewContextRead;
|
|
21295
21437
|
default:
|
|
21296
21438
|
return Fence.None;
|
|
@@ -21402,7 +21544,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
21402
21544
|
}
|
|
21403
21545
|
}
|
|
21404
21546
|
|
|
21405
|
-
// bazel-out/
|
|
21547
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
21406
21548
|
function wrapI18nIcus(job) {
|
|
21407
21549
|
for (const unit of job.units) {
|
|
21408
21550
|
let currentI18nOp = null;
|
|
@@ -21432,7 +21574,60 @@ function wrapI18nIcus(job) {
|
|
|
21432
21574
|
}
|
|
21433
21575
|
}
|
|
21434
21576
|
|
|
21435
|
-
// bazel-out/
|
|
21577
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/store_let_optimization.mjs
|
|
21578
|
+
function optimizeStoreLet(job) {
|
|
21579
|
+
const letUsedExternally = /* @__PURE__ */ new Set();
|
|
21580
|
+
for (const unit of job.units) {
|
|
21581
|
+
for (const op of unit.ops()) {
|
|
21582
|
+
visitExpressionsInOp(op, (expr) => {
|
|
21583
|
+
if (expr instanceof ContextLetReferenceExpr) {
|
|
21584
|
+
letUsedExternally.add(expr.target);
|
|
21585
|
+
}
|
|
21586
|
+
});
|
|
21587
|
+
}
|
|
21588
|
+
}
|
|
21589
|
+
for (const unit of job.units) {
|
|
21590
|
+
for (const op of unit.update) {
|
|
21591
|
+
transformExpressionsInOp(op, (expression) => expression instanceof StoreLetExpr && !letUsedExternally.has(expression.target) ? expression.value : expression, VisitorContextFlag.None);
|
|
21592
|
+
}
|
|
21593
|
+
}
|
|
21594
|
+
}
|
|
21595
|
+
|
|
21596
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_illegal_let_references.mjs
|
|
21597
|
+
function removeIllegalLetReferences(job) {
|
|
21598
|
+
for (const unit of job.units) {
|
|
21599
|
+
for (const op of unit.update) {
|
|
21600
|
+
if (op.kind !== OpKind.Variable || op.variable.kind !== SemanticVariableKind.Identifier || !(op.initializer instanceof StoreLetExpr)) {
|
|
21601
|
+
continue;
|
|
21602
|
+
}
|
|
21603
|
+
const name = op.variable.identifier;
|
|
21604
|
+
let current = op;
|
|
21605
|
+
while (current && current.kind !== OpKind.ListEnd) {
|
|
21606
|
+
transformExpressionsInOp(current, (expr) => expr instanceof LexicalReadExpr && expr.name === name ? literal(void 0) : expr, VisitorContextFlag.None);
|
|
21607
|
+
current = current.prev;
|
|
21608
|
+
}
|
|
21609
|
+
}
|
|
21610
|
+
}
|
|
21611
|
+
}
|
|
21612
|
+
|
|
21613
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_local_let_references.mjs
|
|
21614
|
+
function generateLocalLetReferences(job) {
|
|
21615
|
+
for (const unit of job.units) {
|
|
21616
|
+
for (const op of unit.update) {
|
|
21617
|
+
if (op.kind !== OpKind.StoreLet) {
|
|
21618
|
+
continue;
|
|
21619
|
+
}
|
|
21620
|
+
const variable2 = {
|
|
21621
|
+
kind: SemanticVariableKind.Identifier,
|
|
21622
|
+
name: null,
|
|
21623
|
+
identifier: op.declaredName
|
|
21624
|
+
};
|
|
21625
|
+
OpList.replace(op, createVariableOp(job.allocateXrefId(), variable2, new StoreLetExpr(op.target, op.value, op.sourceSpan), VariableFlags.None));
|
|
21626
|
+
}
|
|
21627
|
+
}
|
|
21628
|
+
}
|
|
21629
|
+
|
|
21630
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
21436
21631
|
var phases = [
|
|
21437
21632
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
21438
21633
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -21459,11 +21654,13 @@ var phases = [
|
|
|
21459
21654
|
{ kind: CompilationJobKind.Tmpl, fn: createVariadicPipes },
|
|
21460
21655
|
{ kind: CompilationJobKind.Both, fn: generatePureLiteralStructures },
|
|
21461
21656
|
{ kind: CompilationJobKind.Tmpl, fn: generateProjectionDefs },
|
|
21657
|
+
{ kind: CompilationJobKind.Tmpl, fn: generateLocalLetReferences },
|
|
21462
21658
|
{ kind: CompilationJobKind.Tmpl, fn: generateVariables },
|
|
21463
21659
|
{ kind: CompilationJobKind.Tmpl, fn: saveAndRestoreView },
|
|
21464
21660
|
{ kind: CompilationJobKind.Both, fn: deleteAnyCasts },
|
|
21465
21661
|
{ kind: CompilationJobKind.Both, fn: resolveDollarEvent },
|
|
21466
21662
|
{ kind: CompilationJobKind.Tmpl, fn: generateTrackVariables },
|
|
21663
|
+
{ kind: CompilationJobKind.Tmpl, fn: removeIllegalLetReferences },
|
|
21467
21664
|
{ kind: CompilationJobKind.Both, fn: resolveNames },
|
|
21468
21665
|
{ kind: CompilationJobKind.Tmpl, fn: resolveDeferTargetNames },
|
|
21469
21666
|
{ kind: CompilationJobKind.Tmpl, fn: transformTwoWayBindingSet },
|
|
@@ -21475,6 +21672,7 @@ var phases = [
|
|
|
21475
21672
|
{ kind: CompilationJobKind.Both, fn: expandSafeReads },
|
|
21476
21673
|
{ kind: CompilationJobKind.Both, fn: generateTemporaryVariables },
|
|
21477
21674
|
{ kind: CompilationJobKind.Both, fn: optimizeVariables },
|
|
21675
|
+
{ kind: CompilationJobKind.Both, fn: optimizeStoreLet },
|
|
21478
21676
|
{ kind: CompilationJobKind.Tmpl, fn: allocateSlots },
|
|
21479
21677
|
{ kind: CompilationJobKind.Tmpl, fn: resolveI18nElementPlaceholders },
|
|
21480
21678
|
{ kind: CompilationJobKind.Tmpl, fn: resolveI18nExpressionPlaceholders },
|
|
@@ -21586,7 +21784,7 @@ function emitHostBindingFunction(job) {
|
|
|
21586
21784
|
);
|
|
21587
21785
|
}
|
|
21588
21786
|
|
|
21589
|
-
// bazel-out/
|
|
21787
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
21590
21788
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
21591
21789
|
var domSchema = new DomElementSchemaRegistry();
|
|
21592
21790
|
var NG_TEMPLATE_TAG_NAME = "ng-template";
|
|
@@ -21691,6 +21889,7 @@ function ingestNodes(unit, template2) {
|
|
|
21691
21889
|
} else if (node instanceof ForLoopBlock) {
|
|
21692
21890
|
ingestForBlock(unit, node);
|
|
21693
21891
|
} else if (node instanceof LetDeclaration) {
|
|
21892
|
+
ingestLetDeclaration(unit, node);
|
|
21694
21893
|
} else {
|
|
21695
21894
|
throw new Error(`Unsupported template node: ${node.constructor.name}`);
|
|
21696
21895
|
}
|
|
@@ -21863,7 +22062,7 @@ function ingestDeferView(unit, suffix, i18nMeta, children, sourceSpan) {
|
|
|
21863
22062
|
return templateOp;
|
|
21864
22063
|
}
|
|
21865
22064
|
function ingestDeferBlock(unit, deferBlock) {
|
|
21866
|
-
var _a2, _b2, _c2, _d2, _e2, _f2,
|
|
22065
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
|
|
21867
22066
|
let ownResolverFn = null;
|
|
21868
22067
|
if (unit.job.deferMeta.mode === 0) {
|
|
21869
22068
|
if (!unit.job.deferMeta.blocks.has(deferBlock)) {
|
|
@@ -21873,8 +22072,8 @@ function ingestDeferBlock(unit, deferBlock) {
|
|
|
21873
22072
|
}
|
|
21874
22073
|
const main = ingestDeferView(unit, "", deferBlock.i18n, deferBlock.children, deferBlock.sourceSpan);
|
|
21875
22074
|
const loading = ingestDeferView(unit, "Loading", (_b2 = deferBlock.loading) == null ? void 0 : _b2.i18n, (_c2 = deferBlock.loading) == null ? void 0 : _c2.children, (_d2 = deferBlock.loading) == null ? void 0 : _d2.sourceSpan);
|
|
21876
|
-
const placeholder = ingestDeferView(unit, "Placeholder", (_e2 = deferBlock.placeholder) == null ? void 0 : _e2.i18n, (_f2 = deferBlock.placeholder) == null ? void 0 : _f2.children, (
|
|
21877
|
-
const error = ingestDeferView(unit, "Error", (
|
|
22075
|
+
const placeholder = ingestDeferView(unit, "Placeholder", (_e2 = deferBlock.placeholder) == null ? void 0 : _e2.i18n, (_f2 = deferBlock.placeholder) == null ? void 0 : _f2.children, (_g2 = deferBlock.placeholder) == null ? void 0 : _g2.sourceSpan);
|
|
22076
|
+
const error = ingestDeferView(unit, "Error", (_h2 = deferBlock.error) == null ? void 0 : _h2.i18n, (_i = deferBlock.error) == null ? void 0 : _i.children, (_j = deferBlock.error) == null ? void 0 : _j.sourceSpan);
|
|
21878
22077
|
const deferXref = unit.job.allocateXrefId();
|
|
21879
22078
|
const deferOp = createDeferOp(deferXref, main.xref, main.handle, ownResolverFn, unit.job.allDeferrableDepsFn, deferBlock.sourceSpan);
|
|
21880
22079
|
deferOp.placeholderView = (_k = placeholder == null ? void 0 : placeholder.xref) != null ? _k : null;
|
|
@@ -22037,6 +22236,11 @@ function getComputedForLoopVariableExpression(variable2, indexName, countName) {
|
|
|
22037
22236
|
throw new Error(`AssertionError: unknown @for loop variable ${variable2.value}`);
|
|
22038
22237
|
}
|
|
22039
22238
|
}
|
|
22239
|
+
function ingestLetDeclaration(unit, node) {
|
|
22240
|
+
const target = unit.job.allocateXrefId();
|
|
22241
|
+
unit.create.push(createDeclareLetOp(target, node.name, node.sourceSpan));
|
|
22242
|
+
unit.update.push(createStoreLetOp(target, node.name, convertAst(node.value, unit.job, node.valueSpan), node.sourceSpan));
|
|
22243
|
+
}
|
|
22040
22244
|
function convertAst(ast, job, baseSourceSpan) {
|
|
22041
22245
|
if (ast instanceof ASTWithSource) {
|
|
22042
22246
|
return convertAst(ast.ast, job, baseSourceSpan);
|
|
@@ -22338,7 +22542,7 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
22338
22542
|
return null;
|
|
22339
22543
|
}
|
|
22340
22544
|
|
|
22341
|
-
// bazel-out/
|
|
22545
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
|
|
22342
22546
|
function renderFlagCheckIfStmt(flags, statements) {
|
|
22343
22547
|
return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
|
|
22344
22548
|
}
|
|
@@ -22458,7 +22662,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
|
|
|
22458
22662
|
], INFERRED_TYPE, null, contentQueriesFnName);
|
|
22459
22663
|
}
|
|
22460
22664
|
|
|
22461
|
-
// bazel-out/
|
|
22665
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
22462
22666
|
var HtmlParser = class extends Parser2 {
|
|
22463
22667
|
constructor() {
|
|
22464
22668
|
super(getHtmlTagDefinition);
|
|
@@ -22468,7 +22672,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
22468
22672
|
}
|
|
22469
22673
|
};
|
|
22470
22674
|
|
|
22471
|
-
// bazel-out/
|
|
22675
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
22472
22676
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
22473
22677
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
22474
22678
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -22537,7 +22741,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
22537
22741
|
return result;
|
|
22538
22742
|
}
|
|
22539
22743
|
|
|
22540
|
-
// bazel-out/
|
|
22744
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
22541
22745
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
22542
22746
|
var ATTRIBUTE_PREFIX = "attr";
|
|
22543
22747
|
var CLASS_PREFIX = "class";
|
|
@@ -22891,7 +23095,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
22891
23095
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
22892
23096
|
}
|
|
22893
23097
|
|
|
22894
|
-
// bazel-out/
|
|
23098
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
22895
23099
|
function isStyleUrlResolvable(url) {
|
|
22896
23100
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
22897
23101
|
return false;
|
|
@@ -22900,7 +23104,7 @@ function isStyleUrlResolvable(url) {
|
|
|
22900
23104
|
}
|
|
22901
23105
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
22902
23106
|
|
|
22903
|
-
// bazel-out/
|
|
23107
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
22904
23108
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
22905
23109
|
var LINK_ELEMENT = "link";
|
|
22906
23110
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -22970,7 +23174,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
22970
23174
|
return selectAttr;
|
|
22971
23175
|
}
|
|
22972
23176
|
|
|
22973
|
-
// bazel-out/
|
|
23177
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
22974
23178
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
22975
23179
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
22976
23180
|
var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
|
|
@@ -23293,7 +23497,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
23293
23497
|
return expression.slice(start, end);
|
|
23294
23498
|
}
|
|
23295
23499
|
|
|
23296
|
-
// bazel-out/
|
|
23500
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
23297
23501
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
23298
23502
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
23299
23503
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -23557,7 +23761,7 @@ function parseDeferredTime(value) {
|
|
|
23557
23761
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
23558
23762
|
}
|
|
23559
23763
|
|
|
23560
|
-
// bazel-out/
|
|
23764
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
23561
23765
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
23562
23766
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
23563
23767
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -23692,7 +23896,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
23692
23896
|
return { triggers, prefetchTriggers };
|
|
23693
23897
|
}
|
|
23694
23898
|
|
|
23695
|
-
// bazel-out/
|
|
23899
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
23696
23900
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
23697
23901
|
var KW_BIND_IDX = 1;
|
|
23698
23902
|
var KW_LET_IDX = 2;
|
|
@@ -24159,7 +24363,7 @@ function textContents(node) {
|
|
|
24159
24363
|
}
|
|
24160
24364
|
}
|
|
24161
24365
|
|
|
24162
|
-
// bazel-out/
|
|
24366
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
24163
24367
|
var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
|
|
24164
24368
|
function parseTemplate(template2, templateUrl, options = {}) {
|
|
24165
24369
|
var _a2, _b2;
|
|
@@ -24238,7 +24442,7 @@ function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, a
|
|
|
24238
24442
|
return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, [], allowInvalidAssignmentEvents);
|
|
24239
24443
|
}
|
|
24240
24444
|
|
|
24241
|
-
// bazel-out/
|
|
24445
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
24242
24446
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
24243
24447
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
24244
24448
|
var CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
|
|
@@ -24629,7 +24833,7 @@ function compileDeferResolverFunction(meta) {
|
|
|
24629
24833
|
return arrowFn([], literalArr(depExpressions));
|
|
24630
24834
|
}
|
|
24631
24835
|
|
|
24632
|
-
// bazel-out/
|
|
24836
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
24633
24837
|
var R3TargetBinder = class {
|
|
24634
24838
|
constructor(directiveMatcher) {
|
|
24635
24839
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -25276,11 +25480,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
25276
25480
|
return templateEntities;
|
|
25277
25481
|
}
|
|
25278
25482
|
|
|
25279
|
-
// bazel-out/
|
|
25483
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
25280
25484
|
var ResourceLoader = class {
|
|
25281
25485
|
};
|
|
25282
25486
|
|
|
25283
|
-
// bazel-out/
|
|
25487
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
25284
25488
|
var CompilerFacadeImpl = class {
|
|
25285
25489
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
25286
25490
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -25527,7 +25731,7 @@ function convertDirectiveFacadeToMetadata(facade) {
|
|
|
25527
25731
|
});
|
|
25528
25732
|
}
|
|
25529
25733
|
function convertDeclareDirectiveFacadeToMetadata(declaration, typeSourceSpan) {
|
|
25530
|
-
var _a2, _b2, _c2, _d2, _e2, _f2,
|
|
25734
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i;
|
|
25531
25735
|
return {
|
|
25532
25736
|
name: declaration.type.name,
|
|
25533
25737
|
type: wrapReference(declaration.type),
|
|
@@ -25541,11 +25745,11 @@ function convertDeclareDirectiveFacadeToMetadata(declaration, typeSourceSpan) {
|
|
|
25541
25745
|
providers: declaration.providers !== void 0 ? new WrappedNodeExpr(declaration.providers) : null,
|
|
25542
25746
|
exportAs: (_e2 = declaration.exportAs) != null ? _e2 : null,
|
|
25543
25747
|
usesInheritance: (_f2 = declaration.usesInheritance) != null ? _f2 : false,
|
|
25544
|
-
lifecycle: { usesOnChanges: (
|
|
25748
|
+
lifecycle: { usesOnChanges: (_g2 = declaration.usesOnChanges) != null ? _g2 : false },
|
|
25545
25749
|
deps: null,
|
|
25546
25750
|
typeArgumentCount: 0,
|
|
25547
25751
|
fullInheritance: false,
|
|
25548
|
-
isStandalone: (
|
|
25752
|
+
isStandalone: (_h2 = declaration.isStandalone) != null ? _h2 : false,
|
|
25549
25753
|
isSignal: (_i = declaration.isSignal) != null ? _i : false,
|
|
25550
25754
|
hostDirectives: convertHostDirectivesToMetadata(declaration)
|
|
25551
25755
|
};
|
|
@@ -25846,10 +26050,10 @@ function publishFacade(global) {
|
|
|
25846
26050
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
25847
26051
|
}
|
|
25848
26052
|
|
|
25849
|
-
// bazel-out/
|
|
25850
|
-
var VERSION2 = new Version("18.0.
|
|
26053
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
|
|
26054
|
+
var VERSION2 = new Version("18.0.4");
|
|
25851
26055
|
|
|
25852
|
-
// bazel-out/
|
|
26056
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
25853
26057
|
var _I18N_ATTR = "i18n";
|
|
25854
26058
|
var _I18N_ATTR_PREFIX = "i18n-";
|
|
25855
26059
|
var _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;
|
|
@@ -26160,7 +26364,7 @@ function _parseMessageMeta(i18n2) {
|
|
|
26160
26364
|
return { meaning, description, id: id.trim() };
|
|
26161
26365
|
}
|
|
26162
26366
|
|
|
26163
|
-
// bazel-out/
|
|
26367
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
26164
26368
|
var XmlTagDefinition = class {
|
|
26165
26369
|
constructor() {
|
|
26166
26370
|
this.closedByParent = false;
|
|
@@ -26185,7 +26389,7 @@ function getXmlTagDefinition(tagName) {
|
|
|
26185
26389
|
return _TAG_DEFINITION;
|
|
26186
26390
|
}
|
|
26187
26391
|
|
|
26188
|
-
// bazel-out/
|
|
26392
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
|
|
26189
26393
|
var XmlParser = class extends Parser2 {
|
|
26190
26394
|
constructor() {
|
|
26191
26395
|
super(getXmlTagDefinition);
|
|
@@ -26195,7 +26399,7 @@ var XmlParser = class extends Parser2 {
|
|
|
26195
26399
|
}
|
|
26196
26400
|
};
|
|
26197
26401
|
|
|
26198
|
-
// bazel-out/
|
|
26402
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
|
|
26199
26403
|
var _VERSION = "1.2";
|
|
26200
26404
|
var _XMLNS = "urn:oasis:names:tc:xliff:document:1.2";
|
|
26201
26405
|
var _DEFAULT_SOURCE_LANG = "en";
|
|
@@ -26477,7 +26681,7 @@ function getCtypeForTag(tag) {
|
|
|
26477
26681
|
}
|
|
26478
26682
|
}
|
|
26479
26683
|
|
|
26480
|
-
// bazel-out/
|
|
26684
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
|
|
26481
26685
|
var _VERSION2 = "2.0";
|
|
26482
26686
|
var _XMLNS2 = "urn:oasis:names:tc:xliff:document:2.0";
|
|
26483
26687
|
var _DEFAULT_SOURCE_LANG2 = "en";
|
|
@@ -26808,7 +27012,7 @@ function getTypeForTag(tag) {
|
|
|
26808
27012
|
}
|
|
26809
27013
|
}
|
|
26810
27014
|
|
|
26811
|
-
// bazel-out/
|
|
27015
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
|
|
26812
27016
|
var MessageBundle = class {
|
|
26813
27017
|
constructor(_htmlParser, _implicitTags, _implicitAttrs, _locale = null) {
|
|
26814
27018
|
this._htmlParser = _htmlParser;
|
|
@@ -26884,7 +27088,7 @@ var MapPlaceholderNames = class extends CloneVisitor {
|
|
|
26884
27088
|
}
|
|
26885
27089
|
};
|
|
26886
27090
|
|
|
26887
|
-
// bazel-out/
|
|
27091
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
26888
27092
|
var FactoryTarget2;
|
|
26889
27093
|
(function(FactoryTarget3) {
|
|
26890
27094
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -26894,7 +27098,7 @@ var FactoryTarget2;
|
|
|
26894
27098
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
26895
27099
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
26896
27100
|
|
|
26897
|
-
// bazel-out/
|
|
27101
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
|
|
26898
27102
|
function compileClassMetadata(metadata) {
|
|
26899
27103
|
const fnCall = internalCompileClassMetadata(metadata);
|
|
26900
27104
|
return arrowFn([], [devOnlyGuardedExpression(fnCall).toStmt()]).callFn([]);
|
|
@@ -26928,7 +27132,7 @@ function compileComponentMetadataAsyncResolver(dependencies) {
|
|
|
26928
27132
|
return arrowFn([], literalArr(dynamicImports));
|
|
26929
27133
|
}
|
|
26930
27134
|
|
|
26931
|
-
// bazel-out/
|
|
27135
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_class_debug_info_compiler.mjs
|
|
26932
27136
|
function compileClassDebugInfo(debugInfo) {
|
|
26933
27137
|
const debugInfoObject = {
|
|
26934
27138
|
className: debugInfo.className
|
|
@@ -26945,13 +27149,13 @@ function compileClassDebugInfo(debugInfo) {
|
|
|
26945
27149
|
return iife.callFn([]);
|
|
26946
27150
|
}
|
|
26947
27151
|
|
|
26948
|
-
// bazel-out/
|
|
27152
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
|
|
26949
27153
|
var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
|
|
26950
27154
|
var MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = "18.0.0";
|
|
26951
27155
|
function compileDeclareClassMetadata(metadata) {
|
|
26952
27156
|
const definitionMap = new DefinitionMap();
|
|
26953
27157
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
26954
|
-
definitionMap.set("version", literal("18.0.
|
|
27158
|
+
definitionMap.set("version", literal("18.0.4"));
|
|
26955
27159
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
26956
27160
|
definitionMap.set("type", metadata.type);
|
|
26957
27161
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -26970,7 +27174,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
26970
27174
|
callbackReturnDefinitionMap.set("ctorParameters", (_a2 = metadata.ctorParameters) != null ? _a2 : literal(null));
|
|
26971
27175
|
callbackReturnDefinitionMap.set("propDecorators", (_b2 = metadata.propDecorators) != null ? _b2 : literal(null));
|
|
26972
27176
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
26973
|
-
definitionMap.set("version", literal("18.0.
|
|
27177
|
+
definitionMap.set("version", literal("18.0.4"));
|
|
26974
27178
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
26975
27179
|
definitionMap.set("type", metadata.type);
|
|
26976
27180
|
definitionMap.set("resolveDeferredDeps", compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -26978,7 +27182,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
26978
27182
|
return importExpr(Identifiers.declareClassMetadataAsync).callFn([definitionMap.toLiteralMap()]);
|
|
26979
27183
|
}
|
|
26980
27184
|
|
|
26981
|
-
// bazel-out/
|
|
27185
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
|
|
26982
27186
|
function toOptionalLiteralArray(values, mapper) {
|
|
26983
27187
|
if (values === null || values.length === 0) {
|
|
26984
27188
|
return null;
|
|
@@ -27026,7 +27230,7 @@ function compileDependency(dep) {
|
|
|
27026
27230
|
return depMeta.toLiteralMap();
|
|
27027
27231
|
}
|
|
27028
27232
|
|
|
27029
|
-
// bazel-out/
|
|
27233
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
|
|
27030
27234
|
function compileDeclareDirectiveFromMetadata(meta) {
|
|
27031
27235
|
const definitionMap = createDirectiveDefinitionMap(meta);
|
|
27032
27236
|
const expression = importExpr(Identifiers.declareDirective).callFn([definitionMap.toLiteralMap()]);
|
|
@@ -27038,7 +27242,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
27038
27242
|
const definitionMap = new DefinitionMap();
|
|
27039
27243
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
27040
27244
|
definitionMap.set("minVersion", literal(minVersion));
|
|
27041
|
-
definitionMap.set("version", literal("18.0.
|
|
27245
|
+
definitionMap.set("version", literal("18.0.4"));
|
|
27042
27246
|
definitionMap.set("type", meta.type.value);
|
|
27043
27247
|
if (meta.isStandalone) {
|
|
27044
27248
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -27200,7 +27404,7 @@ function legacyInputsPartialMetadata(inputs) {
|
|
|
27200
27404
|
}));
|
|
27201
27405
|
}
|
|
27202
27406
|
|
|
27203
|
-
// bazel-out/
|
|
27407
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
|
|
27204
27408
|
function compileDeclareComponentFromMetadata(meta, template2, additionalTemplateInfo) {
|
|
27205
27409
|
const definitionMap = createComponentDefinitionMap(meta, template2, additionalTemplateInfo);
|
|
27206
27410
|
const expression = importExpr(Identifiers.declareComponent).callFn([definitionMap.toLiteralMap()]);
|
|
@@ -27351,12 +27555,12 @@ var BlockPresenceVisitor = class extends RecursiveVisitor {
|
|
|
27351
27555
|
}
|
|
27352
27556
|
};
|
|
27353
27557
|
|
|
27354
|
-
// bazel-out/
|
|
27558
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
|
|
27355
27559
|
var MINIMUM_PARTIAL_LINKER_VERSION2 = "12.0.0";
|
|
27356
27560
|
function compileDeclareFactoryFunction(meta) {
|
|
27357
27561
|
const definitionMap = new DefinitionMap();
|
|
27358
27562
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
|
|
27359
|
-
definitionMap.set("version", literal("18.0.
|
|
27563
|
+
definitionMap.set("version", literal("18.0.4"));
|
|
27360
27564
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27361
27565
|
definitionMap.set("type", meta.type.value);
|
|
27362
27566
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -27368,7 +27572,7 @@ function compileDeclareFactoryFunction(meta) {
|
|
|
27368
27572
|
};
|
|
27369
27573
|
}
|
|
27370
27574
|
|
|
27371
|
-
// bazel-out/
|
|
27575
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
|
|
27372
27576
|
var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
|
|
27373
27577
|
function compileDeclareInjectableFromMetadata(meta) {
|
|
27374
27578
|
const definitionMap = createInjectableDefinitionMap(meta);
|
|
@@ -27379,7 +27583,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
27379
27583
|
function createInjectableDefinitionMap(meta) {
|
|
27380
27584
|
const definitionMap = new DefinitionMap();
|
|
27381
27585
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
|
|
27382
|
-
definitionMap.set("version", literal("18.0.
|
|
27586
|
+
definitionMap.set("version", literal("18.0.4"));
|
|
27383
27587
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27384
27588
|
definitionMap.set("type", meta.type.value);
|
|
27385
27589
|
if (meta.providedIn !== void 0) {
|
|
@@ -27406,7 +27610,7 @@ function createInjectableDefinitionMap(meta) {
|
|
|
27406
27610
|
return definitionMap;
|
|
27407
27611
|
}
|
|
27408
27612
|
|
|
27409
|
-
// bazel-out/
|
|
27613
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
|
|
27410
27614
|
var MINIMUM_PARTIAL_LINKER_VERSION4 = "12.0.0";
|
|
27411
27615
|
function compileDeclareInjectorFromMetadata(meta) {
|
|
27412
27616
|
const definitionMap = createInjectorDefinitionMap(meta);
|
|
@@ -27417,7 +27621,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
27417
27621
|
function createInjectorDefinitionMap(meta) {
|
|
27418
27622
|
const definitionMap = new DefinitionMap();
|
|
27419
27623
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
|
|
27420
|
-
definitionMap.set("version", literal("18.0.
|
|
27624
|
+
definitionMap.set("version", literal("18.0.4"));
|
|
27421
27625
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27422
27626
|
definitionMap.set("type", meta.type.value);
|
|
27423
27627
|
definitionMap.set("providers", meta.providers);
|
|
@@ -27427,7 +27631,7 @@ function createInjectorDefinitionMap(meta) {
|
|
|
27427
27631
|
return definitionMap;
|
|
27428
27632
|
}
|
|
27429
27633
|
|
|
27430
|
-
// bazel-out/
|
|
27634
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
|
|
27431
27635
|
var MINIMUM_PARTIAL_LINKER_VERSION5 = "14.0.0";
|
|
27432
27636
|
function compileDeclareNgModuleFromMetadata(meta) {
|
|
27433
27637
|
const definitionMap = createNgModuleDefinitionMap(meta);
|
|
@@ -27441,7 +27645,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
27441
27645
|
throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
|
|
27442
27646
|
}
|
|
27443
27647
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
|
|
27444
|
-
definitionMap.set("version", literal("18.0.
|
|
27648
|
+
definitionMap.set("version", literal("18.0.4"));
|
|
27445
27649
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27446
27650
|
definitionMap.set("type", meta.type.value);
|
|
27447
27651
|
if (meta.bootstrap.length > 0) {
|
|
@@ -27465,7 +27669,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
27465
27669
|
return definitionMap;
|
|
27466
27670
|
}
|
|
27467
27671
|
|
|
27468
|
-
// bazel-out/
|
|
27672
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
|
|
27469
27673
|
var MINIMUM_PARTIAL_LINKER_VERSION6 = "14.0.0";
|
|
27470
27674
|
function compileDeclarePipeFromMetadata(meta) {
|
|
27471
27675
|
const definitionMap = createPipeDefinitionMap(meta);
|
|
@@ -27476,7 +27680,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
27476
27680
|
function createPipeDefinitionMap(meta) {
|
|
27477
27681
|
const definitionMap = new DefinitionMap();
|
|
27478
27682
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
|
|
27479
|
-
definitionMap.set("version", literal("18.0.
|
|
27683
|
+
definitionMap.set("version", literal("18.0.4"));
|
|
27480
27684
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27481
27685
|
definitionMap.set("type", meta.type.value);
|
|
27482
27686
|
if (meta.isStandalone) {
|
|
@@ -27489,16 +27693,16 @@ function createPipeDefinitionMap(meta) {
|
|
|
27489
27693
|
return definitionMap;
|
|
27490
27694
|
}
|
|
27491
27695
|
|
|
27492
|
-
// bazel-out/
|
|
27696
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
27493
27697
|
publishFacade(_global);
|
|
27494
27698
|
|
|
27495
|
-
// bazel-out/
|
|
27496
|
-
var VERSION3 = new Version("18.0.
|
|
27699
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
27700
|
+
var VERSION3 = new Version("18.0.4");
|
|
27497
27701
|
|
|
27498
|
-
// bazel-out/
|
|
27702
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
27499
27703
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
27500
27704
|
|
|
27501
|
-
// bazel-out/
|
|
27705
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
27502
27706
|
var ErrorCode;
|
|
27503
27707
|
(function(ErrorCode2) {
|
|
27504
27708
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -27591,7 +27795,7 @@ var ErrorCode;
|
|
|
27591
27795
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
27592
27796
|
})(ErrorCode || (ErrorCode = {}));
|
|
27593
27797
|
|
|
27594
|
-
// bazel-out/
|
|
27798
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
27595
27799
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
27596
27800
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
27597
27801
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -27603,15 +27807,15 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
27603
27807
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
27604
27808
|
]);
|
|
27605
27809
|
|
|
27606
|
-
// bazel-out/
|
|
27810
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
27607
27811
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
27608
27812
|
|
|
27609
|
-
// bazel-out/
|
|
27813
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
27610
27814
|
function ngErrorCode(code) {
|
|
27611
27815
|
return parseInt("-99" + code);
|
|
27612
27816
|
}
|
|
27613
27817
|
|
|
27614
|
-
// bazel-out/
|
|
27818
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
27615
27819
|
var FatalDiagnosticError = class extends Error {
|
|
27616
27820
|
constructor(code, node, diagnosticMessage, relatedInformation) {
|
|
27617
27821
|
super(`FatalDiagnosticError: Code: ${code}, Message: ${import_typescript2.default.flattenDiagnosticMessageText(diagnosticMessage, "\n")}`);
|
|
@@ -27672,10 +27876,10 @@ function isFatalDiagnosticError(err) {
|
|
|
27672
27876
|
return err._isFatalDiagnosticError === true;
|
|
27673
27877
|
}
|
|
27674
27878
|
|
|
27675
|
-
// bazel-out/
|
|
27879
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
27676
27880
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.dev/errors";
|
|
27677
27881
|
|
|
27678
|
-
// bazel-out/
|
|
27882
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
27679
27883
|
var ExtendedTemplateDiagnosticName;
|
|
27680
27884
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
27681
27885
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -27690,7 +27894,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
27690
27894
|
ExtendedTemplateDiagnosticName2["CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION"] = "controlFlowPreventingContentProjection";
|
|
27691
27895
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
27692
27896
|
|
|
27693
|
-
// bazel-out/
|
|
27897
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
27694
27898
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
27695
27899
|
var TS = /\.tsx?$/i;
|
|
27696
27900
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -27791,7 +27995,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
27791
27995
|
return redirectInfo.unredirected;
|
|
27792
27996
|
}
|
|
27793
27997
|
|
|
27794
|
-
// bazel-out/
|
|
27998
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
27795
27999
|
function findExportedNameOfNode(target, file, reflector) {
|
|
27796
28000
|
const exports = reflector.getExportsOfModule(file);
|
|
27797
28001
|
if (exports === null) {
|
|
@@ -27811,7 +28015,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
27811
28015
|
return foundExportName;
|
|
27812
28016
|
}
|
|
27813
28017
|
|
|
27814
|
-
// bazel-out/
|
|
28018
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
27815
28019
|
var ImportFlags;
|
|
27816
28020
|
(function(ImportFlags2) {
|
|
27817
28021
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -28042,7 +28246,7 @@ var UnifiedModulesStrategy = class {
|
|
|
28042
28246
|
}
|
|
28043
28247
|
};
|
|
28044
28248
|
|
|
28045
|
-
// bazel-out/
|
|
28249
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
28046
28250
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
28047
28251
|
var UnifiedModulesAliasingHost = class {
|
|
28048
28252
|
constructor(unifiedModulesHost) {
|
|
@@ -28109,7 +28313,7 @@ var AliasStrategy = class {
|
|
|
28109
28313
|
}
|
|
28110
28314
|
};
|
|
28111
28315
|
|
|
28112
|
-
// bazel-out/
|
|
28316
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
28113
28317
|
function relativePathBetween(from, to) {
|
|
28114
28318
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
28115
28319
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -28118,7 +28322,7 @@ function normalizeSeparators2(path4) {
|
|
|
28118
28322
|
return path4.replace(/\\/g, "/");
|
|
28119
28323
|
}
|
|
28120
28324
|
|
|
28121
|
-
// bazel-out/
|
|
28325
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
28122
28326
|
var NoopImportRewriter = class {
|
|
28123
28327
|
rewriteSymbol(symbol, specifier) {
|
|
28124
28328
|
return symbol;
|
|
@@ -28171,7 +28375,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
28171
28375
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
28172
28376
|
}
|
|
28173
28377
|
|
|
28174
|
-
// bazel-out/
|
|
28378
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
28175
28379
|
var import_typescript7 = __toESM(require("typescript"), 1);
|
|
28176
28380
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
28177
28381
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -28206,7 +28410,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
28206
28410
|
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.");
|
|
28207
28411
|
}
|
|
28208
28412
|
|
|
28209
|
-
// bazel-out/
|
|
28413
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
28210
28414
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
28211
28415
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
28212
28416
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -28247,13 +28451,13 @@ var DefaultImportTracker = class {
|
|
|
28247
28451
|
}
|
|
28248
28452
|
};
|
|
28249
28453
|
|
|
28250
|
-
// bazel-out/
|
|
28454
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
28251
28455
|
var import_typescript13 = __toESM(require("typescript"), 1);
|
|
28252
28456
|
|
|
28253
|
-
// bazel-out/
|
|
28457
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
28254
28458
|
var import_typescript12 = __toESM(require("typescript"), 1);
|
|
28255
28459
|
|
|
28256
|
-
// bazel-out/
|
|
28460
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
28257
28461
|
var import_typescript9 = __toESM(require("typescript"), 1);
|
|
28258
28462
|
function isDecoratorIdentifier(exp) {
|
|
28259
28463
|
return import_typescript9.default.isIdentifier(exp) || import_typescript9.default.isPropertyAccessExpression(exp) && import_typescript9.default.isIdentifier(exp.expression) && import_typescript9.default.isIdentifier(exp.name);
|
|
@@ -28276,7 +28480,7 @@ var ClassMemberAccessLevel;
|
|
|
28276
28480
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
28277
28481
|
var AmbientImport = {};
|
|
28278
28482
|
|
|
28279
|
-
// bazel-out/
|
|
28483
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
28280
28484
|
var import_typescript10 = __toESM(require("typescript"), 1);
|
|
28281
28485
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
28282
28486
|
var _a2, _b2;
|
|
@@ -28449,7 +28653,7 @@ function extractModuleName(node) {
|
|
|
28449
28653
|
return node.moduleSpecifier.text;
|
|
28450
28654
|
}
|
|
28451
28655
|
|
|
28452
|
-
// bazel-out/
|
|
28656
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
28453
28657
|
var import_typescript11 = __toESM(require("typescript"), 1);
|
|
28454
28658
|
function isNamedClassDeclaration(node) {
|
|
28455
28659
|
return import_typescript11.default.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -28473,7 +28677,7 @@ function classMemberAccessLevelToString(level) {
|
|
|
28473
28677
|
}
|
|
28474
28678
|
}
|
|
28475
28679
|
|
|
28476
|
-
// bazel-out/
|
|
28680
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
28477
28681
|
var TypeScriptReflectionHost = class {
|
|
28478
28682
|
constructor(checker, isLocalCompilation = false) {
|
|
28479
28683
|
this.checker = checker;
|
|
@@ -28960,7 +29164,7 @@ function getExportedName(decl, originalId) {
|
|
|
28960
29164
|
}
|
|
28961
29165
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
28962
29166
|
|
|
28963
|
-
// bazel-out/
|
|
29167
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
28964
29168
|
var AssumeEager = "AssumeEager";
|
|
28965
29169
|
var DeferredSymbolTracker = class {
|
|
28966
29170
|
constructor(typeChecker, onlyExplicitDeferDependencyImports) {
|
|
@@ -29080,7 +29284,7 @@ var DeferredSymbolTracker = class {
|
|
|
29080
29284
|
}
|
|
29081
29285
|
};
|
|
29082
29286
|
|
|
29083
|
-
// bazel-out/
|
|
29287
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
|
|
29084
29288
|
var import_typescript15 = __toESM(require("typescript"), 1);
|
|
29085
29289
|
var ImportedSymbolsTracker = class {
|
|
29086
29290
|
constructor() {
|
|
@@ -29150,7 +29354,7 @@ var ImportedSymbolsTracker = class {
|
|
|
29150
29354
|
}
|
|
29151
29355
|
};
|
|
29152
29356
|
|
|
29153
|
-
// bazel-out/
|
|
29357
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
|
|
29154
29358
|
var import_typescript16 = __toESM(require("typescript"), 1);
|
|
29155
29359
|
var LocalCompilationExtraImportsTracker = class {
|
|
29156
29360
|
constructor(typeChecker) {
|
|
@@ -29194,7 +29398,7 @@ function removeQuotations(s) {
|
|
|
29194
29398
|
return s.substring(1, s.length - 1).trim();
|
|
29195
29399
|
}
|
|
29196
29400
|
|
|
29197
|
-
// bazel-out/
|
|
29401
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
29198
29402
|
var Reference2 = class {
|
|
29199
29403
|
constructor(node, bestGuessOwningModule = null) {
|
|
29200
29404
|
this.node = node;
|
|
@@ -29263,7 +29467,7 @@ var Reference2 = class {
|
|
|
29263
29467
|
}
|
|
29264
29468
|
};
|
|
29265
29469
|
|
|
29266
|
-
// bazel-out/
|
|
29470
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
29267
29471
|
var ModuleResolver = class {
|
|
29268
29472
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
29269
29473
|
this.program = program;
|
|
@@ -29280,16 +29484,16 @@ var ModuleResolver = class {
|
|
|
29280
29484
|
}
|
|
29281
29485
|
};
|
|
29282
29486
|
|
|
29283
|
-
// bazel-out/
|
|
29487
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/downlevel_decorators_transform.mjs
|
|
29284
29488
|
var import_typescript21 = __toESM(require("typescript"), 1);
|
|
29285
29489
|
|
|
29286
|
-
// bazel-out/
|
|
29490
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/transform.mjs
|
|
29287
29491
|
var import_typescript70 = __toESM(require("typescript"), 1);
|
|
29288
29492
|
|
|
29289
|
-
// bazel-out/
|
|
29493
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
29290
29494
|
var import_typescript23 = __toESM(require("typescript"), 1);
|
|
29291
29495
|
|
|
29292
|
-
// bazel-out/
|
|
29496
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
29293
29497
|
var import_typescript22 = __toESM(require("typescript"), 1);
|
|
29294
29498
|
var CORE_MODULE2 = "@angular/core";
|
|
29295
29499
|
function valueReferenceToExpression(valueRef) {
|
|
@@ -29547,7 +29751,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
29547
29751
|
return import_typescript22.default.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === import_typescript22.default.SyntaxKind.AbstractKeyword) : false;
|
|
29548
29752
|
}
|
|
29549
29753
|
|
|
29550
|
-
// bazel-out/
|
|
29754
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
29551
29755
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
29552
29756
|
const deps = [];
|
|
29553
29757
|
const errors = [];
|
|
@@ -29691,10 +29895,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
|
|
|
29691
29895
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain2, hints);
|
|
29692
29896
|
}
|
|
29693
29897
|
|
|
29694
|
-
// bazel-out/
|
|
29898
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
29695
29899
|
var import_typescript46 = __toESM(require("typescript"), 1);
|
|
29696
29900
|
|
|
29697
|
-
// bazel-out/
|
|
29901
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
29698
29902
|
var MetaKind;
|
|
29699
29903
|
(function(MetaKind2) {
|
|
29700
29904
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -29707,10 +29911,10 @@ var MatchSource;
|
|
|
29707
29911
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
29708
29912
|
})(MatchSource || (MatchSource = {}));
|
|
29709
29913
|
|
|
29710
|
-
// bazel-out/
|
|
29914
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
29711
29915
|
var import_typescript26 = __toESM(require("typescript"), 1);
|
|
29712
29916
|
|
|
29713
|
-
// bazel-out/
|
|
29917
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
29714
29918
|
var ClassPropertyMapping = class {
|
|
29715
29919
|
constructor(forwardMap) {
|
|
29716
29920
|
this.forwardMap = forwardMap;
|
|
@@ -29790,7 +29994,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
29790
29994
|
return reverseMap;
|
|
29791
29995
|
}
|
|
29792
29996
|
|
|
29793
|
-
// bazel-out/
|
|
29997
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
29794
29998
|
var import_typescript24 = __toESM(require("typescript"), 1);
|
|
29795
29999
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
29796
30000
|
if (!import_typescript24.default.isTupleTypeNode(def)) {
|
|
@@ -29986,7 +30190,7 @@ function isHostDirectiveMetaForGlobalMode(hostDirectiveMeta) {
|
|
|
29986
30190
|
return hostDirectiveMeta.directive instanceof Reference2;
|
|
29987
30191
|
}
|
|
29988
30192
|
|
|
29989
|
-
// bazel-out/
|
|
30193
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
29990
30194
|
var DtsMetadataReader = class {
|
|
29991
30195
|
constructor(checker, reflector) {
|
|
29992
30196
|
this.checker = checker;
|
|
@@ -30169,7 +30373,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
30169
30373
|
return result.length > 0 ? result : null;
|
|
30170
30374
|
}
|
|
30171
30375
|
|
|
30172
|
-
// bazel-out/
|
|
30376
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
30173
30377
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
30174
30378
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
30175
30379
|
if (topMeta === null) {
|
|
@@ -30232,7 +30436,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
30232
30436
|
});
|
|
30233
30437
|
}
|
|
30234
30438
|
|
|
30235
|
-
// bazel-out/
|
|
30439
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
30236
30440
|
var LocalMetadataRegistry = class {
|
|
30237
30441
|
constructor() {
|
|
30238
30442
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -30289,7 +30493,7 @@ var CompoundMetadataRegistry = class {
|
|
|
30289
30493
|
}
|
|
30290
30494
|
};
|
|
30291
30495
|
|
|
30292
|
-
// bazel-out/
|
|
30496
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
30293
30497
|
var ResourceRegistry = class {
|
|
30294
30498
|
constructor() {
|
|
30295
30499
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -30354,7 +30558,7 @@ var ResourceRegistry = class {
|
|
|
30354
30558
|
}
|
|
30355
30559
|
};
|
|
30356
30560
|
|
|
30357
|
-
// bazel-out/
|
|
30561
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
|
|
30358
30562
|
var ExportedProviderStatusResolver = class {
|
|
30359
30563
|
constructor(metaReader) {
|
|
30360
30564
|
this.metaReader = metaReader;
|
|
@@ -30398,7 +30602,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
30398
30602
|
}
|
|
30399
30603
|
};
|
|
30400
30604
|
|
|
30401
|
-
// bazel-out/
|
|
30605
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
30402
30606
|
var EMPTY_ARRAY = [];
|
|
30403
30607
|
var HostDirectivesResolver = class {
|
|
30404
30608
|
constructor(metaReader) {
|
|
@@ -30463,10 +30667,10 @@ function resolveOutput(bindingName) {
|
|
|
30463
30667
|
return bindingName;
|
|
30464
30668
|
}
|
|
30465
30669
|
|
|
30466
|
-
// bazel-out/
|
|
30670
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
30467
30671
|
var import_typescript28 = __toESM(require("typescript"), 1);
|
|
30468
30672
|
|
|
30469
|
-
// bazel-out/
|
|
30673
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
30470
30674
|
var DynamicValue = class {
|
|
30471
30675
|
constructor(node, reason, code) {
|
|
30472
30676
|
this.node = node;
|
|
@@ -30556,7 +30760,7 @@ var DynamicValue = class {
|
|
|
30556
30760
|
}
|
|
30557
30761
|
};
|
|
30558
30762
|
|
|
30559
|
-
// bazel-out/
|
|
30763
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
30560
30764
|
var ResolvedModule = class {
|
|
30561
30765
|
constructor(exports, evaluate) {
|
|
30562
30766
|
this.exports = exports;
|
|
@@ -30586,7 +30790,7 @@ var EnumValue = class {
|
|
|
30586
30790
|
var KnownFn = class {
|
|
30587
30791
|
};
|
|
30588
30792
|
|
|
30589
|
-
// bazel-out/
|
|
30793
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
30590
30794
|
function describeResolvedType(value, maxDepth = 1) {
|
|
30591
30795
|
var _a2, _b2;
|
|
30592
30796
|
if (value === null) {
|
|
@@ -30719,10 +30923,10 @@ function getContainerNode(node) {
|
|
|
30719
30923
|
return node.getSourceFile();
|
|
30720
30924
|
}
|
|
30721
30925
|
|
|
30722
|
-
// bazel-out/
|
|
30926
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
30723
30927
|
var import_typescript29 = __toESM(require("typescript"), 1);
|
|
30724
30928
|
|
|
30725
|
-
// bazel-out/
|
|
30929
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
30726
30930
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
30727
30931
|
constructor(lhs) {
|
|
30728
30932
|
super();
|
|
@@ -30774,14 +30978,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
|
|
|
30774
30978
|
}
|
|
30775
30979
|
};
|
|
30776
30980
|
|
|
30777
|
-
// bazel-out/
|
|
30981
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
30778
30982
|
var SyntheticValue = class {
|
|
30779
30983
|
constructor(value) {
|
|
30780
30984
|
this.value = value;
|
|
30781
30985
|
}
|
|
30782
30986
|
};
|
|
30783
30987
|
|
|
30784
|
-
// bazel-out/
|
|
30988
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
30785
30989
|
function literalBinaryOp(op) {
|
|
30786
30990
|
return { op, literal: true };
|
|
30787
30991
|
}
|
|
@@ -31356,7 +31560,7 @@ function owningModule(context, override = null) {
|
|
|
31356
31560
|
}
|
|
31357
31561
|
}
|
|
31358
31562
|
|
|
31359
|
-
// bazel-out/
|
|
31563
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
31360
31564
|
var PartialEvaluator = class {
|
|
31361
31565
|
constructor(host, checker, dependencyTracker) {
|
|
31362
31566
|
this.host = host;
|
|
@@ -31376,7 +31580,7 @@ var PartialEvaluator = class {
|
|
|
31376
31580
|
}
|
|
31377
31581
|
};
|
|
31378
31582
|
|
|
31379
|
-
// bazel-out/
|
|
31583
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
31380
31584
|
var CompilationMode;
|
|
31381
31585
|
(function(CompilationMode2) {
|
|
31382
31586
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -31390,7 +31594,7 @@ var HandlerPrecedence;
|
|
|
31390
31594
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
31391
31595
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
31392
31596
|
|
|
31393
|
-
// bazel-out/
|
|
31597
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
31394
31598
|
var import_typescript31 = __toESM(require("typescript"), 1);
|
|
31395
31599
|
function aliasTransformFactory(exportStatements) {
|
|
31396
31600
|
return () => {
|
|
@@ -31415,10 +31619,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
31415
31619
|
};
|
|
31416
31620
|
}
|
|
31417
31621
|
|
|
31418
|
-
// bazel-out/
|
|
31622
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
31419
31623
|
var import_typescript32 = __toESM(require("typescript"), 1);
|
|
31420
31624
|
|
|
31421
|
-
// bazel-out/
|
|
31625
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
31422
31626
|
var PerfPhase;
|
|
31423
31627
|
(function(PerfPhase2) {
|
|
31424
31628
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -31486,7 +31690,7 @@ var PerfCheckpoint;
|
|
|
31486
31690
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
31487
31691
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
31488
31692
|
|
|
31489
|
-
// bazel-out/
|
|
31693
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
31490
31694
|
var NoopPerfRecorder = class {
|
|
31491
31695
|
eventCount() {
|
|
31492
31696
|
}
|
|
@@ -31503,7 +31707,7 @@ var NoopPerfRecorder = class {
|
|
|
31503
31707
|
};
|
|
31504
31708
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
31505
31709
|
|
|
31506
|
-
// bazel-out/
|
|
31710
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
31507
31711
|
function mark() {
|
|
31508
31712
|
return process.hrtime();
|
|
31509
31713
|
}
|
|
@@ -31512,7 +31716,7 @@ function timeSinceInMicros(mark2) {
|
|
|
31512
31716
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
31513
31717
|
}
|
|
31514
31718
|
|
|
31515
|
-
// bazel-out/
|
|
31719
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
31516
31720
|
var ActivePerfRecorder = class {
|
|
31517
31721
|
static zeroedToNow() {
|
|
31518
31722
|
return new ActivePerfRecorder(mark());
|
|
@@ -31606,7 +31810,7 @@ var DelegatingPerfRecorder = class {
|
|
|
31606
31810
|
}
|
|
31607
31811
|
};
|
|
31608
31812
|
|
|
31609
|
-
// bazel-out/
|
|
31813
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
31610
31814
|
var TraitState;
|
|
31611
31815
|
(function(TraitState2) {
|
|
31612
31816
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -31663,7 +31867,7 @@ var TraitImpl = class {
|
|
|
31663
31867
|
}
|
|
31664
31868
|
};
|
|
31665
31869
|
|
|
31666
|
-
// bazel-out/
|
|
31870
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
31667
31871
|
var TraitCompiler = class {
|
|
31668
31872
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
31669
31873
|
this.handlers = handlers;
|
|
@@ -32122,10 +32326,10 @@ function containsErrors(diagnostics) {
|
|
|
32122
32326
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === import_typescript32.default.DiagnosticCategory.Error);
|
|
32123
32327
|
}
|
|
32124
32328
|
|
|
32125
|
-
// bazel-out/
|
|
32329
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
32126
32330
|
var import_typescript43 = __toESM(require("typescript"), 1);
|
|
32127
32331
|
|
|
32128
|
-
// bazel-out/
|
|
32332
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
32129
32333
|
var Context = class {
|
|
32130
32334
|
constructor(isStatement) {
|
|
32131
32335
|
this.isStatement = isStatement;
|
|
@@ -32138,21 +32342,23 @@ var Context = class {
|
|
|
32138
32342
|
}
|
|
32139
32343
|
};
|
|
32140
32344
|
|
|
32141
|
-
// bazel-out/
|
|
32345
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
32142
32346
|
var import_typescript38 = __toESM(require("typescript"), 1);
|
|
32143
32347
|
|
|
32144
|
-
// bazel-out/
|
|
32348
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
|
|
32145
32349
|
var import_typescript34 = __toESM(require("typescript"), 1);
|
|
32146
32350
|
function createGenerateUniqueIdentifierHelper() {
|
|
32147
32351
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
32352
|
+
const isGeneratedIdentifier = (sf, identifierName2) => generatedIdentifiers.has(`${sf.fileName}@@${identifierName2}`);
|
|
32353
|
+
const markIdentifierAsGenerated = (sf, identifierName2) => generatedIdentifiers.add(`${sf.fileName}@@${identifierName2}`);
|
|
32148
32354
|
return (sourceFile, symbolName) => {
|
|
32149
32355
|
const sf = sourceFile;
|
|
32150
32356
|
if (sf.identifiers === void 0) {
|
|
32151
32357
|
throw new Error("Source file unexpectedly lacks map of parsed `identifiers`.");
|
|
32152
32358
|
}
|
|
32153
|
-
const isUniqueIdentifier = (name2) => !sf.identifiers.has(name2) && !
|
|
32359
|
+
const isUniqueIdentifier = (name2) => !sf.identifiers.has(name2) && !isGeneratedIdentifier(sf, name2);
|
|
32154
32360
|
if (isUniqueIdentifier(symbolName)) {
|
|
32155
|
-
|
|
32361
|
+
markIdentifierAsGenerated(sf, symbolName);
|
|
32156
32362
|
return null;
|
|
32157
32363
|
}
|
|
32158
32364
|
let name = null;
|
|
@@ -32160,12 +32366,12 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
32160
32366
|
do {
|
|
32161
32367
|
name = `${symbolName}_${counter++}`;
|
|
32162
32368
|
} while (!isUniqueIdentifier(name));
|
|
32163
|
-
|
|
32369
|
+
markIdentifierAsGenerated(sf, name);
|
|
32164
32370
|
return import_typescript34.default.factory.createUniqueName(name, import_typescript34.default.GeneratedIdentifierFlags.Optimistic);
|
|
32165
32371
|
};
|
|
32166
32372
|
}
|
|
32167
32373
|
|
|
32168
|
-
// bazel-out/
|
|
32374
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
|
|
32169
32375
|
var import_typescript35 = __toESM(require("typescript"), 1);
|
|
32170
32376
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
32171
32377
|
return (ctx) => {
|
|
@@ -32226,7 +32432,7 @@ function isImportStatement(stmt) {
|
|
|
32226
32432
|
return import_typescript35.default.isImportDeclaration(stmt) || import_typescript35.default.isImportEqualsDeclaration(stmt) || import_typescript35.default.isNamespaceImport(stmt);
|
|
32227
32433
|
}
|
|
32228
32434
|
|
|
32229
|
-
// bazel-out/
|
|
32435
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
|
|
32230
32436
|
var import_typescript36 = __toESM(require("typescript"), 1);
|
|
32231
32437
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
32232
32438
|
const requestHash = hashImportRequest(request);
|
|
@@ -32253,7 +32459,7 @@ function hashImportRequest(req) {
|
|
|
32253
32459
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}`;
|
|
32254
32460
|
}
|
|
32255
32461
|
|
|
32256
|
-
// bazel-out/
|
|
32462
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
|
|
32257
32463
|
var import_typescript37 = __toESM(require("typescript"), 1);
|
|
32258
32464
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
32259
32465
|
let candidateImportToBeUpdated = null;
|
|
@@ -32306,7 +32512,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
32306
32512
|
return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
|
|
32307
32513
|
}
|
|
32308
32514
|
|
|
32309
|
-
// bazel-out/
|
|
32515
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
32310
32516
|
var presetImportManagerForceNamespaceImports = {
|
|
32311
32517
|
disableOriginalSourceFileReuse: true,
|
|
32312
32518
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -32455,7 +32661,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
32455
32661
|
}
|
|
32456
32662
|
}
|
|
32457
32663
|
|
|
32458
|
-
// bazel-out/
|
|
32664
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
32459
32665
|
var UNARY_OPERATORS2 = /* @__PURE__ */ new Map([
|
|
32460
32666
|
[UnaryOperator.Minus, "-"],
|
|
32461
32667
|
[UnaryOperator.Plus, "+"]
|
|
@@ -32700,7 +32906,7 @@ function createRange(span) {
|
|
|
32700
32906
|
};
|
|
32701
32907
|
}
|
|
32702
32908
|
|
|
32703
|
-
// bazel-out/
|
|
32909
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
32704
32910
|
var import_typescript39 = __toESM(require("typescript"), 1);
|
|
32705
32911
|
var INELIGIBLE = {};
|
|
32706
32912
|
function canEmitType(type, canEmit) {
|
|
@@ -32775,10 +32981,10 @@ var TypeEmitter = class {
|
|
|
32775
32981
|
}
|
|
32776
32982
|
};
|
|
32777
32983
|
|
|
32778
|
-
// bazel-out/
|
|
32984
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
32779
32985
|
var import_typescript41 = __toESM(require("typescript"), 1);
|
|
32780
32986
|
|
|
32781
|
-
// bazel-out/
|
|
32987
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
32782
32988
|
var import_typescript40 = __toESM(require("typescript"), 1);
|
|
32783
32989
|
function tsNumericExpression(value) {
|
|
32784
32990
|
if (value < 0) {
|
|
@@ -32788,7 +32994,7 @@ function tsNumericExpression(value) {
|
|
|
32788
32994
|
return import_typescript40.default.factory.createNumericLiteral(value);
|
|
32789
32995
|
}
|
|
32790
32996
|
|
|
32791
|
-
// bazel-out/
|
|
32997
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
32792
32998
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
32793
32999
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
32794
33000
|
}
|
|
@@ -33005,7 +33211,7 @@ var TypeTranslatorVisitor = class {
|
|
|
33005
33211
|
}
|
|
33006
33212
|
};
|
|
33007
33213
|
|
|
33008
|
-
// bazel-out/
|
|
33214
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
33009
33215
|
var import_typescript42 = __toESM(require("typescript"), 1);
|
|
33010
33216
|
var PureAnnotation;
|
|
33011
33217
|
(function(PureAnnotation2) {
|
|
@@ -33208,7 +33414,7 @@ function attachComments(statement, leadingComments) {
|
|
|
33208
33414
|
}
|
|
33209
33415
|
}
|
|
33210
33416
|
|
|
33211
|
-
// bazel-out/
|
|
33417
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
33212
33418
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
33213
33419
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
33214
33420
|
}
|
|
@@ -33216,7 +33422,7 @@ function translateStatement(contextFile, statement, imports, options = {}) {
|
|
|
33216
33422
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(true));
|
|
33217
33423
|
}
|
|
33218
33424
|
|
|
33219
|
-
// bazel-out/
|
|
33425
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
33220
33426
|
var DtsTransformRegistry = class {
|
|
33221
33427
|
constructor() {
|
|
33222
33428
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -33364,10 +33570,10 @@ function markForEmitAsSingleLine(node) {
|
|
|
33364
33570
|
import_typescript43.default.forEachChild(node, markForEmitAsSingleLine);
|
|
33365
33571
|
}
|
|
33366
33572
|
|
|
33367
|
-
// bazel-out/
|
|
33573
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
33368
33574
|
var import_typescript45 = __toESM(require("typescript"), 1);
|
|
33369
33575
|
|
|
33370
|
-
// bazel-out/
|
|
33576
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
33371
33577
|
var import_typescript44 = __toESM(require("typescript"), 1);
|
|
33372
33578
|
function visit(node, visitor, context) {
|
|
33373
33579
|
return visitor._visit(node, context);
|
|
@@ -33428,7 +33634,7 @@ var Visitor = class {
|
|
|
33428
33634
|
}
|
|
33429
33635
|
};
|
|
33430
33636
|
|
|
33431
|
-
// bazel-out/
|
|
33637
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
33432
33638
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
33433
33639
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
33434
33640
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, localCompilationExtraImportsTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -33663,7 +33869,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
33663
33869
|
return array;
|
|
33664
33870
|
}
|
|
33665
33871
|
|
|
33666
|
-
// bazel-out/
|
|
33872
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
33667
33873
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
33668
33874
|
const context = [];
|
|
33669
33875
|
for (const decl of data) {
|
|
@@ -33872,7 +34078,7 @@ function assertLocalCompilationUnresolvedConst(compilationMode, value, nodeToHig
|
|
|
33872
34078
|
}
|
|
33873
34079
|
}
|
|
33874
34080
|
|
|
33875
|
-
// bazel-out/
|
|
34081
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
33876
34082
|
var import_typescript48 = __toESM(require("typescript"), 1);
|
|
33877
34083
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
33878
34084
|
let resolved = null;
|
|
@@ -33922,7 +34128,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
33922
34128
|
return meta;
|
|
33923
34129
|
}
|
|
33924
34130
|
|
|
33925
|
-
// bazel-out/
|
|
34131
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
33926
34132
|
function compileNgFactoryDefField(metadata) {
|
|
33927
34133
|
const res = compileFactoryFunction(metadata);
|
|
33928
34134
|
return {
|
|
@@ -33944,7 +34150,7 @@ function compileDeclareFactory(metadata) {
|
|
|
33944
34150
|
};
|
|
33945
34151
|
}
|
|
33946
34152
|
|
|
33947
|
-
// bazel-out/
|
|
34153
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
33948
34154
|
var InjectableClassRegistry = class {
|
|
33949
34155
|
constructor(host, isCore) {
|
|
33950
34156
|
this.host = host;
|
|
@@ -33970,7 +34176,7 @@ var InjectableClassRegistry = class {
|
|
|
33970
34176
|
}
|
|
33971
34177
|
};
|
|
33972
34178
|
|
|
33973
|
-
// bazel-out/
|
|
34179
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
33974
34180
|
var import_typescript49 = __toESM(require("typescript"), 1);
|
|
33975
34181
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
33976
34182
|
if (!reflection.isClass(clazz)) {
|
|
@@ -34056,7 +34262,7 @@ function removeIdentifierReferences(node, names) {
|
|
|
34056
34262
|
return result.transformed[0];
|
|
34057
34263
|
}
|
|
34058
34264
|
|
|
34059
|
-
// bazel-out/
|
|
34265
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
|
|
34060
34266
|
var path = __toESM(require("path"), 1);
|
|
34061
34267
|
function extractClassDebugInfo(clazz, reflection, rootDirs, forbidOrphanRendering) {
|
|
34062
34268
|
if (!reflection.isClass(clazz)) {
|
|
@@ -34082,13 +34288,13 @@ function computeRelativePathIfPossible(filePath, rootDirs) {
|
|
|
34082
34288
|
return null;
|
|
34083
34289
|
}
|
|
34084
34290
|
|
|
34085
|
-
// bazel-out/
|
|
34291
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
34086
34292
|
var NoopReferencesRegistry = class {
|
|
34087
34293
|
add(source, ...references) {
|
|
34088
34294
|
}
|
|
34089
34295
|
};
|
|
34090
34296
|
|
|
34091
|
-
// bazel-out/
|
|
34297
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
34092
34298
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
34093
34299
|
const schemas = [];
|
|
34094
34300
|
const result = evaluator.evaluate(rawExpr);
|
|
@@ -34117,7 +34323,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
34117
34323
|
return schemas;
|
|
34118
34324
|
}
|
|
34119
34325
|
|
|
34120
|
-
// bazel-out/
|
|
34326
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
|
|
34121
34327
|
function compileInputTransformFields(inputs) {
|
|
34122
34328
|
const extraFields = [];
|
|
34123
34329
|
for (const input of inputs) {
|
|
@@ -34134,10 +34340,10 @@ function compileInputTransformFields(inputs) {
|
|
|
34134
34340
|
return extraFields;
|
|
34135
34341
|
}
|
|
34136
34342
|
|
|
34137
|
-
// bazel-out/
|
|
34343
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
34138
34344
|
var import_typescript63 = __toESM(require("typescript"), 1);
|
|
34139
34345
|
|
|
34140
|
-
// bazel-out/
|
|
34346
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
34141
34347
|
var import_typescript50 = __toESM(require("typescript"), 1);
|
|
34142
34348
|
var SemanticSymbol = class {
|
|
34143
34349
|
constructor(decl) {
|
|
@@ -34153,7 +34359,7 @@ function getSymbolIdentifier(decl) {
|
|
|
34153
34359
|
return decl.name.text;
|
|
34154
34360
|
}
|
|
34155
34361
|
|
|
34156
|
-
// bazel-out/
|
|
34362
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
34157
34363
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
34158
34364
|
isPublicApiAffected() {
|
|
34159
34365
|
return false;
|
|
@@ -34295,10 +34501,10 @@ function getImportPath(expr) {
|
|
|
34295
34501
|
}
|
|
34296
34502
|
}
|
|
34297
34503
|
|
|
34298
|
-
// bazel-out/
|
|
34504
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
34299
34505
|
var import_typescript51 = __toESM(require("typescript"), 1);
|
|
34300
34506
|
|
|
34301
|
-
// bazel-out/
|
|
34507
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
34302
34508
|
function isSymbolEqual(a, b) {
|
|
34303
34509
|
if (a.decl === b.decl) {
|
|
34304
34510
|
return true;
|
|
@@ -34348,7 +34554,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
34348
34554
|
return true;
|
|
34349
34555
|
}
|
|
34350
34556
|
|
|
34351
|
-
// bazel-out/
|
|
34557
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
34352
34558
|
function extractSemanticTypeParameters(node) {
|
|
34353
34559
|
if (!import_typescript51.default.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
34354
34560
|
return null;
|
|
@@ -34370,14 +34576,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
34370
34576
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
34371
34577
|
}
|
|
34372
34578
|
|
|
34373
|
-
// bazel-out/
|
|
34579
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
34374
34580
|
var ComponentScopeKind;
|
|
34375
34581
|
(function(ComponentScopeKind2) {
|
|
34376
34582
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
34377
34583
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
34378
34584
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
34379
34585
|
|
|
34380
|
-
// bazel-out/
|
|
34586
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
34381
34587
|
var CompoundComponentScopeReader = class {
|
|
34382
34588
|
constructor(readers) {
|
|
34383
34589
|
this.readers = readers;
|
|
@@ -34402,7 +34608,7 @@ var CompoundComponentScopeReader = class {
|
|
|
34402
34608
|
}
|
|
34403
34609
|
};
|
|
34404
34610
|
|
|
34405
|
-
// bazel-out/
|
|
34611
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
34406
34612
|
var MetadataDtsModuleScopeResolver = class {
|
|
34407
34613
|
constructor(dtsMetaReader, aliasingHost) {
|
|
34408
34614
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -34477,10 +34683,10 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
34477
34683
|
}
|
|
34478
34684
|
};
|
|
34479
34685
|
|
|
34480
|
-
// bazel-out/
|
|
34686
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
34481
34687
|
var import_typescript52 = __toESM(require("typescript"), 1);
|
|
34482
34688
|
|
|
34483
|
-
// bazel-out/
|
|
34689
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
34484
34690
|
function getDiagnosticNode(ref, rawExpr) {
|
|
34485
34691
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
34486
34692
|
}
|
|
@@ -34506,7 +34712,7 @@ function makeUnknownComponentDeferredImportDiagnostic(ref, rawExpr) {
|
|
|
34506
34712
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_DEFERRED_IMPORT, getDiagnosticNode(ref, rawExpr), `Component deferred imports must be standalone components, directives or pipes.`);
|
|
34507
34713
|
}
|
|
34508
34714
|
|
|
34509
|
-
// bazel-out/
|
|
34715
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
34510
34716
|
var LocalModuleScopeRegistry = class {
|
|
34511
34717
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
34512
34718
|
this.localReader = localReader;
|
|
@@ -34847,7 +35053,7 @@ function reexportCollision(module2, refA, refB) {
|
|
|
34847
35053
|
]);
|
|
34848
35054
|
}
|
|
34849
35055
|
|
|
34850
|
-
// bazel-out/
|
|
35056
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
34851
35057
|
var import_typescript54 = __toESM(require("typescript"), 1);
|
|
34852
35058
|
var TypeCheckScopeRegistry = class {
|
|
34853
35059
|
constructor(scopeReader, metaReader, hostDirectivesResolver) {
|
|
@@ -34927,10 +35133,10 @@ var TypeCheckScopeRegistry = class {
|
|
|
34927
35133
|
}
|
|
34928
35134
|
};
|
|
34929
35135
|
|
|
34930
|
-
// bazel-out/
|
|
35136
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
34931
35137
|
var import_typescript58 = __toESM(require("typescript"), 1);
|
|
34932
35138
|
|
|
34933
|
-
// bazel-out/
|
|
35139
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_function_access.mjs
|
|
34934
35140
|
function validateAccessOfInitializerApiMember({ api, call: call2 }, member) {
|
|
34935
35141
|
if (!api.allowedAccessLevels.includes(member.accessLevel)) {
|
|
34936
35142
|
throw new FatalDiagnosticError(ErrorCode.INITIALIZER_API_DISALLOWED_MEMBER_VISIBILITY, call2, makeDiagnosticChain(`Cannot use "${api.functionName}" on a class member that is declared as ${classMemberAccessLevelToString(member.accessLevel)}.`, [
|
|
@@ -34939,7 +35145,7 @@ function validateAccessOfInitializerApiMember({ api, call: call2 }, member) {
|
|
|
34939
35145
|
}
|
|
34940
35146
|
}
|
|
34941
35147
|
|
|
34942
|
-
// bazel-out/
|
|
35148
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.mjs
|
|
34943
35149
|
var import_typescript55 = __toESM(require("typescript"), 1);
|
|
34944
35150
|
function tryParseInitializerApi(functions, expression, reflector, importTracker) {
|
|
34945
35151
|
if (!import_typescript55.default.isCallExpression(expression)) {
|
|
@@ -35008,7 +35214,7 @@ function parseTopLevelCallFromNamespace(call2, functions, importTracker) {
|
|
|
35008
35214
|
return { api: matchingApi, apiReference, isRequired };
|
|
35009
35215
|
}
|
|
35010
35216
|
|
|
35011
|
-
// bazel-out/
|
|
35217
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.mjs
|
|
35012
35218
|
var import_typescript56 = __toESM(require("typescript"), 1);
|
|
35013
35219
|
function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
35014
35220
|
if (!import_typescript56.default.isObjectLiteralExpression(optionsNode)) {
|
|
@@ -35026,7 +35232,7 @@ function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
|
35026
35232
|
return { alias };
|
|
35027
35233
|
}
|
|
35028
35234
|
|
|
35029
|
-
// bazel-out/
|
|
35235
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
|
|
35030
35236
|
var INPUT_INITIALIZER_FN = {
|
|
35031
35237
|
functionName: "input",
|
|
35032
35238
|
owningModule: "@angular/core",
|
|
@@ -35058,7 +35264,7 @@ function tryParseSignalInputMapping(member, reflector, importTracker) {
|
|
|
35058
35264
|
};
|
|
35059
35265
|
}
|
|
35060
35266
|
|
|
35061
|
-
// bazel-out/
|
|
35267
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.mjs
|
|
35062
35268
|
var MODEL_INITIALIZER_FN = {
|
|
35063
35269
|
functionName: "model",
|
|
35064
35270
|
owningModule: "@angular/core",
|
|
@@ -35099,7 +35305,7 @@ function tryParseSignalModelMapping(member, reflector, importTracker) {
|
|
|
35099
35305
|
};
|
|
35100
35306
|
}
|
|
35101
35307
|
|
|
35102
|
-
// bazel-out/
|
|
35308
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.mjs
|
|
35103
35309
|
var allowedAccessLevels = [
|
|
35104
35310
|
ClassMemberAccessLevel.PublicWritable,
|
|
35105
35311
|
ClassMemberAccessLevel.PublicReadonly,
|
|
@@ -35143,7 +35349,7 @@ function tryParseInitializerBasedOutput(member, reflector, importTracker) {
|
|
|
35143
35349
|
};
|
|
35144
35350
|
}
|
|
35145
35351
|
|
|
35146
|
-
// bazel-out/
|
|
35352
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.mjs
|
|
35147
35353
|
var import_typescript57 = __toESM(require("typescript"), 1);
|
|
35148
35354
|
var queryFunctionNames = [
|
|
35149
35355
|
"viewChild",
|
|
@@ -35227,7 +35433,7 @@ function parseDescendantsOption(value) {
|
|
|
35227
35433
|
throw new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, value, `Expected "descendants" option to be a boolean literal.`);
|
|
35228
35434
|
}
|
|
35229
35435
|
|
|
35230
|
-
// bazel-out/
|
|
35436
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
35231
35437
|
var EMPTY_OBJECT = {};
|
|
35232
35438
|
var queryDecoratorNames = [
|
|
35233
35439
|
"ViewChild",
|
|
@@ -36025,7 +36231,7 @@ function toR3InputMetadata(mapping) {
|
|
|
36025
36231
|
};
|
|
36026
36232
|
}
|
|
36027
36233
|
|
|
36028
|
-
// bazel-out/
|
|
36234
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
36029
36235
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
36030
36236
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
36031
36237
|
super(decl);
|
|
@@ -36105,7 +36311,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
36105
36311
|
return isSymbolEqual(current, previous);
|
|
36106
36312
|
}
|
|
36107
36313
|
|
|
36108
|
-
// bazel-out/
|
|
36314
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
36109
36315
|
var FIELD_DECORATORS = [
|
|
36110
36316
|
"Input",
|
|
36111
36317
|
"Output",
|
|
@@ -36298,10 +36504,10 @@ var DirectiveDecoratorHandler = class {
|
|
|
36298
36504
|
}
|
|
36299
36505
|
};
|
|
36300
36506
|
|
|
36301
|
-
// bazel-out/
|
|
36507
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
36302
36508
|
var import_typescript60 = __toESM(require("typescript"), 1);
|
|
36303
36509
|
|
|
36304
|
-
// bazel-out/
|
|
36510
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
36305
36511
|
var import_typescript59 = __toESM(require("typescript"), 1);
|
|
36306
36512
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
36307
36513
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -36373,7 +36579,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
36373
36579
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
36374
36580
|
}
|
|
36375
36581
|
|
|
36376
|
-
// bazel-out/
|
|
36582
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
36377
36583
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
36378
36584
|
constructor(decl, hasProviders) {
|
|
36379
36585
|
super(decl);
|
|
@@ -36986,7 +37192,7 @@ function isSyntheticReference(ref) {
|
|
|
36986
37192
|
return ref.synthetic;
|
|
36987
37193
|
}
|
|
36988
37194
|
|
|
36989
|
-
// bazel-out/
|
|
37195
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
36990
37196
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
36991
37197
|
const name = ref.debugName || "(unknown)";
|
|
36992
37198
|
const path4 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -37009,7 +37215,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
37009
37215
|
return null;
|
|
37010
37216
|
}
|
|
37011
37217
|
|
|
37012
|
-
// bazel-out/
|
|
37218
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
37013
37219
|
var import_typescript62 = __toESM(require("typescript"), 1);
|
|
37014
37220
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
37015
37221
|
return declaration.isInline ? declaration.expression : declaration.templateUrlExpression;
|
|
@@ -37361,7 +37567,7 @@ function _extractTemplateStyleUrls(template2) {
|
|
|
37361
37567
|
}));
|
|
37362
37568
|
}
|
|
37363
37569
|
|
|
37364
|
-
// bazel-out/
|
|
37570
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
37365
37571
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
37366
37572
|
constructor() {
|
|
37367
37573
|
super(...arguments);
|
|
@@ -37396,7 +37602,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
37396
37602
|
}
|
|
37397
37603
|
};
|
|
37398
37604
|
|
|
37399
|
-
// bazel-out/
|
|
37605
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
37400
37606
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
37401
37607
|
if (value instanceof Map) {
|
|
37402
37608
|
const name = value.get("name");
|
|
@@ -37473,7 +37679,7 @@ function isLikelyModuleWithProviders(value) {
|
|
|
37473
37679
|
return false;
|
|
37474
37680
|
}
|
|
37475
37681
|
|
|
37476
|
-
// bazel-out/
|
|
37682
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
37477
37683
|
var EMPTY_ARRAY2 = [];
|
|
37478
37684
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
37479
37685
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
@@ -38482,7 +38688,7 @@ function isDefaultImport(node) {
|
|
|
38482
38688
|
return node.importClause !== void 0 && node.importClause.namedBindings === void 0;
|
|
38483
38689
|
}
|
|
38484
38690
|
|
|
38485
|
-
// bazel-out/
|
|
38691
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
38486
38692
|
var import_typescript65 = __toESM(require("typescript"), 1);
|
|
38487
38693
|
var InjectableDecoratorHandler = class {
|
|
38488
38694
|
constructor(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, perf, includeClassMetadata, compilationMode, errorOnDuplicateProv = true) {
|
|
@@ -38713,7 +38919,7 @@ function getDep(dep, reflector) {
|
|
|
38713
38919
|
return meta;
|
|
38714
38920
|
}
|
|
38715
38921
|
|
|
38716
|
-
// bazel-out/
|
|
38922
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
38717
38923
|
var import_typescript66 = __toESM(require("typescript"), 1);
|
|
38718
38924
|
var PipeSymbol = class extends SemanticSymbol {
|
|
38719
38925
|
constructor(decl, name) {
|
|
@@ -38869,13 +39075,13 @@ var PipeDecoratorHandler = class {
|
|
|
38869
39075
|
}
|
|
38870
39076
|
};
|
|
38871
39077
|
|
|
38872
|
-
// bazel-out/
|
|
39078
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/transform_api.mjs
|
|
38873
39079
|
var import_typescript67 = __toESM(require("typescript"), 1);
|
|
38874
39080
|
|
|
38875
|
-
// bazel-out/
|
|
39081
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/model_function.mjs
|
|
38876
39082
|
var import_typescript68 = __toESM(require("typescript"), 1);
|
|
38877
39083
|
|
|
38878
|
-
// bazel-out/
|
|
39084
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
38879
39085
|
var EmitFlags;
|
|
38880
39086
|
(function(EmitFlags2) {
|
|
38881
39087
|
EmitFlags2[EmitFlags2["DTS"] = 1] = "DTS";
|
|
@@ -38887,13 +39093,13 @@ var EmitFlags;
|
|
|
38887
39093
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
38888
39094
|
})(EmitFlags || (EmitFlags = {}));
|
|
38889
39095
|
|
|
38890
|
-
// bazel-out/
|
|
39096
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
38891
39097
|
var import_typescript71 = __toESM(require("typescript"), 1);
|
|
38892
39098
|
|
|
38893
|
-
// bazel-out/
|
|
39099
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
38894
39100
|
var import_typescript123 = __toESM(require("typescript"), 1);
|
|
38895
39101
|
|
|
38896
|
-
// bazel-out/
|
|
39102
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
38897
39103
|
var path2 = __toESM(require("path"), 1);
|
|
38898
39104
|
function i18nGetExtension(formatName) {
|
|
38899
39105
|
const format = formatName.toLowerCase();
|
|
@@ -38943,10 +39149,10 @@ function getPathNormalizer(basePath) {
|
|
|
38943
39149
|
};
|
|
38944
39150
|
}
|
|
38945
39151
|
|
|
38946
|
-
// bazel-out/
|
|
39152
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
38947
39153
|
var import_typescript72 = __toESM(require("typescript"), 1);
|
|
38948
39154
|
|
|
38949
|
-
// bazel-out/
|
|
39155
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
38950
39156
|
function toNumbers(value) {
|
|
38951
39157
|
const suffixIndex = value.lastIndexOf("-");
|
|
38952
39158
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -38981,7 +39187,7 @@ function compareVersions(v1, v2) {
|
|
|
38981
39187
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
38982
39188
|
}
|
|
38983
39189
|
|
|
38984
|
-
// bazel-out/
|
|
39190
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
38985
39191
|
var MIN_TS_VERSION = "5.4.0";
|
|
38986
39192
|
var MAX_TS_VERSION = "5.5.0";
|
|
38987
39193
|
var tsVersion = import_typescript72.default.version;
|
|
@@ -38994,10 +39200,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
38994
39200
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
38995
39201
|
}
|
|
38996
39202
|
|
|
38997
|
-
// bazel-out/
|
|
39203
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
38998
39204
|
var import_typescript119 = __toESM(require("typescript"), 1);
|
|
38999
39205
|
|
|
39000
|
-
// bazel-out/
|
|
39206
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
39001
39207
|
var CycleAnalyzer = class {
|
|
39002
39208
|
constructor(importGraph) {
|
|
39003
39209
|
this.importGraph = importGraph;
|
|
@@ -39068,7 +39274,7 @@ var Cycle = class {
|
|
|
39068
39274
|
}
|
|
39069
39275
|
};
|
|
39070
39276
|
|
|
39071
|
-
// bazel-out/
|
|
39277
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
39072
39278
|
var import_typescript73 = __toESM(require("typescript"), 1);
|
|
39073
39279
|
var ImportGraph = class {
|
|
39074
39280
|
constructor(checker, perf) {
|
|
@@ -39160,13 +39366,13 @@ var Found = class {
|
|
|
39160
39366
|
}
|
|
39161
39367
|
};
|
|
39162
39368
|
|
|
39163
|
-
// bazel-out/
|
|
39369
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
39164
39370
|
var import_typescript82 = __toESM(require("typescript"), 1);
|
|
39165
39371
|
|
|
39166
|
-
// bazel-out/
|
|
39372
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
39167
39373
|
var import_typescript77 = __toESM(require("typescript"), 1);
|
|
39168
39374
|
|
|
39169
|
-
// bazel-out/
|
|
39375
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
39170
39376
|
var EntryType;
|
|
39171
39377
|
(function(EntryType2) {
|
|
39172
39378
|
EntryType2["Block"] = "block";
|
|
@@ -39210,17 +39416,17 @@ var MemberTags;
|
|
|
39210
39416
|
MemberTags2["Inherited"] = "override";
|
|
39211
39417
|
})(MemberTags || (MemberTags = {}));
|
|
39212
39418
|
|
|
39213
|
-
// bazel-out/
|
|
39419
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
39214
39420
|
function isAngularPrivateName(name) {
|
|
39215
39421
|
var _a2;
|
|
39216
39422
|
const firstChar = (_a2 = name[0]) != null ? _a2 : "";
|
|
39217
39423
|
return firstChar === "\u0275" || firstChar === "_";
|
|
39218
39424
|
}
|
|
39219
39425
|
|
|
39220
|
-
// bazel-out/
|
|
39426
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
39221
39427
|
var import_typescript75 = __toESM(require("typescript"), 1);
|
|
39222
39428
|
|
|
39223
|
-
// bazel-out/
|
|
39429
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
39224
39430
|
function extractGenerics(declaration) {
|
|
39225
39431
|
var _a2, _b2;
|
|
39226
39432
|
return (_b2 = (_a2 = declaration.typeParameters) == null ? void 0 : _a2.map((typeParam) => {
|
|
@@ -39233,7 +39439,7 @@ function extractGenerics(declaration) {
|
|
|
39233
39439
|
})) != null ? _b2 : [];
|
|
39234
39440
|
}
|
|
39235
39441
|
|
|
39236
|
-
// bazel-out/
|
|
39442
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
39237
39443
|
var import_typescript74 = __toESM(require("typescript"), 1);
|
|
39238
39444
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf))/g;
|
|
39239
39445
|
function extractJsDocTags(node) {
|
|
@@ -39277,12 +39483,12 @@ function unescapeAngularDecorators(comment) {
|
|
|
39277
39483
|
return comment.replace(/_NG_AT_/g, "@");
|
|
39278
39484
|
}
|
|
39279
39485
|
|
|
39280
|
-
// bazel-out/
|
|
39486
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
39281
39487
|
function extractResolvedTypeString(node, checker) {
|
|
39282
39488
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
39283
39489
|
}
|
|
39284
39490
|
|
|
39285
|
-
// bazel-out/
|
|
39491
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
39286
39492
|
var FunctionExtractor = class {
|
|
39287
39493
|
constructor(name, declaration, typeChecker) {
|
|
39288
39494
|
this.name = name;
|
|
@@ -39341,7 +39547,7 @@ function extractAllParams(params, typeChecker) {
|
|
|
39341
39547
|
}));
|
|
39342
39548
|
}
|
|
39343
39549
|
|
|
39344
|
-
// bazel-out/
|
|
39550
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
|
|
39345
39551
|
var import_typescript76 = __toESM(require("typescript"), 1);
|
|
39346
39552
|
function isInternal(member) {
|
|
39347
39553
|
return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
|
|
@@ -39360,7 +39566,7 @@ function hasLeadingInternalComment(member) {
|
|
|
39360
39566
|
)) != null ? _a2 : false;
|
|
39361
39567
|
}
|
|
39362
39568
|
|
|
39363
|
-
// bazel-out/
|
|
39569
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
39364
39570
|
var ClassExtractor = class {
|
|
39365
39571
|
constructor(declaration, typeChecker) {
|
|
39366
39572
|
this.declaration = declaration;
|
|
@@ -39612,7 +39818,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
39612
39818
|
return extractor.extract();
|
|
39613
39819
|
}
|
|
39614
39820
|
|
|
39615
|
-
// bazel-out/
|
|
39821
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
39616
39822
|
var import_typescript78 = __toESM(require("typescript"), 1);
|
|
39617
39823
|
var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
|
|
39618
39824
|
function extractConstant(declaration, typeChecker) {
|
|
@@ -39670,7 +39876,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
|
|
|
39670
39876
|
});
|
|
39671
39877
|
}
|
|
39672
39878
|
|
|
39673
|
-
// bazel-out/
|
|
39879
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
39674
39880
|
var import_typescript79 = __toESM(require("typescript"), 1);
|
|
39675
39881
|
function extractorDecorator(declaration, typeChecker) {
|
|
39676
39882
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -39743,7 +39949,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
39743
39949
|
return callSignature;
|
|
39744
39950
|
}
|
|
39745
39951
|
|
|
39746
|
-
// bazel-out/
|
|
39952
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
39747
39953
|
var import_typescript80 = __toESM(require("typescript"), 1);
|
|
39748
39954
|
function extractEnum(declaration, typeChecker) {
|
|
39749
39955
|
return {
|
|
@@ -39774,7 +39980,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
39774
39980
|
return (_a2 = literal3 == null ? void 0 : literal3.getText()) != null ? _a2 : "";
|
|
39775
39981
|
}
|
|
39776
39982
|
|
|
39777
|
-
// bazel-out/
|
|
39983
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
|
|
39778
39984
|
var import_typescript81 = __toESM(require("typescript"), 1);
|
|
39779
39985
|
var initializerApiTag = "initializerApiFunction";
|
|
39780
39986
|
function isInitializerApiFunction(node, typeChecker) {
|
|
@@ -39911,7 +40117,7 @@ function findImplementationOfFunction(node, typeChecker) {
|
|
|
39911
40117
|
return (_a2 = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _a2.find((s) => import_typescript81.default.isFunctionDeclaration(s) && s.body !== void 0);
|
|
39912
40118
|
}
|
|
39913
40119
|
|
|
39914
|
-
// bazel-out/
|
|
40120
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
39915
40121
|
function extractTypeAlias(declaration) {
|
|
39916
40122
|
return {
|
|
39917
40123
|
name: declaration.name.getText(),
|
|
@@ -39923,7 +40129,7 @@ function extractTypeAlias(declaration) {
|
|
|
39923
40129
|
};
|
|
39924
40130
|
}
|
|
39925
40131
|
|
|
39926
|
-
// bazel-out/
|
|
40132
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
39927
40133
|
var DocsExtractor = class {
|
|
39928
40134
|
constructor(typeChecker, metadataReader) {
|
|
39929
40135
|
this.typeChecker = typeChecker;
|
|
@@ -40007,7 +40213,7 @@ function getRelativeFilePath(sourceFile, rootDir) {
|
|
|
40007
40213
|
return relativePath;
|
|
40008
40214
|
}
|
|
40009
40215
|
|
|
40010
|
-
// bazel-out/
|
|
40216
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
40011
40217
|
var import_typescript83 = __toESM(require("typescript"), 1);
|
|
40012
40218
|
var FlatIndexGenerator = class {
|
|
40013
40219
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -40032,7 +40238,7 @@ export * from '${relativeEntryPoint}';
|
|
|
40032
40238
|
}
|
|
40033
40239
|
};
|
|
40034
40240
|
|
|
40035
|
-
// bazel-out/
|
|
40241
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
40036
40242
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
40037
40243
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
40038
40244
|
let resolvedEntryPoint = null;
|
|
@@ -40048,7 +40254,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
40048
40254
|
return resolvedEntryPoint;
|
|
40049
40255
|
}
|
|
40050
40256
|
|
|
40051
|
-
// bazel-out/
|
|
40257
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
40052
40258
|
var import_typescript85 = __toESM(require("typescript"), 1);
|
|
40053
40259
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
40054
40260
|
const diagnostics = [];
|
|
@@ -40128,7 +40334,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
40128
40334
|
}
|
|
40129
40335
|
}
|
|
40130
40336
|
|
|
40131
|
-
// bazel-out/
|
|
40337
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
40132
40338
|
var ReferenceGraph = class {
|
|
40133
40339
|
constructor() {
|
|
40134
40340
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -40182,7 +40388,7 @@ var ReferenceGraph = class {
|
|
|
40182
40388
|
}
|
|
40183
40389
|
};
|
|
40184
40390
|
|
|
40185
|
-
// bazel-out/
|
|
40391
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
40186
40392
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
40187
40393
|
var UpdateMode;
|
|
40188
40394
|
(function(UpdateMode2) {
|
|
@@ -40190,13 +40396,13 @@ var UpdateMode;
|
|
|
40190
40396
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
40191
40397
|
})(UpdateMode || (UpdateMode = {}));
|
|
40192
40398
|
|
|
40193
|
-
// bazel-out/
|
|
40399
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
40194
40400
|
var import_typescript89 = __toESM(require("typescript"), 1);
|
|
40195
40401
|
|
|
40196
|
-
// bazel-out/
|
|
40402
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
40197
40403
|
var import_typescript86 = __toESM(require("typescript"), 1);
|
|
40198
40404
|
|
|
40199
|
-
// bazel-out/
|
|
40405
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
40200
40406
|
var NgExtension = Symbol("NgExtension");
|
|
40201
40407
|
function isExtended(sf) {
|
|
40202
40408
|
return sf[NgExtension] !== void 0;
|
|
@@ -40256,13 +40462,13 @@ function retagTsFile(sf) {
|
|
|
40256
40462
|
}
|
|
40257
40463
|
}
|
|
40258
40464
|
|
|
40259
|
-
// bazel-out/
|
|
40465
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
40260
40466
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
40261
40467
|
function makeShimFileName(fileName, suffix) {
|
|
40262
40468
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
40263
40469
|
}
|
|
40264
40470
|
|
|
40265
|
-
// bazel-out/
|
|
40471
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
40266
40472
|
var ShimAdapter = class {
|
|
40267
40473
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
40268
40474
|
this.delegate = delegate;
|
|
@@ -40357,7 +40563,7 @@ var ShimAdapter = class {
|
|
|
40357
40563
|
}
|
|
40358
40564
|
};
|
|
40359
40565
|
|
|
40360
|
-
// bazel-out/
|
|
40566
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
40361
40567
|
var ShimReferenceTagger = class {
|
|
40362
40568
|
constructor(shimExtensions) {
|
|
40363
40569
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -40391,7 +40597,7 @@ var ShimReferenceTagger = class {
|
|
|
40391
40597
|
}
|
|
40392
40598
|
};
|
|
40393
40599
|
|
|
40394
|
-
// bazel-out/
|
|
40600
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
40395
40601
|
var DelegatingCompilerHost = class {
|
|
40396
40602
|
get jsDocParsingMode() {
|
|
40397
40603
|
return this.delegate.jsDocParsingMode;
|
|
@@ -40510,7 +40716,7 @@ var TsCreateProgramDriver = class {
|
|
|
40510
40716
|
}
|
|
40511
40717
|
};
|
|
40512
40718
|
|
|
40513
|
-
// bazel-out/
|
|
40719
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
40514
40720
|
var FileDependencyGraph = class {
|
|
40515
40721
|
constructor() {
|
|
40516
40722
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -40577,7 +40783,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
40577
40783
|
return false;
|
|
40578
40784
|
}
|
|
40579
40785
|
|
|
40580
|
-
// bazel-out/
|
|
40786
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
40581
40787
|
var IncrementalStateKind;
|
|
40582
40788
|
(function(IncrementalStateKind2) {
|
|
40583
40789
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -40585,7 +40791,7 @@ var IncrementalStateKind;
|
|
|
40585
40791
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
40586
40792
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
40587
40793
|
|
|
40588
|
-
// bazel-out/
|
|
40794
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
40589
40795
|
var PhaseKind;
|
|
40590
40796
|
(function(PhaseKind2) {
|
|
40591
40797
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -40786,7 +40992,7 @@ function toOriginalSourceFile(sf) {
|
|
|
40786
40992
|
}
|
|
40787
40993
|
}
|
|
40788
40994
|
|
|
40789
|
-
// bazel-out/
|
|
40995
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
40790
40996
|
var TrackedIncrementalBuildStrategy = class {
|
|
40791
40997
|
constructor() {
|
|
40792
40998
|
this.state = null;
|
|
@@ -40807,7 +41013,7 @@ var TrackedIncrementalBuildStrategy = class {
|
|
|
40807
41013
|
};
|
|
40808
41014
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
40809
41015
|
|
|
40810
|
-
// bazel-out/
|
|
41016
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
40811
41017
|
var IdentifierKind;
|
|
40812
41018
|
(function(IdentifierKind2) {
|
|
40813
41019
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -40826,7 +41032,7 @@ var AbsoluteSourceSpan2 = class {
|
|
|
40826
41032
|
}
|
|
40827
41033
|
};
|
|
40828
41034
|
|
|
40829
|
-
// bazel-out/
|
|
41035
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
40830
41036
|
var IndexingContext = class {
|
|
40831
41037
|
constructor() {
|
|
40832
41038
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -40836,7 +41042,7 @@ var IndexingContext = class {
|
|
|
40836
41042
|
}
|
|
40837
41043
|
};
|
|
40838
41044
|
|
|
40839
|
-
// bazel-out/
|
|
41045
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
40840
41046
|
var ExpressionVisitor = class extends RecursiveAstVisitor2 {
|
|
40841
41047
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
40842
41048
|
super();
|
|
@@ -41130,7 +41336,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
41130
41336
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
41131
41337
|
}
|
|
41132
41338
|
|
|
41133
|
-
// bazel-out/
|
|
41339
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
41134
41340
|
function generateAnalysis(context) {
|
|
41135
41341
|
const analysis = /* @__PURE__ */ new Map();
|
|
41136
41342
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -41166,7 +41372,7 @@ function generateAnalysis(context) {
|
|
|
41166
41372
|
return analysis;
|
|
41167
41373
|
}
|
|
41168
41374
|
|
|
41169
|
-
// bazel-out/
|
|
41375
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
41170
41376
|
var NgModuleIndexImpl = class {
|
|
41171
41377
|
constructor(metaReader, localReader) {
|
|
41172
41378
|
this.metaReader = metaReader;
|
|
@@ -41255,7 +41461,7 @@ var NgModuleIndexImpl = class {
|
|
|
41255
41461
|
}
|
|
41256
41462
|
};
|
|
41257
41463
|
|
|
41258
|
-
// bazel-out/
|
|
41464
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
41259
41465
|
var import_typescript92 = __toESM(require("typescript"), 1);
|
|
41260
41466
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
41261
41467
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -41407,7 +41613,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
41407
41613
|
};
|
|
41408
41614
|
}
|
|
41409
41615
|
|
|
41410
|
-
// bazel-out/
|
|
41616
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
41411
41617
|
var StandaloneComponentScopeReader = class {
|
|
41412
41618
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
41413
41619
|
this.metaReader = metaReader;
|
|
@@ -41503,14 +41709,14 @@ var StandaloneComponentScopeReader = class {
|
|
|
41503
41709
|
}
|
|
41504
41710
|
};
|
|
41505
41711
|
|
|
41506
|
-
// bazel-out/
|
|
41712
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
41507
41713
|
var OptimizeFor;
|
|
41508
41714
|
(function(OptimizeFor2) {
|
|
41509
41715
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
41510
41716
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
41511
41717
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
41512
41718
|
|
|
41513
|
-
// bazel-out/
|
|
41719
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
41514
41720
|
var CompletionKind;
|
|
41515
41721
|
(function(CompletionKind2) {
|
|
41516
41722
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
@@ -41518,7 +41724,7 @@ var CompletionKind;
|
|
|
41518
41724
|
CompletionKind2[CompletionKind2["LetDeclaration"] = 2] = "LetDeclaration";
|
|
41519
41725
|
})(CompletionKind || (CompletionKind = {}));
|
|
41520
41726
|
|
|
41521
|
-
// bazel-out/
|
|
41727
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
41522
41728
|
var PotentialImportKind;
|
|
41523
41729
|
(function(PotentialImportKind2) {
|
|
41524
41730
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -41530,7 +41736,7 @@ var PotentialImportMode;
|
|
|
41530
41736
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
41531
41737
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
41532
41738
|
|
|
41533
|
-
// bazel-out/
|
|
41739
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
41534
41740
|
var SymbolKind;
|
|
41535
41741
|
(function(SymbolKind2) {
|
|
41536
41742
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -41547,7 +41753,7 @@ var SymbolKind;
|
|
|
41547
41753
|
SymbolKind2[SymbolKind2["LetDeclaration"] = 11] = "LetDeclaration";
|
|
41548
41754
|
})(SymbolKind || (SymbolKind = {}));
|
|
41549
41755
|
|
|
41550
|
-
// bazel-out/
|
|
41756
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
41551
41757
|
var import_typescript93 = __toESM(require("typescript"), 1);
|
|
41552
41758
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
41553
41759
|
var _a2;
|
|
@@ -41658,7 +41864,7 @@ function parseTemplateAsSourceFile(fileName, template2) {
|
|
|
41658
41864
|
);
|
|
41659
41865
|
}
|
|
41660
41866
|
|
|
41661
|
-
// bazel-out/
|
|
41867
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
41662
41868
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
41663
41869
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
41664
41870
|
function getTemplateId(clazz) {
|
|
@@ -41675,10 +41881,10 @@ function allocateTemplateId(sf) {
|
|
|
41675
41881
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
41676
41882
|
}
|
|
41677
41883
|
|
|
41678
|
-
// bazel-out/
|
|
41884
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
41679
41885
|
var import_typescript95 = __toESM(require("typescript"), 1);
|
|
41680
41886
|
|
|
41681
|
-
// bazel-out/
|
|
41887
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
41682
41888
|
var import_typescript94 = __toESM(require("typescript"), 1);
|
|
41683
41889
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
41684
41890
|
function readSpanComment(node, sourceFile = node.getSourceFile()) {
|
|
@@ -41808,7 +42014,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
41808
42014
|
}) || false;
|
|
41809
42015
|
}
|
|
41810
42016
|
|
|
41811
|
-
// bazel-out/
|
|
42017
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
41812
42018
|
var CompletionEngine = class {
|
|
41813
42019
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
41814
42020
|
this.tcb = tcb;
|
|
@@ -43071,10 +43277,10 @@ var MagicString = class {
|
|
|
43071
43277
|
}
|
|
43072
43278
|
};
|
|
43073
43279
|
|
|
43074
|
-
// bazel-out/
|
|
43280
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
43075
43281
|
var import_typescript109 = __toESM(require("typescript"), 1);
|
|
43076
43282
|
|
|
43077
|
-
// bazel-out/
|
|
43283
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
43078
43284
|
var import_typescript96 = __toESM(require("typescript"), 1);
|
|
43079
43285
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
43080
43286
|
var REMOVE_XHTML_REGEX = /^:xhtml:/;
|
|
@@ -43126,10 +43332,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
43126
43332
|
}
|
|
43127
43333
|
};
|
|
43128
43334
|
|
|
43129
|
-
// bazel-out/
|
|
43335
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
43130
43336
|
var import_typescript102 = __toESM(require("typescript"), 1);
|
|
43131
43337
|
|
|
43132
|
-
// bazel-out/
|
|
43338
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
|
|
43133
43339
|
var ReferenceEmitEnvironment = class {
|
|
43134
43340
|
constructor(importManager, refEmitter, reflector, contextFile) {
|
|
43135
43341
|
this.importManager = importManager;
|
|
@@ -43159,7 +43365,7 @@ var ReferenceEmitEnvironment = class {
|
|
|
43159
43365
|
}
|
|
43160
43366
|
};
|
|
43161
43367
|
|
|
43162
|
-
// bazel-out/
|
|
43368
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
43163
43369
|
var import_typescript97 = __toESM(require("typescript"), 1);
|
|
43164
43370
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
43165
43371
|
import_typescript97.default.SyntaxKind.ParenthesizedExpression,
|
|
@@ -43242,13 +43448,13 @@ function tsNumericExpression2(value) {
|
|
|
43242
43448
|
return import_typescript97.default.factory.createNumericLiteral(value);
|
|
43243
43449
|
}
|
|
43244
43450
|
|
|
43245
|
-
// bazel-out/
|
|
43451
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
43246
43452
|
var import_typescript101 = __toESM(require("typescript"), 1);
|
|
43247
43453
|
|
|
43248
|
-
// bazel-out/
|
|
43454
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
43249
43455
|
var import_typescript99 = __toESM(require("typescript"), 1);
|
|
43250
43456
|
|
|
43251
|
-
// bazel-out/
|
|
43457
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
43252
43458
|
var import_typescript98 = __toESM(require("typescript"), 1);
|
|
43253
43459
|
var TypeParameterEmitter = class {
|
|
43254
43460
|
constructor(typeParameters, reflector) {
|
|
@@ -43326,7 +43532,7 @@ var TypeParameterEmitter = class {
|
|
|
43326
43532
|
}
|
|
43327
43533
|
};
|
|
43328
43534
|
|
|
43329
|
-
// bazel-out/
|
|
43535
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
43330
43536
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
43331
43537
|
Identifiers.InputSignalBrandWriteType
|
|
43332
43538
|
];
|
|
@@ -43418,7 +43624,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
43418
43624
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
43419
43625
|
}
|
|
43420
43626
|
|
|
43421
|
-
// bazel-out/
|
|
43627
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
43422
43628
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
43423
43629
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
43424
43630
|
const rawType = import_typescript101.default.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -43541,7 +43747,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
43541
43747
|
});
|
|
43542
43748
|
}
|
|
43543
43749
|
|
|
43544
|
-
// bazel-out/
|
|
43750
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
43545
43751
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
43546
43752
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
43547
43753
|
super(importManager, refEmitter, reflector, contextFile);
|
|
@@ -43613,7 +43819,7 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
43613
43819
|
}
|
|
43614
43820
|
};
|
|
43615
43821
|
|
|
43616
|
-
// bazel-out/
|
|
43822
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
43617
43823
|
var import_typescript103 = __toESM(require("typescript"), 1);
|
|
43618
43824
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
43619
43825
|
constructor(resolver) {
|
|
@@ -43813,7 +44019,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
43813
44019
|
});
|
|
43814
44020
|
}
|
|
43815
44021
|
|
|
43816
|
-
// bazel-out/
|
|
44022
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
43817
44023
|
var import_typescript104 = __toESM(require("typescript"), 1);
|
|
43818
44024
|
var TypeCheckShimGenerator = class {
|
|
43819
44025
|
constructor() {
|
|
@@ -43831,10 +44037,10 @@ var TypeCheckShimGenerator = class {
|
|
|
43831
44037
|
}
|
|
43832
44038
|
};
|
|
43833
44039
|
|
|
43834
|
-
// bazel-out/
|
|
44040
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
43835
44041
|
var import_typescript107 = __toESM(require("typescript"), 1);
|
|
43836
44042
|
|
|
43837
|
-
// bazel-out/
|
|
44043
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
43838
44044
|
var import_typescript105 = __toESM(require("typescript"), 1);
|
|
43839
44045
|
function wrapForDiagnostics(expr) {
|
|
43840
44046
|
return import_typescript105.default.factory.createParenthesizedExpression(expr);
|
|
@@ -43889,7 +44095,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
43889
44095
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
43890
44096
|
}
|
|
43891
44097
|
|
|
43892
|
-
// bazel-out/
|
|
44098
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
43893
44099
|
var import_typescript106 = __toESM(require("typescript"), 1);
|
|
43894
44100
|
var NULL_AS_ANY = import_typescript106.default.factory.createAsExpression(import_typescript106.default.factory.createNull(), import_typescript106.default.factory.createKeywordTypeNode(import_typescript106.default.SyntaxKind.AnyKeyword));
|
|
43895
44101
|
var UNDEFINED = import_typescript106.default.factory.createIdentifier("undefined");
|
|
@@ -44221,7 +44427,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
44221
44427
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
44222
44428
|
})();
|
|
44223
44429
|
|
|
44224
|
-
// bazel-out/
|
|
44430
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
44225
44431
|
var TcbGenericContextBehavior;
|
|
44226
44432
|
(function(TcbGenericContextBehavior2) {
|
|
44227
44433
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -45798,7 +46004,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
45798
46004
|
}
|
|
45799
46005
|
};
|
|
45800
46006
|
|
|
45801
|
-
// bazel-out/
|
|
46007
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
45802
46008
|
var import_typescript108 = __toESM(require("typescript"), 1);
|
|
45803
46009
|
var TypeCheckFile = class extends Environment {
|
|
45804
46010
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -45846,7 +46052,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
45846
46052
|
}
|
|
45847
46053
|
};
|
|
45848
46054
|
|
|
45849
|
-
// bazel-out/
|
|
46055
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
45850
46056
|
var InliningMode;
|
|
45851
46057
|
(function(InliningMode2) {
|
|
45852
46058
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -46098,7 +46304,7 @@ var TypeCtorOp = class {
|
|
|
46098
46304
|
}
|
|
46099
46305
|
};
|
|
46100
46306
|
|
|
46101
|
-
// bazel-out/
|
|
46307
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
46102
46308
|
var LF_CHAR = 10;
|
|
46103
46309
|
var CR_CHAR = 13;
|
|
46104
46310
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -46139,7 +46345,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
46139
46345
|
return low - 1;
|
|
46140
46346
|
}
|
|
46141
46347
|
|
|
46142
|
-
// bazel-out/
|
|
46348
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
46143
46349
|
var TemplateSource = class {
|
|
46144
46350
|
constructor(mapping, file) {
|
|
46145
46351
|
this.mapping = mapping;
|
|
@@ -46190,7 +46396,7 @@ var TemplateSourceManager = class {
|
|
|
46190
46396
|
}
|
|
46191
46397
|
};
|
|
46192
46398
|
|
|
46193
|
-
// bazel-out/
|
|
46399
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
46194
46400
|
var import_typescript110 = __toESM(require("typescript"), 1);
|
|
46195
46401
|
var SymbolBuilder = class {
|
|
46196
46402
|
constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
|
|
@@ -46757,7 +46963,7 @@ function unwrapSignalInputWriteTAccessor(expr) {
|
|
|
46757
46963
|
};
|
|
46758
46964
|
}
|
|
46759
46965
|
|
|
46760
|
-
// bazel-out/
|
|
46966
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
46761
46967
|
var REGISTRY2 = new DomElementSchemaRegistry();
|
|
46762
46968
|
var TemplateTypeCheckerImpl = class {
|
|
46763
46969
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -47457,7 +47663,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
47457
47663
|
}
|
|
47458
47664
|
};
|
|
47459
47665
|
|
|
47460
|
-
// bazel-out/
|
|
47666
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
|
|
47461
47667
|
var import_typescript113 = __toESM(require("typescript"), 1);
|
|
47462
47668
|
var SIGNAL_FNS = /* @__PURE__ */ new Set([
|
|
47463
47669
|
"WritableSignal",
|
|
@@ -47477,7 +47683,7 @@ function isSignalSymbol(symbol) {
|
|
|
47477
47683
|
});
|
|
47478
47684
|
}
|
|
47479
47685
|
|
|
47480
|
-
// bazel-out/
|
|
47686
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
47481
47687
|
var TemplateCheckWithVisitor = class {
|
|
47482
47688
|
run(ctx, component, template2) {
|
|
47483
47689
|
const visitor = new TemplateVisitor2(ctx, component, this);
|
|
@@ -47604,7 +47810,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
47604
47810
|
}
|
|
47605
47811
|
};
|
|
47606
47812
|
|
|
47607
|
-
// bazel-out/
|
|
47813
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
47608
47814
|
var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
|
|
47609
47815
|
var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
|
|
47610
47816
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -47656,7 +47862,7 @@ var factory = {
|
|
|
47656
47862
|
create: () => new InterpolatedSignalCheck()
|
|
47657
47863
|
};
|
|
47658
47864
|
|
|
47659
|
-
// bazel-out/
|
|
47865
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
47660
47866
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
47661
47867
|
constructor() {
|
|
47662
47868
|
super(...arguments);
|
|
@@ -47681,7 +47887,7 @@ var factory2 = {
|
|
|
47681
47887
|
create: () => new InvalidBananaInBoxCheck()
|
|
47682
47888
|
};
|
|
47683
47889
|
|
|
47684
|
-
// bazel-out/
|
|
47890
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
47685
47891
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
47686
47892
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
47687
47893
|
["ngFor", { directive: "NgFor", builtIn: "@for" }],
|
|
@@ -47725,7 +47931,7 @@ var factory3 = {
|
|
|
47725
47931
|
}
|
|
47726
47932
|
};
|
|
47727
47933
|
|
|
47728
|
-
// bazel-out/
|
|
47934
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
47729
47935
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
47730
47936
|
constructor() {
|
|
47731
47937
|
super(...arguments);
|
|
@@ -47757,7 +47963,7 @@ var factory4 = {
|
|
|
47757
47963
|
create: () => new MissingNgForOfLetCheck()
|
|
47758
47964
|
};
|
|
47759
47965
|
|
|
47760
|
-
// bazel-out/
|
|
47966
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
47761
47967
|
var import_typescript114 = __toESM(require("typescript"), 1);
|
|
47762
47968
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
47763
47969
|
constructor() {
|
|
@@ -47801,7 +48007,7 @@ var factory5 = {
|
|
|
47801
48007
|
}
|
|
47802
48008
|
};
|
|
47803
48009
|
|
|
47804
|
-
// bazel-out/
|
|
48010
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
47805
48011
|
var import_typescript115 = __toESM(require("typescript"), 1);
|
|
47806
48012
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
47807
48013
|
constructor() {
|
|
@@ -47846,7 +48052,7 @@ var factory6 = {
|
|
|
47846
48052
|
}
|
|
47847
48053
|
};
|
|
47848
48054
|
|
|
47849
|
-
// bazel-out/
|
|
48055
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
47850
48056
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
47851
48057
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
47852
48058
|
constructor() {
|
|
@@ -47869,7 +48075,7 @@ var factory7 = {
|
|
|
47869
48075
|
create: () => new SuffixNotSupportedCheck()
|
|
47870
48076
|
};
|
|
47871
48077
|
|
|
47872
|
-
// bazel-out/
|
|
48078
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
47873
48079
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
47874
48080
|
constructor() {
|
|
47875
48081
|
super(...arguments);
|
|
@@ -47907,10 +48113,10 @@ var factory8 = {
|
|
|
47907
48113
|
create: () => new TextAttributeNotBindingSpec()
|
|
47908
48114
|
};
|
|
47909
48115
|
|
|
47910
|
-
// bazel-out/
|
|
48116
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
47911
48117
|
var import_typescript116 = __toESM(require("typescript"), 1);
|
|
47912
48118
|
|
|
47913
|
-
// bazel-out/
|
|
48119
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
47914
48120
|
var DiagnosticCategoryLabel;
|
|
47915
48121
|
(function(DiagnosticCategoryLabel2) {
|
|
47916
48122
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -47918,7 +48124,7 @@ var DiagnosticCategoryLabel;
|
|
|
47918
48124
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
47919
48125
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
47920
48126
|
|
|
47921
|
-
// bazel-out/
|
|
48127
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
47922
48128
|
var ExtendedTemplateCheckerImpl = class {
|
|
47923
48129
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
47924
48130
|
var _a2, _b2, _c2, _d2, _e2;
|
|
@@ -47970,7 +48176,7 @@ function assertNever(value) {
|
|
|
47970
48176
|
${value}`);
|
|
47971
48177
|
}
|
|
47972
48178
|
|
|
47973
|
-
// bazel-out/
|
|
48179
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
47974
48180
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
47975
48181
|
factory2,
|
|
47976
48182
|
factory5,
|
|
@@ -47986,7 +48192,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
|
47986
48192
|
...ALL_DIAGNOSTIC_FACTORIES.map((factory9) => factory9.name)
|
|
47987
48193
|
]);
|
|
47988
48194
|
|
|
47989
|
-
// bazel-out/
|
|
48195
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
|
|
47990
48196
|
var import_typescript117 = __toESM(require("typescript"), 1);
|
|
47991
48197
|
var TemplateSemanticsCheckerImpl = class {
|
|
47992
48198
|
constructor(templateTypeChecker) {
|
|
@@ -48076,7 +48282,7 @@ function unwrapAstWithSource(ast) {
|
|
|
48076
48282
|
return ast instanceof ASTWithSource ? ast.ast : ast;
|
|
48077
48283
|
}
|
|
48078
48284
|
|
|
48079
|
-
// bazel-out/
|
|
48285
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
|
|
48080
48286
|
var import_typescript118 = __toESM(require("typescript"), 1);
|
|
48081
48287
|
var APIS_TO_CHECK = [
|
|
48082
48288
|
INPUT_INITIALIZER_FN,
|
|
@@ -48127,7 +48333,7 @@ var InitializerApiUsageRule = class {
|
|
|
48127
48333
|
}
|
|
48128
48334
|
};
|
|
48129
48335
|
|
|
48130
|
-
// bazel-out/
|
|
48336
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
|
|
48131
48337
|
var SourceFileValidator = class {
|
|
48132
48338
|
constructor(reflector, importedSymbolsTracker) {
|
|
48133
48339
|
this.rules = [new InitializerApiUsageRule(reflector, importedSymbolsTracker)];
|
|
@@ -48165,7 +48371,7 @@ var SourceFileValidator = class {
|
|
|
48165
48371
|
}
|
|
48166
48372
|
};
|
|
48167
48373
|
|
|
48168
|
-
// bazel-out/
|
|
48374
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
|
|
48169
48375
|
function coreHasSymbol(program, symbol) {
|
|
48170
48376
|
const checker = program.getTypeChecker();
|
|
48171
48377
|
for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
|
|
@@ -48184,7 +48390,7 @@ function isMaybeCore(sf) {
|
|
|
48184
48390
|
return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
|
|
48185
48391
|
}
|
|
48186
48392
|
|
|
48187
|
-
// bazel-out/
|
|
48393
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
|
|
48188
48394
|
var import_semver = __toESM(require_semver2(), 1);
|
|
48189
48395
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
48190
48396
|
if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
|
|
@@ -48193,7 +48399,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
|
48193
48399
|
return import_semver.default.satisfies(coreVersion, minVersion);
|
|
48194
48400
|
}
|
|
48195
48401
|
|
|
48196
|
-
// bazel-out/
|
|
48402
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
48197
48403
|
var CompilationTicketKind;
|
|
48198
48404
|
(function(CompilationTicketKind2) {
|
|
48199
48405
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -48976,7 +49182,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
48976
49182
|
return versions;
|
|
48977
49183
|
}
|
|
48978
49184
|
|
|
48979
|
-
// bazel-out/
|
|
49185
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
48980
49186
|
var import_typescript121 = __toESM(require("typescript"), 1);
|
|
48981
49187
|
var DelegatingCompilerHost2 = class {
|
|
48982
49188
|
get jsDocParsingMode() {
|
|
@@ -49115,7 +49321,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
49115
49321
|
}
|
|
49116
49322
|
};
|
|
49117
49323
|
|
|
49118
|
-
// bazel-out/
|
|
49324
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
49119
49325
|
var NgtscProgram = class {
|
|
49120
49326
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
49121
49327
|
this.options = options;
|
|
@@ -49342,18 +49548,18 @@ function mergeEmitResults(emitResults) {
|
|
|
49342
49548
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
49343
49549
|
}
|
|
49344
49550
|
|
|
49345
|
-
// bazel-out/
|
|
49551
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
49346
49552
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
49347
49553
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
49348
49554
|
}
|
|
49349
49555
|
|
|
49350
|
-
// bazel-out/
|
|
49556
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
49351
49557
|
var import_typescript125 = __toESM(require("typescript"), 1);
|
|
49352
49558
|
|
|
49353
|
-
// bazel-out/
|
|
49559
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
49354
49560
|
var import_typescript124 = __toESM(require("typescript"), 1);
|
|
49355
49561
|
|
|
49356
|
-
// bazel-out/
|
|
49562
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
49357
49563
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
49358
49564
|
ngDevMode: false,
|
|
49359
49565
|
ngI18nClosureMode: false
|
|
@@ -49362,7 +49568,7 @@ var GLOBAL_DEFS_FOR_TERSER_WITH_AOT = __spreadProps(__spreadValues({}, GLOBAL_DE
|
|
|
49362
49568
|
ngJitMode: false
|
|
49363
49569
|
});
|
|
49364
49570
|
|
|
49365
|
-
// bazel-out/
|
|
49571
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
49366
49572
|
var LogLevel;
|
|
49367
49573
|
(function(LogLevel2) {
|
|
49368
49574
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -49371,7 +49577,7 @@ var LogLevel;
|
|
|
49371
49577
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
49372
49578
|
})(LogLevel || (LogLevel = {}));
|
|
49373
49579
|
|
|
49374
|
-
// bazel-out/
|
|
49580
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
49375
49581
|
var RESET = "\x1B[0m";
|
|
49376
49582
|
var RED = "\x1B[31m";
|
|
49377
49583
|
var YELLOW = "\x1B[33m";
|
|
@@ -49380,18 +49586,18 @@ var DEBUG = `${BLUE}Debug:${RESET}`;
|
|
|
49380
49586
|
var WARN = `${YELLOW}Warning:${RESET}`;
|
|
49381
49587
|
var ERROR = `${RED}Error:${RESET}`;
|
|
49382
49588
|
|
|
49383
|
-
// bazel-out/
|
|
49589
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
49384
49590
|
setFileSystem(new NodeJSFileSystem());
|
|
49385
49591
|
|
|
49386
|
-
// bazel-out/
|
|
49592
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
49387
49593
|
var import_fs2 = require("fs");
|
|
49388
49594
|
var import_path8 = require("path");
|
|
49389
49595
|
var import_typescript138 = __toESM(require("typescript"), 1);
|
|
49390
49596
|
|
|
49391
|
-
// bazel-out/
|
|
49597
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
49392
49598
|
var import_typescript127 = __toESM(require("typescript"), 1);
|
|
49393
49599
|
|
|
49394
|
-
// bazel-out/
|
|
49600
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
|
|
49395
49601
|
var import_path4 = require("path");
|
|
49396
49602
|
var import_typescript126 = __toESM(require("typescript"), 1);
|
|
49397
49603
|
var ImportManager2 = class {
|
|
@@ -49575,7 +49781,7 @@ ${text2}`;
|
|
|
49575
49781
|
}
|
|
49576
49782
|
};
|
|
49577
49783
|
|
|
49578
|
-
// bazel-out/
|
|
49784
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
49579
49785
|
var ChangeTracker = class {
|
|
49580
49786
|
constructor(_printer, _importRemapper) {
|
|
49581
49787
|
__publicField(this, "_printer");
|
|
@@ -49638,7 +49844,7 @@ function normalizePath(path4) {
|
|
|
49638
49844
|
return path4.replace(/\\/g, "/");
|
|
49639
49845
|
}
|
|
49640
49846
|
|
|
49641
|
-
// bazel-out/
|
|
49847
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
49642
49848
|
var import_core19 = require("@angular-devkit/core");
|
|
49643
49849
|
function getProjectTsConfigPaths(tree) {
|
|
49644
49850
|
return __async(this, null, function* () {
|
|
@@ -49718,11 +49924,11 @@ function getWorkspace(tree) {
|
|
|
49718
49924
|
});
|
|
49719
49925
|
}
|
|
49720
49926
|
|
|
49721
|
-
// bazel-out/
|
|
49927
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
49722
49928
|
var import_path5 = require("path");
|
|
49723
49929
|
var import_typescript129 = __toESM(require("typescript"), 1);
|
|
49724
49930
|
|
|
49725
|
-
// bazel-out/
|
|
49931
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
49726
49932
|
var path3 = __toESM(require("path"), 1);
|
|
49727
49933
|
var import_typescript128 = __toESM(require("typescript"), 1);
|
|
49728
49934
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -49739,7 +49945,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
49739
49945
|
return import_typescript128.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
49740
49946
|
}
|
|
49741
49947
|
|
|
49742
|
-
// bazel-out/
|
|
49948
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
49743
49949
|
function createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles, optionOverrides) {
|
|
49744
49950
|
tsconfigPath = (0, import_path5.resolve)(basePath, tsconfigPath);
|
|
49745
49951
|
const parsed = parseTsconfigFile(tsconfigPath, (0, import_path5.dirname)(tsconfigPath));
|
|
@@ -49768,13 +49974,13 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
49768
49974
|
return !(0, import_path5.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
49769
49975
|
}
|
|
49770
49976
|
|
|
49771
|
-
// bazel-out/
|
|
49977
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
49772
49978
|
var import_typescript134 = __toESM(require("typescript"), 1);
|
|
49773
49979
|
|
|
49774
|
-
// bazel-out/
|
|
49980
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
49775
49981
|
var import_typescript131 = __toESM(require("typescript"), 1);
|
|
49776
49982
|
|
|
49777
|
-
// bazel-out/
|
|
49983
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
|
|
49778
49984
|
var import_typescript130 = __toESM(require("typescript"), 1);
|
|
49779
49985
|
function getImportOfIdentifier(typeChecker, node) {
|
|
49780
49986
|
const symbol = typeChecker.getSymbolAtLocation(node);
|
|
@@ -49825,7 +50031,7 @@ function findImportSpecifier(nodes, specifierName) {
|
|
|
49825
50031
|
});
|
|
49826
50032
|
}
|
|
49827
50033
|
|
|
49828
|
-
// bazel-out/
|
|
50034
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
49829
50035
|
function getCallDecoratorImport(typeChecker, decorator) {
|
|
49830
50036
|
if (!import_typescript131.default.isCallExpression(decorator.expression) || !import_typescript131.default.isIdentifier(decorator.expression.expression)) {
|
|
49831
50037
|
return null;
|
|
@@ -49834,7 +50040,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
|
|
|
49834
50040
|
return getImportOfIdentifier(typeChecker, identifier);
|
|
49835
50041
|
}
|
|
49836
50042
|
|
|
49837
|
-
// bazel-out/
|
|
50043
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
|
|
49838
50044
|
function getAngularDecorators2(typeChecker, decorators) {
|
|
49839
50045
|
return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
|
|
49840
50046
|
node,
|
|
@@ -49844,7 +50050,7 @@ function getAngularDecorators2(typeChecker, decorators) {
|
|
|
49844
50050
|
}));
|
|
49845
50051
|
}
|
|
49846
50052
|
|
|
49847
|
-
// bazel-out/
|
|
50053
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
|
|
49848
50054
|
var import_typescript132 = __toESM(require("typescript"), 1);
|
|
49849
50055
|
function closestNode(node, predicate) {
|
|
49850
50056
|
let current = node.parent;
|
|
@@ -49857,7 +50063,7 @@ function closestNode(node, predicate) {
|
|
|
49857
50063
|
return null;
|
|
49858
50064
|
}
|
|
49859
50065
|
|
|
49860
|
-
// bazel-out/
|
|
50066
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
|
|
49861
50067
|
var import_path6 = require("path");
|
|
49862
50068
|
var import_typescript133 = __toESM(require("typescript"), 1);
|
|
49863
50069
|
var UniqueItemTracker = class {
|
|
@@ -50035,7 +50241,7 @@ function isClassReferenceInAngularModule(node, className, moduleName, typeChecke
|
|
|
50035
50241
|
}));
|
|
50036
50242
|
}
|
|
50037
50243
|
|
|
50038
|
-
// bazel-out/
|
|
50244
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
50039
50245
|
function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles) {
|
|
50040
50246
|
const filesToRemove = /* @__PURE__ */ new Set();
|
|
50041
50247
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
@@ -50234,14 +50440,14 @@ function findNgModuleDecorator(node, typeChecker) {
|
|
|
50234
50440
|
return decorators.find((decorator) => decorator.name === "NgModule") || null;
|
|
50235
50441
|
}
|
|
50236
50442
|
|
|
50237
|
-
// bazel-out/
|
|
50443
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
50238
50444
|
var import_path7 = require("path");
|
|
50239
50445
|
var import_typescript137 = __toESM(require("typescript"), 1);
|
|
50240
50446
|
|
|
50241
|
-
// bazel-out/
|
|
50447
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
50242
50448
|
var import_typescript136 = __toESM(require("typescript"), 1);
|
|
50243
50449
|
|
|
50244
|
-
// bazel-out/
|
|
50450
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
|
|
50245
50451
|
var import_typescript135 = __toESM(require("typescript"), 1);
|
|
50246
50452
|
function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
50247
50453
|
var _a2, _b2;
|
|
@@ -50250,7 +50456,7 @@ function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
|
50250
50456
|
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];
|
|
50251
50457
|
}
|
|
50252
50458
|
|
|
50253
|
-
// bazel-out/
|
|
50459
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
50254
50460
|
function toStandalone(sourceFiles, program, printer, fileImportRemapper, componentImportRemapper) {
|
|
50255
50461
|
const templateTypeChecker = program.compiler.getTemplateTypeChecker();
|
|
50256
50462
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -50620,7 +50826,7 @@ function isStandaloneDeclaration(node, declarationsInMigration, templateTypeChec
|
|
|
50620
50826
|
return metadata != null && metadata.isStandalone;
|
|
50621
50827
|
}
|
|
50622
50828
|
|
|
50623
|
-
// bazel-out/
|
|
50829
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
50624
50830
|
function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles, componentImportRemapper) {
|
|
50625
50831
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
50626
50832
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -50997,7 +51203,7 @@ function hasImport(program, rootFileNames, moduleName) {
|
|
|
50997
51203
|
return false;
|
|
50998
51204
|
}
|
|
50999
51205
|
|
|
51000
|
-
// bazel-out/
|
|
51206
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
51001
51207
|
var MigrationMode;
|
|
51002
51208
|
(function(MigrationMode2) {
|
|
51003
51209
|
MigrationMode2["toStandalone"] = "convert-to-standalone";
|