@angular/core 17.0.4 → 17.0.5
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_init.mjs +2 -2
- package/esm2022/src/render3/features/host_directives_feature.mjs +20 -13
- package/esm2022/src/render3/instructions/change_detection.mjs +3 -4
- package/esm2022/src/render3/util/view_utils.mjs +11 -12
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/esm2022/testing/src/test_bed.mjs +3 -3
- package/esm2022/testing/src/test_bed_compiler.mjs +19 -10
- package/fesm2022/core.mjs +32 -27
- 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 +21 -12
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +3 -3
- 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 +307 -302
- 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 +510 -382
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +4 -4
- package/schematics/ng-generate/standalone-migration/bundle.js +571 -560
- package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
- package/testing/index.d.ts +1 -1
|
@@ -63,7 +63,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
63
63
|
});
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
-
// bazel-out/
|
|
66
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/block-template-entities/index.mjs
|
|
67
67
|
var block_template_entities_exports = {};
|
|
68
68
|
__export(block_template_entities_exports, {
|
|
69
69
|
default: () => block_template_entities_default
|
|
@@ -72,7 +72,7 @@ module.exports = __toCommonJS(block_template_entities_exports);
|
|
|
72
72
|
var import_schematics = require("@angular-devkit/schematics");
|
|
73
73
|
var import_path3 = require("path");
|
|
74
74
|
|
|
75
|
-
// bazel-out/
|
|
75
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
76
76
|
var import_core = require("@angular-devkit/core");
|
|
77
77
|
function getProjectTsConfigPaths(tree) {
|
|
78
78
|
return __async(this, null, function* () {
|
|
@@ -152,11 +152,11 @@ function getWorkspace(tree) {
|
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
// bazel-out/
|
|
155
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
156
156
|
var import_path = require("path");
|
|
157
157
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
158
158
|
|
|
159
|
-
// bazel-out/
|
|
159
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
160
160
|
var path = __toESM(require("path"), 1);
|
|
161
161
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
162
162
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -173,7 +173,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
173
173
|
return import_typescript.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
// bazel-out/
|
|
176
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
177
177
|
function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
|
|
178
178
|
const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
|
|
179
179
|
return import_typescript2.default.createProgram(rootNames, options, host);
|
|
@@ -206,7 +206,7 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
206
206
|
return !(0, import_path.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
// bazel-out/
|
|
209
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/selector.mjs
|
|
210
210
|
var _SELECTOR_REGEXP = new RegExp(
|
|
211
211
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
212
212
|
"g"
|
|
@@ -514,7 +514,7 @@ var SelectorContext = class {
|
|
|
514
514
|
}
|
|
515
515
|
};
|
|
516
516
|
|
|
517
|
-
// bazel-out/
|
|
517
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/core.mjs
|
|
518
518
|
var ViewEncapsulation;
|
|
519
519
|
(function(ViewEncapsulation2) {
|
|
520
520
|
ViewEncapsulation2[ViewEncapsulation2["Emulated"] = 0] = "Emulated";
|
|
@@ -576,7 +576,7 @@ function parseSelectorToR3Selector(selector) {
|
|
|
576
576
|
return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
|
|
577
577
|
}
|
|
578
578
|
|
|
579
|
-
// bazel-out/
|
|
579
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
|
|
580
580
|
var textEncoder;
|
|
581
581
|
function computeDigest(message) {
|
|
582
582
|
return sha1(serializeNodes(message.nodes).join("") + `[${message.meaning}]`);
|
|
@@ -816,7 +816,7 @@ function wordAt(bytes, index, endian) {
|
|
|
816
816
|
return word;
|
|
817
817
|
}
|
|
818
818
|
|
|
819
|
-
// bazel-out/
|
|
819
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
820
820
|
var TypeModifier;
|
|
821
821
|
(function(TypeModifier2) {
|
|
822
822
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -1771,7 +1771,7 @@ function serializeTags(tags) {
|
|
|
1771
1771
|
return out;
|
|
1772
1772
|
}
|
|
1773
1773
|
|
|
1774
|
-
// bazel-out/
|
|
1774
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
1775
1775
|
var CONSTANT_PREFIX = "_c";
|
|
1776
1776
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
1777
1777
|
var KEY_CONTEXT = {};
|
|
@@ -1954,7 +1954,7 @@ function isLongStringLiteral(expr) {
|
|
|
1954
1954
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
1955
1955
|
}
|
|
1956
1956
|
|
|
1957
|
-
// bazel-out/
|
|
1957
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
1958
1958
|
var CORE = "@angular/core";
|
|
1959
1959
|
var _Identifiers = class {
|
|
1960
1960
|
};
|
|
@@ -2587,7 +2587,7 @@ var Identifiers = _Identifiers;
|
|
|
2587
2587
|
_Identifiers.validateIframeAttribute = { name: "\u0275\u0275validateIframeAttribute", moduleName: CORE };
|
|
2588
2588
|
})();
|
|
2589
2589
|
|
|
2590
|
-
// bazel-out/
|
|
2590
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/util.mjs
|
|
2591
2591
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
2592
2592
|
function dashCaseToCamelCase(input) {
|
|
2593
2593
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -2675,7 +2675,7 @@ function partitionArray(arr, conditionFn) {
|
|
|
2675
2675
|
return [truthy, falsy];
|
|
2676
2676
|
}
|
|
2677
2677
|
|
|
2678
|
-
// bazel-out/
|
|
2678
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
2679
2679
|
var VERSION = 3;
|
|
2680
2680
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
2681
2681
|
var SourceMapGenerator = class {
|
|
@@ -2804,7 +2804,7 @@ function toBase64Digit(value) {
|
|
|
2804
2804
|
return B64_DIGITS[value];
|
|
2805
2805
|
}
|
|
2806
2806
|
|
|
2807
|
-
// bazel-out/
|
|
2807
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
2808
2808
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
2809
2809
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
2810
2810
|
var _INDENT_WITH = " ";
|
|
@@ -3289,7 +3289,7 @@ function _createIndent(count) {
|
|
|
3289
3289
|
return res;
|
|
3290
3290
|
}
|
|
3291
3291
|
|
|
3292
|
-
// bazel-out/
|
|
3292
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
3293
3293
|
function typeWithParameters(type, numParams) {
|
|
3294
3294
|
if (numParams === 0) {
|
|
3295
3295
|
return expressionType(type);
|
|
@@ -3354,7 +3354,7 @@ function generateForwardRef(expr) {
|
|
|
3354
3354
|
return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
|
|
3355
3355
|
}
|
|
3356
3356
|
|
|
3357
|
-
// bazel-out/
|
|
3357
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
3358
3358
|
var R3FactoryDelegateType;
|
|
3359
3359
|
(function(R3FactoryDelegateType2) {
|
|
3360
3360
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -3499,7 +3499,7 @@ function getInjectFn(target) {
|
|
|
3499
3499
|
}
|
|
3500
3500
|
}
|
|
3501
3501
|
|
|
3502
|
-
// bazel-out/
|
|
3502
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
3503
3503
|
var Comment = class {
|
|
3504
3504
|
constructor(value, sourceSpan) {
|
|
3505
3505
|
this.value = value;
|
|
@@ -3880,7 +3880,7 @@ function visitAll(visitor, nodes) {
|
|
|
3880
3880
|
return result;
|
|
3881
3881
|
}
|
|
3882
3882
|
|
|
3883
|
-
// bazel-out/
|
|
3883
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
3884
3884
|
var Message = class {
|
|
3885
3885
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
3886
3886
|
this.nodes = nodes;
|
|
@@ -4040,7 +4040,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
4040
4040
|
}
|
|
4041
4041
|
};
|
|
4042
4042
|
|
|
4043
|
-
// bazel-out/
|
|
4043
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
4044
4044
|
var _Visitor = class {
|
|
4045
4045
|
visitTag(tag) {
|
|
4046
4046
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -4068,12 +4068,12 @@ ${doctype.dtd}
|
|
|
4068
4068
|
};
|
|
4069
4069
|
var _visitor = new _Visitor();
|
|
4070
4070
|
|
|
4071
|
-
// bazel-out/
|
|
4071
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
4072
4072
|
function toPublicName(internalName) {
|
|
4073
4073
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
4074
4074
|
}
|
|
4075
4075
|
|
|
4076
|
-
// bazel-out/
|
|
4076
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
4077
4077
|
var CLOSURE_TRANSLATION_VAR_PREFIX = "MSG_";
|
|
4078
4078
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
4079
4079
|
var I18N_ATTR = "i18n";
|
|
@@ -4175,7 +4175,7 @@ function declareI18nVariable(variable2) {
|
|
|
4175
4175
|
return new DeclareVarStmt(variable2.name, void 0, INFERRED_TYPE, void 0, variable2.sourceSpan);
|
|
4176
4176
|
}
|
|
4177
4177
|
|
|
4178
|
-
// bazel-out/
|
|
4178
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
4179
4179
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
4180
4180
|
var TEMPORARY_NAME = "_t";
|
|
4181
4181
|
var CONTEXT_NAME = "ctx";
|
|
@@ -4398,7 +4398,7 @@ function getInstructionStatements(instructions) {
|
|
|
4398
4398
|
return statements;
|
|
4399
4399
|
}
|
|
4400
4400
|
|
|
4401
|
-
// bazel-out/
|
|
4401
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
4402
4402
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
4403
4403
|
let result = null;
|
|
4404
4404
|
const factoryMeta = {
|
|
@@ -4483,7 +4483,7 @@ function createFactoryFunction(type) {
|
|
|
4483
4483
|
return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
|
|
4484
4484
|
}
|
|
4485
4485
|
|
|
4486
|
-
// bazel-out/
|
|
4486
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
4487
4487
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
4488
4488
|
/^\s*$/,
|
|
4489
4489
|
/[<>]/,
|
|
@@ -4505,7 +4505,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
4505
4505
|
}
|
|
4506
4506
|
}
|
|
4507
4507
|
|
|
4508
|
-
// bazel-out/
|
|
4508
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
|
|
4509
4509
|
var InterpolationConfig = class {
|
|
4510
4510
|
static fromArray(markers) {
|
|
4511
4511
|
if (!markers) {
|
|
@@ -4522,7 +4522,7 @@ var InterpolationConfig = class {
|
|
|
4522
4522
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
4523
4523
|
var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
|
|
4524
4524
|
|
|
4525
|
-
// bazel-out/
|
|
4525
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
4526
4526
|
var $EOF = 0;
|
|
4527
4527
|
var $BSPACE = 8;
|
|
4528
4528
|
var $TAB = 9;
|
|
@@ -4604,7 +4604,7 @@ function isQuote(code) {
|
|
|
4604
4604
|
return code === $SQ || code === $DQ || code === $BT;
|
|
4605
4605
|
}
|
|
4606
4606
|
|
|
4607
|
-
// bazel-out/
|
|
4607
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
4608
4608
|
var ParseLocation = class {
|
|
4609
4609
|
constructor(file, offset, line, col) {
|
|
4610
4610
|
this.file = file;
|
|
@@ -4751,7 +4751,7 @@ function sanitizeIdentifier(name) {
|
|
|
4751
4751
|
return name.replace(/\W/g, "_");
|
|
4752
4752
|
}
|
|
4753
4753
|
|
|
4754
|
-
// bazel-out/
|
|
4754
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
4755
4755
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
4756
4756
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
4757
4757
|
constructor() {
|
|
@@ -4844,7 +4844,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
4844
4844
|
}
|
|
4845
4845
|
};
|
|
4846
4846
|
|
|
4847
|
-
// bazel-out/
|
|
4847
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
4848
4848
|
var policy;
|
|
4849
4849
|
function getPolicy() {
|
|
4850
4850
|
if (policy === void 0) {
|
|
@@ -4882,7 +4882,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
4882
4882
|
return fn2.bind(_global);
|
|
4883
4883
|
}
|
|
4884
4884
|
|
|
4885
|
-
// bazel-out/
|
|
4885
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
4886
4886
|
var JitEvaluator = class {
|
|
4887
4887
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
4888
4888
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -4973,7 +4973,7 @@ function isUseStrictStatement(statement) {
|
|
|
4973
4973
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
4974
4974
|
}
|
|
4975
4975
|
|
|
4976
|
-
// bazel-out/
|
|
4976
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
4977
4977
|
function compileInjector(meta) {
|
|
4978
4978
|
const definitionMap = new DefinitionMap();
|
|
4979
4979
|
if (meta.providers !== null) {
|
|
@@ -4990,7 +4990,7 @@ function createInjectorType(meta) {
|
|
|
4990
4990
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
4991
4991
|
}
|
|
4992
4992
|
|
|
4993
|
-
// bazel-out/
|
|
4993
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
4994
4994
|
var R3JitReflector = class {
|
|
4995
4995
|
constructor(context) {
|
|
4996
4996
|
this.context = context;
|
|
@@ -5006,7 +5006,7 @@ var R3JitReflector = class {
|
|
|
5006
5006
|
}
|
|
5007
5007
|
};
|
|
5008
5008
|
|
|
5009
|
-
// bazel-out/
|
|
5009
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
5010
5010
|
var R3SelectorScopeMode;
|
|
5011
5011
|
(function(R3SelectorScopeMode2) {
|
|
5012
5012
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -5147,7 +5147,7 @@ function tupleOfTypes(types) {
|
|
|
5147
5147
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
5148
5148
|
}
|
|
5149
5149
|
|
|
5150
|
-
// bazel-out/
|
|
5150
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
5151
5151
|
function compilePipeFromMetadata(metadata) {
|
|
5152
5152
|
const definitionMapValues = [];
|
|
5153
5153
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -5168,7 +5168,7 @@ function createPipeType(metadata) {
|
|
|
5168
5168
|
]));
|
|
5169
5169
|
}
|
|
5170
5170
|
|
|
5171
|
-
// bazel-out/
|
|
5171
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
5172
5172
|
var R3TemplateDependencyKind;
|
|
5173
5173
|
(function(R3TemplateDependencyKind2) {
|
|
5174
5174
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -5176,7 +5176,7 @@ var R3TemplateDependencyKind;
|
|
|
5176
5176
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
5177
5177
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
5178
5178
|
|
|
5179
|
-
// bazel-out/
|
|
5179
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
5180
5180
|
var ParserError = class {
|
|
5181
5181
|
constructor(message, input, errLocation, ctxLocation) {
|
|
5182
5182
|
this.input = input;
|
|
@@ -5842,7 +5842,7 @@ var BoundElementProperty = class {
|
|
|
5842
5842
|
}
|
|
5843
5843
|
};
|
|
5844
5844
|
|
|
5845
|
-
// bazel-out/
|
|
5845
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
|
|
5846
5846
|
var _EventHandlerVars = class {
|
|
5847
5847
|
};
|
|
5848
5848
|
var EventHandlerVars = _EventHandlerVars;
|
|
@@ -6483,7 +6483,7 @@ var BuiltinFunctionCall = class extends Call {
|
|
|
6483
6483
|
}
|
|
6484
6484
|
};
|
|
6485
6485
|
|
|
6486
|
-
// bazel-out/
|
|
6486
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
6487
6487
|
var _SECURITY_SCHEMA;
|
|
6488
6488
|
function SECURITY_SCHEMA() {
|
|
6489
6489
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -6541,7 +6541,7 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
6541
6541
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
6542
6542
|
}
|
|
6543
6543
|
|
|
6544
|
-
// bazel-out/
|
|
6544
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
6545
6545
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
6546
6546
|
"inherit",
|
|
6547
6547
|
"initial",
|
|
@@ -7012,7 +7012,7 @@ function repeatGroups(groups, multiples) {
|
|
|
7012
7012
|
}
|
|
7013
7013
|
}
|
|
7014
7014
|
|
|
7015
|
-
// bazel-out/
|
|
7015
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
7016
7016
|
var OpKind;
|
|
7017
7017
|
(function(OpKind2) {
|
|
7018
7018
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -7166,8 +7166,13 @@ var DerivedRepeaterVarIdentity;
|
|
|
7166
7166
|
DerivedRepeaterVarIdentity2[DerivedRepeaterVarIdentity2["Even"] = 2] = "Even";
|
|
7167
7167
|
DerivedRepeaterVarIdentity2[DerivedRepeaterVarIdentity2["Odd"] = 3] = "Odd";
|
|
7168
7168
|
})(DerivedRepeaterVarIdentity || (DerivedRepeaterVarIdentity = {}));
|
|
7169
|
+
var I18nContextKind;
|
|
7170
|
+
(function(I18nContextKind2) {
|
|
7171
|
+
I18nContextKind2[I18nContextKind2["RootI18n"] = 0] = "RootI18n";
|
|
7172
|
+
I18nContextKind2[I18nContextKind2["Icu"] = 1] = "Icu";
|
|
7173
|
+
})(I18nContextKind || (I18nContextKind = {}));
|
|
7169
7174
|
|
|
7170
|
-
// bazel-out/
|
|
7175
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
7171
7176
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
7172
7177
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
7173
7178
|
var ConsumesVarsTrait = Symbol("ConsumesVars");
|
|
@@ -7199,7 +7204,7 @@ function hasUsesVarOffsetTrait(expr) {
|
|
|
7199
7204
|
return expr[UsesVarOffset] === true;
|
|
7200
7205
|
}
|
|
7201
7206
|
|
|
7202
|
-
// bazel-out/
|
|
7207
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
7203
7208
|
function createStatementOp(statement) {
|
|
7204
7209
|
return __spreadValues({
|
|
7205
7210
|
kind: OpKind.Statement,
|
|
@@ -7221,7 +7226,7 @@ var NEW_OP = {
|
|
|
7221
7226
|
next: null
|
|
7222
7227
|
};
|
|
7223
7228
|
|
|
7224
|
-
// bazel-out/
|
|
7229
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
7225
7230
|
function createInterpolateTextOp(xref, interpolation, i18nPlaceholders, sourceSpan) {
|
|
7226
7231
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
7227
7232
|
kind: OpKind.InterpolateText,
|
|
@@ -7370,7 +7375,7 @@ function createI18nApplyOp(target, handle, sourceSpan) {
|
|
|
7370
7375
|
}, NEW_OP);
|
|
7371
7376
|
}
|
|
7372
7377
|
|
|
7373
|
-
// bazel-out/
|
|
7378
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
7374
7379
|
var _a;
|
|
7375
7380
|
var _b;
|
|
7376
7381
|
var _c;
|
|
@@ -8221,7 +8226,7 @@ function isStringLiteral(expr) {
|
|
|
8221
8226
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
8222
8227
|
}
|
|
8223
8228
|
|
|
8224
|
-
// bazel-out/
|
|
8229
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
8225
8230
|
var _OpList = class {
|
|
8226
8231
|
constructor() {
|
|
8227
8232
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -8412,14 +8417,14 @@ var OpList = _OpList;
|
|
|
8412
8417
|
_OpList.nextListId = 0;
|
|
8413
8418
|
})();
|
|
8414
8419
|
|
|
8415
|
-
// bazel-out/
|
|
8420
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
8416
8421
|
var SlotHandle = class {
|
|
8417
8422
|
constructor() {
|
|
8418
8423
|
this.slot = null;
|
|
8419
8424
|
}
|
|
8420
8425
|
};
|
|
8421
8426
|
|
|
8422
|
-
// bazel-out/
|
|
8427
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
8423
8428
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
8424
8429
|
OpKind.Element,
|
|
8425
8430
|
OpKind.ElementStart,
|
|
@@ -8651,9 +8656,10 @@ function createIcuEndOp(xref) {
|
|
|
8651
8656
|
xref
|
|
8652
8657
|
}, NEW_OP);
|
|
8653
8658
|
}
|
|
8654
|
-
function createI18nContextOp(xref, i18nBlock, message, sourceSpan) {
|
|
8659
|
+
function createI18nContextOp(contextKind, xref, i18nBlock, message, sourceSpan) {
|
|
8655
8660
|
return __spreadValues({
|
|
8656
8661
|
kind: OpKind.I18nContext,
|
|
8662
|
+
contextKind,
|
|
8657
8663
|
xref,
|
|
8658
8664
|
i18nBlock,
|
|
8659
8665
|
message,
|
|
@@ -8663,7 +8669,7 @@ function createI18nContextOp(xref, i18nBlock, message, sourceSpan) {
|
|
|
8663
8669
|
}, NEW_OP);
|
|
8664
8670
|
}
|
|
8665
8671
|
|
|
8666
|
-
// bazel-out/
|
|
8672
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
8667
8673
|
function createHostPropertyOp(name, expression, isAnimationTrigger, sourceSpan) {
|
|
8668
8674
|
return __spreadValues(__spreadValues({
|
|
8669
8675
|
kind: OpKind.HostProperty,
|
|
@@ -8674,10 +8680,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, sourceSpan)
|
|
|
8674
8680
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
8675
8681
|
}
|
|
8676
8682
|
|
|
8677
|
-
// bazel-out/
|
|
8683
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
8678
8684
|
var CTX_REF = "CTX_REF_MARKER";
|
|
8679
8685
|
|
|
8680
|
-
// bazel-out/
|
|
8686
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
8681
8687
|
var CompilationJobKind;
|
|
8682
8688
|
(function(CompilationJobKind2) {
|
|
8683
8689
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -8784,7 +8790,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
8784
8790
|
}
|
|
8785
8791
|
};
|
|
8786
8792
|
|
|
8787
|
-
// bazel-out/
|
|
8793
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
8788
8794
|
function deleteAnyCasts(job) {
|
|
8789
8795
|
for (const unit of job.units) {
|
|
8790
8796
|
for (const op of unit.ops()) {
|
|
@@ -8802,7 +8808,7 @@ function removeAnys(e) {
|
|
|
8802
8808
|
return e;
|
|
8803
8809
|
}
|
|
8804
8810
|
|
|
8805
|
-
// bazel-out/
|
|
8811
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
8806
8812
|
function applyI18nExpressions(job) {
|
|
8807
8813
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
8808
8814
|
for (const unit of job.units) {
|
|
@@ -8833,10 +8839,9 @@ function needsApplication(i18nContexts, op) {
|
|
|
8833
8839
|
return false;
|
|
8834
8840
|
}
|
|
8835
8841
|
|
|
8836
|
-
// bazel-out/
|
|
8842
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
8837
8843
|
function assignI18nSlotDependencies(job) {
|
|
8838
8844
|
const i18nLastSlotConsumers = /* @__PURE__ */ new Map();
|
|
8839
|
-
const i18nContexts = /* @__PURE__ */ new Map();
|
|
8840
8845
|
let lastSlotConsumer = null;
|
|
8841
8846
|
let currentI18nOp = null;
|
|
8842
8847
|
for (const unit of job.units) {
|
|
@@ -8852,21 +8857,17 @@ function assignI18nSlotDependencies(job) {
|
|
|
8852
8857
|
i18nLastSlotConsumers.set(currentI18nOp.xref, lastSlotConsumer);
|
|
8853
8858
|
currentI18nOp = null;
|
|
8854
8859
|
break;
|
|
8855
|
-
case OpKind.I18nContext:
|
|
8856
|
-
i18nContexts.set(op.xref, op);
|
|
8857
|
-
break;
|
|
8858
8860
|
}
|
|
8859
8861
|
}
|
|
8860
8862
|
for (const op of unit.update) {
|
|
8861
8863
|
if (op.kind === OpKind.I18nExpression) {
|
|
8862
|
-
|
|
8863
|
-
op.target = i18nLastSlotConsumers.get(i18nContext.i18nBlock);
|
|
8864
|
+
op.target = i18nLastSlotConsumers.get(op.target);
|
|
8864
8865
|
}
|
|
8865
8866
|
}
|
|
8866
8867
|
}
|
|
8867
8868
|
}
|
|
8868
8869
|
|
|
8869
|
-
// bazel-out/
|
|
8870
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
8870
8871
|
function createOpXrefMap(unit) {
|
|
8871
8872
|
const map = /* @__PURE__ */ new Map();
|
|
8872
8873
|
for (const op of unit.create) {
|
|
@@ -8878,7 +8879,7 @@ function createOpXrefMap(unit) {
|
|
|
8878
8879
|
return map;
|
|
8879
8880
|
}
|
|
8880
8881
|
|
|
8881
|
-
// bazel-out/
|
|
8882
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
8882
8883
|
function extractAttributes(job) {
|
|
8883
8884
|
for (const unit of job.units) {
|
|
8884
8885
|
const elements = createOpXrefMap(unit);
|
|
@@ -8945,7 +8946,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
8945
8946
|
}
|
|
8946
8947
|
}
|
|
8947
8948
|
|
|
8948
|
-
// bazel-out/
|
|
8949
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
8949
8950
|
function lookupElement2(elements, xref) {
|
|
8950
8951
|
const el = elements.get(xref);
|
|
8951
8952
|
if (el === void 0) {
|
|
@@ -8995,7 +8996,7 @@ function specializeBindings(job) {
|
|
|
8995
8996
|
}
|
|
8996
8997
|
}
|
|
8997
8998
|
|
|
8998
|
-
// bazel-out/
|
|
8999
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
8999
9000
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
9000
9001
|
Identifiers.attribute,
|
|
9001
9002
|
Identifiers.classProp,
|
|
@@ -9061,7 +9062,7 @@ function chainOperationsInList(opList) {
|
|
|
9061
9062
|
}
|
|
9062
9063
|
}
|
|
9063
9064
|
|
|
9064
|
-
// bazel-out/
|
|
9065
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
9065
9066
|
function collapseSingletonInterpolations(job) {
|
|
9066
9067
|
for (const unit of job.units) {
|
|
9067
9068
|
for (const op of unit.update) {
|
|
@@ -9073,7 +9074,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
9073
9074
|
}
|
|
9074
9075
|
}
|
|
9075
9076
|
|
|
9076
|
-
// bazel-out/
|
|
9077
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
9077
9078
|
function generateConditionalExpressions(job) {
|
|
9078
9079
|
for (const unit of job.units) {
|
|
9079
9080
|
for (const op of unit.ops()) {
|
|
@@ -9110,7 +9111,7 @@ function generateConditionalExpressions(job) {
|
|
|
9110
9111
|
}
|
|
9111
9112
|
}
|
|
9112
9113
|
|
|
9113
|
-
// bazel-out/
|
|
9114
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
9114
9115
|
var TagContentType;
|
|
9115
9116
|
(function(TagContentType2) {
|
|
9116
9117
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -9143,7 +9144,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
9143
9144
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
9144
9145
|
}
|
|
9145
9146
|
|
|
9146
|
-
// bazel-out/
|
|
9147
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
9147
9148
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
9148
9149
|
["&&", BinaryOperator.And],
|
|
9149
9150
|
[">", BinaryOperator.Bigger],
|
|
@@ -9193,7 +9194,7 @@ function literalOrArrayLiteral(value) {
|
|
|
9193
9194
|
return literal(value);
|
|
9194
9195
|
}
|
|
9195
9196
|
|
|
9196
|
-
// bazel-out/
|
|
9197
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
9197
9198
|
function collectElementConsts(job) {
|
|
9198
9199
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
9199
9200
|
for (const unit of job.units) {
|
|
@@ -9327,7 +9328,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
9327
9328
|
return literalArr(attrArray);
|
|
9328
9329
|
}
|
|
9329
9330
|
|
|
9330
|
-
// bazel-out/
|
|
9331
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_defer_deps_fns.mjs
|
|
9331
9332
|
function createDeferDepsFns(job) {
|
|
9332
9333
|
for (const unit of job.units) {
|
|
9333
9334
|
for (const op of unit.create) {
|
|
@@ -9355,18 +9356,22 @@ function createDeferDepsFns(job) {
|
|
|
9355
9356
|
}
|
|
9356
9357
|
}
|
|
9357
9358
|
|
|
9358
|
-
// bazel-out/
|
|
9359
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
9359
9360
|
function createI18nContexts(job) {
|
|
9361
|
+
const rootContexts = /* @__PURE__ */ new Map();
|
|
9360
9362
|
let currentI18nOp = null;
|
|
9361
9363
|
let xref;
|
|
9362
9364
|
for (const unit of job.units) {
|
|
9363
9365
|
for (const op of unit.create) {
|
|
9364
9366
|
switch (op.kind) {
|
|
9365
9367
|
case OpKind.I18nStart:
|
|
9366
|
-
xref = job.allocateXrefId();
|
|
9367
|
-
unit.create.push(createI18nContextOp(xref, op.xref, op.message, null));
|
|
9368
|
-
op.context = xref;
|
|
9369
9368
|
currentI18nOp = op;
|
|
9369
|
+
if (op.xref === op.root) {
|
|
9370
|
+
xref = job.allocateXrefId();
|
|
9371
|
+
unit.create.push(createI18nContextOp(I18nContextKind.RootI18n, xref, op.xref, op.message, null));
|
|
9372
|
+
op.context = xref;
|
|
9373
|
+
rootContexts.set(op.xref, xref);
|
|
9374
|
+
}
|
|
9370
9375
|
break;
|
|
9371
9376
|
case OpKind.I18nEnd:
|
|
9372
9377
|
currentI18nOp = null;
|
|
@@ -9377,7 +9382,7 @@ function createI18nContexts(job) {
|
|
|
9377
9382
|
}
|
|
9378
9383
|
if (op.message.id !== currentI18nOp.message.id) {
|
|
9379
9384
|
xref = job.allocateXrefId();
|
|
9380
|
-
unit.create.push(createI18nContextOp(xref, currentI18nOp.xref, op.message, null));
|
|
9385
|
+
unit.create.push(createI18nContextOp(I18nContextKind.Icu, xref, currentI18nOp.xref, op.message, null));
|
|
9381
9386
|
op.context = xref;
|
|
9382
9387
|
} else {
|
|
9383
9388
|
op.context = currentI18nOp.context;
|
|
@@ -9386,9 +9391,16 @@ function createI18nContexts(job) {
|
|
|
9386
9391
|
}
|
|
9387
9392
|
}
|
|
9388
9393
|
}
|
|
9394
|
+
for (const unit of job.units) {
|
|
9395
|
+
for (const op of unit.create) {
|
|
9396
|
+
if (op.kind === OpKind.I18nStart && op.xref !== op.root) {
|
|
9397
|
+
op.context = rootContexts.get(op.root);
|
|
9398
|
+
}
|
|
9399
|
+
}
|
|
9400
|
+
}
|
|
9389
9401
|
}
|
|
9390
9402
|
|
|
9391
|
-
// bazel-out/
|
|
9403
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
9392
9404
|
function configureDeferInstructions(job) {
|
|
9393
9405
|
for (const unit of job.units) {
|
|
9394
9406
|
for (const op of unit.create) {
|
|
@@ -9405,7 +9417,7 @@ function configureDeferInstructions(job) {
|
|
|
9405
9417
|
}
|
|
9406
9418
|
}
|
|
9407
9419
|
|
|
9408
|
-
// bazel-out/
|
|
9420
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
9409
9421
|
function resolveDeferTargetNames(job) {
|
|
9410
9422
|
const scopes = /* @__PURE__ */ new Map();
|
|
9411
9423
|
function getScopeForView2(view) {
|
|
@@ -9499,7 +9511,7 @@ var Scope = class {
|
|
|
9499
9511
|
}
|
|
9500
9512
|
};
|
|
9501
9513
|
|
|
9502
|
-
// bazel-out/
|
|
9514
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
9503
9515
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
9504
9516
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
9505
9517
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -9526,7 +9538,7 @@ function collapseEmptyInstructions(job) {
|
|
|
9526
9538
|
}
|
|
9527
9539
|
}
|
|
9528
9540
|
|
|
9529
|
-
// bazel-out/
|
|
9541
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
9530
9542
|
function expandSafeReads(job) {
|
|
9531
9543
|
for (const unit of job.units) {
|
|
9532
9544
|
for (const op of unit.ops()) {
|
|
@@ -9662,7 +9674,7 @@ function ternaryTransform(e) {
|
|
|
9662
9674
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
9663
9675
|
}
|
|
9664
9676
|
|
|
9665
|
-
// bazel-out/
|
|
9677
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
9666
9678
|
var ESCAPE = "\uFFFD";
|
|
9667
9679
|
var ELEMENT_MARKER = "#";
|
|
9668
9680
|
var TEMPLATE_MARKER = "*";
|
|
@@ -9673,7 +9685,7 @@ var LIST_END_MARKER = "]";
|
|
|
9673
9685
|
var LIST_DELIMITER = "|";
|
|
9674
9686
|
function extractI18nMessages(job) {
|
|
9675
9687
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
9676
|
-
const
|
|
9688
|
+
const i18nBlocks = /* @__PURE__ */ new Map();
|
|
9677
9689
|
for (const unit of job.units) {
|
|
9678
9690
|
for (const op of unit.create) {
|
|
9679
9691
|
switch (op.kind) {
|
|
@@ -9681,7 +9693,7 @@ function extractI18nMessages(job) {
|
|
|
9681
9693
|
i18nContexts.set(op.xref, op);
|
|
9682
9694
|
break;
|
|
9683
9695
|
case OpKind.I18nStart:
|
|
9684
|
-
|
|
9696
|
+
i18nBlocks.set(op.xref, op);
|
|
9685
9697
|
break;
|
|
9686
9698
|
}
|
|
9687
9699
|
}
|
|
@@ -9706,11 +9718,12 @@ function extractI18nMessages(job) {
|
|
|
9706
9718
|
if (!op.context) {
|
|
9707
9719
|
throw Error("ICU op should have its context set.");
|
|
9708
9720
|
}
|
|
9709
|
-
|
|
9710
|
-
|
|
9721
|
+
const i18nContext = i18nContexts.get(op.context);
|
|
9722
|
+
if (i18nContext.contextKind === I18nContextKind.Icu) {
|
|
9711
9723
|
const subMessage = createI18nMessage(job, i18nContext, op.messagePlaceholder);
|
|
9712
9724
|
unit.create.push(subMessage);
|
|
9713
|
-
const
|
|
9725
|
+
const rootI18nId = i18nBlocks.get(i18nContext.i18nBlock).root;
|
|
9726
|
+
const parentMessage = i18nBlockMessages.get(rootI18nId);
|
|
9714
9727
|
parentMessage == null ? void 0 : parentMessage.subMessages.push(subMessage.xref);
|
|
9715
9728
|
}
|
|
9716
9729
|
OpList.remove(op);
|
|
@@ -9723,30 +9736,67 @@ function extractI18nMessages(job) {
|
|
|
9723
9736
|
}
|
|
9724
9737
|
}
|
|
9725
9738
|
function createI18nMessage(job, context, messagePlaceholder) {
|
|
9726
|
-
let needsPostprocessing = context.
|
|
9727
|
-
|
|
9728
|
-
|
|
9729
|
-
|
|
9730
|
-
}
|
|
9731
|
-
}
|
|
9732
|
-
return createI18nMessageOp(job.allocateXrefId(), context.i18nBlock, context.message, messagePlaceholder != null ? messagePlaceholder : null, formatParams(context.params), formatParams(context.postprocessingParams), needsPostprocessing);
|
|
9739
|
+
let [formattedParams, needsPostprocessing] = formatParams(context.params);
|
|
9740
|
+
const [formattedPostprocessingParams] = formatParams(context.postprocessingParams);
|
|
9741
|
+
needsPostprocessing || (needsPostprocessing = formattedPostprocessingParams.size > 0);
|
|
9742
|
+
return createI18nMessageOp(job.allocateXrefId(), context.i18nBlock, context.message, messagePlaceholder != null ? messagePlaceholder : null, formattedParams, formattedPostprocessingParams, needsPostprocessing);
|
|
9733
9743
|
}
|
|
9734
9744
|
function formatParams(params) {
|
|
9735
|
-
const
|
|
9745
|
+
const formattedParams = /* @__PURE__ */ new Map();
|
|
9746
|
+
let needsPostprocessing = false;
|
|
9736
9747
|
for (const [placeholder, placeholderValues] of params) {
|
|
9737
|
-
const serializedValues = formatParamValues(placeholderValues);
|
|
9748
|
+
const [serializedValues, paramNeedsPostprocessing] = formatParamValues(placeholderValues);
|
|
9749
|
+
needsPostprocessing || (needsPostprocessing = paramNeedsPostprocessing);
|
|
9738
9750
|
if (serializedValues !== null) {
|
|
9739
|
-
|
|
9751
|
+
formattedParams.set(placeholder, literal(serializedValues));
|
|
9740
9752
|
}
|
|
9741
9753
|
}
|
|
9742
|
-
return
|
|
9754
|
+
return [formattedParams, needsPostprocessing];
|
|
9743
9755
|
}
|
|
9744
9756
|
function formatParamValues(values) {
|
|
9745
9757
|
if (values.length === 0) {
|
|
9746
|
-
return null;
|
|
9758
|
+
return [null, false];
|
|
9747
9759
|
}
|
|
9760
|
+
collapseElementTemplatePairs(values);
|
|
9748
9761
|
const serializedValues = values.map((value) => formatValue(value));
|
|
9749
|
-
return serializedValues.length === 1 ? serializedValues[0] : `${LIST_START_MARKER}${serializedValues.join(LIST_DELIMITER)}${LIST_END_MARKER}
|
|
9762
|
+
return serializedValues.length === 1 ? [serializedValues[0], false] : [`${LIST_START_MARKER}${serializedValues.join(LIST_DELIMITER)}${LIST_END_MARKER}`, true];
|
|
9763
|
+
}
|
|
9764
|
+
function collapseElementTemplatePairs(values) {
|
|
9765
|
+
var _a2;
|
|
9766
|
+
const valueIndiciesBySubTemplateIndex = /* @__PURE__ */ new Map();
|
|
9767
|
+
for (let i = 0; i < values.length; i++) {
|
|
9768
|
+
const value = values[i];
|
|
9769
|
+
if (value.subTemplateIndex !== null && value.flags & (I18nParamValueFlags.ElementTag | I18nParamValueFlags.TemplateTag)) {
|
|
9770
|
+
const valueIndicies = (_a2 = valueIndiciesBySubTemplateIndex.get(value.subTemplateIndex)) != null ? _a2 : [];
|
|
9771
|
+
valueIndicies.push(i);
|
|
9772
|
+
valueIndiciesBySubTemplateIndex.set(value.subTemplateIndex, valueIndicies);
|
|
9773
|
+
}
|
|
9774
|
+
}
|
|
9775
|
+
for (const [subTemplateIndex, valueIndicies] of valueIndiciesBySubTemplateIndex) {
|
|
9776
|
+
if (valueIndicies.length > 1) {
|
|
9777
|
+
const elementIndex = valueIndicies.find((index) => values[index].flags & I18nParamValueFlags.ElementTag);
|
|
9778
|
+
const templateIndex = valueIndicies.find((index) => values[index].flags & I18nParamValueFlags.TemplateTag);
|
|
9779
|
+
if (elementIndex !== void 0 && templateIndex !== void 0) {
|
|
9780
|
+
const elementValue = values[elementIndex];
|
|
9781
|
+
const templateValue = values[templateIndex];
|
|
9782
|
+
let compundValue;
|
|
9783
|
+
if (elementValue.flags & I18nParamValueFlags.OpenTag && elementValue.flags & I18nParamValueFlags.CloseTag) {
|
|
9784
|
+
compundValue = `${formatValue(templateValue)}${formatValue(elementValue)}${formatValue(templateValue)}`;
|
|
9785
|
+
} else if (elementValue.flags & I18nParamValueFlags.OpenTag) {
|
|
9786
|
+
compundValue = `${formatValue(templateValue)}${formatValue(elementValue)}`;
|
|
9787
|
+
} else {
|
|
9788
|
+
compundValue = `${formatValue(elementValue)}${formatValue(templateValue)}`;
|
|
9789
|
+
}
|
|
9790
|
+
values.splice(elementIndex, 1, { value: compundValue, subTemplateIndex, flags: I18nParamValueFlags.None });
|
|
9791
|
+
values.splice(templateIndex, 1, null);
|
|
9792
|
+
}
|
|
9793
|
+
}
|
|
9794
|
+
}
|
|
9795
|
+
for (let i = values.length - 1; i >= 0; i--) {
|
|
9796
|
+
if (values[i] === null) {
|
|
9797
|
+
values.splice(i, 1);
|
|
9798
|
+
}
|
|
9799
|
+
}
|
|
9750
9800
|
}
|
|
9751
9801
|
function formatValue(value) {
|
|
9752
9802
|
if (value.flags === I18nParamValueFlags.None) {
|
|
@@ -9769,7 +9819,7 @@ function formatValue(value) {
|
|
|
9769
9819
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
9770
9820
|
}
|
|
9771
9821
|
|
|
9772
|
-
// bazel-out/
|
|
9822
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
9773
9823
|
function generateAdvance(job) {
|
|
9774
9824
|
for (const unit of job.units) {
|
|
9775
9825
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -9801,7 +9851,7 @@ function generateAdvance(job) {
|
|
|
9801
9851
|
}
|
|
9802
9852
|
}
|
|
9803
9853
|
|
|
9804
|
-
// bazel-out/
|
|
9854
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
9805
9855
|
function generateProjectionDefs(job) {
|
|
9806
9856
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
9807
9857
|
const selectors = [];
|
|
@@ -9825,7 +9875,7 @@ function generateProjectionDefs(job) {
|
|
|
9825
9875
|
}
|
|
9826
9876
|
}
|
|
9827
9877
|
|
|
9828
|
-
// bazel-out/
|
|
9878
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
9829
9879
|
function generateVariables(job) {
|
|
9830
9880
|
recursivelyProcessView(job.root, null);
|
|
9831
9881
|
}
|
|
@@ -9913,7 +9963,7 @@ function generateVariablesInScopeForView(view, scope) {
|
|
|
9913
9963
|
return newOps;
|
|
9914
9964
|
}
|
|
9915
9965
|
|
|
9916
|
-
// bazel-out/
|
|
9966
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
9917
9967
|
function collectConstExpressions(job) {
|
|
9918
9968
|
for (const unit of job.units) {
|
|
9919
9969
|
for (const op of unit.ops()) {
|
|
@@ -9927,7 +9977,7 @@ function collectConstExpressions(job) {
|
|
|
9927
9977
|
}
|
|
9928
9978
|
}
|
|
9929
9979
|
|
|
9930
|
-
// bazel-out/
|
|
9980
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
9931
9981
|
var STYLE_DOT = "style.";
|
|
9932
9982
|
var CLASS_DOT = "class.";
|
|
9933
9983
|
var STYLE_BANG = "style!";
|
|
@@ -9985,7 +10035,7 @@ function parseProperty(name) {
|
|
|
9985
10035
|
return { property: property2, suffix };
|
|
9986
10036
|
}
|
|
9987
10037
|
|
|
9988
|
-
// bazel-out/
|
|
10038
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
9989
10039
|
function mapLiteral(obj, quoted = false) {
|
|
9990
10040
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
9991
10041
|
key,
|
|
@@ -9994,7 +10044,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
9994
10044
|
})));
|
|
9995
10045
|
}
|
|
9996
10046
|
|
|
9997
|
-
// bazel-out/
|
|
10047
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
9998
10048
|
var IcuSerializerVisitor = class {
|
|
9999
10049
|
visitText(text2) {
|
|
10000
10050
|
return text2.value;
|
|
@@ -10028,7 +10078,7 @@ function serializeIcuNode(icu) {
|
|
|
10028
10078
|
return icu.visit(serializer);
|
|
10029
10079
|
}
|
|
10030
10080
|
|
|
10031
|
-
// bazel-out/
|
|
10081
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
10032
10082
|
var TokenType;
|
|
10033
10083
|
(function(TokenType2) {
|
|
10034
10084
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -10389,7 +10439,7 @@ function parseIntAutoRadix(text2) {
|
|
|
10389
10439
|
return result;
|
|
10390
10440
|
}
|
|
10391
10441
|
|
|
10392
|
-
// bazel-out/
|
|
10442
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
10393
10443
|
var SplitInterpolation = class {
|
|
10394
10444
|
constructor(strings, expressions, offsets) {
|
|
10395
10445
|
this.strings = strings;
|
|
@@ -11283,7 +11333,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
11283
11333
|
return offsetMap;
|
|
11284
11334
|
}
|
|
11285
11335
|
|
|
11286
|
-
// bazel-out/
|
|
11336
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
11287
11337
|
var NodeWithI18n = class {
|
|
11288
11338
|
constructor(sourceSpan, i18n2) {
|
|
11289
11339
|
this.sourceSpan = sourceSpan;
|
|
@@ -11435,11 +11485,11 @@ var RecursiveVisitor = class {
|
|
|
11435
11485
|
}
|
|
11436
11486
|
};
|
|
11437
11487
|
|
|
11438
|
-
// bazel-out/
|
|
11488
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
11439
11489
|
var ElementSchemaRegistry = class {
|
|
11440
11490
|
};
|
|
11441
11491
|
|
|
11442
|
-
// bazel-out/
|
|
11492
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
11443
11493
|
var BOOLEAN = "boolean";
|
|
11444
11494
|
var NUMBER = "number";
|
|
11445
11495
|
var STRING = "string";
|
|
@@ -11792,7 +11842,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
11792
11842
|
}
|
|
11793
11843
|
}
|
|
11794
11844
|
|
|
11795
|
-
// bazel-out/
|
|
11845
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
11796
11846
|
var HtmlTagDefinition = class {
|
|
11797
11847
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
11798
11848
|
this.closedByChildren = {};
|
|
@@ -11910,7 +11960,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
11910
11960
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
11911
11961
|
}
|
|
11912
11962
|
|
|
11913
|
-
// bazel-out/
|
|
11963
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
11914
11964
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
11915
11965
|
"A": "LINK",
|
|
11916
11966
|
"B": "BOLD_TEXT",
|
|
@@ -12032,7 +12082,7 @@ var PlaceholderRegistry = class {
|
|
|
12032
12082
|
}
|
|
12033
12083
|
};
|
|
12034
12084
|
|
|
12035
|
-
// bazel-out/
|
|
12085
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
12036
12086
|
var _expParser = new Parser(new Lexer());
|
|
12037
12087
|
function createI18nMessageFactory(interpolationConfig, containerBlocks) {
|
|
12038
12088
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
|
|
@@ -12211,14 +12261,14 @@ function extractPlaceholderName(input) {
|
|
|
12211
12261
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
12212
12262
|
}
|
|
12213
12263
|
|
|
12214
|
-
// bazel-out/
|
|
12264
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
12215
12265
|
var I18nError = class extends ParseError {
|
|
12216
12266
|
constructor(span, msg) {
|
|
12217
12267
|
super(span, msg);
|
|
12218
12268
|
}
|
|
12219
12269
|
};
|
|
12220
12270
|
|
|
12221
|
-
// bazel-out/
|
|
12271
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
12222
12272
|
var NAMED_ENTITIES = {
|
|
12223
12273
|
"AElig": "\xC6",
|
|
12224
12274
|
"AMP": "&",
|
|
@@ -14349,7 +14399,7 @@ var NAMED_ENTITIES = {
|
|
|
14349
14399
|
var NGSP_UNICODE = "\uE500";
|
|
14350
14400
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
14351
14401
|
|
|
14352
|
-
// bazel-out/
|
|
14402
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
14353
14403
|
var TokenError = class extends ParseError {
|
|
14354
14404
|
constructor(errorMsg, tokenType, span) {
|
|
14355
14405
|
super(span, errorMsg);
|
|
@@ -15270,7 +15320,7 @@ var CursorError = class {
|
|
|
15270
15320
|
}
|
|
15271
15321
|
};
|
|
15272
15322
|
|
|
15273
|
-
// bazel-out/
|
|
15323
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
15274
15324
|
var TreeError = class extends ParseError {
|
|
15275
15325
|
static create(elementName, span, msg) {
|
|
15276
15326
|
return new TreeError(elementName, span, msg);
|
|
@@ -15654,7 +15704,7 @@ function decodeEntity(match, entity) {
|
|
|
15654
15704
|
return match;
|
|
15655
15705
|
}
|
|
15656
15706
|
|
|
15657
|
-
// bazel-out/
|
|
15707
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
15658
15708
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
15659
15709
|
"iframe|srcdoc",
|
|
15660
15710
|
"*|innerhtml",
|
|
@@ -15669,7 +15719,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
15669
15719
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
15670
15720
|
}
|
|
15671
15721
|
|
|
15672
|
-
// bazel-out/
|
|
15722
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
15673
15723
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
15674
15724
|
if (htmlNode instanceof NodeWithI18n) {
|
|
15675
15725
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -15826,7 +15876,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
15826
15876
|
return jsDocComment(tags);
|
|
15827
15877
|
}
|
|
15828
15878
|
|
|
15829
|
-
// bazel-out/
|
|
15879
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
15830
15880
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
15831
15881
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
15832
15882
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -15877,7 +15927,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
15877
15927
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
15878
15928
|
}
|
|
15879
15929
|
|
|
15880
|
-
// bazel-out/
|
|
15930
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
15881
15931
|
function createLocalizeStatements(variable2, message, params) {
|
|
15882
15932
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
15883
15933
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -15966,7 +16016,7 @@ function createEmptyMessagePart(location) {
|
|
|
15966
16016
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
15967
16017
|
}
|
|
15968
16018
|
|
|
15969
|
-
// bazel-out/
|
|
16019
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
15970
16020
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
15971
16021
|
var TRANSLATION_VAR_PREFIX2 = "i18n_";
|
|
15972
16022
|
function collectI18nConsts(job) {
|
|
@@ -16061,7 +16111,7 @@ function assertAllParamsResolved(op) {
|
|
|
16061
16111
|
}
|
|
16062
16112
|
}
|
|
16063
16113
|
|
|
16064
|
-
// bazel-out/
|
|
16114
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
16065
16115
|
function extractI18nText(job) {
|
|
16066
16116
|
var _a2;
|
|
16067
16117
|
for (const unit of job.units) {
|
|
@@ -16120,7 +16170,7 @@ function extractI18nText(job) {
|
|
|
16120
16170
|
}
|
|
16121
16171
|
}
|
|
16122
16172
|
|
|
16123
|
-
// bazel-out/
|
|
16173
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
16124
16174
|
function liftLocalRefs(job) {
|
|
16125
16175
|
for (const unit of job.units) {
|
|
16126
16176
|
for (const op of unit.create) {
|
|
@@ -16150,48 +16200,7 @@ function serializeLocalRefs(refs) {
|
|
|
16150
16200
|
return literalArr(constRefs);
|
|
16151
16201
|
}
|
|
16152
16202
|
|
|
16153
|
-
// bazel-out/
|
|
16154
|
-
function mergeI18nContexts(job) {
|
|
16155
|
-
const i18nOps = /* @__PURE__ */ new Map();
|
|
16156
|
-
const i18nContexts = /* @__PURE__ */ new Map();
|
|
16157
|
-
for (const unit of job.units) {
|
|
16158
|
-
for (const op of unit.create) {
|
|
16159
|
-
switch (op.kind) {
|
|
16160
|
-
case OpKind.I18nStart:
|
|
16161
|
-
if (!op.context) {
|
|
16162
|
-
throw Error("I18n op should have its context set.");
|
|
16163
|
-
}
|
|
16164
|
-
i18nOps.set(op.xref, op);
|
|
16165
|
-
break;
|
|
16166
|
-
case OpKind.I18nContext:
|
|
16167
|
-
i18nContexts.set(op.xref, op);
|
|
16168
|
-
break;
|
|
16169
|
-
}
|
|
16170
|
-
}
|
|
16171
|
-
}
|
|
16172
|
-
for (const childI18nOp of i18nOps.values()) {
|
|
16173
|
-
if (childI18nOp.xref !== childI18nOp.root) {
|
|
16174
|
-
const childContext = i18nContexts.get(childI18nOp.context);
|
|
16175
|
-
const rootI18nOp = i18nOps.get(childI18nOp.root);
|
|
16176
|
-
const rootContext = i18nContexts.get(rootI18nOp.context);
|
|
16177
|
-
mergeParams(rootContext.params, childContext.params);
|
|
16178
|
-
mergeParams(rootContext.postprocessingParams, childContext.postprocessingParams);
|
|
16179
|
-
}
|
|
16180
|
-
}
|
|
16181
|
-
}
|
|
16182
|
-
function mergeParams(to, from) {
|
|
16183
|
-
for (const [placeholder, fromValues] of from) {
|
|
16184
|
-
const toValues = to.get(placeholder) || [];
|
|
16185
|
-
const flags = fromValues[0].flags;
|
|
16186
|
-
if (flags & I18nParamValueFlags.CloseTag && !(flags & I18nParamValueFlags.OpenTag)) {
|
|
16187
|
-
to.set(placeholder, [...fromValues, ...toValues]);
|
|
16188
|
-
} else {
|
|
16189
|
-
to.set(placeholder, [...toValues, ...fromValues]);
|
|
16190
|
-
}
|
|
16191
|
-
}
|
|
16192
|
-
}
|
|
16193
|
-
|
|
16194
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
16203
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
16195
16204
|
function emitNamespaceChanges(job) {
|
|
16196
16205
|
for (const unit of job.units) {
|
|
16197
16206
|
let activeNamespace = Namespace.HTML;
|
|
@@ -16207,7 +16216,7 @@ function emitNamespaceChanges(job) {
|
|
|
16207
16216
|
}
|
|
16208
16217
|
}
|
|
16209
16218
|
|
|
16210
|
-
// bazel-out/
|
|
16219
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
|
|
16211
16220
|
function parse(value) {
|
|
16212
16221
|
const styles = [];
|
|
16213
16222
|
let i = 0;
|
|
@@ -16268,7 +16277,7 @@ function hyphenate2(value) {
|
|
|
16268
16277
|
}).toLowerCase();
|
|
16269
16278
|
}
|
|
16270
16279
|
|
|
16271
|
-
// bazel-out/
|
|
16280
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
16272
16281
|
function nameFunctionsAndVariables(job) {
|
|
16273
16282
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
16274
16283
|
}
|
|
@@ -16383,7 +16392,7 @@ function stripImportant(name) {
|
|
|
16383
16392
|
return name;
|
|
16384
16393
|
}
|
|
16385
16394
|
|
|
16386
|
-
// bazel-out/
|
|
16395
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
16387
16396
|
function mergeNextContextExpressions(job) {
|
|
16388
16397
|
for (const unit of job.units) {
|
|
16389
16398
|
for (const op of unit.create) {
|
|
@@ -16429,7 +16438,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
16429
16438
|
}
|
|
16430
16439
|
}
|
|
16431
16440
|
|
|
16432
|
-
// bazel-out/
|
|
16441
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
16433
16442
|
var CONTAINER_TAG = "ng-container";
|
|
16434
16443
|
function generateNgContainerOps(job) {
|
|
16435
16444
|
for (const unit of job.units) {
|
|
@@ -16446,7 +16455,7 @@ function generateNgContainerOps(job) {
|
|
|
16446
16455
|
}
|
|
16447
16456
|
}
|
|
16448
16457
|
|
|
16449
|
-
// bazel-out/
|
|
16458
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
16450
16459
|
function lookupElement3(elements, xref) {
|
|
16451
16460
|
const el = elements.get(xref);
|
|
16452
16461
|
if (el === void 0) {
|
|
@@ -16476,7 +16485,7 @@ function disableBindings(job) {
|
|
|
16476
16485
|
}
|
|
16477
16486
|
}
|
|
16478
16487
|
|
|
16479
|
-
// bazel-out/
|
|
16488
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
16480
16489
|
function generateNullishCoalesceExpressions(job) {
|
|
16481
16490
|
for (const unit of job.units) {
|
|
16482
16491
|
for (const op of unit.ops()) {
|
|
@@ -16492,7 +16501,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
16492
16501
|
}
|
|
16493
16502
|
}
|
|
16494
16503
|
|
|
16495
|
-
// bazel-out/
|
|
16504
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
16496
16505
|
function kindTest(kind) {
|
|
16497
16506
|
return (op) => op.kind === kind;
|
|
16498
16507
|
}
|
|
@@ -16566,7 +16575,7 @@ function keepLast(ops) {
|
|
|
16566
16575
|
return ops.slice(ops.length - 1);
|
|
16567
16576
|
}
|
|
16568
16577
|
|
|
16569
|
-
// bazel-out/
|
|
16578
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
16570
16579
|
function parseExtractedStyles(job) {
|
|
16571
16580
|
for (const unit of job.units) {
|
|
16572
16581
|
for (const op of unit.create) {
|
|
@@ -16589,7 +16598,7 @@ function parseExtractedStyles(job) {
|
|
|
16589
16598
|
}
|
|
16590
16599
|
}
|
|
16591
16600
|
|
|
16592
|
-
// bazel-out/
|
|
16601
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
16593
16602
|
function removeContentSelectors(job) {
|
|
16594
16603
|
for (const unit of job.units) {
|
|
16595
16604
|
const elements = createOpXrefMap(unit);
|
|
@@ -16613,7 +16622,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
16613
16622
|
return el;
|
|
16614
16623
|
}
|
|
16615
16624
|
|
|
16616
|
-
// bazel-out/
|
|
16625
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
16617
16626
|
function createPipes(job) {
|
|
16618
16627
|
for (const unit of job.units) {
|
|
16619
16628
|
processPipeBindingsInView(unit);
|
|
@@ -16661,7 +16670,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
16661
16670
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
16662
16671
|
}
|
|
16663
16672
|
|
|
16664
|
-
// bazel-out/
|
|
16673
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
16665
16674
|
function createVariadicPipes(job) {
|
|
16666
16675
|
for (const unit of job.units) {
|
|
16667
16676
|
for (const op of unit.update) {
|
|
@@ -16678,7 +16687,7 @@ function createVariadicPipes(job) {
|
|
|
16678
16687
|
}
|
|
16679
16688
|
}
|
|
16680
16689
|
|
|
16681
|
-
// bazel-out/
|
|
16690
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
16682
16691
|
function propagateI18nBlocks(job) {
|
|
16683
16692
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
16684
16693
|
}
|
|
@@ -16702,9 +16711,10 @@ function propagateI18nBlocksToTemplates(unit, subTemplateIndex) {
|
|
|
16702
16711
|
subTemplateIndex++;
|
|
16703
16712
|
wrapTemplateWithI18n(templateView, i18nBlock);
|
|
16704
16713
|
}
|
|
16705
|
-
propagateI18nBlocksToTemplates(templateView, subTemplateIndex);
|
|
16714
|
+
subTemplateIndex = propagateI18nBlocksToTemplates(templateView, subTemplateIndex);
|
|
16706
16715
|
}
|
|
16707
16716
|
}
|
|
16717
|
+
return subTemplateIndex;
|
|
16708
16718
|
}
|
|
16709
16719
|
function wrapTemplateWithI18n(unit, parentI18n) {
|
|
16710
16720
|
var _a2;
|
|
@@ -16715,7 +16725,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
16715
16725
|
}
|
|
16716
16726
|
}
|
|
16717
16727
|
|
|
16718
|
-
// bazel-out/
|
|
16728
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
16719
16729
|
function extractPureFunctions(job) {
|
|
16720
16730
|
for (const view of job.units) {
|
|
16721
16731
|
for (const op of view.ops()) {
|
|
@@ -16757,7 +16767,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
16757
16767
|
}
|
|
16758
16768
|
};
|
|
16759
16769
|
|
|
16760
|
-
// bazel-out/
|
|
16770
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
16761
16771
|
function generatePureLiteralStructures(job) {
|
|
16762
16772
|
for (const unit of job.units) {
|
|
16763
16773
|
for (const op of unit.update) {
|
|
@@ -16804,7 +16814,7 @@ function transformLiteralMap(expr) {
|
|
|
16804
16814
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
16805
16815
|
}
|
|
16806
16816
|
|
|
16807
|
-
// bazel-out/
|
|
16817
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
16808
16818
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
16809
16819
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
16810
16820
|
}
|
|
@@ -17315,7 +17325,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
17315
17325
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
17316
17326
|
}
|
|
17317
17327
|
|
|
17318
|
-
// bazel-out/
|
|
17328
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
17319
17329
|
var sanitizerIdentifierMap = /* @__PURE__ */ new Map([
|
|
17320
17330
|
[SanitizerFn.Html, Identifiers.sanitizeHtml],
|
|
17321
17331
|
[SanitizerFn.IframeAttribute, Identifiers.validateIframeAttribute],
|
|
@@ -17644,7 +17654,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
17644
17654
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
17645
17655
|
}
|
|
17646
17656
|
|
|
17647
|
-
// bazel-out/
|
|
17657
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
17648
17658
|
function removeEmptyBindings(job) {
|
|
17649
17659
|
for (const unit of job.units) {
|
|
17650
17660
|
for (const op of unit.update) {
|
|
@@ -17665,7 +17675,7 @@ function removeEmptyBindings(job) {
|
|
|
17665
17675
|
}
|
|
17666
17676
|
}
|
|
17667
17677
|
|
|
17668
|
-
// bazel-out/
|
|
17678
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
17669
17679
|
function removeI18nContexts(job) {
|
|
17670
17680
|
for (const unit of job.units) {
|
|
17671
17681
|
for (const op of unit.create) {
|
|
@@ -17681,7 +17691,7 @@ function removeI18nContexts(job) {
|
|
|
17681
17691
|
}
|
|
17682
17692
|
}
|
|
17683
17693
|
|
|
17684
|
-
// bazel-out/
|
|
17694
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/repeater_derived_vars.mjs
|
|
17685
17695
|
function generateRepeaterDerivedVars(job) {
|
|
17686
17696
|
const repeaters = /* @__PURE__ */ new Map();
|
|
17687
17697
|
for (const unit of job.units) {
|
|
@@ -17713,7 +17723,7 @@ function generateRepeaterDerivedVars(job) {
|
|
|
17713
17723
|
}
|
|
17714
17724
|
}
|
|
17715
17725
|
|
|
17716
|
-
// bazel-out/
|
|
17726
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
17717
17727
|
function resolveContexts(job) {
|
|
17718
17728
|
for (const unit of job.units) {
|
|
17719
17729
|
processLexicalScope(unit, unit.create);
|
|
@@ -17754,7 +17764,7 @@ function processLexicalScope(view, ops) {
|
|
|
17754
17764
|
}
|
|
17755
17765
|
}
|
|
17756
17766
|
|
|
17757
|
-
// bazel-out/
|
|
17767
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
17758
17768
|
function resolveDollarEvent(job) {
|
|
17759
17769
|
for (const unit of job.units) {
|
|
17760
17770
|
transformDollarEvent(unit, unit.create);
|
|
@@ -17775,7 +17785,7 @@ function transformDollarEvent(unit, ops) {
|
|
|
17775
17785
|
}
|
|
17776
17786
|
}
|
|
17777
17787
|
|
|
17778
|
-
// bazel-out/
|
|
17788
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
17779
17789
|
function resolveI18nElementPlaceholders(job) {
|
|
17780
17790
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
17781
17791
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -17791,55 +17801,67 @@ function resolveI18nElementPlaceholders(job) {
|
|
|
17791
17801
|
}
|
|
17792
17802
|
}
|
|
17793
17803
|
}
|
|
17794
|
-
|
|
17795
|
-
|
|
17796
|
-
|
|
17797
|
-
|
|
17798
|
-
|
|
17799
|
-
|
|
17800
|
-
|
|
17804
|
+
resolvePlaceholdersForView(job, job.root, i18nContexts, elements);
|
|
17805
|
+
}
|
|
17806
|
+
function resolvePlaceholdersForView(job, unit, i18nContexts, elements) {
|
|
17807
|
+
let currentOps = null;
|
|
17808
|
+
for (const op of unit.create) {
|
|
17809
|
+
switch (op.kind) {
|
|
17810
|
+
case OpKind.I18nStart:
|
|
17811
|
+
if (!op.context) {
|
|
17812
|
+
throw Error("Could not find i18n context for i18n op");
|
|
17813
|
+
}
|
|
17814
|
+
currentOps = { i18nBlock: op, i18nContext: i18nContexts.get(op.context) };
|
|
17815
|
+
break;
|
|
17816
|
+
case OpKind.I18nEnd:
|
|
17817
|
+
currentOps = null;
|
|
17818
|
+
break;
|
|
17819
|
+
case OpKind.ElementStart:
|
|
17820
|
+
if (op.i18nPlaceholder !== void 0) {
|
|
17821
|
+
if (currentOps === null) {
|
|
17822
|
+
throw Error("i18n tag placeholder should only occur inside an i18n block");
|
|
17801
17823
|
}
|
|
17802
|
-
|
|
17803
|
-
|
|
17804
|
-
|
|
17805
|
-
|
|
17806
|
-
break;
|
|
17807
|
-
case OpKind.ElementStart:
|
|
17808
|
-
if (op.i18nPlaceholder !== void 0) {
|
|
17809
|
-
if (currentOps === null) {
|
|
17810
|
-
throw Error("i18n tag placeholder should only occur inside an i18n block");
|
|
17811
|
-
}
|
|
17812
|
-
const { startName, closeName } = op.i18nPlaceholder;
|
|
17813
|
-
let flags = I18nParamValueFlags.ElementTag | I18nParamValueFlags.OpenTag;
|
|
17814
|
-
if (closeName === "") {
|
|
17815
|
-
flags |= I18nParamValueFlags.CloseTag;
|
|
17816
|
-
}
|
|
17817
|
-
addParam(currentOps.i18nContext.params, startName, op.handle.slot, currentOps.i18nBlock.subTemplateIndex, flags);
|
|
17824
|
+
const { startName, closeName } = op.i18nPlaceholder;
|
|
17825
|
+
let flags = I18nParamValueFlags.ElementTag | I18nParamValueFlags.OpenTag;
|
|
17826
|
+
if (closeName === "") {
|
|
17827
|
+
flags |= I18nParamValueFlags.CloseTag;
|
|
17818
17828
|
}
|
|
17819
|
-
|
|
17820
|
-
|
|
17821
|
-
|
|
17822
|
-
|
|
17823
|
-
|
|
17824
|
-
|
|
17825
|
-
|
|
17826
|
-
|
|
17827
|
-
if (closeName !== "") {
|
|
17828
|
-
addParam(currentOps.i18nContext.params, closeName, startOp.handle.slot, currentOps.i18nBlock.subTemplateIndex, I18nParamValueFlags.ElementTag | I18nParamValueFlags.CloseTag);
|
|
17829
|
-
}
|
|
17829
|
+
addParam(currentOps.i18nContext.params, startName, op.handle.slot, currentOps.i18nBlock.subTemplateIndex, flags);
|
|
17830
|
+
}
|
|
17831
|
+
break;
|
|
17832
|
+
case OpKind.ElementEnd:
|
|
17833
|
+
const startOp = elements.get(op.xref);
|
|
17834
|
+
if (startOp && startOp.i18nPlaceholder !== void 0) {
|
|
17835
|
+
if (currentOps === null) {
|
|
17836
|
+
throw Error("i18n tag placeholder should only occur inside an i18n block");
|
|
17830
17837
|
}
|
|
17831
|
-
|
|
17832
|
-
|
|
17833
|
-
|
|
17834
|
-
if (currentOps === null) {
|
|
17835
|
-
throw Error("i18n tag placeholder should only occur inside an i18n block");
|
|
17836
|
-
}
|
|
17837
|
-
const subTemplateIndex = getSubTemplateIndexForTemplateTag(job, currentOps.i18nBlock, op);
|
|
17838
|
-
addParam(currentOps.i18nContext.params, op.i18nPlaceholder.startName, op.handle.slot, subTemplateIndex, I18nParamValueFlags.TemplateTag);
|
|
17839
|
-
addParam(currentOps.i18nContext.params, op.i18nPlaceholder.closeName, op.handle.slot, subTemplateIndex, I18nParamValueFlags.TemplateTag | I18nParamValueFlags.CloseTag);
|
|
17838
|
+
const { closeName } = startOp.i18nPlaceholder;
|
|
17839
|
+
if (closeName !== "") {
|
|
17840
|
+
addParam(currentOps.i18nContext.params, closeName, startOp.handle.slot, currentOps.i18nBlock.subTemplateIndex, I18nParamValueFlags.ElementTag | I18nParamValueFlags.CloseTag);
|
|
17840
17841
|
}
|
|
17841
|
-
|
|
17842
|
-
|
|
17842
|
+
}
|
|
17843
|
+
break;
|
|
17844
|
+
case OpKind.Template:
|
|
17845
|
+
if (op.i18nPlaceholder !== void 0) {
|
|
17846
|
+
if (currentOps === null) {
|
|
17847
|
+
throw Error("i18n tag placeholder should only occur inside an i18n block");
|
|
17848
|
+
}
|
|
17849
|
+
let startFlags = I18nParamValueFlags.TemplateTag | I18nParamValueFlags.OpenTag;
|
|
17850
|
+
const subTemplateIndex = getSubTemplateIndexForTemplateTag(job, currentOps.i18nBlock, op);
|
|
17851
|
+
const { startName, closeName } = op.i18nPlaceholder;
|
|
17852
|
+
const isSelfClosing = closeName === "";
|
|
17853
|
+
if (isSelfClosing) {
|
|
17854
|
+
startFlags |= I18nParamValueFlags.CloseTag;
|
|
17855
|
+
}
|
|
17856
|
+
addParam(currentOps.i18nContext.params, startName, op.handle.slot, subTemplateIndex, startFlags);
|
|
17857
|
+
resolvePlaceholdersForView(job, job.views.get(op.xref), i18nContexts, elements);
|
|
17858
|
+
if (!isSelfClosing) {
|
|
17859
|
+
addParam(currentOps.i18nContext.params, closeName, op.handle.slot, subTemplateIndex, I18nParamValueFlags.TemplateTag | I18nParamValueFlags.CloseTag);
|
|
17860
|
+
}
|
|
17861
|
+
} else {
|
|
17862
|
+
resolvePlaceholdersForView(job, job.views.get(op.xref), i18nContexts, elements);
|
|
17863
|
+
}
|
|
17864
|
+
break;
|
|
17843
17865
|
}
|
|
17844
17866
|
}
|
|
17845
17867
|
}
|
|
@@ -17858,7 +17880,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
17858
17880
|
params.set(placeholder, values);
|
|
17859
17881
|
}
|
|
17860
17882
|
|
|
17861
|
-
// bazel-out/
|
|
17883
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
17862
17884
|
function resolveI18nExpressionPlaceholders(job) {
|
|
17863
17885
|
const subTemplateIndicies = /* @__PURE__ */ new Map();
|
|
17864
17886
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
@@ -17879,8 +17901,8 @@ function resolveI18nExpressionPlaceholders(job) {
|
|
|
17879
17901
|
for (const op of unit.update) {
|
|
17880
17902
|
if (op.kind === OpKind.I18nExpression) {
|
|
17881
17903
|
const i18nContext = i18nContexts.get(op.context);
|
|
17882
|
-
const index = expressionIndices.get(
|
|
17883
|
-
const subTemplateIndex = subTemplateIndicies.get(
|
|
17904
|
+
const index = expressionIndices.get(op.target) || 0;
|
|
17905
|
+
const subTemplateIndex = subTemplateIndicies.get(op.target);
|
|
17884
17906
|
const params = op.resolutionTime === I18nParamResolutionTime.Creation ? i18nContext.params : i18nContext.postprocessingParams;
|
|
17885
17907
|
const values = params.get(op.i18nPlaceholder) || [];
|
|
17886
17908
|
values.push({
|
|
@@ -17889,36 +17911,20 @@ function resolveI18nExpressionPlaceholders(job) {
|
|
|
17889
17911
|
flags: I18nParamValueFlags.ExpressionIndex
|
|
17890
17912
|
});
|
|
17891
17913
|
params.set(op.i18nPlaceholder, values);
|
|
17892
|
-
expressionIndices.set(
|
|
17914
|
+
expressionIndices.set(op.target, index + 1);
|
|
17893
17915
|
}
|
|
17894
17916
|
}
|
|
17895
17917
|
}
|
|
17896
17918
|
}
|
|
17897
17919
|
|
|
17898
|
-
// bazel-out/
|
|
17920
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_icu_placeholders.mjs
|
|
17899
17921
|
function resolveI18nIcuPlaceholders(job) {
|
|
17900
|
-
const contextOps = /* @__PURE__ */ new Map();
|
|
17901
|
-
for (const unit of job.units) {
|
|
17902
|
-
for (const op of unit.create) {
|
|
17903
|
-
switch (op.kind) {
|
|
17904
|
-
case OpKind.I18nContext:
|
|
17905
|
-
contextOps.set(op.xref, op);
|
|
17906
|
-
break;
|
|
17907
|
-
}
|
|
17908
|
-
}
|
|
17909
|
-
}
|
|
17910
17922
|
for (const unit of job.units) {
|
|
17911
17923
|
for (const op of unit.create) {
|
|
17912
|
-
|
|
17913
|
-
|
|
17914
|
-
|
|
17915
|
-
|
|
17916
|
-
}
|
|
17917
|
-
const i18nContext = contextOps.get(op.context);
|
|
17918
|
-
for (const node of op.message.nodes) {
|
|
17919
|
-
node.visit(new ResolveIcuPlaceholdersVisitor(i18nContext.postprocessingParams));
|
|
17920
|
-
}
|
|
17921
|
-
break;
|
|
17924
|
+
if (op.kind === OpKind.I18nContext && op.contextKind === I18nContextKind.Icu) {
|
|
17925
|
+
for (const node of op.message.nodes) {
|
|
17926
|
+
node.visit(new ResolveIcuPlaceholdersVisitor(op.postprocessingParams));
|
|
17927
|
+
}
|
|
17922
17928
|
}
|
|
17923
17929
|
}
|
|
17924
17930
|
}
|
|
@@ -17955,7 +17961,7 @@ var ResolveIcuPlaceholdersVisitor = class extends RecurseVisitor {
|
|
|
17955
17961
|
}
|
|
17956
17962
|
};
|
|
17957
17963
|
|
|
17958
|
-
// bazel-out/
|
|
17964
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
17959
17965
|
function resolveNames(job) {
|
|
17960
17966
|
for (const unit of job.units) {
|
|
17961
17967
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -18019,7 +18025,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
18019
18025
|
}
|
|
18020
18026
|
}
|
|
18021
18027
|
|
|
18022
|
-
// bazel-out/
|
|
18028
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
18023
18029
|
var sanitizers = /* @__PURE__ */ new Map([
|
|
18024
18030
|
[SecurityContext.HTML, SanitizerFn.Html],
|
|
18025
18031
|
[SecurityContext.SCRIPT, SanitizerFn.Script],
|
|
@@ -18056,7 +18062,7 @@ function isIframeElement(op) {
|
|
|
18056
18062
|
return op.kind === OpKind.ElementStart && ((_a2 = op.tag) == null ? void 0 : _a2.toLowerCase()) === "iframe";
|
|
18057
18063
|
}
|
|
18058
18064
|
|
|
18059
|
-
// bazel-out/
|
|
18065
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
18060
18066
|
function saveAndRestoreView(job) {
|
|
18061
18067
|
for (const unit of job.units) {
|
|
18062
18068
|
unit.create.prepend([
|
|
@@ -18101,7 +18107,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
18101
18107
|
}
|
|
18102
18108
|
}
|
|
18103
18109
|
|
|
18104
|
-
// bazel-out/
|
|
18110
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
18105
18111
|
function allocateSlots(job) {
|
|
18106
18112
|
const slotMap = /* @__PURE__ */ new Map();
|
|
18107
18113
|
for (const unit of job.units) {
|
|
@@ -18126,7 +18132,7 @@ function allocateSlots(job) {
|
|
|
18126
18132
|
}
|
|
18127
18133
|
}
|
|
18128
18134
|
|
|
18129
|
-
// bazel-out/
|
|
18135
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
18130
18136
|
function specializeStyleBindings(job) {
|
|
18131
18137
|
for (const unit of job.units) {
|
|
18132
18138
|
for (const op of unit.update) {
|
|
@@ -18156,7 +18162,7 @@ function specializeStyleBindings(job) {
|
|
|
18156
18162
|
}
|
|
18157
18163
|
}
|
|
18158
18164
|
|
|
18159
|
-
// bazel-out/
|
|
18165
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
18160
18166
|
function generateTemporaryVariables(job) {
|
|
18161
18167
|
for (const unit of job.units) {
|
|
18162
18168
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -18214,7 +18220,7 @@ function assignName(names, expr) {
|
|
|
18214
18220
|
expr.name = name;
|
|
18215
18221
|
}
|
|
18216
18222
|
|
|
18217
|
-
// bazel-out/
|
|
18223
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
18218
18224
|
function generateTrackFns(job) {
|
|
18219
18225
|
for (const unit of job.units) {
|
|
18220
18226
|
for (const op of unit.create) {
|
|
@@ -18244,7 +18250,7 @@ function generateTrackFns(job) {
|
|
|
18244
18250
|
}
|
|
18245
18251
|
}
|
|
18246
18252
|
|
|
18247
|
-
// bazel-out/
|
|
18253
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
18248
18254
|
function optimizeTrackFns(job) {
|
|
18249
18255
|
for (const unit of job.units) {
|
|
18250
18256
|
for (const op of unit.create) {
|
|
@@ -18291,7 +18297,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
18291
18297
|
return true;
|
|
18292
18298
|
}
|
|
18293
18299
|
|
|
18294
|
-
// bazel-out/
|
|
18300
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
18295
18301
|
function generateTrackVariables(job) {
|
|
18296
18302
|
for (const unit of job.units) {
|
|
18297
18303
|
for (const op of unit.create) {
|
|
@@ -18312,7 +18318,7 @@ function generateTrackVariables(job) {
|
|
|
18312
18318
|
}
|
|
18313
18319
|
}
|
|
18314
18320
|
|
|
18315
|
-
// bazel-out/
|
|
18321
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
18316
18322
|
function countVariables(job) {
|
|
18317
18323
|
for (const unit of job.units) {
|
|
18318
18324
|
let varCount = 0;
|
|
@@ -18417,7 +18423,7 @@ function isSingletonInterpolation(expr) {
|
|
|
18417
18423
|
return true;
|
|
18418
18424
|
}
|
|
18419
18425
|
|
|
18420
|
-
// bazel-out/
|
|
18426
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
18421
18427
|
function optimizeVariables(job) {
|
|
18422
18428
|
for (const unit of job.units) {
|
|
18423
18429
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -18667,7 +18673,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
18667
18673
|
}
|
|
18668
18674
|
}
|
|
18669
18675
|
|
|
18670
|
-
// bazel-out/
|
|
18676
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
18671
18677
|
function wrapI18nIcus(job) {
|
|
18672
18678
|
for (const unit of job.units) {
|
|
18673
18679
|
let currentI18nOp = null;
|
|
@@ -18697,7 +18703,7 @@ function wrapI18nIcus(job) {
|
|
|
18697
18703
|
}
|
|
18698
18704
|
}
|
|
18699
18705
|
|
|
18700
|
-
// bazel-out/
|
|
18706
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
18701
18707
|
var phases = [
|
|
18702
18708
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
18703
18709
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -18740,7 +18746,6 @@ var phases = [
|
|
|
18740
18746
|
{ kind: CompilationJobKind.Tmpl, fn: resolveI18nElementPlaceholders },
|
|
18741
18747
|
{ kind: CompilationJobKind.Tmpl, fn: resolveI18nExpressionPlaceholders },
|
|
18742
18748
|
{ kind: CompilationJobKind.Tmpl, fn: resolveI18nIcuPlaceholders },
|
|
18743
|
-
{ kind: CompilationJobKind.Tmpl, fn: mergeI18nContexts },
|
|
18744
18749
|
{ kind: CompilationJobKind.Tmpl, fn: extractI18nMessages },
|
|
18745
18750
|
{ kind: CompilationJobKind.Tmpl, fn: generateTrackFns },
|
|
18746
18751
|
{ kind: CompilationJobKind.Tmpl, fn: collectI18nConsts },
|
|
@@ -18862,7 +18867,7 @@ function emitHostBindingFunction(job) {
|
|
|
18862
18867
|
);
|
|
18863
18868
|
}
|
|
18864
18869
|
|
|
18865
|
-
// bazel-out/
|
|
18870
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
18866
18871
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
18867
18872
|
function ingestComponent(componentName, template2, constantPool, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta) {
|
|
18868
18873
|
const job = new ComponentCompilationJob(componentName, constantPool, compatibilityMode, relativeContextFilePath, i18nUseExternalIds, deferBlocksMeta);
|
|
@@ -19443,10 +19448,10 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
19443
19448
|
return null;
|
|
19444
19449
|
}
|
|
19445
19450
|
|
|
19446
|
-
// bazel-out/
|
|
19451
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
|
|
19447
19452
|
var USE_TEMPLATE_PIPELINE = false;
|
|
19448
19453
|
|
|
19449
|
-
// bazel-out/
|
|
19454
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
|
|
19450
19455
|
var IMPORTANT_FLAG = "!important";
|
|
19451
19456
|
var MIN_STYLING_BINDING_SLOTS_REQUIRED = 2;
|
|
19452
19457
|
var StylingBuilder = class {
|
|
@@ -19779,7 +19784,7 @@ function isEmptyExpression(ast) {
|
|
|
19779
19784
|
return ast instanceof EmptyExpr;
|
|
19780
19785
|
}
|
|
19781
19786
|
|
|
19782
|
-
// bazel-out/
|
|
19787
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
19783
19788
|
var HtmlParser = class extends Parser2 {
|
|
19784
19789
|
constructor() {
|
|
19785
19790
|
super(getHtmlTagDefinition);
|
|
@@ -19789,7 +19794,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
19789
19794
|
}
|
|
19790
19795
|
};
|
|
19791
19796
|
|
|
19792
|
-
// bazel-out/
|
|
19797
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
19793
19798
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
19794
19799
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
19795
19800
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -19855,7 +19860,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
19855
19860
|
return result;
|
|
19856
19861
|
}
|
|
19857
19862
|
|
|
19858
|
-
// bazel-out/
|
|
19863
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
19859
19864
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
19860
19865
|
var ATTRIBUTE_PREFIX = "attr";
|
|
19861
19866
|
var CLASS_PREFIX = "class";
|
|
@@ -20175,7 +20180,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
20175
20180
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
20176
20181
|
}
|
|
20177
20182
|
|
|
20178
|
-
// bazel-out/
|
|
20183
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
20179
20184
|
function isStyleUrlResolvable(url) {
|
|
20180
20185
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
20181
20186
|
return false;
|
|
@@ -20184,7 +20189,7 @@ function isStyleUrlResolvable(url) {
|
|
|
20184
20189
|
}
|
|
20185
20190
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
20186
20191
|
|
|
20187
|
-
// bazel-out/
|
|
20192
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
20188
20193
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
20189
20194
|
var LINK_ELEMENT = "link";
|
|
20190
20195
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -20254,7 +20259,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
20254
20259
|
return selectAttr;
|
|
20255
20260
|
}
|
|
20256
20261
|
|
|
20257
|
-
// bazel-out/
|
|
20262
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
20258
20263
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
20259
20264
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
20260
20265
|
var CONDITIONAL_ALIAS_PATTERN = /^as\s+(.*)/;
|
|
@@ -20545,7 +20550,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
20545
20550
|
return expression.slice(start, end);
|
|
20546
20551
|
}
|
|
20547
20552
|
|
|
20548
|
-
// bazel-out/
|
|
20553
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
20549
20554
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
20550
20555
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
20551
20556
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -20809,7 +20814,7 @@ function parseDeferredTime(value) {
|
|
|
20809
20814
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
20810
20815
|
}
|
|
20811
20816
|
|
|
20812
|
-
// bazel-out/
|
|
20817
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
20813
20818
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
20814
20819
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
20815
20820
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -20944,7 +20949,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
20944
20949
|
return { triggers, prefetchTriggers };
|
|
20945
20950
|
}
|
|
20946
20951
|
|
|
20947
|
-
// bazel-out/
|
|
20952
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
20948
20953
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
20949
20954
|
var KW_BIND_IDX = 1;
|
|
20950
20955
|
var KW_LET_IDX = 2;
|
|
@@ -21375,7 +21380,7 @@ function textContents(node) {
|
|
|
21375
21380
|
}
|
|
21376
21381
|
}
|
|
21377
21382
|
|
|
21378
|
-
// bazel-out/
|
|
21383
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
|
|
21379
21384
|
var TagType;
|
|
21380
21385
|
(function(TagType2) {
|
|
21381
21386
|
TagType2[TagType2["ELEMENT"] = 0] = "ELEMENT";
|
|
@@ -21520,7 +21525,7 @@ function serializePlaceholderValue(value) {
|
|
|
21520
21525
|
}
|
|
21521
21526
|
}
|
|
21522
21527
|
|
|
21523
|
-
// bazel-out/
|
|
21528
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
21524
21529
|
var NG_CONTENT_SELECT_ATTR2 = "select";
|
|
21525
21530
|
var NG_PROJECT_AS_ATTR_NAME = "ngProjectAs";
|
|
21526
21531
|
var EVENT_BINDING_SCOPE_GLOBALS = /* @__PURE__ */ new Set(["$event"]);
|
|
@@ -23212,7 +23217,7 @@ function createClosureModeGuard2() {
|
|
|
23212
23217
|
return typeofExpr(variable(NG_I18N_CLOSURE_MODE2)).notIdentical(literal("undefined", STRING_TYPE)).and(variable(NG_I18N_CLOSURE_MODE2));
|
|
23213
23218
|
}
|
|
23214
23219
|
|
|
23215
|
-
// bazel-out/
|
|
23220
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
23216
23221
|
var ATTR_REGEX = /attr\.([^\]]+)/;
|
|
23217
23222
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
23218
23223
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
@@ -23263,6 +23268,9 @@ function addFeatures(definitionMap, meta) {
|
|
|
23263
23268
|
break;
|
|
23264
23269
|
}
|
|
23265
23270
|
}
|
|
23271
|
+
if ((_a2 = meta.hostDirectives) == null ? void 0 : _a2.length) {
|
|
23272
|
+
features.push(importExpr(Identifiers.HostDirectivesFeature).callFn([createHostDirectivesFeatureArg(meta.hostDirectives)]));
|
|
23273
|
+
}
|
|
23266
23274
|
if (meta.usesInheritance) {
|
|
23267
23275
|
features.push(importExpr(Identifiers.InheritDefinitionFeature));
|
|
23268
23276
|
}
|
|
@@ -23275,9 +23283,6 @@ function addFeatures(definitionMap, meta) {
|
|
|
23275
23283
|
if (meta.hasOwnProperty("template") && meta.isStandalone) {
|
|
23276
23284
|
features.push(importExpr(Identifiers.StandaloneFeature));
|
|
23277
23285
|
}
|
|
23278
|
-
if ((_a2 = meta.hostDirectives) == null ? void 0 : _a2.length) {
|
|
23279
|
-
features.push(importExpr(Identifiers.HostDirectivesFeature).callFn([createHostDirectivesFeatureArg(meta.hostDirectives)]));
|
|
23280
|
-
}
|
|
23281
23286
|
if (features.length) {
|
|
23282
23287
|
definitionMap.set("features", literalArr(features));
|
|
23283
23288
|
}
|
|
@@ -23814,7 +23819,7 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
23814
23819
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
23815
23820
|
}
|
|
23816
23821
|
|
|
23817
|
-
// bazel-out/
|
|
23822
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
23818
23823
|
var R3TargetBinder = class {
|
|
23819
23824
|
constructor(directiveMatcher) {
|
|
23820
23825
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -24419,11 +24424,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
24419
24424
|
return templateEntities;
|
|
24420
24425
|
}
|
|
24421
24426
|
|
|
24422
|
-
// bazel-out/
|
|
24427
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
24423
24428
|
var ResourceLoader = class {
|
|
24424
24429
|
};
|
|
24425
24430
|
|
|
24426
|
-
// bazel-out/
|
|
24431
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
24427
24432
|
var CompilerFacadeImpl = class {
|
|
24428
24433
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
24429
24434
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -24975,17 +24980,17 @@ function publishFacade(global) {
|
|
|
24975
24980
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
24976
24981
|
}
|
|
24977
24982
|
|
|
24978
|
-
// bazel-out/
|
|
24979
|
-
var VERSION2 = new Version("17.0.
|
|
24983
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
|
|
24984
|
+
var VERSION2 = new Version("17.0.5");
|
|
24980
24985
|
|
|
24981
|
-
// bazel-out/
|
|
24986
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
24982
24987
|
var _VisitorMode;
|
|
24983
24988
|
(function(_VisitorMode2) {
|
|
24984
24989
|
_VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
|
|
24985
24990
|
_VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
|
|
24986
24991
|
})(_VisitorMode || (_VisitorMode = {}));
|
|
24987
24992
|
|
|
24988
|
-
// bazel-out/
|
|
24993
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
24989
24994
|
var XmlTagDefinition = class {
|
|
24990
24995
|
constructor() {
|
|
24991
24996
|
this.closedByParent = false;
|
|
@@ -25007,7 +25012,7 @@ var XmlTagDefinition = class {
|
|
|
25007
25012
|
};
|
|
25008
25013
|
var _TAG_DEFINITION = new XmlTagDefinition();
|
|
25009
25014
|
|
|
25010
|
-
// bazel-out/
|
|
25015
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
25011
25016
|
var FactoryTarget2;
|
|
25012
25017
|
(function(FactoryTarget3) {
|
|
25013
25018
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -25017,10 +25022,10 @@ var FactoryTarget2;
|
|
|
25017
25022
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
25018
25023
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
25019
25024
|
|
|
25020
|
-
// bazel-out/
|
|
25025
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
25021
25026
|
publishFacade(_global);
|
|
25022
25027
|
|
|
25023
|
-
// bazel-out/
|
|
25028
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/block-template-entities/util.mjs
|
|
25024
25029
|
var import_path2 = require("path");
|
|
25025
25030
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
25026
25031
|
var REPLACEMENTS2 = {
|
|
@@ -25128,7 +25133,7 @@ function forEachClass(sourceFile, callback) {
|
|
|
25128
25133
|
});
|
|
25129
25134
|
}
|
|
25130
25135
|
|
|
25131
|
-
// bazel-out/
|
|
25136
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/block-template-entities/index.mjs
|
|
25132
25137
|
function block_template_entities_default() {
|
|
25133
25138
|
return (tree) => __async(this, null, function* () {
|
|
25134
25139
|
const { buildPaths, testPaths } = yield getProjectTsConfigPaths(tree);
|