@angular/core 16.2.0-rc.0 → 16.2.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/src/application_tokens.mjs +2 -1
- package/esm2022/src/core_private_export.mjs +2 -1
- package/esm2022/src/errors.mjs +1 -1
- package/esm2022/src/hydration/annotate.mjs +60 -15
- package/esm2022/src/hydration/api.mjs +34 -4
- package/esm2022/src/hydration/cleanup.mjs +15 -6
- package/esm2022/src/hydration/utils.mjs +58 -20
- package/esm2022/src/linker/template_ref.mjs +4 -19
- package/esm2022/src/linker/view_container_ref.mjs +4 -12
- package/esm2022/src/render3/component_ref.mjs +7 -3
- package/esm2022/src/render3/instructions/shared.mjs +1 -1
- package/esm2022/src/render3/node_manipulation.mjs +5 -5
- package/esm2022/src/render3/view_manipulation.mjs +65 -0
- package/esm2022/src/render3/view_ref.mjs +3 -3
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +223 -67
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +135 -53
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +8 -1
- package/package.json +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/guard-and-resolve-interfaces/bundle.js +13 -13
- package/schematics/migrations/remove-module-id/bundle.js +14 -14
- package/schematics/ng-generate/standalone-migration/bundle.js +433 -397
- package/schematics/ng-generate/standalone-migration/bundle.js.map +2 -2
- package/testing/index.d.ts +1 -1
|
@@ -63,7 +63,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
63
63
|
});
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
-
// bazel-out/
|
|
66
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
67
67
|
var standalone_migration_exports = {};
|
|
68
68
|
__export(standalone_migration_exports, {
|
|
69
69
|
default: () => standalone_migration_default
|
|
@@ -71,10 +71,10 @@ __export(standalone_migration_exports, {
|
|
|
71
71
|
module.exports = __toCommonJS(standalone_migration_exports);
|
|
72
72
|
var import_schematics = require("@angular-devkit/schematics");
|
|
73
73
|
|
|
74
|
-
// bazel-out/
|
|
74
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
75
75
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
76
76
|
|
|
77
|
-
// bazel-out/
|
|
77
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
78
78
|
var InvalidFileSystem = class {
|
|
79
79
|
exists(path3) {
|
|
80
80
|
throw makeError();
|
|
@@ -162,7 +162,7 @@ function makeError() {
|
|
|
162
162
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
// bazel-out/
|
|
165
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
166
166
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
167
167
|
function stripExtension(path3) {
|
|
168
168
|
return path3.replace(TS_DTS_JS_EXTENSION, "");
|
|
@@ -175,7 +175,7 @@ function getSourceFileOrError(program, fileName) {
|
|
|
175
175
|
return sf;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
// bazel-out/
|
|
178
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
179
179
|
var fs = new InvalidFileSystem();
|
|
180
180
|
function getFileSystem() {
|
|
181
181
|
return fs;
|
|
@@ -219,7 +219,7 @@ function toRelativeImport(relativePath) {
|
|
|
219
219
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
// bazel-out/
|
|
222
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
223
223
|
var LogicalProjectPath = {
|
|
224
224
|
relativePathBetween: function(from, to) {
|
|
225
225
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -265,7 +265,7 @@ function isWithinBasePath(base, path3) {
|
|
|
265
265
|
return isLocalRelativePath(relative(base, path3));
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
// bazel-out/
|
|
268
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
269
269
|
var import_fs = __toESM(require("fs"), 1);
|
|
270
270
|
var import_module = __toESM(require("module"), 1);
|
|
271
271
|
var p = __toESM(require("path"), 1);
|
|
@@ -373,7 +373,7 @@ function toggleCase(str) {
|
|
|
373
373
|
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
374
374
|
}
|
|
375
375
|
|
|
376
|
-
// bazel-out/
|
|
376
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/selector.mjs
|
|
377
377
|
var _SELECTOR_REGEXP = new RegExp(
|
|
378
378
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
379
379
|
"g"
|
|
@@ -681,7 +681,7 @@ var SelectorContext = class {
|
|
|
681
681
|
}
|
|
682
682
|
};
|
|
683
683
|
|
|
684
|
-
// bazel-out/
|
|
684
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/core.mjs
|
|
685
685
|
var emitDistinctChangesOnlyDefaultValue = true;
|
|
686
686
|
var ViewEncapsulation;
|
|
687
687
|
(function(ViewEncapsulation2) {
|
|
@@ -744,7 +744,7 @@ function parseSelectorToR3Selector(selector) {
|
|
|
744
744
|
return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
|
|
745
745
|
}
|
|
746
746
|
|
|
747
|
-
// bazel-out/
|
|
747
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
748
748
|
var output_ast_exports = {};
|
|
749
749
|
__export(output_ast_exports, {
|
|
750
750
|
ArrayType: () => ArrayType,
|
|
@@ -830,7 +830,7 @@ __export(output_ast_exports, {
|
|
|
830
830
|
variable: () => variable
|
|
831
831
|
});
|
|
832
832
|
|
|
833
|
-
// bazel-out/
|
|
833
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/big_integer.mjs
|
|
834
834
|
var BigInteger = class {
|
|
835
835
|
static zero() {
|
|
836
836
|
return new BigInteger([0]);
|
|
@@ -922,7 +922,7 @@ var BigIntExponentiation = class {
|
|
|
922
922
|
}
|
|
923
923
|
};
|
|
924
924
|
|
|
925
|
-
// bazel-out/
|
|
925
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
|
|
926
926
|
var textEncoder;
|
|
927
927
|
function digest(message) {
|
|
928
928
|
return message.id || computeDigest(message);
|
|
@@ -1185,7 +1185,7 @@ function wordsToDecimalString(hi, lo) {
|
|
|
1185
1185
|
return decimal.toString();
|
|
1186
1186
|
}
|
|
1187
1187
|
|
|
1188
|
-
// bazel-out/
|
|
1188
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
1189
1189
|
var TypeModifier;
|
|
1190
1190
|
(function(TypeModifier2) {
|
|
1191
1191
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -2334,7 +2334,7 @@ function serializeTags(tags) {
|
|
|
2334
2334
|
return out;
|
|
2335
2335
|
}
|
|
2336
2336
|
|
|
2337
|
-
// bazel-out/
|
|
2337
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
2338
2338
|
var CONSTANT_PREFIX = "_c";
|
|
2339
2339
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
2340
2340
|
var KEY_CONTEXT = {};
|
|
@@ -2502,7 +2502,7 @@ function isLongStringLiteral(expr) {
|
|
|
2502
2502
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
2503
2503
|
}
|
|
2504
2504
|
|
|
2505
|
-
// bazel-out/
|
|
2505
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
2506
2506
|
var CORE = "@angular/core";
|
|
2507
2507
|
var _Identifiers = class {
|
|
2508
2508
|
};
|
|
@@ -3063,7 +3063,7 @@ var Identifiers = _Identifiers;
|
|
|
3063
3063
|
_Identifiers.validateIframeAttribute = { name: "\u0275\u0275validateIframeAttribute", moduleName: CORE };
|
|
3064
3064
|
})();
|
|
3065
3065
|
|
|
3066
|
-
// bazel-out/
|
|
3066
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/util.mjs
|
|
3067
3067
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
3068
3068
|
function dashCaseToCamelCase(input) {
|
|
3069
3069
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -3151,7 +3151,7 @@ function partitionArray(arr, conditionFn) {
|
|
|
3151
3151
|
return [truthy, falsy];
|
|
3152
3152
|
}
|
|
3153
3153
|
|
|
3154
|
-
// bazel-out/
|
|
3154
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
3155
3155
|
var VERSION = 3;
|
|
3156
3156
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
3157
3157
|
var SourceMapGenerator = class {
|
|
@@ -3280,7 +3280,7 @@ function toBase64Digit(value) {
|
|
|
3280
3280
|
return B64_DIGITS[value];
|
|
3281
3281
|
}
|
|
3282
3282
|
|
|
3283
|
-
// bazel-out/
|
|
3283
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
3284
3284
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
3285
3285
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
3286
3286
|
var _INDENT_WITH = " ";
|
|
@@ -3758,7 +3758,7 @@ function _createIndent(count) {
|
|
|
3758
3758
|
return res;
|
|
3759
3759
|
}
|
|
3760
3760
|
|
|
3761
|
-
// bazel-out/
|
|
3761
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
3762
3762
|
function typeWithParameters(type, numParams) {
|
|
3763
3763
|
if (numParams === 0) {
|
|
3764
3764
|
return expressionType(type);
|
|
@@ -3826,7 +3826,7 @@ function generateForwardRef(expr) {
|
|
|
3826
3826
|
return importExpr(Identifiers.forwardRef).callFn([fn([], [new ReturnStatement(expr)])]);
|
|
3827
3827
|
}
|
|
3828
3828
|
|
|
3829
|
-
// bazel-out/
|
|
3829
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
3830
3830
|
var R3FactoryDelegateType;
|
|
3831
3831
|
(function(R3FactoryDelegateType2) {
|
|
3832
3832
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -3971,7 +3971,7 @@ function getInjectFn(target) {
|
|
|
3971
3971
|
}
|
|
3972
3972
|
}
|
|
3973
3973
|
|
|
3974
|
-
// bazel-out/
|
|
3974
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
3975
3975
|
var Comment = class {
|
|
3976
3976
|
constructor(value, sourceSpan) {
|
|
3977
3977
|
this.value = value;
|
|
@@ -4303,7 +4303,7 @@ function visitAll(visitor, nodes) {
|
|
|
4303
4303
|
return result;
|
|
4304
4304
|
}
|
|
4305
4305
|
|
|
4306
|
-
// bazel-out/
|
|
4306
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
4307
4307
|
var Message = class {
|
|
4308
4308
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
4309
4309
|
this.nodes = nodes;
|
|
@@ -4466,7 +4466,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
4466
4466
|
}
|
|
4467
4467
|
};
|
|
4468
4468
|
|
|
4469
|
-
// bazel-out/
|
|
4469
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
|
|
4470
4470
|
var Serializer = class {
|
|
4471
4471
|
createNameMapper(message) {
|
|
4472
4472
|
return null;
|
|
@@ -4518,7 +4518,7 @@ var SimplePlaceholderMapper = class extends RecurseVisitor {
|
|
|
4518
4518
|
}
|
|
4519
4519
|
};
|
|
4520
4520
|
|
|
4521
|
-
// bazel-out/
|
|
4521
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
4522
4522
|
var _Visitor = class {
|
|
4523
4523
|
visitTag(tag) {
|
|
4524
4524
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -4606,7 +4606,7 @@ function escapeXml(text2) {
|
|
|
4606
4606
|
return _ESCAPED_CHARS.reduce((text3, entry) => text3.replace(entry[0], entry[1]), text2);
|
|
4607
4607
|
}
|
|
4608
4608
|
|
|
4609
|
-
// bazel-out/
|
|
4609
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
4610
4610
|
var _MESSAGES_TAG = "messagebundle";
|
|
4611
4611
|
var _MESSAGE_TAG = "msg";
|
|
4612
4612
|
var _PLACEHOLDER_TAG = "ph";
|
|
@@ -4749,7 +4749,7 @@ function toPublicName(internalName) {
|
|
|
4749
4749
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
4750
4750
|
}
|
|
4751
4751
|
|
|
4752
|
-
// bazel-out/
|
|
4752
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
4753
4753
|
var CLOSURE_TRANSLATION_VAR_PREFIX = "MSG_";
|
|
4754
4754
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
4755
4755
|
var I18N_ATTR = "i18n";
|
|
@@ -4851,7 +4851,7 @@ function declareI18nVariable(variable2) {
|
|
|
4851
4851
|
return new DeclareVarStmt(variable2.name, void 0, INFERRED_TYPE, void 0, variable2.sourceSpan);
|
|
4852
4852
|
}
|
|
4853
4853
|
|
|
4854
|
-
// bazel-out/
|
|
4854
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
4855
4855
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
4856
4856
|
var TEMPORARY_NAME = "_t";
|
|
4857
4857
|
var CONTEXT_NAME = "ctx";
|
|
@@ -5067,7 +5067,7 @@ function getInstructionStatements(instructions) {
|
|
|
5067
5067
|
return statements;
|
|
5068
5068
|
}
|
|
5069
5069
|
|
|
5070
|
-
// bazel-out/
|
|
5070
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
5071
5071
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
5072
5072
|
let result = null;
|
|
5073
5073
|
const factoryMeta = {
|
|
@@ -5155,7 +5155,7 @@ function createFactoryFunction(type) {
|
|
|
5155
5155
|
return fn([new FnParam("t", DYNAMIC_TYPE)], [new ReturnStatement(type.prop("\u0275fac").callFn([variable("t")]))]);
|
|
5156
5156
|
}
|
|
5157
5157
|
|
|
5158
|
-
// bazel-out/
|
|
5158
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
5159
5159
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
5160
5160
|
/^\s*$/,
|
|
5161
5161
|
/[<>]/,
|
|
@@ -5177,7 +5177,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
5177
5177
|
}
|
|
5178
5178
|
}
|
|
5179
5179
|
|
|
5180
|
-
// bazel-out/
|
|
5180
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/interpolation_config.mjs
|
|
5181
5181
|
var InterpolationConfig = class {
|
|
5182
5182
|
static fromArray(markers) {
|
|
5183
5183
|
if (!markers) {
|
|
@@ -5193,7 +5193,7 @@ var InterpolationConfig = class {
|
|
|
5193
5193
|
};
|
|
5194
5194
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
5195
5195
|
|
|
5196
|
-
// bazel-out/
|
|
5196
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
5197
5197
|
var $EOF = 0;
|
|
5198
5198
|
var $BSPACE = 8;
|
|
5199
5199
|
var $TAB = 9;
|
|
@@ -5274,7 +5274,7 @@ function isQuote(code) {
|
|
|
5274
5274
|
return code === $SQ || code === $DQ || code === $BT;
|
|
5275
5275
|
}
|
|
5276
5276
|
|
|
5277
|
-
// bazel-out/
|
|
5277
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
5278
5278
|
var ParseLocation = class {
|
|
5279
5279
|
constructor(file, offset, line, col) {
|
|
5280
5280
|
this.file = file;
|
|
@@ -5421,7 +5421,7 @@ function sanitizeIdentifier(name) {
|
|
|
5421
5421
|
return name.replace(/\W/g, "_");
|
|
5422
5422
|
}
|
|
5423
5423
|
|
|
5424
|
-
// bazel-out/
|
|
5424
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
5425
5425
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
5426
5426
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
5427
5427
|
constructor() {
|
|
@@ -5492,7 +5492,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
5492
5492
|
}
|
|
5493
5493
|
};
|
|
5494
5494
|
|
|
5495
|
-
// bazel-out/
|
|
5495
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
5496
5496
|
var policy;
|
|
5497
5497
|
function getPolicy() {
|
|
5498
5498
|
if (policy === void 0) {
|
|
@@ -5529,7 +5529,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
5529
5529
|
return fn2.bind(_global);
|
|
5530
5530
|
}
|
|
5531
5531
|
|
|
5532
|
-
// bazel-out/
|
|
5532
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
5533
5533
|
var JitEvaluator = class {
|
|
5534
5534
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
5535
5535
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -5620,7 +5620,7 @@ function isUseStrictStatement(statement) {
|
|
|
5620
5620
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
5621
5621
|
}
|
|
5622
5622
|
|
|
5623
|
-
// bazel-out/
|
|
5623
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
5624
5624
|
function compileInjector(meta) {
|
|
5625
5625
|
const definitionMap = new DefinitionMap();
|
|
5626
5626
|
if (meta.providers !== null) {
|
|
@@ -5637,7 +5637,7 @@ function createInjectorType(meta) {
|
|
|
5637
5637
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
5638
5638
|
}
|
|
5639
5639
|
|
|
5640
|
-
// bazel-out/
|
|
5640
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
5641
5641
|
var R3JitReflector = class {
|
|
5642
5642
|
constructor(context) {
|
|
5643
5643
|
this.context = context;
|
|
@@ -5653,7 +5653,7 @@ var R3JitReflector = class {
|
|
|
5653
5653
|
}
|
|
5654
5654
|
};
|
|
5655
5655
|
|
|
5656
|
-
// bazel-out/
|
|
5656
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
5657
5657
|
var R3SelectorScopeMode;
|
|
5658
5658
|
(function(R3SelectorScopeMode2) {
|
|
5659
5659
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -5797,7 +5797,7 @@ function tupleOfTypes(types) {
|
|
|
5797
5797
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
5798
5798
|
}
|
|
5799
5799
|
|
|
5800
|
-
// bazel-out/
|
|
5800
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
5801
5801
|
function compilePipeFromMetadata(metadata) {
|
|
5802
5802
|
const definitionMapValues = [];
|
|
5803
5803
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -5818,7 +5818,7 @@ function createPipeType(metadata) {
|
|
|
5818
5818
|
]));
|
|
5819
5819
|
}
|
|
5820
5820
|
|
|
5821
|
-
// bazel-out/
|
|
5821
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
5822
5822
|
var R3TemplateDependencyKind;
|
|
5823
5823
|
(function(R3TemplateDependencyKind2) {
|
|
5824
5824
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -5826,7 +5826,7 @@ var R3TemplateDependencyKind;
|
|
|
5826
5826
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
5827
5827
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
5828
5828
|
|
|
5829
|
-
// bazel-out/
|
|
5829
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
5830
5830
|
var ParserError = class {
|
|
5831
5831
|
constructor(message, input, errLocation, ctxLocation) {
|
|
5832
5832
|
this.input = input;
|
|
@@ -6492,7 +6492,7 @@ var BoundElementProperty = class {
|
|
|
6492
6492
|
}
|
|
6493
6493
|
};
|
|
6494
6494
|
|
|
6495
|
-
// bazel-out/
|
|
6495
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
|
|
6496
6496
|
var _EventHandlerVars = class {
|
|
6497
6497
|
};
|
|
6498
6498
|
var EventHandlerVars = _EventHandlerVars;
|
|
@@ -7114,7 +7114,7 @@ var BuiltinFunctionCall = class extends Call {
|
|
|
7114
7114
|
}
|
|
7115
7115
|
};
|
|
7116
7116
|
|
|
7117
|
-
// bazel-out/
|
|
7117
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
7118
7118
|
var _SECURITY_SCHEMA;
|
|
7119
7119
|
function SECURITY_SCHEMA() {
|
|
7120
7120
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -7172,7 +7172,7 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
7172
7172
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
7173
7173
|
}
|
|
7174
7174
|
|
|
7175
|
-
// bazel-out/
|
|
7175
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
7176
7176
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
7177
7177
|
"inherit",
|
|
7178
7178
|
"initial",
|
|
@@ -7639,7 +7639,7 @@ function repeatGroups(groups, multiples) {
|
|
|
7639
7639
|
}
|
|
7640
7640
|
}
|
|
7641
7641
|
|
|
7642
|
-
// bazel-out/
|
|
7642
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
7643
7643
|
var TagContentType;
|
|
7644
7644
|
(function(TagContentType2) {
|
|
7645
7645
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -7672,7 +7672,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
7672
7672
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
7673
7673
|
}
|
|
7674
7674
|
|
|
7675
|
-
// bazel-out/
|
|
7675
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/element.mjs
|
|
7676
7676
|
var BindingKind;
|
|
7677
7677
|
(function(BindingKind2) {
|
|
7678
7678
|
BindingKind2[BindingKind2["Attribute"] = 0] = "Attribute";
|
|
@@ -7753,7 +7753,7 @@ function assertIsElementAttributes(attrs) {
|
|
|
7753
7753
|
}
|
|
7754
7754
|
}
|
|
7755
7755
|
|
|
7756
|
-
// bazel-out/
|
|
7756
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
7757
7757
|
var OpKind;
|
|
7758
7758
|
(function(OpKind2) {
|
|
7759
7759
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -7827,7 +7827,7 @@ var SanitizerFn;
|
|
|
7827
7827
|
SanitizerFn2[SanitizerFn2["IframeAttribute"] = 5] = "IframeAttribute";
|
|
7828
7828
|
})(SanitizerFn || (SanitizerFn = {}));
|
|
7829
7829
|
|
|
7830
|
-
// bazel-out/
|
|
7830
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
7831
7831
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
7832
7832
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
7833
7833
|
var UsesSlotIndex = Symbol("UsesSlotIndex");
|
|
@@ -7868,7 +7868,7 @@ function hasUsesSlotIndexTrait(value) {
|
|
|
7868
7868
|
return value[UsesSlotIndex] === true;
|
|
7869
7869
|
}
|
|
7870
7870
|
|
|
7871
|
-
// bazel-out/
|
|
7871
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
7872
7872
|
function createStatementOp(statement) {
|
|
7873
7873
|
return __spreadValues({
|
|
7874
7874
|
kind: OpKind.Statement,
|
|
@@ -7889,7 +7889,7 @@ var NEW_OP = {
|
|
|
7889
7889
|
next: null
|
|
7890
7890
|
};
|
|
7891
7891
|
|
|
7892
|
-
// bazel-out/
|
|
7892
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
7893
7893
|
function createInterpolateTextOp(xref, interpolation, sourceSpan) {
|
|
7894
7894
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
7895
7895
|
kind: OpKind.InterpolateText,
|
|
@@ -7985,7 +7985,7 @@ function createAdvanceOp(delta, sourceSpan) {
|
|
|
7985
7985
|
}, NEW_OP);
|
|
7986
7986
|
}
|
|
7987
7987
|
|
|
7988
|
-
// bazel-out/
|
|
7988
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
7989
7989
|
var _a;
|
|
7990
7990
|
var _b;
|
|
7991
7991
|
var _c;
|
|
@@ -8658,7 +8658,7 @@ function transformExpressionsInStatement(stmt, transform, flags) {
|
|
|
8658
8658
|
}
|
|
8659
8659
|
}
|
|
8660
8660
|
|
|
8661
|
-
// bazel-out/
|
|
8661
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
8662
8662
|
var _OpList = class {
|
|
8663
8663
|
constructor() {
|
|
8664
8664
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -8837,7 +8837,7 @@ var OpList = _OpList;
|
|
|
8837
8837
|
_OpList.nextListId = 0;
|
|
8838
8838
|
})();
|
|
8839
8839
|
|
|
8840
|
-
// bazel-out/
|
|
8840
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
8841
8841
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
8842
8842
|
OpKind.Element,
|
|
8843
8843
|
OpKind.ElementStart,
|
|
@@ -8947,7 +8947,7 @@ function createNamespaceOp(namespace) {
|
|
|
8947
8947
|
}, NEW_OP);
|
|
8948
8948
|
}
|
|
8949
8949
|
|
|
8950
|
-
// bazel-out/
|
|
8950
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
8951
8951
|
function createHostPropertyOp(name, expression, sourceSpan) {
|
|
8952
8952
|
return __spreadValues(__spreadValues({
|
|
8953
8953
|
kind: OpKind.HostProperty,
|
|
@@ -8957,7 +8957,7 @@ function createHostPropertyOp(name, expression, sourceSpan) {
|
|
|
8957
8957
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
8958
8958
|
}
|
|
8959
8959
|
|
|
8960
|
-
// bazel-out/
|
|
8960
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
8961
8961
|
var CompilationUnit = class {
|
|
8962
8962
|
constructor(xref) {
|
|
8963
8963
|
this.xref = xref;
|
|
@@ -9048,7 +9048,7 @@ var ViewCompilationUnit = class extends CompilationUnit {
|
|
|
9048
9048
|
}
|
|
9049
9049
|
};
|
|
9050
9050
|
|
|
9051
|
-
// bazel-out/
|
|
9051
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
9052
9052
|
function phaseVarCounting(job) {
|
|
9053
9053
|
for (const unit of job.units) {
|
|
9054
9054
|
let varCount = 0;
|
|
@@ -9121,7 +9121,7 @@ function varsUsedByIrExpression(expr) {
|
|
|
9121
9121
|
}
|
|
9122
9122
|
}
|
|
9123
9123
|
|
|
9124
|
-
// bazel-out/
|
|
9124
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/align_pipe_variadic_var_offset.mjs
|
|
9125
9125
|
function phaseAlignPipeVariadicVarOffset(cpl) {
|
|
9126
9126
|
for (const view of cpl.views.values()) {
|
|
9127
9127
|
for (const op of view.update) {
|
|
@@ -9142,7 +9142,7 @@ function phaseAlignPipeVariadicVarOffset(cpl) {
|
|
|
9142
9142
|
}
|
|
9143
9143
|
}
|
|
9144
9144
|
|
|
9145
|
-
// bazel-out/
|
|
9145
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
9146
9146
|
function phaseFindAnyCasts(cpl) {
|
|
9147
9147
|
for (const [_, view] of cpl.views) {
|
|
9148
9148
|
for (const op of view.ops()) {
|
|
@@ -9160,7 +9160,7 @@ function removeAnys(e) {
|
|
|
9160
9160
|
return e;
|
|
9161
9161
|
}
|
|
9162
9162
|
|
|
9163
|
-
// bazel-out/
|
|
9163
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
|
|
9164
9164
|
function parse(value) {
|
|
9165
9165
|
const styles = [];
|
|
9166
9166
|
let i = 0;
|
|
@@ -9221,7 +9221,7 @@ function hyphenate(value) {
|
|
|
9221
9221
|
}).toLowerCase();
|
|
9222
9222
|
}
|
|
9223
9223
|
|
|
9224
|
-
// bazel-out/
|
|
9224
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
9225
9225
|
function getElementsByXrefId(view) {
|
|
9226
9226
|
const elements = /* @__PURE__ */ new Map();
|
|
9227
9227
|
for (const op of view.create) {
|
|
@@ -9233,7 +9233,7 @@ function getElementsByXrefId(view) {
|
|
|
9233
9233
|
return elements;
|
|
9234
9234
|
}
|
|
9235
9235
|
|
|
9236
|
-
// bazel-out/
|
|
9236
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
9237
9237
|
function phaseAttributeExtraction(cpl) {
|
|
9238
9238
|
for (const [_, view] of cpl.views) {
|
|
9239
9239
|
populateElementAttributes(view);
|
|
@@ -9308,7 +9308,7 @@ function extractAttributeOp(view, op, elements) {
|
|
|
9308
9308
|
}
|
|
9309
9309
|
}
|
|
9310
9310
|
|
|
9311
|
-
// bazel-out/
|
|
9311
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
9312
9312
|
function lookupElement2(elements, xref) {
|
|
9313
9313
|
const el = elements.get(xref);
|
|
9314
9314
|
if (el === void 0) {
|
|
@@ -9358,7 +9358,7 @@ function phaseBindingSpecialization(job) {
|
|
|
9358
9358
|
}
|
|
9359
9359
|
}
|
|
9360
9360
|
|
|
9361
|
-
// bazel-out/
|
|
9361
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
9362
9362
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
9363
9363
|
Identifiers.elementStart,
|
|
9364
9364
|
Identifiers.elementEnd,
|
|
@@ -9420,7 +9420,7 @@ function chainOperationsInList(opList) {
|
|
|
9420
9420
|
}
|
|
9421
9421
|
}
|
|
9422
9422
|
|
|
9423
|
-
// bazel-out/
|
|
9423
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
9424
9424
|
function phaseConstCollection(cpl) {
|
|
9425
9425
|
for (const [_, view] of cpl.views) {
|
|
9426
9426
|
for (const op of view.create) {
|
|
@@ -9461,7 +9461,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n, projectAs, s
|
|
|
9461
9461
|
return literalArr(attrArray);
|
|
9462
9462
|
}
|
|
9463
9463
|
|
|
9464
|
-
// bazel-out/
|
|
9464
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
9465
9465
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
9466
9466
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
9467
9467
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]]
|
|
@@ -9482,7 +9482,7 @@ function phaseEmptyElements(cpl) {
|
|
|
9482
9482
|
}
|
|
9483
9483
|
}
|
|
9484
9484
|
|
|
9485
|
-
// bazel-out/
|
|
9485
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
9486
9486
|
function phaseExpandSafeReads(job) {
|
|
9487
9487
|
for (const unit of job.units) {
|
|
9488
9488
|
for (const op of unit.ops()) {
|
|
@@ -9618,7 +9618,7 @@ function ternaryTransform(e) {
|
|
|
9618
9618
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
9619
9619
|
}
|
|
9620
9620
|
|
|
9621
|
-
// bazel-out/
|
|
9621
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
9622
9622
|
function phaseGenerateAdvance(cpl) {
|
|
9623
9623
|
for (const [_, view] of cpl.views) {
|
|
9624
9624
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -9650,7 +9650,7 @@ function phaseGenerateAdvance(cpl) {
|
|
|
9650
9650
|
}
|
|
9651
9651
|
}
|
|
9652
9652
|
|
|
9653
|
-
// bazel-out/
|
|
9653
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
9654
9654
|
function phaseGenerateVariables(cpl) {
|
|
9655
9655
|
recursivelyProcessView(cpl.root, null);
|
|
9656
9656
|
}
|
|
@@ -9730,7 +9730,7 @@ function generateVariablesInScopeForView(view, scope) {
|
|
|
9730
9730
|
return newOps;
|
|
9731
9731
|
}
|
|
9732
9732
|
|
|
9733
|
-
// bazel-out/
|
|
9733
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
9734
9734
|
var STYLE_DOT = "style.";
|
|
9735
9735
|
var CLASS_DOT = "class.";
|
|
9736
9736
|
function phaseHostStylePropertyParsing(job) {
|
|
@@ -9778,7 +9778,7 @@ function parseProperty(name) {
|
|
|
9778
9778
|
return { property: property2, suffix };
|
|
9779
9779
|
}
|
|
9780
9780
|
|
|
9781
|
-
// bazel-out/
|
|
9781
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
9782
9782
|
function phaseLocalRefs(cpl) {
|
|
9783
9783
|
for (const view of cpl.views.values()) {
|
|
9784
9784
|
for (const op of view.create) {
|
|
@@ -9809,7 +9809,7 @@ function serializeLocalRefs(refs) {
|
|
|
9809
9809
|
return literalArr(constRefs);
|
|
9810
9810
|
}
|
|
9811
9811
|
|
|
9812
|
-
// bazel-out/
|
|
9812
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
9813
9813
|
function phaseNamespace(job) {
|
|
9814
9814
|
for (const [_, view] of job.views) {
|
|
9815
9815
|
let activeNamespace = Namespace.HTML;
|
|
@@ -9825,7 +9825,7 @@ function phaseNamespace(job) {
|
|
|
9825
9825
|
}
|
|
9826
9826
|
}
|
|
9827
9827
|
|
|
9828
|
-
// bazel-out/
|
|
9828
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
9829
9829
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
9830
9830
|
["&&", BinaryOperator.And],
|
|
9831
9831
|
[">", BinaryOperator.Bigger],
|
|
@@ -9868,7 +9868,7 @@ function prefixWithNamespace(strippedTag, namespace) {
|
|
|
9868
9868
|
return `:${keyForNamespace(namespace)}:${strippedTag}`;
|
|
9869
9869
|
}
|
|
9870
9870
|
|
|
9871
|
-
// bazel-out/
|
|
9871
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
9872
9872
|
function phaseNaming(cpl) {
|
|
9873
9873
|
addNamesToView(cpl.root, cpl.componentName, { index: 0 }, cpl.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
9874
9874
|
}
|
|
@@ -9963,7 +9963,7 @@ function stripImportant(name) {
|
|
|
9963
9963
|
return name;
|
|
9964
9964
|
}
|
|
9965
9965
|
|
|
9966
|
-
// bazel-out/
|
|
9966
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
9967
9967
|
function phaseMergeNextContext(cpl) {
|
|
9968
9968
|
for (const view of cpl.views.values()) {
|
|
9969
9969
|
for (const op of view.create) {
|
|
@@ -10008,7 +10008,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
10008
10008
|
}
|
|
10009
10009
|
}
|
|
10010
10010
|
|
|
10011
|
-
// bazel-out/
|
|
10011
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
10012
10012
|
var CONTAINER_TAG = "ng-container";
|
|
10013
10013
|
function phaseNgContainer(cpl) {
|
|
10014
10014
|
for (const [_, view] of cpl.views) {
|
|
@@ -10025,7 +10025,7 @@ function phaseNgContainer(cpl) {
|
|
|
10025
10025
|
}
|
|
10026
10026
|
}
|
|
10027
10027
|
|
|
10028
|
-
// bazel-out/
|
|
10028
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/no_listeners_on_templates.mjs
|
|
10029
10029
|
function phaseNoListenersOnTemplates(job) {
|
|
10030
10030
|
for (const unit of job.units) {
|
|
10031
10031
|
let inTemplate = false;
|
|
@@ -10050,7 +10050,7 @@ function phaseNoListenersOnTemplates(job) {
|
|
|
10050
10050
|
}
|
|
10051
10051
|
}
|
|
10052
10052
|
|
|
10053
|
-
// bazel-out/
|
|
10053
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
10054
10054
|
function lookupElement3(elements, xref) {
|
|
10055
10055
|
const el = elements.get(xref);
|
|
10056
10056
|
if (el === void 0) {
|
|
@@ -10080,7 +10080,7 @@ function phaseNonbindable(job) {
|
|
|
10080
10080
|
}
|
|
10081
10081
|
}
|
|
10082
10082
|
|
|
10083
|
-
// bazel-out/
|
|
10083
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
10084
10084
|
function phaseNullishCoalescing(job) {
|
|
10085
10085
|
for (const unit of job.units) {
|
|
10086
10086
|
for (const op of unit.ops()) {
|
|
@@ -10096,7 +10096,7 @@ function phaseNullishCoalescing(job) {
|
|
|
10096
10096
|
}
|
|
10097
10097
|
}
|
|
10098
10098
|
|
|
10099
|
-
// bazel-out/
|
|
10099
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
10100
10100
|
function phasePipeCreation(cpl) {
|
|
10101
10101
|
for (const view of cpl.views.values()) {
|
|
10102
10102
|
processPipeBindingsInView(view);
|
|
@@ -10139,7 +10139,7 @@ function addPipeToCreationBlock(view, afterTargetXref, binding) {
|
|
|
10139
10139
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
10140
10140
|
}
|
|
10141
10141
|
|
|
10142
|
-
// bazel-out/
|
|
10142
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
10143
10143
|
function phasePipeVariadic(cpl) {
|
|
10144
10144
|
for (const view of cpl.views.values()) {
|
|
10145
10145
|
for (const op of view.update) {
|
|
@@ -10156,7 +10156,7 @@ function phasePipeVariadic(cpl) {
|
|
|
10156
10156
|
}
|
|
10157
10157
|
}
|
|
10158
10158
|
|
|
10159
|
-
// bazel-out/
|
|
10159
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/property_ordering.mjs
|
|
10160
10160
|
function kindTest(kind) {
|
|
10161
10161
|
return (op) => op.kind === kind;
|
|
10162
10162
|
}
|
|
@@ -10216,7 +10216,7 @@ function keepLast(ops) {
|
|
|
10216
10216
|
return ops.slice(ops.length - 1);
|
|
10217
10217
|
}
|
|
10218
10218
|
|
|
10219
|
-
// bazel-out/
|
|
10219
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
10220
10220
|
function phasePureFunctionExtraction(job) {
|
|
10221
10221
|
for (const view of job.units) {
|
|
10222
10222
|
for (const op of view.ops()) {
|
|
@@ -10258,7 +10258,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
10258
10258
|
}
|
|
10259
10259
|
};
|
|
10260
10260
|
|
|
10261
|
-
// bazel-out/
|
|
10261
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
10262
10262
|
function phasePureLiteralStructures(job) {
|
|
10263
10263
|
for (const view of job.units) {
|
|
10264
10264
|
for (const op of view.update) {
|
|
@@ -10305,7 +10305,7 @@ function transformLiteralMap(expr) {
|
|
|
10305
10305
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
10306
10306
|
}
|
|
10307
10307
|
|
|
10308
|
-
// bazel-out/
|
|
10308
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
10309
10309
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
10310
10310
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
10311
10311
|
}
|
|
@@ -10689,7 +10689,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
10689
10689
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
10690
10690
|
}
|
|
10691
10691
|
|
|
10692
|
-
// bazel-out/
|
|
10692
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
10693
10693
|
var sanitizerIdentifierMap = /* @__PURE__ */ new Map([
|
|
10694
10694
|
[SanitizerFn.Html, Identifiers.sanitizeHtml],
|
|
10695
10695
|
[SanitizerFn.IframeAttribute, Identifiers.validateIframeAttribute],
|
|
@@ -10911,7 +10911,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
10911
10911
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
10912
10912
|
}
|
|
10913
10913
|
|
|
10914
|
-
// bazel-out/
|
|
10914
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
10915
10915
|
function phaseRemoveEmptyBindings(job) {
|
|
10916
10916
|
for (const unit of job.units) {
|
|
10917
10917
|
for (const op of unit.update) {
|
|
@@ -10932,7 +10932,7 @@ function phaseRemoveEmptyBindings(job) {
|
|
|
10932
10932
|
}
|
|
10933
10933
|
}
|
|
10934
10934
|
|
|
10935
|
-
// bazel-out/
|
|
10935
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
10936
10936
|
function phaseResolveContexts(cpl) {
|
|
10937
10937
|
for (const unit of cpl.units) {
|
|
10938
10938
|
processLexicalScope(unit, unit.create);
|
|
@@ -10970,7 +10970,7 @@ function processLexicalScope(view, ops) {
|
|
|
10970
10970
|
}
|
|
10971
10971
|
}
|
|
10972
10972
|
|
|
10973
|
-
// bazel-out/
|
|
10973
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
10974
10974
|
function phaseResolveDollarEvent(cpl) {
|
|
10975
10975
|
for (const [_, view] of cpl.views) {
|
|
10976
10976
|
resolveDollarEvent(view, view.create);
|
|
@@ -10991,7 +10991,7 @@ function resolveDollarEvent(view, ops) {
|
|
|
10991
10991
|
}
|
|
10992
10992
|
}
|
|
10993
10993
|
|
|
10994
|
-
// bazel-out/
|
|
10994
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
10995
10995
|
function phaseResolveNames(cpl) {
|
|
10996
10996
|
for (const unit of cpl.units) {
|
|
10997
10997
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -11054,7 +11054,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
11054
11054
|
}
|
|
11055
11055
|
}
|
|
11056
11056
|
|
|
11057
|
-
// bazel-out/
|
|
11057
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
11058
11058
|
var sanitizers = /* @__PURE__ */ new Map([
|
|
11059
11059
|
[SecurityContext.HTML, SanitizerFn.Html],
|
|
11060
11060
|
[SecurityContext.SCRIPT, SanitizerFn.Script],
|
|
@@ -11090,7 +11090,7 @@ function isIframeElement(op) {
|
|
|
11090
11090
|
return (op.kind === OpKind.Element || op.kind === OpKind.ElementStart) && op.tag.toLowerCase() === "iframe";
|
|
11091
11091
|
}
|
|
11092
11092
|
|
|
11093
|
-
// bazel-out/
|
|
11093
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
11094
11094
|
function phaseSaveRestoreView(cpl) {
|
|
11095
11095
|
for (const view of cpl.views.values()) {
|
|
11096
11096
|
view.create.prepend([
|
|
@@ -11135,7 +11135,7 @@ function addSaveRestoreViewOperationToListener(view, op) {
|
|
|
11135
11135
|
}
|
|
11136
11136
|
}
|
|
11137
11137
|
|
|
11138
|
-
// bazel-out/
|
|
11138
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
11139
11139
|
function phaseSlotAllocation(cpl) {
|
|
11140
11140
|
const slotMap = /* @__PURE__ */ new Map();
|
|
11141
11141
|
for (const [_, view] of cpl.views) {
|
|
@@ -11178,7 +11178,7 @@ function phaseSlotAllocation(cpl) {
|
|
|
11178
11178
|
}
|
|
11179
11179
|
}
|
|
11180
11180
|
|
|
11181
|
-
// bazel-out/
|
|
11181
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
11182
11182
|
function phaseStyleBindingSpecialization(cpl) {
|
|
11183
11183
|
for (const unit of cpl.units) {
|
|
11184
11184
|
for (const op of unit.update) {
|
|
@@ -11208,7 +11208,7 @@ function phaseStyleBindingSpecialization(cpl) {
|
|
|
11208
11208
|
}
|
|
11209
11209
|
}
|
|
11210
11210
|
|
|
11211
|
-
// bazel-out/
|
|
11211
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
11212
11212
|
function phaseTemporaryVariables(cpl) {
|
|
11213
11213
|
for (const unit of cpl.units) {
|
|
11214
11214
|
let opCount = 0;
|
|
@@ -11253,7 +11253,7 @@ function assignName(names, expr) {
|
|
|
11253
11253
|
expr.name = name;
|
|
11254
11254
|
}
|
|
11255
11255
|
|
|
11256
|
-
// bazel-out/
|
|
11256
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
11257
11257
|
function phaseVariableOptimization(job) {
|
|
11258
11258
|
for (const unit of job.units) {
|
|
11259
11259
|
optimizeVariablesInOpList(unit.create, job.compatibility);
|
|
@@ -11463,7 +11463,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
11463
11463
|
}
|
|
11464
11464
|
}
|
|
11465
11465
|
|
|
11466
|
-
// bazel-out/
|
|
11466
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
11467
11467
|
function transformTemplate(job) {
|
|
11468
11468
|
phaseNamespace(job);
|
|
11469
11469
|
phaseStyleBindingSpecialization(job);
|
|
@@ -11614,7 +11614,7 @@ function emitHostBindingFunction(job) {
|
|
|
11614
11614
|
);
|
|
11615
11615
|
}
|
|
11616
11616
|
|
|
11617
|
-
// bazel-out/
|
|
11617
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
11618
11618
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
11619
11619
|
function ingestComponent(componentName, template2, constantPool) {
|
|
11620
11620
|
const cpl = new ComponentCompilationJob(componentName, constantPool, compatibilityMode);
|
|
@@ -11857,10 +11857,10 @@ function assertIsArray(value) {
|
|
|
11857
11857
|
}
|
|
11858
11858
|
}
|
|
11859
11859
|
|
|
11860
|
-
// bazel-out/
|
|
11860
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
|
|
11861
11861
|
var USE_TEMPLATE_PIPELINE = false;
|
|
11862
11862
|
|
|
11863
|
-
// bazel-out/
|
|
11863
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
|
|
11864
11864
|
var IMPORTANT_FLAG = "!important";
|
|
11865
11865
|
var MIN_STYLING_BINDING_SLOTS_REQUIRED = 2;
|
|
11866
11866
|
var StylingBuilder = class {
|
|
@@ -12193,7 +12193,7 @@ function isEmptyExpression(ast) {
|
|
|
12193
12193
|
return ast instanceof EmptyExpr;
|
|
12194
12194
|
}
|
|
12195
12195
|
|
|
12196
|
-
// bazel-out/
|
|
12196
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
12197
12197
|
var TokenType;
|
|
12198
12198
|
(function(TokenType2) {
|
|
12199
12199
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -12554,7 +12554,7 @@ function parseIntAutoRadix(text2) {
|
|
|
12554
12554
|
return result;
|
|
12555
12555
|
}
|
|
12556
12556
|
|
|
12557
|
-
// bazel-out/
|
|
12557
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
12558
12558
|
var SplitInterpolation = class {
|
|
12559
12559
|
constructor(strings, expressions, offsets) {
|
|
12560
12560
|
this.strings = strings;
|
|
@@ -13448,7 +13448,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
13448
13448
|
return offsetMap;
|
|
13449
13449
|
}
|
|
13450
13450
|
|
|
13451
|
-
// bazel-out/
|
|
13451
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
13452
13452
|
var NodeWithI18n = class {
|
|
13453
13453
|
constructor(sourceSpan, i18n) {
|
|
13454
13454
|
this.sourceSpan = sourceSpan;
|
|
@@ -13569,11 +13569,11 @@ function visitAll2(visitor, nodes, context = null) {
|
|
|
13569
13569
|
return result;
|
|
13570
13570
|
}
|
|
13571
13571
|
|
|
13572
|
-
// bazel-out/
|
|
13572
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
13573
13573
|
var ElementSchemaRegistry = class {
|
|
13574
13574
|
};
|
|
13575
13575
|
|
|
13576
|
-
// bazel-out/
|
|
13576
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
13577
13577
|
var BOOLEAN = "boolean";
|
|
13578
13578
|
var NUMBER = "number";
|
|
13579
13579
|
var STRING = "string";
|
|
@@ -13926,7 +13926,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
13926
13926
|
}
|
|
13927
13927
|
}
|
|
13928
13928
|
|
|
13929
|
-
// bazel-out/
|
|
13929
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
13930
13930
|
var HtmlTagDefinition = class {
|
|
13931
13931
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
13932
13932
|
this.closedByChildren = {};
|
|
@@ -14044,7 +14044,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
14044
14044
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
14045
14045
|
}
|
|
14046
14046
|
|
|
14047
|
-
// bazel-out/
|
|
14047
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
14048
14048
|
var NAMED_ENTITIES = {
|
|
14049
14049
|
"AElig": "\xC6",
|
|
14050
14050
|
"AMP": "&",
|
|
@@ -16175,7 +16175,7 @@ var NAMED_ENTITIES = {
|
|
|
16175
16175
|
var NGSP_UNICODE = "\uE500";
|
|
16176
16176
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
16177
16177
|
|
|
16178
|
-
// bazel-out/
|
|
16178
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
16179
16179
|
var TokenError = class extends ParseError {
|
|
16180
16180
|
constructor(errorMsg, tokenType, span) {
|
|
16181
16181
|
super(span, errorMsg);
|
|
@@ -17094,7 +17094,7 @@ var CursorError = class {
|
|
|
17094
17094
|
}
|
|
17095
17095
|
};
|
|
17096
17096
|
|
|
17097
|
-
// bazel-out/
|
|
17097
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
17098
17098
|
var TreeError = class extends ParseError {
|
|
17099
17099
|
static create(elementName, span, msg) {
|
|
17100
17100
|
return new TreeError(elementName, span, msg);
|
|
@@ -17496,7 +17496,7 @@ function decodeEntity(match, entity) {
|
|
|
17496
17496
|
return match;
|
|
17497
17497
|
}
|
|
17498
17498
|
|
|
17499
|
-
// bazel-out/
|
|
17499
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
17500
17500
|
var HtmlParser = class extends Parser2 {
|
|
17501
17501
|
constructor() {
|
|
17502
17502
|
super(getHtmlTagDefinition);
|
|
@@ -17506,7 +17506,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
17506
17506
|
}
|
|
17507
17507
|
};
|
|
17508
17508
|
|
|
17509
|
-
// bazel-out/
|
|
17509
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
17510
17510
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
17511
17511
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
17512
17512
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -17575,7 +17575,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
17575
17575
|
return result;
|
|
17576
17576
|
}
|
|
17577
17577
|
|
|
17578
|
-
// bazel-out/
|
|
17578
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
17579
17579
|
function mapLiteral(obj, quoted = false) {
|
|
17580
17580
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
17581
17581
|
key,
|
|
@@ -17584,7 +17584,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
17584
17584
|
})));
|
|
17585
17585
|
}
|
|
17586
17586
|
|
|
17587
|
-
// bazel-out/
|
|
17587
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
17588
17588
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
17589
17589
|
"iframe|srcdoc",
|
|
17590
17590
|
"*|innerhtml",
|
|
@@ -17599,7 +17599,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
17599
17599
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
17600
17600
|
}
|
|
17601
17601
|
|
|
17602
|
-
// bazel-out/
|
|
17602
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
17603
17603
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
17604
17604
|
var ATTRIBUTE_PREFIX = "attr";
|
|
17605
17605
|
var CLASS_PREFIX = "class";
|
|
@@ -17919,7 +17919,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
17919
17919
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
17920
17920
|
}
|
|
17921
17921
|
|
|
17922
|
-
// bazel-out/
|
|
17922
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
17923
17923
|
function isStyleUrlResolvable(url) {
|
|
17924
17924
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
17925
17925
|
return false;
|
|
@@ -17928,7 +17928,7 @@ function isStyleUrlResolvable(url) {
|
|
|
17928
17928
|
}
|
|
17929
17929
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
17930
17930
|
|
|
17931
|
-
// bazel-out/
|
|
17931
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
17932
17932
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
17933
17933
|
var LINK_ELEMENT = "link";
|
|
17934
17934
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -17998,7 +17998,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
17998
17998
|
return selectAttr;
|
|
17999
17999
|
}
|
|
18000
18000
|
|
|
18001
|
-
// bazel-out/
|
|
18001
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
18002
18002
|
var TIME_PATTERN = /^\d+(ms|s)?$/;
|
|
18003
18003
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
18004
18004
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -18227,7 +18227,7 @@ function parseDeferredTime(value) {
|
|
|
18227
18227
|
return parseInt(time) * (units === "s" ? 1e3 : 1);
|
|
18228
18228
|
}
|
|
18229
18229
|
|
|
18230
|
-
// bazel-out/
|
|
18230
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
18231
18231
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
18232
18232
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
18233
18233
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -18352,7 +18352,7 @@ function parsePrimaryTriggers(params, bindingParser, errors) {
|
|
|
18352
18352
|
return { triggers, prefetchTriggers };
|
|
18353
18353
|
}
|
|
18354
18354
|
|
|
18355
|
-
// bazel-out/
|
|
18355
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
18356
18356
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
18357
18357
|
var KW_BIND_IDX = 1;
|
|
18358
18358
|
var KW_LET_IDX = 2;
|
|
@@ -18739,7 +18739,7 @@ function textContents(node) {
|
|
|
18739
18739
|
}
|
|
18740
18740
|
}
|
|
18741
18741
|
|
|
18742
|
-
// bazel-out/
|
|
18742
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
|
|
18743
18743
|
var TagType;
|
|
18744
18744
|
(function(TagType2) {
|
|
18745
18745
|
TagType2[TagType2["ELEMENT"] = 0] = "ELEMENT";
|
|
@@ -18874,7 +18874,7 @@ function serializePlaceholderValue(value) {
|
|
|
18874
18874
|
}
|
|
18875
18875
|
}
|
|
18876
18876
|
|
|
18877
|
-
// bazel-out/
|
|
18877
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
18878
18878
|
var IcuSerializerVisitor = class {
|
|
18879
18879
|
visitText(text2) {
|
|
18880
18880
|
return text2.value;
|
|
@@ -18905,7 +18905,7 @@ function serializeIcuNode(icu) {
|
|
|
18905
18905
|
return icu.visit(serializer);
|
|
18906
18906
|
}
|
|
18907
18907
|
|
|
18908
|
-
// bazel-out/
|
|
18908
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
18909
18909
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
18910
18910
|
"A": "LINK",
|
|
18911
18911
|
"B": "BOLD_TEXT",
|
|
@@ -18999,7 +18999,7 @@ var PlaceholderRegistry = class {
|
|
|
18999
18999
|
}
|
|
19000
19000
|
};
|
|
19001
19001
|
|
|
19002
|
-
// bazel-out/
|
|
19002
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
19003
19003
|
var _expParser = new Parser(new Lexer());
|
|
19004
19004
|
function createI18nMessageFactory(interpolationConfig) {
|
|
19005
19005
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig);
|
|
@@ -19166,14 +19166,14 @@ function extractPlaceholderName(input) {
|
|
|
19166
19166
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
19167
19167
|
}
|
|
19168
19168
|
|
|
19169
|
-
// bazel-out/
|
|
19169
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
19170
19170
|
var I18nError = class extends ParseError {
|
|
19171
19171
|
constructor(span, msg) {
|
|
19172
19172
|
super(span, msg);
|
|
19173
19173
|
}
|
|
19174
19174
|
};
|
|
19175
19175
|
|
|
19176
|
-
// bazel-out/
|
|
19176
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
19177
19177
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
19178
19178
|
if (htmlNode instanceof NodeWithI18n) {
|
|
19179
19179
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -19333,7 +19333,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
19333
19333
|
return jsDocComment(tags);
|
|
19334
19334
|
}
|
|
19335
19335
|
|
|
19336
|
-
// bazel-out/
|
|
19336
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
19337
19337
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
19338
19338
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
19339
19339
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -19381,7 +19381,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
19381
19381
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
19382
19382
|
}
|
|
19383
19383
|
|
|
19384
|
-
// bazel-out/
|
|
19384
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
19385
19385
|
function createLocalizeStatements(variable2, message, params) {
|
|
19386
19386
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
19387
19387
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -19464,7 +19464,7 @@ function createEmptyMessagePart(location) {
|
|
|
19464
19464
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
19465
19465
|
}
|
|
19466
19466
|
|
|
19467
|
-
// bazel-out/
|
|
19467
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
19468
19468
|
var NG_CONTENT_SELECT_ATTR2 = "select";
|
|
19469
19469
|
var NG_PROJECT_AS_ATTR_NAME = "ngProjectAs";
|
|
19470
19470
|
var EVENT_BINDING_SCOPE_GLOBALS = /* @__PURE__ */ new Set(["$event"]);
|
|
@@ -20813,7 +20813,7 @@ function createClosureModeGuard() {
|
|
|
20813
20813
|
return typeofExpr(variable(NG_I18N_CLOSURE_MODE)).notIdentical(literal("undefined", STRING_TYPE)).and(variable(NG_I18N_CLOSURE_MODE));
|
|
20814
20814
|
}
|
|
20815
20815
|
|
|
20816
|
-
// bazel-out/
|
|
20816
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
20817
20817
|
var ATTR_REGEX = /attr\.([^\]]+)/;
|
|
20818
20818
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
20819
20819
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
@@ -21386,11 +21386,11 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
21386
21386
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
21387
21387
|
}
|
|
21388
21388
|
|
|
21389
|
-
// bazel-out/
|
|
21389
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
21390
21390
|
var ResourceLoader = class {
|
|
21391
21391
|
};
|
|
21392
21392
|
|
|
21393
|
-
// bazel-out/
|
|
21393
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
21394
21394
|
var enabledBlockTypes;
|
|
21395
21395
|
var CompilerFacadeImpl = class {
|
|
21396
21396
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
@@ -21919,10 +21919,10 @@ function publishFacade(global) {
|
|
|
21919
21919
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
21920
21920
|
}
|
|
21921
21921
|
|
|
21922
|
-
// bazel-out/
|
|
21923
|
-
var VERSION2 = new Version("16.2.0
|
|
21922
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/version.mjs
|
|
21923
|
+
var VERSION2 = new Version("16.2.0");
|
|
21924
21924
|
|
|
21925
|
-
// bazel-out/
|
|
21925
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
21926
21926
|
var _I18N_ATTR = "i18n";
|
|
21927
21927
|
var _I18N_ATTR_PREFIX = "i18n-";
|
|
21928
21928
|
var _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;
|
|
@@ -22234,7 +22234,7 @@ function _parseMessageMeta(i18n) {
|
|
|
22234
22234
|
return { meaning, description, id: id.trim() };
|
|
22235
22235
|
}
|
|
22236
22236
|
|
|
22237
|
-
// bazel-out/
|
|
22237
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
22238
22238
|
var XmlTagDefinition = class {
|
|
22239
22239
|
constructor() {
|
|
22240
22240
|
this.closedByParent = false;
|
|
@@ -22259,7 +22259,7 @@ function getXmlTagDefinition(tagName) {
|
|
|
22259
22259
|
return _TAG_DEFINITION;
|
|
22260
22260
|
}
|
|
22261
22261
|
|
|
22262
|
-
// bazel-out/
|
|
22262
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
|
|
22263
22263
|
var XmlParser = class extends Parser2 {
|
|
22264
22264
|
constructor() {
|
|
22265
22265
|
super(getXmlTagDefinition);
|
|
@@ -22269,7 +22269,7 @@ var XmlParser = class extends Parser2 {
|
|
|
22269
22269
|
}
|
|
22270
22270
|
};
|
|
22271
22271
|
|
|
22272
|
-
// bazel-out/
|
|
22272
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
|
|
22273
22273
|
var _VERSION = "1.2";
|
|
22274
22274
|
var _XMLNS = "urn:oasis:names:tc:xliff:document:1.2";
|
|
22275
22275
|
var _DEFAULT_SOURCE_LANG = "en";
|
|
@@ -22521,7 +22521,7 @@ function getCtypeForTag(tag) {
|
|
|
22521
22521
|
}
|
|
22522
22522
|
}
|
|
22523
22523
|
|
|
22524
|
-
// bazel-out/
|
|
22524
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
|
|
22525
22525
|
var _VERSION2 = "2.0";
|
|
22526
22526
|
var _XMLNS2 = "urn:oasis:names:tc:xliff:document:2.0";
|
|
22527
22527
|
var _DEFAULT_SOURCE_LANG2 = "en";
|
|
@@ -22824,7 +22824,7 @@ function getTypeForTag(tag) {
|
|
|
22824
22824
|
}
|
|
22825
22825
|
}
|
|
22826
22826
|
|
|
22827
|
-
// bazel-out/
|
|
22827
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
|
|
22828
22828
|
var MessageBundle = class {
|
|
22829
22829
|
constructor(_htmlParser, _implicitTags, _implicitAttrs, _locale = null) {
|
|
22830
22830
|
this._htmlParser = _htmlParser;
|
|
@@ -22891,7 +22891,7 @@ var MapPlaceholderNames = class extends CloneVisitor {
|
|
|
22891
22891
|
}
|
|
22892
22892
|
};
|
|
22893
22893
|
|
|
22894
|
-
// bazel-out/
|
|
22894
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
22895
22895
|
var FactoryTarget2;
|
|
22896
22896
|
(function(FactoryTarget3) {
|
|
22897
22897
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -22901,7 +22901,7 @@ var FactoryTarget2;
|
|
|
22901
22901
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
22902
22902
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
22903
22903
|
|
|
22904
|
-
// bazel-out/
|
|
22904
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
22905
22905
|
var R3TargetBinder = class {
|
|
22906
22906
|
constructor(directiveMatcher) {
|
|
22907
22907
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -23344,7 +23344,7 @@ function extractTemplateEntities(rootScope) {
|
|
|
23344
23344
|
return templateEntities;
|
|
23345
23345
|
}
|
|
23346
23346
|
|
|
23347
|
-
// bazel-out/
|
|
23347
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
|
|
23348
23348
|
function compileClassMetadata(metadata) {
|
|
23349
23349
|
var _a2, _b2;
|
|
23350
23350
|
const fnCall = importExpr(Identifiers.setClassMetadata).callFn([
|
|
@@ -23357,12 +23357,12 @@ function compileClassMetadata(metadata) {
|
|
|
23357
23357
|
return iife.callFn([]);
|
|
23358
23358
|
}
|
|
23359
23359
|
|
|
23360
|
-
// bazel-out/
|
|
23360
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
|
|
23361
23361
|
var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
|
|
23362
23362
|
function compileDeclareClassMetadata(metadata) {
|
|
23363
23363
|
const definitionMap = new DefinitionMap();
|
|
23364
23364
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
23365
|
-
definitionMap.set("version", literal("16.2.0
|
|
23365
|
+
definitionMap.set("version", literal("16.2.0"));
|
|
23366
23366
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
23367
23367
|
definitionMap.set("type", metadata.type);
|
|
23368
23368
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -23371,7 +23371,7 @@ function compileDeclareClassMetadata(metadata) {
|
|
|
23371
23371
|
return importExpr(Identifiers.declareClassMetadata).callFn([definitionMap.toLiteralMap()]);
|
|
23372
23372
|
}
|
|
23373
23373
|
|
|
23374
|
-
// bazel-out/
|
|
23374
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
|
|
23375
23375
|
function toOptionalLiteralArray(values, mapper) {
|
|
23376
23376
|
if (values === null || values.length === 0) {
|
|
23377
23377
|
return null;
|
|
@@ -23419,7 +23419,7 @@ function compileDependency(dep) {
|
|
|
23419
23419
|
return depMeta.toLiteralMap();
|
|
23420
23420
|
}
|
|
23421
23421
|
|
|
23422
|
-
// bazel-out/
|
|
23422
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
|
|
23423
23423
|
var MINIMUM_PARTIAL_LINKER_VERSION2 = "14.0.0";
|
|
23424
23424
|
function compileDeclareDirectiveFromMetadata(meta) {
|
|
23425
23425
|
const definitionMap = createDirectiveDefinitionMap(meta);
|
|
@@ -23431,7 +23431,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
23431
23431
|
var _a2;
|
|
23432
23432
|
const definitionMap = new DefinitionMap();
|
|
23433
23433
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
|
|
23434
|
-
definitionMap.set("version", literal("16.2.0
|
|
23434
|
+
definitionMap.set("version", literal("16.2.0"));
|
|
23435
23435
|
definitionMap.set("type", meta.type.value);
|
|
23436
23436
|
if (meta.isStandalone) {
|
|
23437
23437
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -23524,7 +23524,7 @@ function createHostDirectives(hostDirectives) {
|
|
|
23524
23524
|
return literalArr(expressions);
|
|
23525
23525
|
}
|
|
23526
23526
|
|
|
23527
|
-
// bazel-out/
|
|
23527
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
|
|
23528
23528
|
function compileDeclareComponentFromMetadata(meta, template2, additionalTemplateInfo) {
|
|
23529
23529
|
const definitionMap = createComponentDefinitionMap(meta, template2, additionalTemplateInfo);
|
|
23530
23530
|
const expression = importExpr(Identifiers.declareComponent).callFn([definitionMap.toLiteralMap()]);
|
|
@@ -23611,12 +23611,12 @@ function compileUsedDependenciesMetadata(meta) {
|
|
|
23611
23611
|
});
|
|
23612
23612
|
}
|
|
23613
23613
|
|
|
23614
|
-
// bazel-out/
|
|
23614
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
|
|
23615
23615
|
var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
|
|
23616
23616
|
function compileDeclareFactoryFunction(meta) {
|
|
23617
23617
|
const definitionMap = new DefinitionMap();
|
|
23618
23618
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
|
|
23619
|
-
definitionMap.set("version", literal("16.2.0
|
|
23619
|
+
definitionMap.set("version", literal("16.2.0"));
|
|
23620
23620
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
23621
23621
|
definitionMap.set("type", meta.type.value);
|
|
23622
23622
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -23628,7 +23628,7 @@ function compileDeclareFactoryFunction(meta) {
|
|
|
23628
23628
|
};
|
|
23629
23629
|
}
|
|
23630
23630
|
|
|
23631
|
-
// bazel-out/
|
|
23631
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
|
|
23632
23632
|
var MINIMUM_PARTIAL_LINKER_VERSION4 = "12.0.0";
|
|
23633
23633
|
function compileDeclareInjectableFromMetadata(meta) {
|
|
23634
23634
|
const definitionMap = createInjectableDefinitionMap(meta);
|
|
@@ -23639,7 +23639,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
23639
23639
|
function createInjectableDefinitionMap(meta) {
|
|
23640
23640
|
const definitionMap = new DefinitionMap();
|
|
23641
23641
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
|
|
23642
|
-
definitionMap.set("version", literal("16.2.0
|
|
23642
|
+
definitionMap.set("version", literal("16.2.0"));
|
|
23643
23643
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
23644
23644
|
definitionMap.set("type", meta.type.value);
|
|
23645
23645
|
if (meta.providedIn !== void 0) {
|
|
@@ -23666,7 +23666,7 @@ function createInjectableDefinitionMap(meta) {
|
|
|
23666
23666
|
return definitionMap;
|
|
23667
23667
|
}
|
|
23668
23668
|
|
|
23669
|
-
// bazel-out/
|
|
23669
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
|
|
23670
23670
|
var MINIMUM_PARTIAL_LINKER_VERSION5 = "12.0.0";
|
|
23671
23671
|
function compileDeclareInjectorFromMetadata(meta) {
|
|
23672
23672
|
const definitionMap = createInjectorDefinitionMap(meta);
|
|
@@ -23677,7 +23677,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
23677
23677
|
function createInjectorDefinitionMap(meta) {
|
|
23678
23678
|
const definitionMap = new DefinitionMap();
|
|
23679
23679
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
|
|
23680
|
-
definitionMap.set("version", literal("16.2.0
|
|
23680
|
+
definitionMap.set("version", literal("16.2.0"));
|
|
23681
23681
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
23682
23682
|
definitionMap.set("type", meta.type.value);
|
|
23683
23683
|
definitionMap.set("providers", meta.providers);
|
|
@@ -23687,7 +23687,7 @@ function createInjectorDefinitionMap(meta) {
|
|
|
23687
23687
|
return definitionMap;
|
|
23688
23688
|
}
|
|
23689
23689
|
|
|
23690
|
-
// bazel-out/
|
|
23690
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
|
|
23691
23691
|
var MINIMUM_PARTIAL_LINKER_VERSION6 = "14.0.0";
|
|
23692
23692
|
function compileDeclareNgModuleFromMetadata(meta) {
|
|
23693
23693
|
const definitionMap = createNgModuleDefinitionMap(meta);
|
|
@@ -23701,7 +23701,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
23701
23701
|
throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
|
|
23702
23702
|
}
|
|
23703
23703
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
|
|
23704
|
-
definitionMap.set("version", literal("16.2.0
|
|
23704
|
+
definitionMap.set("version", literal("16.2.0"));
|
|
23705
23705
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
23706
23706
|
definitionMap.set("type", meta.type.value);
|
|
23707
23707
|
if (meta.bootstrap.length > 0) {
|
|
@@ -23725,7 +23725,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
23725
23725
|
return definitionMap;
|
|
23726
23726
|
}
|
|
23727
23727
|
|
|
23728
|
-
// bazel-out/
|
|
23728
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
|
|
23729
23729
|
var MINIMUM_PARTIAL_LINKER_VERSION7 = "14.0.0";
|
|
23730
23730
|
function compileDeclarePipeFromMetadata(meta) {
|
|
23731
23731
|
const definitionMap = createPipeDefinitionMap(meta);
|
|
@@ -23736,7 +23736,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
23736
23736
|
function createPipeDefinitionMap(meta) {
|
|
23737
23737
|
const definitionMap = new DefinitionMap();
|
|
23738
23738
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION7));
|
|
23739
|
-
definitionMap.set("version", literal("16.2.0
|
|
23739
|
+
definitionMap.set("version", literal("16.2.0"));
|
|
23740
23740
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
23741
23741
|
definitionMap.set("type", meta.type.value);
|
|
23742
23742
|
if (meta.isStandalone) {
|
|
@@ -23749,13 +23749,13 @@ function createPipeDefinitionMap(meta) {
|
|
|
23749
23749
|
return definitionMap;
|
|
23750
23750
|
}
|
|
23751
23751
|
|
|
23752
|
-
// bazel-out/
|
|
23752
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
23753
23753
|
publishFacade(_global);
|
|
23754
23754
|
|
|
23755
|
-
// bazel-out/
|
|
23756
|
-
var VERSION3 = new Version("16.2.0
|
|
23755
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
23756
|
+
var VERSION3 = new Version("16.2.0");
|
|
23757
23757
|
|
|
23758
|
-
// bazel-out/
|
|
23758
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
23759
23759
|
var EmitFlags;
|
|
23760
23760
|
(function(EmitFlags2) {
|
|
23761
23761
|
EmitFlags2[EmitFlags2["DTS"] = 1] = "DTS";
|
|
@@ -23767,13 +23767,13 @@ var EmitFlags;
|
|
|
23767
23767
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
23768
23768
|
})(EmitFlags || (EmitFlags = {}));
|
|
23769
23769
|
|
|
23770
|
-
// bazel-out/
|
|
23770
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
23771
23771
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
23772
23772
|
|
|
23773
|
-
// bazel-out/
|
|
23773
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
23774
23774
|
var import_typescript96 = __toESM(require("typescript"), 1);
|
|
23775
23775
|
|
|
23776
|
-
// bazel-out/
|
|
23776
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
23777
23777
|
var path = __toESM(require("path"), 1);
|
|
23778
23778
|
function i18nGetExtension(formatName) {
|
|
23779
23779
|
const format = formatName.toLowerCase();
|
|
@@ -23823,10 +23823,10 @@ function getPathNormalizer(basePath) {
|
|
|
23823
23823
|
};
|
|
23824
23824
|
}
|
|
23825
23825
|
|
|
23826
|
-
// bazel-out/
|
|
23826
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
23827
23827
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
23828
23828
|
|
|
23829
|
-
// bazel-out/
|
|
23829
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
23830
23830
|
function toNumbers(value) {
|
|
23831
23831
|
const suffixIndex = value.lastIndexOf("-");
|
|
23832
23832
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -23861,7 +23861,7 @@ function compareVersions(v1, v2) {
|
|
|
23861
23861
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
23862
23862
|
}
|
|
23863
23863
|
|
|
23864
|
-
// bazel-out/
|
|
23864
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
23865
23865
|
var MIN_TS_VERSION = "4.9.3";
|
|
23866
23866
|
var MAX_TS_VERSION = "5.2.0";
|
|
23867
23867
|
var tsVersion = import_typescript3.default.version;
|
|
@@ -23874,13 +23874,13 @@ function verifySupportedTypeScriptVersion() {
|
|
|
23874
23874
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
23875
23875
|
}
|
|
23876
23876
|
|
|
23877
|
-
// bazel-out/
|
|
23877
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
23878
23878
|
var import_typescript92 = __toESM(require("typescript"), 1);
|
|
23879
23879
|
|
|
23880
|
-
// bazel-out/
|
|
23880
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
23881
23881
|
var import_typescript20 = __toESM(require("typescript"), 1);
|
|
23882
23882
|
|
|
23883
|
-
// bazel-out/
|
|
23883
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
23884
23884
|
var ErrorCode;
|
|
23885
23885
|
(function(ErrorCode2) {
|
|
23886
23886
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -23954,7 +23954,7 @@ var ErrorCode;
|
|
|
23954
23954
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
23955
23955
|
})(ErrorCode || (ErrorCode = {}));
|
|
23956
23956
|
|
|
23957
|
-
// bazel-out/
|
|
23957
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
23958
23958
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
23959
23959
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
23960
23960
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -23966,15 +23966,15 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
23966
23966
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
23967
23967
|
]);
|
|
23968
23968
|
|
|
23969
|
-
// bazel-out/
|
|
23969
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
23970
23970
|
var import_typescript4 = __toESM(require("typescript"), 1);
|
|
23971
23971
|
|
|
23972
|
-
// bazel-out/
|
|
23972
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
23973
23973
|
function ngErrorCode(code) {
|
|
23974
23974
|
return parseInt("-99" + code);
|
|
23975
23975
|
}
|
|
23976
23976
|
|
|
23977
|
-
// bazel-out/
|
|
23977
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
23978
23978
|
var FatalDiagnosticError = class {
|
|
23979
23979
|
constructor(code, node, message, relatedInformation) {
|
|
23980
23980
|
this.code = code;
|
|
@@ -24030,10 +24030,10 @@ function addDiagnosticChain(messageText, add) {
|
|
|
24030
24030
|
return messageText;
|
|
24031
24031
|
}
|
|
24032
24032
|
|
|
24033
|
-
// bazel-out/
|
|
24033
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
24034
24034
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
24035
24035
|
|
|
24036
|
-
// bazel-out/
|
|
24036
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
24037
24037
|
var ExtendedTemplateDiagnosticName;
|
|
24038
24038
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
24039
24039
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -24046,13 +24046,13 @@ var ExtendedTemplateDiagnosticName;
|
|
|
24046
24046
|
ExtendedTemplateDiagnosticName2["SKIP_HYDRATION_NOT_STATIC"] = "skipHydrationNotStatic";
|
|
24047
24047
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
24048
24048
|
|
|
24049
|
-
// bazel-out/
|
|
24049
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
24050
24050
|
var import_typescript19 = __toESM(require("typescript"), 1);
|
|
24051
24051
|
|
|
24052
|
-
// bazel-out/
|
|
24052
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
24053
24053
|
var import_typescript7 = __toESM(require("typescript"), 1);
|
|
24054
24054
|
|
|
24055
|
-
// bazel-out/
|
|
24055
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
24056
24056
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
24057
24057
|
var TS = /\.tsx?$/i;
|
|
24058
24058
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -24153,7 +24153,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
24153
24153
|
return redirectInfo.unredirected;
|
|
24154
24154
|
}
|
|
24155
24155
|
|
|
24156
|
-
// bazel-out/
|
|
24156
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
24157
24157
|
function findExportedNameOfNode(target, file, reflector) {
|
|
24158
24158
|
const exports = reflector.getExportsOfModule(file);
|
|
24159
24159
|
if (exports === null) {
|
|
@@ -24173,7 +24173,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
24173
24173
|
return foundExportName;
|
|
24174
24174
|
}
|
|
24175
24175
|
|
|
24176
|
-
// bazel-out/
|
|
24176
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
24177
24177
|
var ImportFlags;
|
|
24178
24178
|
(function(ImportFlags2) {
|
|
24179
24179
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -24389,7 +24389,7 @@ var UnifiedModulesStrategy = class {
|
|
|
24389
24389
|
}
|
|
24390
24390
|
};
|
|
24391
24391
|
|
|
24392
|
-
// bazel-out/
|
|
24392
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
24393
24393
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
24394
24394
|
var UnifiedModulesAliasingHost = class {
|
|
24395
24395
|
constructor(unifiedModulesHost) {
|
|
@@ -24456,7 +24456,7 @@ var AliasStrategy = class {
|
|
|
24456
24456
|
}
|
|
24457
24457
|
};
|
|
24458
24458
|
|
|
24459
|
-
// bazel-out/
|
|
24459
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
24460
24460
|
function relativePathBetween(from, to) {
|
|
24461
24461
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
24462
24462
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -24465,7 +24465,7 @@ function normalizeSeparators2(path3) {
|
|
|
24465
24465
|
return path3.replace(/\\/g, "/");
|
|
24466
24466
|
}
|
|
24467
24467
|
|
|
24468
|
-
// bazel-out/
|
|
24468
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
24469
24469
|
var NoopImportRewriter = class {
|
|
24470
24470
|
shouldImportSymbol(symbol, specifier) {
|
|
24471
24471
|
return true;
|
|
@@ -24523,7 +24523,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
24523
24523
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
24524
24524
|
}
|
|
24525
24525
|
|
|
24526
|
-
// bazel-out/
|
|
24526
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
24527
24527
|
var import_typescript9 = __toESM(require("typescript"), 1);
|
|
24528
24528
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
24529
24529
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -24558,7 +24558,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
24558
24558
|
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.");
|
|
24559
24559
|
}
|
|
24560
24560
|
|
|
24561
|
-
// bazel-out/
|
|
24561
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
24562
24562
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
24563
24563
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
24564
24564
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -24599,13 +24599,13 @@ var DefaultImportTracker = class {
|
|
|
24599
24599
|
}
|
|
24600
24600
|
};
|
|
24601
24601
|
|
|
24602
|
-
// bazel-out/
|
|
24602
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
24603
24603
|
var import_typescript15 = __toESM(require("typescript"), 1);
|
|
24604
24604
|
|
|
24605
|
-
// bazel-out/
|
|
24605
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
24606
24606
|
var import_typescript14 = __toESM(require("typescript"), 1);
|
|
24607
24607
|
|
|
24608
|
-
// bazel-out/
|
|
24608
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
24609
24609
|
var import_typescript11 = __toESM(require("typescript"), 1);
|
|
24610
24610
|
function isDecoratorIdentifier(exp) {
|
|
24611
24611
|
return import_typescript11.default.isIdentifier(exp) || import_typescript11.default.isPropertyAccessExpression(exp) && import_typescript11.default.isIdentifier(exp.expression) && import_typescript11.default.isIdentifier(exp.name);
|
|
@@ -24619,7 +24619,7 @@ var ClassMemberKind;
|
|
|
24619
24619
|
ClassMemberKind2[ClassMemberKind2["Method"] = 4] = "Method";
|
|
24620
24620
|
})(ClassMemberKind || (ClassMemberKind = {}));
|
|
24621
24621
|
|
|
24622
|
-
// bazel-out/
|
|
24622
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
24623
24623
|
var import_typescript12 = __toESM(require("typescript"), 1);
|
|
24624
24624
|
function typeToValue(typeNode, checker) {
|
|
24625
24625
|
if (typeNode === null) {
|
|
@@ -24785,7 +24785,7 @@ function extractModuleName(node) {
|
|
|
24785
24785
|
return node.moduleSpecifier.text;
|
|
24786
24786
|
}
|
|
24787
24787
|
|
|
24788
|
-
// bazel-out/
|
|
24788
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
24789
24789
|
var import_typescript13 = __toESM(require("typescript"), 1);
|
|
24790
24790
|
function isNamedClassDeclaration(node) {
|
|
24791
24791
|
return import_typescript13.default.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -24794,7 +24794,7 @@ function isIdentifier(node) {
|
|
|
24794
24794
|
return node !== void 0 && import_typescript13.default.isIdentifier(node);
|
|
24795
24795
|
}
|
|
24796
24796
|
|
|
24797
|
-
// bazel-out/
|
|
24797
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
24798
24798
|
var TypeScriptReflectionHost = class {
|
|
24799
24799
|
constructor(checker) {
|
|
24800
24800
|
this.checker = checker;
|
|
@@ -25228,7 +25228,7 @@ function getExportedName(decl, originalId) {
|
|
|
25228
25228
|
}
|
|
25229
25229
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
25230
25230
|
|
|
25231
|
-
// bazel-out/
|
|
25231
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
25232
25232
|
var AssumeEager = "AssumeEager";
|
|
25233
25233
|
var DeferredSymbolTracker = class {
|
|
25234
25234
|
constructor(typeChecker) {
|
|
@@ -25320,7 +25320,7 @@ var DeferredSymbolTracker = class {
|
|
|
25320
25320
|
}
|
|
25321
25321
|
};
|
|
25322
25322
|
|
|
25323
|
-
// bazel-out/
|
|
25323
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
25324
25324
|
var Reference2 = class {
|
|
25325
25325
|
constructor(node, bestGuessOwningModule = null) {
|
|
25326
25326
|
this.node = node;
|
|
@@ -25383,7 +25383,7 @@ var Reference2 = class {
|
|
|
25383
25383
|
}
|
|
25384
25384
|
};
|
|
25385
25385
|
|
|
25386
|
-
// bazel-out/
|
|
25386
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
25387
25387
|
var ModuleResolver = class {
|
|
25388
25388
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
25389
25389
|
this.program = program;
|
|
@@ -25400,7 +25400,7 @@ var ModuleResolver = class {
|
|
|
25400
25400
|
}
|
|
25401
25401
|
};
|
|
25402
25402
|
|
|
25403
|
-
// bazel-out/
|
|
25403
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
25404
25404
|
function valueReferenceToExpression(valueRef) {
|
|
25405
25405
|
if (valueRef.kind === 2) {
|
|
25406
25406
|
return null;
|
|
@@ -25589,7 +25589,7 @@ function createSourceSpan(node) {
|
|
|
25589
25589
|
const parseSf = new ParseSourceFile(sf.getFullText(), sf.fileName);
|
|
25590
25590
|
return new ParseSourceSpan(new ParseLocation(parseSf, startOffset, startLine + 1, startCol + 1), new ParseLocation(parseSf, endOffset, endLine + 1, endCol + 1));
|
|
25591
25591
|
}
|
|
25592
|
-
function compileResults(fac, def, metadataStmt, propName, additionalFields) {
|
|
25592
|
+
function compileResults(fac, def, metadataStmt, propName, additionalFields, deferrableImports) {
|
|
25593
25593
|
const statements = def.statements;
|
|
25594
25594
|
if (metadataStmt !== null) {
|
|
25595
25595
|
statements.push(metadataStmt);
|
|
@@ -25600,7 +25600,8 @@ function compileResults(fac, def, metadataStmt, propName, additionalFields) {
|
|
|
25600
25600
|
name: propName,
|
|
25601
25601
|
initializer: def.expression,
|
|
25602
25602
|
statements: def.statements,
|
|
25603
|
-
type: def.type
|
|
25603
|
+
type: def.type,
|
|
25604
|
+
deferrableImports
|
|
25604
25605
|
}
|
|
25605
25606
|
];
|
|
25606
25607
|
if (additionalFields !== null) {
|
|
@@ -25639,7 +25640,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
25639
25640
|
return import_typescript19.default.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === import_typescript19.default.SyntaxKind.AbstractKeyword) : false;
|
|
25640
25641
|
}
|
|
25641
25642
|
|
|
25642
|
-
// bazel-out/
|
|
25643
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
25643
25644
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
25644
25645
|
const deps = [];
|
|
25645
25646
|
const errors = [];
|
|
@@ -25781,10 +25782,10 @@ function createUnsuitableInjectionTokenError(clazz, error2) {
|
|
|
25781
25782
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
25782
25783
|
}
|
|
25783
25784
|
|
|
25784
|
-
// bazel-out/
|
|
25785
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
25785
25786
|
var import_typescript29 = __toESM(require("typescript"), 1);
|
|
25786
25787
|
|
|
25787
|
-
// bazel-out/
|
|
25788
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
25788
25789
|
var MetaKind;
|
|
25789
25790
|
(function(MetaKind2) {
|
|
25790
25791
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -25797,10 +25798,10 @@ var MatchSource;
|
|
|
25797
25798
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
25798
25799
|
})(MatchSource || (MatchSource = {}));
|
|
25799
25800
|
|
|
25800
|
-
// bazel-out/
|
|
25801
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
25801
25802
|
var import_typescript24 = __toESM(require("typescript"), 1);
|
|
25802
25803
|
|
|
25803
|
-
// bazel-out/
|
|
25804
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
25804
25805
|
var ClassPropertyMapping = class {
|
|
25805
25806
|
constructor(forwardMap) {
|
|
25806
25807
|
this.forwardMap = forwardMap;
|
|
@@ -25878,7 +25879,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
25878
25879
|
return reverseMap;
|
|
25879
25880
|
}
|
|
25880
25881
|
|
|
25881
|
-
// bazel-out/
|
|
25882
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
25882
25883
|
var import_typescript22 = __toESM(require("typescript"), 1);
|
|
25883
25884
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
25884
25885
|
if (!import_typescript22.default.isTupleTypeNode(def)) {
|
|
@@ -26063,7 +26064,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
26063
26064
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
26064
26065
|
}
|
|
26065
26066
|
|
|
26066
|
-
// bazel-out/
|
|
26067
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
26067
26068
|
var DtsMetadataReader = class {
|
|
26068
26069
|
constructor(checker, reflector) {
|
|
26069
26070
|
this.checker = checker;
|
|
@@ -26238,7 +26239,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
26238
26239
|
return result.length > 0 ? result : null;
|
|
26239
26240
|
}
|
|
26240
26241
|
|
|
26241
|
-
// bazel-out/
|
|
26242
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
26242
26243
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
26243
26244
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
26244
26245
|
if (topMeta === null) {
|
|
@@ -26295,7 +26296,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
26295
26296
|
});
|
|
26296
26297
|
}
|
|
26297
26298
|
|
|
26298
|
-
// bazel-out/
|
|
26299
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
26299
26300
|
var LocalMetadataRegistry = class {
|
|
26300
26301
|
constructor() {
|
|
26301
26302
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -26352,7 +26353,7 @@ var CompoundMetadataRegistry = class {
|
|
|
26352
26353
|
}
|
|
26353
26354
|
};
|
|
26354
26355
|
|
|
26355
|
-
// bazel-out/
|
|
26356
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
26356
26357
|
var ResourceRegistry = class {
|
|
26357
26358
|
constructor() {
|
|
26358
26359
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -26417,7 +26418,7 @@ var ResourceRegistry = class {
|
|
|
26417
26418
|
}
|
|
26418
26419
|
};
|
|
26419
26420
|
|
|
26420
|
-
// bazel-out/
|
|
26421
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
|
|
26421
26422
|
var ExportedProviderStatusResolver = class {
|
|
26422
26423
|
constructor(metaReader) {
|
|
26423
26424
|
this.metaReader = metaReader;
|
|
@@ -26461,7 +26462,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
26461
26462
|
}
|
|
26462
26463
|
};
|
|
26463
26464
|
|
|
26464
|
-
// bazel-out/
|
|
26465
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
26465
26466
|
var EMPTY_ARRAY = [];
|
|
26466
26467
|
var HostDirectivesResolver = class {
|
|
26467
26468
|
constructor(metaReader) {
|
|
@@ -26522,10 +26523,10 @@ function resolveOutput(bindingName) {
|
|
|
26522
26523
|
return bindingName;
|
|
26523
26524
|
}
|
|
26524
26525
|
|
|
26525
|
-
// bazel-out/
|
|
26526
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
26526
26527
|
var import_typescript26 = __toESM(require("typescript"), 1);
|
|
26527
26528
|
|
|
26528
|
-
// bazel-out/
|
|
26529
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
26529
26530
|
var DynamicValue = class {
|
|
26530
26531
|
constructor(node, reason, code) {
|
|
26531
26532
|
this.node = node;
|
|
@@ -26615,7 +26616,7 @@ var DynamicValue = class {
|
|
|
26615
26616
|
}
|
|
26616
26617
|
};
|
|
26617
26618
|
|
|
26618
|
-
// bazel-out/
|
|
26619
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
26619
26620
|
var ResolvedModule = class {
|
|
26620
26621
|
constructor(exports, evaluate) {
|
|
26621
26622
|
this.exports = exports;
|
|
@@ -26645,7 +26646,7 @@ var EnumValue = class {
|
|
|
26645
26646
|
var KnownFn = class {
|
|
26646
26647
|
};
|
|
26647
26648
|
|
|
26648
|
-
// bazel-out/
|
|
26649
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
26649
26650
|
function describeResolvedType(value, maxDepth = 1) {
|
|
26650
26651
|
var _a2, _b2;
|
|
26651
26652
|
if (value === null) {
|
|
@@ -26774,10 +26775,10 @@ function getContainerNode(node) {
|
|
|
26774
26775
|
return node.getSourceFile();
|
|
26775
26776
|
}
|
|
26776
26777
|
|
|
26777
|
-
// bazel-out/
|
|
26778
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
26778
26779
|
var import_typescript27 = __toESM(require("typescript"), 1);
|
|
26779
26780
|
|
|
26780
|
-
// bazel-out/
|
|
26781
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
26781
26782
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
26782
26783
|
constructor(lhs) {
|
|
26783
26784
|
super();
|
|
@@ -26829,14 +26830,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
|
|
|
26829
26830
|
}
|
|
26830
26831
|
};
|
|
26831
26832
|
|
|
26832
|
-
// bazel-out/
|
|
26833
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
26833
26834
|
var SyntheticValue = class {
|
|
26834
26835
|
constructor(value) {
|
|
26835
26836
|
this.value = value;
|
|
26836
26837
|
}
|
|
26837
26838
|
};
|
|
26838
26839
|
|
|
26839
|
-
// bazel-out/
|
|
26840
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
26840
26841
|
function literalBinaryOp(op) {
|
|
26841
26842
|
return { op, literal: true };
|
|
26842
26843
|
}
|
|
@@ -27414,7 +27415,7 @@ function getOriginalKeywordKind(identifier) {
|
|
|
27414
27415
|
return typeof import_typescript27.default.identifierToKeywordKind === "function" ? import_typescript27.default.identifierToKeywordKind(identifier) : identifier.originalKeywordKind;
|
|
27415
27416
|
}
|
|
27416
27417
|
|
|
27417
|
-
// bazel-out/
|
|
27418
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
27418
27419
|
var PartialEvaluator = class {
|
|
27419
27420
|
constructor(host, checker, dependencyTracker) {
|
|
27420
27421
|
this.host = host;
|
|
@@ -27434,7 +27435,7 @@ var PartialEvaluator = class {
|
|
|
27434
27435
|
}
|
|
27435
27436
|
};
|
|
27436
27437
|
|
|
27437
|
-
// bazel-out/
|
|
27438
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
27438
27439
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
27439
27440
|
const context = [];
|
|
27440
27441
|
for (const decl of data) {
|
|
@@ -27630,7 +27631,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
|
|
|
27630
27631
|
return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${kind.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of ${baseClassName}'s constructor. Either add a @${baseNeedsDecorator} decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
|
|
27631
27632
|
}
|
|
27632
27633
|
|
|
27633
|
-
// bazel-out/
|
|
27634
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
27634
27635
|
var import_typescript31 = __toESM(require("typescript"), 1);
|
|
27635
27636
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
27636
27637
|
let resolved = null;
|
|
@@ -27663,17 +27664,29 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
27663
27664
|
return meta;
|
|
27664
27665
|
}
|
|
27665
27666
|
|
|
27666
|
-
// bazel-out/
|
|
27667
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
27667
27668
|
function compileNgFactoryDefField(metadata) {
|
|
27668
27669
|
const res = compileFactoryFunction(metadata);
|
|
27669
|
-
return {
|
|
27670
|
+
return {
|
|
27671
|
+
name: "\u0275fac",
|
|
27672
|
+
initializer: res.expression,
|
|
27673
|
+
statements: res.statements,
|
|
27674
|
+
type: res.type,
|
|
27675
|
+
deferrableImports: null
|
|
27676
|
+
};
|
|
27670
27677
|
}
|
|
27671
27678
|
function compileDeclareFactory(metadata) {
|
|
27672
27679
|
const res = compileDeclareFactoryFunction(metadata);
|
|
27673
|
-
return {
|
|
27680
|
+
return {
|
|
27681
|
+
name: "\u0275fac",
|
|
27682
|
+
initializer: res.expression,
|
|
27683
|
+
statements: res.statements,
|
|
27684
|
+
type: res.type,
|
|
27685
|
+
deferrableImports: null
|
|
27686
|
+
};
|
|
27674
27687
|
}
|
|
27675
27688
|
|
|
27676
|
-
// bazel-out/
|
|
27689
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
27677
27690
|
var InjectableClassRegistry = class {
|
|
27678
27691
|
constructor(host, isCore) {
|
|
27679
27692
|
this.host = host;
|
|
@@ -27699,7 +27712,7 @@ var InjectableClassRegistry = class {
|
|
|
27699
27712
|
}
|
|
27700
27713
|
};
|
|
27701
27714
|
|
|
27702
|
-
// bazel-out/
|
|
27715
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
27703
27716
|
var import_typescript32 = __toESM(require("typescript"), 1);
|
|
27704
27717
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
27705
27718
|
if (!reflection.isClass(clazz)) {
|
|
@@ -27785,13 +27798,13 @@ function removeIdentifierReferences(node, name) {
|
|
|
27785
27798
|
return result.transformed[0];
|
|
27786
27799
|
}
|
|
27787
27800
|
|
|
27788
|
-
// bazel-out/
|
|
27801
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
27789
27802
|
var NoopReferencesRegistry = class {
|
|
27790
27803
|
add(source, ...references) {
|
|
27791
27804
|
}
|
|
27792
27805
|
};
|
|
27793
27806
|
|
|
27794
|
-
// bazel-out/
|
|
27807
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
27795
27808
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
27796
27809
|
const schemas = [];
|
|
27797
27810
|
const result = evaluator.evaluate(rawExpr);
|
|
@@ -27820,7 +27833,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
27820
27833
|
return schemas;
|
|
27821
27834
|
}
|
|
27822
27835
|
|
|
27823
|
-
// bazel-out/
|
|
27836
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
|
|
27824
27837
|
function compileInputTransformFields(inputs) {
|
|
27825
27838
|
const extraFields = [];
|
|
27826
27839
|
for (const input of inputs) {
|
|
@@ -27829,17 +27842,18 @@ function compileInputTransformFields(inputs) {
|
|
|
27829
27842
|
name: `ngAcceptInputType_${input.classPropertyName}`,
|
|
27830
27843
|
type: output_ast_exports.transplantedType(input.transform.type),
|
|
27831
27844
|
statements: [],
|
|
27832
|
-
initializer: null
|
|
27845
|
+
initializer: null,
|
|
27846
|
+
deferrableImports: null
|
|
27833
27847
|
});
|
|
27834
27848
|
}
|
|
27835
27849
|
}
|
|
27836
27850
|
return extraFields;
|
|
27837
27851
|
}
|
|
27838
27852
|
|
|
27839
|
-
// bazel-out/
|
|
27853
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
27840
27854
|
var import_typescript53 = __toESM(require("typescript"), 1);
|
|
27841
27855
|
|
|
27842
|
-
// bazel-out/
|
|
27856
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
27843
27857
|
var import_typescript33 = __toESM(require("typescript"), 1);
|
|
27844
27858
|
var SemanticSymbol = class {
|
|
27845
27859
|
constructor(decl) {
|
|
@@ -27855,7 +27869,7 @@ function getSymbolIdentifier(decl) {
|
|
|
27855
27869
|
return decl.name.text;
|
|
27856
27870
|
}
|
|
27857
27871
|
|
|
27858
|
-
// bazel-out/
|
|
27872
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
27859
27873
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
27860
27874
|
isPublicApiAffected() {
|
|
27861
27875
|
return false;
|
|
@@ -27997,10 +28011,10 @@ function getImportPath(expr) {
|
|
|
27997
28011
|
}
|
|
27998
28012
|
}
|
|
27999
28013
|
|
|
28000
|
-
// bazel-out/
|
|
28014
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
28001
28015
|
var import_typescript34 = __toESM(require("typescript"), 1);
|
|
28002
28016
|
|
|
28003
|
-
// bazel-out/
|
|
28017
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
28004
28018
|
function isSymbolEqual(a, b) {
|
|
28005
28019
|
if (a.decl === b.decl) {
|
|
28006
28020
|
return true;
|
|
@@ -28050,7 +28064,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
28050
28064
|
return true;
|
|
28051
28065
|
}
|
|
28052
28066
|
|
|
28053
|
-
// bazel-out/
|
|
28067
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
28054
28068
|
function extractSemanticTypeParameters(node) {
|
|
28055
28069
|
if (!import_typescript34.default.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
28056
28070
|
return null;
|
|
@@ -28070,7 +28084,7 @@ function isTypeParameterEqual(a, b) {
|
|
|
28070
28084
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
28071
28085
|
}
|
|
28072
28086
|
|
|
28073
|
-
// bazel-out/
|
|
28087
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
28074
28088
|
var PerfPhase;
|
|
28075
28089
|
(function(PerfPhase2) {
|
|
28076
28090
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -28137,7 +28151,7 @@ var PerfCheckpoint;
|
|
|
28137
28151
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
28138
28152
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
28139
28153
|
|
|
28140
|
-
// bazel-out/
|
|
28154
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
28141
28155
|
var NoopPerfRecorder = class {
|
|
28142
28156
|
eventCount() {
|
|
28143
28157
|
}
|
|
@@ -28154,7 +28168,7 @@ var NoopPerfRecorder = class {
|
|
|
28154
28168
|
};
|
|
28155
28169
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
28156
28170
|
|
|
28157
|
-
// bazel-out/
|
|
28171
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
28158
28172
|
function mark() {
|
|
28159
28173
|
return process.hrtime();
|
|
28160
28174
|
}
|
|
@@ -28163,7 +28177,7 @@ function timeSinceInMicros(mark2) {
|
|
|
28163
28177
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
28164
28178
|
}
|
|
28165
28179
|
|
|
28166
|
-
// bazel-out/
|
|
28180
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
28167
28181
|
var ActivePerfRecorder = class {
|
|
28168
28182
|
static zeroedToNow() {
|
|
28169
28183
|
return new ActivePerfRecorder(mark());
|
|
@@ -28257,14 +28271,14 @@ var DelegatingPerfRecorder = class {
|
|
|
28257
28271
|
}
|
|
28258
28272
|
};
|
|
28259
28273
|
|
|
28260
|
-
// bazel-out/
|
|
28274
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
28261
28275
|
var ComponentScopeKind;
|
|
28262
28276
|
(function(ComponentScopeKind2) {
|
|
28263
28277
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
28264
28278
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
28265
28279
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
28266
28280
|
|
|
28267
|
-
// bazel-out/
|
|
28281
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
28268
28282
|
var CompoundComponentScopeReader = class {
|
|
28269
28283
|
constructor(readers) {
|
|
28270
28284
|
this.readers = readers;
|
|
@@ -28289,7 +28303,7 @@ var CompoundComponentScopeReader = class {
|
|
|
28289
28303
|
}
|
|
28290
28304
|
};
|
|
28291
28305
|
|
|
28292
|
-
// bazel-out/
|
|
28306
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
28293
28307
|
var MetadataDtsModuleScopeResolver = class {
|
|
28294
28308
|
constructor(dtsMetaReader, aliasingHost) {
|
|
28295
28309
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -28364,10 +28378,10 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
28364
28378
|
}
|
|
28365
28379
|
};
|
|
28366
28380
|
|
|
28367
|
-
// bazel-out/
|
|
28381
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
28368
28382
|
var import_typescript35 = __toESM(require("typescript"), 1);
|
|
28369
28383
|
|
|
28370
|
-
// bazel-out/
|
|
28384
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
28371
28385
|
function getDiagnosticNode(ref, rawExpr) {
|
|
28372
28386
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
28373
28387
|
}
|
|
@@ -28390,7 +28404,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
|
|
|
28390
28404
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
|
|
28391
28405
|
}
|
|
28392
28406
|
|
|
28393
|
-
// bazel-out/
|
|
28407
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
28394
28408
|
var LocalModuleScopeRegistry = class {
|
|
28395
28409
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
28396
28410
|
this.localReader = localReader;
|
|
@@ -28729,7 +28743,7 @@ function reexportCollision(module3, refA, refB) {
|
|
|
28729
28743
|
]);
|
|
28730
28744
|
}
|
|
28731
28745
|
|
|
28732
|
-
// bazel-out/
|
|
28746
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
28733
28747
|
var import_typescript37 = __toESM(require("typescript"), 1);
|
|
28734
28748
|
var TypeCheckScopeRegistry = class {
|
|
28735
28749
|
constructor(scopeReader, metaReader, hostDirectivesResolver) {
|
|
@@ -28797,7 +28811,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
28797
28811
|
}
|
|
28798
28812
|
};
|
|
28799
28813
|
|
|
28800
|
-
// bazel-out/
|
|
28814
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
28801
28815
|
var CompilationMode;
|
|
28802
28816
|
(function(CompilationMode2) {
|
|
28803
28817
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -28811,7 +28825,7 @@ var HandlerPrecedence;
|
|
|
28811
28825
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
28812
28826
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
28813
28827
|
|
|
28814
|
-
// bazel-out/
|
|
28828
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
28815
28829
|
var import_typescript38 = __toESM(require("typescript"), 1);
|
|
28816
28830
|
function aliasTransformFactory(exportStatements) {
|
|
28817
28831
|
return () => {
|
|
@@ -28834,10 +28848,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
28834
28848
|
};
|
|
28835
28849
|
}
|
|
28836
28850
|
|
|
28837
|
-
// bazel-out/
|
|
28851
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
28838
28852
|
var import_typescript39 = __toESM(require("typescript"), 1);
|
|
28839
28853
|
|
|
28840
|
-
// bazel-out/
|
|
28854
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
28841
28855
|
var TraitState;
|
|
28842
28856
|
(function(TraitState2) {
|
|
28843
28857
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -28894,7 +28908,7 @@ var TraitImpl = class {
|
|
|
28894
28908
|
}
|
|
28895
28909
|
};
|
|
28896
28910
|
|
|
28897
|
-
// bazel-out/
|
|
28911
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
28898
28912
|
var TraitCompiler = class {
|
|
28899
28913
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
28900
28914
|
this.handlers = handlers;
|
|
@@ -29342,10 +29356,10 @@ function containsErrors(diagnostics) {
|
|
|
29342
29356
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === import_typescript39.default.DiagnosticCategory.Error);
|
|
29343
29357
|
}
|
|
29344
29358
|
|
|
29345
|
-
// bazel-out/
|
|
29359
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
29346
29360
|
var import_typescript45 = __toESM(require("typescript"), 1);
|
|
29347
29361
|
|
|
29348
|
-
// bazel-out/
|
|
29362
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
29349
29363
|
var Context = class {
|
|
29350
29364
|
constructor(isStatement) {
|
|
29351
29365
|
this.isStatement = isStatement;
|
|
@@ -29358,7 +29372,7 @@ var Context = class {
|
|
|
29358
29372
|
}
|
|
29359
29373
|
};
|
|
29360
29374
|
|
|
29361
|
-
// bazel-out/
|
|
29375
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
29362
29376
|
var import_typescript41 = __toESM(require("typescript"), 1);
|
|
29363
29377
|
var ImportManager = class {
|
|
29364
29378
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -29394,7 +29408,7 @@ var ImportManager = class {
|
|
|
29394
29408
|
}
|
|
29395
29409
|
};
|
|
29396
29410
|
|
|
29397
|
-
// bazel-out/
|
|
29411
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
29398
29412
|
var UNARY_OPERATORS2 = /* @__PURE__ */ new Map([
|
|
29399
29413
|
[UnaryOperator.Minus, "-"],
|
|
29400
29414
|
[UnaryOperator.Plus, "+"]
|
|
@@ -29628,7 +29642,7 @@ function createRange(span) {
|
|
|
29628
29642
|
};
|
|
29629
29643
|
}
|
|
29630
29644
|
|
|
29631
|
-
// bazel-out/
|
|
29645
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
29632
29646
|
var import_typescript42 = __toESM(require("typescript"), 1);
|
|
29633
29647
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
29634
29648
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
@@ -29847,7 +29861,7 @@ var TypeTranslatorVisitor = class {
|
|
|
29847
29861
|
}
|
|
29848
29862
|
};
|
|
29849
29863
|
|
|
29850
|
-
// bazel-out/
|
|
29864
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
29851
29865
|
var import_typescript43 = __toESM(require("typescript"), 1);
|
|
29852
29866
|
var PureAnnotation;
|
|
29853
29867
|
(function(PureAnnotation2) {
|
|
@@ -30037,7 +30051,7 @@ function attachComments(statement, leadingComments) {
|
|
|
30037
30051
|
}
|
|
30038
30052
|
}
|
|
30039
30053
|
|
|
30040
|
-
// bazel-out/
|
|
30054
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
30041
30055
|
function translateExpression(expression, imports, options = {}) {
|
|
30042
30056
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
30043
30057
|
}
|
|
@@ -30045,7 +30059,7 @@ function translateStatement(statement, imports, options = {}) {
|
|
|
30045
30059
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
|
|
30046
30060
|
}
|
|
30047
30061
|
|
|
30048
|
-
// bazel-out/
|
|
30062
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
30049
30063
|
var import_typescript44 = __toESM(require("typescript"), 1);
|
|
30050
30064
|
function addImports(importManager, sf, extraStatements = []) {
|
|
30051
30065
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -30081,7 +30095,7 @@ function isImportStatement(stmt) {
|
|
|
30081
30095
|
return import_typescript44.default.isImportDeclaration(stmt) || import_typescript44.default.isImportEqualsDeclaration(stmt) || import_typescript44.default.isNamespaceImport(stmt);
|
|
30082
30096
|
}
|
|
30083
30097
|
|
|
30084
|
-
// bazel-out/
|
|
30098
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
30085
30099
|
var DtsTransformRegistry = class {
|
|
30086
30100
|
constructor() {
|
|
30087
30101
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -30228,10 +30242,10 @@ function markForEmitAsSingleLine(node) {
|
|
|
30228
30242
|
import_typescript45.default.forEachChild(node, markForEmitAsSingleLine);
|
|
30229
30243
|
}
|
|
30230
30244
|
|
|
30231
|
-
// bazel-out/
|
|
30245
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
30232
30246
|
var import_typescript47 = __toESM(require("typescript"), 1);
|
|
30233
30247
|
|
|
30234
|
-
// bazel-out/
|
|
30248
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
30235
30249
|
var import_typescript46 = __toESM(require("typescript"), 1);
|
|
30236
30250
|
function visit(node, visitor, context) {
|
|
30237
30251
|
return visitor._visit(node, context);
|
|
@@ -30256,13 +30270,13 @@ var Visitor = class {
|
|
|
30256
30270
|
}
|
|
30257
30271
|
_visit(node, context) {
|
|
30258
30272
|
let visitedNode = null;
|
|
30259
|
-
node = import_typescript46.default.visitEachChild(node, (child) => this._visit(child, context), context);
|
|
30273
|
+
node = import_typescript46.default.visitEachChild(node, (child) => child && this._visit(child, context), context);
|
|
30260
30274
|
if (import_typescript46.default.isClassDeclaration(node)) {
|
|
30261
30275
|
visitedNode = this._visitListEntryNode(node, (node2) => this.visitClassDeclaration(node2));
|
|
30262
30276
|
} else {
|
|
30263
30277
|
visitedNode = this.visitOtherNode(node);
|
|
30264
30278
|
}
|
|
30265
|
-
if (import_typescript46.default.isBlock(visitedNode) || import_typescript46.default.isSourceFile(visitedNode)) {
|
|
30279
|
+
if (visitedNode && (import_typescript46.default.isBlock(visitedNode) || import_typescript46.default.isSourceFile(visitedNode))) {
|
|
30266
30280
|
visitedNode = this._maybeProcessStatements(visitedNode);
|
|
30267
30281
|
}
|
|
30268
30282
|
return visitedNode;
|
|
@@ -30292,7 +30306,7 @@ var Visitor = class {
|
|
|
30292
30306
|
}
|
|
30293
30307
|
};
|
|
30294
30308
|
|
|
30295
|
-
// bazel-out/
|
|
30309
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
30296
30310
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
30297
30311
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
30298
30312
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -30309,17 +30323,23 @@ var IvyCompilationVisitor = class extends Visitor {
|
|
|
30309
30323
|
this.compilation = compilation;
|
|
30310
30324
|
this.constantPool = constantPool;
|
|
30311
30325
|
this.classCompilationMap = /* @__PURE__ */ new Map();
|
|
30326
|
+
this.deferrableImports = /* @__PURE__ */ new Set();
|
|
30312
30327
|
}
|
|
30313
30328
|
visitClassDeclaration(node) {
|
|
30314
30329
|
const result = this.compilation.compile(node, this.constantPool);
|
|
30315
30330
|
if (result !== null) {
|
|
30316
30331
|
this.classCompilationMap.set(node, result);
|
|
30332
|
+
for (const classResult of result) {
|
|
30333
|
+
if (classResult.deferrableImports !== null && classResult.deferrableImports.size > 0) {
|
|
30334
|
+
classResult.deferrableImports.forEach((importDecl) => this.deferrableImports.add(importDecl));
|
|
30335
|
+
}
|
|
30336
|
+
}
|
|
30317
30337
|
}
|
|
30318
30338
|
return { node };
|
|
30319
30339
|
}
|
|
30320
30340
|
};
|
|
30321
30341
|
var IvyTransformationVisitor = class extends Visitor {
|
|
30322
|
-
constructor(compilation, classCompilationMap, reflector, importManager, recordWrappedNodeExpr, isClosureCompilerEnabled, isCore) {
|
|
30342
|
+
constructor(compilation, classCompilationMap, reflector, importManager, recordWrappedNodeExpr, isClosureCompilerEnabled, isCore, deferrableImports) {
|
|
30323
30343
|
super();
|
|
30324
30344
|
this.compilation = compilation;
|
|
30325
30345
|
this.classCompilationMap = classCompilationMap;
|
|
@@ -30328,6 +30348,7 @@ var IvyTransformationVisitor = class extends Visitor {
|
|
|
30328
30348
|
this.recordWrappedNodeExpr = recordWrappedNodeExpr;
|
|
30329
30349
|
this.isClosureCompilerEnabled = isClosureCompilerEnabled;
|
|
30330
30350
|
this.isCore = isCore;
|
|
30351
|
+
this.deferrableImports = deferrableImports;
|
|
30331
30352
|
}
|
|
30332
30353
|
visitClassDeclaration(node) {
|
|
30333
30354
|
if (!this.classCompilationMap.has(node)) {
|
|
@@ -30372,6 +30393,12 @@ var IvyTransformationVisitor = class extends Visitor {
|
|
|
30372
30393
|
);
|
|
30373
30394
|
return { node, after: statements };
|
|
30374
30395
|
}
|
|
30396
|
+
visitOtherNode(node) {
|
|
30397
|
+
if (import_typescript47.default.isImportDeclaration(node) && this.deferrableImports.has(node)) {
|
|
30398
|
+
return null;
|
|
30399
|
+
}
|
|
30400
|
+
return node;
|
|
30401
|
+
}
|
|
30375
30402
|
_angularCoreDecorators(decl) {
|
|
30376
30403
|
const decorators = this.reflector.getDecoratorsOfDeclaration(decl);
|
|
30377
30404
|
if (decorators === null) {
|
|
@@ -30427,7 +30454,7 @@ function transformIvySourceFile(compilation, context, reflector, importRewriter,
|
|
|
30427
30454
|
const importManager = new ImportManager(importRewriter);
|
|
30428
30455
|
const compilationVisitor = new IvyCompilationVisitor(compilation, constantPool);
|
|
30429
30456
|
visit(file, compilationVisitor, context);
|
|
30430
|
-
const transformationVisitor = new IvyTransformationVisitor(compilation, compilationVisitor.classCompilationMap, reflector, importManager, recordWrappedNode, isClosureCompilerEnabled, isCore);
|
|
30457
|
+
const transformationVisitor = new IvyTransformationVisitor(compilation, compilationVisitor.classCompilationMap, reflector, importManager, recordWrappedNode, isClosureCompilerEnabled, isCore, compilationVisitor.deferrableImports);
|
|
30431
30458
|
let sf = visit(file, transformationVisitor, context);
|
|
30432
30459
|
const downlevelTranslatedCode = getLocalizeCompileTarget(context) < import_typescript47.default.ScriptTarget.ES2015;
|
|
30433
30460
|
const constants = constantPool.statements.map((stmt) => translateStatement(stmt, importManager, {
|
|
@@ -30503,7 +30530,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
30503
30530
|
return array;
|
|
30504
30531
|
}
|
|
30505
30532
|
|
|
30506
|
-
// bazel-out/
|
|
30533
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
30507
30534
|
var import_typescript48 = __toESM(require("typescript"), 1);
|
|
30508
30535
|
var EMPTY_OBJECT = {};
|
|
30509
30536
|
var QUERY_TYPES = /* @__PURE__ */ new Set([
|
|
@@ -31066,7 +31093,7 @@ function toR3InputMetadata(mapping) {
|
|
|
31066
31093
|
};
|
|
31067
31094
|
}
|
|
31068
31095
|
|
|
31069
|
-
// bazel-out/
|
|
31096
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
31070
31097
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
31071
31098
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
31072
31099
|
super(decl);
|
|
@@ -31146,7 +31173,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
31146
31173
|
return isSymbolEqual(current, previous);
|
|
31147
31174
|
}
|
|
31148
31175
|
|
|
31149
|
-
// bazel-out/
|
|
31176
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
31150
31177
|
var FIELD_DECORATORS = [
|
|
31151
31178
|
"Input",
|
|
31152
31179
|
"Output",
|
|
@@ -31288,21 +31315,21 @@ var DirectiveDecoratorHandler = class {
|
|
|
31288
31315
|
const def = compileDirectiveFromMetadata(analysis.meta, pool, makeBindingParser());
|
|
31289
31316
|
const inputTransformFields = compileInputTransformFields(analysis.inputs);
|
|
31290
31317
|
const classMetadata = analysis.classMetadata !== null ? compileClassMetadata(analysis.classMetadata).toStmt() : null;
|
|
31291
|
-
return compileResults(fac, def, classMetadata, "\u0275dir", inputTransformFields);
|
|
31318
|
+
return compileResults(fac, def, classMetadata, "\u0275dir", inputTransformFields, null);
|
|
31292
31319
|
}
|
|
31293
31320
|
compilePartial(node, analysis, resolution) {
|
|
31294
31321
|
const fac = compileDeclareFactory(toFactoryMetadata(analysis.meta, FactoryTarget.Directive));
|
|
31295
31322
|
const def = compileDeclareDirectiveFromMetadata(analysis.meta);
|
|
31296
31323
|
const inputTransformFields = compileInputTransformFields(analysis.inputs);
|
|
31297
31324
|
const classMetadata = analysis.classMetadata !== null ? compileDeclareClassMetadata(analysis.classMetadata).toStmt() : null;
|
|
31298
|
-
return compileResults(fac, def, classMetadata, "\u0275dir", inputTransformFields);
|
|
31325
|
+
return compileResults(fac, def, classMetadata, "\u0275dir", inputTransformFields, null);
|
|
31299
31326
|
}
|
|
31300
31327
|
compileLocal(node, analysis, pool) {
|
|
31301
31328
|
const fac = compileNgFactoryDefField(toFactoryMetadata(analysis.meta, FactoryTarget.Directive));
|
|
31302
31329
|
const def = compileDirectiveFromMetadata(analysis.meta, pool, makeBindingParser());
|
|
31303
31330
|
const inputTransformFields = compileInputTransformFields(analysis.inputs);
|
|
31304
31331
|
const classMetadata = analysis.classMetadata !== null ? compileClassMetadata(analysis.classMetadata).toStmt() : null;
|
|
31305
|
-
return compileResults(fac, def, classMetadata, "\u0275dir", inputTransformFields);
|
|
31332
|
+
return compileResults(fac, def, classMetadata, "\u0275dir", inputTransformFields, null);
|
|
31306
31333
|
}
|
|
31307
31334
|
findClassFieldWithAngularFeatures(node) {
|
|
31308
31335
|
return this.reflector.getMembersOfClass(node).find((member) => {
|
|
@@ -31317,10 +31344,10 @@ var DirectiveDecoratorHandler = class {
|
|
|
31317
31344
|
}
|
|
31318
31345
|
};
|
|
31319
31346
|
|
|
31320
|
-
// bazel-out/
|
|
31347
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
31321
31348
|
var import_typescript50 = __toESM(require("typescript"), 1);
|
|
31322
31349
|
|
|
31323
|
-
// bazel-out/
|
|
31350
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
31324
31351
|
var import_typescript49 = __toESM(require("typescript"), 1);
|
|
31325
31352
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
31326
31353
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -31387,7 +31414,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
31387
31414
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
31388
31415
|
}
|
|
31389
31416
|
|
|
31390
|
-
// bazel-out/
|
|
31417
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
31391
31418
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
31392
31419
|
constructor(decl, hasProviders) {
|
|
31393
31420
|
super(decl);
|
|
@@ -31864,13 +31891,15 @@ var NgModuleDecoratorHandler = class {
|
|
|
31864
31891
|
name: "\u0275mod",
|
|
31865
31892
|
initializer: ngModuleDef.expression,
|
|
31866
31893
|
statements: ngModuleDef.statements,
|
|
31867
|
-
type: ngModuleDef.type
|
|
31894
|
+
type: ngModuleDef.type,
|
|
31895
|
+
deferrableImports: null
|
|
31868
31896
|
},
|
|
31869
31897
|
{
|
|
31870
31898
|
name: "\u0275inj",
|
|
31871
31899
|
initializer: injectorDef.expression,
|
|
31872
31900
|
statements: injectorDef.statements,
|
|
31873
|
-
type: injectorDef.type
|
|
31901
|
+
type: injectorDef.type,
|
|
31902
|
+
deferrableImports: null
|
|
31874
31903
|
}
|
|
31875
31904
|
];
|
|
31876
31905
|
return res;
|
|
@@ -31937,7 +31966,7 @@ function isSyntheticReference(ref) {
|
|
|
31937
31966
|
return ref.synthetic;
|
|
31938
31967
|
}
|
|
31939
31968
|
|
|
31940
|
-
// bazel-out/
|
|
31969
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
31941
31970
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
31942
31971
|
const name = ref.debugName || "(unknown)";
|
|
31943
31972
|
const path3 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -31960,7 +31989,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
31960
31989
|
return null;
|
|
31961
31990
|
}
|
|
31962
31991
|
|
|
31963
|
-
// bazel-out/
|
|
31992
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
31964
31993
|
var import_typescript52 = __toESM(require("typescript"), 1);
|
|
31965
31994
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
31966
31995
|
return declaration.isInline ? declaration.expression : declaration.templateUrlExpression;
|
|
@@ -32271,7 +32300,7 @@ function _extractTemplateStyleUrls(template2) {
|
|
|
32271
32300
|
return template2.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
|
|
32272
32301
|
}
|
|
32273
32302
|
|
|
32274
|
-
// bazel-out/
|
|
32303
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
32275
32304
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
32276
32305
|
constructor() {
|
|
32277
32306
|
super(...arguments);
|
|
@@ -32306,7 +32335,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
32306
32335
|
}
|
|
32307
32336
|
};
|
|
32308
32337
|
|
|
32309
|
-
// bazel-out/
|
|
32338
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
32310
32339
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
32311
32340
|
if (value instanceof Map) {
|
|
32312
32341
|
const name = value.get("name");
|
|
@@ -32382,7 +32411,7 @@ function isLikelyModuleWithProviders(value) {
|
|
|
32382
32411
|
return false;
|
|
32383
32412
|
}
|
|
32384
32413
|
|
|
32385
|
-
// bazel-out/
|
|
32414
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
32386
32415
|
var EMPTY_ARRAY2 = [];
|
|
32387
32416
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
32388
32417
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
@@ -33009,7 +33038,8 @@ var ComponentDecoratorHandler = class {
|
|
|
33009
33038
|
const def = compileComponentFromMetadata(meta, pool, makeBindingParser());
|
|
33010
33039
|
const inputTransformFields = compileInputTransformFields(analysis.inputs);
|
|
33011
33040
|
const classMetadata = analysis.classMetadata !== null ? compileClassMetadata(analysis.classMetadata).toStmt() : null;
|
|
33012
|
-
|
|
33041
|
+
const deferrableImports = this.deferredSymbolTracker.getDeferrableImportDecls();
|
|
33042
|
+
return compileResults(fac, def, classMetadata, "\u0275cmp", inputTransformFields, deferrableImports);
|
|
33013
33043
|
}
|
|
33014
33044
|
compilePartial(node, analysis, resolution) {
|
|
33015
33045
|
if (analysis.template.errors !== null && analysis.template.errors.length > 0) {
|
|
@@ -33026,7 +33056,7 @@ var ComponentDecoratorHandler = class {
|
|
|
33026
33056
|
const inputTransformFields = compileInputTransformFields(analysis.inputs);
|
|
33027
33057
|
const def = compileDeclareComponentFromMetadata(meta, analysis.template, templateInfo);
|
|
33028
33058
|
const classMetadata = analysis.classMetadata !== null ? compileDeclareClassMetadata(analysis.classMetadata).toStmt() : null;
|
|
33029
|
-
return compileResults(fac, def, classMetadata, "\u0275cmp", inputTransformFields);
|
|
33059
|
+
return compileResults(fac, def, classMetadata, "\u0275cmp", inputTransformFields, null);
|
|
33030
33060
|
}
|
|
33031
33061
|
compileLocal(node, analysis, pool) {
|
|
33032
33062
|
if (analysis.template.errors !== null && analysis.template.errors.length > 0) {
|
|
@@ -33042,7 +33072,7 @@ var ComponentDecoratorHandler = class {
|
|
|
33042
33072
|
const def = compileComponentFromMetadata(meta, pool, makeBindingParser());
|
|
33043
33073
|
const inputTransformFields = compileInputTransformFields(analysis.inputs);
|
|
33044
33074
|
const classMetadata = analysis.classMetadata !== null ? compileClassMetadata(analysis.classMetadata).toStmt() : null;
|
|
33045
|
-
return compileResults(fac, def, classMetadata, "\u0275cmp", inputTransformFields);
|
|
33075
|
+
return compileResults(fac, def, classMetadata, "\u0275cmp", inputTransformFields, null);
|
|
33046
33076
|
}
|
|
33047
33077
|
_checkForCyclicImport(importedFile, expr, origin) {
|
|
33048
33078
|
const imported = resolveImportedFile(this.moduleResolver, importedFile, expr, origin);
|
|
@@ -33150,7 +33180,7 @@ function validateStandaloneImports(importRefs, importExpr2, metaReader, scopeRea
|
|
|
33150
33180
|
return diagnostics;
|
|
33151
33181
|
}
|
|
33152
33182
|
|
|
33153
|
-
// bazel-out/
|
|
33183
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
33154
33184
|
var import_typescript55 = __toESM(require("typescript"), 1);
|
|
33155
33185
|
var InjectableDecoratorHandler = class {
|
|
33156
33186
|
constructor(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, perf, includeClassMetadata, errorOnDuplicateProv = true) {
|
|
@@ -33237,7 +33267,13 @@ var InjectableDecoratorHandler = class {
|
|
|
33237
33267
|
}
|
|
33238
33268
|
if (\u0275prov === void 0) {
|
|
33239
33269
|
const res = compileInjectableFn(analysis.meta);
|
|
33240
|
-
results.push({
|
|
33270
|
+
results.push({
|
|
33271
|
+
name: "\u0275prov",
|
|
33272
|
+
initializer: res.expression,
|
|
33273
|
+
statements: res.statements,
|
|
33274
|
+
type: res.type,
|
|
33275
|
+
deferrableImports: null
|
|
33276
|
+
});
|
|
33241
33277
|
}
|
|
33242
33278
|
return results;
|
|
33243
33279
|
}
|
|
@@ -33368,7 +33404,7 @@ function getDep(dep, reflector) {
|
|
|
33368
33404
|
return meta;
|
|
33369
33405
|
}
|
|
33370
33406
|
|
|
33371
|
-
// bazel-out/
|
|
33407
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
33372
33408
|
var import_typescript56 = __toESM(require("typescript"), 1);
|
|
33373
33409
|
var PipeSymbol = class extends SemanticSymbol {
|
|
33374
33410
|
constructor(decl, name) {
|
|
@@ -33502,23 +33538,23 @@ var PipeDecoratorHandler = class {
|
|
|
33502
33538
|
const fac = compileNgFactoryDefField(toFactoryMetadata(analysis.meta, FactoryTarget.Pipe));
|
|
33503
33539
|
const def = compilePipeFromMetadata(analysis.meta);
|
|
33504
33540
|
const classMetadata = analysis.classMetadata !== null ? compileClassMetadata(analysis.classMetadata).toStmt() : null;
|
|
33505
|
-
return compileResults(fac, def, classMetadata, "\u0275pipe", null);
|
|
33541
|
+
return compileResults(fac, def, classMetadata, "\u0275pipe", null, null);
|
|
33506
33542
|
}
|
|
33507
33543
|
compilePartial(node, analysis) {
|
|
33508
33544
|
const fac = compileDeclareFactory(toFactoryMetadata(analysis.meta, FactoryTarget.Pipe));
|
|
33509
33545
|
const def = compileDeclarePipeFromMetadata(analysis.meta);
|
|
33510
33546
|
const classMetadata = analysis.classMetadata !== null ? compileDeclareClassMetadata(analysis.classMetadata).toStmt() : null;
|
|
33511
|
-
return compileResults(fac, def, classMetadata, "\u0275pipe", null);
|
|
33547
|
+
return compileResults(fac, def, classMetadata, "\u0275pipe", null, null);
|
|
33512
33548
|
}
|
|
33513
33549
|
compileLocal(node, analysis) {
|
|
33514
33550
|
const fac = compileNgFactoryDefField(toFactoryMetadata(analysis.meta, FactoryTarget.Pipe));
|
|
33515
33551
|
const def = compilePipeFromMetadata(analysis.meta);
|
|
33516
33552
|
const classMetadata = analysis.classMetadata !== null ? compileClassMetadata(analysis.classMetadata).toStmt() : null;
|
|
33517
|
-
return compileResults(fac, def, classMetadata, "\u0275pipe", null);
|
|
33553
|
+
return compileResults(fac, def, classMetadata, "\u0275pipe", null, null);
|
|
33518
33554
|
}
|
|
33519
33555
|
};
|
|
33520
33556
|
|
|
33521
|
-
// bazel-out/
|
|
33557
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
33522
33558
|
var CycleAnalyzer = class {
|
|
33523
33559
|
constructor(importGraph) {
|
|
33524
33560
|
this.importGraph = importGraph;
|
|
@@ -33589,7 +33625,7 @@ var Cycle = class {
|
|
|
33589
33625
|
}
|
|
33590
33626
|
};
|
|
33591
33627
|
|
|
33592
|
-
// bazel-out/
|
|
33628
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
33593
33629
|
var import_typescript57 = __toESM(require("typescript"), 1);
|
|
33594
33630
|
var ImportGraph = class {
|
|
33595
33631
|
constructor(checker, perf) {
|
|
@@ -33681,7 +33717,7 @@ var Found = class {
|
|
|
33681
33717
|
}
|
|
33682
33718
|
};
|
|
33683
33719
|
|
|
33684
|
-
// bazel-out/
|
|
33720
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
33685
33721
|
var import_typescript58 = __toESM(require("typescript"), 1);
|
|
33686
33722
|
var FlatIndexGenerator = class {
|
|
33687
33723
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -33706,7 +33742,7 @@ export * from '${relativeEntryPoint}';
|
|
|
33706
33742
|
}
|
|
33707
33743
|
};
|
|
33708
33744
|
|
|
33709
|
-
// bazel-out/
|
|
33745
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
33710
33746
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
33711
33747
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
33712
33748
|
let resolvedEntryPoint = null;
|
|
@@ -33722,7 +33758,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
33722
33758
|
return resolvedEntryPoint;
|
|
33723
33759
|
}
|
|
33724
33760
|
|
|
33725
|
-
// bazel-out/
|
|
33761
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
33726
33762
|
var import_typescript60 = __toESM(require("typescript"), 1);
|
|
33727
33763
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
33728
33764
|
const diagnostics = [];
|
|
@@ -33802,7 +33838,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
33802
33838
|
}
|
|
33803
33839
|
}
|
|
33804
33840
|
|
|
33805
|
-
// bazel-out/
|
|
33841
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
33806
33842
|
var ReferenceGraph = class {
|
|
33807
33843
|
constructor() {
|
|
33808
33844
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -33856,7 +33892,7 @@ var ReferenceGraph = class {
|
|
|
33856
33892
|
}
|
|
33857
33893
|
};
|
|
33858
33894
|
|
|
33859
|
-
// bazel-out/
|
|
33895
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
33860
33896
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
33861
33897
|
var UpdateMode;
|
|
33862
33898
|
(function(UpdateMode2) {
|
|
@@ -33864,13 +33900,13 @@ var UpdateMode;
|
|
|
33864
33900
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
33865
33901
|
})(UpdateMode || (UpdateMode = {}));
|
|
33866
33902
|
|
|
33867
|
-
// bazel-out/
|
|
33903
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
33868
33904
|
var import_typescript64 = __toESM(require("typescript"), 1);
|
|
33869
33905
|
|
|
33870
|
-
// bazel-out/
|
|
33906
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
33871
33907
|
var import_typescript61 = __toESM(require("typescript"), 1);
|
|
33872
33908
|
|
|
33873
|
-
// bazel-out/
|
|
33909
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
33874
33910
|
var NgExtension = Symbol("NgExtension");
|
|
33875
33911
|
function isExtended(sf) {
|
|
33876
33912
|
return sf[NgExtension] !== void 0;
|
|
@@ -33930,13 +33966,13 @@ function retagTsFile(sf) {
|
|
|
33930
33966
|
}
|
|
33931
33967
|
}
|
|
33932
33968
|
|
|
33933
|
-
// bazel-out/
|
|
33969
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
33934
33970
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
33935
33971
|
function makeShimFileName(fileName, suffix) {
|
|
33936
33972
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
33937
33973
|
}
|
|
33938
33974
|
|
|
33939
|
-
// bazel-out/
|
|
33975
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
33940
33976
|
var ShimAdapter = class {
|
|
33941
33977
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
33942
33978
|
this.delegate = delegate;
|
|
@@ -34031,7 +34067,7 @@ var ShimAdapter = class {
|
|
|
34031
34067
|
}
|
|
34032
34068
|
};
|
|
34033
34069
|
|
|
34034
|
-
// bazel-out/
|
|
34070
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
34035
34071
|
var ShimReferenceTagger = class {
|
|
34036
34072
|
constructor(shimExtensions) {
|
|
34037
34073
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -34065,7 +34101,7 @@ var ShimReferenceTagger = class {
|
|
|
34065
34101
|
}
|
|
34066
34102
|
};
|
|
34067
34103
|
|
|
34068
|
-
// bazel-out/
|
|
34104
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
34069
34105
|
var DelegatingCompilerHost = class {
|
|
34070
34106
|
constructor(delegate) {
|
|
34071
34107
|
this.delegate = delegate;
|
|
@@ -34178,7 +34214,7 @@ var TsCreateProgramDriver = class {
|
|
|
34178
34214
|
}
|
|
34179
34215
|
};
|
|
34180
34216
|
|
|
34181
|
-
// bazel-out/
|
|
34217
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
34182
34218
|
var FileDependencyGraph = class {
|
|
34183
34219
|
constructor() {
|
|
34184
34220
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -34245,7 +34281,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
34245
34281
|
return false;
|
|
34246
34282
|
}
|
|
34247
34283
|
|
|
34248
|
-
// bazel-out/
|
|
34284
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
34249
34285
|
var IncrementalStateKind;
|
|
34250
34286
|
(function(IncrementalStateKind2) {
|
|
34251
34287
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -34253,7 +34289,7 @@ var IncrementalStateKind;
|
|
|
34253
34289
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
34254
34290
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
34255
34291
|
|
|
34256
|
-
// bazel-out/
|
|
34292
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
34257
34293
|
var PhaseKind;
|
|
34258
34294
|
(function(PhaseKind2) {
|
|
34259
34295
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -34454,7 +34490,7 @@ function toOriginalSourceFile(sf) {
|
|
|
34454
34490
|
}
|
|
34455
34491
|
}
|
|
34456
34492
|
|
|
34457
|
-
// bazel-out/
|
|
34493
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
34458
34494
|
var TrackedIncrementalBuildStrategy = class {
|
|
34459
34495
|
constructor() {
|
|
34460
34496
|
this.state = null;
|
|
@@ -34475,7 +34511,7 @@ var TrackedIncrementalBuildStrategy = class {
|
|
|
34475
34511
|
};
|
|
34476
34512
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
34477
34513
|
|
|
34478
|
-
// bazel-out/
|
|
34514
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
34479
34515
|
var IdentifierKind;
|
|
34480
34516
|
(function(IdentifierKind2) {
|
|
34481
34517
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -34493,7 +34529,7 @@ var AbsoluteSourceSpan2 = class {
|
|
|
34493
34529
|
}
|
|
34494
34530
|
};
|
|
34495
34531
|
|
|
34496
|
-
// bazel-out/
|
|
34532
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
34497
34533
|
var IndexingContext = class {
|
|
34498
34534
|
constructor() {
|
|
34499
34535
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -34503,7 +34539,7 @@ var IndexingContext = class {
|
|
|
34503
34539
|
}
|
|
34504
34540
|
};
|
|
34505
34541
|
|
|
34506
|
-
// bazel-out/
|
|
34542
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
34507
34543
|
var ExpressionVisitor = class extends RecursiveAstVisitor2 {
|
|
34508
34544
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
34509
34545
|
super();
|
|
@@ -34755,7 +34791,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
34755
34791
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
34756
34792
|
}
|
|
34757
34793
|
|
|
34758
|
-
// bazel-out/
|
|
34794
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
34759
34795
|
function generateAnalysis(context) {
|
|
34760
34796
|
const analysis = /* @__PURE__ */ new Map();
|
|
34761
34797
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -34791,7 +34827,7 @@ function generateAnalysis(context) {
|
|
|
34791
34827
|
return analysis;
|
|
34792
34828
|
}
|
|
34793
34829
|
|
|
34794
|
-
// bazel-out/
|
|
34830
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
34795
34831
|
var NgModuleIndexImpl = class {
|
|
34796
34832
|
constructor(metaReader, localReader) {
|
|
34797
34833
|
this.metaReader = metaReader;
|
|
@@ -34880,7 +34916,7 @@ var NgModuleIndexImpl = class {
|
|
|
34880
34916
|
}
|
|
34881
34917
|
};
|
|
34882
34918
|
|
|
34883
|
-
// bazel-out/
|
|
34919
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
34884
34920
|
var import_typescript67 = __toESM(require("typescript"), 1);
|
|
34885
34921
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
34886
34922
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -35028,7 +35064,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
35028
35064
|
};
|
|
35029
35065
|
}
|
|
35030
35066
|
|
|
35031
|
-
// bazel-out/
|
|
35067
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
35032
35068
|
var StandaloneComponentScopeReader = class {
|
|
35033
35069
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
35034
35070
|
this.metaReader = metaReader;
|
|
@@ -35106,21 +35142,21 @@ var StandaloneComponentScopeReader = class {
|
|
|
35106
35142
|
}
|
|
35107
35143
|
};
|
|
35108
35144
|
|
|
35109
|
-
// bazel-out/
|
|
35145
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
35110
35146
|
var OptimizeFor;
|
|
35111
35147
|
(function(OptimizeFor2) {
|
|
35112
35148
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
35113
35149
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
35114
35150
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
35115
35151
|
|
|
35116
|
-
// bazel-out/
|
|
35152
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
35117
35153
|
var CompletionKind;
|
|
35118
35154
|
(function(CompletionKind2) {
|
|
35119
35155
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
35120
35156
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
35121
35157
|
})(CompletionKind || (CompletionKind = {}));
|
|
35122
35158
|
|
|
35123
|
-
// bazel-out/
|
|
35159
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
35124
35160
|
var PotentialImportKind;
|
|
35125
35161
|
(function(PotentialImportKind2) {
|
|
35126
35162
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -35132,7 +35168,7 @@ var PotentialImportMode;
|
|
|
35132
35168
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
35133
35169
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
35134
35170
|
|
|
35135
|
-
// bazel-out/
|
|
35171
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
35136
35172
|
var SymbolKind;
|
|
35137
35173
|
(function(SymbolKind2) {
|
|
35138
35174
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -35148,7 +35184,7 @@ var SymbolKind;
|
|
|
35148
35184
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
35149
35185
|
})(SymbolKind || (SymbolKind = {}));
|
|
35150
35186
|
|
|
35151
|
-
// bazel-out/
|
|
35187
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
35152
35188
|
var import_typescript68 = __toESM(require("typescript"), 1);
|
|
35153
35189
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
35154
35190
|
var _a2;
|
|
@@ -35255,7 +35291,7 @@ function parseTemplateAsSourceFile(fileName, template2) {
|
|
|
35255
35291
|
return import_typescript68.default.createSourceFile(fileName, template2, import_typescript68.default.ScriptTarget.Latest, false, import_typescript68.default.ScriptKind.JSX);
|
|
35256
35292
|
}
|
|
35257
35293
|
|
|
35258
|
-
// bazel-out/
|
|
35294
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
35259
35295
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
35260
35296
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
35261
35297
|
function getTemplateId(clazz) {
|
|
@@ -35272,10 +35308,10 @@ function allocateTemplateId(sf) {
|
|
|
35272
35308
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
35273
35309
|
}
|
|
35274
35310
|
|
|
35275
|
-
// bazel-out/
|
|
35311
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
35276
35312
|
var import_typescript70 = __toESM(require("typescript"), 1);
|
|
35277
35313
|
|
|
35278
|
-
// bazel-out/
|
|
35314
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
35279
35315
|
var import_typescript69 = __toESM(require("typescript"), 1);
|
|
35280
35316
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
35281
35317
|
function readSpanComment(node, sourceFile = node.getSourceFile()) {
|
|
@@ -35404,7 +35440,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
35404
35440
|
}) || false;
|
|
35405
35441
|
}
|
|
35406
35442
|
|
|
35407
|
-
// bazel-out/
|
|
35443
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
35408
35444
|
var CompletionEngine = class {
|
|
35409
35445
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
35410
35446
|
this.tcb = tcb;
|
|
@@ -35561,10 +35597,10 @@ var CompletionEngine = class {
|
|
|
35561
35597
|
}
|
|
35562
35598
|
};
|
|
35563
35599
|
|
|
35564
|
-
// bazel-out/
|
|
35600
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
35565
35601
|
var import_typescript85 = __toESM(require("typescript"), 1);
|
|
35566
35602
|
|
|
35567
|
-
// bazel-out/
|
|
35603
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
35568
35604
|
var import_typescript71 = __toESM(require("typescript"), 1);
|
|
35569
35605
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
35570
35606
|
var REMOVE_XHTML_REGEX = /^:xhtml:/;
|
|
@@ -35616,10 +35652,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
35616
35652
|
}
|
|
35617
35653
|
};
|
|
35618
35654
|
|
|
35619
|
-
// bazel-out/
|
|
35655
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
35620
35656
|
var import_typescript78 = __toESM(require("typescript"), 1);
|
|
35621
35657
|
|
|
35622
|
-
// bazel-out/
|
|
35658
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
35623
35659
|
var import_typescript72 = __toESM(require("typescript"), 1);
|
|
35624
35660
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
35625
35661
|
import_typescript72.default.SyntaxKind.ParenthesizedExpression,
|
|
@@ -35693,16 +35729,16 @@ function isAccessExpression2(node) {
|
|
|
35693
35729
|
return import_typescript72.default.isPropertyAccessExpression(node) || import_typescript72.default.isElementAccessExpression(node);
|
|
35694
35730
|
}
|
|
35695
35731
|
|
|
35696
|
-
// bazel-out/
|
|
35732
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
35697
35733
|
var import_typescript77 = __toESM(require("typescript"), 1);
|
|
35698
35734
|
|
|
35699
|
-
// bazel-out/
|
|
35735
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
35700
35736
|
var import_typescript75 = __toESM(require("typescript"), 1);
|
|
35701
35737
|
|
|
35702
|
-
// bazel-out/
|
|
35738
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
35703
35739
|
var import_typescript74 = __toESM(require("typescript"), 1);
|
|
35704
35740
|
|
|
35705
|
-
// bazel-out/
|
|
35741
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
35706
35742
|
var import_typescript73 = __toESM(require("typescript"), 1);
|
|
35707
35743
|
var INELIGIBLE = {};
|
|
35708
35744
|
function canEmitType(type, canEmit) {
|
|
@@ -35777,7 +35813,7 @@ var TypeEmitter = class {
|
|
|
35777
35813
|
}
|
|
35778
35814
|
};
|
|
35779
35815
|
|
|
35780
|
-
// bazel-out/
|
|
35816
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
35781
35817
|
var TypeParameterEmitter = class {
|
|
35782
35818
|
constructor(typeParameters, reflector) {
|
|
35783
35819
|
this.typeParameters = typeParameters;
|
|
@@ -35854,7 +35890,7 @@ var TypeParameterEmitter = class {
|
|
|
35854
35890
|
}
|
|
35855
35891
|
};
|
|
35856
35892
|
|
|
35857
|
-
// bazel-out/
|
|
35893
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
35858
35894
|
var TcbInliningRequirement;
|
|
35859
35895
|
(function(TcbInliningRequirement2) {
|
|
35860
35896
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -35934,7 +35970,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
35934
35970
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
35935
35971
|
}
|
|
35936
35972
|
|
|
35937
|
-
// bazel-out/
|
|
35973
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
35938
35974
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
35939
35975
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
35940
35976
|
const rawType = import_typescript77.default.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -36045,7 +36081,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
36045
36081
|
});
|
|
36046
36082
|
}
|
|
36047
36083
|
|
|
36048
|
-
// bazel-out/
|
|
36084
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
36049
36085
|
var Environment = class {
|
|
36050
36086
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
36051
36087
|
this.config = config;
|
|
@@ -36139,7 +36175,7 @@ var Environment = class {
|
|
|
36139
36175
|
}
|
|
36140
36176
|
};
|
|
36141
36177
|
|
|
36142
|
-
// bazel-out/
|
|
36178
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
36143
36179
|
var import_typescript79 = __toESM(require("typescript"), 1);
|
|
36144
36180
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
36145
36181
|
constructor(resolver) {
|
|
@@ -36274,7 +36310,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
36274
36310
|
});
|
|
36275
36311
|
}
|
|
36276
36312
|
|
|
36277
|
-
// bazel-out/
|
|
36313
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
36278
36314
|
var import_typescript80 = __toESM(require("typescript"), 1);
|
|
36279
36315
|
var TypeCheckShimGenerator = class {
|
|
36280
36316
|
constructor() {
|
|
@@ -36292,10 +36328,10 @@ var TypeCheckShimGenerator = class {
|
|
|
36292
36328
|
}
|
|
36293
36329
|
};
|
|
36294
36330
|
|
|
36295
|
-
// bazel-out/
|
|
36331
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
36296
36332
|
var import_typescript83 = __toESM(require("typescript"), 1);
|
|
36297
36333
|
|
|
36298
|
-
// bazel-out/
|
|
36334
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
36299
36335
|
var import_typescript81 = __toESM(require("typescript"), 1);
|
|
36300
36336
|
function wrapForDiagnostics(expr) {
|
|
36301
36337
|
return import_typescript81.default.factory.createParenthesizedExpression(expr);
|
|
@@ -36340,7 +36376,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
36340
36376
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
36341
36377
|
}
|
|
36342
36378
|
|
|
36343
|
-
// bazel-out/
|
|
36379
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
36344
36380
|
var import_typescript82 = __toESM(require("typescript"), 1);
|
|
36345
36381
|
var NULL_AS_ANY = import_typescript82.default.factory.createAsExpression(import_typescript82.default.factory.createNull(), import_typescript82.default.factory.createKeywordTypeNode(import_typescript82.default.SyntaxKind.AnyKeyword));
|
|
36346
36382
|
var UNDEFINED = import_typescript82.default.factory.createIdentifier("undefined");
|
|
@@ -36672,7 +36708,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
36672
36708
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
36673
36709
|
})();
|
|
36674
36710
|
|
|
36675
|
-
// bazel-out/
|
|
36711
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
36676
36712
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
36677
36713
|
constructor(templateId, boundTarget, oob) {
|
|
36678
36714
|
super();
|
|
@@ -36695,7 +36731,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
36695
36731
|
}
|
|
36696
36732
|
};
|
|
36697
36733
|
|
|
36698
|
-
// bazel-out/
|
|
36734
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
36699
36735
|
var TcbGenericContextBehavior;
|
|
36700
36736
|
(function(TcbGenericContextBehavior2) {
|
|
36701
36737
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -37822,7 +37858,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
37822
37858
|
}
|
|
37823
37859
|
};
|
|
37824
37860
|
|
|
37825
|
-
// bazel-out/
|
|
37861
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
37826
37862
|
var import_typescript84 = __toESM(require("typescript"), 1);
|
|
37827
37863
|
var TypeCheckFile = class extends Environment {
|
|
37828
37864
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -37858,7 +37894,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
37858
37894
|
}
|
|
37859
37895
|
};
|
|
37860
37896
|
|
|
37861
|
-
// bazel-out/
|
|
37897
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
37862
37898
|
var InliningMode;
|
|
37863
37899
|
(function(InliningMode2) {
|
|
37864
37900
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -38095,7 +38131,7 @@ function splitStringAtPoints(str, points) {
|
|
|
38095
38131
|
return splits;
|
|
38096
38132
|
}
|
|
38097
38133
|
|
|
38098
|
-
// bazel-out/
|
|
38134
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
38099
38135
|
var LF_CHAR = 10;
|
|
38100
38136
|
var CR_CHAR = 13;
|
|
38101
38137
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -38136,7 +38172,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
38136
38172
|
return low - 1;
|
|
38137
38173
|
}
|
|
38138
38174
|
|
|
38139
|
-
// bazel-out/
|
|
38175
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
38140
38176
|
var TemplateSource = class {
|
|
38141
38177
|
constructor(mapping, file) {
|
|
38142
38178
|
this.mapping = mapping;
|
|
@@ -38187,7 +38223,7 @@ var TemplateSourceManager = class {
|
|
|
38187
38223
|
}
|
|
38188
38224
|
};
|
|
38189
38225
|
|
|
38190
|
-
// bazel-out/
|
|
38226
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
38191
38227
|
var import_typescript86 = __toESM(require("typescript"), 1);
|
|
38192
38228
|
var SymbolBuilder = class {
|
|
38193
38229
|
constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
|
|
@@ -38664,7 +38700,7 @@ function sourceSpanEqual(a, b) {
|
|
|
38664
38700
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
38665
38701
|
}
|
|
38666
38702
|
|
|
38667
|
-
// bazel-out/
|
|
38703
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
38668
38704
|
var REGISTRY2 = new DomElementSchemaRegistry();
|
|
38669
38705
|
var TemplateTypeCheckerImpl = class {
|
|
38670
38706
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -39360,7 +39396,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
39360
39396
|
}
|
|
39361
39397
|
};
|
|
39362
39398
|
|
|
39363
|
-
// bazel-out/
|
|
39399
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
39364
39400
|
var TemplateCheckWithVisitor = class {
|
|
39365
39401
|
run(ctx, component, template2) {
|
|
39366
39402
|
const visitor = new TemplateVisitor2(ctx, component, this);
|
|
@@ -39458,7 +39494,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
39458
39494
|
}
|
|
39459
39495
|
};
|
|
39460
39496
|
|
|
39461
|
-
// bazel-out/
|
|
39497
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
39462
39498
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
39463
39499
|
constructor() {
|
|
39464
39500
|
super(...arguments);
|
|
@@ -39483,7 +39519,7 @@ var factory = {
|
|
|
39483
39519
|
create: () => new InvalidBananaInBoxCheck()
|
|
39484
39520
|
};
|
|
39485
39521
|
|
|
39486
|
-
// bazel-out/
|
|
39522
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
39487
39523
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
39488
39524
|
["ngIf", "NgIf"],
|
|
39489
39525
|
["ngFor", "NgFor"],
|
|
@@ -39527,7 +39563,7 @@ var factory2 = {
|
|
|
39527
39563
|
}
|
|
39528
39564
|
};
|
|
39529
39565
|
|
|
39530
|
-
// bazel-out/
|
|
39566
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
39531
39567
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
39532
39568
|
constructor() {
|
|
39533
39569
|
super(...arguments);
|
|
@@ -39559,7 +39595,7 @@ var factory3 = {
|
|
|
39559
39595
|
create: () => new MissingNgForOfLetCheck()
|
|
39560
39596
|
};
|
|
39561
39597
|
|
|
39562
|
-
// bazel-out/
|
|
39598
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
39563
39599
|
var import_typescript89 = __toESM(require("typescript"), 1);
|
|
39564
39600
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
39565
39601
|
constructor() {
|
|
@@ -39603,7 +39639,7 @@ var factory4 = {
|
|
|
39603
39639
|
}
|
|
39604
39640
|
};
|
|
39605
39641
|
|
|
39606
|
-
// bazel-out/
|
|
39642
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
39607
39643
|
var import_typescript90 = __toESM(require("typescript"), 1);
|
|
39608
39644
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
39609
39645
|
constructor() {
|
|
@@ -39648,7 +39684,7 @@ var factory5 = {
|
|
|
39648
39684
|
}
|
|
39649
39685
|
};
|
|
39650
39686
|
|
|
39651
|
-
// bazel-out/
|
|
39687
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
39652
39688
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
39653
39689
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
39654
39690
|
constructor() {
|
|
@@ -39671,7 +39707,7 @@ var factory6 = {
|
|
|
39671
39707
|
create: () => new SuffixNotSupportedCheck()
|
|
39672
39708
|
};
|
|
39673
39709
|
|
|
39674
|
-
// bazel-out/
|
|
39710
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
39675
39711
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
39676
39712
|
constructor() {
|
|
39677
39713
|
super(...arguments);
|
|
@@ -39709,10 +39745,10 @@ var factory7 = {
|
|
|
39709
39745
|
create: () => new TextAttributeNotBindingSpec()
|
|
39710
39746
|
};
|
|
39711
39747
|
|
|
39712
|
-
// bazel-out/
|
|
39748
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
39713
39749
|
var import_typescript91 = __toESM(require("typescript"), 1);
|
|
39714
39750
|
|
|
39715
|
-
// bazel-out/
|
|
39751
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
39716
39752
|
var DiagnosticCategoryLabel;
|
|
39717
39753
|
(function(DiagnosticCategoryLabel2) {
|
|
39718
39754
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -39720,7 +39756,7 @@ var DiagnosticCategoryLabel;
|
|
|
39720
39756
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
39721
39757
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
39722
39758
|
|
|
39723
|
-
// bazel-out/
|
|
39759
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
39724
39760
|
var ExtendedTemplateCheckerImpl = class {
|
|
39725
39761
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
39726
39762
|
var _a2, _b2, _c2, _d2, _e2;
|
|
@@ -39772,7 +39808,7 @@ function assertNever(value) {
|
|
|
39772
39808
|
${value}`);
|
|
39773
39809
|
}
|
|
39774
39810
|
|
|
39775
|
-
// bazel-out/
|
|
39811
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
39776
39812
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
39777
39813
|
factory,
|
|
39778
39814
|
factory4,
|
|
@@ -39783,7 +39819,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
39783
39819
|
factory6
|
|
39784
39820
|
];
|
|
39785
39821
|
|
|
39786
|
-
// bazel-out/
|
|
39822
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
39787
39823
|
var CompilationTicketKind;
|
|
39788
39824
|
(function(CompilationTicketKind2) {
|
|
39789
39825
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -40512,7 +40548,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
40512
40548
|
return versions;
|
|
40513
40549
|
}
|
|
40514
40550
|
|
|
40515
|
-
// bazel-out/
|
|
40551
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
40516
40552
|
var import_typescript94 = __toESM(require("typescript"), 1);
|
|
40517
40553
|
var DelegatingCompilerHost2 = class {
|
|
40518
40554
|
constructor(delegate) {
|
|
@@ -40645,7 +40681,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
40645
40681
|
}
|
|
40646
40682
|
};
|
|
40647
40683
|
|
|
40648
|
-
// bazel-out/
|
|
40684
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
40649
40685
|
var NgtscProgram = class {
|
|
40650
40686
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
40651
40687
|
this.options = options;
|
|
@@ -40863,21 +40899,21 @@ function mergeEmitResults(emitResults) {
|
|
|
40863
40899
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
40864
40900
|
}
|
|
40865
40901
|
|
|
40866
|
-
// bazel-out/
|
|
40902
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
40867
40903
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
40868
40904
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
40869
40905
|
}
|
|
40870
40906
|
|
|
40871
|
-
// bazel-out/
|
|
40907
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
40872
40908
|
var import_typescript98 = __toESM(require("typescript"), 1);
|
|
40873
40909
|
|
|
40874
|
-
// bazel-out/
|
|
40910
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
40875
40911
|
var import_typescript97 = __toESM(require("typescript"), 1);
|
|
40876
40912
|
|
|
40877
|
-
// bazel-out/
|
|
40913
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
40878
40914
|
var import_typescript99 = __toESM(require("typescript"), 1);
|
|
40879
40915
|
|
|
40880
|
-
// bazel-out/
|
|
40916
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
40881
40917
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
40882
40918
|
ngDevMode: false,
|
|
40883
40919
|
ngI18nClosureMode: false
|
|
@@ -40886,7 +40922,7 @@ var GLOBAL_DEFS_FOR_TERSER_WITH_AOT = __spreadProps(__spreadValues({}, GLOBAL_DE
|
|
|
40886
40922
|
ngJitMode: false
|
|
40887
40923
|
});
|
|
40888
40924
|
|
|
40889
|
-
// bazel-out/
|
|
40925
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
40890
40926
|
var LogLevel;
|
|
40891
40927
|
(function(LogLevel2) {
|
|
40892
40928
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -40895,7 +40931,7 @@ var LogLevel;
|
|
|
40895
40931
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
40896
40932
|
})(LogLevel || (LogLevel = {}));
|
|
40897
40933
|
|
|
40898
|
-
// bazel-out/
|
|
40934
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
40899
40935
|
var RESET = "\x1B[0m";
|
|
40900
40936
|
var RED = "\x1B[31m";
|
|
40901
40937
|
var YELLOW = "\x1B[33m";
|
|
@@ -40904,18 +40940,18 @@ var DEBUG = `${BLUE}Debug:${RESET}`;
|
|
|
40904
40940
|
var WARN = `${YELLOW}Warning:${RESET}`;
|
|
40905
40941
|
var ERROR = `${RED}Error:${RESET}`;
|
|
40906
40942
|
|
|
40907
|
-
// bazel-out/
|
|
40943
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
40908
40944
|
setFileSystem(new NodeJSFileSystem());
|
|
40909
40945
|
|
|
40910
|
-
// bazel-out/
|
|
40946
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
40911
40947
|
var import_fs2 = require("fs");
|
|
40912
40948
|
var import_path8 = require("path");
|
|
40913
40949
|
var import_typescript112 = __toESM(require("typescript"), 1);
|
|
40914
40950
|
|
|
40915
|
-
// bazel-out/
|
|
40951
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
40916
40952
|
var import_typescript101 = __toESM(require("typescript"), 1);
|
|
40917
40953
|
|
|
40918
|
-
// bazel-out/
|
|
40954
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
|
|
40919
40955
|
var import_path4 = require("path");
|
|
40920
40956
|
var import_typescript100 = __toESM(require("typescript"), 1);
|
|
40921
40957
|
var ImportManager2 = class {
|
|
@@ -41099,7 +41135,7 @@ ${text2}`;
|
|
|
41099
41135
|
}
|
|
41100
41136
|
};
|
|
41101
41137
|
|
|
41102
|
-
// bazel-out/
|
|
41138
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
41103
41139
|
var ChangeTracker = class {
|
|
41104
41140
|
constructor(_printer, _importRemapper) {
|
|
41105
41141
|
__publicField(this, "_printer");
|
|
@@ -41155,7 +41191,7 @@ function normalizePath(path3) {
|
|
|
41155
41191
|
return path3.replace(/\\/g, "/");
|
|
41156
41192
|
}
|
|
41157
41193
|
|
|
41158
|
-
// bazel-out/
|
|
41194
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
41159
41195
|
var import_core16 = require("@angular-devkit/core");
|
|
41160
41196
|
function getProjectTsConfigPaths(tree) {
|
|
41161
41197
|
return __async(this, null, function* () {
|
|
@@ -41235,11 +41271,11 @@ function getWorkspace(tree) {
|
|
|
41235
41271
|
});
|
|
41236
41272
|
}
|
|
41237
41273
|
|
|
41238
|
-
// bazel-out/
|
|
41274
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
41239
41275
|
var import_path5 = require("path");
|
|
41240
41276
|
var import_typescript103 = __toESM(require("typescript"), 1);
|
|
41241
41277
|
|
|
41242
|
-
// bazel-out/
|
|
41278
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
41243
41279
|
var path2 = __toESM(require("path"), 1);
|
|
41244
41280
|
var import_typescript102 = __toESM(require("typescript"), 1);
|
|
41245
41281
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -41256,7 +41292,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
41256
41292
|
return import_typescript102.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
41257
41293
|
}
|
|
41258
41294
|
|
|
41259
|
-
// bazel-out/
|
|
41295
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
41260
41296
|
function createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles, optionOverrides) {
|
|
41261
41297
|
tsconfigPath = (0, import_path5.resolve)(basePath, tsconfigPath);
|
|
41262
41298
|
const parsed = parseTsconfigFile(tsconfigPath, (0, import_path5.dirname)(tsconfigPath));
|
|
@@ -41285,13 +41321,13 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
41285
41321
|
return !(0, import_path5.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
41286
41322
|
}
|
|
41287
41323
|
|
|
41288
|
-
// bazel-out/
|
|
41324
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
41289
41325
|
var import_typescript108 = __toESM(require("typescript"), 1);
|
|
41290
41326
|
|
|
41291
|
-
// bazel-out/
|
|
41327
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
41292
41328
|
var import_typescript105 = __toESM(require("typescript"), 1);
|
|
41293
41329
|
|
|
41294
|
-
// bazel-out/
|
|
41330
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
|
|
41295
41331
|
var import_typescript104 = __toESM(require("typescript"), 1);
|
|
41296
41332
|
function getImportOfIdentifier(typeChecker, node) {
|
|
41297
41333
|
const symbol = typeChecker.getSymbolAtLocation(node);
|
|
@@ -41342,7 +41378,7 @@ function findImportSpecifier(nodes, specifierName) {
|
|
|
41342
41378
|
});
|
|
41343
41379
|
}
|
|
41344
41380
|
|
|
41345
|
-
// bazel-out/
|
|
41381
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
41346
41382
|
function getCallDecoratorImport(typeChecker, decorator) {
|
|
41347
41383
|
if (!import_typescript105.default.isCallExpression(decorator.expression) || !import_typescript105.default.isIdentifier(decorator.expression.expression)) {
|
|
41348
41384
|
return null;
|
|
@@ -41351,7 +41387,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
|
|
|
41351
41387
|
return getImportOfIdentifier(typeChecker, identifier);
|
|
41352
41388
|
}
|
|
41353
41389
|
|
|
41354
|
-
// bazel-out/
|
|
41390
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
|
|
41355
41391
|
function getAngularDecorators(typeChecker, decorators) {
|
|
41356
41392
|
return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
|
|
41357
41393
|
node,
|
|
@@ -41361,7 +41397,7 @@ function getAngularDecorators(typeChecker, decorators) {
|
|
|
41361
41397
|
}));
|
|
41362
41398
|
}
|
|
41363
41399
|
|
|
41364
|
-
// bazel-out/
|
|
41400
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
|
|
41365
41401
|
var import_typescript106 = __toESM(require("typescript"), 1);
|
|
41366
41402
|
function closestNode(node, predicate) {
|
|
41367
41403
|
let current = node.parent;
|
|
@@ -41374,7 +41410,7 @@ function closestNode(node, predicate) {
|
|
|
41374
41410
|
return null;
|
|
41375
41411
|
}
|
|
41376
41412
|
|
|
41377
|
-
// bazel-out/
|
|
41413
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
|
|
41378
41414
|
var import_path6 = require("path");
|
|
41379
41415
|
var import_typescript107 = __toESM(require("typescript"), 1);
|
|
41380
41416
|
var UniqueItemTracker = class {
|
|
@@ -41550,7 +41586,7 @@ function isClassReferenceInAngularModule(node, className, moduleName, typeChecke
|
|
|
41550
41586
|
}));
|
|
41551
41587
|
}
|
|
41552
41588
|
|
|
41553
|
-
// bazel-out/
|
|
41589
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
41554
41590
|
function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles) {
|
|
41555
41591
|
const filesToRemove = /* @__PURE__ */ new Set();
|
|
41556
41592
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
@@ -41749,14 +41785,14 @@ function findNgModuleDecorator(node, typeChecker) {
|
|
|
41749
41785
|
return decorators.find((decorator) => decorator.name === "NgModule") || null;
|
|
41750
41786
|
}
|
|
41751
41787
|
|
|
41752
|
-
// bazel-out/
|
|
41788
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
41753
41789
|
var import_path7 = require("path");
|
|
41754
41790
|
var import_typescript111 = __toESM(require("typescript"), 1);
|
|
41755
41791
|
|
|
41756
|
-
// bazel-out/
|
|
41792
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
41757
41793
|
var import_typescript110 = __toESM(require("typescript"), 1);
|
|
41758
41794
|
|
|
41759
|
-
// bazel-out/
|
|
41795
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
|
|
41760
41796
|
var import_typescript109 = __toESM(require("typescript"), 1);
|
|
41761
41797
|
function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
41762
41798
|
var _a2, _b2;
|
|
@@ -41765,7 +41801,7 @@ function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
|
41765
41801
|
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];
|
|
41766
41802
|
}
|
|
41767
41803
|
|
|
41768
|
-
// bazel-out/
|
|
41804
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
41769
41805
|
function toStandalone(sourceFiles, program, printer, fileImportRemapper, componentImportRemapper) {
|
|
41770
41806
|
const templateTypeChecker = program.compiler.getTemplateTypeChecker();
|
|
41771
41807
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -42128,7 +42164,7 @@ function isStandaloneDeclaration(node, declarationsInMigration, templateTypeChec
|
|
|
42128
42164
|
return metadata != null && metadata.isStandalone;
|
|
42129
42165
|
}
|
|
42130
42166
|
|
|
42131
|
-
// bazel-out/
|
|
42167
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
42132
42168
|
function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles, componentImportRemapper) {
|
|
42133
42169
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
42134
42170
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -42505,7 +42541,7 @@ function hasImport(program, rootFileNames, moduleName) {
|
|
|
42505
42541
|
return false;
|
|
42506
42542
|
}
|
|
42507
42543
|
|
|
42508
|
-
// bazel-out/
|
|
42544
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
42509
42545
|
var MigrationMode;
|
|
42510
42546
|
(function(MigrationMode2) {
|
|
42511
42547
|
MigrationMode2["toStandalone"] = "convert-to-standalone";
|