@angular/core 18.1.0-next.4 → 18.1.0-rc.0
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/index.mjs +3 -2
- package/esm2022/primitives/event-dispatch/src/action_resolver.mjs +3 -3
- package/esm2022/primitives/event-dispatch/src/attribute.mjs +16 -52
- package/esm2022/primitives/event-dispatch/src/cache.mjs +17 -6
- package/esm2022/primitives/event-dispatch/src/char.mjs +1 -16
- package/esm2022/primitives/event-dispatch/src/event.mjs +2 -3
- package/esm2022/primitives/event-dispatch/src/eventcontract.mjs +5 -66
- package/esm2022/primitives/event-dispatch/src/property.mjs +17 -22
- package/esm2022/primitives/signals/index.mjs +3 -3
- package/esm2022/primitives/signals/src/signal.mjs +4 -1
- package/esm2022/src/change_detection/scheduling/zoneless_scheduling_impl.mjs +2 -2
- package/esm2022/src/core_private_export.mjs +3 -1
- package/esm2022/src/event_delegation_utils.mjs +40 -23
- package/esm2022/src/event_dispatch/event_delegation.mjs +38 -0
- package/esm2022/src/hydration/annotate.mjs +3 -3
- package/esm2022/src/hydration/event_replay.mjs +5 -5
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +75 -30
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +53 -242
- package/fesm2022/primitives/event-dispatch.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +5 -2
- package/fesm2022/primitives/signals.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/index.d.ts +31 -2
- package/package.json +1 -1
- package/primitives/event-dispatch/index.d.ts +22 -102
- package/primitives/signals/index.d.ts +10 -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 +184 -167
- package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +2 -2
- package/schematics/ng-generate/control-flow-migration/bundle.js +192 -175
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +2 -2
- package/schematics/ng-generate/standalone-migration/bundle.js +552 -471
- package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
- package/testing/index.d.ts +1 -1
- package/esm2022/primitives/event-dispatch/src/dom.mjs +0 -48
|
@@ -1887,7 +1887,7 @@ var require_semver2 = __commonJS({
|
|
|
1887
1887
|
}
|
|
1888
1888
|
});
|
|
1889
1889
|
|
|
1890
|
-
// bazel-out/
|
|
1890
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
1891
1891
|
var standalone_migration_exports = {};
|
|
1892
1892
|
__export(standalone_migration_exports, {
|
|
1893
1893
|
default: () => standalone_migration_default
|
|
@@ -1895,10 +1895,10 @@ __export(standalone_migration_exports, {
|
|
|
1895
1895
|
module.exports = __toCommonJS(standalone_migration_exports);
|
|
1896
1896
|
var import_schematics = require("@angular-devkit/schematics");
|
|
1897
1897
|
|
|
1898
|
-
// bazel-out/
|
|
1898
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
1899
1899
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
1900
1900
|
|
|
1901
|
-
// bazel-out/
|
|
1901
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
1902
1902
|
var InvalidFileSystem = class {
|
|
1903
1903
|
exists(path4) {
|
|
1904
1904
|
throw makeError();
|
|
@@ -1986,7 +1986,7 @@ function makeError() {
|
|
|
1986
1986
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
1987
1987
|
}
|
|
1988
1988
|
|
|
1989
|
-
// bazel-out/
|
|
1989
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
1990
1990
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
1991
1991
|
function stripExtension(path4) {
|
|
1992
1992
|
return path4.replace(TS_DTS_JS_EXTENSION, "");
|
|
@@ -1999,7 +1999,7 @@ function getSourceFileOrError(program, fileName) {
|
|
|
1999
1999
|
return sf;
|
|
2000
2000
|
}
|
|
2001
2001
|
|
|
2002
|
-
// bazel-out/
|
|
2002
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
2003
2003
|
var fs = new InvalidFileSystem();
|
|
2004
2004
|
function getFileSystem() {
|
|
2005
2005
|
return fs;
|
|
@@ -2043,7 +2043,7 @@ function toRelativeImport(relativePath) {
|
|
|
2043
2043
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
2044
2044
|
}
|
|
2045
2045
|
|
|
2046
|
-
// bazel-out/
|
|
2046
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
2047
2047
|
var LogicalProjectPath = {
|
|
2048
2048
|
relativePathBetween: function(from, to) {
|
|
2049
2049
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -2089,7 +2089,7 @@ function isWithinBasePath(base, path4) {
|
|
|
2089
2089
|
return isLocalRelativePath(relative(base, path4));
|
|
2090
2090
|
}
|
|
2091
2091
|
|
|
2092
|
-
// bazel-out/
|
|
2092
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
2093
2093
|
var import_fs = __toESM(require("fs"), 1);
|
|
2094
2094
|
var import_module = require("module");
|
|
2095
2095
|
var p = __toESM(require("path"), 1);
|
|
@@ -2197,7 +2197,7 @@ function toggleCase(str) {
|
|
|
2197
2197
|
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
2198
2198
|
}
|
|
2199
2199
|
|
|
2200
|
-
// bazel-out/
|
|
2200
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/selector.mjs
|
|
2201
2201
|
var _SELECTOR_REGEXP = new RegExp(
|
|
2202
2202
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
2203
2203
|
"g"
|
|
@@ -2505,7 +2505,7 @@ var SelectorContext = class {
|
|
|
2505
2505
|
}
|
|
2506
2506
|
};
|
|
2507
2507
|
|
|
2508
|
-
// bazel-out/
|
|
2508
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/core.mjs
|
|
2509
2509
|
var emitDistinctChangesOnlyDefaultValue = true;
|
|
2510
2510
|
var ViewEncapsulation;
|
|
2511
2511
|
(function(ViewEncapsulation2) {
|
|
@@ -2574,7 +2574,7 @@ function parseSelectorToR3Selector(selector) {
|
|
|
2574
2574
|
return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
|
|
2575
2575
|
}
|
|
2576
2576
|
|
|
2577
|
-
// bazel-out/
|
|
2577
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
2578
2578
|
var output_ast_exports = {};
|
|
2579
2579
|
__export(output_ast_exports, {
|
|
2580
2580
|
ArrayType: () => ArrayType,
|
|
@@ -2662,7 +2662,7 @@ __export(output_ast_exports, {
|
|
|
2662
2662
|
variable: () => variable
|
|
2663
2663
|
});
|
|
2664
2664
|
|
|
2665
|
-
// bazel-out/
|
|
2665
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
|
|
2666
2666
|
var textEncoder;
|
|
2667
2667
|
function digest(message) {
|
|
2668
2668
|
return message.id || computeDigest(message);
|
|
@@ -2905,7 +2905,7 @@ function wordAt(bytes, index, endian) {
|
|
|
2905
2905
|
return word;
|
|
2906
2906
|
}
|
|
2907
2907
|
|
|
2908
|
-
// bazel-out/
|
|
2908
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
2909
2909
|
var TypeModifier;
|
|
2910
2910
|
(function(TypeModifier2) {
|
|
2911
2911
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -4100,7 +4100,7 @@ function serializeTags(tags) {
|
|
|
4100
4100
|
return out;
|
|
4101
4101
|
}
|
|
4102
4102
|
|
|
4103
|
-
// bazel-out/
|
|
4103
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
4104
4104
|
var CONSTANT_PREFIX = "_c";
|
|
4105
4105
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
4106
4106
|
var KEY_CONTEXT = {};
|
|
@@ -4288,7 +4288,7 @@ function isLongStringLiteral(expr) {
|
|
|
4288
4288
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
4289
4289
|
}
|
|
4290
4290
|
|
|
4291
|
-
// bazel-out/
|
|
4291
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
4292
4292
|
var CORE = "@angular/core";
|
|
4293
4293
|
var _Identifiers = class {
|
|
4294
4294
|
};
|
|
@@ -5185,7 +5185,7 @@ var Identifiers = _Identifiers;
|
|
|
5185
5185
|
_Identifiers.unwrapWritableSignal = { name: "\u0275unwrapWritableSignal", moduleName: CORE };
|
|
5186
5186
|
})();
|
|
5187
5187
|
|
|
5188
|
-
// bazel-out/
|
|
5188
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
|
|
5189
5189
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
5190
5190
|
function dashCaseToCamelCase(input) {
|
|
5191
5191
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -5262,7 +5262,7 @@ var Version = class {
|
|
|
5262
5262
|
};
|
|
5263
5263
|
var _global = globalThis;
|
|
5264
5264
|
|
|
5265
|
-
// bazel-out/
|
|
5265
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
5266
5266
|
var VERSION = 3;
|
|
5267
5267
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
5268
5268
|
var SourceMapGenerator = class {
|
|
@@ -5391,7 +5391,7 @@ function toBase64Digit(value) {
|
|
|
5391
5391
|
return B64_DIGITS[value];
|
|
5392
5392
|
}
|
|
5393
5393
|
|
|
5394
|
-
// bazel-out/
|
|
5394
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
5395
5395
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
5396
5396
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
5397
5397
|
var _INDENT_WITH = " ";
|
|
@@ -5879,7 +5879,7 @@ function _createIndent(count) {
|
|
|
5879
5879
|
return res;
|
|
5880
5880
|
}
|
|
5881
5881
|
|
|
5882
|
-
// bazel-out/
|
|
5882
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
5883
5883
|
function typeWithParameters(type, numParams) {
|
|
5884
5884
|
if (numParams === 0) {
|
|
5885
5885
|
return expressionType(type);
|
|
@@ -5937,7 +5937,7 @@ function generateForwardRef(expr) {
|
|
|
5937
5937
|
return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
|
|
5938
5938
|
}
|
|
5939
5939
|
|
|
5940
|
-
// bazel-out/
|
|
5940
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
5941
5941
|
var R3FactoryDelegateType;
|
|
5942
5942
|
(function(R3FactoryDelegateType2) {
|
|
5943
5943
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -6082,7 +6082,7 @@ function getInjectFn(target) {
|
|
|
6082
6082
|
}
|
|
6083
6083
|
}
|
|
6084
6084
|
|
|
6085
|
-
// bazel-out/
|
|
6085
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
6086
6086
|
var ParserError = class {
|
|
6087
6087
|
constructor(message, input, errLocation, ctxLocation) {
|
|
6088
6088
|
this.input = input;
|
|
@@ -6520,7 +6520,7 @@ var BoundElementProperty = class {
|
|
|
6520
6520
|
}
|
|
6521
6521
|
};
|
|
6522
6522
|
|
|
6523
|
-
// bazel-out/
|
|
6523
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
6524
6524
|
var TagContentType;
|
|
6525
6525
|
(function(TagContentType2) {
|
|
6526
6526
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -6557,7 +6557,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
6557
6557
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
6558
6558
|
}
|
|
6559
6559
|
|
|
6560
|
-
// bazel-out/
|
|
6560
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
6561
6561
|
var Comment = class {
|
|
6562
6562
|
constructor(value, sourceSpan) {
|
|
6563
6563
|
this.value = value;
|
|
@@ -7027,7 +7027,7 @@ function visitAll(visitor, nodes) {
|
|
|
7027
7027
|
return result;
|
|
7028
7028
|
}
|
|
7029
7029
|
|
|
7030
|
-
// bazel-out/
|
|
7030
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
7031
7031
|
var Message = class {
|
|
7032
7032
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
7033
7033
|
this.nodes = nodes;
|
|
@@ -7218,7 +7218,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
7218
7218
|
}
|
|
7219
7219
|
};
|
|
7220
7220
|
|
|
7221
|
-
// bazel-out/
|
|
7221
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
|
|
7222
7222
|
var Serializer = class {
|
|
7223
7223
|
createNameMapper(message) {
|
|
7224
7224
|
return null;
|
|
@@ -7275,7 +7275,7 @@ var SimplePlaceholderMapper = class extends RecurseVisitor {
|
|
|
7275
7275
|
}
|
|
7276
7276
|
};
|
|
7277
7277
|
|
|
7278
|
-
// bazel-out/
|
|
7278
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
7279
7279
|
var _Visitor = class {
|
|
7280
7280
|
visitTag(tag) {
|
|
7281
7281
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -7363,7 +7363,7 @@ function escapeXml(text2) {
|
|
|
7363
7363
|
return _ESCAPED_CHARS.reduce((text3, entry) => text3.replace(entry[0], entry[1]), text2);
|
|
7364
7364
|
}
|
|
7365
7365
|
|
|
7366
|
-
// bazel-out/
|
|
7366
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
7367
7367
|
var _XMB_HANDLER = "angular";
|
|
7368
7368
|
var _MESSAGES_TAG = "messagebundle";
|
|
7369
7369
|
var _MESSAGE_TAG = "msg";
|
|
@@ -7525,7 +7525,7 @@ function toPublicName(internalName) {
|
|
|
7525
7525
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
7526
7526
|
}
|
|
7527
7527
|
|
|
7528
|
-
// bazel-out/
|
|
7528
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
7529
7529
|
var I18N_ATTR = "i18n";
|
|
7530
7530
|
var I18N_ATTR_PREFIX = "i18n-";
|
|
7531
7531
|
var I18N_ICU_VAR_PREFIX = "VAR_";
|
|
@@ -7565,7 +7565,7 @@ function formatI18nPlaceholderName(name, useCamelCase = true) {
|
|
|
7565
7565
|
return postfix ? `${raw}_${postfix}` : raw;
|
|
7566
7566
|
}
|
|
7567
7567
|
|
|
7568
|
-
// bazel-out/
|
|
7568
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
7569
7569
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
7570
7570
|
var TEMPORARY_NAME = "_t";
|
|
7571
7571
|
var CONTEXT_NAME = "ctx";
|
|
@@ -7692,7 +7692,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
|
|
|
7692
7692
|
return attributesMap;
|
|
7693
7693
|
}
|
|
7694
7694
|
|
|
7695
|
-
// bazel-out/
|
|
7695
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
7696
7696
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
7697
7697
|
let result = null;
|
|
7698
7698
|
const factoryMeta = {
|
|
@@ -7779,7 +7779,7 @@ function createFactoryFunction(type) {
|
|
|
7779
7779
|
return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
|
|
7780
7780
|
}
|
|
7781
7781
|
|
|
7782
|
-
// bazel-out/
|
|
7782
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
7783
7783
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
7784
7784
|
/@/,
|
|
7785
7785
|
/^\s*$/,
|
|
@@ -7802,7 +7802,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
7802
7802
|
}
|
|
7803
7803
|
}
|
|
7804
7804
|
|
|
7805
|
-
// bazel-out/
|
|
7805
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
|
|
7806
7806
|
var InterpolationConfig = class {
|
|
7807
7807
|
static fromArray(markers) {
|
|
7808
7808
|
if (!markers) {
|
|
@@ -7819,7 +7819,7 @@ var InterpolationConfig = class {
|
|
|
7819
7819
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
7820
7820
|
var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
|
|
7821
7821
|
|
|
7822
|
-
// bazel-out/
|
|
7822
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
7823
7823
|
var $EOF = 0;
|
|
7824
7824
|
var $BSPACE = 8;
|
|
7825
7825
|
var $TAB = 9;
|
|
@@ -7901,7 +7901,7 @@ function isQuote(code) {
|
|
|
7901
7901
|
return code === $SQ || code === $DQ || code === $BT;
|
|
7902
7902
|
}
|
|
7903
7903
|
|
|
7904
|
-
// bazel-out/
|
|
7904
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
7905
7905
|
var ParseLocation = class {
|
|
7906
7906
|
constructor(file, offset, line, col) {
|
|
7907
7907
|
this.file = file;
|
|
@@ -8048,7 +8048,7 @@ function sanitizeIdentifier(name) {
|
|
|
8048
8048
|
return name.replace(/\W/g, "_");
|
|
8049
8049
|
}
|
|
8050
8050
|
|
|
8051
|
-
// bazel-out/
|
|
8051
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
8052
8052
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
8053
8053
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
8054
8054
|
constructor() {
|
|
@@ -8141,7 +8141,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
8141
8141
|
}
|
|
8142
8142
|
};
|
|
8143
8143
|
|
|
8144
|
-
// bazel-out/
|
|
8144
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
8145
8145
|
var policy;
|
|
8146
8146
|
function getPolicy() {
|
|
8147
8147
|
if (policy === void 0) {
|
|
@@ -8179,7 +8179,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
8179
8179
|
return fn2.bind(_global);
|
|
8180
8180
|
}
|
|
8181
8181
|
|
|
8182
|
-
// bazel-out/
|
|
8182
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
8183
8183
|
var JitEvaluator = class {
|
|
8184
8184
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
8185
8185
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -8267,7 +8267,7 @@ function isUseStrictStatement(statement) {
|
|
|
8267
8267
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
8268
8268
|
}
|
|
8269
8269
|
|
|
8270
|
-
// bazel-out/
|
|
8270
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
8271
8271
|
function compileInjector(meta) {
|
|
8272
8272
|
const definitionMap = new DefinitionMap();
|
|
8273
8273
|
if (meta.providers !== null) {
|
|
@@ -8284,7 +8284,7 @@ function createInjectorType(meta) {
|
|
|
8284
8284
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
8285
8285
|
}
|
|
8286
8286
|
|
|
8287
|
-
// bazel-out/
|
|
8287
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
8288
8288
|
var R3JitReflector = class {
|
|
8289
8289
|
constructor(context) {
|
|
8290
8290
|
this.context = context;
|
|
@@ -8300,7 +8300,7 @@ var R3JitReflector = class {
|
|
|
8300
8300
|
}
|
|
8301
8301
|
};
|
|
8302
8302
|
|
|
8303
|
-
// bazel-out/
|
|
8303
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
8304
8304
|
var R3SelectorScopeMode;
|
|
8305
8305
|
(function(R3SelectorScopeMode2) {
|
|
8306
8306
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -8435,7 +8435,7 @@ function tupleOfTypes(types) {
|
|
|
8435
8435
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
8436
8436
|
}
|
|
8437
8437
|
|
|
8438
|
-
// bazel-out/
|
|
8438
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
8439
8439
|
function compilePipeFromMetadata(metadata) {
|
|
8440
8440
|
const definitionMapValues = [];
|
|
8441
8441
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -8456,7 +8456,7 @@ function createPipeType(metadata) {
|
|
|
8456
8456
|
]));
|
|
8457
8457
|
}
|
|
8458
8458
|
|
|
8459
|
-
// bazel-out/
|
|
8459
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
8460
8460
|
var R3TemplateDependencyKind;
|
|
8461
8461
|
(function(R3TemplateDependencyKind2) {
|
|
8462
8462
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -8464,7 +8464,7 @@ var R3TemplateDependencyKind;
|
|
|
8464
8464
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
8465
8465
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
8466
8466
|
|
|
8467
|
-
// bazel-out/
|
|
8467
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
8468
8468
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
8469
8469
|
"inherit",
|
|
8470
8470
|
"initial",
|
|
@@ -8944,7 +8944,7 @@ function repeatGroups(groups, multiples) {
|
|
|
8944
8944
|
}
|
|
8945
8945
|
}
|
|
8946
8946
|
|
|
8947
|
-
// bazel-out/
|
|
8947
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
8948
8948
|
var OpKind;
|
|
8949
8949
|
(function(OpKind2) {
|
|
8950
8950
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -9102,7 +9102,7 @@ var TemplateKind;
|
|
|
9102
9102
|
TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
|
|
9103
9103
|
})(TemplateKind || (TemplateKind = {}));
|
|
9104
9104
|
|
|
9105
|
-
// bazel-out/
|
|
9105
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
9106
9106
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
9107
9107
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
9108
9108
|
var ConsumesVarsTrait = Symbol("ConsumesVars");
|
|
@@ -9130,7 +9130,7 @@ function hasUsesVarOffsetTrait(expr) {
|
|
|
9130
9130
|
return expr[UsesVarOffset] === true;
|
|
9131
9131
|
}
|
|
9132
9132
|
|
|
9133
|
-
// bazel-out/
|
|
9133
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
9134
9134
|
function createStatementOp(statement) {
|
|
9135
9135
|
return __spreadValues({
|
|
9136
9136
|
kind: OpKind.Statement,
|
|
@@ -9152,7 +9152,7 @@ var NEW_OP = {
|
|
|
9152
9152
|
next: null
|
|
9153
9153
|
};
|
|
9154
9154
|
|
|
9155
|
-
// bazel-out/
|
|
9155
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
9156
9156
|
function createInterpolateTextOp(xref, interpolation, sourceSpan) {
|
|
9157
9157
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
9158
9158
|
kind: OpKind.InterpolateText,
|
|
@@ -9341,7 +9341,7 @@ function createStoreLetOp(target, declaredName, value, sourceSpan) {
|
|
|
9341
9341
|
}, TRAIT_DEPENDS_ON_SLOT_CONTEXT), TRAIT_CONSUMES_VARS), NEW_OP);
|
|
9342
9342
|
}
|
|
9343
9343
|
|
|
9344
|
-
// bazel-out/
|
|
9344
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
9345
9345
|
var _a;
|
|
9346
9346
|
var _b;
|
|
9347
9347
|
var _c;
|
|
@@ -10259,7 +10259,7 @@ function isStringLiteral(expr) {
|
|
|
10259
10259
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
10260
10260
|
}
|
|
10261
10261
|
|
|
10262
|
-
// bazel-out/
|
|
10262
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
10263
10263
|
var _OpList = class {
|
|
10264
10264
|
constructor() {
|
|
10265
10265
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -10450,14 +10450,14 @@ var OpList = _OpList;
|
|
|
10450
10450
|
_OpList.nextListId = 0;
|
|
10451
10451
|
})();
|
|
10452
10452
|
|
|
10453
|
-
// bazel-out/
|
|
10453
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
10454
10454
|
var SlotHandle = class {
|
|
10455
10455
|
constructor() {
|
|
10456
10456
|
this.slot = null;
|
|
10457
10457
|
}
|
|
10458
10458
|
};
|
|
10459
10459
|
|
|
10460
|
-
// bazel-out/
|
|
10460
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
10461
10461
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
10462
10462
|
OpKind.Element,
|
|
10463
10463
|
OpKind.ElementStart,
|
|
@@ -10770,7 +10770,7 @@ function createI18nAttributesOp(xref, handle, target) {
|
|
|
10770
10770
|
}, NEW_OP), TRAIT_CONSUMES_SLOT);
|
|
10771
10771
|
}
|
|
10772
10772
|
|
|
10773
|
-
// bazel-out/
|
|
10773
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
10774
10774
|
function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
|
|
10775
10775
|
return __spreadValues(__spreadValues({
|
|
10776
10776
|
kind: OpKind.HostProperty,
|
|
@@ -10784,10 +10784,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
|
|
|
10784
10784
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
10785
10785
|
}
|
|
10786
10786
|
|
|
10787
|
-
// bazel-out/
|
|
10787
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
10788
10788
|
var CTX_REF = "CTX_REF_MARKER";
|
|
10789
10789
|
|
|
10790
|
-
// bazel-out/
|
|
10790
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
10791
10791
|
var CompilationJobKind;
|
|
10792
10792
|
(function(CompilationJobKind2) {
|
|
10793
10793
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -10895,7 +10895,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
10895
10895
|
}
|
|
10896
10896
|
};
|
|
10897
10897
|
|
|
10898
|
-
// bazel-out/
|
|
10898
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
10899
10899
|
function deleteAnyCasts(job) {
|
|
10900
10900
|
for (const unit of job.units) {
|
|
10901
10901
|
for (const op of unit.ops()) {
|
|
@@ -10913,7 +10913,7 @@ function removeAnys(e) {
|
|
|
10913
10913
|
return e;
|
|
10914
10914
|
}
|
|
10915
10915
|
|
|
10916
|
-
// bazel-out/
|
|
10916
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
10917
10917
|
function applyI18nExpressions(job) {
|
|
10918
10918
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
10919
10919
|
for (const unit of job.units) {
|
|
@@ -10956,7 +10956,7 @@ function needsApplication(i18nContexts, op) {
|
|
|
10956
10956
|
return false;
|
|
10957
10957
|
}
|
|
10958
10958
|
|
|
10959
|
-
// bazel-out/
|
|
10959
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
10960
10960
|
function assignI18nSlotDependencies(job) {
|
|
10961
10961
|
for (const unit of job.units) {
|
|
10962
10962
|
let updateOp = unit.update.head;
|
|
@@ -11001,7 +11001,7 @@ function assignI18nSlotDependencies(job) {
|
|
|
11001
11001
|
}
|
|
11002
11002
|
}
|
|
11003
11003
|
|
|
11004
|
-
// bazel-out/
|
|
11004
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
11005
11005
|
function createOpXrefMap(unit) {
|
|
11006
11006
|
const map = /* @__PURE__ */ new Map();
|
|
11007
11007
|
for (const op of unit.create) {
|
|
@@ -11016,7 +11016,7 @@ function createOpXrefMap(unit) {
|
|
|
11016
11016
|
return map;
|
|
11017
11017
|
}
|
|
11018
11018
|
|
|
11019
|
-
// bazel-out/
|
|
11019
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
11020
11020
|
function extractAttributes(job) {
|
|
11021
11021
|
for (const unit of job.units) {
|
|
11022
11022
|
const elements = createOpXrefMap(unit);
|
|
@@ -11145,7 +11145,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
11145
11145
|
}
|
|
11146
11146
|
}
|
|
11147
11147
|
|
|
11148
|
-
// bazel-out/
|
|
11148
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
11149
11149
|
function lookupElement2(elements, xref) {
|
|
11150
11150
|
const el = elements.get(xref);
|
|
11151
11151
|
if (el === void 0) {
|
|
@@ -11202,7 +11202,7 @@ function specializeBindings(job) {
|
|
|
11202
11202
|
}
|
|
11203
11203
|
}
|
|
11204
11204
|
|
|
11205
|
-
// bazel-out/
|
|
11205
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
11206
11206
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
11207
11207
|
Identifiers.attribute,
|
|
11208
11208
|
Identifiers.classProp,
|
|
@@ -11271,7 +11271,7 @@ function chainOperationsInList(opList) {
|
|
|
11271
11271
|
}
|
|
11272
11272
|
}
|
|
11273
11273
|
|
|
11274
|
-
// bazel-out/
|
|
11274
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
11275
11275
|
function collapseSingletonInterpolations(job) {
|
|
11276
11276
|
for (const unit of job.units) {
|
|
11277
11277
|
for (const op of unit.update) {
|
|
@@ -11283,7 +11283,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
11283
11283
|
}
|
|
11284
11284
|
}
|
|
11285
11285
|
|
|
11286
|
-
// bazel-out/
|
|
11286
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
11287
11287
|
function generateConditionalExpressions(job) {
|
|
11288
11288
|
for (const unit of job.units) {
|
|
11289
11289
|
for (const op of unit.ops()) {
|
|
@@ -11320,7 +11320,7 @@ function generateConditionalExpressions(job) {
|
|
|
11320
11320
|
}
|
|
11321
11321
|
}
|
|
11322
11322
|
|
|
11323
|
-
// bazel-out/
|
|
11323
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
11324
11324
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
11325
11325
|
["&&", BinaryOperator.And],
|
|
11326
11326
|
[">", BinaryOperator.Bigger],
|
|
@@ -11377,7 +11377,7 @@ function literalOrArrayLiteral(value) {
|
|
|
11377
11377
|
return literal(value);
|
|
11378
11378
|
}
|
|
11379
11379
|
|
|
11380
|
-
// bazel-out/
|
|
11380
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
11381
11381
|
function collectElementConsts(job) {
|
|
11382
11382
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
11383
11383
|
for (const unit of job.units) {
|
|
@@ -11546,7 +11546,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
11546
11546
|
return literalArr(attrArray);
|
|
11547
11547
|
}
|
|
11548
11548
|
|
|
11549
|
-
// bazel-out/
|
|
11549
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
|
|
11550
11550
|
function convertI18nBindings(job) {
|
|
11551
11551
|
const i18nAttributesByElem = /* @__PURE__ */ new Map();
|
|
11552
11552
|
for (const unit of job.units) {
|
|
@@ -11587,7 +11587,7 @@ function convertI18nBindings(job) {
|
|
|
11587
11587
|
}
|
|
11588
11588
|
}
|
|
11589
11589
|
|
|
11590
|
-
// bazel-out/
|
|
11590
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
|
|
11591
11591
|
function resolveDeferDepsFns(job) {
|
|
11592
11592
|
var _a2;
|
|
11593
11593
|
for (const unit of job.units) {
|
|
@@ -11612,7 +11612,7 @@ function resolveDeferDepsFns(job) {
|
|
|
11612
11612
|
}
|
|
11613
11613
|
}
|
|
11614
11614
|
|
|
11615
|
-
// bazel-out/
|
|
11615
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
11616
11616
|
function createI18nContexts(job) {
|
|
11617
11617
|
const attrContextByMessage = /* @__PURE__ */ new Map();
|
|
11618
11618
|
for (const unit of job.units) {
|
|
@@ -11690,7 +11690,7 @@ function createI18nContexts(job) {
|
|
|
11690
11690
|
}
|
|
11691
11691
|
}
|
|
11692
11692
|
|
|
11693
|
-
// bazel-out/
|
|
11693
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
|
|
11694
11694
|
function deduplicateTextBindings(job) {
|
|
11695
11695
|
const seen = /* @__PURE__ */ new Map();
|
|
11696
11696
|
for (const unit of job.units) {
|
|
@@ -11712,7 +11712,7 @@ function deduplicateTextBindings(job) {
|
|
|
11712
11712
|
}
|
|
11713
11713
|
}
|
|
11714
11714
|
|
|
11715
|
-
// bazel-out/
|
|
11715
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
11716
11716
|
function configureDeferInstructions(job) {
|
|
11717
11717
|
for (const unit of job.units) {
|
|
11718
11718
|
for (const op of unit.create) {
|
|
@@ -11729,7 +11729,7 @@ function configureDeferInstructions(job) {
|
|
|
11729
11729
|
}
|
|
11730
11730
|
}
|
|
11731
11731
|
|
|
11732
|
-
// bazel-out/
|
|
11732
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
11733
11733
|
function resolveDeferTargetNames(job) {
|
|
11734
11734
|
const scopes = /* @__PURE__ */ new Map();
|
|
11735
11735
|
function getScopeForView2(view) {
|
|
@@ -11823,7 +11823,7 @@ var Scope = class {
|
|
|
11823
11823
|
}
|
|
11824
11824
|
};
|
|
11825
11825
|
|
|
11826
|
-
// bazel-out/
|
|
11826
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
11827
11827
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
11828
11828
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
11829
11829
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -11850,7 +11850,7 @@ function collapseEmptyInstructions(job) {
|
|
|
11850
11850
|
}
|
|
11851
11851
|
}
|
|
11852
11852
|
|
|
11853
|
-
// bazel-out/
|
|
11853
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
11854
11854
|
function expandSafeReads(job) {
|
|
11855
11855
|
for (const unit of job.units) {
|
|
11856
11856
|
for (const op of unit.ops()) {
|
|
@@ -11986,7 +11986,7 @@ function ternaryTransform(e) {
|
|
|
11986
11986
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
11987
11987
|
}
|
|
11988
11988
|
|
|
11989
|
-
// bazel-out/
|
|
11989
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
11990
11990
|
var ESCAPE = "\uFFFD";
|
|
11991
11991
|
var ELEMENT_MARKER = "#";
|
|
11992
11992
|
var TEMPLATE_MARKER = "*";
|
|
@@ -12122,7 +12122,7 @@ function formatValue(value) {
|
|
|
12122
12122
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
12123
12123
|
}
|
|
12124
12124
|
|
|
12125
|
-
// bazel-out/
|
|
12125
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
12126
12126
|
function generateAdvance(job) {
|
|
12127
12127
|
for (const unit of job.units) {
|
|
12128
12128
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -12165,7 +12165,7 @@ function generateAdvance(job) {
|
|
|
12165
12165
|
}
|
|
12166
12166
|
}
|
|
12167
12167
|
|
|
12168
|
-
// bazel-out/
|
|
12168
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
12169
12169
|
function generateProjectionDefs(job) {
|
|
12170
12170
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
12171
12171
|
const selectors = [];
|
|
@@ -12189,7 +12189,7 @@ function generateProjectionDefs(job) {
|
|
|
12189
12189
|
}
|
|
12190
12190
|
}
|
|
12191
12191
|
|
|
12192
|
-
// bazel-out/
|
|
12192
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
12193
12193
|
function generateVariables(job) {
|
|
12194
12194
|
recursivelyProcessView(job.root, null);
|
|
12195
12195
|
}
|
|
@@ -12237,7 +12237,8 @@ function getScopeForView(view, parent) {
|
|
|
12237
12237
|
scope.contextVariables.set(identifier, {
|
|
12238
12238
|
kind: SemanticVariableKind.Identifier,
|
|
12239
12239
|
name: null,
|
|
12240
|
-
identifier
|
|
12240
|
+
identifier,
|
|
12241
|
+
local: false
|
|
12241
12242
|
});
|
|
12242
12243
|
}
|
|
12243
12244
|
for (const op of view.create) {
|
|
@@ -12256,7 +12257,8 @@ function getScopeForView(view, parent) {
|
|
|
12256
12257
|
variable: {
|
|
12257
12258
|
kind: SemanticVariableKind.Identifier,
|
|
12258
12259
|
name: null,
|
|
12259
|
-
identifier: op.localRefs[offset].name
|
|
12260
|
+
identifier: op.localRefs[offset].name,
|
|
12261
|
+
local: false
|
|
12260
12262
|
}
|
|
12261
12263
|
});
|
|
12262
12264
|
}
|
|
@@ -12268,7 +12270,8 @@ function getScopeForView(view, parent) {
|
|
|
12268
12270
|
variable: {
|
|
12269
12271
|
kind: SemanticVariableKind.Identifier,
|
|
12270
12272
|
name: null,
|
|
12271
|
-
identifier: op.declaredName
|
|
12273
|
+
identifier: op.declaredName,
|
|
12274
|
+
local: false
|
|
12272
12275
|
}
|
|
12273
12276
|
});
|
|
12274
12277
|
break;
|
|
@@ -12304,7 +12307,7 @@ function generateVariablesInScopeForView(view, scope, isListener) {
|
|
|
12304
12307
|
return newOps;
|
|
12305
12308
|
}
|
|
12306
12309
|
|
|
12307
|
-
// bazel-out/
|
|
12310
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
12308
12311
|
function collectConstExpressions(job) {
|
|
12309
12312
|
for (const unit of job.units) {
|
|
12310
12313
|
for (const op of unit.ops()) {
|
|
@@ -12318,7 +12321,7 @@ function collectConstExpressions(job) {
|
|
|
12318
12321
|
}
|
|
12319
12322
|
}
|
|
12320
12323
|
|
|
12321
|
-
// bazel-out/
|
|
12324
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
12322
12325
|
var STYLE_DOT = "style.";
|
|
12323
12326
|
var CLASS_DOT = "class.";
|
|
12324
12327
|
var STYLE_BANG = "style!";
|
|
@@ -12376,7 +12379,7 @@ function parseProperty(name) {
|
|
|
12376
12379
|
return { property: property2, suffix };
|
|
12377
12380
|
}
|
|
12378
12381
|
|
|
12379
|
-
// bazel-out/
|
|
12382
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
12380
12383
|
function mapLiteral(obj, quoted = false) {
|
|
12381
12384
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
12382
12385
|
key,
|
|
@@ -12385,7 +12388,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
12385
12388
|
})));
|
|
12386
12389
|
}
|
|
12387
12390
|
|
|
12388
|
-
// bazel-out/
|
|
12391
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
12389
12392
|
var IcuSerializerVisitor = class {
|
|
12390
12393
|
visitText(text2) {
|
|
12391
12394
|
return text2.value;
|
|
@@ -12419,7 +12422,7 @@ function serializeIcuNode(icu) {
|
|
|
12419
12422
|
return icu.visit(serializer);
|
|
12420
12423
|
}
|
|
12421
12424
|
|
|
12422
|
-
// bazel-out/
|
|
12425
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
12423
12426
|
var TokenType;
|
|
12424
12427
|
(function(TokenType2) {
|
|
12425
12428
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -12780,7 +12783,7 @@ function parseIntAutoRadix(text2) {
|
|
|
12780
12783
|
return result;
|
|
12781
12784
|
}
|
|
12782
12785
|
|
|
12783
|
-
// bazel-out/
|
|
12786
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
12784
12787
|
var SplitInterpolation = class {
|
|
12785
12788
|
constructor(strings, expressions, offsets) {
|
|
12786
12789
|
this.strings = strings;
|
|
@@ -13664,7 +13667,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
13664
13667
|
return offsetMap;
|
|
13665
13668
|
}
|
|
13666
13669
|
|
|
13667
|
-
// bazel-out/
|
|
13670
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
13668
13671
|
var NodeWithI18n = class {
|
|
13669
13672
|
constructor(sourceSpan, i18n2) {
|
|
13670
13673
|
this.sourceSpan = sourceSpan;
|
|
@@ -13787,7 +13790,7 @@ function visitAll2(visitor, nodes, context = null) {
|
|
|
13787
13790
|
return result;
|
|
13788
13791
|
}
|
|
13789
13792
|
|
|
13790
|
-
// bazel-out/
|
|
13793
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
13791
13794
|
var _SECURITY_SCHEMA;
|
|
13792
13795
|
function SECURITY_SCHEMA() {
|
|
13793
13796
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -13848,11 +13851,11 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
13848
13851
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
13849
13852
|
}
|
|
13850
13853
|
|
|
13851
|
-
// bazel-out/
|
|
13854
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
13852
13855
|
var ElementSchemaRegistry = class {
|
|
13853
13856
|
};
|
|
13854
13857
|
|
|
13855
|
-
// bazel-out/
|
|
13858
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
13856
13859
|
var BOOLEAN = "boolean";
|
|
13857
13860
|
var NUMBER = "number";
|
|
13858
13861
|
var STRING = "string";
|
|
@@ -14235,7 +14238,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
14235
14238
|
}
|
|
14236
14239
|
}
|
|
14237
14240
|
|
|
14238
|
-
// bazel-out/
|
|
14241
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
14239
14242
|
var HtmlTagDefinition = class {
|
|
14240
14243
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
14241
14244
|
this.closedByChildren = {};
|
|
@@ -14371,7 +14374,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
14371
14374
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
14372
14375
|
}
|
|
14373
14376
|
|
|
14374
|
-
// bazel-out/
|
|
14377
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
14375
14378
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
14376
14379
|
"A": "LINK",
|
|
14377
14380
|
"B": "BOLD_TEXT",
|
|
@@ -14493,7 +14496,7 @@ var PlaceholderRegistry = class {
|
|
|
14493
14496
|
}
|
|
14494
14497
|
};
|
|
14495
14498
|
|
|
14496
|
-
// bazel-out/
|
|
14499
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
14497
14500
|
var _expParser = new Parser(new Lexer());
|
|
14498
14501
|
function createI18nMessageFactory(interpolationConfig, containerBlocks) {
|
|
14499
14502
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
|
|
@@ -14675,14 +14678,14 @@ function extractPlaceholderName(input) {
|
|
|
14675
14678
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
14676
14679
|
}
|
|
14677
14680
|
|
|
14678
|
-
// bazel-out/
|
|
14681
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
14679
14682
|
var I18nError = class extends ParseError {
|
|
14680
14683
|
constructor(span, msg) {
|
|
14681
14684
|
super(span, msg);
|
|
14682
14685
|
}
|
|
14683
14686
|
};
|
|
14684
14687
|
|
|
14685
|
-
// bazel-out/
|
|
14688
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
14686
14689
|
var NAMED_ENTITIES = {
|
|
14687
14690
|
"AElig": "\xC6",
|
|
14688
14691
|
"AMP": "&",
|
|
@@ -16813,7 +16816,7 @@ var NAMED_ENTITIES = {
|
|
|
16813
16816
|
var NGSP_UNICODE = "\uE500";
|
|
16814
16817
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
16815
16818
|
|
|
16816
|
-
// bazel-out/
|
|
16819
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
16817
16820
|
var TokenError = class extends ParseError {
|
|
16818
16821
|
constructor(errorMsg, tokenType, span) {
|
|
16819
16822
|
super(span, errorMsg);
|
|
@@ -17025,7 +17028,7 @@ var _Tokenizer = class {
|
|
|
17025
17028
|
const nameCursor = this._cursor.clone();
|
|
17026
17029
|
let allowDigit = false;
|
|
17027
17030
|
this._attemptCharCodeUntilFn((code) => {
|
|
17028
|
-
if (isAsciiLetter(code) || code === $_ || allowDigit && isDigit(code)) {
|
|
17031
|
+
if (isAsciiLetter(code) || code == $$ || code === $_ || allowDigit && isDigit(code)) {
|
|
17029
17032
|
allowDigit = true;
|
|
17030
17033
|
return false;
|
|
17031
17034
|
}
|
|
@@ -17803,7 +17806,7 @@ var CursorError = class {
|
|
|
17803
17806
|
}
|
|
17804
17807
|
};
|
|
17805
17808
|
|
|
17806
|
-
// bazel-out/
|
|
17809
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
17807
17810
|
var TreeError = class extends ParseError {
|
|
17808
17811
|
static create(elementName, span, msg) {
|
|
17809
17812
|
return new TreeError(elementName, span, msg);
|
|
@@ -18231,7 +18234,7 @@ function decodeEntity(match, entity) {
|
|
|
18231
18234
|
return match;
|
|
18232
18235
|
}
|
|
18233
18236
|
|
|
18234
|
-
// bazel-out/
|
|
18237
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
18235
18238
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
18236
18239
|
"iframe|srcdoc",
|
|
18237
18240
|
"*|innerhtml",
|
|
@@ -18246,7 +18249,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
18246
18249
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
18247
18250
|
}
|
|
18248
18251
|
|
|
18249
|
-
// bazel-out/
|
|
18252
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
18250
18253
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
18251
18254
|
if (htmlNode instanceof NodeWithI18n) {
|
|
18252
18255
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -18406,7 +18409,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
18406
18409
|
return jsDocComment(tags);
|
|
18407
18410
|
}
|
|
18408
18411
|
|
|
18409
|
-
// bazel-out/
|
|
18412
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
18410
18413
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
18411
18414
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
18412
18415
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -18457,7 +18460,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
18457
18460
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
18458
18461
|
}
|
|
18459
18462
|
|
|
18460
|
-
// bazel-out/
|
|
18463
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
18461
18464
|
function createLocalizeStatements(variable2, message, params) {
|
|
18462
18465
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
18463
18466
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -18546,7 +18549,7 @@ function createEmptyMessagePart(location) {
|
|
|
18546
18549
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
18547
18550
|
}
|
|
18548
18551
|
|
|
18549
|
-
// bazel-out/
|
|
18552
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
18550
18553
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
18551
18554
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
18552
18555
|
var I18N_ICU_MAPPING_PREFIX = "I18N_EXP_";
|
|
@@ -18717,7 +18720,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
18717
18720
|
return variable(name);
|
|
18718
18721
|
}
|
|
18719
18722
|
|
|
18720
|
-
// bazel-out/
|
|
18723
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
18721
18724
|
function convertI18nText(job) {
|
|
18722
18725
|
var _a2, _b2, _c2;
|
|
18723
18726
|
for (const unit of job.units) {
|
|
@@ -18787,7 +18790,7 @@ function convertI18nText(job) {
|
|
|
18787
18790
|
}
|
|
18788
18791
|
}
|
|
18789
18792
|
|
|
18790
|
-
// bazel-out/
|
|
18793
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
18791
18794
|
function liftLocalRefs(job) {
|
|
18792
18795
|
for (const unit of job.units) {
|
|
18793
18796
|
for (const op of unit.create) {
|
|
@@ -18817,7 +18820,7 @@ function serializeLocalRefs(refs) {
|
|
|
18817
18820
|
return literalArr(constRefs);
|
|
18818
18821
|
}
|
|
18819
18822
|
|
|
18820
|
-
// bazel-out/
|
|
18823
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
18821
18824
|
function emitNamespaceChanges(job) {
|
|
18822
18825
|
for (const unit of job.units) {
|
|
18823
18826
|
let activeNamespace = Namespace.HTML;
|
|
@@ -18833,7 +18836,7 @@ function emitNamespaceChanges(job) {
|
|
|
18833
18836
|
}
|
|
18834
18837
|
}
|
|
18835
18838
|
|
|
18836
|
-
// bazel-out/
|
|
18839
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
18837
18840
|
function parse(value) {
|
|
18838
18841
|
const styles = [];
|
|
18839
18842
|
let i = 0;
|
|
@@ -18927,7 +18930,7 @@ function parseExtractedStyles(job) {
|
|
|
18927
18930
|
}
|
|
18928
18931
|
}
|
|
18929
18932
|
|
|
18930
|
-
// bazel-out/
|
|
18933
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
18931
18934
|
function nameFunctionsAndVariables(job) {
|
|
18932
18935
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
18933
18936
|
}
|
|
@@ -19071,7 +19074,7 @@ function stripImportant(name) {
|
|
|
19071
19074
|
return name;
|
|
19072
19075
|
}
|
|
19073
19076
|
|
|
19074
|
-
// bazel-out/
|
|
19077
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
19075
19078
|
function mergeNextContextExpressions(job) {
|
|
19076
19079
|
for (const unit of job.units) {
|
|
19077
19080
|
for (const op of unit.create) {
|
|
@@ -19118,7 +19121,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
19118
19121
|
}
|
|
19119
19122
|
}
|
|
19120
19123
|
|
|
19121
|
-
// bazel-out/
|
|
19124
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
19122
19125
|
var CONTAINER_TAG = "ng-container";
|
|
19123
19126
|
function generateNgContainerOps(job) {
|
|
19124
19127
|
for (const unit of job.units) {
|
|
@@ -19135,7 +19138,7 @@ function generateNgContainerOps(job) {
|
|
|
19135
19138
|
}
|
|
19136
19139
|
}
|
|
19137
19140
|
|
|
19138
|
-
// bazel-out/
|
|
19141
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
19139
19142
|
function lookupElement3(elements, xref) {
|
|
19140
19143
|
const el = elements.get(xref);
|
|
19141
19144
|
if (el === void 0) {
|
|
@@ -19165,7 +19168,7 @@ function disableBindings(job) {
|
|
|
19165
19168
|
}
|
|
19166
19169
|
}
|
|
19167
19170
|
|
|
19168
|
-
// bazel-out/
|
|
19171
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
19169
19172
|
function generateNullishCoalesceExpressions(job) {
|
|
19170
19173
|
for (const unit of job.units) {
|
|
19171
19174
|
for (const op of unit.ops()) {
|
|
@@ -19181,7 +19184,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
19181
19184
|
}
|
|
19182
19185
|
}
|
|
19183
19186
|
|
|
19184
|
-
// bazel-out/
|
|
19187
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
19185
19188
|
function kindTest(kind) {
|
|
19186
19189
|
return (op) => op.kind === kind;
|
|
19187
19190
|
}
|
|
@@ -19271,7 +19274,7 @@ function keepLast(ops) {
|
|
|
19271
19274
|
return ops.slice(ops.length - 1);
|
|
19272
19275
|
}
|
|
19273
19276
|
|
|
19274
|
-
// bazel-out/
|
|
19277
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
19275
19278
|
function removeContentSelectors(job) {
|
|
19276
19279
|
for (const unit of job.units) {
|
|
19277
19280
|
const elements = createOpXrefMap(unit);
|
|
@@ -19298,7 +19301,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
19298
19301
|
return el;
|
|
19299
19302
|
}
|
|
19300
19303
|
|
|
19301
|
-
// bazel-out/
|
|
19304
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
19302
19305
|
function createPipes(job) {
|
|
19303
19306
|
for (const unit of job.units) {
|
|
19304
19307
|
processPipeBindingsInView(unit);
|
|
@@ -19346,7 +19349,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
19346
19349
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
19347
19350
|
}
|
|
19348
19351
|
|
|
19349
|
-
// bazel-out/
|
|
19352
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
19350
19353
|
function createVariadicPipes(job) {
|
|
19351
19354
|
for (const unit of job.units) {
|
|
19352
19355
|
for (const op of unit.update) {
|
|
@@ -19363,7 +19366,7 @@ function createVariadicPipes(job) {
|
|
|
19363
19366
|
}
|
|
19364
19367
|
}
|
|
19365
19368
|
|
|
19366
|
-
// bazel-out/
|
|
19369
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
19367
19370
|
function propagateI18nBlocks(job) {
|
|
19368
19371
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
19369
19372
|
}
|
|
@@ -19417,7 +19420,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
19417
19420
|
}
|
|
19418
19421
|
}
|
|
19419
19422
|
|
|
19420
|
-
// bazel-out/
|
|
19423
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
19421
19424
|
function extractPureFunctions(job) {
|
|
19422
19425
|
for (const view of job.units) {
|
|
19423
19426
|
for (const op of view.ops()) {
|
|
@@ -19459,7 +19462,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
19459
19462
|
}
|
|
19460
19463
|
};
|
|
19461
19464
|
|
|
19462
|
-
// bazel-out/
|
|
19465
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
19463
19466
|
function generatePureLiteralStructures(job) {
|
|
19464
19467
|
for (const unit of job.units) {
|
|
19465
19468
|
for (const op of unit.update) {
|
|
@@ -19506,7 +19509,7 @@ function transformLiteralMap(expr) {
|
|
|
19506
19509
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
19507
19510
|
}
|
|
19508
19511
|
|
|
19509
|
-
// bazel-out/
|
|
19512
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
19510
19513
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
19511
19514
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
19512
19515
|
}
|
|
@@ -20038,7 +20041,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
20038
20041
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
20039
20042
|
}
|
|
20040
20043
|
|
|
20041
|
-
// bazel-out/
|
|
20044
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
20042
20045
|
var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
|
|
20043
20046
|
["window", Identifiers.resolveWindow],
|
|
20044
20047
|
["document", Identifiers.resolveDocument],
|
|
@@ -20403,7 +20406,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
20403
20406
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
20404
20407
|
}
|
|
20405
20408
|
|
|
20406
|
-
// bazel-out/
|
|
20409
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
20407
20410
|
function removeEmptyBindings(job) {
|
|
20408
20411
|
for (const unit of job.units) {
|
|
20409
20412
|
for (const op of unit.update) {
|
|
@@ -20424,7 +20427,7 @@ function removeEmptyBindings(job) {
|
|
|
20424
20427
|
}
|
|
20425
20428
|
}
|
|
20426
20429
|
|
|
20427
|
-
// bazel-out/
|
|
20430
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
20428
20431
|
function removeI18nContexts(job) {
|
|
20429
20432
|
for (const unit of job.units) {
|
|
20430
20433
|
for (const op of unit.create) {
|
|
@@ -20440,7 +20443,7 @@ function removeI18nContexts(job) {
|
|
|
20440
20443
|
}
|
|
20441
20444
|
}
|
|
20442
20445
|
|
|
20443
|
-
// bazel-out/
|
|
20446
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
|
|
20444
20447
|
function removeUnusedI18nAttributesOps(job) {
|
|
20445
20448
|
for (const unit of job.units) {
|
|
20446
20449
|
const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
|
|
@@ -20462,7 +20465,7 @@ function removeUnusedI18nAttributesOps(job) {
|
|
|
20462
20465
|
}
|
|
20463
20466
|
}
|
|
20464
20467
|
|
|
20465
|
-
// bazel-out/
|
|
20468
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
20466
20469
|
function resolveContexts(job) {
|
|
20467
20470
|
for (const unit of job.units) {
|
|
20468
20471
|
processLexicalScope(unit, unit.create);
|
|
@@ -20504,7 +20507,7 @@ function processLexicalScope(view, ops) {
|
|
|
20504
20507
|
}
|
|
20505
20508
|
}
|
|
20506
20509
|
|
|
20507
|
-
// bazel-out/
|
|
20510
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
20508
20511
|
function resolveDollarEvent(job) {
|
|
20509
20512
|
for (const unit of job.units) {
|
|
20510
20513
|
transformDollarEvent(unit.create);
|
|
@@ -20527,7 +20530,7 @@ function transformDollarEvent(ops) {
|
|
|
20527
20530
|
}
|
|
20528
20531
|
}
|
|
20529
20532
|
|
|
20530
|
-
// bazel-out/
|
|
20533
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
20531
20534
|
function resolveI18nElementPlaceholders(job) {
|
|
20532
20535
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
20533
20536
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -20706,7 +20709,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
20706
20709
|
params.set(placeholder, values);
|
|
20707
20710
|
}
|
|
20708
20711
|
|
|
20709
|
-
// bazel-out/
|
|
20712
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
20710
20713
|
function resolveI18nExpressionPlaceholders(job) {
|
|
20711
20714
|
var _a2;
|
|
20712
20715
|
const subTemplateIndices = /* @__PURE__ */ new Map();
|
|
@@ -20759,7 +20762,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
|
|
|
20759
20762
|
}
|
|
20760
20763
|
}
|
|
20761
20764
|
|
|
20762
|
-
// bazel-out/
|
|
20765
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
20763
20766
|
function resolveNames(job) {
|
|
20764
20767
|
for (const unit of job.units) {
|
|
20765
20768
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -20768,11 +20771,22 @@ function resolveNames(job) {
|
|
|
20768
20771
|
}
|
|
20769
20772
|
function processLexicalScope2(unit, ops, savedView) {
|
|
20770
20773
|
const scope = /* @__PURE__ */ new Map();
|
|
20774
|
+
const localDefinitions = /* @__PURE__ */ new Map();
|
|
20771
20775
|
for (const op of ops) {
|
|
20772
20776
|
switch (op.kind) {
|
|
20773
20777
|
case OpKind.Variable:
|
|
20774
20778
|
switch (op.variable.kind) {
|
|
20775
20779
|
case SemanticVariableKind.Identifier:
|
|
20780
|
+
if (op.variable.local) {
|
|
20781
|
+
if (localDefinitions.has(op.variable.identifier)) {
|
|
20782
|
+
continue;
|
|
20783
|
+
}
|
|
20784
|
+
localDefinitions.set(op.variable.identifier, op.xref);
|
|
20785
|
+
} else if (scope.has(op.variable.identifier)) {
|
|
20786
|
+
continue;
|
|
20787
|
+
}
|
|
20788
|
+
scope.set(op.variable.identifier, op.xref);
|
|
20789
|
+
break;
|
|
20776
20790
|
case SemanticVariableKind.Alias:
|
|
20777
20791
|
if (scope.has(op.variable.identifier)) {
|
|
20778
20792
|
continue;
|
|
@@ -20799,7 +20813,9 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
20799
20813
|
}
|
|
20800
20814
|
transformExpressionsInOp(op, (expr) => {
|
|
20801
20815
|
if (expr instanceof LexicalReadExpr) {
|
|
20802
|
-
if (
|
|
20816
|
+
if (localDefinitions.has(expr.name)) {
|
|
20817
|
+
return new ReadVariableExpr(localDefinitions.get(expr.name));
|
|
20818
|
+
} else if (scope.has(expr.name)) {
|
|
20803
20819
|
return new ReadVariableExpr(scope.get(expr.name));
|
|
20804
20820
|
} else {
|
|
20805
20821
|
return new ReadPropExpr(new ContextExpr(unit.job.root.xref), expr.name);
|
|
@@ -20824,7 +20840,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
20824
20840
|
}
|
|
20825
20841
|
}
|
|
20826
20842
|
|
|
20827
|
-
// bazel-out/
|
|
20843
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
20828
20844
|
var sanitizerFns = /* @__PURE__ */ new Map([
|
|
20829
20845
|
[SecurityContext.HTML, Identifiers.sanitizeHtml],
|
|
20830
20846
|
[SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
|
|
@@ -20894,7 +20910,7 @@ function getOnlySecurityContext(securityContext) {
|
|
|
20894
20910
|
return securityContext;
|
|
20895
20911
|
}
|
|
20896
20912
|
|
|
20897
|
-
// bazel-out/
|
|
20913
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
|
|
20898
20914
|
function transformTwoWayBindingSet(job) {
|
|
20899
20915
|
for (const unit of job.units) {
|
|
20900
20916
|
for (const op of unit.create) {
|
|
@@ -20917,7 +20933,7 @@ function transformTwoWayBindingSet(job) {
|
|
|
20917
20933
|
}
|
|
20918
20934
|
}
|
|
20919
20935
|
|
|
20920
|
-
// bazel-out/
|
|
20936
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
20921
20937
|
function saveAndRestoreView(job) {
|
|
20922
20938
|
for (const unit of job.units) {
|
|
20923
20939
|
unit.create.prepend([
|
|
@@ -20962,7 +20978,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
20962
20978
|
}
|
|
20963
20979
|
}
|
|
20964
20980
|
|
|
20965
|
-
// bazel-out/
|
|
20981
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
20966
20982
|
function allocateSlots(job) {
|
|
20967
20983
|
const slotMap = /* @__PURE__ */ new Map();
|
|
20968
20984
|
for (const unit of job.units) {
|
|
@@ -20987,7 +21003,7 @@ function allocateSlots(job) {
|
|
|
20987
21003
|
}
|
|
20988
21004
|
}
|
|
20989
21005
|
|
|
20990
|
-
// bazel-out/
|
|
21006
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
20991
21007
|
function specializeStyleBindings(job) {
|
|
20992
21008
|
for (const unit of job.units) {
|
|
20993
21009
|
for (const op of unit.update) {
|
|
@@ -21017,7 +21033,7 @@ function specializeStyleBindings(job) {
|
|
|
21017
21033
|
}
|
|
21018
21034
|
}
|
|
21019
21035
|
|
|
21020
|
-
// bazel-out/
|
|
21036
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
21021
21037
|
function generateTemporaryVariables(job) {
|
|
21022
21038
|
for (const unit of job.units) {
|
|
21023
21039
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -21075,7 +21091,7 @@ function assignName(names, expr) {
|
|
|
21075
21091
|
expr.name = name;
|
|
21076
21092
|
}
|
|
21077
21093
|
|
|
21078
|
-
// bazel-out/
|
|
21094
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
21079
21095
|
function generateTrackFns(job) {
|
|
21080
21096
|
for (const unit of job.units) {
|
|
21081
21097
|
for (const op of unit.create) {
|
|
@@ -21108,7 +21124,7 @@ function generateTrackFns(job) {
|
|
|
21108
21124
|
}
|
|
21109
21125
|
}
|
|
21110
21126
|
|
|
21111
|
-
// bazel-out/
|
|
21127
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
21112
21128
|
function optimizeTrackFns(job) {
|
|
21113
21129
|
for (const unit of job.units) {
|
|
21114
21130
|
for (const op of unit.create) {
|
|
@@ -21158,7 +21174,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
21158
21174
|
return true;
|
|
21159
21175
|
}
|
|
21160
21176
|
|
|
21161
|
-
// bazel-out/
|
|
21177
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
21162
21178
|
function generateTrackVariables(job) {
|
|
21163
21179
|
for (const unit of job.units) {
|
|
21164
21180
|
for (const op of unit.create) {
|
|
@@ -21179,7 +21195,7 @@ function generateTrackVariables(job) {
|
|
|
21179
21195
|
}
|
|
21180
21196
|
}
|
|
21181
21197
|
|
|
21182
|
-
// bazel-out/
|
|
21198
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
21183
21199
|
function countVariables(job) {
|
|
21184
21200
|
for (const unit of job.units) {
|
|
21185
21201
|
let varCount = 0;
|
|
@@ -21292,7 +21308,7 @@ function isSingletonInterpolation(expr) {
|
|
|
21292
21308
|
return true;
|
|
21293
21309
|
}
|
|
21294
21310
|
|
|
21295
|
-
// bazel-out/
|
|
21311
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
21296
21312
|
function optimizeVariables(job) {
|
|
21297
21313
|
for (const unit of job.units) {
|
|
21298
21314
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -21544,7 +21560,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
21544
21560
|
}
|
|
21545
21561
|
}
|
|
21546
21562
|
|
|
21547
|
-
// bazel-out/
|
|
21563
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
21548
21564
|
function wrapI18nIcus(job) {
|
|
21549
21565
|
for (const unit of job.units) {
|
|
21550
21566
|
let currentI18nOp = null;
|
|
@@ -21574,7 +21590,7 @@ function wrapI18nIcus(job) {
|
|
|
21574
21590
|
}
|
|
21575
21591
|
}
|
|
21576
21592
|
|
|
21577
|
-
// bazel-out/
|
|
21593
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/store_let_optimization.mjs
|
|
21578
21594
|
function optimizeStoreLet(job) {
|
|
21579
21595
|
const letUsedExternally = /* @__PURE__ */ new Set();
|
|
21580
21596
|
for (const unit of job.units) {
|
|
@@ -21593,7 +21609,7 @@ function optimizeStoreLet(job) {
|
|
|
21593
21609
|
}
|
|
21594
21610
|
}
|
|
21595
21611
|
|
|
21596
|
-
// bazel-out/
|
|
21612
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_illegal_let_references.mjs
|
|
21597
21613
|
function removeIllegalLetReferences(job) {
|
|
21598
21614
|
for (const unit of job.units) {
|
|
21599
21615
|
for (const op of unit.update) {
|
|
@@ -21610,7 +21626,7 @@ function removeIllegalLetReferences(job) {
|
|
|
21610
21626
|
}
|
|
21611
21627
|
}
|
|
21612
21628
|
|
|
21613
|
-
// bazel-out/
|
|
21629
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_local_let_references.mjs
|
|
21614
21630
|
function generateLocalLetReferences(job) {
|
|
21615
21631
|
for (const unit of job.units) {
|
|
21616
21632
|
for (const op of unit.update) {
|
|
@@ -21620,14 +21636,15 @@ function generateLocalLetReferences(job) {
|
|
|
21620
21636
|
const variable2 = {
|
|
21621
21637
|
kind: SemanticVariableKind.Identifier,
|
|
21622
21638
|
name: null,
|
|
21623
|
-
identifier: op.declaredName
|
|
21639
|
+
identifier: op.declaredName,
|
|
21640
|
+
local: true
|
|
21624
21641
|
};
|
|
21625
21642
|
OpList.replace(op, createVariableOp(job.allocateXrefId(), variable2, new StoreLetExpr(op.target, op.value, op.sourceSpan), VariableFlags.None));
|
|
21626
21643
|
}
|
|
21627
21644
|
}
|
|
21628
21645
|
}
|
|
21629
21646
|
|
|
21630
|
-
// bazel-out/
|
|
21647
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
21631
21648
|
var phases = [
|
|
21632
21649
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
21633
21650
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -21784,7 +21801,7 @@ function emitHostBindingFunction(job) {
|
|
|
21784
21801
|
);
|
|
21785
21802
|
}
|
|
21786
21803
|
|
|
21787
|
-
// bazel-out/
|
|
21804
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
21788
21805
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
21789
21806
|
var domSchema = new DomElementSchemaRegistry();
|
|
21790
21807
|
var NG_TEMPLATE_TAG_NAME = "ng-template";
|
|
@@ -22542,7 +22559,7 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
22542
22559
|
return null;
|
|
22543
22560
|
}
|
|
22544
22561
|
|
|
22545
|
-
// bazel-out/
|
|
22562
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
|
|
22546
22563
|
function renderFlagCheckIfStmt(flags, statements) {
|
|
22547
22564
|
return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
|
|
22548
22565
|
}
|
|
@@ -22662,7 +22679,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
|
|
|
22662
22679
|
], INFERRED_TYPE, null, contentQueriesFnName);
|
|
22663
22680
|
}
|
|
22664
22681
|
|
|
22665
|
-
// bazel-out/
|
|
22682
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
22666
22683
|
var HtmlParser = class extends Parser2 {
|
|
22667
22684
|
constructor() {
|
|
22668
22685
|
super(getHtmlTagDefinition);
|
|
@@ -22672,7 +22689,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
22672
22689
|
}
|
|
22673
22690
|
};
|
|
22674
22691
|
|
|
22675
|
-
// bazel-out/
|
|
22692
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
22676
22693
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
22677
22694
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
22678
22695
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -22741,7 +22758,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
22741
22758
|
return result;
|
|
22742
22759
|
}
|
|
22743
22760
|
|
|
22744
|
-
// bazel-out/
|
|
22761
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
22745
22762
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
22746
22763
|
var ATTRIBUTE_PREFIX = "attr";
|
|
22747
22764
|
var CLASS_PREFIX = "class";
|
|
@@ -23095,7 +23112,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
23095
23112
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
23096
23113
|
}
|
|
23097
23114
|
|
|
23098
|
-
// bazel-out/
|
|
23115
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
23099
23116
|
function isStyleUrlResolvable(url) {
|
|
23100
23117
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
23101
23118
|
return false;
|
|
@@ -23104,7 +23121,7 @@ function isStyleUrlResolvable(url) {
|
|
|
23104
23121
|
}
|
|
23105
23122
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
23106
23123
|
|
|
23107
|
-
// bazel-out/
|
|
23124
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
23108
23125
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
23109
23126
|
var LINK_ELEMENT = "link";
|
|
23110
23127
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -23174,7 +23191,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
23174
23191
|
return selectAttr;
|
|
23175
23192
|
}
|
|
23176
23193
|
|
|
23177
|
-
// bazel-out/
|
|
23194
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
23178
23195
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
23179
23196
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
23180
23197
|
var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
|
|
@@ -23497,7 +23514,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
23497
23514
|
return expression.slice(start, end);
|
|
23498
23515
|
}
|
|
23499
23516
|
|
|
23500
|
-
// bazel-out/
|
|
23517
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
23501
23518
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
23502
23519
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
23503
23520
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -23761,7 +23778,7 @@ function parseDeferredTime(value) {
|
|
|
23761
23778
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
23762
23779
|
}
|
|
23763
23780
|
|
|
23764
|
-
// bazel-out/
|
|
23781
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
23765
23782
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
23766
23783
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
23767
23784
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -23896,7 +23913,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
23896
23913
|
return { triggers, prefetchTriggers };
|
|
23897
23914
|
}
|
|
23898
23915
|
|
|
23899
|
-
// bazel-out/
|
|
23916
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
23900
23917
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
23901
23918
|
var KW_BIND_IDX = 1;
|
|
23902
23919
|
var KW_LET_IDX = 2;
|
|
@@ -24363,7 +24380,7 @@ function textContents(node) {
|
|
|
24363
24380
|
}
|
|
24364
24381
|
}
|
|
24365
24382
|
|
|
24366
|
-
// bazel-out/
|
|
24383
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
24367
24384
|
var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
|
|
24368
24385
|
function parseTemplate(template2, templateUrl, options = {}) {
|
|
24369
24386
|
var _a2, _b2;
|
|
@@ -24442,7 +24459,7 @@ function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, a
|
|
|
24442
24459
|
return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, [], allowInvalidAssignmentEvents);
|
|
24443
24460
|
}
|
|
24444
24461
|
|
|
24445
|
-
// bazel-out/
|
|
24462
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
24446
24463
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
24447
24464
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
24448
24465
|
var CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
|
|
@@ -24833,7 +24850,7 @@ function compileDeferResolverFunction(meta) {
|
|
|
24833
24850
|
return arrowFn([], literalArr(depExpressions));
|
|
24834
24851
|
}
|
|
24835
24852
|
|
|
24836
|
-
// bazel-out/
|
|
24853
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
24837
24854
|
var R3TargetBinder = class {
|
|
24838
24855
|
constructor(directiveMatcher) {
|
|
24839
24856
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -25480,11 +25497,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
25480
25497
|
return templateEntities;
|
|
25481
25498
|
}
|
|
25482
25499
|
|
|
25483
|
-
// bazel-out/
|
|
25500
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
25484
25501
|
var ResourceLoader = class {
|
|
25485
25502
|
};
|
|
25486
25503
|
|
|
25487
|
-
// bazel-out/
|
|
25504
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
25488
25505
|
var CompilerFacadeImpl = class {
|
|
25489
25506
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
25490
25507
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -26053,10 +26070,10 @@ function publishFacade(global) {
|
|
|
26053
26070
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
26054
26071
|
}
|
|
26055
26072
|
|
|
26056
|
-
// bazel-out/
|
|
26057
|
-
var VERSION2 = new Version("18.1.0-
|
|
26073
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
|
|
26074
|
+
var VERSION2 = new Version("18.1.0-rc.0");
|
|
26058
26075
|
|
|
26059
|
-
// bazel-out/
|
|
26076
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
26060
26077
|
var _I18N_ATTR = "i18n";
|
|
26061
26078
|
var _I18N_ATTR_PREFIX = "i18n-";
|
|
26062
26079
|
var _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;
|
|
@@ -26367,7 +26384,7 @@ function _parseMessageMeta(i18n2) {
|
|
|
26367
26384
|
return { meaning, description, id: id.trim() };
|
|
26368
26385
|
}
|
|
26369
26386
|
|
|
26370
|
-
// bazel-out/
|
|
26387
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
26371
26388
|
var XmlTagDefinition = class {
|
|
26372
26389
|
constructor() {
|
|
26373
26390
|
this.closedByParent = false;
|
|
@@ -26392,7 +26409,7 @@ function getXmlTagDefinition(tagName) {
|
|
|
26392
26409
|
return _TAG_DEFINITION;
|
|
26393
26410
|
}
|
|
26394
26411
|
|
|
26395
|
-
// bazel-out/
|
|
26412
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
|
|
26396
26413
|
var XmlParser = class extends Parser2 {
|
|
26397
26414
|
constructor() {
|
|
26398
26415
|
super(getXmlTagDefinition);
|
|
@@ -26402,7 +26419,7 @@ var XmlParser = class extends Parser2 {
|
|
|
26402
26419
|
}
|
|
26403
26420
|
};
|
|
26404
26421
|
|
|
26405
|
-
// bazel-out/
|
|
26422
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
|
|
26406
26423
|
var _VERSION = "1.2";
|
|
26407
26424
|
var _XMLNS = "urn:oasis:names:tc:xliff:document:1.2";
|
|
26408
26425
|
var _DEFAULT_SOURCE_LANG = "en";
|
|
@@ -26684,7 +26701,7 @@ function getCtypeForTag(tag) {
|
|
|
26684
26701
|
}
|
|
26685
26702
|
}
|
|
26686
26703
|
|
|
26687
|
-
// bazel-out/
|
|
26704
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
|
|
26688
26705
|
var _VERSION2 = "2.0";
|
|
26689
26706
|
var _XMLNS2 = "urn:oasis:names:tc:xliff:document:2.0";
|
|
26690
26707
|
var _DEFAULT_SOURCE_LANG2 = "en";
|
|
@@ -27015,7 +27032,7 @@ function getTypeForTag(tag) {
|
|
|
27015
27032
|
}
|
|
27016
27033
|
}
|
|
27017
27034
|
|
|
27018
|
-
// bazel-out/
|
|
27035
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
|
|
27019
27036
|
var MessageBundle = class {
|
|
27020
27037
|
constructor(_htmlParser, _implicitTags, _implicitAttrs, _locale = null) {
|
|
27021
27038
|
this._htmlParser = _htmlParser;
|
|
@@ -27091,7 +27108,7 @@ var MapPlaceholderNames = class extends CloneVisitor {
|
|
|
27091
27108
|
}
|
|
27092
27109
|
};
|
|
27093
27110
|
|
|
27094
|
-
// bazel-out/
|
|
27111
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
27095
27112
|
var FactoryTarget2;
|
|
27096
27113
|
(function(FactoryTarget3) {
|
|
27097
27114
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -27101,7 +27118,7 @@ var FactoryTarget2;
|
|
|
27101
27118
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
27102
27119
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
27103
27120
|
|
|
27104
|
-
// bazel-out/
|
|
27121
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
|
|
27105
27122
|
function compileClassMetadata(metadata) {
|
|
27106
27123
|
const fnCall = internalCompileClassMetadata(metadata);
|
|
27107
27124
|
return arrowFn([], [devOnlyGuardedExpression(fnCall).toStmt()]).callFn([]);
|
|
@@ -27135,7 +27152,7 @@ function compileComponentMetadataAsyncResolver(dependencies) {
|
|
|
27135
27152
|
return arrowFn([], literalArr(dynamicImports));
|
|
27136
27153
|
}
|
|
27137
27154
|
|
|
27138
|
-
// bazel-out/
|
|
27155
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_class_debug_info_compiler.mjs
|
|
27139
27156
|
function compileClassDebugInfo(debugInfo) {
|
|
27140
27157
|
const debugInfoObject = {
|
|
27141
27158
|
className: debugInfo.className
|
|
@@ -27152,13 +27169,13 @@ function compileClassDebugInfo(debugInfo) {
|
|
|
27152
27169
|
return iife.callFn([]);
|
|
27153
27170
|
}
|
|
27154
27171
|
|
|
27155
|
-
// bazel-out/
|
|
27172
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
|
|
27156
27173
|
var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
|
|
27157
27174
|
var MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = "18.0.0";
|
|
27158
27175
|
function compileDeclareClassMetadata(metadata) {
|
|
27159
27176
|
const definitionMap = new DefinitionMap();
|
|
27160
27177
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
27161
|
-
definitionMap.set("version", literal("18.1.0-
|
|
27178
|
+
definitionMap.set("version", literal("18.1.0-rc.0"));
|
|
27162
27179
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27163
27180
|
definitionMap.set("type", metadata.type);
|
|
27164
27181
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -27177,7 +27194,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
27177
27194
|
callbackReturnDefinitionMap.set("ctorParameters", (_a2 = metadata.ctorParameters) != null ? _a2 : literal(null));
|
|
27178
27195
|
callbackReturnDefinitionMap.set("propDecorators", (_b2 = metadata.propDecorators) != null ? _b2 : literal(null));
|
|
27179
27196
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
27180
|
-
definitionMap.set("version", literal("18.1.0-
|
|
27197
|
+
definitionMap.set("version", literal("18.1.0-rc.0"));
|
|
27181
27198
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27182
27199
|
definitionMap.set("type", metadata.type);
|
|
27183
27200
|
definitionMap.set("resolveDeferredDeps", compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -27185,7 +27202,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
27185
27202
|
return importExpr(Identifiers.declareClassMetadataAsync).callFn([definitionMap.toLiteralMap()]);
|
|
27186
27203
|
}
|
|
27187
27204
|
|
|
27188
|
-
// bazel-out/
|
|
27205
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
|
|
27189
27206
|
function toOptionalLiteralArray(values, mapper) {
|
|
27190
27207
|
if (values === null || values.length === 0) {
|
|
27191
27208
|
return null;
|
|
@@ -27233,7 +27250,7 @@ function compileDependency(dep) {
|
|
|
27233
27250
|
return depMeta.toLiteralMap();
|
|
27234
27251
|
}
|
|
27235
27252
|
|
|
27236
|
-
// bazel-out/
|
|
27253
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
|
|
27237
27254
|
function compileDeclareDirectiveFromMetadata(meta) {
|
|
27238
27255
|
const definitionMap = createDirectiveDefinitionMap(meta);
|
|
27239
27256
|
const expression = importExpr(Identifiers.declareDirective).callFn([definitionMap.toLiteralMap()]);
|
|
@@ -27245,7 +27262,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
27245
27262
|
const definitionMap = new DefinitionMap();
|
|
27246
27263
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
27247
27264
|
definitionMap.set("minVersion", literal(minVersion));
|
|
27248
|
-
definitionMap.set("version", literal("18.1.0-
|
|
27265
|
+
definitionMap.set("version", literal("18.1.0-rc.0"));
|
|
27249
27266
|
definitionMap.set("type", meta.type.value);
|
|
27250
27267
|
if (meta.isStandalone) {
|
|
27251
27268
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -27407,7 +27424,7 @@ function legacyInputsPartialMetadata(inputs) {
|
|
|
27407
27424
|
}));
|
|
27408
27425
|
}
|
|
27409
27426
|
|
|
27410
|
-
// bazel-out/
|
|
27427
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
|
|
27411
27428
|
function compileDeclareComponentFromMetadata(meta, template2, additionalTemplateInfo) {
|
|
27412
27429
|
const definitionMap = createComponentDefinitionMap(meta, template2, additionalTemplateInfo);
|
|
27413
27430
|
const expression = importExpr(Identifiers.declareComponent).callFn([definitionMap.toLiteralMap()]);
|
|
@@ -27558,12 +27575,12 @@ var BlockPresenceVisitor = class extends RecursiveVisitor {
|
|
|
27558
27575
|
}
|
|
27559
27576
|
};
|
|
27560
27577
|
|
|
27561
|
-
// bazel-out/
|
|
27578
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
|
|
27562
27579
|
var MINIMUM_PARTIAL_LINKER_VERSION2 = "12.0.0";
|
|
27563
27580
|
function compileDeclareFactoryFunction(meta) {
|
|
27564
27581
|
const definitionMap = new DefinitionMap();
|
|
27565
27582
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
|
|
27566
|
-
definitionMap.set("version", literal("18.1.0-
|
|
27583
|
+
definitionMap.set("version", literal("18.1.0-rc.0"));
|
|
27567
27584
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27568
27585
|
definitionMap.set("type", meta.type.value);
|
|
27569
27586
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -27575,7 +27592,7 @@ function compileDeclareFactoryFunction(meta) {
|
|
|
27575
27592
|
};
|
|
27576
27593
|
}
|
|
27577
27594
|
|
|
27578
|
-
// bazel-out/
|
|
27595
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
|
|
27579
27596
|
var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
|
|
27580
27597
|
function compileDeclareInjectableFromMetadata(meta) {
|
|
27581
27598
|
const definitionMap = createInjectableDefinitionMap(meta);
|
|
@@ -27586,7 +27603,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
27586
27603
|
function createInjectableDefinitionMap(meta) {
|
|
27587
27604
|
const definitionMap = new DefinitionMap();
|
|
27588
27605
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
|
|
27589
|
-
definitionMap.set("version", literal("18.1.0-
|
|
27606
|
+
definitionMap.set("version", literal("18.1.0-rc.0"));
|
|
27590
27607
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27591
27608
|
definitionMap.set("type", meta.type.value);
|
|
27592
27609
|
if (meta.providedIn !== void 0) {
|
|
@@ -27613,7 +27630,7 @@ function createInjectableDefinitionMap(meta) {
|
|
|
27613
27630
|
return definitionMap;
|
|
27614
27631
|
}
|
|
27615
27632
|
|
|
27616
|
-
// bazel-out/
|
|
27633
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
|
|
27617
27634
|
var MINIMUM_PARTIAL_LINKER_VERSION4 = "12.0.0";
|
|
27618
27635
|
function compileDeclareInjectorFromMetadata(meta) {
|
|
27619
27636
|
const definitionMap = createInjectorDefinitionMap(meta);
|
|
@@ -27624,7 +27641,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
27624
27641
|
function createInjectorDefinitionMap(meta) {
|
|
27625
27642
|
const definitionMap = new DefinitionMap();
|
|
27626
27643
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
|
|
27627
|
-
definitionMap.set("version", literal("18.1.0-
|
|
27644
|
+
definitionMap.set("version", literal("18.1.0-rc.0"));
|
|
27628
27645
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27629
27646
|
definitionMap.set("type", meta.type.value);
|
|
27630
27647
|
definitionMap.set("providers", meta.providers);
|
|
@@ -27634,7 +27651,7 @@ function createInjectorDefinitionMap(meta) {
|
|
|
27634
27651
|
return definitionMap;
|
|
27635
27652
|
}
|
|
27636
27653
|
|
|
27637
|
-
// bazel-out/
|
|
27654
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
|
|
27638
27655
|
var MINIMUM_PARTIAL_LINKER_VERSION5 = "14.0.0";
|
|
27639
27656
|
function compileDeclareNgModuleFromMetadata(meta) {
|
|
27640
27657
|
const definitionMap = createNgModuleDefinitionMap(meta);
|
|
@@ -27648,7 +27665,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
27648
27665
|
throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
|
|
27649
27666
|
}
|
|
27650
27667
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
|
|
27651
|
-
definitionMap.set("version", literal("18.1.0-
|
|
27668
|
+
definitionMap.set("version", literal("18.1.0-rc.0"));
|
|
27652
27669
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27653
27670
|
definitionMap.set("type", meta.type.value);
|
|
27654
27671
|
if (meta.bootstrap.length > 0) {
|
|
@@ -27672,7 +27689,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
27672
27689
|
return definitionMap;
|
|
27673
27690
|
}
|
|
27674
27691
|
|
|
27675
|
-
// bazel-out/
|
|
27692
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
|
|
27676
27693
|
var MINIMUM_PARTIAL_LINKER_VERSION6 = "14.0.0";
|
|
27677
27694
|
function compileDeclarePipeFromMetadata(meta) {
|
|
27678
27695
|
const definitionMap = createPipeDefinitionMap(meta);
|
|
@@ -27683,7 +27700,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
27683
27700
|
function createPipeDefinitionMap(meta) {
|
|
27684
27701
|
const definitionMap = new DefinitionMap();
|
|
27685
27702
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
|
|
27686
|
-
definitionMap.set("version", literal("18.1.0-
|
|
27703
|
+
definitionMap.set("version", literal("18.1.0-rc.0"));
|
|
27687
27704
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
27688
27705
|
definitionMap.set("type", meta.type.value);
|
|
27689
27706
|
if (meta.isStandalone) {
|
|
@@ -27696,16 +27713,16 @@ function createPipeDefinitionMap(meta) {
|
|
|
27696
27713
|
return definitionMap;
|
|
27697
27714
|
}
|
|
27698
27715
|
|
|
27699
|
-
// bazel-out/
|
|
27716
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
27700
27717
|
publishFacade(_global);
|
|
27701
27718
|
|
|
27702
|
-
// bazel-out/
|
|
27703
|
-
var VERSION3 = new Version("18.1.0-
|
|
27719
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
27720
|
+
var VERSION3 = new Version("18.1.0-rc.0");
|
|
27704
27721
|
|
|
27705
|
-
// bazel-out/
|
|
27722
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
27706
27723
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
27707
27724
|
|
|
27708
|
-
// bazel-out/
|
|
27725
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
27709
27726
|
var ErrorCode;
|
|
27710
27727
|
(function(ErrorCode2) {
|
|
27711
27728
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -27778,7 +27795,7 @@ var ErrorCode;
|
|
|
27778
27795
|
ErrorCode2[ErrorCode2["DEFERRED_DEPENDENCY_IMPORTED_EAGERLY"] = 8014] = "DEFERRED_DEPENDENCY_IMPORTED_EAGERLY";
|
|
27779
27796
|
ErrorCode2[ErrorCode2["ILLEGAL_LET_WRITE"] = 8015] = "ILLEGAL_LET_WRITE";
|
|
27780
27797
|
ErrorCode2[ErrorCode2["LET_USED_BEFORE_DEFINITION"] = 8016] = "LET_USED_BEFORE_DEFINITION";
|
|
27781
|
-
ErrorCode2[ErrorCode2["
|
|
27798
|
+
ErrorCode2[ErrorCode2["CONFLICTING_LET_DECLARATION"] = 8017] = "CONFLICTING_LET_DECLARATION";
|
|
27782
27799
|
ErrorCode2[ErrorCode2["INVALID_BANANA_IN_BOX"] = 8101] = "INVALID_BANANA_IN_BOX";
|
|
27783
27800
|
ErrorCode2[ErrorCode2["NULLISH_COALESCING_NOT_NULLABLE"] = 8102] = "NULLISH_COALESCING_NOT_NULLABLE";
|
|
27784
27801
|
ErrorCode2[ErrorCode2["MISSING_CONTROL_FLOW_DIRECTIVE"] = 8103] = "MISSING_CONTROL_FLOW_DIRECTIVE";
|
|
@@ -27789,6 +27806,7 @@ var ErrorCode;
|
|
|
27789
27806
|
ErrorCode2[ErrorCode2["SKIP_HYDRATION_NOT_STATIC"] = 8108] = "SKIP_HYDRATION_NOT_STATIC";
|
|
27790
27807
|
ErrorCode2[ErrorCode2["INTERPOLATED_SIGNAL_NOT_INVOKED"] = 8109] = "INTERPOLATED_SIGNAL_NOT_INVOKED";
|
|
27791
27808
|
ErrorCode2[ErrorCode2["UNSUPPORTED_INITIALIZER_API_USAGE"] = 8110] = "UNSUPPORTED_INITIALIZER_API_USAGE";
|
|
27809
|
+
ErrorCode2[ErrorCode2["UNINVOKED_FUNCTION_IN_EVENT_BINDING"] = 8111] = "UNINVOKED_FUNCTION_IN_EVENT_BINDING";
|
|
27792
27810
|
ErrorCode2[ErrorCode2["INLINE_TCB_REQUIRED"] = 8900] = "INLINE_TCB_REQUIRED";
|
|
27793
27811
|
ErrorCode2[ErrorCode2["INLINE_TYPE_CTOR_REQUIRED"] = 8901] = "INLINE_TYPE_CTOR_REQUIRED";
|
|
27794
27812
|
ErrorCode2[ErrorCode2["INJECTABLE_DUPLICATE_PROV"] = 9001] = "INJECTABLE_DUPLICATE_PROV";
|
|
@@ -27798,7 +27816,7 @@ var ErrorCode;
|
|
|
27798
27816
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
27799
27817
|
})(ErrorCode || (ErrorCode = {}));
|
|
27800
27818
|
|
|
27801
|
-
// bazel-out/
|
|
27819
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
27802
27820
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
27803
27821
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
27804
27822
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -27810,15 +27828,15 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
27810
27828
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
27811
27829
|
]);
|
|
27812
27830
|
|
|
27813
|
-
// bazel-out/
|
|
27831
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
27814
27832
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
27815
27833
|
|
|
27816
|
-
// bazel-out/
|
|
27834
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
27817
27835
|
function ngErrorCode(code) {
|
|
27818
27836
|
return parseInt("-99" + code);
|
|
27819
27837
|
}
|
|
27820
27838
|
|
|
27821
|
-
// bazel-out/
|
|
27839
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
27822
27840
|
var FatalDiagnosticError = class extends Error {
|
|
27823
27841
|
constructor(code, node, diagnosticMessage, relatedInformation) {
|
|
27824
27842
|
super(`FatalDiagnosticError: Code: ${code}, Message: ${import_typescript2.default.flattenDiagnosticMessageText(diagnosticMessage, "\n")}`);
|
|
@@ -27879,10 +27897,10 @@ function isFatalDiagnosticError(err) {
|
|
|
27879
27897
|
return err._isFatalDiagnosticError === true;
|
|
27880
27898
|
}
|
|
27881
27899
|
|
|
27882
|
-
// bazel-out/
|
|
27900
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
27883
27901
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.dev/errors";
|
|
27884
27902
|
|
|
27885
|
-
// bazel-out/
|
|
27903
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
27886
27904
|
var ExtendedTemplateDiagnosticName;
|
|
27887
27905
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
27888
27906
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -27890,6 +27908,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
27890
27908
|
ExtendedTemplateDiagnosticName2["OPTIONAL_CHAIN_NOT_NULLABLE"] = "optionalChainNotNullable";
|
|
27891
27909
|
ExtendedTemplateDiagnosticName2["MISSING_CONTROL_FLOW_DIRECTIVE"] = "missingControlFlowDirective";
|
|
27892
27910
|
ExtendedTemplateDiagnosticName2["TEXT_ATTRIBUTE_NOT_BINDING"] = "textAttributeNotBinding";
|
|
27911
|
+
ExtendedTemplateDiagnosticName2["UNINVOKED_FUNCTION_IN_EVENT_BINDING"] = "uninvokedFunctionInEventBinding";
|
|
27893
27912
|
ExtendedTemplateDiagnosticName2["MISSING_NGFOROF_LET"] = "missingNgForOfLet";
|
|
27894
27913
|
ExtendedTemplateDiagnosticName2["SUFFIX_NOT_SUPPORTED"] = "suffixNotSupported";
|
|
27895
27914
|
ExtendedTemplateDiagnosticName2["SKIP_HYDRATION_NOT_STATIC"] = "skipHydrationNotStatic";
|
|
@@ -27897,7 +27916,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
27897
27916
|
ExtendedTemplateDiagnosticName2["CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION"] = "controlFlowPreventingContentProjection";
|
|
27898
27917
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
27899
27918
|
|
|
27900
|
-
// bazel-out/
|
|
27919
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
27901
27920
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
27902
27921
|
var TS = /\.tsx?$/i;
|
|
27903
27922
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -27998,7 +28017,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
27998
28017
|
return redirectInfo.unredirected;
|
|
27999
28018
|
}
|
|
28000
28019
|
|
|
28001
|
-
// bazel-out/
|
|
28020
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
28002
28021
|
function findExportedNameOfNode(target, file, reflector) {
|
|
28003
28022
|
const exports = reflector.getExportsOfModule(file);
|
|
28004
28023
|
if (exports === null) {
|
|
@@ -28018,7 +28037,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
28018
28037
|
return foundExportName;
|
|
28019
28038
|
}
|
|
28020
28039
|
|
|
28021
|
-
// bazel-out/
|
|
28040
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
28022
28041
|
var ImportFlags;
|
|
28023
28042
|
(function(ImportFlags2) {
|
|
28024
28043
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -28249,7 +28268,7 @@ var UnifiedModulesStrategy = class {
|
|
|
28249
28268
|
}
|
|
28250
28269
|
};
|
|
28251
28270
|
|
|
28252
|
-
// bazel-out/
|
|
28271
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
28253
28272
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
28254
28273
|
var UnifiedModulesAliasingHost = class {
|
|
28255
28274
|
constructor(unifiedModulesHost) {
|
|
@@ -28316,7 +28335,7 @@ var AliasStrategy = class {
|
|
|
28316
28335
|
}
|
|
28317
28336
|
};
|
|
28318
28337
|
|
|
28319
|
-
// bazel-out/
|
|
28338
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
28320
28339
|
function relativePathBetween(from, to) {
|
|
28321
28340
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
28322
28341
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -28325,7 +28344,7 @@ function normalizeSeparators2(path4) {
|
|
|
28325
28344
|
return path4.replace(/\\/g, "/");
|
|
28326
28345
|
}
|
|
28327
28346
|
|
|
28328
|
-
// bazel-out/
|
|
28347
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
28329
28348
|
var NoopImportRewriter = class {
|
|
28330
28349
|
rewriteSymbol(symbol, specifier) {
|
|
28331
28350
|
return symbol;
|
|
@@ -28378,7 +28397,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
28378
28397
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
28379
28398
|
}
|
|
28380
28399
|
|
|
28381
|
-
// bazel-out/
|
|
28400
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
28382
28401
|
var import_typescript7 = __toESM(require("typescript"), 1);
|
|
28383
28402
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
28384
28403
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -28413,7 +28432,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
28413
28432
|
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.");
|
|
28414
28433
|
}
|
|
28415
28434
|
|
|
28416
|
-
// bazel-out/
|
|
28435
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
28417
28436
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
28418
28437
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
28419
28438
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -28454,13 +28473,13 @@ var DefaultImportTracker = class {
|
|
|
28454
28473
|
}
|
|
28455
28474
|
};
|
|
28456
28475
|
|
|
28457
|
-
// bazel-out/
|
|
28476
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
28458
28477
|
var import_typescript13 = __toESM(require("typescript"), 1);
|
|
28459
28478
|
|
|
28460
|
-
// bazel-out/
|
|
28479
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
28461
28480
|
var import_typescript12 = __toESM(require("typescript"), 1);
|
|
28462
28481
|
|
|
28463
|
-
// bazel-out/
|
|
28482
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
28464
28483
|
var import_typescript9 = __toESM(require("typescript"), 1);
|
|
28465
28484
|
function isDecoratorIdentifier(exp) {
|
|
28466
28485
|
return import_typescript9.default.isIdentifier(exp) || import_typescript9.default.isPropertyAccessExpression(exp) && import_typescript9.default.isIdentifier(exp.expression) && import_typescript9.default.isIdentifier(exp.name);
|
|
@@ -28483,7 +28502,7 @@ var ClassMemberAccessLevel;
|
|
|
28483
28502
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
28484
28503
|
var AmbientImport = {};
|
|
28485
28504
|
|
|
28486
|
-
// bazel-out/
|
|
28505
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
28487
28506
|
var import_typescript10 = __toESM(require("typescript"), 1);
|
|
28488
28507
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
28489
28508
|
var _a2, _b2;
|
|
@@ -28667,7 +28686,7 @@ function extractModuleName(node) {
|
|
|
28667
28686
|
return node.moduleSpecifier.text;
|
|
28668
28687
|
}
|
|
28669
28688
|
|
|
28670
|
-
// bazel-out/
|
|
28689
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
28671
28690
|
var import_typescript11 = __toESM(require("typescript"), 1);
|
|
28672
28691
|
function isNamedClassDeclaration(node) {
|
|
28673
28692
|
return import_typescript11.default.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -28691,7 +28710,7 @@ function classMemberAccessLevelToString(level) {
|
|
|
28691
28710
|
}
|
|
28692
28711
|
}
|
|
28693
28712
|
|
|
28694
|
-
// bazel-out/
|
|
28713
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
28695
28714
|
var TypeScriptReflectionHost = class {
|
|
28696
28715
|
constructor(checker, isLocalCompilation = false) {
|
|
28697
28716
|
this.checker = checker;
|
|
@@ -29178,7 +29197,7 @@ function getExportedName(decl, originalId) {
|
|
|
29178
29197
|
}
|
|
29179
29198
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
29180
29199
|
|
|
29181
|
-
// bazel-out/
|
|
29200
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
29182
29201
|
var AssumeEager = "AssumeEager";
|
|
29183
29202
|
var DeferredSymbolTracker = class {
|
|
29184
29203
|
constructor(typeChecker, onlyExplicitDeferDependencyImports) {
|
|
@@ -29298,7 +29317,7 @@ var DeferredSymbolTracker = class {
|
|
|
29298
29317
|
}
|
|
29299
29318
|
};
|
|
29300
29319
|
|
|
29301
|
-
// bazel-out/
|
|
29320
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
|
|
29302
29321
|
var import_typescript15 = __toESM(require("typescript"), 1);
|
|
29303
29322
|
var ImportedSymbolsTracker = class {
|
|
29304
29323
|
constructor() {
|
|
@@ -29368,7 +29387,7 @@ var ImportedSymbolsTracker = class {
|
|
|
29368
29387
|
}
|
|
29369
29388
|
};
|
|
29370
29389
|
|
|
29371
|
-
// bazel-out/
|
|
29390
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
|
|
29372
29391
|
var import_typescript16 = __toESM(require("typescript"), 1);
|
|
29373
29392
|
var LocalCompilationExtraImportsTracker = class {
|
|
29374
29393
|
constructor(typeChecker) {
|
|
@@ -29419,7 +29438,7 @@ function removeQuotations(s) {
|
|
|
29419
29438
|
return s.substring(1, s.length - 1).trim();
|
|
29420
29439
|
}
|
|
29421
29440
|
|
|
29422
|
-
// bazel-out/
|
|
29441
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
29423
29442
|
var Reference2 = class {
|
|
29424
29443
|
constructor(node, bestGuessOwningModule = null) {
|
|
29425
29444
|
this.node = node;
|
|
@@ -29488,7 +29507,7 @@ var Reference2 = class {
|
|
|
29488
29507
|
}
|
|
29489
29508
|
};
|
|
29490
29509
|
|
|
29491
|
-
// bazel-out/
|
|
29510
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
29492
29511
|
var ModuleResolver = class {
|
|
29493
29512
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
29494
29513
|
this.program = program;
|
|
@@ -29505,16 +29524,16 @@ var ModuleResolver = class {
|
|
|
29505
29524
|
}
|
|
29506
29525
|
};
|
|
29507
29526
|
|
|
29508
|
-
// bazel-out/
|
|
29527
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/downlevel_decorators_transform.mjs
|
|
29509
29528
|
var import_typescript21 = __toESM(require("typescript"), 1);
|
|
29510
29529
|
|
|
29511
|
-
// bazel-out/
|
|
29530
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/transform.mjs
|
|
29512
29531
|
var import_typescript95 = __toESM(require("typescript"), 1);
|
|
29513
29532
|
|
|
29514
|
-
// bazel-out/
|
|
29533
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
29515
29534
|
var import_typescript23 = __toESM(require("typescript"), 1);
|
|
29516
29535
|
|
|
29517
|
-
// bazel-out/
|
|
29536
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
29518
29537
|
var import_typescript22 = __toESM(require("typescript"), 1);
|
|
29519
29538
|
var CORE_MODULE2 = "@angular/core";
|
|
29520
29539
|
function valueReferenceToExpression(valueRef) {
|
|
@@ -29772,7 +29791,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
29772
29791
|
return import_typescript22.default.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === import_typescript22.default.SyntaxKind.AbstractKeyword) : false;
|
|
29773
29792
|
}
|
|
29774
29793
|
|
|
29775
|
-
// bazel-out/
|
|
29794
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
29776
29795
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
29777
29796
|
const deps = [];
|
|
29778
29797
|
const errors = [];
|
|
@@ -29916,10 +29935,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
|
|
|
29916
29935
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain2, hints);
|
|
29917
29936
|
}
|
|
29918
29937
|
|
|
29919
|
-
// bazel-out/
|
|
29938
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
29920
29939
|
var import_typescript46 = __toESM(require("typescript"), 1);
|
|
29921
29940
|
|
|
29922
|
-
// bazel-out/
|
|
29941
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
29923
29942
|
var MetaKind;
|
|
29924
29943
|
(function(MetaKind2) {
|
|
29925
29944
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -29932,10 +29951,10 @@ var MatchSource;
|
|
|
29932
29951
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
29933
29952
|
})(MatchSource || (MatchSource = {}));
|
|
29934
29953
|
|
|
29935
|
-
// bazel-out/
|
|
29954
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
29936
29955
|
var import_typescript26 = __toESM(require("typescript"), 1);
|
|
29937
29956
|
|
|
29938
|
-
// bazel-out/
|
|
29957
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
29939
29958
|
var ClassPropertyMapping = class {
|
|
29940
29959
|
constructor(forwardMap) {
|
|
29941
29960
|
this.forwardMap = forwardMap;
|
|
@@ -30015,7 +30034,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
30015
30034
|
return reverseMap;
|
|
30016
30035
|
}
|
|
30017
30036
|
|
|
30018
|
-
// bazel-out/
|
|
30037
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
30019
30038
|
var import_typescript24 = __toESM(require("typescript"), 1);
|
|
30020
30039
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
30021
30040
|
if (!import_typescript24.default.isTupleTypeNode(def)) {
|
|
@@ -30211,7 +30230,7 @@ function isHostDirectiveMetaForGlobalMode(hostDirectiveMeta) {
|
|
|
30211
30230
|
return hostDirectiveMeta.directive instanceof Reference2;
|
|
30212
30231
|
}
|
|
30213
30232
|
|
|
30214
|
-
// bazel-out/
|
|
30233
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
30215
30234
|
var DtsMetadataReader = class {
|
|
30216
30235
|
constructor(checker, reflector) {
|
|
30217
30236
|
this.checker = checker;
|
|
@@ -30394,7 +30413,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
30394
30413
|
return result.length > 0 ? result : null;
|
|
30395
30414
|
}
|
|
30396
30415
|
|
|
30397
|
-
// bazel-out/
|
|
30416
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
30398
30417
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
30399
30418
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
30400
30419
|
if (topMeta === null) {
|
|
@@ -30457,7 +30476,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
30457
30476
|
});
|
|
30458
30477
|
}
|
|
30459
30478
|
|
|
30460
|
-
// bazel-out/
|
|
30479
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
30461
30480
|
var LocalMetadataRegistry = class {
|
|
30462
30481
|
constructor() {
|
|
30463
30482
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -30514,7 +30533,7 @@ var CompoundMetadataRegistry = class {
|
|
|
30514
30533
|
}
|
|
30515
30534
|
};
|
|
30516
30535
|
|
|
30517
|
-
// bazel-out/
|
|
30536
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
30518
30537
|
var ResourceRegistry = class {
|
|
30519
30538
|
constructor() {
|
|
30520
30539
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -30579,7 +30598,7 @@ var ResourceRegistry = class {
|
|
|
30579
30598
|
}
|
|
30580
30599
|
};
|
|
30581
30600
|
|
|
30582
|
-
// bazel-out/
|
|
30601
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
|
|
30583
30602
|
var ExportedProviderStatusResolver = class {
|
|
30584
30603
|
constructor(metaReader) {
|
|
30585
30604
|
this.metaReader = metaReader;
|
|
@@ -30623,7 +30642,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
30623
30642
|
}
|
|
30624
30643
|
};
|
|
30625
30644
|
|
|
30626
|
-
// bazel-out/
|
|
30645
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
30627
30646
|
var EMPTY_ARRAY = [];
|
|
30628
30647
|
var HostDirectivesResolver = class {
|
|
30629
30648
|
constructor(metaReader) {
|
|
@@ -30688,10 +30707,10 @@ function resolveOutput(bindingName) {
|
|
|
30688
30707
|
return bindingName;
|
|
30689
30708
|
}
|
|
30690
30709
|
|
|
30691
|
-
// bazel-out/
|
|
30710
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
30692
30711
|
var import_typescript28 = __toESM(require("typescript"), 1);
|
|
30693
30712
|
|
|
30694
|
-
// bazel-out/
|
|
30713
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
30695
30714
|
var DynamicValue = class {
|
|
30696
30715
|
constructor(node, reason, code) {
|
|
30697
30716
|
this.node = node;
|
|
@@ -30781,7 +30800,7 @@ var DynamicValue = class {
|
|
|
30781
30800
|
}
|
|
30782
30801
|
};
|
|
30783
30802
|
|
|
30784
|
-
// bazel-out/
|
|
30803
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
30785
30804
|
var ResolvedModule = class {
|
|
30786
30805
|
constructor(exports, evaluate) {
|
|
30787
30806
|
this.exports = exports;
|
|
@@ -30811,7 +30830,7 @@ var EnumValue = class {
|
|
|
30811
30830
|
var KnownFn = class {
|
|
30812
30831
|
};
|
|
30813
30832
|
|
|
30814
|
-
// bazel-out/
|
|
30833
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
30815
30834
|
function describeResolvedType(value, maxDepth = 1) {
|
|
30816
30835
|
var _a2, _b2;
|
|
30817
30836
|
if (value === null) {
|
|
@@ -30944,10 +30963,10 @@ function getContainerNode(node) {
|
|
|
30944
30963
|
return node.getSourceFile();
|
|
30945
30964
|
}
|
|
30946
30965
|
|
|
30947
|
-
// bazel-out/
|
|
30966
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
30948
30967
|
var import_typescript29 = __toESM(require("typescript"), 1);
|
|
30949
30968
|
|
|
30950
|
-
// bazel-out/
|
|
30969
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
30951
30970
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
30952
30971
|
constructor(lhs) {
|
|
30953
30972
|
super();
|
|
@@ -30999,14 +31018,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
|
|
|
30999
31018
|
}
|
|
31000
31019
|
};
|
|
31001
31020
|
|
|
31002
|
-
// bazel-out/
|
|
31021
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
31003
31022
|
var SyntheticValue = class {
|
|
31004
31023
|
constructor(value) {
|
|
31005
31024
|
this.value = value;
|
|
31006
31025
|
}
|
|
31007
31026
|
};
|
|
31008
31027
|
|
|
31009
|
-
// bazel-out/
|
|
31028
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
31010
31029
|
function literalBinaryOp(op) {
|
|
31011
31030
|
return { op, literal: true };
|
|
31012
31031
|
}
|
|
@@ -31581,7 +31600,7 @@ function owningModule(context, override = null) {
|
|
|
31581
31600
|
}
|
|
31582
31601
|
}
|
|
31583
31602
|
|
|
31584
|
-
// bazel-out/
|
|
31603
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
31585
31604
|
var PartialEvaluator = class {
|
|
31586
31605
|
constructor(host, checker, dependencyTracker) {
|
|
31587
31606
|
this.host = host;
|
|
@@ -31601,7 +31620,7 @@ var PartialEvaluator = class {
|
|
|
31601
31620
|
}
|
|
31602
31621
|
};
|
|
31603
31622
|
|
|
31604
|
-
// bazel-out/
|
|
31623
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
31605
31624
|
var CompilationMode;
|
|
31606
31625
|
(function(CompilationMode2) {
|
|
31607
31626
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -31615,7 +31634,7 @@ var HandlerPrecedence;
|
|
|
31615
31634
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
31616
31635
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
31617
31636
|
|
|
31618
|
-
// bazel-out/
|
|
31637
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
31619
31638
|
var import_typescript31 = __toESM(require("typescript"), 1);
|
|
31620
31639
|
function aliasTransformFactory(exportStatements) {
|
|
31621
31640
|
return () => {
|
|
@@ -31640,10 +31659,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
31640
31659
|
};
|
|
31641
31660
|
}
|
|
31642
31661
|
|
|
31643
|
-
// bazel-out/
|
|
31662
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
31644
31663
|
var import_typescript32 = __toESM(require("typescript"), 1);
|
|
31645
31664
|
|
|
31646
|
-
// bazel-out/
|
|
31665
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
31647
31666
|
var PerfPhase;
|
|
31648
31667
|
(function(PerfPhase2) {
|
|
31649
31668
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -31711,7 +31730,7 @@ var PerfCheckpoint;
|
|
|
31711
31730
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
31712
31731
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
31713
31732
|
|
|
31714
|
-
// bazel-out/
|
|
31733
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
31715
31734
|
var NoopPerfRecorder = class {
|
|
31716
31735
|
eventCount() {
|
|
31717
31736
|
}
|
|
@@ -31728,7 +31747,7 @@ var NoopPerfRecorder = class {
|
|
|
31728
31747
|
};
|
|
31729
31748
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
31730
31749
|
|
|
31731
|
-
// bazel-out/
|
|
31750
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
31732
31751
|
function mark() {
|
|
31733
31752
|
return process.hrtime();
|
|
31734
31753
|
}
|
|
@@ -31737,7 +31756,7 @@ function timeSinceInMicros(mark2) {
|
|
|
31737
31756
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
31738
31757
|
}
|
|
31739
31758
|
|
|
31740
|
-
// bazel-out/
|
|
31759
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
31741
31760
|
var ActivePerfRecorder = class {
|
|
31742
31761
|
static zeroedToNow() {
|
|
31743
31762
|
return new ActivePerfRecorder(mark());
|
|
@@ -31831,7 +31850,7 @@ var DelegatingPerfRecorder = class {
|
|
|
31831
31850
|
}
|
|
31832
31851
|
};
|
|
31833
31852
|
|
|
31834
|
-
// bazel-out/
|
|
31853
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
31835
31854
|
var TraitState;
|
|
31836
31855
|
(function(TraitState2) {
|
|
31837
31856
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -31888,7 +31907,7 @@ var TraitImpl = class {
|
|
|
31888
31907
|
}
|
|
31889
31908
|
};
|
|
31890
31909
|
|
|
31891
|
-
// bazel-out/
|
|
31910
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
31892
31911
|
var TraitCompiler = class {
|
|
31893
31912
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
31894
31913
|
this.handlers = handlers;
|
|
@@ -32347,10 +32366,10 @@ function containsErrors(diagnostics) {
|
|
|
32347
32366
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === import_typescript32.default.DiagnosticCategory.Error);
|
|
32348
32367
|
}
|
|
32349
32368
|
|
|
32350
|
-
// bazel-out/
|
|
32369
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
32351
32370
|
var import_typescript43 = __toESM(require("typescript"), 1);
|
|
32352
32371
|
|
|
32353
|
-
// bazel-out/
|
|
32372
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
32354
32373
|
var Context = class {
|
|
32355
32374
|
constructor(isStatement) {
|
|
32356
32375
|
this.isStatement = isStatement;
|
|
@@ -32363,10 +32382,10 @@ var Context = class {
|
|
|
32363
32382
|
}
|
|
32364
32383
|
};
|
|
32365
32384
|
|
|
32366
|
-
// bazel-out/
|
|
32385
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
32367
32386
|
var import_typescript38 = __toESM(require("typescript"), 1);
|
|
32368
32387
|
|
|
32369
|
-
// bazel-out/
|
|
32388
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
|
|
32370
32389
|
var import_typescript34 = __toESM(require("typescript"), 1);
|
|
32371
32390
|
function createGenerateUniqueIdentifierHelper() {
|
|
32372
32391
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -32392,7 +32411,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
32392
32411
|
};
|
|
32393
32412
|
}
|
|
32394
32413
|
|
|
32395
|
-
// bazel-out/
|
|
32414
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
|
|
32396
32415
|
var import_typescript35 = __toESM(require("typescript"), 1);
|
|
32397
32416
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
32398
32417
|
return (ctx) => {
|
|
@@ -32453,7 +32472,7 @@ function isImportStatement(stmt) {
|
|
|
32453
32472
|
return import_typescript35.default.isImportDeclaration(stmt) || import_typescript35.default.isImportEqualsDeclaration(stmt) || import_typescript35.default.isNamespaceImport(stmt);
|
|
32454
32473
|
}
|
|
32455
32474
|
|
|
32456
|
-
// bazel-out/
|
|
32475
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
|
|
32457
32476
|
var import_typescript36 = __toESM(require("typescript"), 1);
|
|
32458
32477
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
32459
32478
|
const requestHash = hashImportRequest(request);
|
|
@@ -32480,7 +32499,7 @@ function hashImportRequest(req) {
|
|
|
32480
32499
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}`;
|
|
32481
32500
|
}
|
|
32482
32501
|
|
|
32483
|
-
// bazel-out/
|
|
32502
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
|
|
32484
32503
|
var import_typescript37 = __toESM(require("typescript"), 1);
|
|
32485
32504
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
32486
32505
|
let candidateImportToBeUpdated = null;
|
|
@@ -32533,7 +32552,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
32533
32552
|
return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
|
|
32534
32553
|
}
|
|
32535
32554
|
|
|
32536
|
-
// bazel-out/
|
|
32555
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
32537
32556
|
var presetImportManagerForceNamespaceImports = {
|
|
32538
32557
|
disableOriginalSourceFileReuse: true,
|
|
32539
32558
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -32682,7 +32701,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
32682
32701
|
}
|
|
32683
32702
|
}
|
|
32684
32703
|
|
|
32685
|
-
// bazel-out/
|
|
32704
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
32686
32705
|
var UNARY_OPERATORS2 = /* @__PURE__ */ new Map([
|
|
32687
32706
|
[UnaryOperator.Minus, "-"],
|
|
32688
32707
|
[UnaryOperator.Plus, "+"]
|
|
@@ -32708,8 +32727,8 @@ var BINARY_OPERATORS3 = /* @__PURE__ */ new Map([
|
|
|
32708
32727
|
[BinaryOperator.NullishCoalesce, "??"]
|
|
32709
32728
|
]);
|
|
32710
32729
|
var ExpressionTranslatorVisitor = class {
|
|
32711
|
-
constructor(
|
|
32712
|
-
this.factory =
|
|
32730
|
+
constructor(factory10, imports, contextFile, options) {
|
|
32731
|
+
this.factory = factory10;
|
|
32713
32732
|
this.imports = imports;
|
|
32714
32733
|
this.contextFile = contextFile;
|
|
32715
32734
|
this.downlevelTaggedTemplates = options.downlevelTaggedTemplates === true;
|
|
@@ -32927,7 +32946,7 @@ function createRange(span) {
|
|
|
32927
32946
|
};
|
|
32928
32947
|
}
|
|
32929
32948
|
|
|
32930
|
-
// bazel-out/
|
|
32949
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
32931
32950
|
var import_typescript39 = __toESM(require("typescript"), 1);
|
|
32932
32951
|
var INELIGIBLE = {};
|
|
32933
32952
|
function canEmitType(type, canEmit) {
|
|
@@ -33002,10 +33021,10 @@ var TypeEmitter = class {
|
|
|
33002
33021
|
}
|
|
33003
33022
|
};
|
|
33004
33023
|
|
|
33005
|
-
// bazel-out/
|
|
33024
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
33006
33025
|
var import_typescript41 = __toESM(require("typescript"), 1);
|
|
33007
33026
|
|
|
33008
|
-
// bazel-out/
|
|
33027
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
33009
33028
|
var import_typescript40 = __toESM(require("typescript"), 1);
|
|
33010
33029
|
function tsNumericExpression(value) {
|
|
33011
33030
|
if (value < 0) {
|
|
@@ -33015,7 +33034,7 @@ function tsNumericExpression(value) {
|
|
|
33015
33034
|
return import_typescript40.default.factory.createNumericLiteral(value);
|
|
33016
33035
|
}
|
|
33017
33036
|
|
|
33018
|
-
// bazel-out/
|
|
33037
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
33019
33038
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
33020
33039
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
33021
33040
|
}
|
|
@@ -33232,7 +33251,7 @@ var TypeTranslatorVisitor = class {
|
|
|
33232
33251
|
}
|
|
33233
33252
|
};
|
|
33234
33253
|
|
|
33235
|
-
// bazel-out/
|
|
33254
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
33236
33255
|
var import_typescript42 = __toESM(require("typescript"), 1);
|
|
33237
33256
|
var PureAnnotation;
|
|
33238
33257
|
(function(PureAnnotation2) {
|
|
@@ -33435,7 +33454,7 @@ function attachComments(statement, leadingComments) {
|
|
|
33435
33454
|
}
|
|
33436
33455
|
}
|
|
33437
33456
|
|
|
33438
|
-
// bazel-out/
|
|
33457
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
33439
33458
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
33440
33459
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
33441
33460
|
}
|
|
@@ -33443,7 +33462,7 @@ function translateStatement(contextFile, statement, imports, options = {}) {
|
|
|
33443
33462
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(true));
|
|
33444
33463
|
}
|
|
33445
33464
|
|
|
33446
|
-
// bazel-out/
|
|
33465
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
33447
33466
|
var DtsTransformRegistry = class {
|
|
33448
33467
|
constructor() {
|
|
33449
33468
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -33591,10 +33610,10 @@ function markForEmitAsSingleLine(node) {
|
|
|
33591
33610
|
import_typescript43.default.forEachChild(node, markForEmitAsSingleLine);
|
|
33592
33611
|
}
|
|
33593
33612
|
|
|
33594
|
-
// bazel-out/
|
|
33613
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
33595
33614
|
var import_typescript45 = __toESM(require("typescript"), 1);
|
|
33596
33615
|
|
|
33597
|
-
// bazel-out/
|
|
33616
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
33598
33617
|
var import_typescript44 = __toESM(require("typescript"), 1);
|
|
33599
33618
|
function visit(node, visitor, context) {
|
|
33600
33619
|
return visitor._visit(node, context);
|
|
@@ -33655,7 +33674,7 @@ var Visitor = class {
|
|
|
33655
33674
|
}
|
|
33656
33675
|
};
|
|
33657
33676
|
|
|
33658
|
-
// bazel-out/
|
|
33677
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
33659
33678
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
33660
33679
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
33661
33680
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, localCompilationExtraImportsTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -33890,7 +33909,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
33890
33909
|
return array;
|
|
33891
33910
|
}
|
|
33892
33911
|
|
|
33893
|
-
// bazel-out/
|
|
33912
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
33894
33913
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
33895
33914
|
const context = [];
|
|
33896
33915
|
for (const decl of data) {
|
|
@@ -34099,7 +34118,7 @@ function assertLocalCompilationUnresolvedConst(compilationMode, value, nodeToHig
|
|
|
34099
34118
|
}
|
|
34100
34119
|
}
|
|
34101
34120
|
|
|
34102
|
-
// bazel-out/
|
|
34121
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
34103
34122
|
var import_typescript48 = __toESM(require("typescript"), 1);
|
|
34104
34123
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
34105
34124
|
let resolved = null;
|
|
@@ -34149,7 +34168,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
34149
34168
|
return meta;
|
|
34150
34169
|
}
|
|
34151
34170
|
|
|
34152
|
-
// bazel-out/
|
|
34171
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
34153
34172
|
function compileNgFactoryDefField(metadata) {
|
|
34154
34173
|
const res = compileFactoryFunction(metadata);
|
|
34155
34174
|
return {
|
|
@@ -34171,7 +34190,7 @@ function compileDeclareFactory(metadata) {
|
|
|
34171
34190
|
};
|
|
34172
34191
|
}
|
|
34173
34192
|
|
|
34174
|
-
// bazel-out/
|
|
34193
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
34175
34194
|
var InjectableClassRegistry = class {
|
|
34176
34195
|
constructor(host, isCore) {
|
|
34177
34196
|
this.host = host;
|
|
@@ -34197,7 +34216,7 @@ var InjectableClassRegistry = class {
|
|
|
34197
34216
|
}
|
|
34198
34217
|
};
|
|
34199
34218
|
|
|
34200
|
-
// bazel-out/
|
|
34219
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
34201
34220
|
var import_typescript49 = __toESM(require("typescript"), 1);
|
|
34202
34221
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
34203
34222
|
if (!reflection.isClass(clazz)) {
|
|
@@ -34283,7 +34302,7 @@ function removeIdentifierReferences(node, names) {
|
|
|
34283
34302
|
return result.transformed[0];
|
|
34284
34303
|
}
|
|
34285
34304
|
|
|
34286
|
-
// bazel-out/
|
|
34305
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
|
|
34287
34306
|
var path = __toESM(require("path"), 1);
|
|
34288
34307
|
function extractClassDebugInfo(clazz, reflection, rootDirs, forbidOrphanRendering) {
|
|
34289
34308
|
if (!reflection.isClass(clazz)) {
|
|
@@ -34309,13 +34328,13 @@ function computeRelativePathIfPossible(filePath, rootDirs) {
|
|
|
34309
34328
|
return null;
|
|
34310
34329
|
}
|
|
34311
34330
|
|
|
34312
|
-
// bazel-out/
|
|
34331
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
34313
34332
|
var NoopReferencesRegistry = class {
|
|
34314
34333
|
add(source, ...references) {
|
|
34315
34334
|
}
|
|
34316
34335
|
};
|
|
34317
34336
|
|
|
34318
|
-
// bazel-out/
|
|
34337
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
34319
34338
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
34320
34339
|
const schemas = [];
|
|
34321
34340
|
const result = evaluator.evaluate(rawExpr);
|
|
@@ -34344,7 +34363,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
34344
34363
|
return schemas;
|
|
34345
34364
|
}
|
|
34346
34365
|
|
|
34347
|
-
// bazel-out/
|
|
34366
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
|
|
34348
34367
|
function compileInputTransformFields(inputs) {
|
|
34349
34368
|
const extraFields = [];
|
|
34350
34369
|
for (const input of inputs) {
|
|
@@ -34361,10 +34380,10 @@ function compileInputTransformFields(inputs) {
|
|
|
34361
34380
|
return extraFields;
|
|
34362
34381
|
}
|
|
34363
34382
|
|
|
34364
|
-
// bazel-out/
|
|
34383
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
34365
34384
|
var import_typescript88 = __toESM(require("typescript"), 1);
|
|
34366
34385
|
|
|
34367
|
-
// bazel-out/
|
|
34386
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
34368
34387
|
var import_typescript50 = __toESM(require("typescript"), 1);
|
|
34369
34388
|
var SemanticSymbol = class {
|
|
34370
34389
|
constructor(decl) {
|
|
@@ -34380,7 +34399,7 @@ function getSymbolIdentifier(decl) {
|
|
|
34380
34399
|
return decl.name.text;
|
|
34381
34400
|
}
|
|
34382
34401
|
|
|
34383
|
-
// bazel-out/
|
|
34402
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
34384
34403
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
34385
34404
|
isPublicApiAffected() {
|
|
34386
34405
|
return false;
|
|
@@ -34522,10 +34541,10 @@ function getImportPath(expr) {
|
|
|
34522
34541
|
}
|
|
34523
34542
|
}
|
|
34524
34543
|
|
|
34525
|
-
// bazel-out/
|
|
34544
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
34526
34545
|
var import_typescript51 = __toESM(require("typescript"), 1);
|
|
34527
34546
|
|
|
34528
|
-
// bazel-out/
|
|
34547
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
34529
34548
|
function isSymbolEqual(a, b) {
|
|
34530
34549
|
if (a.decl === b.decl) {
|
|
34531
34550
|
return true;
|
|
@@ -34575,7 +34594,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
34575
34594
|
return true;
|
|
34576
34595
|
}
|
|
34577
34596
|
|
|
34578
|
-
// bazel-out/
|
|
34597
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
34579
34598
|
function extractSemanticTypeParameters(node) {
|
|
34580
34599
|
if (!import_typescript51.default.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
34581
34600
|
return null;
|
|
@@ -34597,14 +34616,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
34597
34616
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
34598
34617
|
}
|
|
34599
34618
|
|
|
34600
|
-
// bazel-out/
|
|
34619
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
34601
34620
|
var ComponentScopeKind;
|
|
34602
34621
|
(function(ComponentScopeKind2) {
|
|
34603
34622
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
34604
34623
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
34605
34624
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
34606
34625
|
|
|
34607
|
-
// bazel-out/
|
|
34626
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
34608
34627
|
var CompoundComponentScopeReader = class {
|
|
34609
34628
|
constructor(readers) {
|
|
34610
34629
|
this.readers = readers;
|
|
@@ -34629,7 +34648,7 @@ var CompoundComponentScopeReader = class {
|
|
|
34629
34648
|
}
|
|
34630
34649
|
};
|
|
34631
34650
|
|
|
34632
|
-
// bazel-out/
|
|
34651
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
34633
34652
|
var MetadataDtsModuleScopeResolver = class {
|
|
34634
34653
|
constructor(dtsMetaReader, aliasingHost) {
|
|
34635
34654
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -34704,10 +34723,10 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
34704
34723
|
}
|
|
34705
34724
|
};
|
|
34706
34725
|
|
|
34707
|
-
// bazel-out/
|
|
34726
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
34708
34727
|
var import_typescript52 = __toESM(require("typescript"), 1);
|
|
34709
34728
|
|
|
34710
|
-
// bazel-out/
|
|
34729
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
34711
34730
|
function getDiagnosticNode(ref, rawExpr) {
|
|
34712
34731
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
34713
34732
|
}
|
|
@@ -34733,7 +34752,7 @@ function makeUnknownComponentDeferredImportDiagnostic(ref, rawExpr) {
|
|
|
34733
34752
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_DEFERRED_IMPORT, getDiagnosticNode(ref, rawExpr), `Component deferred imports must be standalone components, directives or pipes.`);
|
|
34734
34753
|
}
|
|
34735
34754
|
|
|
34736
|
-
// bazel-out/
|
|
34755
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
34737
34756
|
var LocalModuleScopeRegistry = class {
|
|
34738
34757
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
34739
34758
|
this.localReader = localReader;
|
|
@@ -35074,7 +35093,7 @@ function reexportCollision(module2, refA, refB) {
|
|
|
35074
35093
|
]);
|
|
35075
35094
|
}
|
|
35076
35095
|
|
|
35077
|
-
// bazel-out/
|
|
35096
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
35078
35097
|
var import_typescript54 = __toESM(require("typescript"), 1);
|
|
35079
35098
|
var TypeCheckScopeRegistry = class {
|
|
35080
35099
|
constructor(scopeReader, metaReader, hostDirectivesResolver) {
|
|
@@ -35154,10 +35173,10 @@ var TypeCheckScopeRegistry = class {
|
|
|
35154
35173
|
}
|
|
35155
35174
|
};
|
|
35156
35175
|
|
|
35157
|
-
// bazel-out/
|
|
35176
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
35158
35177
|
var import_typescript58 = __toESM(require("typescript"), 1);
|
|
35159
35178
|
|
|
35160
|
-
// bazel-out/
|
|
35179
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_function_access.mjs
|
|
35161
35180
|
function validateAccessOfInitializerApiMember({ api, call: call2 }, member) {
|
|
35162
35181
|
if (!api.allowedAccessLevels.includes(member.accessLevel)) {
|
|
35163
35182
|
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)}.`, [
|
|
@@ -35166,7 +35185,7 @@ function validateAccessOfInitializerApiMember({ api, call: call2 }, member) {
|
|
|
35166
35185
|
}
|
|
35167
35186
|
}
|
|
35168
35187
|
|
|
35169
|
-
// bazel-out/
|
|
35188
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.mjs
|
|
35170
35189
|
var import_typescript55 = __toESM(require("typescript"), 1);
|
|
35171
35190
|
function tryParseInitializerApi(functions, expression, reflector, importTracker) {
|
|
35172
35191
|
if (!import_typescript55.default.isCallExpression(expression)) {
|
|
@@ -35235,7 +35254,7 @@ function parseTopLevelCallFromNamespace(call2, functions, importTracker) {
|
|
|
35235
35254
|
return { api: matchingApi, apiReference, isRequired };
|
|
35236
35255
|
}
|
|
35237
35256
|
|
|
35238
|
-
// bazel-out/
|
|
35257
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.mjs
|
|
35239
35258
|
var import_typescript56 = __toESM(require("typescript"), 1);
|
|
35240
35259
|
function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
35241
35260
|
if (!import_typescript56.default.isObjectLiteralExpression(optionsNode)) {
|
|
@@ -35253,7 +35272,7 @@ function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
|
35253
35272
|
return { alias };
|
|
35254
35273
|
}
|
|
35255
35274
|
|
|
35256
|
-
// bazel-out/
|
|
35275
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
|
|
35257
35276
|
var INPUT_INITIALIZER_FN = {
|
|
35258
35277
|
functionName: "input",
|
|
35259
35278
|
owningModule: "@angular/core",
|
|
@@ -35285,7 +35304,7 @@ function tryParseSignalInputMapping(member, reflector, importTracker) {
|
|
|
35285
35304
|
};
|
|
35286
35305
|
}
|
|
35287
35306
|
|
|
35288
|
-
// bazel-out/
|
|
35307
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.mjs
|
|
35289
35308
|
var MODEL_INITIALIZER_FN = {
|
|
35290
35309
|
functionName: "model",
|
|
35291
35310
|
owningModule: "@angular/core",
|
|
@@ -35326,7 +35345,7 @@ function tryParseSignalModelMapping(member, reflector, importTracker) {
|
|
|
35326
35345
|
};
|
|
35327
35346
|
}
|
|
35328
35347
|
|
|
35329
|
-
// bazel-out/
|
|
35348
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.mjs
|
|
35330
35349
|
var allowedAccessLevels = [
|
|
35331
35350
|
ClassMemberAccessLevel.PublicWritable,
|
|
35332
35351
|
ClassMemberAccessLevel.PublicReadonly,
|
|
@@ -35370,7 +35389,7 @@ function tryParseInitializerBasedOutput(member, reflector, importTracker) {
|
|
|
35370
35389
|
};
|
|
35371
35390
|
}
|
|
35372
35391
|
|
|
35373
|
-
// bazel-out/
|
|
35392
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.mjs
|
|
35374
35393
|
var import_typescript57 = __toESM(require("typescript"), 1);
|
|
35375
35394
|
var queryFunctionNames = [
|
|
35376
35395
|
"viewChild",
|
|
@@ -35454,7 +35473,7 @@ function parseDescendantsOption(value) {
|
|
|
35454
35473
|
throw new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, value, `Expected "descendants" option to be a boolean literal.`);
|
|
35455
35474
|
}
|
|
35456
35475
|
|
|
35457
|
-
// bazel-out/
|
|
35476
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
35458
35477
|
var EMPTY_OBJECT = {};
|
|
35459
35478
|
var queryDecoratorNames = [
|
|
35460
35479
|
"ViewChild",
|
|
@@ -36252,7 +36271,7 @@ function toR3InputMetadata(mapping) {
|
|
|
36252
36271
|
};
|
|
36253
36272
|
}
|
|
36254
36273
|
|
|
36255
|
-
// bazel-out/
|
|
36274
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
36256
36275
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
36257
36276
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
36258
36277
|
super(decl);
|
|
@@ -36332,7 +36351,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
36332
36351
|
return isSymbolEqual(current, previous);
|
|
36333
36352
|
}
|
|
36334
36353
|
|
|
36335
|
-
// bazel-out/
|
|
36354
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
36336
36355
|
var FIELD_DECORATORS = [
|
|
36337
36356
|
"Input",
|
|
36338
36357
|
"Output",
|
|
@@ -36525,10 +36544,10 @@ var DirectiveDecoratorHandler = class {
|
|
|
36525
36544
|
}
|
|
36526
36545
|
};
|
|
36527
36546
|
|
|
36528
|
-
// bazel-out/
|
|
36547
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
36529
36548
|
var import_typescript60 = __toESM(require("typescript"), 1);
|
|
36530
36549
|
|
|
36531
|
-
// bazel-out/
|
|
36550
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
36532
36551
|
var import_typescript59 = __toESM(require("typescript"), 1);
|
|
36533
36552
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
36534
36553
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -36600,7 +36619,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
36600
36619
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
36601
36620
|
}
|
|
36602
36621
|
|
|
36603
|
-
// bazel-out/
|
|
36622
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
36604
36623
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
36605
36624
|
constructor(decl, hasProviders) {
|
|
36606
36625
|
super(decl);
|
|
@@ -37213,7 +37232,7 @@ function isSyntheticReference(ref) {
|
|
|
37213
37232
|
return ref.synthetic;
|
|
37214
37233
|
}
|
|
37215
37234
|
|
|
37216
|
-
// bazel-out/
|
|
37235
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
37217
37236
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
37218
37237
|
const name = ref.debugName || "(unknown)";
|
|
37219
37238
|
const path4 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -37236,7 +37255,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
37236
37255
|
return null;
|
|
37237
37256
|
}
|
|
37238
37257
|
|
|
37239
|
-
// bazel-out/
|
|
37258
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
37240
37259
|
var import_typescript62 = __toESM(require("typescript"), 1);
|
|
37241
37260
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
37242
37261
|
return declaration.isInline ? declaration.expression : declaration.templateUrlExpression;
|
|
@@ -37588,7 +37607,7 @@ function _extractTemplateStyleUrls(template2) {
|
|
|
37588
37607
|
}));
|
|
37589
37608
|
}
|
|
37590
37609
|
|
|
37591
|
-
// bazel-out/
|
|
37610
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
37592
37611
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
37593
37612
|
constructor() {
|
|
37594
37613
|
super(...arguments);
|
|
@@ -37623,7 +37642,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
37623
37642
|
}
|
|
37624
37643
|
};
|
|
37625
37644
|
|
|
37626
|
-
// bazel-out/
|
|
37645
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
37627
37646
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
37628
37647
|
if (value instanceof Map) {
|
|
37629
37648
|
const name = value.get("name");
|
|
@@ -37700,7 +37719,7 @@ function isLikelyModuleWithProviders(value) {
|
|
|
37700
37719
|
return false;
|
|
37701
37720
|
}
|
|
37702
37721
|
|
|
37703
|
-
// bazel-out/
|
|
37722
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
37704
37723
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
37705
37724
|
var UpdateMode;
|
|
37706
37725
|
(function(UpdateMode2) {
|
|
@@ -37708,13 +37727,13 @@ var UpdateMode;
|
|
|
37708
37727
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
37709
37728
|
})(UpdateMode || (UpdateMode = {}));
|
|
37710
37729
|
|
|
37711
|
-
// bazel-out/
|
|
37730
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
37712
37731
|
var import_typescript66 = __toESM(require("typescript"), 1);
|
|
37713
37732
|
|
|
37714
|
-
// bazel-out/
|
|
37733
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
37715
37734
|
var import_typescript63 = __toESM(require("typescript"), 1);
|
|
37716
37735
|
|
|
37717
|
-
// bazel-out/
|
|
37736
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
37718
37737
|
var NgExtension = Symbol("NgExtension");
|
|
37719
37738
|
function isExtended(sf) {
|
|
37720
37739
|
return sf[NgExtension] !== void 0;
|
|
@@ -37774,13 +37793,13 @@ function retagTsFile(sf) {
|
|
|
37774
37793
|
}
|
|
37775
37794
|
}
|
|
37776
37795
|
|
|
37777
|
-
// bazel-out/
|
|
37796
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
37778
37797
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
37779
37798
|
function makeShimFileName(fileName, suffix) {
|
|
37780
37799
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
37781
37800
|
}
|
|
37782
37801
|
|
|
37783
|
-
// bazel-out/
|
|
37802
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
37784
37803
|
var ShimAdapter = class {
|
|
37785
37804
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
37786
37805
|
this.delegate = delegate;
|
|
@@ -37875,7 +37894,7 @@ var ShimAdapter = class {
|
|
|
37875
37894
|
}
|
|
37876
37895
|
};
|
|
37877
37896
|
|
|
37878
|
-
// bazel-out/
|
|
37897
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
37879
37898
|
var ShimReferenceTagger = class {
|
|
37880
37899
|
constructor(shimExtensions) {
|
|
37881
37900
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -37909,7 +37928,7 @@ var ShimReferenceTagger = class {
|
|
|
37909
37928
|
}
|
|
37910
37929
|
};
|
|
37911
37930
|
|
|
37912
|
-
// bazel-out/
|
|
37931
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
37913
37932
|
var DelegatingCompilerHost = class {
|
|
37914
37933
|
get jsDocParsingMode() {
|
|
37915
37934
|
return this.delegate.jsDocParsingMode;
|
|
@@ -38027,14 +38046,14 @@ var TsCreateProgramDriver = class {
|
|
|
38027
38046
|
}
|
|
38028
38047
|
};
|
|
38029
38048
|
|
|
38030
|
-
// bazel-out/
|
|
38049
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
38031
38050
|
var OptimizeFor;
|
|
38032
38051
|
(function(OptimizeFor2) {
|
|
38033
38052
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
38034
38053
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
38035
38054
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
38036
38055
|
|
|
38037
|
-
// bazel-out/
|
|
38056
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
38038
38057
|
var CompletionKind;
|
|
38039
38058
|
(function(CompletionKind2) {
|
|
38040
38059
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
@@ -38042,7 +38061,7 @@ var CompletionKind;
|
|
|
38042
38061
|
CompletionKind2[CompletionKind2["LetDeclaration"] = 2] = "LetDeclaration";
|
|
38043
38062
|
})(CompletionKind || (CompletionKind = {}));
|
|
38044
38063
|
|
|
38045
|
-
// bazel-out/
|
|
38064
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
38046
38065
|
var PotentialImportKind;
|
|
38047
38066
|
(function(PotentialImportKind2) {
|
|
38048
38067
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -38054,7 +38073,7 @@ var PotentialImportMode;
|
|
|
38054
38073
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
38055
38074
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
38056
38075
|
|
|
38057
|
-
// bazel-out/
|
|
38076
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
38058
38077
|
var SymbolKind;
|
|
38059
38078
|
(function(SymbolKind2) {
|
|
38060
38079
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -38071,7 +38090,7 @@ var SymbolKind;
|
|
|
38071
38090
|
SymbolKind2[SymbolKind2["LetDeclaration"] = 11] = "LetDeclaration";
|
|
38072
38091
|
})(SymbolKind || (SymbolKind = {}));
|
|
38073
38092
|
|
|
38074
|
-
// bazel-out/
|
|
38093
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
38075
38094
|
var import_typescript68 = __toESM(require("typescript"), 1);
|
|
38076
38095
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
38077
38096
|
var _a2;
|
|
@@ -38182,7 +38201,7 @@ function parseTemplateAsSourceFile(fileName, template2) {
|
|
|
38182
38201
|
);
|
|
38183
38202
|
}
|
|
38184
38203
|
|
|
38185
|
-
// bazel-out/
|
|
38204
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
38186
38205
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
38187
38206
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
38188
38207
|
function getTemplateId(clazz) {
|
|
@@ -38199,10 +38218,10 @@ function allocateTemplateId(sf) {
|
|
|
38199
38218
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
38200
38219
|
}
|
|
38201
38220
|
|
|
38202
|
-
// bazel-out/
|
|
38221
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
38203
38222
|
var import_typescript70 = __toESM(require("typescript"), 1);
|
|
38204
38223
|
|
|
38205
|
-
// bazel-out/
|
|
38224
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
38206
38225
|
var import_typescript69 = __toESM(require("typescript"), 1);
|
|
38207
38226
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
38208
38227
|
function readSpanComment(node, sourceFile = node.getSourceFile()) {
|
|
@@ -38332,7 +38351,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
38332
38351
|
}) || false;
|
|
38333
38352
|
}
|
|
38334
38353
|
|
|
38335
|
-
// bazel-out/
|
|
38354
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
38336
38355
|
var CompletionEngine = class {
|
|
38337
38356
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
38338
38357
|
this.tcb = tcb;
|
|
@@ -39595,10 +39614,10 @@ var MagicString = class {
|
|
|
39595
39614
|
}
|
|
39596
39615
|
};
|
|
39597
39616
|
|
|
39598
|
-
// bazel-out/
|
|
39617
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
39599
39618
|
var import_typescript84 = __toESM(require("typescript"), 1);
|
|
39600
39619
|
|
|
39601
|
-
// bazel-out/
|
|
39620
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
39602
39621
|
var import_typescript71 = __toESM(require("typescript"), 1);
|
|
39603
39622
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
39604
39623
|
var REMOVE_XHTML_REGEX = /^:xhtml:/;
|
|
@@ -39650,10 +39669,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
39650
39669
|
}
|
|
39651
39670
|
};
|
|
39652
39671
|
|
|
39653
|
-
// bazel-out/
|
|
39672
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
39654
39673
|
var import_typescript77 = __toESM(require("typescript"), 1);
|
|
39655
39674
|
|
|
39656
|
-
// bazel-out/
|
|
39675
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
|
|
39657
39676
|
var ReferenceEmitEnvironment = class {
|
|
39658
39677
|
constructor(importManager, refEmitter, reflector, contextFile) {
|
|
39659
39678
|
this.importManager = importManager;
|
|
@@ -39683,7 +39702,7 @@ var ReferenceEmitEnvironment = class {
|
|
|
39683
39702
|
}
|
|
39684
39703
|
};
|
|
39685
39704
|
|
|
39686
|
-
// bazel-out/
|
|
39705
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
39687
39706
|
var import_typescript72 = __toESM(require("typescript"), 1);
|
|
39688
39707
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
39689
39708
|
import_typescript72.default.SyntaxKind.ParenthesizedExpression,
|
|
@@ -39766,13 +39785,13 @@ function tsNumericExpression2(value) {
|
|
|
39766
39785
|
return import_typescript72.default.factory.createNumericLiteral(value);
|
|
39767
39786
|
}
|
|
39768
39787
|
|
|
39769
|
-
// bazel-out/
|
|
39788
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
39770
39789
|
var import_typescript76 = __toESM(require("typescript"), 1);
|
|
39771
39790
|
|
|
39772
|
-
// bazel-out/
|
|
39791
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
39773
39792
|
var import_typescript74 = __toESM(require("typescript"), 1);
|
|
39774
39793
|
|
|
39775
|
-
// bazel-out/
|
|
39794
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
39776
39795
|
var import_typescript73 = __toESM(require("typescript"), 1);
|
|
39777
39796
|
var TypeParameterEmitter = class {
|
|
39778
39797
|
constructor(typeParameters, reflector) {
|
|
@@ -39850,7 +39869,7 @@ var TypeParameterEmitter = class {
|
|
|
39850
39869
|
}
|
|
39851
39870
|
};
|
|
39852
39871
|
|
|
39853
|
-
// bazel-out/
|
|
39872
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
39854
39873
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
39855
39874
|
Identifiers.InputSignalBrandWriteType
|
|
39856
39875
|
];
|
|
@@ -39942,7 +39961,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
39942
39961
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
39943
39962
|
}
|
|
39944
39963
|
|
|
39945
|
-
// bazel-out/
|
|
39964
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
39946
39965
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
39947
39966
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
39948
39967
|
const rawType = import_typescript76.default.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -40065,7 +40084,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
40065
40084
|
});
|
|
40066
40085
|
}
|
|
40067
40086
|
|
|
40068
|
-
// bazel-out/
|
|
40087
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
40069
40088
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
40070
40089
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
40071
40090
|
super(importManager, refEmitter, reflector, contextFile);
|
|
@@ -40137,7 +40156,7 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
40137
40156
|
}
|
|
40138
40157
|
};
|
|
40139
40158
|
|
|
40140
|
-
// bazel-out/
|
|
40159
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
40141
40160
|
var import_typescript78 = __toESM(require("typescript"), 1);
|
|
40142
40161
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
40143
40162
|
constructor(resolver) {
|
|
@@ -40324,10 +40343,10 @@ Deferred blocks can only access triggers in same view, a parent embedded view or
|
|
|
40324
40343
|
}
|
|
40325
40344
|
this._diagnostics.push(makeTemplateDiagnostic(templateId, this.resolver.getSourceMapping(templateId), sourceSpan, import_typescript78.default.DiagnosticCategory.Error, ngErrorCode(ErrorCode.LET_USED_BEFORE_DEFINITION), `Cannot read @let declaration '${target.name}' before it has been defined.`));
|
|
40326
40345
|
}
|
|
40327
|
-
|
|
40346
|
+
conflictingDeclaration(templateId, decl) {
|
|
40328
40347
|
const mapping = this.resolver.getSourceMapping(templateId);
|
|
40329
|
-
const errorMsg = `Cannot declare @let called '${
|
|
40330
|
-
this._diagnostics.push(makeTemplateDiagnostic(templateId, mapping,
|
|
40348
|
+
const errorMsg = `Cannot declare @let called '${decl.name}' as there is another symbol in the template with the same name.`;
|
|
40349
|
+
this._diagnostics.push(makeTemplateDiagnostic(templateId, mapping, decl.sourceSpan, import_typescript78.default.DiagnosticCategory.Error, ngErrorCode(ErrorCode.CONFLICTING_LET_DECLARATION), errorMsg));
|
|
40331
40350
|
}
|
|
40332
40351
|
};
|
|
40333
40352
|
function makeInlineDiagnostic(templateId, code, node, messageText, relatedInformation) {
|
|
@@ -40337,7 +40356,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
40337
40356
|
});
|
|
40338
40357
|
}
|
|
40339
40358
|
|
|
40340
|
-
// bazel-out/
|
|
40359
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
40341
40360
|
var import_typescript79 = __toESM(require("typescript"), 1);
|
|
40342
40361
|
var TypeCheckShimGenerator = class {
|
|
40343
40362
|
constructor() {
|
|
@@ -40355,10 +40374,10 @@ var TypeCheckShimGenerator = class {
|
|
|
40355
40374
|
}
|
|
40356
40375
|
};
|
|
40357
40376
|
|
|
40358
|
-
// bazel-out/
|
|
40377
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
40359
40378
|
var import_typescript82 = __toESM(require("typescript"), 1);
|
|
40360
40379
|
|
|
40361
|
-
// bazel-out/
|
|
40380
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
40362
40381
|
var import_typescript80 = __toESM(require("typescript"), 1);
|
|
40363
40382
|
function wrapForDiagnostics(expr) {
|
|
40364
40383
|
return import_typescript80.default.factory.createParenthesizedExpression(expr);
|
|
@@ -40413,7 +40432,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
40413
40432
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
40414
40433
|
}
|
|
40415
40434
|
|
|
40416
|
-
// bazel-out/
|
|
40435
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
40417
40436
|
var import_typescript81 = __toESM(require("typescript"), 1);
|
|
40418
40437
|
var NULL_AS_ANY = import_typescript81.default.factory.createAsExpression(import_typescript81.default.factory.createNull(), import_typescript81.default.factory.createKeywordTypeNode(import_typescript81.default.SyntaxKind.AnyKeyword));
|
|
40419
40438
|
var UNDEFINED = import_typescript81.default.factory.createIdentifier("undefined");
|
|
@@ -40745,7 +40764,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
40745
40764
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
40746
40765
|
})();
|
|
40747
40766
|
|
|
40748
|
-
// bazel-out/
|
|
40767
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
40749
40768
|
var TcbGenericContextBehavior;
|
|
40750
40769
|
(function(TcbGenericContextBehavior2) {
|
|
40751
40770
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -41724,14 +41743,12 @@ var _Scope = class {
|
|
|
41724
41743
|
}
|
|
41725
41744
|
for (const node of children) {
|
|
41726
41745
|
scope.appendNode(node);
|
|
41727
|
-
|
|
41728
|
-
|
|
41729
|
-
|
|
41730
|
-
|
|
41731
|
-
|
|
41732
|
-
|
|
41733
|
-
}
|
|
41734
|
-
}
|
|
41746
|
+
}
|
|
41747
|
+
for (const variable2 of scope.varMap.keys()) {
|
|
41748
|
+
_Scope.checkConflictingLet(scope, variable2);
|
|
41749
|
+
}
|
|
41750
|
+
for (const ref of scope.referenceOpMap.keys()) {
|
|
41751
|
+
_Scope.checkConflictingLet(scope, ref);
|
|
41735
41752
|
}
|
|
41736
41753
|
return scope;
|
|
41737
41754
|
}
|
|
@@ -41795,7 +41812,7 @@ var _Scope = class {
|
|
|
41795
41812
|
if (ref instanceof Reference && this.referenceOpMap.has(ref)) {
|
|
41796
41813
|
return this.resolveOp(this.referenceOpMap.get(ref));
|
|
41797
41814
|
} else if (ref instanceof LetDeclaration && this.letDeclOpMap.has(ref.name)) {
|
|
41798
|
-
return this.resolveOp(this.letDeclOpMap.get(ref.name));
|
|
41815
|
+
return this.resolveOp(this.letDeclOpMap.get(ref.name).opIndex);
|
|
41799
41816
|
} else if (ref instanceof Variable && this.varMap.has(ref)) {
|
|
41800
41817
|
const opIndexOrNode = this.varMap.get(ref);
|
|
41801
41818
|
return typeof opIndexOrNode === "number" ? this.resolveOp(opIndexOrNode) : opIndexOrNode;
|
|
@@ -41871,6 +41888,13 @@ var _Scope = class {
|
|
|
41871
41888
|
this.appendIcuExpressions(node);
|
|
41872
41889
|
} else if (node instanceof Content) {
|
|
41873
41890
|
this.appendChildren(node);
|
|
41891
|
+
} else if (node instanceof LetDeclaration) {
|
|
41892
|
+
const opIndex = this.opQueue.push(new TcbLetDeclarationOp(this.tcb, this, node)) - 1;
|
|
41893
|
+
if (this.isLocal(node)) {
|
|
41894
|
+
this.tcb.oobRecorder.conflictingDeclaration(this.tcb.id, node);
|
|
41895
|
+
} else {
|
|
41896
|
+
this.letDeclOpMap.set(node.name, { opIndex, node });
|
|
41897
|
+
}
|
|
41874
41898
|
}
|
|
41875
41899
|
}
|
|
41876
41900
|
appendChildren(node) {
|
|
@@ -42036,6 +42060,11 @@ var _Scope = class {
|
|
|
42036
42060
|
this.tcb.oobRecorder.inaccessibleDeferredTriggerElement(this.tcb.id, trigger);
|
|
42037
42061
|
}
|
|
42038
42062
|
}
|
|
42063
|
+
static checkConflictingLet(scope, node) {
|
|
42064
|
+
if (scope.letDeclOpMap.has(node.name)) {
|
|
42065
|
+
scope.tcb.oobRecorder.conflictingDeclaration(scope.tcb.id, scope.letDeclOpMap.get(node.name).node);
|
|
42066
|
+
}
|
|
42067
|
+
}
|
|
42039
42068
|
};
|
|
42040
42069
|
var Scope3 = _Scope;
|
|
42041
42070
|
(() => {
|
|
@@ -42322,7 +42351,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
42322
42351
|
}
|
|
42323
42352
|
};
|
|
42324
42353
|
|
|
42325
|
-
// bazel-out/
|
|
42354
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
42326
42355
|
var import_typescript83 = __toESM(require("typescript"), 1);
|
|
42327
42356
|
var TypeCheckFile = class extends Environment {
|
|
42328
42357
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -42370,7 +42399,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
42370
42399
|
}
|
|
42371
42400
|
};
|
|
42372
42401
|
|
|
42373
|
-
// bazel-out/
|
|
42402
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
42374
42403
|
var InliningMode;
|
|
42375
42404
|
(function(InliningMode2) {
|
|
42376
42405
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -42622,7 +42651,7 @@ var TypeCtorOp = class {
|
|
|
42622
42651
|
}
|
|
42623
42652
|
};
|
|
42624
42653
|
|
|
42625
|
-
// bazel-out/
|
|
42654
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
42626
42655
|
var LF_CHAR = 10;
|
|
42627
42656
|
var CR_CHAR = 13;
|
|
42628
42657
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -42663,7 +42692,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
42663
42692
|
return low - 1;
|
|
42664
42693
|
}
|
|
42665
42694
|
|
|
42666
|
-
// bazel-out/
|
|
42695
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
42667
42696
|
var TemplateSource = class {
|
|
42668
42697
|
constructor(mapping, file) {
|
|
42669
42698
|
this.mapping = mapping;
|
|
@@ -42714,7 +42743,7 @@ var TemplateSourceManager = class {
|
|
|
42714
42743
|
}
|
|
42715
42744
|
};
|
|
42716
42745
|
|
|
42717
|
-
// bazel-out/
|
|
42746
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
42718
42747
|
var import_typescript85 = __toESM(require("typescript"), 1);
|
|
42719
42748
|
var SymbolBuilder = class {
|
|
42720
42749
|
constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
|
|
@@ -43281,7 +43310,7 @@ function unwrapSignalInputWriteTAccessor(expr) {
|
|
|
43281
43310
|
};
|
|
43282
43311
|
}
|
|
43283
43312
|
|
|
43284
|
-
// bazel-out/
|
|
43313
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
43285
43314
|
var REGISTRY2 = new DomElementSchemaRegistry();
|
|
43286
43315
|
var TemplateTypeCheckerImpl = class {
|
|
43287
43316
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -43979,7 +44008,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
43979
44008
|
}
|
|
43980
44009
|
};
|
|
43981
44010
|
|
|
43982
|
-
// bazel-out/
|
|
44011
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
43983
44012
|
var EMPTY_ARRAY2 = [];
|
|
43984
44013
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
43985
44014
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
@@ -44998,7 +45027,7 @@ function isDefaultImport(node) {
|
|
|
44998
45027
|
return node.importClause !== void 0 && node.importClause.namedBindings === void 0;
|
|
44999
45028
|
}
|
|
45000
45029
|
|
|
45001
|
-
// bazel-out/
|
|
45030
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
45002
45031
|
var import_typescript90 = __toESM(require("typescript"), 1);
|
|
45003
45032
|
var InjectableDecoratorHandler = class {
|
|
45004
45033
|
constructor(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, perf, includeClassMetadata, compilationMode, errorOnDuplicateProv = true) {
|
|
@@ -45229,7 +45258,7 @@ function getDep(dep, reflector) {
|
|
|
45229
45258
|
return meta;
|
|
45230
45259
|
}
|
|
45231
45260
|
|
|
45232
|
-
// bazel-out/
|
|
45261
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
45233
45262
|
var import_typescript91 = __toESM(require("typescript"), 1);
|
|
45234
45263
|
var PipeSymbol = class extends SemanticSymbol {
|
|
45235
45264
|
constructor(decl, name) {
|
|
@@ -45385,13 +45414,13 @@ var PipeDecoratorHandler = class {
|
|
|
45385
45414
|
}
|
|
45386
45415
|
};
|
|
45387
45416
|
|
|
45388
|
-
// bazel-out/
|
|
45417
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/transform_api.mjs
|
|
45389
45418
|
var import_typescript92 = __toESM(require("typescript"), 1);
|
|
45390
45419
|
|
|
45391
|
-
// bazel-out/
|
|
45420
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/model_function.mjs
|
|
45392
45421
|
var import_typescript93 = __toESM(require("typescript"), 1);
|
|
45393
45422
|
|
|
45394
|
-
// bazel-out/
|
|
45423
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
45395
45424
|
var EmitFlags;
|
|
45396
45425
|
(function(EmitFlags2) {
|
|
45397
45426
|
EmitFlags2[EmitFlags2["DTS"] = 1] = "DTS";
|
|
@@ -45403,13 +45432,13 @@ var EmitFlags;
|
|
|
45403
45432
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
45404
45433
|
})(EmitFlags || (EmitFlags = {}));
|
|
45405
45434
|
|
|
45406
|
-
// bazel-out/
|
|
45435
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
45407
45436
|
var import_typescript96 = __toESM(require("typescript"), 1);
|
|
45408
45437
|
|
|
45409
|
-
// bazel-out/
|
|
45438
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
45410
45439
|
var import_typescript123 = __toESM(require("typescript"), 1);
|
|
45411
45440
|
|
|
45412
|
-
// bazel-out/
|
|
45441
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
45413
45442
|
var path2 = __toESM(require("path"), 1);
|
|
45414
45443
|
function i18nGetExtension(formatName) {
|
|
45415
45444
|
const format = formatName.toLowerCase();
|
|
@@ -45459,10 +45488,10 @@ function getPathNormalizer(basePath) {
|
|
|
45459
45488
|
};
|
|
45460
45489
|
}
|
|
45461
45490
|
|
|
45462
|
-
// bazel-out/
|
|
45491
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
45463
45492
|
var import_typescript97 = __toESM(require("typescript"), 1);
|
|
45464
45493
|
|
|
45465
|
-
// bazel-out/
|
|
45494
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
45466
45495
|
function toNumbers(value) {
|
|
45467
45496
|
const suffixIndex = value.lastIndexOf("-");
|
|
45468
45497
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -45497,7 +45526,7 @@ function compareVersions(v1, v2) {
|
|
|
45497
45526
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
45498
45527
|
}
|
|
45499
45528
|
|
|
45500
|
-
// bazel-out/
|
|
45529
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
45501
45530
|
var MIN_TS_VERSION = "5.4.0";
|
|
45502
45531
|
var MAX_TS_VERSION = "5.6.0";
|
|
45503
45532
|
var tsVersion = import_typescript97.default.version;
|
|
@@ -45510,10 +45539,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
45510
45539
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
45511
45540
|
}
|
|
45512
45541
|
|
|
45513
|
-
// bazel-out/
|
|
45542
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
45514
45543
|
var import_typescript119 = __toESM(require("typescript"), 1);
|
|
45515
45544
|
|
|
45516
|
-
// bazel-out/
|
|
45545
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
45517
45546
|
var CycleAnalyzer = class {
|
|
45518
45547
|
constructor(importGraph) {
|
|
45519
45548
|
this.importGraph = importGraph;
|
|
@@ -45584,7 +45613,7 @@ var Cycle = class {
|
|
|
45584
45613
|
}
|
|
45585
45614
|
};
|
|
45586
45615
|
|
|
45587
|
-
// bazel-out/
|
|
45616
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
45588
45617
|
var import_typescript98 = __toESM(require("typescript"), 1);
|
|
45589
45618
|
var ImportGraph = class {
|
|
45590
45619
|
constructor(checker, perf) {
|
|
@@ -45676,13 +45705,13 @@ var Found = class {
|
|
|
45676
45705
|
}
|
|
45677
45706
|
};
|
|
45678
45707
|
|
|
45679
|
-
// bazel-out/
|
|
45708
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
45680
45709
|
var import_typescript107 = __toESM(require("typescript"), 1);
|
|
45681
45710
|
|
|
45682
|
-
// bazel-out/
|
|
45711
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
45683
45712
|
var import_typescript102 = __toESM(require("typescript"), 1);
|
|
45684
45713
|
|
|
45685
|
-
// bazel-out/
|
|
45714
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
45686
45715
|
var EntryType;
|
|
45687
45716
|
(function(EntryType2) {
|
|
45688
45717
|
EntryType2["Block"] = "block";
|
|
@@ -45726,17 +45755,17 @@ var MemberTags;
|
|
|
45726
45755
|
MemberTags2["Inherited"] = "override";
|
|
45727
45756
|
})(MemberTags || (MemberTags = {}));
|
|
45728
45757
|
|
|
45729
|
-
// bazel-out/
|
|
45758
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
45730
45759
|
function isAngularPrivateName(name) {
|
|
45731
45760
|
var _a2;
|
|
45732
45761
|
const firstChar = (_a2 = name[0]) != null ? _a2 : "";
|
|
45733
45762
|
return firstChar === "\u0275" || firstChar === "_";
|
|
45734
45763
|
}
|
|
45735
45764
|
|
|
45736
|
-
// bazel-out/
|
|
45765
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
45737
45766
|
var import_typescript100 = __toESM(require("typescript"), 1);
|
|
45738
45767
|
|
|
45739
|
-
// bazel-out/
|
|
45768
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
45740
45769
|
function extractGenerics(declaration) {
|
|
45741
45770
|
var _a2, _b2;
|
|
45742
45771
|
return (_b2 = (_a2 = declaration.typeParameters) == null ? void 0 : _a2.map((typeParam) => {
|
|
@@ -45749,7 +45778,7 @@ function extractGenerics(declaration) {
|
|
|
45749
45778
|
})) != null ? _b2 : [];
|
|
45750
45779
|
}
|
|
45751
45780
|
|
|
45752
|
-
// bazel-out/
|
|
45781
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
45753
45782
|
var import_typescript99 = __toESM(require("typescript"), 1);
|
|
45754
45783
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf))/g;
|
|
45755
45784
|
function extractJsDocTags(node) {
|
|
@@ -45793,12 +45822,12 @@ function unescapeAngularDecorators(comment) {
|
|
|
45793
45822
|
return comment.replace(/_NG_AT_/g, "@");
|
|
45794
45823
|
}
|
|
45795
45824
|
|
|
45796
|
-
// bazel-out/
|
|
45825
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
45797
45826
|
function extractResolvedTypeString(node, checker) {
|
|
45798
45827
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
45799
45828
|
}
|
|
45800
45829
|
|
|
45801
|
-
// bazel-out/
|
|
45830
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
45802
45831
|
var FunctionExtractor = class {
|
|
45803
45832
|
constructor(name, declaration, typeChecker) {
|
|
45804
45833
|
this.name = name;
|
|
@@ -45857,7 +45886,7 @@ function extractAllParams(params, typeChecker) {
|
|
|
45857
45886
|
}));
|
|
45858
45887
|
}
|
|
45859
45888
|
|
|
45860
|
-
// bazel-out/
|
|
45889
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
|
|
45861
45890
|
var import_typescript101 = __toESM(require("typescript"), 1);
|
|
45862
45891
|
function isInternal(member) {
|
|
45863
45892
|
return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
|
|
@@ -45876,7 +45905,7 @@ function hasLeadingInternalComment(member) {
|
|
|
45876
45905
|
)) != null ? _a2 : false;
|
|
45877
45906
|
}
|
|
45878
45907
|
|
|
45879
|
-
// bazel-out/
|
|
45908
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
45880
45909
|
var ClassExtractor = class {
|
|
45881
45910
|
constructor(declaration, typeChecker) {
|
|
45882
45911
|
this.declaration = declaration;
|
|
@@ -46128,7 +46157,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
46128
46157
|
return extractor.extract();
|
|
46129
46158
|
}
|
|
46130
46159
|
|
|
46131
|
-
// bazel-out/
|
|
46160
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
46132
46161
|
var import_typescript103 = __toESM(require("typescript"), 1);
|
|
46133
46162
|
var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
|
|
46134
46163
|
function extractConstant(declaration, typeChecker) {
|
|
@@ -46186,7 +46215,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
|
|
|
46186
46215
|
});
|
|
46187
46216
|
}
|
|
46188
46217
|
|
|
46189
|
-
// bazel-out/
|
|
46218
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
46190
46219
|
var import_typescript104 = __toESM(require("typescript"), 1);
|
|
46191
46220
|
function extractorDecorator(declaration, typeChecker) {
|
|
46192
46221
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -46259,7 +46288,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
46259
46288
|
return callSignature;
|
|
46260
46289
|
}
|
|
46261
46290
|
|
|
46262
|
-
// bazel-out/
|
|
46291
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
46263
46292
|
var import_typescript105 = __toESM(require("typescript"), 1);
|
|
46264
46293
|
function extractEnum(declaration, typeChecker) {
|
|
46265
46294
|
return {
|
|
@@ -46290,7 +46319,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
46290
46319
|
return (_a2 = literal3 == null ? void 0 : literal3.getText()) != null ? _a2 : "";
|
|
46291
46320
|
}
|
|
46292
46321
|
|
|
46293
|
-
// bazel-out/
|
|
46322
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
|
|
46294
46323
|
var import_typescript106 = __toESM(require("typescript"), 1);
|
|
46295
46324
|
var initializerApiTag = "initializerApiFunction";
|
|
46296
46325
|
function isInitializerApiFunction(node, typeChecker) {
|
|
@@ -46427,7 +46456,7 @@ function findImplementationOfFunction(node, typeChecker) {
|
|
|
46427
46456
|
return (_a2 = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _a2.find((s) => import_typescript106.default.isFunctionDeclaration(s) && s.body !== void 0);
|
|
46428
46457
|
}
|
|
46429
46458
|
|
|
46430
|
-
// bazel-out/
|
|
46459
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
46431
46460
|
function extractTypeAlias(declaration) {
|
|
46432
46461
|
return {
|
|
46433
46462
|
name: declaration.name.getText(),
|
|
@@ -46439,7 +46468,7 @@ function extractTypeAlias(declaration) {
|
|
|
46439
46468
|
};
|
|
46440
46469
|
}
|
|
46441
46470
|
|
|
46442
|
-
// bazel-out/
|
|
46471
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
46443
46472
|
var DocsExtractor = class {
|
|
46444
46473
|
constructor(typeChecker, metadataReader) {
|
|
46445
46474
|
this.typeChecker = typeChecker;
|
|
@@ -46523,7 +46552,7 @@ function getRelativeFilePath(sourceFile, rootDir) {
|
|
|
46523
46552
|
return relativePath;
|
|
46524
46553
|
}
|
|
46525
46554
|
|
|
46526
|
-
// bazel-out/
|
|
46555
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
46527
46556
|
var import_typescript108 = __toESM(require("typescript"), 1);
|
|
46528
46557
|
var FlatIndexGenerator = class {
|
|
46529
46558
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -46548,7 +46577,7 @@ export * from '${relativeEntryPoint}';
|
|
|
46548
46577
|
}
|
|
46549
46578
|
};
|
|
46550
46579
|
|
|
46551
|
-
// bazel-out/
|
|
46580
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
46552
46581
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
46553
46582
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
46554
46583
|
let resolvedEntryPoint = null;
|
|
@@ -46564,7 +46593,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
46564
46593
|
return resolvedEntryPoint;
|
|
46565
46594
|
}
|
|
46566
46595
|
|
|
46567
|
-
// bazel-out/
|
|
46596
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
46568
46597
|
var import_typescript110 = __toESM(require("typescript"), 1);
|
|
46569
46598
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
46570
46599
|
const diagnostics = [];
|
|
@@ -46644,7 +46673,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
46644
46673
|
}
|
|
46645
46674
|
}
|
|
46646
46675
|
|
|
46647
|
-
// bazel-out/
|
|
46676
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
46648
46677
|
var ReferenceGraph = class {
|
|
46649
46678
|
constructor() {
|
|
46650
46679
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -46698,7 +46727,7 @@ var ReferenceGraph = class {
|
|
|
46698
46727
|
}
|
|
46699
46728
|
};
|
|
46700
46729
|
|
|
46701
|
-
// bazel-out/
|
|
46730
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
46702
46731
|
var FileDependencyGraph = class {
|
|
46703
46732
|
constructor() {
|
|
46704
46733
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -46765,7 +46794,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
46765
46794
|
return false;
|
|
46766
46795
|
}
|
|
46767
46796
|
|
|
46768
|
-
// bazel-out/
|
|
46797
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
46769
46798
|
var IncrementalStateKind;
|
|
46770
46799
|
(function(IncrementalStateKind2) {
|
|
46771
46800
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -46773,7 +46802,7 @@ var IncrementalStateKind;
|
|
|
46773
46802
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
46774
46803
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
46775
46804
|
|
|
46776
|
-
// bazel-out/
|
|
46805
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
46777
46806
|
var PhaseKind;
|
|
46778
46807
|
(function(PhaseKind2) {
|
|
46779
46808
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -46974,7 +47003,7 @@ function toOriginalSourceFile(sf) {
|
|
|
46974
47003
|
}
|
|
46975
47004
|
}
|
|
46976
47005
|
|
|
46977
|
-
// bazel-out/
|
|
47006
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
46978
47007
|
var TrackedIncrementalBuildStrategy = class {
|
|
46979
47008
|
constructor() {
|
|
46980
47009
|
this.state = null;
|
|
@@ -46995,7 +47024,7 @@ var TrackedIncrementalBuildStrategy = class {
|
|
|
46995
47024
|
};
|
|
46996
47025
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
46997
47026
|
|
|
46998
|
-
// bazel-out/
|
|
47027
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
46999
47028
|
var IdentifierKind;
|
|
47000
47029
|
(function(IdentifierKind2) {
|
|
47001
47030
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -47014,7 +47043,7 @@ var AbsoluteSourceSpan2 = class {
|
|
|
47014
47043
|
}
|
|
47015
47044
|
};
|
|
47016
47045
|
|
|
47017
|
-
// bazel-out/
|
|
47046
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
47018
47047
|
var IndexingContext = class {
|
|
47019
47048
|
constructor() {
|
|
47020
47049
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -47024,7 +47053,7 @@ var IndexingContext = class {
|
|
|
47024
47053
|
}
|
|
47025
47054
|
};
|
|
47026
47055
|
|
|
47027
|
-
// bazel-out/
|
|
47056
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
47028
47057
|
var ExpressionVisitor = class extends RecursiveAstVisitor2 {
|
|
47029
47058
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
47030
47059
|
super();
|
|
@@ -47318,7 +47347,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
47318
47347
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
47319
47348
|
}
|
|
47320
47349
|
|
|
47321
|
-
// bazel-out/
|
|
47350
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
47322
47351
|
function generateAnalysis(context) {
|
|
47323
47352
|
const analysis = /* @__PURE__ */ new Map();
|
|
47324
47353
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -47354,7 +47383,7 @@ function generateAnalysis(context) {
|
|
|
47354
47383
|
return analysis;
|
|
47355
47384
|
}
|
|
47356
47385
|
|
|
47357
|
-
// bazel-out/
|
|
47386
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
47358
47387
|
var NgModuleIndexImpl = class {
|
|
47359
47388
|
constructor(metaReader, localReader) {
|
|
47360
47389
|
this.metaReader = metaReader;
|
|
@@ -47443,7 +47472,7 @@ var NgModuleIndexImpl = class {
|
|
|
47443
47472
|
}
|
|
47444
47473
|
};
|
|
47445
47474
|
|
|
47446
|
-
// bazel-out/
|
|
47475
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
47447
47476
|
var import_typescript112 = __toESM(require("typescript"), 1);
|
|
47448
47477
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
47449
47478
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -47595,7 +47624,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
47595
47624
|
};
|
|
47596
47625
|
}
|
|
47597
47626
|
|
|
47598
|
-
// bazel-out/
|
|
47627
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
47599
47628
|
var StandaloneComponentScopeReader = class {
|
|
47600
47629
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
47601
47630
|
this.metaReader = metaReader;
|
|
@@ -47691,7 +47720,7 @@ var StandaloneComponentScopeReader = class {
|
|
|
47691
47720
|
}
|
|
47692
47721
|
};
|
|
47693
47722
|
|
|
47694
|
-
// bazel-out/
|
|
47723
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
|
|
47695
47724
|
var import_typescript113 = __toESM(require("typescript"), 1);
|
|
47696
47725
|
var SIGNAL_FNS = /* @__PURE__ */ new Set([
|
|
47697
47726
|
"WritableSignal",
|
|
@@ -47711,7 +47740,7 @@ function isSignalSymbol(symbol) {
|
|
|
47711
47740
|
});
|
|
47712
47741
|
}
|
|
47713
47742
|
|
|
47714
|
-
// bazel-out/
|
|
47743
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
47715
47744
|
var TemplateCheckWithVisitor = class {
|
|
47716
47745
|
run(ctx, component, template2) {
|
|
47717
47746
|
const visitor = new TemplateVisitor2(ctx, component, this);
|
|
@@ -47838,7 +47867,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
47838
47867
|
}
|
|
47839
47868
|
};
|
|
47840
47869
|
|
|
47841
|
-
// bazel-out/
|
|
47870
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
47842
47871
|
var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
|
|
47843
47872
|
var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
|
|
47844
47873
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -47890,7 +47919,7 @@ var factory = {
|
|
|
47890
47919
|
create: () => new InterpolatedSignalCheck()
|
|
47891
47920
|
};
|
|
47892
47921
|
|
|
47893
|
-
// bazel-out/
|
|
47922
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
47894
47923
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
47895
47924
|
constructor() {
|
|
47896
47925
|
super(...arguments);
|
|
@@ -47915,7 +47944,7 @@ var factory2 = {
|
|
|
47915
47944
|
create: () => new InvalidBananaInBoxCheck()
|
|
47916
47945
|
};
|
|
47917
47946
|
|
|
47918
|
-
// bazel-out/
|
|
47947
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
47919
47948
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
47920
47949
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
47921
47950
|
["ngFor", { directive: "NgFor", builtIn: "@for" }],
|
|
@@ -47959,7 +47988,7 @@ var factory3 = {
|
|
|
47959
47988
|
}
|
|
47960
47989
|
};
|
|
47961
47990
|
|
|
47962
|
-
// bazel-out/
|
|
47991
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
47963
47992
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
47964
47993
|
constructor() {
|
|
47965
47994
|
super(...arguments);
|
|
@@ -47991,7 +48020,7 @@ var factory4 = {
|
|
|
47991
48020
|
create: () => new MissingNgForOfLetCheck()
|
|
47992
48021
|
};
|
|
47993
48022
|
|
|
47994
|
-
// bazel-out/
|
|
48023
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
47995
48024
|
var import_typescript114 = __toESM(require("typescript"), 1);
|
|
47996
48025
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
47997
48026
|
constructor() {
|
|
@@ -48035,7 +48064,7 @@ var factory5 = {
|
|
|
48035
48064
|
}
|
|
48036
48065
|
};
|
|
48037
48066
|
|
|
48038
|
-
// bazel-out/
|
|
48067
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
48039
48068
|
var import_typescript115 = __toESM(require("typescript"), 1);
|
|
48040
48069
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
48041
48070
|
constructor() {
|
|
@@ -48080,7 +48109,7 @@ var factory6 = {
|
|
|
48080
48109
|
}
|
|
48081
48110
|
};
|
|
48082
48111
|
|
|
48083
|
-
// bazel-out/
|
|
48112
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
48084
48113
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
48085
48114
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
48086
48115
|
constructor() {
|
|
@@ -48103,7 +48132,7 @@ var factory7 = {
|
|
|
48103
48132
|
create: () => new SuffixNotSupportedCheck()
|
|
48104
48133
|
};
|
|
48105
48134
|
|
|
48106
|
-
// bazel-out/
|
|
48135
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
48107
48136
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
48108
48137
|
constructor() {
|
|
48109
48138
|
super(...arguments);
|
|
@@ -48141,10 +48170,61 @@ var factory8 = {
|
|
|
48141
48170
|
create: () => new TextAttributeNotBindingSpec()
|
|
48142
48171
|
};
|
|
48143
48172
|
|
|
48144
|
-
// bazel-out/
|
|
48173
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_event_binding/index.mjs
|
|
48174
|
+
var UninvokedFunctionInEventBindingSpec = class extends TemplateCheckWithVisitor {
|
|
48175
|
+
constructor() {
|
|
48176
|
+
super(...arguments);
|
|
48177
|
+
this.code = ErrorCode.UNINVOKED_FUNCTION_IN_EVENT_BINDING;
|
|
48178
|
+
}
|
|
48179
|
+
visitNode(ctx, component, node) {
|
|
48180
|
+
if (!(node instanceof BoundEvent))
|
|
48181
|
+
return [];
|
|
48182
|
+
if (node.type !== ParsedEventType.Regular && node.type !== ParsedEventType.Animation)
|
|
48183
|
+
return [];
|
|
48184
|
+
if (!(node.handler instanceof ASTWithSource))
|
|
48185
|
+
return [];
|
|
48186
|
+
const sourceExpressionText = node.handler.source || "";
|
|
48187
|
+
if (node.handler.ast instanceof Chain) {
|
|
48188
|
+
return node.handler.ast.expressions.flatMap((expression) => assertExpressionInvoked(expression, component, node, sourceExpressionText, ctx));
|
|
48189
|
+
}
|
|
48190
|
+
if (node.handler.ast instanceof Conditional) {
|
|
48191
|
+
const { trueExp, falseExp } = node.handler.ast;
|
|
48192
|
+
return [trueExp, falseExp].flatMap((expression) => assertExpressionInvoked(expression, component, node, sourceExpressionText, ctx));
|
|
48193
|
+
}
|
|
48194
|
+
return assertExpressionInvoked(node.handler.ast, component, node, sourceExpressionText, ctx);
|
|
48195
|
+
}
|
|
48196
|
+
};
|
|
48197
|
+
function assertExpressionInvoked(expression, component, node, expressionText, ctx) {
|
|
48198
|
+
var _a2;
|
|
48199
|
+
if (expression instanceof Call || expression instanceof SafeCall) {
|
|
48200
|
+
return [];
|
|
48201
|
+
}
|
|
48202
|
+
if (!(expression instanceof PropertyRead) && !(expression instanceof SafePropertyRead)) {
|
|
48203
|
+
return [];
|
|
48204
|
+
}
|
|
48205
|
+
const symbol = ctx.templateTypeChecker.getSymbolOfNode(expression, component);
|
|
48206
|
+
if (symbol !== null && symbol.kind === SymbolKind.Expression) {
|
|
48207
|
+
if (((_a2 = symbol.tsType.getCallSignatures()) == null ? void 0 : _a2.length) > 0) {
|
|
48208
|
+
const fullExpressionText = generateStringFromExpression(expression, expressionText);
|
|
48209
|
+
const errorString = `Function in event binding should be invoked: ${fullExpressionText}()`;
|
|
48210
|
+
return [ctx.makeTemplateDiagnostic(node.sourceSpan, errorString)];
|
|
48211
|
+
}
|
|
48212
|
+
}
|
|
48213
|
+
return [];
|
|
48214
|
+
}
|
|
48215
|
+
function generateStringFromExpression(expression, source) {
|
|
48216
|
+
return source.substring(expression.span.start, expression.span.end);
|
|
48217
|
+
}
|
|
48218
|
+
var factory9 = {
|
|
48219
|
+
code: ErrorCode.UNINVOKED_FUNCTION_IN_EVENT_BINDING,
|
|
48220
|
+
name: ExtendedTemplateDiagnosticName.UNINVOKED_FUNCTION_IN_EVENT_BINDING,
|
|
48221
|
+
create: () => new UninvokedFunctionInEventBindingSpec()
|
|
48222
|
+
};
|
|
48223
|
+
|
|
48224
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
48145
48225
|
var import_typescript116 = __toESM(require("typescript"), 1);
|
|
48146
48226
|
|
|
48147
|
-
// bazel-out/
|
|
48227
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
48148
48228
|
var DiagnosticCategoryLabel;
|
|
48149
48229
|
(function(DiagnosticCategoryLabel2) {
|
|
48150
48230
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -48152,18 +48232,18 @@ var DiagnosticCategoryLabel;
|
|
|
48152
48232
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
48153
48233
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
48154
48234
|
|
|
48155
|
-
// bazel-out/
|
|
48235
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
48156
48236
|
var ExtendedTemplateCheckerImpl = class {
|
|
48157
48237
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
48158
48238
|
var _a2, _b2, _c2, _d2, _e2;
|
|
48159
48239
|
this.partialCtx = { templateTypeChecker, typeChecker };
|
|
48160
48240
|
this.templateChecks = /* @__PURE__ */ new Map();
|
|
48161
|
-
for (const
|
|
48162
|
-
const category = diagnosticLabelToCategory((_e2 = (_d2 = (_b2 = (_a2 = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _a2.checks) == null ? void 0 : _b2[
|
|
48241
|
+
for (const factory10 of templateCheckFactories) {
|
|
48242
|
+
const category = diagnosticLabelToCategory((_e2 = (_d2 = (_b2 = (_a2 = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _a2.checks) == null ? void 0 : _b2[factory10.name]) != null ? _d2 : (_c2 = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _c2.defaultCategory) != null ? _e2 : DiagnosticCategoryLabel.Warning);
|
|
48163
48243
|
if (category === null) {
|
|
48164
48244
|
continue;
|
|
48165
48245
|
}
|
|
48166
|
-
const check =
|
|
48246
|
+
const check = factory10.create(options);
|
|
48167
48247
|
if (check === null) {
|
|
48168
48248
|
continue;
|
|
48169
48249
|
}
|
|
@@ -48204,7 +48284,7 @@ function assertNever(value) {
|
|
|
48204
48284
|
${value}`);
|
|
48205
48285
|
}
|
|
48206
48286
|
|
|
48207
|
-
// bazel-out/
|
|
48287
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
48208
48288
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
48209
48289
|
factory2,
|
|
48210
48290
|
factory5,
|
|
@@ -48213,14 +48293,15 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
48213
48293
|
factory8,
|
|
48214
48294
|
factory4,
|
|
48215
48295
|
factory7,
|
|
48216
|
-
factory
|
|
48296
|
+
factory,
|
|
48297
|
+
factory9
|
|
48217
48298
|
];
|
|
48218
48299
|
var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
48219
48300
|
ExtendedTemplateDiagnosticName.CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION,
|
|
48220
|
-
...ALL_DIAGNOSTIC_FACTORIES.map((
|
|
48301
|
+
...ALL_DIAGNOSTIC_FACTORIES.map((factory10) => factory10.name)
|
|
48221
48302
|
]);
|
|
48222
48303
|
|
|
48223
|
-
// bazel-out/
|
|
48304
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
|
|
48224
48305
|
var import_typescript117 = __toESM(require("typescript"), 1);
|
|
48225
48306
|
var TemplateSemanticsCheckerImpl = class {
|
|
48226
48307
|
constructor(templateTypeChecker) {
|
|
@@ -48310,7 +48391,7 @@ function unwrapAstWithSource(ast) {
|
|
|
48310
48391
|
return ast instanceof ASTWithSource ? ast.ast : ast;
|
|
48311
48392
|
}
|
|
48312
48393
|
|
|
48313
|
-
// bazel-out/
|
|
48394
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
|
|
48314
48395
|
var import_typescript118 = __toESM(require("typescript"), 1);
|
|
48315
48396
|
var APIS_TO_CHECK = [
|
|
48316
48397
|
INPUT_INITIALIZER_FN,
|
|
@@ -48361,7 +48442,7 @@ var InitializerApiUsageRule = class {
|
|
|
48361
48442
|
}
|
|
48362
48443
|
};
|
|
48363
48444
|
|
|
48364
|
-
// bazel-out/
|
|
48445
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
|
|
48365
48446
|
var SourceFileValidator = class {
|
|
48366
48447
|
constructor(reflector, importedSymbolsTracker) {
|
|
48367
48448
|
this.rules = [new InitializerApiUsageRule(reflector, importedSymbolsTracker)];
|
|
@@ -48399,7 +48480,7 @@ var SourceFileValidator = class {
|
|
|
48399
48480
|
}
|
|
48400
48481
|
};
|
|
48401
48482
|
|
|
48402
|
-
// bazel-out/
|
|
48483
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
|
|
48403
48484
|
function coreHasSymbol(program, symbol) {
|
|
48404
48485
|
const checker = program.getTypeChecker();
|
|
48405
48486
|
for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
|
|
@@ -48418,7 +48499,7 @@ function isMaybeCore(sf) {
|
|
|
48418
48499
|
return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
|
|
48419
48500
|
}
|
|
48420
48501
|
|
|
48421
|
-
// bazel-out/
|
|
48502
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
|
|
48422
48503
|
var import_semver = __toESM(require_semver2(), 1);
|
|
48423
48504
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
48424
48505
|
if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
|
|
@@ -48427,7 +48508,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
|
48427
48508
|
return import_semver.default.satisfies(coreVersion, minVersion);
|
|
48428
48509
|
}
|
|
48429
48510
|
|
|
48430
|
-
// bazel-out/
|
|
48511
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
48431
48512
|
var CompilationTicketKind;
|
|
48432
48513
|
(function(CompilationTicketKind2) {
|
|
48433
48514
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -49210,7 +49291,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
49210
49291
|
return versions;
|
|
49211
49292
|
}
|
|
49212
49293
|
|
|
49213
|
-
// bazel-out/
|
|
49294
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
49214
49295
|
var import_typescript121 = __toESM(require("typescript"), 1);
|
|
49215
49296
|
var DelegatingCompilerHost2 = class {
|
|
49216
49297
|
get jsDocParsingMode() {
|
|
@@ -49349,7 +49430,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
49349
49430
|
}
|
|
49350
49431
|
};
|
|
49351
49432
|
|
|
49352
|
-
// bazel-out/
|
|
49433
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
49353
49434
|
var NgtscProgram = class {
|
|
49354
49435
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
49355
49436
|
this.options = options;
|
|
@@ -49575,18 +49656,18 @@ function mergeEmitResults(emitResults) {
|
|
|
49575
49656
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
49576
49657
|
}
|
|
49577
49658
|
|
|
49578
|
-
// bazel-out/
|
|
49659
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
49579
49660
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
49580
49661
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
49581
49662
|
}
|
|
49582
49663
|
|
|
49583
|
-
// bazel-out/
|
|
49664
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
49584
49665
|
var import_typescript125 = __toESM(require("typescript"), 1);
|
|
49585
49666
|
|
|
49586
|
-
// bazel-out/
|
|
49667
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
49587
49668
|
var import_typescript124 = __toESM(require("typescript"), 1);
|
|
49588
49669
|
|
|
49589
|
-
// bazel-out/
|
|
49670
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
49590
49671
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
49591
49672
|
ngDevMode: false,
|
|
49592
49673
|
ngI18nClosureMode: false
|
|
@@ -49595,7 +49676,7 @@ var GLOBAL_DEFS_FOR_TERSER_WITH_AOT = __spreadProps(__spreadValues({}, GLOBAL_DE
|
|
|
49595
49676
|
ngJitMode: false
|
|
49596
49677
|
});
|
|
49597
49678
|
|
|
49598
|
-
// bazel-out/
|
|
49679
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
49599
49680
|
var LogLevel;
|
|
49600
49681
|
(function(LogLevel2) {
|
|
49601
49682
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -49604,7 +49685,7 @@ var LogLevel;
|
|
|
49604
49685
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
49605
49686
|
})(LogLevel || (LogLevel = {}));
|
|
49606
49687
|
|
|
49607
|
-
// bazel-out/
|
|
49688
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
49608
49689
|
var RESET = "\x1B[0m";
|
|
49609
49690
|
var RED = "\x1B[31m";
|
|
49610
49691
|
var YELLOW = "\x1B[33m";
|
|
@@ -49613,18 +49694,18 @@ var DEBUG = `${BLUE}Debug:${RESET}`;
|
|
|
49613
49694
|
var WARN = `${YELLOW}Warning:${RESET}`;
|
|
49614
49695
|
var ERROR = `${RED}Error:${RESET}`;
|
|
49615
49696
|
|
|
49616
|
-
// bazel-out/
|
|
49697
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
49617
49698
|
setFileSystem(new NodeJSFileSystem());
|
|
49618
49699
|
|
|
49619
|
-
// bazel-out/
|
|
49700
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
49620
49701
|
var import_fs2 = require("fs");
|
|
49621
49702
|
var import_path8 = require("path");
|
|
49622
49703
|
var import_typescript138 = __toESM(require("typescript"), 1);
|
|
49623
49704
|
|
|
49624
|
-
// bazel-out/
|
|
49705
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
49625
49706
|
var import_typescript127 = __toESM(require("typescript"), 1);
|
|
49626
49707
|
|
|
49627
|
-
// bazel-out/
|
|
49708
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
|
|
49628
49709
|
var import_path4 = require("path");
|
|
49629
49710
|
var import_typescript126 = __toESM(require("typescript"), 1);
|
|
49630
49711
|
var ImportManager2 = class {
|
|
@@ -49808,7 +49889,7 @@ ${text2}`;
|
|
|
49808
49889
|
}
|
|
49809
49890
|
};
|
|
49810
49891
|
|
|
49811
|
-
// bazel-out/
|
|
49892
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
49812
49893
|
var ChangeTracker = class {
|
|
49813
49894
|
constructor(_printer, _importRemapper) {
|
|
49814
49895
|
__publicField(this, "_printer");
|
|
@@ -49871,7 +49952,7 @@ function normalizePath(path4) {
|
|
|
49871
49952
|
return path4.replace(/\\/g, "/");
|
|
49872
49953
|
}
|
|
49873
49954
|
|
|
49874
|
-
// bazel-out/
|
|
49955
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
49875
49956
|
var import_core19 = require("@angular-devkit/core");
|
|
49876
49957
|
function getProjectTsConfigPaths(tree) {
|
|
49877
49958
|
return __async(this, null, function* () {
|
|
@@ -49951,11 +50032,11 @@ function getWorkspace(tree) {
|
|
|
49951
50032
|
});
|
|
49952
50033
|
}
|
|
49953
50034
|
|
|
49954
|
-
// bazel-out/
|
|
50035
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
49955
50036
|
var import_path5 = require("path");
|
|
49956
50037
|
var import_typescript129 = __toESM(require("typescript"), 1);
|
|
49957
50038
|
|
|
49958
|
-
// bazel-out/
|
|
50039
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
49959
50040
|
var path3 = __toESM(require("path"), 1);
|
|
49960
50041
|
var import_typescript128 = __toESM(require("typescript"), 1);
|
|
49961
50042
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -49972,7 +50053,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
49972
50053
|
return import_typescript128.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
49973
50054
|
}
|
|
49974
50055
|
|
|
49975
|
-
// bazel-out/
|
|
50056
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
49976
50057
|
function createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles, optionOverrides) {
|
|
49977
50058
|
tsconfigPath = (0, import_path5.resolve)(basePath, tsconfigPath);
|
|
49978
50059
|
const parsed = parseTsconfigFile(tsconfigPath, (0, import_path5.dirname)(tsconfigPath));
|
|
@@ -50001,13 +50082,13 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
50001
50082
|
return !(0, import_path5.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
50002
50083
|
}
|
|
50003
50084
|
|
|
50004
|
-
// bazel-out/
|
|
50085
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
50005
50086
|
var import_typescript134 = __toESM(require("typescript"), 1);
|
|
50006
50087
|
|
|
50007
|
-
// bazel-out/
|
|
50088
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
50008
50089
|
var import_typescript131 = __toESM(require("typescript"), 1);
|
|
50009
50090
|
|
|
50010
|
-
// bazel-out/
|
|
50091
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
|
|
50011
50092
|
var import_typescript130 = __toESM(require("typescript"), 1);
|
|
50012
50093
|
function getImportOfIdentifier(typeChecker, node) {
|
|
50013
50094
|
const symbol = typeChecker.getSymbolAtLocation(node);
|
|
@@ -50058,7 +50139,7 @@ function findImportSpecifier(nodes, specifierName) {
|
|
|
50058
50139
|
});
|
|
50059
50140
|
}
|
|
50060
50141
|
|
|
50061
|
-
// bazel-out/
|
|
50142
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
50062
50143
|
function getCallDecoratorImport(typeChecker, decorator) {
|
|
50063
50144
|
if (!import_typescript131.default.isCallExpression(decorator.expression) || !import_typescript131.default.isIdentifier(decorator.expression.expression)) {
|
|
50064
50145
|
return null;
|
|
@@ -50067,7 +50148,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
|
|
|
50067
50148
|
return getImportOfIdentifier(typeChecker, identifier);
|
|
50068
50149
|
}
|
|
50069
50150
|
|
|
50070
|
-
// bazel-out/
|
|
50151
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
|
|
50071
50152
|
function getAngularDecorators2(typeChecker, decorators) {
|
|
50072
50153
|
return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
|
|
50073
50154
|
node,
|
|
@@ -50077,7 +50158,7 @@ function getAngularDecorators2(typeChecker, decorators) {
|
|
|
50077
50158
|
}));
|
|
50078
50159
|
}
|
|
50079
50160
|
|
|
50080
|
-
// bazel-out/
|
|
50161
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
|
|
50081
50162
|
var import_typescript132 = __toESM(require("typescript"), 1);
|
|
50082
50163
|
function closestNode(node, predicate) {
|
|
50083
50164
|
let current = node.parent;
|
|
@@ -50090,7 +50171,7 @@ function closestNode(node, predicate) {
|
|
|
50090
50171
|
return null;
|
|
50091
50172
|
}
|
|
50092
50173
|
|
|
50093
|
-
// bazel-out/
|
|
50174
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
|
|
50094
50175
|
var import_path6 = require("path");
|
|
50095
50176
|
var import_typescript133 = __toESM(require("typescript"), 1);
|
|
50096
50177
|
var UniqueItemTracker = class {
|
|
@@ -50268,7 +50349,7 @@ function isClassReferenceInAngularModule(node, className, moduleName, typeChecke
|
|
|
50268
50349
|
}));
|
|
50269
50350
|
}
|
|
50270
50351
|
|
|
50271
|
-
// bazel-out/
|
|
50352
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
50272
50353
|
function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles) {
|
|
50273
50354
|
const filesToRemove = /* @__PURE__ */ new Set();
|
|
50274
50355
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
@@ -50467,14 +50548,14 @@ function findNgModuleDecorator(node, typeChecker) {
|
|
|
50467
50548
|
return decorators.find((decorator) => decorator.name === "NgModule") || null;
|
|
50468
50549
|
}
|
|
50469
50550
|
|
|
50470
|
-
// bazel-out/
|
|
50551
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
50471
50552
|
var import_path7 = require("path");
|
|
50472
50553
|
var import_typescript137 = __toESM(require("typescript"), 1);
|
|
50473
50554
|
|
|
50474
|
-
// bazel-out/
|
|
50555
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
50475
50556
|
var import_typescript136 = __toESM(require("typescript"), 1);
|
|
50476
50557
|
|
|
50477
|
-
// bazel-out/
|
|
50558
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
|
|
50478
50559
|
var import_typescript135 = __toESM(require("typescript"), 1);
|
|
50479
50560
|
function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
50480
50561
|
var _a2, _b2;
|
|
@@ -50483,7 +50564,7 @@ function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
|
50483
50564
|
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];
|
|
50484
50565
|
}
|
|
50485
50566
|
|
|
50486
|
-
// bazel-out/
|
|
50567
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
50487
50568
|
function toStandalone(sourceFiles, program, printer, fileImportRemapper, componentImportRemapper) {
|
|
50488
50569
|
const templateTypeChecker = program.compiler.getTemplateTypeChecker();
|
|
50489
50570
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -50853,7 +50934,7 @@ function isStandaloneDeclaration(node, declarationsInMigration, templateTypeChec
|
|
|
50853
50934
|
return metadata != null && metadata.isStandalone;
|
|
50854
50935
|
}
|
|
50855
50936
|
|
|
50856
|
-
// bazel-out/
|
|
50937
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
50857
50938
|
function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles, componentImportRemapper) {
|
|
50858
50939
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
50859
50940
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -51230,7 +51311,7 @@ function hasImport(program, rootFileNames, moduleName) {
|
|
|
51230
51311
|
return false;
|
|
51231
51312
|
}
|
|
51232
51313
|
|
|
51233
|
-
// bazel-out/
|
|
51314
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
51234
51315
|
var MigrationMode;
|
|
51235
51316
|
(function(MigrationMode2) {
|
|
51236
51317
|
MigrationMode2["toStandalone"] = "convert-to-standalone";
|