@angular/core 17.0.0-next.8 → 17.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/src/application_ref.mjs +2 -1
- package/esm2022/src/core_private_export.mjs +4 -3
- package/esm2022/src/core_render3_private_export.mjs +2 -2
- package/esm2022/src/debug/debug_node.mjs +5 -9
- package/esm2022/src/defer/cleanup.mjs +70 -0
- package/esm2022/src/defer/discovery.mjs +47 -0
- package/esm2022/src/defer/dom_triggers.mjs +256 -0
- package/esm2022/src/defer/idle_scheduler.mjs +109 -0
- package/esm2022/src/defer/instructions.mjs +641 -0
- package/esm2022/src/defer/interfaces.mjs +79 -0
- package/esm2022/src/defer/timer_scheduler.mjs +192 -0
- package/esm2022/src/defer/utils.mjs +134 -0
- package/esm2022/src/hydration/api.mjs +1 -2
- package/esm2022/src/hydration/utils.mjs +2 -2
- package/esm2022/src/render/api.mjs +1 -1
- package/esm2022/src/render3/after_render_hooks.mjs +31 -1
- package/esm2022/src/render3/index.mjs +3 -2
- package/esm2022/src/render3/instructions/all.mjs +2 -2
- package/esm2022/src/render3/instructions/control_flow.mjs +25 -15
- package/esm2022/src/render3/interfaces/container.mjs +1 -4
- package/esm2022/src/render3/interfaces/definition.mjs +2 -4
- package/esm2022/src/render3/interfaces/i18n.mjs +1 -4
- package/esm2022/src/render3/interfaces/injector.mjs +1 -4
- package/esm2022/src/render3/interfaces/node.mjs +1 -4
- package/esm2022/src/render3/interfaces/projection.mjs +2 -4
- package/esm2022/src/render3/interfaces/query.mjs +2 -4
- package/esm2022/src/render3/interfaces/renderer.mjs +2 -4
- package/esm2022/src/render3/interfaces/renderer_dom.mjs +2 -4
- package/esm2022/src/render3/interfaces/view.mjs +1 -4
- package/esm2022/src/render3/list_reconciliation.mjs +58 -34
- package/esm2022/src/render3/reactive_lview_consumer.mjs +2 -7
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +777 -741
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/index.d.ts +43 -6
- package/package.json +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/block-template-entities/bundle.js +413 -247
- package/schematics/migrations/block-template-entities/bundle.js.map +4 -4
- package/schematics/migrations/compiler-options/bundle.js +13 -13
- package/schematics/migrations/transfer-state/bundle.js +13 -13
- package/schematics/ng-generate/control-flow-migration/bundle.js +471 -259
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +4 -4
- package/schematics/ng-generate/standalone-migration/bundle.js +659 -486
- package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
- package/testing/index.d.ts +1 -1
- package/esm2022/src/render3/instructions/defer.mjs +0 -1225
- package/esm2022/src/render3/instructions/defer_events.mjs +0 -174
- package/esm2022/src/render3/interfaces/defer.mjs +0 -79
|
@@ -63,7 +63,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
63
63
|
});
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
-
// bazel-out/
|
|
66
|
+
// bazel-out/darwin_arm64-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_arm64-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_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
78
78
|
var InvalidFileSystem = class {
|
|
79
79
|
exists(path4) {
|
|
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_arm64-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(path4) {
|
|
168
168
|
return path4.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_arm64-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_arm64-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, path4) {
|
|
|
265
265
|
return isLocalRelativePath(relative(base, path4));
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
// bazel-out/
|
|
268
|
+
// bazel-out/darwin_arm64-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_arm64-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_arm64-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_arm64-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,
|
|
@@ -832,7 +832,7 @@ __export(output_ast_exports, {
|
|
|
832
832
|
variable: () => variable
|
|
833
833
|
});
|
|
834
834
|
|
|
835
|
-
// bazel-out/
|
|
835
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
|
|
836
836
|
var textEncoder;
|
|
837
837
|
function digest(message) {
|
|
838
838
|
return message.id || computeDigest(message);
|
|
@@ -1072,7 +1072,7 @@ function wordAt(bytes, index, endian) {
|
|
|
1072
1072
|
return word;
|
|
1073
1073
|
}
|
|
1074
1074
|
|
|
1075
|
-
// bazel-out/
|
|
1075
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
1076
1076
|
var TypeModifier;
|
|
1077
1077
|
(function(TypeModifier2) {
|
|
1078
1078
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -2263,7 +2263,7 @@ function serializeTags(tags) {
|
|
|
2263
2263
|
return out;
|
|
2264
2264
|
}
|
|
2265
2265
|
|
|
2266
|
-
// bazel-out/
|
|
2266
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
2267
2267
|
var CONSTANT_PREFIX = "_c";
|
|
2268
2268
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
2269
2269
|
var KEY_CONTEXT = {};
|
|
@@ -2446,7 +2446,7 @@ function isLongStringLiteral(expr) {
|
|
|
2446
2446
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
2447
2447
|
}
|
|
2448
2448
|
|
|
2449
|
-
// bazel-out/
|
|
2449
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
2450
2450
|
var CORE = "@angular/core";
|
|
2451
2451
|
var _Identifiers = class {
|
|
2452
2452
|
};
|
|
@@ -3079,7 +3079,7 @@ var Identifiers = _Identifiers;
|
|
|
3079
3079
|
_Identifiers.validateIframeAttribute = { name: "\u0275\u0275validateIframeAttribute", moduleName: CORE };
|
|
3080
3080
|
})();
|
|
3081
3081
|
|
|
3082
|
-
// bazel-out/
|
|
3082
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/util.mjs
|
|
3083
3083
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
3084
3084
|
function dashCaseToCamelCase(input) {
|
|
3085
3085
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -3167,7 +3167,7 @@ function partitionArray(arr, conditionFn) {
|
|
|
3167
3167
|
return [truthy, falsy];
|
|
3168
3168
|
}
|
|
3169
3169
|
|
|
3170
|
-
// bazel-out/
|
|
3170
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
3171
3171
|
var VERSION = 3;
|
|
3172
3172
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
3173
3173
|
var SourceMapGenerator = class {
|
|
@@ -3296,7 +3296,7 @@ function toBase64Digit(value) {
|
|
|
3296
3296
|
return B64_DIGITS[value];
|
|
3297
3297
|
}
|
|
3298
3298
|
|
|
3299
|
-
// bazel-out/
|
|
3299
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
3300
3300
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
3301
3301
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
3302
3302
|
var _INDENT_WITH = " ";
|
|
@@ -3781,7 +3781,7 @@ function _createIndent(count) {
|
|
|
3781
3781
|
return res;
|
|
3782
3782
|
}
|
|
3783
3783
|
|
|
3784
|
-
// bazel-out/
|
|
3784
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
3785
3785
|
function typeWithParameters(type, numParams) {
|
|
3786
3786
|
if (numParams === 0) {
|
|
3787
3787
|
return expressionType(type);
|
|
@@ -3849,7 +3849,7 @@ function generateForwardRef(expr) {
|
|
|
3849
3849
|
return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
|
|
3850
3850
|
}
|
|
3851
3851
|
|
|
3852
|
-
// bazel-out/
|
|
3852
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
3853
3853
|
var R3FactoryDelegateType;
|
|
3854
3854
|
(function(R3FactoryDelegateType2) {
|
|
3855
3855
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -3994,7 +3994,7 @@ function getInjectFn(target) {
|
|
|
3994
3994
|
}
|
|
3995
3995
|
}
|
|
3996
3996
|
|
|
3997
|
-
// bazel-out/
|
|
3997
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
3998
3998
|
var Comment = class {
|
|
3999
3999
|
constructor(value, sourceSpan) {
|
|
4000
4000
|
this.value = value;
|
|
@@ -4447,7 +4447,7 @@ function visitAll(visitor, nodes) {
|
|
|
4447
4447
|
return result;
|
|
4448
4448
|
}
|
|
4449
4449
|
|
|
4450
|
-
// bazel-out/
|
|
4450
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
4451
4451
|
var Message = class {
|
|
4452
4452
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
4453
4453
|
this.nodes = nodes;
|
|
@@ -4610,7 +4610,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
4610
4610
|
}
|
|
4611
4611
|
};
|
|
4612
4612
|
|
|
4613
|
-
// bazel-out/
|
|
4613
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
|
|
4614
4614
|
var Serializer = class {
|
|
4615
4615
|
createNameMapper(message) {
|
|
4616
4616
|
return null;
|
|
@@ -4662,7 +4662,7 @@ var SimplePlaceholderMapper = class extends RecurseVisitor {
|
|
|
4662
4662
|
}
|
|
4663
4663
|
};
|
|
4664
4664
|
|
|
4665
|
-
// bazel-out/
|
|
4665
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
4666
4666
|
var _Visitor = class {
|
|
4667
4667
|
visitTag(tag) {
|
|
4668
4668
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -4750,7 +4750,7 @@ function escapeXml(text2) {
|
|
|
4750
4750
|
return _ESCAPED_CHARS.reduce((text3, entry) => text3.replace(entry[0], entry[1]), text2);
|
|
4751
4751
|
}
|
|
4752
4752
|
|
|
4753
|
-
// bazel-out/
|
|
4753
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
4754
4754
|
var _MESSAGES_TAG = "messagebundle";
|
|
4755
4755
|
var _MESSAGE_TAG = "msg";
|
|
4756
4756
|
var _PLACEHOLDER_TAG = "ph";
|
|
@@ -4893,7 +4893,7 @@ function toPublicName(internalName) {
|
|
|
4893
4893
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
4894
4894
|
}
|
|
4895
4895
|
|
|
4896
|
-
// bazel-out/
|
|
4896
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
4897
4897
|
var CLOSURE_TRANSLATION_VAR_PREFIX = "MSG_";
|
|
4898
4898
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
4899
4899
|
var I18N_ATTR = "i18n";
|
|
@@ -4995,7 +4995,7 @@ function declareI18nVariable(variable2) {
|
|
|
4995
4995
|
return new DeclareVarStmt(variable2.name, void 0, INFERRED_TYPE, void 0, variable2.sourceSpan);
|
|
4996
4996
|
}
|
|
4997
4997
|
|
|
4998
|
-
// bazel-out/
|
|
4998
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
4999
4999
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
5000
5000
|
var TEMPORARY_NAME = "_t";
|
|
5001
5001
|
var CONTEXT_NAME = "ctx";
|
|
@@ -5218,7 +5218,7 @@ function getInstructionStatements(instructions) {
|
|
|
5218
5218
|
return statements;
|
|
5219
5219
|
}
|
|
5220
5220
|
|
|
5221
|
-
// bazel-out/
|
|
5221
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
5222
5222
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
5223
5223
|
let result = null;
|
|
5224
5224
|
const factoryMeta = {
|
|
@@ -5303,7 +5303,7 @@ function createFactoryFunction(type) {
|
|
|
5303
5303
|
return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
|
|
5304
5304
|
}
|
|
5305
5305
|
|
|
5306
|
-
// bazel-out/
|
|
5306
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
5307
5307
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
5308
5308
|
/^\s*$/,
|
|
5309
5309
|
/[<>]/,
|
|
@@ -5325,7 +5325,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
5325
5325
|
}
|
|
5326
5326
|
}
|
|
5327
5327
|
|
|
5328
|
-
// bazel-out/
|
|
5328
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/interpolation_config.mjs
|
|
5329
5329
|
var InterpolationConfig = class {
|
|
5330
5330
|
static fromArray(markers) {
|
|
5331
5331
|
if (!markers) {
|
|
@@ -5341,7 +5341,7 @@ var InterpolationConfig = class {
|
|
|
5341
5341
|
};
|
|
5342
5342
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
5343
5343
|
|
|
5344
|
-
// bazel-out/
|
|
5344
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
5345
5345
|
var $EOF = 0;
|
|
5346
5346
|
var $BSPACE = 8;
|
|
5347
5347
|
var $TAB = 9;
|
|
@@ -5423,7 +5423,7 @@ function isQuote(code) {
|
|
|
5423
5423
|
return code === $SQ || code === $DQ || code === $BT;
|
|
5424
5424
|
}
|
|
5425
5425
|
|
|
5426
|
-
// bazel-out/
|
|
5426
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
5427
5427
|
var ParseLocation = class {
|
|
5428
5428
|
constructor(file, offset, line, col) {
|
|
5429
5429
|
this.file = file;
|
|
@@ -5570,7 +5570,7 @@ function sanitizeIdentifier(name) {
|
|
|
5570
5570
|
return name.replace(/\W/g, "_");
|
|
5571
5571
|
}
|
|
5572
5572
|
|
|
5573
|
-
// bazel-out/
|
|
5573
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
5574
5574
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
5575
5575
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
5576
5576
|
constructor() {
|
|
@@ -5663,7 +5663,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
5663
5663
|
}
|
|
5664
5664
|
};
|
|
5665
5665
|
|
|
5666
|
-
// bazel-out/
|
|
5666
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
5667
5667
|
var policy;
|
|
5668
5668
|
function getPolicy() {
|
|
5669
5669
|
if (policy === void 0) {
|
|
@@ -5701,7 +5701,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
5701
5701
|
return fn2.bind(_global);
|
|
5702
5702
|
}
|
|
5703
5703
|
|
|
5704
|
-
// bazel-out/
|
|
5704
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
5705
5705
|
var JitEvaluator = class {
|
|
5706
5706
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
5707
5707
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -5792,7 +5792,7 @@ function isUseStrictStatement(statement) {
|
|
|
5792
5792
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
5793
5793
|
}
|
|
5794
5794
|
|
|
5795
|
-
// bazel-out/
|
|
5795
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
5796
5796
|
function compileInjector(meta) {
|
|
5797
5797
|
const definitionMap = new DefinitionMap();
|
|
5798
5798
|
if (meta.providers !== null) {
|
|
@@ -5809,7 +5809,7 @@ function createInjectorType(meta) {
|
|
|
5809
5809
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
5810
5810
|
}
|
|
5811
5811
|
|
|
5812
|
-
// bazel-out/
|
|
5812
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
5813
5813
|
var R3JitReflector = class {
|
|
5814
5814
|
constructor(context) {
|
|
5815
5815
|
this.context = context;
|
|
@@ -5825,7 +5825,7 @@ var R3JitReflector = class {
|
|
|
5825
5825
|
}
|
|
5826
5826
|
};
|
|
5827
5827
|
|
|
5828
|
-
// bazel-out/
|
|
5828
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
5829
5829
|
var R3SelectorScopeMode;
|
|
5830
5830
|
(function(R3SelectorScopeMode2) {
|
|
5831
5831
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -5966,7 +5966,7 @@ function tupleOfTypes(types) {
|
|
|
5966
5966
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
5967
5967
|
}
|
|
5968
5968
|
|
|
5969
|
-
// bazel-out/
|
|
5969
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
5970
5970
|
function compilePipeFromMetadata(metadata) {
|
|
5971
5971
|
const definitionMapValues = [];
|
|
5972
5972
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -5987,7 +5987,7 @@ function createPipeType(metadata) {
|
|
|
5987
5987
|
]));
|
|
5988
5988
|
}
|
|
5989
5989
|
|
|
5990
|
-
// bazel-out/
|
|
5990
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
5991
5991
|
var R3TemplateDependencyKind;
|
|
5992
5992
|
(function(R3TemplateDependencyKind2) {
|
|
5993
5993
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -5995,7 +5995,7 @@ var R3TemplateDependencyKind;
|
|
|
5995
5995
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
5996
5996
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
5997
5997
|
|
|
5998
|
-
// bazel-out/
|
|
5998
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
5999
5999
|
var ParserError = class {
|
|
6000
6000
|
constructor(message, input, errLocation, ctxLocation) {
|
|
6001
6001
|
this.input = input;
|
|
@@ -6661,7 +6661,7 @@ var BoundElementProperty = class {
|
|
|
6661
6661
|
}
|
|
6662
6662
|
};
|
|
6663
6663
|
|
|
6664
|
-
// bazel-out/
|
|
6664
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
|
|
6665
6665
|
var _EventHandlerVars = class {
|
|
6666
6666
|
};
|
|
6667
6667
|
var EventHandlerVars = _EventHandlerVars;
|
|
@@ -7302,7 +7302,7 @@ var BuiltinFunctionCall = class extends Call {
|
|
|
7302
7302
|
}
|
|
7303
7303
|
};
|
|
7304
7304
|
|
|
7305
|
-
// bazel-out/
|
|
7305
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
7306
7306
|
var _SECURITY_SCHEMA;
|
|
7307
7307
|
function SECURITY_SCHEMA() {
|
|
7308
7308
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -7360,7 +7360,7 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
7360
7360
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
7361
7361
|
}
|
|
7362
7362
|
|
|
7363
|
-
// bazel-out/
|
|
7363
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
7364
7364
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
7365
7365
|
"inherit",
|
|
7366
7366
|
"initial",
|
|
@@ -7607,7 +7607,7 @@ var ShadowCss = class {
|
|
|
7607
7607
|
while ((res = sep2.exec(selector)) !== null) {
|
|
7608
7608
|
const separator = res[1];
|
|
7609
7609
|
const part2 = selector.slice(startIndex, res.index).trim();
|
|
7610
|
-
if (part2.match(
|
|
7610
|
+
if (part2.match(/__esc-ph-(\d+)__/) && ((_a2 = selector[res.index + 1]) == null ? void 0 : _a2.match(/[a-fA-F\d]/))) {
|
|
7611
7611
|
continue;
|
|
7612
7612
|
}
|
|
7613
7613
|
shouldScope = shouldScope || part2.indexOf(_polyfillHostNoCombinator) > -1;
|
|
@@ -7629,7 +7629,12 @@ var SafeSelector = class {
|
|
|
7629
7629
|
this.placeholders = [];
|
|
7630
7630
|
this.index = 0;
|
|
7631
7631
|
selector = this._escapeRegexMatches(selector, /(\[[^\]]*\])/g);
|
|
7632
|
-
selector =
|
|
7632
|
+
selector = selector.replace(/(\\.)/g, (_, keep) => {
|
|
7633
|
+
const replaceBy = `__esc-ph-${this.index}__`;
|
|
7634
|
+
this.placeholders.push(keep);
|
|
7635
|
+
this.index++;
|
|
7636
|
+
return replaceBy;
|
|
7637
|
+
});
|
|
7633
7638
|
this._content = selector.replace(/(:nth-[-\w]+)(\([^)]+\))/g, (_, pseudo, exp) => {
|
|
7634
7639
|
const replaceBy = `__ph-${this.index}__`;
|
|
7635
7640
|
this.placeholders.push(exp);
|
|
@@ -7638,7 +7643,7 @@ var SafeSelector = class {
|
|
|
7638
7643
|
});
|
|
7639
7644
|
}
|
|
7640
7645
|
restore(content) {
|
|
7641
|
-
return content.replace(
|
|
7646
|
+
return content.replace(/__(?:ph|esc-ph)-(\d+)__/g, (_ph, index) => this.placeholders[+index]);
|
|
7642
7647
|
}
|
|
7643
7648
|
content() {
|
|
7644
7649
|
return this._content;
|
|
@@ -7679,7 +7684,6 @@ var _commentRe = /\/\*[\s\S]*?\*\//g;
|
|
|
7679
7684
|
var _commentWithHashRe = /\/\*\s*#\s*source(Mapping)?URL=/g;
|
|
7680
7685
|
var COMMENT_PLACEHOLDER = "%COMMENT%";
|
|
7681
7686
|
var _commentWithHashPlaceHolderRe = new RegExp(COMMENT_PLACEHOLDER, "g");
|
|
7682
|
-
var _placeholderRe = /__ph-(\d+)__/g;
|
|
7683
7687
|
var BLOCK_PLACEHOLDER = "%BLOCK%";
|
|
7684
7688
|
var _ruleRe = new RegExp(`(\\s*(?:${COMMENT_PLACEHOLDER}\\s*)*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))`, "g");
|
|
7685
7689
|
var CONTENT_PAIRS = /* @__PURE__ */ new Map([["{", "}"]]);
|
|
@@ -7827,7 +7831,7 @@ function repeatGroups(groups, multiples) {
|
|
|
7827
7831
|
}
|
|
7828
7832
|
}
|
|
7829
7833
|
|
|
7830
|
-
// bazel-out/
|
|
7834
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
7831
7835
|
var OpKind;
|
|
7832
7836
|
(function(OpKind2) {
|
|
7833
7837
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -7869,6 +7873,8 @@ var OpKind;
|
|
|
7869
7873
|
OpKind2[OpKind2["I18nEnd"] = 36] = "I18nEnd";
|
|
7870
7874
|
OpKind2[OpKind2["I18nExpression"] = 37] = "I18nExpression";
|
|
7871
7875
|
OpKind2[OpKind2["I18nApply"] = 38] = "I18nApply";
|
|
7876
|
+
OpKind2[OpKind2["Icu"] = 39] = "Icu";
|
|
7877
|
+
OpKind2[OpKind2["IcuUpdate"] = 40] = "IcuUpdate";
|
|
7872
7878
|
})(OpKind || (OpKind = {}));
|
|
7873
7879
|
var ExpressionKind;
|
|
7874
7880
|
(function(ExpressionKind2) {
|
|
@@ -7931,8 +7937,13 @@ var BindingKind;
|
|
|
7931
7937
|
BindingKind2[BindingKind2["I18n"] = 5] = "I18n";
|
|
7932
7938
|
BindingKind2[BindingKind2["Animation"] = 6] = "Animation";
|
|
7933
7939
|
})(BindingKind || (BindingKind = {}));
|
|
7940
|
+
var I18nParamResolutionTime;
|
|
7941
|
+
(function(I18nParamResolutionTime2) {
|
|
7942
|
+
I18nParamResolutionTime2[I18nParamResolutionTime2["Creation"] = 0] = "Creation";
|
|
7943
|
+
I18nParamResolutionTime2[I18nParamResolutionTime2["Postproccessing"] = 1] = "Postproccessing";
|
|
7944
|
+
})(I18nParamResolutionTime || (I18nParamResolutionTime = {}));
|
|
7934
7945
|
|
|
7935
|
-
// bazel-out/
|
|
7946
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
7936
7947
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
7937
7948
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
7938
7949
|
var UsesSlotIndex = Symbol("UsesSlotIndex");
|
|
@@ -7981,7 +7992,7 @@ function hasConstTrait(value) {
|
|
|
7981
7992
|
return value[HasConst] === true;
|
|
7982
7993
|
}
|
|
7983
7994
|
|
|
7984
|
-
// bazel-out/
|
|
7995
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
7985
7996
|
function createStatementOp(statement) {
|
|
7986
7997
|
return __spreadValues({
|
|
7987
7998
|
kind: OpKind.Statement,
|
|
@@ -8002,7 +8013,7 @@ var NEW_OP = {
|
|
|
8002
8013
|
next: null
|
|
8003
8014
|
};
|
|
8004
8015
|
|
|
8005
|
-
// bazel-out/
|
|
8016
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
8006
8017
|
function createInterpolateTextOp(xref, interpolation, i18nPlaceholders, sourceSpan) {
|
|
8007
8018
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
8008
8019
|
kind: OpKind.InterpolateText,
|
|
@@ -8111,13 +8122,14 @@ function createConditionalOp(target, test, conditions, sourceSpan) {
|
|
|
8111
8122
|
contextValue: null
|
|
8112
8123
|
}, NEW_OP), TRAIT_USES_SLOT_INDEX), TRAIT_DEPENDS_ON_SLOT_CONTEXT), TRAIT_CONSUMES_VARS);
|
|
8113
8124
|
}
|
|
8114
|
-
function createI18nExpressionOp(owner, expression, i18nPlaceholder, sourceSpan) {
|
|
8125
|
+
function createI18nExpressionOp(owner, expression, i18nPlaceholder, resolutionTime, sourceSpan) {
|
|
8115
8126
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
8116
8127
|
kind: OpKind.I18nExpression,
|
|
8117
8128
|
owner,
|
|
8118
8129
|
target: owner,
|
|
8119
8130
|
expression,
|
|
8120
8131
|
i18nPlaceholder,
|
|
8132
|
+
resolutionTime,
|
|
8121
8133
|
sourceSpan
|
|
8122
8134
|
}, NEW_OP), TRAIT_CONSUMES_VARS), TRAIT_DEPENDS_ON_SLOT_CONTEXT);
|
|
8123
8135
|
}
|
|
@@ -8128,8 +8140,15 @@ function createI18nApplyOp(target, sourceSpan) {
|
|
|
8128
8140
|
sourceSpan
|
|
8129
8141
|
}, NEW_OP), TRAIT_USES_SLOT_INDEX);
|
|
8130
8142
|
}
|
|
8143
|
+
function createIcuUpdateOp(xref, sourceSpan) {
|
|
8144
|
+
return __spreadValues({
|
|
8145
|
+
kind: OpKind.IcuUpdate,
|
|
8146
|
+
xref,
|
|
8147
|
+
sourceSpan
|
|
8148
|
+
}, NEW_OP);
|
|
8149
|
+
}
|
|
8131
8150
|
|
|
8132
|
-
// bazel-out/
|
|
8151
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
8133
8152
|
var _a;
|
|
8134
8153
|
var _b;
|
|
8135
8154
|
var _c;
|
|
@@ -8836,6 +8855,8 @@ function transformExpressionsInOp(op, transform2, flags) {
|
|
|
8836
8855
|
case OpKind.Advance:
|
|
8837
8856
|
case OpKind.Namespace:
|
|
8838
8857
|
case OpKind.I18nApply:
|
|
8858
|
+
case OpKind.Icu:
|
|
8859
|
+
case OpKind.IcuUpdate:
|
|
8839
8860
|
break;
|
|
8840
8861
|
default:
|
|
8841
8862
|
throw new Error(`AssertionError: transformExpressionsInOp doesn't handle ${OpKind[op.kind]}`);
|
|
@@ -8917,7 +8938,7 @@ function isStringLiteral(expr) {
|
|
|
8917
8938
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
8918
8939
|
}
|
|
8919
8940
|
|
|
8920
|
-
// bazel-out/
|
|
8941
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
8921
8942
|
var _OpList = class {
|
|
8922
8943
|
constructor() {
|
|
8923
8944
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -9108,7 +9129,7 @@ var OpList = _OpList;
|
|
|
9108
9129
|
_OpList.nextListId = 0;
|
|
9109
9130
|
})();
|
|
9110
9131
|
|
|
9111
|
-
// bazel-out/
|
|
9132
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
9112
9133
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
9113
9134
|
OpKind.Element,
|
|
9114
9135
|
OpKind.ElementStart,
|
|
@@ -9280,8 +9301,10 @@ function createI18nStartOp(xref, message, root) {
|
|
|
9280
9301
|
root: root != null ? root : xref,
|
|
9281
9302
|
message,
|
|
9282
9303
|
params: /* @__PURE__ */ new Map(),
|
|
9304
|
+
postprocessingParams: /* @__PURE__ */ new Map(),
|
|
9283
9305
|
messageIndex: null,
|
|
9284
|
-
subTemplateIndex: null
|
|
9306
|
+
subTemplateIndex: null,
|
|
9307
|
+
needsPostprocessing: false
|
|
9285
9308
|
}, NEW_OP), TRAIT_CONSUMES_SLOT);
|
|
9286
9309
|
}
|
|
9287
9310
|
function createI18nEndOp(xref) {
|
|
@@ -9290,6 +9313,14 @@ function createI18nEndOp(xref) {
|
|
|
9290
9313
|
xref
|
|
9291
9314
|
}, NEW_OP);
|
|
9292
9315
|
}
|
|
9316
|
+
function createIcuOp(xref, message, sourceSpan) {
|
|
9317
|
+
return __spreadValues({
|
|
9318
|
+
kind: OpKind.Icu,
|
|
9319
|
+
xref,
|
|
9320
|
+
message,
|
|
9321
|
+
sourceSpan
|
|
9322
|
+
}, NEW_OP);
|
|
9323
|
+
}
|
|
9293
9324
|
function literalOrArrayLiteral(value) {
|
|
9294
9325
|
if (Array.isArray(value)) {
|
|
9295
9326
|
return literalArr(value.map(literalOrArrayLiteral));
|
|
@@ -9297,7 +9328,7 @@ function literalOrArrayLiteral(value) {
|
|
|
9297
9328
|
return literal(value, INFERRED_TYPE);
|
|
9298
9329
|
}
|
|
9299
9330
|
|
|
9300
|
-
// bazel-out/
|
|
9331
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
9301
9332
|
function createHostPropertyOp(name, expression, isAnimationTrigger, sourceSpan) {
|
|
9302
9333
|
return __spreadValues(__spreadValues({
|
|
9303
9334
|
kind: OpKind.HostProperty,
|
|
@@ -9308,10 +9339,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, sourceSpan)
|
|
|
9308
9339
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
9309
9340
|
}
|
|
9310
9341
|
|
|
9311
|
-
// bazel-out/
|
|
9342
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
9312
9343
|
var CTX_REF = "CTX_REF_MARKER";
|
|
9313
9344
|
|
|
9314
|
-
// bazel-out/
|
|
9345
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
9315
9346
|
var CompilationJobKind;
|
|
9316
9347
|
(function(CompilationJobKind2) {
|
|
9317
9348
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -9416,7 +9447,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
9416
9447
|
}
|
|
9417
9448
|
};
|
|
9418
9449
|
|
|
9419
|
-
// bazel-out/
|
|
9450
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
9420
9451
|
function phaseVarCounting(job) {
|
|
9421
9452
|
for (const unit of job.units) {
|
|
9422
9453
|
let varCount = 0;
|
|
@@ -9494,7 +9525,7 @@ function varsUsedByIrExpression(expr) {
|
|
|
9494
9525
|
}
|
|
9495
9526
|
}
|
|
9496
9527
|
|
|
9497
|
-
// bazel-out/
|
|
9528
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/align_pipe_variadic_var_offset.mjs
|
|
9498
9529
|
function phaseAlignPipeVariadicVarOffset(job) {
|
|
9499
9530
|
for (const unit of job.units) {
|
|
9500
9531
|
for (const op of unit.update) {
|
|
@@ -9516,7 +9547,7 @@ function phaseAlignPipeVariadicVarOffset(job) {
|
|
|
9516
9547
|
}
|
|
9517
9548
|
}
|
|
9518
9549
|
|
|
9519
|
-
// bazel-out/
|
|
9550
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
9520
9551
|
function phaseFindAnyCasts(job) {
|
|
9521
9552
|
for (const unit of job.units) {
|
|
9522
9553
|
for (const op of unit.ops()) {
|
|
@@ -9534,7 +9565,7 @@ function removeAnys(e) {
|
|
|
9534
9565
|
return e;
|
|
9535
9566
|
}
|
|
9536
9567
|
|
|
9537
|
-
// bazel-out/
|
|
9568
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
9538
9569
|
function phaseApplyI18nExpressions(job) {
|
|
9539
9570
|
for (const unit of job.units) {
|
|
9540
9571
|
for (const op of unit.update) {
|
|
@@ -9555,7 +9586,7 @@ function needsApplication(op) {
|
|
|
9555
9586
|
return false;
|
|
9556
9587
|
}
|
|
9557
9588
|
|
|
9558
|
-
// bazel-out/
|
|
9589
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
9559
9590
|
function phaseAssignI18nSlotDependencies(job) {
|
|
9560
9591
|
const i18nLastSlotConsumers = /* @__PURE__ */ new Map();
|
|
9561
9592
|
let lastSlotConsumer = null;
|
|
@@ -9576,7 +9607,7 @@ function phaseAssignI18nSlotDependencies(job) {
|
|
|
9576
9607
|
}
|
|
9577
9608
|
}
|
|
9578
9609
|
|
|
9579
|
-
// bazel-out/
|
|
9610
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
9580
9611
|
function getElementsByXrefId(unit) {
|
|
9581
9612
|
const elements = /* @__PURE__ */ new Map();
|
|
9582
9613
|
for (const op of unit.create) {
|
|
@@ -9588,7 +9619,7 @@ function getElementsByXrefId(unit) {
|
|
|
9588
9619
|
return elements;
|
|
9589
9620
|
}
|
|
9590
9621
|
|
|
9591
|
-
// bazel-out/
|
|
9622
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
9592
9623
|
function phaseAttributeExtraction(job) {
|
|
9593
9624
|
for (const unit of job.units) {
|
|
9594
9625
|
const elements = getElementsByXrefId(unit);
|
|
@@ -9655,7 +9686,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
9655
9686
|
}
|
|
9656
9687
|
}
|
|
9657
9688
|
|
|
9658
|
-
// bazel-out/
|
|
9689
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
9659
9690
|
function lookupElement2(elements, xref) {
|
|
9660
9691
|
const el = elements.get(xref);
|
|
9661
9692
|
if (el === void 0) {
|
|
@@ -9705,7 +9736,7 @@ function phaseBindingSpecialization(job) {
|
|
|
9705
9736
|
}
|
|
9706
9737
|
}
|
|
9707
9738
|
|
|
9708
|
-
// bazel-out/
|
|
9739
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
9709
9740
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
9710
9741
|
Identifiers.attribute,
|
|
9711
9742
|
Identifiers.classProp,
|
|
@@ -9771,7 +9802,7 @@ function chainOperationsInList(opList) {
|
|
|
9771
9802
|
}
|
|
9772
9803
|
}
|
|
9773
9804
|
|
|
9774
|
-
// bazel-out/
|
|
9805
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
9775
9806
|
function phaseConditionals(job) {
|
|
9776
9807
|
for (const unit of job.units) {
|
|
9777
9808
|
for (const op of unit.ops()) {
|
|
@@ -9807,7 +9838,7 @@ function phaseConditionals(job) {
|
|
|
9807
9838
|
}
|
|
9808
9839
|
}
|
|
9809
9840
|
|
|
9810
|
-
// bazel-out/
|
|
9841
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
9811
9842
|
var TagContentType;
|
|
9812
9843
|
(function(TagContentType2) {
|
|
9813
9844
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -9840,7 +9871,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
9840
9871
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
9841
9872
|
}
|
|
9842
9873
|
|
|
9843
|
-
// bazel-out/
|
|
9874
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
9844
9875
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
9845
9876
|
["&&", BinaryOperator.And],
|
|
9846
9877
|
[">", BinaryOperator.Bigger],
|
|
@@ -9890,7 +9921,7 @@ function literalOrArrayLiteral2(value) {
|
|
|
9890
9921
|
return literal(value, INFERRED_TYPE);
|
|
9891
9922
|
}
|
|
9892
9923
|
|
|
9893
|
-
// bazel-out/
|
|
9924
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
9894
9925
|
function phaseConstCollection(job) {
|
|
9895
9926
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
9896
9927
|
for (const unit of job.units) {
|
|
@@ -10024,7 +10055,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
10024
10055
|
return literalArr(attrArray);
|
|
10025
10056
|
}
|
|
10026
10057
|
|
|
10027
|
-
// bazel-out/
|
|
10058
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
10028
10059
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
10029
10060
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
10030
10061
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -10051,7 +10082,7 @@ function phaseEmptyElements(job) {
|
|
|
10051
10082
|
}
|
|
10052
10083
|
}
|
|
10053
10084
|
|
|
10054
|
-
// bazel-out/
|
|
10085
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
10055
10086
|
function phaseExpandSafeReads(job) {
|
|
10056
10087
|
for (const unit of job.units) {
|
|
10057
10088
|
for (const op of unit.ops()) {
|
|
@@ -10187,7 +10218,7 @@ function ternaryTransform(e) {
|
|
|
10187
10218
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
10188
10219
|
}
|
|
10189
10220
|
|
|
10190
|
-
// bazel-out/
|
|
10221
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
10191
10222
|
function phaseGenerateAdvance(job) {
|
|
10192
10223
|
for (const unit of job.units) {
|
|
10193
10224
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -10219,7 +10250,7 @@ function phaseGenerateAdvance(job) {
|
|
|
10219
10250
|
}
|
|
10220
10251
|
}
|
|
10221
10252
|
|
|
10222
|
-
// bazel-out/
|
|
10253
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
10223
10254
|
function phaseGenerateProjectionDef(job) {
|
|
10224
10255
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
10225
10256
|
const selectors = [];
|
|
@@ -10243,7 +10274,7 @@ function phaseGenerateProjectionDef(job) {
|
|
|
10243
10274
|
}
|
|
10244
10275
|
}
|
|
10245
10276
|
|
|
10246
|
-
// bazel-out/
|
|
10277
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
10247
10278
|
function phaseGenerateVariables(job) {
|
|
10248
10279
|
recursivelyProcessView(job.root, null);
|
|
10249
10280
|
}
|
|
@@ -10283,7 +10314,6 @@ function getScopeForView(view, parent) {
|
|
|
10283
10314
|
}
|
|
10284
10315
|
for (const op of view.create) {
|
|
10285
10316
|
switch (op.kind) {
|
|
10286
|
-
case OpKind.Element:
|
|
10287
10317
|
case OpKind.ElementStart:
|
|
10288
10318
|
case OpKind.Template:
|
|
10289
10319
|
if (!Array.isArray(op.localRefs)) {
|
|
@@ -10325,7 +10355,7 @@ function generateVariablesInScopeForView(view, scope) {
|
|
|
10325
10355
|
return newOps;
|
|
10326
10356
|
}
|
|
10327
10357
|
|
|
10328
|
-
// bazel-out/
|
|
10358
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_trait_collection.mjs
|
|
10329
10359
|
function phaseConstTraitCollection(job) {
|
|
10330
10360
|
const collectGlobalConsts = (e) => {
|
|
10331
10361
|
if (e instanceof ExpressionBase && hasConstTrait(e)) {
|
|
@@ -10346,7 +10376,7 @@ function phaseConstTraitCollection(job) {
|
|
|
10346
10376
|
}
|
|
10347
10377
|
}
|
|
10348
10378
|
|
|
10349
|
-
// bazel-out/
|
|
10379
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
10350
10380
|
var STYLE_DOT = "style.";
|
|
10351
10381
|
var CLASS_DOT = "class.";
|
|
10352
10382
|
var STYLE_BANG = "style!";
|
|
@@ -10404,7 +10434,7 @@ function parseProperty(name) {
|
|
|
10404
10434
|
return { property: property2, suffix };
|
|
10405
10435
|
}
|
|
10406
10436
|
|
|
10407
|
-
// bazel-out/
|
|
10437
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
10408
10438
|
function phaseI18nConstCollection(job) {
|
|
10409
10439
|
const messageConstIndices = {};
|
|
10410
10440
|
for (const unit of job.units) {
|
|
@@ -10417,14 +10447,14 @@ function phaseI18nConstCollection(job) {
|
|
|
10417
10447
|
}
|
|
10418
10448
|
for (const unit of job.units) {
|
|
10419
10449
|
for (const op of unit.create) {
|
|
10420
|
-
if (op.kind === OpKind.I18nStart
|
|
10450
|
+
if (op.kind === OpKind.I18nStart) {
|
|
10421
10451
|
op.messageIndex = messageConstIndices[op.root];
|
|
10422
10452
|
}
|
|
10423
10453
|
}
|
|
10424
10454
|
}
|
|
10425
10455
|
}
|
|
10426
10456
|
|
|
10427
|
-
// bazel-out/
|
|
10457
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
10428
10458
|
function mapLiteral(obj, quoted = false) {
|
|
10429
10459
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
10430
10460
|
key,
|
|
@@ -10433,7 +10463,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
10433
10463
|
})));
|
|
10434
10464
|
}
|
|
10435
10465
|
|
|
10436
|
-
// bazel-out/
|
|
10466
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
10437
10467
|
var IcuSerializerVisitor = class {
|
|
10438
10468
|
visitText(text2) {
|
|
10439
10469
|
return text2.value;
|
|
@@ -10464,7 +10494,7 @@ function serializeIcuNode(icu) {
|
|
|
10464
10494
|
return icu.visit(serializer);
|
|
10465
10495
|
}
|
|
10466
10496
|
|
|
10467
|
-
// bazel-out/
|
|
10497
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
10468
10498
|
var TokenType;
|
|
10469
10499
|
(function(TokenType2) {
|
|
10470
10500
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -10825,7 +10855,7 @@ function parseIntAutoRadix(text2) {
|
|
|
10825
10855
|
return result;
|
|
10826
10856
|
}
|
|
10827
10857
|
|
|
10828
|
-
// bazel-out/
|
|
10858
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
10829
10859
|
var SplitInterpolation = class {
|
|
10830
10860
|
constructor(strings, expressions, offsets) {
|
|
10831
10861
|
this.strings = strings;
|
|
@@ -11719,7 +11749,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
11719
11749
|
return offsetMap;
|
|
11720
11750
|
}
|
|
11721
11751
|
|
|
11722
|
-
// bazel-out/
|
|
11752
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
11723
11753
|
var NodeWithI18n = class {
|
|
11724
11754
|
constructor(sourceSpan, i18n2) {
|
|
11725
11755
|
this.sourceSpan = sourceSpan;
|
|
@@ -11829,11 +11859,11 @@ function visitAll2(visitor, nodes, context = null) {
|
|
|
11829
11859
|
return result;
|
|
11830
11860
|
}
|
|
11831
11861
|
|
|
11832
|
-
// bazel-out/
|
|
11862
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
11833
11863
|
var ElementSchemaRegistry = class {
|
|
11834
11864
|
};
|
|
11835
11865
|
|
|
11836
|
-
// bazel-out/
|
|
11866
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
11837
11867
|
var BOOLEAN = "boolean";
|
|
11838
11868
|
var NUMBER = "number";
|
|
11839
11869
|
var STRING = "string";
|
|
@@ -12186,7 +12216,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
12186
12216
|
}
|
|
12187
12217
|
}
|
|
12188
12218
|
|
|
12189
|
-
// bazel-out/
|
|
12219
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
12190
12220
|
var HtmlTagDefinition = class {
|
|
12191
12221
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
12192
12222
|
this.closedByChildren = {};
|
|
@@ -12219,7 +12249,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
12219
12249
|
var _a2, _b2;
|
|
12220
12250
|
if (!TAG_DEFINITIONS) {
|
|
12221
12251
|
DEFAULT_TAG_DEFINITION = new HtmlTagDefinition({ canSelfClose: true });
|
|
12222
|
-
TAG_DEFINITIONS = {
|
|
12252
|
+
TAG_DEFINITIONS = Object.assign(/* @__PURE__ */ Object.create(null), {
|
|
12223
12253
|
"base": new HtmlTagDefinition({ isVoid: true }),
|
|
12224
12254
|
"meta": new HtmlTagDefinition({ isVoid: true }),
|
|
12225
12255
|
"area": new HtmlTagDefinition({ isVoid: true }),
|
|
@@ -12294,9 +12324,9 @@ function getHtmlTagDefinition(tagName) {
|
|
|
12294
12324
|
contentType: { default: TagContentType.ESCAPABLE_RAW_TEXT, svg: TagContentType.PARSABLE_DATA }
|
|
12295
12325
|
}),
|
|
12296
12326
|
"textarea": new HtmlTagDefinition({ contentType: TagContentType.ESCAPABLE_RAW_TEXT, ignoreFirstLf: true })
|
|
12297
|
-
};
|
|
12327
|
+
});
|
|
12298
12328
|
new DomElementSchemaRegistry().allKnownElementNames().forEach((knownTagName) => {
|
|
12299
|
-
if (!TAG_DEFINITIONS
|
|
12329
|
+
if (!TAG_DEFINITIONS[knownTagName] && getNsPrefix(knownTagName) === null) {
|
|
12300
12330
|
TAG_DEFINITIONS[knownTagName] = new HtmlTagDefinition({ canSelfClose: false });
|
|
12301
12331
|
}
|
|
12302
12332
|
});
|
|
@@ -12304,7 +12334,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
12304
12334
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
12305
12335
|
}
|
|
12306
12336
|
|
|
12307
|
-
// bazel-out/
|
|
12337
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
12308
12338
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
12309
12339
|
"A": "LINK",
|
|
12310
12340
|
"B": "BOLD_TEXT",
|
|
@@ -12398,7 +12428,7 @@ var PlaceholderRegistry = class {
|
|
|
12398
12428
|
}
|
|
12399
12429
|
};
|
|
12400
12430
|
|
|
12401
|
-
// bazel-out/
|
|
12431
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
12402
12432
|
var _expParser = new Parser(new Lexer());
|
|
12403
12433
|
function createI18nMessageFactory(interpolationConfig) {
|
|
12404
12434
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig);
|
|
@@ -12560,14 +12590,14 @@ function extractPlaceholderName(input) {
|
|
|
12560
12590
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
12561
12591
|
}
|
|
12562
12592
|
|
|
12563
|
-
// bazel-out/
|
|
12593
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
12564
12594
|
var I18nError = class extends ParseError {
|
|
12565
12595
|
constructor(span, msg) {
|
|
12566
12596
|
super(span, msg);
|
|
12567
12597
|
}
|
|
12568
12598
|
};
|
|
12569
12599
|
|
|
12570
|
-
// bazel-out/
|
|
12600
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
12571
12601
|
var NAMED_ENTITIES = {
|
|
12572
12602
|
"AElig": "\xC6",
|
|
12573
12603
|
"AMP": "&",
|
|
@@ -14698,7 +14728,7 @@ var NAMED_ENTITIES = {
|
|
|
14698
14728
|
var NGSP_UNICODE = "\uE500";
|
|
14699
14729
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
14700
14730
|
|
|
14701
|
-
// bazel-out/
|
|
14731
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
14702
14732
|
var TokenError = class extends ParseError {
|
|
14703
14733
|
constructor(errorMsg, tokenType, span) {
|
|
14704
14734
|
super(span, errorMsg);
|
|
@@ -15629,7 +15659,7 @@ var CursorError = class {
|
|
|
15629
15659
|
}
|
|
15630
15660
|
};
|
|
15631
15661
|
|
|
15632
|
-
// bazel-out/
|
|
15662
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
15633
15663
|
var TreeError = class extends ParseError {
|
|
15634
15664
|
static create(elementName, span, msg) {
|
|
15635
15665
|
return new TreeError(elementName, span, msg);
|
|
@@ -16013,7 +16043,7 @@ function decodeEntity(match, entity) {
|
|
|
16013
16043
|
return match;
|
|
16014
16044
|
}
|
|
16015
16045
|
|
|
16016
|
-
// bazel-out/
|
|
16046
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
16017
16047
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
16018
16048
|
"iframe|srcdoc",
|
|
16019
16049
|
"*|innerhtml",
|
|
@@ -16028,7 +16058,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
16028
16058
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
16029
16059
|
}
|
|
16030
16060
|
|
|
16031
|
-
// bazel-out/
|
|
16061
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
16032
16062
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
16033
16063
|
if (htmlNode instanceof NodeWithI18n) {
|
|
16034
16064
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -16184,7 +16214,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
16184
16214
|
return jsDocComment(tags);
|
|
16185
16215
|
}
|
|
16186
16216
|
|
|
16187
|
-
// bazel-out/
|
|
16217
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
16188
16218
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
16189
16219
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
16190
16220
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -16232,7 +16262,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
16232
16262
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
16233
16263
|
}
|
|
16234
16264
|
|
|
16235
|
-
// bazel-out/
|
|
16265
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
16236
16266
|
function createLocalizeStatements(variable2, message, params) {
|
|
16237
16267
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
16238
16268
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -16315,19 +16345,27 @@ function createEmptyMessagePart(location) {
|
|
|
16315
16345
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
16316
16346
|
}
|
|
16317
16347
|
|
|
16318
|
-
// bazel-out/
|
|
16348
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_message_extraction.mjs
|
|
16319
16349
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
16320
16350
|
var TRANSLATION_VAR_PREFIX2 = "i18n_";
|
|
16321
16351
|
function phaseI18nMessageExtraction(job) {
|
|
16322
16352
|
const fileBasedI18nSuffix = job.relativeContextFilePath.replace(/[^A-Za-z0-9]/g, "_").toUpperCase() + "_";
|
|
16323
16353
|
for (const unit of job.units) {
|
|
16324
16354
|
for (const op of unit.create) {
|
|
16325
|
-
if (op.kind === OpKind.I18nStart
|
|
16355
|
+
if (op.kind === OpKind.I18nStart) {
|
|
16326
16356
|
if (op.xref === op.root) {
|
|
16327
16357
|
const params = new Map([...op.params.entries()].sort());
|
|
16328
16358
|
const mainVar = variable(job.pool.uniqueName(TRANSLATION_VAR_PREFIX2));
|
|
16329
16359
|
const closureVar = i18nGenerateClosureVar(job.pool, op.message.id, fileBasedI18nSuffix, job.i18nUseExternalIds);
|
|
16330
|
-
|
|
16360
|
+
let transformFn = void 0;
|
|
16361
|
+
if (op.needsPostprocessing) {
|
|
16362
|
+
const extraTransformFnParams = [];
|
|
16363
|
+
if (op.postprocessingParams.size > 0) {
|
|
16364
|
+
extraTransformFnParams.push(literalMap([...op.postprocessingParams.entries()].map(([key, value]) => ({ key, value, quoted: true }))));
|
|
16365
|
+
}
|
|
16366
|
+
transformFn = (expr) => importExpr(Identifiers.i18nPostprocess).callFn([expr, ...extraTransformFnParams]);
|
|
16367
|
+
}
|
|
16368
|
+
const statements = getTranslationDeclStmts(op.message, mainVar, closureVar, params, transformFn);
|
|
16331
16369
|
unit.create.push(createExtractedMessageOp(op.xref, mainVar, statements));
|
|
16332
16370
|
}
|
|
16333
16371
|
}
|
|
@@ -16362,7 +16400,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
16362
16400
|
return variable(name);
|
|
16363
16401
|
}
|
|
16364
16402
|
|
|
16365
|
-
// bazel-out/
|
|
16403
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
16366
16404
|
function phaseI18nTextExtraction(job) {
|
|
16367
16405
|
var _a2;
|
|
16368
16406
|
for (const unit of job.units) {
|
|
@@ -16395,7 +16433,7 @@ function phaseI18nTextExtraction(job) {
|
|
|
16395
16433
|
for (let i = 0; i < op.interpolation.expressions.length; i++) {
|
|
16396
16434
|
const expr = op.interpolation.expressions[i];
|
|
16397
16435
|
const placeholder = op.i18nPlaceholders[i];
|
|
16398
|
-
ops.push(createI18nExpressionOp(i18nBlockId, expr, placeholder, (_a2 = expr.sourceSpan) != null ? _a2 : op.sourceSpan));
|
|
16436
|
+
ops.push(createI18nExpressionOp(i18nBlockId, expr, placeholder.name, I18nParamResolutionTime.Creation, (_a2 = expr.sourceSpan) != null ? _a2 : op.sourceSpan));
|
|
16399
16437
|
}
|
|
16400
16438
|
if (ops.length > 0) {
|
|
16401
16439
|
}
|
|
@@ -16406,13 +16444,52 @@ function phaseI18nTextExtraction(job) {
|
|
|
16406
16444
|
}
|
|
16407
16445
|
}
|
|
16408
16446
|
|
|
16409
|
-
// bazel-out/
|
|
16447
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/icu_extraction.mjs
|
|
16448
|
+
function phaseIcuExtraction(job) {
|
|
16449
|
+
for (const unit of job.units) {
|
|
16450
|
+
const icus = /* @__PURE__ */ new Map();
|
|
16451
|
+
let currentI18nId = null;
|
|
16452
|
+
for (const op of unit.create) {
|
|
16453
|
+
switch (op.kind) {
|
|
16454
|
+
case OpKind.I18nStart:
|
|
16455
|
+
currentI18nId = op.xref;
|
|
16456
|
+
break;
|
|
16457
|
+
case OpKind.I18nEnd:
|
|
16458
|
+
currentI18nId = null;
|
|
16459
|
+
break;
|
|
16460
|
+
case OpKind.Icu:
|
|
16461
|
+
if (currentI18nId === null) {
|
|
16462
|
+
throw Error("Unexpected ICU outside of an i18n block.");
|
|
16463
|
+
}
|
|
16464
|
+
icus.set(op.xref, { message: op.message, i18nBlockId: currentI18nId });
|
|
16465
|
+
OpList.remove(op);
|
|
16466
|
+
break;
|
|
16467
|
+
}
|
|
16468
|
+
}
|
|
16469
|
+
for (const op of unit.update) {
|
|
16470
|
+
switch (op.kind) {
|
|
16471
|
+
case OpKind.IcuUpdate:
|
|
16472
|
+
const { message, i18nBlockId } = icus.get(op.xref);
|
|
16473
|
+
const icuNode = message.nodes.find((n) => n instanceof Icu2);
|
|
16474
|
+
if (icuNode === void 0) {
|
|
16475
|
+
throw Error("Could not find ICU in i18n AST");
|
|
16476
|
+
}
|
|
16477
|
+
if (icuNode.expressionPlaceholder === void 0) {
|
|
16478
|
+
throw Error("ICU is missing an i18n placeholder");
|
|
16479
|
+
}
|
|
16480
|
+
OpList.replace(op, createI18nExpressionOp(i18nBlockId, new LexicalReadExpr(icuNode.expression), icuNode.expressionPlaceholder, I18nParamResolutionTime.Postproccessing, null));
|
|
16481
|
+
break;
|
|
16482
|
+
}
|
|
16483
|
+
}
|
|
16484
|
+
}
|
|
16485
|
+
}
|
|
16486
|
+
|
|
16487
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
16410
16488
|
function phaseLocalRefs(job) {
|
|
16411
16489
|
for (const unit of job.units) {
|
|
16412
16490
|
for (const op of unit.create) {
|
|
16413
16491
|
switch (op.kind) {
|
|
16414
16492
|
case OpKind.ElementStart:
|
|
16415
|
-
case OpKind.Element:
|
|
16416
16493
|
case OpKind.Template:
|
|
16417
16494
|
if (!Array.isArray(op.localRefs)) {
|
|
16418
16495
|
throw new Error(`AssertionError: expected localRefs to be an array still`);
|
|
@@ -16437,12 +16514,12 @@ function serializeLocalRefs(refs) {
|
|
|
16437
16514
|
return literalArr(constRefs);
|
|
16438
16515
|
}
|
|
16439
16516
|
|
|
16440
|
-
// bazel-out/
|
|
16517
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
16441
16518
|
function phaseNamespace(job) {
|
|
16442
16519
|
for (const unit of job.units) {
|
|
16443
16520
|
let activeNamespace = Namespace.HTML;
|
|
16444
16521
|
for (const op of unit.create) {
|
|
16445
|
-
if (op.kind !== OpKind.
|
|
16522
|
+
if (op.kind !== OpKind.ElementStart) {
|
|
16446
16523
|
continue;
|
|
16447
16524
|
}
|
|
16448
16525
|
if (op.namespace !== activeNamespace) {
|
|
@@ -16453,7 +16530,7 @@ function phaseNamespace(job) {
|
|
|
16453
16530
|
}
|
|
16454
16531
|
}
|
|
16455
16532
|
|
|
16456
|
-
// bazel-out/
|
|
16533
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
|
|
16457
16534
|
function parse(value) {
|
|
16458
16535
|
const styles = [];
|
|
16459
16536
|
let i = 0;
|
|
@@ -16514,7 +16591,7 @@ function hyphenate2(value) {
|
|
|
16514
16591
|
}).toLowerCase();
|
|
16515
16592
|
}
|
|
16516
16593
|
|
|
16517
|
-
// bazel-out/
|
|
16594
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
16518
16595
|
function phaseNaming(cpl) {
|
|
16519
16596
|
addNamesToView(cpl.root, cpl.componentName, { index: 0 }, cpl.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
16520
16597
|
}
|
|
@@ -16561,7 +16638,8 @@ function addNamesToView(unit, baseName, state, compatibility) {
|
|
|
16561
16638
|
if (op.slot === null) {
|
|
16562
16639
|
throw new Error(`Expected slot to be assigned`);
|
|
16563
16640
|
}
|
|
16564
|
-
|
|
16641
|
+
const tagToken = op.tag === null ? "" : "_" + prefixWithNamespace(op.tag, op.namespace);
|
|
16642
|
+
addNamesToView(childView, `${baseName}${tagToken}_${op.slot}`, state, compatibility);
|
|
16565
16643
|
break;
|
|
16566
16644
|
case OpKind.StyleProp:
|
|
16567
16645
|
op.name = normalizeStylePropName(op.name);
|
|
@@ -16615,7 +16693,7 @@ function stripImportant(name) {
|
|
|
16615
16693
|
return name;
|
|
16616
16694
|
}
|
|
16617
16695
|
|
|
16618
|
-
// bazel-out/
|
|
16696
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
16619
16697
|
function phaseMergeNextContext(job) {
|
|
16620
16698
|
for (const unit of job.units) {
|
|
16621
16699
|
for (const op of unit.create) {
|
|
@@ -16661,16 +16739,12 @@ function mergeNextContextsInOps(ops) {
|
|
|
16661
16739
|
}
|
|
16662
16740
|
}
|
|
16663
16741
|
|
|
16664
|
-
// bazel-out/
|
|
16742
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
16665
16743
|
var CONTAINER_TAG = "ng-container";
|
|
16666
16744
|
function phaseNgContainer(job) {
|
|
16667
16745
|
for (const unit of job.units) {
|
|
16668
16746
|
const updatedElementXrefs = /* @__PURE__ */ new Set();
|
|
16669
16747
|
for (const op of unit.create) {
|
|
16670
|
-
if (op.kind === OpKind.Element && op.tag === CONTAINER_TAG) {
|
|
16671
|
-
op.kind = OpKind.Container;
|
|
16672
|
-
updatedElementXrefs.add(op.xref);
|
|
16673
|
-
}
|
|
16674
16748
|
if (op.kind === OpKind.ElementStart && op.tag === CONTAINER_TAG) {
|
|
16675
16749
|
op.kind = OpKind.ContainerStart;
|
|
16676
16750
|
updatedElementXrefs.add(op.xref);
|
|
@@ -16682,7 +16756,7 @@ function phaseNgContainer(job) {
|
|
|
16682
16756
|
}
|
|
16683
16757
|
}
|
|
16684
16758
|
|
|
16685
|
-
// bazel-out/
|
|
16759
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
16686
16760
|
function lookupElement3(elements, xref) {
|
|
16687
16761
|
const el = elements.get(xref);
|
|
16688
16762
|
if (el === void 0) {
|
|
@@ -16712,7 +16786,7 @@ function phaseNonbindable(job) {
|
|
|
16712
16786
|
}
|
|
16713
16787
|
}
|
|
16714
16788
|
|
|
16715
|
-
// bazel-out/
|
|
16789
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
16716
16790
|
function phaseNullishCoalescing(job) {
|
|
16717
16791
|
for (const unit of job.units) {
|
|
16718
16792
|
for (const op of unit.ops()) {
|
|
@@ -16728,7 +16802,7 @@ function phaseNullishCoalescing(job) {
|
|
|
16728
16802
|
}
|
|
16729
16803
|
}
|
|
16730
16804
|
|
|
16731
|
-
// bazel-out/
|
|
16805
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
16732
16806
|
function kindTest(kind) {
|
|
16733
16807
|
return (op) => op.kind === kind;
|
|
16734
16808
|
}
|
|
@@ -16798,7 +16872,7 @@ function keepLast(ops) {
|
|
|
16798
16872
|
return ops.slice(ops.length - 1);
|
|
16799
16873
|
}
|
|
16800
16874
|
|
|
16801
|
-
// bazel-out/
|
|
16875
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
16802
16876
|
function phaseParseExtractedStyles(cpl) {
|
|
16803
16877
|
for (const unit of cpl.units) {
|
|
16804
16878
|
for (const op of unit.create) {
|
|
@@ -16821,7 +16895,7 @@ function phaseParseExtractedStyles(cpl) {
|
|
|
16821
16895
|
}
|
|
16822
16896
|
}
|
|
16823
16897
|
|
|
16824
|
-
// bazel-out/
|
|
16898
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
16825
16899
|
function phaseRemoveContentSelectors(job) {
|
|
16826
16900
|
for (const unit of job.units) {
|
|
16827
16901
|
const elements = getElementsByXrefId(unit);
|
|
@@ -16845,7 +16919,7 @@ function lookupElement4(elements, xref) {
|
|
|
16845
16919
|
return el;
|
|
16846
16920
|
}
|
|
16847
16921
|
|
|
16848
|
-
// bazel-out/
|
|
16922
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
16849
16923
|
function phasePipeCreation(job) {
|
|
16850
16924
|
for (const unit of job.units) {
|
|
16851
16925
|
processPipeBindingsInView(unit);
|
|
@@ -16888,7 +16962,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
16888
16962
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
16889
16963
|
}
|
|
16890
16964
|
|
|
16891
|
-
// bazel-out/
|
|
16965
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
16892
16966
|
function phasePipeVariadic(job) {
|
|
16893
16967
|
for (const unit of job.units) {
|
|
16894
16968
|
for (const op of unit.update) {
|
|
@@ -16905,7 +16979,7 @@ function phasePipeVariadic(job) {
|
|
|
16905
16979
|
}
|
|
16906
16980
|
}
|
|
16907
16981
|
|
|
16908
|
-
// bazel-out/
|
|
16982
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
16909
16983
|
function phasePropagateI18nBlocks(job) {
|
|
16910
16984
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
16911
16985
|
}
|
|
@@ -16942,36 +17016,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
16942
17016
|
}
|
|
16943
17017
|
}
|
|
16944
17018
|
|
|
16945
|
-
// bazel-out/
|
|
16946
|
-
function phasePropagateI18nPlaceholders(job) {
|
|
16947
|
-
const i18nOps = /* @__PURE__ */ new Map();
|
|
16948
|
-
for (const unit of job.units) {
|
|
16949
|
-
for (const op of unit.create) {
|
|
16950
|
-
if (op.kind === OpKind.I18nStart) {
|
|
16951
|
-
i18nOps.set(op.xref, op);
|
|
16952
|
-
}
|
|
16953
|
-
}
|
|
16954
|
-
}
|
|
16955
|
-
for (const op of i18nOps.values()) {
|
|
16956
|
-
if (op.xref !== op.root) {
|
|
16957
|
-
const rootOp = i18nOps.get(op.root);
|
|
16958
|
-
for (const [placeholder, value] of op.params) {
|
|
16959
|
-
rootOp.params.set(placeholder, value);
|
|
16960
|
-
}
|
|
16961
|
-
}
|
|
16962
|
-
}
|
|
16963
|
-
for (const op of i18nOps.values()) {
|
|
16964
|
-
if (op.xref === op.root) {
|
|
16965
|
-
for (const placeholder in op.message.placeholders) {
|
|
16966
|
-
if (!op.params.has(placeholder)) {
|
|
16967
|
-
throw Error(`Failed to resolve i18n placeholder: ${placeholder}`);
|
|
16968
|
-
}
|
|
16969
|
-
}
|
|
16970
|
-
}
|
|
16971
|
-
}
|
|
16972
|
-
}
|
|
16973
|
-
|
|
16974
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
17019
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
16975
17020
|
function phasePureFunctionExtraction(job) {
|
|
16976
17021
|
for (const view of job.units) {
|
|
16977
17022
|
for (const op of view.ops()) {
|
|
@@ -17013,7 +17058,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
17013
17058
|
}
|
|
17014
17059
|
};
|
|
17015
17060
|
|
|
17016
|
-
// bazel-out/
|
|
17061
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
17017
17062
|
function phasePureLiteralStructures(job) {
|
|
17018
17063
|
for (const view of job.units) {
|
|
17019
17064
|
for (const op of view.update) {
|
|
@@ -17060,7 +17105,7 @@ function transformLiteralMap(expr) {
|
|
|
17060
17105
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
17061
17106
|
}
|
|
17062
17107
|
|
|
17063
|
-
// bazel-out/
|
|
17108
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
17064
17109
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
17065
17110
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
17066
17111
|
}
|
|
@@ -17096,7 +17141,7 @@ function elementContainerEnd() {
|
|
|
17096
17141
|
}
|
|
17097
17142
|
function template(slot, templateFnRef, decls, vars, tag, constIndex, sourceSpan) {
|
|
17098
17143
|
const args = [literal(slot), templateFnRef, literal(decls), literal(vars)];
|
|
17099
|
-
if (tag !== null) {
|
|
17144
|
+
if (tag !== null || constIndex !== null) {
|
|
17100
17145
|
args.push(literal(tag));
|
|
17101
17146
|
if (constIndex !== null) {
|
|
17102
17147
|
args.push(literal(constIndex));
|
|
@@ -17515,7 +17560,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
17515
17560
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
17516
17561
|
}
|
|
17517
17562
|
|
|
17518
|
-
// bazel-out/
|
|
17563
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
17519
17564
|
var sanitizerIdentifierMap = /* @__PURE__ */ new Map([
|
|
17520
17565
|
[SanitizerFn.Html, Identifiers.sanitizeHtml],
|
|
17521
17566
|
[SanitizerFn.IframeAttribute, Identifiers.validateIframeAttribute],
|
|
@@ -17787,7 +17832,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
17787
17832
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
17788
17833
|
}
|
|
17789
17834
|
|
|
17790
|
-
// bazel-out/
|
|
17835
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
17791
17836
|
function phaseRemoveEmptyBindings(job) {
|
|
17792
17837
|
for (const unit of job.units) {
|
|
17793
17838
|
for (const op of unit.update) {
|
|
@@ -17808,7 +17853,7 @@ function phaseRemoveEmptyBindings(job) {
|
|
|
17808
17853
|
}
|
|
17809
17854
|
}
|
|
17810
17855
|
|
|
17811
|
-
// bazel-out/
|
|
17856
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
17812
17857
|
function phaseResolveContexts(cpl) {
|
|
17813
17858
|
for (const unit of cpl.units) {
|
|
17814
17859
|
processLexicalScope(unit, unit.create);
|
|
@@ -17846,7 +17891,7 @@ function processLexicalScope(view, ops) {
|
|
|
17846
17891
|
}
|
|
17847
17892
|
}
|
|
17848
17893
|
|
|
17849
|
-
// bazel-out/
|
|
17894
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
17850
17895
|
function phaseResolveDollarEvent(job) {
|
|
17851
17896
|
for (const unit of job.units) {
|
|
17852
17897
|
resolveDollarEvent(unit, unit.create);
|
|
@@ -17867,7 +17912,7 @@ function resolveDollarEvent(unit, ops) {
|
|
|
17867
17912
|
}
|
|
17868
17913
|
}
|
|
17869
17914
|
|
|
17870
|
-
// bazel-out/
|
|
17915
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_placeholders.mjs
|
|
17871
17916
|
var ESCAPE = "\uFFFD";
|
|
17872
17917
|
var ELEMENT_MARKER = "#";
|
|
17873
17918
|
var TEMPLATE_MARKER = "*";
|
|
@@ -17881,24 +17926,51 @@ var I18nParamValueFlags;
|
|
|
17881
17926
|
I18nParamValueFlags2[I18nParamValueFlags2["None"] = 0] = "None";
|
|
17882
17927
|
I18nParamValueFlags2[I18nParamValueFlags2["ElementTag"] = 1] = "ElementTag";
|
|
17883
17928
|
I18nParamValueFlags2[I18nParamValueFlags2["TemplateTag"] = 2] = "TemplateTag";
|
|
17884
|
-
I18nParamValueFlags2[I18nParamValueFlags2["
|
|
17929
|
+
I18nParamValueFlags2[I18nParamValueFlags2["OpenTag"] = 4] = "OpenTag";
|
|
17930
|
+
I18nParamValueFlags2[I18nParamValueFlags2["CloseTag"] = 8] = "CloseTag";
|
|
17885
17931
|
})(I18nParamValueFlags || (I18nParamValueFlags = {}));
|
|
17886
17932
|
var I18nPlaceholderParams = class {
|
|
17887
17933
|
constructor() {
|
|
17888
17934
|
this.values = /* @__PURE__ */ new Map();
|
|
17889
17935
|
}
|
|
17890
|
-
addValue(placeholder, value, subTemplateIndex, flags) {
|
|
17936
|
+
addValue(placeholder, value, subTemplateIndex, resolutionTime, flags) {
|
|
17891
17937
|
var _a2;
|
|
17892
17938
|
const placeholderValues = (_a2 = this.values.get(placeholder)) != null ? _a2 : [];
|
|
17893
|
-
placeholderValues.push({ value, subTemplateIndex, flags });
|
|
17939
|
+
placeholderValues.push({ value, subTemplateIndex, resolutionTime, flags });
|
|
17894
17940
|
this.values.set(placeholder, placeholderValues);
|
|
17895
17941
|
}
|
|
17896
17942
|
saveToOp(op) {
|
|
17897
17943
|
for (const [placeholder, placeholderValues] of this.values) {
|
|
17898
|
-
|
|
17944
|
+
const creationValues = placeholderValues.filter(({ resolutionTime }) => resolutionTime === I18nParamResolutionTime.Creation);
|
|
17945
|
+
if (creationValues.length > 1) {
|
|
17946
|
+
op.needsPostprocessing = true;
|
|
17947
|
+
}
|
|
17948
|
+
const serializedCreationValues = this.serializeValues(creationValues);
|
|
17949
|
+
if (serializedCreationValues !== null) {
|
|
17950
|
+
op.params.set(placeholder, literal(serializedCreationValues));
|
|
17951
|
+
}
|
|
17952
|
+
const serializedPostprocessingValues = this.serializeValues(placeholderValues.filter(({ resolutionTime }) => resolutionTime === I18nParamResolutionTime.Postproccessing));
|
|
17953
|
+
if (serializedPostprocessingValues !== null) {
|
|
17954
|
+
op.needsPostprocessing = true;
|
|
17955
|
+
op.postprocessingParams.set(placeholder, literal(serializedPostprocessingValues));
|
|
17956
|
+
}
|
|
17957
|
+
}
|
|
17958
|
+
}
|
|
17959
|
+
merge(other) {
|
|
17960
|
+
for (const [placeholder, otherValues] of other.values) {
|
|
17961
|
+
const currentValues = this.values.get(placeholder) || [];
|
|
17962
|
+
const flags = otherValues[0].flags;
|
|
17963
|
+
if (flags & I18nParamValueFlags.CloseTag && !(flags & I18nParamValueFlags.OpenTag)) {
|
|
17964
|
+
this.values.set(placeholder, [...otherValues, ...currentValues]);
|
|
17965
|
+
} else {
|
|
17966
|
+
this.values.set(placeholder, [...currentValues, ...otherValues]);
|
|
17967
|
+
}
|
|
17899
17968
|
}
|
|
17900
17969
|
}
|
|
17901
17970
|
serializeValues(values) {
|
|
17971
|
+
if (values.length === 0) {
|
|
17972
|
+
return null;
|
|
17973
|
+
}
|
|
17902
17974
|
const serializedValues = values.map((value) => this.serializeValue(value));
|
|
17903
17975
|
return serializedValues.length === 1 ? serializedValues[0] : `${LIST_START_MARKER}${serializedValues.join(LIST_DELIMITER)}${LIST_END_MARKER}`;
|
|
17904
17976
|
}
|
|
@@ -17914,36 +17986,77 @@ var I18nPlaceholderParams = class {
|
|
|
17914
17986
|
closeMarker = value.flags & I18nParamValueFlags.CloseTag ? TAG_CLOSE_MARKER : "";
|
|
17915
17987
|
}
|
|
17916
17988
|
const context = value.subTemplateIndex === null ? "" : `${CONTEXT_MARKER}${value.subTemplateIndex}`;
|
|
17989
|
+
if (value.flags & I18nParamValueFlags.OpenTag && value.flags & I18nParamValueFlags.CloseTag) {
|
|
17990
|
+
return `${ESCAPE}${tagMarker}${value.value}${context}${ESCAPE}${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
17991
|
+
}
|
|
17917
17992
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
17918
17993
|
}
|
|
17919
17994
|
};
|
|
17920
17995
|
function phaseResolveI18nPlaceholders(job) {
|
|
17996
|
+
const params = /* @__PURE__ */ new Map();
|
|
17997
|
+
const i18nOps = /* @__PURE__ */ new Map();
|
|
17998
|
+
resolvePlaceholders(job, params, i18nOps);
|
|
17999
|
+
propagatePlaceholders(params, i18nOps);
|
|
18000
|
+
for (const [xref, i18nOpParams] of params) {
|
|
18001
|
+
i18nOpParams.saveToOp(i18nOps.get(xref));
|
|
18002
|
+
}
|
|
18003
|
+
for (const op of i18nOps.values()) {
|
|
18004
|
+
if (op.xref === op.root) {
|
|
18005
|
+
for (const placeholder in op.message.placeholders) {
|
|
18006
|
+
if (!op.params.has(placeholder) && !op.postprocessingParams.has(placeholder)) {
|
|
18007
|
+
throw Error(`Failed to resolve i18n placeholder: ${placeholder}`);
|
|
18008
|
+
}
|
|
18009
|
+
}
|
|
18010
|
+
}
|
|
18011
|
+
}
|
|
18012
|
+
}
|
|
18013
|
+
function resolvePlaceholders(job, params, i18nOps) {
|
|
17921
18014
|
for (const unit of job.units) {
|
|
17922
|
-
const
|
|
17923
|
-
const params = /* @__PURE__ */ new Map();
|
|
18015
|
+
const elements = /* @__PURE__ */ new Map();
|
|
17924
18016
|
let currentI18nOp = null;
|
|
17925
18017
|
for (const op of unit.create) {
|
|
17926
18018
|
switch (op.kind) {
|
|
17927
18019
|
case OpKind.I18nStart:
|
|
17928
|
-
case OpKind.I18n:
|
|
17929
18020
|
i18nOps.set(op.xref, op);
|
|
17930
18021
|
currentI18nOp = op.kind === OpKind.I18nStart ? op : null;
|
|
17931
18022
|
break;
|
|
17932
18023
|
case OpKind.I18nEnd:
|
|
17933
18024
|
currentI18nOp = null;
|
|
17934
18025
|
break;
|
|
17935
|
-
case OpKind.Element:
|
|
17936
18026
|
case OpKind.ElementStart:
|
|
17937
|
-
case OpKind.Template:
|
|
17938
18027
|
if (op.i18nPlaceholder !== void 0) {
|
|
17939
18028
|
if (currentI18nOp === null) {
|
|
17940
18029
|
throw Error("i18n tag placeholder should only occur inside an i18n block");
|
|
17941
18030
|
}
|
|
18031
|
+
elements.set(op.xref, op);
|
|
17942
18032
|
const { startName, closeName } = op.i18nPlaceholder;
|
|
17943
|
-
|
|
17944
|
-
|
|
17945
|
-
|
|
17946
|
-
|
|
18033
|
+
let flags = I18nParamValueFlags.ElementTag | I18nParamValueFlags.OpenTag;
|
|
18034
|
+
if (closeName === "") {
|
|
18035
|
+
flags |= I18nParamValueFlags.CloseTag;
|
|
18036
|
+
}
|
|
18037
|
+
addParam(params, currentI18nOp, startName, op.slot, currentI18nOp.subTemplateIndex, I18nParamResolutionTime.Creation, flags);
|
|
18038
|
+
}
|
|
18039
|
+
break;
|
|
18040
|
+
case OpKind.ElementEnd:
|
|
18041
|
+
const startOp = elements.get(op.xref);
|
|
18042
|
+
if (startOp && startOp.i18nPlaceholder !== void 0) {
|
|
18043
|
+
if (currentI18nOp === null) {
|
|
18044
|
+
throw Error("i18n tag placeholder should only occur inside an i18n block");
|
|
18045
|
+
}
|
|
18046
|
+
const { closeName } = startOp.i18nPlaceholder;
|
|
18047
|
+
if (closeName !== "") {
|
|
18048
|
+
addParam(params, currentI18nOp, closeName, startOp.slot, currentI18nOp.subTemplateIndex, I18nParamResolutionTime.Creation, I18nParamValueFlags.ElementTag | I18nParamValueFlags.CloseTag);
|
|
18049
|
+
}
|
|
18050
|
+
}
|
|
18051
|
+
break;
|
|
18052
|
+
case OpKind.Template:
|
|
18053
|
+
if (op.i18nPlaceholder !== void 0) {
|
|
18054
|
+
if (currentI18nOp === null) {
|
|
18055
|
+
throw Error("i18n tag placeholder should only occur inside an i18n block");
|
|
18056
|
+
}
|
|
18057
|
+
const subTemplateIndex = getSubTemplateIndexForTemplateTag(job, currentI18nOp, op);
|
|
18058
|
+
addParam(params, currentI18nOp, op.i18nPlaceholder.startName, op.slot, subTemplateIndex, I18nParamResolutionTime.Creation, I18nParamValueFlags.TemplateTag);
|
|
18059
|
+
addParam(params, currentI18nOp, op.i18nPlaceholder.closeName, op.slot, subTemplateIndex, I18nParamResolutionTime.Creation, I18nParamValueFlags.TemplateTag | I18nParamValueFlags.CloseTag);
|
|
17947
18060
|
}
|
|
17948
18061
|
break;
|
|
17949
18062
|
}
|
|
@@ -17956,33 +18069,36 @@ function phaseResolveI18nPlaceholders(job) {
|
|
|
17956
18069
|
if (!i18nOp) {
|
|
17957
18070
|
throw Error("Cannot find corresponding i18nStart for i18nExpr");
|
|
17958
18071
|
}
|
|
17959
|
-
addParam(params, i18nOp, op.i18nPlaceholder
|
|
18072
|
+
addParam(params, i18nOp, op.i18nPlaceholder, index++, i18nOp.subTemplateIndex, op.resolutionTime);
|
|
17960
18073
|
i18nBlockPlaceholderIndices.set(op.owner, index);
|
|
17961
18074
|
}
|
|
17962
18075
|
}
|
|
17963
|
-
for (const [xref, i18nOpParams] of params) {
|
|
17964
|
-
i18nOpParams.saveToOp(i18nOps.get(xref));
|
|
17965
|
-
}
|
|
17966
18076
|
}
|
|
17967
18077
|
}
|
|
17968
|
-
function addParam(params, i18nOp, placeholder, value, subTemplateIndex, flags = I18nParamValueFlags.None) {
|
|
17969
|
-
|
|
17970
|
-
|
|
17971
|
-
i18nOpParams.addValue(placeholder, value, subTemplateIndex, flags);
|
|
18078
|
+
function addParam(params, i18nOp, placeholder, value, subTemplateIndex, resolutionTime, flags = I18nParamValueFlags.None) {
|
|
18079
|
+
const i18nOpParams = params.get(i18nOp.xref) || new I18nPlaceholderParams();
|
|
18080
|
+
i18nOpParams.addValue(placeholder, value, subTemplateIndex, resolutionTime, flags);
|
|
17972
18081
|
params.set(i18nOp.xref, i18nOpParams);
|
|
17973
18082
|
}
|
|
17974
|
-
function
|
|
17975
|
-
|
|
17976
|
-
|
|
17977
|
-
|
|
17978
|
-
return childOp.subTemplateIndex;
|
|
17979
|
-
}
|
|
18083
|
+
function getSubTemplateIndexForTemplateTag(job, i18nOp, op) {
|
|
18084
|
+
for (const childOp of job.views.get(op.xref).create) {
|
|
18085
|
+
if (childOp.kind === OpKind.I18nStart) {
|
|
18086
|
+
return childOp.subTemplateIndex;
|
|
17980
18087
|
}
|
|
17981
18088
|
}
|
|
17982
18089
|
return i18nOp.subTemplateIndex;
|
|
17983
18090
|
}
|
|
18091
|
+
function propagatePlaceholders(params, i18nOps) {
|
|
18092
|
+
for (const [xref, opParams] of params) {
|
|
18093
|
+
const op = i18nOps.get(xref);
|
|
18094
|
+
if (op.xref !== op.root) {
|
|
18095
|
+
const rootParams = params.get(op.root) || new I18nPlaceholderParams();
|
|
18096
|
+
rootParams.merge(opParams);
|
|
18097
|
+
}
|
|
18098
|
+
}
|
|
18099
|
+
}
|
|
17984
18100
|
|
|
17985
|
-
// bazel-out/
|
|
18101
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
17986
18102
|
function phaseResolveNames(cpl) {
|
|
17987
18103
|
for (const unit of cpl.units) {
|
|
17988
18104
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -18045,7 +18161,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
18045
18161
|
}
|
|
18046
18162
|
}
|
|
18047
18163
|
|
|
18048
|
-
// bazel-out/
|
|
18164
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
18049
18165
|
var sanitizers = /* @__PURE__ */ new Map([
|
|
18050
18166
|
[SecurityContext.HTML, SanitizerFn.Html],
|
|
18051
18167
|
[SecurityContext.SCRIPT, SanitizerFn.Script],
|
|
@@ -18078,10 +18194,11 @@ function phaseResolveSanitizers(job) {
|
|
|
18078
18194
|
}
|
|
18079
18195
|
}
|
|
18080
18196
|
function isIframeElement(op) {
|
|
18081
|
-
|
|
18197
|
+
var _a2;
|
|
18198
|
+
return op.kind === OpKind.ElementStart && ((_a2 = op.tag) == null ? void 0 : _a2.toLowerCase()) === "iframe";
|
|
18082
18199
|
}
|
|
18083
18200
|
|
|
18084
|
-
// bazel-out/
|
|
18201
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
18085
18202
|
function phaseSaveRestoreView(job) {
|
|
18086
18203
|
for (const view of job.views.values()) {
|
|
18087
18204
|
view.create.prepend([
|
|
@@ -18126,7 +18243,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
18126
18243
|
}
|
|
18127
18244
|
}
|
|
18128
18245
|
|
|
18129
|
-
// bazel-out/
|
|
18246
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
18130
18247
|
function phaseSlotAllocation(job) {
|
|
18131
18248
|
const slotMap = /* @__PURE__ */ new Map();
|
|
18132
18249
|
for (const unit of job.units) {
|
|
@@ -18169,7 +18286,7 @@ function phaseSlotAllocation(job) {
|
|
|
18169
18286
|
}
|
|
18170
18287
|
}
|
|
18171
18288
|
|
|
18172
|
-
// bazel-out/
|
|
18289
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
18173
18290
|
function phaseStyleBindingSpecialization(cpl) {
|
|
18174
18291
|
for (const unit of cpl.units) {
|
|
18175
18292
|
for (const op of unit.update) {
|
|
@@ -18199,7 +18316,7 @@ function phaseStyleBindingSpecialization(cpl) {
|
|
|
18199
18316
|
}
|
|
18200
18317
|
}
|
|
18201
18318
|
|
|
18202
|
-
// bazel-out/
|
|
18319
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
18203
18320
|
function phaseTemporaryVariables(cpl) {
|
|
18204
18321
|
for (const unit of cpl.units) {
|
|
18205
18322
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -18257,7 +18374,7 @@ function assignName(names, expr) {
|
|
|
18257
18374
|
expr.name = name;
|
|
18258
18375
|
}
|
|
18259
18376
|
|
|
18260
|
-
// bazel-out/
|
|
18377
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
18261
18378
|
function phaseVariableOptimization(job) {
|
|
18262
18379
|
for (const unit of job.units) {
|
|
18263
18380
|
optimizeVariablesInOpList(unit.create, job.compatibility);
|
|
@@ -18470,7 +18587,31 @@ function allowConservativeInlining(decl, target) {
|
|
|
18470
18587
|
}
|
|
18471
18588
|
}
|
|
18472
18589
|
|
|
18473
|
-
// bazel-out/
|
|
18590
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
18591
|
+
function phaseWrapIcus(job) {
|
|
18592
|
+
for (const unit of job.units) {
|
|
18593
|
+
let currentI18nOp = null;
|
|
18594
|
+
for (const op of unit.create) {
|
|
18595
|
+
switch (op.kind) {
|
|
18596
|
+
case OpKind.I18nStart:
|
|
18597
|
+
currentI18nOp = op;
|
|
18598
|
+
break;
|
|
18599
|
+
case OpKind.I18nEnd:
|
|
18600
|
+
currentI18nOp = null;
|
|
18601
|
+
break;
|
|
18602
|
+
case OpKind.Icu:
|
|
18603
|
+
if (currentI18nOp === null) {
|
|
18604
|
+
const id = job.allocateXrefId();
|
|
18605
|
+
OpList.insertBefore(createI18nStartOp(id, op.message), op);
|
|
18606
|
+
OpList.insertAfter(createI18nEndOp(id), op);
|
|
18607
|
+
}
|
|
18608
|
+
break;
|
|
18609
|
+
}
|
|
18610
|
+
}
|
|
18611
|
+
}
|
|
18612
|
+
}
|
|
18613
|
+
|
|
18614
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
18474
18615
|
var phases = [
|
|
18475
18616
|
{ kind: CompilationJobKind.Tmpl, fn: phaseRemoveContentSelectors },
|
|
18476
18617
|
{ kind: CompilationJobKind.Host, fn: phaseHostStylePropertyParsing },
|
|
@@ -18478,12 +18619,14 @@ var phases = [
|
|
|
18478
18619
|
{ kind: CompilationJobKind.Both, fn: phaseStyleBindingSpecialization },
|
|
18479
18620
|
{ kind: CompilationJobKind.Both, fn: phaseBindingSpecialization },
|
|
18480
18621
|
{ kind: CompilationJobKind.Tmpl, fn: phasePropagateI18nBlocks },
|
|
18622
|
+
{ kind: CompilationJobKind.Tmpl, fn: phaseWrapIcus },
|
|
18481
18623
|
{ kind: CompilationJobKind.Both, fn: phaseAttributeExtraction },
|
|
18482
18624
|
{ kind: CompilationJobKind.Both, fn: phaseParseExtractedStyles },
|
|
18483
18625
|
{ kind: CompilationJobKind.Tmpl, fn: phaseRemoveEmptyBindings },
|
|
18484
18626
|
{ kind: CompilationJobKind.Tmpl, fn: phaseConditionals },
|
|
18485
18627
|
{ kind: CompilationJobKind.Tmpl, fn: phasePipeCreation },
|
|
18486
18628
|
{ kind: CompilationJobKind.Tmpl, fn: phaseI18nTextExtraction },
|
|
18629
|
+
{ kind: CompilationJobKind.Tmpl, fn: phaseIcuExtraction },
|
|
18487
18630
|
{ kind: CompilationJobKind.Tmpl, fn: phaseApplyI18nExpressions },
|
|
18488
18631
|
{ kind: CompilationJobKind.Tmpl, fn: phasePipeVariadic },
|
|
18489
18632
|
{ kind: CompilationJobKind.Both, fn: phasePureLiteralStructures },
|
|
@@ -18501,7 +18644,6 @@ var phases = [
|
|
|
18501
18644
|
{ kind: CompilationJobKind.Both, fn: phaseTemporaryVariables },
|
|
18502
18645
|
{ kind: CompilationJobKind.Tmpl, fn: phaseSlotAllocation },
|
|
18503
18646
|
{ kind: CompilationJobKind.Tmpl, fn: phaseResolveI18nPlaceholders },
|
|
18504
|
-
{ kind: CompilationJobKind.Tmpl, fn: phasePropagateI18nPlaceholders },
|
|
18505
18647
|
{ kind: CompilationJobKind.Tmpl, fn: phaseI18nMessageExtraction },
|
|
18506
18648
|
{ kind: CompilationJobKind.Tmpl, fn: phaseI18nConstCollection },
|
|
18507
18649
|
{ kind: CompilationJobKind.Tmpl, fn: phaseConstTraitCollection },
|
|
@@ -18623,7 +18765,7 @@ function emitHostBindingFunction(job) {
|
|
|
18623
18765
|
);
|
|
18624
18766
|
}
|
|
18625
18767
|
|
|
18626
|
-
// bazel-out/
|
|
18768
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
18627
18769
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
18628
18770
|
function ingestComponent(componentName, template2, constantPool, relativeContextFilePath, i18nUseExternalIds) {
|
|
18629
18771
|
const cpl = new ComponentCompilationJob(componentName, constantPool, compatibilityMode, relativeContextFilePath, i18nUseExternalIds);
|
|
@@ -18699,6 +18841,8 @@ function ingestNodes(unit, template2) {
|
|
|
18699
18841
|
ingestSwitchBlock(unit, node);
|
|
18700
18842
|
} else if (node instanceof DeferredBlock) {
|
|
18701
18843
|
ingestDeferBlock(unit, node);
|
|
18844
|
+
} else if (node instanceof Icu) {
|
|
18845
|
+
ingestIcu(unit, node);
|
|
18702
18846
|
} else {
|
|
18703
18847
|
throw new Error(`Unsupported template node: ${node.constructor.name}`);
|
|
18704
18848
|
}
|
|
@@ -18738,7 +18882,7 @@ function ingestTemplate(unit, tmpl) {
|
|
|
18738
18882
|
[namespacePrefix, tagNameWithoutNamespace] = splitNsName(tmpl.tagName);
|
|
18739
18883
|
}
|
|
18740
18884
|
const i18nPlaceholder = tmpl.i18n instanceof TagPlaceholder ? tmpl.i18n : void 0;
|
|
18741
|
-
const tplOp = createTemplateOp(childView.xref, tagNameWithoutNamespace
|
|
18885
|
+
const tplOp = createTemplateOp(childView.xref, tagNameWithoutNamespace, namespaceForKey(namespacePrefix), false, i18nPlaceholder, tmpl.startSourceSpan);
|
|
18742
18886
|
unit.create.push(tplOp);
|
|
18743
18887
|
ingestBindings(unit, tplOp, tmpl);
|
|
18744
18888
|
ingestReferences(tplOp, tmpl);
|
|
@@ -18746,7 +18890,7 @@ function ingestTemplate(unit, tmpl) {
|
|
|
18746
18890
|
for (const { name, value } of tmpl.variables) {
|
|
18747
18891
|
childView.contextVariables.set(name, value);
|
|
18748
18892
|
}
|
|
18749
|
-
if (tmpl.i18n instanceof Message) {
|
|
18893
|
+
if (isPlainTemplate(tmpl) && tmpl.i18n instanceof Message) {
|
|
18750
18894
|
const id = unit.job.allocateXrefId();
|
|
18751
18895
|
OpList.insertAfter(createI18nStartOp(id, tmpl.i18n), childView.create.head);
|
|
18752
18896
|
OpList.insertBefore(createI18nEndOp(id), childView.create.tail);
|
|
@@ -18856,6 +19000,16 @@ function ingestDeferBlock(unit, deferBlock) {
|
|
|
18856
19000
|
const deferOnOp = createDeferOnOp(unit.job.allocateXrefId(), null);
|
|
18857
19001
|
unit.create.push(deferOnOp);
|
|
18858
19002
|
}
|
|
19003
|
+
function ingestIcu(unit, icu) {
|
|
19004
|
+
var _a2;
|
|
19005
|
+
if (icu.i18n instanceof Message) {
|
|
19006
|
+
const xref = unit.job.allocateXrefId();
|
|
19007
|
+
unit.create.push(createIcuOp(xref, icu.i18n, null));
|
|
19008
|
+
unit.update.push(createIcuUpdateOp(xref, null));
|
|
19009
|
+
} else {
|
|
19010
|
+
throw Error(`Unhandled i18n metadata type for ICU: ${(_a2 = icu.i18n) == null ? void 0 : _a2.constructor.name}`);
|
|
19011
|
+
}
|
|
19012
|
+
}
|
|
18859
19013
|
function convertAst(ast, job, baseSourceSpan) {
|
|
18860
19014
|
if (ast instanceof ASTWithSource) {
|
|
18861
19015
|
return convertAst(ast.ast, job, baseSourceSpan);
|
|
@@ -18918,13 +19072,15 @@ function convertAst(ast, job, baseSourceSpan) {
|
|
|
18918
19072
|
throw new Error(`Unhandled expression type: ${ast.constructor.name}`);
|
|
18919
19073
|
}
|
|
18920
19074
|
}
|
|
18921
|
-
function
|
|
19075
|
+
function isPlainTemplate(tmpl) {
|
|
18922
19076
|
var _a2;
|
|
19077
|
+
return splitNsName((_a2 = tmpl.tagName) != null ? _a2 : "")[1] === "ng-template";
|
|
19078
|
+
}
|
|
19079
|
+
function ingestBindings(unit, op, element2) {
|
|
18923
19080
|
let flags = BindingFlags.None;
|
|
18924
|
-
const isPlainTemplate = element2 instanceof Template && splitNsName((_a2 = element2.tagName) != null ? _a2 : "")[1] === "ng-template";
|
|
18925
19081
|
if (element2 instanceof Template) {
|
|
18926
19082
|
flags |= BindingFlags.OnNgTemplateElement;
|
|
18927
|
-
if (isPlainTemplate) {
|
|
19083
|
+
if (element2 instanceof Template && isPlainTemplate(element2)) {
|
|
18928
19084
|
flags |= BindingFlags.BindingTargetsTemplate;
|
|
18929
19085
|
}
|
|
18930
19086
|
const templateAttrFlags = flags | BindingFlags.BindingTargetsTemplate | BindingFlags.IsStructuralTemplateAttribute;
|
|
@@ -18949,7 +19105,7 @@ function ingestBindings(unit, op, element2) {
|
|
|
18949
19105
|
throw Error("Animation listener should have a phase");
|
|
18950
19106
|
}
|
|
18951
19107
|
}
|
|
18952
|
-
if (element2 instanceof Template && !isPlainTemplate) {
|
|
19108
|
+
if (element2 instanceof Template && !isPlainTemplate(element2)) {
|
|
18953
19109
|
unit.create.push(createExtractedAttributeOp(op.xref, BindingKind.Property, output.name, null));
|
|
18954
19110
|
continue;
|
|
18955
19111
|
}
|
|
@@ -19035,10 +19191,10 @@ function convertSourceSpan(span, baseSourceSpan) {
|
|
|
19035
19191
|
return new ParseSourceSpan(start, end, fullStart);
|
|
19036
19192
|
}
|
|
19037
19193
|
|
|
19038
|
-
// bazel-out/
|
|
19194
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
|
|
19039
19195
|
var USE_TEMPLATE_PIPELINE = false;
|
|
19040
19196
|
|
|
19041
|
-
// bazel-out/
|
|
19197
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
|
|
19042
19198
|
var IMPORTANT_FLAG = "!important";
|
|
19043
19199
|
var MIN_STYLING_BINDING_SLOTS_REQUIRED = 2;
|
|
19044
19200
|
var StylingBuilder = class {
|
|
@@ -19371,7 +19527,7 @@ function isEmptyExpression(ast) {
|
|
|
19371
19527
|
return ast instanceof EmptyExpr;
|
|
19372
19528
|
}
|
|
19373
19529
|
|
|
19374
|
-
// bazel-out/
|
|
19530
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
19375
19531
|
var HtmlParser = class extends Parser2 {
|
|
19376
19532
|
constructor() {
|
|
19377
19533
|
super(getHtmlTagDefinition);
|
|
@@ -19381,7 +19537,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
19381
19537
|
}
|
|
19382
19538
|
};
|
|
19383
19539
|
|
|
19384
|
-
// bazel-out/
|
|
19540
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
19385
19541
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
19386
19542
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
19387
19543
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -19447,7 +19603,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
19447
19603
|
return result;
|
|
19448
19604
|
}
|
|
19449
19605
|
|
|
19450
|
-
// bazel-out/
|
|
19606
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
19451
19607
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
19452
19608
|
var ATTRIBUTE_PREFIX = "attr";
|
|
19453
19609
|
var CLASS_PREFIX = "class";
|
|
@@ -19767,7 +19923,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
19767
19923
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
19768
19924
|
}
|
|
19769
19925
|
|
|
19770
|
-
// bazel-out/
|
|
19926
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
19771
19927
|
function isStyleUrlResolvable(url) {
|
|
19772
19928
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
19773
19929
|
return false;
|
|
@@ -19776,7 +19932,7 @@ function isStyleUrlResolvable(url) {
|
|
|
19776
19932
|
}
|
|
19777
19933
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
19778
19934
|
|
|
19779
|
-
// bazel-out/
|
|
19935
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
19780
19936
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
19781
19937
|
var LINK_ELEMENT = "link";
|
|
19782
19938
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -19846,7 +20002,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
19846
20002
|
return selectAttr;
|
|
19847
20003
|
}
|
|
19848
20004
|
|
|
19849
|
-
// bazel-out/
|
|
20005
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
19850
20006
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+(.*)/;
|
|
19851
20007
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
19852
20008
|
var CONDITIONAL_ALIAS_PATTERN = /^as\s+(.*)/;
|
|
@@ -20135,7 +20291,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
20135
20291
|
return expression.slice(start, end);
|
|
20136
20292
|
}
|
|
20137
20293
|
|
|
20138
|
-
// bazel-out/
|
|
20294
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
20139
20295
|
var TIME_PATTERN = /^\d+(ms|s)?$/;
|
|
20140
20296
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
20141
20297
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -20383,7 +20539,7 @@ function parseDeferredTime(value) {
|
|
|
20383
20539
|
return parseInt(time) * (units === "s" ? 1e3 : 1);
|
|
20384
20540
|
}
|
|
20385
20541
|
|
|
20386
|
-
// bazel-out/
|
|
20542
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
20387
20543
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
20388
20544
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
20389
20545
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -20518,7 +20674,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
20518
20674
|
return { triggers, prefetchTriggers };
|
|
20519
20675
|
}
|
|
20520
20676
|
|
|
20521
|
-
// bazel-out/
|
|
20677
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
20522
20678
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
20523
20679
|
var KW_BIND_IDX = 1;
|
|
20524
20680
|
var KW_LET_IDX = 2;
|
|
@@ -20949,7 +21105,7 @@ function textContents(node) {
|
|
|
20949
21105
|
}
|
|
20950
21106
|
}
|
|
20951
21107
|
|
|
20952
|
-
// bazel-out/
|
|
21108
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
|
|
20953
21109
|
var TagType;
|
|
20954
21110
|
(function(TagType2) {
|
|
20955
21111
|
TagType2[TagType2["ELEMENT"] = 0] = "ELEMENT";
|
|
@@ -21084,7 +21240,7 @@ function serializePlaceholderValue(value) {
|
|
|
21084
21240
|
}
|
|
21085
21241
|
}
|
|
21086
21242
|
|
|
21087
|
-
// bazel-out/
|
|
21243
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
21088
21244
|
var NG_CONTENT_SELECT_ATTR2 = "select";
|
|
21089
21245
|
var NG_PROJECT_AS_ATTR_NAME = "ngProjectAs";
|
|
21090
21246
|
var EVENT_BINDING_SCOPE_GLOBALS = /* @__PURE__ */ new Set(["$event"]);
|
|
@@ -22714,7 +22870,7 @@ function createClosureModeGuard2() {
|
|
|
22714
22870
|
return typeofExpr(variable(NG_I18N_CLOSURE_MODE2)).notIdentical(literal("undefined", STRING_TYPE)).and(variable(NG_I18N_CLOSURE_MODE2));
|
|
22715
22871
|
}
|
|
22716
22872
|
|
|
22717
|
-
// bazel-out/
|
|
22873
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
22718
22874
|
var ATTR_REGEX = /attr\.([^\]]+)/;
|
|
22719
22875
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
22720
22876
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
@@ -23316,7 +23472,7 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
23316
23472
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
23317
23473
|
}
|
|
23318
23474
|
|
|
23319
|
-
// bazel-out/
|
|
23475
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
23320
23476
|
var R3TargetBinder = class {
|
|
23321
23477
|
constructor(directiveMatcher) {
|
|
23322
23478
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -23908,11 +24064,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
23908
24064
|
return templateEntities;
|
|
23909
24065
|
}
|
|
23910
24066
|
|
|
23911
|
-
// bazel-out/
|
|
24067
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
23912
24068
|
var ResourceLoader = class {
|
|
23913
24069
|
};
|
|
23914
24070
|
|
|
23915
|
-
// bazel-out/
|
|
24071
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
23916
24072
|
var CompilerFacadeImpl = class {
|
|
23917
24073
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
23918
24074
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -24464,10 +24620,10 @@ function publishFacade(global) {
|
|
|
24464
24620
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
24465
24621
|
}
|
|
24466
24622
|
|
|
24467
|
-
// bazel-out/
|
|
24468
|
-
var VERSION2 = new Version("17.0.0-
|
|
24623
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
|
|
24624
|
+
var VERSION2 = new Version("17.0.0-rc.0");
|
|
24469
24625
|
|
|
24470
|
-
// bazel-out/
|
|
24626
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
24471
24627
|
var _I18N_ATTR = "i18n";
|
|
24472
24628
|
var _I18N_ATTR_PREFIX = "i18n-";
|
|
24473
24629
|
var _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;
|
|
@@ -24776,7 +24932,7 @@ function _parseMessageMeta(i18n2) {
|
|
|
24776
24932
|
return { meaning, description, id: id.trim() };
|
|
24777
24933
|
}
|
|
24778
24934
|
|
|
24779
|
-
// bazel-out/
|
|
24935
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
24780
24936
|
var XmlTagDefinition = class {
|
|
24781
24937
|
constructor() {
|
|
24782
24938
|
this.closedByParent = false;
|
|
@@ -24801,7 +24957,7 @@ function getXmlTagDefinition(tagName) {
|
|
|
24801
24957
|
return _TAG_DEFINITION;
|
|
24802
24958
|
}
|
|
24803
24959
|
|
|
24804
|
-
// bazel-out/
|
|
24960
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
|
|
24805
24961
|
var XmlParser = class extends Parser2 {
|
|
24806
24962
|
constructor() {
|
|
24807
24963
|
super(getXmlTagDefinition);
|
|
@@ -24811,7 +24967,7 @@ var XmlParser = class extends Parser2 {
|
|
|
24811
24967
|
}
|
|
24812
24968
|
};
|
|
24813
24969
|
|
|
24814
|
-
// bazel-out/
|
|
24970
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
|
|
24815
24971
|
var _VERSION = "1.2";
|
|
24816
24972
|
var _XMLNS = "urn:oasis:names:tc:xliff:document:1.2";
|
|
24817
24973
|
var _DEFAULT_SOURCE_LANG = "en";
|
|
@@ -25059,7 +25215,7 @@ function getCtypeForTag(tag) {
|
|
|
25059
25215
|
}
|
|
25060
25216
|
}
|
|
25061
25217
|
|
|
25062
|
-
// bazel-out/
|
|
25218
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
|
|
25063
25219
|
var _VERSION2 = "2.0";
|
|
25064
25220
|
var _XMLNS2 = "urn:oasis:names:tc:xliff:document:2.0";
|
|
25065
25221
|
var _DEFAULT_SOURCE_LANG2 = "en";
|
|
@@ -25358,7 +25514,7 @@ function getTypeForTag(tag) {
|
|
|
25358
25514
|
}
|
|
25359
25515
|
}
|
|
25360
25516
|
|
|
25361
|
-
// bazel-out/
|
|
25517
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
|
|
25362
25518
|
var MessageBundle = class {
|
|
25363
25519
|
constructor(_htmlParser, _implicitTags, _implicitAttrs, _locale = null) {
|
|
25364
25520
|
this._htmlParser = _htmlParser;
|
|
@@ -25425,7 +25581,7 @@ var MapPlaceholderNames = class extends CloneVisitor {
|
|
|
25425
25581
|
}
|
|
25426
25582
|
};
|
|
25427
25583
|
|
|
25428
|
-
// bazel-out/
|
|
25584
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
25429
25585
|
var FactoryTarget2;
|
|
25430
25586
|
(function(FactoryTarget3) {
|
|
25431
25587
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -25435,7 +25591,7 @@ var FactoryTarget2;
|
|
|
25435
25591
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
25436
25592
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
25437
25593
|
|
|
25438
|
-
// bazel-out/
|
|
25594
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
|
|
25439
25595
|
function compileClassMetadata(metadata) {
|
|
25440
25596
|
var _a2, _b2;
|
|
25441
25597
|
const fnCall = importExpr(Identifiers.setClassMetadata).callFn([
|
|
@@ -25477,7 +25633,7 @@ function compileComponentClassMetadata(metadata, deferrableTypes) {
|
|
|
25477
25633
|
return iife.callFn([]);
|
|
25478
25634
|
}
|
|
25479
25635
|
|
|
25480
|
-
// bazel-out/
|
|
25636
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_class_debug_info_compiler.mjs
|
|
25481
25637
|
function compileClassDebugInfo(debugInfo) {
|
|
25482
25638
|
const debugInfoObject = {
|
|
25483
25639
|
className: debugInfo.className
|
|
@@ -25497,12 +25653,12 @@ function compileClassDebugInfo(debugInfo) {
|
|
|
25497
25653
|
return iife.callFn([]);
|
|
25498
25654
|
}
|
|
25499
25655
|
|
|
25500
|
-
// bazel-out/
|
|
25656
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
|
|
25501
25657
|
var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
|
|
25502
25658
|
function compileDeclareClassMetadata(metadata) {
|
|
25503
25659
|
const definitionMap = new DefinitionMap();
|
|
25504
25660
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
25505
|
-
definitionMap.set("version", literal("17.0.0-
|
|
25661
|
+
definitionMap.set("version", literal("17.0.0-rc.0"));
|
|
25506
25662
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
25507
25663
|
definitionMap.set("type", metadata.type);
|
|
25508
25664
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -25511,7 +25667,7 @@ function compileDeclareClassMetadata(metadata) {
|
|
|
25511
25667
|
return importExpr(Identifiers.declareClassMetadata).callFn([definitionMap.toLiteralMap()]);
|
|
25512
25668
|
}
|
|
25513
25669
|
|
|
25514
|
-
// bazel-out/
|
|
25670
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
|
|
25515
25671
|
function toOptionalLiteralArray(values, mapper) {
|
|
25516
25672
|
if (values === null || values.length === 0) {
|
|
25517
25673
|
return null;
|
|
@@ -25559,7 +25715,7 @@ function compileDependency(dep) {
|
|
|
25559
25715
|
return depMeta.toLiteralMap();
|
|
25560
25716
|
}
|
|
25561
25717
|
|
|
25562
|
-
// bazel-out/
|
|
25718
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
|
|
25563
25719
|
var MINIMUM_PARTIAL_LINKER_VERSION2 = "16.1.0";
|
|
25564
25720
|
function compileDeclareDirectiveFromMetadata(meta) {
|
|
25565
25721
|
const definitionMap = createDirectiveDefinitionMap(meta);
|
|
@@ -25573,7 +25729,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
25573
25729
|
const hasTransformFunctions = Object.values(meta.inputs).some((input) => input.transformFunction !== null);
|
|
25574
25730
|
const minVersion = hasTransformFunctions ? MINIMUM_PARTIAL_LINKER_VERSION2 : "14.0.0";
|
|
25575
25731
|
definitionMap.set("minVersion", literal(minVersion));
|
|
25576
|
-
definitionMap.set("version", literal("17.0.0-
|
|
25732
|
+
definitionMap.set("version", literal("17.0.0-rc.0"));
|
|
25577
25733
|
definitionMap.set("type", meta.type.value);
|
|
25578
25734
|
if (meta.isStandalone) {
|
|
25579
25735
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -25666,7 +25822,7 @@ function createHostDirectives(hostDirectives) {
|
|
|
25666
25822
|
return literalArr(expressions);
|
|
25667
25823
|
}
|
|
25668
25824
|
|
|
25669
|
-
// bazel-out/
|
|
25825
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
|
|
25670
25826
|
function compileDeclareComponentFromMetadata(meta, template2, additionalTemplateInfo) {
|
|
25671
25827
|
const definitionMap = createComponentDefinitionMap(meta, template2, additionalTemplateInfo);
|
|
25672
25828
|
const expression = importExpr(Identifiers.declareComponent).callFn([definitionMap.toLiteralMap()]);
|
|
@@ -25800,12 +25956,12 @@ var BlockPresenceVisitor = class extends RecursiveVisitor {
|
|
|
25800
25956
|
}
|
|
25801
25957
|
};
|
|
25802
25958
|
|
|
25803
|
-
// bazel-out/
|
|
25959
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
|
|
25804
25960
|
var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
|
|
25805
25961
|
function compileDeclareFactoryFunction(meta) {
|
|
25806
25962
|
const definitionMap = new DefinitionMap();
|
|
25807
25963
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
|
|
25808
|
-
definitionMap.set("version", literal("17.0.0-
|
|
25964
|
+
definitionMap.set("version", literal("17.0.0-rc.0"));
|
|
25809
25965
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
25810
25966
|
definitionMap.set("type", meta.type.value);
|
|
25811
25967
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -25817,7 +25973,7 @@ function compileDeclareFactoryFunction(meta) {
|
|
|
25817
25973
|
};
|
|
25818
25974
|
}
|
|
25819
25975
|
|
|
25820
|
-
// bazel-out/
|
|
25976
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
|
|
25821
25977
|
var MINIMUM_PARTIAL_LINKER_VERSION4 = "12.0.0";
|
|
25822
25978
|
function compileDeclareInjectableFromMetadata(meta) {
|
|
25823
25979
|
const definitionMap = createInjectableDefinitionMap(meta);
|
|
@@ -25828,7 +25984,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
25828
25984
|
function createInjectableDefinitionMap(meta) {
|
|
25829
25985
|
const definitionMap = new DefinitionMap();
|
|
25830
25986
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
|
|
25831
|
-
definitionMap.set("version", literal("17.0.0-
|
|
25987
|
+
definitionMap.set("version", literal("17.0.0-rc.0"));
|
|
25832
25988
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
25833
25989
|
definitionMap.set("type", meta.type.value);
|
|
25834
25990
|
if (meta.providedIn !== void 0) {
|
|
@@ -25855,7 +26011,7 @@ function createInjectableDefinitionMap(meta) {
|
|
|
25855
26011
|
return definitionMap;
|
|
25856
26012
|
}
|
|
25857
26013
|
|
|
25858
|
-
// bazel-out/
|
|
26014
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
|
|
25859
26015
|
var MINIMUM_PARTIAL_LINKER_VERSION5 = "12.0.0";
|
|
25860
26016
|
function compileDeclareInjectorFromMetadata(meta) {
|
|
25861
26017
|
const definitionMap = createInjectorDefinitionMap(meta);
|
|
@@ -25866,7 +26022,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
25866
26022
|
function createInjectorDefinitionMap(meta) {
|
|
25867
26023
|
const definitionMap = new DefinitionMap();
|
|
25868
26024
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
|
|
25869
|
-
definitionMap.set("version", literal("17.0.0-
|
|
26025
|
+
definitionMap.set("version", literal("17.0.0-rc.0"));
|
|
25870
26026
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
25871
26027
|
definitionMap.set("type", meta.type.value);
|
|
25872
26028
|
definitionMap.set("providers", meta.providers);
|
|
@@ -25876,7 +26032,7 @@ function createInjectorDefinitionMap(meta) {
|
|
|
25876
26032
|
return definitionMap;
|
|
25877
26033
|
}
|
|
25878
26034
|
|
|
25879
|
-
// bazel-out/
|
|
26035
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
|
|
25880
26036
|
var MINIMUM_PARTIAL_LINKER_VERSION6 = "14.0.0";
|
|
25881
26037
|
function compileDeclareNgModuleFromMetadata(meta) {
|
|
25882
26038
|
const definitionMap = createNgModuleDefinitionMap(meta);
|
|
@@ -25890,7 +26046,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
25890
26046
|
throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
|
|
25891
26047
|
}
|
|
25892
26048
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
|
|
25893
|
-
definitionMap.set("version", literal("17.0.0-
|
|
26049
|
+
definitionMap.set("version", literal("17.0.0-rc.0"));
|
|
25894
26050
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
25895
26051
|
definitionMap.set("type", meta.type.value);
|
|
25896
26052
|
if (meta.bootstrap.length > 0) {
|
|
@@ -25914,7 +26070,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
25914
26070
|
return definitionMap;
|
|
25915
26071
|
}
|
|
25916
26072
|
|
|
25917
|
-
// bazel-out/
|
|
26073
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
|
|
25918
26074
|
var MINIMUM_PARTIAL_LINKER_VERSION7 = "14.0.0";
|
|
25919
26075
|
function compileDeclarePipeFromMetadata(meta) {
|
|
25920
26076
|
const definitionMap = createPipeDefinitionMap(meta);
|
|
@@ -25925,7 +26081,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
25925
26081
|
function createPipeDefinitionMap(meta) {
|
|
25926
26082
|
const definitionMap = new DefinitionMap();
|
|
25927
26083
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION7));
|
|
25928
|
-
definitionMap.set("version", literal("17.0.0-
|
|
26084
|
+
definitionMap.set("version", literal("17.0.0-rc.0"));
|
|
25929
26085
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
25930
26086
|
definitionMap.set("type", meta.type.value);
|
|
25931
26087
|
if (meta.isStandalone) {
|
|
@@ -25938,13 +26094,13 @@ function createPipeDefinitionMap(meta) {
|
|
|
25938
26094
|
return definitionMap;
|
|
25939
26095
|
}
|
|
25940
26096
|
|
|
25941
|
-
// bazel-out/
|
|
26097
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
25942
26098
|
publishFacade(_global);
|
|
25943
26099
|
|
|
25944
|
-
// bazel-out/
|
|
25945
|
-
var VERSION3 = new Version("17.0.0-
|
|
26100
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
26101
|
+
var VERSION3 = new Version("17.0.0-rc.0");
|
|
25946
26102
|
|
|
25947
|
-
// bazel-out/
|
|
26103
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
25948
26104
|
var EmitFlags;
|
|
25949
26105
|
(function(EmitFlags2) {
|
|
25950
26106
|
EmitFlags2[EmitFlags2["DTS"] = 1] = "DTS";
|
|
@@ -25956,13 +26112,13 @@ var EmitFlags;
|
|
|
25956
26112
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
25957
26113
|
})(EmitFlags || (EmitFlags = {}));
|
|
25958
26114
|
|
|
25959
|
-
// bazel-out/
|
|
26115
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
25960
26116
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
25961
26117
|
|
|
25962
|
-
// bazel-out/
|
|
26118
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
25963
26119
|
var import_typescript101 = __toESM(require("typescript"), 1);
|
|
25964
26120
|
|
|
25965
|
-
// bazel-out/
|
|
26121
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
25966
26122
|
var path = __toESM(require("path"), 1);
|
|
25967
26123
|
function i18nGetExtension(formatName) {
|
|
25968
26124
|
const format = formatName.toLowerCase();
|
|
@@ -26012,10 +26168,10 @@ function getPathNormalizer(basePath) {
|
|
|
26012
26168
|
};
|
|
26013
26169
|
}
|
|
26014
26170
|
|
|
26015
|
-
// bazel-out/
|
|
26171
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
26016
26172
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
26017
26173
|
|
|
26018
|
-
// bazel-out/
|
|
26174
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
26019
26175
|
function toNumbers(value) {
|
|
26020
26176
|
const suffixIndex = value.lastIndexOf("-");
|
|
26021
26177
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -26050,7 +26206,7 @@ function compareVersions(v1, v2) {
|
|
|
26050
26206
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
26051
26207
|
}
|
|
26052
26208
|
|
|
26053
|
-
// bazel-out/
|
|
26209
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
26054
26210
|
var MIN_TS_VERSION = "5.2.0";
|
|
26055
26211
|
var MAX_TS_VERSION = "5.3.0";
|
|
26056
26212
|
var tsVersion = import_typescript3.default.version;
|
|
@@ -26063,13 +26219,13 @@ function verifySupportedTypeScriptVersion() {
|
|
|
26063
26219
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
26064
26220
|
}
|
|
26065
26221
|
|
|
26066
|
-
// bazel-out/
|
|
26222
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
26067
26223
|
var import_typescript97 = __toESM(require("typescript"), 1);
|
|
26068
26224
|
|
|
26069
|
-
// bazel-out/
|
|
26225
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
26070
26226
|
var import_typescript31 = __toESM(require("typescript"), 1);
|
|
26071
26227
|
|
|
26072
|
-
// bazel-out/
|
|
26228
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
26073
26229
|
var ErrorCode;
|
|
26074
26230
|
(function(ErrorCode2) {
|
|
26075
26231
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -26148,7 +26304,7 @@ var ErrorCode;
|
|
|
26148
26304
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_IMPORTED_STYLES_STRING"] = 11002] = "LOCAL_COMPILATION_IMPORTED_STYLES_STRING";
|
|
26149
26305
|
})(ErrorCode || (ErrorCode = {}));
|
|
26150
26306
|
|
|
26151
|
-
// bazel-out/
|
|
26307
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
26152
26308
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
26153
26309
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
26154
26310
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -26160,15 +26316,15 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
26160
26316
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
26161
26317
|
]);
|
|
26162
26318
|
|
|
26163
|
-
// bazel-out/
|
|
26319
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
26164
26320
|
var import_typescript4 = __toESM(require("typescript"), 1);
|
|
26165
26321
|
|
|
26166
|
-
// bazel-out/
|
|
26322
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
26167
26323
|
function ngErrorCode(code) {
|
|
26168
26324
|
return parseInt("-99" + code);
|
|
26169
26325
|
}
|
|
26170
26326
|
|
|
26171
|
-
// bazel-out/
|
|
26327
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
26172
26328
|
var FatalDiagnosticError = class {
|
|
26173
26329
|
constructor(code, node, message, relatedInformation) {
|
|
26174
26330
|
this.code = code;
|
|
@@ -26224,10 +26380,10 @@ function addDiagnosticChain(messageText, add) {
|
|
|
26224
26380
|
return messageText;
|
|
26225
26381
|
}
|
|
26226
26382
|
|
|
26227
|
-
// bazel-out/
|
|
26383
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
26228
26384
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
26229
26385
|
|
|
26230
|
-
// bazel-out/
|
|
26386
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
26231
26387
|
var ExtendedTemplateDiagnosticName;
|
|
26232
26388
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
26233
26389
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -26241,7 +26397,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
26241
26397
|
ExtendedTemplateDiagnosticName2["INTERPOLATED_SIGNAL_NOT_INVOKED"] = "interpolatedSignalNotInvoked";
|
|
26242
26398
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
26243
26399
|
|
|
26244
|
-
// bazel-out/
|
|
26400
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
26245
26401
|
var CompilationMode;
|
|
26246
26402
|
(function(CompilationMode2) {
|
|
26247
26403
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -26255,7 +26411,7 @@ var HandlerPrecedence;
|
|
|
26255
26411
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
26256
26412
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
26257
26413
|
|
|
26258
|
-
// bazel-out/
|
|
26414
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
26259
26415
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
26260
26416
|
function aliasTransformFactory(exportStatements) {
|
|
26261
26417
|
return () => {
|
|
@@ -26278,10 +26434,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
26278
26434
|
};
|
|
26279
26435
|
}
|
|
26280
26436
|
|
|
26281
|
-
// bazel-out/
|
|
26437
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
26282
26438
|
var import_typescript12 = __toESM(require("typescript"), 1);
|
|
26283
26439
|
|
|
26284
|
-
// bazel-out/
|
|
26440
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
26285
26441
|
var PerfPhase;
|
|
26286
26442
|
(function(PerfPhase2) {
|
|
26287
26443
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -26349,7 +26505,7 @@ var PerfCheckpoint;
|
|
|
26349
26505
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
26350
26506
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
26351
26507
|
|
|
26352
|
-
// bazel-out/
|
|
26508
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
26353
26509
|
var NoopPerfRecorder = class {
|
|
26354
26510
|
eventCount() {
|
|
26355
26511
|
}
|
|
@@ -26366,7 +26522,7 @@ var NoopPerfRecorder = class {
|
|
|
26366
26522
|
};
|
|
26367
26523
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
26368
26524
|
|
|
26369
|
-
// bazel-out/
|
|
26525
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
26370
26526
|
function mark() {
|
|
26371
26527
|
return process.hrtime();
|
|
26372
26528
|
}
|
|
@@ -26375,7 +26531,7 @@ function timeSinceInMicros(mark2) {
|
|
|
26375
26531
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
26376
26532
|
}
|
|
26377
26533
|
|
|
26378
|
-
// bazel-out/
|
|
26534
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
26379
26535
|
var ActivePerfRecorder = class {
|
|
26380
26536
|
static zeroedToNow() {
|
|
26381
26537
|
return new ActivePerfRecorder(mark());
|
|
@@ -26469,7 +26625,7 @@ var DelegatingPerfRecorder = class {
|
|
|
26469
26625
|
}
|
|
26470
26626
|
};
|
|
26471
26627
|
|
|
26472
|
-
// bazel-out/
|
|
26628
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
26473
26629
|
var import_typescript6 = __toESM(require("typescript"), 1);
|
|
26474
26630
|
function isDecoratorIdentifier(exp) {
|
|
26475
26631
|
return import_typescript6.default.isIdentifier(exp) || import_typescript6.default.isPropertyAccessExpression(exp) && import_typescript6.default.isIdentifier(exp.expression) && import_typescript6.default.isIdentifier(exp.name);
|
|
@@ -26483,7 +26639,7 @@ var ClassMemberKind;
|
|
|
26483
26639
|
ClassMemberKind2[ClassMemberKind2["Method"] = 4] = "Method";
|
|
26484
26640
|
})(ClassMemberKind || (ClassMemberKind = {}));
|
|
26485
26641
|
|
|
26486
|
-
// bazel-out/
|
|
26642
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
26487
26643
|
var import_typescript7 = __toESM(require("typescript"), 1);
|
|
26488
26644
|
function typeToValue(typeNode, checker) {
|
|
26489
26645
|
if (typeNode === null) {
|
|
@@ -26649,10 +26805,10 @@ function extractModuleName(node) {
|
|
|
26649
26805
|
return node.moduleSpecifier.text;
|
|
26650
26806
|
}
|
|
26651
26807
|
|
|
26652
|
-
// bazel-out/
|
|
26808
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
26653
26809
|
var import_typescript9 = __toESM(require("typescript"), 1);
|
|
26654
26810
|
|
|
26655
|
-
// bazel-out/
|
|
26811
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
26656
26812
|
var import_typescript8 = __toESM(require("typescript"), 1);
|
|
26657
26813
|
function isNamedClassDeclaration(node) {
|
|
26658
26814
|
return import_typescript8.default.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -26661,7 +26817,7 @@ function isIdentifier(node) {
|
|
|
26661
26817
|
return node !== void 0 && import_typescript8.default.isIdentifier(node);
|
|
26662
26818
|
}
|
|
26663
26819
|
|
|
26664
|
-
// bazel-out/
|
|
26820
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
26665
26821
|
var TypeScriptReflectionHost = class {
|
|
26666
26822
|
constructor(checker) {
|
|
26667
26823
|
this.checker = checker;
|
|
@@ -27095,7 +27251,7 @@ function getExportedName(decl, originalId) {
|
|
|
27095
27251
|
}
|
|
27096
27252
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
27097
27253
|
|
|
27098
|
-
// bazel-out/
|
|
27254
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
27099
27255
|
var import_typescript11 = __toESM(require("typescript"), 1);
|
|
27100
27256
|
var TS = /\.tsx?$/i;
|
|
27101
27257
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -27196,7 +27352,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
27196
27352
|
return redirectInfo.unredirected;
|
|
27197
27353
|
}
|
|
27198
27354
|
|
|
27199
|
-
// bazel-out/
|
|
27355
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
27200
27356
|
var TraitState;
|
|
27201
27357
|
(function(TraitState2) {
|
|
27202
27358
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -27253,7 +27409,7 @@ var TraitImpl = class {
|
|
|
27253
27409
|
}
|
|
27254
27410
|
};
|
|
27255
27411
|
|
|
27256
|
-
// bazel-out/
|
|
27412
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
27257
27413
|
var TraitCompiler = class {
|
|
27258
27414
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
27259
27415
|
this.handlers = handlers;
|
|
@@ -27701,10 +27857,10 @@ function containsErrors(diagnostics) {
|
|
|
27701
27857
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === import_typescript12.default.DiagnosticCategory.Error);
|
|
27702
27858
|
}
|
|
27703
27859
|
|
|
27704
|
-
// bazel-out/
|
|
27860
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
27705
27861
|
var import_typescript27 = __toESM(require("typescript"), 1);
|
|
27706
27862
|
|
|
27707
|
-
// bazel-out/
|
|
27863
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
27708
27864
|
var Context = class {
|
|
27709
27865
|
constructor(isStatement) {
|
|
27710
27866
|
this.isStatement = isStatement;
|
|
@@ -27717,13 +27873,13 @@ var Context = class {
|
|
|
27717
27873
|
}
|
|
27718
27874
|
};
|
|
27719
27875
|
|
|
27720
|
-
// bazel-out/
|
|
27876
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
27721
27877
|
var import_typescript23 = __toESM(require("typescript"), 1);
|
|
27722
27878
|
|
|
27723
|
-
// bazel-out/
|
|
27879
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
27724
27880
|
var import_typescript15 = __toESM(require("typescript"), 1);
|
|
27725
27881
|
|
|
27726
|
-
// bazel-out/
|
|
27882
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
27727
27883
|
function findExportedNameOfNode(target, file, reflector) {
|
|
27728
27884
|
const exports = reflector.getExportsOfModule(file);
|
|
27729
27885
|
if (exports === null) {
|
|
@@ -27743,7 +27899,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
27743
27899
|
return foundExportName;
|
|
27744
27900
|
}
|
|
27745
27901
|
|
|
27746
|
-
// bazel-out/
|
|
27902
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
27747
27903
|
var ImportFlags;
|
|
27748
27904
|
(function(ImportFlags2) {
|
|
27749
27905
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -27959,7 +28115,7 @@ var UnifiedModulesStrategy = class {
|
|
|
27959
28115
|
}
|
|
27960
28116
|
};
|
|
27961
28117
|
|
|
27962
|
-
// bazel-out/
|
|
28118
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
27963
28119
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
27964
28120
|
var UnifiedModulesAliasingHost = class {
|
|
27965
28121
|
constructor(unifiedModulesHost) {
|
|
@@ -28026,7 +28182,7 @@ var AliasStrategy = class {
|
|
|
28026
28182
|
}
|
|
28027
28183
|
};
|
|
28028
28184
|
|
|
28029
|
-
// bazel-out/
|
|
28185
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
28030
28186
|
function relativePathBetween(from, to) {
|
|
28031
28187
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
28032
28188
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -28035,7 +28191,7 @@ function normalizeSeparators2(path4) {
|
|
|
28035
28191
|
return path4.replace(/\\/g, "/");
|
|
28036
28192
|
}
|
|
28037
28193
|
|
|
28038
|
-
// bazel-out/
|
|
28194
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
28039
28195
|
var NoopImportRewriter = class {
|
|
28040
28196
|
shouldImportSymbol(symbol, specifier) {
|
|
28041
28197
|
return true;
|
|
@@ -28094,7 +28250,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
28094
28250
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
28095
28251
|
}
|
|
28096
28252
|
|
|
28097
|
-
// bazel-out/
|
|
28253
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
28098
28254
|
var import_typescript17 = __toESM(require("typescript"), 1);
|
|
28099
28255
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
28100
28256
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -28129,7 +28285,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
28129
28285
|
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.");
|
|
28130
28286
|
}
|
|
28131
28287
|
|
|
28132
|
-
// bazel-out/
|
|
28288
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
28133
28289
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
28134
28290
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
28135
28291
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -28170,7 +28326,7 @@ var DefaultImportTracker = class {
|
|
|
28170
28326
|
}
|
|
28171
28327
|
};
|
|
28172
28328
|
|
|
28173
|
-
// bazel-out/
|
|
28329
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
28174
28330
|
var import_typescript19 = __toESM(require("typescript"), 1);
|
|
28175
28331
|
var AssumeEager = "AssumeEager";
|
|
28176
28332
|
var DeferredSymbolTracker = class {
|
|
@@ -28263,7 +28419,7 @@ var DeferredSymbolTracker = class {
|
|
|
28263
28419
|
}
|
|
28264
28420
|
};
|
|
28265
28421
|
|
|
28266
|
-
// bazel-out/
|
|
28422
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
28267
28423
|
var Reference2 = class {
|
|
28268
28424
|
constructor(node, bestGuessOwningModule = null) {
|
|
28269
28425
|
this.node = node;
|
|
@@ -28326,7 +28482,7 @@ var Reference2 = class {
|
|
|
28326
28482
|
}
|
|
28327
28483
|
};
|
|
28328
28484
|
|
|
28329
|
-
// bazel-out/
|
|
28485
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
28330
28486
|
var ModuleResolver = class {
|
|
28331
28487
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
28332
28488
|
this.program = program;
|
|
@@ -28343,7 +28499,7 @@ var ModuleResolver = class {
|
|
|
28343
28499
|
}
|
|
28344
28500
|
};
|
|
28345
28501
|
|
|
28346
|
-
// bazel-out/
|
|
28502
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
28347
28503
|
var ImportManager = class {
|
|
28348
28504
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
28349
28505
|
this.rewriter = rewriter;
|
|
@@ -28378,7 +28534,7 @@ var ImportManager = class {
|
|
|
28378
28534
|
}
|
|
28379
28535
|
};
|
|
28380
28536
|
|
|
28381
|
-
// bazel-out/
|
|
28537
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
28382
28538
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
28383
28539
|
[UnaryOperator.Minus, "-"],
|
|
28384
28540
|
[UnaryOperator.Plus, "+"]
|
|
@@ -28615,7 +28771,7 @@ function createRange(span) {
|
|
|
28615
28771
|
};
|
|
28616
28772
|
}
|
|
28617
28773
|
|
|
28618
|
-
// bazel-out/
|
|
28774
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
28619
28775
|
var import_typescript24 = __toESM(require("typescript"), 1);
|
|
28620
28776
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
28621
28777
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
@@ -28837,7 +28993,7 @@ var TypeTranslatorVisitor = class {
|
|
|
28837
28993
|
}
|
|
28838
28994
|
};
|
|
28839
28995
|
|
|
28840
|
-
// bazel-out/
|
|
28996
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
28841
28997
|
var import_typescript25 = __toESM(require("typescript"), 1);
|
|
28842
28998
|
var PureAnnotation;
|
|
28843
28999
|
(function(PureAnnotation2) {
|
|
@@ -29033,7 +29189,7 @@ function attachComments(statement, leadingComments) {
|
|
|
29033
29189
|
}
|
|
29034
29190
|
}
|
|
29035
29191
|
|
|
29036
|
-
// bazel-out/
|
|
29192
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
29037
29193
|
function translateExpression(expression, imports, options = {}) {
|
|
29038
29194
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
29039
29195
|
}
|
|
@@ -29041,7 +29197,7 @@ function translateStatement(statement, imports, options = {}) {
|
|
|
29041
29197
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
|
|
29042
29198
|
}
|
|
29043
29199
|
|
|
29044
|
-
// bazel-out/
|
|
29200
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
29045
29201
|
var import_typescript26 = __toESM(require("typescript"), 1);
|
|
29046
29202
|
function addImports(importManager, sf, extraStatements = []) {
|
|
29047
29203
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -29077,7 +29233,7 @@ function isImportStatement(stmt) {
|
|
|
29077
29233
|
return import_typescript26.default.isImportDeclaration(stmt) || import_typescript26.default.isImportEqualsDeclaration(stmt) || import_typescript26.default.isNamespaceImport(stmt);
|
|
29078
29234
|
}
|
|
29079
29235
|
|
|
29080
|
-
// bazel-out/
|
|
29236
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
29081
29237
|
var DtsTransformRegistry = class {
|
|
29082
29238
|
constructor() {
|
|
29083
29239
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -29224,10 +29380,10 @@ function markForEmitAsSingleLine(node) {
|
|
|
29224
29380
|
import_typescript27.default.forEachChild(node, markForEmitAsSingleLine);
|
|
29225
29381
|
}
|
|
29226
29382
|
|
|
29227
|
-
// bazel-out/
|
|
29383
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
29228
29384
|
var import_typescript29 = __toESM(require("typescript"), 1);
|
|
29229
29385
|
|
|
29230
|
-
// bazel-out/
|
|
29386
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
29231
29387
|
var import_typescript28 = __toESM(require("typescript"), 1);
|
|
29232
29388
|
function visit(node, visitor, context) {
|
|
29233
29389
|
return visitor._visit(node, context);
|
|
@@ -29288,7 +29444,7 @@ var Visitor = class {
|
|
|
29288
29444
|
}
|
|
29289
29445
|
};
|
|
29290
29446
|
|
|
29291
|
-
// bazel-out/
|
|
29447
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
29292
29448
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
29293
29449
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
29294
29450
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -29512,7 +29668,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
29512
29668
|
return array;
|
|
29513
29669
|
}
|
|
29514
29670
|
|
|
29515
|
-
// bazel-out/
|
|
29671
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
29516
29672
|
var import_typescript30 = __toESM(require("typescript"), 1);
|
|
29517
29673
|
function valueReferenceToExpression(valueRef) {
|
|
29518
29674
|
if (valueRef.kind === 2) {
|
|
@@ -29756,7 +29912,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
29756
29912
|
return import_typescript30.default.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === import_typescript30.default.SyntaxKind.AbstractKeyword) : false;
|
|
29757
29913
|
}
|
|
29758
29914
|
|
|
29759
|
-
// bazel-out/
|
|
29915
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
29760
29916
|
function getConstructorDependencies(clazz, reflector, isCore, compilationMode) {
|
|
29761
29917
|
const deps = [];
|
|
29762
29918
|
const errors = [];
|
|
@@ -29912,10 +30068,10 @@ function createUnsuitableInjectionTokenError(clazz, error2) {
|
|
|
29912
30068
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
29913
30069
|
}
|
|
29914
30070
|
|
|
29915
|
-
// bazel-out/
|
|
30071
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
29916
30072
|
var import_typescript39 = __toESM(require("typescript"), 1);
|
|
29917
30073
|
|
|
29918
|
-
// bazel-out/
|
|
30074
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
29919
30075
|
var MetaKind;
|
|
29920
30076
|
(function(MetaKind2) {
|
|
29921
30077
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -29928,10 +30084,10 @@ var MatchSource;
|
|
|
29928
30084
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
29929
30085
|
})(MatchSource || (MatchSource = {}));
|
|
29930
30086
|
|
|
29931
|
-
// bazel-out/
|
|
30087
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
29932
30088
|
var import_typescript34 = __toESM(require("typescript"), 1);
|
|
29933
30089
|
|
|
29934
|
-
// bazel-out/
|
|
30090
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
29935
30091
|
var ClassPropertyMapping = class {
|
|
29936
30092
|
constructor(forwardMap) {
|
|
29937
30093
|
this.forwardMap = forwardMap;
|
|
@@ -30009,7 +30165,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
30009
30165
|
return reverseMap;
|
|
30010
30166
|
}
|
|
30011
30167
|
|
|
30012
|
-
// bazel-out/
|
|
30168
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
30013
30169
|
var import_typescript32 = __toESM(require("typescript"), 1);
|
|
30014
30170
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
30015
30171
|
if (!import_typescript32.default.isTupleTypeNode(def)) {
|
|
@@ -30193,7 +30349,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
30193
30349
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
30194
30350
|
}
|
|
30195
30351
|
|
|
30196
|
-
// bazel-out/
|
|
30352
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
30197
30353
|
var DtsMetadataReader = class {
|
|
30198
30354
|
constructor(checker, reflector) {
|
|
30199
30355
|
this.checker = checker;
|
|
@@ -30368,7 +30524,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
30368
30524
|
return result.length > 0 ? result : null;
|
|
30369
30525
|
}
|
|
30370
30526
|
|
|
30371
|
-
// bazel-out/
|
|
30527
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
30372
30528
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
30373
30529
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
30374
30530
|
if (topMeta === null) {
|
|
@@ -30425,7 +30581,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
30425
30581
|
});
|
|
30426
30582
|
}
|
|
30427
30583
|
|
|
30428
|
-
// bazel-out/
|
|
30584
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
30429
30585
|
var LocalMetadataRegistry = class {
|
|
30430
30586
|
constructor() {
|
|
30431
30587
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -30482,7 +30638,7 @@ var CompoundMetadataRegistry = class {
|
|
|
30482
30638
|
}
|
|
30483
30639
|
};
|
|
30484
30640
|
|
|
30485
|
-
// bazel-out/
|
|
30641
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
30486
30642
|
var ResourceRegistry = class {
|
|
30487
30643
|
constructor() {
|
|
30488
30644
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -30547,7 +30703,7 @@ var ResourceRegistry = class {
|
|
|
30547
30703
|
}
|
|
30548
30704
|
};
|
|
30549
30705
|
|
|
30550
|
-
// bazel-out/
|
|
30706
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
|
|
30551
30707
|
var ExportedProviderStatusResolver = class {
|
|
30552
30708
|
constructor(metaReader) {
|
|
30553
30709
|
this.metaReader = metaReader;
|
|
@@ -30591,7 +30747,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
30591
30747
|
}
|
|
30592
30748
|
};
|
|
30593
30749
|
|
|
30594
|
-
// bazel-out/
|
|
30750
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
30595
30751
|
var EMPTY_ARRAY = [];
|
|
30596
30752
|
var HostDirectivesResolver = class {
|
|
30597
30753
|
constructor(metaReader) {
|
|
@@ -30652,10 +30808,10 @@ function resolveOutput(bindingName) {
|
|
|
30652
30808
|
return bindingName;
|
|
30653
30809
|
}
|
|
30654
30810
|
|
|
30655
|
-
// bazel-out/
|
|
30811
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
30656
30812
|
var import_typescript36 = __toESM(require("typescript"), 1);
|
|
30657
30813
|
|
|
30658
|
-
// bazel-out/
|
|
30814
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
30659
30815
|
var DynamicValue = class {
|
|
30660
30816
|
constructor(node, reason, code) {
|
|
30661
30817
|
this.node = node;
|
|
@@ -30745,7 +30901,7 @@ var DynamicValue = class {
|
|
|
30745
30901
|
}
|
|
30746
30902
|
};
|
|
30747
30903
|
|
|
30748
|
-
// bazel-out/
|
|
30904
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
30749
30905
|
var ResolvedModule = class {
|
|
30750
30906
|
constructor(exports, evaluate) {
|
|
30751
30907
|
this.exports = exports;
|
|
@@ -30775,7 +30931,7 @@ var EnumValue = class {
|
|
|
30775
30931
|
var KnownFn = class {
|
|
30776
30932
|
};
|
|
30777
30933
|
|
|
30778
|
-
// bazel-out/
|
|
30934
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
30779
30935
|
function describeResolvedType(value, maxDepth = 1) {
|
|
30780
30936
|
var _a2, _b2;
|
|
30781
30937
|
if (value === null) {
|
|
@@ -30904,10 +31060,10 @@ function getContainerNode(node) {
|
|
|
30904
31060
|
return node.getSourceFile();
|
|
30905
31061
|
}
|
|
30906
31062
|
|
|
30907
|
-
// bazel-out/
|
|
31063
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
30908
31064
|
var import_typescript37 = __toESM(require("typescript"), 1);
|
|
30909
31065
|
|
|
30910
|
-
// bazel-out/
|
|
31066
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
30911
31067
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
30912
31068
|
constructor(lhs) {
|
|
30913
31069
|
super();
|
|
@@ -30959,14 +31115,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
|
|
|
30959
31115
|
}
|
|
30960
31116
|
};
|
|
30961
31117
|
|
|
30962
|
-
// bazel-out/
|
|
31118
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
30963
31119
|
var SyntheticValue = class {
|
|
30964
31120
|
constructor(value) {
|
|
30965
31121
|
this.value = value;
|
|
30966
31122
|
}
|
|
30967
31123
|
};
|
|
30968
31124
|
|
|
30969
|
-
// bazel-out/
|
|
31125
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
30970
31126
|
function literalBinaryOp(op) {
|
|
30971
31127
|
return { op, literal: true };
|
|
30972
31128
|
}
|
|
@@ -31541,7 +31697,7 @@ function owningModule(context, override = null) {
|
|
|
31541
31697
|
}
|
|
31542
31698
|
}
|
|
31543
31699
|
|
|
31544
|
-
// bazel-out/
|
|
31700
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
31545
31701
|
var PartialEvaluator = class {
|
|
31546
31702
|
constructor(host, checker, dependencyTracker) {
|
|
31547
31703
|
this.host = host;
|
|
@@ -31561,7 +31717,7 @@ var PartialEvaluator = class {
|
|
|
31561
31717
|
}
|
|
31562
31718
|
};
|
|
31563
31719
|
|
|
31564
|
-
// bazel-out/
|
|
31720
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
31565
31721
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
31566
31722
|
const context = [];
|
|
31567
31723
|
for (const decl of data) {
|
|
@@ -31757,7 +31913,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
|
|
|
31757
31913
|
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}.`);
|
|
31758
31914
|
}
|
|
31759
31915
|
|
|
31760
|
-
// bazel-out/
|
|
31916
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
31761
31917
|
var import_typescript41 = __toESM(require("typescript"), 1);
|
|
31762
31918
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
31763
31919
|
let resolved = null;
|
|
@@ -31807,7 +31963,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
31807
31963
|
return meta;
|
|
31808
31964
|
}
|
|
31809
31965
|
|
|
31810
|
-
// bazel-out/
|
|
31966
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
31811
31967
|
function compileNgFactoryDefField(metadata) {
|
|
31812
31968
|
const res = compileFactoryFunction(metadata);
|
|
31813
31969
|
return {
|
|
@@ -31829,7 +31985,7 @@ function compileDeclareFactory(metadata) {
|
|
|
31829
31985
|
};
|
|
31830
31986
|
}
|
|
31831
31987
|
|
|
31832
|
-
// bazel-out/
|
|
31988
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
31833
31989
|
var InjectableClassRegistry = class {
|
|
31834
31990
|
constructor(host, isCore) {
|
|
31835
31991
|
this.host = host;
|
|
@@ -31855,7 +32011,7 @@ var InjectableClassRegistry = class {
|
|
|
31855
32011
|
}
|
|
31856
32012
|
};
|
|
31857
32013
|
|
|
31858
|
-
// bazel-out/
|
|
32014
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
31859
32015
|
var import_typescript42 = __toESM(require("typescript"), 1);
|
|
31860
32016
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
31861
32017
|
if (!reflection.isClass(clazz)) {
|
|
@@ -31939,7 +32095,7 @@ function removeIdentifierReferences(node, names) {
|
|
|
31939
32095
|
return result.transformed[0];
|
|
31940
32096
|
}
|
|
31941
32097
|
|
|
31942
|
-
// bazel-out/
|
|
32098
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
|
|
31943
32099
|
var path2 = __toESM(require("path"), 1);
|
|
31944
32100
|
function extractClassDebugInfo(clazz, reflection, rootDirs, forbidOrphanRendering) {
|
|
31945
32101
|
if (!reflection.isClass(clazz)) {
|
|
@@ -31965,13 +32121,13 @@ function computeRelativePathIfPossible(filePath, rootDirs) {
|
|
|
31965
32121
|
return null;
|
|
31966
32122
|
}
|
|
31967
32123
|
|
|
31968
|
-
// bazel-out/
|
|
32124
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
31969
32125
|
var NoopReferencesRegistry = class {
|
|
31970
32126
|
add(source, ...references) {
|
|
31971
32127
|
}
|
|
31972
32128
|
};
|
|
31973
32129
|
|
|
31974
|
-
// bazel-out/
|
|
32130
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
31975
32131
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
31976
32132
|
const schemas = [];
|
|
31977
32133
|
const result = evaluator.evaluate(rawExpr);
|
|
@@ -32000,7 +32156,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
32000
32156
|
return schemas;
|
|
32001
32157
|
}
|
|
32002
32158
|
|
|
32003
|
-
// bazel-out/
|
|
32159
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
|
|
32004
32160
|
function compileInputTransformFields(inputs) {
|
|
32005
32161
|
const extraFields = [];
|
|
32006
32162
|
for (const input of inputs) {
|
|
@@ -32017,10 +32173,10 @@ function compileInputTransformFields(inputs) {
|
|
|
32017
32173
|
return extraFields;
|
|
32018
32174
|
}
|
|
32019
32175
|
|
|
32020
|
-
// bazel-out/
|
|
32176
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
32021
32177
|
var import_typescript53 = __toESM(require("typescript"), 1);
|
|
32022
32178
|
|
|
32023
|
-
// bazel-out/
|
|
32179
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
32024
32180
|
var import_typescript43 = __toESM(require("typescript"), 1);
|
|
32025
32181
|
var SemanticSymbol = class {
|
|
32026
32182
|
constructor(decl) {
|
|
@@ -32036,7 +32192,7 @@ function getSymbolIdentifier(decl) {
|
|
|
32036
32192
|
return decl.name.text;
|
|
32037
32193
|
}
|
|
32038
32194
|
|
|
32039
|
-
// bazel-out/
|
|
32195
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
32040
32196
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
32041
32197
|
isPublicApiAffected() {
|
|
32042
32198
|
return false;
|
|
@@ -32178,10 +32334,10 @@ function getImportPath(expr) {
|
|
|
32178
32334
|
}
|
|
32179
32335
|
}
|
|
32180
32336
|
|
|
32181
|
-
// bazel-out/
|
|
32337
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
32182
32338
|
var import_typescript44 = __toESM(require("typescript"), 1);
|
|
32183
32339
|
|
|
32184
|
-
// bazel-out/
|
|
32340
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
32185
32341
|
function isSymbolEqual(a, b) {
|
|
32186
32342
|
if (a.decl === b.decl) {
|
|
32187
32343
|
return true;
|
|
@@ -32231,7 +32387,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
32231
32387
|
return true;
|
|
32232
32388
|
}
|
|
32233
32389
|
|
|
32234
|
-
// bazel-out/
|
|
32390
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
32235
32391
|
function extractSemanticTypeParameters(node) {
|
|
32236
32392
|
if (!import_typescript44.default.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
32237
32393
|
return null;
|
|
@@ -32251,14 +32407,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
32251
32407
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
32252
32408
|
}
|
|
32253
32409
|
|
|
32254
|
-
// bazel-out/
|
|
32410
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
32255
32411
|
var ComponentScopeKind;
|
|
32256
32412
|
(function(ComponentScopeKind2) {
|
|
32257
32413
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
32258
32414
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
32259
32415
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
32260
32416
|
|
|
32261
|
-
// bazel-out/
|
|
32417
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
32262
32418
|
var CompoundComponentScopeReader = class {
|
|
32263
32419
|
constructor(readers) {
|
|
32264
32420
|
this.readers = readers;
|
|
@@ -32283,7 +32439,7 @@ var CompoundComponentScopeReader = class {
|
|
|
32283
32439
|
}
|
|
32284
32440
|
};
|
|
32285
32441
|
|
|
32286
|
-
// bazel-out/
|
|
32442
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
32287
32443
|
var MetadataDtsModuleScopeResolver = class {
|
|
32288
32444
|
constructor(dtsMetaReader, aliasingHost) {
|
|
32289
32445
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -32358,10 +32514,10 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
32358
32514
|
}
|
|
32359
32515
|
};
|
|
32360
32516
|
|
|
32361
|
-
// bazel-out/
|
|
32517
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
32362
32518
|
var import_typescript45 = __toESM(require("typescript"), 1);
|
|
32363
32519
|
|
|
32364
|
-
// bazel-out/
|
|
32520
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
32365
32521
|
function getDiagnosticNode(ref, rawExpr) {
|
|
32366
32522
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
32367
32523
|
}
|
|
@@ -32384,7 +32540,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
|
|
|
32384
32540
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
|
|
32385
32541
|
}
|
|
32386
32542
|
|
|
32387
|
-
// bazel-out/
|
|
32543
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
32388
32544
|
var LocalModuleScopeRegistry = class {
|
|
32389
32545
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
32390
32546
|
this.localReader = localReader;
|
|
@@ -32723,7 +32879,7 @@ function reexportCollision(module3, refA, refB) {
|
|
|
32723
32879
|
]);
|
|
32724
32880
|
}
|
|
32725
32881
|
|
|
32726
|
-
// bazel-out/
|
|
32882
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
32727
32883
|
var import_typescript47 = __toESM(require("typescript"), 1);
|
|
32728
32884
|
var TypeCheckScopeRegistry = class {
|
|
32729
32885
|
constructor(scopeReader, metaReader, hostDirectivesResolver) {
|
|
@@ -32791,7 +32947,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
32791
32947
|
}
|
|
32792
32948
|
};
|
|
32793
32949
|
|
|
32794
|
-
// bazel-out/
|
|
32950
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
32795
32951
|
var import_typescript48 = __toESM(require("typescript"), 1);
|
|
32796
32952
|
var EMPTY_OBJECT = {};
|
|
32797
32953
|
var QUERY_TYPES = /* @__PURE__ */ new Set([
|
|
@@ -33379,7 +33535,7 @@ function toR3InputMetadata(mapping) {
|
|
|
33379
33535
|
};
|
|
33380
33536
|
}
|
|
33381
33537
|
|
|
33382
|
-
// bazel-out/
|
|
33538
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
33383
33539
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
33384
33540
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
33385
33541
|
super(decl);
|
|
@@ -33459,7 +33615,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
33459
33615
|
return isSymbolEqual(current, previous);
|
|
33460
33616
|
}
|
|
33461
33617
|
|
|
33462
|
-
// bazel-out/
|
|
33618
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
33463
33619
|
var FIELD_DECORATORS = [
|
|
33464
33620
|
"Input",
|
|
33465
33621
|
"Output",
|
|
@@ -33631,10 +33787,10 @@ var DirectiveDecoratorHandler = class {
|
|
|
33631
33787
|
}
|
|
33632
33788
|
};
|
|
33633
33789
|
|
|
33634
|
-
// bazel-out/
|
|
33790
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
33635
33791
|
var import_typescript50 = __toESM(require("typescript"), 1);
|
|
33636
33792
|
|
|
33637
|
-
// bazel-out/
|
|
33793
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
33638
33794
|
var import_typescript49 = __toESM(require("typescript"), 1);
|
|
33639
33795
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
33640
33796
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -33701,7 +33857,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
33701
33857
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
33702
33858
|
}
|
|
33703
33859
|
|
|
33704
|
-
// bazel-out/
|
|
33860
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
33705
33861
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
33706
33862
|
constructor(decl, hasProviders) {
|
|
33707
33863
|
super(decl);
|
|
@@ -34266,7 +34422,7 @@ function isSyntheticReference(ref) {
|
|
|
34266
34422
|
return ref.synthetic;
|
|
34267
34423
|
}
|
|
34268
34424
|
|
|
34269
|
-
// bazel-out/
|
|
34425
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
34270
34426
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
34271
34427
|
const name = ref.debugName || "(unknown)";
|
|
34272
34428
|
const path4 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -34289,7 +34445,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
34289
34445
|
return null;
|
|
34290
34446
|
}
|
|
34291
34447
|
|
|
34292
|
-
// bazel-out/
|
|
34448
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
34293
34449
|
var import_typescript52 = __toESM(require("typescript"), 1);
|
|
34294
34450
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
34295
34451
|
return declaration.isInline ? declaration.expression : declaration.templateUrlExpression;
|
|
@@ -34642,7 +34798,7 @@ function _extractTemplateStyleUrls(template2) {
|
|
|
34642
34798
|
return template2.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
|
|
34643
34799
|
}
|
|
34644
34800
|
|
|
34645
|
-
// bazel-out/
|
|
34801
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
34646
34802
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
34647
34803
|
constructor() {
|
|
34648
34804
|
super(...arguments);
|
|
@@ -34677,7 +34833,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
34677
34833
|
}
|
|
34678
34834
|
};
|
|
34679
34835
|
|
|
34680
|
-
// bazel-out/
|
|
34836
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
34681
34837
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
34682
34838
|
if (value instanceof Map) {
|
|
34683
34839
|
const name = value.get("name");
|
|
@@ -34753,7 +34909,7 @@ function isLikelyModuleWithProviders(value) {
|
|
|
34753
34909
|
return false;
|
|
34754
34910
|
}
|
|
34755
34911
|
|
|
34756
|
-
// bazel-out/
|
|
34912
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
34757
34913
|
var EMPTY_ARRAY2 = [];
|
|
34758
34914
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
34759
34915
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
@@ -35560,7 +35716,7 @@ function validateStandaloneImports(importRefs, importExpr2, metaReader, scopeRea
|
|
|
35560
35716
|
return diagnostics;
|
|
35561
35717
|
}
|
|
35562
35718
|
|
|
35563
|
-
// bazel-out/
|
|
35719
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
35564
35720
|
var import_typescript55 = __toESM(require("typescript"), 1);
|
|
35565
35721
|
var InjectableDecoratorHandler = class {
|
|
35566
35722
|
constructor(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, perf, includeClassMetadata, compilationMode, errorOnDuplicateProv = true) {
|
|
@@ -35785,7 +35941,7 @@ function getDep(dep, reflector) {
|
|
|
35785
35941
|
return meta;
|
|
35786
35942
|
}
|
|
35787
35943
|
|
|
35788
|
-
// bazel-out/
|
|
35944
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
35789
35945
|
var import_typescript56 = __toESM(require("typescript"), 1);
|
|
35790
35946
|
var PipeSymbol = class extends SemanticSymbol {
|
|
35791
35947
|
constructor(decl, name) {
|
|
@@ -35936,7 +36092,7 @@ var PipeDecoratorHandler = class {
|
|
|
35936
36092
|
}
|
|
35937
36093
|
};
|
|
35938
36094
|
|
|
35939
|
-
// bazel-out/
|
|
36095
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
35940
36096
|
var CycleAnalyzer = class {
|
|
35941
36097
|
constructor(importGraph) {
|
|
35942
36098
|
this.importGraph = importGraph;
|
|
@@ -36007,7 +36163,7 @@ var Cycle = class {
|
|
|
36007
36163
|
}
|
|
36008
36164
|
};
|
|
36009
36165
|
|
|
36010
|
-
// bazel-out/
|
|
36166
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
36011
36167
|
var import_typescript57 = __toESM(require("typescript"), 1);
|
|
36012
36168
|
var ImportGraph = class {
|
|
36013
36169
|
constructor(checker, perf) {
|
|
@@ -36099,7 +36255,7 @@ var Found = class {
|
|
|
36099
36255
|
}
|
|
36100
36256
|
};
|
|
36101
36257
|
|
|
36102
|
-
// bazel-out/
|
|
36258
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
36103
36259
|
var EntryType;
|
|
36104
36260
|
(function(EntryType2) {
|
|
36105
36261
|
EntryType2["Block"] = "Block";
|
|
@@ -36135,7 +36291,7 @@ var MemberTags;
|
|
|
36135
36291
|
MemberTags2["Output"] = "output";
|
|
36136
36292
|
})(MemberTags || (MemberTags = {}));
|
|
36137
36293
|
|
|
36138
|
-
// bazel-out/
|
|
36294
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
36139
36295
|
var import_typescript58 = __toESM(require("typescript"), 1);
|
|
36140
36296
|
function extractJsDocTags(node) {
|
|
36141
36297
|
return import_typescript58.default.getJSDocTags(node).map((t) => {
|
|
@@ -36159,12 +36315,12 @@ function extractRawJsDoc(node) {
|
|
|
36159
36315
|
return (_b2 = (_a2 = import_typescript58.default.getJSDocCommentsAndTags(node).find(import_typescript58.default.isJSDoc)) == null ? void 0 : _a2.getFullText()) != null ? _b2 : "";
|
|
36160
36316
|
}
|
|
36161
36317
|
|
|
36162
|
-
// bazel-out/
|
|
36318
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
36163
36319
|
function extractResolvedTypeString(node, checker) {
|
|
36164
36320
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
36165
36321
|
}
|
|
36166
36322
|
|
|
36167
|
-
// bazel-out/
|
|
36323
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
36168
36324
|
var import_typescript59 = __toESM(require("typescript"), 1);
|
|
36169
36325
|
function extractEnum(declaration, typeChecker) {
|
|
36170
36326
|
return {
|
|
@@ -36193,8 +36349,23 @@ function getEnumMemberValue(memberNode) {
|
|
|
36193
36349
|
return (_a2 = literal3 == null ? void 0 : literal3.getText()) != null ? _a2 : "";
|
|
36194
36350
|
}
|
|
36195
36351
|
|
|
36196
|
-
// bazel-out/
|
|
36352
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
36197
36353
|
var import_typescript60 = __toESM(require("typescript"), 1);
|
|
36354
|
+
|
|
36355
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
36356
|
+
function extractGenerics(declaration) {
|
|
36357
|
+
var _a2, _b2;
|
|
36358
|
+
return (_b2 = (_a2 = declaration.typeParameters) == null ? void 0 : _a2.map((typeParam) => {
|
|
36359
|
+
var _a3, _b3;
|
|
36360
|
+
return {
|
|
36361
|
+
name: typeParam.name.getText(),
|
|
36362
|
+
constraint: (_a3 = typeParam.constraint) == null ? void 0 : _a3.getText(),
|
|
36363
|
+
default: (_b3 = typeParam.default) == null ? void 0 : _b3.getText()
|
|
36364
|
+
};
|
|
36365
|
+
})) != null ? _b2 : [];
|
|
36366
|
+
}
|
|
36367
|
+
|
|
36368
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
36198
36369
|
var FunctionExtractor = class {
|
|
36199
36370
|
constructor(declaration, typeChecker) {
|
|
36200
36371
|
this.declaration = declaration;
|
|
@@ -36208,6 +36379,7 @@ var FunctionExtractor = class {
|
|
|
36208
36379
|
name: this.declaration.name.getText(),
|
|
36209
36380
|
returnType,
|
|
36210
36381
|
entryType: EntryType.Function,
|
|
36382
|
+
generics: extractGenerics(this.declaration),
|
|
36211
36383
|
description: extractJsDocDescription(this.declaration),
|
|
36212
36384
|
jsdocTags: extractJsDocTags(this.declaration),
|
|
36213
36385
|
rawComment: extractRawJsDoc(this.declaration)
|
|
@@ -36247,20 +36419,20 @@ var FunctionExtractor = class {
|
|
|
36247
36419
|
}
|
|
36248
36420
|
};
|
|
36249
36421
|
|
|
36250
|
-
// bazel-out/
|
|
36422
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
36251
36423
|
var import_typescript62 = __toESM(require("typescript"), 1);
|
|
36252
36424
|
|
|
36253
|
-
// bazel-out/
|
|
36425
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
36254
36426
|
var import_typescript61 = __toESM(require("typescript"), 1);
|
|
36255
36427
|
|
|
36256
|
-
// bazel-out/
|
|
36428
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
36257
36429
|
function isAngularPrivateName(name) {
|
|
36258
36430
|
var _a2;
|
|
36259
36431
|
const firstChar = (_a2 = name[0]) != null ? _a2 : "";
|
|
36260
36432
|
return firstChar === "\u0275" || firstChar === "_";
|
|
36261
36433
|
}
|
|
36262
36434
|
|
|
36263
|
-
// bazel-out/
|
|
36435
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
36264
36436
|
var ClassExtractor = class {
|
|
36265
36437
|
constructor(declaration, typeChecker) {
|
|
36266
36438
|
this.declaration = declaration;
|
|
@@ -36272,6 +36444,7 @@ var ClassExtractor = class {
|
|
|
36272
36444
|
isAbstract: this.isAbstract(),
|
|
36273
36445
|
entryType: import_typescript61.default.isInterfaceDeclaration(this.declaration) ? EntryType.Interface : EntryType.UndecoratedClass,
|
|
36274
36446
|
members: this.extractAllClassMembers(this.declaration),
|
|
36447
|
+
generics: extractGenerics(this.declaration),
|
|
36275
36448
|
description: extractJsDocDescription(this.declaration),
|
|
36276
36449
|
jsdocTags: extractJsDocTags(this.declaration),
|
|
36277
36450
|
rawComment: extractRawJsDoc(this.declaration)
|
|
@@ -36471,7 +36644,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
36471
36644
|
return extractor.extract();
|
|
36472
36645
|
}
|
|
36473
36646
|
|
|
36474
|
-
// bazel-out/
|
|
36647
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
36475
36648
|
function extractConstant(declaration, typeChecker) {
|
|
36476
36649
|
const resolvedType = typeChecker.getBaseTypeOfLiteralType(typeChecker.getTypeAtLocation(declaration));
|
|
36477
36650
|
const variableStatement = declaration.parent.parent;
|
|
@@ -36489,7 +36662,7 @@ function isSyntheticAngularConstant(declaration) {
|
|
|
36489
36662
|
return declaration.name.getText() === "USED_FOR_NG_TYPE_CHECKING";
|
|
36490
36663
|
}
|
|
36491
36664
|
|
|
36492
|
-
// bazel-out/
|
|
36665
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
36493
36666
|
function extractTypeAlias(declaration) {
|
|
36494
36667
|
return {
|
|
36495
36668
|
name: declaration.name.getText(),
|
|
@@ -36501,7 +36674,7 @@ function extractTypeAlias(declaration) {
|
|
|
36501
36674
|
};
|
|
36502
36675
|
}
|
|
36503
36676
|
|
|
36504
|
-
// bazel-out/
|
|
36677
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
36505
36678
|
var DocsExtractor = class {
|
|
36506
36679
|
constructor(typeChecker, metadataReader) {
|
|
36507
36680
|
this.typeChecker = typeChecker;
|
|
@@ -36560,7 +36733,7 @@ var DocsExtractor = class {
|
|
|
36560
36733
|
}
|
|
36561
36734
|
};
|
|
36562
36735
|
|
|
36563
|
-
// bazel-out/
|
|
36736
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
36564
36737
|
var import_typescript63 = __toESM(require("typescript"), 1);
|
|
36565
36738
|
var FlatIndexGenerator = class {
|
|
36566
36739
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -36585,7 +36758,7 @@ export * from '${relativeEntryPoint}';
|
|
|
36585
36758
|
}
|
|
36586
36759
|
};
|
|
36587
36760
|
|
|
36588
|
-
// bazel-out/
|
|
36761
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
36589
36762
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
36590
36763
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
36591
36764
|
let resolvedEntryPoint = null;
|
|
@@ -36601,7 +36774,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
36601
36774
|
return resolvedEntryPoint;
|
|
36602
36775
|
}
|
|
36603
36776
|
|
|
36604
|
-
// bazel-out/
|
|
36777
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
36605
36778
|
var import_typescript65 = __toESM(require("typescript"), 1);
|
|
36606
36779
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
36607
36780
|
const diagnostics = [];
|
|
@@ -36681,7 +36854,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
36681
36854
|
}
|
|
36682
36855
|
}
|
|
36683
36856
|
|
|
36684
|
-
// bazel-out/
|
|
36857
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
36685
36858
|
var ReferenceGraph = class {
|
|
36686
36859
|
constructor() {
|
|
36687
36860
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -36735,7 +36908,7 @@ var ReferenceGraph = class {
|
|
|
36735
36908
|
}
|
|
36736
36909
|
};
|
|
36737
36910
|
|
|
36738
|
-
// bazel-out/
|
|
36911
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
36739
36912
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
36740
36913
|
var UpdateMode;
|
|
36741
36914
|
(function(UpdateMode2) {
|
|
@@ -36743,13 +36916,13 @@ var UpdateMode;
|
|
|
36743
36916
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
36744
36917
|
})(UpdateMode || (UpdateMode = {}));
|
|
36745
36918
|
|
|
36746
|
-
// bazel-out/
|
|
36919
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
36747
36920
|
var import_typescript69 = __toESM(require("typescript"), 1);
|
|
36748
36921
|
|
|
36749
|
-
// bazel-out/
|
|
36922
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
36750
36923
|
var import_typescript66 = __toESM(require("typescript"), 1);
|
|
36751
36924
|
|
|
36752
|
-
// bazel-out/
|
|
36925
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
36753
36926
|
var NgExtension = Symbol("NgExtension");
|
|
36754
36927
|
function isExtended(sf) {
|
|
36755
36928
|
return sf[NgExtension] !== void 0;
|
|
@@ -36809,13 +36982,13 @@ function retagTsFile(sf) {
|
|
|
36809
36982
|
}
|
|
36810
36983
|
}
|
|
36811
36984
|
|
|
36812
|
-
// bazel-out/
|
|
36985
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
36813
36986
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
36814
36987
|
function makeShimFileName(fileName, suffix) {
|
|
36815
36988
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
36816
36989
|
}
|
|
36817
36990
|
|
|
36818
|
-
// bazel-out/
|
|
36991
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
36819
36992
|
var ShimAdapter = class {
|
|
36820
36993
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
36821
36994
|
this.delegate = delegate;
|
|
@@ -36910,7 +37083,7 @@ var ShimAdapter = class {
|
|
|
36910
37083
|
}
|
|
36911
37084
|
};
|
|
36912
37085
|
|
|
36913
|
-
// bazel-out/
|
|
37086
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
36914
37087
|
var ShimReferenceTagger = class {
|
|
36915
37088
|
constructor(shimExtensions) {
|
|
36916
37089
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -36944,7 +37117,7 @@ var ShimReferenceTagger = class {
|
|
|
36944
37117
|
}
|
|
36945
37118
|
};
|
|
36946
37119
|
|
|
36947
|
-
// bazel-out/
|
|
37120
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
36948
37121
|
var DelegatingCompilerHost = class {
|
|
36949
37122
|
constructor(delegate) {
|
|
36950
37123
|
this.delegate = delegate;
|
|
@@ -37057,7 +37230,7 @@ var TsCreateProgramDriver = class {
|
|
|
37057
37230
|
}
|
|
37058
37231
|
};
|
|
37059
37232
|
|
|
37060
|
-
// bazel-out/
|
|
37233
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
37061
37234
|
var FileDependencyGraph = class {
|
|
37062
37235
|
constructor() {
|
|
37063
37236
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -37124,7 +37297,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
37124
37297
|
return false;
|
|
37125
37298
|
}
|
|
37126
37299
|
|
|
37127
|
-
// bazel-out/
|
|
37300
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
37128
37301
|
var IncrementalStateKind;
|
|
37129
37302
|
(function(IncrementalStateKind2) {
|
|
37130
37303
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -37132,7 +37305,7 @@ var IncrementalStateKind;
|
|
|
37132
37305
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
37133
37306
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
37134
37307
|
|
|
37135
|
-
// bazel-out/
|
|
37308
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
37136
37309
|
var PhaseKind;
|
|
37137
37310
|
(function(PhaseKind2) {
|
|
37138
37311
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -37333,7 +37506,7 @@ function toOriginalSourceFile(sf) {
|
|
|
37333
37506
|
}
|
|
37334
37507
|
}
|
|
37335
37508
|
|
|
37336
|
-
// bazel-out/
|
|
37509
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
37337
37510
|
var TrackedIncrementalBuildStrategy = class {
|
|
37338
37511
|
constructor() {
|
|
37339
37512
|
this.state = null;
|
|
@@ -37354,7 +37527,7 @@ var TrackedIncrementalBuildStrategy = class {
|
|
|
37354
37527
|
};
|
|
37355
37528
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
37356
37529
|
|
|
37357
|
-
// bazel-out/
|
|
37530
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
37358
37531
|
var IdentifierKind;
|
|
37359
37532
|
(function(IdentifierKind2) {
|
|
37360
37533
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -37372,7 +37545,7 @@ var AbsoluteSourceSpan2 = class {
|
|
|
37372
37545
|
}
|
|
37373
37546
|
};
|
|
37374
37547
|
|
|
37375
|
-
// bazel-out/
|
|
37548
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
37376
37549
|
var IndexingContext = class {
|
|
37377
37550
|
constructor() {
|
|
37378
37551
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -37382,7 +37555,7 @@ var IndexingContext = class {
|
|
|
37382
37555
|
}
|
|
37383
37556
|
};
|
|
37384
37557
|
|
|
37385
|
-
// bazel-out/
|
|
37558
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
37386
37559
|
var ExpressionVisitor = class extends RecursiveAstVisitor2 {
|
|
37387
37560
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
37388
37561
|
super();
|
|
@@ -37663,7 +37836,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
37663
37836
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
37664
37837
|
}
|
|
37665
37838
|
|
|
37666
|
-
// bazel-out/
|
|
37839
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
37667
37840
|
function generateAnalysis(context) {
|
|
37668
37841
|
const analysis = /* @__PURE__ */ new Map();
|
|
37669
37842
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -37699,7 +37872,7 @@ function generateAnalysis(context) {
|
|
|
37699
37872
|
return analysis;
|
|
37700
37873
|
}
|
|
37701
37874
|
|
|
37702
|
-
// bazel-out/
|
|
37875
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
37703
37876
|
var NgModuleIndexImpl = class {
|
|
37704
37877
|
constructor(metaReader, localReader) {
|
|
37705
37878
|
this.metaReader = metaReader;
|
|
@@ -37788,7 +37961,7 @@ var NgModuleIndexImpl = class {
|
|
|
37788
37961
|
}
|
|
37789
37962
|
};
|
|
37790
37963
|
|
|
37791
|
-
// bazel-out/
|
|
37964
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
37792
37965
|
var import_typescript72 = __toESM(require("typescript"), 1);
|
|
37793
37966
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
37794
37967
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -37936,7 +38109,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
37936
38109
|
};
|
|
37937
38110
|
}
|
|
37938
38111
|
|
|
37939
|
-
// bazel-out/
|
|
38112
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
37940
38113
|
var StandaloneComponentScopeReader = class {
|
|
37941
38114
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
37942
38115
|
this.metaReader = metaReader;
|
|
@@ -38014,21 +38187,21 @@ var StandaloneComponentScopeReader = class {
|
|
|
38014
38187
|
}
|
|
38015
38188
|
};
|
|
38016
38189
|
|
|
38017
|
-
// bazel-out/
|
|
38190
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
38018
38191
|
var OptimizeFor;
|
|
38019
38192
|
(function(OptimizeFor2) {
|
|
38020
38193
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
38021
38194
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
38022
38195
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
38023
38196
|
|
|
38024
|
-
// bazel-out/
|
|
38197
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
38025
38198
|
var CompletionKind;
|
|
38026
38199
|
(function(CompletionKind2) {
|
|
38027
38200
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
38028
38201
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
38029
38202
|
})(CompletionKind || (CompletionKind = {}));
|
|
38030
38203
|
|
|
38031
|
-
// bazel-out/
|
|
38204
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
38032
38205
|
var PotentialImportKind;
|
|
38033
38206
|
(function(PotentialImportKind2) {
|
|
38034
38207
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -38040,7 +38213,7 @@ var PotentialImportMode;
|
|
|
38040
38213
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
38041
38214
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
38042
38215
|
|
|
38043
|
-
// bazel-out/
|
|
38216
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
38044
38217
|
var SymbolKind;
|
|
38045
38218
|
(function(SymbolKind2) {
|
|
38046
38219
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -38056,7 +38229,7 @@ var SymbolKind;
|
|
|
38056
38229
|
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
38057
38230
|
})(SymbolKind || (SymbolKind = {}));
|
|
38058
38231
|
|
|
38059
|
-
// bazel-out/
|
|
38232
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
38060
38233
|
var import_typescript73 = __toESM(require("typescript"), 1);
|
|
38061
38234
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
38062
38235
|
var _a2;
|
|
@@ -38163,7 +38336,7 @@ function parseTemplateAsSourceFile(fileName, template2) {
|
|
|
38163
38336
|
return import_typescript73.default.createSourceFile(fileName, template2, import_typescript73.default.ScriptTarget.Latest, false, import_typescript73.default.ScriptKind.JSX);
|
|
38164
38337
|
}
|
|
38165
38338
|
|
|
38166
|
-
// bazel-out/
|
|
38339
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
38167
38340
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
38168
38341
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
38169
38342
|
function getTemplateId(clazz) {
|
|
@@ -38180,10 +38353,10 @@ function allocateTemplateId(sf) {
|
|
|
38180
38353
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
38181
38354
|
}
|
|
38182
38355
|
|
|
38183
|
-
// bazel-out/
|
|
38356
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
38184
38357
|
var import_typescript75 = __toESM(require("typescript"), 1);
|
|
38185
38358
|
|
|
38186
|
-
// bazel-out/
|
|
38359
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
38187
38360
|
var import_typescript74 = __toESM(require("typescript"), 1);
|
|
38188
38361
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
38189
38362
|
function readSpanComment(node, sourceFile = node.getSourceFile()) {
|
|
@@ -38312,7 +38485,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
38312
38485
|
}) || false;
|
|
38313
38486
|
}
|
|
38314
38487
|
|
|
38315
|
-
// bazel-out/
|
|
38488
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
38316
38489
|
var CompletionEngine = class {
|
|
38317
38490
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
38318
38491
|
this.tcb = tcb;
|
|
@@ -38469,10 +38642,10 @@ var CompletionEngine = class {
|
|
|
38469
38642
|
}
|
|
38470
38643
|
};
|
|
38471
38644
|
|
|
38472
|
-
// bazel-out/
|
|
38645
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
38473
38646
|
var import_typescript90 = __toESM(require("typescript"), 1);
|
|
38474
38647
|
|
|
38475
|
-
// bazel-out/
|
|
38648
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
38476
38649
|
var import_typescript76 = __toESM(require("typescript"), 1);
|
|
38477
38650
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
38478
38651
|
var REMOVE_XHTML_REGEX = /^:xhtml:/;
|
|
@@ -38524,10 +38697,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
38524
38697
|
}
|
|
38525
38698
|
};
|
|
38526
38699
|
|
|
38527
|
-
// bazel-out/
|
|
38700
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
38528
38701
|
var import_typescript83 = __toESM(require("typescript"), 1);
|
|
38529
38702
|
|
|
38530
|
-
// bazel-out/
|
|
38703
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
38531
38704
|
var import_typescript77 = __toESM(require("typescript"), 1);
|
|
38532
38705
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
38533
38706
|
import_typescript77.default.SyntaxKind.ParenthesizedExpression,
|
|
@@ -38601,16 +38774,16 @@ function isAccessExpression2(node) {
|
|
|
38601
38774
|
return import_typescript77.default.isPropertyAccessExpression(node) || import_typescript77.default.isElementAccessExpression(node);
|
|
38602
38775
|
}
|
|
38603
38776
|
|
|
38604
|
-
// bazel-out/
|
|
38777
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
38605
38778
|
var import_typescript82 = __toESM(require("typescript"), 1);
|
|
38606
38779
|
|
|
38607
|
-
// bazel-out/
|
|
38780
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
38608
38781
|
var import_typescript80 = __toESM(require("typescript"), 1);
|
|
38609
38782
|
|
|
38610
|
-
// bazel-out/
|
|
38783
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
38611
38784
|
var import_typescript79 = __toESM(require("typescript"), 1);
|
|
38612
38785
|
|
|
38613
|
-
// bazel-out/
|
|
38786
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
|
|
38614
38787
|
var import_typescript78 = __toESM(require("typescript"), 1);
|
|
38615
38788
|
var INELIGIBLE = {};
|
|
38616
38789
|
function canEmitType(type, canEmit) {
|
|
@@ -38685,7 +38858,7 @@ var TypeEmitter = class {
|
|
|
38685
38858
|
}
|
|
38686
38859
|
};
|
|
38687
38860
|
|
|
38688
|
-
// bazel-out/
|
|
38861
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
38689
38862
|
var TypeParameterEmitter = class {
|
|
38690
38863
|
constructor(typeParameters, reflector) {
|
|
38691
38864
|
this.typeParameters = typeParameters;
|
|
@@ -38762,7 +38935,7 @@ var TypeParameterEmitter = class {
|
|
|
38762
38935
|
}
|
|
38763
38936
|
};
|
|
38764
38937
|
|
|
38765
|
-
// bazel-out/
|
|
38938
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
38766
38939
|
var TcbInliningRequirement;
|
|
38767
38940
|
(function(TcbInliningRequirement2) {
|
|
38768
38941
|
TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
|
|
@@ -38842,7 +39015,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
38842
39015
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
38843
39016
|
}
|
|
38844
39017
|
|
|
38845
|
-
// bazel-out/
|
|
39018
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
38846
39019
|
function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
|
|
38847
39020
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
38848
39021
|
const rawType = import_typescript82.default.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -38953,7 +39126,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
38953
39126
|
});
|
|
38954
39127
|
}
|
|
38955
39128
|
|
|
38956
|
-
// bazel-out/
|
|
39129
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
38957
39130
|
var Environment = class {
|
|
38958
39131
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
38959
39132
|
this.config = config;
|
|
@@ -39047,7 +39220,7 @@ var Environment = class {
|
|
|
39047
39220
|
}
|
|
39048
39221
|
};
|
|
39049
39222
|
|
|
39050
|
-
// bazel-out/
|
|
39223
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
39051
39224
|
var import_typescript84 = __toESM(require("typescript"), 1);
|
|
39052
39225
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
39053
39226
|
constructor(resolver) {
|
|
@@ -39201,7 +39374,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
39201
39374
|
});
|
|
39202
39375
|
}
|
|
39203
39376
|
|
|
39204
|
-
// bazel-out/
|
|
39377
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
39205
39378
|
var import_typescript85 = __toESM(require("typescript"), 1);
|
|
39206
39379
|
var TypeCheckShimGenerator = class {
|
|
39207
39380
|
constructor() {
|
|
@@ -39219,10 +39392,10 @@ var TypeCheckShimGenerator = class {
|
|
|
39219
39392
|
}
|
|
39220
39393
|
};
|
|
39221
39394
|
|
|
39222
|
-
// bazel-out/
|
|
39395
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
39223
39396
|
var import_typescript88 = __toESM(require("typescript"), 1);
|
|
39224
39397
|
|
|
39225
|
-
// bazel-out/
|
|
39398
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
39226
39399
|
var import_typescript86 = __toESM(require("typescript"), 1);
|
|
39227
39400
|
function wrapForDiagnostics(expr) {
|
|
39228
39401
|
return import_typescript86.default.factory.createParenthesizedExpression(expr);
|
|
@@ -39267,7 +39440,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
39267
39440
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
39268
39441
|
}
|
|
39269
39442
|
|
|
39270
|
-
// bazel-out/
|
|
39443
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
39271
39444
|
var import_typescript87 = __toESM(require("typescript"), 1);
|
|
39272
39445
|
var NULL_AS_ANY = import_typescript87.default.factory.createAsExpression(import_typescript87.default.factory.createNull(), import_typescript87.default.factory.createKeywordTypeNode(import_typescript87.default.SyntaxKind.AnyKeyword));
|
|
39273
39446
|
var UNDEFINED = import_typescript87.default.factory.createIdentifier("undefined");
|
|
@@ -39599,7 +39772,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
39599
39772
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
39600
39773
|
})();
|
|
39601
39774
|
|
|
39602
|
-
// bazel-out/
|
|
39775
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
39603
39776
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
39604
39777
|
constructor(templateId, boundTarget, oob) {
|
|
39605
39778
|
super();
|
|
@@ -39622,7 +39795,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
39622
39795
|
}
|
|
39623
39796
|
};
|
|
39624
39797
|
|
|
39625
|
-
// bazel-out/
|
|
39798
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
39626
39799
|
var TcbGenericContextBehavior;
|
|
39627
39800
|
(function(TcbGenericContextBehavior2) {
|
|
39628
39801
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -40993,7 +41166,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
40993
41166
|
}
|
|
40994
41167
|
};
|
|
40995
41168
|
|
|
40996
|
-
// bazel-out/
|
|
41169
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
40997
41170
|
var import_typescript89 = __toESM(require("typescript"), 1);
|
|
40998
41171
|
var TypeCheckFile = class extends Environment {
|
|
40999
41172
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -41029,7 +41202,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
41029
41202
|
}
|
|
41030
41203
|
};
|
|
41031
41204
|
|
|
41032
|
-
// bazel-out/
|
|
41205
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
41033
41206
|
var InliningMode;
|
|
41034
41207
|
(function(InliningMode2) {
|
|
41035
41208
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -41266,7 +41439,7 @@ function splitStringAtPoints(str, points) {
|
|
|
41266
41439
|
return splits;
|
|
41267
41440
|
}
|
|
41268
41441
|
|
|
41269
|
-
// bazel-out/
|
|
41442
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
41270
41443
|
var LF_CHAR = 10;
|
|
41271
41444
|
var CR_CHAR = 13;
|
|
41272
41445
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -41307,7 +41480,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
41307
41480
|
return low - 1;
|
|
41308
41481
|
}
|
|
41309
41482
|
|
|
41310
|
-
// bazel-out/
|
|
41483
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
41311
41484
|
var TemplateSource = class {
|
|
41312
41485
|
constructor(mapping, file) {
|
|
41313
41486
|
this.mapping = mapping;
|
|
@@ -41358,7 +41531,7 @@ var TemplateSourceManager = class {
|
|
|
41358
41531
|
}
|
|
41359
41532
|
};
|
|
41360
41533
|
|
|
41361
|
-
// bazel-out/
|
|
41534
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
41362
41535
|
var import_typescript91 = __toESM(require("typescript"), 1);
|
|
41363
41536
|
var SymbolBuilder = class {
|
|
41364
41537
|
constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
|
|
@@ -41835,7 +42008,7 @@ function sourceSpanEqual(a, b) {
|
|
|
41835
42008
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
41836
42009
|
}
|
|
41837
42010
|
|
|
41838
|
-
// bazel-out/
|
|
42011
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
41839
42012
|
var REGISTRY2 = new DomElementSchemaRegistry();
|
|
41840
42013
|
var TemplateTypeCheckerImpl = class {
|
|
41841
42014
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -42531,7 +42704,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
42531
42704
|
}
|
|
42532
42705
|
};
|
|
42533
42706
|
|
|
42534
|
-
// bazel-out/
|
|
42707
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
42535
42708
|
var TemplateCheckWithVisitor = class {
|
|
42536
42709
|
run(ctx, component, template2) {
|
|
42537
42710
|
const visitor = new TemplateVisitor2(ctx, component, this);
|
|
@@ -42654,7 +42827,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
42654
42827
|
}
|
|
42655
42828
|
};
|
|
42656
42829
|
|
|
42657
|
-
// bazel-out/
|
|
42830
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
42658
42831
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
42659
42832
|
constructor() {
|
|
42660
42833
|
super(...arguments);
|
|
@@ -42679,7 +42852,7 @@ var factory = {
|
|
|
42679
42852
|
create: () => new InvalidBananaInBoxCheck()
|
|
42680
42853
|
};
|
|
42681
42854
|
|
|
42682
|
-
// bazel-out/
|
|
42855
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
42683
42856
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
42684
42857
|
["ngIf", "NgIf"],
|
|
42685
42858
|
["ngFor", "NgFor"],
|
|
@@ -42723,7 +42896,7 @@ var factory2 = {
|
|
|
42723
42896
|
}
|
|
42724
42897
|
};
|
|
42725
42898
|
|
|
42726
|
-
// bazel-out/
|
|
42899
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
42727
42900
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
42728
42901
|
constructor() {
|
|
42729
42902
|
super(...arguments);
|
|
@@ -42755,7 +42928,7 @@ var factory3 = {
|
|
|
42755
42928
|
create: () => new MissingNgForOfLetCheck()
|
|
42756
42929
|
};
|
|
42757
42930
|
|
|
42758
|
-
// bazel-out/
|
|
42931
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
42759
42932
|
var import_typescript94 = __toESM(require("typescript"), 1);
|
|
42760
42933
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
42761
42934
|
constructor() {
|
|
@@ -42799,7 +42972,7 @@ var factory4 = {
|
|
|
42799
42972
|
}
|
|
42800
42973
|
};
|
|
42801
42974
|
|
|
42802
|
-
// bazel-out/
|
|
42975
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
42803
42976
|
var import_typescript95 = __toESM(require("typescript"), 1);
|
|
42804
42977
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
42805
42978
|
constructor() {
|
|
@@ -42844,7 +43017,7 @@ var factory5 = {
|
|
|
42844
43017
|
}
|
|
42845
43018
|
};
|
|
42846
43019
|
|
|
42847
|
-
// bazel-out/
|
|
43020
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
42848
43021
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
42849
43022
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
42850
43023
|
constructor() {
|
|
@@ -42867,7 +43040,7 @@ var factory6 = {
|
|
|
42867
43040
|
create: () => new SuffixNotSupportedCheck()
|
|
42868
43041
|
};
|
|
42869
43042
|
|
|
42870
|
-
// bazel-out/
|
|
43043
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
42871
43044
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
42872
43045
|
constructor() {
|
|
42873
43046
|
super(...arguments);
|
|
@@ -42905,10 +43078,10 @@ var factory7 = {
|
|
|
42905
43078
|
create: () => new TextAttributeNotBindingSpec()
|
|
42906
43079
|
};
|
|
42907
43080
|
|
|
42908
|
-
// bazel-out/
|
|
43081
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
42909
43082
|
var import_typescript96 = __toESM(require("typescript"), 1);
|
|
42910
43083
|
|
|
42911
|
-
// bazel-out/
|
|
43084
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
42912
43085
|
var DiagnosticCategoryLabel;
|
|
42913
43086
|
(function(DiagnosticCategoryLabel2) {
|
|
42914
43087
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -42916,7 +43089,7 @@ var DiagnosticCategoryLabel;
|
|
|
42916
43089
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
42917
43090
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
42918
43091
|
|
|
42919
|
-
// bazel-out/
|
|
43092
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
42920
43093
|
var ExtendedTemplateCheckerImpl = class {
|
|
42921
43094
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
42922
43095
|
var _a2, _b2, _c2, _d2, _e2;
|
|
@@ -42968,7 +43141,7 @@ function assertNever(value) {
|
|
|
42968
43141
|
${value}`);
|
|
42969
43142
|
}
|
|
42970
43143
|
|
|
42971
|
-
// bazel-out/
|
|
43144
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
42972
43145
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
42973
43146
|
factory,
|
|
42974
43147
|
factory4,
|
|
@@ -42979,7 +43152,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
|
|
|
42979
43152
|
factory6
|
|
42980
43153
|
];
|
|
42981
43154
|
|
|
42982
|
-
// bazel-out/
|
|
43155
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
42983
43156
|
var CompilationTicketKind;
|
|
42984
43157
|
(function(CompilationTicketKind2) {
|
|
42985
43158
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -43722,7 +43895,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
43722
43895
|
return versions;
|
|
43723
43896
|
}
|
|
43724
43897
|
|
|
43725
|
-
// bazel-out/
|
|
43898
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
43726
43899
|
var import_typescript99 = __toESM(require("typescript"), 1);
|
|
43727
43900
|
var DelegatingCompilerHost2 = class {
|
|
43728
43901
|
constructor(delegate) {
|
|
@@ -43855,7 +44028,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
43855
44028
|
}
|
|
43856
44029
|
};
|
|
43857
44030
|
|
|
43858
|
-
// bazel-out/
|
|
44031
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
43859
44032
|
var NgtscProgram = class {
|
|
43860
44033
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
43861
44034
|
this.options = options;
|
|
@@ -44082,21 +44255,21 @@ function mergeEmitResults(emitResults) {
|
|
|
44082
44255
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
44083
44256
|
}
|
|
44084
44257
|
|
|
44085
|
-
// bazel-out/
|
|
44258
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
44086
44259
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
44087
44260
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
44088
44261
|
}
|
|
44089
44262
|
|
|
44090
|
-
// bazel-out/
|
|
44263
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
44091
44264
|
var import_typescript103 = __toESM(require("typescript"), 1);
|
|
44092
44265
|
|
|
44093
|
-
// bazel-out/
|
|
44266
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
44094
44267
|
var import_typescript102 = __toESM(require("typescript"), 1);
|
|
44095
44268
|
|
|
44096
|
-
// bazel-out/
|
|
44269
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
44097
44270
|
var import_typescript104 = __toESM(require("typescript"), 1);
|
|
44098
44271
|
|
|
44099
|
-
// bazel-out/
|
|
44272
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
44100
44273
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
44101
44274
|
ngDevMode: false,
|
|
44102
44275
|
ngI18nClosureMode: false
|
|
@@ -44105,7 +44278,7 @@ var GLOBAL_DEFS_FOR_TERSER_WITH_AOT = __spreadProps(__spreadValues({}, GLOBAL_DE
|
|
|
44105
44278
|
ngJitMode: false
|
|
44106
44279
|
});
|
|
44107
44280
|
|
|
44108
|
-
// bazel-out/
|
|
44281
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
44109
44282
|
var LogLevel;
|
|
44110
44283
|
(function(LogLevel2) {
|
|
44111
44284
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -44114,7 +44287,7 @@ var LogLevel;
|
|
|
44114
44287
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
44115
44288
|
})(LogLevel || (LogLevel = {}));
|
|
44116
44289
|
|
|
44117
|
-
// bazel-out/
|
|
44290
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
44118
44291
|
var RESET = "\x1B[0m";
|
|
44119
44292
|
var RED = "\x1B[31m";
|
|
44120
44293
|
var YELLOW = "\x1B[33m";
|
|
@@ -44123,18 +44296,18 @@ var DEBUG = `${BLUE}Debug:${RESET}`;
|
|
|
44123
44296
|
var WARN = `${YELLOW}Warning:${RESET}`;
|
|
44124
44297
|
var ERROR = `${RED}Error:${RESET}`;
|
|
44125
44298
|
|
|
44126
|
-
// bazel-out/
|
|
44299
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
44127
44300
|
setFileSystem(new NodeJSFileSystem());
|
|
44128
44301
|
|
|
44129
|
-
// bazel-out/
|
|
44302
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
44130
44303
|
var import_fs2 = require("fs");
|
|
44131
44304
|
var import_path8 = require("path");
|
|
44132
44305
|
var import_typescript117 = __toESM(require("typescript"), 1);
|
|
44133
44306
|
|
|
44134
|
-
// bazel-out/
|
|
44307
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
44135
44308
|
var import_typescript106 = __toESM(require("typescript"), 1);
|
|
44136
44309
|
|
|
44137
|
-
// bazel-out/
|
|
44310
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
|
|
44138
44311
|
var import_path4 = require("path");
|
|
44139
44312
|
var import_typescript105 = __toESM(require("typescript"), 1);
|
|
44140
44313
|
var ImportManager2 = class {
|
|
@@ -44318,7 +44491,7 @@ ${text2}`;
|
|
|
44318
44491
|
}
|
|
44319
44492
|
};
|
|
44320
44493
|
|
|
44321
|
-
// bazel-out/
|
|
44494
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
44322
44495
|
var ChangeTracker = class {
|
|
44323
44496
|
constructor(_printer, _importRemapper) {
|
|
44324
44497
|
__publicField(this, "_printer");
|
|
@@ -44377,7 +44550,7 @@ function normalizePath(path4) {
|
|
|
44377
44550
|
return path4.replace(/\\/g, "/");
|
|
44378
44551
|
}
|
|
44379
44552
|
|
|
44380
|
-
// bazel-out/
|
|
44553
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
44381
44554
|
var import_core16 = require("@angular-devkit/core");
|
|
44382
44555
|
function getProjectTsConfigPaths(tree) {
|
|
44383
44556
|
return __async(this, null, function* () {
|
|
@@ -44457,11 +44630,11 @@ function getWorkspace(tree) {
|
|
|
44457
44630
|
});
|
|
44458
44631
|
}
|
|
44459
44632
|
|
|
44460
|
-
// bazel-out/
|
|
44633
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
44461
44634
|
var import_path5 = require("path");
|
|
44462
44635
|
var import_typescript108 = __toESM(require("typescript"), 1);
|
|
44463
44636
|
|
|
44464
|
-
// bazel-out/
|
|
44637
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
44465
44638
|
var path3 = __toESM(require("path"), 1);
|
|
44466
44639
|
var import_typescript107 = __toESM(require("typescript"), 1);
|
|
44467
44640
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -44478,7 +44651,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
44478
44651
|
return import_typescript107.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
44479
44652
|
}
|
|
44480
44653
|
|
|
44481
|
-
// bazel-out/
|
|
44654
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
44482
44655
|
function createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles, optionOverrides) {
|
|
44483
44656
|
tsconfigPath = (0, import_path5.resolve)(basePath, tsconfigPath);
|
|
44484
44657
|
const parsed = parseTsconfigFile(tsconfigPath, (0, import_path5.dirname)(tsconfigPath));
|
|
@@ -44507,13 +44680,13 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
44507
44680
|
return !(0, import_path5.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
44508
44681
|
}
|
|
44509
44682
|
|
|
44510
|
-
// bazel-out/
|
|
44683
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
44511
44684
|
var import_typescript113 = __toESM(require("typescript"), 1);
|
|
44512
44685
|
|
|
44513
|
-
// bazel-out/
|
|
44686
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
44514
44687
|
var import_typescript110 = __toESM(require("typescript"), 1);
|
|
44515
44688
|
|
|
44516
|
-
// bazel-out/
|
|
44689
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
|
|
44517
44690
|
var import_typescript109 = __toESM(require("typescript"), 1);
|
|
44518
44691
|
function getImportOfIdentifier(typeChecker, node) {
|
|
44519
44692
|
const symbol = typeChecker.getSymbolAtLocation(node);
|
|
@@ -44564,7 +44737,7 @@ function findImportSpecifier(nodes, specifierName) {
|
|
|
44564
44737
|
});
|
|
44565
44738
|
}
|
|
44566
44739
|
|
|
44567
|
-
// bazel-out/
|
|
44740
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
44568
44741
|
function getCallDecoratorImport(typeChecker, decorator) {
|
|
44569
44742
|
if (!import_typescript110.default.isCallExpression(decorator.expression) || !import_typescript110.default.isIdentifier(decorator.expression.expression)) {
|
|
44570
44743
|
return null;
|
|
@@ -44573,7 +44746,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
|
|
|
44573
44746
|
return getImportOfIdentifier(typeChecker, identifier);
|
|
44574
44747
|
}
|
|
44575
44748
|
|
|
44576
|
-
// bazel-out/
|
|
44749
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
|
|
44577
44750
|
function getAngularDecorators(typeChecker, decorators) {
|
|
44578
44751
|
return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
|
|
44579
44752
|
node,
|
|
@@ -44583,7 +44756,7 @@ function getAngularDecorators(typeChecker, decorators) {
|
|
|
44583
44756
|
}));
|
|
44584
44757
|
}
|
|
44585
44758
|
|
|
44586
|
-
// bazel-out/
|
|
44759
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
|
|
44587
44760
|
var import_typescript111 = __toESM(require("typescript"), 1);
|
|
44588
44761
|
function closestNode(node, predicate) {
|
|
44589
44762
|
let current = node.parent;
|
|
@@ -44596,7 +44769,7 @@ function closestNode(node, predicate) {
|
|
|
44596
44769
|
return null;
|
|
44597
44770
|
}
|
|
44598
44771
|
|
|
44599
|
-
// bazel-out/
|
|
44772
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
|
|
44600
44773
|
var import_path6 = require("path");
|
|
44601
44774
|
var import_typescript112 = __toESM(require("typescript"), 1);
|
|
44602
44775
|
var UniqueItemTracker = class {
|
|
@@ -44772,7 +44945,7 @@ function isClassReferenceInAngularModule(node, className, moduleName, typeChecke
|
|
|
44772
44945
|
}));
|
|
44773
44946
|
}
|
|
44774
44947
|
|
|
44775
|
-
// bazel-out/
|
|
44948
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
|
|
44776
44949
|
function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles) {
|
|
44777
44950
|
const filesToRemove = /* @__PURE__ */ new Set();
|
|
44778
44951
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
@@ -44971,14 +45144,14 @@ function findNgModuleDecorator(node, typeChecker) {
|
|
|
44971
45144
|
return decorators.find((decorator) => decorator.name === "NgModule") || null;
|
|
44972
45145
|
}
|
|
44973
45146
|
|
|
44974
|
-
// bazel-out/
|
|
45147
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
44975
45148
|
var import_path7 = require("path");
|
|
44976
45149
|
var import_typescript116 = __toESM(require("typescript"), 1);
|
|
44977
45150
|
|
|
44978
|
-
// bazel-out/
|
|
45151
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
44979
45152
|
var import_typescript115 = __toESM(require("typescript"), 1);
|
|
44980
45153
|
|
|
44981
|
-
// bazel-out/
|
|
45154
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
|
|
44982
45155
|
var import_typescript114 = __toESM(require("typescript"), 1);
|
|
44983
45156
|
function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
44984
45157
|
var _a2, _b2;
|
|
@@ -44987,7 +45160,7 @@ function isReferenceToImport(typeChecker, node, importSpecifier) {
|
|
|
44987
45160
|
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];
|
|
44988
45161
|
}
|
|
44989
45162
|
|
|
44990
|
-
// bazel-out/
|
|
45163
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
|
|
44991
45164
|
function toStandalone(sourceFiles, program, printer, fileImportRemapper, componentImportRemapper) {
|
|
44992
45165
|
const templateTypeChecker = program.compiler.getTemplateTypeChecker();
|
|
44993
45166
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -45350,7 +45523,7 @@ function isStandaloneDeclaration(node, declarationsInMigration, templateTypeChec
|
|
|
45350
45523
|
return metadata != null && metadata.isStandalone;
|
|
45351
45524
|
}
|
|
45352
45525
|
|
|
45353
|
-
// bazel-out/
|
|
45526
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
|
|
45354
45527
|
function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles, componentImportRemapper) {
|
|
45355
45528
|
const tracker = new ChangeTracker(printer, importRemapper);
|
|
45356
45529
|
const typeChecker = program.getTsProgram().getTypeChecker();
|
|
@@ -45727,7 +45900,7 @@ function hasImport(program, rootFileNames, moduleName) {
|
|
|
45727
45900
|
return false;
|
|
45728
45901
|
}
|
|
45729
45902
|
|
|
45730
|
-
// bazel-out/
|
|
45903
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
|
|
45731
45904
|
var MigrationMode;
|
|
45732
45905
|
(function(MigrationMode2) {
|
|
45733
45906
|
MigrationMode2["toStandalone"] = "convert-to-standalone";
|