@angular/core 18.1.0-next.2 → 18.1.0-next.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/rxjs-interop/src/to_signal.mjs +7 -3
- 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/linker/component_factory.mjs +1 -1
- package/esm2022/src/render3/after_render_hooks.mjs +2 -2
- package/esm2022/src/render3/chained_injector.mjs +34 -0
- package/esm2022/src/render3/component.mjs +1 -1
- package/esm2022/src/render3/component_ref.mjs +23 -35
- 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 +160 -79
- 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 +7 -3
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/index.d.ts +39 -9
- 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 +13 -6
- package/schematics/migrations/after-render-phase/bundle.js +64 -43
- package/schematics/migrations/after-render-phase/bundle.js.map +2 -2
- 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.1.0-next.
|
|
26053
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
|
|
26054
|
+
var VERSION2 = new Version("18.1.0-next.3");
|
|
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.1.0-next.
|
|
27158
|
+
definitionMap.set("version", literal("18.1.0-next.3"));
|
|
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.1.0-next.
|
|
27177
|
+
definitionMap.set("version", literal("18.1.0-next.3"));
|
|
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.1.0-next.
|
|
27245
|
+
definitionMap.set("version", literal("18.1.0-next.3"));
|
|
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.1.0-next.
|
|
27563
|
+
definitionMap.set("version", literal("18.1.0-next.3"));
|
|
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.1.0-next.
|
|
27586
|
+
definitionMap.set("version", literal("18.1.0-next.3"));
|
|
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.1.0-next.
|
|
27624
|
+
definitionMap.set("version", literal("18.1.0-next.3"));
|
|
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.1.0-next.
|
|
27648
|
+
definitionMap.set("version", literal("18.1.0-next.3"));
|
|
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.1.0-next.
|
|
27683
|
+
definitionMap.set("version", literal("18.1.0-next.3"));
|
|
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.1.0-next.
|
|
27699
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
27700
|
+
var VERSION3 = new Version("18.1.0-next.3");
|
|
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;
|
|
@@ -28460,7 +28664,7 @@ function extractModuleName(node) {
|
|
|
28460
28664
|
return node.moduleSpecifier.text;
|
|
28461
28665
|
}
|
|
28462
28666
|
|
|
28463
|
-
// bazel-out/
|
|
28667
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
28464
28668
|
var import_typescript11 = __toESM(require("typescript"), 1);
|
|
28465
28669
|
function isNamedClassDeclaration(node) {
|
|
28466
28670
|
return import_typescript11.default.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -28484,7 +28688,7 @@ function classMemberAccessLevelToString(level) {
|
|
|
28484
28688
|
}
|
|
28485
28689
|
}
|
|
28486
28690
|
|
|
28487
|
-
// bazel-out/
|
|
28691
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
28488
28692
|
var TypeScriptReflectionHost = class {
|
|
28489
28693
|
constructor(checker, isLocalCompilation = false) {
|
|
28490
28694
|
this.checker = checker;
|
|
@@ -28971,7 +29175,7 @@ function getExportedName(decl, originalId) {
|
|
|
28971
29175
|
}
|
|
28972
29176
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
28973
29177
|
|
|
28974
|
-
// bazel-out/
|
|
29178
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
28975
29179
|
var AssumeEager = "AssumeEager";
|
|
28976
29180
|
var DeferredSymbolTracker = class {
|
|
28977
29181
|
constructor(typeChecker, onlyExplicitDeferDependencyImports) {
|
|
@@ -29091,7 +29295,7 @@ var DeferredSymbolTracker = class {
|
|
|
29091
29295
|
}
|
|
29092
29296
|
};
|
|
29093
29297
|
|
|
29094
|
-
// bazel-out/
|
|
29298
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
|
|
29095
29299
|
var import_typescript15 = __toESM(require("typescript"), 1);
|
|
29096
29300
|
var ImportedSymbolsTracker = class {
|
|
29097
29301
|
constructor() {
|
|
@@ -29161,7 +29365,7 @@ var ImportedSymbolsTracker = class {
|
|
|
29161
29365
|
}
|
|
29162
29366
|
};
|
|
29163
29367
|
|
|
29164
|
-
// bazel-out/
|
|
29368
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
|
|
29165
29369
|
var import_typescript16 = __toESM(require("typescript"), 1);
|
|
29166
29370
|
var LocalCompilationExtraImportsTracker = class {
|
|
29167
29371
|
constructor(typeChecker) {
|
|
@@ -29212,7 +29416,7 @@ function removeQuotations(s) {
|
|
|
29212
29416
|
return s.substring(1, s.length - 1).trim();
|
|
29213
29417
|
}
|
|
29214
29418
|
|
|
29215
|
-
// bazel-out/
|
|
29419
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
29216
29420
|
var Reference2 = class {
|
|
29217
29421
|
constructor(node, bestGuessOwningModule = null) {
|
|
29218
29422
|
this.node = node;
|
|
@@ -29281,7 +29485,7 @@ var Reference2 = class {
|
|
|
29281
29485
|
}
|
|
29282
29486
|
};
|
|
29283
29487
|
|
|
29284
|
-
// bazel-out/
|
|
29488
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
29285
29489
|
var ModuleResolver = class {
|
|
29286
29490
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
29287
29491
|
this.program = program;
|
|
@@ -29298,16 +29502,16 @@ var ModuleResolver = class {
|
|
|
29298
29502
|
}
|
|
29299
29503
|
};
|
|
29300
29504
|
|
|
29301
|
-
// bazel-out/
|
|
29505
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/downlevel_decorators_transform.mjs
|
|
29302
29506
|
var import_typescript21 = __toESM(require("typescript"), 1);
|
|
29303
29507
|
|
|
29304
|
-
// bazel-out/
|
|
29508
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/transform.mjs
|
|
29305
29509
|
var import_typescript95 = __toESM(require("typescript"), 1);
|
|
29306
29510
|
|
|
29307
|
-
// bazel-out/
|
|
29511
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
29308
29512
|
var import_typescript23 = __toESM(require("typescript"), 1);
|
|
29309
29513
|
|
|
29310
|
-
// bazel-out/
|
|
29514
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
29311
29515
|
var import_typescript22 = __toESM(require("typescript"), 1);
|
|
29312
29516
|
var CORE_MODULE2 = "@angular/core";
|
|
29313
29517
|
function valueReferenceToExpression(valueRef) {
|
|
@@ -29565,7 +29769,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
29565
29769
|
return import_typescript22.default.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === import_typescript22.default.SyntaxKind.AbstractKeyword) : false;
|
|
29566
29770
|
}
|
|
29567
29771
|
|
|
29568
|
-
// bazel-out/
|
|
29772
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
29569
29773
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
29570
29774
|
const deps = [];
|
|
29571
29775
|
const errors = [];
|
|
@@ -29709,10 +29913,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
|
|
|
29709
29913
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain2, hints);
|
|
29710
29914
|
}
|
|
29711
29915
|
|
|
29712
|
-
// bazel-out/
|
|
29916
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
29713
29917
|
var import_typescript46 = __toESM(require("typescript"), 1);
|
|
29714
29918
|
|
|
29715
|
-
// bazel-out/
|
|
29919
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
29716
29920
|
var MetaKind;
|
|
29717
29921
|
(function(MetaKind2) {
|
|
29718
29922
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -29725,10 +29929,10 @@ var MatchSource;
|
|
|
29725
29929
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
29726
29930
|
})(MatchSource || (MatchSource = {}));
|
|
29727
29931
|
|
|
29728
|
-
// bazel-out/
|
|
29932
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
29729
29933
|
var import_typescript26 = __toESM(require("typescript"), 1);
|
|
29730
29934
|
|
|
29731
|
-
// bazel-out/
|
|
29935
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
29732
29936
|
var ClassPropertyMapping = class {
|
|
29733
29937
|
constructor(forwardMap) {
|
|
29734
29938
|
this.forwardMap = forwardMap;
|
|
@@ -29808,7 +30012,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
29808
30012
|
return reverseMap;
|
|
29809
30013
|
}
|
|
29810
30014
|
|
|
29811
|
-
// bazel-out/
|
|
30015
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
29812
30016
|
var import_typescript24 = __toESM(require("typescript"), 1);
|
|
29813
30017
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
29814
30018
|
if (!import_typescript24.default.isTupleTypeNode(def)) {
|
|
@@ -30004,7 +30208,7 @@ function isHostDirectiveMetaForGlobalMode(hostDirectiveMeta) {
|
|
|
30004
30208
|
return hostDirectiveMeta.directive instanceof Reference2;
|
|
30005
30209
|
}
|
|
30006
30210
|
|
|
30007
|
-
// bazel-out/
|
|
30211
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
30008
30212
|
var DtsMetadataReader = class {
|
|
30009
30213
|
constructor(checker, reflector) {
|
|
30010
30214
|
this.checker = checker;
|
|
@@ -30187,7 +30391,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
30187
30391
|
return result.length > 0 ? result : null;
|
|
30188
30392
|
}
|
|
30189
30393
|
|
|
30190
|
-
// bazel-out/
|
|
30394
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
30191
30395
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
30192
30396
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
30193
30397
|
if (topMeta === null) {
|
|
@@ -30250,7 +30454,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
30250
30454
|
});
|
|
30251
30455
|
}
|
|
30252
30456
|
|
|
30253
|
-
// bazel-out/
|
|
30457
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
30254
30458
|
var LocalMetadataRegistry = class {
|
|
30255
30459
|
constructor() {
|
|
30256
30460
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -30307,7 +30511,7 @@ var CompoundMetadataRegistry = class {
|
|
|
30307
30511
|
}
|
|
30308
30512
|
};
|
|
30309
30513
|
|
|
30310
|
-
// bazel-out/
|
|
30514
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
30311
30515
|
var ResourceRegistry = class {
|
|
30312
30516
|
constructor() {
|
|
30313
30517
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -30372,7 +30576,7 @@ var ResourceRegistry = class {
|
|
|
30372
30576
|
}
|
|
30373
30577
|
};
|
|
30374
30578
|
|
|
30375
|
-
// bazel-out/
|
|
30579
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
|
|
30376
30580
|
var ExportedProviderStatusResolver = class {
|
|
30377
30581
|
constructor(metaReader) {
|
|
30378
30582
|
this.metaReader = metaReader;
|
|
@@ -30416,7 +30620,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
30416
30620
|
}
|
|
30417
30621
|
};
|
|
30418
30622
|
|
|
30419
|
-
// bazel-out/
|
|
30623
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
30420
30624
|
var EMPTY_ARRAY = [];
|
|
30421
30625
|
var HostDirectivesResolver = class {
|
|
30422
30626
|
constructor(metaReader) {
|
|
@@ -30481,10 +30685,10 @@ function resolveOutput(bindingName) {
|
|
|
30481
30685
|
return bindingName;
|
|
30482
30686
|
}
|
|
30483
30687
|
|
|
30484
|
-
// bazel-out/
|
|
30688
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
30485
30689
|
var import_typescript28 = __toESM(require("typescript"), 1);
|
|
30486
30690
|
|
|
30487
|
-
// bazel-out/
|
|
30691
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
30488
30692
|
var DynamicValue = class {
|
|
30489
30693
|
constructor(node, reason, code) {
|
|
30490
30694
|
this.node = node;
|
|
@@ -30574,7 +30778,7 @@ var DynamicValue = class {
|
|
|
30574
30778
|
}
|
|
30575
30779
|
};
|
|
30576
30780
|
|
|
30577
|
-
// bazel-out/
|
|
30781
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
30578
30782
|
var ResolvedModule = class {
|
|
30579
30783
|
constructor(exports, evaluate) {
|
|
30580
30784
|
this.exports = exports;
|
|
@@ -30604,7 +30808,7 @@ var EnumValue = class {
|
|
|
30604
30808
|
var KnownFn = class {
|
|
30605
30809
|
};
|
|
30606
30810
|
|
|
30607
|
-
// bazel-out/
|
|
30811
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
30608
30812
|
function describeResolvedType(value, maxDepth = 1) {
|
|
30609
30813
|
var _a2, _b2;
|
|
30610
30814
|
if (value === null) {
|
|
@@ -30737,10 +30941,10 @@ function getContainerNode(node) {
|
|
|
30737
30941
|
return node.getSourceFile();
|
|
30738
30942
|
}
|
|
30739
30943
|
|
|
30740
|
-
// bazel-out/
|
|
30944
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
30741
30945
|
var import_typescript29 = __toESM(require("typescript"), 1);
|
|
30742
30946
|
|
|
30743
|
-
// bazel-out/
|
|
30947
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
30744
30948
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
30745
30949
|
constructor(lhs) {
|
|
30746
30950
|
super();
|
|
@@ -30792,14 +30996,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
|
|
|
30792
30996
|
}
|
|
30793
30997
|
};
|
|
30794
30998
|
|
|
30795
|
-
// bazel-out/
|
|
30999
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
30796
31000
|
var SyntheticValue = class {
|
|
30797
31001
|
constructor(value) {
|
|
30798
31002
|
this.value = value;
|
|
30799
31003
|
}
|
|
30800
31004
|
};
|
|
30801
31005
|
|
|
30802
|
-
// bazel-out/
|
|
31006
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
30803
31007
|
function literalBinaryOp(op) {
|
|
30804
31008
|
return { op, literal: true };
|
|
30805
31009
|
}
|
|
@@ -31374,7 +31578,7 @@ function owningModule(context, override = null) {
|
|
|
31374
31578
|
}
|
|
31375
31579
|
}
|
|
31376
31580
|
|
|
31377
|
-
// bazel-out/
|
|
31581
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
31378
31582
|
var PartialEvaluator = class {
|
|
31379
31583
|
constructor(host, checker, dependencyTracker) {
|
|
31380
31584
|
this.host = host;
|
|
@@ -31394,7 +31598,7 @@ var PartialEvaluator = class {
|
|
|
31394
31598
|
}
|
|
31395
31599
|
};
|
|
31396
31600
|
|
|
31397
|
-
// bazel-out/
|
|
31601
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
31398
31602
|
var CompilationMode;
|
|
31399
31603
|
(function(CompilationMode2) {
|
|
31400
31604
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -31408,7 +31612,7 @@ var HandlerPrecedence;
|
|
|
31408
31612
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
31409
31613
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
31410
31614
|
|
|
31411
|
-
// bazel-out/
|
|
31615
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
31412
31616
|
var import_typescript31 = __toESM(require("typescript"), 1);
|
|
31413
31617
|
function aliasTransformFactory(exportStatements) {
|
|
31414
31618
|
return () => {
|
|
@@ -31433,10 +31637,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
31433
31637
|
};
|
|
31434
31638
|
}
|
|
31435
31639
|
|
|
31436
|
-
// bazel-out/
|
|
31640
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
31437
31641
|
var import_typescript32 = __toESM(require("typescript"), 1);
|
|
31438
31642
|
|
|
31439
|
-
// bazel-out/
|
|
31643
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
31440
31644
|
var PerfPhase;
|
|
31441
31645
|
(function(PerfPhase2) {
|
|
31442
31646
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -31504,7 +31708,7 @@ var PerfCheckpoint;
|
|
|
31504
31708
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
31505
31709
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
31506
31710
|
|
|
31507
|
-
// bazel-out/
|
|
31711
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
31508
31712
|
var NoopPerfRecorder = class {
|
|
31509
31713
|
eventCount() {
|
|
31510
31714
|
}
|
|
@@ -31521,7 +31725,7 @@ var NoopPerfRecorder = class {
|
|
|
31521
31725
|
};
|
|
31522
31726
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
31523
31727
|
|
|
31524
|
-
// bazel-out/
|
|
31728
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
31525
31729
|
function mark() {
|
|
31526
31730
|
return process.hrtime();
|
|
31527
31731
|
}
|
|
@@ -31530,7 +31734,7 @@ function timeSinceInMicros(mark2) {
|
|
|
31530
31734
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
31531
31735
|
}
|
|
31532
31736
|
|
|
31533
|
-
// bazel-out/
|
|
31737
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
31534
31738
|
var ActivePerfRecorder = class {
|
|
31535
31739
|
static zeroedToNow() {
|
|
31536
31740
|
return new ActivePerfRecorder(mark());
|
|
@@ -31624,7 +31828,7 @@ var DelegatingPerfRecorder = class {
|
|
|
31624
31828
|
}
|
|
31625
31829
|
};
|
|
31626
31830
|
|
|
31627
|
-
// bazel-out/
|
|
31831
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
31628
31832
|
var TraitState;
|
|
31629
31833
|
(function(TraitState2) {
|
|
31630
31834
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -31681,7 +31885,7 @@ var TraitImpl = class {
|
|
|
31681
31885
|
}
|
|
31682
31886
|
};
|
|
31683
31887
|
|
|
31684
|
-
// bazel-out/
|
|
31888
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
31685
31889
|
var TraitCompiler = class {
|
|
31686
31890
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
31687
31891
|
this.handlers = handlers;
|
|
@@ -32140,10 +32344,10 @@ function containsErrors(diagnostics) {
|
|
|
32140
32344
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === import_typescript32.default.DiagnosticCategory.Error);
|
|
32141
32345
|
}
|
|
32142
32346
|
|
|
32143
|
-
// bazel-out/
|
|
32347
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
32144
32348
|
var import_typescript43 = __toESM(require("typescript"), 1);
|
|
32145
32349
|
|
|
32146
|
-
// bazel-out/
|
|
32350
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
32147
32351
|
var Context = class {
|
|
32148
32352
|
constructor(isStatement) {
|
|
32149
32353
|
this.isStatement = isStatement;
|
|
@@ -32156,21 +32360,23 @@ var Context = class {
|
|
|
32156
32360
|
}
|
|
32157
32361
|
};
|
|
32158
32362
|
|
|
32159
|
-
// bazel-out/
|
|
32363
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
32160
32364
|
var import_typescript38 = __toESM(require("typescript"), 1);
|
|
32161
32365
|
|
|
32162
|
-
// bazel-out/
|
|
32366
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
|
|
32163
32367
|
var import_typescript34 = __toESM(require("typescript"), 1);
|
|
32164
32368
|
function createGenerateUniqueIdentifierHelper() {
|
|
32165
32369
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
32370
|
+
const isGeneratedIdentifier = (sf, identifierName2) => generatedIdentifiers.has(`${sf.fileName}@@${identifierName2}`);
|
|
32371
|
+
const markIdentifierAsGenerated = (sf, identifierName2) => generatedIdentifiers.add(`${sf.fileName}@@${identifierName2}`);
|
|
32166
32372
|
return (sourceFile, symbolName) => {
|
|
32167
32373
|
const sf = sourceFile;
|
|
32168
32374
|
if (sf.identifiers === void 0) {
|
|
32169
32375
|
throw new Error("Source file unexpectedly lacks map of parsed `identifiers`.");
|
|
32170
32376
|
}
|
|
32171
|
-
const isUniqueIdentifier = (name2) => !sf.identifiers.has(name2) && !
|
|
32377
|
+
const isUniqueIdentifier = (name2) => !sf.identifiers.has(name2) && !isGeneratedIdentifier(sf, name2);
|
|
32172
32378
|
if (isUniqueIdentifier(symbolName)) {
|
|
32173
|
-
|
|
32379
|
+
markIdentifierAsGenerated(sf, symbolName);
|
|
32174
32380
|
return null;
|
|
32175
32381
|
}
|
|
32176
32382
|
let name = null;
|
|
@@ -32178,12 +32384,12 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
32178
32384
|
do {
|
|
32179
32385
|
name = `${symbolName}_${counter++}`;
|
|
32180
32386
|
} while (!isUniqueIdentifier(name));
|
|
32181
|
-
|
|
32387
|
+
markIdentifierAsGenerated(sf, name);
|
|
32182
32388
|
return import_typescript34.default.factory.createUniqueName(name, import_typescript34.default.GeneratedIdentifierFlags.Optimistic);
|
|
32183
32389
|
};
|
|
32184
32390
|
}
|
|
32185
32391
|
|
|
32186
|
-
// bazel-out/
|
|
32392
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
|
|
32187
32393
|
var import_typescript35 = __toESM(require("typescript"), 1);
|
|
32188
32394
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
32189
32395
|
return (ctx) => {
|
|
@@ -32244,7 +32450,7 @@ function isImportStatement(stmt) {
|
|
|
32244
32450
|
return import_typescript35.default.isImportDeclaration(stmt) || import_typescript35.default.isImportEqualsDeclaration(stmt) || import_typescript35.default.isNamespaceImport(stmt);
|
|
32245
32451
|
}
|
|
32246
32452
|
|
|
32247
|
-
// bazel-out/
|
|
32453
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
|
|
32248
32454
|
var import_typescript36 = __toESM(require("typescript"), 1);
|
|
32249
32455
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
32250
32456
|
const requestHash = hashImportRequest(request);
|
|
@@ -32271,7 +32477,7 @@ function hashImportRequest(req) {
|
|
|
32271
32477
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}`;
|
|
32272
32478
|
}
|
|
32273
32479
|
|
|
32274
|
-
// bazel-out/
|
|
32480
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
|
|
32275
32481
|
var import_typescript37 = __toESM(require("typescript"), 1);
|
|
32276
32482
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
32277
32483
|
let candidateImportToBeUpdated = null;
|
|
@@ -32324,7 +32530,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
32324
32530
|
return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
|
|
32325
32531
|
}
|
|
32326
32532
|
|
|
32327
|
-
// bazel-out/
|
|
32533
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
32328
32534
|
var presetImportManagerForceNamespaceImports = {
|
|
32329
32535
|
disableOriginalSourceFileReuse: true,
|
|
32330
32536
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -32473,7 +32679,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
32473
32679
|
}
|
|
32474
32680
|
}
|
|
32475
32681
|
|
|
32476
|
-
// bazel-out/
|
|
32682
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
32477
32683
|
var UNARY_OPERATORS2 = /* @__PURE__ */ new Map([
|
|
32478
32684
|
[UnaryOperator.Minus, "-"],
|
|
32479
32685
|
[UnaryOperator.Plus, "+"]
|
|
@@ -32718,7 +32924,7 @@ function createRange(span) {
|
|
|
32718
32924
|
};
|
|
32719
32925
|
}
|
|
32720
32926
|
|
|
32721
|
-
// bazel-out/
|
|
32927
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
32722
32928
|
var import_typescript39 = __toESM(require("typescript"), 1);
|
|
32723
32929
|
var INELIGIBLE = {};
|
|
32724
32930
|
function canEmitType(type, canEmit) {
|
|
@@ -32793,10 +32999,10 @@ var TypeEmitter = class {
|
|
|
32793
32999
|
}
|
|
32794
33000
|
};
|
|
32795
33001
|
|
|
32796
|
-
// bazel-out/
|
|
33002
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
32797
33003
|
var import_typescript41 = __toESM(require("typescript"), 1);
|
|
32798
33004
|
|
|
32799
|
-
// bazel-out/
|
|
33005
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
32800
33006
|
var import_typescript40 = __toESM(require("typescript"), 1);
|
|
32801
33007
|
function tsNumericExpression(value) {
|
|
32802
33008
|
if (value < 0) {
|
|
@@ -32806,7 +33012,7 @@ function tsNumericExpression(value) {
|
|
|
32806
33012
|
return import_typescript40.default.factory.createNumericLiteral(value);
|
|
32807
33013
|
}
|
|
32808
33014
|
|
|
32809
|
-
// bazel-out/
|
|
33015
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
32810
33016
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
32811
33017
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
32812
33018
|
}
|
|
@@ -33023,7 +33229,7 @@ var TypeTranslatorVisitor = class {
|
|
|
33023
33229
|
}
|
|
33024
33230
|
};
|
|
33025
33231
|
|
|
33026
|
-
// bazel-out/
|
|
33232
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
33027
33233
|
var import_typescript42 = __toESM(require("typescript"), 1);
|
|
33028
33234
|
var PureAnnotation;
|
|
33029
33235
|
(function(PureAnnotation2) {
|
|
@@ -33226,7 +33432,7 @@ function attachComments(statement, leadingComments) {
|
|
|
33226
33432
|
}
|
|
33227
33433
|
}
|
|
33228
33434
|
|
|
33229
|
-
// bazel-out/
|
|
33435
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
33230
33436
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
33231
33437
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
33232
33438
|
}
|
|
@@ -33234,7 +33440,7 @@ function translateStatement(contextFile, statement, imports, options = {}) {
|
|
|
33234
33440
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(true));
|
|
33235
33441
|
}
|
|
33236
33442
|
|
|
33237
|
-
// bazel-out/
|
|
33443
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
33238
33444
|
var DtsTransformRegistry = class {
|
|
33239
33445
|
constructor() {
|
|
33240
33446
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -33382,10 +33588,10 @@ function markForEmitAsSingleLine(node) {
|
|
|
33382
33588
|
import_typescript43.default.forEachChild(node, markForEmitAsSingleLine);
|
|
33383
33589
|
}
|
|
33384
33590
|
|
|
33385
|
-
// bazel-out/
|
|
33591
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
33386
33592
|
var import_typescript45 = __toESM(require("typescript"), 1);
|
|
33387
33593
|
|
|
33388
|
-
// bazel-out/
|
|
33594
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
33389
33595
|
var import_typescript44 = __toESM(require("typescript"), 1);
|
|
33390
33596
|
function visit(node, visitor, context) {
|
|
33391
33597
|
return visitor._visit(node, context);
|
|
@@ -33446,7 +33652,7 @@ var Visitor = class {
|
|
|
33446
33652
|
}
|
|
33447
33653
|
};
|
|
33448
33654
|
|
|
33449
|
-
// bazel-out/
|
|
33655
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
33450
33656
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
33451
33657
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
33452
33658
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, localCompilationExtraImportsTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -33681,7 +33887,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
33681
33887
|
return array;
|
|
33682
33888
|
}
|
|
33683
33889
|
|
|
33684
|
-
// bazel-out/
|
|
33890
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
33685
33891
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
33686
33892
|
const context = [];
|
|
33687
33893
|
for (const decl of data) {
|
|
@@ -33890,7 +34096,7 @@ function assertLocalCompilationUnresolvedConst(compilationMode, value, nodeToHig
|
|
|
33890
34096
|
}
|
|
33891
34097
|
}
|
|
33892
34098
|
|
|
33893
|
-
// bazel-out/
|
|
34099
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
33894
34100
|
var import_typescript48 = __toESM(require("typescript"), 1);
|
|
33895
34101
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
33896
34102
|
let resolved = null;
|
|
@@ -33940,7 +34146,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
33940
34146
|
return meta;
|
|
33941
34147
|
}
|
|
33942
34148
|
|
|
33943
|
-
// bazel-out/
|
|
34149
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
33944
34150
|
function compileNgFactoryDefField(metadata) {
|
|
33945
34151
|
const res = compileFactoryFunction(metadata);
|
|
33946
34152
|
return {
|
|
@@ -33962,7 +34168,7 @@ function compileDeclareFactory(metadata) {
|
|
|
33962
34168
|
};
|
|
33963
34169
|
}
|
|
33964
34170
|
|
|
33965
|
-
// bazel-out/
|
|
34171
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
33966
34172
|
var InjectableClassRegistry = class {
|
|
33967
34173
|
constructor(host, isCore) {
|
|
33968
34174
|
this.host = host;
|
|
@@ -33988,7 +34194,7 @@ var InjectableClassRegistry = class {
|
|
|
33988
34194
|
}
|
|
33989
34195
|
};
|
|
33990
34196
|
|
|
33991
|
-
// bazel-out/
|
|
34197
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
33992
34198
|
var import_typescript49 = __toESM(require("typescript"), 1);
|
|
33993
34199
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
33994
34200
|
if (!reflection.isClass(clazz)) {
|
|
@@ -34074,7 +34280,7 @@ function removeIdentifierReferences(node, names) {
|
|
|
34074
34280
|
return result.transformed[0];
|
|
34075
34281
|
}
|
|
34076
34282
|
|
|
34077
|
-
// bazel-out/
|
|
34283
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
|
|
34078
34284
|
var path = __toESM(require("path"), 1);
|
|
34079
34285
|
function extractClassDebugInfo(clazz, reflection, rootDirs, forbidOrphanRendering) {
|
|
34080
34286
|
if (!reflection.isClass(clazz)) {
|
|
@@ -34100,13 +34306,13 @@ function computeRelativePathIfPossible(filePath, rootDirs) {
|
|
|
34100
34306
|
return null;
|
|
34101
34307
|
}
|
|
34102
34308
|
|
|
34103
|
-
// bazel-out/
|
|
34309
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
34104
34310
|
var NoopReferencesRegistry = class {
|
|
34105
34311
|
add(source, ...references) {
|
|
34106
34312
|
}
|
|
34107
34313
|
};
|
|
34108
34314
|
|
|
34109
|
-
// bazel-out/
|
|
34315
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
34110
34316
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
34111
34317
|
const schemas = [];
|
|
34112
34318
|
const result = evaluator.evaluate(rawExpr);
|
|
@@ -34135,7 +34341,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
34135
34341
|
return schemas;
|
|
34136
34342
|
}
|
|
34137
34343
|
|
|
34138
|
-
// bazel-out/
|
|
34344
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
|
|
34139
34345
|
function compileInputTransformFields(inputs) {
|
|
34140
34346
|
const extraFields = [];
|
|
34141
34347
|
for (const input of inputs) {
|
|
@@ -34152,10 +34358,10 @@ function compileInputTransformFields(inputs) {
|
|
|
34152
34358
|
return extraFields;
|
|
34153
34359
|
}
|
|
34154
34360
|
|
|
34155
|
-
// bazel-out/
|
|
34361
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
34156
34362
|
var import_typescript88 = __toESM(require("typescript"), 1);
|
|
34157
34363
|
|
|
34158
|
-
// bazel-out/
|
|
34364
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
34159
34365
|
var import_typescript50 = __toESM(require("typescript"), 1);
|
|
34160
34366
|
var SemanticSymbol = class {
|
|
34161
34367
|
constructor(decl) {
|
|
@@ -34171,7 +34377,7 @@ function getSymbolIdentifier(decl) {
|
|
|
34171
34377
|
return decl.name.text;
|
|
34172
34378
|
}
|
|
34173
34379
|
|
|
34174
|
-
// bazel-out/
|
|
34380
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
34175
34381
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
34176
34382
|
isPublicApiAffected() {
|
|
34177
34383
|
return false;
|
|
@@ -34313,10 +34519,10 @@ function getImportPath(expr) {
|
|
|
34313
34519
|
}
|
|
34314
34520
|
}
|
|
34315
34521
|
|
|
34316
|
-
// bazel-out/
|
|
34522
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
34317
34523
|
var import_typescript51 = __toESM(require("typescript"), 1);
|
|
34318
34524
|
|
|
34319
|
-
// bazel-out/
|
|
34525
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
34320
34526
|
function isSymbolEqual(a, b) {
|
|
34321
34527
|
if (a.decl === b.decl) {
|
|
34322
34528
|
return true;
|
|
@@ -34366,7 +34572,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
34366
34572
|
return true;
|
|
34367
34573
|
}
|
|
34368
34574
|
|
|
34369
|
-
// bazel-out/
|
|
34575
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
34370
34576
|
function extractSemanticTypeParameters(node) {
|
|
34371
34577
|
if (!import_typescript51.default.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
34372
34578
|
return null;
|
|
@@ -34388,14 +34594,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
34388
34594
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
34389
34595
|
}
|
|
34390
34596
|
|
|
34391
|
-
// bazel-out/
|
|
34597
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
34392
34598
|
var ComponentScopeKind;
|
|
34393
34599
|
(function(ComponentScopeKind2) {
|
|
34394
34600
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
34395
34601
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
34396
34602
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
34397
34603
|
|
|
34398
|
-
// bazel-out/
|
|
34604
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
34399
34605
|
var CompoundComponentScopeReader = class {
|
|
34400
34606
|
constructor(readers) {
|
|
34401
34607
|
this.readers = readers;
|
|
@@ -34420,7 +34626,7 @@ var CompoundComponentScopeReader = class {
|
|
|
34420
34626
|
}
|
|
34421
34627
|
};
|
|
34422
34628
|
|
|
34423
|
-
// bazel-out/
|
|
34629
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
34424
34630
|
var MetadataDtsModuleScopeResolver = class {
|
|
34425
34631
|
constructor(dtsMetaReader, aliasingHost) {
|
|
34426
34632
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -34495,10 +34701,10 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
34495
34701
|
}
|
|
34496
34702
|
};
|
|
34497
34703
|
|
|
34498
|
-
// bazel-out/
|
|
34704
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
34499
34705
|
var import_typescript52 = __toESM(require("typescript"), 1);
|
|
34500
34706
|
|
|
34501
|
-
// bazel-out/
|
|
34707
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
34502
34708
|
function getDiagnosticNode(ref, rawExpr) {
|
|
34503
34709
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
34504
34710
|
}
|
|
@@ -34524,7 +34730,7 @@ function makeUnknownComponentDeferredImportDiagnostic(ref, rawExpr) {
|
|
|
34524
34730
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_DEFERRED_IMPORT, getDiagnosticNode(ref, rawExpr), `Component deferred imports must be standalone components, directives or pipes.`);
|
|
34525
34731
|
}
|
|
34526
34732
|
|
|
34527
|
-
// bazel-out/
|
|
34733
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
34528
34734
|
var LocalModuleScopeRegistry = class {
|
|
34529
34735
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
34530
34736
|
this.localReader = localReader;
|
|
@@ -34865,7 +35071,7 @@ function reexportCollision(module2, refA, refB) {
|
|
|
34865
35071
|
]);
|
|
34866
35072
|
}
|
|
34867
35073
|
|
|
34868
|
-
// bazel-out/
|
|
35074
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
34869
35075
|
var import_typescript54 = __toESM(require("typescript"), 1);
|
|
34870
35076
|
var TypeCheckScopeRegistry = class {
|
|
34871
35077
|
constructor(scopeReader, metaReader, hostDirectivesResolver) {
|
|
@@ -34945,10 +35151,10 @@ var TypeCheckScopeRegistry = class {
|
|
|
34945
35151
|
}
|
|
34946
35152
|
};
|
|
34947
35153
|
|
|
34948
|
-
// bazel-out/
|
|
35154
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
34949
35155
|
var import_typescript58 = __toESM(require("typescript"), 1);
|
|
34950
35156
|
|
|
34951
|
-
// bazel-out/
|
|
35157
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_function_access.mjs
|
|
34952
35158
|
function validateAccessOfInitializerApiMember({ api, call: call2 }, member) {
|
|
34953
35159
|
if (!api.allowedAccessLevels.includes(member.accessLevel)) {
|
|
34954
35160
|
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)}.`, [
|
|
@@ -34957,7 +35163,7 @@ function validateAccessOfInitializerApiMember({ api, call: call2 }, member) {
|
|
|
34957
35163
|
}
|
|
34958
35164
|
}
|
|
34959
35165
|
|
|
34960
|
-
// bazel-out/
|
|
35166
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.mjs
|
|
34961
35167
|
var import_typescript55 = __toESM(require("typescript"), 1);
|
|
34962
35168
|
function tryParseInitializerApi(functions, expression, reflector, importTracker) {
|
|
34963
35169
|
if (!import_typescript55.default.isCallExpression(expression)) {
|
|
@@ -35026,7 +35232,7 @@ function parseTopLevelCallFromNamespace(call2, functions, importTracker) {
|
|
|
35026
35232
|
return { api: matchingApi, apiReference, isRequired };
|
|
35027
35233
|
}
|
|
35028
35234
|
|
|
35029
|
-
// bazel-out/
|
|
35235
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.mjs
|
|
35030
35236
|
var import_typescript56 = __toESM(require("typescript"), 1);
|
|
35031
35237
|
function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
35032
35238
|
if (!import_typescript56.default.isObjectLiteralExpression(optionsNode)) {
|
|
@@ -35044,7 +35250,7 @@ function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
|
35044
35250
|
return { alias };
|
|
35045
35251
|
}
|
|
35046
35252
|
|
|
35047
|
-
// bazel-out/
|
|
35253
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
|
|
35048
35254
|
var INPUT_INITIALIZER_FN = {
|
|
35049
35255
|
functionName: "input",
|
|
35050
35256
|
owningModule: "@angular/core",
|
|
@@ -35076,7 +35282,7 @@ function tryParseSignalInputMapping(member, reflector, importTracker) {
|
|
|
35076
35282
|
};
|
|
35077
35283
|
}
|
|
35078
35284
|
|
|
35079
|
-
// bazel-out/
|
|
35285
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.mjs
|
|
35080
35286
|
var MODEL_INITIALIZER_FN = {
|
|
35081
35287
|
functionName: "model",
|
|
35082
35288
|
owningModule: "@angular/core",
|
|
@@ -35117,7 +35323,7 @@ function tryParseSignalModelMapping(member, reflector, importTracker) {
|
|
|
35117
35323
|
};
|
|
35118
35324
|
}
|
|
35119
35325
|
|
|
35120
|
-
// bazel-out/
|
|
35326
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.mjs
|
|
35121
35327
|
var allowedAccessLevels = [
|
|
35122
35328
|
ClassMemberAccessLevel.PublicWritable,
|
|
35123
35329
|
ClassMemberAccessLevel.PublicReadonly,
|
|
@@ -35161,7 +35367,7 @@ function tryParseInitializerBasedOutput(member, reflector, importTracker) {
|
|
|
35161
35367
|
};
|
|
35162
35368
|
}
|
|
35163
35369
|
|
|
35164
|
-
// bazel-out/
|
|
35370
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.mjs
|
|
35165
35371
|
var import_typescript57 = __toESM(require("typescript"), 1);
|
|
35166
35372
|
var queryFunctionNames = [
|
|
35167
35373
|
"viewChild",
|
|
@@ -35245,7 +35451,7 @@ function parseDescendantsOption(value) {
|
|
|
35245
35451
|
throw new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, value, `Expected "descendants" option to be a boolean literal.`);
|
|
35246
35452
|
}
|
|
35247
35453
|
|
|
35248
|
-
// bazel-out/
|
|
35454
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
35249
35455
|
var EMPTY_OBJECT = {};
|
|
35250
35456
|
var queryDecoratorNames = [
|
|
35251
35457
|
"ViewChild",
|
|
@@ -36043,7 +36249,7 @@ function toR3InputMetadata(mapping) {
|
|
|
36043
36249
|
};
|
|
36044
36250
|
}
|
|
36045
36251
|
|
|
36046
|
-
// bazel-out/
|
|
36252
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
36047
36253
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
36048
36254
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
36049
36255
|
super(decl);
|
|
@@ -36123,7 +36329,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
36123
36329
|
return isSymbolEqual(current, previous);
|
|
36124
36330
|
}
|
|
36125
36331
|
|
|
36126
|
-
// bazel-out/
|
|
36332
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
36127
36333
|
var FIELD_DECORATORS = [
|
|
36128
36334
|
"Input",
|
|
36129
36335
|
"Output",
|
|
@@ -36316,10 +36522,10 @@ var DirectiveDecoratorHandler = class {
|
|
|
36316
36522
|
}
|
|
36317
36523
|
};
|
|
36318
36524
|
|
|
36319
|
-
// bazel-out/
|
|
36525
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
36320
36526
|
var import_typescript60 = __toESM(require("typescript"), 1);
|
|
36321
36527
|
|
|
36322
|
-
// bazel-out/
|
|
36528
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
36323
36529
|
var import_typescript59 = __toESM(require("typescript"), 1);
|
|
36324
36530
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
36325
36531
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -36391,7 +36597,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
36391
36597
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
36392
36598
|
}
|
|
36393
36599
|
|
|
36394
|
-
// bazel-out/
|
|
36600
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
36395
36601
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
36396
36602
|
constructor(decl, hasProviders) {
|
|
36397
36603
|
super(decl);
|
|
@@ -37004,7 +37210,7 @@ function isSyntheticReference(ref) {
|
|
|
37004
37210
|
return ref.synthetic;
|
|
37005
37211
|
}
|
|
37006
37212
|
|
|
37007
|
-
// bazel-out/
|
|
37213
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
37008
37214
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
37009
37215
|
const name = ref.debugName || "(unknown)";
|
|
37010
37216
|
const path4 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -37027,7 +37233,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
37027
37233
|
return null;
|
|
37028
37234
|
}
|
|
37029
37235
|
|
|
37030
|
-
// bazel-out/
|
|
37236
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
37031
37237
|
var import_typescript62 = __toESM(require("typescript"), 1);
|
|
37032
37238
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
37033
37239
|
return declaration.isInline ? declaration.expression : declaration.templateUrlExpression;
|
|
@@ -37379,7 +37585,7 @@ function _extractTemplateStyleUrls(template2) {
|
|
|
37379
37585
|
}));
|
|
37380
37586
|
}
|
|
37381
37587
|
|
|
37382
|
-
// bazel-out/
|
|
37588
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
37383
37589
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
37384
37590
|
constructor() {
|
|
37385
37591
|
super(...arguments);
|
|
@@ -37414,7 +37620,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
37414
37620
|
}
|
|
37415
37621
|
};
|
|
37416
37622
|
|
|
37417
|
-
// bazel-out/
|
|
37623
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
37418
37624
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
37419
37625
|
if (value instanceof Map) {
|
|
37420
37626
|
const name = value.get("name");
|
|
@@ -37491,7 +37697,7 @@ function isLikelyModuleWithProviders(value) {
|
|
|
37491
37697
|
return false;
|
|
37492
37698
|
}
|
|
37493
37699
|
|
|
37494
|
-
// bazel-out/
|
|
37700
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
37495
37701
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
37496
37702
|
var UpdateMode;
|
|
37497
37703
|
(function(UpdateMode2) {
|
|
@@ -37499,13 +37705,13 @@ var UpdateMode;
|
|
|
37499
37705
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
37500
37706
|
})(UpdateMode || (UpdateMode = {}));
|
|
37501
37707
|
|
|
37502
|
-
// bazel-out/
|
|
37708
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
37503
37709
|
var import_typescript66 = __toESM(require("typescript"), 1);
|
|
37504
37710
|
|
|
37505
|
-
// bazel-out/
|
|
37711
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
37506
37712
|
var import_typescript63 = __toESM(require("typescript"), 1);
|
|
37507
37713
|
|
|
37508
|
-
// bazel-out/
|
|
37714
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
37509
37715
|
var NgExtension = Symbol("NgExtension");
|
|
37510
37716
|
function isExtended(sf) {
|
|
37511
37717
|
return sf[NgExtension] !== void 0;
|
|
@@ -37565,13 +37771,13 @@ function retagTsFile(sf) {
|
|
|
37565
37771
|
}
|
|
37566
37772
|
}
|
|
37567
37773
|
|
|
37568
|
-
// bazel-out/
|
|
37774
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
37569
37775
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
37570
37776
|
function makeShimFileName(fileName, suffix) {
|
|
37571
37777
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
37572
37778
|
}
|
|
37573
37779
|
|
|
37574
|
-
// bazel-out/
|
|
37780
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
37575
37781
|
var ShimAdapter = class {
|
|
37576
37782
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
37577
37783
|
this.delegate = delegate;
|
|
@@ -37666,7 +37872,7 @@ var ShimAdapter = class {
|
|
|
37666
37872
|
}
|
|
37667
37873
|
};
|
|
37668
37874
|
|
|
37669
|
-
// bazel-out/
|
|
37875
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
37670
37876
|
var ShimReferenceTagger = class {
|
|
37671
37877
|
constructor(shimExtensions) {
|
|
37672
37878
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -37700,7 +37906,7 @@ var ShimReferenceTagger = class {
|
|
|
37700
37906
|
}
|
|
37701
37907
|
};
|
|
37702
37908
|
|
|
37703
|
-
// bazel-out/
|
|
37909
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
37704
37910
|
var DelegatingCompilerHost = class {
|
|
37705
37911
|
get jsDocParsingMode() {
|
|
37706
37912
|
return this.delegate.jsDocParsingMode;
|
|
@@ -37822,14 +38028,14 @@ var TsCreateProgramDriver = class {
|
|
|
37822
38028
|
}
|
|
37823
38029
|
};
|
|
37824
38030
|
|
|
37825
|
-
// bazel-out/
|
|
38031
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
37826
38032
|
var OptimizeFor;
|
|
37827
38033
|
(function(OptimizeFor2) {
|
|
37828
38034
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
37829
38035
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
37830
38036
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
37831
38037
|
|
|
37832
|
-
// bazel-out/
|
|
38038
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
37833
38039
|
var CompletionKind;
|
|
37834
38040
|
(function(CompletionKind2) {
|
|
37835
38041
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
@@ -37837,7 +38043,7 @@ var CompletionKind;
|
|
|
37837
38043
|
CompletionKind2[CompletionKind2["LetDeclaration"] = 2] = "LetDeclaration";
|
|
37838
38044
|
})(CompletionKind || (CompletionKind = {}));
|
|
37839
38045
|
|
|
37840
|
-
// bazel-out/
|
|
38046
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
37841
38047
|
var PotentialImportKind;
|
|
37842
38048
|
(function(PotentialImportKind2) {
|
|
37843
38049
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -37849,7 +38055,7 @@ var PotentialImportMode;
|
|
|
37849
38055
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
37850
38056
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
37851
38057
|
|
|
37852
|
-
// bazel-out/
|
|
38058
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
37853
38059
|
var SymbolKind;
|
|
37854
38060
|
(function(SymbolKind2) {
|
|
37855
38061
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -37866,7 +38072,7 @@ var SymbolKind;
|
|
|
37866
38072
|
SymbolKind2[SymbolKind2["LetDeclaration"] = 11] = "LetDeclaration";
|
|
37867
38073
|
})(SymbolKind || (SymbolKind = {}));
|
|
37868
38074
|
|
|
37869
|
-
// bazel-out/
|
|
38075
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
37870
38076
|
var import_typescript68 = __toESM(require("typescript"), 1);
|
|
37871
38077
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
37872
38078
|
var _a2;
|
|
@@ -37977,7 +38183,7 @@ function parseTemplateAsSourceFile(fileName, template2) {
|
|
|
37977
38183
|
);
|
|
37978
38184
|
}
|
|
37979
38185
|
|
|
37980
|
-
// bazel-out/
|
|
38186
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
37981
38187
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
37982
38188
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
37983
38189
|
function getTemplateId(clazz) {
|
|
@@ -37994,10 +38200,10 @@ function allocateTemplateId(sf) {
|
|
|
37994
38200
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
37995
38201
|
}
|
|
37996
38202
|
|
|
37997
|
-
// bazel-out/
|
|
38203
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
37998
38204
|
var import_typescript70 = __toESM(require("typescript"), 1);
|
|
37999
38205
|
|
|
38000
|
-
// bazel-out/
|
|
38206
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
38001
38207
|
var import_typescript69 = __toESM(require("typescript"), 1);
|
|
38002
38208
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
38003
38209
|
function readSpanComment(node, sourceFile = node.getSourceFile()) {
|
|
@@ -38127,7 +38333,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
38127
38333
|
}) || false;
|
|
38128
38334
|
}
|
|
38129
38335
|
|
|
38130
|
-
// bazel-out/
|
|
38336
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
38131
38337
|
var CompletionEngine = class {
|
|
38132
38338
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
38133
38339
|
this.tcb = tcb;
|
|
@@ -39390,10 +39596,10 @@ var MagicString = class {
|
|
|
39390
39596
|
}
|
|
39391
39597
|
};
|
|
39392
39598
|
|
|
39393
|
-
// bazel-out/
|
|
39599
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
39394
39600
|
var import_typescript84 = __toESM(require("typescript"), 1);
|
|
39395
39601
|
|
|
39396
|
-
// bazel-out/
|
|
39602
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
39397
39603
|
var import_typescript71 = __toESM(require("typescript"), 1);
|
|
39398
39604
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
39399
39605
|
var REMOVE_XHTML_REGEX = /^:xhtml:/;
|
|
@@ -39445,10 +39651,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
39445
39651
|
}
|
|
39446
39652
|
};
|
|
39447
39653
|
|
|
39448
|
-
// bazel-out/
|
|
39654
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
39449
39655
|
var import_typescript77 = __toESM(require("typescript"), 1);
|
|
39450
39656
|
|
|
39451
|
-
// bazel-out/
|
|
39657
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
|
|
39452
39658
|
var ReferenceEmitEnvironment = class {
|
|
39453
39659
|
constructor(importManager, refEmitter, reflector, contextFile) {
|
|
39454
39660
|
this.importManager = importManager;
|
|
@@ -39478,7 +39684,7 @@ var ReferenceEmitEnvironment = class {
|
|
|
39478
39684
|
}
|
|
39479
39685
|
};
|
|
39480
39686
|
|
|
39481
|
-
// bazel-out/
|
|
39687
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
39482
39688
|
var import_typescript72 = __toESM(require("typescript"), 1);
|
|
39483
39689
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
39484
39690
|
import_typescript72.default.SyntaxKind.ParenthesizedExpression,
|
|
@@ -39561,13 +39767,13 @@ function tsNumericExpression2(value) {
|
|
|
39561
39767
|
return import_typescript72.default.factory.createNumericLiteral(value);
|
|
39562
39768
|
}
|
|
39563
39769
|
|
|
39564
|
-
// bazel-out/
|
|
39770
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
39565
39771
|
var import_typescript76 = __toESM(require("typescript"), 1);
|
|
39566
39772
|
|
|
39567
|
-
// bazel-out/
|
|
39773
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
39568
39774
|
var import_typescript74 = __toESM(require("typescript"), 1);
|
|
39569
39775
|
|
|
39570
|
-
// bazel-out/
|
|
39776
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
39571
39777
|
var import_typescript73 = __toESM(require("typescript"), 1);
|
|
39572
39778
|
var TypeParameterEmitter = class {
|
|
39573
39779
|
constructor(typeParameters, reflector) {
|
|
@@ -39645,7 +39851,7 @@ var TypeParameterEmitter = class {
|
|
|
39645
39851
|
}
|
|
39646
39852
|
};
|
|
39647
39853
|
|
|
39648
|
-
// bazel-out/
|
|
39854
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
39649
39855
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
39650
39856
|
Identifiers.InputSignalBrandWriteType
|
|
39651
39857
|
];
|
|
@@ -39737,7 +39943,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
39737
39943
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
39738
39944
|
}
|
|
39739
39945
|
|
|
39740
|
-
// bazel-out/
|
|
39946
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
39741
39947
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
39742
39948
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
39743
39949
|
const rawType = import_typescript76.default.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -39860,7 +40066,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
39860
40066
|
});
|
|
39861
40067
|
}
|
|
39862
40068
|
|
|
39863
|
-
// bazel-out/
|
|
40069
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
39864
40070
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
39865
40071
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
39866
40072
|
super(importManager, refEmitter, reflector, contextFile);
|
|
@@ -39932,7 +40138,7 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
39932
40138
|
}
|
|
39933
40139
|
};
|
|
39934
40140
|
|
|
39935
|
-
// bazel-out/
|
|
40141
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
39936
40142
|
var import_typescript78 = __toESM(require("typescript"), 1);
|
|
39937
40143
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
39938
40144
|
constructor(resolver) {
|
|
@@ -40132,7 +40338,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
40132
40338
|
});
|
|
40133
40339
|
}
|
|
40134
40340
|
|
|
40135
|
-
// bazel-out/
|
|
40341
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
40136
40342
|
var import_typescript79 = __toESM(require("typescript"), 1);
|
|
40137
40343
|
var TypeCheckShimGenerator = class {
|
|
40138
40344
|
constructor() {
|
|
@@ -40150,10 +40356,10 @@ var TypeCheckShimGenerator = class {
|
|
|
40150
40356
|
}
|
|
40151
40357
|
};
|
|
40152
40358
|
|
|
40153
|
-
// bazel-out/
|
|
40359
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
40154
40360
|
var import_typescript82 = __toESM(require("typescript"), 1);
|
|
40155
40361
|
|
|
40156
|
-
// bazel-out/
|
|
40362
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
40157
40363
|
var import_typescript80 = __toESM(require("typescript"), 1);
|
|
40158
40364
|
function wrapForDiagnostics(expr) {
|
|
40159
40365
|
return import_typescript80.default.factory.createParenthesizedExpression(expr);
|
|
@@ -40208,7 +40414,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
40208
40414
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
40209
40415
|
}
|
|
40210
40416
|
|
|
40211
|
-
// bazel-out/
|
|
40417
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
40212
40418
|
var import_typescript81 = __toESM(require("typescript"), 1);
|
|
40213
40419
|
var NULL_AS_ANY = import_typescript81.default.factory.createAsExpression(import_typescript81.default.factory.createNull(), import_typescript81.default.factory.createKeywordTypeNode(import_typescript81.default.SyntaxKind.AnyKeyword));
|
|
40214
40420
|
var UNDEFINED = import_typescript81.default.factory.createIdentifier("undefined");
|
|
@@ -40540,7 +40746,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
40540
40746
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
40541
40747
|
})();
|
|
40542
40748
|
|
|
40543
|
-
// bazel-out/
|
|
40749
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
40544
40750
|
var TcbGenericContextBehavior;
|
|
40545
40751
|
(function(TcbGenericContextBehavior2) {
|
|
40546
40752
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -42117,7 +42323,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
42117
42323
|
}
|
|
42118
42324
|
};
|
|
42119
42325
|
|
|
42120
|
-
// bazel-out/
|
|
42326
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
42121
42327
|
var import_typescript83 = __toESM(require("typescript"), 1);
|
|
42122
42328
|
var TypeCheckFile = class extends Environment {
|
|
42123
42329
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -42165,7 +42371,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
42165
42371
|
}
|
|
42166
42372
|
};
|
|
42167
42373
|
|
|
42168
|
-
// bazel-out/
|
|
42374
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
42169
42375
|
var InliningMode;
|
|
42170
42376
|
(function(InliningMode2) {
|
|
42171
42377
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -42417,7 +42623,7 @@ var TypeCtorOp = class {
|
|
|
42417
42623
|
}
|
|
42418
42624
|
};
|
|
42419
42625
|
|
|
42420
|
-
// bazel-out/
|
|
42626
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
42421
42627
|
var LF_CHAR = 10;
|
|
42422
42628
|
var CR_CHAR = 13;
|
|
42423
42629
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -42458,7 +42664,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
42458
42664
|
return low - 1;
|
|
42459
42665
|
}
|
|
42460
42666
|
|
|
42461
|
-
// bazel-out/
|
|
42667
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
42462
42668
|
var TemplateSource = class {
|
|
42463
42669
|
constructor(mapping, file) {
|
|
42464
42670
|
this.mapping = mapping;
|
|
@@ -42509,7 +42715,7 @@ var TemplateSourceManager = class {
|
|
|
42509
42715
|
}
|
|
42510
42716
|
};
|
|
42511
42717
|
|
|
42512
|
-
// bazel-out/
|
|
42718
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
42513
42719
|
var import_typescript85 = __toESM(require("typescript"), 1);
|
|
42514
42720
|
var SymbolBuilder = class {
|
|
42515
42721
|
constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
|
|
@@ -43076,7 +43282,7 @@ function unwrapSignalInputWriteTAccessor(expr) {
|
|
|
43076
43282
|
};
|
|
43077
43283
|
}
|
|
43078
43284
|
|
|
43079
|
-
// bazel-out/
|
|
43285
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
43080
43286
|
var REGISTRY2 = new DomElementSchemaRegistry();
|
|
43081
43287
|
var TemplateTypeCheckerImpl = class {
|
|
43082
43288
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -43774,7 +43980,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
43774
43980
|
}
|
|
43775
43981
|
};
|
|
43776
43982
|
|
|
43777
|
-
// bazel-out/
|
|
43983
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
43778
43984
|
var EMPTY_ARRAY2 = [];
|
|
43779
43985
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
43780
43986
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
@@ -44793,7 +44999,7 @@ function isDefaultImport(node) {
|
|
|
44793
44999
|
return node.importClause !== void 0 && node.importClause.namedBindings === void 0;
|
|
44794
45000
|
}
|
|
44795
45001
|
|
|
44796
|
-
// bazel-out/
|
|
45002
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
44797
45003
|
var import_typescript90 = __toESM(require("typescript"), 1);
|
|
44798
45004
|
var InjectableDecoratorHandler = class {
|
|
44799
45005
|
constructor(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, perf, includeClassMetadata, compilationMode, errorOnDuplicateProv = true) {
|
|
@@ -45024,7 +45230,7 @@ function getDep(dep, reflector) {
|
|
|
45024
45230
|
return meta;
|
|
45025
45231
|
}
|
|
45026
45232
|
|
|
45027
|
-
// bazel-out/
|
|
45233
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
45028
45234
|
var import_typescript91 = __toESM(require("typescript"), 1);
|
|
45029
45235
|
var PipeSymbol = class extends SemanticSymbol {
|
|
45030
45236
|
constructor(decl, name) {
|
|
@@ -45180,13 +45386,13 @@ var PipeDecoratorHandler = class {
|
|
|
45180
45386
|
}
|
|
45181
45387
|
};
|
|
45182
45388
|
|
|
45183
|
-
// bazel-out/
|
|
45389
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/transform_api.mjs
|
|
45184
45390
|
var import_typescript92 = __toESM(require("typescript"), 1);
|
|
45185
45391
|
|
|
45186
|
-
// bazel-out/
|
|
45392
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/model_function.mjs
|
|
45187
45393
|
var import_typescript93 = __toESM(require("typescript"), 1);
|
|
45188
45394
|
|
|
45189
|
-
// bazel-out/
|
|
45395
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
45190
45396
|
var EmitFlags;
|
|
45191
45397
|
(function(EmitFlags2) {
|
|
45192
45398
|
EmitFlags2[EmitFlags2["DTS"] = 1] = "DTS";
|
|
@@ -45198,13 +45404,13 @@ var EmitFlags;
|
|
|
45198
45404
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
45199
45405
|
})(EmitFlags || (EmitFlags = {}));
|
|
45200
45406
|
|
|
45201
|
-
// bazel-out/
|
|
45407
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
45202
45408
|
var import_typescript96 = __toESM(require("typescript"), 1);
|
|
45203
45409
|
|
|
45204
|
-
// bazel-out/
|
|
45410
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
45205
45411
|
var import_typescript123 = __toESM(require("typescript"), 1);
|
|
45206
45412
|
|
|
45207
|
-
// bazel-out/
|
|
45413
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
45208
45414
|
var path2 = __toESM(require("path"), 1);
|
|
45209
45415
|
function i18nGetExtension(formatName) {
|
|
45210
45416
|
const format = formatName.toLowerCase();
|
|
@@ -45254,10 +45460,10 @@ function getPathNormalizer(basePath) {
|
|
|
45254
45460
|
};
|
|
45255
45461
|
}
|
|
45256
45462
|
|
|
45257
|
-
// bazel-out/
|
|
45463
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
45258
45464
|
var import_typescript97 = __toESM(require("typescript"), 1);
|
|
45259
45465
|
|
|
45260
|
-
// bazel-out/
|
|
45466
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
45261
45467
|
function toNumbers(value) {
|
|
45262
45468
|
const suffixIndex = value.lastIndexOf("-");
|
|
45263
45469
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -45292,7 +45498,7 @@ function compareVersions(v1, v2) {
|
|
|
45292
45498
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
45293
45499
|
}
|
|
45294
45500
|
|
|
45295
|
-
// bazel-out/
|
|
45501
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
45296
45502
|
var MIN_TS_VERSION = "5.4.0";
|
|
45297
45503
|
var MAX_TS_VERSION = "5.6.0";
|
|
45298
45504
|
var tsVersion = import_typescript97.default.version;
|
|
@@ -45305,10 +45511,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
45305
45511
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
45306
45512
|
}
|
|
45307
45513
|
|
|
45308
|
-
// bazel-out/
|
|
45514
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
45309
45515
|
var import_typescript119 = __toESM(require("typescript"), 1);
|
|
45310
45516
|
|
|
45311
|
-
// bazel-out/
|
|
45517
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
45312
45518
|
var CycleAnalyzer = class {
|
|
45313
45519
|
constructor(importGraph) {
|
|
45314
45520
|
this.importGraph = importGraph;
|
|
@@ -45379,7 +45585,7 @@ var Cycle = class {
|
|
|
45379
45585
|
}
|
|
45380
45586
|
};
|
|
45381
45587
|
|
|
45382
|
-
// bazel-out/
|
|
45588
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
45383
45589
|
var import_typescript98 = __toESM(require("typescript"), 1);
|
|
45384
45590
|
var ImportGraph = class {
|
|
45385
45591
|
constructor(checker, perf) {
|
|
@@ -45471,13 +45677,13 @@ var Found = class {
|
|
|
45471
45677
|
}
|
|
45472
45678
|
};
|
|
45473
45679
|
|
|
45474
|
-
// bazel-out/
|
|
45680
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
45475
45681
|
var import_typescript107 = __toESM(require("typescript"), 1);
|
|
45476
45682
|
|
|
45477
|
-
// bazel-out/
|
|
45683
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
45478
45684
|
var import_typescript102 = __toESM(require("typescript"), 1);
|
|
45479
45685
|
|
|
45480
|
-
// bazel-out/
|
|
45686
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
45481
45687
|
var EntryType;
|
|
45482
45688
|
(function(EntryType2) {
|
|
45483
45689
|
EntryType2["Block"] = "block";
|
|
@@ -45521,17 +45727,17 @@ var MemberTags;
|
|
|
45521
45727
|
MemberTags2["Inherited"] = "override";
|
|
45522
45728
|
})(MemberTags || (MemberTags = {}));
|
|
45523
45729
|
|
|
45524
|
-
// bazel-out/
|
|
45730
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
45525
45731
|
function isAngularPrivateName(name) {
|
|
45526
45732
|
var _a2;
|
|
45527
45733
|
const firstChar = (_a2 = name[0]) != null ? _a2 : "";
|
|
45528
45734
|
return firstChar === "\u0275" || firstChar === "_";
|
|
45529
45735
|
}
|
|
45530
45736
|
|
|
45531
|
-
// bazel-out/
|
|
45737
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
45532
45738
|
var import_typescript100 = __toESM(require("typescript"), 1);
|
|
45533
45739
|
|
|
45534
|
-
// bazel-out/
|
|
45740
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
45535
45741
|
function extractGenerics(declaration) {
|
|
45536
45742
|
var _a2, _b2;
|
|
45537
45743
|
return (_b2 = (_a2 = declaration.typeParameters) == null ? void 0 : _a2.map((typeParam) => {
|
|
@@ -45544,7 +45750,7 @@ function extractGenerics(declaration) {
|
|
|
45544
45750
|
})) != null ? _b2 : [];
|
|
45545
45751
|
}
|
|
45546
45752
|
|
|
45547
|
-
// bazel-out/
|
|
45753
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
45548
45754
|
var import_typescript99 = __toESM(require("typescript"), 1);
|
|
45549
45755
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf))/g;
|
|
45550
45756
|
function extractJsDocTags(node) {
|
|
@@ -45588,12 +45794,12 @@ function unescapeAngularDecorators(comment) {
|
|
|
45588
45794
|
return comment.replace(/_NG_AT_/g, "@");
|
|
45589
45795
|
}
|
|
45590
45796
|
|
|
45591
|
-
// bazel-out/
|
|
45797
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
45592
45798
|
function extractResolvedTypeString(node, checker) {
|
|
45593
45799
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
45594
45800
|
}
|
|
45595
45801
|
|
|
45596
|
-
// bazel-out/
|
|
45802
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
45597
45803
|
var FunctionExtractor = class {
|
|
45598
45804
|
constructor(name, declaration, typeChecker) {
|
|
45599
45805
|
this.name = name;
|
|
@@ -45652,7 +45858,7 @@ function extractAllParams(params, typeChecker) {
|
|
|
45652
45858
|
}));
|
|
45653
45859
|
}
|
|
45654
45860
|
|
|
45655
|
-
// bazel-out/
|
|
45861
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
|
|
45656
45862
|
var import_typescript101 = __toESM(require("typescript"), 1);
|
|
45657
45863
|
function isInternal(member) {
|
|
45658
45864
|
return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
|
|
@@ -45671,7 +45877,7 @@ function hasLeadingInternalComment(member) {
|
|
|
45671
45877
|
)) != null ? _a2 : false;
|
|
45672
45878
|
}
|
|
45673
45879
|
|
|
45674
|
-
// bazel-out/
|
|
45880
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
45675
45881
|
var ClassExtractor = class {
|
|
45676
45882
|
constructor(declaration, typeChecker) {
|
|
45677
45883
|
this.declaration = declaration;
|
|
@@ -45923,7 +46129,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
45923
46129
|
return extractor.extract();
|
|
45924
46130
|
}
|
|
45925
46131
|
|
|
45926
|
-
// bazel-out/
|
|
46132
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
45927
46133
|
var import_typescript103 = __toESM(require("typescript"), 1);
|
|
45928
46134
|
var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
|
|
45929
46135
|
function extractConstant(declaration, typeChecker) {
|
|
@@ -45981,7 +46187,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
|
|
|
45981
46187
|
});
|
|
45982
46188
|
}
|
|
45983
46189
|
|
|
45984
|
-
// bazel-out/
|
|
46190
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
45985
46191
|
var import_typescript104 = __toESM(require("typescript"), 1);
|
|
45986
46192
|
function extractorDecorator(declaration, typeChecker) {
|
|
45987
46193
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -46054,7 +46260,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
46054
46260
|
return callSignature;
|
|
46055
46261
|
}
|
|
46056
46262
|
|
|
46057
|
-
// bazel-out/
|
|
46263
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
46058
46264
|
var import_typescript105 = __toESM(require("typescript"), 1);
|
|
46059
46265
|
function extractEnum(declaration, typeChecker) {
|
|
46060
46266
|
return {
|
|
@@ -46085,7 +46291,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
46085
46291
|
return (_a2 = literal3 == null ? void 0 : literal3.getText()) != null ? _a2 : "";
|
|
46086
46292
|
}
|
|
46087
46293
|
|
|
46088
|
-
// bazel-out/
|
|
46294
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
|
|
46089
46295
|
var import_typescript106 = __toESM(require("typescript"), 1);
|
|
46090
46296
|
var initializerApiTag = "initializerApiFunction";
|
|
46091
46297
|
function isInitializerApiFunction(node, typeChecker) {
|
|
@@ -46222,7 +46428,7 @@ function findImplementationOfFunction(node, typeChecker) {
|
|
|
46222
46428
|
return (_a2 = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _a2.find((s) => import_typescript106.default.isFunctionDeclaration(s) && s.body !== void 0);
|
|
46223
46429
|
}
|
|
46224
46430
|
|
|
46225
|
-
// bazel-out/
|
|
46431
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
46226
46432
|
function extractTypeAlias(declaration) {
|
|
46227
46433
|
return {
|
|
46228
46434
|
name: declaration.name.getText(),
|
|
@@ -46234,7 +46440,7 @@ function extractTypeAlias(declaration) {
|
|
|
46234
46440
|
};
|
|
46235
46441
|
}
|
|
46236
46442
|
|
|
46237
|
-
// bazel-out/
|
|
46443
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
46238
46444
|
var DocsExtractor = class {
|
|
46239
46445
|
constructor(typeChecker, metadataReader) {
|
|
46240
46446
|
this.typeChecker = typeChecker;
|
|
@@ -46318,7 +46524,7 @@ function getRelativeFilePath(sourceFile, rootDir) {
|
|
|
46318
46524
|
return relativePath;
|
|
46319
46525
|
}
|
|
46320
46526
|
|
|
46321
|
-
// bazel-out/
|
|
46527
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
46322
46528
|
var import_typescript108 = __toESM(require("typescript"), 1);
|
|
46323
46529
|
var FlatIndexGenerator = class {
|
|
46324
46530
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -46343,7 +46549,7 @@ export * from '${relativeEntryPoint}';
|
|
|
46343
46549
|
}
|
|
46344
46550
|
};
|
|
46345
46551
|
|
|
46346
|
-
// bazel-out/
|
|
46552
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
46347
46553
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
46348
46554
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
46349
46555
|
let resolvedEntryPoint = null;
|
|
@@ -46359,7 +46565,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
46359
46565
|
return resolvedEntryPoint;
|
|
46360
46566
|
}
|
|
46361
46567
|
|
|
46362
|
-
// bazel-out/
|
|
46568
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
46363
46569
|
var import_typescript110 = __toESM(require("typescript"), 1);
|
|
46364
46570
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
46365
46571
|
const diagnostics = [];
|
|
@@ -46439,7 +46645,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
46439
46645
|
}
|
|
46440
46646
|
}
|
|
46441
46647
|
|
|
46442
|
-
// bazel-out/
|
|
46648
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
46443
46649
|
var ReferenceGraph = class {
|
|
46444
46650
|
constructor() {
|
|
46445
46651
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -46493,7 +46699,7 @@ var ReferenceGraph = class {
|
|
|
46493
46699
|
}
|
|
46494
46700
|
};
|
|
46495
46701
|
|
|
46496
|
-
// bazel-out/
|
|
46702
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
46497
46703
|
var FileDependencyGraph = class {
|
|
46498
46704
|
constructor() {
|
|
46499
46705
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -46560,7 +46766,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
46560
46766
|
return false;
|
|
46561
46767
|
}
|
|
46562
46768
|
|
|
46563
|
-
// bazel-out/
|
|
46769
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
46564
46770
|
var IncrementalStateKind;
|
|
46565
46771
|
(function(IncrementalStateKind2) {
|
|
46566
46772
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -46568,7 +46774,7 @@ var IncrementalStateKind;
|
|
|
46568
46774
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
46569
46775
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
46570
46776
|
|
|
46571
|
-
// bazel-out/
|
|
46777
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
46572
46778
|
var PhaseKind;
|
|
46573
46779
|
(function(PhaseKind2) {
|
|
46574
46780
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -46769,7 +46975,7 @@ function toOriginalSourceFile(sf) {
|
|
|
46769
46975
|
}
|
|
46770
46976
|
}
|
|
46771
46977
|
|
|
46772
|
-
// bazel-out/
|
|
46978
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
46773
46979
|
var TrackedIncrementalBuildStrategy = class {
|
|
46774
46980
|
constructor() {
|
|
46775
46981
|
this.state = null;
|
|
@@ -46790,7 +46996,7 @@ var TrackedIncrementalBuildStrategy = class {
|
|
|
46790
46996
|
};
|
|
46791
46997
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
46792
46998
|
|
|
46793
|
-
// bazel-out/
|
|
46999
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
46794
47000
|
var IdentifierKind;
|
|
46795
47001
|
(function(IdentifierKind2) {
|
|
46796
47002
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -46809,7 +47015,7 @@ var AbsoluteSourceSpan2 = class {
|
|
|
46809
47015
|
}
|
|
46810
47016
|
};
|
|
46811
47017
|
|
|
46812
|
-
// bazel-out/
|
|
47018
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
46813
47019
|
var IndexingContext = class {
|
|
46814
47020
|
constructor() {
|
|
46815
47021
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -46819,7 +47025,7 @@ var IndexingContext = class {
|
|
|
46819
47025
|
}
|
|
46820
47026
|
};
|
|
46821
47027
|
|
|
46822
|
-
// bazel-out/
|
|
47028
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
46823
47029
|
var ExpressionVisitor = class extends RecursiveAstVisitor2 {
|
|
46824
47030
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
46825
47031
|
super();
|
|
@@ -47113,7 +47319,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
47113
47319
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
47114
47320
|
}
|
|
47115
47321
|
|
|
47116
|
-
// bazel-out/
|
|
47322
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
47117
47323
|
function generateAnalysis(context) {
|
|
47118
47324
|
const analysis = /* @__PURE__ */ new Map();
|
|
47119
47325
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -47149,7 +47355,7 @@ function generateAnalysis(context) {
|
|
|
47149
47355
|
return analysis;
|
|
47150
47356
|
}
|
|
47151
47357
|
|
|
47152
|
-
// bazel-out/
|
|
47358
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
47153
47359
|
var NgModuleIndexImpl = class {
|
|
47154
47360
|
constructor(metaReader, localReader) {
|
|
47155
47361
|
this.metaReader = metaReader;
|
|
@@ -47238,7 +47444,7 @@ var NgModuleIndexImpl = class {
|
|
|
47238
47444
|
}
|
|
47239
47445
|
};
|
|
47240
47446
|
|
|
47241
|
-
// bazel-out/
|
|
47447
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
47242
47448
|
var import_typescript112 = __toESM(require("typescript"), 1);
|
|
47243
47449
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
47244
47450
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -47390,7 +47596,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
47390
47596
|
};
|
|
47391
47597
|
}
|
|
47392
47598
|
|
|
47393
|
-
// bazel-out/
|
|
47599
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
47394
47600
|
var StandaloneComponentScopeReader = class {
|
|
47395
47601
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
47396
47602
|
this.metaReader = metaReader;
|
|
@@ -47486,7 +47692,7 @@ var StandaloneComponentScopeReader = class {
|
|
|
47486
47692
|
}
|
|
47487
47693
|
};
|
|
47488
47694
|
|
|
47489
|
-
// bazel-out/
|
|
47695
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
|
|
47490
47696
|
var import_typescript113 = __toESM(require("typescript"), 1);
|
|
47491
47697
|
var SIGNAL_FNS = /* @__PURE__ */ new Set([
|
|
47492
47698
|
"WritableSignal",
|
|
@@ -47506,7 +47712,7 @@ function isSignalSymbol(symbol) {
|
|
|
47506
47712
|
});
|
|
47507
47713
|
}
|
|
47508
47714
|
|
|
47509
|
-
// bazel-out/
|
|
47715
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
47510
47716
|
var TemplateCheckWithVisitor = class {
|
|
47511
47717
|
run(ctx, component, template2) {
|
|
47512
47718
|
const visitor = new TemplateVisitor2(ctx, component, this);
|
|
@@ -47633,7 +47839,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
47633
47839
|
}
|
|
47634
47840
|
};
|
|
47635
47841
|
|
|
47636
|
-
// bazel-out/
|
|
47842
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
47637
47843
|
var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
|
|
47638
47844
|
var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
|
|
47639
47845
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -47685,7 +47891,7 @@ var factory = {
|
|
|
47685
47891
|
create: () => new InterpolatedSignalCheck()
|
|
47686
47892
|
};
|
|
47687
47893
|
|
|
47688
|
-
// bazel-out/
|
|
47894
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
47689
47895
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
47690
47896
|
constructor() {
|
|
47691
47897
|
super(...arguments);
|
|
@@ -47710,7 +47916,7 @@ var factory2 = {
|
|
|
47710
47916
|
create: () => new InvalidBananaInBoxCheck()
|
|
47711
47917
|
};
|
|
47712
47918
|
|
|
47713
|
-
// bazel-out/
|
|
47919
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
47714
47920
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
47715
47921
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
47716
47922
|
["ngFor", { directive: "NgFor", builtIn: "@for" }],
|
|
@@ -47754,7 +47960,7 @@ var factory3 = {
|
|
|
47754
47960
|
}
|
|
47755
47961
|
};
|
|
47756
47962
|
|
|
47757
|
-
// bazel-out/
|
|
47963
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
47758
47964
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
47759
47965
|
constructor() {
|
|
47760
47966
|
super(...arguments);
|
|
@@ -47786,7 +47992,7 @@ var factory4 = {
|
|
|
47786
47992
|
create: () => new MissingNgForOfLetCheck()
|
|
47787
47993
|
};
|
|
47788
47994
|
|
|
47789
|
-
// bazel-out/
|
|
47995
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
47790
47996
|
var import_typescript114 = __toESM(require("typescript"), 1);
|
|
47791
47997
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
47792
47998
|
constructor() {
|
|
@@ -47830,7 +48036,7 @@ var factory5 = {
|
|
|
47830
48036
|
}
|
|
47831
48037
|
};
|
|
47832
48038
|
|
|
47833
|
-
// bazel-out/
|
|
48039
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
47834
48040
|
var import_typescript115 = __toESM(require("typescript"), 1);
|
|
47835
48041
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
47836
48042
|
constructor() {
|
|
@@ -47875,7 +48081,7 @@ var factory6 = {
|
|
|
47875
48081
|
}
|
|
47876
48082
|
};
|
|
47877
48083
|
|
|
47878
|
-
// bazel-out/
|
|
48084
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
47879
48085
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
47880
48086
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
47881
48087
|
constructor() {
|
|
@@ -47898,7 +48104,7 @@ var factory7 = {
|
|
|
47898
48104
|
create: () => new SuffixNotSupportedCheck()
|
|
47899
48105
|
};
|
|
47900
48106
|
|
|
47901
|
-
// bazel-out/
|
|
48107
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
47902
48108
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
47903
48109
|
constructor() {
|
|
47904
48110
|
super(...arguments);
|
|
@@ -47936,10 +48142,10 @@ var factory8 = {
|
|
|
47936
48142
|
create: () => new TextAttributeNotBindingSpec()
|
|
47937
48143
|
};
|
|
47938
48144
|
|
|
47939
|
-
// bazel-out/
|
|
48145
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
47940
48146
|
var import_typescript116 = __toESM(require("typescript"), 1);
|
|
47941
48147
|
|
|
47942
|
-
// bazel-out/
|
|
48148
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
47943
48149
|
var DiagnosticCategoryLabel;
|
|
47944
48150
|
(function(DiagnosticCategoryLabel2) {
|
|
47945
48151
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -47947,7 +48153,7 @@ var DiagnosticCategoryLabel;
|
|
|
47947
48153
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
47948
48154
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
47949
48155
|
|
|
47950
|
-
// bazel-out/
|
|
48156
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
47951
48157
|
var ExtendedTemplateCheckerImpl = class {
|
|
47952
48158
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
47953
48159
|
var _a2, _b2, _c2, _d2, _e2;
|
|
@@ -47999,7 +48205,7 @@ function assertNever(value) {
|
|
|
47999
48205
|
${value}`);
|
|
48000
48206
|
}
|
|
48001
48207
|
|
|
48002
|
-
// bazel-out/
|
|
48208
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
48003
48209
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
48004
48210
|
factory2,
|
|
48005
48211
|
factory5,
|
|
@@ -48015,7 +48221,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
|
48015
48221
|
...ALL_DIAGNOSTIC_FACTORIES.map((factory9) => factory9.name)
|
|
48016
48222
|
]);
|
|
48017
48223
|
|
|
48018
|
-
// bazel-out/
|
|
48224
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
|
|
48019
48225
|
var import_typescript117 = __toESM(require("typescript"), 1);
|
|
48020
48226
|
var TemplateSemanticsCheckerImpl = class {
|
|
48021
48227
|
constructor(templateTypeChecker) {
|
|
@@ -48105,7 +48311,7 @@ function unwrapAstWithSource(ast) {
|
|
|
48105
48311
|
return ast instanceof ASTWithSource ? ast.ast : ast;
|
|
48106
48312
|
}
|
|
48107
48313
|
|
|
48108
|
-
// bazel-out/
|
|
48314
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
|
|
48109
48315
|
var import_typescript118 = __toESM(require("typescript"), 1);
|
|
48110
48316
|
var APIS_TO_CHECK = [
|
|
48111
48317
|
INPUT_INITIALIZER_FN,
|
|
@@ -48156,7 +48362,7 @@ var InitializerApiUsageRule = class {
|
|
|
48156
48362
|
}
|
|
48157
48363
|
};
|
|
48158
48364
|
|
|
48159
|
-
// bazel-out/
|
|
48365
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
|
|
48160
48366
|
var SourceFileValidator = class {
|
|
48161
48367
|
constructor(reflector, importedSymbolsTracker) {
|
|
48162
48368
|
this.rules = [new InitializerApiUsageRule(reflector, importedSymbolsTracker)];
|
|
@@ -48194,7 +48400,7 @@ var SourceFileValidator = class {
|
|
|
48194
48400
|
}
|
|
48195
48401
|
};
|
|
48196
48402
|
|
|
48197
|
-
// bazel-out/
|
|
48403
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
|
|
48198
48404
|
function coreHasSymbol(program, symbol) {
|
|
48199
48405
|
const checker = program.getTypeChecker();
|
|
48200
48406
|
for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
|
|
@@ -48213,7 +48419,7 @@ function isMaybeCore(sf) {
|
|
|
48213
48419
|
return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
|
|
48214
48420
|
}
|
|
48215
48421
|
|
|
48216
|
-
// bazel-out/
|
|
48422
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
|
|
48217
48423
|
var import_semver = __toESM(require_semver2(), 1);
|
|
48218
48424
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
48219
48425
|
if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
|
|
@@ -48222,7 +48428,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
|
48222
48428
|
return import_semver.default.satisfies(coreVersion, minVersion);
|
|
48223
48429
|
}
|
|
48224
48430
|
|
|
48225
|
-
// bazel-out/
|
|
48431
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
48226
48432
|
var CompilationTicketKind;
|
|
48227
48433
|
(function(CompilationTicketKind2) {
|
|
48228
48434
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -49005,7 +49211,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
49005
49211
|
return versions;
|
|
49006
49212
|
}
|
|
49007
49213
|
|
|
49008
|
-
// bazel-out/
|
|
49214
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
49009
49215
|
var import_typescript121 = __toESM(require("typescript"), 1);
|
|
49010
49216
|
var DelegatingCompilerHost2 = class {
|
|
49011
49217
|
get jsDocParsingMode() {
|
|
@@ -49144,7 +49350,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
49144
49350
|
}
|
|
49145
49351
|
};
|
|
49146
49352
|
|
|
49147
|
-
// bazel-out/
|
|
49353
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
49148
49354
|
var NgtscProgram = class {
|
|
49149
49355
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
49150
49356
|
this.options = options;
|
|
@@ -49371,18 +49577,18 @@ function mergeEmitResults(emitResults) {
|
|
|
49371
49577
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
49372
49578
|
}
|
|
49373
49579
|
|
|
49374
|
-
// bazel-out/
|
|
49580
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
49375
49581
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
49376
49582
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
49377
49583
|
}
|
|
49378
49584
|
|
|
49379
|
-
// bazel-out/
|
|
49585
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
49380
49586
|
var import_typescript125 = __toESM(require("typescript"), 1);
|
|
49381
49587
|
|
|
49382
|
-
// bazel-out/
|
|
49588
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
49383
49589
|
var import_typescript124 = __toESM(require("typescript"), 1);
|
|
49384
49590
|
|
|
49385
|
-
// bazel-out/
|
|
49591
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
49386
49592
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
49387
49593
|
ngDevMode: false,
|
|
49388
49594
|
ngI18nClosureMode: false
|
|
@@ -49391,7 +49597,7 @@ var GLOBAL_DEFS_FOR_TERSER_WITH_AOT = __spreadProps(__spreadValues({}, GLOBAL_DE
|
|
|
49391
49597
|
ngJitMode: false
|
|
49392
49598
|
});
|
|
49393
49599
|
|
|
49394
|
-
// bazel-out/
|
|
49600
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
49395
49601
|
var LogLevel;
|
|
49396
49602
|
(function(LogLevel2) {
|
|
49397
49603
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -49400,7 +49606,7 @@ var LogLevel;
|
|
|
49400
49606
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
49401
49607
|
})(LogLevel || (LogLevel = {}));
|
|
49402
49608
|
|
|
49403
|
-
// bazel-out/
|
|
49609
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
49404
49610
|
var RESET = "\x1B[0m";
|
|
49405
49611
|
var RED = "\x1B[31m";
|
|
49406
49612
|
var YELLOW = "\x1B[33m";
|
|
@@ -49409,18 +49615,18 @@ var DEBUG = `${BLUE}Debug:${RESET}`;
|
|
|
49409
49615
|
var WARN = `${YELLOW}Warning:${RESET}`;
|
|
49410
49616
|
var ERROR = `${RED}Error:${RESET}`;
|
|
49411
49617
|
|
|
49412
|
-
// bazel-out/
|
|
49618
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
49413
49619
|
setFileSystem(new NodeJSFileSystem());
|
|
49414
49620
|
|
|
49415
|
-
// bazel-out/
|
|
49621
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
49416
49622
|
var import_fs2 = require("fs");
|
|
49417
49623
|
var import_path8 = require("path");
|
|
49418
49624
|
var import_typescript138 = __toESM(require("typescript"), 1);
|
|
49419
49625
|
|
|
49420
|
-
// bazel-out/
|
|
49626
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
49421
49627
|
var import_typescript127 = __toESM(require("typescript"), 1);
|
|
49422
49628
|
|
|
49423
|
-
// bazel-out/
|
|
49629
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
|
|
49424
49630
|
var import_path4 = require("path");
|
|
49425
49631
|
var import_typescript126 = __toESM(require("typescript"), 1);
|
|
49426
49632
|
var ImportManager2 = class {
|
|
@@ -49604,7 +49810,7 @@ ${text2}`;
|
|
|
49604
49810
|
}
|
|
49605
49811
|
};
|
|
49606
49812
|
|
|
49607
|
-
// bazel-out/
|
|
49813
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
49608
49814
|
var ChangeTracker = class {
|
|
49609
49815
|
constructor(_printer, _importRemapper) {
|
|
49610
49816
|
__publicField(this, "_printer");
|
|
@@ -49667,7 +49873,7 @@ function normalizePath(path4) {
|
|
|
49667
49873
|
return path4.replace(/\\/g, "/");
|
|
49668
49874
|
}
|
|
49669
49875
|
|
|
49670
|
-
// bazel-out/
|
|
49876
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
49671
49877
|
var import_core19 = require("@angular-devkit/core");
|
|
49672
49878
|
function getProjectTsConfigPaths(tree) {
|
|
49673
49879
|
return __async(this, null, function* () {
|
|
@@ -49747,11 +49953,11 @@ function getWorkspace(tree) {
|
|
|
49747
49953
|
});
|
|
49748
49954
|
}
|
|
49749
49955
|
|
|
49750
|
-
// bazel-out/
|
|
49956
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
49751
49957
|
var import_path5 = require("path");
|
|
49752
49958
|
var import_typescript129 = __toESM(require("typescript"), 1);
|
|
49753
49959
|
|
|
49754
|
-
// bazel-out/
|
|
49960
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
49755
49961
|
var path3 = __toESM(require("path"), 1);
|
|
49756
49962
|
var import_typescript128 = __toESM(require("typescript"), 1);
|
|
49757
49963
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -49768,7 +49974,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
49768
49974
|
return import_typescript128.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
49769
49975
|
}
|
|
49770
49976
|
|
|
49771
|
-
// bazel-out/
|
|
49977
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
49772
49978
|
function createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles, optionOverrides) {
|
|
49773
49979
|
tsconfigPath = (0, import_path5.resolve)(basePath, tsconfigPath);
|
|
49774
49980
|
const parsed = parseTsconfigFile(tsconfigPath, (0, import_path5.dirname)(tsconfigPath));
|
|
@@ -49797,13 +50003,13 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
49797
50003
|
return !(0, import_path5.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
49798
50004
|
}
|
|
49799
50005
|
|
|
49800
|
-
// bazel-out/
|
|
50006
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
49801
50007
|
var import_typescript134 = __toESM(require("typescript"), 1);
|
|
49802
50008
|
|
|
49803
|
-
// bazel-out/
|
|
50009
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
49804
50010
|
var import_typescript131 = __toESM(require("typescript"), 1);
|
|
49805
50011
|
|
|
49806
|
-
// bazel-out/
|
|
50012
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
|
|
49807
50013
|
var import_typescript130 = __toESM(require("typescript"), 1);
|
|
49808
50014
|
function getImportOfIdentifier(typeChecker, node) {
|
|
49809
50015
|
const symbol = typeChecker.getSymbolAtLocation(node);
|
|
@@ -49854,7 +50060,7 @@ function findImportSpecifier(nodes, specifierName) {
|
|
|
49854
50060
|
});
|
|
49855
50061
|
}
|
|
49856
50062
|
|
|
49857
|
-
// bazel-out/
|
|
50063
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
49858
50064
|
function getCallDecoratorImport(typeChecker, decorator) {
|
|
49859
50065
|
if (!import_typescript131.default.isCallExpression(decorator.expression) || !import_typescript131.default.isIdentifier(decorator.expression.expression)) {
|
|
49860
50066
|
return null;
|
|
@@ -49863,7 +50069,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
|
|
|
49863
50069
|
return getImportOfIdentifier(typeChecker, identifier);
|
|
49864
50070
|
}
|
|
49865
50071
|
|
|
49866
|
-
// bazel-out/
|
|
50072
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
|
|
49867
50073
|
function getAngularDecorators2(typeChecker, decorators) {
|
|
49868
50074
|
return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
|
|
49869
50075
|
node,
|
|
@@ -49873,7 +50079,7 @@ function getAngularDecorators2(typeChecker, decorators) {
|
|
|
49873
50079
|
}));
|
|
49874
50080
|
}
|
|
49875
50081
|
|
|
49876
|
-
// bazel-out/
|
|
50082
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
|
|
49877
50083
|
var import_typescript132 = __toESM(require("typescript"), 1);
|
|
49878
50084
|
function closestNode(node, predicate) {
|
|
49879
50085
|
let current = node.parent;
|
|
@@ -49886,7 +50092,7 @@ function closestNode(node, predicate) {
|
|
|
49886
50092
|
return null;
|
|
49887
50093
|
}
|
|
49888
50094
|
|
|
49889
|
-
// bazel-out/
|
|
50095
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
|
|
49890
50096
|
var import_path6 = require("path");
|
|
49891
50097
|
var import_typescript133 = __toESM(require("typescript"), 1);
|
|
49892
50098
|
var UniqueItemTracker = class {
|
|
@@ -50064,7 +50270,7 @@ function isClassReferenceInAngularModule(node, className, moduleName, typeChecke
|
|
|
50064
50270
|
}));
|
|
50065
50271
|
}
|
|
50066
50272
|
|
|
50067
|
-
// bazel-out/
|
|
50273
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
50068
50274
|
function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles) {
|
|
50069
50275
|
const filesToRemove = /* @__PURE__ */ new Set();
|
|
50070
50276
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
@@ -50263,14 +50469,14 @@ function findNgModuleDecorator(node, typeChecker) {
|
|
|
50263
50469
|
return decorators.find((decorator) => decorator.name === "NgModule") || null;
|
|
50264
50470
|
}
|
|
50265
50471
|
|
|
50266
|
-
// bazel-out/
|
|
50472
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
50267
50473
|
var import_path7 = require("path");
|
|
50268
50474
|
var import_typescript137 = __toESM(require("typescript"), 1);
|
|
50269
50475
|
|
|
50270
|
-
// bazel-out/
|
|
50476
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
50271
50477
|
var import_typescript136 = __toESM(require("typescript"), 1);
|
|
50272
50478
|
|
|
50273
|
-
// bazel-out/
|
|
50479
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
|
|
50274
50480
|
var import_typescript135 = __toESM(require("typescript"), 1);
|
|
50275
50481
|
function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
50276
50482
|
var _a2, _b2;
|
|
@@ -50279,7 +50485,7 @@ function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
|
50279
50485
|
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];
|
|
50280
50486
|
}
|
|
50281
50487
|
|
|
50282
|
-
// bazel-out/
|
|
50488
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
50283
50489
|
function toStandalone(sourceFiles, program, printer, fileImportRemapper, componentImportRemapper) {
|
|
50284
50490
|
const templateTypeChecker = program.compiler.getTemplateTypeChecker();
|
|
50285
50491
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -50649,7 +50855,7 @@ function isStandaloneDeclaration(node, declarationsInMigration, templateTypeChec
|
|
|
50649
50855
|
return metadata != null && metadata.isStandalone;
|
|
50650
50856
|
}
|
|
50651
50857
|
|
|
50652
|
-
// bazel-out/
|
|
50858
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
50653
50859
|
function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles, componentImportRemapper) {
|
|
50654
50860
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
50655
50861
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -51026,7 +51232,7 @@ function hasImport(program, rootFileNames, moduleName) {
|
|
|
51026
51232
|
return false;
|
|
51027
51233
|
}
|
|
51028
51234
|
|
|
51029
|
-
// bazel-out/
|
|
51235
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
51030
51236
|
var MigrationMode;
|
|
51031
51237
|
(function(MigrationMode2) {
|
|
51032
51238
|
MigrationMode2["toStandalone"] = "convert-to-standalone";
|