@angular/core 18.2.6 → 18.2.8
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/LICENSE +21 -0
- package/esm2022/src/core_private_export.mjs +2 -3
- package/esm2022/src/core_reactivity_export_internal.mjs +2 -1
- package/esm2022/src/event_delegation_utils.mjs +2 -57
- package/esm2022/src/hydration/event_replay.mjs +3 -7
- package/esm2022/src/hydration/tokens.mjs +1 -5
- package/esm2022/src/image_performance_warning.mjs +25 -7
- package/esm2022/src/linker/view_ref.mjs +1 -1
- package/esm2022/src/platform/bootstrap.mjs +8 -4
- package/esm2022/src/platform/platform_ref.mjs +6 -2
- package/esm2022/src/render3/after_render/hooks.mjs +3 -2
- package/esm2022/src/render3/after_render/manager.mjs +6 -3
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/render3/view_ref.mjs +1 -1
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/application_error_handler.mjs +3 -3
- package/esm2022/testing/src/component_fixture.mjs +1 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +50 -111
- 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 +1 -1
- package/fesm2022/testing.mjs +4 -4
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +38 -63
- 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 +1 -1
- package/schematics/migrations/after-render-phase/bundle.js +330 -288
- package/schematics/migrations/http-providers/bundle.js +333 -291
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +224 -182
- package/schematics/ng-generate/control-flow-migration/bundle.js +333 -291
- package/schematics/ng-generate/inject-migration/bundle.js +344 -295
- package/schematics/ng-generate/route-lazy-loading/bundle.js +332 -290
- package/schematics/ng-generate/standalone-migration/bundle.js +523 -476
- package/testing/index.d.ts +3 -1
- package/esm2022/src/event_dispatch/event_delegation.mjs +0 -43
|
@@ -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/migrations/invalid-two-way-bindings/index.mjs
|
|
67
67
|
var invalid_two_way_bindings_exports = {};
|
|
68
68
|
__export(invalid_two_way_bindings_exports, {
|
|
69
69
|
default: () => invalid_two_way_bindings_default
|
|
@@ -72,7 +72,7 @@ module.exports = __toCommonJS(invalid_two_way_bindings_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/project_tsconfig_paths.mjs
|
|
76
76
|
var import_core = require("@angular-devkit/core");
|
|
77
77
|
function getProjectTsConfigPaths(tree) {
|
|
78
78
|
return __async(this, null, function* () {
|
|
@@ -152,11 +152,11 @@ function getWorkspace(tree) {
|
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
// bazel-out/
|
|
155
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
156
156
|
var import_path = require("path");
|
|
157
157
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
158
158
|
|
|
159
|
-
// bazel-out/
|
|
159
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
160
160
|
var path = __toESM(require("path"), 1);
|
|
161
161
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
162
162
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -173,7 +173,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
173
173
|
return import_typescript.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
// bazel-out/
|
|
176
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
177
177
|
function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
|
|
178
178
|
const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
|
|
179
179
|
return import_typescript2.default.createProgram(rootNames, options, host);
|
|
@@ -206,7 +206,7 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
206
206
|
return !(0, import_path.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
// bazel-out/
|
|
209
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/invalid-two-way-bindings/analysis.mjs
|
|
210
210
|
var import_path2 = require("path");
|
|
211
211
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
212
212
|
var AnalyzedFile = class {
|
|
@@ -266,7 +266,7 @@ function forEachClass(sourceFile, callback) {
|
|
|
266
266
|
});
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
-
// bazel-out/
|
|
269
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/selector.mjs
|
|
270
270
|
var _SELECTOR_REGEXP = new RegExp(
|
|
271
271
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
272
272
|
"g"
|
|
@@ -574,7 +574,7 @@ var SelectorContext = class {
|
|
|
574
574
|
}
|
|
575
575
|
};
|
|
576
576
|
|
|
577
|
-
// bazel-out/
|
|
577
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/core.mjs
|
|
578
578
|
var ViewEncapsulation;
|
|
579
579
|
(function(ViewEncapsulation2) {
|
|
580
580
|
ViewEncapsulation2[ViewEncapsulation2["Emulated"] = 0] = "Emulated";
|
|
@@ -642,7 +642,7 @@ function parseSelectorToR3Selector(selector) {
|
|
|
642
642
|
return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
|
|
643
643
|
}
|
|
644
644
|
|
|
645
|
-
// bazel-out/
|
|
645
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
|
|
646
646
|
var textEncoder;
|
|
647
647
|
function computeDigest(message) {
|
|
648
648
|
return sha1(serializeNodes(message.nodes).join("") + `[${message.meaning}]`);
|
|
@@ -889,7 +889,7 @@ function wordAt(bytes, index, endian) {
|
|
|
889
889
|
return word;
|
|
890
890
|
}
|
|
891
891
|
|
|
892
|
-
// bazel-out/
|
|
892
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
893
893
|
var TypeModifier;
|
|
894
894
|
(function(TypeModifier2) {
|
|
895
895
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -1827,7 +1827,7 @@ function serializeTags(tags) {
|
|
|
1827
1827
|
return out;
|
|
1828
1828
|
}
|
|
1829
1829
|
|
|
1830
|
-
// bazel-out/
|
|
1830
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
1831
1831
|
var CONSTANT_PREFIX = "_c";
|
|
1832
1832
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
1833
1833
|
var KEY_CONTEXT = {};
|
|
@@ -2015,7 +2015,7 @@ function isLongStringLiteral(expr) {
|
|
|
2015
2015
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
2016
2016
|
}
|
|
2017
2017
|
|
|
2018
|
-
// bazel-out/
|
|
2018
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
2019
2019
|
var CORE = "@angular/core";
|
|
2020
2020
|
var _Identifiers = class {
|
|
2021
2021
|
};
|
|
@@ -2912,7 +2912,7 @@ var Identifiers = _Identifiers;
|
|
|
2912
2912
|
_Identifiers.unwrapWritableSignal = { name: "\u0275unwrapWritableSignal", moduleName: CORE };
|
|
2913
2913
|
})();
|
|
2914
2914
|
|
|
2915
|
-
// bazel-out/
|
|
2915
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
|
|
2916
2916
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
2917
2917
|
function dashCaseToCamelCase(input) {
|
|
2918
2918
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -2989,7 +2989,7 @@ var Version = class {
|
|
|
2989
2989
|
};
|
|
2990
2990
|
var _global = globalThis;
|
|
2991
2991
|
|
|
2992
|
-
// bazel-out/
|
|
2992
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
2993
2993
|
var VERSION = 3;
|
|
2994
2994
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
2995
2995
|
var SourceMapGenerator = class {
|
|
@@ -3118,7 +3118,7 @@ function toBase64Digit(value) {
|
|
|
3118
3118
|
return B64_DIGITS[value];
|
|
3119
3119
|
}
|
|
3120
3120
|
|
|
3121
|
-
// bazel-out/
|
|
3121
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
3122
3122
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
3123
3123
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
3124
3124
|
var _INDENT_WITH = " ";
|
|
@@ -3606,7 +3606,7 @@ function _createIndent(count) {
|
|
|
3606
3606
|
return res;
|
|
3607
3607
|
}
|
|
3608
3608
|
|
|
3609
|
-
// bazel-out/
|
|
3609
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
3610
3610
|
function typeWithParameters(type, numParams) {
|
|
3611
3611
|
if (numParams === 0) {
|
|
3612
3612
|
return expressionType(type);
|
|
@@ -3661,7 +3661,7 @@ function generateForwardRef(expr) {
|
|
|
3661
3661
|
return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
|
|
3662
3662
|
}
|
|
3663
3663
|
|
|
3664
|
-
// bazel-out/
|
|
3664
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
3665
3665
|
var R3FactoryDelegateType;
|
|
3666
3666
|
(function(R3FactoryDelegateType2) {
|
|
3667
3667
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -3806,7 +3806,7 @@ function getInjectFn(target) {
|
|
|
3806
3806
|
}
|
|
3807
3807
|
}
|
|
3808
3808
|
|
|
3809
|
-
// bazel-out/
|
|
3809
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
3810
3810
|
var ParserError = class {
|
|
3811
3811
|
constructor(message, input, errLocation, ctxLocation) {
|
|
3812
3812
|
this.input = input;
|
|
@@ -4244,7 +4244,7 @@ var BoundElementProperty = class {
|
|
|
4244
4244
|
}
|
|
4245
4245
|
};
|
|
4246
4246
|
|
|
4247
|
-
// bazel-out/
|
|
4247
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
4248
4248
|
var TagContentType;
|
|
4249
4249
|
(function(TagContentType2) {
|
|
4250
4250
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -4281,7 +4281,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
4281
4281
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
4282
4282
|
}
|
|
4283
4283
|
|
|
4284
|
-
// bazel-out/
|
|
4284
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
4285
4285
|
var Comment = class {
|
|
4286
4286
|
constructor(value, sourceSpan) {
|
|
4287
4287
|
this.value = value;
|
|
@@ -4751,7 +4751,7 @@ function visitAll(visitor, nodes) {
|
|
|
4751
4751
|
return result;
|
|
4752
4752
|
}
|
|
4753
4753
|
|
|
4754
|
-
// bazel-out/
|
|
4754
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
4755
4755
|
var Message = class {
|
|
4756
4756
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
4757
4757
|
this.nodes = nodes;
|
|
@@ -4891,7 +4891,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
4891
4891
|
}
|
|
4892
4892
|
};
|
|
4893
4893
|
|
|
4894
|
-
// bazel-out/
|
|
4894
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
4895
4895
|
var _Visitor = class {
|
|
4896
4896
|
visitTag(tag) {
|
|
4897
4897
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -4919,12 +4919,12 @@ ${doctype.dtd}
|
|
|
4919
4919
|
};
|
|
4920
4920
|
var _visitor = new _Visitor();
|
|
4921
4921
|
|
|
4922
|
-
// bazel-out/
|
|
4922
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
4923
4923
|
function toPublicName(internalName) {
|
|
4924
4924
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
4925
4925
|
}
|
|
4926
4926
|
|
|
4927
|
-
// bazel-out/
|
|
4927
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
4928
4928
|
var I18N_ATTR = "i18n";
|
|
4929
4929
|
var I18N_ATTR_PREFIX = "i18n-";
|
|
4930
4930
|
var I18N_ICU_VAR_PREFIX = "VAR_";
|
|
@@ -4964,7 +4964,7 @@ function formatI18nPlaceholderName(name, useCamelCase = true) {
|
|
|
4964
4964
|
return postfix ? `${raw}_${postfix}` : raw;
|
|
4965
4965
|
}
|
|
4966
4966
|
|
|
4967
|
-
// bazel-out/
|
|
4967
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
4968
4968
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
4969
4969
|
var TEMPORARY_NAME = "_t";
|
|
4970
4970
|
var CONTEXT_NAME = "ctx";
|
|
@@ -5091,7 +5091,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
|
|
|
5091
5091
|
return attributesMap;
|
|
5092
5092
|
}
|
|
5093
5093
|
|
|
5094
|
-
// bazel-out/
|
|
5094
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
5095
5095
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
5096
5096
|
let result = null;
|
|
5097
5097
|
const factoryMeta = {
|
|
@@ -5179,7 +5179,7 @@ function createFactoryFunction(type) {
|
|
|
5179
5179
|
return arrowFn([t], type.prop("\u0275fac").callFn([variable(t.name)]));
|
|
5180
5180
|
}
|
|
5181
5181
|
|
|
5182
|
-
// bazel-out/
|
|
5182
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
5183
5183
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
5184
5184
|
/@/,
|
|
5185
5185
|
/^\s*$/,
|
|
@@ -5202,7 +5202,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
5202
5202
|
}
|
|
5203
5203
|
}
|
|
5204
5204
|
|
|
5205
|
-
// bazel-out/
|
|
5205
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
|
|
5206
5206
|
var InterpolationConfig = class {
|
|
5207
5207
|
static fromArray(markers) {
|
|
5208
5208
|
if (!markers) {
|
|
@@ -5219,7 +5219,7 @@ var InterpolationConfig = class {
|
|
|
5219
5219
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
5220
5220
|
var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
|
|
5221
5221
|
|
|
5222
|
-
// bazel-out/
|
|
5222
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
5223
5223
|
var $EOF = 0;
|
|
5224
5224
|
var $BSPACE = 8;
|
|
5225
5225
|
var $TAB = 9;
|
|
@@ -5301,7 +5301,7 @@ function isQuote(code) {
|
|
|
5301
5301
|
return code === $SQ || code === $DQ || code === $BT;
|
|
5302
5302
|
}
|
|
5303
5303
|
|
|
5304
|
-
// bazel-out/
|
|
5304
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
5305
5305
|
var ParseLocation = class {
|
|
5306
5306
|
constructor(file, offset, line, col) {
|
|
5307
5307
|
this.file = file;
|
|
@@ -5448,7 +5448,7 @@ function sanitizeIdentifier(name) {
|
|
|
5448
5448
|
return name.replace(/\W/g, "_");
|
|
5449
5449
|
}
|
|
5450
5450
|
|
|
5451
|
-
// bazel-out/
|
|
5451
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
5452
5452
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
5453
5453
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
5454
5454
|
constructor() {
|
|
@@ -5541,7 +5541,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
5541
5541
|
}
|
|
5542
5542
|
};
|
|
5543
5543
|
|
|
5544
|
-
// bazel-out/
|
|
5544
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
5545
5545
|
var policy;
|
|
5546
5546
|
function getPolicy() {
|
|
5547
5547
|
if (policy === void 0) {
|
|
@@ -5579,7 +5579,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
5579
5579
|
return fn2.bind(_global);
|
|
5580
5580
|
}
|
|
5581
5581
|
|
|
5582
|
-
// bazel-out/
|
|
5582
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
5583
5583
|
var JitEvaluator = class {
|
|
5584
5584
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
5585
5585
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -5667,7 +5667,7 @@ function isUseStrictStatement(statement) {
|
|
|
5667
5667
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
5668
5668
|
}
|
|
5669
5669
|
|
|
5670
|
-
// bazel-out/
|
|
5670
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
5671
5671
|
function compileInjector(meta) {
|
|
5672
5672
|
const definitionMap = new DefinitionMap();
|
|
5673
5673
|
if (meta.providers !== null) {
|
|
@@ -5684,7 +5684,7 @@ function createInjectorType(meta) {
|
|
|
5684
5684
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
5685
5685
|
}
|
|
5686
5686
|
|
|
5687
|
-
// bazel-out/
|
|
5687
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
5688
5688
|
var R3JitReflector = class {
|
|
5689
5689
|
constructor(context) {
|
|
5690
5690
|
this.context = context;
|
|
@@ -5700,7 +5700,7 @@ var R3JitReflector = class {
|
|
|
5700
5700
|
}
|
|
5701
5701
|
};
|
|
5702
5702
|
|
|
5703
|
-
// bazel-out/
|
|
5703
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
5704
5704
|
var R3SelectorScopeMode;
|
|
5705
5705
|
(function(R3SelectorScopeMode2) {
|
|
5706
5706
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -5835,7 +5835,7 @@ function tupleOfTypes(types) {
|
|
|
5835
5835
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
5836
5836
|
}
|
|
5837
5837
|
|
|
5838
|
-
// bazel-out/
|
|
5838
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
5839
5839
|
function compilePipeFromMetadata(metadata) {
|
|
5840
5840
|
const definitionMapValues = [];
|
|
5841
5841
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -5856,7 +5856,7 @@ function createPipeType(metadata) {
|
|
|
5856
5856
|
]));
|
|
5857
5857
|
}
|
|
5858
5858
|
|
|
5859
|
-
// bazel-out/
|
|
5859
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
5860
5860
|
var R3TemplateDependencyKind;
|
|
5861
5861
|
(function(R3TemplateDependencyKind2) {
|
|
5862
5862
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -5864,7 +5864,7 @@ var R3TemplateDependencyKind;
|
|
|
5864
5864
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
5865
5865
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
5866
5866
|
|
|
5867
|
-
// bazel-out/
|
|
5867
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
5868
5868
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
5869
5869
|
"inherit",
|
|
5870
5870
|
"initial",
|
|
@@ -6010,7 +6010,7 @@ var ShadowCss = class {
|
|
|
6010
6010
|
});
|
|
6011
6011
|
}
|
|
6012
6012
|
_convertColonHostContext(cssText) {
|
|
6013
|
-
return cssText.replace(_cssColonHostContextReGlobal, (selectorText) => {
|
|
6013
|
+
return cssText.replace(_cssColonHostContextReGlobal, (selectorText, pseudoPrefix) => {
|
|
6014
6014
|
var _a2;
|
|
6015
6015
|
const contextSelectorGroups = [[]];
|
|
6016
6016
|
let match;
|
|
@@ -6025,7 +6025,7 @@ var ShadowCss = class {
|
|
|
6025
6025
|
}
|
|
6026
6026
|
selectorText = match[2];
|
|
6027
6027
|
}
|
|
6028
|
-
return contextSelectorGroups.map((contextSelectors) =>
|
|
6028
|
+
return contextSelectorGroups.map((contextSelectors) => _combineHostContextSelectors(contextSelectors, selectorText, pseudoPrefix)).join(", ");
|
|
6029
6029
|
});
|
|
6030
6030
|
}
|
|
6031
6031
|
_convertShadowDOMSelectors(cssText) {
|
|
@@ -6036,7 +6036,12 @@ var ShadowCss = class {
|
|
|
6036
6036
|
let selector = rule.selector;
|
|
6037
6037
|
let content = rule.content;
|
|
6038
6038
|
if (rule.selector[0] !== "@") {
|
|
6039
|
-
selector = this._scopeSelector(
|
|
6039
|
+
selector = this._scopeSelector({
|
|
6040
|
+
selector,
|
|
6041
|
+
scopeSelector,
|
|
6042
|
+
hostSelector,
|
|
6043
|
+
isParentSelector: true
|
|
6044
|
+
});
|
|
6040
6045
|
} else if (scopedAtRuleIdentifiers.some((atRule) => rule.selector.startsWith(atRule))) {
|
|
6041
6046
|
content = this._scopeSelectors(rule.content, scopeSelector, hostSelector);
|
|
6042
6047
|
} else if (rule.selector.startsWith("@font-face") || rule.selector.startsWith("@page")) {
|
|
@@ -6051,12 +6056,18 @@ var ShadowCss = class {
|
|
|
6051
6056
|
return new CssRule(selector, rule.content);
|
|
6052
6057
|
});
|
|
6053
6058
|
}
|
|
6054
|
-
_scopeSelector(selector, scopeSelector, hostSelector) {
|
|
6055
|
-
|
|
6059
|
+
_scopeSelector({ selector, scopeSelector, hostSelector, isParentSelector = false }) {
|
|
6060
|
+
const selectorSplitRe = / ?,(?!(?:[^)(]*(?:\([^)(]*(?:\([^)(]*(?:\([^)(]*\)[^)(]*)*\)[^)(]*)*\)[^)(]*)*\))) ?/;
|
|
6061
|
+
return selector.split(selectorSplitRe).map((part) => part.split(_shadowDeepSelectors)).map((deepParts) => {
|
|
6056
6062
|
const [shallowPart, ...otherParts] = deepParts;
|
|
6057
6063
|
const applyScope = (shallowPart2) => {
|
|
6058
6064
|
if (this._selectorNeedsScoping(shallowPart2, scopeSelector)) {
|
|
6059
|
-
return this._applySelectorScope(
|
|
6065
|
+
return this._applySelectorScope({
|
|
6066
|
+
selector: shallowPart2,
|
|
6067
|
+
scopeSelector,
|
|
6068
|
+
hostSelector,
|
|
6069
|
+
isParentSelector
|
|
6070
|
+
});
|
|
6060
6071
|
} else {
|
|
6061
6072
|
return shallowPart2;
|
|
6062
6073
|
}
|
|
@@ -6078,15 +6089,15 @@ var ShadowCss = class {
|
|
|
6078
6089
|
_polyfillHostRe.lastIndex = 0;
|
|
6079
6090
|
if (_polyfillHostRe.test(selector)) {
|
|
6080
6091
|
const replaceBy = `[${hostSelector}]`;
|
|
6081
|
-
return selector.replace(
|
|
6082
|
-
return selector2.replace(/([
|
|
6092
|
+
return selector.replace(_polyfillHostNoCombinatorReGlobal, (_hnc, selector2) => {
|
|
6093
|
+
return selector2.replace(/([^:\)]*)(:*)(.*)/, (_, before, colon, after) => {
|
|
6083
6094
|
return before + replaceBy + colon + after;
|
|
6084
6095
|
});
|
|
6085
6096
|
}).replace(_polyfillHostRe, replaceBy + " ");
|
|
6086
6097
|
}
|
|
6087
6098
|
return scopeSelector + " " + selector;
|
|
6088
6099
|
}
|
|
6089
|
-
_applySelectorScope(selector, scopeSelector, hostSelector) {
|
|
6100
|
+
_applySelectorScope({ selector, scopeSelector, hostSelector, isParentSelector }) {
|
|
6090
6101
|
var _a2;
|
|
6091
6102
|
const isRe = /\[is=([^\]]*)\]/g;
|
|
6092
6103
|
scopeSelector = scopeSelector.replace(isRe, (_, ...parts) => parts[0]);
|
|
@@ -6098,6 +6109,10 @@ var ShadowCss = class {
|
|
|
6098
6109
|
}
|
|
6099
6110
|
if (p.includes(_polyfillHostNoCombinator)) {
|
|
6100
6111
|
scopedP = this._applySimpleSelectorScope(p, scopeSelector, hostSelector);
|
|
6112
|
+
if (_polyfillHostNoCombinatorWithinPseudoFunction.test(p)) {
|
|
6113
|
+
const [_, before, colon, after] = scopedP.match(/([^:]*)(:*)(.*)/);
|
|
6114
|
+
scopedP = before + attrName + colon + after;
|
|
6115
|
+
}
|
|
6101
6116
|
} else {
|
|
6102
6117
|
const t = p.replace(_polyfillHostRe, "");
|
|
6103
6118
|
if (t.length > 0) {
|
|
@@ -6109,29 +6124,52 @@ var ShadowCss = class {
|
|
|
6109
6124
|
}
|
|
6110
6125
|
return scopedP;
|
|
6111
6126
|
};
|
|
6112
|
-
const
|
|
6113
|
-
|
|
6127
|
+
const _pseudoFunctionAwareScopeSelectorPart = (selectorPart) => {
|
|
6128
|
+
let scopedPart = "";
|
|
6129
|
+
const cssPrefixWithPseudoSelectorFunctionMatch = selectorPart.match(_cssPrefixWithPseudoSelectorFunction);
|
|
6130
|
+
if (cssPrefixWithPseudoSelectorFunctionMatch) {
|
|
6131
|
+
const [cssPseudoSelectorFunction] = cssPrefixWithPseudoSelectorFunctionMatch;
|
|
6132
|
+
const selectorToScope = selectorPart.slice(cssPseudoSelectorFunction.length, -1);
|
|
6133
|
+
if (selectorToScope.includes(_polyfillHostNoCombinator)) {
|
|
6134
|
+
this._shouldScopeIndicator = true;
|
|
6135
|
+
}
|
|
6136
|
+
const scopedInnerPart = this._scopeSelector({
|
|
6137
|
+
selector: selectorToScope,
|
|
6138
|
+
scopeSelector,
|
|
6139
|
+
hostSelector
|
|
6140
|
+
});
|
|
6141
|
+
scopedPart = `${cssPseudoSelectorFunction}${scopedInnerPart})`;
|
|
6142
|
+
} else {
|
|
6143
|
+
this._shouldScopeIndicator = this._shouldScopeIndicator || selectorPart.includes(_polyfillHostNoCombinator);
|
|
6144
|
+
scopedPart = this._shouldScopeIndicator ? _scopeSelectorPart(selectorPart) : selectorPart;
|
|
6145
|
+
}
|
|
6146
|
+
return scopedPart;
|
|
6147
|
+
};
|
|
6148
|
+
if (isParentSelector) {
|
|
6149
|
+
this._safeSelector = new SafeSelector(selector);
|
|
6150
|
+
selector = this._safeSelector.content();
|
|
6151
|
+
}
|
|
6114
6152
|
let scopedSelector = "";
|
|
6115
6153
|
let startIndex = 0;
|
|
6116
6154
|
let res;
|
|
6117
|
-
const sep = /( |>|\+|~(?!=))\s*/g;
|
|
6155
|
+
const sep = /( |>|\+|~(?!=))(?!([^)(]*(?:\([^)(]*(?:\([^)(]*(?:\([^)(]*\)[^)(]*)*\)[^)(]*)*\)[^)(]*)*\)))\s*/g;
|
|
6118
6156
|
const hasHost = selector.includes(_polyfillHostNoCombinator);
|
|
6119
|
-
|
|
6157
|
+
if (isParentSelector || this._shouldScopeIndicator) {
|
|
6158
|
+
this._shouldScopeIndicator = !hasHost;
|
|
6159
|
+
}
|
|
6120
6160
|
while ((res = sep.exec(selector)) !== null) {
|
|
6121
6161
|
const separator = res[1];
|
|
6122
6162
|
const part2 = selector.slice(startIndex, res.index);
|
|
6123
6163
|
if (part2.match(/__esc-ph-(\d+)__/) && ((_a2 = selector[res.index + 1]) == null ? void 0 : _a2.match(/[a-fA-F\d]/))) {
|
|
6124
6164
|
continue;
|
|
6125
6165
|
}
|
|
6126
|
-
|
|
6127
|
-
const scopedPart = shouldScope ? _scopeSelectorPart(part2) : part2;
|
|
6166
|
+
const scopedPart = _pseudoFunctionAwareScopeSelectorPart(part2);
|
|
6128
6167
|
scopedSelector += `${scopedPart} ${separator} `;
|
|
6129
6168
|
startIndex = sep.lastIndex;
|
|
6130
6169
|
}
|
|
6131
6170
|
const part = selector.substring(startIndex);
|
|
6132
|
-
|
|
6133
|
-
|
|
6134
|
-
return safeContent.restore(scopedSelector);
|
|
6171
|
+
scopedSelector += _pseudoFunctionAwareScopeSelectorPart(part);
|
|
6172
|
+
return this._safeSelector.restore(scopedSelector);
|
|
6135
6173
|
}
|
|
6136
6174
|
_insertPolyfillHostInCssText(selector) {
|
|
6137
6175
|
return selector.replace(_colonHostContextRe, _polyfillHostContext).replace(_colonHostRe, _polyfillHost);
|
|
@@ -6170,6 +6208,8 @@ var SafeSelector = class {
|
|
|
6170
6208
|
});
|
|
6171
6209
|
}
|
|
6172
6210
|
};
|
|
6211
|
+
var _cssScopedPseudoFunctionPrefix = "(:(where|is)\\()?";
|
|
6212
|
+
var _cssPrefixWithPseudoSelectorFunction = /^:(where|is)\(/i;
|
|
6173
6213
|
var _cssContentNextSelectorRe = /polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim;
|
|
6174
6214
|
var _cssContentRuleRe = /(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim;
|
|
6175
6215
|
var _cssContentUnscopedRuleRe = /(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim;
|
|
@@ -6177,10 +6217,12 @@ var _polyfillHost = "-shadowcsshost";
|
|
|
6177
6217
|
var _polyfillHostContext = "-shadowcsscontext";
|
|
6178
6218
|
var _parenSuffix = "(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";
|
|
6179
6219
|
var _cssColonHostRe = new RegExp(_polyfillHost + _parenSuffix, "gim");
|
|
6180
|
-
var _cssColonHostContextReGlobal = new RegExp(_polyfillHostContext + _parenSuffix, "gim");
|
|
6220
|
+
var _cssColonHostContextReGlobal = new RegExp(_cssScopedPseudoFunctionPrefix + "(" + _polyfillHostContext + _parenSuffix + ")", "gim");
|
|
6181
6221
|
var _cssColonHostContextRe = new RegExp(_polyfillHostContext + _parenSuffix, "im");
|
|
6182
6222
|
var _polyfillHostNoCombinator = _polyfillHost + "-no-combinator";
|
|
6223
|
+
var _polyfillHostNoCombinatorWithinPseudoFunction = new RegExp(`:.*\\(.*${_polyfillHostNoCombinator}.*\\)`);
|
|
6183
6224
|
var _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
|
|
6225
|
+
var _polyfillHostNoCombinatorReGlobal = new RegExp(_polyfillHostNoCombinatorRe, "g");
|
|
6184
6226
|
var _shadowDOMSelectorsRe = [
|
|
6185
6227
|
/::shadow/g,
|
|
6186
6228
|
/::content/g,
|
|
@@ -6315,7 +6357,7 @@ function unescapeInStrings(input) {
|
|
|
6315
6357
|
function unescapeQuotes(str, isQuoted) {
|
|
6316
6358
|
return !isQuoted ? str : str.replace(/((?:^|[^\\])(?:\\\\)*)\\(?=['"])/g, "$1");
|
|
6317
6359
|
}
|
|
6318
|
-
function
|
|
6360
|
+
function _combineHostContextSelectors(contextSelectors, otherSelectors, pseudoPrefix = "") {
|
|
6319
6361
|
const hostMarker = _polyfillHostNoCombinator;
|
|
6320
6362
|
_polyfillHostRe.lastIndex = 0;
|
|
6321
6363
|
const otherSelectorsHasHost = _polyfillHostRe.test(otherSelectors);
|
|
@@ -6333,7 +6375,7 @@ function combineHostContextSelectors(contextSelectors, otherSelectors) {
|
|
|
6333
6375
|
combined[i] = contextSelector + previousSelectors;
|
|
6334
6376
|
}
|
|
6335
6377
|
}
|
|
6336
|
-
return combined.map((s) => otherSelectorsHasHost ? `${s}${otherSelectors}` : `${s}${hostMarker}${otherSelectors}, ${s} ${hostMarker}${otherSelectors}`).join(",");
|
|
6378
|
+
return combined.map((s) => otherSelectorsHasHost ? `${pseudoPrefix}${s}${otherSelectors}` : `${pseudoPrefix}${s}${hostMarker}${otherSelectors}, ${pseudoPrefix}${s} ${hostMarker}${otherSelectors}`).join(",");
|
|
6337
6379
|
}
|
|
6338
6380
|
function repeatGroups(groups, multiples) {
|
|
6339
6381
|
const length = groups.length;
|
|
@@ -6344,7 +6386,7 @@ function repeatGroups(groups, multiples) {
|
|
|
6344
6386
|
}
|
|
6345
6387
|
}
|
|
6346
6388
|
|
|
6347
|
-
// bazel-out/
|
|
6389
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
6348
6390
|
var OpKind;
|
|
6349
6391
|
(function(OpKind2) {
|
|
6350
6392
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -6502,7 +6544,7 @@ var TemplateKind;
|
|
|
6502
6544
|
TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
|
|
6503
6545
|
})(TemplateKind || (TemplateKind = {}));
|
|
6504
6546
|
|
|
6505
|
-
// bazel-out/
|
|
6547
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
6506
6548
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
6507
6549
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
6508
6550
|
var ConsumesVarsTrait = Symbol("ConsumesVars");
|
|
@@ -6530,7 +6572,7 @@ function hasUsesVarOffsetTrait(expr) {
|
|
|
6530
6572
|
return expr[UsesVarOffset] === true;
|
|
6531
6573
|
}
|
|
6532
6574
|
|
|
6533
|
-
// bazel-out/
|
|
6575
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
6534
6576
|
function createStatementOp(statement) {
|
|
6535
6577
|
return __spreadValues({
|
|
6536
6578
|
kind: OpKind.Statement,
|
|
@@ -6552,7 +6594,7 @@ var NEW_OP = {
|
|
|
6552
6594
|
next: null
|
|
6553
6595
|
};
|
|
6554
6596
|
|
|
6555
|
-
// bazel-out/
|
|
6597
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
6556
6598
|
function createInterpolateTextOp(xref, interpolation, sourceSpan) {
|
|
6557
6599
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
6558
6600
|
kind: OpKind.InterpolateText,
|
|
@@ -6741,7 +6783,7 @@ function createStoreLetOp(target, declaredName, value, sourceSpan) {
|
|
|
6741
6783
|
}, TRAIT_DEPENDS_ON_SLOT_CONTEXT), TRAIT_CONSUMES_VARS), NEW_OP);
|
|
6742
6784
|
}
|
|
6743
6785
|
|
|
6744
|
-
// bazel-out/
|
|
6786
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
6745
6787
|
var _a;
|
|
6746
6788
|
var _b;
|
|
6747
6789
|
var _c;
|
|
@@ -7659,7 +7701,7 @@ function isStringLiteral(expr) {
|
|
|
7659
7701
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
7660
7702
|
}
|
|
7661
7703
|
|
|
7662
|
-
// bazel-out/
|
|
7704
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
7663
7705
|
var _OpList = class {
|
|
7664
7706
|
constructor() {
|
|
7665
7707
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -7850,14 +7892,14 @@ var OpList = _OpList;
|
|
|
7850
7892
|
_OpList.nextListId = 0;
|
|
7851
7893
|
})();
|
|
7852
7894
|
|
|
7853
|
-
// bazel-out/
|
|
7895
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
7854
7896
|
var SlotHandle = class {
|
|
7855
7897
|
constructor() {
|
|
7856
7898
|
this.slot = null;
|
|
7857
7899
|
}
|
|
7858
7900
|
};
|
|
7859
7901
|
|
|
7860
|
-
// bazel-out/
|
|
7902
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
7861
7903
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
7862
7904
|
OpKind.Element,
|
|
7863
7905
|
OpKind.ElementStart,
|
|
@@ -8170,7 +8212,7 @@ function createI18nAttributesOp(xref, handle, target) {
|
|
|
8170
8212
|
}, NEW_OP), TRAIT_CONSUMES_SLOT);
|
|
8171
8213
|
}
|
|
8172
8214
|
|
|
8173
|
-
// bazel-out/
|
|
8215
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
8174
8216
|
function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
|
|
8175
8217
|
return __spreadValues(__spreadValues({
|
|
8176
8218
|
kind: OpKind.HostProperty,
|
|
@@ -8184,10 +8226,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
|
|
|
8184
8226
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
8185
8227
|
}
|
|
8186
8228
|
|
|
8187
|
-
// bazel-out/
|
|
8229
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
8188
8230
|
var CTX_REF = "CTX_REF_MARKER";
|
|
8189
8231
|
|
|
8190
|
-
// bazel-out/
|
|
8232
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
8191
8233
|
var CompilationJobKind;
|
|
8192
8234
|
(function(CompilationJobKind2) {
|
|
8193
8235
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -8295,7 +8337,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
8295
8337
|
}
|
|
8296
8338
|
};
|
|
8297
8339
|
|
|
8298
|
-
// bazel-out/
|
|
8340
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
8299
8341
|
function deleteAnyCasts(job) {
|
|
8300
8342
|
for (const unit of job.units) {
|
|
8301
8343
|
for (const op of unit.ops()) {
|
|
@@ -8313,7 +8355,7 @@ function removeAnys(e) {
|
|
|
8313
8355
|
return e;
|
|
8314
8356
|
}
|
|
8315
8357
|
|
|
8316
|
-
// bazel-out/
|
|
8358
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
8317
8359
|
function applyI18nExpressions(job) {
|
|
8318
8360
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
8319
8361
|
for (const unit of job.units) {
|
|
@@ -8356,7 +8398,7 @@ function needsApplication(i18nContexts, op) {
|
|
|
8356
8398
|
return false;
|
|
8357
8399
|
}
|
|
8358
8400
|
|
|
8359
|
-
// bazel-out/
|
|
8401
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
8360
8402
|
function assignI18nSlotDependencies(job) {
|
|
8361
8403
|
for (const unit of job.units) {
|
|
8362
8404
|
let updateOp = unit.update.head;
|
|
@@ -8401,7 +8443,7 @@ function assignI18nSlotDependencies(job) {
|
|
|
8401
8443
|
}
|
|
8402
8444
|
}
|
|
8403
8445
|
|
|
8404
|
-
// bazel-out/
|
|
8446
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
8405
8447
|
function createOpXrefMap(unit) {
|
|
8406
8448
|
const map = /* @__PURE__ */ new Map();
|
|
8407
8449
|
for (const op of unit.create) {
|
|
@@ -8416,7 +8458,7 @@ function createOpXrefMap(unit) {
|
|
|
8416
8458
|
return map;
|
|
8417
8459
|
}
|
|
8418
8460
|
|
|
8419
|
-
// bazel-out/
|
|
8461
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
8420
8462
|
function extractAttributes(job) {
|
|
8421
8463
|
for (const unit of job.units) {
|
|
8422
8464
|
const elements = createOpXrefMap(unit);
|
|
@@ -8545,7 +8587,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
8545
8587
|
}
|
|
8546
8588
|
}
|
|
8547
8589
|
|
|
8548
|
-
// bazel-out/
|
|
8590
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
8549
8591
|
function lookupElement2(elements, xref) {
|
|
8550
8592
|
const el = elements.get(xref);
|
|
8551
8593
|
if (el === void 0) {
|
|
@@ -8602,7 +8644,7 @@ function specializeBindings(job) {
|
|
|
8602
8644
|
}
|
|
8603
8645
|
}
|
|
8604
8646
|
|
|
8605
|
-
// bazel-out/
|
|
8647
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
8606
8648
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
8607
8649
|
Identifiers.attribute,
|
|
8608
8650
|
Identifiers.classProp,
|
|
@@ -8674,7 +8716,7 @@ function chainOperationsInList(opList) {
|
|
|
8674
8716
|
}
|
|
8675
8717
|
}
|
|
8676
8718
|
|
|
8677
|
-
// bazel-out/
|
|
8719
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
8678
8720
|
function collapseSingletonInterpolations(job) {
|
|
8679
8721
|
for (const unit of job.units) {
|
|
8680
8722
|
for (const op of unit.update) {
|
|
@@ -8686,7 +8728,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
8686
8728
|
}
|
|
8687
8729
|
}
|
|
8688
8730
|
|
|
8689
|
-
// bazel-out/
|
|
8731
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
8690
8732
|
function generateConditionalExpressions(job) {
|
|
8691
8733
|
for (const unit of job.units) {
|
|
8692
8734
|
for (const op of unit.ops()) {
|
|
@@ -8723,7 +8765,7 @@ function generateConditionalExpressions(job) {
|
|
|
8723
8765
|
}
|
|
8724
8766
|
}
|
|
8725
8767
|
|
|
8726
|
-
// bazel-out/
|
|
8768
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
8727
8769
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
8728
8770
|
["&&", BinaryOperator.And],
|
|
8729
8771
|
[">", BinaryOperator.Bigger],
|
|
@@ -8780,7 +8822,7 @@ function literalOrArrayLiteral(value) {
|
|
|
8780
8822
|
return literal(value);
|
|
8781
8823
|
}
|
|
8782
8824
|
|
|
8783
|
-
// bazel-out/
|
|
8825
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
8784
8826
|
function collectElementConsts(job) {
|
|
8785
8827
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
8786
8828
|
for (const unit of job.units) {
|
|
@@ -8949,7 +8991,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
8949
8991
|
return literalArr(attrArray);
|
|
8950
8992
|
}
|
|
8951
8993
|
|
|
8952
|
-
// bazel-out/
|
|
8994
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
|
|
8953
8995
|
function convertI18nBindings(job) {
|
|
8954
8996
|
const i18nAttributesByElem = /* @__PURE__ */ new Map();
|
|
8955
8997
|
for (const unit of job.units) {
|
|
@@ -8990,7 +9032,7 @@ function convertI18nBindings(job) {
|
|
|
8990
9032
|
}
|
|
8991
9033
|
}
|
|
8992
9034
|
|
|
8993
|
-
// bazel-out/
|
|
9035
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
|
|
8994
9036
|
function resolveDeferDepsFns(job) {
|
|
8995
9037
|
var _a2;
|
|
8996
9038
|
for (const unit of job.units) {
|
|
@@ -9015,7 +9057,7 @@ function resolveDeferDepsFns(job) {
|
|
|
9015
9057
|
}
|
|
9016
9058
|
}
|
|
9017
9059
|
|
|
9018
|
-
// bazel-out/
|
|
9060
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
9019
9061
|
function createI18nContexts(job) {
|
|
9020
9062
|
const attrContextByMessage = /* @__PURE__ */ new Map();
|
|
9021
9063
|
for (const unit of job.units) {
|
|
@@ -9093,7 +9135,7 @@ function createI18nContexts(job) {
|
|
|
9093
9135
|
}
|
|
9094
9136
|
}
|
|
9095
9137
|
|
|
9096
|
-
// bazel-out/
|
|
9138
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
|
|
9097
9139
|
function deduplicateTextBindings(job) {
|
|
9098
9140
|
const seen = /* @__PURE__ */ new Map();
|
|
9099
9141
|
for (const unit of job.units) {
|
|
@@ -9115,7 +9157,7 @@ function deduplicateTextBindings(job) {
|
|
|
9115
9157
|
}
|
|
9116
9158
|
}
|
|
9117
9159
|
|
|
9118
|
-
// bazel-out/
|
|
9160
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
9119
9161
|
function configureDeferInstructions(job) {
|
|
9120
9162
|
for (const unit of job.units) {
|
|
9121
9163
|
for (const op of unit.create) {
|
|
@@ -9132,7 +9174,7 @@ function configureDeferInstructions(job) {
|
|
|
9132
9174
|
}
|
|
9133
9175
|
}
|
|
9134
9176
|
|
|
9135
|
-
// bazel-out/
|
|
9177
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
9136
9178
|
function resolveDeferTargetNames(job) {
|
|
9137
9179
|
const scopes = /* @__PURE__ */ new Map();
|
|
9138
9180
|
function getScopeForView2(view) {
|
|
@@ -9226,7 +9268,7 @@ var Scope = class {
|
|
|
9226
9268
|
}
|
|
9227
9269
|
};
|
|
9228
9270
|
|
|
9229
|
-
// bazel-out/
|
|
9271
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
9230
9272
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
9231
9273
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
9232
9274
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -9253,7 +9295,7 @@ function collapseEmptyInstructions(job) {
|
|
|
9253
9295
|
}
|
|
9254
9296
|
}
|
|
9255
9297
|
|
|
9256
|
-
// bazel-out/
|
|
9298
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
9257
9299
|
function expandSafeReads(job) {
|
|
9258
9300
|
for (const unit of job.units) {
|
|
9259
9301
|
for (const op of unit.ops()) {
|
|
@@ -9389,7 +9431,7 @@ function ternaryTransform(e) {
|
|
|
9389
9431
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
9390
9432
|
}
|
|
9391
9433
|
|
|
9392
|
-
// bazel-out/
|
|
9434
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
9393
9435
|
var ESCAPE = "\uFFFD";
|
|
9394
9436
|
var ELEMENT_MARKER = "#";
|
|
9395
9437
|
var TEMPLATE_MARKER = "*";
|
|
@@ -9525,7 +9567,7 @@ function formatValue(value) {
|
|
|
9525
9567
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
9526
9568
|
}
|
|
9527
9569
|
|
|
9528
|
-
// bazel-out/
|
|
9570
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
9529
9571
|
function generateAdvance(job) {
|
|
9530
9572
|
for (const unit of job.units) {
|
|
9531
9573
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -9568,7 +9610,7 @@ function generateAdvance(job) {
|
|
|
9568
9610
|
}
|
|
9569
9611
|
}
|
|
9570
9612
|
|
|
9571
|
-
// bazel-out/
|
|
9613
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
9572
9614
|
function generateProjectionDefs(job) {
|
|
9573
9615
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
9574
9616
|
const selectors = [];
|
|
@@ -9592,7 +9634,7 @@ function generateProjectionDefs(job) {
|
|
|
9592
9634
|
}
|
|
9593
9635
|
}
|
|
9594
9636
|
|
|
9595
|
-
// bazel-out/
|
|
9637
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
9596
9638
|
function generateVariables(job) {
|
|
9597
9639
|
recursivelyProcessView(job.root, null);
|
|
9598
9640
|
}
|
|
@@ -9710,7 +9752,7 @@ function generateVariablesInScopeForView(view, scope, isListener) {
|
|
|
9710
9752
|
return newOps;
|
|
9711
9753
|
}
|
|
9712
9754
|
|
|
9713
|
-
// bazel-out/
|
|
9755
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
9714
9756
|
function collectConstExpressions(job) {
|
|
9715
9757
|
for (const unit of job.units) {
|
|
9716
9758
|
for (const op of unit.ops()) {
|
|
@@ -9724,7 +9766,7 @@ function collectConstExpressions(job) {
|
|
|
9724
9766
|
}
|
|
9725
9767
|
}
|
|
9726
9768
|
|
|
9727
|
-
// bazel-out/
|
|
9769
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
9728
9770
|
var STYLE_DOT = "style.";
|
|
9729
9771
|
var CLASS_DOT = "class.";
|
|
9730
9772
|
var STYLE_BANG = "style!";
|
|
@@ -9782,7 +9824,7 @@ function parseProperty(name) {
|
|
|
9782
9824
|
return { property: property2, suffix };
|
|
9783
9825
|
}
|
|
9784
9826
|
|
|
9785
|
-
// bazel-out/
|
|
9827
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
9786
9828
|
function mapLiteral(obj, quoted = false) {
|
|
9787
9829
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
9788
9830
|
key,
|
|
@@ -9791,7 +9833,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
9791
9833
|
})));
|
|
9792
9834
|
}
|
|
9793
9835
|
|
|
9794
|
-
// bazel-out/
|
|
9836
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
9795
9837
|
var IcuSerializerVisitor = class {
|
|
9796
9838
|
visitText(text2) {
|
|
9797
9839
|
return text2.value;
|
|
@@ -9825,7 +9867,7 @@ function serializeIcuNode(icu) {
|
|
|
9825
9867
|
return icu.visit(serializer);
|
|
9826
9868
|
}
|
|
9827
9869
|
|
|
9828
|
-
// bazel-out/
|
|
9870
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
9829
9871
|
var NodeWithI18n = class {
|
|
9830
9872
|
constructor(sourceSpan, i18n2) {
|
|
9831
9873
|
this.sourceSpan = sourceSpan;
|
|
@@ -9948,7 +9990,7 @@ function visitAll2(visitor, nodes, context = null) {
|
|
|
9948
9990
|
return result;
|
|
9949
9991
|
}
|
|
9950
9992
|
|
|
9951
|
-
// bazel-out/
|
|
9993
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
9952
9994
|
var NAMED_ENTITIES = {
|
|
9953
9995
|
"AElig": "\xC6",
|
|
9954
9996
|
"AMP": "&",
|
|
@@ -12079,7 +12121,7 @@ var NAMED_ENTITIES = {
|
|
|
12079
12121
|
var NGSP_UNICODE = "\uE500";
|
|
12080
12122
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
12081
12123
|
|
|
12082
|
-
// bazel-out/
|
|
12124
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
12083
12125
|
var TokenError = class extends ParseError {
|
|
12084
12126
|
constructor(errorMsg, tokenType, span) {
|
|
12085
12127
|
super(span, errorMsg);
|
|
@@ -13069,7 +13111,7 @@ var CursorError = class {
|
|
|
13069
13111
|
}
|
|
13070
13112
|
};
|
|
13071
13113
|
|
|
13072
|
-
// bazel-out/
|
|
13114
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
13073
13115
|
var TreeError = class extends ParseError {
|
|
13074
13116
|
static create(elementName, span, msg) {
|
|
13075
13117
|
return new TreeError(elementName, span, msg);
|
|
@@ -13497,7 +13539,7 @@ function decodeEntity(match, entity) {
|
|
|
13497
13539
|
return match;
|
|
13498
13540
|
}
|
|
13499
13541
|
|
|
13500
|
-
// bazel-out/
|
|
13542
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
13501
13543
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
13502
13544
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
13503
13545
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -13637,7 +13679,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
13637
13679
|
return result;
|
|
13638
13680
|
}
|
|
13639
13681
|
|
|
13640
|
-
// bazel-out/
|
|
13682
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
13641
13683
|
var TokenType;
|
|
13642
13684
|
(function(TokenType2) {
|
|
13643
13685
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -13998,7 +14040,7 @@ function parseIntAutoRadix(text2) {
|
|
|
13998
14040
|
return result;
|
|
13999
14041
|
}
|
|
14000
14042
|
|
|
14001
|
-
// bazel-out/
|
|
14043
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
14002
14044
|
var SplitInterpolation = class {
|
|
14003
14045
|
constructor(strings, expressions, offsets) {
|
|
14004
14046
|
this.strings = strings;
|
|
@@ -14882,7 +14924,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
14882
14924
|
return offsetMap;
|
|
14883
14925
|
}
|
|
14884
14926
|
|
|
14885
|
-
// bazel-out/
|
|
14927
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
14886
14928
|
var _SECURITY_SCHEMA;
|
|
14887
14929
|
function SECURITY_SCHEMA() {
|
|
14888
14930
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -14943,11 +14985,11 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
14943
14985
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
14944
14986
|
}
|
|
14945
14987
|
|
|
14946
|
-
// bazel-out/
|
|
14988
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
14947
14989
|
var ElementSchemaRegistry = class {
|
|
14948
14990
|
};
|
|
14949
14991
|
|
|
14950
|
-
// bazel-out/
|
|
14992
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
14951
14993
|
var BOOLEAN = "boolean";
|
|
14952
14994
|
var NUMBER = "number";
|
|
14953
14995
|
var STRING = "string";
|
|
@@ -15330,7 +15372,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
15330
15372
|
}
|
|
15331
15373
|
}
|
|
15332
15374
|
|
|
15333
|
-
// bazel-out/
|
|
15375
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
15334
15376
|
var HtmlTagDefinition = class {
|
|
15335
15377
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
15336
15378
|
this.closedByChildren = {};
|
|
@@ -15466,7 +15508,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
15466
15508
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
15467
15509
|
}
|
|
15468
15510
|
|
|
15469
|
-
// bazel-out/
|
|
15511
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
15470
15512
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
15471
15513
|
"A": "LINK",
|
|
15472
15514
|
"B": "BOLD_TEXT",
|
|
@@ -15588,7 +15630,7 @@ var PlaceholderRegistry = class {
|
|
|
15588
15630
|
}
|
|
15589
15631
|
};
|
|
15590
15632
|
|
|
15591
|
-
// bazel-out/
|
|
15633
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
15592
15634
|
var _expParser = new Parser2(new Lexer());
|
|
15593
15635
|
function createI18nMessageFactory(interpolationConfig, containerBlocks, retainEmptyTokens) {
|
|
15594
15636
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks, retainEmptyTokens);
|
|
@@ -15783,14 +15825,14 @@ function extractPlaceholderName(input) {
|
|
|
15783
15825
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
15784
15826
|
}
|
|
15785
15827
|
|
|
15786
|
-
// bazel-out/
|
|
15828
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
15787
15829
|
var I18nError = class extends ParseError {
|
|
15788
15830
|
constructor(span, msg) {
|
|
15789
15831
|
super(span, msg);
|
|
15790
15832
|
}
|
|
15791
15833
|
};
|
|
15792
15834
|
|
|
15793
|
-
// bazel-out/
|
|
15835
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
15794
15836
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
15795
15837
|
"iframe|srcdoc",
|
|
15796
15838
|
"*|innerhtml",
|
|
@@ -15805,7 +15847,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
15805
15847
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
15806
15848
|
}
|
|
15807
15849
|
|
|
15808
|
-
// bazel-out/
|
|
15850
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
15809
15851
|
var setI18nRefs = (originalNodeMap) => {
|
|
15810
15852
|
return (trimmedNode, i18nNode) => {
|
|
15811
15853
|
var _a2;
|
|
@@ -15979,7 +16021,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
15979
16021
|
return jsDocComment(tags);
|
|
15980
16022
|
}
|
|
15981
16023
|
|
|
15982
|
-
// bazel-out/
|
|
16024
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
15983
16025
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
15984
16026
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
15985
16027
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -16030,7 +16072,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
16030
16072
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
16031
16073
|
}
|
|
16032
16074
|
|
|
16033
|
-
// bazel-out/
|
|
16075
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
16034
16076
|
function createLocalizeStatements(variable2, message, params) {
|
|
16035
16077
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
16036
16078
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -16119,7 +16161,7 @@ function createEmptyMessagePart(location) {
|
|
|
16119
16161
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
16120
16162
|
}
|
|
16121
16163
|
|
|
16122
|
-
// bazel-out/
|
|
16164
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
16123
16165
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
16124
16166
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
16125
16167
|
var I18N_ICU_MAPPING_PREFIX = "I18N_EXP_";
|
|
@@ -16290,7 +16332,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
16290
16332
|
return variable(name);
|
|
16291
16333
|
}
|
|
16292
16334
|
|
|
16293
|
-
// bazel-out/
|
|
16335
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
16294
16336
|
function convertI18nText(job) {
|
|
16295
16337
|
var _a2, _b2, _c2;
|
|
16296
16338
|
for (const unit of job.units) {
|
|
@@ -16360,7 +16402,7 @@ function convertI18nText(job) {
|
|
|
16360
16402
|
}
|
|
16361
16403
|
}
|
|
16362
16404
|
|
|
16363
|
-
// bazel-out/
|
|
16405
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
16364
16406
|
function liftLocalRefs(job) {
|
|
16365
16407
|
for (const unit of job.units) {
|
|
16366
16408
|
for (const op of unit.create) {
|
|
@@ -16390,7 +16432,7 @@ function serializeLocalRefs(refs) {
|
|
|
16390
16432
|
return literalArr(constRefs);
|
|
16391
16433
|
}
|
|
16392
16434
|
|
|
16393
|
-
// bazel-out/
|
|
16435
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
16394
16436
|
function emitNamespaceChanges(job) {
|
|
16395
16437
|
for (const unit of job.units) {
|
|
16396
16438
|
let activeNamespace = Namespace.HTML;
|
|
@@ -16406,7 +16448,7 @@ function emitNamespaceChanges(job) {
|
|
|
16406
16448
|
}
|
|
16407
16449
|
}
|
|
16408
16450
|
|
|
16409
|
-
// bazel-out/
|
|
16451
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
16410
16452
|
function parse(value) {
|
|
16411
16453
|
const styles = [];
|
|
16412
16454
|
let i = 0;
|
|
@@ -16500,7 +16542,7 @@ function parseExtractedStyles(job) {
|
|
|
16500
16542
|
}
|
|
16501
16543
|
}
|
|
16502
16544
|
|
|
16503
|
-
// bazel-out/
|
|
16545
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
16504
16546
|
function nameFunctionsAndVariables(job) {
|
|
16505
16547
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
16506
16548
|
}
|
|
@@ -16644,7 +16686,7 @@ function stripImportant(name) {
|
|
|
16644
16686
|
return name;
|
|
16645
16687
|
}
|
|
16646
16688
|
|
|
16647
|
-
// bazel-out/
|
|
16689
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
16648
16690
|
function mergeNextContextExpressions(job) {
|
|
16649
16691
|
for (const unit of job.units) {
|
|
16650
16692
|
for (const op of unit.create) {
|
|
@@ -16691,7 +16733,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
16691
16733
|
}
|
|
16692
16734
|
}
|
|
16693
16735
|
|
|
16694
|
-
// bazel-out/
|
|
16736
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
16695
16737
|
var CONTAINER_TAG = "ng-container";
|
|
16696
16738
|
function generateNgContainerOps(job) {
|
|
16697
16739
|
for (const unit of job.units) {
|
|
@@ -16708,7 +16750,7 @@ function generateNgContainerOps(job) {
|
|
|
16708
16750
|
}
|
|
16709
16751
|
}
|
|
16710
16752
|
|
|
16711
|
-
// bazel-out/
|
|
16753
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
16712
16754
|
function lookupElement3(elements, xref) {
|
|
16713
16755
|
const el = elements.get(xref);
|
|
16714
16756
|
if (el === void 0) {
|
|
@@ -16738,7 +16780,7 @@ function disableBindings(job) {
|
|
|
16738
16780
|
}
|
|
16739
16781
|
}
|
|
16740
16782
|
|
|
16741
|
-
// bazel-out/
|
|
16783
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
16742
16784
|
function generateNullishCoalesceExpressions(job) {
|
|
16743
16785
|
for (const unit of job.units) {
|
|
16744
16786
|
for (const op of unit.ops()) {
|
|
@@ -16754,7 +16796,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
16754
16796
|
}
|
|
16755
16797
|
}
|
|
16756
16798
|
|
|
16757
|
-
// bazel-out/
|
|
16799
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
16758
16800
|
function kindTest(kind) {
|
|
16759
16801
|
return (op) => op.kind === kind;
|
|
16760
16802
|
}
|
|
@@ -16844,7 +16886,7 @@ function keepLast(ops) {
|
|
|
16844
16886
|
return ops.slice(ops.length - 1);
|
|
16845
16887
|
}
|
|
16846
16888
|
|
|
16847
|
-
// bazel-out/
|
|
16889
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
16848
16890
|
function removeContentSelectors(job) {
|
|
16849
16891
|
for (const unit of job.units) {
|
|
16850
16892
|
const elements = createOpXrefMap(unit);
|
|
@@ -16871,7 +16913,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
16871
16913
|
return el;
|
|
16872
16914
|
}
|
|
16873
16915
|
|
|
16874
|
-
// bazel-out/
|
|
16916
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
16875
16917
|
function createPipes(job) {
|
|
16876
16918
|
for (const unit of job.units) {
|
|
16877
16919
|
processPipeBindingsInView(unit);
|
|
@@ -16919,7 +16961,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
16919
16961
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
16920
16962
|
}
|
|
16921
16963
|
|
|
16922
|
-
// bazel-out/
|
|
16964
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
16923
16965
|
function createVariadicPipes(job) {
|
|
16924
16966
|
for (const unit of job.units) {
|
|
16925
16967
|
for (const op of unit.update) {
|
|
@@ -16936,7 +16978,7 @@ function createVariadicPipes(job) {
|
|
|
16936
16978
|
}
|
|
16937
16979
|
}
|
|
16938
16980
|
|
|
16939
|
-
// bazel-out/
|
|
16981
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
16940
16982
|
function propagateI18nBlocks(job) {
|
|
16941
16983
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
16942
16984
|
}
|
|
@@ -16990,7 +17032,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
16990
17032
|
}
|
|
16991
17033
|
}
|
|
16992
17034
|
|
|
16993
|
-
// bazel-out/
|
|
17035
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
16994
17036
|
function extractPureFunctions(job) {
|
|
16995
17037
|
for (const view of job.units) {
|
|
16996
17038
|
for (const op of view.ops()) {
|
|
@@ -17032,7 +17074,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
17032
17074
|
}
|
|
17033
17075
|
};
|
|
17034
17076
|
|
|
17035
|
-
// bazel-out/
|
|
17077
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
17036
17078
|
function generatePureLiteralStructures(job) {
|
|
17037
17079
|
for (const unit of job.units) {
|
|
17038
17080
|
for (const op of unit.update) {
|
|
@@ -17079,7 +17121,7 @@ function transformLiteralMap(expr) {
|
|
|
17079
17121
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
17080
17122
|
}
|
|
17081
17123
|
|
|
17082
|
-
// bazel-out/
|
|
17124
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
17083
17125
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
17084
17126
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
17085
17127
|
}
|
|
@@ -17611,7 +17653,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
17611
17653
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
17612
17654
|
}
|
|
17613
17655
|
|
|
17614
|
-
// bazel-out/
|
|
17656
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
17615
17657
|
var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
|
|
17616
17658
|
["window", Identifiers.resolveWindow],
|
|
17617
17659
|
["document", Identifiers.resolveDocument],
|
|
@@ -17976,7 +18018,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
17976
18018
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
17977
18019
|
}
|
|
17978
18020
|
|
|
17979
|
-
// bazel-out/
|
|
18021
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
17980
18022
|
function removeEmptyBindings(job) {
|
|
17981
18023
|
for (const unit of job.units) {
|
|
17982
18024
|
for (const op of unit.update) {
|
|
@@ -17997,7 +18039,7 @@ function removeEmptyBindings(job) {
|
|
|
17997
18039
|
}
|
|
17998
18040
|
}
|
|
17999
18041
|
|
|
18000
|
-
// bazel-out/
|
|
18042
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
18001
18043
|
function removeI18nContexts(job) {
|
|
18002
18044
|
for (const unit of job.units) {
|
|
18003
18045
|
for (const op of unit.create) {
|
|
@@ -18013,7 +18055,7 @@ function removeI18nContexts(job) {
|
|
|
18013
18055
|
}
|
|
18014
18056
|
}
|
|
18015
18057
|
|
|
18016
|
-
// bazel-out/
|
|
18058
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
|
|
18017
18059
|
function removeUnusedI18nAttributesOps(job) {
|
|
18018
18060
|
for (const unit of job.units) {
|
|
18019
18061
|
const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
|
|
@@ -18035,7 +18077,7 @@ function removeUnusedI18nAttributesOps(job) {
|
|
|
18035
18077
|
}
|
|
18036
18078
|
}
|
|
18037
18079
|
|
|
18038
|
-
// bazel-out/
|
|
18080
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
18039
18081
|
function resolveContexts(job) {
|
|
18040
18082
|
for (const unit of job.units) {
|
|
18041
18083
|
processLexicalScope(unit, unit.create);
|
|
@@ -18077,7 +18119,7 @@ function processLexicalScope(view, ops) {
|
|
|
18077
18119
|
}
|
|
18078
18120
|
}
|
|
18079
18121
|
|
|
18080
|
-
// bazel-out/
|
|
18122
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
18081
18123
|
function resolveDollarEvent(job) {
|
|
18082
18124
|
for (const unit of job.units) {
|
|
18083
18125
|
transformDollarEvent(unit.create);
|
|
@@ -18100,7 +18142,7 @@ function transformDollarEvent(ops) {
|
|
|
18100
18142
|
}
|
|
18101
18143
|
}
|
|
18102
18144
|
|
|
18103
|
-
// bazel-out/
|
|
18145
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
18104
18146
|
function resolveI18nElementPlaceholders(job) {
|
|
18105
18147
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
18106
18148
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -18279,7 +18321,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
18279
18321
|
params.set(placeholder, values);
|
|
18280
18322
|
}
|
|
18281
18323
|
|
|
18282
|
-
// bazel-out/
|
|
18324
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
18283
18325
|
function resolveI18nExpressionPlaceholders(job) {
|
|
18284
18326
|
var _a2;
|
|
18285
18327
|
const subTemplateIndices = /* @__PURE__ */ new Map();
|
|
@@ -18332,7 +18374,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
|
|
|
18332
18374
|
}
|
|
18333
18375
|
}
|
|
18334
18376
|
|
|
18335
|
-
// bazel-out/
|
|
18377
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
18336
18378
|
function resolveNames(job) {
|
|
18337
18379
|
for (const unit of job.units) {
|
|
18338
18380
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -18410,7 +18452,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
18410
18452
|
}
|
|
18411
18453
|
}
|
|
18412
18454
|
|
|
18413
|
-
// bazel-out/
|
|
18455
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
18414
18456
|
var sanitizerFns = /* @__PURE__ */ new Map([
|
|
18415
18457
|
[SecurityContext.HTML, Identifiers.sanitizeHtml],
|
|
18416
18458
|
[SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
|
|
@@ -18480,7 +18522,7 @@ function getOnlySecurityContext(securityContext) {
|
|
|
18480
18522
|
return securityContext;
|
|
18481
18523
|
}
|
|
18482
18524
|
|
|
18483
|
-
// bazel-out/
|
|
18525
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
|
|
18484
18526
|
function transformTwoWayBindingSet(job) {
|
|
18485
18527
|
for (const unit of job.units) {
|
|
18486
18528
|
for (const op of unit.create) {
|
|
@@ -18503,7 +18545,7 @@ function transformTwoWayBindingSet(job) {
|
|
|
18503
18545
|
}
|
|
18504
18546
|
}
|
|
18505
18547
|
|
|
18506
|
-
// bazel-out/
|
|
18548
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
18507
18549
|
function saveAndRestoreView(job) {
|
|
18508
18550
|
for (const unit of job.units) {
|
|
18509
18551
|
unit.create.prepend([
|
|
@@ -18548,7 +18590,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
18548
18590
|
}
|
|
18549
18591
|
}
|
|
18550
18592
|
|
|
18551
|
-
// bazel-out/
|
|
18593
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
18552
18594
|
function allocateSlots(job) {
|
|
18553
18595
|
const slotMap = /* @__PURE__ */ new Map();
|
|
18554
18596
|
for (const unit of job.units) {
|
|
@@ -18573,7 +18615,7 @@ function allocateSlots(job) {
|
|
|
18573
18615
|
}
|
|
18574
18616
|
}
|
|
18575
18617
|
|
|
18576
|
-
// bazel-out/
|
|
18618
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
18577
18619
|
function specializeStyleBindings(job) {
|
|
18578
18620
|
for (const unit of job.units) {
|
|
18579
18621
|
for (const op of unit.update) {
|
|
@@ -18603,7 +18645,7 @@ function specializeStyleBindings(job) {
|
|
|
18603
18645
|
}
|
|
18604
18646
|
}
|
|
18605
18647
|
|
|
18606
|
-
// bazel-out/
|
|
18648
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
18607
18649
|
function generateTemporaryVariables(job) {
|
|
18608
18650
|
for (const unit of job.units) {
|
|
18609
18651
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -18661,7 +18703,7 @@ function assignName(names, expr) {
|
|
|
18661
18703
|
expr.name = name;
|
|
18662
18704
|
}
|
|
18663
18705
|
|
|
18664
|
-
// bazel-out/
|
|
18706
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
18665
18707
|
function generateTrackFns(job) {
|
|
18666
18708
|
for (const unit of job.units) {
|
|
18667
18709
|
for (const op of unit.create) {
|
|
@@ -18694,7 +18736,7 @@ function generateTrackFns(job) {
|
|
|
18694
18736
|
}
|
|
18695
18737
|
}
|
|
18696
18738
|
|
|
18697
|
-
// bazel-out/
|
|
18739
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
18698
18740
|
function optimizeTrackFns(job) {
|
|
18699
18741
|
for (const unit of job.units) {
|
|
18700
18742
|
for (const op of unit.create) {
|
|
@@ -18744,7 +18786,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
18744
18786
|
return true;
|
|
18745
18787
|
}
|
|
18746
18788
|
|
|
18747
|
-
// bazel-out/
|
|
18789
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
18748
18790
|
function generateTrackVariables(job) {
|
|
18749
18791
|
for (const unit of job.units) {
|
|
18750
18792
|
for (const op of unit.create) {
|
|
@@ -18765,7 +18807,7 @@ function generateTrackVariables(job) {
|
|
|
18765
18807
|
}
|
|
18766
18808
|
}
|
|
18767
18809
|
|
|
18768
|
-
// bazel-out/
|
|
18810
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
18769
18811
|
function countVariables(job) {
|
|
18770
18812
|
for (const unit of job.units) {
|
|
18771
18813
|
let varCount = 0;
|
|
@@ -18878,7 +18920,7 @@ function isSingletonInterpolation(expr) {
|
|
|
18878
18920
|
return true;
|
|
18879
18921
|
}
|
|
18880
18922
|
|
|
18881
|
-
// bazel-out/
|
|
18923
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
18882
18924
|
function optimizeVariables(job) {
|
|
18883
18925
|
for (const unit of job.units) {
|
|
18884
18926
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -19130,7 +19172,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
19130
19172
|
}
|
|
19131
19173
|
}
|
|
19132
19174
|
|
|
19133
|
-
// bazel-out/
|
|
19175
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
19134
19176
|
function wrapI18nIcus(job) {
|
|
19135
19177
|
for (const unit of job.units) {
|
|
19136
19178
|
let currentI18nOp = null;
|
|
@@ -19160,7 +19202,7 @@ function wrapI18nIcus(job) {
|
|
|
19160
19202
|
}
|
|
19161
19203
|
}
|
|
19162
19204
|
|
|
19163
|
-
// bazel-out/
|
|
19205
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/store_let_optimization.mjs
|
|
19164
19206
|
function optimizeStoreLet(job) {
|
|
19165
19207
|
const letUsedExternally = /* @__PURE__ */ new Set();
|
|
19166
19208
|
for (const unit of job.units) {
|
|
@@ -19179,7 +19221,7 @@ function optimizeStoreLet(job) {
|
|
|
19179
19221
|
}
|
|
19180
19222
|
}
|
|
19181
19223
|
|
|
19182
|
-
// bazel-out/
|
|
19224
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_illegal_let_references.mjs
|
|
19183
19225
|
function removeIllegalLetReferences(job) {
|
|
19184
19226
|
for (const unit of job.units) {
|
|
19185
19227
|
for (const op of unit.update) {
|
|
@@ -19196,7 +19238,7 @@ function removeIllegalLetReferences(job) {
|
|
|
19196
19238
|
}
|
|
19197
19239
|
}
|
|
19198
19240
|
|
|
19199
|
-
// bazel-out/
|
|
19241
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_local_let_references.mjs
|
|
19200
19242
|
function generateLocalLetReferences(job) {
|
|
19201
19243
|
for (const unit of job.units) {
|
|
19202
19244
|
for (const op of unit.update) {
|
|
@@ -19214,7 +19256,7 @@ function generateLocalLetReferences(job) {
|
|
|
19214
19256
|
}
|
|
19215
19257
|
}
|
|
19216
19258
|
|
|
19217
|
-
// bazel-out/
|
|
19259
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
19218
19260
|
var phases = [
|
|
19219
19261
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
19220
19262
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -19371,7 +19413,7 @@ function emitHostBindingFunction(job) {
|
|
|
19371
19413
|
);
|
|
19372
19414
|
}
|
|
19373
19415
|
|
|
19374
|
-
// bazel-out/
|
|
19416
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
19375
19417
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
19376
19418
|
var domSchema = new DomElementSchemaRegistry();
|
|
19377
19419
|
var NG_TEMPLATE_TAG_NAME = "ng-template";
|
|
@@ -20129,7 +20171,7 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
20129
20171
|
return null;
|
|
20130
20172
|
}
|
|
20131
20173
|
|
|
20132
|
-
// bazel-out/
|
|
20174
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
|
|
20133
20175
|
function renderFlagCheckIfStmt(flags, statements) {
|
|
20134
20176
|
return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
|
|
20135
20177
|
}
|
|
@@ -20249,7 +20291,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
|
|
|
20249
20291
|
], INFERRED_TYPE, null, contentQueriesFnName);
|
|
20250
20292
|
}
|
|
20251
20293
|
|
|
20252
|
-
// bazel-out/
|
|
20294
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
20253
20295
|
var HtmlParser = class extends Parser {
|
|
20254
20296
|
constructor() {
|
|
20255
20297
|
super(getHtmlTagDefinition);
|
|
@@ -20259,7 +20301,7 @@ var HtmlParser = class extends Parser {
|
|
|
20259
20301
|
}
|
|
20260
20302
|
};
|
|
20261
20303
|
|
|
20262
|
-
// bazel-out/
|
|
20304
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
20263
20305
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
20264
20306
|
var ATTRIBUTE_PREFIX = "attr";
|
|
20265
20307
|
var CLASS_PREFIX = "class";
|
|
@@ -20613,7 +20655,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
20613
20655
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
20614
20656
|
}
|
|
20615
20657
|
|
|
20616
|
-
// bazel-out/
|
|
20658
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
20617
20659
|
function isStyleUrlResolvable(url) {
|
|
20618
20660
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
20619
20661
|
return false;
|
|
@@ -20622,7 +20664,7 @@ function isStyleUrlResolvable(url) {
|
|
|
20622
20664
|
}
|
|
20623
20665
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
20624
20666
|
|
|
20625
|
-
// bazel-out/
|
|
20667
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
20626
20668
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
20627
20669
|
var LINK_ELEMENT = "link";
|
|
20628
20670
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -20692,7 +20734,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
20692
20734
|
return selectAttr;
|
|
20693
20735
|
}
|
|
20694
20736
|
|
|
20695
|
-
// bazel-out/
|
|
20737
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
20696
20738
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
20697
20739
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
20698
20740
|
var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
|
|
@@ -21015,7 +21057,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
21015
21057
|
return expression.slice(start, end);
|
|
21016
21058
|
}
|
|
21017
21059
|
|
|
21018
|
-
// bazel-out/
|
|
21060
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
21019
21061
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
21020
21062
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
21021
21063
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -21279,7 +21321,7 @@ function parseDeferredTime(value) {
|
|
|
21279
21321
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
21280
21322
|
}
|
|
21281
21323
|
|
|
21282
|
-
// bazel-out/
|
|
21324
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
21283
21325
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
21284
21326
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
21285
21327
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -21414,7 +21456,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
21414
21456
|
return { triggers, prefetchTriggers };
|
|
21415
21457
|
}
|
|
21416
21458
|
|
|
21417
|
-
// bazel-out/
|
|
21459
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
21418
21460
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
21419
21461
|
var KW_BIND_IDX = 1;
|
|
21420
21462
|
var KW_LET_IDX = 2;
|
|
@@ -21881,7 +21923,7 @@ function textContents(node) {
|
|
|
21881
21923
|
}
|
|
21882
21924
|
}
|
|
21883
21925
|
|
|
21884
|
-
// bazel-out/
|
|
21926
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
21885
21927
|
var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
|
|
21886
21928
|
function parseTemplate(template2, templateUrl, options = {}) {
|
|
21887
21929
|
var _a2, _b2, _c2;
|
|
@@ -21975,7 +22017,7 @@ function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, a
|
|
|
21975
22017
|
return new BindingParser(new Parser2(new Lexer()), interpolationConfig, elementRegistry, [], allowInvalidAssignmentEvents);
|
|
21976
22018
|
}
|
|
21977
22019
|
|
|
21978
|
-
// bazel-out/
|
|
22020
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
21979
22021
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
21980
22022
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
21981
22023
|
var CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
|
|
@@ -22342,7 +22384,7 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
22342
22384
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
22343
22385
|
}
|
|
22344
22386
|
|
|
22345
|
-
// bazel-out/
|
|
22387
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
22346
22388
|
var R3TargetBinder = class {
|
|
22347
22389
|
constructor(directiveMatcher) {
|
|
22348
22390
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -22989,11 +23031,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
22989
23031
|
return templateEntities;
|
|
22990
23032
|
}
|
|
22991
23033
|
|
|
22992
|
-
// bazel-out/
|
|
23034
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
22993
23035
|
var ResourceLoader = class {
|
|
22994
23036
|
};
|
|
22995
23037
|
|
|
22996
|
-
// bazel-out/
|
|
23038
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
22997
23039
|
var CompilerFacadeImpl = class {
|
|
22998
23040
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
22999
23041
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -23571,17 +23613,17 @@ function publishFacade(global) {
|
|
|
23571
23613
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
23572
23614
|
}
|
|
23573
23615
|
|
|
23574
|
-
// bazel-out/
|
|
23575
|
-
var VERSION2 = new Version("18.2.
|
|
23616
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
|
|
23617
|
+
var VERSION2 = new Version("18.2.8");
|
|
23576
23618
|
|
|
23577
|
-
// bazel-out/
|
|
23619
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
23578
23620
|
var _VisitorMode;
|
|
23579
23621
|
(function(_VisitorMode2) {
|
|
23580
23622
|
_VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
|
|
23581
23623
|
_VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
|
|
23582
23624
|
})(_VisitorMode || (_VisitorMode = {}));
|
|
23583
23625
|
|
|
23584
|
-
// bazel-out/
|
|
23626
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
23585
23627
|
var XmlTagDefinition = class {
|
|
23586
23628
|
constructor() {
|
|
23587
23629
|
this.closedByParent = false;
|
|
@@ -23603,7 +23645,7 @@ var XmlTagDefinition = class {
|
|
|
23603
23645
|
};
|
|
23604
23646
|
var _TAG_DEFINITION = new XmlTagDefinition();
|
|
23605
23647
|
|
|
23606
|
-
// bazel-out/
|
|
23648
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
23607
23649
|
var FactoryTarget2;
|
|
23608
23650
|
(function(FactoryTarget3) {
|
|
23609
23651
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -23613,10 +23655,10 @@ var FactoryTarget2;
|
|
|
23613
23655
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
23614
23656
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
23615
23657
|
|
|
23616
|
-
// bazel-out/
|
|
23658
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
23617
23659
|
publishFacade(_global);
|
|
23618
23660
|
|
|
23619
|
-
// bazel-out/
|
|
23661
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/invalid-two-way-bindings/migration.mjs
|
|
23620
23662
|
var import_typescript4 = __toESM(require("typescript"), 1);
|
|
23621
23663
|
function migrateTemplate(template2) {
|
|
23622
23664
|
if (!template2.includes(")]=")) {
|
|
@@ -23741,7 +23783,7 @@ var InvalidTwoWayBindingCollector = class extends RecursiveVisitor {
|
|
|
23741
23783
|
}
|
|
23742
23784
|
};
|
|
23743
23785
|
|
|
23744
|
-
// bazel-out/
|
|
23786
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/invalid-two-way-bindings/index.mjs
|
|
23745
23787
|
function invalid_two_way_bindings_default() {
|
|
23746
23788
|
return (tree) => __async(this, null, function* () {
|
|
23747
23789
|
const { buildPaths, testPaths } = yield getProjectTsConfigPaths(tree);
|