@angular/core 18.1.0-next.4 → 18.1.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/primitives/event-dispatch/index.mjs +3 -2
- package/esm2022/primitives/event-dispatch/src/action_resolver.mjs +3 -3
- package/esm2022/primitives/event-dispatch/src/attribute.mjs +16 -52
- package/esm2022/primitives/event-dispatch/src/cache.mjs +17 -6
- package/esm2022/primitives/event-dispatch/src/char.mjs +1 -16
- package/esm2022/primitives/event-dispatch/src/event.mjs +2 -3
- package/esm2022/primitives/event-dispatch/src/eventcontract.mjs +5 -66
- package/esm2022/primitives/event-dispatch/src/property.mjs +17 -22
- package/esm2022/primitives/signals/index.mjs +3 -3
- package/esm2022/primitives/signals/src/signal.mjs +4 -1
- package/esm2022/src/change_detection/scheduling/zoneless_scheduling_impl.mjs +2 -2
- package/esm2022/src/core_private_export.mjs +3 -1
- package/esm2022/src/event_delegation_utils.mjs +40 -23
- package/esm2022/src/event_dispatch/event_delegation.mjs +38 -0
- package/esm2022/src/hydration/annotate.mjs +3 -3
- package/esm2022/src/hydration/event_replay.mjs +5 -5
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +75 -30
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +53 -242
- package/fesm2022/primitives/event-dispatch.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +5 -2
- package/fesm2022/primitives/signals.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/index.d.ts +31 -2
- package/package.json +1 -1
- package/primitives/event-dispatch/index.d.ts +22 -102
- package/primitives/signals/index.d.ts +10 -1
- package/rxjs-interop/index.d.ts +1 -1
- 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 +184 -167
- package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +2 -2
- package/schematics/ng-generate/control-flow-migration/bundle.js +192 -175
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +2 -2
- package/schematics/ng-generate/standalone-migration/bundle.js +552 -471
- package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
- package/testing/index.d.ts +1 -1
- package/esm2022/primitives/event-dispatch/src/dom.mjs +0 -48
|
@@ -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";
|
|
@@ -1691,7 +1691,7 @@ function serializeTags(tags) {
|
|
|
1691
1691
|
return out;
|
|
1692
1692
|
}
|
|
1693
1693
|
|
|
1694
|
-
// bazel-out/
|
|
1694
|
+
// bazel-out/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
5655
5655
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
5656
5656
|
"inherit",
|
|
5657
5657
|
"initial",
|
|
@@ -6131,7 +6131,7 @@ function repeatGroups(groups, multiples) {
|
|
|
6131
6131
|
}
|
|
6132
6132
|
}
|
|
6133
6133
|
|
|
6134
|
-
// bazel-out/
|
|
6134
|
+
// bazel-out/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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
|
}
|
|
@@ -9424,7 +9424,8 @@ function getScopeForView(view, parent) {
|
|
|
9424
9424
|
scope.contextVariables.set(identifier, {
|
|
9425
9425
|
kind: SemanticVariableKind.Identifier,
|
|
9426
9426
|
name: null,
|
|
9427
|
-
identifier
|
|
9427
|
+
identifier,
|
|
9428
|
+
local: false
|
|
9428
9429
|
});
|
|
9429
9430
|
}
|
|
9430
9431
|
for (const op of view.create) {
|
|
@@ -9443,7 +9444,8 @@ function getScopeForView(view, parent) {
|
|
|
9443
9444
|
variable: {
|
|
9444
9445
|
kind: SemanticVariableKind.Identifier,
|
|
9445
9446
|
name: null,
|
|
9446
|
-
identifier: op.localRefs[offset].name
|
|
9447
|
+
identifier: op.localRefs[offset].name,
|
|
9448
|
+
local: false
|
|
9447
9449
|
}
|
|
9448
9450
|
});
|
|
9449
9451
|
}
|
|
@@ -9455,7 +9457,8 @@ function getScopeForView(view, parent) {
|
|
|
9455
9457
|
variable: {
|
|
9456
9458
|
kind: SemanticVariableKind.Identifier,
|
|
9457
9459
|
name: null,
|
|
9458
|
-
identifier: op.declaredName
|
|
9460
|
+
identifier: op.declaredName,
|
|
9461
|
+
local: false
|
|
9459
9462
|
}
|
|
9460
9463
|
});
|
|
9461
9464
|
break;
|
|
@@ -9491,7 +9494,7 @@ function generateVariablesInScopeForView(view, scope, isListener) {
|
|
|
9491
9494
|
return newOps;
|
|
9492
9495
|
}
|
|
9493
9496
|
|
|
9494
|
-
// bazel-out/
|
|
9497
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
9495
9498
|
function collectConstExpressions(job) {
|
|
9496
9499
|
for (const unit of job.units) {
|
|
9497
9500
|
for (const op of unit.ops()) {
|
|
@@ -9505,7 +9508,7 @@ function collectConstExpressions(job) {
|
|
|
9505
9508
|
}
|
|
9506
9509
|
}
|
|
9507
9510
|
|
|
9508
|
-
// bazel-out/
|
|
9511
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
9509
9512
|
var STYLE_DOT = "style.";
|
|
9510
9513
|
var CLASS_DOT = "class.";
|
|
9511
9514
|
var STYLE_BANG = "style!";
|
|
@@ -9563,7 +9566,7 @@ function parseProperty(name) {
|
|
|
9563
9566
|
return { property: property2, suffix };
|
|
9564
9567
|
}
|
|
9565
9568
|
|
|
9566
|
-
// bazel-out/
|
|
9569
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
9567
9570
|
function mapLiteral(obj, quoted = false) {
|
|
9568
9571
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
9569
9572
|
key,
|
|
@@ -9572,7 +9575,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
9572
9575
|
})));
|
|
9573
9576
|
}
|
|
9574
9577
|
|
|
9575
|
-
// bazel-out/
|
|
9578
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
9576
9579
|
var IcuSerializerVisitor = class {
|
|
9577
9580
|
visitText(text2) {
|
|
9578
9581
|
return text2.value;
|
|
@@ -9606,7 +9609,7 @@ function serializeIcuNode(icu) {
|
|
|
9606
9609
|
return icu.visit(serializer);
|
|
9607
9610
|
}
|
|
9608
9611
|
|
|
9609
|
-
// bazel-out/
|
|
9612
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
9610
9613
|
var TokenType;
|
|
9611
9614
|
(function(TokenType2) {
|
|
9612
9615
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -9967,7 +9970,7 @@ function parseIntAutoRadix(text2) {
|
|
|
9967
9970
|
return result;
|
|
9968
9971
|
}
|
|
9969
9972
|
|
|
9970
|
-
// bazel-out/
|
|
9973
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
9971
9974
|
var SplitInterpolation = class {
|
|
9972
9975
|
constructor(strings, expressions, offsets) {
|
|
9973
9976
|
this.strings = strings;
|
|
@@ -10851,7 +10854,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
10851
10854
|
return offsetMap;
|
|
10852
10855
|
}
|
|
10853
10856
|
|
|
10854
|
-
// bazel-out/
|
|
10857
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
10855
10858
|
var NodeWithI18n = class {
|
|
10856
10859
|
constructor(sourceSpan, i18n2) {
|
|
10857
10860
|
this.sourceSpan = sourceSpan;
|
|
@@ -11017,7 +11020,7 @@ var RecursiveVisitor = class {
|
|
|
11017
11020
|
}
|
|
11018
11021
|
};
|
|
11019
11022
|
|
|
11020
|
-
// bazel-out/
|
|
11023
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
11021
11024
|
var _SECURITY_SCHEMA;
|
|
11022
11025
|
function SECURITY_SCHEMA() {
|
|
11023
11026
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -11078,11 +11081,11 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
11078
11081
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
11079
11082
|
}
|
|
11080
11083
|
|
|
11081
|
-
// bazel-out/
|
|
11084
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
11082
11085
|
var ElementSchemaRegistry = class {
|
|
11083
11086
|
};
|
|
11084
11087
|
|
|
11085
|
-
// bazel-out/
|
|
11088
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
11086
11089
|
var BOOLEAN = "boolean";
|
|
11087
11090
|
var NUMBER = "number";
|
|
11088
11091
|
var STRING = "string";
|
|
@@ -11465,7 +11468,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
11465
11468
|
}
|
|
11466
11469
|
}
|
|
11467
11470
|
|
|
11468
|
-
// bazel-out/
|
|
11471
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
11469
11472
|
var HtmlTagDefinition = class {
|
|
11470
11473
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
11471
11474
|
this.closedByChildren = {};
|
|
@@ -11601,7 +11604,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
11601
11604
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
11602
11605
|
}
|
|
11603
11606
|
|
|
11604
|
-
// bazel-out/
|
|
11607
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
11605
11608
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
11606
11609
|
"A": "LINK",
|
|
11607
11610
|
"B": "BOLD_TEXT",
|
|
@@ -11723,7 +11726,7 @@ var PlaceholderRegistry = class {
|
|
|
11723
11726
|
}
|
|
11724
11727
|
};
|
|
11725
11728
|
|
|
11726
|
-
// bazel-out/
|
|
11729
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
11727
11730
|
var _expParser = new Parser(new Lexer());
|
|
11728
11731
|
function createI18nMessageFactory(interpolationConfig, containerBlocks) {
|
|
11729
11732
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
|
|
@@ -11905,14 +11908,14 @@ function extractPlaceholderName(input) {
|
|
|
11905
11908
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
11906
11909
|
}
|
|
11907
11910
|
|
|
11908
|
-
// bazel-out/
|
|
11911
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
11909
11912
|
var I18nError = class extends ParseError {
|
|
11910
11913
|
constructor(span, msg) {
|
|
11911
11914
|
super(span, msg);
|
|
11912
11915
|
}
|
|
11913
11916
|
};
|
|
11914
11917
|
|
|
11915
|
-
// bazel-out/
|
|
11918
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
11916
11919
|
var NAMED_ENTITIES = {
|
|
11917
11920
|
"AElig": "\xC6",
|
|
11918
11921
|
"AMP": "&",
|
|
@@ -14043,7 +14046,7 @@ var NAMED_ENTITIES = {
|
|
|
14043
14046
|
var NGSP_UNICODE = "\uE500";
|
|
14044
14047
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
14045
14048
|
|
|
14046
|
-
// bazel-out/
|
|
14049
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
14047
14050
|
var TokenError = class extends ParseError {
|
|
14048
14051
|
constructor(errorMsg, tokenType, span) {
|
|
14049
14052
|
super(span, errorMsg);
|
|
@@ -14255,7 +14258,7 @@ var _Tokenizer = class {
|
|
|
14255
14258
|
const nameCursor = this._cursor.clone();
|
|
14256
14259
|
let allowDigit = false;
|
|
14257
14260
|
this._attemptCharCodeUntilFn((code) => {
|
|
14258
|
-
if (isAsciiLetter(code) || code === $_ || allowDigit && isDigit(code)) {
|
|
14261
|
+
if (isAsciiLetter(code) || code == $$ || code === $_ || allowDigit && isDigit(code)) {
|
|
14259
14262
|
allowDigit = true;
|
|
14260
14263
|
return false;
|
|
14261
14264
|
}
|
|
@@ -15033,7 +15036,7 @@ var CursorError = class {
|
|
|
15033
15036
|
}
|
|
15034
15037
|
};
|
|
15035
15038
|
|
|
15036
|
-
// bazel-out/
|
|
15039
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
15037
15040
|
var TreeError = class extends ParseError {
|
|
15038
15041
|
static create(elementName, span, msg) {
|
|
15039
15042
|
return new TreeError(elementName, span, msg);
|
|
@@ -15461,7 +15464,7 @@ function decodeEntity(match, entity) {
|
|
|
15461
15464
|
return match;
|
|
15462
15465
|
}
|
|
15463
15466
|
|
|
15464
|
-
// bazel-out/
|
|
15467
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
15465
15468
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
15466
15469
|
"iframe|srcdoc",
|
|
15467
15470
|
"*|innerhtml",
|
|
@@ -15476,7 +15479,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
15476
15479
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
15477
15480
|
}
|
|
15478
15481
|
|
|
15479
|
-
// bazel-out/
|
|
15482
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
15480
15483
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
15481
15484
|
if (htmlNode instanceof NodeWithI18n) {
|
|
15482
15485
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -15636,7 +15639,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
15636
15639
|
return jsDocComment(tags);
|
|
15637
15640
|
}
|
|
15638
15641
|
|
|
15639
|
-
// bazel-out/
|
|
15642
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
15640
15643
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
15641
15644
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
15642
15645
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -15687,7 +15690,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
15687
15690
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
15688
15691
|
}
|
|
15689
15692
|
|
|
15690
|
-
// bazel-out/
|
|
15693
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
15691
15694
|
function createLocalizeStatements(variable2, message, params) {
|
|
15692
15695
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
15693
15696
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -15776,7 +15779,7 @@ function createEmptyMessagePart(location) {
|
|
|
15776
15779
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
15777
15780
|
}
|
|
15778
15781
|
|
|
15779
|
-
// bazel-out/
|
|
15782
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
15780
15783
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
15781
15784
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
15782
15785
|
var I18N_ICU_MAPPING_PREFIX = "I18N_EXP_";
|
|
@@ -15947,7 +15950,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
15947
15950
|
return variable(name);
|
|
15948
15951
|
}
|
|
15949
15952
|
|
|
15950
|
-
// bazel-out/
|
|
15953
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
15951
15954
|
function convertI18nText(job) {
|
|
15952
15955
|
var _a2, _b2, _c2;
|
|
15953
15956
|
for (const unit of job.units) {
|
|
@@ -16017,7 +16020,7 @@ function convertI18nText(job) {
|
|
|
16017
16020
|
}
|
|
16018
16021
|
}
|
|
16019
16022
|
|
|
16020
|
-
// bazel-out/
|
|
16023
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
16021
16024
|
function liftLocalRefs(job) {
|
|
16022
16025
|
for (const unit of job.units) {
|
|
16023
16026
|
for (const op of unit.create) {
|
|
@@ -16047,7 +16050,7 @@ function serializeLocalRefs(refs) {
|
|
|
16047
16050
|
return literalArr(constRefs);
|
|
16048
16051
|
}
|
|
16049
16052
|
|
|
16050
|
-
// bazel-out/
|
|
16053
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
16051
16054
|
function emitNamespaceChanges(job) {
|
|
16052
16055
|
for (const unit of job.units) {
|
|
16053
16056
|
let activeNamespace = Namespace.HTML;
|
|
@@ -16063,7 +16066,7 @@ function emitNamespaceChanges(job) {
|
|
|
16063
16066
|
}
|
|
16064
16067
|
}
|
|
16065
16068
|
|
|
16066
|
-
// bazel-out/
|
|
16069
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
16067
16070
|
function parse(value) {
|
|
16068
16071
|
const styles = [];
|
|
16069
16072
|
let i = 0;
|
|
@@ -16157,7 +16160,7 @@ function parseExtractedStyles(job) {
|
|
|
16157
16160
|
}
|
|
16158
16161
|
}
|
|
16159
16162
|
|
|
16160
|
-
// bazel-out/
|
|
16163
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
16161
16164
|
function nameFunctionsAndVariables(job) {
|
|
16162
16165
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
16163
16166
|
}
|
|
@@ -16301,7 +16304,7 @@ function stripImportant(name) {
|
|
|
16301
16304
|
return name;
|
|
16302
16305
|
}
|
|
16303
16306
|
|
|
16304
|
-
// bazel-out/
|
|
16307
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
16305
16308
|
function mergeNextContextExpressions(job) {
|
|
16306
16309
|
for (const unit of job.units) {
|
|
16307
16310
|
for (const op of unit.create) {
|
|
@@ -16348,7 +16351,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
16348
16351
|
}
|
|
16349
16352
|
}
|
|
16350
16353
|
|
|
16351
|
-
// bazel-out/
|
|
16354
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
16352
16355
|
var CONTAINER_TAG = "ng-container";
|
|
16353
16356
|
function generateNgContainerOps(job) {
|
|
16354
16357
|
for (const unit of job.units) {
|
|
@@ -16365,7 +16368,7 @@ function generateNgContainerOps(job) {
|
|
|
16365
16368
|
}
|
|
16366
16369
|
}
|
|
16367
16370
|
|
|
16368
|
-
// bazel-out/
|
|
16371
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
16369
16372
|
function lookupElement3(elements, xref) {
|
|
16370
16373
|
const el = elements.get(xref);
|
|
16371
16374
|
if (el === void 0) {
|
|
@@ -16395,7 +16398,7 @@ function disableBindings(job) {
|
|
|
16395
16398
|
}
|
|
16396
16399
|
}
|
|
16397
16400
|
|
|
16398
|
-
// bazel-out/
|
|
16401
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
16399
16402
|
function generateNullishCoalesceExpressions(job) {
|
|
16400
16403
|
for (const unit of job.units) {
|
|
16401
16404
|
for (const op of unit.ops()) {
|
|
@@ -16411,7 +16414,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
16411
16414
|
}
|
|
16412
16415
|
}
|
|
16413
16416
|
|
|
16414
|
-
// bazel-out/
|
|
16417
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
16415
16418
|
function kindTest(kind) {
|
|
16416
16419
|
return (op) => op.kind === kind;
|
|
16417
16420
|
}
|
|
@@ -16501,7 +16504,7 @@ function keepLast(ops) {
|
|
|
16501
16504
|
return ops.slice(ops.length - 1);
|
|
16502
16505
|
}
|
|
16503
16506
|
|
|
16504
|
-
// bazel-out/
|
|
16507
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
16505
16508
|
function removeContentSelectors(job) {
|
|
16506
16509
|
for (const unit of job.units) {
|
|
16507
16510
|
const elements = createOpXrefMap(unit);
|
|
@@ -16528,7 +16531,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
16528
16531
|
return el;
|
|
16529
16532
|
}
|
|
16530
16533
|
|
|
16531
|
-
// bazel-out/
|
|
16534
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
16532
16535
|
function createPipes(job) {
|
|
16533
16536
|
for (const unit of job.units) {
|
|
16534
16537
|
processPipeBindingsInView(unit);
|
|
@@ -16576,7 +16579,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
16576
16579
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
16577
16580
|
}
|
|
16578
16581
|
|
|
16579
|
-
// bazel-out/
|
|
16582
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
16580
16583
|
function createVariadicPipes(job) {
|
|
16581
16584
|
for (const unit of job.units) {
|
|
16582
16585
|
for (const op of unit.update) {
|
|
@@ -16593,7 +16596,7 @@ function createVariadicPipes(job) {
|
|
|
16593
16596
|
}
|
|
16594
16597
|
}
|
|
16595
16598
|
|
|
16596
|
-
// bazel-out/
|
|
16599
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
16597
16600
|
function propagateI18nBlocks(job) {
|
|
16598
16601
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
16599
16602
|
}
|
|
@@ -16647,7 +16650,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
16647
16650
|
}
|
|
16648
16651
|
}
|
|
16649
16652
|
|
|
16650
|
-
// bazel-out/
|
|
16653
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
16651
16654
|
function extractPureFunctions(job) {
|
|
16652
16655
|
for (const view of job.units) {
|
|
16653
16656
|
for (const op of view.ops()) {
|
|
@@ -16689,7 +16692,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
16689
16692
|
}
|
|
16690
16693
|
};
|
|
16691
16694
|
|
|
16692
|
-
// bazel-out/
|
|
16695
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
16693
16696
|
function generatePureLiteralStructures(job) {
|
|
16694
16697
|
for (const unit of job.units) {
|
|
16695
16698
|
for (const op of unit.update) {
|
|
@@ -16736,7 +16739,7 @@ function transformLiteralMap(expr) {
|
|
|
16736
16739
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
16737
16740
|
}
|
|
16738
16741
|
|
|
16739
|
-
// bazel-out/
|
|
16742
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
16740
16743
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
16741
16744
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
16742
16745
|
}
|
|
@@ -17268,7 +17271,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
17268
17271
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
17269
17272
|
}
|
|
17270
17273
|
|
|
17271
|
-
// bazel-out/
|
|
17274
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
17272
17275
|
var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
|
|
17273
17276
|
["window", Identifiers.resolveWindow],
|
|
17274
17277
|
["document", Identifiers.resolveDocument],
|
|
@@ -17633,7 +17636,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
17633
17636
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
17634
17637
|
}
|
|
17635
17638
|
|
|
17636
|
-
// bazel-out/
|
|
17639
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
17637
17640
|
function removeEmptyBindings(job) {
|
|
17638
17641
|
for (const unit of job.units) {
|
|
17639
17642
|
for (const op of unit.update) {
|
|
@@ -17654,7 +17657,7 @@ function removeEmptyBindings(job) {
|
|
|
17654
17657
|
}
|
|
17655
17658
|
}
|
|
17656
17659
|
|
|
17657
|
-
// bazel-out/
|
|
17660
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
17658
17661
|
function removeI18nContexts(job) {
|
|
17659
17662
|
for (const unit of job.units) {
|
|
17660
17663
|
for (const op of unit.create) {
|
|
@@ -17670,7 +17673,7 @@ function removeI18nContexts(job) {
|
|
|
17670
17673
|
}
|
|
17671
17674
|
}
|
|
17672
17675
|
|
|
17673
|
-
// bazel-out/
|
|
17676
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
|
|
17674
17677
|
function removeUnusedI18nAttributesOps(job) {
|
|
17675
17678
|
for (const unit of job.units) {
|
|
17676
17679
|
const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
|
|
@@ -17692,7 +17695,7 @@ function removeUnusedI18nAttributesOps(job) {
|
|
|
17692
17695
|
}
|
|
17693
17696
|
}
|
|
17694
17697
|
|
|
17695
|
-
// bazel-out/
|
|
17698
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
17696
17699
|
function resolveContexts(job) {
|
|
17697
17700
|
for (const unit of job.units) {
|
|
17698
17701
|
processLexicalScope(unit, unit.create);
|
|
@@ -17734,7 +17737,7 @@ function processLexicalScope(view, ops) {
|
|
|
17734
17737
|
}
|
|
17735
17738
|
}
|
|
17736
17739
|
|
|
17737
|
-
// bazel-out/
|
|
17740
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
17738
17741
|
function resolveDollarEvent(job) {
|
|
17739
17742
|
for (const unit of job.units) {
|
|
17740
17743
|
transformDollarEvent(unit.create);
|
|
@@ -17757,7 +17760,7 @@ function transformDollarEvent(ops) {
|
|
|
17757
17760
|
}
|
|
17758
17761
|
}
|
|
17759
17762
|
|
|
17760
|
-
// bazel-out/
|
|
17763
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
17761
17764
|
function resolveI18nElementPlaceholders(job) {
|
|
17762
17765
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
17763
17766
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -17936,7 +17939,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
17936
17939
|
params.set(placeholder, values);
|
|
17937
17940
|
}
|
|
17938
17941
|
|
|
17939
|
-
// bazel-out/
|
|
17942
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
17940
17943
|
function resolveI18nExpressionPlaceholders(job) {
|
|
17941
17944
|
var _a2;
|
|
17942
17945
|
const subTemplateIndices = /* @__PURE__ */ new Map();
|
|
@@ -17989,7 +17992,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
|
|
|
17989
17992
|
}
|
|
17990
17993
|
}
|
|
17991
17994
|
|
|
17992
|
-
// bazel-out/
|
|
17995
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
17993
17996
|
function resolveNames(job) {
|
|
17994
17997
|
for (const unit of job.units) {
|
|
17995
17998
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -17998,11 +18001,22 @@ function resolveNames(job) {
|
|
|
17998
18001
|
}
|
|
17999
18002
|
function processLexicalScope2(unit, ops, savedView) {
|
|
18000
18003
|
const scope = /* @__PURE__ */ new Map();
|
|
18004
|
+
const localDefinitions = /* @__PURE__ */ new Map();
|
|
18001
18005
|
for (const op of ops) {
|
|
18002
18006
|
switch (op.kind) {
|
|
18003
18007
|
case OpKind.Variable:
|
|
18004
18008
|
switch (op.variable.kind) {
|
|
18005
18009
|
case SemanticVariableKind.Identifier:
|
|
18010
|
+
if (op.variable.local) {
|
|
18011
|
+
if (localDefinitions.has(op.variable.identifier)) {
|
|
18012
|
+
continue;
|
|
18013
|
+
}
|
|
18014
|
+
localDefinitions.set(op.variable.identifier, op.xref);
|
|
18015
|
+
} else if (scope.has(op.variable.identifier)) {
|
|
18016
|
+
continue;
|
|
18017
|
+
}
|
|
18018
|
+
scope.set(op.variable.identifier, op.xref);
|
|
18019
|
+
break;
|
|
18006
18020
|
case SemanticVariableKind.Alias:
|
|
18007
18021
|
if (scope.has(op.variable.identifier)) {
|
|
18008
18022
|
continue;
|
|
@@ -18029,7 +18043,9 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
18029
18043
|
}
|
|
18030
18044
|
transformExpressionsInOp(op, (expr) => {
|
|
18031
18045
|
if (expr instanceof LexicalReadExpr) {
|
|
18032
|
-
if (
|
|
18046
|
+
if (localDefinitions.has(expr.name)) {
|
|
18047
|
+
return new ReadVariableExpr(localDefinitions.get(expr.name));
|
|
18048
|
+
} else if (scope.has(expr.name)) {
|
|
18033
18049
|
return new ReadVariableExpr(scope.get(expr.name));
|
|
18034
18050
|
} else {
|
|
18035
18051
|
return new ReadPropExpr(new ContextExpr(unit.job.root.xref), expr.name);
|
|
@@ -18054,7 +18070,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
18054
18070
|
}
|
|
18055
18071
|
}
|
|
18056
18072
|
|
|
18057
|
-
// bazel-out/
|
|
18073
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
18058
18074
|
var sanitizerFns = /* @__PURE__ */ new Map([
|
|
18059
18075
|
[SecurityContext.HTML, Identifiers.sanitizeHtml],
|
|
18060
18076
|
[SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
|
|
@@ -18124,7 +18140,7 @@ function getOnlySecurityContext(securityContext) {
|
|
|
18124
18140
|
return securityContext;
|
|
18125
18141
|
}
|
|
18126
18142
|
|
|
18127
|
-
// bazel-out/
|
|
18143
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
|
|
18128
18144
|
function transformTwoWayBindingSet(job) {
|
|
18129
18145
|
for (const unit of job.units) {
|
|
18130
18146
|
for (const op of unit.create) {
|
|
@@ -18147,7 +18163,7 @@ function transformTwoWayBindingSet(job) {
|
|
|
18147
18163
|
}
|
|
18148
18164
|
}
|
|
18149
18165
|
|
|
18150
|
-
// bazel-out/
|
|
18166
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
18151
18167
|
function saveAndRestoreView(job) {
|
|
18152
18168
|
for (const unit of job.units) {
|
|
18153
18169
|
unit.create.prepend([
|
|
@@ -18192,7 +18208,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
18192
18208
|
}
|
|
18193
18209
|
}
|
|
18194
18210
|
|
|
18195
|
-
// bazel-out/
|
|
18211
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
18196
18212
|
function allocateSlots(job) {
|
|
18197
18213
|
const slotMap = /* @__PURE__ */ new Map();
|
|
18198
18214
|
for (const unit of job.units) {
|
|
@@ -18217,7 +18233,7 @@ function allocateSlots(job) {
|
|
|
18217
18233
|
}
|
|
18218
18234
|
}
|
|
18219
18235
|
|
|
18220
|
-
// bazel-out/
|
|
18236
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
18221
18237
|
function specializeStyleBindings(job) {
|
|
18222
18238
|
for (const unit of job.units) {
|
|
18223
18239
|
for (const op of unit.update) {
|
|
@@ -18247,7 +18263,7 @@ function specializeStyleBindings(job) {
|
|
|
18247
18263
|
}
|
|
18248
18264
|
}
|
|
18249
18265
|
|
|
18250
|
-
// bazel-out/
|
|
18266
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
18251
18267
|
function generateTemporaryVariables(job) {
|
|
18252
18268
|
for (const unit of job.units) {
|
|
18253
18269
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -18305,7 +18321,7 @@ function assignName(names, expr) {
|
|
|
18305
18321
|
expr.name = name;
|
|
18306
18322
|
}
|
|
18307
18323
|
|
|
18308
|
-
// bazel-out/
|
|
18324
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
18309
18325
|
function generateTrackFns(job) {
|
|
18310
18326
|
for (const unit of job.units) {
|
|
18311
18327
|
for (const op of unit.create) {
|
|
@@ -18338,7 +18354,7 @@ function generateTrackFns(job) {
|
|
|
18338
18354
|
}
|
|
18339
18355
|
}
|
|
18340
18356
|
|
|
18341
|
-
// bazel-out/
|
|
18357
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
18342
18358
|
function optimizeTrackFns(job) {
|
|
18343
18359
|
for (const unit of job.units) {
|
|
18344
18360
|
for (const op of unit.create) {
|
|
@@ -18388,7 +18404,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
18388
18404
|
return true;
|
|
18389
18405
|
}
|
|
18390
18406
|
|
|
18391
|
-
// bazel-out/
|
|
18407
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
18392
18408
|
function generateTrackVariables(job) {
|
|
18393
18409
|
for (const unit of job.units) {
|
|
18394
18410
|
for (const op of unit.create) {
|
|
@@ -18409,7 +18425,7 @@ function generateTrackVariables(job) {
|
|
|
18409
18425
|
}
|
|
18410
18426
|
}
|
|
18411
18427
|
|
|
18412
|
-
// bazel-out/
|
|
18428
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
18413
18429
|
function countVariables(job) {
|
|
18414
18430
|
for (const unit of job.units) {
|
|
18415
18431
|
let varCount = 0;
|
|
@@ -18522,7 +18538,7 @@ function isSingletonInterpolation(expr) {
|
|
|
18522
18538
|
return true;
|
|
18523
18539
|
}
|
|
18524
18540
|
|
|
18525
|
-
// bazel-out/
|
|
18541
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
18526
18542
|
function optimizeVariables(job) {
|
|
18527
18543
|
for (const unit of job.units) {
|
|
18528
18544
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -18774,7 +18790,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
18774
18790
|
}
|
|
18775
18791
|
}
|
|
18776
18792
|
|
|
18777
|
-
// bazel-out/
|
|
18793
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
18778
18794
|
function wrapI18nIcus(job) {
|
|
18779
18795
|
for (const unit of job.units) {
|
|
18780
18796
|
let currentI18nOp = null;
|
|
@@ -18804,7 +18820,7 @@ function wrapI18nIcus(job) {
|
|
|
18804
18820
|
}
|
|
18805
18821
|
}
|
|
18806
18822
|
|
|
18807
|
-
// bazel-out/
|
|
18823
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/store_let_optimization.mjs
|
|
18808
18824
|
function optimizeStoreLet(job) {
|
|
18809
18825
|
const letUsedExternally = /* @__PURE__ */ new Set();
|
|
18810
18826
|
for (const unit of job.units) {
|
|
@@ -18823,7 +18839,7 @@ function optimizeStoreLet(job) {
|
|
|
18823
18839
|
}
|
|
18824
18840
|
}
|
|
18825
18841
|
|
|
18826
|
-
// bazel-out/
|
|
18842
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_illegal_let_references.mjs
|
|
18827
18843
|
function removeIllegalLetReferences(job) {
|
|
18828
18844
|
for (const unit of job.units) {
|
|
18829
18845
|
for (const op of unit.update) {
|
|
@@ -18840,7 +18856,7 @@ function removeIllegalLetReferences(job) {
|
|
|
18840
18856
|
}
|
|
18841
18857
|
}
|
|
18842
18858
|
|
|
18843
|
-
// bazel-out/
|
|
18859
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_local_let_references.mjs
|
|
18844
18860
|
function generateLocalLetReferences(job) {
|
|
18845
18861
|
for (const unit of job.units) {
|
|
18846
18862
|
for (const op of unit.update) {
|
|
@@ -18850,14 +18866,15 @@ function generateLocalLetReferences(job) {
|
|
|
18850
18866
|
const variable2 = {
|
|
18851
18867
|
kind: SemanticVariableKind.Identifier,
|
|
18852
18868
|
name: null,
|
|
18853
|
-
identifier: op.declaredName
|
|
18869
|
+
identifier: op.declaredName,
|
|
18870
|
+
local: true
|
|
18854
18871
|
};
|
|
18855
18872
|
OpList.replace(op, createVariableOp(job.allocateXrefId(), variable2, new StoreLetExpr(op.target, op.value, op.sourceSpan), VariableFlags.None));
|
|
18856
18873
|
}
|
|
18857
18874
|
}
|
|
18858
18875
|
}
|
|
18859
18876
|
|
|
18860
|
-
// bazel-out/
|
|
18877
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
18861
18878
|
var phases = [
|
|
18862
18879
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
18863
18880
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -19014,7 +19031,7 @@ function emitHostBindingFunction(job) {
|
|
|
19014
19031
|
);
|
|
19015
19032
|
}
|
|
19016
19033
|
|
|
19017
|
-
// bazel-out/
|
|
19034
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
19018
19035
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
19019
19036
|
var domSchema = new DomElementSchemaRegistry();
|
|
19020
19037
|
var NG_TEMPLATE_TAG_NAME = "ng-template";
|
|
@@ -19772,7 +19789,7 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
19772
19789
|
return null;
|
|
19773
19790
|
}
|
|
19774
19791
|
|
|
19775
|
-
// bazel-out/
|
|
19792
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
|
|
19776
19793
|
function renderFlagCheckIfStmt(flags, statements) {
|
|
19777
19794
|
return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
|
|
19778
19795
|
}
|
|
@@ -19892,7 +19909,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
|
|
|
19892
19909
|
], INFERRED_TYPE, null, contentQueriesFnName);
|
|
19893
19910
|
}
|
|
19894
19911
|
|
|
19895
|
-
// bazel-out/
|
|
19912
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
19896
19913
|
var HtmlParser = class extends Parser2 {
|
|
19897
19914
|
constructor() {
|
|
19898
19915
|
super(getHtmlTagDefinition);
|
|
@@ -19902,7 +19919,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
19902
19919
|
}
|
|
19903
19920
|
};
|
|
19904
19921
|
|
|
19905
|
-
// bazel-out/
|
|
19922
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
19906
19923
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
19907
19924
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
19908
19925
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -19971,7 +19988,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
19971
19988
|
return result;
|
|
19972
19989
|
}
|
|
19973
19990
|
|
|
19974
|
-
// bazel-out/
|
|
19991
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
19975
19992
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
19976
19993
|
var ATTRIBUTE_PREFIX = "attr";
|
|
19977
19994
|
var CLASS_PREFIX = "class";
|
|
@@ -20325,7 +20342,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
20325
20342
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
20326
20343
|
}
|
|
20327
20344
|
|
|
20328
|
-
// bazel-out/
|
|
20345
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
20329
20346
|
function isStyleUrlResolvable(url) {
|
|
20330
20347
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
20331
20348
|
return false;
|
|
@@ -20334,7 +20351,7 @@ function isStyleUrlResolvable(url) {
|
|
|
20334
20351
|
}
|
|
20335
20352
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
20336
20353
|
|
|
20337
|
-
// bazel-out/
|
|
20354
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
20338
20355
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
20339
20356
|
var LINK_ELEMENT = "link";
|
|
20340
20357
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -20404,7 +20421,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
20404
20421
|
return selectAttr;
|
|
20405
20422
|
}
|
|
20406
20423
|
|
|
20407
|
-
// bazel-out/
|
|
20424
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
20408
20425
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
20409
20426
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
20410
20427
|
var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
|
|
@@ -20727,7 +20744,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
20727
20744
|
return expression.slice(start, end);
|
|
20728
20745
|
}
|
|
20729
20746
|
|
|
20730
|
-
// bazel-out/
|
|
20747
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
20731
20748
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
20732
20749
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
20733
20750
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -20991,7 +21008,7 @@ function parseDeferredTime(value) {
|
|
|
20991
21008
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
20992
21009
|
}
|
|
20993
21010
|
|
|
20994
|
-
// bazel-out/
|
|
21011
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
20995
21012
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
20996
21013
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
20997
21014
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -21126,7 +21143,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
21126
21143
|
return { triggers, prefetchTriggers };
|
|
21127
21144
|
}
|
|
21128
21145
|
|
|
21129
|
-
// bazel-out/
|
|
21146
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
21130
21147
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
21131
21148
|
var KW_BIND_IDX = 1;
|
|
21132
21149
|
var KW_LET_IDX = 2;
|
|
@@ -21593,7 +21610,7 @@ function textContents(node) {
|
|
|
21593
21610
|
}
|
|
21594
21611
|
}
|
|
21595
21612
|
|
|
21596
|
-
// bazel-out/
|
|
21613
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
21597
21614
|
var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
|
|
21598
21615
|
function parseTemplate(template2, templateUrl, options = {}) {
|
|
21599
21616
|
var _a2, _b2;
|
|
@@ -21672,7 +21689,7 @@ function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, a
|
|
|
21672
21689
|
return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, [], allowInvalidAssignmentEvents);
|
|
21673
21690
|
}
|
|
21674
21691
|
|
|
21675
|
-
// bazel-out/
|
|
21692
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
21676
21693
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
21677
21694
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
21678
21695
|
var CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
|
|
@@ -22039,7 +22056,7 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
22039
22056
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
22040
22057
|
}
|
|
22041
22058
|
|
|
22042
|
-
// bazel-out/
|
|
22059
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
22043
22060
|
var R3TargetBinder = class {
|
|
22044
22061
|
constructor(directiveMatcher) {
|
|
22045
22062
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -22686,11 +22703,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
22686
22703
|
return templateEntities;
|
|
22687
22704
|
}
|
|
22688
22705
|
|
|
22689
|
-
// bazel-out/
|
|
22706
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
22690
22707
|
var ResourceLoader = class {
|
|
22691
22708
|
};
|
|
22692
22709
|
|
|
22693
|
-
// bazel-out/
|
|
22710
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
22694
22711
|
var CompilerFacadeImpl = class {
|
|
22695
22712
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
22696
22713
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -23259,17 +23276,17 @@ function publishFacade(global) {
|
|
|
23259
23276
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
23260
23277
|
}
|
|
23261
23278
|
|
|
23262
|
-
// bazel-out/
|
|
23263
|
-
var VERSION2 = new Version("18.1.0-
|
|
23279
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
|
|
23280
|
+
var VERSION2 = new Version("18.1.0-rc.0");
|
|
23264
23281
|
|
|
23265
|
-
// bazel-out/
|
|
23282
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
23266
23283
|
var _VisitorMode;
|
|
23267
23284
|
(function(_VisitorMode2) {
|
|
23268
23285
|
_VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
|
|
23269
23286
|
_VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
|
|
23270
23287
|
})(_VisitorMode || (_VisitorMode = {}));
|
|
23271
23288
|
|
|
23272
|
-
// bazel-out/
|
|
23289
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
23273
23290
|
var XmlTagDefinition = class {
|
|
23274
23291
|
constructor() {
|
|
23275
23292
|
this.closedByParent = false;
|
|
@@ -23291,7 +23308,7 @@ var XmlTagDefinition = class {
|
|
|
23291
23308
|
};
|
|
23292
23309
|
var _TAG_DEFINITION = new XmlTagDefinition();
|
|
23293
23310
|
|
|
23294
|
-
// bazel-out/
|
|
23311
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
23295
23312
|
var FactoryTarget2;
|
|
23296
23313
|
(function(FactoryTarget3) {
|
|
23297
23314
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -23301,10 +23318,10 @@ var FactoryTarget2;
|
|
|
23301
23318
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
23302
23319
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
23303
23320
|
|
|
23304
|
-
// bazel-out/
|
|
23321
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
23305
23322
|
publishFacade(_global);
|
|
23306
23323
|
|
|
23307
|
-
// bazel-out/
|
|
23324
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/identifier-lookup.mjs
|
|
23308
23325
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
23309
23326
|
function lookupIdentifiersInSourceFile(sourceFile, names) {
|
|
23310
23327
|
const results = /* @__PURE__ */ new Set();
|
|
@@ -23318,7 +23335,7 @@ function lookupIdentifiersInSourceFile(sourceFile, names) {
|
|
|
23318
23335
|
return results;
|
|
23319
23336
|
}
|
|
23320
23337
|
|
|
23321
|
-
// bazel-out/
|
|
23338
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/types.mjs
|
|
23322
23339
|
var ngtemplate = "ng-template";
|
|
23323
23340
|
var boundngifelse = "[ngIfElse]";
|
|
23324
23341
|
var boundngifthenelse = "[ngIfThenElse]";
|
|
@@ -23646,7 +23663,7 @@ var TemplateCollector = class extends RecursiveVisitor {
|
|
|
23646
23663
|
}
|
|
23647
23664
|
};
|
|
23648
23665
|
|
|
23649
|
-
// bazel-out/
|
|
23666
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/util.mjs
|
|
23650
23667
|
var import_path2 = require("path");
|
|
23651
23668
|
var import_typescript6 = __toESM(require("typescript"), 1);
|
|
23652
23669
|
var startMarkerRegex = new RegExp(startMarker, "gm");
|
|
@@ -24166,7 +24183,7 @@ function forEachClass(sourceFile, callback) {
|
|
|
24166
24183
|
});
|
|
24167
24184
|
}
|
|
24168
24185
|
|
|
24169
|
-
// bazel-out/
|
|
24186
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/cases.mjs
|
|
24170
24187
|
var boundcase = "[ngSwitchCase]";
|
|
24171
24188
|
var switchcase = "*ngSwitchCase";
|
|
24172
24189
|
var nakedcase = "ngSwitchCase";
|
|
@@ -24238,7 +24255,7 @@ function migrateNgSwitchDefault(etm, tmpl, offset) {
|
|
|
24238
24255
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
24239
24256
|
}
|
|
24240
24257
|
|
|
24241
|
-
// bazel-out/
|
|
24258
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/fors.mjs
|
|
24242
24259
|
var ngfor = "*ngFor";
|
|
24243
24260
|
var nakedngfor2 = "ngFor";
|
|
24244
24261
|
var fors = [ngfor, nakedngfor2];
|
|
@@ -24417,7 +24434,7 @@ function getNgForParts(expression) {
|
|
|
24417
24434
|
return parts;
|
|
24418
24435
|
}
|
|
24419
24436
|
|
|
24420
|
-
// bazel-out/
|
|
24437
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/ifs.mjs
|
|
24421
24438
|
var ngif = "*ngIf";
|
|
24422
24439
|
var boundngif = "[ngIf]";
|
|
24423
24440
|
var nakedngif = "ngIf";
|
|
@@ -24566,7 +24583,7 @@ function buildIfThenBlock(etm, tmpl, condition, thenPlaceholder, offset) {
|
|
|
24566
24583
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
24567
24584
|
}
|
|
24568
24585
|
|
|
24569
|
-
// bazel-out/
|
|
24586
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/switches.mjs
|
|
24570
24587
|
var ngswitch = "[ngSwitch]";
|
|
24571
24588
|
var switches = [ngswitch];
|
|
24572
24589
|
function migrateSwitch(template2) {
|
|
@@ -24632,7 +24649,7 @@ function migrateNgSwitch(etm, tmpl, offset) {
|
|
|
24632
24649
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
24633
24650
|
}
|
|
24634
24651
|
|
|
24635
|
-
// bazel-out/
|
|
24652
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/migration.mjs
|
|
24636
24653
|
function migrateTemplate(template2, templateType, node, file, format = true, analyzedFiles) {
|
|
24637
24654
|
let errors = [];
|
|
24638
24655
|
let migrated = template2;
|
|
@@ -24683,7 +24700,7 @@ function migrateTemplate(template2, templateType, node, file, format = true, ana
|
|
|
24683
24700
|
return { migrated, errors };
|
|
24684
24701
|
}
|
|
24685
24702
|
|
|
24686
|
-
// bazel-out/
|
|
24703
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/index.mjs
|
|
24687
24704
|
function control_flow_migration_default(options) {
|
|
24688
24705
|
return (tree, context) => __async(this, null, function* () {
|
|
24689
24706
|
const basePath = process.cwd();
|