@angular/core 18.1.2 → 18.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/primitives/event-dispatch/src/action_resolver.mjs +6 -3
- package/esm2022/primitives/event-dispatch/src/event_dispatcher.mjs +4 -3
- package/esm2022/src/application/application_init.mjs +2 -2
- package/esm2022/src/application/application_module.mjs +2 -2
- package/esm2022/src/application/application_ref.mjs +2 -2
- package/esm2022/src/change_detection/scheduling/ng_zone_scheduling.mjs +3 -10
- package/esm2022/src/change_detection/scheduling/zoneless_scheduling_impl.mjs +2 -2
- package/esm2022/src/console.mjs +2 -2
- package/esm2022/src/core_private_export.mjs +2 -1
- package/esm2022/src/error_handler.mjs +4 -2
- package/esm2022/src/event_delegation_utils.mjs +3 -3
- package/esm2022/src/image_performance_warning.mjs +2 -2
- package/esm2022/src/linker/compiler.mjs +2 -2
- package/esm2022/src/platform/platform_ref.mjs +2 -2
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/render3/interfaces/renderer.mjs +1 -1
- package/esm2022/src/render3/interfaces/renderer_dom.mjs +1 -1
- package/esm2022/src/render3/node_manipulation.mjs +10 -14
- package/esm2022/src/sanitization/html_sanitizer.mjs +2 -2
- package/esm2022/src/sanitization/inert_body.mjs +2 -2
- package/esm2022/src/testability/testability.mjs +3 -3
- package/esm2022/src/util/callback_scheduler.mjs +26 -23
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/application_error_handler.mjs +43 -0
- package/esm2022/testing/src/component_fixture.mjs +13 -2
- package/esm2022/testing/src/logger.mjs +3 -3
- package/esm2022/testing/src/test_bed_common.mjs +1 -1
- package/esm2022/testing/src/test_bed_compiler.mjs +24 -2
- package/fesm2022/core.mjs +727 -733
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +9 -5
- package/fesm2022/primitives/event-dispatch.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +69 -3
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +11 -7
- package/package.json +1 -1
- package/primitives/event-dispatch/index.d.ts +3 -2
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/after-render-phase/bundle.js +12 -12
- package/schematics/migrations/http-providers/bundle.js +15 -15
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +166 -165
- package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +2 -2
- package/schematics/ng-generate/control-flow-migration/bundle.js +174 -173
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +2 -2
- package/schematics/ng-generate/standalone-migration/bundle.js +547 -514
- package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
- package/testing/index.d.ts +2 -1
|
@@ -866,6 +866,7 @@ var require_lrucache = __commonJS({
|
|
|
866
866
|
// node_modules/semver/classes/range.js
|
|
867
867
|
var require_range = __commonJS({
|
|
868
868
|
"node_modules/semver/classes/range.js"(exports, module2) {
|
|
869
|
+
var SPACE_CHARACTERS = /\s+/g;
|
|
869
870
|
var Range = class {
|
|
870
871
|
constructor(range, options) {
|
|
871
872
|
options = parseOptions(options);
|
|
@@ -879,13 +880,13 @@ var require_range = __commonJS({
|
|
|
879
880
|
if (range instanceof Comparator) {
|
|
880
881
|
this.raw = range.value;
|
|
881
882
|
this.set = [[range]];
|
|
882
|
-
this.
|
|
883
|
+
this.formatted = void 0;
|
|
883
884
|
return this;
|
|
884
885
|
}
|
|
885
886
|
this.options = options;
|
|
886
887
|
this.loose = !!options.loose;
|
|
887
888
|
this.includePrerelease = !!options.includePrerelease;
|
|
888
|
-
this.raw = range.trim().
|
|
889
|
+
this.raw = range.trim().replace(SPACE_CHARACTERS, " ");
|
|
889
890
|
this.set = this.raw.split("||").map((r) => this.parseRange(r.trim())).filter((c) => c.length);
|
|
890
891
|
if (!this.set.length) {
|
|
891
892
|
throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
|
|
@@ -904,10 +905,27 @@ var require_range = __commonJS({
|
|
|
904
905
|
}
|
|
905
906
|
}
|
|
906
907
|
}
|
|
907
|
-
this.
|
|
908
|
+
this.formatted = void 0;
|
|
909
|
+
}
|
|
910
|
+
get range() {
|
|
911
|
+
if (this.formatted === void 0) {
|
|
912
|
+
this.formatted = "";
|
|
913
|
+
for (let i = 0; i < this.set.length; i++) {
|
|
914
|
+
if (i > 0) {
|
|
915
|
+
this.formatted += "||";
|
|
916
|
+
}
|
|
917
|
+
const comps = this.set[i];
|
|
918
|
+
for (let k = 0; k < comps.length; k++) {
|
|
919
|
+
if (k > 0) {
|
|
920
|
+
this.formatted += " ";
|
|
921
|
+
}
|
|
922
|
+
this.formatted += comps[k].toString().trim();
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
return this.formatted;
|
|
908
927
|
}
|
|
909
928
|
format() {
|
|
910
|
-
this.range = this.set.map((comps) => comps.join(" ").trim()).join("||").trim();
|
|
911
929
|
return this.range;
|
|
912
930
|
}
|
|
913
931
|
toString() {
|
|
@@ -1887,7 +1905,7 @@ var require_semver2 = __commonJS({
|
|
|
1887
1905
|
}
|
|
1888
1906
|
});
|
|
1889
1907
|
|
|
1890
|
-
// bazel-out/
|
|
1908
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
1891
1909
|
var standalone_migration_exports = {};
|
|
1892
1910
|
__export(standalone_migration_exports, {
|
|
1893
1911
|
default: () => standalone_migration_default
|
|
@@ -1895,10 +1913,10 @@ __export(standalone_migration_exports, {
|
|
|
1895
1913
|
module.exports = __toCommonJS(standalone_migration_exports);
|
|
1896
1914
|
var import_schematics = require("@angular-devkit/schematics");
|
|
1897
1915
|
|
|
1898
|
-
// bazel-out/
|
|
1916
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
1899
1917
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
1900
1918
|
|
|
1901
|
-
// bazel-out/
|
|
1919
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
1902
1920
|
var InvalidFileSystem = class {
|
|
1903
1921
|
exists(path4) {
|
|
1904
1922
|
throw makeError();
|
|
@@ -1986,7 +2004,7 @@ function makeError() {
|
|
|
1986
2004
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
1987
2005
|
}
|
|
1988
2006
|
|
|
1989
|
-
// bazel-out/
|
|
2007
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
1990
2008
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
1991
2009
|
function stripExtension(path4) {
|
|
1992
2010
|
return path4.replace(TS_DTS_JS_EXTENSION, "");
|
|
@@ -1999,7 +2017,7 @@ function getSourceFileOrError(program, fileName) {
|
|
|
1999
2017
|
return sf;
|
|
2000
2018
|
}
|
|
2001
2019
|
|
|
2002
|
-
// bazel-out/
|
|
2020
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
2003
2021
|
var fs = new InvalidFileSystem();
|
|
2004
2022
|
function getFileSystem() {
|
|
2005
2023
|
return fs;
|
|
@@ -2043,7 +2061,7 @@ function toRelativeImport(relativePath) {
|
|
|
2043
2061
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
2044
2062
|
}
|
|
2045
2063
|
|
|
2046
|
-
// bazel-out/
|
|
2064
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
2047
2065
|
var LogicalProjectPath = {
|
|
2048
2066
|
relativePathBetween: function(from, to) {
|
|
2049
2067
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -2089,7 +2107,7 @@ function isWithinBasePath(base, path4) {
|
|
|
2089
2107
|
return isLocalRelativePath(relative(base, path4));
|
|
2090
2108
|
}
|
|
2091
2109
|
|
|
2092
|
-
// bazel-out/
|
|
2110
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
2093
2111
|
var import_fs = __toESM(require("fs"), 1);
|
|
2094
2112
|
var import_module = require("module");
|
|
2095
2113
|
var p = __toESM(require("path"), 1);
|
|
@@ -2197,7 +2215,7 @@ function toggleCase(str) {
|
|
|
2197
2215
|
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
2198
2216
|
}
|
|
2199
2217
|
|
|
2200
|
-
// bazel-out/
|
|
2218
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/selector.mjs
|
|
2201
2219
|
var _SELECTOR_REGEXP = new RegExp(
|
|
2202
2220
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
2203
2221
|
"g"
|
|
@@ -2505,7 +2523,7 @@ var SelectorContext = class {
|
|
|
2505
2523
|
}
|
|
2506
2524
|
};
|
|
2507
2525
|
|
|
2508
|
-
// bazel-out/
|
|
2526
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/core.mjs
|
|
2509
2527
|
var emitDistinctChangesOnlyDefaultValue = true;
|
|
2510
2528
|
var ViewEncapsulation;
|
|
2511
2529
|
(function(ViewEncapsulation2) {
|
|
@@ -2574,7 +2592,7 @@ function parseSelectorToR3Selector(selector) {
|
|
|
2574
2592
|
return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
|
|
2575
2593
|
}
|
|
2576
2594
|
|
|
2577
|
-
// bazel-out/
|
|
2595
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
2578
2596
|
var output_ast_exports = {};
|
|
2579
2597
|
__export(output_ast_exports, {
|
|
2580
2598
|
ArrayType: () => ArrayType,
|
|
@@ -2662,7 +2680,7 @@ __export(output_ast_exports, {
|
|
|
2662
2680
|
variable: () => variable
|
|
2663
2681
|
});
|
|
2664
2682
|
|
|
2665
|
-
// bazel-out/
|
|
2683
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
|
|
2666
2684
|
var textEncoder;
|
|
2667
2685
|
function digest(message) {
|
|
2668
2686
|
return message.id || computeDigest(message);
|
|
@@ -2905,7 +2923,7 @@ function wordAt(bytes, index, endian) {
|
|
|
2905
2923
|
return word;
|
|
2906
2924
|
}
|
|
2907
2925
|
|
|
2908
|
-
// bazel-out/
|
|
2926
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
2909
2927
|
var TypeModifier;
|
|
2910
2928
|
(function(TypeModifier2) {
|
|
2911
2929
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -4100,7 +4118,7 @@ function serializeTags(tags) {
|
|
|
4100
4118
|
return out;
|
|
4101
4119
|
}
|
|
4102
4120
|
|
|
4103
|
-
// bazel-out/
|
|
4121
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
4104
4122
|
var CONSTANT_PREFIX = "_c";
|
|
4105
4123
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
4106
4124
|
var KEY_CONTEXT = {};
|
|
@@ -4288,7 +4306,7 @@ function isLongStringLiteral(expr) {
|
|
|
4288
4306
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
4289
4307
|
}
|
|
4290
4308
|
|
|
4291
|
-
// bazel-out/
|
|
4309
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
4292
4310
|
var CORE = "@angular/core";
|
|
4293
4311
|
var _Identifiers = class {
|
|
4294
4312
|
};
|
|
@@ -5185,7 +5203,7 @@ var Identifiers = _Identifiers;
|
|
|
5185
5203
|
_Identifiers.unwrapWritableSignal = { name: "\u0275unwrapWritableSignal", moduleName: CORE };
|
|
5186
5204
|
})();
|
|
5187
5205
|
|
|
5188
|
-
// bazel-out/
|
|
5206
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
|
|
5189
5207
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
5190
5208
|
function dashCaseToCamelCase(input) {
|
|
5191
5209
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -5262,7 +5280,7 @@ var Version = class {
|
|
|
5262
5280
|
};
|
|
5263
5281
|
var _global = globalThis;
|
|
5264
5282
|
|
|
5265
|
-
// bazel-out/
|
|
5283
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
5266
5284
|
var VERSION = 3;
|
|
5267
5285
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
5268
5286
|
var SourceMapGenerator = class {
|
|
@@ -5391,7 +5409,7 @@ function toBase64Digit(value) {
|
|
|
5391
5409
|
return B64_DIGITS[value];
|
|
5392
5410
|
}
|
|
5393
5411
|
|
|
5394
|
-
// bazel-out/
|
|
5412
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
5395
5413
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
5396
5414
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
5397
5415
|
var _INDENT_WITH = " ";
|
|
@@ -5879,7 +5897,7 @@ function _createIndent(count) {
|
|
|
5879
5897
|
return res;
|
|
5880
5898
|
}
|
|
5881
5899
|
|
|
5882
|
-
// bazel-out/
|
|
5900
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
5883
5901
|
function typeWithParameters(type, numParams) {
|
|
5884
5902
|
if (numParams === 0) {
|
|
5885
5903
|
return expressionType(type);
|
|
@@ -5937,7 +5955,7 @@ function generateForwardRef(expr) {
|
|
|
5937
5955
|
return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
|
|
5938
5956
|
}
|
|
5939
5957
|
|
|
5940
|
-
// bazel-out/
|
|
5958
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
5941
5959
|
var R3FactoryDelegateType;
|
|
5942
5960
|
(function(R3FactoryDelegateType2) {
|
|
5943
5961
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -5952,7 +5970,7 @@ var FactoryTarget;
|
|
|
5952
5970
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
5953
5971
|
})(FactoryTarget || (FactoryTarget = {}));
|
|
5954
5972
|
function compileFactoryFunction(meta) {
|
|
5955
|
-
const t = variable("
|
|
5973
|
+
const t = variable("__ngFactoryType__");
|
|
5956
5974
|
let baseFactoryVar = null;
|
|
5957
5975
|
const typeForCtor = !isDelegatedFactoryMetadata(meta) ? new BinaryOperatorExpr(BinaryOperator.Or, t, meta.type.value) : t;
|
|
5958
5976
|
let ctorExpr = null;
|
|
@@ -5967,7 +5985,7 @@ function compileFactoryFunction(meta) {
|
|
|
5967
5985
|
const body = [];
|
|
5968
5986
|
let retExpr = null;
|
|
5969
5987
|
function makeConditionalFactory(nonCtorExpr) {
|
|
5970
|
-
const r = variable("
|
|
5988
|
+
const r = variable("__ngConditionalFactory__");
|
|
5971
5989
|
body.push(r.set(NULL_EXPR).toDeclStmt());
|
|
5972
5990
|
const ctorStmt = ctorExpr !== null ? r.set(ctorExpr).toStmt() : importExpr(Identifiers.invalidFactory).callFn([]).toStmt();
|
|
5973
5991
|
body.push(ifStmt(t, [ctorStmt], [r.set(nonCtorExpr).toStmt()]));
|
|
@@ -5991,7 +6009,7 @@ function compileFactoryFunction(meta) {
|
|
|
5991
6009
|
} else {
|
|
5992
6010
|
body.push(new ReturnStatement(retExpr));
|
|
5993
6011
|
}
|
|
5994
|
-
let factoryFn = fn([new FnParam(
|
|
6012
|
+
let factoryFn = fn([new FnParam(t.name, DYNAMIC_TYPE)], body, INFERRED_TYPE, void 0, `${meta.name}_Factory`);
|
|
5995
6013
|
if (baseFactoryVar !== null) {
|
|
5996
6014
|
factoryFn = arrowFn([], [new DeclareVarStmt(baseFactoryVar.name), new ReturnStatement(factoryFn)]).callFn([], void 0, true);
|
|
5997
6015
|
}
|
|
@@ -6082,7 +6100,7 @@ function getInjectFn(target) {
|
|
|
6082
6100
|
}
|
|
6083
6101
|
}
|
|
6084
6102
|
|
|
6085
|
-
// bazel-out/
|
|
6103
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
6086
6104
|
var ParserError = class {
|
|
6087
6105
|
constructor(message, input, errLocation, ctxLocation) {
|
|
6088
6106
|
this.input = input;
|
|
@@ -6520,7 +6538,7 @@ var BoundElementProperty = class {
|
|
|
6520
6538
|
}
|
|
6521
6539
|
};
|
|
6522
6540
|
|
|
6523
|
-
// bazel-out/
|
|
6541
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
6524
6542
|
var TagContentType;
|
|
6525
6543
|
(function(TagContentType2) {
|
|
6526
6544
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -6557,7 +6575,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
6557
6575
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
6558
6576
|
}
|
|
6559
6577
|
|
|
6560
|
-
// bazel-out/
|
|
6578
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
6561
6579
|
var Comment = class {
|
|
6562
6580
|
constructor(value, sourceSpan) {
|
|
6563
6581
|
this.value = value;
|
|
@@ -7027,7 +7045,7 @@ function visitAll(visitor, nodes) {
|
|
|
7027
7045
|
return result;
|
|
7028
7046
|
}
|
|
7029
7047
|
|
|
7030
|
-
// bazel-out/
|
|
7048
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
7031
7049
|
var Message = class {
|
|
7032
7050
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
7033
7051
|
this.nodes = nodes;
|
|
@@ -7218,7 +7236,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
7218
7236
|
}
|
|
7219
7237
|
};
|
|
7220
7238
|
|
|
7221
|
-
// bazel-out/
|
|
7239
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
|
|
7222
7240
|
var Serializer = class {
|
|
7223
7241
|
createNameMapper(message) {
|
|
7224
7242
|
return null;
|
|
@@ -7275,7 +7293,7 @@ var SimplePlaceholderMapper = class extends RecurseVisitor {
|
|
|
7275
7293
|
}
|
|
7276
7294
|
};
|
|
7277
7295
|
|
|
7278
|
-
// bazel-out/
|
|
7296
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
7279
7297
|
var _Visitor = class {
|
|
7280
7298
|
visitTag(tag) {
|
|
7281
7299
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -7363,7 +7381,7 @@ function escapeXml(text2) {
|
|
|
7363
7381
|
return _ESCAPED_CHARS.reduce((text3, entry) => text3.replace(entry[0], entry[1]), text2);
|
|
7364
7382
|
}
|
|
7365
7383
|
|
|
7366
|
-
// bazel-out/
|
|
7384
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
7367
7385
|
var _XMB_HANDLER = "angular";
|
|
7368
7386
|
var _MESSAGES_TAG = "messagebundle";
|
|
7369
7387
|
var _MESSAGE_TAG = "msg";
|
|
@@ -7525,7 +7543,7 @@ function toPublicName(internalName) {
|
|
|
7525
7543
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
7526
7544
|
}
|
|
7527
7545
|
|
|
7528
|
-
// bazel-out/
|
|
7546
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
7529
7547
|
var I18N_ATTR = "i18n";
|
|
7530
7548
|
var I18N_ATTR_PREFIX = "i18n-";
|
|
7531
7549
|
var I18N_ICU_VAR_PREFIX = "VAR_";
|
|
@@ -7565,7 +7583,7 @@ function formatI18nPlaceholderName(name, useCamelCase = true) {
|
|
|
7565
7583
|
return postfix ? `${raw}_${postfix}` : raw;
|
|
7566
7584
|
}
|
|
7567
7585
|
|
|
7568
|
-
// bazel-out/
|
|
7586
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
7569
7587
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
7570
7588
|
var TEMPORARY_NAME = "_t";
|
|
7571
7589
|
var CONTEXT_NAME = "ctx";
|
|
@@ -7692,7 +7710,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
|
|
|
7692
7710
|
return attributesMap;
|
|
7693
7711
|
}
|
|
7694
7712
|
|
|
7695
|
-
// bazel-out/
|
|
7713
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
7696
7714
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
7697
7715
|
let result = null;
|
|
7698
7716
|
const factoryMeta = {
|
|
@@ -7776,10 +7794,11 @@ function delegateToFactory(type, useType, unwrapForwardRefs) {
|
|
|
7776
7794
|
return createFactoryFunction(unwrappedType);
|
|
7777
7795
|
}
|
|
7778
7796
|
function createFactoryFunction(type) {
|
|
7779
|
-
|
|
7797
|
+
const t = new FnParam("__ngFactoryType__", DYNAMIC_TYPE);
|
|
7798
|
+
return arrowFn([t], type.prop("\u0275fac").callFn([variable(t.name)]));
|
|
7780
7799
|
}
|
|
7781
7800
|
|
|
7782
|
-
// bazel-out/
|
|
7801
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
7783
7802
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
7784
7803
|
/@/,
|
|
7785
7804
|
/^\s*$/,
|
|
@@ -7802,7 +7821,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
7802
7821
|
}
|
|
7803
7822
|
}
|
|
7804
7823
|
|
|
7805
|
-
// bazel-out/
|
|
7824
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
|
|
7806
7825
|
var InterpolationConfig = class {
|
|
7807
7826
|
static fromArray(markers) {
|
|
7808
7827
|
if (!markers) {
|
|
@@ -7819,7 +7838,7 @@ var InterpolationConfig = class {
|
|
|
7819
7838
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
7820
7839
|
var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
|
|
7821
7840
|
|
|
7822
|
-
// bazel-out/
|
|
7841
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
7823
7842
|
var $EOF = 0;
|
|
7824
7843
|
var $BSPACE = 8;
|
|
7825
7844
|
var $TAB = 9;
|
|
@@ -7901,7 +7920,7 @@ function isQuote(code) {
|
|
|
7901
7920
|
return code === $SQ || code === $DQ || code === $BT;
|
|
7902
7921
|
}
|
|
7903
7922
|
|
|
7904
|
-
// bazel-out/
|
|
7923
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
7905
7924
|
var ParseLocation = class {
|
|
7906
7925
|
constructor(file, offset, line, col) {
|
|
7907
7926
|
this.file = file;
|
|
@@ -8048,7 +8067,7 @@ function sanitizeIdentifier(name) {
|
|
|
8048
8067
|
return name.replace(/\W/g, "_");
|
|
8049
8068
|
}
|
|
8050
8069
|
|
|
8051
|
-
// bazel-out/
|
|
8070
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
8052
8071
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
8053
8072
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
8054
8073
|
constructor() {
|
|
@@ -8141,7 +8160,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
8141
8160
|
}
|
|
8142
8161
|
};
|
|
8143
8162
|
|
|
8144
|
-
// bazel-out/
|
|
8163
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
8145
8164
|
var policy;
|
|
8146
8165
|
function getPolicy() {
|
|
8147
8166
|
if (policy === void 0) {
|
|
@@ -8179,7 +8198,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
8179
8198
|
return fn2.bind(_global);
|
|
8180
8199
|
}
|
|
8181
8200
|
|
|
8182
|
-
// bazel-out/
|
|
8201
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
8183
8202
|
var JitEvaluator = class {
|
|
8184
8203
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
8185
8204
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -8267,7 +8286,7 @@ function isUseStrictStatement(statement) {
|
|
|
8267
8286
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
8268
8287
|
}
|
|
8269
8288
|
|
|
8270
|
-
// bazel-out/
|
|
8289
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
8271
8290
|
function compileInjector(meta) {
|
|
8272
8291
|
const definitionMap = new DefinitionMap();
|
|
8273
8292
|
if (meta.providers !== null) {
|
|
@@ -8284,7 +8303,7 @@ function createInjectorType(meta) {
|
|
|
8284
8303
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
8285
8304
|
}
|
|
8286
8305
|
|
|
8287
|
-
// bazel-out/
|
|
8306
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
8288
8307
|
var R3JitReflector = class {
|
|
8289
8308
|
constructor(context) {
|
|
8290
8309
|
this.context = context;
|
|
@@ -8300,7 +8319,7 @@ var R3JitReflector = class {
|
|
|
8300
8319
|
}
|
|
8301
8320
|
};
|
|
8302
8321
|
|
|
8303
|
-
// bazel-out/
|
|
8322
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
8304
8323
|
var R3SelectorScopeMode;
|
|
8305
8324
|
(function(R3SelectorScopeMode2) {
|
|
8306
8325
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -8435,7 +8454,7 @@ function tupleOfTypes(types) {
|
|
|
8435
8454
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
8436
8455
|
}
|
|
8437
8456
|
|
|
8438
|
-
// bazel-out/
|
|
8457
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
8439
8458
|
function compilePipeFromMetadata(metadata) {
|
|
8440
8459
|
const definitionMapValues = [];
|
|
8441
8460
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -8456,7 +8475,7 @@ function createPipeType(metadata) {
|
|
|
8456
8475
|
]));
|
|
8457
8476
|
}
|
|
8458
8477
|
|
|
8459
|
-
// bazel-out/
|
|
8478
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
8460
8479
|
var R3TemplateDependencyKind;
|
|
8461
8480
|
(function(R3TemplateDependencyKind2) {
|
|
8462
8481
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -8464,7 +8483,7 @@ var R3TemplateDependencyKind;
|
|
|
8464
8483
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
8465
8484
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
8466
8485
|
|
|
8467
|
-
// bazel-out/
|
|
8486
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
8468
8487
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
8469
8488
|
"inherit",
|
|
8470
8489
|
"initial",
|
|
@@ -8944,7 +8963,7 @@ function repeatGroups(groups, multiples) {
|
|
|
8944
8963
|
}
|
|
8945
8964
|
}
|
|
8946
8965
|
|
|
8947
|
-
// bazel-out/
|
|
8966
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
8948
8967
|
var OpKind;
|
|
8949
8968
|
(function(OpKind2) {
|
|
8950
8969
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -9102,7 +9121,7 @@ var TemplateKind;
|
|
|
9102
9121
|
TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
|
|
9103
9122
|
})(TemplateKind || (TemplateKind = {}));
|
|
9104
9123
|
|
|
9105
|
-
// bazel-out/
|
|
9124
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
9106
9125
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
9107
9126
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
9108
9127
|
var ConsumesVarsTrait = Symbol("ConsumesVars");
|
|
@@ -9130,7 +9149,7 @@ function hasUsesVarOffsetTrait(expr) {
|
|
|
9130
9149
|
return expr[UsesVarOffset] === true;
|
|
9131
9150
|
}
|
|
9132
9151
|
|
|
9133
|
-
// bazel-out/
|
|
9152
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
9134
9153
|
function createStatementOp(statement) {
|
|
9135
9154
|
return __spreadValues({
|
|
9136
9155
|
kind: OpKind.Statement,
|
|
@@ -9152,7 +9171,7 @@ var NEW_OP = {
|
|
|
9152
9171
|
next: null
|
|
9153
9172
|
};
|
|
9154
9173
|
|
|
9155
|
-
// bazel-out/
|
|
9174
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
9156
9175
|
function createInterpolateTextOp(xref, interpolation, sourceSpan) {
|
|
9157
9176
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
9158
9177
|
kind: OpKind.InterpolateText,
|
|
@@ -9341,7 +9360,7 @@ function createStoreLetOp(target, declaredName, value, sourceSpan) {
|
|
|
9341
9360
|
}, TRAIT_DEPENDS_ON_SLOT_CONTEXT), TRAIT_CONSUMES_VARS), NEW_OP);
|
|
9342
9361
|
}
|
|
9343
9362
|
|
|
9344
|
-
// bazel-out/
|
|
9363
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
9345
9364
|
var _a;
|
|
9346
9365
|
var _b;
|
|
9347
9366
|
var _c;
|
|
@@ -10259,7 +10278,7 @@ function isStringLiteral(expr) {
|
|
|
10259
10278
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
10260
10279
|
}
|
|
10261
10280
|
|
|
10262
|
-
// bazel-out/
|
|
10281
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
10263
10282
|
var _OpList = class {
|
|
10264
10283
|
constructor() {
|
|
10265
10284
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -10450,14 +10469,14 @@ var OpList = _OpList;
|
|
|
10450
10469
|
_OpList.nextListId = 0;
|
|
10451
10470
|
})();
|
|
10452
10471
|
|
|
10453
|
-
// bazel-out/
|
|
10472
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
10454
10473
|
var SlotHandle = class {
|
|
10455
10474
|
constructor() {
|
|
10456
10475
|
this.slot = null;
|
|
10457
10476
|
}
|
|
10458
10477
|
};
|
|
10459
10478
|
|
|
10460
|
-
// bazel-out/
|
|
10479
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
10461
10480
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
10462
10481
|
OpKind.Element,
|
|
10463
10482
|
OpKind.ElementStart,
|
|
@@ -10770,7 +10789,7 @@ function createI18nAttributesOp(xref, handle, target) {
|
|
|
10770
10789
|
}, NEW_OP), TRAIT_CONSUMES_SLOT);
|
|
10771
10790
|
}
|
|
10772
10791
|
|
|
10773
|
-
// bazel-out/
|
|
10792
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
10774
10793
|
function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
|
|
10775
10794
|
return __spreadValues(__spreadValues({
|
|
10776
10795
|
kind: OpKind.HostProperty,
|
|
@@ -10784,10 +10803,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
|
|
|
10784
10803
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
10785
10804
|
}
|
|
10786
10805
|
|
|
10787
|
-
// bazel-out/
|
|
10806
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
10788
10807
|
var CTX_REF = "CTX_REF_MARKER";
|
|
10789
10808
|
|
|
10790
|
-
// bazel-out/
|
|
10809
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
10791
10810
|
var CompilationJobKind;
|
|
10792
10811
|
(function(CompilationJobKind2) {
|
|
10793
10812
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -10895,7 +10914,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
10895
10914
|
}
|
|
10896
10915
|
};
|
|
10897
10916
|
|
|
10898
|
-
// bazel-out/
|
|
10917
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
10899
10918
|
function deleteAnyCasts(job) {
|
|
10900
10919
|
for (const unit of job.units) {
|
|
10901
10920
|
for (const op of unit.ops()) {
|
|
@@ -10913,7 +10932,7 @@ function removeAnys(e) {
|
|
|
10913
10932
|
return e;
|
|
10914
10933
|
}
|
|
10915
10934
|
|
|
10916
|
-
// bazel-out/
|
|
10935
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
10917
10936
|
function applyI18nExpressions(job) {
|
|
10918
10937
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
10919
10938
|
for (const unit of job.units) {
|
|
@@ -10956,7 +10975,7 @@ function needsApplication(i18nContexts, op) {
|
|
|
10956
10975
|
return false;
|
|
10957
10976
|
}
|
|
10958
10977
|
|
|
10959
|
-
// bazel-out/
|
|
10978
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
10960
10979
|
function assignI18nSlotDependencies(job) {
|
|
10961
10980
|
for (const unit of job.units) {
|
|
10962
10981
|
let updateOp = unit.update.head;
|
|
@@ -11001,7 +11020,7 @@ function assignI18nSlotDependencies(job) {
|
|
|
11001
11020
|
}
|
|
11002
11021
|
}
|
|
11003
11022
|
|
|
11004
|
-
// bazel-out/
|
|
11023
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
11005
11024
|
function createOpXrefMap(unit) {
|
|
11006
11025
|
const map = /* @__PURE__ */ new Map();
|
|
11007
11026
|
for (const op of unit.create) {
|
|
@@ -11016,7 +11035,7 @@ function createOpXrefMap(unit) {
|
|
|
11016
11035
|
return map;
|
|
11017
11036
|
}
|
|
11018
11037
|
|
|
11019
|
-
// bazel-out/
|
|
11038
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
11020
11039
|
function extractAttributes(job) {
|
|
11021
11040
|
for (const unit of job.units) {
|
|
11022
11041
|
const elements = createOpXrefMap(unit);
|
|
@@ -11145,7 +11164,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
11145
11164
|
}
|
|
11146
11165
|
}
|
|
11147
11166
|
|
|
11148
|
-
// bazel-out/
|
|
11167
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
11149
11168
|
function lookupElement2(elements, xref) {
|
|
11150
11169
|
const el = elements.get(xref);
|
|
11151
11170
|
if (el === void 0) {
|
|
@@ -11202,7 +11221,7 @@ function specializeBindings(job) {
|
|
|
11202
11221
|
}
|
|
11203
11222
|
}
|
|
11204
11223
|
|
|
11205
|
-
// bazel-out/
|
|
11224
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
11206
11225
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
11207
11226
|
Identifiers.attribute,
|
|
11208
11227
|
Identifiers.classProp,
|
|
@@ -11274,7 +11293,7 @@ function chainOperationsInList(opList) {
|
|
|
11274
11293
|
}
|
|
11275
11294
|
}
|
|
11276
11295
|
|
|
11277
|
-
// bazel-out/
|
|
11296
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
11278
11297
|
function collapseSingletonInterpolations(job) {
|
|
11279
11298
|
for (const unit of job.units) {
|
|
11280
11299
|
for (const op of unit.update) {
|
|
@@ -11286,7 +11305,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
11286
11305
|
}
|
|
11287
11306
|
}
|
|
11288
11307
|
|
|
11289
|
-
// bazel-out/
|
|
11308
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
11290
11309
|
function generateConditionalExpressions(job) {
|
|
11291
11310
|
for (const unit of job.units) {
|
|
11292
11311
|
for (const op of unit.ops()) {
|
|
@@ -11323,7 +11342,7 @@ function generateConditionalExpressions(job) {
|
|
|
11323
11342
|
}
|
|
11324
11343
|
}
|
|
11325
11344
|
|
|
11326
|
-
// bazel-out/
|
|
11345
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
11327
11346
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
11328
11347
|
["&&", BinaryOperator.And],
|
|
11329
11348
|
[">", BinaryOperator.Bigger],
|
|
@@ -11380,7 +11399,7 @@ function literalOrArrayLiteral(value) {
|
|
|
11380
11399
|
return literal(value);
|
|
11381
11400
|
}
|
|
11382
11401
|
|
|
11383
|
-
// bazel-out/
|
|
11402
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
11384
11403
|
function collectElementConsts(job) {
|
|
11385
11404
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
11386
11405
|
for (const unit of job.units) {
|
|
@@ -11549,7 +11568,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
11549
11568
|
return literalArr(attrArray);
|
|
11550
11569
|
}
|
|
11551
11570
|
|
|
11552
|
-
// bazel-out/
|
|
11571
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
|
|
11553
11572
|
function convertI18nBindings(job) {
|
|
11554
11573
|
const i18nAttributesByElem = /* @__PURE__ */ new Map();
|
|
11555
11574
|
for (const unit of job.units) {
|
|
@@ -11590,7 +11609,7 @@ function convertI18nBindings(job) {
|
|
|
11590
11609
|
}
|
|
11591
11610
|
}
|
|
11592
11611
|
|
|
11593
|
-
// bazel-out/
|
|
11612
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
|
|
11594
11613
|
function resolveDeferDepsFns(job) {
|
|
11595
11614
|
var _a2;
|
|
11596
11615
|
for (const unit of job.units) {
|
|
@@ -11615,7 +11634,7 @@ function resolveDeferDepsFns(job) {
|
|
|
11615
11634
|
}
|
|
11616
11635
|
}
|
|
11617
11636
|
|
|
11618
|
-
// bazel-out/
|
|
11637
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
11619
11638
|
function createI18nContexts(job) {
|
|
11620
11639
|
const attrContextByMessage = /* @__PURE__ */ new Map();
|
|
11621
11640
|
for (const unit of job.units) {
|
|
@@ -11693,7 +11712,7 @@ function createI18nContexts(job) {
|
|
|
11693
11712
|
}
|
|
11694
11713
|
}
|
|
11695
11714
|
|
|
11696
|
-
// bazel-out/
|
|
11715
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
|
|
11697
11716
|
function deduplicateTextBindings(job) {
|
|
11698
11717
|
const seen = /* @__PURE__ */ new Map();
|
|
11699
11718
|
for (const unit of job.units) {
|
|
@@ -11715,7 +11734,7 @@ function deduplicateTextBindings(job) {
|
|
|
11715
11734
|
}
|
|
11716
11735
|
}
|
|
11717
11736
|
|
|
11718
|
-
// bazel-out/
|
|
11737
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
11719
11738
|
function configureDeferInstructions(job) {
|
|
11720
11739
|
for (const unit of job.units) {
|
|
11721
11740
|
for (const op of unit.create) {
|
|
@@ -11732,7 +11751,7 @@ function configureDeferInstructions(job) {
|
|
|
11732
11751
|
}
|
|
11733
11752
|
}
|
|
11734
11753
|
|
|
11735
|
-
// bazel-out/
|
|
11754
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
11736
11755
|
function resolveDeferTargetNames(job) {
|
|
11737
11756
|
const scopes = /* @__PURE__ */ new Map();
|
|
11738
11757
|
function getScopeForView2(view) {
|
|
@@ -11826,7 +11845,7 @@ var Scope = class {
|
|
|
11826
11845
|
}
|
|
11827
11846
|
};
|
|
11828
11847
|
|
|
11829
|
-
// bazel-out/
|
|
11848
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
11830
11849
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
11831
11850
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
11832
11851
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -11853,7 +11872,7 @@ function collapseEmptyInstructions(job) {
|
|
|
11853
11872
|
}
|
|
11854
11873
|
}
|
|
11855
11874
|
|
|
11856
|
-
// bazel-out/
|
|
11875
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
11857
11876
|
function expandSafeReads(job) {
|
|
11858
11877
|
for (const unit of job.units) {
|
|
11859
11878
|
for (const op of unit.ops()) {
|
|
@@ -11989,7 +12008,7 @@ function ternaryTransform(e) {
|
|
|
11989
12008
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
11990
12009
|
}
|
|
11991
12010
|
|
|
11992
|
-
// bazel-out/
|
|
12011
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
11993
12012
|
var ESCAPE = "\uFFFD";
|
|
11994
12013
|
var ELEMENT_MARKER = "#";
|
|
11995
12014
|
var TEMPLATE_MARKER = "*";
|
|
@@ -12125,7 +12144,7 @@ function formatValue(value) {
|
|
|
12125
12144
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
12126
12145
|
}
|
|
12127
12146
|
|
|
12128
|
-
// bazel-out/
|
|
12147
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
12129
12148
|
function generateAdvance(job) {
|
|
12130
12149
|
for (const unit of job.units) {
|
|
12131
12150
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -12168,7 +12187,7 @@ function generateAdvance(job) {
|
|
|
12168
12187
|
}
|
|
12169
12188
|
}
|
|
12170
12189
|
|
|
12171
|
-
// bazel-out/
|
|
12190
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
12172
12191
|
function generateProjectionDefs(job) {
|
|
12173
12192
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
12174
12193
|
const selectors = [];
|
|
@@ -12192,7 +12211,7 @@ function generateProjectionDefs(job) {
|
|
|
12192
12211
|
}
|
|
12193
12212
|
}
|
|
12194
12213
|
|
|
12195
|
-
// bazel-out/
|
|
12214
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
12196
12215
|
function generateVariables(job) {
|
|
12197
12216
|
recursivelyProcessView(job.root, null);
|
|
12198
12217
|
}
|
|
@@ -12310,7 +12329,7 @@ function generateVariablesInScopeForView(view, scope, isListener) {
|
|
|
12310
12329
|
return newOps;
|
|
12311
12330
|
}
|
|
12312
12331
|
|
|
12313
|
-
// bazel-out/
|
|
12332
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
12314
12333
|
function collectConstExpressions(job) {
|
|
12315
12334
|
for (const unit of job.units) {
|
|
12316
12335
|
for (const op of unit.ops()) {
|
|
@@ -12324,7 +12343,7 @@ function collectConstExpressions(job) {
|
|
|
12324
12343
|
}
|
|
12325
12344
|
}
|
|
12326
12345
|
|
|
12327
|
-
// bazel-out/
|
|
12346
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
12328
12347
|
var STYLE_DOT = "style.";
|
|
12329
12348
|
var CLASS_DOT = "class.";
|
|
12330
12349
|
var STYLE_BANG = "style!";
|
|
@@ -12382,7 +12401,7 @@ function parseProperty(name) {
|
|
|
12382
12401
|
return { property: property2, suffix };
|
|
12383
12402
|
}
|
|
12384
12403
|
|
|
12385
|
-
// bazel-out/
|
|
12404
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
12386
12405
|
function mapLiteral(obj, quoted = false) {
|
|
12387
12406
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
12388
12407
|
key,
|
|
@@ -12391,7 +12410,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
12391
12410
|
})));
|
|
12392
12411
|
}
|
|
12393
12412
|
|
|
12394
|
-
// bazel-out/
|
|
12413
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
12395
12414
|
var IcuSerializerVisitor = class {
|
|
12396
12415
|
visitText(text2) {
|
|
12397
12416
|
return text2.value;
|
|
@@ -12425,7 +12444,7 @@ function serializeIcuNode(icu) {
|
|
|
12425
12444
|
return icu.visit(serializer);
|
|
12426
12445
|
}
|
|
12427
12446
|
|
|
12428
|
-
// bazel-out/
|
|
12447
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
12429
12448
|
var TokenType;
|
|
12430
12449
|
(function(TokenType2) {
|
|
12431
12450
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -12786,7 +12805,7 @@ function parseIntAutoRadix(text2) {
|
|
|
12786
12805
|
return result;
|
|
12787
12806
|
}
|
|
12788
12807
|
|
|
12789
|
-
// bazel-out/
|
|
12808
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
12790
12809
|
var SplitInterpolation = class {
|
|
12791
12810
|
constructor(strings, expressions, offsets) {
|
|
12792
12811
|
this.strings = strings;
|
|
@@ -13670,7 +13689,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
13670
13689
|
return offsetMap;
|
|
13671
13690
|
}
|
|
13672
13691
|
|
|
13673
|
-
// bazel-out/
|
|
13692
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
13674
13693
|
var NodeWithI18n = class {
|
|
13675
13694
|
constructor(sourceSpan, i18n2) {
|
|
13676
13695
|
this.sourceSpan = sourceSpan;
|
|
@@ -13793,7 +13812,7 @@ function visitAll2(visitor, nodes, context = null) {
|
|
|
13793
13812
|
return result;
|
|
13794
13813
|
}
|
|
13795
13814
|
|
|
13796
|
-
// bazel-out/
|
|
13815
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
13797
13816
|
var _SECURITY_SCHEMA;
|
|
13798
13817
|
function SECURITY_SCHEMA() {
|
|
13799
13818
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -13854,11 +13873,11 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
13854
13873
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
13855
13874
|
}
|
|
13856
13875
|
|
|
13857
|
-
// bazel-out/
|
|
13876
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
13858
13877
|
var ElementSchemaRegistry = class {
|
|
13859
13878
|
};
|
|
13860
13879
|
|
|
13861
|
-
// bazel-out/
|
|
13880
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
13862
13881
|
var BOOLEAN = "boolean";
|
|
13863
13882
|
var NUMBER = "number";
|
|
13864
13883
|
var STRING = "string";
|
|
@@ -14241,7 +14260,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
14241
14260
|
}
|
|
14242
14261
|
}
|
|
14243
14262
|
|
|
14244
|
-
// bazel-out/
|
|
14263
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
14245
14264
|
var HtmlTagDefinition = class {
|
|
14246
14265
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
14247
14266
|
this.closedByChildren = {};
|
|
@@ -14377,7 +14396,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
14377
14396
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
14378
14397
|
}
|
|
14379
14398
|
|
|
14380
|
-
// bazel-out/
|
|
14399
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
14381
14400
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
14382
14401
|
"A": "LINK",
|
|
14383
14402
|
"B": "BOLD_TEXT",
|
|
@@ -14499,7 +14518,7 @@ var PlaceholderRegistry = class {
|
|
|
14499
14518
|
}
|
|
14500
14519
|
};
|
|
14501
14520
|
|
|
14502
|
-
// bazel-out/
|
|
14521
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
14503
14522
|
var _expParser = new Parser(new Lexer());
|
|
14504
14523
|
function createI18nMessageFactory(interpolationConfig, containerBlocks) {
|
|
14505
14524
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
|
|
@@ -14681,14 +14700,14 @@ function extractPlaceholderName(input) {
|
|
|
14681
14700
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
14682
14701
|
}
|
|
14683
14702
|
|
|
14684
|
-
// bazel-out/
|
|
14703
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
14685
14704
|
var I18nError = class extends ParseError {
|
|
14686
14705
|
constructor(span, msg) {
|
|
14687
14706
|
super(span, msg);
|
|
14688
14707
|
}
|
|
14689
14708
|
};
|
|
14690
14709
|
|
|
14691
|
-
// bazel-out/
|
|
14710
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
14692
14711
|
var NAMED_ENTITIES = {
|
|
14693
14712
|
"AElig": "\xC6",
|
|
14694
14713
|
"AMP": "&",
|
|
@@ -16819,7 +16838,7 @@ var NAMED_ENTITIES = {
|
|
|
16819
16838
|
var NGSP_UNICODE = "\uE500";
|
|
16820
16839
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
16821
16840
|
|
|
16822
|
-
// bazel-out/
|
|
16841
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
16823
16842
|
var TokenError = class extends ParseError {
|
|
16824
16843
|
constructor(errorMsg, tokenType, span) {
|
|
16825
16844
|
super(span, errorMsg);
|
|
@@ -17809,7 +17828,7 @@ var CursorError = class {
|
|
|
17809
17828
|
}
|
|
17810
17829
|
};
|
|
17811
17830
|
|
|
17812
|
-
// bazel-out/
|
|
17831
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
17813
17832
|
var TreeError = class extends ParseError {
|
|
17814
17833
|
static create(elementName, span, msg) {
|
|
17815
17834
|
return new TreeError(elementName, span, msg);
|
|
@@ -18237,7 +18256,7 @@ function decodeEntity(match, entity) {
|
|
|
18237
18256
|
return match;
|
|
18238
18257
|
}
|
|
18239
18258
|
|
|
18240
|
-
// bazel-out/
|
|
18259
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
18241
18260
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
18242
18261
|
"iframe|srcdoc",
|
|
18243
18262
|
"*|innerhtml",
|
|
@@ -18252,7 +18271,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
18252
18271
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
18253
18272
|
}
|
|
18254
18273
|
|
|
18255
|
-
// bazel-out/
|
|
18274
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
18256
18275
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
18257
18276
|
if (htmlNode instanceof NodeWithI18n) {
|
|
18258
18277
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -18412,7 +18431,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
18412
18431
|
return jsDocComment(tags);
|
|
18413
18432
|
}
|
|
18414
18433
|
|
|
18415
|
-
// bazel-out/
|
|
18434
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
18416
18435
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
18417
18436
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
18418
18437
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -18463,7 +18482,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
18463
18482
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
18464
18483
|
}
|
|
18465
18484
|
|
|
18466
|
-
// bazel-out/
|
|
18485
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
18467
18486
|
function createLocalizeStatements(variable2, message, params) {
|
|
18468
18487
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
18469
18488
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -18552,7 +18571,7 @@ function createEmptyMessagePart(location) {
|
|
|
18552
18571
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
18553
18572
|
}
|
|
18554
18573
|
|
|
18555
|
-
// bazel-out/
|
|
18574
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
18556
18575
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
18557
18576
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
18558
18577
|
var I18N_ICU_MAPPING_PREFIX = "I18N_EXP_";
|
|
@@ -18723,7 +18742,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
18723
18742
|
return variable(name);
|
|
18724
18743
|
}
|
|
18725
18744
|
|
|
18726
|
-
// bazel-out/
|
|
18745
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
18727
18746
|
function convertI18nText(job) {
|
|
18728
18747
|
var _a2, _b2, _c2;
|
|
18729
18748
|
for (const unit of job.units) {
|
|
@@ -18793,7 +18812,7 @@ function convertI18nText(job) {
|
|
|
18793
18812
|
}
|
|
18794
18813
|
}
|
|
18795
18814
|
|
|
18796
|
-
// bazel-out/
|
|
18815
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
18797
18816
|
function liftLocalRefs(job) {
|
|
18798
18817
|
for (const unit of job.units) {
|
|
18799
18818
|
for (const op of unit.create) {
|
|
@@ -18823,7 +18842,7 @@ function serializeLocalRefs(refs) {
|
|
|
18823
18842
|
return literalArr(constRefs);
|
|
18824
18843
|
}
|
|
18825
18844
|
|
|
18826
|
-
// bazel-out/
|
|
18845
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
18827
18846
|
function emitNamespaceChanges(job) {
|
|
18828
18847
|
for (const unit of job.units) {
|
|
18829
18848
|
let activeNamespace = Namespace.HTML;
|
|
@@ -18839,7 +18858,7 @@ function emitNamespaceChanges(job) {
|
|
|
18839
18858
|
}
|
|
18840
18859
|
}
|
|
18841
18860
|
|
|
18842
|
-
// bazel-out/
|
|
18861
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
18843
18862
|
function parse(value) {
|
|
18844
18863
|
const styles = [];
|
|
18845
18864
|
let i = 0;
|
|
@@ -18933,7 +18952,7 @@ function parseExtractedStyles(job) {
|
|
|
18933
18952
|
}
|
|
18934
18953
|
}
|
|
18935
18954
|
|
|
18936
|
-
// bazel-out/
|
|
18955
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
18937
18956
|
function nameFunctionsAndVariables(job) {
|
|
18938
18957
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
18939
18958
|
}
|
|
@@ -19077,7 +19096,7 @@ function stripImportant(name) {
|
|
|
19077
19096
|
return name;
|
|
19078
19097
|
}
|
|
19079
19098
|
|
|
19080
|
-
// bazel-out/
|
|
19099
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
19081
19100
|
function mergeNextContextExpressions(job) {
|
|
19082
19101
|
for (const unit of job.units) {
|
|
19083
19102
|
for (const op of unit.create) {
|
|
@@ -19124,7 +19143,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
19124
19143
|
}
|
|
19125
19144
|
}
|
|
19126
19145
|
|
|
19127
|
-
// bazel-out/
|
|
19146
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
19128
19147
|
var CONTAINER_TAG = "ng-container";
|
|
19129
19148
|
function generateNgContainerOps(job) {
|
|
19130
19149
|
for (const unit of job.units) {
|
|
@@ -19141,7 +19160,7 @@ function generateNgContainerOps(job) {
|
|
|
19141
19160
|
}
|
|
19142
19161
|
}
|
|
19143
19162
|
|
|
19144
|
-
// bazel-out/
|
|
19163
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
19145
19164
|
function lookupElement3(elements, xref) {
|
|
19146
19165
|
const el = elements.get(xref);
|
|
19147
19166
|
if (el === void 0) {
|
|
@@ -19171,7 +19190,7 @@ function disableBindings(job) {
|
|
|
19171
19190
|
}
|
|
19172
19191
|
}
|
|
19173
19192
|
|
|
19174
|
-
// bazel-out/
|
|
19193
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
19175
19194
|
function generateNullishCoalesceExpressions(job) {
|
|
19176
19195
|
for (const unit of job.units) {
|
|
19177
19196
|
for (const op of unit.ops()) {
|
|
@@ -19187,7 +19206,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
19187
19206
|
}
|
|
19188
19207
|
}
|
|
19189
19208
|
|
|
19190
|
-
// bazel-out/
|
|
19209
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
19191
19210
|
function kindTest(kind) {
|
|
19192
19211
|
return (op) => op.kind === kind;
|
|
19193
19212
|
}
|
|
@@ -19277,7 +19296,7 @@ function keepLast(ops) {
|
|
|
19277
19296
|
return ops.slice(ops.length - 1);
|
|
19278
19297
|
}
|
|
19279
19298
|
|
|
19280
|
-
// bazel-out/
|
|
19299
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
19281
19300
|
function removeContentSelectors(job) {
|
|
19282
19301
|
for (const unit of job.units) {
|
|
19283
19302
|
const elements = createOpXrefMap(unit);
|
|
@@ -19304,7 +19323,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
19304
19323
|
return el;
|
|
19305
19324
|
}
|
|
19306
19325
|
|
|
19307
|
-
// bazel-out/
|
|
19326
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
19308
19327
|
function createPipes(job) {
|
|
19309
19328
|
for (const unit of job.units) {
|
|
19310
19329
|
processPipeBindingsInView(unit);
|
|
@@ -19352,7 +19371,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
19352
19371
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
19353
19372
|
}
|
|
19354
19373
|
|
|
19355
|
-
// bazel-out/
|
|
19374
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
19356
19375
|
function createVariadicPipes(job) {
|
|
19357
19376
|
for (const unit of job.units) {
|
|
19358
19377
|
for (const op of unit.update) {
|
|
@@ -19369,7 +19388,7 @@ function createVariadicPipes(job) {
|
|
|
19369
19388
|
}
|
|
19370
19389
|
}
|
|
19371
19390
|
|
|
19372
|
-
// bazel-out/
|
|
19391
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
19373
19392
|
function propagateI18nBlocks(job) {
|
|
19374
19393
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
19375
19394
|
}
|
|
@@ -19423,7 +19442,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
19423
19442
|
}
|
|
19424
19443
|
}
|
|
19425
19444
|
|
|
19426
|
-
// bazel-out/
|
|
19445
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
19427
19446
|
function extractPureFunctions(job) {
|
|
19428
19447
|
for (const view of job.units) {
|
|
19429
19448
|
for (const op of view.ops()) {
|
|
@@ -19465,7 +19484,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
19465
19484
|
}
|
|
19466
19485
|
};
|
|
19467
19486
|
|
|
19468
|
-
// bazel-out/
|
|
19487
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
19469
19488
|
function generatePureLiteralStructures(job) {
|
|
19470
19489
|
for (const unit of job.units) {
|
|
19471
19490
|
for (const op of unit.update) {
|
|
@@ -19512,7 +19531,7 @@ function transformLiteralMap(expr) {
|
|
|
19512
19531
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
19513
19532
|
}
|
|
19514
19533
|
|
|
19515
|
-
// bazel-out/
|
|
19534
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
19516
19535
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
19517
19536
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
19518
19537
|
}
|
|
@@ -20044,7 +20063,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
20044
20063
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
20045
20064
|
}
|
|
20046
20065
|
|
|
20047
|
-
// bazel-out/
|
|
20066
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
20048
20067
|
var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
|
|
20049
20068
|
["window", Identifiers.resolveWindow],
|
|
20050
20069
|
["document", Identifiers.resolveDocument],
|
|
@@ -20409,7 +20428,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
20409
20428
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
20410
20429
|
}
|
|
20411
20430
|
|
|
20412
|
-
// bazel-out/
|
|
20431
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
20413
20432
|
function removeEmptyBindings(job) {
|
|
20414
20433
|
for (const unit of job.units) {
|
|
20415
20434
|
for (const op of unit.update) {
|
|
@@ -20430,7 +20449,7 @@ function removeEmptyBindings(job) {
|
|
|
20430
20449
|
}
|
|
20431
20450
|
}
|
|
20432
20451
|
|
|
20433
|
-
// bazel-out/
|
|
20452
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
20434
20453
|
function removeI18nContexts(job) {
|
|
20435
20454
|
for (const unit of job.units) {
|
|
20436
20455
|
for (const op of unit.create) {
|
|
@@ -20446,7 +20465,7 @@ function removeI18nContexts(job) {
|
|
|
20446
20465
|
}
|
|
20447
20466
|
}
|
|
20448
20467
|
|
|
20449
|
-
// bazel-out/
|
|
20468
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
|
|
20450
20469
|
function removeUnusedI18nAttributesOps(job) {
|
|
20451
20470
|
for (const unit of job.units) {
|
|
20452
20471
|
const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
|
|
@@ -20468,7 +20487,7 @@ function removeUnusedI18nAttributesOps(job) {
|
|
|
20468
20487
|
}
|
|
20469
20488
|
}
|
|
20470
20489
|
|
|
20471
|
-
// bazel-out/
|
|
20490
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
20472
20491
|
function resolveContexts(job) {
|
|
20473
20492
|
for (const unit of job.units) {
|
|
20474
20493
|
processLexicalScope(unit, unit.create);
|
|
@@ -20510,7 +20529,7 @@ function processLexicalScope(view, ops) {
|
|
|
20510
20529
|
}
|
|
20511
20530
|
}
|
|
20512
20531
|
|
|
20513
|
-
// bazel-out/
|
|
20532
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
20514
20533
|
function resolveDollarEvent(job) {
|
|
20515
20534
|
for (const unit of job.units) {
|
|
20516
20535
|
transformDollarEvent(unit.create);
|
|
@@ -20533,7 +20552,7 @@ function transformDollarEvent(ops) {
|
|
|
20533
20552
|
}
|
|
20534
20553
|
}
|
|
20535
20554
|
|
|
20536
|
-
// bazel-out/
|
|
20555
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
20537
20556
|
function resolveI18nElementPlaceholders(job) {
|
|
20538
20557
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
20539
20558
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -20712,7 +20731,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
20712
20731
|
params.set(placeholder, values);
|
|
20713
20732
|
}
|
|
20714
20733
|
|
|
20715
|
-
// bazel-out/
|
|
20734
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
20716
20735
|
function resolveI18nExpressionPlaceholders(job) {
|
|
20717
20736
|
var _a2;
|
|
20718
20737
|
const subTemplateIndices = /* @__PURE__ */ new Map();
|
|
@@ -20765,7 +20784,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
|
|
|
20765
20784
|
}
|
|
20766
20785
|
}
|
|
20767
20786
|
|
|
20768
|
-
// bazel-out/
|
|
20787
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
20769
20788
|
function resolveNames(job) {
|
|
20770
20789
|
for (const unit of job.units) {
|
|
20771
20790
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -20843,7 +20862,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
20843
20862
|
}
|
|
20844
20863
|
}
|
|
20845
20864
|
|
|
20846
|
-
// bazel-out/
|
|
20865
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
20847
20866
|
var sanitizerFns = /* @__PURE__ */ new Map([
|
|
20848
20867
|
[SecurityContext.HTML, Identifiers.sanitizeHtml],
|
|
20849
20868
|
[SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
|
|
@@ -20913,7 +20932,7 @@ function getOnlySecurityContext(securityContext) {
|
|
|
20913
20932
|
return securityContext;
|
|
20914
20933
|
}
|
|
20915
20934
|
|
|
20916
|
-
// bazel-out/
|
|
20935
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
|
|
20917
20936
|
function transformTwoWayBindingSet(job) {
|
|
20918
20937
|
for (const unit of job.units) {
|
|
20919
20938
|
for (const op of unit.create) {
|
|
@@ -20936,7 +20955,7 @@ function transformTwoWayBindingSet(job) {
|
|
|
20936
20955
|
}
|
|
20937
20956
|
}
|
|
20938
20957
|
|
|
20939
|
-
// bazel-out/
|
|
20958
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
20940
20959
|
function saveAndRestoreView(job) {
|
|
20941
20960
|
for (const unit of job.units) {
|
|
20942
20961
|
unit.create.prepend([
|
|
@@ -20981,7 +21000,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
20981
21000
|
}
|
|
20982
21001
|
}
|
|
20983
21002
|
|
|
20984
|
-
// bazel-out/
|
|
21003
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
20985
21004
|
function allocateSlots(job) {
|
|
20986
21005
|
const slotMap = /* @__PURE__ */ new Map();
|
|
20987
21006
|
for (const unit of job.units) {
|
|
@@ -21006,7 +21025,7 @@ function allocateSlots(job) {
|
|
|
21006
21025
|
}
|
|
21007
21026
|
}
|
|
21008
21027
|
|
|
21009
|
-
// bazel-out/
|
|
21028
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
21010
21029
|
function specializeStyleBindings(job) {
|
|
21011
21030
|
for (const unit of job.units) {
|
|
21012
21031
|
for (const op of unit.update) {
|
|
@@ -21036,7 +21055,7 @@ function specializeStyleBindings(job) {
|
|
|
21036
21055
|
}
|
|
21037
21056
|
}
|
|
21038
21057
|
|
|
21039
|
-
// bazel-out/
|
|
21058
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
21040
21059
|
function generateTemporaryVariables(job) {
|
|
21041
21060
|
for (const unit of job.units) {
|
|
21042
21061
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -21094,7 +21113,7 @@ function assignName(names, expr) {
|
|
|
21094
21113
|
expr.name = name;
|
|
21095
21114
|
}
|
|
21096
21115
|
|
|
21097
|
-
// bazel-out/
|
|
21116
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
21098
21117
|
function generateTrackFns(job) {
|
|
21099
21118
|
for (const unit of job.units) {
|
|
21100
21119
|
for (const op of unit.create) {
|
|
@@ -21127,7 +21146,7 @@ function generateTrackFns(job) {
|
|
|
21127
21146
|
}
|
|
21128
21147
|
}
|
|
21129
21148
|
|
|
21130
|
-
// bazel-out/
|
|
21149
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
21131
21150
|
function optimizeTrackFns(job) {
|
|
21132
21151
|
for (const unit of job.units) {
|
|
21133
21152
|
for (const op of unit.create) {
|
|
@@ -21177,7 +21196,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
21177
21196
|
return true;
|
|
21178
21197
|
}
|
|
21179
21198
|
|
|
21180
|
-
// bazel-out/
|
|
21199
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
21181
21200
|
function generateTrackVariables(job) {
|
|
21182
21201
|
for (const unit of job.units) {
|
|
21183
21202
|
for (const op of unit.create) {
|
|
@@ -21198,7 +21217,7 @@ function generateTrackVariables(job) {
|
|
|
21198
21217
|
}
|
|
21199
21218
|
}
|
|
21200
21219
|
|
|
21201
|
-
// bazel-out/
|
|
21220
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
21202
21221
|
function countVariables(job) {
|
|
21203
21222
|
for (const unit of job.units) {
|
|
21204
21223
|
let varCount = 0;
|
|
@@ -21311,7 +21330,7 @@ function isSingletonInterpolation(expr) {
|
|
|
21311
21330
|
return true;
|
|
21312
21331
|
}
|
|
21313
21332
|
|
|
21314
|
-
// bazel-out/
|
|
21333
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
21315
21334
|
function optimizeVariables(job) {
|
|
21316
21335
|
for (const unit of job.units) {
|
|
21317
21336
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -21563,7 +21582,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
21563
21582
|
}
|
|
21564
21583
|
}
|
|
21565
21584
|
|
|
21566
|
-
// bazel-out/
|
|
21585
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
21567
21586
|
function wrapI18nIcus(job) {
|
|
21568
21587
|
for (const unit of job.units) {
|
|
21569
21588
|
let currentI18nOp = null;
|
|
@@ -21593,7 +21612,7 @@ function wrapI18nIcus(job) {
|
|
|
21593
21612
|
}
|
|
21594
21613
|
}
|
|
21595
21614
|
|
|
21596
|
-
// bazel-out/
|
|
21615
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/store_let_optimization.mjs
|
|
21597
21616
|
function optimizeStoreLet(job) {
|
|
21598
21617
|
const letUsedExternally = /* @__PURE__ */ new Set();
|
|
21599
21618
|
for (const unit of job.units) {
|
|
@@ -21612,7 +21631,7 @@ function optimizeStoreLet(job) {
|
|
|
21612
21631
|
}
|
|
21613
21632
|
}
|
|
21614
21633
|
|
|
21615
|
-
// bazel-out/
|
|
21634
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_illegal_let_references.mjs
|
|
21616
21635
|
function removeIllegalLetReferences(job) {
|
|
21617
21636
|
for (const unit of job.units) {
|
|
21618
21637
|
for (const op of unit.update) {
|
|
@@ -21629,7 +21648,7 @@ function removeIllegalLetReferences(job) {
|
|
|
21629
21648
|
}
|
|
21630
21649
|
}
|
|
21631
21650
|
|
|
21632
|
-
// bazel-out/
|
|
21651
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_local_let_references.mjs
|
|
21633
21652
|
function generateLocalLetReferences(job) {
|
|
21634
21653
|
for (const unit of job.units) {
|
|
21635
21654
|
for (const op of unit.update) {
|
|
@@ -21647,7 +21666,7 @@ function generateLocalLetReferences(job) {
|
|
|
21647
21666
|
}
|
|
21648
21667
|
}
|
|
21649
21668
|
|
|
21650
|
-
// bazel-out/
|
|
21669
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
21651
21670
|
var phases = [
|
|
21652
21671
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
21653
21672
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -21804,7 +21823,7 @@ function emitHostBindingFunction(job) {
|
|
|
21804
21823
|
);
|
|
21805
21824
|
}
|
|
21806
21825
|
|
|
21807
|
-
// bazel-out/
|
|
21826
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
21808
21827
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
21809
21828
|
var domSchema = new DomElementSchemaRegistry();
|
|
21810
21829
|
var NG_TEMPLATE_TAG_NAME = "ng-template";
|
|
@@ -22562,7 +22581,7 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
22562
22581
|
return null;
|
|
22563
22582
|
}
|
|
22564
22583
|
|
|
22565
|
-
// bazel-out/
|
|
22584
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
|
|
22566
22585
|
function renderFlagCheckIfStmt(flags, statements) {
|
|
22567
22586
|
return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
|
|
22568
22587
|
}
|
|
@@ -22682,7 +22701,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
|
|
|
22682
22701
|
], INFERRED_TYPE, null, contentQueriesFnName);
|
|
22683
22702
|
}
|
|
22684
22703
|
|
|
22685
|
-
// bazel-out/
|
|
22704
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
22686
22705
|
var HtmlParser = class extends Parser2 {
|
|
22687
22706
|
constructor() {
|
|
22688
22707
|
super(getHtmlTagDefinition);
|
|
@@ -22692,7 +22711,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
22692
22711
|
}
|
|
22693
22712
|
};
|
|
22694
22713
|
|
|
22695
|
-
// bazel-out/
|
|
22714
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
22696
22715
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
22697
22716
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
22698
22717
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -22761,7 +22780,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
22761
22780
|
return result;
|
|
22762
22781
|
}
|
|
22763
22782
|
|
|
22764
|
-
// bazel-out/
|
|
22783
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
22765
22784
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
22766
22785
|
var ATTRIBUTE_PREFIX = "attr";
|
|
22767
22786
|
var CLASS_PREFIX = "class";
|
|
@@ -23115,7 +23134,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
23115
23134
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
23116
23135
|
}
|
|
23117
23136
|
|
|
23118
|
-
// bazel-out/
|
|
23137
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
23119
23138
|
function isStyleUrlResolvable(url) {
|
|
23120
23139
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
23121
23140
|
return false;
|
|
@@ -23124,7 +23143,7 @@ function isStyleUrlResolvable(url) {
|
|
|
23124
23143
|
}
|
|
23125
23144
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
23126
23145
|
|
|
23127
|
-
// bazel-out/
|
|
23146
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
23128
23147
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
23129
23148
|
var LINK_ELEMENT = "link";
|
|
23130
23149
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -23194,7 +23213,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
23194
23213
|
return selectAttr;
|
|
23195
23214
|
}
|
|
23196
23215
|
|
|
23197
|
-
// bazel-out/
|
|
23216
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
23198
23217
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
23199
23218
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
23200
23219
|
var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
|
|
@@ -23517,7 +23536,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
23517
23536
|
return expression.slice(start, end);
|
|
23518
23537
|
}
|
|
23519
23538
|
|
|
23520
|
-
// bazel-out/
|
|
23539
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
23521
23540
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
23522
23541
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
23523
23542
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -23781,7 +23800,7 @@ function parseDeferredTime(value) {
|
|
|
23781
23800
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
23782
23801
|
}
|
|
23783
23802
|
|
|
23784
|
-
// bazel-out/
|
|
23803
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
23785
23804
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
23786
23805
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
23787
23806
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -23916,7 +23935,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
23916
23935
|
return { triggers, prefetchTriggers };
|
|
23917
23936
|
}
|
|
23918
23937
|
|
|
23919
|
-
// bazel-out/
|
|
23938
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
23920
23939
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
23921
23940
|
var KW_BIND_IDX = 1;
|
|
23922
23941
|
var KW_LET_IDX = 2;
|
|
@@ -24383,7 +24402,7 @@ function textContents(node) {
|
|
|
24383
24402
|
}
|
|
24384
24403
|
}
|
|
24385
24404
|
|
|
24386
|
-
// bazel-out/
|
|
24405
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
24387
24406
|
var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
|
|
24388
24407
|
function parseTemplate(template2, templateUrl, options = {}) {
|
|
24389
24408
|
var _a2, _b2;
|
|
@@ -24462,7 +24481,7 @@ function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, a
|
|
|
24462
24481
|
return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, [], allowInvalidAssignmentEvents);
|
|
24463
24482
|
}
|
|
24464
24483
|
|
|
24465
|
-
// bazel-out/
|
|
24484
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
24466
24485
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
24467
24486
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
24468
24487
|
var CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
|
|
@@ -24853,7 +24872,7 @@ function compileDeferResolverFunction(meta) {
|
|
|
24853
24872
|
return arrowFn([], literalArr(depExpressions));
|
|
24854
24873
|
}
|
|
24855
24874
|
|
|
24856
|
-
// bazel-out/
|
|
24875
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
24857
24876
|
var R3TargetBinder = class {
|
|
24858
24877
|
constructor(directiveMatcher) {
|
|
24859
24878
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -25500,11 +25519,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
25500
25519
|
return templateEntities;
|
|
25501
25520
|
}
|
|
25502
25521
|
|
|
25503
|
-
// bazel-out/
|
|
25522
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
25504
25523
|
var ResourceLoader = class {
|
|
25505
25524
|
};
|
|
25506
25525
|
|
|
25507
|
-
// bazel-out/
|
|
25526
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
25508
25527
|
var CompilerFacadeImpl = class {
|
|
25509
25528
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
25510
25529
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -26082,10 +26101,10 @@ function publishFacade(global) {
|
|
|
26082
26101
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
26083
26102
|
}
|
|
26084
26103
|
|
|
26085
|
-
// bazel-out/
|
|
26086
|
-
var VERSION2 = new Version("18.1.
|
|
26104
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
|
|
26105
|
+
var VERSION2 = new Version("18.1.4");
|
|
26087
26106
|
|
|
26088
|
-
// bazel-out/
|
|
26107
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
26089
26108
|
var _I18N_ATTR = "i18n";
|
|
26090
26109
|
var _I18N_ATTR_PREFIX = "i18n-";
|
|
26091
26110
|
var _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;
|
|
@@ -26396,7 +26415,7 @@ function _parseMessageMeta(i18n2) {
|
|
|
26396
26415
|
return { meaning, description, id: id.trim() };
|
|
26397
26416
|
}
|
|
26398
26417
|
|
|
26399
|
-
// bazel-out/
|
|
26418
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
26400
26419
|
var XmlTagDefinition = class {
|
|
26401
26420
|
constructor() {
|
|
26402
26421
|
this.closedByParent = false;
|
|
@@ -26421,7 +26440,7 @@ function getXmlTagDefinition(tagName) {
|
|
|
26421
26440
|
return _TAG_DEFINITION;
|
|
26422
26441
|
}
|
|
26423
26442
|
|
|
26424
|
-
// bazel-out/
|
|
26443
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
|
|
26425
26444
|
var XmlParser = class extends Parser2 {
|
|
26426
26445
|
constructor() {
|
|
26427
26446
|
super(getXmlTagDefinition);
|
|
@@ -26431,7 +26450,7 @@ var XmlParser = class extends Parser2 {
|
|
|
26431
26450
|
}
|
|
26432
26451
|
};
|
|
26433
26452
|
|
|
26434
|
-
// bazel-out/
|
|
26453
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
|
|
26435
26454
|
var _VERSION = "1.2";
|
|
26436
26455
|
var _XMLNS = "urn:oasis:names:tc:xliff:document:1.2";
|
|
26437
26456
|
var _DEFAULT_SOURCE_LANG = "en";
|
|
@@ -26713,7 +26732,7 @@ function getCtypeForTag(tag) {
|
|
|
26713
26732
|
}
|
|
26714
26733
|
}
|
|
26715
26734
|
|
|
26716
|
-
// bazel-out/
|
|
26735
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
|
|
26717
26736
|
var _VERSION2 = "2.0";
|
|
26718
26737
|
var _XMLNS2 = "urn:oasis:names:tc:xliff:document:2.0";
|
|
26719
26738
|
var _DEFAULT_SOURCE_LANG2 = "en";
|
|
@@ -27044,7 +27063,7 @@ function getTypeForTag(tag) {
|
|
|
27044
27063
|
}
|
|
27045
27064
|
}
|
|
27046
27065
|
|
|
27047
|
-
// bazel-out/
|
|
27066
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
|
|
27048
27067
|
var MessageBundle = class {
|
|
27049
27068
|
constructor(_htmlParser, _implicitTags, _implicitAttrs, _locale = null) {
|
|
27050
27069
|
this._htmlParser = _htmlParser;
|
|
@@ -27120,7 +27139,7 @@ var MapPlaceholderNames = class extends CloneVisitor {
|
|
|
27120
27139
|
}
|
|
27121
27140
|
};
|
|
27122
27141
|
|
|
27123
|
-
// bazel-out/
|
|
27142
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
27124
27143
|
var FactoryTarget2;
|
|
27125
27144
|
(function(FactoryTarget3) {
|
|
27126
27145
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -27130,7 +27149,7 @@ var FactoryTarget2;
|
|
|
27130
27149
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
27131
27150
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
27132
27151
|
|
|
27133
|
-
// bazel-out/
|
|
27152
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
|
|
27134
27153
|
function compileClassMetadata(metadata) {
|
|
27135
27154
|
const fnCall = internalCompileClassMetadata(metadata);
|
|
27136
27155
|
return arrowFn([], [devOnlyGuardedExpression(fnCall).toStmt()]).callFn([]);
|
|
@@ -27164,7 +27183,7 @@ function compileComponentMetadataAsyncResolver(dependencies) {
|
|
|
27164
27183
|
return arrowFn([], literalArr(dynamicImports));
|
|
27165
27184
|
}
|
|
27166
27185
|
|
|
27167
|
-
// bazel-out/
|
|
27186
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_class_debug_info_compiler.mjs
|
|
27168
27187
|
function compileClassDebugInfo(debugInfo) {
|
|
27169
27188
|
const debugInfoObject = {
|
|
27170
27189
|
className: debugInfo.className
|
|
@@ -27181,13 +27200,13 @@ function compileClassDebugInfo(debugInfo) {
|
|
|
27181
27200
|
return iife.callFn([]);
|
|
27182
27201
|
}
|
|
27183
27202
|
|
|
27184
|
-
// bazel-out/
|
|
27203
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
|
|
27185
27204
|
var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
|
|
27186
27205
|
var MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = "18.0.0";
|
|
27187
27206
|
function compileDeclareClassMetadata(metadata) {
|
|
27188
27207
|
const definitionMap = new DefinitionMap();
|
|
27189
27208
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
27190
|
-
definitionMap.set("version", literal("18.1.
|
|
27209
|
+
definitionMap.set("version", literal("18.1.4"));
|
|
27191
27210
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27192
27211
|
definitionMap.set("type", metadata.type);
|
|
27193
27212
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -27206,7 +27225,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
27206
27225
|
callbackReturnDefinitionMap.set("ctorParameters", (_a2 = metadata.ctorParameters) != null ? _a2 : literal(null));
|
|
27207
27226
|
callbackReturnDefinitionMap.set("propDecorators", (_b2 = metadata.propDecorators) != null ? _b2 : literal(null));
|
|
27208
27227
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
27209
|
-
definitionMap.set("version", literal("18.1.
|
|
27228
|
+
definitionMap.set("version", literal("18.1.4"));
|
|
27210
27229
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27211
27230
|
definitionMap.set("type", metadata.type);
|
|
27212
27231
|
definitionMap.set("resolveDeferredDeps", compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -27214,7 +27233,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
27214
27233
|
return importExpr(Identifiers.declareClassMetadataAsync).callFn([definitionMap.toLiteralMap()]);
|
|
27215
27234
|
}
|
|
27216
27235
|
|
|
27217
|
-
// bazel-out/
|
|
27236
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
|
|
27218
27237
|
function toOptionalLiteralArray(values, mapper) {
|
|
27219
27238
|
if (values === null || values.length === 0) {
|
|
27220
27239
|
return null;
|
|
@@ -27262,7 +27281,7 @@ function compileDependency(dep) {
|
|
|
27262
27281
|
return depMeta.toLiteralMap();
|
|
27263
27282
|
}
|
|
27264
27283
|
|
|
27265
|
-
// bazel-out/
|
|
27284
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
|
|
27266
27285
|
function compileDeclareDirectiveFromMetadata(meta) {
|
|
27267
27286
|
const definitionMap = createDirectiveDefinitionMap(meta);
|
|
27268
27287
|
const expression = importExpr(Identifiers.declareDirective).callFn([definitionMap.toLiteralMap()]);
|
|
@@ -27274,7 +27293,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
27274
27293
|
const definitionMap = new DefinitionMap();
|
|
27275
27294
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
27276
27295
|
definitionMap.set("minVersion", literal(minVersion));
|
|
27277
|
-
definitionMap.set("version", literal("18.1.
|
|
27296
|
+
definitionMap.set("version", literal("18.1.4"));
|
|
27278
27297
|
definitionMap.set("type", meta.type.value);
|
|
27279
27298
|
if (meta.isStandalone) {
|
|
27280
27299
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -27436,7 +27455,7 @@ function legacyInputsPartialMetadata(inputs) {
|
|
|
27436
27455
|
}));
|
|
27437
27456
|
}
|
|
27438
27457
|
|
|
27439
|
-
// bazel-out/
|
|
27458
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
|
|
27440
27459
|
function compileDeclareComponentFromMetadata(meta, template2, additionalTemplateInfo) {
|
|
27441
27460
|
const definitionMap = createComponentDefinitionMap(meta, template2, additionalTemplateInfo);
|
|
27442
27461
|
const expression = importExpr(Identifiers.declareComponent).callFn([definitionMap.toLiteralMap()]);
|
|
@@ -27587,12 +27606,12 @@ var BlockPresenceVisitor = class extends RecursiveVisitor {
|
|
|
27587
27606
|
}
|
|
27588
27607
|
};
|
|
27589
27608
|
|
|
27590
|
-
// bazel-out/
|
|
27609
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
|
|
27591
27610
|
var MINIMUM_PARTIAL_LINKER_VERSION2 = "12.0.0";
|
|
27592
27611
|
function compileDeclareFactoryFunction(meta) {
|
|
27593
27612
|
const definitionMap = new DefinitionMap();
|
|
27594
27613
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
|
|
27595
|
-
definitionMap.set("version", literal("18.1.
|
|
27614
|
+
definitionMap.set("version", literal("18.1.4"));
|
|
27596
27615
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27597
27616
|
definitionMap.set("type", meta.type.value);
|
|
27598
27617
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -27604,7 +27623,7 @@ function compileDeclareFactoryFunction(meta) {
|
|
|
27604
27623
|
};
|
|
27605
27624
|
}
|
|
27606
27625
|
|
|
27607
|
-
// bazel-out/
|
|
27626
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
|
|
27608
27627
|
var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
|
|
27609
27628
|
function compileDeclareInjectableFromMetadata(meta) {
|
|
27610
27629
|
const definitionMap = createInjectableDefinitionMap(meta);
|
|
@@ -27615,7 +27634,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
27615
27634
|
function createInjectableDefinitionMap(meta) {
|
|
27616
27635
|
const definitionMap = new DefinitionMap();
|
|
27617
27636
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
|
|
27618
|
-
definitionMap.set("version", literal("18.1.
|
|
27637
|
+
definitionMap.set("version", literal("18.1.4"));
|
|
27619
27638
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27620
27639
|
definitionMap.set("type", meta.type.value);
|
|
27621
27640
|
if (meta.providedIn !== void 0) {
|
|
@@ -27642,7 +27661,7 @@ function createInjectableDefinitionMap(meta) {
|
|
|
27642
27661
|
return definitionMap;
|
|
27643
27662
|
}
|
|
27644
27663
|
|
|
27645
|
-
// bazel-out/
|
|
27664
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
|
|
27646
27665
|
var MINIMUM_PARTIAL_LINKER_VERSION4 = "12.0.0";
|
|
27647
27666
|
function compileDeclareInjectorFromMetadata(meta) {
|
|
27648
27667
|
const definitionMap = createInjectorDefinitionMap(meta);
|
|
@@ -27653,7 +27672,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
27653
27672
|
function createInjectorDefinitionMap(meta) {
|
|
27654
27673
|
const definitionMap = new DefinitionMap();
|
|
27655
27674
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
|
|
27656
|
-
definitionMap.set("version", literal("18.1.
|
|
27675
|
+
definitionMap.set("version", literal("18.1.4"));
|
|
27657
27676
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27658
27677
|
definitionMap.set("type", meta.type.value);
|
|
27659
27678
|
definitionMap.set("providers", meta.providers);
|
|
@@ -27663,7 +27682,7 @@ function createInjectorDefinitionMap(meta) {
|
|
|
27663
27682
|
return definitionMap;
|
|
27664
27683
|
}
|
|
27665
27684
|
|
|
27666
|
-
// bazel-out/
|
|
27685
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
|
|
27667
27686
|
var MINIMUM_PARTIAL_LINKER_VERSION5 = "14.0.0";
|
|
27668
27687
|
function compileDeclareNgModuleFromMetadata(meta) {
|
|
27669
27688
|
const definitionMap = createNgModuleDefinitionMap(meta);
|
|
@@ -27677,7 +27696,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
27677
27696
|
throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
|
|
27678
27697
|
}
|
|
27679
27698
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
|
|
27680
|
-
definitionMap.set("version", literal("18.1.
|
|
27699
|
+
definitionMap.set("version", literal("18.1.4"));
|
|
27681
27700
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27682
27701
|
definitionMap.set("type", meta.type.value);
|
|
27683
27702
|
if (meta.bootstrap.length > 0) {
|
|
@@ -27701,7 +27720,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
27701
27720
|
return definitionMap;
|
|
27702
27721
|
}
|
|
27703
27722
|
|
|
27704
|
-
// bazel-out/
|
|
27723
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
|
|
27705
27724
|
var MINIMUM_PARTIAL_LINKER_VERSION6 = "14.0.0";
|
|
27706
27725
|
function compileDeclarePipeFromMetadata(meta) {
|
|
27707
27726
|
const definitionMap = createPipeDefinitionMap(meta);
|
|
@@ -27712,7 +27731,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
27712
27731
|
function createPipeDefinitionMap(meta) {
|
|
27713
27732
|
const definitionMap = new DefinitionMap();
|
|
27714
27733
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
|
|
27715
|
-
definitionMap.set("version", literal("18.1.
|
|
27734
|
+
definitionMap.set("version", literal("18.1.4"));
|
|
27716
27735
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27717
27736
|
definitionMap.set("type", meta.type.value);
|
|
27718
27737
|
if (meta.isStandalone) {
|
|
@@ -27725,16 +27744,16 @@ function createPipeDefinitionMap(meta) {
|
|
|
27725
27744
|
return definitionMap;
|
|
27726
27745
|
}
|
|
27727
27746
|
|
|
27728
|
-
// bazel-out/
|
|
27747
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
27729
27748
|
publishFacade(_global);
|
|
27730
27749
|
|
|
27731
|
-
// bazel-out/
|
|
27732
|
-
var VERSION3 = new Version("18.1.
|
|
27750
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
27751
|
+
var VERSION3 = new Version("18.1.4");
|
|
27733
27752
|
|
|
27734
|
-
// bazel-out/
|
|
27753
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
27735
27754
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
27736
27755
|
|
|
27737
|
-
// bazel-out/
|
|
27756
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
27738
27757
|
var ErrorCode;
|
|
27739
27758
|
(function(ErrorCode2) {
|
|
27740
27759
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -27828,7 +27847,7 @@ var ErrorCode;
|
|
|
27828
27847
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
27829
27848
|
})(ErrorCode || (ErrorCode = {}));
|
|
27830
27849
|
|
|
27831
|
-
// bazel-out/
|
|
27850
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
27832
27851
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
27833
27852
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
27834
27853
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -27840,15 +27859,15 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
27840
27859
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
27841
27860
|
]);
|
|
27842
27861
|
|
|
27843
|
-
// bazel-out/
|
|
27862
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
27844
27863
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
27845
27864
|
|
|
27846
|
-
// bazel-out/
|
|
27865
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
27847
27866
|
function ngErrorCode(code) {
|
|
27848
27867
|
return parseInt("-99" + code);
|
|
27849
27868
|
}
|
|
27850
27869
|
|
|
27851
|
-
// bazel-out/
|
|
27870
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
27852
27871
|
var FatalDiagnosticError = class extends Error {
|
|
27853
27872
|
constructor(code, node, diagnosticMessage, relatedInformation) {
|
|
27854
27873
|
super(`FatalDiagnosticError: Code: ${code}, Message: ${import_typescript2.default.flattenDiagnosticMessageText(diagnosticMessage, "\n")}`);
|
|
@@ -27909,10 +27928,10 @@ function isFatalDiagnosticError(err) {
|
|
|
27909
27928
|
return err._isFatalDiagnosticError === true;
|
|
27910
27929
|
}
|
|
27911
27930
|
|
|
27912
|
-
// bazel-out/
|
|
27931
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
27913
27932
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.dev/errors";
|
|
27914
27933
|
|
|
27915
|
-
// bazel-out/
|
|
27934
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
27916
27935
|
var ExtendedTemplateDiagnosticName;
|
|
27917
27936
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
27918
27937
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -27928,7 +27947,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
27928
27947
|
ExtendedTemplateDiagnosticName2["CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION"] = "controlFlowPreventingContentProjection";
|
|
27929
27948
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
27930
27949
|
|
|
27931
|
-
// bazel-out/
|
|
27950
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
27932
27951
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
27933
27952
|
var TS = /\.tsx?$/i;
|
|
27934
27953
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -28029,7 +28048,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
28029
28048
|
return redirectInfo.unredirected;
|
|
28030
28049
|
}
|
|
28031
28050
|
|
|
28032
|
-
// bazel-out/
|
|
28051
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
28033
28052
|
function findExportedNameOfNode(target, file, reflector) {
|
|
28034
28053
|
const exports = reflector.getExportsOfModule(file);
|
|
28035
28054
|
if (exports === null) {
|
|
@@ -28049,7 +28068,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
28049
28068
|
return foundExportName;
|
|
28050
28069
|
}
|
|
28051
28070
|
|
|
28052
|
-
// bazel-out/
|
|
28071
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
28053
28072
|
var ImportFlags;
|
|
28054
28073
|
(function(ImportFlags2) {
|
|
28055
28074
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -28280,7 +28299,7 @@ var UnifiedModulesStrategy = class {
|
|
|
28280
28299
|
}
|
|
28281
28300
|
};
|
|
28282
28301
|
|
|
28283
|
-
// bazel-out/
|
|
28302
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
28284
28303
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
28285
28304
|
var UnifiedModulesAliasingHost = class {
|
|
28286
28305
|
constructor(unifiedModulesHost) {
|
|
@@ -28347,7 +28366,7 @@ var AliasStrategy = class {
|
|
|
28347
28366
|
}
|
|
28348
28367
|
};
|
|
28349
28368
|
|
|
28350
|
-
// bazel-out/
|
|
28369
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
28351
28370
|
function relativePathBetween(from, to) {
|
|
28352
28371
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
28353
28372
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -28356,7 +28375,7 @@ function normalizeSeparators2(path4) {
|
|
|
28356
28375
|
return path4.replace(/\\/g, "/");
|
|
28357
28376
|
}
|
|
28358
28377
|
|
|
28359
|
-
// bazel-out/
|
|
28378
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
28360
28379
|
var NoopImportRewriter = class {
|
|
28361
28380
|
rewriteSymbol(symbol, specifier) {
|
|
28362
28381
|
return symbol;
|
|
@@ -28409,7 +28428,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
28409
28428
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
28410
28429
|
}
|
|
28411
28430
|
|
|
28412
|
-
// bazel-out/
|
|
28431
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
28413
28432
|
var import_typescript7 = __toESM(require("typescript"), 1);
|
|
28414
28433
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
28415
28434
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -28444,7 +28463,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
28444
28463
|
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.");
|
|
28445
28464
|
}
|
|
28446
28465
|
|
|
28447
|
-
// bazel-out/
|
|
28466
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
28448
28467
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
28449
28468
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
28450
28469
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -28485,13 +28504,13 @@ var DefaultImportTracker = class {
|
|
|
28485
28504
|
}
|
|
28486
28505
|
};
|
|
28487
28506
|
|
|
28488
|
-
// bazel-out/
|
|
28507
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
28489
28508
|
var import_typescript13 = __toESM(require("typescript"), 1);
|
|
28490
28509
|
|
|
28491
|
-
// bazel-out/
|
|
28510
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
28492
28511
|
var import_typescript12 = __toESM(require("typescript"), 1);
|
|
28493
28512
|
|
|
28494
|
-
// bazel-out/
|
|
28513
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
28495
28514
|
var import_typescript9 = __toESM(require("typescript"), 1);
|
|
28496
28515
|
function isDecoratorIdentifier(exp) {
|
|
28497
28516
|
return import_typescript9.default.isIdentifier(exp) || import_typescript9.default.isPropertyAccessExpression(exp) && import_typescript9.default.isIdentifier(exp.expression) && import_typescript9.default.isIdentifier(exp.name);
|
|
@@ -28514,7 +28533,7 @@ var ClassMemberAccessLevel;
|
|
|
28514
28533
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
28515
28534
|
var AmbientImport = {};
|
|
28516
28535
|
|
|
28517
|
-
// bazel-out/
|
|
28536
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
28518
28537
|
var import_typescript10 = __toESM(require("typescript"), 1);
|
|
28519
28538
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
28520
28539
|
var _a2, _b2;
|
|
@@ -28698,7 +28717,7 @@ function extractModuleName(node) {
|
|
|
28698
28717
|
return node.moduleSpecifier.text;
|
|
28699
28718
|
}
|
|
28700
28719
|
|
|
28701
|
-
// bazel-out/
|
|
28720
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
28702
28721
|
var import_typescript11 = __toESM(require("typescript"), 1);
|
|
28703
28722
|
function isNamedClassDeclaration(node) {
|
|
28704
28723
|
return import_typescript11.default.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -28722,7 +28741,7 @@ function classMemberAccessLevelToString(level) {
|
|
|
28722
28741
|
}
|
|
28723
28742
|
}
|
|
28724
28743
|
|
|
28725
|
-
// bazel-out/
|
|
28744
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
28726
28745
|
var TypeScriptReflectionHost = class {
|
|
28727
28746
|
constructor(checker, isLocalCompilation = false) {
|
|
28728
28747
|
this.checker = checker;
|
|
@@ -29209,7 +29228,7 @@ function getExportedName(decl, originalId) {
|
|
|
29209
29228
|
}
|
|
29210
29229
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
29211
29230
|
|
|
29212
|
-
// bazel-out/
|
|
29231
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
29213
29232
|
var AssumeEager = "AssumeEager";
|
|
29214
29233
|
var DeferredSymbolTracker = class {
|
|
29215
29234
|
constructor(typeChecker, onlyExplicitDeferDependencyImports) {
|
|
@@ -29329,7 +29348,7 @@ var DeferredSymbolTracker = class {
|
|
|
29329
29348
|
}
|
|
29330
29349
|
};
|
|
29331
29350
|
|
|
29332
|
-
// bazel-out/
|
|
29351
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
|
|
29333
29352
|
var import_typescript15 = __toESM(require("typescript"), 1);
|
|
29334
29353
|
var ImportedSymbolsTracker = class {
|
|
29335
29354
|
constructor() {
|
|
@@ -29399,7 +29418,7 @@ var ImportedSymbolsTracker = class {
|
|
|
29399
29418
|
}
|
|
29400
29419
|
};
|
|
29401
29420
|
|
|
29402
|
-
// bazel-out/
|
|
29421
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
|
|
29403
29422
|
var import_typescript16 = __toESM(require("typescript"), 1);
|
|
29404
29423
|
var LocalCompilationExtraImportsTracker = class {
|
|
29405
29424
|
constructor(typeChecker) {
|
|
@@ -29450,7 +29469,7 @@ function removeQuotations(s) {
|
|
|
29450
29469
|
return s.substring(1, s.length - 1).trim();
|
|
29451
29470
|
}
|
|
29452
29471
|
|
|
29453
|
-
// bazel-out/
|
|
29472
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
29454
29473
|
var Reference2 = class {
|
|
29455
29474
|
constructor(node, bestGuessOwningModule = null) {
|
|
29456
29475
|
this.node = node;
|
|
@@ -29519,7 +29538,7 @@ var Reference2 = class {
|
|
|
29519
29538
|
}
|
|
29520
29539
|
};
|
|
29521
29540
|
|
|
29522
|
-
// bazel-out/
|
|
29541
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
29523
29542
|
var ModuleResolver = class {
|
|
29524
29543
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
29525
29544
|
this.program = program;
|
|
@@ -29536,16 +29555,16 @@ var ModuleResolver = class {
|
|
|
29536
29555
|
}
|
|
29537
29556
|
};
|
|
29538
29557
|
|
|
29539
|
-
// bazel-out/
|
|
29558
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/downlevel_decorators_transform.mjs
|
|
29540
29559
|
var import_typescript21 = __toESM(require("typescript"), 1);
|
|
29541
29560
|
|
|
29542
|
-
// bazel-out/
|
|
29561
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/transform.mjs
|
|
29543
29562
|
var import_typescript95 = __toESM(require("typescript"), 1);
|
|
29544
29563
|
|
|
29545
|
-
// bazel-out/
|
|
29564
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
29546
29565
|
var import_typescript23 = __toESM(require("typescript"), 1);
|
|
29547
29566
|
|
|
29548
|
-
// bazel-out/
|
|
29567
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
29549
29568
|
var import_typescript22 = __toESM(require("typescript"), 1);
|
|
29550
29569
|
var CORE_MODULE2 = "@angular/core";
|
|
29551
29570
|
function valueReferenceToExpression(valueRef) {
|
|
@@ -29803,7 +29822,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
29803
29822
|
return import_typescript22.default.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === import_typescript22.default.SyntaxKind.AbstractKeyword) : false;
|
|
29804
29823
|
}
|
|
29805
29824
|
|
|
29806
|
-
// bazel-out/
|
|
29825
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
29807
29826
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
29808
29827
|
const deps = [];
|
|
29809
29828
|
const errors = [];
|
|
@@ -29947,10 +29966,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
|
|
|
29947
29966
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain2, hints);
|
|
29948
29967
|
}
|
|
29949
29968
|
|
|
29950
|
-
// bazel-out/
|
|
29969
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
29951
29970
|
var import_typescript46 = __toESM(require("typescript"), 1);
|
|
29952
29971
|
|
|
29953
|
-
// bazel-out/
|
|
29972
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
29954
29973
|
var MetaKind;
|
|
29955
29974
|
(function(MetaKind2) {
|
|
29956
29975
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -29963,10 +29982,10 @@ var MatchSource;
|
|
|
29963
29982
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
29964
29983
|
})(MatchSource || (MatchSource = {}));
|
|
29965
29984
|
|
|
29966
|
-
// bazel-out/
|
|
29985
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
29967
29986
|
var import_typescript26 = __toESM(require("typescript"), 1);
|
|
29968
29987
|
|
|
29969
|
-
// bazel-out/
|
|
29988
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
29970
29989
|
var ClassPropertyMapping = class {
|
|
29971
29990
|
constructor(forwardMap) {
|
|
29972
29991
|
this.forwardMap = forwardMap;
|
|
@@ -30046,7 +30065,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
30046
30065
|
return reverseMap;
|
|
30047
30066
|
}
|
|
30048
30067
|
|
|
30049
|
-
// bazel-out/
|
|
30068
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
30050
30069
|
var import_typescript24 = __toESM(require("typescript"), 1);
|
|
30051
30070
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
30052
30071
|
if (!import_typescript24.default.isTupleTypeNode(def)) {
|
|
@@ -30242,7 +30261,7 @@ function isHostDirectiveMetaForGlobalMode(hostDirectiveMeta) {
|
|
|
30242
30261
|
return hostDirectiveMeta.directive instanceof Reference2;
|
|
30243
30262
|
}
|
|
30244
30263
|
|
|
30245
|
-
// bazel-out/
|
|
30264
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
30246
30265
|
var DtsMetadataReader = class {
|
|
30247
30266
|
constructor(checker, reflector) {
|
|
30248
30267
|
this.checker = checker;
|
|
@@ -30425,7 +30444,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
30425
30444
|
return result.length > 0 ? result : null;
|
|
30426
30445
|
}
|
|
30427
30446
|
|
|
30428
|
-
// bazel-out/
|
|
30447
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
30429
30448
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
30430
30449
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
30431
30450
|
if (topMeta === null) {
|
|
@@ -30488,7 +30507,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
30488
30507
|
});
|
|
30489
30508
|
}
|
|
30490
30509
|
|
|
30491
|
-
// bazel-out/
|
|
30510
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
30492
30511
|
var LocalMetadataRegistry = class {
|
|
30493
30512
|
constructor() {
|
|
30494
30513
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -30545,7 +30564,7 @@ var CompoundMetadataRegistry = class {
|
|
|
30545
30564
|
}
|
|
30546
30565
|
};
|
|
30547
30566
|
|
|
30548
|
-
// bazel-out/
|
|
30567
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
30549
30568
|
var ResourceRegistry = class {
|
|
30550
30569
|
constructor() {
|
|
30551
30570
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -30610,7 +30629,7 @@ var ResourceRegistry = class {
|
|
|
30610
30629
|
}
|
|
30611
30630
|
};
|
|
30612
30631
|
|
|
30613
|
-
// bazel-out/
|
|
30632
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
|
|
30614
30633
|
var ExportedProviderStatusResolver = class {
|
|
30615
30634
|
constructor(metaReader) {
|
|
30616
30635
|
this.metaReader = metaReader;
|
|
@@ -30654,7 +30673,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
30654
30673
|
}
|
|
30655
30674
|
};
|
|
30656
30675
|
|
|
30657
|
-
// bazel-out/
|
|
30676
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
30658
30677
|
var EMPTY_ARRAY = [];
|
|
30659
30678
|
var HostDirectivesResolver = class {
|
|
30660
30679
|
constructor(metaReader) {
|
|
@@ -30719,10 +30738,10 @@ function resolveOutput(bindingName) {
|
|
|
30719
30738
|
return bindingName;
|
|
30720
30739
|
}
|
|
30721
30740
|
|
|
30722
|
-
// bazel-out/
|
|
30741
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
30723
30742
|
var import_typescript28 = __toESM(require("typescript"), 1);
|
|
30724
30743
|
|
|
30725
|
-
// bazel-out/
|
|
30744
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
30726
30745
|
var DynamicValue = class {
|
|
30727
30746
|
constructor(node, reason, code) {
|
|
30728
30747
|
this.node = node;
|
|
@@ -30812,7 +30831,7 @@ var DynamicValue = class {
|
|
|
30812
30831
|
}
|
|
30813
30832
|
};
|
|
30814
30833
|
|
|
30815
|
-
// bazel-out/
|
|
30834
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
30816
30835
|
var ResolvedModule = class {
|
|
30817
30836
|
constructor(exports, evaluate) {
|
|
30818
30837
|
this.exports = exports;
|
|
@@ -30842,7 +30861,7 @@ var EnumValue = class {
|
|
|
30842
30861
|
var KnownFn = class {
|
|
30843
30862
|
};
|
|
30844
30863
|
|
|
30845
|
-
// bazel-out/
|
|
30864
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
30846
30865
|
function describeResolvedType(value, maxDepth = 1) {
|
|
30847
30866
|
var _a2, _b2;
|
|
30848
30867
|
if (value === null) {
|
|
@@ -30975,10 +30994,10 @@ function getContainerNode(node) {
|
|
|
30975
30994
|
return node.getSourceFile();
|
|
30976
30995
|
}
|
|
30977
30996
|
|
|
30978
|
-
// bazel-out/
|
|
30997
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
30979
30998
|
var import_typescript29 = __toESM(require("typescript"), 1);
|
|
30980
30999
|
|
|
30981
|
-
// bazel-out/
|
|
31000
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
30982
31001
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
30983
31002
|
constructor(lhs) {
|
|
30984
31003
|
super();
|
|
@@ -31030,14 +31049,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
|
|
|
31030
31049
|
}
|
|
31031
31050
|
};
|
|
31032
31051
|
|
|
31033
|
-
// bazel-out/
|
|
31052
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
31034
31053
|
var SyntheticValue = class {
|
|
31035
31054
|
constructor(value) {
|
|
31036
31055
|
this.value = value;
|
|
31037
31056
|
}
|
|
31038
31057
|
};
|
|
31039
31058
|
|
|
31040
|
-
// bazel-out/
|
|
31059
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
31041
31060
|
function literalBinaryOp(op) {
|
|
31042
31061
|
return { op, literal: true };
|
|
31043
31062
|
}
|
|
@@ -31612,7 +31631,7 @@ function owningModule(context, override = null) {
|
|
|
31612
31631
|
}
|
|
31613
31632
|
}
|
|
31614
31633
|
|
|
31615
|
-
// bazel-out/
|
|
31634
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
31616
31635
|
var PartialEvaluator = class {
|
|
31617
31636
|
constructor(host, checker, dependencyTracker) {
|
|
31618
31637
|
this.host = host;
|
|
@@ -31632,7 +31651,7 @@ var PartialEvaluator = class {
|
|
|
31632
31651
|
}
|
|
31633
31652
|
};
|
|
31634
31653
|
|
|
31635
|
-
// bazel-out/
|
|
31654
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
31636
31655
|
var CompilationMode;
|
|
31637
31656
|
(function(CompilationMode2) {
|
|
31638
31657
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -31646,7 +31665,7 @@ var HandlerPrecedence;
|
|
|
31646
31665
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
31647
31666
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
31648
31667
|
|
|
31649
|
-
// bazel-out/
|
|
31668
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
31650
31669
|
var import_typescript31 = __toESM(require("typescript"), 1);
|
|
31651
31670
|
function aliasTransformFactory(exportStatements) {
|
|
31652
31671
|
return () => {
|
|
@@ -31671,10 +31690,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
31671
31690
|
};
|
|
31672
31691
|
}
|
|
31673
31692
|
|
|
31674
|
-
// bazel-out/
|
|
31693
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
31675
31694
|
var import_typescript32 = __toESM(require("typescript"), 1);
|
|
31676
31695
|
|
|
31677
|
-
// bazel-out/
|
|
31696
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
31678
31697
|
var PerfPhase;
|
|
31679
31698
|
(function(PerfPhase2) {
|
|
31680
31699
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -31742,7 +31761,7 @@ var PerfCheckpoint;
|
|
|
31742
31761
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
31743
31762
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
31744
31763
|
|
|
31745
|
-
// bazel-out/
|
|
31764
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
31746
31765
|
var NoopPerfRecorder = class {
|
|
31747
31766
|
eventCount() {
|
|
31748
31767
|
}
|
|
@@ -31759,7 +31778,7 @@ var NoopPerfRecorder = class {
|
|
|
31759
31778
|
};
|
|
31760
31779
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
31761
31780
|
|
|
31762
|
-
// bazel-out/
|
|
31781
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
31763
31782
|
function mark() {
|
|
31764
31783
|
return process.hrtime();
|
|
31765
31784
|
}
|
|
@@ -31768,7 +31787,7 @@ function timeSinceInMicros(mark2) {
|
|
|
31768
31787
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
31769
31788
|
}
|
|
31770
31789
|
|
|
31771
|
-
// bazel-out/
|
|
31790
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
31772
31791
|
var ActivePerfRecorder = class {
|
|
31773
31792
|
static zeroedToNow() {
|
|
31774
31793
|
return new ActivePerfRecorder(mark());
|
|
@@ -31862,7 +31881,7 @@ var DelegatingPerfRecorder = class {
|
|
|
31862
31881
|
}
|
|
31863
31882
|
};
|
|
31864
31883
|
|
|
31865
|
-
// bazel-out/
|
|
31884
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
31866
31885
|
var TraitState;
|
|
31867
31886
|
(function(TraitState2) {
|
|
31868
31887
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -31919,7 +31938,7 @@ var TraitImpl = class {
|
|
|
31919
31938
|
}
|
|
31920
31939
|
};
|
|
31921
31940
|
|
|
31922
|
-
// bazel-out/
|
|
31941
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
31923
31942
|
var TraitCompiler = class {
|
|
31924
31943
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
31925
31944
|
this.handlers = handlers;
|
|
@@ -32378,10 +32397,10 @@ function containsErrors(diagnostics) {
|
|
|
32378
32397
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === import_typescript32.default.DiagnosticCategory.Error);
|
|
32379
32398
|
}
|
|
32380
32399
|
|
|
32381
|
-
// bazel-out/
|
|
32400
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
32382
32401
|
var import_typescript43 = __toESM(require("typescript"), 1);
|
|
32383
32402
|
|
|
32384
|
-
// bazel-out/
|
|
32403
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
32385
32404
|
var Context = class {
|
|
32386
32405
|
constructor(isStatement) {
|
|
32387
32406
|
this.isStatement = isStatement;
|
|
@@ -32394,10 +32413,10 @@ var Context = class {
|
|
|
32394
32413
|
}
|
|
32395
32414
|
};
|
|
32396
32415
|
|
|
32397
|
-
// bazel-out/
|
|
32416
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
32398
32417
|
var import_typescript38 = __toESM(require("typescript"), 1);
|
|
32399
32418
|
|
|
32400
|
-
// bazel-out/
|
|
32419
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
|
|
32401
32420
|
var import_typescript34 = __toESM(require("typescript"), 1);
|
|
32402
32421
|
function createGenerateUniqueIdentifierHelper() {
|
|
32403
32422
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -32423,7 +32442,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
32423
32442
|
};
|
|
32424
32443
|
}
|
|
32425
32444
|
|
|
32426
|
-
// bazel-out/
|
|
32445
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
|
|
32427
32446
|
var import_typescript35 = __toESM(require("typescript"), 1);
|
|
32428
32447
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
32429
32448
|
return (ctx) => {
|
|
@@ -32484,7 +32503,7 @@ function isImportStatement(stmt) {
|
|
|
32484
32503
|
return import_typescript35.default.isImportDeclaration(stmt) || import_typescript35.default.isImportEqualsDeclaration(stmt) || import_typescript35.default.isNamespaceImport(stmt);
|
|
32485
32504
|
}
|
|
32486
32505
|
|
|
32487
|
-
// bazel-out/
|
|
32506
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
|
|
32488
32507
|
var import_typescript36 = __toESM(require("typescript"), 1);
|
|
32489
32508
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
32490
32509
|
const requestHash = hashImportRequest(request);
|
|
@@ -32511,7 +32530,7 @@ function hashImportRequest(req) {
|
|
|
32511
32530
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}`;
|
|
32512
32531
|
}
|
|
32513
32532
|
|
|
32514
|
-
// bazel-out/
|
|
32533
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
|
|
32515
32534
|
var import_typescript37 = __toESM(require("typescript"), 1);
|
|
32516
32535
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
32517
32536
|
let candidateImportToBeUpdated = null;
|
|
@@ -32564,7 +32583,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
32564
32583
|
return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
|
|
32565
32584
|
}
|
|
32566
32585
|
|
|
32567
|
-
// bazel-out/
|
|
32586
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
32568
32587
|
var presetImportManagerForceNamespaceImports = {
|
|
32569
32588
|
disableOriginalSourceFileReuse: true,
|
|
32570
32589
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -32713,7 +32732,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
32713
32732
|
}
|
|
32714
32733
|
}
|
|
32715
32734
|
|
|
32716
|
-
// bazel-out/
|
|
32735
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
32717
32736
|
var UNARY_OPERATORS2 = /* @__PURE__ */ new Map([
|
|
32718
32737
|
[UnaryOperator.Minus, "-"],
|
|
32719
32738
|
[UnaryOperator.Plus, "+"]
|
|
@@ -32958,7 +32977,7 @@ function createRange(span) {
|
|
|
32958
32977
|
};
|
|
32959
32978
|
}
|
|
32960
32979
|
|
|
32961
|
-
// bazel-out/
|
|
32980
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
32962
32981
|
var import_typescript39 = __toESM(require("typescript"), 1);
|
|
32963
32982
|
var INELIGIBLE = {};
|
|
32964
32983
|
function canEmitType(type, canEmit) {
|
|
@@ -33033,10 +33052,10 @@ var TypeEmitter = class {
|
|
|
33033
33052
|
}
|
|
33034
33053
|
};
|
|
33035
33054
|
|
|
33036
|
-
// bazel-out/
|
|
33055
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
33037
33056
|
var import_typescript41 = __toESM(require("typescript"), 1);
|
|
33038
33057
|
|
|
33039
|
-
// bazel-out/
|
|
33058
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
33040
33059
|
var import_typescript40 = __toESM(require("typescript"), 1);
|
|
33041
33060
|
function tsNumericExpression(value) {
|
|
33042
33061
|
if (value < 0) {
|
|
@@ -33046,7 +33065,7 @@ function tsNumericExpression(value) {
|
|
|
33046
33065
|
return import_typescript40.default.factory.createNumericLiteral(value);
|
|
33047
33066
|
}
|
|
33048
33067
|
|
|
33049
|
-
// bazel-out/
|
|
33068
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
33050
33069
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
33051
33070
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
33052
33071
|
}
|
|
@@ -33263,7 +33282,7 @@ var TypeTranslatorVisitor = class {
|
|
|
33263
33282
|
}
|
|
33264
33283
|
};
|
|
33265
33284
|
|
|
33266
|
-
// bazel-out/
|
|
33285
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
33267
33286
|
var import_typescript42 = __toESM(require("typescript"), 1);
|
|
33268
33287
|
var PureAnnotation;
|
|
33269
33288
|
(function(PureAnnotation2) {
|
|
@@ -33466,7 +33485,7 @@ function attachComments(statement, leadingComments) {
|
|
|
33466
33485
|
}
|
|
33467
33486
|
}
|
|
33468
33487
|
|
|
33469
|
-
// bazel-out/
|
|
33488
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
33470
33489
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
33471
33490
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
33472
33491
|
}
|
|
@@ -33474,7 +33493,7 @@ function translateStatement(contextFile, statement, imports, options = {}) {
|
|
|
33474
33493
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(true));
|
|
33475
33494
|
}
|
|
33476
33495
|
|
|
33477
|
-
// bazel-out/
|
|
33496
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
33478
33497
|
var DtsTransformRegistry = class {
|
|
33479
33498
|
constructor() {
|
|
33480
33499
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -33622,10 +33641,10 @@ function markForEmitAsSingleLine(node) {
|
|
|
33622
33641
|
import_typescript43.default.forEachChild(node, markForEmitAsSingleLine);
|
|
33623
33642
|
}
|
|
33624
33643
|
|
|
33625
|
-
// bazel-out/
|
|
33644
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
33626
33645
|
var import_typescript45 = __toESM(require("typescript"), 1);
|
|
33627
33646
|
|
|
33628
|
-
// bazel-out/
|
|
33647
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
33629
33648
|
var import_typescript44 = __toESM(require("typescript"), 1);
|
|
33630
33649
|
function visit(node, visitor, context) {
|
|
33631
33650
|
return visitor._visit(node, context);
|
|
@@ -33686,7 +33705,7 @@ var Visitor = class {
|
|
|
33686
33705
|
}
|
|
33687
33706
|
};
|
|
33688
33707
|
|
|
33689
|
-
// bazel-out/
|
|
33708
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
33690
33709
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
33691
33710
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
33692
33711
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, localCompilationExtraImportsTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -33921,7 +33940,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
33921
33940
|
return array;
|
|
33922
33941
|
}
|
|
33923
33942
|
|
|
33924
|
-
// bazel-out/
|
|
33943
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
33925
33944
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
33926
33945
|
const context = [];
|
|
33927
33946
|
for (const decl of data) {
|
|
@@ -34130,7 +34149,7 @@ function assertLocalCompilationUnresolvedConst(compilationMode, value, nodeToHig
|
|
|
34130
34149
|
}
|
|
34131
34150
|
}
|
|
34132
34151
|
|
|
34133
|
-
// bazel-out/
|
|
34152
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
34134
34153
|
var import_typescript48 = __toESM(require("typescript"), 1);
|
|
34135
34154
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
34136
34155
|
let resolved = null;
|
|
@@ -34180,7 +34199,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
34180
34199
|
return meta;
|
|
34181
34200
|
}
|
|
34182
34201
|
|
|
34183
|
-
// bazel-out/
|
|
34202
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
34184
34203
|
function compileNgFactoryDefField(metadata) {
|
|
34185
34204
|
const res = compileFactoryFunction(metadata);
|
|
34186
34205
|
return {
|
|
@@ -34202,7 +34221,7 @@ function compileDeclareFactory(metadata) {
|
|
|
34202
34221
|
};
|
|
34203
34222
|
}
|
|
34204
34223
|
|
|
34205
|
-
// bazel-out/
|
|
34224
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
34206
34225
|
var InjectableClassRegistry = class {
|
|
34207
34226
|
constructor(host, isCore) {
|
|
34208
34227
|
this.host = host;
|
|
@@ -34228,7 +34247,7 @@ var InjectableClassRegistry = class {
|
|
|
34228
34247
|
}
|
|
34229
34248
|
};
|
|
34230
34249
|
|
|
34231
|
-
// bazel-out/
|
|
34250
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
34232
34251
|
var import_typescript49 = __toESM(require("typescript"), 1);
|
|
34233
34252
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
34234
34253
|
if (!reflection.isClass(clazz)) {
|
|
@@ -34314,7 +34333,7 @@ function removeIdentifierReferences(node, names) {
|
|
|
34314
34333
|
return result.transformed[0];
|
|
34315
34334
|
}
|
|
34316
34335
|
|
|
34317
|
-
// bazel-out/
|
|
34336
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
|
|
34318
34337
|
var path = __toESM(require("path"), 1);
|
|
34319
34338
|
function extractClassDebugInfo(clazz, reflection, rootDirs, forbidOrphanRendering) {
|
|
34320
34339
|
if (!reflection.isClass(clazz)) {
|
|
@@ -34340,13 +34359,13 @@ function computeRelativePathIfPossible(filePath, rootDirs) {
|
|
|
34340
34359
|
return null;
|
|
34341
34360
|
}
|
|
34342
34361
|
|
|
34343
|
-
// bazel-out/
|
|
34362
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
34344
34363
|
var NoopReferencesRegistry = class {
|
|
34345
34364
|
add(source, ...references) {
|
|
34346
34365
|
}
|
|
34347
34366
|
};
|
|
34348
34367
|
|
|
34349
|
-
// bazel-out/
|
|
34368
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
34350
34369
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
34351
34370
|
const schemas = [];
|
|
34352
34371
|
const result = evaluator.evaluate(rawExpr);
|
|
@@ -34375,7 +34394,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
34375
34394
|
return schemas;
|
|
34376
34395
|
}
|
|
34377
34396
|
|
|
34378
|
-
// bazel-out/
|
|
34397
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
|
|
34379
34398
|
function compileInputTransformFields(inputs) {
|
|
34380
34399
|
const extraFields = [];
|
|
34381
34400
|
for (const input of inputs) {
|
|
@@ -34392,10 +34411,10 @@ function compileInputTransformFields(inputs) {
|
|
|
34392
34411
|
return extraFields;
|
|
34393
34412
|
}
|
|
34394
34413
|
|
|
34395
|
-
// bazel-out/
|
|
34414
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
34396
34415
|
var import_typescript88 = __toESM(require("typescript"), 1);
|
|
34397
34416
|
|
|
34398
|
-
// bazel-out/
|
|
34417
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
34399
34418
|
var import_typescript50 = __toESM(require("typescript"), 1);
|
|
34400
34419
|
var SemanticSymbol = class {
|
|
34401
34420
|
constructor(decl) {
|
|
@@ -34411,7 +34430,7 @@ function getSymbolIdentifier(decl) {
|
|
|
34411
34430
|
return decl.name.text;
|
|
34412
34431
|
}
|
|
34413
34432
|
|
|
34414
|
-
// bazel-out/
|
|
34433
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
34415
34434
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
34416
34435
|
isPublicApiAffected() {
|
|
34417
34436
|
return false;
|
|
@@ -34553,10 +34572,10 @@ function getImportPath(expr) {
|
|
|
34553
34572
|
}
|
|
34554
34573
|
}
|
|
34555
34574
|
|
|
34556
|
-
// bazel-out/
|
|
34575
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
34557
34576
|
var import_typescript51 = __toESM(require("typescript"), 1);
|
|
34558
34577
|
|
|
34559
|
-
// bazel-out/
|
|
34578
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
34560
34579
|
function isSymbolEqual(a, b) {
|
|
34561
34580
|
if (a.decl === b.decl) {
|
|
34562
34581
|
return true;
|
|
@@ -34606,7 +34625,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
34606
34625
|
return true;
|
|
34607
34626
|
}
|
|
34608
34627
|
|
|
34609
|
-
// bazel-out/
|
|
34628
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
34610
34629
|
function extractSemanticTypeParameters(node) {
|
|
34611
34630
|
if (!import_typescript51.default.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
34612
34631
|
return null;
|
|
@@ -34628,14 +34647,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
34628
34647
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
34629
34648
|
}
|
|
34630
34649
|
|
|
34631
|
-
// bazel-out/
|
|
34650
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
34632
34651
|
var ComponentScopeKind;
|
|
34633
34652
|
(function(ComponentScopeKind2) {
|
|
34634
34653
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
34635
34654
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
34636
34655
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
34637
34656
|
|
|
34638
|
-
// bazel-out/
|
|
34657
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
34639
34658
|
var CompoundComponentScopeReader = class {
|
|
34640
34659
|
constructor(readers) {
|
|
34641
34660
|
this.readers = readers;
|
|
@@ -34660,7 +34679,7 @@ var CompoundComponentScopeReader = class {
|
|
|
34660
34679
|
}
|
|
34661
34680
|
};
|
|
34662
34681
|
|
|
34663
|
-
// bazel-out/
|
|
34682
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
34664
34683
|
var MetadataDtsModuleScopeResolver = class {
|
|
34665
34684
|
constructor(dtsMetaReader, aliasingHost) {
|
|
34666
34685
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -34735,10 +34754,10 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
34735
34754
|
}
|
|
34736
34755
|
};
|
|
34737
34756
|
|
|
34738
|
-
// bazel-out/
|
|
34757
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
34739
34758
|
var import_typescript52 = __toESM(require("typescript"), 1);
|
|
34740
34759
|
|
|
34741
|
-
// bazel-out/
|
|
34760
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
34742
34761
|
function getDiagnosticNode(ref, rawExpr) {
|
|
34743
34762
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
34744
34763
|
}
|
|
@@ -34764,7 +34783,7 @@ function makeUnknownComponentDeferredImportDiagnostic(ref, rawExpr) {
|
|
|
34764
34783
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_DEFERRED_IMPORT, getDiagnosticNode(ref, rawExpr), `Component deferred imports must be standalone components, directives or pipes.`);
|
|
34765
34784
|
}
|
|
34766
34785
|
|
|
34767
|
-
// bazel-out/
|
|
34786
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
34768
34787
|
var LocalModuleScopeRegistry = class {
|
|
34769
34788
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
34770
34789
|
this.localReader = localReader;
|
|
@@ -35105,7 +35124,7 @@ function reexportCollision(module2, refA, refB) {
|
|
|
35105
35124
|
]);
|
|
35106
35125
|
}
|
|
35107
35126
|
|
|
35108
|
-
// bazel-out/
|
|
35127
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
35109
35128
|
var import_typescript54 = __toESM(require("typescript"), 1);
|
|
35110
35129
|
var TypeCheckScopeRegistry = class {
|
|
35111
35130
|
constructor(scopeReader, metaReader, hostDirectivesResolver) {
|
|
@@ -35185,10 +35204,10 @@ var TypeCheckScopeRegistry = class {
|
|
|
35185
35204
|
}
|
|
35186
35205
|
};
|
|
35187
35206
|
|
|
35188
|
-
// bazel-out/
|
|
35207
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
35189
35208
|
var import_typescript58 = __toESM(require("typescript"), 1);
|
|
35190
35209
|
|
|
35191
|
-
// bazel-out/
|
|
35210
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_function_access.mjs
|
|
35192
35211
|
function validateAccessOfInitializerApiMember({ api, call: call2 }, member) {
|
|
35193
35212
|
if (!api.allowedAccessLevels.includes(member.accessLevel)) {
|
|
35194
35213
|
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)}.`, [
|
|
@@ -35197,7 +35216,7 @@ function validateAccessOfInitializerApiMember({ api, call: call2 }, member) {
|
|
|
35197
35216
|
}
|
|
35198
35217
|
}
|
|
35199
35218
|
|
|
35200
|
-
// bazel-out/
|
|
35219
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.mjs
|
|
35201
35220
|
var import_typescript55 = __toESM(require("typescript"), 1);
|
|
35202
35221
|
function tryParseInitializerApi(functions, expression, reflector, importTracker) {
|
|
35203
35222
|
if (!import_typescript55.default.isCallExpression(expression)) {
|
|
@@ -35266,7 +35285,7 @@ function parseTopLevelCallFromNamespace(call2, functions, importTracker) {
|
|
|
35266
35285
|
return { api: matchingApi, apiReference, isRequired };
|
|
35267
35286
|
}
|
|
35268
35287
|
|
|
35269
|
-
// bazel-out/
|
|
35288
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.mjs
|
|
35270
35289
|
var import_typescript56 = __toESM(require("typescript"), 1);
|
|
35271
35290
|
function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
35272
35291
|
if (!import_typescript56.default.isObjectLiteralExpression(optionsNode)) {
|
|
@@ -35284,7 +35303,7 @@ function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
|
35284
35303
|
return { alias };
|
|
35285
35304
|
}
|
|
35286
35305
|
|
|
35287
|
-
// bazel-out/
|
|
35306
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
|
|
35288
35307
|
var INPUT_INITIALIZER_FN = {
|
|
35289
35308
|
functionName: "input",
|
|
35290
35309
|
owningModule: "@angular/core",
|
|
@@ -35316,7 +35335,7 @@ function tryParseSignalInputMapping(member, reflector, importTracker) {
|
|
|
35316
35335
|
};
|
|
35317
35336
|
}
|
|
35318
35337
|
|
|
35319
|
-
// bazel-out/
|
|
35338
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.mjs
|
|
35320
35339
|
var MODEL_INITIALIZER_FN = {
|
|
35321
35340
|
functionName: "model",
|
|
35322
35341
|
owningModule: "@angular/core",
|
|
@@ -35357,7 +35376,7 @@ function tryParseSignalModelMapping(member, reflector, importTracker) {
|
|
|
35357
35376
|
};
|
|
35358
35377
|
}
|
|
35359
35378
|
|
|
35360
|
-
// bazel-out/
|
|
35379
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.mjs
|
|
35361
35380
|
var allowedAccessLevels = [
|
|
35362
35381
|
ClassMemberAccessLevel.PublicWritable,
|
|
35363
35382
|
ClassMemberAccessLevel.PublicReadonly,
|
|
@@ -35401,7 +35420,7 @@ function tryParseInitializerBasedOutput(member, reflector, importTracker) {
|
|
|
35401
35420
|
};
|
|
35402
35421
|
}
|
|
35403
35422
|
|
|
35404
|
-
// bazel-out/
|
|
35423
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.mjs
|
|
35405
35424
|
var import_typescript57 = __toESM(require("typescript"), 1);
|
|
35406
35425
|
var queryFunctionNames = [
|
|
35407
35426
|
"viewChild",
|
|
@@ -35485,7 +35504,7 @@ function parseDescendantsOption(value) {
|
|
|
35485
35504
|
throw new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, value, `Expected "descendants" option to be a boolean literal.`);
|
|
35486
35505
|
}
|
|
35487
35506
|
|
|
35488
|
-
// bazel-out/
|
|
35507
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
35489
35508
|
var EMPTY_OBJECT = {};
|
|
35490
35509
|
var queryDecoratorNames = [
|
|
35491
35510
|
"ViewChild",
|
|
@@ -36283,7 +36302,7 @@ function toR3InputMetadata(mapping) {
|
|
|
36283
36302
|
};
|
|
36284
36303
|
}
|
|
36285
36304
|
|
|
36286
|
-
// bazel-out/
|
|
36305
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
36287
36306
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
36288
36307
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
36289
36308
|
super(decl);
|
|
@@ -36363,7 +36382,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
36363
36382
|
return isSymbolEqual(current, previous);
|
|
36364
36383
|
}
|
|
36365
36384
|
|
|
36366
|
-
// bazel-out/
|
|
36385
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
36367
36386
|
var FIELD_DECORATORS = [
|
|
36368
36387
|
"Input",
|
|
36369
36388
|
"Output",
|
|
@@ -36556,10 +36575,10 @@ var DirectiveDecoratorHandler = class {
|
|
|
36556
36575
|
}
|
|
36557
36576
|
};
|
|
36558
36577
|
|
|
36559
|
-
// bazel-out/
|
|
36578
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
36560
36579
|
var import_typescript60 = __toESM(require("typescript"), 1);
|
|
36561
36580
|
|
|
36562
|
-
// bazel-out/
|
|
36581
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
36563
36582
|
var import_typescript59 = __toESM(require("typescript"), 1);
|
|
36564
36583
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
36565
36584
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -36631,7 +36650,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
36631
36650
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
36632
36651
|
}
|
|
36633
36652
|
|
|
36634
|
-
// bazel-out/
|
|
36653
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
36635
36654
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
36636
36655
|
constructor(decl, hasProviders) {
|
|
36637
36656
|
super(decl);
|
|
@@ -37244,7 +37263,7 @@ function isSyntheticReference(ref) {
|
|
|
37244
37263
|
return ref.synthetic;
|
|
37245
37264
|
}
|
|
37246
37265
|
|
|
37247
|
-
// bazel-out/
|
|
37266
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
37248
37267
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
37249
37268
|
const name = ref.debugName || "(unknown)";
|
|
37250
37269
|
const path4 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -37267,7 +37286,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
37267
37286
|
return null;
|
|
37268
37287
|
}
|
|
37269
37288
|
|
|
37270
|
-
// bazel-out/
|
|
37289
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
37271
37290
|
var import_typescript62 = __toESM(require("typescript"), 1);
|
|
37272
37291
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
37273
37292
|
return declaration.isInline ? declaration.expression : declaration.templateUrlExpression;
|
|
@@ -37619,7 +37638,7 @@ function _extractTemplateStyleUrls(template2) {
|
|
|
37619
37638
|
}));
|
|
37620
37639
|
}
|
|
37621
37640
|
|
|
37622
|
-
// bazel-out/
|
|
37641
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
37623
37642
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
37624
37643
|
constructor() {
|
|
37625
37644
|
super(...arguments);
|
|
@@ -37654,7 +37673,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
37654
37673
|
}
|
|
37655
37674
|
};
|
|
37656
37675
|
|
|
37657
|
-
// bazel-out/
|
|
37676
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
37658
37677
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
37659
37678
|
if (value instanceof Map) {
|
|
37660
37679
|
const name = value.get("name");
|
|
@@ -37731,7 +37750,7 @@ function isLikelyModuleWithProviders(value) {
|
|
|
37731
37750
|
return false;
|
|
37732
37751
|
}
|
|
37733
37752
|
|
|
37734
|
-
// bazel-out/
|
|
37753
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
37735
37754
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
37736
37755
|
var UpdateMode;
|
|
37737
37756
|
(function(UpdateMode2) {
|
|
@@ -37739,13 +37758,13 @@ var UpdateMode;
|
|
|
37739
37758
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
37740
37759
|
})(UpdateMode || (UpdateMode = {}));
|
|
37741
37760
|
|
|
37742
|
-
// bazel-out/
|
|
37761
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
37743
37762
|
var import_typescript66 = __toESM(require("typescript"), 1);
|
|
37744
37763
|
|
|
37745
|
-
// bazel-out/
|
|
37764
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
37746
37765
|
var import_typescript63 = __toESM(require("typescript"), 1);
|
|
37747
37766
|
|
|
37748
|
-
// bazel-out/
|
|
37767
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
37749
37768
|
var NgExtension = Symbol("NgExtension");
|
|
37750
37769
|
function isExtended(sf) {
|
|
37751
37770
|
return sf[NgExtension] !== void 0;
|
|
@@ -37805,13 +37824,13 @@ function retagTsFile(sf) {
|
|
|
37805
37824
|
}
|
|
37806
37825
|
}
|
|
37807
37826
|
|
|
37808
|
-
// bazel-out/
|
|
37827
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
37809
37828
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
37810
37829
|
function makeShimFileName(fileName, suffix) {
|
|
37811
37830
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
37812
37831
|
}
|
|
37813
37832
|
|
|
37814
|
-
// bazel-out/
|
|
37833
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
37815
37834
|
var ShimAdapter = class {
|
|
37816
37835
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
37817
37836
|
this.delegate = delegate;
|
|
@@ -37906,7 +37925,7 @@ var ShimAdapter = class {
|
|
|
37906
37925
|
}
|
|
37907
37926
|
};
|
|
37908
37927
|
|
|
37909
|
-
// bazel-out/
|
|
37928
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
37910
37929
|
var ShimReferenceTagger = class {
|
|
37911
37930
|
constructor(shimExtensions) {
|
|
37912
37931
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -37940,7 +37959,7 @@ var ShimReferenceTagger = class {
|
|
|
37940
37959
|
}
|
|
37941
37960
|
};
|
|
37942
37961
|
|
|
37943
|
-
// bazel-out/
|
|
37962
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
37944
37963
|
var DelegatingCompilerHost = class {
|
|
37945
37964
|
get jsDocParsingMode() {
|
|
37946
37965
|
return this.delegate.jsDocParsingMode;
|
|
@@ -38058,14 +38077,14 @@ var TsCreateProgramDriver = class {
|
|
|
38058
38077
|
}
|
|
38059
38078
|
};
|
|
38060
38079
|
|
|
38061
|
-
// bazel-out/
|
|
38080
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
38062
38081
|
var OptimizeFor;
|
|
38063
38082
|
(function(OptimizeFor2) {
|
|
38064
38083
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
38065
38084
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
38066
38085
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
38067
38086
|
|
|
38068
|
-
// bazel-out/
|
|
38087
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
38069
38088
|
var CompletionKind;
|
|
38070
38089
|
(function(CompletionKind2) {
|
|
38071
38090
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
@@ -38073,7 +38092,7 @@ var CompletionKind;
|
|
|
38073
38092
|
CompletionKind2[CompletionKind2["LetDeclaration"] = 2] = "LetDeclaration";
|
|
38074
38093
|
})(CompletionKind || (CompletionKind = {}));
|
|
38075
38094
|
|
|
38076
|
-
// bazel-out/
|
|
38095
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
38077
38096
|
var PotentialImportKind;
|
|
38078
38097
|
(function(PotentialImportKind2) {
|
|
38079
38098
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -38085,7 +38104,7 @@ var PotentialImportMode;
|
|
|
38085
38104
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
38086
38105
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
38087
38106
|
|
|
38088
|
-
// bazel-out/
|
|
38107
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
38089
38108
|
var SymbolKind;
|
|
38090
38109
|
(function(SymbolKind2) {
|
|
38091
38110
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -38102,7 +38121,7 @@ var SymbolKind;
|
|
|
38102
38121
|
SymbolKind2[SymbolKind2["LetDeclaration"] = 11] = "LetDeclaration";
|
|
38103
38122
|
})(SymbolKind || (SymbolKind = {}));
|
|
38104
38123
|
|
|
38105
|
-
// bazel-out/
|
|
38124
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
38106
38125
|
var import_typescript68 = __toESM(require("typescript"), 1);
|
|
38107
38126
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
38108
38127
|
var _a2;
|
|
@@ -38213,7 +38232,7 @@ function parseTemplateAsSourceFile(fileName, template2) {
|
|
|
38213
38232
|
);
|
|
38214
38233
|
}
|
|
38215
38234
|
|
|
38216
|
-
// bazel-out/
|
|
38235
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
38217
38236
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
38218
38237
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
38219
38238
|
function getTemplateId(clazz) {
|
|
@@ -38230,10 +38249,10 @@ function allocateTemplateId(sf) {
|
|
|
38230
38249
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
38231
38250
|
}
|
|
38232
38251
|
|
|
38233
|
-
// bazel-out/
|
|
38252
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
38234
38253
|
var import_typescript70 = __toESM(require("typescript"), 1);
|
|
38235
38254
|
|
|
38236
|
-
// bazel-out/
|
|
38255
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
38237
38256
|
var import_typescript69 = __toESM(require("typescript"), 1);
|
|
38238
38257
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
38239
38258
|
function readSpanComment(node, sourceFile = node.getSourceFile()) {
|
|
@@ -38363,7 +38382,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
38363
38382
|
}) || false;
|
|
38364
38383
|
}
|
|
38365
38384
|
|
|
38366
|
-
// bazel-out/
|
|
38385
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
38367
38386
|
var CompletionEngine = class {
|
|
38368
38387
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
38369
38388
|
this.tcb = tcb;
|
|
@@ -38536,6 +38555,19 @@ for (let i = 0; i < chars.length; i++) {
|
|
|
38536
38555
|
intToChar[i] = c;
|
|
38537
38556
|
charToInt[c] = i;
|
|
38538
38557
|
}
|
|
38558
|
+
function encodeInteger(builder, num, relative8) {
|
|
38559
|
+
let delta = num - relative8;
|
|
38560
|
+
delta = delta < 0 ? -delta << 1 | 1 : delta << 1;
|
|
38561
|
+
do {
|
|
38562
|
+
let clamped = delta & 31;
|
|
38563
|
+
delta >>>= 5;
|
|
38564
|
+
if (delta > 0)
|
|
38565
|
+
clamped |= 32;
|
|
38566
|
+
builder.write(intToChar[clamped]);
|
|
38567
|
+
} while (delta > 0);
|
|
38568
|
+
return num;
|
|
38569
|
+
}
|
|
38570
|
+
var bufLength = 1024 * 16;
|
|
38539
38571
|
var td = typeof TextDecoder !== "undefined" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer !== "undefined" ? {
|
|
38540
38572
|
decode(buf) {
|
|
38541
38573
|
const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);
|
|
@@ -38550,61 +38582,54 @@ var td = typeof TextDecoder !== "undefined" ? /* @__PURE__ */ new TextDecoder()
|
|
|
38550
38582
|
return out;
|
|
38551
38583
|
}
|
|
38552
38584
|
};
|
|
38585
|
+
var StringWriter = class {
|
|
38586
|
+
constructor() {
|
|
38587
|
+
this.pos = 0;
|
|
38588
|
+
this.out = "";
|
|
38589
|
+
this.buffer = new Uint8Array(bufLength);
|
|
38590
|
+
}
|
|
38591
|
+
write(v) {
|
|
38592
|
+
const { buffer } = this;
|
|
38593
|
+
buffer[this.pos++] = v;
|
|
38594
|
+
if (this.pos === bufLength) {
|
|
38595
|
+
this.out += td.decode(buffer);
|
|
38596
|
+
this.pos = 0;
|
|
38597
|
+
}
|
|
38598
|
+
}
|
|
38599
|
+
flush() {
|
|
38600
|
+
const { buffer, out, pos } = this;
|
|
38601
|
+
return pos > 0 ? out + td.decode(buffer.subarray(0, pos)) : out;
|
|
38602
|
+
}
|
|
38603
|
+
};
|
|
38553
38604
|
function encode(decoded) {
|
|
38554
|
-
const
|
|
38555
|
-
|
|
38556
|
-
|
|
38557
|
-
|
|
38558
|
-
|
|
38559
|
-
let pos = 0;
|
|
38560
|
-
let out = "";
|
|
38605
|
+
const writer = new StringWriter();
|
|
38606
|
+
let sourcesIndex = 0;
|
|
38607
|
+
let sourceLine = 0;
|
|
38608
|
+
let sourceColumn = 0;
|
|
38609
|
+
let namesIndex = 0;
|
|
38561
38610
|
for (let i = 0; i < decoded.length; i++) {
|
|
38562
38611
|
const line = decoded[i];
|
|
38563
|
-
if (i > 0)
|
|
38564
|
-
|
|
38565
|
-
out += td.decode(buf);
|
|
38566
|
-
pos = 0;
|
|
38567
|
-
}
|
|
38568
|
-
buf[pos++] = semicolon;
|
|
38569
|
-
}
|
|
38612
|
+
if (i > 0)
|
|
38613
|
+
writer.write(semicolon);
|
|
38570
38614
|
if (line.length === 0)
|
|
38571
38615
|
continue;
|
|
38572
|
-
|
|
38616
|
+
let genColumn = 0;
|
|
38573
38617
|
for (let j = 0; j < line.length; j++) {
|
|
38574
38618
|
const segment = line[j];
|
|
38575
|
-
if (pos > subLength) {
|
|
38576
|
-
out += td.decode(sub);
|
|
38577
|
-
buf.copyWithin(0, subLength, pos);
|
|
38578
|
-
pos -= subLength;
|
|
38579
|
-
}
|
|
38580
38619
|
if (j > 0)
|
|
38581
|
-
|
|
38582
|
-
|
|
38620
|
+
writer.write(comma);
|
|
38621
|
+
genColumn = encodeInteger(writer, segment[0], genColumn);
|
|
38583
38622
|
if (segment.length === 1)
|
|
38584
38623
|
continue;
|
|
38585
|
-
|
|
38586
|
-
|
|
38587
|
-
|
|
38624
|
+
sourcesIndex = encodeInteger(writer, segment[1], sourcesIndex);
|
|
38625
|
+
sourceLine = encodeInteger(writer, segment[2], sourceLine);
|
|
38626
|
+
sourceColumn = encodeInteger(writer, segment[3], sourceColumn);
|
|
38588
38627
|
if (segment.length === 4)
|
|
38589
38628
|
continue;
|
|
38590
|
-
|
|
38629
|
+
namesIndex = encodeInteger(writer, segment[4], namesIndex);
|
|
38591
38630
|
}
|
|
38592
38631
|
}
|
|
38593
|
-
return
|
|
38594
|
-
}
|
|
38595
|
-
function encodeInteger(buf, pos, state, segment, j) {
|
|
38596
|
-
const next = segment[j];
|
|
38597
|
-
let num = next - state[j];
|
|
38598
|
-
state[j] = next;
|
|
38599
|
-
num = num < 0 ? -num << 1 | 1 : num << 1;
|
|
38600
|
-
do {
|
|
38601
|
-
let clamped = num & 31;
|
|
38602
|
-
num >>>= 5;
|
|
38603
|
-
if (num > 0)
|
|
38604
|
-
clamped |= 32;
|
|
38605
|
-
buf[pos++] = intToChar[clamped];
|
|
38606
|
-
} while (num > 0);
|
|
38607
|
-
return pos;
|
|
38632
|
+
return writer.flush();
|
|
38608
38633
|
}
|
|
38609
38634
|
|
|
38610
38635
|
// node_modules/magic-string/dist/magic-string.es.mjs
|
|
@@ -39210,10 +39235,12 @@ var MagicString = class {
|
|
|
39210
39235
|
update(start, end, content, options) {
|
|
39211
39236
|
if (typeof content !== "string")
|
|
39212
39237
|
throw new TypeError("replacement content must be a string");
|
|
39213
|
-
|
|
39214
|
-
start
|
|
39215
|
-
|
|
39216
|
-
end
|
|
39238
|
+
if (this.original.length !== 0) {
|
|
39239
|
+
while (start < 0)
|
|
39240
|
+
start += this.original.length;
|
|
39241
|
+
while (end < 0)
|
|
39242
|
+
end += this.original.length;
|
|
39243
|
+
}
|
|
39217
39244
|
if (end > this.original.length)
|
|
39218
39245
|
throw new Error("end is out of bounds");
|
|
39219
39246
|
if (start === end)
|
|
@@ -39291,10 +39318,12 @@ var MagicString = class {
|
|
|
39291
39318
|
return this;
|
|
39292
39319
|
}
|
|
39293
39320
|
remove(start, end) {
|
|
39294
|
-
|
|
39295
|
-
start
|
|
39296
|
-
|
|
39297
|
-
end
|
|
39321
|
+
if (this.original.length !== 0) {
|
|
39322
|
+
while (start < 0)
|
|
39323
|
+
start += this.original.length;
|
|
39324
|
+
while (end < 0)
|
|
39325
|
+
end += this.original.length;
|
|
39326
|
+
}
|
|
39298
39327
|
if (start === end)
|
|
39299
39328
|
return this;
|
|
39300
39329
|
if (start < 0 || end > this.original.length)
|
|
@@ -39313,10 +39342,12 @@ var MagicString = class {
|
|
|
39313
39342
|
return this;
|
|
39314
39343
|
}
|
|
39315
39344
|
reset(start, end) {
|
|
39316
|
-
|
|
39317
|
-
start
|
|
39318
|
-
|
|
39319
|
-
end
|
|
39345
|
+
if (this.original.length !== 0) {
|
|
39346
|
+
while (start < 0)
|
|
39347
|
+
start += this.original.length;
|
|
39348
|
+
while (end < 0)
|
|
39349
|
+
end += this.original.length;
|
|
39350
|
+
}
|
|
39320
39351
|
if (start === end)
|
|
39321
39352
|
return this;
|
|
39322
39353
|
if (start < 0 || end > this.original.length)
|
|
@@ -39380,10 +39411,12 @@ var MagicString = class {
|
|
|
39380
39411
|
return this.intro + lineStr;
|
|
39381
39412
|
}
|
|
39382
39413
|
slice(start = 0, end = this.original.length) {
|
|
39383
|
-
|
|
39384
|
-
start
|
|
39385
|
-
|
|
39386
|
-
end
|
|
39414
|
+
if (this.original.length !== 0) {
|
|
39415
|
+
while (start < 0)
|
|
39416
|
+
start += this.original.length;
|
|
39417
|
+
while (end < 0)
|
|
39418
|
+
end += this.original.length;
|
|
39419
|
+
}
|
|
39387
39420
|
let result = "";
|
|
39388
39421
|
let chunk = this.firstChunk;
|
|
39389
39422
|
while (chunk && (chunk.start > start || chunk.end <= start)) {
|
|
@@ -39626,10 +39659,10 @@ var MagicString = class {
|
|
|
39626
39659
|
}
|
|
39627
39660
|
};
|
|
39628
39661
|
|
|
39629
|
-
// bazel-out/
|
|
39662
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
39630
39663
|
var import_typescript84 = __toESM(require("typescript"), 1);
|
|
39631
39664
|
|
|
39632
|
-
// bazel-out/
|
|
39665
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
39633
39666
|
var import_typescript71 = __toESM(require("typescript"), 1);
|
|
39634
39667
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
39635
39668
|
var REMOVE_XHTML_REGEX = /^:xhtml:/;
|
|
@@ -39681,10 +39714,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
39681
39714
|
}
|
|
39682
39715
|
};
|
|
39683
39716
|
|
|
39684
|
-
// bazel-out/
|
|
39717
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
39685
39718
|
var import_typescript77 = __toESM(require("typescript"), 1);
|
|
39686
39719
|
|
|
39687
|
-
// bazel-out/
|
|
39720
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
|
|
39688
39721
|
var ReferenceEmitEnvironment = class {
|
|
39689
39722
|
constructor(importManager, refEmitter, reflector, contextFile) {
|
|
39690
39723
|
this.importManager = importManager;
|
|
@@ -39714,7 +39747,7 @@ var ReferenceEmitEnvironment = class {
|
|
|
39714
39747
|
}
|
|
39715
39748
|
};
|
|
39716
39749
|
|
|
39717
|
-
// bazel-out/
|
|
39750
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
39718
39751
|
var import_typescript72 = __toESM(require("typescript"), 1);
|
|
39719
39752
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
39720
39753
|
import_typescript72.default.SyntaxKind.ParenthesizedExpression,
|
|
@@ -39797,13 +39830,13 @@ function tsNumericExpression2(value) {
|
|
|
39797
39830
|
return import_typescript72.default.factory.createNumericLiteral(value);
|
|
39798
39831
|
}
|
|
39799
39832
|
|
|
39800
|
-
// bazel-out/
|
|
39833
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
39801
39834
|
var import_typescript76 = __toESM(require("typescript"), 1);
|
|
39802
39835
|
|
|
39803
|
-
// bazel-out/
|
|
39836
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
39804
39837
|
var import_typescript74 = __toESM(require("typescript"), 1);
|
|
39805
39838
|
|
|
39806
|
-
// bazel-out/
|
|
39839
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
39807
39840
|
var import_typescript73 = __toESM(require("typescript"), 1);
|
|
39808
39841
|
var TypeParameterEmitter = class {
|
|
39809
39842
|
constructor(typeParameters, reflector) {
|
|
@@ -39881,7 +39914,7 @@ var TypeParameterEmitter = class {
|
|
|
39881
39914
|
}
|
|
39882
39915
|
};
|
|
39883
39916
|
|
|
39884
|
-
// bazel-out/
|
|
39917
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
39885
39918
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
39886
39919
|
Identifiers.InputSignalBrandWriteType
|
|
39887
39920
|
];
|
|
@@ -39973,7 +40006,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
39973
40006
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
39974
40007
|
}
|
|
39975
40008
|
|
|
39976
|
-
// bazel-out/
|
|
40009
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
39977
40010
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
39978
40011
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
39979
40012
|
const rawType = import_typescript76.default.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -40096,7 +40129,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
40096
40129
|
});
|
|
40097
40130
|
}
|
|
40098
40131
|
|
|
40099
|
-
// bazel-out/
|
|
40132
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
40100
40133
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
40101
40134
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
40102
40135
|
super(importManager, refEmitter, reflector, contextFile);
|
|
@@ -40168,7 +40201,7 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
40168
40201
|
}
|
|
40169
40202
|
};
|
|
40170
40203
|
|
|
40171
|
-
// bazel-out/
|
|
40204
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
40172
40205
|
var import_typescript78 = __toESM(require("typescript"), 1);
|
|
40173
40206
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
40174
40207
|
constructor(resolver) {
|
|
@@ -40368,7 +40401,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
40368
40401
|
});
|
|
40369
40402
|
}
|
|
40370
40403
|
|
|
40371
|
-
// bazel-out/
|
|
40404
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
40372
40405
|
var import_typescript79 = __toESM(require("typescript"), 1);
|
|
40373
40406
|
var TypeCheckShimGenerator = class {
|
|
40374
40407
|
constructor() {
|
|
@@ -40386,10 +40419,10 @@ var TypeCheckShimGenerator = class {
|
|
|
40386
40419
|
}
|
|
40387
40420
|
};
|
|
40388
40421
|
|
|
40389
|
-
// bazel-out/
|
|
40422
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
40390
40423
|
var import_typescript82 = __toESM(require("typescript"), 1);
|
|
40391
40424
|
|
|
40392
|
-
// bazel-out/
|
|
40425
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
40393
40426
|
var import_typescript80 = __toESM(require("typescript"), 1);
|
|
40394
40427
|
function wrapForDiagnostics(expr) {
|
|
40395
40428
|
return import_typescript80.default.factory.createParenthesizedExpression(expr);
|
|
@@ -40444,7 +40477,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
40444
40477
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
40445
40478
|
}
|
|
40446
40479
|
|
|
40447
|
-
// bazel-out/
|
|
40480
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
40448
40481
|
var import_typescript81 = __toESM(require("typescript"), 1);
|
|
40449
40482
|
var NULL_AS_ANY = import_typescript81.default.factory.createAsExpression(import_typescript81.default.factory.createNull(), import_typescript81.default.factory.createKeywordTypeNode(import_typescript81.default.SyntaxKind.AnyKeyword));
|
|
40450
40483
|
var UNDEFINED = import_typescript81.default.factory.createIdentifier("undefined");
|
|
@@ -40776,7 +40809,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
40776
40809
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
40777
40810
|
})();
|
|
40778
40811
|
|
|
40779
|
-
// bazel-out/
|
|
40812
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
40780
40813
|
var TcbGenericContextBehavior;
|
|
40781
40814
|
(function(TcbGenericContextBehavior2) {
|
|
40782
40815
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -42366,7 +42399,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
42366
42399
|
}
|
|
42367
42400
|
};
|
|
42368
42401
|
|
|
42369
|
-
// bazel-out/
|
|
42402
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
42370
42403
|
var import_typescript83 = __toESM(require("typescript"), 1);
|
|
42371
42404
|
var TypeCheckFile = class extends Environment {
|
|
42372
42405
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -42414,7 +42447,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
42414
42447
|
}
|
|
42415
42448
|
};
|
|
42416
42449
|
|
|
42417
|
-
// bazel-out/
|
|
42450
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
42418
42451
|
var InliningMode;
|
|
42419
42452
|
(function(InliningMode2) {
|
|
42420
42453
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -42666,7 +42699,7 @@ var TypeCtorOp = class {
|
|
|
42666
42699
|
}
|
|
42667
42700
|
};
|
|
42668
42701
|
|
|
42669
|
-
// bazel-out/
|
|
42702
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
42670
42703
|
var LF_CHAR = 10;
|
|
42671
42704
|
var CR_CHAR = 13;
|
|
42672
42705
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -42707,7 +42740,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
42707
42740
|
return low - 1;
|
|
42708
42741
|
}
|
|
42709
42742
|
|
|
42710
|
-
// bazel-out/
|
|
42743
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
42711
42744
|
var TemplateSource = class {
|
|
42712
42745
|
constructor(mapping, file) {
|
|
42713
42746
|
this.mapping = mapping;
|
|
@@ -42758,7 +42791,7 @@ var TemplateSourceManager = class {
|
|
|
42758
42791
|
}
|
|
42759
42792
|
};
|
|
42760
42793
|
|
|
42761
|
-
// bazel-out/
|
|
42794
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
42762
42795
|
var import_typescript85 = __toESM(require("typescript"), 1);
|
|
42763
42796
|
var SymbolBuilder = class {
|
|
42764
42797
|
constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
|
|
@@ -43325,7 +43358,7 @@ function unwrapSignalInputWriteTAccessor(expr) {
|
|
|
43325
43358
|
};
|
|
43326
43359
|
}
|
|
43327
43360
|
|
|
43328
|
-
// bazel-out/
|
|
43361
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
43329
43362
|
var REGISTRY2 = new DomElementSchemaRegistry();
|
|
43330
43363
|
var TemplateTypeCheckerImpl = class {
|
|
43331
43364
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -44023,7 +44056,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
44023
44056
|
}
|
|
44024
44057
|
};
|
|
44025
44058
|
|
|
44026
|
-
// bazel-out/
|
|
44059
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
44027
44060
|
var EMPTY_ARRAY2 = [];
|
|
44028
44061
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
44029
44062
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
@@ -45042,7 +45075,7 @@ function isDefaultImport(node) {
|
|
|
45042
45075
|
return node.importClause !== void 0 && node.importClause.namedBindings === void 0;
|
|
45043
45076
|
}
|
|
45044
45077
|
|
|
45045
|
-
// bazel-out/
|
|
45078
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
45046
45079
|
var import_typescript90 = __toESM(require("typescript"), 1);
|
|
45047
45080
|
var InjectableDecoratorHandler = class {
|
|
45048
45081
|
constructor(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, perf, includeClassMetadata, compilationMode, errorOnDuplicateProv = true) {
|
|
@@ -45273,7 +45306,7 @@ function getDep(dep, reflector) {
|
|
|
45273
45306
|
return meta;
|
|
45274
45307
|
}
|
|
45275
45308
|
|
|
45276
|
-
// bazel-out/
|
|
45309
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
45277
45310
|
var import_typescript91 = __toESM(require("typescript"), 1);
|
|
45278
45311
|
var PipeSymbol = class extends SemanticSymbol {
|
|
45279
45312
|
constructor(decl, name) {
|
|
@@ -45429,13 +45462,13 @@ var PipeDecoratorHandler = class {
|
|
|
45429
45462
|
}
|
|
45430
45463
|
};
|
|
45431
45464
|
|
|
45432
|
-
// bazel-out/
|
|
45465
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/transform_api.mjs
|
|
45433
45466
|
var import_typescript92 = __toESM(require("typescript"), 1);
|
|
45434
45467
|
|
|
45435
|
-
// bazel-out/
|
|
45468
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/model_function.mjs
|
|
45436
45469
|
var import_typescript93 = __toESM(require("typescript"), 1);
|
|
45437
45470
|
|
|
45438
|
-
// bazel-out/
|
|
45471
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
45439
45472
|
var EmitFlags;
|
|
45440
45473
|
(function(EmitFlags2) {
|
|
45441
45474
|
EmitFlags2[EmitFlags2["DTS"] = 1] = "DTS";
|
|
@@ -45447,13 +45480,13 @@ var EmitFlags;
|
|
|
45447
45480
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
45448
45481
|
})(EmitFlags || (EmitFlags = {}));
|
|
45449
45482
|
|
|
45450
|
-
// bazel-out/
|
|
45483
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
45451
45484
|
var import_typescript96 = __toESM(require("typescript"), 1);
|
|
45452
45485
|
|
|
45453
|
-
// bazel-out/
|
|
45486
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
45454
45487
|
var import_typescript123 = __toESM(require("typescript"), 1);
|
|
45455
45488
|
|
|
45456
|
-
// bazel-out/
|
|
45489
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
45457
45490
|
var path2 = __toESM(require("path"), 1);
|
|
45458
45491
|
function i18nGetExtension(formatName) {
|
|
45459
45492
|
const format = formatName.toLowerCase();
|
|
@@ -45503,10 +45536,10 @@ function getPathNormalizer(basePath) {
|
|
|
45503
45536
|
};
|
|
45504
45537
|
}
|
|
45505
45538
|
|
|
45506
|
-
// bazel-out/
|
|
45539
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
45507
45540
|
var import_typescript97 = __toESM(require("typescript"), 1);
|
|
45508
45541
|
|
|
45509
|
-
// bazel-out/
|
|
45542
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
45510
45543
|
function toNumbers(value) {
|
|
45511
45544
|
const suffixIndex = value.lastIndexOf("-");
|
|
45512
45545
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -45541,7 +45574,7 @@ function compareVersions(v1, v2) {
|
|
|
45541
45574
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
45542
45575
|
}
|
|
45543
45576
|
|
|
45544
|
-
// bazel-out/
|
|
45577
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
45545
45578
|
var MIN_TS_VERSION = "5.4.0";
|
|
45546
45579
|
var MAX_TS_VERSION = "5.6.0";
|
|
45547
45580
|
var tsVersion = import_typescript97.default.version;
|
|
@@ -45554,10 +45587,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
45554
45587
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
45555
45588
|
}
|
|
45556
45589
|
|
|
45557
|
-
// bazel-out/
|
|
45590
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
45558
45591
|
var import_typescript119 = __toESM(require("typescript"), 1);
|
|
45559
45592
|
|
|
45560
|
-
// bazel-out/
|
|
45593
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
45561
45594
|
var CycleAnalyzer = class {
|
|
45562
45595
|
constructor(importGraph) {
|
|
45563
45596
|
this.importGraph = importGraph;
|
|
@@ -45628,7 +45661,7 @@ var Cycle = class {
|
|
|
45628
45661
|
}
|
|
45629
45662
|
};
|
|
45630
45663
|
|
|
45631
|
-
// bazel-out/
|
|
45664
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
45632
45665
|
var import_typescript98 = __toESM(require("typescript"), 1);
|
|
45633
45666
|
var ImportGraph = class {
|
|
45634
45667
|
constructor(checker, perf) {
|
|
@@ -45720,13 +45753,13 @@ var Found = class {
|
|
|
45720
45753
|
}
|
|
45721
45754
|
};
|
|
45722
45755
|
|
|
45723
|
-
// bazel-out/
|
|
45756
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
45724
45757
|
var import_typescript107 = __toESM(require("typescript"), 1);
|
|
45725
45758
|
|
|
45726
|
-
// bazel-out/
|
|
45759
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
45727
45760
|
var import_typescript102 = __toESM(require("typescript"), 1);
|
|
45728
45761
|
|
|
45729
|
-
// bazel-out/
|
|
45762
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
45730
45763
|
var EntryType;
|
|
45731
45764
|
(function(EntryType2) {
|
|
45732
45765
|
EntryType2["Block"] = "block";
|
|
@@ -45770,17 +45803,17 @@ var MemberTags;
|
|
|
45770
45803
|
MemberTags2["Inherited"] = "override";
|
|
45771
45804
|
})(MemberTags || (MemberTags = {}));
|
|
45772
45805
|
|
|
45773
|
-
// bazel-out/
|
|
45806
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
45774
45807
|
function isAngularPrivateName(name) {
|
|
45775
45808
|
var _a2;
|
|
45776
45809
|
const firstChar = (_a2 = name[0]) != null ? _a2 : "";
|
|
45777
45810
|
return firstChar === "\u0275" || firstChar === "_";
|
|
45778
45811
|
}
|
|
45779
45812
|
|
|
45780
|
-
// bazel-out/
|
|
45813
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
45781
45814
|
var import_typescript100 = __toESM(require("typescript"), 1);
|
|
45782
45815
|
|
|
45783
|
-
// bazel-out/
|
|
45816
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
45784
45817
|
function extractGenerics(declaration) {
|
|
45785
45818
|
var _a2, _b2;
|
|
45786
45819
|
return (_b2 = (_a2 = declaration.typeParameters) == null ? void 0 : _a2.map((typeParam) => {
|
|
@@ -45793,7 +45826,7 @@ function extractGenerics(declaration) {
|
|
|
45793
45826
|
})) != null ? _b2 : [];
|
|
45794
45827
|
}
|
|
45795
45828
|
|
|
45796
|
-
// bazel-out/
|
|
45829
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
45797
45830
|
var import_typescript99 = __toESM(require("typescript"), 1);
|
|
45798
45831
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf|ViewChild|ViewChildren|ContentChild|ContentChildren))/g;
|
|
45799
45832
|
function extractJsDocTags(node) {
|
|
@@ -45837,12 +45870,12 @@ function unescapeAngularDecorators(comment) {
|
|
|
45837
45870
|
return comment.replace(/_NG_AT_/g, "@");
|
|
45838
45871
|
}
|
|
45839
45872
|
|
|
45840
|
-
// bazel-out/
|
|
45873
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
45841
45874
|
function extractResolvedTypeString(node, checker) {
|
|
45842
45875
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
45843
45876
|
}
|
|
45844
45877
|
|
|
45845
|
-
// bazel-out/
|
|
45878
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
45846
45879
|
var FunctionExtractor = class {
|
|
45847
45880
|
constructor(name, declaration, typeChecker) {
|
|
45848
45881
|
this.name = name;
|
|
@@ -45905,7 +45938,7 @@ function extractAllParams(params, typeChecker) {
|
|
|
45905
45938
|
}));
|
|
45906
45939
|
}
|
|
45907
45940
|
|
|
45908
|
-
// bazel-out/
|
|
45941
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
|
|
45909
45942
|
var import_typescript101 = __toESM(require("typescript"), 1);
|
|
45910
45943
|
function isInternal(member) {
|
|
45911
45944
|
return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
|
|
@@ -45924,7 +45957,7 @@ function hasLeadingInternalComment(member) {
|
|
|
45924
45957
|
)) != null ? _a2 : false;
|
|
45925
45958
|
}
|
|
45926
45959
|
|
|
45927
|
-
// bazel-out/
|
|
45960
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
45928
45961
|
var ClassExtractor = class {
|
|
45929
45962
|
constructor(declaration, typeChecker) {
|
|
45930
45963
|
this.declaration = declaration;
|
|
@@ -46182,7 +46215,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
46182
46215
|
return extractor.extract();
|
|
46183
46216
|
}
|
|
46184
46217
|
|
|
46185
|
-
// bazel-out/
|
|
46218
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
46186
46219
|
var import_typescript103 = __toESM(require("typescript"), 1);
|
|
46187
46220
|
var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
|
|
46188
46221
|
function extractConstant(declaration, typeChecker) {
|
|
@@ -46240,7 +46273,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
|
|
|
46240
46273
|
});
|
|
46241
46274
|
}
|
|
46242
46275
|
|
|
46243
|
-
// bazel-out/
|
|
46276
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
46244
46277
|
var import_typescript104 = __toESM(require("typescript"), 1);
|
|
46245
46278
|
function extractorDecorator(declaration, typeChecker) {
|
|
46246
46279
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -46313,7 +46346,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
46313
46346
|
return callSignature;
|
|
46314
46347
|
}
|
|
46315
46348
|
|
|
46316
|
-
// bazel-out/
|
|
46349
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
46317
46350
|
var import_typescript105 = __toESM(require("typescript"), 1);
|
|
46318
46351
|
function extractEnum(declaration, typeChecker) {
|
|
46319
46352
|
return {
|
|
@@ -46344,7 +46377,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
46344
46377
|
return (_a2 = literal3 == null ? void 0 : literal3.getText()) != null ? _a2 : "";
|
|
46345
46378
|
}
|
|
46346
46379
|
|
|
46347
|
-
// bazel-out/
|
|
46380
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
|
|
46348
46381
|
var import_typescript106 = __toESM(require("typescript"), 1);
|
|
46349
46382
|
var initializerApiTag = "initializerApiFunction";
|
|
46350
46383
|
function isInitializerApiFunction(node, typeChecker) {
|
|
@@ -46485,7 +46518,7 @@ function findImplementationOfFunction(node, typeChecker) {
|
|
|
46485
46518
|
return (_a2 = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _a2.find((s) => import_typescript106.default.isFunctionDeclaration(s) && s.body !== void 0);
|
|
46486
46519
|
}
|
|
46487
46520
|
|
|
46488
|
-
// bazel-out/
|
|
46521
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
46489
46522
|
function extractTypeAlias(declaration) {
|
|
46490
46523
|
return {
|
|
46491
46524
|
name: declaration.name.getText(),
|
|
@@ -46497,7 +46530,7 @@ function extractTypeAlias(declaration) {
|
|
|
46497
46530
|
};
|
|
46498
46531
|
}
|
|
46499
46532
|
|
|
46500
|
-
// bazel-out/
|
|
46533
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
46501
46534
|
var DocsExtractor = class {
|
|
46502
46535
|
constructor(typeChecker, metadataReader) {
|
|
46503
46536
|
this.typeChecker = typeChecker;
|
|
@@ -46581,7 +46614,7 @@ function getRelativeFilePath(sourceFile, rootDir) {
|
|
|
46581
46614
|
return relativePath;
|
|
46582
46615
|
}
|
|
46583
46616
|
|
|
46584
|
-
// bazel-out/
|
|
46617
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
46585
46618
|
var import_typescript108 = __toESM(require("typescript"), 1);
|
|
46586
46619
|
var FlatIndexGenerator = class {
|
|
46587
46620
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -46606,7 +46639,7 @@ export * from '${relativeEntryPoint}';
|
|
|
46606
46639
|
}
|
|
46607
46640
|
};
|
|
46608
46641
|
|
|
46609
|
-
// bazel-out/
|
|
46642
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
46610
46643
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
46611
46644
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
46612
46645
|
let resolvedEntryPoint = null;
|
|
@@ -46622,7 +46655,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
46622
46655
|
return resolvedEntryPoint;
|
|
46623
46656
|
}
|
|
46624
46657
|
|
|
46625
|
-
// bazel-out/
|
|
46658
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
46626
46659
|
var import_typescript110 = __toESM(require("typescript"), 1);
|
|
46627
46660
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
46628
46661
|
const diagnostics = [];
|
|
@@ -46702,7 +46735,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
46702
46735
|
}
|
|
46703
46736
|
}
|
|
46704
46737
|
|
|
46705
|
-
// bazel-out/
|
|
46738
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
46706
46739
|
var ReferenceGraph = class {
|
|
46707
46740
|
constructor() {
|
|
46708
46741
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -46756,7 +46789,7 @@ var ReferenceGraph = class {
|
|
|
46756
46789
|
}
|
|
46757
46790
|
};
|
|
46758
46791
|
|
|
46759
|
-
// bazel-out/
|
|
46792
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
46760
46793
|
var FileDependencyGraph = class {
|
|
46761
46794
|
constructor() {
|
|
46762
46795
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -46823,7 +46856,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
46823
46856
|
return false;
|
|
46824
46857
|
}
|
|
46825
46858
|
|
|
46826
|
-
// bazel-out/
|
|
46859
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
46827
46860
|
var IncrementalStateKind;
|
|
46828
46861
|
(function(IncrementalStateKind2) {
|
|
46829
46862
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -46831,7 +46864,7 @@ var IncrementalStateKind;
|
|
|
46831
46864
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
46832
46865
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
46833
46866
|
|
|
46834
|
-
// bazel-out/
|
|
46867
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
46835
46868
|
var PhaseKind;
|
|
46836
46869
|
(function(PhaseKind2) {
|
|
46837
46870
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -47032,7 +47065,7 @@ function toOriginalSourceFile(sf) {
|
|
|
47032
47065
|
}
|
|
47033
47066
|
}
|
|
47034
47067
|
|
|
47035
|
-
// bazel-out/
|
|
47068
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
47036
47069
|
var TrackedIncrementalBuildStrategy = class {
|
|
47037
47070
|
constructor() {
|
|
47038
47071
|
this.state = null;
|
|
@@ -47053,7 +47086,7 @@ var TrackedIncrementalBuildStrategy = class {
|
|
|
47053
47086
|
};
|
|
47054
47087
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
47055
47088
|
|
|
47056
|
-
// bazel-out/
|
|
47089
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
47057
47090
|
var IdentifierKind;
|
|
47058
47091
|
(function(IdentifierKind2) {
|
|
47059
47092
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -47072,7 +47105,7 @@ var AbsoluteSourceSpan2 = class {
|
|
|
47072
47105
|
}
|
|
47073
47106
|
};
|
|
47074
47107
|
|
|
47075
|
-
// bazel-out/
|
|
47108
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
47076
47109
|
var IndexingContext = class {
|
|
47077
47110
|
constructor() {
|
|
47078
47111
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -47082,7 +47115,7 @@ var IndexingContext = class {
|
|
|
47082
47115
|
}
|
|
47083
47116
|
};
|
|
47084
47117
|
|
|
47085
|
-
// bazel-out/
|
|
47118
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
47086
47119
|
var ExpressionVisitor = class extends RecursiveAstVisitor2 {
|
|
47087
47120
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
47088
47121
|
super();
|
|
@@ -47376,7 +47409,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
47376
47409
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
47377
47410
|
}
|
|
47378
47411
|
|
|
47379
|
-
// bazel-out/
|
|
47412
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
47380
47413
|
function generateAnalysis(context) {
|
|
47381
47414
|
const analysis = /* @__PURE__ */ new Map();
|
|
47382
47415
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -47412,7 +47445,7 @@ function generateAnalysis(context) {
|
|
|
47412
47445
|
return analysis;
|
|
47413
47446
|
}
|
|
47414
47447
|
|
|
47415
|
-
// bazel-out/
|
|
47448
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
47416
47449
|
var NgModuleIndexImpl = class {
|
|
47417
47450
|
constructor(metaReader, localReader) {
|
|
47418
47451
|
this.metaReader = metaReader;
|
|
@@ -47501,7 +47534,7 @@ var NgModuleIndexImpl = class {
|
|
|
47501
47534
|
}
|
|
47502
47535
|
};
|
|
47503
47536
|
|
|
47504
|
-
// bazel-out/
|
|
47537
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
47505
47538
|
var import_typescript112 = __toESM(require("typescript"), 1);
|
|
47506
47539
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
47507
47540
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -47653,7 +47686,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
47653
47686
|
};
|
|
47654
47687
|
}
|
|
47655
47688
|
|
|
47656
|
-
// bazel-out/
|
|
47689
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
47657
47690
|
var StandaloneComponentScopeReader = class {
|
|
47658
47691
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
47659
47692
|
this.metaReader = metaReader;
|
|
@@ -47749,7 +47782,7 @@ var StandaloneComponentScopeReader = class {
|
|
|
47749
47782
|
}
|
|
47750
47783
|
};
|
|
47751
47784
|
|
|
47752
|
-
// bazel-out/
|
|
47785
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
|
|
47753
47786
|
var import_typescript113 = __toESM(require("typescript"), 1);
|
|
47754
47787
|
var SIGNAL_FNS = /* @__PURE__ */ new Set([
|
|
47755
47788
|
"WritableSignal",
|
|
@@ -47769,7 +47802,7 @@ function isSignalSymbol(symbol) {
|
|
|
47769
47802
|
});
|
|
47770
47803
|
}
|
|
47771
47804
|
|
|
47772
|
-
// bazel-out/
|
|
47805
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
47773
47806
|
var TemplateCheckWithVisitor = class {
|
|
47774
47807
|
run(ctx, component, template2) {
|
|
47775
47808
|
const visitor = new TemplateVisitor2(ctx, component, this);
|
|
@@ -47896,7 +47929,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
47896
47929
|
}
|
|
47897
47930
|
};
|
|
47898
47931
|
|
|
47899
|
-
// bazel-out/
|
|
47932
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
47900
47933
|
var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
|
|
47901
47934
|
var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
|
|
47902
47935
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -47908,8 +47941,8 @@ var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
|
47908
47941
|
if (node instanceof Interpolation) {
|
|
47909
47942
|
return node.expressions.filter((item) => item instanceof PropertyRead).flatMap((item) => buildDiagnosticForSignal(ctx, item, component));
|
|
47910
47943
|
} else if (node instanceof BoundAttribute) {
|
|
47911
|
-
const
|
|
47912
|
-
if (
|
|
47944
|
+
const usedDirectives = ctx.templateTypeChecker.getUsedDirectives(component);
|
|
47945
|
+
if (usedDirectives !== null && usedDirectives.some((dir) => dir.inputs.getByBindingPropertyName(node.name) !== null)) {
|
|
47913
47946
|
return [];
|
|
47914
47947
|
}
|
|
47915
47948
|
if ((node.type === BindingType.Property || node.type === BindingType.Class || node.type === BindingType.Style || node.type === BindingType.Attribute || node.type === BindingType.Animation) && node.value instanceof ASTWithSource && node.value.ast instanceof PropertyRead) {
|
|
@@ -47948,7 +47981,7 @@ var factory = {
|
|
|
47948
47981
|
create: () => new InterpolatedSignalCheck()
|
|
47949
47982
|
};
|
|
47950
47983
|
|
|
47951
|
-
// bazel-out/
|
|
47984
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
47952
47985
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
47953
47986
|
constructor() {
|
|
47954
47987
|
super(...arguments);
|
|
@@ -47973,7 +48006,7 @@ var factory2 = {
|
|
|
47973
48006
|
create: () => new InvalidBananaInBoxCheck()
|
|
47974
48007
|
};
|
|
47975
48008
|
|
|
47976
|
-
// bazel-out/
|
|
48009
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
47977
48010
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
47978
48011
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
47979
48012
|
["ngFor", { directive: "NgFor", builtIn: "@for" }],
|
|
@@ -48017,7 +48050,7 @@ var factory3 = {
|
|
|
48017
48050
|
}
|
|
48018
48051
|
};
|
|
48019
48052
|
|
|
48020
|
-
// bazel-out/
|
|
48053
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
48021
48054
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
48022
48055
|
constructor() {
|
|
48023
48056
|
super(...arguments);
|
|
@@ -48049,7 +48082,7 @@ var factory4 = {
|
|
|
48049
48082
|
create: () => new MissingNgForOfLetCheck()
|
|
48050
48083
|
};
|
|
48051
48084
|
|
|
48052
|
-
// bazel-out/
|
|
48085
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
48053
48086
|
var import_typescript114 = __toESM(require("typescript"), 1);
|
|
48054
48087
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
48055
48088
|
constructor() {
|
|
@@ -48093,7 +48126,7 @@ var factory5 = {
|
|
|
48093
48126
|
}
|
|
48094
48127
|
};
|
|
48095
48128
|
|
|
48096
|
-
// bazel-out/
|
|
48129
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
48097
48130
|
var import_typescript115 = __toESM(require("typescript"), 1);
|
|
48098
48131
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
48099
48132
|
constructor() {
|
|
@@ -48138,7 +48171,7 @@ var factory6 = {
|
|
|
48138
48171
|
}
|
|
48139
48172
|
};
|
|
48140
48173
|
|
|
48141
|
-
// bazel-out/
|
|
48174
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
48142
48175
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
48143
48176
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
48144
48177
|
constructor() {
|
|
@@ -48161,7 +48194,7 @@ var factory7 = {
|
|
|
48161
48194
|
create: () => new SuffixNotSupportedCheck()
|
|
48162
48195
|
};
|
|
48163
48196
|
|
|
48164
|
-
// bazel-out/
|
|
48197
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
48165
48198
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
48166
48199
|
constructor() {
|
|
48167
48200
|
super(...arguments);
|
|
@@ -48199,7 +48232,7 @@ var factory8 = {
|
|
|
48199
48232
|
create: () => new TextAttributeNotBindingSpec()
|
|
48200
48233
|
};
|
|
48201
48234
|
|
|
48202
|
-
// bazel-out/
|
|
48235
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_event_binding/index.mjs
|
|
48203
48236
|
var UninvokedFunctionInEventBindingSpec = class extends TemplateCheckWithVisitor {
|
|
48204
48237
|
constructor() {
|
|
48205
48238
|
super(...arguments);
|
|
@@ -48250,10 +48283,10 @@ var factory9 = {
|
|
|
48250
48283
|
create: () => new UninvokedFunctionInEventBindingSpec()
|
|
48251
48284
|
};
|
|
48252
48285
|
|
|
48253
|
-
// bazel-out/
|
|
48286
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
48254
48287
|
var import_typescript116 = __toESM(require("typescript"), 1);
|
|
48255
48288
|
|
|
48256
|
-
// bazel-out/
|
|
48289
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
48257
48290
|
var DiagnosticCategoryLabel;
|
|
48258
48291
|
(function(DiagnosticCategoryLabel2) {
|
|
48259
48292
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -48261,7 +48294,7 @@ var DiagnosticCategoryLabel;
|
|
|
48261
48294
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
48262
48295
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
48263
48296
|
|
|
48264
|
-
// bazel-out/
|
|
48297
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
48265
48298
|
var ExtendedTemplateCheckerImpl = class {
|
|
48266
48299
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
48267
48300
|
var _a2, _b2, _c2, _d2, _e2;
|
|
@@ -48313,7 +48346,7 @@ function assertNever(value) {
|
|
|
48313
48346
|
${value}`);
|
|
48314
48347
|
}
|
|
48315
48348
|
|
|
48316
|
-
// bazel-out/
|
|
48349
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
48317
48350
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
48318
48351
|
factory2,
|
|
48319
48352
|
factory5,
|
|
@@ -48330,7 +48363,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
|
48330
48363
|
...ALL_DIAGNOSTIC_FACTORIES.map((factory10) => factory10.name)
|
|
48331
48364
|
]);
|
|
48332
48365
|
|
|
48333
|
-
// bazel-out/
|
|
48366
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
|
|
48334
48367
|
var import_typescript117 = __toESM(require("typescript"), 1);
|
|
48335
48368
|
var TemplateSemanticsCheckerImpl = class {
|
|
48336
48369
|
constructor(templateTypeChecker) {
|
|
@@ -48420,7 +48453,7 @@ function unwrapAstWithSource(ast) {
|
|
|
48420
48453
|
return ast instanceof ASTWithSource ? ast.ast : ast;
|
|
48421
48454
|
}
|
|
48422
48455
|
|
|
48423
|
-
// bazel-out/
|
|
48456
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
|
|
48424
48457
|
var import_typescript118 = __toESM(require("typescript"), 1);
|
|
48425
48458
|
var APIS_TO_CHECK = [
|
|
48426
48459
|
INPUT_INITIALIZER_FN,
|
|
@@ -48471,7 +48504,7 @@ var InitializerApiUsageRule = class {
|
|
|
48471
48504
|
}
|
|
48472
48505
|
};
|
|
48473
48506
|
|
|
48474
|
-
// bazel-out/
|
|
48507
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
|
|
48475
48508
|
var SourceFileValidator = class {
|
|
48476
48509
|
constructor(reflector, importedSymbolsTracker) {
|
|
48477
48510
|
this.rules = [new InitializerApiUsageRule(reflector, importedSymbolsTracker)];
|
|
@@ -48509,7 +48542,7 @@ var SourceFileValidator = class {
|
|
|
48509
48542
|
}
|
|
48510
48543
|
};
|
|
48511
48544
|
|
|
48512
|
-
// bazel-out/
|
|
48545
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
|
|
48513
48546
|
function coreHasSymbol(program, symbol) {
|
|
48514
48547
|
const checker = program.getTypeChecker();
|
|
48515
48548
|
for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
|
|
@@ -48528,7 +48561,7 @@ function isMaybeCore(sf) {
|
|
|
48528
48561
|
return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
|
|
48529
48562
|
}
|
|
48530
48563
|
|
|
48531
|
-
// bazel-out/
|
|
48564
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
|
|
48532
48565
|
var import_semver = __toESM(require_semver2(), 1);
|
|
48533
48566
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
48534
48567
|
if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
|
|
@@ -48537,7 +48570,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
|
48537
48570
|
return import_semver.default.satisfies(coreVersion, minVersion);
|
|
48538
48571
|
}
|
|
48539
48572
|
|
|
48540
|
-
// bazel-out/
|
|
48573
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
48541
48574
|
var CompilationTicketKind;
|
|
48542
48575
|
(function(CompilationTicketKind2) {
|
|
48543
48576
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -48795,6 +48828,7 @@ var NgCompiler = class {
|
|
|
48795
48828
|
}
|
|
48796
48829
|
prepareEmit() {
|
|
48797
48830
|
const compilation = this.ensureAnalyzed();
|
|
48831
|
+
untagAllTsFiles(this.inputProgram);
|
|
48798
48832
|
const coreImportsFrom = compilation.isCore ? getR3SymbolsFile(this.inputProgram) : null;
|
|
48799
48833
|
let importRewriter;
|
|
48800
48834
|
if (coreImportsFrom !== null) {
|
|
@@ -49320,7 +49354,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
49320
49354
|
return versions;
|
|
49321
49355
|
}
|
|
49322
49356
|
|
|
49323
|
-
// bazel-out/
|
|
49357
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
49324
49358
|
var import_typescript121 = __toESM(require("typescript"), 1);
|
|
49325
49359
|
var DelegatingCompilerHost2 = class {
|
|
49326
49360
|
get jsDocParsingMode() {
|
|
@@ -49459,7 +49493,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
49459
49493
|
}
|
|
49460
49494
|
};
|
|
49461
49495
|
|
|
49462
|
-
// bazel-out/
|
|
49496
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
49463
49497
|
var NgtscProgram = class {
|
|
49464
49498
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
49465
49499
|
this.options = options;
|
|
@@ -49605,7 +49639,6 @@ var NgtscProgram = class {
|
|
|
49605
49639
|
};
|
|
49606
49640
|
}
|
|
49607
49641
|
}
|
|
49608
|
-
untagAllTsFiles(this.tsProgram);
|
|
49609
49642
|
const forceEmit = (_a2 = opts == null ? void 0 : opts.forceEmit) != null ? _a2 : false;
|
|
49610
49643
|
this.compiler.perfRecorder.memory(PerfCheckpoint.PreEmit);
|
|
49611
49644
|
const res = this.compiler.perfRecorder.inPhase(PerfPhase.TypeScriptEmit, () => {
|
|
@@ -49686,18 +49719,18 @@ function mergeEmitResults(emitResults) {
|
|
|
49686
49719
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
49687
49720
|
}
|
|
49688
49721
|
|
|
49689
|
-
// bazel-out/
|
|
49722
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
49690
49723
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
49691
49724
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
49692
49725
|
}
|
|
49693
49726
|
|
|
49694
|
-
// bazel-out/
|
|
49727
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
49695
49728
|
var import_typescript125 = __toESM(require("typescript"), 1);
|
|
49696
49729
|
|
|
49697
|
-
// bazel-out/
|
|
49730
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
49698
49731
|
var import_typescript124 = __toESM(require("typescript"), 1);
|
|
49699
49732
|
|
|
49700
|
-
// bazel-out/
|
|
49733
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
49701
49734
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
49702
49735
|
ngDevMode: false,
|
|
49703
49736
|
ngI18nClosureMode: false
|
|
@@ -49706,7 +49739,7 @@ var GLOBAL_DEFS_FOR_TERSER_WITH_AOT = __spreadProps(__spreadValues({}, GLOBAL_DE
|
|
|
49706
49739
|
ngJitMode: false
|
|
49707
49740
|
});
|
|
49708
49741
|
|
|
49709
|
-
// bazel-out/
|
|
49742
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
49710
49743
|
var LogLevel;
|
|
49711
49744
|
(function(LogLevel2) {
|
|
49712
49745
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -49715,7 +49748,7 @@ var LogLevel;
|
|
|
49715
49748
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
49716
49749
|
})(LogLevel || (LogLevel = {}));
|
|
49717
49750
|
|
|
49718
|
-
// bazel-out/
|
|
49751
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
49719
49752
|
var RESET = "\x1B[0m";
|
|
49720
49753
|
var RED = "\x1B[31m";
|
|
49721
49754
|
var YELLOW = "\x1B[33m";
|
|
@@ -49724,18 +49757,18 @@ var DEBUG = `${BLUE}Debug:${RESET}`;
|
|
|
49724
49757
|
var WARN = `${YELLOW}Warning:${RESET}`;
|
|
49725
49758
|
var ERROR = `${RED}Error:${RESET}`;
|
|
49726
49759
|
|
|
49727
|
-
// bazel-out/
|
|
49760
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
49728
49761
|
setFileSystem(new NodeJSFileSystem());
|
|
49729
49762
|
|
|
49730
|
-
// bazel-out/
|
|
49763
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
49731
49764
|
var import_fs2 = require("fs");
|
|
49732
49765
|
var import_path8 = require("path");
|
|
49733
49766
|
var import_typescript138 = __toESM(require("typescript"), 1);
|
|
49734
49767
|
|
|
49735
|
-
// bazel-out/
|
|
49768
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
49736
49769
|
var import_typescript127 = __toESM(require("typescript"), 1);
|
|
49737
49770
|
|
|
49738
|
-
// bazel-out/
|
|
49771
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
|
|
49739
49772
|
var import_path4 = require("path");
|
|
49740
49773
|
var import_typescript126 = __toESM(require("typescript"), 1);
|
|
49741
49774
|
var ImportManager2 = class {
|
|
@@ -49919,7 +49952,7 @@ ${text2}`;
|
|
|
49919
49952
|
}
|
|
49920
49953
|
};
|
|
49921
49954
|
|
|
49922
|
-
// bazel-out/
|
|
49955
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
49923
49956
|
var ChangeTracker = class {
|
|
49924
49957
|
constructor(_printer, _importRemapper) {
|
|
49925
49958
|
__publicField(this, "_printer");
|
|
@@ -49982,7 +50015,7 @@ function normalizePath(path4) {
|
|
|
49982
50015
|
return path4.replace(/\\/g, "/");
|
|
49983
50016
|
}
|
|
49984
50017
|
|
|
49985
|
-
// bazel-out/
|
|
50018
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
49986
50019
|
var import_core19 = require("@angular-devkit/core");
|
|
49987
50020
|
function getProjectTsConfigPaths(tree) {
|
|
49988
50021
|
return __async(this, null, function* () {
|
|
@@ -50062,11 +50095,11 @@ function getWorkspace(tree) {
|
|
|
50062
50095
|
});
|
|
50063
50096
|
}
|
|
50064
50097
|
|
|
50065
|
-
// bazel-out/
|
|
50098
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
50066
50099
|
var import_path5 = require("path");
|
|
50067
50100
|
var import_typescript129 = __toESM(require("typescript"), 1);
|
|
50068
50101
|
|
|
50069
|
-
// bazel-out/
|
|
50102
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
50070
50103
|
var path3 = __toESM(require("path"), 1);
|
|
50071
50104
|
var import_typescript128 = __toESM(require("typescript"), 1);
|
|
50072
50105
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -50083,7 +50116,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
50083
50116
|
return import_typescript128.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
50084
50117
|
}
|
|
50085
50118
|
|
|
50086
|
-
// bazel-out/
|
|
50119
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
50087
50120
|
function createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles, optionOverrides) {
|
|
50088
50121
|
tsconfigPath = (0, import_path5.resolve)(basePath, tsconfigPath);
|
|
50089
50122
|
const parsed = parseTsconfigFile(tsconfigPath, (0, import_path5.dirname)(tsconfigPath));
|
|
@@ -50112,13 +50145,13 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
50112
50145
|
return !(0, import_path5.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
50113
50146
|
}
|
|
50114
50147
|
|
|
50115
|
-
// bazel-out/
|
|
50148
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
50116
50149
|
var import_typescript134 = __toESM(require("typescript"), 1);
|
|
50117
50150
|
|
|
50118
|
-
// bazel-out/
|
|
50151
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
50119
50152
|
var import_typescript131 = __toESM(require("typescript"), 1);
|
|
50120
50153
|
|
|
50121
|
-
// bazel-out/
|
|
50154
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
|
|
50122
50155
|
var import_typescript130 = __toESM(require("typescript"), 1);
|
|
50123
50156
|
function getImportOfIdentifier(typeChecker, node) {
|
|
50124
50157
|
const symbol = typeChecker.getSymbolAtLocation(node);
|
|
@@ -50169,7 +50202,7 @@ function findImportSpecifier(nodes, specifierName) {
|
|
|
50169
50202
|
});
|
|
50170
50203
|
}
|
|
50171
50204
|
|
|
50172
|
-
// bazel-out/
|
|
50205
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
50173
50206
|
function getCallDecoratorImport(typeChecker, decorator) {
|
|
50174
50207
|
if (!import_typescript131.default.isCallExpression(decorator.expression) || !import_typescript131.default.isIdentifier(decorator.expression.expression)) {
|
|
50175
50208
|
return null;
|
|
@@ -50178,7 +50211,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
|
|
|
50178
50211
|
return getImportOfIdentifier(typeChecker, identifier);
|
|
50179
50212
|
}
|
|
50180
50213
|
|
|
50181
|
-
// bazel-out/
|
|
50214
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
|
|
50182
50215
|
function getAngularDecorators2(typeChecker, decorators) {
|
|
50183
50216
|
return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
|
|
50184
50217
|
node,
|
|
@@ -50188,7 +50221,7 @@ function getAngularDecorators2(typeChecker, decorators) {
|
|
|
50188
50221
|
}));
|
|
50189
50222
|
}
|
|
50190
50223
|
|
|
50191
|
-
// bazel-out/
|
|
50224
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
|
|
50192
50225
|
var import_typescript132 = __toESM(require("typescript"), 1);
|
|
50193
50226
|
function closestNode(node, predicate) {
|
|
50194
50227
|
let current = node.parent;
|
|
@@ -50201,7 +50234,7 @@ function closestNode(node, predicate) {
|
|
|
50201
50234
|
return null;
|
|
50202
50235
|
}
|
|
50203
50236
|
|
|
50204
|
-
// bazel-out/
|
|
50237
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
|
|
50205
50238
|
var import_path6 = require("path");
|
|
50206
50239
|
var import_typescript133 = __toESM(require("typescript"), 1);
|
|
50207
50240
|
var UniqueItemTracker = class {
|
|
@@ -50379,7 +50412,7 @@ function isClassReferenceInAngularModule(node, className, moduleName, typeChecke
|
|
|
50379
50412
|
}));
|
|
50380
50413
|
}
|
|
50381
50414
|
|
|
50382
|
-
// bazel-out/
|
|
50415
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
50383
50416
|
function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles) {
|
|
50384
50417
|
const filesToRemove = /* @__PURE__ */ new Set();
|
|
50385
50418
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
@@ -50578,14 +50611,14 @@ function findNgModuleDecorator(node, typeChecker) {
|
|
|
50578
50611
|
return decorators.find((decorator) => decorator.name === "NgModule") || null;
|
|
50579
50612
|
}
|
|
50580
50613
|
|
|
50581
|
-
// bazel-out/
|
|
50614
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
50582
50615
|
var import_path7 = require("path");
|
|
50583
50616
|
var import_typescript137 = __toESM(require("typescript"), 1);
|
|
50584
50617
|
|
|
50585
|
-
// bazel-out/
|
|
50618
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
50586
50619
|
var import_typescript136 = __toESM(require("typescript"), 1);
|
|
50587
50620
|
|
|
50588
|
-
// bazel-out/
|
|
50621
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
|
|
50589
50622
|
var import_typescript135 = __toESM(require("typescript"), 1);
|
|
50590
50623
|
function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
50591
50624
|
var _a2, _b2;
|
|
@@ -50594,7 +50627,7 @@ function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
|
50594
50627
|
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];
|
|
50595
50628
|
}
|
|
50596
50629
|
|
|
50597
|
-
// bazel-out/
|
|
50630
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
50598
50631
|
function toStandalone(sourceFiles, program, printer, fileImportRemapper, componentImportRemapper) {
|
|
50599
50632
|
const templateTypeChecker = program.compiler.getTemplateTypeChecker();
|
|
50600
50633
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -50964,7 +50997,7 @@ function isStandaloneDeclaration(node, declarationsInMigration, templateTypeChec
|
|
|
50964
50997
|
return metadata != null && metadata.isStandalone;
|
|
50965
50998
|
}
|
|
50966
50999
|
|
|
50967
|
-
// bazel-out/
|
|
51000
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
50968
51001
|
function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles, componentImportRemapper) {
|
|
50969
51002
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
50970
51003
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -51341,7 +51374,7 @@ function hasImport(program, rootFileNames, moduleName) {
|
|
|
51341
51374
|
return false;
|
|
51342
51375
|
}
|
|
51343
51376
|
|
|
51344
|
-
// bazel-out/
|
|
51377
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
51345
51378
|
var MigrationMode;
|
|
51346
51379
|
(function(MigrationMode2) {
|
|
51347
51380
|
MigrationMode2["toStandalone"] = "convert-to-standalone";
|