@angular/core 17.3.2 → 17.3.3
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/rxjs-interop/src/to_signal.mjs +2 -2
- package/esm2022/src/defer/instructions.mjs +2 -2
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/render3/util/injector_discovery_utils.mjs +12 -8
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/fake_async.mjs +6 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/esm2022/testing/src/test_hooks.mjs +3 -3
- package/esm2022/testing/src/testing.mjs +2 -2
- package/fesm2022/core.mjs +9 -6
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +2 -2
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +7 -2
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +2 -2
- package/schematics/migrations/block-template-entities/bundle.js +162 -162
- package/schematics/migrations/block-template-entities/bundle.js.map +1 -1
- package/schematics/migrations/compiler-options/bundle.js +13 -13
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +163 -163
- package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +1 -1
- package/schematics/migrations/transfer-state/bundle.js +13 -13
- package/schematics/ng-generate/control-flow-migration/bundle.js +194 -182
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +3 -3
- package/schematics/ng-generate/standalone-migration/bundle.js +443 -443
- package/schematics/ng-generate/standalone-migration/bundle.js.map +1 -1
- 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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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 = {};
|
|
@@ -1900,7 +1900,7 @@ function isLongStringLiteral(expr) {
|
|
|
1900
1900
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
1901
1901
|
}
|
|
1902
1902
|
|
|
1903
|
-
// bazel-out/
|
|
1903
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
1904
1904
|
var CORE = "@angular/core";
|
|
1905
1905
|
var _Identifiers = class {
|
|
1906
1906
|
};
|
|
@@ -2566,7 +2566,7 @@ var Identifiers = _Identifiers;
|
|
|
2566
2566
|
_Identifiers.unwrapWritableSignal = { name: "\u0275unwrapWritableSignal", moduleName: CORE };
|
|
2567
2567
|
})();
|
|
2568
2568
|
|
|
2569
|
-
// bazel-out/
|
|
2569
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
|
|
2570
2570
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
2571
2571
|
function dashCaseToCamelCase(input) {
|
|
2572
2572
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -2654,7 +2654,7 @@ function partitionArray(arr, conditionFn) {
|
|
|
2654
2654
|
return [truthy, falsy];
|
|
2655
2655
|
}
|
|
2656
2656
|
|
|
2657
|
-
// bazel-out/
|
|
2657
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
2658
2658
|
var VERSION = 3;
|
|
2659
2659
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
2660
2660
|
var SourceMapGenerator = class {
|
|
@@ -2783,7 +2783,7 @@ function toBase64Digit(value) {
|
|
|
2783
2783
|
return B64_DIGITS[value];
|
|
2784
2784
|
}
|
|
2785
2785
|
|
|
2786
|
-
// bazel-out/
|
|
2786
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
2787
2787
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
2788
2788
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
2789
2789
|
var _INDENT_WITH = " ";
|
|
@@ -3271,7 +3271,7 @@ function _createIndent(count) {
|
|
|
3271
3271
|
return res;
|
|
3272
3272
|
}
|
|
3273
3273
|
|
|
3274
|
-
// bazel-out/
|
|
3274
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
3275
3275
|
function typeWithParameters(type, numParams) {
|
|
3276
3276
|
if (numParams === 0) {
|
|
3277
3277
|
return expressionType(type);
|
|
@@ -3336,7 +3336,7 @@ function generateForwardRef(expr) {
|
|
|
3336
3336
|
return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
|
|
3337
3337
|
}
|
|
3338
3338
|
|
|
3339
|
-
// bazel-out/
|
|
3339
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
3340
3340
|
var R3FactoryDelegateType;
|
|
3341
3341
|
(function(R3FactoryDelegateType2) {
|
|
3342
3342
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -3481,7 +3481,7 @@ function getInjectFn(target) {
|
|
|
3481
3481
|
}
|
|
3482
3482
|
}
|
|
3483
3483
|
|
|
3484
|
-
// bazel-out/
|
|
3484
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
3485
3485
|
var TagContentType;
|
|
3486
3486
|
(function(TagContentType2) {
|
|
3487
3487
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -3518,7 +3518,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
3518
3518
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
3519
3519
|
}
|
|
3520
3520
|
|
|
3521
|
-
// bazel-out/
|
|
3521
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
3522
3522
|
var Comment = class {
|
|
3523
3523
|
constructor(value, sourceSpan) {
|
|
3524
3524
|
this.value = value;
|
|
@@ -3899,7 +3899,7 @@ function visitAll(visitor, nodes) {
|
|
|
3899
3899
|
return result;
|
|
3900
3900
|
}
|
|
3901
3901
|
|
|
3902
|
-
// bazel-out/
|
|
3902
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
3903
3903
|
var Message = class {
|
|
3904
3904
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
3905
3905
|
this.nodes = nodes;
|
|
@@ -4037,7 +4037,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
4037
4037
|
}
|
|
4038
4038
|
};
|
|
4039
4039
|
|
|
4040
|
-
// bazel-out/
|
|
4040
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
4041
4041
|
var _Visitor = class {
|
|
4042
4042
|
visitTag(tag) {
|
|
4043
4043
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -4065,12 +4065,12 @@ ${doctype.dtd}
|
|
|
4065
4065
|
};
|
|
4066
4066
|
var _visitor = new _Visitor();
|
|
4067
4067
|
|
|
4068
|
-
// bazel-out/
|
|
4068
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
4069
4069
|
function toPublicName(internalName) {
|
|
4070
4070
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
4071
4071
|
}
|
|
4072
4072
|
|
|
4073
|
-
// bazel-out/
|
|
4073
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
4074
4074
|
var CLOSURE_TRANSLATION_VAR_PREFIX = "MSG_";
|
|
4075
4075
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
4076
4076
|
var I18N_ATTR = "i18n";
|
|
@@ -4172,7 +4172,7 @@ function declareI18nVariable(variable2) {
|
|
|
4172
4172
|
return new DeclareVarStmt(variable2.name, void 0, INFERRED_TYPE, void 0, variable2.sourceSpan);
|
|
4173
4173
|
}
|
|
4174
4174
|
|
|
4175
|
-
// bazel-out/
|
|
4175
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
4176
4176
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
4177
4177
|
var TEMPORARY_NAME = "_t";
|
|
4178
4178
|
var CONTEXT_NAME = "ctx";
|
|
@@ -4418,7 +4418,7 @@ function getInstructionStatements(instructions) {
|
|
|
4418
4418
|
return statements;
|
|
4419
4419
|
}
|
|
4420
4420
|
|
|
4421
|
-
// bazel-out/
|
|
4421
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
4422
4422
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
4423
4423
|
let result = null;
|
|
4424
4424
|
const factoryMeta = {
|
|
@@ -4503,7 +4503,7 @@ function createFactoryFunction(type) {
|
|
|
4503
4503
|
return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
|
|
4504
4504
|
}
|
|
4505
4505
|
|
|
4506
|
-
// bazel-out/
|
|
4506
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
4507
4507
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
4508
4508
|
/^\s*$/,
|
|
4509
4509
|
/[<>]/,
|
|
@@ -4525,7 +4525,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
4525
4525
|
}
|
|
4526
4526
|
}
|
|
4527
4527
|
|
|
4528
|
-
// bazel-out/
|
|
4528
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
|
|
4529
4529
|
var InterpolationConfig = class {
|
|
4530
4530
|
static fromArray(markers) {
|
|
4531
4531
|
if (!markers) {
|
|
@@ -4542,7 +4542,7 @@ var InterpolationConfig = class {
|
|
|
4542
4542
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
4543
4543
|
var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
|
|
4544
4544
|
|
|
4545
|
-
// bazel-out/
|
|
4545
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
4546
4546
|
var $EOF = 0;
|
|
4547
4547
|
var $BSPACE = 8;
|
|
4548
4548
|
var $TAB = 9;
|
|
@@ -4624,7 +4624,7 @@ function isQuote(code) {
|
|
|
4624
4624
|
return code === $SQ || code === $DQ || code === $BT;
|
|
4625
4625
|
}
|
|
4626
4626
|
|
|
4627
|
-
// bazel-out/
|
|
4627
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
4628
4628
|
var ParseLocation = class {
|
|
4629
4629
|
constructor(file, offset, line, col) {
|
|
4630
4630
|
this.file = file;
|
|
@@ -4771,7 +4771,7 @@ function sanitizeIdentifier(name) {
|
|
|
4771
4771
|
return name.replace(/\W/g, "_");
|
|
4772
4772
|
}
|
|
4773
4773
|
|
|
4774
|
-
// bazel-out/
|
|
4774
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
4775
4775
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
4776
4776
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
4777
4777
|
constructor() {
|
|
@@ -4864,7 +4864,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
4864
4864
|
}
|
|
4865
4865
|
};
|
|
4866
4866
|
|
|
4867
|
-
// bazel-out/
|
|
4867
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
4868
4868
|
var policy;
|
|
4869
4869
|
function getPolicy() {
|
|
4870
4870
|
if (policy === void 0) {
|
|
@@ -4902,7 +4902,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
4902
4902
|
return fn2.bind(_global);
|
|
4903
4903
|
}
|
|
4904
4904
|
|
|
4905
|
-
// bazel-out/
|
|
4905
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
4906
4906
|
var JitEvaluator = class {
|
|
4907
4907
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
4908
4908
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -4993,7 +4993,7 @@ function isUseStrictStatement(statement) {
|
|
|
4993
4993
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
4994
4994
|
}
|
|
4995
4995
|
|
|
4996
|
-
// bazel-out/
|
|
4996
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
4997
4997
|
function compileInjector(meta) {
|
|
4998
4998
|
const definitionMap = new DefinitionMap();
|
|
4999
4999
|
if (meta.providers !== null) {
|
|
@@ -5010,7 +5010,7 @@ function createInjectorType(meta) {
|
|
|
5010
5010
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
5011
5011
|
}
|
|
5012
5012
|
|
|
5013
|
-
// bazel-out/
|
|
5013
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
5014
5014
|
var R3JitReflector = class {
|
|
5015
5015
|
constructor(context) {
|
|
5016
5016
|
this.context = context;
|
|
@@ -5026,7 +5026,7 @@ var R3JitReflector = class {
|
|
|
5026
5026
|
}
|
|
5027
5027
|
};
|
|
5028
5028
|
|
|
5029
|
-
// bazel-out/
|
|
5029
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
5030
5030
|
var R3SelectorScopeMode;
|
|
5031
5031
|
(function(R3SelectorScopeMode2) {
|
|
5032
5032
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -5167,7 +5167,7 @@ function tupleOfTypes(types) {
|
|
|
5167
5167
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
5168
5168
|
}
|
|
5169
5169
|
|
|
5170
|
-
// bazel-out/
|
|
5170
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
5171
5171
|
function compilePipeFromMetadata(metadata) {
|
|
5172
5172
|
const definitionMapValues = [];
|
|
5173
5173
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -5188,7 +5188,7 @@ function createPipeType(metadata) {
|
|
|
5188
5188
|
]));
|
|
5189
5189
|
}
|
|
5190
5190
|
|
|
5191
|
-
// bazel-out/
|
|
5191
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
5192
5192
|
var R3TemplateDependencyKind;
|
|
5193
5193
|
(function(R3TemplateDependencyKind2) {
|
|
5194
5194
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -5196,7 +5196,7 @@ var R3TemplateDependencyKind;
|
|
|
5196
5196
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
5197
5197
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
5198
5198
|
|
|
5199
|
-
// bazel-out/
|
|
5199
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
5200
5200
|
var ParserError = class {
|
|
5201
5201
|
constructor(message, input, errLocation, ctxLocation) {
|
|
5202
5202
|
this.input = input;
|
|
@@ -5863,7 +5863,7 @@ var BoundElementProperty = class {
|
|
|
5863
5863
|
}
|
|
5864
5864
|
};
|
|
5865
5865
|
|
|
5866
|
-
// bazel-out/
|
|
5866
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
|
|
5867
5867
|
var _EventHandlerVars = class {
|
|
5868
5868
|
};
|
|
5869
5869
|
var EventHandlerVars = _EventHandlerVars;
|
|
@@ -6554,7 +6554,7 @@ var BuiltinFunctionCall = class extends Call {
|
|
|
6554
6554
|
}
|
|
6555
6555
|
};
|
|
6556
6556
|
|
|
6557
|
-
// bazel-out/
|
|
6557
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
6558
6558
|
var _SECURITY_SCHEMA;
|
|
6559
6559
|
function SECURITY_SCHEMA() {
|
|
6560
6560
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -6612,7 +6612,7 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
6612
6612
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
6613
6613
|
}
|
|
6614
6614
|
|
|
6615
|
-
// bazel-out/
|
|
6615
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
6616
6616
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
6617
6617
|
"inherit",
|
|
6618
6618
|
"initial",
|
|
@@ -7084,7 +7084,7 @@ function repeatGroups(groups, multiples) {
|
|
|
7084
7084
|
}
|
|
7085
7085
|
}
|
|
7086
7086
|
|
|
7087
|
-
// bazel-out/
|
|
7087
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
7088
7088
|
var OpKind;
|
|
7089
7089
|
(function(OpKind2) {
|
|
7090
7090
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -7238,7 +7238,7 @@ var TemplateKind;
|
|
|
7238
7238
|
TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
|
|
7239
7239
|
})(TemplateKind || (TemplateKind = {}));
|
|
7240
7240
|
|
|
7241
|
-
// bazel-out/
|
|
7241
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
7242
7242
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
7243
7243
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
7244
7244
|
var ConsumesVarsTrait = Symbol("ConsumesVars");
|
|
@@ -7266,7 +7266,7 @@ function hasUsesVarOffsetTrait(expr) {
|
|
|
7266
7266
|
return expr[UsesVarOffset] === true;
|
|
7267
7267
|
}
|
|
7268
7268
|
|
|
7269
|
-
// bazel-out/
|
|
7269
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
7270
7270
|
function createStatementOp(statement) {
|
|
7271
7271
|
return __spreadValues({
|
|
7272
7272
|
kind: OpKind.Statement,
|
|
@@ -7288,7 +7288,7 @@ var NEW_OP = {
|
|
|
7288
7288
|
next: null
|
|
7289
7289
|
};
|
|
7290
7290
|
|
|
7291
|
-
// bazel-out/
|
|
7291
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
7292
7292
|
function createInterpolateTextOp(xref, interpolation, sourceSpan) {
|
|
7293
7293
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
7294
7294
|
kind: OpKind.InterpolateText,
|
|
@@ -7469,7 +7469,7 @@ function createI18nApplyOp(owner, handle, sourceSpan) {
|
|
|
7469
7469
|
}, NEW_OP);
|
|
7470
7470
|
}
|
|
7471
7471
|
|
|
7472
|
-
// bazel-out/
|
|
7472
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
7473
7473
|
var _a;
|
|
7474
7474
|
var _b;
|
|
7475
7475
|
var _c;
|
|
@@ -8331,7 +8331,7 @@ function isStringLiteral(expr) {
|
|
|
8331
8331
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
8332
8332
|
}
|
|
8333
8333
|
|
|
8334
|
-
// bazel-out/
|
|
8334
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
8335
8335
|
var _OpList = class {
|
|
8336
8336
|
constructor() {
|
|
8337
8337
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -8522,14 +8522,14 @@ var OpList = _OpList;
|
|
|
8522
8522
|
_OpList.nextListId = 0;
|
|
8523
8523
|
})();
|
|
8524
8524
|
|
|
8525
|
-
// bazel-out/
|
|
8525
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
8526
8526
|
var SlotHandle = class {
|
|
8527
8527
|
constructor() {
|
|
8528
8528
|
this.slot = null;
|
|
8529
8529
|
}
|
|
8530
8530
|
};
|
|
8531
8531
|
|
|
8532
|
-
// bazel-out/
|
|
8532
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
8533
8533
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
8534
8534
|
OpKind.Element,
|
|
8535
8535
|
OpKind.ElementStart,
|
|
@@ -8830,7 +8830,7 @@ function createI18nAttributesOp(xref, handle, target) {
|
|
|
8830
8830
|
}, NEW_OP), TRAIT_CONSUMES_SLOT);
|
|
8831
8831
|
}
|
|
8832
8832
|
|
|
8833
|
-
// bazel-out/
|
|
8833
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
8834
8834
|
function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
|
|
8835
8835
|
return __spreadValues(__spreadValues({
|
|
8836
8836
|
kind: OpKind.HostProperty,
|
|
@@ -8844,10 +8844,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
|
|
|
8844
8844
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
8845
8845
|
}
|
|
8846
8846
|
|
|
8847
|
-
// bazel-out/
|
|
8847
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
8848
8848
|
var CTX_REF = "CTX_REF_MARKER";
|
|
8849
8849
|
|
|
8850
|
-
// bazel-out/
|
|
8850
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
8851
8851
|
var CompilationJobKind;
|
|
8852
8852
|
(function(CompilationJobKind2) {
|
|
8853
8853
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -8955,7 +8955,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
8955
8955
|
}
|
|
8956
8956
|
};
|
|
8957
8957
|
|
|
8958
|
-
// bazel-out/
|
|
8958
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
8959
8959
|
function deleteAnyCasts(job) {
|
|
8960
8960
|
for (const unit of job.units) {
|
|
8961
8961
|
for (const op of unit.ops()) {
|
|
@@ -8973,7 +8973,7 @@ function removeAnys(e) {
|
|
|
8973
8973
|
return e;
|
|
8974
8974
|
}
|
|
8975
8975
|
|
|
8976
|
-
// bazel-out/
|
|
8976
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
8977
8977
|
function applyI18nExpressions(job) {
|
|
8978
8978
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
8979
8979
|
for (const unit of job.units) {
|
|
@@ -9016,7 +9016,7 @@ function needsApplication(i18nContexts, op) {
|
|
|
9016
9016
|
return false;
|
|
9017
9017
|
}
|
|
9018
9018
|
|
|
9019
|
-
// bazel-out/
|
|
9019
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
9020
9020
|
function assignI18nSlotDependencies(job) {
|
|
9021
9021
|
for (const unit of job.units) {
|
|
9022
9022
|
let updateOp = unit.update.head;
|
|
@@ -9061,7 +9061,7 @@ function assignI18nSlotDependencies(job) {
|
|
|
9061
9061
|
}
|
|
9062
9062
|
}
|
|
9063
9063
|
|
|
9064
|
-
// bazel-out/
|
|
9064
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
9065
9065
|
function createOpXrefMap(unit) {
|
|
9066
9066
|
const map = /* @__PURE__ */ new Map();
|
|
9067
9067
|
for (const op of unit.create) {
|
|
@@ -9076,7 +9076,7 @@ function createOpXrefMap(unit) {
|
|
|
9076
9076
|
return map;
|
|
9077
9077
|
}
|
|
9078
9078
|
|
|
9079
|
-
// bazel-out/
|
|
9079
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
9080
9080
|
function extractAttributes(job) {
|
|
9081
9081
|
for (const unit of job.units) {
|
|
9082
9082
|
const elements = createOpXrefMap(unit);
|
|
@@ -9205,7 +9205,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
9205
9205
|
}
|
|
9206
9206
|
}
|
|
9207
9207
|
|
|
9208
|
-
// bazel-out/
|
|
9208
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
9209
9209
|
function lookupElement2(elements, xref) {
|
|
9210
9210
|
const el = elements.get(xref);
|
|
9211
9211
|
if (el === void 0) {
|
|
@@ -9262,7 +9262,7 @@ function specializeBindings(job) {
|
|
|
9262
9262
|
}
|
|
9263
9263
|
}
|
|
9264
9264
|
|
|
9265
|
-
// bazel-out/
|
|
9265
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
9266
9266
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
9267
9267
|
Identifiers.attribute,
|
|
9268
9268
|
Identifiers.classProp,
|
|
@@ -9330,7 +9330,7 @@ function chainOperationsInList(opList) {
|
|
|
9330
9330
|
}
|
|
9331
9331
|
}
|
|
9332
9332
|
|
|
9333
|
-
// bazel-out/
|
|
9333
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
9334
9334
|
function collapseSingletonInterpolations(job) {
|
|
9335
9335
|
for (const unit of job.units) {
|
|
9336
9336
|
for (const op of unit.update) {
|
|
@@ -9342,7 +9342,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
9342
9342
|
}
|
|
9343
9343
|
}
|
|
9344
9344
|
|
|
9345
|
-
// bazel-out/
|
|
9345
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
9346
9346
|
function generateConditionalExpressions(job) {
|
|
9347
9347
|
for (const unit of job.units) {
|
|
9348
9348
|
for (const op of unit.ops()) {
|
|
@@ -9379,7 +9379,7 @@ function generateConditionalExpressions(job) {
|
|
|
9379
9379
|
}
|
|
9380
9380
|
}
|
|
9381
9381
|
|
|
9382
|
-
// bazel-out/
|
|
9382
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
9383
9383
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
9384
9384
|
["&&", BinaryOperator.And],
|
|
9385
9385
|
[">", BinaryOperator.Bigger],
|
|
@@ -9430,7 +9430,7 @@ function literalOrArrayLiteral(value) {
|
|
|
9430
9430
|
return literal(value);
|
|
9431
9431
|
}
|
|
9432
9432
|
|
|
9433
|
-
// bazel-out/
|
|
9433
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
9434
9434
|
function collectElementConsts(job) {
|
|
9435
9435
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
9436
9436
|
for (const unit of job.units) {
|
|
@@ -9599,7 +9599,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
9599
9599
|
return literalArr(attrArray);
|
|
9600
9600
|
}
|
|
9601
9601
|
|
|
9602
|
-
// bazel-out/
|
|
9602
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
|
|
9603
9603
|
function convertI18nBindings(job) {
|
|
9604
9604
|
const i18nAttributesByElem = /* @__PURE__ */ new Map();
|
|
9605
9605
|
for (const unit of job.units) {
|
|
@@ -9640,7 +9640,7 @@ function convertI18nBindings(job) {
|
|
|
9640
9640
|
}
|
|
9641
9641
|
}
|
|
9642
9642
|
|
|
9643
|
-
// bazel-out/
|
|
9643
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_defer_deps_fns.mjs
|
|
9644
9644
|
function createDeferDepsFns(job) {
|
|
9645
9645
|
var _a2;
|
|
9646
9646
|
for (const unit of job.units) {
|
|
@@ -9680,7 +9680,7 @@ function createDeferDepsFns(job) {
|
|
|
9680
9680
|
}
|
|
9681
9681
|
}
|
|
9682
9682
|
|
|
9683
|
-
// bazel-out/
|
|
9683
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
9684
9684
|
function createI18nContexts(job) {
|
|
9685
9685
|
const attrContextByMessage = /* @__PURE__ */ new Map();
|
|
9686
9686
|
for (const unit of job.units) {
|
|
@@ -9758,7 +9758,7 @@ function createI18nContexts(job) {
|
|
|
9758
9758
|
}
|
|
9759
9759
|
}
|
|
9760
9760
|
|
|
9761
|
-
// bazel-out/
|
|
9761
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
|
|
9762
9762
|
function deduplicateTextBindings(job) {
|
|
9763
9763
|
const seen = /* @__PURE__ */ new Map();
|
|
9764
9764
|
for (const unit of job.units) {
|
|
@@ -9780,7 +9780,7 @@ function deduplicateTextBindings(job) {
|
|
|
9780
9780
|
}
|
|
9781
9781
|
}
|
|
9782
9782
|
|
|
9783
|
-
// bazel-out/
|
|
9783
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
9784
9784
|
function configureDeferInstructions(job) {
|
|
9785
9785
|
for (const unit of job.units) {
|
|
9786
9786
|
for (const op of unit.create) {
|
|
@@ -9797,7 +9797,7 @@ function configureDeferInstructions(job) {
|
|
|
9797
9797
|
}
|
|
9798
9798
|
}
|
|
9799
9799
|
|
|
9800
|
-
// bazel-out/
|
|
9800
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
9801
9801
|
function resolveDeferTargetNames(job) {
|
|
9802
9802
|
const scopes = /* @__PURE__ */ new Map();
|
|
9803
9803
|
function getScopeForView2(view) {
|
|
@@ -9891,7 +9891,7 @@ var Scope = class {
|
|
|
9891
9891
|
}
|
|
9892
9892
|
};
|
|
9893
9893
|
|
|
9894
|
-
// bazel-out/
|
|
9894
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
9895
9895
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
9896
9896
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
9897
9897
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -9918,7 +9918,7 @@ function collapseEmptyInstructions(job) {
|
|
|
9918
9918
|
}
|
|
9919
9919
|
}
|
|
9920
9920
|
|
|
9921
|
-
// bazel-out/
|
|
9921
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
9922
9922
|
function expandSafeReads(job) {
|
|
9923
9923
|
for (const unit of job.units) {
|
|
9924
9924
|
for (const op of unit.ops()) {
|
|
@@ -10054,7 +10054,7 @@ function ternaryTransform(e) {
|
|
|
10054
10054
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
10055
10055
|
}
|
|
10056
10056
|
|
|
10057
|
-
// bazel-out/
|
|
10057
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
10058
10058
|
var ESCAPE = "\uFFFD";
|
|
10059
10059
|
var ELEMENT_MARKER = "#";
|
|
10060
10060
|
var TEMPLATE_MARKER = "*";
|
|
@@ -10190,7 +10190,7 @@ function formatValue(value) {
|
|
|
10190
10190
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
10191
10191
|
}
|
|
10192
10192
|
|
|
10193
|
-
// bazel-out/
|
|
10193
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
10194
10194
|
function generateAdvance(job) {
|
|
10195
10195
|
for (const unit of job.units) {
|
|
10196
10196
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -10222,7 +10222,7 @@ function generateAdvance(job) {
|
|
|
10222
10222
|
}
|
|
10223
10223
|
}
|
|
10224
10224
|
|
|
10225
|
-
// bazel-out/
|
|
10225
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
10226
10226
|
function generateProjectionDefs(job) {
|
|
10227
10227
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
10228
10228
|
const selectors = [];
|
|
@@ -10246,7 +10246,7 @@ function generateProjectionDefs(job) {
|
|
|
10246
10246
|
}
|
|
10247
10247
|
}
|
|
10248
10248
|
|
|
10249
|
-
// bazel-out/
|
|
10249
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
10250
10250
|
function generateVariables(job) {
|
|
10251
10251
|
recursivelyProcessView(job.root, null);
|
|
10252
10252
|
}
|
|
@@ -10340,7 +10340,7 @@ function generateVariablesInScopeForView(view, scope) {
|
|
|
10340
10340
|
return newOps;
|
|
10341
10341
|
}
|
|
10342
10342
|
|
|
10343
|
-
// bazel-out/
|
|
10343
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
10344
10344
|
function collectConstExpressions(job) {
|
|
10345
10345
|
for (const unit of job.units) {
|
|
10346
10346
|
for (const op of unit.ops()) {
|
|
@@ -10354,7 +10354,7 @@ function collectConstExpressions(job) {
|
|
|
10354
10354
|
}
|
|
10355
10355
|
}
|
|
10356
10356
|
|
|
10357
|
-
// bazel-out/
|
|
10357
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
10358
10358
|
var STYLE_DOT = "style.";
|
|
10359
10359
|
var CLASS_DOT = "class.";
|
|
10360
10360
|
var STYLE_BANG = "style!";
|
|
@@ -10412,7 +10412,7 @@ function parseProperty(name) {
|
|
|
10412
10412
|
return { property: property2, suffix };
|
|
10413
10413
|
}
|
|
10414
10414
|
|
|
10415
|
-
// bazel-out/
|
|
10415
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
10416
10416
|
function mapLiteral(obj, quoted = false) {
|
|
10417
10417
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
10418
10418
|
key,
|
|
@@ -10421,7 +10421,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
10421
10421
|
})));
|
|
10422
10422
|
}
|
|
10423
10423
|
|
|
10424
|
-
// bazel-out/
|
|
10424
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
10425
10425
|
var IcuSerializerVisitor = class {
|
|
10426
10426
|
visitText(text2) {
|
|
10427
10427
|
return text2.value;
|
|
@@ -10455,7 +10455,7 @@ function serializeIcuNode(icu) {
|
|
|
10455
10455
|
return icu.visit(serializer);
|
|
10456
10456
|
}
|
|
10457
10457
|
|
|
10458
|
-
// bazel-out/
|
|
10458
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
10459
10459
|
var TokenType;
|
|
10460
10460
|
(function(TokenType2) {
|
|
10461
10461
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -10816,7 +10816,7 @@ function parseIntAutoRadix(text2) {
|
|
|
10816
10816
|
return result;
|
|
10817
10817
|
}
|
|
10818
10818
|
|
|
10819
|
-
// bazel-out/
|
|
10819
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
10820
10820
|
var SplitInterpolation = class {
|
|
10821
10821
|
constructor(strings, expressions, offsets) {
|
|
10822
10822
|
this.strings = strings;
|
|
@@ -11698,7 +11698,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
11698
11698
|
return offsetMap;
|
|
11699
11699
|
}
|
|
11700
11700
|
|
|
11701
|
-
// bazel-out/
|
|
11701
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
11702
11702
|
var NodeWithI18n = class {
|
|
11703
11703
|
constructor(sourceSpan, i18n2) {
|
|
11704
11704
|
this.sourceSpan = sourceSpan;
|
|
@@ -11850,11 +11850,11 @@ var RecursiveVisitor = class {
|
|
|
11850
11850
|
}
|
|
11851
11851
|
};
|
|
11852
11852
|
|
|
11853
|
-
// bazel-out/
|
|
11853
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
11854
11854
|
var ElementSchemaRegistry = class {
|
|
11855
11855
|
};
|
|
11856
11856
|
|
|
11857
|
-
// bazel-out/
|
|
11857
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
11858
11858
|
var BOOLEAN = "boolean";
|
|
11859
11859
|
var NUMBER = "number";
|
|
11860
11860
|
var STRING = "string";
|
|
@@ -12207,7 +12207,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
12207
12207
|
}
|
|
12208
12208
|
}
|
|
12209
12209
|
|
|
12210
|
-
// bazel-out/
|
|
12210
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
12211
12211
|
var HtmlTagDefinition = class {
|
|
12212
12212
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
12213
12213
|
this.closedByChildren = {};
|
|
@@ -12325,7 +12325,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
12325
12325
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
12326
12326
|
}
|
|
12327
12327
|
|
|
12328
|
-
// bazel-out/
|
|
12328
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
12329
12329
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
12330
12330
|
"A": "LINK",
|
|
12331
12331
|
"B": "BOLD_TEXT",
|
|
@@ -12447,7 +12447,7 @@ var PlaceholderRegistry = class {
|
|
|
12447
12447
|
}
|
|
12448
12448
|
};
|
|
12449
12449
|
|
|
12450
|
-
// bazel-out/
|
|
12450
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
12451
12451
|
var _expParser = new Parser(new Lexer());
|
|
12452
12452
|
function createI18nMessageFactory(interpolationConfig, containerBlocks) {
|
|
12453
12453
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
|
|
@@ -12626,14 +12626,14 @@ function extractPlaceholderName(input) {
|
|
|
12626
12626
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
12627
12627
|
}
|
|
12628
12628
|
|
|
12629
|
-
// bazel-out/
|
|
12629
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
12630
12630
|
var I18nError = class extends ParseError {
|
|
12631
12631
|
constructor(span, msg) {
|
|
12632
12632
|
super(span, msg);
|
|
12633
12633
|
}
|
|
12634
12634
|
};
|
|
12635
12635
|
|
|
12636
|
-
// bazel-out/
|
|
12636
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
12637
12637
|
var NAMED_ENTITIES = {
|
|
12638
12638
|
"AElig": "\xC6",
|
|
12639
12639
|
"AMP": "&",
|
|
@@ -14764,7 +14764,7 @@ var NAMED_ENTITIES = {
|
|
|
14764
14764
|
var NGSP_UNICODE = "\uE500";
|
|
14765
14765
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
14766
14766
|
|
|
14767
|
-
// bazel-out/
|
|
14767
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
14768
14768
|
var TokenError = class extends ParseError {
|
|
14769
14769
|
constructor(errorMsg, tokenType, span) {
|
|
14770
14770
|
super(span, errorMsg);
|
|
@@ -15685,7 +15685,7 @@ var CursorError = class {
|
|
|
15685
15685
|
}
|
|
15686
15686
|
};
|
|
15687
15687
|
|
|
15688
|
-
// bazel-out/
|
|
15688
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
15689
15689
|
var TreeError = class extends ParseError {
|
|
15690
15690
|
static create(elementName, span, msg) {
|
|
15691
15691
|
return new TreeError(elementName, span, msg);
|
|
@@ -16069,7 +16069,7 @@ function decodeEntity(match, entity) {
|
|
|
16069
16069
|
return match;
|
|
16070
16070
|
}
|
|
16071
16071
|
|
|
16072
|
-
// bazel-out/
|
|
16072
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
16073
16073
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
16074
16074
|
"iframe|srcdoc",
|
|
16075
16075
|
"*|innerhtml",
|
|
@@ -16084,7 +16084,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
16084
16084
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
16085
16085
|
}
|
|
16086
16086
|
|
|
16087
|
-
// bazel-out/
|
|
16087
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
16088
16088
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
16089
16089
|
if (htmlNode instanceof NodeWithI18n) {
|
|
16090
16090
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -16241,7 +16241,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
16241
16241
|
return jsDocComment(tags);
|
|
16242
16242
|
}
|
|
16243
16243
|
|
|
16244
|
-
// bazel-out/
|
|
16244
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
16245
16245
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
16246
16246
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
16247
16247
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -16292,7 +16292,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
16292
16292
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
16293
16293
|
}
|
|
16294
16294
|
|
|
16295
|
-
// bazel-out/
|
|
16295
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
16296
16296
|
function createLocalizeStatements(variable2, message, params) {
|
|
16297
16297
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
16298
16298
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -16381,7 +16381,7 @@ function createEmptyMessagePart(location) {
|
|
|
16381
16381
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
16382
16382
|
}
|
|
16383
16383
|
|
|
16384
|
-
// bazel-out/
|
|
16384
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
16385
16385
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
16386
16386
|
var TRANSLATION_VAR_PREFIX2 = "i18n_";
|
|
16387
16387
|
var I18N_ICU_MAPPING_PREFIX2 = "I18N_EXP_";
|
|
@@ -16542,7 +16542,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
16542
16542
|
return variable(name);
|
|
16543
16543
|
}
|
|
16544
16544
|
|
|
16545
|
-
// bazel-out/
|
|
16545
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
16546
16546
|
function convertI18nText(job) {
|
|
16547
16547
|
var _a2, _b2, _c2;
|
|
16548
16548
|
for (const unit of job.units) {
|
|
@@ -16612,7 +16612,7 @@ function convertI18nText(job) {
|
|
|
16612
16612
|
}
|
|
16613
16613
|
}
|
|
16614
16614
|
|
|
16615
|
-
// bazel-out/
|
|
16615
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
16616
16616
|
function liftLocalRefs(job) {
|
|
16617
16617
|
for (const unit of job.units) {
|
|
16618
16618
|
for (const op of unit.create) {
|
|
@@ -16642,7 +16642,7 @@ function serializeLocalRefs(refs) {
|
|
|
16642
16642
|
return literalArr(constRefs);
|
|
16643
16643
|
}
|
|
16644
16644
|
|
|
16645
|
-
// bazel-out/
|
|
16645
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
16646
16646
|
function emitNamespaceChanges(job) {
|
|
16647
16647
|
for (const unit of job.units) {
|
|
16648
16648
|
let activeNamespace = Namespace.HTML;
|
|
@@ -16658,7 +16658,7 @@ function emitNamespaceChanges(job) {
|
|
|
16658
16658
|
}
|
|
16659
16659
|
}
|
|
16660
16660
|
|
|
16661
|
-
// bazel-out/
|
|
16661
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
|
|
16662
16662
|
function parse(value) {
|
|
16663
16663
|
const styles = [];
|
|
16664
16664
|
let i = 0;
|
|
@@ -16719,7 +16719,7 @@ function hyphenate2(value) {
|
|
|
16719
16719
|
}).toLowerCase();
|
|
16720
16720
|
}
|
|
16721
16721
|
|
|
16722
|
-
// bazel-out/
|
|
16722
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
16723
16723
|
function nameFunctionsAndVariables(job) {
|
|
16724
16724
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
16725
16725
|
}
|
|
@@ -16848,7 +16848,7 @@ function stripImportant(name) {
|
|
|
16848
16848
|
return name;
|
|
16849
16849
|
}
|
|
16850
16850
|
|
|
16851
|
-
// bazel-out/
|
|
16851
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
16852
16852
|
function mergeNextContextExpressions(job) {
|
|
16853
16853
|
for (const unit of job.units) {
|
|
16854
16854
|
for (const op of unit.create) {
|
|
@@ -16894,7 +16894,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
16894
16894
|
}
|
|
16895
16895
|
}
|
|
16896
16896
|
|
|
16897
|
-
// bazel-out/
|
|
16897
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
16898
16898
|
var CONTAINER_TAG = "ng-container";
|
|
16899
16899
|
function generateNgContainerOps(job) {
|
|
16900
16900
|
for (const unit of job.units) {
|
|
@@ -16911,7 +16911,7 @@ function generateNgContainerOps(job) {
|
|
|
16911
16911
|
}
|
|
16912
16912
|
}
|
|
16913
16913
|
|
|
16914
|
-
// bazel-out/
|
|
16914
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
16915
16915
|
function lookupElement3(elements, xref) {
|
|
16916
16916
|
const el = elements.get(xref);
|
|
16917
16917
|
if (el === void 0) {
|
|
@@ -16941,7 +16941,7 @@ function disableBindings(job) {
|
|
|
16941
16941
|
}
|
|
16942
16942
|
}
|
|
16943
16943
|
|
|
16944
|
-
// bazel-out/
|
|
16944
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
16945
16945
|
function generateNullishCoalesceExpressions(job) {
|
|
16946
16946
|
for (const unit of job.units) {
|
|
16947
16947
|
for (const op of unit.ops()) {
|
|
@@ -16957,7 +16957,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
16957
16957
|
}
|
|
16958
16958
|
}
|
|
16959
16959
|
|
|
16960
|
-
// bazel-out/
|
|
16960
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
16961
16961
|
function kindTest(kind) {
|
|
16962
16962
|
return (op) => op.kind === kind;
|
|
16963
16963
|
}
|
|
@@ -17047,7 +17047,7 @@ function keepLast(ops) {
|
|
|
17047
17047
|
return ops.slice(ops.length - 1);
|
|
17048
17048
|
}
|
|
17049
17049
|
|
|
17050
|
-
// bazel-out/
|
|
17050
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
17051
17051
|
function parseExtractedStyles(job) {
|
|
17052
17052
|
const elements = /* @__PURE__ */ new Map();
|
|
17053
17053
|
for (const unit of job.units) {
|
|
@@ -17082,7 +17082,7 @@ function parseExtractedStyles(job) {
|
|
|
17082
17082
|
}
|
|
17083
17083
|
}
|
|
17084
17084
|
|
|
17085
|
-
// bazel-out/
|
|
17085
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
17086
17086
|
function removeContentSelectors(job) {
|
|
17087
17087
|
for (const unit of job.units) {
|
|
17088
17088
|
const elements = createOpXrefMap(unit);
|
|
@@ -17109,7 +17109,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
17109
17109
|
return el;
|
|
17110
17110
|
}
|
|
17111
17111
|
|
|
17112
|
-
// bazel-out/
|
|
17112
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
17113
17113
|
function createPipes(job) {
|
|
17114
17114
|
for (const unit of job.units) {
|
|
17115
17115
|
processPipeBindingsInView(unit);
|
|
@@ -17157,7 +17157,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
17157
17157
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
17158
17158
|
}
|
|
17159
17159
|
|
|
17160
|
-
// bazel-out/
|
|
17160
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
17161
17161
|
function createVariadicPipes(job) {
|
|
17162
17162
|
for (const unit of job.units) {
|
|
17163
17163
|
for (const op of unit.update) {
|
|
@@ -17174,7 +17174,7 @@ function createVariadicPipes(job) {
|
|
|
17174
17174
|
}
|
|
17175
17175
|
}
|
|
17176
17176
|
|
|
17177
|
-
// bazel-out/
|
|
17177
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
17178
17178
|
function propagateI18nBlocks(job) {
|
|
17179
17179
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
17180
17180
|
}
|
|
@@ -17228,7 +17228,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
17228
17228
|
}
|
|
17229
17229
|
}
|
|
17230
17230
|
|
|
17231
|
-
// bazel-out/
|
|
17231
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
17232
17232
|
function extractPureFunctions(job) {
|
|
17233
17233
|
for (const view of job.units) {
|
|
17234
17234
|
for (const op of view.ops()) {
|
|
@@ -17270,7 +17270,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
17270
17270
|
}
|
|
17271
17271
|
};
|
|
17272
17272
|
|
|
17273
|
-
// bazel-out/
|
|
17273
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
17274
17274
|
function generatePureLiteralStructures(job) {
|
|
17275
17275
|
for (const unit of job.units) {
|
|
17276
17276
|
for (const op of unit.update) {
|
|
@@ -17317,7 +17317,7 @@ function transformLiteralMap(expr) {
|
|
|
17317
17317
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
17318
17318
|
}
|
|
17319
17319
|
|
|
17320
|
-
// bazel-out/
|
|
17320
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
17321
17321
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
17322
17322
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
17323
17323
|
}
|
|
@@ -17852,7 +17852,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
17852
17852
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
17853
17853
|
}
|
|
17854
17854
|
|
|
17855
|
-
// bazel-out/
|
|
17855
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
17856
17856
|
var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
|
|
17857
17857
|
["window", Identifiers.resolveWindow],
|
|
17858
17858
|
["document", Identifiers.resolveDocument],
|
|
@@ -18193,7 +18193,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
18193
18193
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
18194
18194
|
}
|
|
18195
18195
|
|
|
18196
|
-
// bazel-out/
|
|
18196
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
18197
18197
|
function removeEmptyBindings(job) {
|
|
18198
18198
|
for (const unit of job.units) {
|
|
18199
18199
|
for (const op of unit.update) {
|
|
@@ -18214,7 +18214,7 @@ function removeEmptyBindings(job) {
|
|
|
18214
18214
|
}
|
|
18215
18215
|
}
|
|
18216
18216
|
|
|
18217
|
-
// bazel-out/
|
|
18217
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
18218
18218
|
function removeI18nContexts(job) {
|
|
18219
18219
|
for (const unit of job.units) {
|
|
18220
18220
|
for (const op of unit.create) {
|
|
@@ -18230,7 +18230,7 @@ function removeI18nContexts(job) {
|
|
|
18230
18230
|
}
|
|
18231
18231
|
}
|
|
18232
18232
|
|
|
18233
|
-
// bazel-out/
|
|
18233
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
|
|
18234
18234
|
function removeUnusedI18nAttributesOps(job) {
|
|
18235
18235
|
for (const unit of job.units) {
|
|
18236
18236
|
const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
|
|
@@ -18252,7 +18252,7 @@ function removeUnusedI18nAttributesOps(job) {
|
|
|
18252
18252
|
}
|
|
18253
18253
|
}
|
|
18254
18254
|
|
|
18255
|
-
// bazel-out/
|
|
18255
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
18256
18256
|
function resolveContexts(job) {
|
|
18257
18257
|
for (const unit of job.units) {
|
|
18258
18258
|
processLexicalScope(unit, unit.create);
|
|
@@ -18294,7 +18294,7 @@ function processLexicalScope(view, ops) {
|
|
|
18294
18294
|
}
|
|
18295
18295
|
}
|
|
18296
18296
|
|
|
18297
|
-
// bazel-out/
|
|
18297
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
18298
18298
|
function resolveDollarEvent(job) {
|
|
18299
18299
|
for (const unit of job.units) {
|
|
18300
18300
|
transformDollarEvent(unit.create);
|
|
@@ -18317,7 +18317,7 @@ function transformDollarEvent(ops) {
|
|
|
18317
18317
|
}
|
|
18318
18318
|
}
|
|
18319
18319
|
|
|
18320
|
-
// bazel-out/
|
|
18320
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
18321
18321
|
function resolveI18nElementPlaceholders(job) {
|
|
18322
18322
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
18323
18323
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -18496,7 +18496,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
18496
18496
|
params.set(placeholder, values);
|
|
18497
18497
|
}
|
|
18498
18498
|
|
|
18499
|
-
// bazel-out/
|
|
18499
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
18500
18500
|
function resolveI18nExpressionPlaceholders(job) {
|
|
18501
18501
|
var _a2;
|
|
18502
18502
|
const subTemplateIndices = /* @__PURE__ */ new Map();
|
|
@@ -18549,7 +18549,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
|
|
|
18549
18549
|
}
|
|
18550
18550
|
}
|
|
18551
18551
|
|
|
18552
|
-
// bazel-out/
|
|
18552
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
18553
18553
|
function resolveNames(job) {
|
|
18554
18554
|
for (const unit of job.units) {
|
|
18555
18555
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -18614,7 +18614,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
18614
18614
|
}
|
|
18615
18615
|
}
|
|
18616
18616
|
|
|
18617
|
-
// bazel-out/
|
|
18617
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
18618
18618
|
var sanitizerFns = /* @__PURE__ */ new Map([
|
|
18619
18619
|
[SecurityContext.HTML, Identifiers.sanitizeHtml],
|
|
18620
18620
|
[SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
|
|
@@ -18684,7 +18684,7 @@ function getOnlySecurityContext(securityContext) {
|
|
|
18684
18684
|
return securityContext;
|
|
18685
18685
|
}
|
|
18686
18686
|
|
|
18687
|
-
// bazel-out/
|
|
18687
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
|
|
18688
18688
|
function transformTwoWayBindingSet(job) {
|
|
18689
18689
|
for (const unit of job.units) {
|
|
18690
18690
|
for (const op of unit.create) {
|
|
@@ -18734,7 +18734,7 @@ function wrapAction(target, value) {
|
|
|
18734
18734
|
throw new Error(`Unsupported expression in two-way action binding.`);
|
|
18735
18735
|
}
|
|
18736
18736
|
|
|
18737
|
-
// bazel-out/
|
|
18737
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
18738
18738
|
function saveAndRestoreView(job) {
|
|
18739
18739
|
for (const unit of job.units) {
|
|
18740
18740
|
unit.create.prepend([
|
|
@@ -18779,7 +18779,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
18779
18779
|
}
|
|
18780
18780
|
}
|
|
18781
18781
|
|
|
18782
|
-
// bazel-out/
|
|
18782
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
18783
18783
|
function allocateSlots(job) {
|
|
18784
18784
|
const slotMap = /* @__PURE__ */ new Map();
|
|
18785
18785
|
for (const unit of job.units) {
|
|
@@ -18804,7 +18804,7 @@ function allocateSlots(job) {
|
|
|
18804
18804
|
}
|
|
18805
18805
|
}
|
|
18806
18806
|
|
|
18807
|
-
// bazel-out/
|
|
18807
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
18808
18808
|
function specializeStyleBindings(job) {
|
|
18809
18809
|
for (const unit of job.units) {
|
|
18810
18810
|
for (const op of unit.update) {
|
|
@@ -18834,7 +18834,7 @@ function specializeStyleBindings(job) {
|
|
|
18834
18834
|
}
|
|
18835
18835
|
}
|
|
18836
18836
|
|
|
18837
|
-
// bazel-out/
|
|
18837
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
18838
18838
|
function generateTemporaryVariables(job) {
|
|
18839
18839
|
for (const unit of job.units) {
|
|
18840
18840
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -18892,7 +18892,7 @@ function assignName(names, expr) {
|
|
|
18892
18892
|
expr.name = name;
|
|
18893
18893
|
}
|
|
18894
18894
|
|
|
18895
|
-
// bazel-out/
|
|
18895
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
18896
18896
|
function generateTrackFns(job) {
|
|
18897
18897
|
for (const unit of job.units) {
|
|
18898
18898
|
for (const op of unit.create) {
|
|
@@ -18925,7 +18925,7 @@ function generateTrackFns(job) {
|
|
|
18925
18925
|
}
|
|
18926
18926
|
}
|
|
18927
18927
|
|
|
18928
|
-
// bazel-out/
|
|
18928
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
18929
18929
|
function optimizeTrackFns(job) {
|
|
18930
18930
|
for (const unit of job.units) {
|
|
18931
18931
|
for (const op of unit.create) {
|
|
@@ -18973,7 +18973,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
18973
18973
|
return true;
|
|
18974
18974
|
}
|
|
18975
18975
|
|
|
18976
|
-
// bazel-out/
|
|
18976
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
18977
18977
|
function generateTrackVariables(job) {
|
|
18978
18978
|
for (const unit of job.units) {
|
|
18979
18979
|
for (const op of unit.create) {
|
|
@@ -18994,7 +18994,7 @@ function generateTrackVariables(job) {
|
|
|
18994
18994
|
}
|
|
18995
18995
|
}
|
|
18996
18996
|
|
|
18997
|
-
// bazel-out/
|
|
18997
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
18998
18998
|
function countVariables(job) {
|
|
18999
18999
|
for (const unit of job.units) {
|
|
19000
19000
|
let varCount = 0;
|
|
@@ -19104,7 +19104,7 @@ function isSingletonInterpolation(expr) {
|
|
|
19104
19104
|
return true;
|
|
19105
19105
|
}
|
|
19106
19106
|
|
|
19107
|
-
// bazel-out/
|
|
19107
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
19108
19108
|
function optimizeVariables(job) {
|
|
19109
19109
|
for (const unit of job.units) {
|
|
19110
19110
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -19353,7 +19353,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
19353
19353
|
}
|
|
19354
19354
|
}
|
|
19355
19355
|
|
|
19356
|
-
// bazel-out/
|
|
19356
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
19357
19357
|
function wrapI18nIcus(job) {
|
|
19358
19358
|
for (const unit of job.units) {
|
|
19359
19359
|
let currentI18nOp = null;
|
|
@@ -19383,7 +19383,7 @@ function wrapI18nIcus(job) {
|
|
|
19383
19383
|
}
|
|
19384
19384
|
}
|
|
19385
19385
|
|
|
19386
|
-
// bazel-out/
|
|
19386
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
19387
19387
|
var phases = [
|
|
19388
19388
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
19389
19389
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -19549,7 +19549,7 @@ function emitHostBindingFunction(job) {
|
|
|
19549
19549
|
);
|
|
19550
19550
|
}
|
|
19551
19551
|
|
|
19552
|
-
// bazel-out/
|
|
19552
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
19553
19553
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
19554
19554
|
var domSchema = new DomElementSchemaRegistry();
|
|
19555
19555
|
var NG_TEMPLATE_TAG_NAME = "ng-template";
|
|
@@ -20277,10 +20277,10 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
20277
20277
|
return null;
|
|
20278
20278
|
}
|
|
20279
20279
|
|
|
20280
|
-
// bazel-out/
|
|
20280
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
|
|
20281
20281
|
var USE_TEMPLATE_PIPELINE = false;
|
|
20282
20282
|
|
|
20283
|
-
// bazel-out/
|
|
20283
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
20284
20284
|
var HtmlParser = class extends Parser2 {
|
|
20285
20285
|
constructor() {
|
|
20286
20286
|
super(getHtmlTagDefinition);
|
|
@@ -20290,7 +20290,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
20290
20290
|
}
|
|
20291
20291
|
};
|
|
20292
20292
|
|
|
20293
|
-
// bazel-out/
|
|
20293
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
20294
20294
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
20295
20295
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
20296
20296
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -20356,7 +20356,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
20356
20356
|
return result;
|
|
20357
20357
|
}
|
|
20358
20358
|
|
|
20359
|
-
// bazel-out/
|
|
20359
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
20360
20360
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
20361
20361
|
var ATTRIBUTE_PREFIX = "attr";
|
|
20362
20362
|
var CLASS_PREFIX = "class";
|
|
@@ -20697,7 +20697,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
20697
20697
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
20698
20698
|
}
|
|
20699
20699
|
|
|
20700
|
-
// bazel-out/
|
|
20700
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
20701
20701
|
function isStyleUrlResolvable(url) {
|
|
20702
20702
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
20703
20703
|
return false;
|
|
@@ -20706,7 +20706,7 @@ function isStyleUrlResolvable(url) {
|
|
|
20706
20706
|
}
|
|
20707
20707
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
20708
20708
|
|
|
20709
|
-
// bazel-out/
|
|
20709
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
20710
20710
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
20711
20711
|
var LINK_ELEMENT = "link";
|
|
20712
20712
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -20776,7 +20776,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
20776
20776
|
return selectAttr;
|
|
20777
20777
|
}
|
|
20778
20778
|
|
|
20779
|
-
// bazel-out/
|
|
20779
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
20780
20780
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
20781
20781
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
20782
20782
|
var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
|
|
@@ -21090,7 +21090,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
21090
21090
|
return expression.slice(start, end);
|
|
21091
21091
|
}
|
|
21092
21092
|
|
|
21093
|
-
// bazel-out/
|
|
21093
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
21094
21094
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
21095
21095
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
21096
21096
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -21354,7 +21354,7 @@ function parseDeferredTime(value) {
|
|
|
21354
21354
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
21355
21355
|
}
|
|
21356
21356
|
|
|
21357
|
-
// bazel-out/
|
|
21357
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
21358
21358
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
21359
21359
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
21360
21360
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -21489,7 +21489,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
21489
21489
|
return { triggers, prefetchTriggers };
|
|
21490
21490
|
}
|
|
21491
21491
|
|
|
21492
|
-
// bazel-out/
|
|
21492
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
21493
21493
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
21494
21494
|
var KW_BIND_IDX = 1;
|
|
21495
21495
|
var KW_LET_IDX = 2;
|
|
@@ -21920,7 +21920,7 @@ function textContents(node) {
|
|
|
21920
21920
|
}
|
|
21921
21921
|
}
|
|
21922
21922
|
|
|
21923
|
-
// bazel-out/
|
|
21923
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
|
|
21924
21924
|
var TagType;
|
|
21925
21925
|
(function(TagType2) {
|
|
21926
21926
|
TagType2[TagType2["ELEMENT"] = 0] = "ELEMENT";
|
|
@@ -22065,7 +22065,7 @@ function serializePlaceholderValue(value) {
|
|
|
22065
22065
|
}
|
|
22066
22066
|
}
|
|
22067
22067
|
|
|
22068
|
-
// bazel-out/
|
|
22068
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
|
|
22069
22069
|
var IMPORTANT_FLAG = "!important";
|
|
22070
22070
|
var MIN_STYLING_BINDING_SLOTS_REQUIRED = 2;
|
|
22071
22071
|
var StylingBuilder = class {
|
|
@@ -22398,7 +22398,7 @@ function isEmptyExpression(ast) {
|
|
|
22398
22398
|
return ast instanceof EmptyExpr;
|
|
22399
22399
|
}
|
|
22400
22400
|
|
|
22401
|
-
// bazel-out/
|
|
22401
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
22402
22402
|
var NG_CONTENT_SELECT_ATTR2 = "select";
|
|
22403
22403
|
var NG_PROJECT_AS_ATTR_NAME = "ngProjectAs";
|
|
22404
22404
|
var EVENT_BINDING_SCOPE_GLOBALS = /* @__PURE__ */ new Set(["$event"]);
|
|
@@ -24090,7 +24090,7 @@ function createClosureModeGuard2() {
|
|
|
24090
24090
|
return typeofExpr(variable(NG_I18N_CLOSURE_MODE2)).notIdentical(literal("undefined", STRING_TYPE)).and(variable(NG_I18N_CLOSURE_MODE2));
|
|
24091
24091
|
}
|
|
24092
24092
|
|
|
24093
|
-
// bazel-out/
|
|
24093
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
|
|
24094
24094
|
function toQueryFlags(query) {
|
|
24095
24095
|
return (query.descendants ? 1 : 0) | (query.static ? 2 : 0) | (query.emitDistinctChangesOnly ? 4 : 0);
|
|
24096
24096
|
}
|
|
@@ -24207,7 +24207,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
|
|
|
24207
24207
|
], INFERRED_TYPE, null, contentQueriesFnName);
|
|
24208
24208
|
}
|
|
24209
24209
|
|
|
24210
|
-
// bazel-out/
|
|
24210
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
24211
24211
|
var ATTR_REGEX = /attr\.([^\]]+)/;
|
|
24212
24212
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
24213
24213
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
@@ -24787,7 +24787,7 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
24787
24787
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
24788
24788
|
}
|
|
24789
24789
|
|
|
24790
|
-
// bazel-out/
|
|
24790
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
24791
24791
|
var R3TargetBinder = class {
|
|
24792
24792
|
constructor(directiveMatcher) {
|
|
24793
24793
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -25413,11 +25413,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
25413
25413
|
return templateEntities;
|
|
25414
25414
|
}
|
|
25415
25415
|
|
|
25416
|
-
// bazel-out/
|
|
25416
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
25417
25417
|
var ResourceLoader = class {
|
|
25418
25418
|
};
|
|
25419
25419
|
|
|
25420
|
-
// bazel-out/
|
|
25420
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
25421
25421
|
var SHOULD_USE_TEMPLATE_PIPELINE_FOR_JIT = true;
|
|
25422
25422
|
var CompilerFacadeImpl = class {
|
|
25423
25423
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
@@ -25998,17 +25998,17 @@ function publishFacade(global) {
|
|
|
25998
25998
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
25999
25999
|
}
|
|
26000
26000
|
|
|
26001
|
-
// bazel-out/
|
|
26002
|
-
var VERSION2 = new Version("17.3.
|
|
26001
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
|
|
26002
|
+
var VERSION2 = new Version("17.3.3");
|
|
26003
26003
|
|
|
26004
|
-
// bazel-out/
|
|
26004
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
26005
26005
|
var _VisitorMode;
|
|
26006
26006
|
(function(_VisitorMode2) {
|
|
26007
26007
|
_VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
|
|
26008
26008
|
_VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
|
|
26009
26009
|
})(_VisitorMode || (_VisitorMode = {}));
|
|
26010
26010
|
|
|
26011
|
-
// bazel-out/
|
|
26011
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
26012
26012
|
var XmlTagDefinition = class {
|
|
26013
26013
|
constructor() {
|
|
26014
26014
|
this.closedByParent = false;
|
|
@@ -26030,7 +26030,7 @@ var XmlTagDefinition = class {
|
|
|
26030
26030
|
};
|
|
26031
26031
|
var _TAG_DEFINITION = new XmlTagDefinition();
|
|
26032
26032
|
|
|
26033
|
-
// bazel-out/
|
|
26033
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
26034
26034
|
var FactoryTarget2;
|
|
26035
26035
|
(function(FactoryTarget3) {
|
|
26036
26036
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -26040,10 +26040,10 @@ var FactoryTarget2;
|
|
|
26040
26040
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
26041
26041
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
26042
26042
|
|
|
26043
|
-
// bazel-out/
|
|
26043
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
26044
26044
|
publishFacade(_global);
|
|
26045
26045
|
|
|
26046
|
-
// bazel-out/
|
|
26046
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/identifier-lookup.mjs
|
|
26047
26047
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
26048
26048
|
function lookupIdentifiersInSourceFile(sourceFile, names) {
|
|
26049
26049
|
const results = /* @__PURE__ */ new Set();
|
|
@@ -26057,7 +26057,7 @@ function lookupIdentifiersInSourceFile(sourceFile, names) {
|
|
|
26057
26057
|
return results;
|
|
26058
26058
|
}
|
|
26059
26059
|
|
|
26060
|
-
// bazel-out/
|
|
26060
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/types.mjs
|
|
26061
26061
|
var ngtemplate = "ng-template";
|
|
26062
26062
|
var boundngifelse = "[ngIfElse]";
|
|
26063
26063
|
var boundngifthenelse = "[ngIfThenElse]";
|
|
@@ -26390,7 +26390,7 @@ var TemplateCollector = class extends RecursiveVisitor {
|
|
|
26390
26390
|
}
|
|
26391
26391
|
};
|
|
26392
26392
|
|
|
26393
|
-
// bazel-out/
|
|
26393
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/util.mjs
|
|
26394
26394
|
var import_path2 = require("path");
|
|
26395
26395
|
var import_typescript6 = __toESM(require("typescript"), 1);
|
|
26396
26396
|
var startMarkerRegex = new RegExp(startMarker, "gm");
|
|
@@ -26576,6 +26576,15 @@ function validateI18nStructure(parsed, fileName) {
|
|
|
26576
26576
|
function isChildOf(parent, el) {
|
|
26577
26577
|
return parent.sourceSpan.start.offset < el.sourceSpan.start.offset && parent.sourceSpan.end.offset > el.sourceSpan.end.offset;
|
|
26578
26578
|
}
|
|
26579
|
+
var PlaceholderKind;
|
|
26580
|
+
(function(PlaceholderKind2) {
|
|
26581
|
+
PlaceholderKind2[PlaceholderKind2["Default"] = 0] = "Default";
|
|
26582
|
+
PlaceholderKind2[PlaceholderKind2["Alternate"] = 1] = "Alternate";
|
|
26583
|
+
})(PlaceholderKind || (PlaceholderKind = {}));
|
|
26584
|
+
function getPlaceholder(value, kind = PlaceholderKind.Default) {
|
|
26585
|
+
const name = `<<<\u0275\u0275ngControlFlowMigration_${kind}\u0275\u0275>>>`;
|
|
26586
|
+
return `___${name}${value}${name}___`;
|
|
26587
|
+
}
|
|
26579
26588
|
function calculateNesting(visitor, hasLineBreaks2) {
|
|
26580
26589
|
let nestedQueue = [];
|
|
26581
26590
|
for (let i = 0; i < visitor.elements.length; i++) {
|
|
@@ -26644,8 +26653,8 @@ function processNgTemplates(template2) {
|
|
|
26644
26653
|
try {
|
|
26645
26654
|
const templates = getTemplates(template2);
|
|
26646
26655
|
for (const [name, t] of templates) {
|
|
26647
|
-
const replaceRegex = new RegExp(
|
|
26648
|
-
const forRegex = new RegExp(
|
|
26656
|
+
const replaceRegex = new RegExp(getPlaceholder(name.slice(1)), "g");
|
|
26657
|
+
const forRegex = new RegExp(getPlaceholder(name.slice(1), PlaceholderKind.Alternate), "g");
|
|
26649
26658
|
const forMatches = [...template2.matchAll(forRegex)];
|
|
26650
26659
|
const matches = [...forMatches, ...template2.matchAll(replaceRegex)];
|
|
26651
26660
|
let safeToRemove = true;
|
|
@@ -26678,11 +26687,14 @@ function processNgTemplates(template2) {
|
|
|
26678
26687
|
}
|
|
26679
26688
|
}
|
|
26680
26689
|
function replaceRemainingPlaceholders(template2) {
|
|
26681
|
-
const
|
|
26690
|
+
const pattern = ".*";
|
|
26691
|
+
const placeholderPattern = getPlaceholder(pattern);
|
|
26692
|
+
const replaceRegex = new RegExp(placeholderPattern, "g");
|
|
26693
|
+
const [placeholderStart, placeholderEnd] = placeholderPattern.split(pattern);
|
|
26682
26694
|
const placeholders = [...template2.matchAll(replaceRegex)];
|
|
26683
26695
|
for (let ph of placeholders) {
|
|
26684
26696
|
const placeholder = ph[0];
|
|
26685
|
-
const name = placeholder.slice(
|
|
26697
|
+
const name = placeholder.slice(placeholderStart.length, placeholder.length - placeholderEnd.length);
|
|
26686
26698
|
template2 = template2.replace(placeholder, `<ng-template [ngTemplateOutlet]="${name}"></ng-template>`);
|
|
26687
26699
|
}
|
|
26688
26700
|
return template2;
|
|
@@ -26893,7 +26905,7 @@ function forEachClass(sourceFile, callback) {
|
|
|
26893
26905
|
});
|
|
26894
26906
|
}
|
|
26895
26907
|
|
|
26896
|
-
// bazel-out/
|
|
26908
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/cases.mjs
|
|
26897
26909
|
var boundcase = "[ngSwitchCase]";
|
|
26898
26910
|
var switchcase = "*ngSwitchCase";
|
|
26899
26911
|
var nakedcase = "ngSwitchCase";
|
|
@@ -26971,7 +26983,7 @@ function migrateNgSwitchDefault(etm, tmpl, offset) {
|
|
|
26971
26983
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
26972
26984
|
}
|
|
26973
26985
|
|
|
26974
|
-
// bazel-out/
|
|
26986
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/fors.mjs
|
|
26975
26987
|
var ngfor = "*ngFor";
|
|
26976
26988
|
var nakedngfor2 = "ngFor";
|
|
26977
26989
|
var fors = [
|
|
@@ -27045,7 +27057,7 @@ function migrateStandardNgFor(etm, tmpl, offset) {
|
|
|
27045
27057
|
trackBy = `${trackByFn}($index, ${loopVar})`;
|
|
27046
27058
|
}
|
|
27047
27059
|
if (part.startsWith("template:")) {
|
|
27048
|
-
tmplPlaceholder =
|
|
27060
|
+
tmplPlaceholder = getPlaceholder(part.split(":")[1].trim(), PlaceholderKind.Alternate);
|
|
27049
27061
|
}
|
|
27050
27062
|
if (part.match(aliasWithEqualRegexp)) {
|
|
27051
27063
|
const aliasParts = part.split("=");
|
|
@@ -27145,7 +27157,7 @@ function getNgForParts(expression) {
|
|
|
27145
27157
|
return parts;
|
|
27146
27158
|
}
|
|
27147
27159
|
|
|
27148
|
-
// bazel-out/
|
|
27160
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/ifs.mjs
|
|
27149
27161
|
var ngif = "*ngIf";
|
|
27150
27162
|
var boundngif = "[ngIf]";
|
|
27151
27163
|
var nakedngif = "ngIf";
|
|
@@ -27222,7 +27234,7 @@ function buildIfBlock(etm, tmpl, offset) {
|
|
|
27222
27234
|
}
|
|
27223
27235
|
function buildStandardIfElseBlock(etm, tmpl, elseString, offset) {
|
|
27224
27236
|
const condition = etm.getCondition().replace(" as ", "; as ").replace(/;\s*let/g, "; as");
|
|
27225
|
-
const elsePlaceholder =
|
|
27237
|
+
const elsePlaceholder = getPlaceholder(etm.getTemplateName(elseString));
|
|
27226
27238
|
return buildIfElseBlock(etm, tmpl, condition, elsePlaceholder, offset);
|
|
27227
27239
|
}
|
|
27228
27240
|
function buildBoundIfElseBlock(etm, tmpl, offset) {
|
|
@@ -27237,9 +27249,9 @@ function buildBoundIfElseBlock(etm, tmpl, offset) {
|
|
|
27237
27249
|
} else if (aliases.length === 1) {
|
|
27238
27250
|
condition += `; as ${aliases[0]}`;
|
|
27239
27251
|
}
|
|
27240
|
-
const elsePlaceholder =
|
|
27252
|
+
const elsePlaceholder = getPlaceholder(etm.elseAttr.value.trim());
|
|
27241
27253
|
if (etm.thenAttr !== void 0) {
|
|
27242
|
-
const thenPlaceholder =
|
|
27254
|
+
const thenPlaceholder = getPlaceholder(etm.thenAttr.value.trim());
|
|
27243
27255
|
return buildIfThenElseBlock(etm, tmpl, condition, thenPlaceholder, elsePlaceholder, offset);
|
|
27244
27256
|
}
|
|
27245
27257
|
return buildIfElseBlock(etm, tmpl, condition, elsePlaceholder, offset);
|
|
@@ -27261,13 +27273,13 @@ function buildIfElseBlock(etm, tmpl, condition, elsePlaceholder, offset) {
|
|
|
27261
27273
|
}
|
|
27262
27274
|
function buildStandardIfThenElseBlock(etm, tmpl, thenString, elseString, offset) {
|
|
27263
27275
|
const condition = etm.getCondition().replace(" as ", "; as ").replace(/;\s*let/g, "; as");
|
|
27264
|
-
const thenPlaceholder =
|
|
27265
|
-
const elsePlaceholder =
|
|
27276
|
+
const thenPlaceholder = getPlaceholder(etm.getTemplateName(thenString, elseString));
|
|
27277
|
+
const elsePlaceholder = getPlaceholder(etm.getTemplateName(elseString));
|
|
27266
27278
|
return buildIfThenElseBlock(etm, tmpl, condition, thenPlaceholder, elsePlaceholder, offset);
|
|
27267
27279
|
}
|
|
27268
27280
|
function buildStandardIfThenBlock(etm, tmpl, thenString, offset) {
|
|
27269
27281
|
const condition = etm.getCondition().replace(" as ", "; as ").replace(/;\s*let/g, "; as");
|
|
27270
|
-
const thenPlaceholder =
|
|
27282
|
+
const thenPlaceholder = getPlaceholder(etm.getTemplateName(thenString));
|
|
27271
27283
|
return buildIfThenBlock(etm, tmpl, condition, thenPlaceholder, offset);
|
|
27272
27284
|
}
|
|
27273
27285
|
function buildIfThenElseBlock(etm, tmpl, condition, thenPlaceholder, elsePlaceholder, offset) {
|
|
@@ -27298,7 +27310,7 @@ function buildIfThenBlock(etm, tmpl, condition, thenPlaceholder, offset) {
|
|
|
27298
27310
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
27299
27311
|
}
|
|
27300
27312
|
|
|
27301
|
-
// bazel-out/
|
|
27313
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/switches.mjs
|
|
27302
27314
|
var ngswitch = "[ngSwitch]";
|
|
27303
27315
|
var switches = [
|
|
27304
27316
|
ngswitch
|
|
@@ -27366,7 +27378,7 @@ function migrateNgSwitch(etm, tmpl, offset) {
|
|
|
27366
27378
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
27367
27379
|
}
|
|
27368
27380
|
|
|
27369
|
-
// bazel-out/
|
|
27381
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/migration.mjs
|
|
27370
27382
|
function migrateTemplate(template2, templateType, node, file, format = true, analyzedFiles) {
|
|
27371
27383
|
let errors = [];
|
|
27372
27384
|
let migrated = template2;
|
|
@@ -27417,7 +27429,7 @@ function migrateTemplate(template2, templateType, node, file, format = true, ana
|
|
|
27417
27429
|
return { migrated, errors };
|
|
27418
27430
|
}
|
|
27419
27431
|
|
|
27420
|
-
// bazel-out/
|
|
27432
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/index.mjs
|
|
27421
27433
|
function control_flow_migration_default(options) {
|
|
27422
27434
|
return (tree, context) => __async(this, null, function* () {
|
|
27423
27435
|
const basePath = process.cwd();
|