@angular/core 17.1.0-rc.0 → 17.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/src/core_reactivity_export_internal.mjs +2 -2
- package/esm2022/src/defer/interfaces.mjs +3 -2
- package/esm2022/src/metadata/directives.mjs +1 -1
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/render3/index.mjs +2 -3
- package/esm2022/src/render3/instructions/all.mjs +3 -2
- package/esm2022/src/render3/instructions/queries.mjs +98 -0
- package/esm2022/src/render3/interfaces/view.mjs +1 -1
- package/esm2022/src/render3/query.mjs +11 -98
- package/esm2022/src/render3/reactivity/effect.mjs +15 -37
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/component_fixture.mjs +5 -5
- package/esm2022/testing/src/logger.mjs +3 -3
- package/esm2022/testing/src/test_bed.mjs +7 -6
- package/fesm2022/core.mjs +8009 -8029
- 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 +10 -9
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +8 -33
- 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 +200 -166
- package/schematics/migrations/block-template-entities/bundle.js.map +3 -3
- 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 +209 -175
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +3 -3
- package/schematics/ng-generate/standalone-migration/bundle.js +895 -600
- package/schematics/ng-generate/standalone-migration/bundle.js.map +3 -3
- package/testing/index.d.ts +1 -1
|
@@ -63,7 +63,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
63
63
|
});
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
-
// bazel-out/
|
|
66
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/index.mjs
|
|
67
67
|
var control_flow_migration_exports = {};
|
|
68
68
|
__export(control_flow_migration_exports, {
|
|
69
69
|
default: () => control_flow_migration_default
|
|
@@ -72,22 +72,22 @@ module.exports = __toCommonJS(control_flow_migration_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-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
76
76
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
77
77
|
|
|
78
|
-
// bazel-out/
|
|
78
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
|
|
79
79
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
80
80
|
|
|
81
|
-
// bazel-out/
|
|
81
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
82
82
|
function normalizePath(path2) {
|
|
83
83
|
return path2.replace(/\\/g, "/");
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
// bazel-out/
|
|
86
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
87
87
|
var import_path = require("path");
|
|
88
88
|
var import_typescript4 = __toESM(require("typescript"), 1);
|
|
89
89
|
|
|
90
|
-
// bazel-out/
|
|
90
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
91
91
|
var path = __toESM(require("path"), 1);
|
|
92
92
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
93
93
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -104,7 +104,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
104
104
|
return import_typescript3.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
// bazel-out/
|
|
107
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
108
108
|
function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
|
|
109
109
|
const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
|
|
110
110
|
return import_typescript4.default.createProgram(rootNames, options, host);
|
|
@@ -137,7 +137,7 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
137
137
|
return !(0, import_path.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
// bazel-out/
|
|
140
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/selector.mjs
|
|
141
141
|
var _SELECTOR_REGEXP = new RegExp(
|
|
142
142
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
143
143
|
"g"
|
|
@@ -445,7 +445,7 @@ var SelectorContext = class {
|
|
|
445
445
|
}
|
|
446
446
|
};
|
|
447
447
|
|
|
448
|
-
// bazel-out/
|
|
448
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/core.mjs
|
|
449
449
|
var ViewEncapsulation;
|
|
450
450
|
(function(ViewEncapsulation2) {
|
|
451
451
|
ViewEncapsulation2[ViewEncapsulation2["Emulated"] = 0] = "Emulated";
|
|
@@ -513,7 +513,7 @@ function parseSelectorToR3Selector(selector) {
|
|
|
513
513
|
return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
|
|
514
514
|
}
|
|
515
515
|
|
|
516
|
-
// bazel-out/
|
|
516
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
|
|
517
517
|
var textEncoder;
|
|
518
518
|
function computeDigest(message) {
|
|
519
519
|
return sha1(serializeNodes(message.nodes).join("") + `[${message.meaning}]`);
|
|
@@ -753,7 +753,7 @@ function wordAt(bytes, index, endian) {
|
|
|
753
753
|
return word;
|
|
754
754
|
}
|
|
755
755
|
|
|
756
|
-
// bazel-out/
|
|
756
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
757
757
|
var TypeModifier;
|
|
758
758
|
(function(TypeModifier2) {
|
|
759
759
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -1712,7 +1712,7 @@ function serializeTags(tags) {
|
|
|
1712
1712
|
return out;
|
|
1713
1713
|
}
|
|
1714
1714
|
|
|
1715
|
-
// bazel-out/
|
|
1715
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
1716
1716
|
var CONSTANT_PREFIX = "_c";
|
|
1717
1717
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
1718
1718
|
var KEY_CONTEXT = {};
|
|
@@ -1895,7 +1895,7 @@ function isLongStringLiteral(expr) {
|
|
|
1895
1895
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
1896
1896
|
}
|
|
1897
1897
|
|
|
1898
|
-
// bazel-out/
|
|
1898
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
1899
1899
|
var CORE = "@angular/core";
|
|
1900
1900
|
var _Identifiers = class {
|
|
1901
1901
|
};
|
|
@@ -2540,7 +2540,7 @@ var Identifiers = _Identifiers;
|
|
|
2540
2540
|
_Identifiers.UnwrapDirectiveSignalInputs = { name: "\u0275UnwrapDirectiveSignalInputs", moduleName: CORE };
|
|
2541
2541
|
})();
|
|
2542
2542
|
|
|
2543
|
-
// bazel-out/
|
|
2543
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/util.mjs
|
|
2544
2544
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
2545
2545
|
function dashCaseToCamelCase(input) {
|
|
2546
2546
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -2628,7 +2628,7 @@ function partitionArray(arr, conditionFn) {
|
|
|
2628
2628
|
return [truthy, falsy];
|
|
2629
2629
|
}
|
|
2630
2630
|
|
|
2631
|
-
// bazel-out/
|
|
2631
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
2632
2632
|
var VERSION = 3;
|
|
2633
2633
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
2634
2634
|
var SourceMapGenerator = class {
|
|
@@ -2757,7 +2757,7 @@ function toBase64Digit(value) {
|
|
|
2757
2757
|
return B64_DIGITS[value];
|
|
2758
2758
|
}
|
|
2759
2759
|
|
|
2760
|
-
// bazel-out/
|
|
2760
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
2761
2761
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
2762
2762
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
2763
2763
|
var _INDENT_WITH = " ";
|
|
@@ -3245,7 +3245,7 @@ function _createIndent(count) {
|
|
|
3245
3245
|
return res;
|
|
3246
3246
|
}
|
|
3247
3247
|
|
|
3248
|
-
// bazel-out/
|
|
3248
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
3249
3249
|
function typeWithParameters(type, numParams) {
|
|
3250
3250
|
if (numParams === 0) {
|
|
3251
3251
|
return expressionType(type);
|
|
@@ -3310,7 +3310,7 @@ function generateForwardRef(expr) {
|
|
|
3310
3310
|
return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
|
|
3311
3311
|
}
|
|
3312
3312
|
|
|
3313
|
-
// bazel-out/
|
|
3313
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
3314
3314
|
var R3FactoryDelegateType;
|
|
3315
3315
|
(function(R3FactoryDelegateType2) {
|
|
3316
3316
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -3455,7 +3455,7 @@ function getInjectFn(target) {
|
|
|
3455
3455
|
}
|
|
3456
3456
|
}
|
|
3457
3457
|
|
|
3458
|
-
// bazel-out/
|
|
3458
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
3459
3459
|
var TagContentType;
|
|
3460
3460
|
(function(TagContentType2) {
|
|
3461
3461
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -3492,7 +3492,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
3492
3492
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
3493
3493
|
}
|
|
3494
3494
|
|
|
3495
|
-
// bazel-out/
|
|
3495
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
3496
3496
|
var Comment = class {
|
|
3497
3497
|
constructor(value, sourceSpan) {
|
|
3498
3498
|
this.value = value;
|
|
@@ -3873,7 +3873,7 @@ function visitAll(visitor, nodes) {
|
|
|
3873
3873
|
return result;
|
|
3874
3874
|
}
|
|
3875
3875
|
|
|
3876
|
-
// bazel-out/
|
|
3876
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
3877
3877
|
var Message = class {
|
|
3878
3878
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
3879
3879
|
this.nodes = nodes;
|
|
@@ -4011,7 +4011,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
4011
4011
|
}
|
|
4012
4012
|
};
|
|
4013
4013
|
|
|
4014
|
-
// bazel-out/
|
|
4014
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
4015
4015
|
var _Visitor = class {
|
|
4016
4016
|
visitTag(tag) {
|
|
4017
4017
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -4039,12 +4039,12 @@ ${doctype.dtd}
|
|
|
4039
4039
|
};
|
|
4040
4040
|
var _visitor = new _Visitor();
|
|
4041
4041
|
|
|
4042
|
-
// bazel-out/
|
|
4042
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
4043
4043
|
function toPublicName(internalName) {
|
|
4044
4044
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
4045
4045
|
}
|
|
4046
4046
|
|
|
4047
|
-
// bazel-out/
|
|
4047
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
4048
4048
|
var CLOSURE_TRANSLATION_VAR_PREFIX = "MSG_";
|
|
4049
4049
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
4050
4050
|
var I18N_ATTR = "i18n";
|
|
@@ -4146,7 +4146,7 @@ function declareI18nVariable(variable2) {
|
|
|
4146
4146
|
return new DeclareVarStmt(variable2.name, void 0, INFERRED_TYPE, void 0, variable2.sourceSpan);
|
|
4147
4147
|
}
|
|
4148
4148
|
|
|
4149
|
-
// bazel-out/
|
|
4149
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
4150
4150
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
4151
4151
|
var TEMPORARY_NAME = "_t";
|
|
4152
4152
|
var CONTEXT_NAME = "ctx";
|
|
@@ -4408,7 +4408,7 @@ function getInstructionStatements(instructions) {
|
|
|
4408
4408
|
return statements;
|
|
4409
4409
|
}
|
|
4410
4410
|
|
|
4411
|
-
// bazel-out/
|
|
4411
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
4412
4412
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
4413
4413
|
let result = null;
|
|
4414
4414
|
const factoryMeta = {
|
|
@@ -4493,7 +4493,7 @@ function createFactoryFunction(type) {
|
|
|
4493
4493
|
return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
|
|
4494
4494
|
}
|
|
4495
4495
|
|
|
4496
|
-
// bazel-out/
|
|
4496
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
4497
4497
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
4498
4498
|
/^\s*$/,
|
|
4499
4499
|
/[<>]/,
|
|
@@ -4515,7 +4515,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
4515
4515
|
}
|
|
4516
4516
|
}
|
|
4517
4517
|
|
|
4518
|
-
// bazel-out/
|
|
4518
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
|
|
4519
4519
|
var InterpolationConfig = class {
|
|
4520
4520
|
static fromArray(markers) {
|
|
4521
4521
|
if (!markers) {
|
|
@@ -4532,7 +4532,7 @@ var InterpolationConfig = class {
|
|
|
4532
4532
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
4533
4533
|
var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
|
|
4534
4534
|
|
|
4535
|
-
// bazel-out/
|
|
4535
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
4536
4536
|
var $EOF = 0;
|
|
4537
4537
|
var $BSPACE = 8;
|
|
4538
4538
|
var $TAB = 9;
|
|
@@ -4614,7 +4614,7 @@ function isQuote(code) {
|
|
|
4614
4614
|
return code === $SQ || code === $DQ || code === $BT;
|
|
4615
4615
|
}
|
|
4616
4616
|
|
|
4617
|
-
// bazel-out/
|
|
4617
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
4618
4618
|
var ParseLocation = class {
|
|
4619
4619
|
constructor(file, offset, line, col) {
|
|
4620
4620
|
this.file = file;
|
|
@@ -4761,7 +4761,7 @@ function sanitizeIdentifier(name) {
|
|
|
4761
4761
|
return name.replace(/\W/g, "_");
|
|
4762
4762
|
}
|
|
4763
4763
|
|
|
4764
|
-
// bazel-out/
|
|
4764
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
4765
4765
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
4766
4766
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
4767
4767
|
constructor() {
|
|
@@ -4854,7 +4854,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
4854
4854
|
}
|
|
4855
4855
|
};
|
|
4856
4856
|
|
|
4857
|
-
// bazel-out/
|
|
4857
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
4858
4858
|
var policy;
|
|
4859
4859
|
function getPolicy() {
|
|
4860
4860
|
if (policy === void 0) {
|
|
@@ -4892,7 +4892,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
4892
4892
|
return fn2.bind(_global);
|
|
4893
4893
|
}
|
|
4894
4894
|
|
|
4895
|
-
// bazel-out/
|
|
4895
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
4896
4896
|
var JitEvaluator = class {
|
|
4897
4897
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
4898
4898
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -4983,7 +4983,7 @@ function isUseStrictStatement(statement) {
|
|
|
4983
4983
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
4984
4984
|
}
|
|
4985
4985
|
|
|
4986
|
-
// bazel-out/
|
|
4986
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
4987
4987
|
function compileInjector(meta) {
|
|
4988
4988
|
const definitionMap = new DefinitionMap();
|
|
4989
4989
|
if (meta.providers !== null) {
|
|
@@ -5000,7 +5000,7 @@ function createInjectorType(meta) {
|
|
|
5000
5000
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
5001
5001
|
}
|
|
5002
5002
|
|
|
5003
|
-
// bazel-out/
|
|
5003
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
5004
5004
|
var R3JitReflector = class {
|
|
5005
5005
|
constructor(context) {
|
|
5006
5006
|
this.context = context;
|
|
@@ -5016,7 +5016,7 @@ var R3JitReflector = class {
|
|
|
5016
5016
|
}
|
|
5017
5017
|
};
|
|
5018
5018
|
|
|
5019
|
-
// bazel-out/
|
|
5019
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
5020
5020
|
var R3SelectorScopeMode;
|
|
5021
5021
|
(function(R3SelectorScopeMode2) {
|
|
5022
5022
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -5157,7 +5157,7 @@ function tupleOfTypes(types) {
|
|
|
5157
5157
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
5158
5158
|
}
|
|
5159
5159
|
|
|
5160
|
-
// bazel-out/
|
|
5160
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
5161
5161
|
function compilePipeFromMetadata(metadata) {
|
|
5162
5162
|
const definitionMapValues = [];
|
|
5163
5163
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -5178,7 +5178,7 @@ function createPipeType(metadata) {
|
|
|
5178
5178
|
]));
|
|
5179
5179
|
}
|
|
5180
5180
|
|
|
5181
|
-
// bazel-out/
|
|
5181
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
5182
5182
|
var R3TemplateDependencyKind;
|
|
5183
5183
|
(function(R3TemplateDependencyKind2) {
|
|
5184
5184
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -5186,7 +5186,7 @@ var R3TemplateDependencyKind;
|
|
|
5186
5186
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
5187
5187
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
5188
5188
|
|
|
5189
|
-
// bazel-out/
|
|
5189
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
5190
5190
|
var ParserError = class {
|
|
5191
5191
|
constructor(message, input, errLocation, ctxLocation) {
|
|
5192
5192
|
this.input = input;
|
|
@@ -5852,7 +5852,7 @@ var BoundElementProperty = class {
|
|
|
5852
5852
|
}
|
|
5853
5853
|
};
|
|
5854
5854
|
|
|
5855
|
-
// bazel-out/
|
|
5855
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
|
|
5856
5856
|
var _EventHandlerVars = class {
|
|
5857
5857
|
};
|
|
5858
5858
|
var EventHandlerVars = _EventHandlerVars;
|
|
@@ -6493,7 +6493,7 @@ var BuiltinFunctionCall = class extends Call {
|
|
|
6493
6493
|
}
|
|
6494
6494
|
};
|
|
6495
6495
|
|
|
6496
|
-
// bazel-out/
|
|
6496
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
6497
6497
|
var _SECURITY_SCHEMA;
|
|
6498
6498
|
function SECURITY_SCHEMA() {
|
|
6499
6499
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -6551,7 +6551,7 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
6551
6551
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
6552
6552
|
}
|
|
6553
6553
|
|
|
6554
|
-
// bazel-out/
|
|
6554
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
6555
6555
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
6556
6556
|
"inherit",
|
|
6557
6557
|
"initial",
|
|
@@ -7022,7 +7022,7 @@ function repeatGroups(groups, multiples) {
|
|
|
7022
7022
|
}
|
|
7023
7023
|
}
|
|
7024
7024
|
|
|
7025
|
-
// bazel-out/
|
|
7025
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
7026
7026
|
var OpKind;
|
|
7027
7027
|
(function(OpKind2) {
|
|
7028
7028
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -7181,7 +7181,7 @@ var TemplateKind;
|
|
|
7181
7181
|
TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
|
|
7182
7182
|
})(TemplateKind || (TemplateKind = {}));
|
|
7183
7183
|
|
|
7184
|
-
// bazel-out/
|
|
7184
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
7185
7185
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
7186
7186
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
7187
7187
|
var ConsumesVarsTrait = Symbol("ConsumesVars");
|
|
@@ -7213,7 +7213,7 @@ function hasUsesVarOffsetTrait(expr) {
|
|
|
7213
7213
|
return expr[UsesVarOffset] === true;
|
|
7214
7214
|
}
|
|
7215
7215
|
|
|
7216
|
-
// bazel-out/
|
|
7216
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
7217
7217
|
function createStatementOp(statement) {
|
|
7218
7218
|
return __spreadValues({
|
|
7219
7219
|
kind: OpKind.Statement,
|
|
@@ -7235,7 +7235,7 @@ var NEW_OP = {
|
|
|
7235
7235
|
next: null
|
|
7236
7236
|
};
|
|
7237
7237
|
|
|
7238
|
-
// bazel-out/
|
|
7238
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
7239
7239
|
function createInterpolateTextOp(xref, interpolation, sourceSpan) {
|
|
7240
7240
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
7241
7241
|
kind: OpKind.InterpolateText,
|
|
@@ -7401,7 +7401,7 @@ function createI18nApplyOp(owner, handle, sourceSpan) {
|
|
|
7401
7401
|
}, NEW_OP);
|
|
7402
7402
|
}
|
|
7403
7403
|
|
|
7404
|
-
// bazel-out/
|
|
7404
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
7405
7405
|
var _a;
|
|
7406
7406
|
var _b;
|
|
7407
7407
|
var _c;
|
|
@@ -8233,7 +8233,7 @@ function isStringLiteral(expr) {
|
|
|
8233
8233
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
8234
8234
|
}
|
|
8235
8235
|
|
|
8236
|
-
// bazel-out/
|
|
8236
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
8237
8237
|
var _OpList = class {
|
|
8238
8238
|
constructor() {
|
|
8239
8239
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -8424,14 +8424,14 @@ var OpList = _OpList;
|
|
|
8424
8424
|
_OpList.nextListId = 0;
|
|
8425
8425
|
})();
|
|
8426
8426
|
|
|
8427
|
-
// bazel-out/
|
|
8427
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
8428
8428
|
var SlotHandle = class {
|
|
8429
8429
|
constructor() {
|
|
8430
8430
|
this.slot = null;
|
|
8431
8431
|
}
|
|
8432
8432
|
};
|
|
8433
8433
|
|
|
8434
|
-
// bazel-out/
|
|
8434
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
8435
8435
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
8436
8436
|
OpKind.Element,
|
|
8437
8437
|
OpKind.ElementStart,
|
|
@@ -8718,7 +8718,7 @@ function createI18nAttributesOp(xref, handle, target) {
|
|
|
8718
8718
|
}, NEW_OP), TRAIT_CONSUMES_SLOT);
|
|
8719
8719
|
}
|
|
8720
8720
|
|
|
8721
|
-
// bazel-out/
|
|
8721
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
8722
8722
|
function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
|
|
8723
8723
|
return __spreadValues(__spreadValues({
|
|
8724
8724
|
kind: OpKind.HostProperty,
|
|
@@ -8732,10 +8732,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
|
|
|
8732
8732
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
8733
8733
|
}
|
|
8734
8734
|
|
|
8735
|
-
// bazel-out/
|
|
8735
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
8736
8736
|
var CTX_REF = "CTX_REF_MARKER";
|
|
8737
8737
|
|
|
8738
|
-
// bazel-out/
|
|
8738
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
8739
8739
|
var CompilationJobKind;
|
|
8740
8740
|
(function(CompilationJobKind2) {
|
|
8741
8741
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -8842,7 +8842,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
8842
8842
|
}
|
|
8843
8843
|
};
|
|
8844
8844
|
|
|
8845
|
-
// bazel-out/
|
|
8845
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
8846
8846
|
function deleteAnyCasts(job) {
|
|
8847
8847
|
for (const unit of job.units) {
|
|
8848
8848
|
for (const op of unit.ops()) {
|
|
@@ -8860,7 +8860,7 @@ function removeAnys(e) {
|
|
|
8860
8860
|
return e;
|
|
8861
8861
|
}
|
|
8862
8862
|
|
|
8863
|
-
// bazel-out/
|
|
8863
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
8864
8864
|
function applyI18nExpressions(job) {
|
|
8865
8865
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
8866
8866
|
for (const unit of job.units) {
|
|
@@ -8903,7 +8903,7 @@ function needsApplication(i18nContexts, op) {
|
|
|
8903
8903
|
return false;
|
|
8904
8904
|
}
|
|
8905
8905
|
|
|
8906
|
-
// bazel-out/
|
|
8906
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
8907
8907
|
function assignI18nSlotDependencies(job) {
|
|
8908
8908
|
for (const unit of job.units) {
|
|
8909
8909
|
let updateOp = unit.update.head;
|
|
@@ -8948,7 +8948,7 @@ function assignI18nSlotDependencies(job) {
|
|
|
8948
8948
|
}
|
|
8949
8949
|
}
|
|
8950
8950
|
|
|
8951
|
-
// bazel-out/
|
|
8951
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
8952
8952
|
function createOpXrefMap(unit) {
|
|
8953
8953
|
const map = /* @__PURE__ */ new Map();
|
|
8954
8954
|
for (const op of unit.create) {
|
|
@@ -8963,7 +8963,7 @@ function createOpXrefMap(unit) {
|
|
|
8963
8963
|
return map;
|
|
8964
8964
|
}
|
|
8965
8965
|
|
|
8966
|
-
// bazel-out/
|
|
8966
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
8967
8967
|
function extractAttributes(job) {
|
|
8968
8968
|
for (const unit of job.units) {
|
|
8969
8969
|
const elements = createOpXrefMap(unit);
|
|
@@ -9065,7 +9065,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
9065
9065
|
}
|
|
9066
9066
|
}
|
|
9067
9067
|
|
|
9068
|
-
// bazel-out/
|
|
9068
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
9069
9069
|
function lookupElement2(elements, xref) {
|
|
9070
9070
|
const el = elements.get(xref);
|
|
9071
9071
|
if (el === void 0) {
|
|
@@ -9116,7 +9116,7 @@ function specializeBindings(job) {
|
|
|
9116
9116
|
}
|
|
9117
9117
|
}
|
|
9118
9118
|
|
|
9119
|
-
// bazel-out/
|
|
9119
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
9120
9120
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
9121
9121
|
Identifiers.attribute,
|
|
9122
9122
|
Identifiers.classProp,
|
|
@@ -9182,7 +9182,7 @@ function chainOperationsInList(opList) {
|
|
|
9182
9182
|
}
|
|
9183
9183
|
}
|
|
9184
9184
|
|
|
9185
|
-
// bazel-out/
|
|
9185
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
9186
9186
|
function collapseSingletonInterpolations(job) {
|
|
9187
9187
|
for (const unit of job.units) {
|
|
9188
9188
|
for (const op of unit.update) {
|
|
@@ -9194,7 +9194,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
9194
9194
|
}
|
|
9195
9195
|
}
|
|
9196
9196
|
|
|
9197
|
-
// bazel-out/
|
|
9197
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
9198
9198
|
function generateConditionalExpressions(job) {
|
|
9199
9199
|
for (const unit of job.units) {
|
|
9200
9200
|
for (const op of unit.ops()) {
|
|
@@ -9231,7 +9231,7 @@ function generateConditionalExpressions(job) {
|
|
|
9231
9231
|
}
|
|
9232
9232
|
}
|
|
9233
9233
|
|
|
9234
|
-
// bazel-out/
|
|
9234
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
9235
9235
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
9236
9236
|
["&&", BinaryOperator.And],
|
|
9237
9237
|
[">", BinaryOperator.Bigger],
|
|
@@ -9282,7 +9282,7 @@ function literalOrArrayLiteral(value) {
|
|
|
9282
9282
|
return literal(value);
|
|
9283
9283
|
}
|
|
9284
9284
|
|
|
9285
|
-
// bazel-out/
|
|
9285
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
9286
9286
|
function collectElementConsts(job) {
|
|
9287
9287
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
9288
9288
|
for (const unit of job.units) {
|
|
@@ -9444,7 +9444,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
9444
9444
|
return literalArr(attrArray);
|
|
9445
9445
|
}
|
|
9446
9446
|
|
|
9447
|
-
// bazel-out/
|
|
9447
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
|
|
9448
9448
|
function convertI18nBindings(job) {
|
|
9449
9449
|
const i18nAttributesByElem = /* @__PURE__ */ new Map();
|
|
9450
9450
|
for (const unit of job.units) {
|
|
@@ -9485,7 +9485,7 @@ function convertI18nBindings(job) {
|
|
|
9485
9485
|
}
|
|
9486
9486
|
}
|
|
9487
9487
|
|
|
9488
|
-
// bazel-out/
|
|
9488
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_defer_deps_fns.mjs
|
|
9489
9489
|
function createDeferDepsFns(job) {
|
|
9490
9490
|
for (const unit of job.units) {
|
|
9491
9491
|
for (const op of unit.create) {
|
|
@@ -9517,7 +9517,7 @@ function createDeferDepsFns(job) {
|
|
|
9517
9517
|
}
|
|
9518
9518
|
}
|
|
9519
9519
|
|
|
9520
|
-
// bazel-out/
|
|
9520
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
9521
9521
|
function createI18nContexts(job) {
|
|
9522
9522
|
const attrContextByMessage = /* @__PURE__ */ new Map();
|
|
9523
9523
|
for (const unit of job.units) {
|
|
@@ -9595,7 +9595,7 @@ function createI18nContexts(job) {
|
|
|
9595
9595
|
}
|
|
9596
9596
|
}
|
|
9597
9597
|
|
|
9598
|
-
// bazel-out/
|
|
9598
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
|
|
9599
9599
|
function deduplicateTextBindings(job) {
|
|
9600
9600
|
const seen = /* @__PURE__ */ new Map();
|
|
9601
9601
|
for (const unit of job.units) {
|
|
@@ -9617,7 +9617,7 @@ function deduplicateTextBindings(job) {
|
|
|
9617
9617
|
}
|
|
9618
9618
|
}
|
|
9619
9619
|
|
|
9620
|
-
// bazel-out/
|
|
9620
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
9621
9621
|
function configureDeferInstructions(job) {
|
|
9622
9622
|
for (const unit of job.units) {
|
|
9623
9623
|
for (const op of unit.create) {
|
|
@@ -9634,7 +9634,7 @@ function configureDeferInstructions(job) {
|
|
|
9634
9634
|
}
|
|
9635
9635
|
}
|
|
9636
9636
|
|
|
9637
|
-
// bazel-out/
|
|
9637
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
9638
9638
|
function resolveDeferTargetNames(job) {
|
|
9639
9639
|
const scopes = /* @__PURE__ */ new Map();
|
|
9640
9640
|
function getScopeForView2(view) {
|
|
@@ -9728,7 +9728,7 @@ var Scope = class {
|
|
|
9728
9728
|
}
|
|
9729
9729
|
};
|
|
9730
9730
|
|
|
9731
|
-
// bazel-out/
|
|
9731
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
9732
9732
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
9733
9733
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
9734
9734
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -9755,7 +9755,7 @@ function collapseEmptyInstructions(job) {
|
|
|
9755
9755
|
}
|
|
9756
9756
|
}
|
|
9757
9757
|
|
|
9758
|
-
// bazel-out/
|
|
9758
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
9759
9759
|
function expandSafeReads(job) {
|
|
9760
9760
|
for (const unit of job.units) {
|
|
9761
9761
|
for (const op of unit.ops()) {
|
|
@@ -9891,7 +9891,7 @@ function ternaryTransform(e) {
|
|
|
9891
9891
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
9892
9892
|
}
|
|
9893
9893
|
|
|
9894
|
-
// bazel-out/
|
|
9894
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
9895
9895
|
var ESCAPE = "\uFFFD";
|
|
9896
9896
|
var ELEMENT_MARKER = "#";
|
|
9897
9897
|
var TEMPLATE_MARKER = "*";
|
|
@@ -10027,7 +10027,7 @@ function formatValue(value) {
|
|
|
10027
10027
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
10028
10028
|
}
|
|
10029
10029
|
|
|
10030
|
-
// bazel-out/
|
|
10030
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
10031
10031
|
function generateAdvance(job) {
|
|
10032
10032
|
for (const unit of job.units) {
|
|
10033
10033
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -10059,7 +10059,7 @@ function generateAdvance(job) {
|
|
|
10059
10059
|
}
|
|
10060
10060
|
}
|
|
10061
10061
|
|
|
10062
|
-
// bazel-out/
|
|
10062
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
10063
10063
|
function generateProjectionDefs(job) {
|
|
10064
10064
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
10065
10065
|
const selectors = [];
|
|
@@ -10083,7 +10083,7 @@ function generateProjectionDefs(job) {
|
|
|
10083
10083
|
}
|
|
10084
10084
|
}
|
|
10085
10085
|
|
|
10086
|
-
// bazel-out/
|
|
10086
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
10087
10087
|
function generateVariables(job) {
|
|
10088
10088
|
recursivelyProcessView(job.root, null);
|
|
10089
10089
|
}
|
|
@@ -10176,7 +10176,7 @@ function generateVariablesInScopeForView(view, scope) {
|
|
|
10176
10176
|
return newOps;
|
|
10177
10177
|
}
|
|
10178
10178
|
|
|
10179
|
-
// bazel-out/
|
|
10179
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
10180
10180
|
function collectConstExpressions(job) {
|
|
10181
10181
|
for (const unit of job.units) {
|
|
10182
10182
|
for (const op of unit.ops()) {
|
|
@@ -10190,7 +10190,7 @@ function collectConstExpressions(job) {
|
|
|
10190
10190
|
}
|
|
10191
10191
|
}
|
|
10192
10192
|
|
|
10193
|
-
// bazel-out/
|
|
10193
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
10194
10194
|
var STYLE_DOT = "style.";
|
|
10195
10195
|
var CLASS_DOT = "class.";
|
|
10196
10196
|
var STYLE_BANG = "style!";
|
|
@@ -10248,7 +10248,7 @@ function parseProperty(name) {
|
|
|
10248
10248
|
return { property: property2, suffix };
|
|
10249
10249
|
}
|
|
10250
10250
|
|
|
10251
|
-
// bazel-out/
|
|
10251
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
10252
10252
|
function mapLiteral(obj, quoted = false) {
|
|
10253
10253
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
10254
10254
|
key,
|
|
@@ -10257,7 +10257,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
10257
10257
|
})));
|
|
10258
10258
|
}
|
|
10259
10259
|
|
|
10260
|
-
// bazel-out/
|
|
10260
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
10261
10261
|
var IcuSerializerVisitor = class {
|
|
10262
10262
|
visitText(text2) {
|
|
10263
10263
|
return text2.value;
|
|
@@ -10291,7 +10291,7 @@ function serializeIcuNode(icu) {
|
|
|
10291
10291
|
return icu.visit(serializer);
|
|
10292
10292
|
}
|
|
10293
10293
|
|
|
10294
|
-
// bazel-out/
|
|
10294
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
10295
10295
|
var TokenType;
|
|
10296
10296
|
(function(TokenType2) {
|
|
10297
10297
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -10652,7 +10652,7 @@ function parseIntAutoRadix(text2) {
|
|
|
10652
10652
|
return result;
|
|
10653
10653
|
}
|
|
10654
10654
|
|
|
10655
|
-
// bazel-out/
|
|
10655
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
10656
10656
|
var SplitInterpolation = class {
|
|
10657
10657
|
constructor(strings, expressions, offsets) {
|
|
10658
10658
|
this.strings = strings;
|
|
@@ -11546,7 +11546,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
11546
11546
|
return offsetMap;
|
|
11547
11547
|
}
|
|
11548
11548
|
|
|
11549
|
-
// bazel-out/
|
|
11549
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
11550
11550
|
var NodeWithI18n = class {
|
|
11551
11551
|
constructor(sourceSpan, i18n2) {
|
|
11552
11552
|
this.sourceSpan = sourceSpan;
|
|
@@ -11698,11 +11698,11 @@ var RecursiveVisitor = class {
|
|
|
11698
11698
|
}
|
|
11699
11699
|
};
|
|
11700
11700
|
|
|
11701
|
-
// bazel-out/
|
|
11701
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
11702
11702
|
var ElementSchemaRegistry = class {
|
|
11703
11703
|
};
|
|
11704
11704
|
|
|
11705
|
-
// bazel-out/
|
|
11705
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
11706
11706
|
var BOOLEAN = "boolean";
|
|
11707
11707
|
var NUMBER = "number";
|
|
11708
11708
|
var STRING = "string";
|
|
@@ -12055,7 +12055,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
12055
12055
|
}
|
|
12056
12056
|
}
|
|
12057
12057
|
|
|
12058
|
-
// bazel-out/
|
|
12058
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
12059
12059
|
var HtmlTagDefinition = class {
|
|
12060
12060
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
12061
12061
|
this.closedByChildren = {};
|
|
@@ -12173,7 +12173,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
12173
12173
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
12174
12174
|
}
|
|
12175
12175
|
|
|
12176
|
-
// bazel-out/
|
|
12176
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
12177
12177
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
12178
12178
|
"A": "LINK",
|
|
12179
12179
|
"B": "BOLD_TEXT",
|
|
@@ -12295,7 +12295,7 @@ var PlaceholderRegistry = class {
|
|
|
12295
12295
|
}
|
|
12296
12296
|
};
|
|
12297
12297
|
|
|
12298
|
-
// bazel-out/
|
|
12298
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
12299
12299
|
var _expParser = new Parser(new Lexer());
|
|
12300
12300
|
function createI18nMessageFactory(interpolationConfig, containerBlocks) {
|
|
12301
12301
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
|
|
@@ -12474,14 +12474,14 @@ function extractPlaceholderName(input) {
|
|
|
12474
12474
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
12475
12475
|
}
|
|
12476
12476
|
|
|
12477
|
-
// bazel-out/
|
|
12477
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
12478
12478
|
var I18nError = class extends ParseError {
|
|
12479
12479
|
constructor(span, msg) {
|
|
12480
12480
|
super(span, msg);
|
|
12481
12481
|
}
|
|
12482
12482
|
};
|
|
12483
12483
|
|
|
12484
|
-
// bazel-out/
|
|
12484
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
12485
12485
|
var NAMED_ENTITIES = {
|
|
12486
12486
|
"AElig": "\xC6",
|
|
12487
12487
|
"AMP": "&",
|
|
@@ -14612,7 +14612,7 @@ var NAMED_ENTITIES = {
|
|
|
14612
14612
|
var NGSP_UNICODE = "\uE500";
|
|
14613
14613
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
14614
14614
|
|
|
14615
|
-
// bazel-out/
|
|
14615
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
14616
14616
|
var TokenError = class extends ParseError {
|
|
14617
14617
|
constructor(errorMsg, tokenType, span) {
|
|
14618
14618
|
super(span, errorMsg);
|
|
@@ -15533,7 +15533,7 @@ var CursorError = class {
|
|
|
15533
15533
|
}
|
|
15534
15534
|
};
|
|
15535
15535
|
|
|
15536
|
-
// bazel-out/
|
|
15536
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
15537
15537
|
var TreeError = class extends ParseError {
|
|
15538
15538
|
static create(elementName, span, msg) {
|
|
15539
15539
|
return new TreeError(elementName, span, msg);
|
|
@@ -15917,7 +15917,7 @@ function decodeEntity(match, entity) {
|
|
|
15917
15917
|
return match;
|
|
15918
15918
|
}
|
|
15919
15919
|
|
|
15920
|
-
// bazel-out/
|
|
15920
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
15921
15921
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
15922
15922
|
"iframe|srcdoc",
|
|
15923
15923
|
"*|innerhtml",
|
|
@@ -15932,7 +15932,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
15932
15932
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
15933
15933
|
}
|
|
15934
15934
|
|
|
15935
|
-
// bazel-out/
|
|
15935
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
15936
15936
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
15937
15937
|
if (htmlNode instanceof NodeWithI18n) {
|
|
15938
15938
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -16089,7 +16089,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
16089
16089
|
return jsDocComment(tags);
|
|
16090
16090
|
}
|
|
16091
16091
|
|
|
16092
|
-
// bazel-out/
|
|
16092
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
16093
16093
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
16094
16094
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
16095
16095
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -16140,7 +16140,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
16140
16140
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
16141
16141
|
}
|
|
16142
16142
|
|
|
16143
|
-
// bazel-out/
|
|
16143
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
16144
16144
|
function createLocalizeStatements(variable2, message, params) {
|
|
16145
16145
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
16146
16146
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -16229,7 +16229,7 @@ function createEmptyMessagePart(location) {
|
|
|
16229
16229
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
16230
16230
|
}
|
|
16231
16231
|
|
|
16232
|
-
// bazel-out/
|
|
16232
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
16233
16233
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
16234
16234
|
var TRANSLATION_VAR_PREFIX2 = "i18n_";
|
|
16235
16235
|
var I18N_ICU_MAPPING_PREFIX2 = "I18N_EXP_";
|
|
@@ -16390,7 +16390,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
16390
16390
|
return variable(name);
|
|
16391
16391
|
}
|
|
16392
16392
|
|
|
16393
|
-
// bazel-out/
|
|
16393
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
16394
16394
|
function convertI18nText(job) {
|
|
16395
16395
|
var _a2, _b2, _c2;
|
|
16396
16396
|
for (const unit of job.units) {
|
|
@@ -16460,7 +16460,7 @@ function convertI18nText(job) {
|
|
|
16460
16460
|
}
|
|
16461
16461
|
}
|
|
16462
16462
|
|
|
16463
|
-
// bazel-out/
|
|
16463
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
16464
16464
|
function liftLocalRefs(job) {
|
|
16465
16465
|
for (const unit of job.units) {
|
|
16466
16466
|
for (const op of unit.create) {
|
|
@@ -16490,7 +16490,7 @@ function serializeLocalRefs(refs) {
|
|
|
16490
16490
|
return literalArr(constRefs);
|
|
16491
16491
|
}
|
|
16492
16492
|
|
|
16493
|
-
// bazel-out/
|
|
16493
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
16494
16494
|
function emitNamespaceChanges(job) {
|
|
16495
16495
|
for (const unit of job.units) {
|
|
16496
16496
|
let activeNamespace = Namespace.HTML;
|
|
@@ -16506,7 +16506,7 @@ function emitNamespaceChanges(job) {
|
|
|
16506
16506
|
}
|
|
16507
16507
|
}
|
|
16508
16508
|
|
|
16509
|
-
// bazel-out/
|
|
16509
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
|
|
16510
16510
|
function parse(value) {
|
|
16511
16511
|
const styles = [];
|
|
16512
16512
|
let i = 0;
|
|
@@ -16567,7 +16567,7 @@ function hyphenate2(value) {
|
|
|
16567
16567
|
}).toLowerCase();
|
|
16568
16568
|
}
|
|
16569
16569
|
|
|
16570
|
-
// bazel-out/
|
|
16570
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
16571
16571
|
function nameFunctionsAndVariables(job) {
|
|
16572
16572
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
16573
16573
|
}
|
|
@@ -16687,7 +16687,7 @@ function stripImportant(name) {
|
|
|
16687
16687
|
return name;
|
|
16688
16688
|
}
|
|
16689
16689
|
|
|
16690
|
-
// bazel-out/
|
|
16690
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
16691
16691
|
function mergeNextContextExpressions(job) {
|
|
16692
16692
|
for (const unit of job.units) {
|
|
16693
16693
|
for (const op of unit.create) {
|
|
@@ -16733,7 +16733,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
16733
16733
|
}
|
|
16734
16734
|
}
|
|
16735
16735
|
|
|
16736
|
-
// bazel-out/
|
|
16736
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
16737
16737
|
var CONTAINER_TAG = "ng-container";
|
|
16738
16738
|
function generateNgContainerOps(job) {
|
|
16739
16739
|
for (const unit of job.units) {
|
|
@@ -16750,7 +16750,7 @@ function generateNgContainerOps(job) {
|
|
|
16750
16750
|
}
|
|
16751
16751
|
}
|
|
16752
16752
|
|
|
16753
|
-
// bazel-out/
|
|
16753
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
16754
16754
|
function lookupElement3(elements, xref) {
|
|
16755
16755
|
const el = elements.get(xref);
|
|
16756
16756
|
if (el === void 0) {
|
|
@@ -16780,7 +16780,7 @@ function disableBindings(job) {
|
|
|
16780
16780
|
}
|
|
16781
16781
|
}
|
|
16782
16782
|
|
|
16783
|
-
// bazel-out/
|
|
16783
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
16784
16784
|
function generateNullishCoalesceExpressions(job) {
|
|
16785
16785
|
for (const unit of job.units) {
|
|
16786
16786
|
for (const op of unit.ops()) {
|
|
@@ -16796,7 +16796,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
16796
16796
|
}
|
|
16797
16797
|
}
|
|
16798
16798
|
|
|
16799
|
-
// bazel-out/
|
|
16799
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
16800
16800
|
function kindTest(kind) {
|
|
16801
16801
|
return (op) => op.kind === kind;
|
|
16802
16802
|
}
|
|
@@ -16878,7 +16878,7 @@ function keepLast(ops) {
|
|
|
16878
16878
|
return ops.slice(ops.length - 1);
|
|
16879
16879
|
}
|
|
16880
16880
|
|
|
16881
|
-
// bazel-out/
|
|
16881
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
16882
16882
|
function parseExtractedStyles(job) {
|
|
16883
16883
|
const elements = /* @__PURE__ */ new Map();
|
|
16884
16884
|
for (const unit of job.units) {
|
|
@@ -16913,7 +16913,7 @@ function parseExtractedStyles(job) {
|
|
|
16913
16913
|
}
|
|
16914
16914
|
}
|
|
16915
16915
|
|
|
16916
|
-
// bazel-out/
|
|
16916
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
16917
16917
|
function removeContentSelectors(job) {
|
|
16918
16918
|
for (const unit of job.units) {
|
|
16919
16919
|
const elements = createOpXrefMap(unit);
|
|
@@ -16940,7 +16940,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
16940
16940
|
return el;
|
|
16941
16941
|
}
|
|
16942
16942
|
|
|
16943
|
-
// bazel-out/
|
|
16943
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
16944
16944
|
function createPipes(job) {
|
|
16945
16945
|
for (const unit of job.units) {
|
|
16946
16946
|
processPipeBindingsInView(unit);
|
|
@@ -16988,7 +16988,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
16988
16988
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
16989
16989
|
}
|
|
16990
16990
|
|
|
16991
|
-
// bazel-out/
|
|
16991
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
16992
16992
|
function createVariadicPipes(job) {
|
|
16993
16993
|
for (const unit of job.units) {
|
|
16994
16994
|
for (const op of unit.update) {
|
|
@@ -17005,7 +17005,7 @@ function createVariadicPipes(job) {
|
|
|
17005
17005
|
}
|
|
17006
17006
|
}
|
|
17007
17007
|
|
|
17008
|
-
// bazel-out/
|
|
17008
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
17009
17009
|
function propagateI18nBlocks(job) {
|
|
17010
17010
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
17011
17011
|
}
|
|
@@ -17059,7 +17059,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
17059
17059
|
}
|
|
17060
17060
|
}
|
|
17061
17061
|
|
|
17062
|
-
// bazel-out/
|
|
17062
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
17063
17063
|
function extractPureFunctions(job) {
|
|
17064
17064
|
for (const view of job.units) {
|
|
17065
17065
|
for (const op of view.ops()) {
|
|
@@ -17101,7 +17101,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
17101
17101
|
}
|
|
17102
17102
|
};
|
|
17103
17103
|
|
|
17104
|
-
// bazel-out/
|
|
17104
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
17105
17105
|
function generatePureLiteralStructures(job) {
|
|
17106
17106
|
for (const unit of job.units) {
|
|
17107
17107
|
for (const op of unit.update) {
|
|
@@ -17148,7 +17148,7 @@ function transformLiteralMap(expr) {
|
|
|
17148
17148
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
17149
17149
|
}
|
|
17150
17150
|
|
|
17151
|
-
// bazel-out/
|
|
17151
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
17152
17152
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
17153
17153
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
17154
17154
|
}
|
|
@@ -17670,7 +17670,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
17670
17670
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
17671
17671
|
}
|
|
17672
17672
|
|
|
17673
|
-
// bazel-out/
|
|
17673
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
17674
17674
|
var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
|
|
17675
17675
|
["window", Identifiers.resolveWindow],
|
|
17676
17676
|
["document", Identifiers.resolveDocument],
|
|
@@ -18003,7 +18003,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
18003
18003
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
18004
18004
|
}
|
|
18005
18005
|
|
|
18006
|
-
// bazel-out/
|
|
18006
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
18007
18007
|
function removeEmptyBindings(job) {
|
|
18008
18008
|
for (const unit of job.units) {
|
|
18009
18009
|
for (const op of unit.update) {
|
|
@@ -18024,7 +18024,7 @@ function removeEmptyBindings(job) {
|
|
|
18024
18024
|
}
|
|
18025
18025
|
}
|
|
18026
18026
|
|
|
18027
|
-
// bazel-out/
|
|
18027
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
18028
18028
|
function removeI18nContexts(job) {
|
|
18029
18029
|
for (const unit of job.units) {
|
|
18030
18030
|
for (const op of unit.create) {
|
|
@@ -18040,7 +18040,7 @@ function removeI18nContexts(job) {
|
|
|
18040
18040
|
}
|
|
18041
18041
|
}
|
|
18042
18042
|
|
|
18043
|
-
// bazel-out/
|
|
18043
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
|
|
18044
18044
|
function removeUnusedI18nAttributesOps(job) {
|
|
18045
18045
|
for (const unit of job.units) {
|
|
18046
18046
|
const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
|
|
@@ -18062,7 +18062,7 @@ function removeUnusedI18nAttributesOps(job) {
|
|
|
18062
18062
|
}
|
|
18063
18063
|
}
|
|
18064
18064
|
|
|
18065
|
-
// bazel-out/
|
|
18065
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
18066
18066
|
function resolveContexts(job) {
|
|
18067
18067
|
for (const unit of job.units) {
|
|
18068
18068
|
processLexicalScope(unit, unit.create);
|
|
@@ -18103,7 +18103,7 @@ function processLexicalScope(view, ops) {
|
|
|
18103
18103
|
}
|
|
18104
18104
|
}
|
|
18105
18105
|
|
|
18106
|
-
// bazel-out/
|
|
18106
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
18107
18107
|
function resolveDollarEvent(job) {
|
|
18108
18108
|
for (const unit of job.units) {
|
|
18109
18109
|
transformDollarEvent(unit, unit.create);
|
|
@@ -18124,7 +18124,7 @@ function transformDollarEvent(unit, ops) {
|
|
|
18124
18124
|
}
|
|
18125
18125
|
}
|
|
18126
18126
|
|
|
18127
|
-
// bazel-out/
|
|
18127
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
18128
18128
|
function resolveI18nElementPlaceholders(job) {
|
|
18129
18129
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
18130
18130
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -18303,7 +18303,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
18303
18303
|
params.set(placeholder, values);
|
|
18304
18304
|
}
|
|
18305
18305
|
|
|
18306
|
-
// bazel-out/
|
|
18306
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
18307
18307
|
function resolveI18nExpressionPlaceholders(job) {
|
|
18308
18308
|
var _a2;
|
|
18309
18309
|
const subTemplateIndicies = /* @__PURE__ */ new Map();
|
|
@@ -18356,7 +18356,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
|
|
|
18356
18356
|
}
|
|
18357
18357
|
}
|
|
18358
18358
|
|
|
18359
|
-
// bazel-out/
|
|
18359
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
18360
18360
|
function resolveNames(job) {
|
|
18361
18361
|
for (const unit of job.units) {
|
|
18362
18362
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -18420,7 +18420,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
18420
18420
|
}
|
|
18421
18421
|
}
|
|
18422
18422
|
|
|
18423
|
-
// bazel-out/
|
|
18423
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
18424
18424
|
var sanitizerFns = /* @__PURE__ */ new Map([
|
|
18425
18425
|
[SecurityContext.HTML, Identifiers.sanitizeHtml],
|
|
18426
18426
|
[SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
|
|
@@ -18490,7 +18490,7 @@ function getOnlySecurityContext(securityContext) {
|
|
|
18490
18490
|
return securityContext;
|
|
18491
18491
|
}
|
|
18492
18492
|
|
|
18493
|
-
// bazel-out/
|
|
18493
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
18494
18494
|
function saveAndRestoreView(job) {
|
|
18495
18495
|
for (const unit of job.units) {
|
|
18496
18496
|
unit.create.prepend([
|
|
@@ -18535,7 +18535,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
18535
18535
|
}
|
|
18536
18536
|
}
|
|
18537
18537
|
|
|
18538
|
-
// bazel-out/
|
|
18538
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
18539
18539
|
function allocateSlots(job) {
|
|
18540
18540
|
const slotMap = /* @__PURE__ */ new Map();
|
|
18541
18541
|
for (const unit of job.units) {
|
|
@@ -18560,7 +18560,7 @@ function allocateSlots(job) {
|
|
|
18560
18560
|
}
|
|
18561
18561
|
}
|
|
18562
18562
|
|
|
18563
|
-
// bazel-out/
|
|
18563
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
18564
18564
|
function specializeStyleBindings(job) {
|
|
18565
18565
|
for (const unit of job.units) {
|
|
18566
18566
|
for (const op of unit.update) {
|
|
@@ -18590,7 +18590,7 @@ function specializeStyleBindings(job) {
|
|
|
18590
18590
|
}
|
|
18591
18591
|
}
|
|
18592
18592
|
|
|
18593
|
-
// bazel-out/
|
|
18593
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
18594
18594
|
function generateTemporaryVariables(job) {
|
|
18595
18595
|
for (const unit of job.units) {
|
|
18596
18596
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -18648,7 +18648,7 @@ function assignName(names, expr) {
|
|
|
18648
18648
|
expr.name = name;
|
|
18649
18649
|
}
|
|
18650
18650
|
|
|
18651
|
-
// bazel-out/
|
|
18651
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
18652
18652
|
function generateTrackFns(job) {
|
|
18653
18653
|
for (const unit of job.units) {
|
|
18654
18654
|
for (const op of unit.create) {
|
|
@@ -18681,7 +18681,7 @@ function generateTrackFns(job) {
|
|
|
18681
18681
|
}
|
|
18682
18682
|
}
|
|
18683
18683
|
|
|
18684
|
-
// bazel-out/
|
|
18684
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
18685
18685
|
function optimizeTrackFns(job) {
|
|
18686
18686
|
for (const unit of job.units) {
|
|
18687
18687
|
for (const op of unit.create) {
|
|
@@ -18728,7 +18728,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
18728
18728
|
return true;
|
|
18729
18729
|
}
|
|
18730
18730
|
|
|
18731
|
-
// bazel-out/
|
|
18731
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
18732
18732
|
function generateTrackVariables(job) {
|
|
18733
18733
|
for (const unit of job.units) {
|
|
18734
18734
|
for (const op of unit.create) {
|
|
@@ -18749,7 +18749,7 @@ function generateTrackVariables(job) {
|
|
|
18749
18749
|
}
|
|
18750
18750
|
}
|
|
18751
18751
|
|
|
18752
|
-
// bazel-out/
|
|
18752
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
18753
18753
|
function countVariables(job) {
|
|
18754
18754
|
for (const unit of job.units) {
|
|
18755
18755
|
let varCount = 0;
|
|
@@ -18857,7 +18857,7 @@ function isSingletonInterpolation(expr) {
|
|
|
18857
18857
|
return true;
|
|
18858
18858
|
}
|
|
18859
18859
|
|
|
18860
|
-
// bazel-out/
|
|
18860
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
18861
18861
|
function optimizeVariables(job) {
|
|
18862
18862
|
for (const unit of job.units) {
|
|
18863
18863
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -19107,7 +19107,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
19107
19107
|
}
|
|
19108
19108
|
}
|
|
19109
19109
|
|
|
19110
|
-
// bazel-out/
|
|
19110
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
19111
19111
|
function wrapI18nIcus(job) {
|
|
19112
19112
|
for (const unit of job.units) {
|
|
19113
19113
|
let currentI18nOp = null;
|
|
@@ -19137,7 +19137,7 @@ function wrapI18nIcus(job) {
|
|
|
19137
19137
|
}
|
|
19138
19138
|
}
|
|
19139
19139
|
|
|
19140
|
-
// bazel-out/
|
|
19140
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
19141
19141
|
var phases = [
|
|
19142
19142
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
19143
19143
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -19302,7 +19302,7 @@ function emitHostBindingFunction(job) {
|
|
|
19302
19302
|
);
|
|
19303
19303
|
}
|
|
19304
19304
|
|
|
19305
|
-
// bazel-out/
|
|
19305
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
19306
19306
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
19307
19307
|
var domSchema = new DomElementSchemaRegistry();
|
|
19308
19308
|
var NG_TEMPLATE_TAG_NAME = "ng-template";
|
|
@@ -19985,10 +19985,10 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
19985
19985
|
return null;
|
|
19986
19986
|
}
|
|
19987
19987
|
|
|
19988
|
-
// bazel-out/
|
|
19988
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
|
|
19989
19989
|
var USE_TEMPLATE_PIPELINE = false;
|
|
19990
19990
|
|
|
19991
|
-
// bazel-out/
|
|
19991
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
|
|
19992
19992
|
var IMPORTANT_FLAG = "!important";
|
|
19993
19993
|
var MIN_STYLING_BINDING_SLOTS_REQUIRED = 2;
|
|
19994
19994
|
var StylingBuilder = class {
|
|
@@ -20321,7 +20321,7 @@ function isEmptyExpression(ast) {
|
|
|
20321
20321
|
return ast instanceof EmptyExpr;
|
|
20322
20322
|
}
|
|
20323
20323
|
|
|
20324
|
-
// bazel-out/
|
|
20324
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
20325
20325
|
var HtmlParser = class extends Parser2 {
|
|
20326
20326
|
constructor() {
|
|
20327
20327
|
super(getHtmlTagDefinition);
|
|
@@ -20331,7 +20331,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
20331
20331
|
}
|
|
20332
20332
|
};
|
|
20333
20333
|
|
|
20334
|
-
// bazel-out/
|
|
20334
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
20335
20335
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
20336
20336
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
20337
20337
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -20397,7 +20397,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
20397
20397
|
return result;
|
|
20398
20398
|
}
|
|
20399
20399
|
|
|
20400
|
-
// bazel-out/
|
|
20400
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
20401
20401
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
20402
20402
|
var ATTRIBUTE_PREFIX = "attr";
|
|
20403
20403
|
var CLASS_PREFIX = "class";
|
|
@@ -20717,7 +20717,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
20717
20717
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
20718
20718
|
}
|
|
20719
20719
|
|
|
20720
|
-
// bazel-out/
|
|
20720
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
20721
20721
|
function isStyleUrlResolvable(url) {
|
|
20722
20722
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
20723
20723
|
return false;
|
|
@@ -20726,7 +20726,7 @@ function isStyleUrlResolvable(url) {
|
|
|
20726
20726
|
}
|
|
20727
20727
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
20728
20728
|
|
|
20729
|
-
// bazel-out/
|
|
20729
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
20730
20730
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
20731
20731
|
var LINK_ELEMENT = "link";
|
|
20732
20732
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -20796,7 +20796,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
20796
20796
|
return selectAttr;
|
|
20797
20797
|
}
|
|
20798
20798
|
|
|
20799
|
-
// bazel-out/
|
|
20799
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
20800
20800
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
20801
20801
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
20802
20802
|
var CONDITIONAL_ALIAS_PATTERN = /^as\s+(.*)/;
|
|
@@ -21087,7 +21087,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
21087
21087
|
return expression.slice(start, end);
|
|
21088
21088
|
}
|
|
21089
21089
|
|
|
21090
|
-
// bazel-out/
|
|
21090
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
21091
21091
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
21092
21092
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
21093
21093
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -21351,7 +21351,7 @@ function parseDeferredTime(value) {
|
|
|
21351
21351
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
21352
21352
|
}
|
|
21353
21353
|
|
|
21354
|
-
// bazel-out/
|
|
21354
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
21355
21355
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
21356
21356
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
21357
21357
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -21486,7 +21486,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
21486
21486
|
return { triggers, prefetchTriggers };
|
|
21487
21487
|
}
|
|
21488
21488
|
|
|
21489
|
-
// bazel-out/
|
|
21489
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
21490
21490
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
21491
21491
|
var KW_BIND_IDX = 1;
|
|
21492
21492
|
var KW_LET_IDX = 2;
|
|
@@ -21917,7 +21917,7 @@ function textContents(node) {
|
|
|
21917
21917
|
}
|
|
21918
21918
|
}
|
|
21919
21919
|
|
|
21920
|
-
// bazel-out/
|
|
21920
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
|
|
21921
21921
|
var TagType;
|
|
21922
21922
|
(function(TagType2) {
|
|
21923
21923
|
TagType2[TagType2["ELEMENT"] = 0] = "ELEMENT";
|
|
@@ -22062,7 +22062,7 @@ function serializePlaceholderValue(value) {
|
|
|
22062
22062
|
}
|
|
22063
22063
|
}
|
|
22064
22064
|
|
|
22065
|
-
// bazel-out/
|
|
22065
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
22066
22066
|
var NG_CONTENT_SELECT_ATTR2 = "select";
|
|
22067
22067
|
var NG_PROJECT_AS_ATTR_NAME = "ngProjectAs";
|
|
22068
22068
|
var EVENT_BINDING_SCOPE_GLOBALS = /* @__PURE__ */ new Set(["$event"]);
|
|
@@ -22136,7 +22136,7 @@ var TemplateData = class {
|
|
|
22136
22136
|
}
|
|
22137
22137
|
};
|
|
22138
22138
|
var TemplateDefinitionBuilder = class {
|
|
22139
|
-
constructor(constantPool, parentBindingScope, level = 0, contextName, i18nContext, templateIndex, templateName, _namespace, relativeContextFilePath, i18nUseExternalIds, deferBlocks, elementLocations, _constants = createComponentDefConsts()) {
|
|
22139
|
+
constructor(constantPool, parentBindingScope, level = 0, contextName, i18nContext, templateIndex, templateName, _namespace, relativeContextFilePath, i18nUseExternalIds, deferBlocks, elementLocations, allDeferrableDepsFn, _constants = createComponentDefConsts()) {
|
|
22140
22140
|
this.constantPool = constantPool;
|
|
22141
22141
|
this.level = level;
|
|
22142
22142
|
this.contextName = contextName;
|
|
@@ -22147,6 +22147,7 @@ var TemplateDefinitionBuilder = class {
|
|
|
22147
22147
|
this.i18nUseExternalIds = i18nUseExternalIds;
|
|
22148
22148
|
this.deferBlocks = deferBlocks;
|
|
22149
22149
|
this.elementLocations = elementLocations;
|
|
22150
|
+
this.allDeferrableDepsFn = allDeferrableDepsFn;
|
|
22150
22151
|
this._constants = _constants;
|
|
22151
22152
|
this._dataIndex = 0;
|
|
22152
22153
|
this._bindingContext = 0;
|
|
@@ -22622,7 +22623,7 @@ var TemplateDefinitionBuilder = class {
|
|
|
22622
22623
|
}
|
|
22623
22624
|
const contextName = `${this.contextName}${contextNameSuffix}_${index}`;
|
|
22624
22625
|
const name = `${contextName}_Template`;
|
|
22625
|
-
const visitor = new TemplateDefinitionBuilder(this.constantPool, this._bindingScope, this.level + 1, contextName, this.i18n, index, name, this._namespace, this.fileBasedI18nSuffix, this.i18nUseExternalIds, this.deferBlocks, this.elementLocations, this._constants);
|
|
22626
|
+
const visitor = new TemplateDefinitionBuilder(this.constantPool, this._bindingScope, this.level + 1, contextName, this.i18n, index, name, this._namespace, this.fileBasedI18nSuffix, this.i18nUseExternalIds, this.deferBlocks, this.elementLocations, this.allDeferrableDepsFn, this._constants);
|
|
22626
22627
|
this._nestedTemplateFns.push(() => {
|
|
22627
22628
|
const templateFunctionExpr = visitor.buildTemplateFunction(children, variables, this._ngContentReservedSlots.length + this._ngContentSelectorsOffset, i18nMeta, variableAliases);
|
|
22628
22629
|
this.constantPool.statements.push(templateFunctionExpr.toDeclStmt(name));
|
|
@@ -22794,6 +22795,7 @@ var TemplateDefinitionBuilder = class {
|
|
|
22794
22795
|
});
|
|
22795
22796
|
}
|
|
22796
22797
|
visitDeferredBlock(deferred) {
|
|
22798
|
+
var _a2;
|
|
22797
22799
|
const { loading, placeholder, error: error2, triggers, prefetchTriggers } = deferred;
|
|
22798
22800
|
const metadata = this.deferBlocks.get(deferred);
|
|
22799
22801
|
if (!metadata) {
|
|
@@ -22810,7 +22812,7 @@ var TemplateDefinitionBuilder = class {
|
|
|
22810
22812
|
this.creationInstruction(deferred.sourceSpan, Identifiers.defer, trimTrailingNulls([
|
|
22811
22813
|
literal(deferredIndex),
|
|
22812
22814
|
literal(primaryTemplateIndex),
|
|
22813
|
-
this.createDeferredDepsFunction(depsFnName, metadata),
|
|
22815
|
+
(_a2 = this.allDeferrableDepsFn) != null ? _a2 : this.createDeferredDepsFunction(depsFnName, metadata),
|
|
22814
22816
|
literal(loadingIndex),
|
|
22815
22817
|
literal(placeholderIndex),
|
|
22816
22818
|
literal(errorIndex),
|
|
@@ -23747,7 +23749,7 @@ function createClosureModeGuard2() {
|
|
|
23747
23749
|
return typeofExpr(variable(NG_I18N_CLOSURE_MODE2)).notIdentical(literal("undefined", STRING_TYPE)).and(variable(NG_I18N_CLOSURE_MODE2));
|
|
23748
23750
|
}
|
|
23749
23751
|
|
|
23750
|
-
// bazel-out/
|
|
23752
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
23751
23753
|
var ATTR_REGEX = /attr\.([^\]]+)/;
|
|
23752
23754
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
23753
23755
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
@@ -23824,6 +23826,17 @@ function compileDirectiveFromMetadata(meta, constantPool, bindingParser) {
|
|
|
23824
23826
|
const type = createDirectiveType(meta);
|
|
23825
23827
|
return { expression, type, statements: [] };
|
|
23826
23828
|
}
|
|
23829
|
+
function createDeferredDepsFunction(constantPool, name, deps) {
|
|
23830
|
+
const dependencyExp = [];
|
|
23831
|
+
for (const [symbolName, importPath] of deps) {
|
|
23832
|
+
const innerFn = arrowFn([new FnParam("m", DYNAMIC_TYPE)], variable("m").prop(symbolName));
|
|
23833
|
+
const importExpr2 = new DynamicImportExpr(importPath).prop("then").callFn([innerFn]);
|
|
23834
|
+
dependencyExp.push(importExpr2);
|
|
23835
|
+
}
|
|
23836
|
+
const depsFnExpr = arrowFn([], literalArr(dependencyExp));
|
|
23837
|
+
constantPool.statements.push(depsFnExpr.toDeclStmt(name, StmtModifier.Final));
|
|
23838
|
+
return variable(name);
|
|
23839
|
+
}
|
|
23827
23840
|
function compileComponentFromMetadata(meta, constantPool, bindingParser) {
|
|
23828
23841
|
const definitionMap = baseDirectiveFields(meta, constantPool, bindingParser);
|
|
23829
23842
|
addFeatures(definitionMap, meta);
|
|
@@ -23841,8 +23854,13 @@ function compileComponentFromMetadata(meta, constantPool, bindingParser) {
|
|
|
23841
23854
|
const templateTypeName = meta.name;
|
|
23842
23855
|
const templateName = templateTypeName ? `${templateTypeName}_Template` : null;
|
|
23843
23856
|
if (!USE_TEMPLATE_PIPELINE) {
|
|
23857
|
+
let allDeferrableDepsFn = null;
|
|
23858
|
+
if (meta.deferBlocks.size > 0 && meta.deferrableTypes.size > 0 && meta.deferBlockDepsEmitMode === 1) {
|
|
23859
|
+
const fnName = `${templateTypeName}_DeferFn`;
|
|
23860
|
+
allDeferrableDepsFn = createDeferredDepsFunction(constantPool, fnName, meta.deferrableTypes);
|
|
23861
|
+
}
|
|
23844
23862
|
const template2 = meta.template;
|
|
23845
|
-
const templateBuilder = new TemplateDefinitionBuilder(constantPool, BindingScope.createRootScope(), 0, templateTypeName, null, null, templateName, Identifiers.namespaceHTML, meta.relativeContextFilePath, meta.i18nUseExternalIds, meta.deferBlocks, /* @__PURE__ */ new Map());
|
|
23863
|
+
const templateBuilder = new TemplateDefinitionBuilder(constantPool, BindingScope.createRootScope(), 0, templateTypeName, null, null, templateName, Identifiers.namespaceHTML, meta.relativeContextFilePath, meta.i18nUseExternalIds, meta.deferBlocks, /* @__PURE__ */ new Map(), allDeferrableDepsFn);
|
|
23846
23864
|
const templateFunctionExpression = templateBuilder.buildTemplateFunction(template2.nodes, []);
|
|
23847
23865
|
const ngContentSelectors = templateBuilder.getNgContentSelectors();
|
|
23848
23866
|
if (ngContentSelectors) {
|
|
@@ -24362,7 +24380,7 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
24362
24380
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
24363
24381
|
}
|
|
24364
24382
|
|
|
24365
|
-
// bazel-out/
|
|
24383
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
24366
24384
|
var R3TargetBinder = class {
|
|
24367
24385
|
constructor(directiveMatcher) {
|
|
24368
24386
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -24375,7 +24393,7 @@ var R3TargetBinder = class {
|
|
|
24375
24393
|
const scopedNodeEntities = extractScopedNodeEntities(scope);
|
|
24376
24394
|
const { directives, eagerDirectives, bindings, references } = DirectiveBinder.apply(target.template, this.directiveMatcher);
|
|
24377
24395
|
const { expressions, symbols, nestingLevel, usedPipes, eagerPipes, deferBlocks } = TemplateBinder.applyWithScope(target.template, scope);
|
|
24378
|
-
return new R3BoundTarget(target, directives, eagerDirectives, bindings, references, expressions, symbols, nestingLevel, scopedNodeEntities, usedPipes, eagerPipes, deferBlocks);
|
|
24396
|
+
return new R3BoundTarget(target, directives, eagerDirectives, bindings, references, expressions, symbols, nestingLevel, scopedNodeEntities, usedPipes, eagerPipes, deferBlocks, scope);
|
|
24379
24397
|
}
|
|
24380
24398
|
};
|
|
24381
24399
|
var Scope2 = class {
|
|
@@ -24383,6 +24401,7 @@ var Scope2 = class {
|
|
|
24383
24401
|
this.parentScope = parentScope;
|
|
24384
24402
|
this.rootNode = rootNode;
|
|
24385
24403
|
this.namedEntities = /* @__PURE__ */ new Map();
|
|
24404
|
+
this.elementsInScope = /* @__PURE__ */ new Set();
|
|
24386
24405
|
this.childScopes = /* @__PURE__ */ new Map();
|
|
24387
24406
|
this.isDeferred = parentScope !== null && parentScope.isDeferred ? true : rootNode instanceof DeferredBlock;
|
|
24388
24407
|
}
|
|
@@ -24416,6 +24435,7 @@ var Scope2 = class {
|
|
|
24416
24435
|
visitElement(element2) {
|
|
24417
24436
|
element2.references.forEach((node) => this.visitReference(node));
|
|
24418
24437
|
element2.children.forEach((node) => node.visit(this));
|
|
24438
|
+
this.elementsInScope.add(element2);
|
|
24419
24439
|
}
|
|
24420
24440
|
visitTemplate(template2) {
|
|
24421
24441
|
template2.references.forEach((node) => this.visitReference(node));
|
|
@@ -24825,7 +24845,7 @@ var TemplateBinder = class extends RecursiveAstVisitor {
|
|
|
24825
24845
|
}
|
|
24826
24846
|
};
|
|
24827
24847
|
var R3BoundTarget = class {
|
|
24828
|
-
constructor(target, directives, eagerDirectives, bindings, references, exprTargets, symbols, nestingLevel, scopedNodeEntities, usedPipes, eagerPipes, deferredBlocks) {
|
|
24848
|
+
constructor(target, directives, eagerDirectives, bindings, references, exprTargets, symbols, nestingLevel, scopedNodeEntities, usedPipes, eagerPipes, deferredBlocks, rootScope) {
|
|
24829
24849
|
this.target = target;
|
|
24830
24850
|
this.directives = directives;
|
|
24831
24851
|
this.eagerDirectives = eagerDirectives;
|
|
@@ -24838,6 +24858,7 @@ var R3BoundTarget = class {
|
|
|
24838
24858
|
this.usedPipes = usedPipes;
|
|
24839
24859
|
this.eagerPipes = eagerPipes;
|
|
24840
24860
|
this.deferredBlocks = deferredBlocks;
|
|
24861
|
+
this.rootScope = rootScope;
|
|
24841
24862
|
}
|
|
24842
24863
|
getEntitiesInScope(node) {
|
|
24843
24864
|
var _a2;
|
|
@@ -24917,6 +24938,15 @@ var R3BoundTarget = class {
|
|
|
24917
24938
|
}
|
|
24918
24939
|
return null;
|
|
24919
24940
|
}
|
|
24941
|
+
isDeferred(element2) {
|
|
24942
|
+
for (const deferBlock of this.deferredBlocks) {
|
|
24943
|
+
const scope = this.rootScope.childScopes.get(deferBlock);
|
|
24944
|
+
if (scope && scope.elementsInScope.has(element2)) {
|
|
24945
|
+
return true;
|
|
24946
|
+
}
|
|
24947
|
+
}
|
|
24948
|
+
return false;
|
|
24949
|
+
}
|
|
24920
24950
|
findEntityInScope(rootNode, name) {
|
|
24921
24951
|
const entities = this.getEntitiesInScope(rootNode);
|
|
24922
24952
|
for (const entitity of entities) {
|
|
@@ -24967,11 +24997,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
24967
24997
|
return templateEntities;
|
|
24968
24998
|
}
|
|
24969
24999
|
|
|
24970
|
-
// bazel-out/
|
|
25000
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
24971
25001
|
var ResourceLoader = class {
|
|
24972
25002
|
};
|
|
24973
25003
|
|
|
24974
|
-
// bazel-out/
|
|
25004
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
24975
25005
|
var CompilerFacadeImpl = class {
|
|
24976
25006
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
24977
25007
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -25094,7 +25124,9 @@ var CompilerFacadeImpl = class {
|
|
|
25094
25124
|
declarations: facade.declarations.map(convertDeclarationFacadeToMetadata),
|
|
25095
25125
|
declarationListEmitMode: 0,
|
|
25096
25126
|
deferBlocks,
|
|
25127
|
+
deferrableTypes: /* @__PURE__ */ new Map(),
|
|
25097
25128
|
deferrableDeclToImportDecl: /* @__PURE__ */ new Map(),
|
|
25129
|
+
deferBlockDepsEmitMode: 0,
|
|
25098
25130
|
styles: [...facade.styles, ...template2.styles],
|
|
25099
25131
|
encapsulation: facade.encapsulation,
|
|
25100
25132
|
interpolation,
|
|
@@ -25301,7 +25333,9 @@ function convertDeclareComponentFacadeToMetadata(decl, typeSourceSpan, sourceMap
|
|
|
25301
25333
|
viewProviders: decl.viewProviders !== void 0 ? new WrappedNodeExpr(decl.viewProviders) : null,
|
|
25302
25334
|
animations: decl.animations !== void 0 ? new WrappedNodeExpr(decl.animations) : null,
|
|
25303
25335
|
deferBlocks,
|
|
25336
|
+
deferrableTypes: /* @__PURE__ */ new Map(),
|
|
25304
25337
|
deferrableDeclToImportDecl: /* @__PURE__ */ new Map(),
|
|
25338
|
+
deferBlockDepsEmitMode: 0,
|
|
25305
25339
|
changeDetection: (_c2 = decl.changeDetection) != null ? _c2 : ChangeDetectionStrategy.Default,
|
|
25306
25340
|
encapsulation: (_d2 = decl.encapsulation) != null ? _d2 : ViewEncapsulation.Emulated,
|
|
25307
25341
|
interpolation,
|
|
@@ -25540,17 +25574,17 @@ function publishFacade(global) {
|
|
|
25540
25574
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
25541
25575
|
}
|
|
25542
25576
|
|
|
25543
|
-
// bazel-out/
|
|
25544
|
-
var VERSION2 = new Version("17.1.0
|
|
25577
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/version.mjs
|
|
25578
|
+
var VERSION2 = new Version("17.1.0");
|
|
25545
25579
|
|
|
25546
|
-
// bazel-out/
|
|
25580
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
25547
25581
|
var _VisitorMode;
|
|
25548
25582
|
(function(_VisitorMode2) {
|
|
25549
25583
|
_VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
|
|
25550
25584
|
_VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
|
|
25551
25585
|
})(_VisitorMode || (_VisitorMode = {}));
|
|
25552
25586
|
|
|
25553
|
-
// bazel-out/
|
|
25587
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
25554
25588
|
var XmlTagDefinition = class {
|
|
25555
25589
|
constructor() {
|
|
25556
25590
|
this.closedByParent = false;
|
|
@@ -25572,7 +25606,7 @@ var XmlTagDefinition = class {
|
|
|
25572
25606
|
};
|
|
25573
25607
|
var _TAG_DEFINITION = new XmlTagDefinition();
|
|
25574
25608
|
|
|
25575
|
-
// bazel-out/
|
|
25609
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
25576
25610
|
var FactoryTarget2;
|
|
25577
25611
|
(function(FactoryTarget3) {
|
|
25578
25612
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -25582,10 +25616,10 @@ var FactoryTarget2;
|
|
|
25582
25616
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
25583
25617
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
25584
25618
|
|
|
25585
|
-
// bazel-out/
|
|
25619
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
25586
25620
|
publishFacade(_global);
|
|
25587
25621
|
|
|
25588
|
-
// bazel-out/
|
|
25622
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/identifier-lookup.mjs
|
|
25589
25623
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
25590
25624
|
function lookupIdentifiersInSourceFile(sourceFile, names) {
|
|
25591
25625
|
const results = /* @__PURE__ */ new Set();
|
|
@@ -25599,7 +25633,7 @@ function lookupIdentifiersInSourceFile(sourceFile, names) {
|
|
|
25599
25633
|
return results;
|
|
25600
25634
|
}
|
|
25601
25635
|
|
|
25602
|
-
// bazel-out/
|
|
25636
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/types.mjs
|
|
25603
25637
|
var ngtemplate = "ng-template";
|
|
25604
25638
|
var boundngifelse = "[ngIfElse]";
|
|
25605
25639
|
var boundngifthenelse = "[ngIfThenElse]";
|
|
@@ -25932,7 +25966,7 @@ var TemplateCollector = class extends RecursiveVisitor {
|
|
|
25932
25966
|
}
|
|
25933
25967
|
};
|
|
25934
25968
|
|
|
25935
|
-
// bazel-out/
|
|
25969
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/util.mjs
|
|
25936
25970
|
var import_path2 = require("path");
|
|
25937
25971
|
var import_typescript6 = __toESM(require("typescript"), 1);
|
|
25938
25972
|
var startMarkerRegex = new RegExp(startMarker, "gm");
|
|
@@ -26432,7 +26466,7 @@ function forEachClass(sourceFile, callback) {
|
|
|
26432
26466
|
});
|
|
26433
26467
|
}
|
|
26434
26468
|
|
|
26435
|
-
// bazel-out/
|
|
26469
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/cases.mjs
|
|
26436
26470
|
var boundcase = "[ngSwitchCase]";
|
|
26437
26471
|
var switchcase = "*ngSwitchCase";
|
|
26438
26472
|
var nakedcase = "ngSwitchCase";
|
|
@@ -26510,7 +26544,7 @@ function migrateNgSwitchDefault(etm, tmpl, offset) {
|
|
|
26510
26544
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
26511
26545
|
}
|
|
26512
26546
|
|
|
26513
|
-
// bazel-out/
|
|
26547
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/fors.mjs
|
|
26514
26548
|
var ngfor = "*ngFor";
|
|
26515
26549
|
var nakedngfor2 = "ngFor";
|
|
26516
26550
|
var fors = [
|
|
@@ -26684,7 +26718,7 @@ function getNgForParts(expression) {
|
|
|
26684
26718
|
return parts;
|
|
26685
26719
|
}
|
|
26686
26720
|
|
|
26687
|
-
// bazel-out/
|
|
26721
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/ifs.mjs
|
|
26688
26722
|
var ngif = "*ngIf";
|
|
26689
26723
|
var boundngif = "[ngIf]";
|
|
26690
26724
|
var nakedngif = "ngIf";
|
|
@@ -26837,7 +26871,7 @@ function buildIfThenBlock(etm, tmpl, condition, thenPlaceholder, offset) {
|
|
|
26837
26871
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
26838
26872
|
}
|
|
26839
26873
|
|
|
26840
|
-
// bazel-out/
|
|
26874
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/switches.mjs
|
|
26841
26875
|
var ngswitch = "[ngSwitch]";
|
|
26842
26876
|
var switches = [
|
|
26843
26877
|
ngswitch
|
|
@@ -26905,7 +26939,7 @@ function migrateNgSwitch(etm, tmpl, offset) {
|
|
|
26905
26939
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
26906
26940
|
}
|
|
26907
26941
|
|
|
26908
|
-
// bazel-out/
|
|
26942
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/migration.mjs
|
|
26909
26943
|
function migrateTemplate(template2, templateType, node, file, format = true, analyzedFiles) {
|
|
26910
26944
|
let errors = [];
|
|
26911
26945
|
let migrated = template2;
|
|
@@ -26956,7 +26990,7 @@ function migrateTemplate(template2, templateType, node, file, format = true, ana
|
|
|
26956
26990
|
return { migrated, errors };
|
|
26957
26991
|
}
|
|
26958
26992
|
|
|
26959
|
-
// bazel-out/
|
|
26993
|
+
// bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/index.mjs
|
|
26960
26994
|
function control_flow_migration_default(options) {
|
|
26961
26995
|
return (tree, context) => __async(this, null, function* () {
|
|
26962
26996
|
const basePath = process.cwd();
|