@angular/core 18.1.0-rc.0 → 18.2.0-next.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/rxjs-interop/src/to_signal.mjs +4 -4
- package/esm2022/src/defer/instructions.mjs +53 -35
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/render3/debug/framework_injector_profiler.mjs +3 -2
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +55 -36
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +4 -4
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
- package/primitives/event-dispatch/index.d.ts +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +2 -2
- package/schematics/migrations/after-render-phase/bundle.js +12 -12
- package/schematics/migrations/http-providers/bundle.js +15 -15
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +163 -163
- package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +2 -2
- package/schematics/ng-generate/control-flow-migration/bundle.js +181 -172
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +2 -2
- package/schematics/ng-generate/standalone-migration/bundle.js +484 -473
- package/schematics/ng-generate/standalone-migration/bundle.js.map +2 -2
- package/testing/index.d.ts +1 -1
|
@@ -63,7 +63,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
63
63
|
});
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
-
// bazel-out/
|
|
66
|
+
// bazel-out/darwin_arm64-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_arm64-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_arm64-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_arm64-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_arm64-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_arm64-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_arm64-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_arm64-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_arm64-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_arm64-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_arm64-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
757
757
|
var TypeModifier;
|
|
758
758
|
(function(TypeModifier2) {
|
|
759
759
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -1691,7 +1691,7 @@ function serializeTags(tags) {
|
|
|
1691
1691
|
return out;
|
|
1692
1692
|
}
|
|
1693
1693
|
|
|
1694
|
-
// bazel-out/
|
|
1694
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
1695
1695
|
var CONSTANT_PREFIX = "_c";
|
|
1696
1696
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
1697
1697
|
var KEY_CONTEXT = {};
|
|
@@ -1879,7 +1879,7 @@ function isLongStringLiteral(expr) {
|
|
|
1879
1879
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
1880
1880
|
}
|
|
1881
1881
|
|
|
1882
|
-
// bazel-out/
|
|
1882
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
1883
1883
|
var CORE = "@angular/core";
|
|
1884
1884
|
var _Identifiers = class {
|
|
1885
1885
|
};
|
|
@@ -2776,7 +2776,7 @@ var Identifiers = _Identifiers;
|
|
|
2776
2776
|
_Identifiers.unwrapWritableSignal = { name: "\u0275unwrapWritableSignal", moduleName: CORE };
|
|
2777
2777
|
})();
|
|
2778
2778
|
|
|
2779
|
-
// bazel-out/
|
|
2779
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/util.mjs
|
|
2780
2780
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
2781
2781
|
function dashCaseToCamelCase(input) {
|
|
2782
2782
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -2853,7 +2853,7 @@ var Version = class {
|
|
|
2853
2853
|
};
|
|
2854
2854
|
var _global = globalThis;
|
|
2855
2855
|
|
|
2856
|
-
// bazel-out/
|
|
2856
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
2857
2857
|
var VERSION = 3;
|
|
2858
2858
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
2859
2859
|
var SourceMapGenerator = class {
|
|
@@ -2982,7 +2982,7 @@ function toBase64Digit(value) {
|
|
|
2982
2982
|
return B64_DIGITS[value];
|
|
2983
2983
|
}
|
|
2984
2984
|
|
|
2985
|
-
// bazel-out/
|
|
2985
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
2986
2986
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
2987
2987
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
2988
2988
|
var _INDENT_WITH = " ";
|
|
@@ -3470,7 +3470,7 @@ function _createIndent(count) {
|
|
|
3470
3470
|
return res;
|
|
3471
3471
|
}
|
|
3472
3472
|
|
|
3473
|
-
// bazel-out/
|
|
3473
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
3474
3474
|
function typeWithParameters(type, numParams) {
|
|
3475
3475
|
if (numParams === 0) {
|
|
3476
3476
|
return expressionType(type);
|
|
@@ -3525,7 +3525,7 @@ function generateForwardRef(expr) {
|
|
|
3525
3525
|
return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
|
|
3526
3526
|
}
|
|
3527
3527
|
|
|
3528
|
-
// bazel-out/
|
|
3528
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
3529
3529
|
var R3FactoryDelegateType;
|
|
3530
3530
|
(function(R3FactoryDelegateType2) {
|
|
3531
3531
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -3670,7 +3670,7 @@ function getInjectFn(target) {
|
|
|
3670
3670
|
}
|
|
3671
3671
|
}
|
|
3672
3672
|
|
|
3673
|
-
// bazel-out/
|
|
3673
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
3674
3674
|
var ParserError = class {
|
|
3675
3675
|
constructor(message, input, errLocation, ctxLocation) {
|
|
3676
3676
|
this.input = input;
|
|
@@ -4108,7 +4108,7 @@ var BoundElementProperty = class {
|
|
|
4108
4108
|
}
|
|
4109
4109
|
};
|
|
4110
4110
|
|
|
4111
|
-
// bazel-out/
|
|
4111
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
4112
4112
|
var TagContentType;
|
|
4113
4113
|
(function(TagContentType2) {
|
|
4114
4114
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -4145,7 +4145,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
4145
4145
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
4146
4146
|
}
|
|
4147
4147
|
|
|
4148
|
-
// bazel-out/
|
|
4148
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
4149
4149
|
var Comment = class {
|
|
4150
4150
|
constructor(value, sourceSpan) {
|
|
4151
4151
|
this.value = value;
|
|
@@ -4539,7 +4539,7 @@ function visitAll(visitor, nodes) {
|
|
|
4539
4539
|
return result;
|
|
4540
4540
|
}
|
|
4541
4541
|
|
|
4542
|
-
// bazel-out/
|
|
4542
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
4543
4543
|
var Message = class {
|
|
4544
4544
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
4545
4545
|
this.nodes = nodes;
|
|
@@ -4679,7 +4679,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
4679
4679
|
}
|
|
4680
4680
|
};
|
|
4681
4681
|
|
|
4682
|
-
// bazel-out/
|
|
4682
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
4683
4683
|
var _Visitor = class {
|
|
4684
4684
|
visitTag(tag) {
|
|
4685
4685
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -4707,12 +4707,12 @@ ${doctype.dtd}
|
|
|
4707
4707
|
};
|
|
4708
4708
|
var _visitor = new _Visitor();
|
|
4709
4709
|
|
|
4710
|
-
// bazel-out/
|
|
4710
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
4711
4711
|
function toPublicName(internalName) {
|
|
4712
4712
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
4713
4713
|
}
|
|
4714
4714
|
|
|
4715
|
-
// bazel-out/
|
|
4715
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
4716
4716
|
var I18N_ATTR = "i18n";
|
|
4717
4717
|
var I18N_ATTR_PREFIX = "i18n-";
|
|
4718
4718
|
var I18N_ICU_VAR_PREFIX = "VAR_";
|
|
@@ -4752,7 +4752,7 @@ function formatI18nPlaceholderName(name, useCamelCase = true) {
|
|
|
4752
4752
|
return postfix ? `${raw}_${postfix}` : raw;
|
|
4753
4753
|
}
|
|
4754
4754
|
|
|
4755
|
-
// bazel-out/
|
|
4755
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
4756
4756
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
4757
4757
|
var TEMPORARY_NAME = "_t";
|
|
4758
4758
|
var CONTEXT_NAME = "ctx";
|
|
@@ -4879,7 +4879,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
|
|
|
4879
4879
|
return attributesMap;
|
|
4880
4880
|
}
|
|
4881
4881
|
|
|
4882
|
-
// bazel-out/
|
|
4882
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
4883
4883
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
4884
4884
|
let result = null;
|
|
4885
4885
|
const factoryMeta = {
|
|
@@ -4966,7 +4966,7 @@ function createFactoryFunction(type) {
|
|
|
4966
4966
|
return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
|
|
4967
4967
|
}
|
|
4968
4968
|
|
|
4969
|
-
// bazel-out/
|
|
4969
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
4970
4970
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
4971
4971
|
/@/,
|
|
4972
4972
|
/^\s*$/,
|
|
@@ -4989,7 +4989,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
4989
4989
|
}
|
|
4990
4990
|
}
|
|
4991
4991
|
|
|
4992
|
-
// bazel-out/
|
|
4992
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
|
|
4993
4993
|
var InterpolationConfig = class {
|
|
4994
4994
|
static fromArray(markers) {
|
|
4995
4995
|
if (!markers) {
|
|
@@ -5006,7 +5006,7 @@ var InterpolationConfig = class {
|
|
|
5006
5006
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
5007
5007
|
var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
|
|
5008
5008
|
|
|
5009
|
-
// bazel-out/
|
|
5009
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
5010
5010
|
var $EOF = 0;
|
|
5011
5011
|
var $BSPACE = 8;
|
|
5012
5012
|
var $TAB = 9;
|
|
@@ -5088,7 +5088,7 @@ function isQuote(code) {
|
|
|
5088
5088
|
return code === $SQ || code === $DQ || code === $BT;
|
|
5089
5089
|
}
|
|
5090
5090
|
|
|
5091
|
-
// bazel-out/
|
|
5091
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
5092
5092
|
var ParseLocation = class {
|
|
5093
5093
|
constructor(file, offset, line, col) {
|
|
5094
5094
|
this.file = file;
|
|
@@ -5235,7 +5235,7 @@ function sanitizeIdentifier(name) {
|
|
|
5235
5235
|
return name.replace(/\W/g, "_");
|
|
5236
5236
|
}
|
|
5237
5237
|
|
|
5238
|
-
// bazel-out/
|
|
5238
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
5239
5239
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
5240
5240
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
5241
5241
|
constructor() {
|
|
@@ -5328,7 +5328,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
5328
5328
|
}
|
|
5329
5329
|
};
|
|
5330
5330
|
|
|
5331
|
-
// bazel-out/
|
|
5331
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
5332
5332
|
var policy;
|
|
5333
5333
|
function getPolicy() {
|
|
5334
5334
|
if (policy === void 0) {
|
|
@@ -5366,7 +5366,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
5366
5366
|
return fn2.bind(_global);
|
|
5367
5367
|
}
|
|
5368
5368
|
|
|
5369
|
-
// bazel-out/
|
|
5369
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
5370
5370
|
var JitEvaluator = class {
|
|
5371
5371
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
5372
5372
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -5454,7 +5454,7 @@ function isUseStrictStatement(statement) {
|
|
|
5454
5454
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
5455
5455
|
}
|
|
5456
5456
|
|
|
5457
|
-
// bazel-out/
|
|
5457
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
5458
5458
|
function compileInjector(meta) {
|
|
5459
5459
|
const definitionMap = new DefinitionMap();
|
|
5460
5460
|
if (meta.providers !== null) {
|
|
@@ -5471,7 +5471,7 @@ function createInjectorType(meta) {
|
|
|
5471
5471
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
5472
5472
|
}
|
|
5473
5473
|
|
|
5474
|
-
// bazel-out/
|
|
5474
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
5475
5475
|
var R3JitReflector = class {
|
|
5476
5476
|
constructor(context) {
|
|
5477
5477
|
this.context = context;
|
|
@@ -5487,7 +5487,7 @@ var R3JitReflector = class {
|
|
|
5487
5487
|
}
|
|
5488
5488
|
};
|
|
5489
5489
|
|
|
5490
|
-
// bazel-out/
|
|
5490
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
5491
5491
|
var R3SelectorScopeMode;
|
|
5492
5492
|
(function(R3SelectorScopeMode2) {
|
|
5493
5493
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -5622,7 +5622,7 @@ function tupleOfTypes(types) {
|
|
|
5622
5622
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
5623
5623
|
}
|
|
5624
5624
|
|
|
5625
|
-
// bazel-out/
|
|
5625
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
5626
5626
|
function compilePipeFromMetadata(metadata) {
|
|
5627
5627
|
const definitionMapValues = [];
|
|
5628
5628
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -5643,7 +5643,7 @@ function createPipeType(metadata) {
|
|
|
5643
5643
|
]));
|
|
5644
5644
|
}
|
|
5645
5645
|
|
|
5646
|
-
// bazel-out/
|
|
5646
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
5647
5647
|
var R3TemplateDependencyKind;
|
|
5648
5648
|
(function(R3TemplateDependencyKind2) {
|
|
5649
5649
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -5651,7 +5651,7 @@ var R3TemplateDependencyKind;
|
|
|
5651
5651
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
5652
5652
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
5653
5653
|
|
|
5654
|
-
// bazel-out/
|
|
5654
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
5655
5655
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
5656
5656
|
"inherit",
|
|
5657
5657
|
"initial",
|
|
@@ -5692,7 +5692,7 @@ var scopedAtRuleIdentifiers = [
|
|
|
5692
5692
|
];
|
|
5693
5693
|
var ShadowCss = class {
|
|
5694
5694
|
constructor() {
|
|
5695
|
-
this._animationDeclarationKeyframesRe = /(^|\s
|
|
5695
|
+
this._animationDeclarationKeyframesRe = /(^|\s+|,)(?:(?:(['"])((?:\\\\|\\\2|(?!\2).)+)\2)|(-?[A-Za-z][\w\-]*))(?=[,\s]|$)/g;
|
|
5696
5696
|
}
|
|
5697
5697
|
shimCssText(cssText, selector, hostSelector = "") {
|
|
5698
5698
|
const comments = [];
|
|
@@ -5735,7 +5735,7 @@ var ShadowCss = class {
|
|
|
5735
5735
|
});
|
|
5736
5736
|
}
|
|
5737
5737
|
_scopeAnimationRule(rule, scopeSelector, unscopedKeyframesSet) {
|
|
5738
|
-
let content = rule.content.replace(/((?:^|\s+|;)(?:-webkit-)?animation
|
|
5738
|
+
let content = rule.content.replace(/((?:^|\s+|;)(?:-webkit-)?animation\s*:\s*),*([^;]+)/g, (_, start, animationDeclarations) => start + animationDeclarations.replace(this._animationDeclarationKeyframesRe, (original, leadingSpaces, quote = "", quotedName, nonQuotedName) => {
|
|
5739
5739
|
if (quotedName) {
|
|
5740
5740
|
return `${leadingSpaces}${this._scopeAnimationKeyframe(`${quote}${quotedName}${quote}`, scopeSelector, unscopedKeyframesSet)}`;
|
|
5741
5741
|
} else {
|
|
@@ -6131,7 +6131,7 @@ function repeatGroups(groups, multiples) {
|
|
|
6131
6131
|
}
|
|
6132
6132
|
}
|
|
6133
6133
|
|
|
6134
|
-
// bazel-out/
|
|
6134
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
6135
6135
|
var OpKind;
|
|
6136
6136
|
(function(OpKind2) {
|
|
6137
6137
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -6289,7 +6289,7 @@ var TemplateKind;
|
|
|
6289
6289
|
TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
|
|
6290
6290
|
})(TemplateKind || (TemplateKind = {}));
|
|
6291
6291
|
|
|
6292
|
-
// bazel-out/
|
|
6292
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
6293
6293
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
6294
6294
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
6295
6295
|
var ConsumesVarsTrait = Symbol("ConsumesVars");
|
|
@@ -6317,7 +6317,7 @@ function hasUsesVarOffsetTrait(expr) {
|
|
|
6317
6317
|
return expr[UsesVarOffset] === true;
|
|
6318
6318
|
}
|
|
6319
6319
|
|
|
6320
|
-
// bazel-out/
|
|
6320
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
6321
6321
|
function createStatementOp(statement) {
|
|
6322
6322
|
return __spreadValues({
|
|
6323
6323
|
kind: OpKind.Statement,
|
|
@@ -6339,7 +6339,7 @@ var NEW_OP = {
|
|
|
6339
6339
|
next: null
|
|
6340
6340
|
};
|
|
6341
6341
|
|
|
6342
|
-
// bazel-out/
|
|
6342
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
6343
6343
|
function createInterpolateTextOp(xref, interpolation, sourceSpan) {
|
|
6344
6344
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
6345
6345
|
kind: OpKind.InterpolateText,
|
|
@@ -6528,7 +6528,7 @@ function createStoreLetOp(target, declaredName, value, sourceSpan) {
|
|
|
6528
6528
|
}, TRAIT_DEPENDS_ON_SLOT_CONTEXT), TRAIT_CONSUMES_VARS), NEW_OP);
|
|
6529
6529
|
}
|
|
6530
6530
|
|
|
6531
|
-
// bazel-out/
|
|
6531
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
6532
6532
|
var _a;
|
|
6533
6533
|
var _b;
|
|
6534
6534
|
var _c;
|
|
@@ -7446,7 +7446,7 @@ function isStringLiteral(expr) {
|
|
|
7446
7446
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
7447
7447
|
}
|
|
7448
7448
|
|
|
7449
|
-
// bazel-out/
|
|
7449
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
7450
7450
|
var _OpList = class {
|
|
7451
7451
|
constructor() {
|
|
7452
7452
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -7637,14 +7637,14 @@ var OpList = _OpList;
|
|
|
7637
7637
|
_OpList.nextListId = 0;
|
|
7638
7638
|
})();
|
|
7639
7639
|
|
|
7640
|
-
// bazel-out/
|
|
7640
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
7641
7641
|
var SlotHandle = class {
|
|
7642
7642
|
constructor() {
|
|
7643
7643
|
this.slot = null;
|
|
7644
7644
|
}
|
|
7645
7645
|
};
|
|
7646
7646
|
|
|
7647
|
-
// bazel-out/
|
|
7647
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
7648
7648
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
7649
7649
|
OpKind.Element,
|
|
7650
7650
|
OpKind.ElementStart,
|
|
@@ -7957,7 +7957,7 @@ function createI18nAttributesOp(xref, handle, target) {
|
|
|
7957
7957
|
}, NEW_OP), TRAIT_CONSUMES_SLOT);
|
|
7958
7958
|
}
|
|
7959
7959
|
|
|
7960
|
-
// bazel-out/
|
|
7960
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
7961
7961
|
function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
|
|
7962
7962
|
return __spreadValues(__spreadValues({
|
|
7963
7963
|
kind: OpKind.HostProperty,
|
|
@@ -7971,10 +7971,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
|
|
|
7971
7971
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
7972
7972
|
}
|
|
7973
7973
|
|
|
7974
|
-
// bazel-out/
|
|
7974
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
7975
7975
|
var CTX_REF = "CTX_REF_MARKER";
|
|
7976
7976
|
|
|
7977
|
-
// bazel-out/
|
|
7977
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
7978
7978
|
var CompilationJobKind;
|
|
7979
7979
|
(function(CompilationJobKind2) {
|
|
7980
7980
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -8082,7 +8082,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
8082
8082
|
}
|
|
8083
8083
|
};
|
|
8084
8084
|
|
|
8085
|
-
// bazel-out/
|
|
8085
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
8086
8086
|
function deleteAnyCasts(job) {
|
|
8087
8087
|
for (const unit of job.units) {
|
|
8088
8088
|
for (const op of unit.ops()) {
|
|
@@ -8100,7 +8100,7 @@ function removeAnys(e) {
|
|
|
8100
8100
|
return e;
|
|
8101
8101
|
}
|
|
8102
8102
|
|
|
8103
|
-
// bazel-out/
|
|
8103
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
8104
8104
|
function applyI18nExpressions(job) {
|
|
8105
8105
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
8106
8106
|
for (const unit of job.units) {
|
|
@@ -8143,7 +8143,7 @@ function needsApplication(i18nContexts, op) {
|
|
|
8143
8143
|
return false;
|
|
8144
8144
|
}
|
|
8145
8145
|
|
|
8146
|
-
// bazel-out/
|
|
8146
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
8147
8147
|
function assignI18nSlotDependencies(job) {
|
|
8148
8148
|
for (const unit of job.units) {
|
|
8149
8149
|
let updateOp = unit.update.head;
|
|
@@ -8188,7 +8188,7 @@ function assignI18nSlotDependencies(job) {
|
|
|
8188
8188
|
}
|
|
8189
8189
|
}
|
|
8190
8190
|
|
|
8191
|
-
// bazel-out/
|
|
8191
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
8192
8192
|
function createOpXrefMap(unit) {
|
|
8193
8193
|
const map = /* @__PURE__ */ new Map();
|
|
8194
8194
|
for (const op of unit.create) {
|
|
@@ -8203,7 +8203,7 @@ function createOpXrefMap(unit) {
|
|
|
8203
8203
|
return map;
|
|
8204
8204
|
}
|
|
8205
8205
|
|
|
8206
|
-
// bazel-out/
|
|
8206
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
8207
8207
|
function extractAttributes(job) {
|
|
8208
8208
|
for (const unit of job.units) {
|
|
8209
8209
|
const elements = createOpXrefMap(unit);
|
|
@@ -8332,7 +8332,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
8332
8332
|
}
|
|
8333
8333
|
}
|
|
8334
8334
|
|
|
8335
|
-
// bazel-out/
|
|
8335
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
8336
8336
|
function lookupElement2(elements, xref) {
|
|
8337
8337
|
const el = elements.get(xref);
|
|
8338
8338
|
if (el === void 0) {
|
|
@@ -8389,7 +8389,7 @@ function specializeBindings(job) {
|
|
|
8389
8389
|
}
|
|
8390
8390
|
}
|
|
8391
8391
|
|
|
8392
|
-
// bazel-out/
|
|
8392
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
8393
8393
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
8394
8394
|
Identifiers.attribute,
|
|
8395
8395
|
Identifiers.classProp,
|
|
@@ -8458,7 +8458,7 @@ function chainOperationsInList(opList) {
|
|
|
8458
8458
|
}
|
|
8459
8459
|
}
|
|
8460
8460
|
|
|
8461
|
-
// bazel-out/
|
|
8461
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
8462
8462
|
function collapseSingletonInterpolations(job) {
|
|
8463
8463
|
for (const unit of job.units) {
|
|
8464
8464
|
for (const op of unit.update) {
|
|
@@ -8470,7 +8470,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
8470
8470
|
}
|
|
8471
8471
|
}
|
|
8472
8472
|
|
|
8473
|
-
// bazel-out/
|
|
8473
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
8474
8474
|
function generateConditionalExpressions(job) {
|
|
8475
8475
|
for (const unit of job.units) {
|
|
8476
8476
|
for (const op of unit.ops()) {
|
|
@@ -8507,7 +8507,7 @@ function generateConditionalExpressions(job) {
|
|
|
8507
8507
|
}
|
|
8508
8508
|
}
|
|
8509
8509
|
|
|
8510
|
-
// bazel-out/
|
|
8510
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
8511
8511
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
8512
8512
|
["&&", BinaryOperator.And],
|
|
8513
8513
|
[">", BinaryOperator.Bigger],
|
|
@@ -8564,7 +8564,7 @@ function literalOrArrayLiteral(value) {
|
|
|
8564
8564
|
return literal(value);
|
|
8565
8565
|
}
|
|
8566
8566
|
|
|
8567
|
-
// bazel-out/
|
|
8567
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
8568
8568
|
function collectElementConsts(job) {
|
|
8569
8569
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
8570
8570
|
for (const unit of job.units) {
|
|
@@ -8733,7 +8733,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
8733
8733
|
return literalArr(attrArray);
|
|
8734
8734
|
}
|
|
8735
8735
|
|
|
8736
|
-
// bazel-out/
|
|
8736
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
|
|
8737
8737
|
function convertI18nBindings(job) {
|
|
8738
8738
|
const i18nAttributesByElem = /* @__PURE__ */ new Map();
|
|
8739
8739
|
for (const unit of job.units) {
|
|
@@ -8774,7 +8774,7 @@ function convertI18nBindings(job) {
|
|
|
8774
8774
|
}
|
|
8775
8775
|
}
|
|
8776
8776
|
|
|
8777
|
-
// bazel-out/
|
|
8777
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
|
|
8778
8778
|
function resolveDeferDepsFns(job) {
|
|
8779
8779
|
var _a2;
|
|
8780
8780
|
for (const unit of job.units) {
|
|
@@ -8799,7 +8799,7 @@ function resolveDeferDepsFns(job) {
|
|
|
8799
8799
|
}
|
|
8800
8800
|
}
|
|
8801
8801
|
|
|
8802
|
-
// bazel-out/
|
|
8802
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
8803
8803
|
function createI18nContexts(job) {
|
|
8804
8804
|
const attrContextByMessage = /* @__PURE__ */ new Map();
|
|
8805
8805
|
for (const unit of job.units) {
|
|
@@ -8877,7 +8877,7 @@ function createI18nContexts(job) {
|
|
|
8877
8877
|
}
|
|
8878
8878
|
}
|
|
8879
8879
|
|
|
8880
|
-
// bazel-out/
|
|
8880
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
|
|
8881
8881
|
function deduplicateTextBindings(job) {
|
|
8882
8882
|
const seen = /* @__PURE__ */ new Map();
|
|
8883
8883
|
for (const unit of job.units) {
|
|
@@ -8899,7 +8899,7 @@ function deduplicateTextBindings(job) {
|
|
|
8899
8899
|
}
|
|
8900
8900
|
}
|
|
8901
8901
|
|
|
8902
|
-
// bazel-out/
|
|
8902
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
8903
8903
|
function configureDeferInstructions(job) {
|
|
8904
8904
|
for (const unit of job.units) {
|
|
8905
8905
|
for (const op of unit.create) {
|
|
@@ -8916,7 +8916,7 @@ function configureDeferInstructions(job) {
|
|
|
8916
8916
|
}
|
|
8917
8917
|
}
|
|
8918
8918
|
|
|
8919
|
-
// bazel-out/
|
|
8919
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
8920
8920
|
function resolveDeferTargetNames(job) {
|
|
8921
8921
|
const scopes = /* @__PURE__ */ new Map();
|
|
8922
8922
|
function getScopeForView2(view) {
|
|
@@ -9010,7 +9010,7 @@ var Scope = class {
|
|
|
9010
9010
|
}
|
|
9011
9011
|
};
|
|
9012
9012
|
|
|
9013
|
-
// bazel-out/
|
|
9013
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
9014
9014
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
9015
9015
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
9016
9016
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -9037,7 +9037,7 @@ function collapseEmptyInstructions(job) {
|
|
|
9037
9037
|
}
|
|
9038
9038
|
}
|
|
9039
9039
|
|
|
9040
|
-
// bazel-out/
|
|
9040
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
9041
9041
|
function expandSafeReads(job) {
|
|
9042
9042
|
for (const unit of job.units) {
|
|
9043
9043
|
for (const op of unit.ops()) {
|
|
@@ -9173,7 +9173,7 @@ function ternaryTransform(e) {
|
|
|
9173
9173
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
9174
9174
|
}
|
|
9175
9175
|
|
|
9176
|
-
// bazel-out/
|
|
9176
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
9177
9177
|
var ESCAPE = "\uFFFD";
|
|
9178
9178
|
var ELEMENT_MARKER = "#";
|
|
9179
9179
|
var TEMPLATE_MARKER = "*";
|
|
@@ -9309,7 +9309,7 @@ function formatValue(value) {
|
|
|
9309
9309
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
9310
9310
|
}
|
|
9311
9311
|
|
|
9312
|
-
// bazel-out/
|
|
9312
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
9313
9313
|
function generateAdvance(job) {
|
|
9314
9314
|
for (const unit of job.units) {
|
|
9315
9315
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -9352,7 +9352,7 @@ function generateAdvance(job) {
|
|
|
9352
9352
|
}
|
|
9353
9353
|
}
|
|
9354
9354
|
|
|
9355
|
-
// bazel-out/
|
|
9355
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
9356
9356
|
function generateProjectionDefs(job) {
|
|
9357
9357
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
9358
9358
|
const selectors = [];
|
|
@@ -9376,7 +9376,7 @@ function generateProjectionDefs(job) {
|
|
|
9376
9376
|
}
|
|
9377
9377
|
}
|
|
9378
9378
|
|
|
9379
|
-
// bazel-out/
|
|
9379
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
9380
9380
|
function generateVariables(job) {
|
|
9381
9381
|
recursivelyProcessView(job.root, null);
|
|
9382
9382
|
}
|
|
@@ -9494,7 +9494,7 @@ function generateVariablesInScopeForView(view, scope, isListener) {
|
|
|
9494
9494
|
return newOps;
|
|
9495
9495
|
}
|
|
9496
9496
|
|
|
9497
|
-
// bazel-out/
|
|
9497
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
9498
9498
|
function collectConstExpressions(job) {
|
|
9499
9499
|
for (const unit of job.units) {
|
|
9500
9500
|
for (const op of unit.ops()) {
|
|
@@ -9508,7 +9508,7 @@ function collectConstExpressions(job) {
|
|
|
9508
9508
|
}
|
|
9509
9509
|
}
|
|
9510
9510
|
|
|
9511
|
-
// bazel-out/
|
|
9511
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
9512
9512
|
var STYLE_DOT = "style.";
|
|
9513
9513
|
var CLASS_DOT = "class.";
|
|
9514
9514
|
var STYLE_BANG = "style!";
|
|
@@ -9566,7 +9566,7 @@ function parseProperty(name) {
|
|
|
9566
9566
|
return { property: property2, suffix };
|
|
9567
9567
|
}
|
|
9568
9568
|
|
|
9569
|
-
// bazel-out/
|
|
9569
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
9570
9570
|
function mapLiteral(obj, quoted = false) {
|
|
9571
9571
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
9572
9572
|
key,
|
|
@@ -9575,7 +9575,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
9575
9575
|
})));
|
|
9576
9576
|
}
|
|
9577
9577
|
|
|
9578
|
-
// bazel-out/
|
|
9578
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
9579
9579
|
var IcuSerializerVisitor = class {
|
|
9580
9580
|
visitText(text2) {
|
|
9581
9581
|
return text2.value;
|
|
@@ -9609,7 +9609,7 @@ function serializeIcuNode(icu) {
|
|
|
9609
9609
|
return icu.visit(serializer);
|
|
9610
9610
|
}
|
|
9611
9611
|
|
|
9612
|
-
// bazel-out/
|
|
9612
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
9613
9613
|
var TokenType;
|
|
9614
9614
|
(function(TokenType2) {
|
|
9615
9615
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -9970,7 +9970,7 @@ function parseIntAutoRadix(text2) {
|
|
|
9970
9970
|
return result;
|
|
9971
9971
|
}
|
|
9972
9972
|
|
|
9973
|
-
// bazel-out/
|
|
9973
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
9974
9974
|
var SplitInterpolation = class {
|
|
9975
9975
|
constructor(strings, expressions, offsets) {
|
|
9976
9976
|
this.strings = strings;
|
|
@@ -10854,7 +10854,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
10854
10854
|
return offsetMap;
|
|
10855
10855
|
}
|
|
10856
10856
|
|
|
10857
|
-
// bazel-out/
|
|
10857
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
10858
10858
|
var NodeWithI18n = class {
|
|
10859
10859
|
constructor(sourceSpan, i18n2) {
|
|
10860
10860
|
this.sourceSpan = sourceSpan;
|
|
@@ -11020,7 +11020,7 @@ var RecursiveVisitor = class {
|
|
|
11020
11020
|
}
|
|
11021
11021
|
};
|
|
11022
11022
|
|
|
11023
|
-
// bazel-out/
|
|
11023
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
11024
11024
|
var _SECURITY_SCHEMA;
|
|
11025
11025
|
function SECURITY_SCHEMA() {
|
|
11026
11026
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -11081,11 +11081,11 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
11081
11081
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
11082
11082
|
}
|
|
11083
11083
|
|
|
11084
|
-
// bazel-out/
|
|
11084
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
11085
11085
|
var ElementSchemaRegistry = class {
|
|
11086
11086
|
};
|
|
11087
11087
|
|
|
11088
|
-
// bazel-out/
|
|
11088
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
11089
11089
|
var BOOLEAN = "boolean";
|
|
11090
11090
|
var NUMBER = "number";
|
|
11091
11091
|
var STRING = "string";
|
|
@@ -11468,7 +11468,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
11468
11468
|
}
|
|
11469
11469
|
}
|
|
11470
11470
|
|
|
11471
|
-
// bazel-out/
|
|
11471
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
11472
11472
|
var HtmlTagDefinition = class {
|
|
11473
11473
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
11474
11474
|
this.closedByChildren = {};
|
|
@@ -11604,7 +11604,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
11604
11604
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
11605
11605
|
}
|
|
11606
11606
|
|
|
11607
|
-
// bazel-out/
|
|
11607
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
11608
11608
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
11609
11609
|
"A": "LINK",
|
|
11610
11610
|
"B": "BOLD_TEXT",
|
|
@@ -11726,7 +11726,7 @@ var PlaceholderRegistry = class {
|
|
|
11726
11726
|
}
|
|
11727
11727
|
};
|
|
11728
11728
|
|
|
11729
|
-
// bazel-out/
|
|
11729
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
11730
11730
|
var _expParser = new Parser(new Lexer());
|
|
11731
11731
|
function createI18nMessageFactory(interpolationConfig, containerBlocks) {
|
|
11732
11732
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
|
|
@@ -11908,14 +11908,14 @@ function extractPlaceholderName(input) {
|
|
|
11908
11908
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
11909
11909
|
}
|
|
11910
11910
|
|
|
11911
|
-
// bazel-out/
|
|
11911
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
11912
11912
|
var I18nError = class extends ParseError {
|
|
11913
11913
|
constructor(span, msg) {
|
|
11914
11914
|
super(span, msg);
|
|
11915
11915
|
}
|
|
11916
11916
|
};
|
|
11917
11917
|
|
|
11918
|
-
// bazel-out/
|
|
11918
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
11919
11919
|
var NAMED_ENTITIES = {
|
|
11920
11920
|
"AElig": "\xC6",
|
|
11921
11921
|
"AMP": "&",
|
|
@@ -14046,7 +14046,7 @@ var NAMED_ENTITIES = {
|
|
|
14046
14046
|
var NGSP_UNICODE = "\uE500";
|
|
14047
14047
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
14048
14048
|
|
|
14049
|
-
// bazel-out/
|
|
14049
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
14050
14050
|
var TokenError = class extends ParseError {
|
|
14051
14051
|
constructor(errorMsg, tokenType, span) {
|
|
14052
14052
|
super(span, errorMsg);
|
|
@@ -15036,7 +15036,7 @@ var CursorError = class {
|
|
|
15036
15036
|
}
|
|
15037
15037
|
};
|
|
15038
15038
|
|
|
15039
|
-
// bazel-out/
|
|
15039
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
15040
15040
|
var TreeError = class extends ParseError {
|
|
15041
15041
|
static create(elementName, span, msg) {
|
|
15042
15042
|
return new TreeError(elementName, span, msg);
|
|
@@ -15464,7 +15464,7 @@ function decodeEntity(match, entity) {
|
|
|
15464
15464
|
return match;
|
|
15465
15465
|
}
|
|
15466
15466
|
|
|
15467
|
-
// bazel-out/
|
|
15467
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
15468
15468
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
15469
15469
|
"iframe|srcdoc",
|
|
15470
15470
|
"*|innerhtml",
|
|
@@ -15479,7 +15479,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
15479
15479
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
15480
15480
|
}
|
|
15481
15481
|
|
|
15482
|
-
// bazel-out/
|
|
15482
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
15483
15483
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
15484
15484
|
if (htmlNode instanceof NodeWithI18n) {
|
|
15485
15485
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -15639,7 +15639,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
15639
15639
|
return jsDocComment(tags);
|
|
15640
15640
|
}
|
|
15641
15641
|
|
|
15642
|
-
// bazel-out/
|
|
15642
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
15643
15643
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
15644
15644
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
15645
15645
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -15690,7 +15690,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
15690
15690
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
15691
15691
|
}
|
|
15692
15692
|
|
|
15693
|
-
// bazel-out/
|
|
15693
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
15694
15694
|
function createLocalizeStatements(variable2, message, params) {
|
|
15695
15695
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
15696
15696
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -15779,7 +15779,7 @@ function createEmptyMessagePart(location) {
|
|
|
15779
15779
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
15780
15780
|
}
|
|
15781
15781
|
|
|
15782
|
-
// bazel-out/
|
|
15782
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
15783
15783
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
15784
15784
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
15785
15785
|
var I18N_ICU_MAPPING_PREFIX = "I18N_EXP_";
|
|
@@ -15950,7 +15950,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
15950
15950
|
return variable(name);
|
|
15951
15951
|
}
|
|
15952
15952
|
|
|
15953
|
-
// bazel-out/
|
|
15953
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
15954
15954
|
function convertI18nText(job) {
|
|
15955
15955
|
var _a2, _b2, _c2;
|
|
15956
15956
|
for (const unit of job.units) {
|
|
@@ -16020,7 +16020,7 @@ function convertI18nText(job) {
|
|
|
16020
16020
|
}
|
|
16021
16021
|
}
|
|
16022
16022
|
|
|
16023
|
-
// bazel-out/
|
|
16023
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
16024
16024
|
function liftLocalRefs(job) {
|
|
16025
16025
|
for (const unit of job.units) {
|
|
16026
16026
|
for (const op of unit.create) {
|
|
@@ -16050,7 +16050,7 @@ function serializeLocalRefs(refs) {
|
|
|
16050
16050
|
return literalArr(constRefs);
|
|
16051
16051
|
}
|
|
16052
16052
|
|
|
16053
|
-
// bazel-out/
|
|
16053
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
16054
16054
|
function emitNamespaceChanges(job) {
|
|
16055
16055
|
for (const unit of job.units) {
|
|
16056
16056
|
let activeNamespace = Namespace.HTML;
|
|
@@ -16066,7 +16066,7 @@ function emitNamespaceChanges(job) {
|
|
|
16066
16066
|
}
|
|
16067
16067
|
}
|
|
16068
16068
|
|
|
16069
|
-
// bazel-out/
|
|
16069
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
16070
16070
|
function parse(value) {
|
|
16071
16071
|
const styles = [];
|
|
16072
16072
|
let i = 0;
|
|
@@ -16160,7 +16160,7 @@ function parseExtractedStyles(job) {
|
|
|
16160
16160
|
}
|
|
16161
16161
|
}
|
|
16162
16162
|
|
|
16163
|
-
// bazel-out/
|
|
16163
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
16164
16164
|
function nameFunctionsAndVariables(job) {
|
|
16165
16165
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
16166
16166
|
}
|
|
@@ -16304,7 +16304,7 @@ function stripImportant(name) {
|
|
|
16304
16304
|
return name;
|
|
16305
16305
|
}
|
|
16306
16306
|
|
|
16307
|
-
// bazel-out/
|
|
16307
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
16308
16308
|
function mergeNextContextExpressions(job) {
|
|
16309
16309
|
for (const unit of job.units) {
|
|
16310
16310
|
for (const op of unit.create) {
|
|
@@ -16351,7 +16351,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
16351
16351
|
}
|
|
16352
16352
|
}
|
|
16353
16353
|
|
|
16354
|
-
// bazel-out/
|
|
16354
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
16355
16355
|
var CONTAINER_TAG = "ng-container";
|
|
16356
16356
|
function generateNgContainerOps(job) {
|
|
16357
16357
|
for (const unit of job.units) {
|
|
@@ -16368,7 +16368,7 @@ function generateNgContainerOps(job) {
|
|
|
16368
16368
|
}
|
|
16369
16369
|
}
|
|
16370
16370
|
|
|
16371
|
-
// bazel-out/
|
|
16371
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
16372
16372
|
function lookupElement3(elements, xref) {
|
|
16373
16373
|
const el = elements.get(xref);
|
|
16374
16374
|
if (el === void 0) {
|
|
@@ -16398,7 +16398,7 @@ function disableBindings(job) {
|
|
|
16398
16398
|
}
|
|
16399
16399
|
}
|
|
16400
16400
|
|
|
16401
|
-
// bazel-out/
|
|
16401
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
16402
16402
|
function generateNullishCoalesceExpressions(job) {
|
|
16403
16403
|
for (const unit of job.units) {
|
|
16404
16404
|
for (const op of unit.ops()) {
|
|
@@ -16414,7 +16414,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
16414
16414
|
}
|
|
16415
16415
|
}
|
|
16416
16416
|
|
|
16417
|
-
// bazel-out/
|
|
16417
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
16418
16418
|
function kindTest(kind) {
|
|
16419
16419
|
return (op) => op.kind === kind;
|
|
16420
16420
|
}
|
|
@@ -16504,7 +16504,7 @@ function keepLast(ops) {
|
|
|
16504
16504
|
return ops.slice(ops.length - 1);
|
|
16505
16505
|
}
|
|
16506
16506
|
|
|
16507
|
-
// bazel-out/
|
|
16507
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
16508
16508
|
function removeContentSelectors(job) {
|
|
16509
16509
|
for (const unit of job.units) {
|
|
16510
16510
|
const elements = createOpXrefMap(unit);
|
|
@@ -16531,7 +16531,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
16531
16531
|
return el;
|
|
16532
16532
|
}
|
|
16533
16533
|
|
|
16534
|
-
// bazel-out/
|
|
16534
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
16535
16535
|
function createPipes(job) {
|
|
16536
16536
|
for (const unit of job.units) {
|
|
16537
16537
|
processPipeBindingsInView(unit);
|
|
@@ -16579,7 +16579,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
16579
16579
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
16580
16580
|
}
|
|
16581
16581
|
|
|
16582
|
-
// bazel-out/
|
|
16582
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
16583
16583
|
function createVariadicPipes(job) {
|
|
16584
16584
|
for (const unit of job.units) {
|
|
16585
16585
|
for (const op of unit.update) {
|
|
@@ -16596,7 +16596,7 @@ function createVariadicPipes(job) {
|
|
|
16596
16596
|
}
|
|
16597
16597
|
}
|
|
16598
16598
|
|
|
16599
|
-
// bazel-out/
|
|
16599
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
16600
16600
|
function propagateI18nBlocks(job) {
|
|
16601
16601
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
16602
16602
|
}
|
|
@@ -16650,7 +16650,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
16650
16650
|
}
|
|
16651
16651
|
}
|
|
16652
16652
|
|
|
16653
|
-
// bazel-out/
|
|
16653
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
16654
16654
|
function extractPureFunctions(job) {
|
|
16655
16655
|
for (const view of job.units) {
|
|
16656
16656
|
for (const op of view.ops()) {
|
|
@@ -16692,7 +16692,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
16692
16692
|
}
|
|
16693
16693
|
};
|
|
16694
16694
|
|
|
16695
|
-
// bazel-out/
|
|
16695
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
16696
16696
|
function generatePureLiteralStructures(job) {
|
|
16697
16697
|
for (const unit of job.units) {
|
|
16698
16698
|
for (const op of unit.update) {
|
|
@@ -16739,7 +16739,7 @@ function transformLiteralMap(expr) {
|
|
|
16739
16739
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
16740
16740
|
}
|
|
16741
16741
|
|
|
16742
|
-
// bazel-out/
|
|
16742
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
16743
16743
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
16744
16744
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
16745
16745
|
}
|
|
@@ -17271,7 +17271,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
17271
17271
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
17272
17272
|
}
|
|
17273
17273
|
|
|
17274
|
-
// bazel-out/
|
|
17274
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
17275
17275
|
var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
|
|
17276
17276
|
["window", Identifiers.resolveWindow],
|
|
17277
17277
|
["document", Identifiers.resolveDocument],
|
|
@@ -17636,7 +17636,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
17636
17636
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
17637
17637
|
}
|
|
17638
17638
|
|
|
17639
|
-
// bazel-out/
|
|
17639
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
17640
17640
|
function removeEmptyBindings(job) {
|
|
17641
17641
|
for (const unit of job.units) {
|
|
17642
17642
|
for (const op of unit.update) {
|
|
@@ -17657,7 +17657,7 @@ function removeEmptyBindings(job) {
|
|
|
17657
17657
|
}
|
|
17658
17658
|
}
|
|
17659
17659
|
|
|
17660
|
-
// bazel-out/
|
|
17660
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
17661
17661
|
function removeI18nContexts(job) {
|
|
17662
17662
|
for (const unit of job.units) {
|
|
17663
17663
|
for (const op of unit.create) {
|
|
@@ -17673,7 +17673,7 @@ function removeI18nContexts(job) {
|
|
|
17673
17673
|
}
|
|
17674
17674
|
}
|
|
17675
17675
|
|
|
17676
|
-
// bazel-out/
|
|
17676
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
|
|
17677
17677
|
function removeUnusedI18nAttributesOps(job) {
|
|
17678
17678
|
for (const unit of job.units) {
|
|
17679
17679
|
const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
|
|
@@ -17695,7 +17695,7 @@ function removeUnusedI18nAttributesOps(job) {
|
|
|
17695
17695
|
}
|
|
17696
17696
|
}
|
|
17697
17697
|
|
|
17698
|
-
// bazel-out/
|
|
17698
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
17699
17699
|
function resolveContexts(job) {
|
|
17700
17700
|
for (const unit of job.units) {
|
|
17701
17701
|
processLexicalScope(unit, unit.create);
|
|
@@ -17737,7 +17737,7 @@ function processLexicalScope(view, ops) {
|
|
|
17737
17737
|
}
|
|
17738
17738
|
}
|
|
17739
17739
|
|
|
17740
|
-
// bazel-out/
|
|
17740
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
17741
17741
|
function resolveDollarEvent(job) {
|
|
17742
17742
|
for (const unit of job.units) {
|
|
17743
17743
|
transformDollarEvent(unit.create);
|
|
@@ -17760,7 +17760,7 @@ function transformDollarEvent(ops) {
|
|
|
17760
17760
|
}
|
|
17761
17761
|
}
|
|
17762
17762
|
|
|
17763
|
-
// bazel-out/
|
|
17763
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
17764
17764
|
function resolveI18nElementPlaceholders(job) {
|
|
17765
17765
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
17766
17766
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -17939,7 +17939,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
17939
17939
|
params.set(placeholder, values);
|
|
17940
17940
|
}
|
|
17941
17941
|
|
|
17942
|
-
// bazel-out/
|
|
17942
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
17943
17943
|
function resolveI18nExpressionPlaceholders(job) {
|
|
17944
17944
|
var _a2;
|
|
17945
17945
|
const subTemplateIndices = /* @__PURE__ */ new Map();
|
|
@@ -17992,7 +17992,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
|
|
|
17992
17992
|
}
|
|
17993
17993
|
}
|
|
17994
17994
|
|
|
17995
|
-
// bazel-out/
|
|
17995
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
17996
17996
|
function resolveNames(job) {
|
|
17997
17997
|
for (const unit of job.units) {
|
|
17998
17998
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -18070,7 +18070,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
18070
18070
|
}
|
|
18071
18071
|
}
|
|
18072
18072
|
|
|
18073
|
-
// bazel-out/
|
|
18073
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
18074
18074
|
var sanitizerFns = /* @__PURE__ */ new Map([
|
|
18075
18075
|
[SecurityContext.HTML, Identifiers.sanitizeHtml],
|
|
18076
18076
|
[SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
|
|
@@ -18140,7 +18140,7 @@ function getOnlySecurityContext(securityContext) {
|
|
|
18140
18140
|
return securityContext;
|
|
18141
18141
|
}
|
|
18142
18142
|
|
|
18143
|
-
// bazel-out/
|
|
18143
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
|
|
18144
18144
|
function transformTwoWayBindingSet(job) {
|
|
18145
18145
|
for (const unit of job.units) {
|
|
18146
18146
|
for (const op of unit.create) {
|
|
@@ -18163,7 +18163,7 @@ function transformTwoWayBindingSet(job) {
|
|
|
18163
18163
|
}
|
|
18164
18164
|
}
|
|
18165
18165
|
|
|
18166
|
-
// bazel-out/
|
|
18166
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
18167
18167
|
function saveAndRestoreView(job) {
|
|
18168
18168
|
for (const unit of job.units) {
|
|
18169
18169
|
unit.create.prepend([
|
|
@@ -18208,7 +18208,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
18208
18208
|
}
|
|
18209
18209
|
}
|
|
18210
18210
|
|
|
18211
|
-
// bazel-out/
|
|
18211
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
18212
18212
|
function allocateSlots(job) {
|
|
18213
18213
|
const slotMap = /* @__PURE__ */ new Map();
|
|
18214
18214
|
for (const unit of job.units) {
|
|
@@ -18233,7 +18233,7 @@ function allocateSlots(job) {
|
|
|
18233
18233
|
}
|
|
18234
18234
|
}
|
|
18235
18235
|
|
|
18236
|
-
// bazel-out/
|
|
18236
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
18237
18237
|
function specializeStyleBindings(job) {
|
|
18238
18238
|
for (const unit of job.units) {
|
|
18239
18239
|
for (const op of unit.update) {
|
|
@@ -18263,7 +18263,7 @@ function specializeStyleBindings(job) {
|
|
|
18263
18263
|
}
|
|
18264
18264
|
}
|
|
18265
18265
|
|
|
18266
|
-
// bazel-out/
|
|
18266
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
18267
18267
|
function generateTemporaryVariables(job) {
|
|
18268
18268
|
for (const unit of job.units) {
|
|
18269
18269
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -18321,7 +18321,7 @@ function assignName(names, expr) {
|
|
|
18321
18321
|
expr.name = name;
|
|
18322
18322
|
}
|
|
18323
18323
|
|
|
18324
|
-
// bazel-out/
|
|
18324
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
18325
18325
|
function generateTrackFns(job) {
|
|
18326
18326
|
for (const unit of job.units) {
|
|
18327
18327
|
for (const op of unit.create) {
|
|
@@ -18354,7 +18354,7 @@ function generateTrackFns(job) {
|
|
|
18354
18354
|
}
|
|
18355
18355
|
}
|
|
18356
18356
|
|
|
18357
|
-
// bazel-out/
|
|
18357
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
18358
18358
|
function optimizeTrackFns(job) {
|
|
18359
18359
|
for (const unit of job.units) {
|
|
18360
18360
|
for (const op of unit.create) {
|
|
@@ -18404,7 +18404,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
18404
18404
|
return true;
|
|
18405
18405
|
}
|
|
18406
18406
|
|
|
18407
|
-
// bazel-out/
|
|
18407
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
18408
18408
|
function generateTrackVariables(job) {
|
|
18409
18409
|
for (const unit of job.units) {
|
|
18410
18410
|
for (const op of unit.create) {
|
|
@@ -18425,7 +18425,7 @@ function generateTrackVariables(job) {
|
|
|
18425
18425
|
}
|
|
18426
18426
|
}
|
|
18427
18427
|
|
|
18428
|
-
// bazel-out/
|
|
18428
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
18429
18429
|
function countVariables(job) {
|
|
18430
18430
|
for (const unit of job.units) {
|
|
18431
18431
|
let varCount = 0;
|
|
@@ -18538,7 +18538,7 @@ function isSingletonInterpolation(expr) {
|
|
|
18538
18538
|
return true;
|
|
18539
18539
|
}
|
|
18540
18540
|
|
|
18541
|
-
// bazel-out/
|
|
18541
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
18542
18542
|
function optimizeVariables(job) {
|
|
18543
18543
|
for (const unit of job.units) {
|
|
18544
18544
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -18790,7 +18790,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
18790
18790
|
}
|
|
18791
18791
|
}
|
|
18792
18792
|
|
|
18793
|
-
// bazel-out/
|
|
18793
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
18794
18794
|
function wrapI18nIcus(job) {
|
|
18795
18795
|
for (const unit of job.units) {
|
|
18796
18796
|
let currentI18nOp = null;
|
|
@@ -18820,7 +18820,7 @@ function wrapI18nIcus(job) {
|
|
|
18820
18820
|
}
|
|
18821
18821
|
}
|
|
18822
18822
|
|
|
18823
|
-
// bazel-out/
|
|
18823
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/store_let_optimization.mjs
|
|
18824
18824
|
function optimizeStoreLet(job) {
|
|
18825
18825
|
const letUsedExternally = /* @__PURE__ */ new Set();
|
|
18826
18826
|
for (const unit of job.units) {
|
|
@@ -18839,7 +18839,7 @@ function optimizeStoreLet(job) {
|
|
|
18839
18839
|
}
|
|
18840
18840
|
}
|
|
18841
18841
|
|
|
18842
|
-
// bazel-out/
|
|
18842
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_illegal_let_references.mjs
|
|
18843
18843
|
function removeIllegalLetReferences(job) {
|
|
18844
18844
|
for (const unit of job.units) {
|
|
18845
18845
|
for (const op of unit.update) {
|
|
@@ -18856,7 +18856,7 @@ function removeIllegalLetReferences(job) {
|
|
|
18856
18856
|
}
|
|
18857
18857
|
}
|
|
18858
18858
|
|
|
18859
|
-
// bazel-out/
|
|
18859
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_local_let_references.mjs
|
|
18860
18860
|
function generateLocalLetReferences(job) {
|
|
18861
18861
|
for (const unit of job.units) {
|
|
18862
18862
|
for (const op of unit.update) {
|
|
@@ -18874,7 +18874,7 @@ function generateLocalLetReferences(job) {
|
|
|
18874
18874
|
}
|
|
18875
18875
|
}
|
|
18876
18876
|
|
|
18877
|
-
// bazel-out/
|
|
18877
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
18878
18878
|
var phases = [
|
|
18879
18879
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
18880
18880
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -19031,7 +19031,7 @@ function emitHostBindingFunction(job) {
|
|
|
19031
19031
|
);
|
|
19032
19032
|
}
|
|
19033
19033
|
|
|
19034
|
-
// bazel-out/
|
|
19034
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
19035
19035
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
19036
19036
|
var domSchema = new DomElementSchemaRegistry();
|
|
19037
19037
|
var NG_TEMPLATE_TAG_NAME = "ng-template";
|
|
@@ -19789,7 +19789,7 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
19789
19789
|
return null;
|
|
19790
19790
|
}
|
|
19791
19791
|
|
|
19792
|
-
// bazel-out/
|
|
19792
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
|
|
19793
19793
|
function renderFlagCheckIfStmt(flags, statements) {
|
|
19794
19794
|
return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
|
|
19795
19795
|
}
|
|
@@ -19909,7 +19909,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
|
|
|
19909
19909
|
], INFERRED_TYPE, null, contentQueriesFnName);
|
|
19910
19910
|
}
|
|
19911
19911
|
|
|
19912
|
-
// bazel-out/
|
|
19912
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
19913
19913
|
var HtmlParser = class extends Parser2 {
|
|
19914
19914
|
constructor() {
|
|
19915
19915
|
super(getHtmlTagDefinition);
|
|
@@ -19919,7 +19919,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
19919
19919
|
}
|
|
19920
19920
|
};
|
|
19921
19921
|
|
|
19922
|
-
// bazel-out/
|
|
19922
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
19923
19923
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
19924
19924
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
19925
19925
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -19988,7 +19988,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
19988
19988
|
return result;
|
|
19989
19989
|
}
|
|
19990
19990
|
|
|
19991
|
-
// bazel-out/
|
|
19991
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
19992
19992
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
19993
19993
|
var ATTRIBUTE_PREFIX = "attr";
|
|
19994
19994
|
var CLASS_PREFIX = "class";
|
|
@@ -20342,7 +20342,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
20342
20342
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
20343
20343
|
}
|
|
20344
20344
|
|
|
20345
|
-
// bazel-out/
|
|
20345
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
20346
20346
|
function isStyleUrlResolvable(url) {
|
|
20347
20347
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
20348
20348
|
return false;
|
|
@@ -20351,7 +20351,7 @@ function isStyleUrlResolvable(url) {
|
|
|
20351
20351
|
}
|
|
20352
20352
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
20353
20353
|
|
|
20354
|
-
// bazel-out/
|
|
20354
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
20355
20355
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
20356
20356
|
var LINK_ELEMENT = "link";
|
|
20357
20357
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -20421,7 +20421,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
20421
20421
|
return selectAttr;
|
|
20422
20422
|
}
|
|
20423
20423
|
|
|
20424
|
-
// bazel-out/
|
|
20424
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
20425
20425
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
20426
20426
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
20427
20427
|
var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
|
|
@@ -20744,7 +20744,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
20744
20744
|
return expression.slice(start, end);
|
|
20745
20745
|
}
|
|
20746
20746
|
|
|
20747
|
-
// bazel-out/
|
|
20747
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
20748
20748
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
20749
20749
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
20750
20750
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -21008,7 +21008,7 @@ function parseDeferredTime(value) {
|
|
|
21008
21008
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
21009
21009
|
}
|
|
21010
21010
|
|
|
21011
|
-
// bazel-out/
|
|
21011
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
21012
21012
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
21013
21013
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
21014
21014
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -21143,7 +21143,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
21143
21143
|
return { triggers, prefetchTriggers };
|
|
21144
21144
|
}
|
|
21145
21145
|
|
|
21146
|
-
// bazel-out/
|
|
21146
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
21147
21147
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
21148
21148
|
var KW_BIND_IDX = 1;
|
|
21149
21149
|
var KW_LET_IDX = 2;
|
|
@@ -21610,7 +21610,7 @@ function textContents(node) {
|
|
|
21610
21610
|
}
|
|
21611
21611
|
}
|
|
21612
21612
|
|
|
21613
|
-
// bazel-out/
|
|
21613
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
21614
21614
|
var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
|
|
21615
21615
|
function parseTemplate(template2, templateUrl, options = {}) {
|
|
21616
21616
|
var _a2, _b2;
|
|
@@ -21689,7 +21689,7 @@ function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, a
|
|
|
21689
21689
|
return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, [], allowInvalidAssignmentEvents);
|
|
21690
21690
|
}
|
|
21691
21691
|
|
|
21692
|
-
// bazel-out/
|
|
21692
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
21693
21693
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
21694
21694
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
21695
21695
|
var CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
|
|
@@ -22056,7 +22056,7 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
22056
22056
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
22057
22057
|
}
|
|
22058
22058
|
|
|
22059
|
-
// bazel-out/
|
|
22059
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
22060
22060
|
var R3TargetBinder = class {
|
|
22061
22061
|
constructor(directiveMatcher) {
|
|
22062
22062
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -22703,11 +22703,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
22703
22703
|
return templateEntities;
|
|
22704
22704
|
}
|
|
22705
22705
|
|
|
22706
|
-
// bazel-out/
|
|
22706
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
22707
22707
|
var ResourceLoader = class {
|
|
22708
22708
|
};
|
|
22709
22709
|
|
|
22710
|
-
// bazel-out/
|
|
22710
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
22711
22711
|
var CompilerFacadeImpl = class {
|
|
22712
22712
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
22713
22713
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -23276,17 +23276,17 @@ function publishFacade(global) {
|
|
|
23276
23276
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
23277
23277
|
}
|
|
23278
23278
|
|
|
23279
|
-
// bazel-out/
|
|
23280
|
-
var VERSION2 = new Version("18.
|
|
23279
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
|
|
23280
|
+
var VERSION2 = new Version("18.2.0-next.0");
|
|
23281
23281
|
|
|
23282
|
-
// bazel-out/
|
|
23282
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
23283
23283
|
var _VisitorMode;
|
|
23284
23284
|
(function(_VisitorMode2) {
|
|
23285
23285
|
_VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
|
|
23286
23286
|
_VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
|
|
23287
23287
|
})(_VisitorMode || (_VisitorMode = {}));
|
|
23288
23288
|
|
|
23289
|
-
// bazel-out/
|
|
23289
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
23290
23290
|
var XmlTagDefinition = class {
|
|
23291
23291
|
constructor() {
|
|
23292
23292
|
this.closedByParent = false;
|
|
@@ -23308,7 +23308,7 @@ var XmlTagDefinition = class {
|
|
|
23308
23308
|
};
|
|
23309
23309
|
var _TAG_DEFINITION = new XmlTagDefinition();
|
|
23310
23310
|
|
|
23311
|
-
// bazel-out/
|
|
23311
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
23312
23312
|
var FactoryTarget2;
|
|
23313
23313
|
(function(FactoryTarget3) {
|
|
23314
23314
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -23318,10 +23318,10 @@ var FactoryTarget2;
|
|
|
23318
23318
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
23319
23319
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
23320
23320
|
|
|
23321
|
-
// bazel-out/
|
|
23321
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
23322
23322
|
publishFacade(_global);
|
|
23323
23323
|
|
|
23324
|
-
// bazel-out/
|
|
23324
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/identifier-lookup.mjs
|
|
23325
23325
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
23326
23326
|
function lookupIdentifiersInSourceFile(sourceFile, names) {
|
|
23327
23327
|
const results = /* @__PURE__ */ new Set();
|
|
@@ -23335,7 +23335,7 @@ function lookupIdentifiersInSourceFile(sourceFile, names) {
|
|
|
23335
23335
|
return results;
|
|
23336
23336
|
}
|
|
23337
23337
|
|
|
23338
|
-
// bazel-out/
|
|
23338
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/types.mjs
|
|
23339
23339
|
var ngtemplate = "ng-template";
|
|
23340
23340
|
var boundngifelse = "[ngIfElse]";
|
|
23341
23341
|
var boundngifthenelse = "[ngIfThenElse]";
|
|
@@ -23409,8 +23409,17 @@ var ElementToMigrate = class {
|
|
|
23409
23409
|
this.forAttrs = forAttrs;
|
|
23410
23410
|
this.aliasAttrs = aliasAttrs;
|
|
23411
23411
|
}
|
|
23412
|
+
normalizeConditionString(value) {
|
|
23413
|
+
value = this.insertSemicolon(value, value.indexOf(" else "));
|
|
23414
|
+
value = this.insertSemicolon(value, value.indexOf(" then "));
|
|
23415
|
+
value = this.insertSemicolon(value, value.indexOf(" let "));
|
|
23416
|
+
return value.replace(";;", ";");
|
|
23417
|
+
}
|
|
23418
|
+
insertSemicolon(str, ix) {
|
|
23419
|
+
return ix > -1 ? `${str.slice(0, ix)};${str.slice(ix)}` : str;
|
|
23420
|
+
}
|
|
23412
23421
|
getCondition() {
|
|
23413
|
-
const chunks = this.attr.value.split(";");
|
|
23422
|
+
const chunks = this.normalizeConditionString(this.attr.value).split(";");
|
|
23414
23423
|
let condition = chunks[0];
|
|
23415
23424
|
const elseIx = condition.indexOf(" else ");
|
|
23416
23425
|
const thenIx = condition.indexOf(" then ");
|
|
@@ -23663,7 +23672,7 @@ var TemplateCollector = class extends RecursiveVisitor {
|
|
|
23663
23672
|
}
|
|
23664
23673
|
};
|
|
23665
23674
|
|
|
23666
|
-
// bazel-out/
|
|
23675
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/util.mjs
|
|
23667
23676
|
var import_path2 = require("path");
|
|
23668
23677
|
var import_typescript6 = __toESM(require("typescript"), 1);
|
|
23669
23678
|
var startMarkerRegex = new RegExp(startMarker, "gm");
|
|
@@ -24183,7 +24192,7 @@ function forEachClass(sourceFile, callback) {
|
|
|
24183
24192
|
});
|
|
24184
24193
|
}
|
|
24185
24194
|
|
|
24186
|
-
// bazel-out/
|
|
24195
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/cases.mjs
|
|
24187
24196
|
var boundcase = "[ngSwitchCase]";
|
|
24188
24197
|
var switchcase = "*ngSwitchCase";
|
|
24189
24198
|
var nakedcase = "ngSwitchCase";
|
|
@@ -24255,7 +24264,7 @@ function migrateNgSwitchDefault(etm, tmpl, offset) {
|
|
|
24255
24264
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
24256
24265
|
}
|
|
24257
24266
|
|
|
24258
|
-
// bazel-out/
|
|
24267
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/fors.mjs
|
|
24259
24268
|
var ngfor = "*ngFor";
|
|
24260
24269
|
var nakedngfor2 = "ngFor";
|
|
24261
24270
|
var fors = [ngfor, nakedngfor2];
|
|
@@ -24434,7 +24443,7 @@ function getNgForParts(expression) {
|
|
|
24434
24443
|
return parts;
|
|
24435
24444
|
}
|
|
24436
24445
|
|
|
24437
|
-
// bazel-out/
|
|
24446
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/ifs.mjs
|
|
24438
24447
|
var ngif = "*ngIf";
|
|
24439
24448
|
var boundngif = "[ngIf]";
|
|
24440
24449
|
var nakedngif = "ngIf";
|
|
@@ -24583,7 +24592,7 @@ function buildIfThenBlock(etm, tmpl, condition, thenPlaceholder, offset) {
|
|
|
24583
24592
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
24584
24593
|
}
|
|
24585
24594
|
|
|
24586
|
-
// bazel-out/
|
|
24595
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/switches.mjs
|
|
24587
24596
|
var ngswitch = "[ngSwitch]";
|
|
24588
24597
|
var switches = [ngswitch];
|
|
24589
24598
|
function migrateSwitch(template2) {
|
|
@@ -24649,7 +24658,7 @@ function migrateNgSwitch(etm, tmpl, offset) {
|
|
|
24649
24658
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
24650
24659
|
}
|
|
24651
24660
|
|
|
24652
|
-
// bazel-out/
|
|
24661
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/migration.mjs
|
|
24653
24662
|
function migrateTemplate(template2, templateType, node, file, format = true, analyzedFiles) {
|
|
24654
24663
|
let errors = [];
|
|
24655
24664
|
let migrated = template2;
|
|
@@ -24700,7 +24709,7 @@ function migrateTemplate(template2, templateType, node, file, format = true, ana
|
|
|
24700
24709
|
return { migrated, errors };
|
|
24701
24710
|
}
|
|
24702
24711
|
|
|
24703
|
-
// bazel-out/
|
|
24712
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/index.mjs
|
|
24704
24713
|
function control_flow_migration_default(options) {
|
|
24705
24714
|
return (tree, context) => __async(this, null, function* () {
|
|
24706
24715
|
const basePath = process.cwd();
|