@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/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,10 +72,10 @@ module.exports = __toCommonJS(control_flow_migration_exports);
|
|
|
72
72
|
var import_schematics = require("@angular-devkit/schematics");
|
|
73
73
|
var import_path4 = require("path");
|
|
74
74
|
|
|
75
|
-
// bazel-out/
|
|
75
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
76
76
|
var import_typescript91 = __toESM(require("typescript"), 1);
|
|
77
77
|
|
|
78
|
-
// bazel-out/
|
|
78
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/selector.mjs
|
|
79
79
|
var _SELECTOR_REGEXP = new RegExp(
|
|
80
80
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
81
81
|
"g"
|
|
@@ -383,7 +383,7 @@ var SelectorContext = class {
|
|
|
383
383
|
}
|
|
384
384
|
};
|
|
385
385
|
|
|
386
|
-
// bazel-out/
|
|
386
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/core.mjs
|
|
387
387
|
var ViewEncapsulation;
|
|
388
388
|
(function(ViewEncapsulation2) {
|
|
389
389
|
ViewEncapsulation2[ViewEncapsulation2["Emulated"] = 0] = "Emulated";
|
|
@@ -451,7 +451,7 @@ function parseSelectorToR3Selector(selector) {
|
|
|
451
451
|
return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
|
|
452
452
|
}
|
|
453
453
|
|
|
454
|
-
// bazel-out/
|
|
454
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
|
|
455
455
|
var textEncoder;
|
|
456
456
|
function computeDigest(message) {
|
|
457
457
|
return sha1(serializeNodes(message.nodes).join("") + `[${message.meaning}]`);
|
|
@@ -698,7 +698,7 @@ function wordAt(bytes, index, endian) {
|
|
|
698
698
|
return word;
|
|
699
699
|
}
|
|
700
700
|
|
|
701
|
-
// bazel-out/
|
|
701
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
702
702
|
var TypeModifier;
|
|
703
703
|
(function(TypeModifier2) {
|
|
704
704
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -1645,7 +1645,7 @@ function serializeTags(tags) {
|
|
|
1645
1645
|
return out;
|
|
1646
1646
|
}
|
|
1647
1647
|
|
|
1648
|
-
// bazel-out/
|
|
1648
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
1649
1649
|
var CONSTANT_PREFIX = "_c";
|
|
1650
1650
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
1651
1651
|
var KEY_CONTEXT = {};
|
|
@@ -1833,7 +1833,7 @@ function isLongStringLiteral(expr) {
|
|
|
1833
1833
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
1834
1834
|
}
|
|
1835
1835
|
|
|
1836
|
-
// bazel-out/
|
|
1836
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
1837
1837
|
var CORE = "@angular/core";
|
|
1838
1838
|
var _Identifiers = class {
|
|
1839
1839
|
};
|
|
@@ -2730,7 +2730,7 @@ var Identifiers = _Identifiers;
|
|
|
2730
2730
|
_Identifiers.unwrapWritableSignal = { name: "\u0275unwrapWritableSignal", moduleName: CORE };
|
|
2731
2731
|
})();
|
|
2732
2732
|
|
|
2733
|
-
// bazel-out/
|
|
2733
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
|
|
2734
2734
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
2735
2735
|
function dashCaseToCamelCase(input) {
|
|
2736
2736
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -2807,7 +2807,7 @@ var Version = class {
|
|
|
2807
2807
|
};
|
|
2808
2808
|
var _global = globalThis;
|
|
2809
2809
|
|
|
2810
|
-
// bazel-out/
|
|
2810
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
2811
2811
|
var VERSION = 3;
|
|
2812
2812
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
2813
2813
|
var SourceMapGenerator = class {
|
|
@@ -2936,7 +2936,7 @@ function toBase64Digit(value) {
|
|
|
2936
2936
|
return B64_DIGITS[value];
|
|
2937
2937
|
}
|
|
2938
2938
|
|
|
2939
|
-
// bazel-out/
|
|
2939
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
2940
2940
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
2941
2941
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
2942
2942
|
var _INDENT_WITH = " ";
|
|
@@ -3424,7 +3424,7 @@ function _createIndent(count) {
|
|
|
3424
3424
|
return res;
|
|
3425
3425
|
}
|
|
3426
3426
|
|
|
3427
|
-
// bazel-out/
|
|
3427
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
3428
3428
|
function typeWithParameters(type, numParams) {
|
|
3429
3429
|
if (numParams === 0) {
|
|
3430
3430
|
return expressionType(type);
|
|
@@ -3479,7 +3479,7 @@ function generateForwardRef(expr) {
|
|
|
3479
3479
|
return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
|
|
3480
3480
|
}
|
|
3481
3481
|
|
|
3482
|
-
// bazel-out/
|
|
3482
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
3483
3483
|
var R3FactoryDelegateType;
|
|
3484
3484
|
(function(R3FactoryDelegateType2) {
|
|
3485
3485
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -3624,7 +3624,7 @@ function getInjectFn(target) {
|
|
|
3624
3624
|
}
|
|
3625
3625
|
}
|
|
3626
3626
|
|
|
3627
|
-
// bazel-out/
|
|
3627
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
3628
3628
|
var ParserError = class {
|
|
3629
3629
|
constructor(message, input, errLocation, ctxLocation) {
|
|
3630
3630
|
this.input = input;
|
|
@@ -4062,7 +4062,7 @@ var BoundElementProperty = class {
|
|
|
4062
4062
|
}
|
|
4063
4063
|
};
|
|
4064
4064
|
|
|
4065
|
-
// bazel-out/
|
|
4065
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
4066
4066
|
var TagContentType;
|
|
4067
4067
|
(function(TagContentType2) {
|
|
4068
4068
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -4099,7 +4099,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
4099
4099
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
4100
4100
|
}
|
|
4101
4101
|
|
|
4102
|
-
// bazel-out/
|
|
4102
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
4103
4103
|
var Comment = class {
|
|
4104
4104
|
constructor(value, sourceSpan) {
|
|
4105
4105
|
this.value = value;
|
|
@@ -4493,7 +4493,7 @@ function visitAll(visitor, nodes) {
|
|
|
4493
4493
|
return result;
|
|
4494
4494
|
}
|
|
4495
4495
|
|
|
4496
|
-
// bazel-out/
|
|
4496
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
4497
4497
|
var Message = class {
|
|
4498
4498
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
4499
4499
|
this.nodes = nodes;
|
|
@@ -4633,7 +4633,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
4633
4633
|
}
|
|
4634
4634
|
};
|
|
4635
4635
|
|
|
4636
|
-
// bazel-out/
|
|
4636
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
4637
4637
|
var _Visitor = class {
|
|
4638
4638
|
visitTag(tag) {
|
|
4639
4639
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -4661,12 +4661,12 @@ ${doctype.dtd}
|
|
|
4661
4661
|
};
|
|
4662
4662
|
var _visitor = new _Visitor();
|
|
4663
4663
|
|
|
4664
|
-
// bazel-out/
|
|
4664
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
4665
4665
|
function toPublicName(internalName) {
|
|
4666
4666
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
4667
4667
|
}
|
|
4668
4668
|
|
|
4669
|
-
// bazel-out/
|
|
4669
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
4670
4670
|
var I18N_ATTR = "i18n";
|
|
4671
4671
|
var I18N_ATTR_PREFIX = "i18n-";
|
|
4672
4672
|
var I18N_ICU_VAR_PREFIX = "VAR_";
|
|
@@ -4706,7 +4706,7 @@ function formatI18nPlaceholderName(name, useCamelCase = true) {
|
|
|
4706
4706
|
return postfix ? `${raw}_${postfix}` : raw;
|
|
4707
4707
|
}
|
|
4708
4708
|
|
|
4709
|
-
// bazel-out/
|
|
4709
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
4710
4710
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
4711
4711
|
var TEMPORARY_NAME = "_t";
|
|
4712
4712
|
var CONTEXT_NAME = "ctx";
|
|
@@ -4833,7 +4833,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
|
|
|
4833
4833
|
return attributesMap;
|
|
4834
4834
|
}
|
|
4835
4835
|
|
|
4836
|
-
// bazel-out/
|
|
4836
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
4837
4837
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
4838
4838
|
let result = null;
|
|
4839
4839
|
const factoryMeta = {
|
|
@@ -4921,7 +4921,7 @@ function createFactoryFunction(type) {
|
|
|
4921
4921
|
return arrowFn([t], type.prop("\u0275fac").callFn([variable(t.name)]));
|
|
4922
4922
|
}
|
|
4923
4923
|
|
|
4924
|
-
// bazel-out/
|
|
4924
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
4925
4925
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
4926
4926
|
/@/,
|
|
4927
4927
|
/^\s*$/,
|
|
@@ -4944,7 +4944,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
4944
4944
|
}
|
|
4945
4945
|
}
|
|
4946
4946
|
|
|
4947
|
-
// bazel-out/
|
|
4947
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
|
|
4948
4948
|
var InterpolationConfig = class {
|
|
4949
4949
|
static fromArray(markers) {
|
|
4950
4950
|
if (!markers) {
|
|
@@ -4961,7 +4961,7 @@ var InterpolationConfig = class {
|
|
|
4961
4961
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
4962
4962
|
var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
|
|
4963
4963
|
|
|
4964
|
-
// bazel-out/
|
|
4964
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
4965
4965
|
var $EOF = 0;
|
|
4966
4966
|
var $BSPACE = 8;
|
|
4967
4967
|
var $TAB = 9;
|
|
@@ -5043,7 +5043,7 @@ function isQuote(code) {
|
|
|
5043
5043
|
return code === $SQ || code === $DQ || code === $BT;
|
|
5044
5044
|
}
|
|
5045
5045
|
|
|
5046
|
-
// bazel-out/
|
|
5046
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
5047
5047
|
var ParseLocation = class {
|
|
5048
5048
|
constructor(file, offset, line, col) {
|
|
5049
5049
|
this.file = file;
|
|
@@ -5190,7 +5190,7 @@ function sanitizeIdentifier(name) {
|
|
|
5190
5190
|
return name.replace(/\W/g, "_");
|
|
5191
5191
|
}
|
|
5192
5192
|
|
|
5193
|
-
// bazel-out/
|
|
5193
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
5194
5194
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
5195
5195
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
5196
5196
|
constructor() {
|
|
@@ -5283,7 +5283,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
5283
5283
|
}
|
|
5284
5284
|
};
|
|
5285
5285
|
|
|
5286
|
-
// bazel-out/
|
|
5286
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
5287
5287
|
var policy;
|
|
5288
5288
|
function getPolicy() {
|
|
5289
5289
|
if (policy === void 0) {
|
|
@@ -5321,7 +5321,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
5321
5321
|
return fn2.bind(_global);
|
|
5322
5322
|
}
|
|
5323
5323
|
|
|
5324
|
-
// bazel-out/
|
|
5324
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
5325
5325
|
var JitEvaluator = class {
|
|
5326
5326
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
5327
5327
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -5409,7 +5409,7 @@ function isUseStrictStatement(statement) {
|
|
|
5409
5409
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
5410
5410
|
}
|
|
5411
5411
|
|
|
5412
|
-
// bazel-out/
|
|
5412
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
5413
5413
|
function compileInjector(meta) {
|
|
5414
5414
|
const definitionMap = new DefinitionMap();
|
|
5415
5415
|
if (meta.providers !== null) {
|
|
@@ -5426,7 +5426,7 @@ function createInjectorType(meta) {
|
|
|
5426
5426
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
5427
5427
|
}
|
|
5428
5428
|
|
|
5429
|
-
// bazel-out/
|
|
5429
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
5430
5430
|
var R3JitReflector = class {
|
|
5431
5431
|
constructor(context) {
|
|
5432
5432
|
this.context = context;
|
|
@@ -5442,7 +5442,7 @@ var R3JitReflector = class {
|
|
|
5442
5442
|
}
|
|
5443
5443
|
};
|
|
5444
5444
|
|
|
5445
|
-
// bazel-out/
|
|
5445
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
5446
5446
|
var R3SelectorScopeMode;
|
|
5447
5447
|
(function(R3SelectorScopeMode2) {
|
|
5448
5448
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -5577,7 +5577,7 @@ function tupleOfTypes(types) {
|
|
|
5577
5577
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
5578
5578
|
}
|
|
5579
5579
|
|
|
5580
|
-
// bazel-out/
|
|
5580
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
5581
5581
|
function compilePipeFromMetadata(metadata) {
|
|
5582
5582
|
const definitionMapValues = [];
|
|
5583
5583
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -5598,7 +5598,7 @@ function createPipeType(metadata) {
|
|
|
5598
5598
|
]));
|
|
5599
5599
|
}
|
|
5600
5600
|
|
|
5601
|
-
// bazel-out/
|
|
5601
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
5602
5602
|
var R3TemplateDependencyKind;
|
|
5603
5603
|
(function(R3TemplateDependencyKind2) {
|
|
5604
5604
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -5606,7 +5606,7 @@ var R3TemplateDependencyKind;
|
|
|
5606
5606
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
5607
5607
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
5608
5608
|
|
|
5609
|
-
// bazel-out/
|
|
5609
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
5610
5610
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
5611
5611
|
"inherit",
|
|
5612
5612
|
"initial",
|
|
@@ -5752,7 +5752,7 @@ var ShadowCss = class {
|
|
|
5752
5752
|
});
|
|
5753
5753
|
}
|
|
5754
5754
|
_convertColonHostContext(cssText) {
|
|
5755
|
-
return cssText.replace(_cssColonHostContextReGlobal, (selectorText) => {
|
|
5755
|
+
return cssText.replace(_cssColonHostContextReGlobal, (selectorText, pseudoPrefix) => {
|
|
5756
5756
|
var _a2;
|
|
5757
5757
|
const contextSelectorGroups = [[]];
|
|
5758
5758
|
let match;
|
|
@@ -5767,7 +5767,7 @@ var ShadowCss = class {
|
|
|
5767
5767
|
}
|
|
5768
5768
|
selectorText = match[2];
|
|
5769
5769
|
}
|
|
5770
|
-
return contextSelectorGroups.map((contextSelectors) =>
|
|
5770
|
+
return contextSelectorGroups.map((contextSelectors) => _combineHostContextSelectors(contextSelectors, selectorText, pseudoPrefix)).join(", ");
|
|
5771
5771
|
});
|
|
5772
5772
|
}
|
|
5773
5773
|
_convertShadowDOMSelectors(cssText) {
|
|
@@ -5778,7 +5778,12 @@ var ShadowCss = class {
|
|
|
5778
5778
|
let selector = rule.selector;
|
|
5779
5779
|
let content = rule.content;
|
|
5780
5780
|
if (rule.selector[0] !== "@") {
|
|
5781
|
-
selector = this._scopeSelector(
|
|
5781
|
+
selector = this._scopeSelector({
|
|
5782
|
+
selector,
|
|
5783
|
+
scopeSelector,
|
|
5784
|
+
hostSelector,
|
|
5785
|
+
isParentSelector: true
|
|
5786
|
+
});
|
|
5782
5787
|
} else if (scopedAtRuleIdentifiers.some((atRule) => rule.selector.startsWith(atRule))) {
|
|
5783
5788
|
content = this._scopeSelectors(rule.content, scopeSelector, hostSelector);
|
|
5784
5789
|
} else if (rule.selector.startsWith("@font-face") || rule.selector.startsWith("@page")) {
|
|
@@ -5793,12 +5798,18 @@ var ShadowCss = class {
|
|
|
5793
5798
|
return new CssRule(selector, rule.content);
|
|
5794
5799
|
});
|
|
5795
5800
|
}
|
|
5796
|
-
_scopeSelector(selector, scopeSelector, hostSelector) {
|
|
5797
|
-
|
|
5801
|
+
_scopeSelector({ selector, scopeSelector, hostSelector, isParentSelector = false }) {
|
|
5802
|
+
const selectorSplitRe = / ?,(?!(?:[^)(]*(?:\([^)(]*(?:\([^)(]*(?:\([^)(]*\)[^)(]*)*\)[^)(]*)*\)[^)(]*)*\))) ?/;
|
|
5803
|
+
return selector.split(selectorSplitRe).map((part) => part.split(_shadowDeepSelectors)).map((deepParts) => {
|
|
5798
5804
|
const [shallowPart, ...otherParts] = deepParts;
|
|
5799
5805
|
const applyScope = (shallowPart2) => {
|
|
5800
5806
|
if (this._selectorNeedsScoping(shallowPart2, scopeSelector)) {
|
|
5801
|
-
return this._applySelectorScope(
|
|
5807
|
+
return this._applySelectorScope({
|
|
5808
|
+
selector: shallowPart2,
|
|
5809
|
+
scopeSelector,
|
|
5810
|
+
hostSelector,
|
|
5811
|
+
isParentSelector
|
|
5812
|
+
});
|
|
5802
5813
|
} else {
|
|
5803
5814
|
return shallowPart2;
|
|
5804
5815
|
}
|
|
@@ -5820,15 +5831,15 @@ var ShadowCss = class {
|
|
|
5820
5831
|
_polyfillHostRe.lastIndex = 0;
|
|
5821
5832
|
if (_polyfillHostRe.test(selector)) {
|
|
5822
5833
|
const replaceBy = `[${hostSelector}]`;
|
|
5823
|
-
return selector.replace(
|
|
5824
|
-
return selector2.replace(/([
|
|
5834
|
+
return selector.replace(_polyfillHostNoCombinatorReGlobal, (_hnc, selector2) => {
|
|
5835
|
+
return selector2.replace(/([^:\)]*)(:*)(.*)/, (_, before, colon, after) => {
|
|
5825
5836
|
return before + replaceBy + colon + after;
|
|
5826
5837
|
});
|
|
5827
5838
|
}).replace(_polyfillHostRe, replaceBy + " ");
|
|
5828
5839
|
}
|
|
5829
5840
|
return scopeSelector + " " + selector;
|
|
5830
5841
|
}
|
|
5831
|
-
_applySelectorScope(selector, scopeSelector, hostSelector) {
|
|
5842
|
+
_applySelectorScope({ selector, scopeSelector, hostSelector, isParentSelector }) {
|
|
5832
5843
|
var _a2;
|
|
5833
5844
|
const isRe = /\[is=([^\]]*)\]/g;
|
|
5834
5845
|
scopeSelector = scopeSelector.replace(isRe, (_, ...parts) => parts[0]);
|
|
@@ -5840,6 +5851,10 @@ var ShadowCss = class {
|
|
|
5840
5851
|
}
|
|
5841
5852
|
if (p.includes(_polyfillHostNoCombinator)) {
|
|
5842
5853
|
scopedP = this._applySimpleSelectorScope(p, scopeSelector, hostSelector);
|
|
5854
|
+
if (_polyfillHostNoCombinatorWithinPseudoFunction.test(p)) {
|
|
5855
|
+
const [_, before, colon, after] = scopedP.match(/([^:]*)(:*)(.*)/);
|
|
5856
|
+
scopedP = before + attrName + colon + after;
|
|
5857
|
+
}
|
|
5843
5858
|
} else {
|
|
5844
5859
|
const t = p.replace(_polyfillHostRe, "");
|
|
5845
5860
|
if (t.length > 0) {
|
|
@@ -5851,29 +5866,52 @@ var ShadowCss = class {
|
|
|
5851
5866
|
}
|
|
5852
5867
|
return scopedP;
|
|
5853
5868
|
};
|
|
5854
|
-
const
|
|
5855
|
-
|
|
5869
|
+
const _pseudoFunctionAwareScopeSelectorPart = (selectorPart) => {
|
|
5870
|
+
let scopedPart = "";
|
|
5871
|
+
const cssPrefixWithPseudoSelectorFunctionMatch = selectorPart.match(_cssPrefixWithPseudoSelectorFunction);
|
|
5872
|
+
if (cssPrefixWithPseudoSelectorFunctionMatch) {
|
|
5873
|
+
const [cssPseudoSelectorFunction] = cssPrefixWithPseudoSelectorFunctionMatch;
|
|
5874
|
+
const selectorToScope = selectorPart.slice(cssPseudoSelectorFunction.length, -1);
|
|
5875
|
+
if (selectorToScope.includes(_polyfillHostNoCombinator)) {
|
|
5876
|
+
this._shouldScopeIndicator = true;
|
|
5877
|
+
}
|
|
5878
|
+
const scopedInnerPart = this._scopeSelector({
|
|
5879
|
+
selector: selectorToScope,
|
|
5880
|
+
scopeSelector,
|
|
5881
|
+
hostSelector
|
|
5882
|
+
});
|
|
5883
|
+
scopedPart = `${cssPseudoSelectorFunction}${scopedInnerPart})`;
|
|
5884
|
+
} else {
|
|
5885
|
+
this._shouldScopeIndicator = this._shouldScopeIndicator || selectorPart.includes(_polyfillHostNoCombinator);
|
|
5886
|
+
scopedPart = this._shouldScopeIndicator ? _scopeSelectorPart(selectorPart) : selectorPart;
|
|
5887
|
+
}
|
|
5888
|
+
return scopedPart;
|
|
5889
|
+
};
|
|
5890
|
+
if (isParentSelector) {
|
|
5891
|
+
this._safeSelector = new SafeSelector(selector);
|
|
5892
|
+
selector = this._safeSelector.content();
|
|
5893
|
+
}
|
|
5856
5894
|
let scopedSelector = "";
|
|
5857
5895
|
let startIndex = 0;
|
|
5858
5896
|
let res;
|
|
5859
|
-
const sep = /( |>|\+|~(?!=))\s*/g;
|
|
5897
|
+
const sep = /( |>|\+|~(?!=))(?!([^)(]*(?:\([^)(]*(?:\([^)(]*(?:\([^)(]*\)[^)(]*)*\)[^)(]*)*\)[^)(]*)*\)))\s*/g;
|
|
5860
5898
|
const hasHost = selector.includes(_polyfillHostNoCombinator);
|
|
5861
|
-
|
|
5899
|
+
if (isParentSelector || this._shouldScopeIndicator) {
|
|
5900
|
+
this._shouldScopeIndicator = !hasHost;
|
|
5901
|
+
}
|
|
5862
5902
|
while ((res = sep.exec(selector)) !== null) {
|
|
5863
5903
|
const separator = res[1];
|
|
5864
5904
|
const part2 = selector.slice(startIndex, res.index);
|
|
5865
5905
|
if (part2.match(/__esc-ph-(\d+)__/) && ((_a2 = selector[res.index + 1]) == null ? void 0 : _a2.match(/[a-fA-F\d]/))) {
|
|
5866
5906
|
continue;
|
|
5867
5907
|
}
|
|
5868
|
-
|
|
5869
|
-
const scopedPart = shouldScope ? _scopeSelectorPart(part2) : part2;
|
|
5908
|
+
const scopedPart = _pseudoFunctionAwareScopeSelectorPart(part2);
|
|
5870
5909
|
scopedSelector += `${scopedPart} ${separator} `;
|
|
5871
5910
|
startIndex = sep.lastIndex;
|
|
5872
5911
|
}
|
|
5873
5912
|
const part = selector.substring(startIndex);
|
|
5874
|
-
|
|
5875
|
-
|
|
5876
|
-
return safeContent.restore(scopedSelector);
|
|
5913
|
+
scopedSelector += _pseudoFunctionAwareScopeSelectorPart(part);
|
|
5914
|
+
return this._safeSelector.restore(scopedSelector);
|
|
5877
5915
|
}
|
|
5878
5916
|
_insertPolyfillHostInCssText(selector) {
|
|
5879
5917
|
return selector.replace(_colonHostContextRe, _polyfillHostContext).replace(_colonHostRe, _polyfillHost);
|
|
@@ -5912,6 +5950,8 @@ var SafeSelector = class {
|
|
|
5912
5950
|
});
|
|
5913
5951
|
}
|
|
5914
5952
|
};
|
|
5953
|
+
var _cssScopedPseudoFunctionPrefix = "(:(where|is)\\()?";
|
|
5954
|
+
var _cssPrefixWithPseudoSelectorFunction = /^:(where|is)\(/i;
|
|
5915
5955
|
var _cssContentNextSelectorRe = /polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim;
|
|
5916
5956
|
var _cssContentRuleRe = /(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim;
|
|
5917
5957
|
var _cssContentUnscopedRuleRe = /(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim;
|
|
@@ -5919,10 +5959,12 @@ var _polyfillHost = "-shadowcsshost";
|
|
|
5919
5959
|
var _polyfillHostContext = "-shadowcsscontext";
|
|
5920
5960
|
var _parenSuffix = "(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";
|
|
5921
5961
|
var _cssColonHostRe = new RegExp(_polyfillHost + _parenSuffix, "gim");
|
|
5922
|
-
var _cssColonHostContextReGlobal = new RegExp(_polyfillHostContext + _parenSuffix, "gim");
|
|
5962
|
+
var _cssColonHostContextReGlobal = new RegExp(_cssScopedPseudoFunctionPrefix + "(" + _polyfillHostContext + _parenSuffix + ")", "gim");
|
|
5923
5963
|
var _cssColonHostContextRe = new RegExp(_polyfillHostContext + _parenSuffix, "im");
|
|
5924
5964
|
var _polyfillHostNoCombinator = _polyfillHost + "-no-combinator";
|
|
5965
|
+
var _polyfillHostNoCombinatorWithinPseudoFunction = new RegExp(`:.*\\(.*${_polyfillHostNoCombinator}.*\\)`);
|
|
5925
5966
|
var _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
|
|
5967
|
+
var _polyfillHostNoCombinatorReGlobal = new RegExp(_polyfillHostNoCombinatorRe, "g");
|
|
5926
5968
|
var _shadowDOMSelectorsRe = [
|
|
5927
5969
|
/::shadow/g,
|
|
5928
5970
|
/::content/g,
|
|
@@ -6057,7 +6099,7 @@ function unescapeInStrings(input) {
|
|
|
6057
6099
|
function unescapeQuotes(str, isQuoted) {
|
|
6058
6100
|
return !isQuoted ? str : str.replace(/((?:^|[^\\])(?:\\\\)*)\\(?=['"])/g, "$1");
|
|
6059
6101
|
}
|
|
6060
|
-
function
|
|
6102
|
+
function _combineHostContextSelectors(contextSelectors, otherSelectors, pseudoPrefix = "") {
|
|
6061
6103
|
const hostMarker = _polyfillHostNoCombinator;
|
|
6062
6104
|
_polyfillHostRe.lastIndex = 0;
|
|
6063
6105
|
const otherSelectorsHasHost = _polyfillHostRe.test(otherSelectors);
|
|
@@ -6075,7 +6117,7 @@ function combineHostContextSelectors(contextSelectors, otherSelectors) {
|
|
|
6075
6117
|
combined[i] = contextSelector + previousSelectors;
|
|
6076
6118
|
}
|
|
6077
6119
|
}
|
|
6078
|
-
return combined.map((s) => otherSelectorsHasHost ? `${s}${otherSelectors}` : `${s}${hostMarker}${otherSelectors}, ${s} ${hostMarker}${otherSelectors}`).join(",");
|
|
6120
|
+
return combined.map((s) => otherSelectorsHasHost ? `${pseudoPrefix}${s}${otherSelectors}` : `${pseudoPrefix}${s}${hostMarker}${otherSelectors}, ${pseudoPrefix}${s} ${hostMarker}${otherSelectors}`).join(",");
|
|
6079
6121
|
}
|
|
6080
6122
|
function repeatGroups(groups, multiples) {
|
|
6081
6123
|
const length = groups.length;
|
|
@@ -6086,7 +6128,7 @@ function repeatGroups(groups, multiples) {
|
|
|
6086
6128
|
}
|
|
6087
6129
|
}
|
|
6088
6130
|
|
|
6089
|
-
// bazel-out/
|
|
6131
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
6090
6132
|
var OpKind;
|
|
6091
6133
|
(function(OpKind2) {
|
|
6092
6134
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -6244,7 +6286,7 @@ var TemplateKind;
|
|
|
6244
6286
|
TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
|
|
6245
6287
|
})(TemplateKind || (TemplateKind = {}));
|
|
6246
6288
|
|
|
6247
|
-
// bazel-out/
|
|
6289
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
6248
6290
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
6249
6291
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
6250
6292
|
var ConsumesVarsTrait = Symbol("ConsumesVars");
|
|
@@ -6272,7 +6314,7 @@ function hasUsesVarOffsetTrait(expr) {
|
|
|
6272
6314
|
return expr[UsesVarOffset] === true;
|
|
6273
6315
|
}
|
|
6274
6316
|
|
|
6275
|
-
// bazel-out/
|
|
6317
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
6276
6318
|
function createStatementOp(statement) {
|
|
6277
6319
|
return __spreadValues({
|
|
6278
6320
|
kind: OpKind.Statement,
|
|
@@ -6294,7 +6336,7 @@ var NEW_OP = {
|
|
|
6294
6336
|
next: null
|
|
6295
6337
|
};
|
|
6296
6338
|
|
|
6297
|
-
// bazel-out/
|
|
6339
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
6298
6340
|
function createInterpolateTextOp(xref, interpolation, sourceSpan) {
|
|
6299
6341
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
6300
6342
|
kind: OpKind.InterpolateText,
|
|
@@ -6483,7 +6525,7 @@ function createStoreLetOp(target, declaredName, value, sourceSpan) {
|
|
|
6483
6525
|
}, TRAIT_DEPENDS_ON_SLOT_CONTEXT), TRAIT_CONSUMES_VARS), NEW_OP);
|
|
6484
6526
|
}
|
|
6485
6527
|
|
|
6486
|
-
// bazel-out/
|
|
6528
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
6487
6529
|
var _a;
|
|
6488
6530
|
var _b;
|
|
6489
6531
|
var _c;
|
|
@@ -7401,7 +7443,7 @@ function isStringLiteral(expr) {
|
|
|
7401
7443
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
7402
7444
|
}
|
|
7403
7445
|
|
|
7404
|
-
// bazel-out/
|
|
7446
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
7405
7447
|
var _OpList = class {
|
|
7406
7448
|
constructor() {
|
|
7407
7449
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -7592,14 +7634,14 @@ var OpList = _OpList;
|
|
|
7592
7634
|
_OpList.nextListId = 0;
|
|
7593
7635
|
})();
|
|
7594
7636
|
|
|
7595
|
-
// bazel-out/
|
|
7637
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
7596
7638
|
var SlotHandle = class {
|
|
7597
7639
|
constructor() {
|
|
7598
7640
|
this.slot = null;
|
|
7599
7641
|
}
|
|
7600
7642
|
};
|
|
7601
7643
|
|
|
7602
|
-
// bazel-out/
|
|
7644
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
7603
7645
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
7604
7646
|
OpKind.Element,
|
|
7605
7647
|
OpKind.ElementStart,
|
|
@@ -7912,7 +7954,7 @@ function createI18nAttributesOp(xref, handle, target) {
|
|
|
7912
7954
|
}, NEW_OP), TRAIT_CONSUMES_SLOT);
|
|
7913
7955
|
}
|
|
7914
7956
|
|
|
7915
|
-
// bazel-out/
|
|
7957
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
7916
7958
|
function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
|
|
7917
7959
|
return __spreadValues(__spreadValues({
|
|
7918
7960
|
kind: OpKind.HostProperty,
|
|
@@ -7926,10 +7968,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
|
|
|
7926
7968
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
7927
7969
|
}
|
|
7928
7970
|
|
|
7929
|
-
// bazel-out/
|
|
7971
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
7930
7972
|
var CTX_REF = "CTX_REF_MARKER";
|
|
7931
7973
|
|
|
7932
|
-
// bazel-out/
|
|
7974
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
7933
7975
|
var CompilationJobKind;
|
|
7934
7976
|
(function(CompilationJobKind2) {
|
|
7935
7977
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -8037,7 +8079,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
8037
8079
|
}
|
|
8038
8080
|
};
|
|
8039
8081
|
|
|
8040
|
-
// bazel-out/
|
|
8082
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
8041
8083
|
function deleteAnyCasts(job) {
|
|
8042
8084
|
for (const unit of job.units) {
|
|
8043
8085
|
for (const op of unit.ops()) {
|
|
@@ -8055,7 +8097,7 @@ function removeAnys(e) {
|
|
|
8055
8097
|
return e;
|
|
8056
8098
|
}
|
|
8057
8099
|
|
|
8058
|
-
// bazel-out/
|
|
8100
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
8059
8101
|
function applyI18nExpressions(job) {
|
|
8060
8102
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
8061
8103
|
for (const unit of job.units) {
|
|
@@ -8098,7 +8140,7 @@ function needsApplication(i18nContexts, op) {
|
|
|
8098
8140
|
return false;
|
|
8099
8141
|
}
|
|
8100
8142
|
|
|
8101
|
-
// bazel-out/
|
|
8143
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
8102
8144
|
function assignI18nSlotDependencies(job) {
|
|
8103
8145
|
for (const unit of job.units) {
|
|
8104
8146
|
let updateOp = unit.update.head;
|
|
@@ -8143,7 +8185,7 @@ function assignI18nSlotDependencies(job) {
|
|
|
8143
8185
|
}
|
|
8144
8186
|
}
|
|
8145
8187
|
|
|
8146
|
-
// bazel-out/
|
|
8188
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
8147
8189
|
function createOpXrefMap(unit) {
|
|
8148
8190
|
const map = /* @__PURE__ */ new Map();
|
|
8149
8191
|
for (const op of unit.create) {
|
|
@@ -8158,7 +8200,7 @@ function createOpXrefMap(unit) {
|
|
|
8158
8200
|
return map;
|
|
8159
8201
|
}
|
|
8160
8202
|
|
|
8161
|
-
// bazel-out/
|
|
8203
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
8162
8204
|
function extractAttributes(job) {
|
|
8163
8205
|
for (const unit of job.units) {
|
|
8164
8206
|
const elements = createOpXrefMap(unit);
|
|
@@ -8287,7 +8329,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
8287
8329
|
}
|
|
8288
8330
|
}
|
|
8289
8331
|
|
|
8290
|
-
// bazel-out/
|
|
8332
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
8291
8333
|
function lookupElement2(elements, xref) {
|
|
8292
8334
|
const el = elements.get(xref);
|
|
8293
8335
|
if (el === void 0) {
|
|
@@ -8344,7 +8386,7 @@ function specializeBindings(job) {
|
|
|
8344
8386
|
}
|
|
8345
8387
|
}
|
|
8346
8388
|
|
|
8347
|
-
// bazel-out/
|
|
8389
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
8348
8390
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
8349
8391
|
Identifiers.attribute,
|
|
8350
8392
|
Identifiers.classProp,
|
|
@@ -8416,7 +8458,7 @@ function chainOperationsInList(opList) {
|
|
|
8416
8458
|
}
|
|
8417
8459
|
}
|
|
8418
8460
|
|
|
8419
|
-
// bazel-out/
|
|
8461
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
8420
8462
|
function collapseSingletonInterpolations(job) {
|
|
8421
8463
|
for (const unit of job.units) {
|
|
8422
8464
|
for (const op of unit.update) {
|
|
@@ -8428,7 +8470,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
8428
8470
|
}
|
|
8429
8471
|
}
|
|
8430
8472
|
|
|
8431
|
-
// bazel-out/
|
|
8473
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
8432
8474
|
function generateConditionalExpressions(job) {
|
|
8433
8475
|
for (const unit of job.units) {
|
|
8434
8476
|
for (const op of unit.ops()) {
|
|
@@ -8465,7 +8507,7 @@ function generateConditionalExpressions(job) {
|
|
|
8465
8507
|
}
|
|
8466
8508
|
}
|
|
8467
8509
|
|
|
8468
|
-
// bazel-out/
|
|
8510
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
8469
8511
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
8470
8512
|
["&&", BinaryOperator.And],
|
|
8471
8513
|
[">", BinaryOperator.Bigger],
|
|
@@ -8522,7 +8564,7 @@ function literalOrArrayLiteral(value) {
|
|
|
8522
8564
|
return literal(value);
|
|
8523
8565
|
}
|
|
8524
8566
|
|
|
8525
|
-
// bazel-out/
|
|
8567
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
8526
8568
|
function collectElementConsts(job) {
|
|
8527
8569
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
8528
8570
|
for (const unit of job.units) {
|
|
@@ -8691,7 +8733,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
8691
8733
|
return literalArr(attrArray);
|
|
8692
8734
|
}
|
|
8693
8735
|
|
|
8694
|
-
// bazel-out/
|
|
8736
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
|
|
8695
8737
|
function convertI18nBindings(job) {
|
|
8696
8738
|
const i18nAttributesByElem = /* @__PURE__ */ new Map();
|
|
8697
8739
|
for (const unit of job.units) {
|
|
@@ -8732,7 +8774,7 @@ function convertI18nBindings(job) {
|
|
|
8732
8774
|
}
|
|
8733
8775
|
}
|
|
8734
8776
|
|
|
8735
|
-
// bazel-out/
|
|
8777
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
|
|
8736
8778
|
function resolveDeferDepsFns(job) {
|
|
8737
8779
|
var _a2;
|
|
8738
8780
|
for (const unit of job.units) {
|
|
@@ -8757,7 +8799,7 @@ function resolveDeferDepsFns(job) {
|
|
|
8757
8799
|
}
|
|
8758
8800
|
}
|
|
8759
8801
|
|
|
8760
|
-
// bazel-out/
|
|
8802
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
8761
8803
|
function createI18nContexts(job) {
|
|
8762
8804
|
const attrContextByMessage = /* @__PURE__ */ new Map();
|
|
8763
8805
|
for (const unit of job.units) {
|
|
@@ -8835,7 +8877,7 @@ function createI18nContexts(job) {
|
|
|
8835
8877
|
}
|
|
8836
8878
|
}
|
|
8837
8879
|
|
|
8838
|
-
// bazel-out/
|
|
8880
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
|
|
8839
8881
|
function deduplicateTextBindings(job) {
|
|
8840
8882
|
const seen = /* @__PURE__ */ new Map();
|
|
8841
8883
|
for (const unit of job.units) {
|
|
@@ -8857,7 +8899,7 @@ function deduplicateTextBindings(job) {
|
|
|
8857
8899
|
}
|
|
8858
8900
|
}
|
|
8859
8901
|
|
|
8860
|
-
// bazel-out/
|
|
8902
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
8861
8903
|
function configureDeferInstructions(job) {
|
|
8862
8904
|
for (const unit of job.units) {
|
|
8863
8905
|
for (const op of unit.create) {
|
|
@@ -8874,7 +8916,7 @@ function configureDeferInstructions(job) {
|
|
|
8874
8916
|
}
|
|
8875
8917
|
}
|
|
8876
8918
|
|
|
8877
|
-
// bazel-out/
|
|
8919
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
8878
8920
|
function resolveDeferTargetNames(job) {
|
|
8879
8921
|
const scopes = /* @__PURE__ */ new Map();
|
|
8880
8922
|
function getScopeForView2(view) {
|
|
@@ -8968,7 +9010,7 @@ var Scope = class {
|
|
|
8968
9010
|
}
|
|
8969
9011
|
};
|
|
8970
9012
|
|
|
8971
|
-
// bazel-out/
|
|
9013
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
8972
9014
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
8973
9015
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
8974
9016
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -8995,7 +9037,7 @@ function collapseEmptyInstructions(job) {
|
|
|
8995
9037
|
}
|
|
8996
9038
|
}
|
|
8997
9039
|
|
|
8998
|
-
// bazel-out/
|
|
9040
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
8999
9041
|
function expandSafeReads(job) {
|
|
9000
9042
|
for (const unit of job.units) {
|
|
9001
9043
|
for (const op of unit.ops()) {
|
|
@@ -9131,7 +9173,7 @@ function ternaryTransform(e) {
|
|
|
9131
9173
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
9132
9174
|
}
|
|
9133
9175
|
|
|
9134
|
-
// bazel-out/
|
|
9176
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
9135
9177
|
var ESCAPE = "\uFFFD";
|
|
9136
9178
|
var ELEMENT_MARKER = "#";
|
|
9137
9179
|
var TEMPLATE_MARKER = "*";
|
|
@@ -9267,7 +9309,7 @@ function formatValue(value) {
|
|
|
9267
9309
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
9268
9310
|
}
|
|
9269
9311
|
|
|
9270
|
-
// bazel-out/
|
|
9312
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
9271
9313
|
function generateAdvance(job) {
|
|
9272
9314
|
for (const unit of job.units) {
|
|
9273
9315
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -9310,7 +9352,7 @@ function generateAdvance(job) {
|
|
|
9310
9352
|
}
|
|
9311
9353
|
}
|
|
9312
9354
|
|
|
9313
|
-
// bazel-out/
|
|
9355
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
9314
9356
|
function generateProjectionDefs(job) {
|
|
9315
9357
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
9316
9358
|
const selectors = [];
|
|
@@ -9334,7 +9376,7 @@ function generateProjectionDefs(job) {
|
|
|
9334
9376
|
}
|
|
9335
9377
|
}
|
|
9336
9378
|
|
|
9337
|
-
// bazel-out/
|
|
9379
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
9338
9380
|
function generateVariables(job) {
|
|
9339
9381
|
recursivelyProcessView(job.root, null);
|
|
9340
9382
|
}
|
|
@@ -9452,7 +9494,7 @@ function generateVariablesInScopeForView(view, scope, isListener) {
|
|
|
9452
9494
|
return newOps;
|
|
9453
9495
|
}
|
|
9454
9496
|
|
|
9455
|
-
// bazel-out/
|
|
9497
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
9456
9498
|
function collectConstExpressions(job) {
|
|
9457
9499
|
for (const unit of job.units) {
|
|
9458
9500
|
for (const op of unit.ops()) {
|
|
@@ -9466,7 +9508,7 @@ function collectConstExpressions(job) {
|
|
|
9466
9508
|
}
|
|
9467
9509
|
}
|
|
9468
9510
|
|
|
9469
|
-
// bazel-out/
|
|
9511
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
9470
9512
|
var STYLE_DOT = "style.";
|
|
9471
9513
|
var CLASS_DOT = "class.";
|
|
9472
9514
|
var STYLE_BANG = "style!";
|
|
@@ -9524,7 +9566,7 @@ function parseProperty(name) {
|
|
|
9524
9566
|
return { property: property2, suffix };
|
|
9525
9567
|
}
|
|
9526
9568
|
|
|
9527
|
-
// bazel-out/
|
|
9569
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
9528
9570
|
function mapLiteral(obj, quoted = false) {
|
|
9529
9571
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
9530
9572
|
key,
|
|
@@ -9533,7 +9575,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
9533
9575
|
})));
|
|
9534
9576
|
}
|
|
9535
9577
|
|
|
9536
|
-
// bazel-out/
|
|
9578
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
9537
9579
|
var IcuSerializerVisitor = class {
|
|
9538
9580
|
visitText(text2) {
|
|
9539
9581
|
return text2.value;
|
|
@@ -9567,7 +9609,7 @@ function serializeIcuNode(icu) {
|
|
|
9567
9609
|
return icu.visit(serializer);
|
|
9568
9610
|
}
|
|
9569
9611
|
|
|
9570
|
-
// bazel-out/
|
|
9612
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
9571
9613
|
var NodeWithI18n = class {
|
|
9572
9614
|
constructor(sourceSpan, i18n2) {
|
|
9573
9615
|
this.sourceSpan = sourceSpan;
|
|
@@ -9733,7 +9775,7 @@ var RecursiveVisitor = class {
|
|
|
9733
9775
|
}
|
|
9734
9776
|
};
|
|
9735
9777
|
|
|
9736
|
-
// bazel-out/
|
|
9778
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
9737
9779
|
var NAMED_ENTITIES = {
|
|
9738
9780
|
"AElig": "\xC6",
|
|
9739
9781
|
"AMP": "&",
|
|
@@ -11864,7 +11906,7 @@ var NAMED_ENTITIES = {
|
|
|
11864
11906
|
var NGSP_UNICODE = "\uE500";
|
|
11865
11907
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
11866
11908
|
|
|
11867
|
-
// bazel-out/
|
|
11909
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
11868
11910
|
var TokenError = class extends ParseError {
|
|
11869
11911
|
constructor(errorMsg, tokenType, span) {
|
|
11870
11912
|
super(span, errorMsg);
|
|
@@ -12854,7 +12896,7 @@ var CursorError = class {
|
|
|
12854
12896
|
}
|
|
12855
12897
|
};
|
|
12856
12898
|
|
|
12857
|
-
// bazel-out/
|
|
12899
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
12858
12900
|
var TreeError = class extends ParseError {
|
|
12859
12901
|
static create(elementName, span, msg) {
|
|
12860
12902
|
return new TreeError(elementName, span, msg);
|
|
@@ -13282,7 +13324,7 @@ function decodeEntity(match, entity) {
|
|
|
13282
13324
|
return match;
|
|
13283
13325
|
}
|
|
13284
13326
|
|
|
13285
|
-
// bazel-out/
|
|
13327
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
13286
13328
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
13287
13329
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
13288
13330
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -13422,7 +13464,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
13422
13464
|
return result;
|
|
13423
13465
|
}
|
|
13424
13466
|
|
|
13425
|
-
// bazel-out/
|
|
13467
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
13426
13468
|
var TokenType;
|
|
13427
13469
|
(function(TokenType2) {
|
|
13428
13470
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -13783,7 +13825,7 @@ function parseIntAutoRadix(text2) {
|
|
|
13783
13825
|
return result;
|
|
13784
13826
|
}
|
|
13785
13827
|
|
|
13786
|
-
// bazel-out/
|
|
13828
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
13787
13829
|
var SplitInterpolation = class {
|
|
13788
13830
|
constructor(strings, expressions, offsets) {
|
|
13789
13831
|
this.strings = strings;
|
|
@@ -14667,7 +14709,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
14667
14709
|
return offsetMap;
|
|
14668
14710
|
}
|
|
14669
14711
|
|
|
14670
|
-
// bazel-out/
|
|
14712
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
14671
14713
|
var _SECURITY_SCHEMA;
|
|
14672
14714
|
function SECURITY_SCHEMA() {
|
|
14673
14715
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -14728,11 +14770,11 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
14728
14770
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
14729
14771
|
}
|
|
14730
14772
|
|
|
14731
|
-
// bazel-out/
|
|
14773
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
14732
14774
|
var ElementSchemaRegistry = class {
|
|
14733
14775
|
};
|
|
14734
14776
|
|
|
14735
|
-
// bazel-out/
|
|
14777
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
14736
14778
|
var BOOLEAN = "boolean";
|
|
14737
14779
|
var NUMBER = "number";
|
|
14738
14780
|
var STRING = "string";
|
|
@@ -15115,7 +15157,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
15115
15157
|
}
|
|
15116
15158
|
}
|
|
15117
15159
|
|
|
15118
|
-
// bazel-out/
|
|
15160
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
15119
15161
|
var HtmlTagDefinition = class {
|
|
15120
15162
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
15121
15163
|
this.closedByChildren = {};
|
|
@@ -15251,7 +15293,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
15251
15293
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
15252
15294
|
}
|
|
15253
15295
|
|
|
15254
|
-
// bazel-out/
|
|
15296
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
15255
15297
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
15256
15298
|
"A": "LINK",
|
|
15257
15299
|
"B": "BOLD_TEXT",
|
|
@@ -15373,7 +15415,7 @@ var PlaceholderRegistry = class {
|
|
|
15373
15415
|
}
|
|
15374
15416
|
};
|
|
15375
15417
|
|
|
15376
|
-
// bazel-out/
|
|
15418
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
15377
15419
|
var _expParser = new Parser2(new Lexer());
|
|
15378
15420
|
function createI18nMessageFactory(interpolationConfig, containerBlocks, retainEmptyTokens) {
|
|
15379
15421
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks, retainEmptyTokens);
|
|
@@ -15568,14 +15610,14 @@ function extractPlaceholderName(input) {
|
|
|
15568
15610
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
15569
15611
|
}
|
|
15570
15612
|
|
|
15571
|
-
// bazel-out/
|
|
15613
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
15572
15614
|
var I18nError = class extends ParseError {
|
|
15573
15615
|
constructor(span, msg) {
|
|
15574
15616
|
super(span, msg);
|
|
15575
15617
|
}
|
|
15576
15618
|
};
|
|
15577
15619
|
|
|
15578
|
-
// bazel-out/
|
|
15620
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
15579
15621
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
15580
15622
|
"iframe|srcdoc",
|
|
15581
15623
|
"*|innerhtml",
|
|
@@ -15590,7 +15632,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
15590
15632
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
15591
15633
|
}
|
|
15592
15634
|
|
|
15593
|
-
// bazel-out/
|
|
15635
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
15594
15636
|
var setI18nRefs = (originalNodeMap) => {
|
|
15595
15637
|
return (trimmedNode, i18nNode) => {
|
|
15596
15638
|
var _a2;
|
|
@@ -15764,7 +15806,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
15764
15806
|
return jsDocComment(tags);
|
|
15765
15807
|
}
|
|
15766
15808
|
|
|
15767
|
-
// bazel-out/
|
|
15809
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
15768
15810
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
15769
15811
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
15770
15812
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -15815,7 +15857,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
15815
15857
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
15816
15858
|
}
|
|
15817
15859
|
|
|
15818
|
-
// bazel-out/
|
|
15860
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
15819
15861
|
function createLocalizeStatements(variable2, message, params) {
|
|
15820
15862
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
15821
15863
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -15904,7 +15946,7 @@ function createEmptyMessagePart(location) {
|
|
|
15904
15946
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
15905
15947
|
}
|
|
15906
15948
|
|
|
15907
|
-
// bazel-out/
|
|
15949
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
15908
15950
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
15909
15951
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
15910
15952
|
var I18N_ICU_MAPPING_PREFIX = "I18N_EXP_";
|
|
@@ -16075,7 +16117,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
16075
16117
|
return variable(name);
|
|
16076
16118
|
}
|
|
16077
16119
|
|
|
16078
|
-
// bazel-out/
|
|
16120
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
16079
16121
|
function convertI18nText(job) {
|
|
16080
16122
|
var _a2, _b2, _c2;
|
|
16081
16123
|
for (const unit of job.units) {
|
|
@@ -16145,7 +16187,7 @@ function convertI18nText(job) {
|
|
|
16145
16187
|
}
|
|
16146
16188
|
}
|
|
16147
16189
|
|
|
16148
|
-
// bazel-out/
|
|
16190
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
16149
16191
|
function liftLocalRefs(job) {
|
|
16150
16192
|
for (const unit of job.units) {
|
|
16151
16193
|
for (const op of unit.create) {
|
|
@@ -16175,7 +16217,7 @@ function serializeLocalRefs(refs) {
|
|
|
16175
16217
|
return literalArr(constRefs);
|
|
16176
16218
|
}
|
|
16177
16219
|
|
|
16178
|
-
// bazel-out/
|
|
16220
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
16179
16221
|
function emitNamespaceChanges(job) {
|
|
16180
16222
|
for (const unit of job.units) {
|
|
16181
16223
|
let activeNamespace = Namespace.HTML;
|
|
@@ -16191,7 +16233,7 @@ function emitNamespaceChanges(job) {
|
|
|
16191
16233
|
}
|
|
16192
16234
|
}
|
|
16193
16235
|
|
|
16194
|
-
// bazel-out/
|
|
16236
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
16195
16237
|
function parse(value) {
|
|
16196
16238
|
const styles = [];
|
|
16197
16239
|
let i = 0;
|
|
@@ -16285,7 +16327,7 @@ function parseExtractedStyles(job) {
|
|
|
16285
16327
|
}
|
|
16286
16328
|
}
|
|
16287
16329
|
|
|
16288
|
-
// bazel-out/
|
|
16330
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
16289
16331
|
function nameFunctionsAndVariables(job) {
|
|
16290
16332
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
16291
16333
|
}
|
|
@@ -16429,7 +16471,7 @@ function stripImportant(name) {
|
|
|
16429
16471
|
return name;
|
|
16430
16472
|
}
|
|
16431
16473
|
|
|
16432
|
-
// bazel-out/
|
|
16474
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
16433
16475
|
function mergeNextContextExpressions(job) {
|
|
16434
16476
|
for (const unit of job.units) {
|
|
16435
16477
|
for (const op of unit.create) {
|
|
@@ -16476,7 +16518,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
16476
16518
|
}
|
|
16477
16519
|
}
|
|
16478
16520
|
|
|
16479
|
-
// bazel-out/
|
|
16521
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
16480
16522
|
var CONTAINER_TAG = "ng-container";
|
|
16481
16523
|
function generateNgContainerOps(job) {
|
|
16482
16524
|
for (const unit of job.units) {
|
|
@@ -16493,7 +16535,7 @@ function generateNgContainerOps(job) {
|
|
|
16493
16535
|
}
|
|
16494
16536
|
}
|
|
16495
16537
|
|
|
16496
|
-
// bazel-out/
|
|
16538
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
16497
16539
|
function lookupElement3(elements, xref) {
|
|
16498
16540
|
const el = elements.get(xref);
|
|
16499
16541
|
if (el === void 0) {
|
|
@@ -16523,7 +16565,7 @@ function disableBindings(job) {
|
|
|
16523
16565
|
}
|
|
16524
16566
|
}
|
|
16525
16567
|
|
|
16526
|
-
// bazel-out/
|
|
16568
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
16527
16569
|
function generateNullishCoalesceExpressions(job) {
|
|
16528
16570
|
for (const unit of job.units) {
|
|
16529
16571
|
for (const op of unit.ops()) {
|
|
@@ -16539,7 +16581,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
16539
16581
|
}
|
|
16540
16582
|
}
|
|
16541
16583
|
|
|
16542
|
-
// bazel-out/
|
|
16584
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
16543
16585
|
function kindTest(kind) {
|
|
16544
16586
|
return (op) => op.kind === kind;
|
|
16545
16587
|
}
|
|
@@ -16629,7 +16671,7 @@ function keepLast(ops) {
|
|
|
16629
16671
|
return ops.slice(ops.length - 1);
|
|
16630
16672
|
}
|
|
16631
16673
|
|
|
16632
|
-
// bazel-out/
|
|
16674
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
16633
16675
|
function removeContentSelectors(job) {
|
|
16634
16676
|
for (const unit of job.units) {
|
|
16635
16677
|
const elements = createOpXrefMap(unit);
|
|
@@ -16656,7 +16698,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
16656
16698
|
return el;
|
|
16657
16699
|
}
|
|
16658
16700
|
|
|
16659
|
-
// bazel-out/
|
|
16701
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
16660
16702
|
function createPipes(job) {
|
|
16661
16703
|
for (const unit of job.units) {
|
|
16662
16704
|
processPipeBindingsInView(unit);
|
|
@@ -16704,7 +16746,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
16704
16746
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
16705
16747
|
}
|
|
16706
16748
|
|
|
16707
|
-
// bazel-out/
|
|
16749
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
16708
16750
|
function createVariadicPipes(job) {
|
|
16709
16751
|
for (const unit of job.units) {
|
|
16710
16752
|
for (const op of unit.update) {
|
|
@@ -16721,7 +16763,7 @@ function createVariadicPipes(job) {
|
|
|
16721
16763
|
}
|
|
16722
16764
|
}
|
|
16723
16765
|
|
|
16724
|
-
// bazel-out/
|
|
16766
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
16725
16767
|
function propagateI18nBlocks(job) {
|
|
16726
16768
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
16727
16769
|
}
|
|
@@ -16775,7 +16817,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
16775
16817
|
}
|
|
16776
16818
|
}
|
|
16777
16819
|
|
|
16778
|
-
// bazel-out/
|
|
16820
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
16779
16821
|
function extractPureFunctions(job) {
|
|
16780
16822
|
for (const view of job.units) {
|
|
16781
16823
|
for (const op of view.ops()) {
|
|
@@ -16817,7 +16859,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
16817
16859
|
}
|
|
16818
16860
|
};
|
|
16819
16861
|
|
|
16820
|
-
// bazel-out/
|
|
16862
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
16821
16863
|
function generatePureLiteralStructures(job) {
|
|
16822
16864
|
for (const unit of job.units) {
|
|
16823
16865
|
for (const op of unit.update) {
|
|
@@ -16864,7 +16906,7 @@ function transformLiteralMap(expr) {
|
|
|
16864
16906
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
16865
16907
|
}
|
|
16866
16908
|
|
|
16867
|
-
// bazel-out/
|
|
16909
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
16868
16910
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
16869
16911
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
16870
16912
|
}
|
|
@@ -17396,7 +17438,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
17396
17438
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
17397
17439
|
}
|
|
17398
17440
|
|
|
17399
|
-
// bazel-out/
|
|
17441
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
17400
17442
|
var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
|
|
17401
17443
|
["window", Identifiers.resolveWindow],
|
|
17402
17444
|
["document", Identifiers.resolveDocument],
|
|
@@ -17761,7 +17803,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
17761
17803
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
17762
17804
|
}
|
|
17763
17805
|
|
|
17764
|
-
// bazel-out/
|
|
17806
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
17765
17807
|
function removeEmptyBindings(job) {
|
|
17766
17808
|
for (const unit of job.units) {
|
|
17767
17809
|
for (const op of unit.update) {
|
|
@@ -17782,7 +17824,7 @@ function removeEmptyBindings(job) {
|
|
|
17782
17824
|
}
|
|
17783
17825
|
}
|
|
17784
17826
|
|
|
17785
|
-
// bazel-out/
|
|
17827
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
17786
17828
|
function removeI18nContexts(job) {
|
|
17787
17829
|
for (const unit of job.units) {
|
|
17788
17830
|
for (const op of unit.create) {
|
|
@@ -17798,7 +17840,7 @@ function removeI18nContexts(job) {
|
|
|
17798
17840
|
}
|
|
17799
17841
|
}
|
|
17800
17842
|
|
|
17801
|
-
// bazel-out/
|
|
17843
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
|
|
17802
17844
|
function removeUnusedI18nAttributesOps(job) {
|
|
17803
17845
|
for (const unit of job.units) {
|
|
17804
17846
|
const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
|
|
@@ -17820,7 +17862,7 @@ function removeUnusedI18nAttributesOps(job) {
|
|
|
17820
17862
|
}
|
|
17821
17863
|
}
|
|
17822
17864
|
|
|
17823
|
-
// bazel-out/
|
|
17865
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
17824
17866
|
function resolveContexts(job) {
|
|
17825
17867
|
for (const unit of job.units) {
|
|
17826
17868
|
processLexicalScope(unit, unit.create);
|
|
@@ -17862,7 +17904,7 @@ function processLexicalScope(view, ops) {
|
|
|
17862
17904
|
}
|
|
17863
17905
|
}
|
|
17864
17906
|
|
|
17865
|
-
// bazel-out/
|
|
17907
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
17866
17908
|
function resolveDollarEvent(job) {
|
|
17867
17909
|
for (const unit of job.units) {
|
|
17868
17910
|
transformDollarEvent(unit.create);
|
|
@@ -17885,7 +17927,7 @@ function transformDollarEvent(ops) {
|
|
|
17885
17927
|
}
|
|
17886
17928
|
}
|
|
17887
17929
|
|
|
17888
|
-
// bazel-out/
|
|
17930
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
17889
17931
|
function resolveI18nElementPlaceholders(job) {
|
|
17890
17932
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
17891
17933
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -18064,7 +18106,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
18064
18106
|
params.set(placeholder, values);
|
|
18065
18107
|
}
|
|
18066
18108
|
|
|
18067
|
-
// bazel-out/
|
|
18109
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
18068
18110
|
function resolveI18nExpressionPlaceholders(job) {
|
|
18069
18111
|
var _a2;
|
|
18070
18112
|
const subTemplateIndices = /* @__PURE__ */ new Map();
|
|
@@ -18117,7 +18159,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
|
|
|
18117
18159
|
}
|
|
18118
18160
|
}
|
|
18119
18161
|
|
|
18120
|
-
// bazel-out/
|
|
18162
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
18121
18163
|
function resolveNames(job) {
|
|
18122
18164
|
for (const unit of job.units) {
|
|
18123
18165
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -18195,7 +18237,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
18195
18237
|
}
|
|
18196
18238
|
}
|
|
18197
18239
|
|
|
18198
|
-
// bazel-out/
|
|
18240
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
18199
18241
|
var sanitizerFns = /* @__PURE__ */ new Map([
|
|
18200
18242
|
[SecurityContext.HTML, Identifiers.sanitizeHtml],
|
|
18201
18243
|
[SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
|
|
@@ -18265,7 +18307,7 @@ function getOnlySecurityContext(securityContext) {
|
|
|
18265
18307
|
return securityContext;
|
|
18266
18308
|
}
|
|
18267
18309
|
|
|
18268
|
-
// bazel-out/
|
|
18310
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
|
|
18269
18311
|
function transformTwoWayBindingSet(job) {
|
|
18270
18312
|
for (const unit of job.units) {
|
|
18271
18313
|
for (const op of unit.create) {
|
|
@@ -18288,7 +18330,7 @@ function transformTwoWayBindingSet(job) {
|
|
|
18288
18330
|
}
|
|
18289
18331
|
}
|
|
18290
18332
|
|
|
18291
|
-
// bazel-out/
|
|
18333
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
18292
18334
|
function saveAndRestoreView(job) {
|
|
18293
18335
|
for (const unit of job.units) {
|
|
18294
18336
|
unit.create.prepend([
|
|
@@ -18333,7 +18375,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
18333
18375
|
}
|
|
18334
18376
|
}
|
|
18335
18377
|
|
|
18336
|
-
// bazel-out/
|
|
18378
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
18337
18379
|
function allocateSlots(job) {
|
|
18338
18380
|
const slotMap = /* @__PURE__ */ new Map();
|
|
18339
18381
|
for (const unit of job.units) {
|
|
@@ -18358,7 +18400,7 @@ function allocateSlots(job) {
|
|
|
18358
18400
|
}
|
|
18359
18401
|
}
|
|
18360
18402
|
|
|
18361
|
-
// bazel-out/
|
|
18403
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
18362
18404
|
function specializeStyleBindings(job) {
|
|
18363
18405
|
for (const unit of job.units) {
|
|
18364
18406
|
for (const op of unit.update) {
|
|
@@ -18388,7 +18430,7 @@ function specializeStyleBindings(job) {
|
|
|
18388
18430
|
}
|
|
18389
18431
|
}
|
|
18390
18432
|
|
|
18391
|
-
// bazel-out/
|
|
18433
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
18392
18434
|
function generateTemporaryVariables(job) {
|
|
18393
18435
|
for (const unit of job.units) {
|
|
18394
18436
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -18446,7 +18488,7 @@ function assignName(names, expr) {
|
|
|
18446
18488
|
expr.name = name;
|
|
18447
18489
|
}
|
|
18448
18490
|
|
|
18449
|
-
// bazel-out/
|
|
18491
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
18450
18492
|
function generateTrackFns(job) {
|
|
18451
18493
|
for (const unit of job.units) {
|
|
18452
18494
|
for (const op of unit.create) {
|
|
@@ -18479,7 +18521,7 @@ function generateTrackFns(job) {
|
|
|
18479
18521
|
}
|
|
18480
18522
|
}
|
|
18481
18523
|
|
|
18482
|
-
// bazel-out/
|
|
18524
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
18483
18525
|
function optimizeTrackFns(job) {
|
|
18484
18526
|
for (const unit of job.units) {
|
|
18485
18527
|
for (const op of unit.create) {
|
|
@@ -18529,7 +18571,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
18529
18571
|
return true;
|
|
18530
18572
|
}
|
|
18531
18573
|
|
|
18532
|
-
// bazel-out/
|
|
18574
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
18533
18575
|
function generateTrackVariables(job) {
|
|
18534
18576
|
for (const unit of job.units) {
|
|
18535
18577
|
for (const op of unit.create) {
|
|
@@ -18550,7 +18592,7 @@ function generateTrackVariables(job) {
|
|
|
18550
18592
|
}
|
|
18551
18593
|
}
|
|
18552
18594
|
|
|
18553
|
-
// bazel-out/
|
|
18595
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
18554
18596
|
function countVariables(job) {
|
|
18555
18597
|
for (const unit of job.units) {
|
|
18556
18598
|
let varCount = 0;
|
|
@@ -18663,7 +18705,7 @@ function isSingletonInterpolation(expr) {
|
|
|
18663
18705
|
return true;
|
|
18664
18706
|
}
|
|
18665
18707
|
|
|
18666
|
-
// bazel-out/
|
|
18708
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
18667
18709
|
function optimizeVariables(job) {
|
|
18668
18710
|
for (const unit of job.units) {
|
|
18669
18711
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -18915,7 +18957,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
18915
18957
|
}
|
|
18916
18958
|
}
|
|
18917
18959
|
|
|
18918
|
-
// bazel-out/
|
|
18960
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
18919
18961
|
function wrapI18nIcus(job) {
|
|
18920
18962
|
for (const unit of job.units) {
|
|
18921
18963
|
let currentI18nOp = null;
|
|
@@ -18945,7 +18987,7 @@ function wrapI18nIcus(job) {
|
|
|
18945
18987
|
}
|
|
18946
18988
|
}
|
|
18947
18989
|
|
|
18948
|
-
// bazel-out/
|
|
18990
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/store_let_optimization.mjs
|
|
18949
18991
|
function optimizeStoreLet(job) {
|
|
18950
18992
|
const letUsedExternally = /* @__PURE__ */ new Set();
|
|
18951
18993
|
for (const unit of job.units) {
|
|
@@ -18964,7 +19006,7 @@ function optimizeStoreLet(job) {
|
|
|
18964
19006
|
}
|
|
18965
19007
|
}
|
|
18966
19008
|
|
|
18967
|
-
// bazel-out/
|
|
19009
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_illegal_let_references.mjs
|
|
18968
19010
|
function removeIllegalLetReferences(job) {
|
|
18969
19011
|
for (const unit of job.units) {
|
|
18970
19012
|
for (const op of unit.update) {
|
|
@@ -18981,7 +19023,7 @@ function removeIllegalLetReferences(job) {
|
|
|
18981
19023
|
}
|
|
18982
19024
|
}
|
|
18983
19025
|
|
|
18984
|
-
// bazel-out/
|
|
19026
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_local_let_references.mjs
|
|
18985
19027
|
function generateLocalLetReferences(job) {
|
|
18986
19028
|
for (const unit of job.units) {
|
|
18987
19029
|
for (const op of unit.update) {
|
|
@@ -18999,7 +19041,7 @@ function generateLocalLetReferences(job) {
|
|
|
18999
19041
|
}
|
|
19000
19042
|
}
|
|
19001
19043
|
|
|
19002
|
-
// bazel-out/
|
|
19044
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
19003
19045
|
var phases = [
|
|
19004
19046
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
19005
19047
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -19156,7 +19198,7 @@ function emitHostBindingFunction(job) {
|
|
|
19156
19198
|
);
|
|
19157
19199
|
}
|
|
19158
19200
|
|
|
19159
|
-
// bazel-out/
|
|
19201
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
19160
19202
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
19161
19203
|
var domSchema = new DomElementSchemaRegistry();
|
|
19162
19204
|
var NG_TEMPLATE_TAG_NAME = "ng-template";
|
|
@@ -19914,7 +19956,7 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
19914
19956
|
return null;
|
|
19915
19957
|
}
|
|
19916
19958
|
|
|
19917
|
-
// bazel-out/
|
|
19959
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
|
|
19918
19960
|
function renderFlagCheckIfStmt(flags, statements) {
|
|
19919
19961
|
return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
|
|
19920
19962
|
}
|
|
@@ -20034,7 +20076,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
|
|
|
20034
20076
|
], INFERRED_TYPE, null, contentQueriesFnName);
|
|
20035
20077
|
}
|
|
20036
20078
|
|
|
20037
|
-
// bazel-out/
|
|
20079
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
20038
20080
|
var HtmlParser = class extends Parser {
|
|
20039
20081
|
constructor() {
|
|
20040
20082
|
super(getHtmlTagDefinition);
|
|
@@ -20044,7 +20086,7 @@ var HtmlParser = class extends Parser {
|
|
|
20044
20086
|
}
|
|
20045
20087
|
};
|
|
20046
20088
|
|
|
20047
|
-
// bazel-out/
|
|
20089
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
20048
20090
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
20049
20091
|
var ATTRIBUTE_PREFIX = "attr";
|
|
20050
20092
|
var CLASS_PREFIX = "class";
|
|
@@ -20398,7 +20440,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
20398
20440
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
20399
20441
|
}
|
|
20400
20442
|
|
|
20401
|
-
// bazel-out/
|
|
20443
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
20402
20444
|
function isStyleUrlResolvable(url) {
|
|
20403
20445
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
20404
20446
|
return false;
|
|
@@ -20407,7 +20449,7 @@ function isStyleUrlResolvable(url) {
|
|
|
20407
20449
|
}
|
|
20408
20450
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
20409
20451
|
|
|
20410
|
-
// bazel-out/
|
|
20452
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
20411
20453
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
20412
20454
|
var LINK_ELEMENT = "link";
|
|
20413
20455
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -20477,7 +20519,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
20477
20519
|
return selectAttr;
|
|
20478
20520
|
}
|
|
20479
20521
|
|
|
20480
|
-
// bazel-out/
|
|
20522
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
20481
20523
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
20482
20524
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
20483
20525
|
var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
|
|
@@ -20800,7 +20842,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
20800
20842
|
return expression.slice(start, end);
|
|
20801
20843
|
}
|
|
20802
20844
|
|
|
20803
|
-
// bazel-out/
|
|
20845
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
20804
20846
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
20805
20847
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
20806
20848
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -21064,7 +21106,7 @@ function parseDeferredTime(value) {
|
|
|
21064
21106
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
21065
21107
|
}
|
|
21066
21108
|
|
|
21067
|
-
// bazel-out/
|
|
21109
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
21068
21110
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
21069
21111
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
21070
21112
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -21199,7 +21241,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
21199
21241
|
return { triggers, prefetchTriggers };
|
|
21200
21242
|
}
|
|
21201
21243
|
|
|
21202
|
-
// bazel-out/
|
|
21244
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
21203
21245
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
21204
21246
|
var KW_BIND_IDX = 1;
|
|
21205
21247
|
var KW_LET_IDX = 2;
|
|
@@ -21666,7 +21708,7 @@ function textContents(node) {
|
|
|
21666
21708
|
}
|
|
21667
21709
|
}
|
|
21668
21710
|
|
|
21669
|
-
// bazel-out/
|
|
21711
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
21670
21712
|
var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
|
|
21671
21713
|
function parseTemplate(template2, templateUrl, options = {}) {
|
|
21672
21714
|
var _a2, _b2, _c2;
|
|
@@ -21760,7 +21802,7 @@ function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, a
|
|
|
21760
21802
|
return new BindingParser(new Parser2(new Lexer()), interpolationConfig, elementRegistry, [], allowInvalidAssignmentEvents);
|
|
21761
21803
|
}
|
|
21762
21804
|
|
|
21763
|
-
// bazel-out/
|
|
21805
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
21764
21806
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
21765
21807
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
21766
21808
|
var CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
|
|
@@ -22127,7 +22169,7 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
22127
22169
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
22128
22170
|
}
|
|
22129
22171
|
|
|
22130
|
-
// bazel-out/
|
|
22172
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
22131
22173
|
var R3TargetBinder = class {
|
|
22132
22174
|
constructor(directiveMatcher) {
|
|
22133
22175
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -22774,11 +22816,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
22774
22816
|
return templateEntities;
|
|
22775
22817
|
}
|
|
22776
22818
|
|
|
22777
|
-
// bazel-out/
|
|
22819
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
22778
22820
|
var ResourceLoader = class {
|
|
22779
22821
|
};
|
|
22780
22822
|
|
|
22781
|
-
// bazel-out/
|
|
22823
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
22782
22824
|
var CompilerFacadeImpl = class {
|
|
22783
22825
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
22784
22826
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -23356,17 +23398,17 @@ function publishFacade(global) {
|
|
|
23356
23398
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
23357
23399
|
}
|
|
23358
23400
|
|
|
23359
|
-
// bazel-out/
|
|
23360
|
-
var VERSION2 = new Version("18.2.
|
|
23401
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
|
|
23402
|
+
var VERSION2 = new Version("18.2.8");
|
|
23361
23403
|
|
|
23362
|
-
// bazel-out/
|
|
23404
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
23363
23405
|
var _VisitorMode;
|
|
23364
23406
|
(function(_VisitorMode2) {
|
|
23365
23407
|
_VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
|
|
23366
23408
|
_VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
|
|
23367
23409
|
})(_VisitorMode || (_VisitorMode = {}));
|
|
23368
23410
|
|
|
23369
|
-
// bazel-out/
|
|
23411
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
23370
23412
|
var XmlTagDefinition = class {
|
|
23371
23413
|
constructor() {
|
|
23372
23414
|
this.closedByParent = false;
|
|
@@ -23388,7 +23430,7 @@ var XmlTagDefinition = class {
|
|
|
23388
23430
|
};
|
|
23389
23431
|
var _TAG_DEFINITION = new XmlTagDefinition();
|
|
23390
23432
|
|
|
23391
|
-
// bazel-out/
|
|
23433
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
23392
23434
|
var FactoryTarget2;
|
|
23393
23435
|
(function(FactoryTarget3) {
|
|
23394
23436
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -23398,13 +23440,13 @@ var FactoryTarget2;
|
|
|
23398
23440
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
23399
23441
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
23400
23442
|
|
|
23401
|
-
// bazel-out/
|
|
23443
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
23402
23444
|
publishFacade(_global);
|
|
23403
23445
|
|
|
23404
|
-
// bazel-out/
|
|
23446
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
23405
23447
|
var import_typescript22 = __toESM(require("typescript"), 1);
|
|
23406
23448
|
|
|
23407
|
-
// bazel-out/
|
|
23449
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
23408
23450
|
var ErrorCode;
|
|
23409
23451
|
(function(ErrorCode2) {
|
|
23410
23452
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -23499,7 +23541,7 @@ var ErrorCode;
|
|
|
23499
23541
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
23500
23542
|
})(ErrorCode || (ErrorCode = {}));
|
|
23501
23543
|
|
|
23502
|
-
// bazel-out/
|
|
23544
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
23503
23545
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
23504
23546
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
23505
23547
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -23511,10 +23553,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
23511
23553
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
23512
23554
|
]);
|
|
23513
23555
|
|
|
23514
|
-
// bazel-out/
|
|
23556
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
23515
23557
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
23516
23558
|
|
|
23517
|
-
// bazel-out/
|
|
23559
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
23518
23560
|
var ExtendedTemplateDiagnosticName;
|
|
23519
23561
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
23520
23562
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -23531,16 +23573,16 @@ var ExtendedTemplateDiagnosticName;
|
|
|
23531
23573
|
ExtendedTemplateDiagnosticName2["UNUSED_LET_DECLARATION"] = "unusedLetDeclaration";
|
|
23532
23574
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
23533
23575
|
|
|
23534
|
-
// bazel-out/
|
|
23576
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
23535
23577
|
var import_typescript21 = __toESM(require("typescript"), 1);
|
|
23536
23578
|
|
|
23537
|
-
// bazel-out/
|
|
23579
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
23538
23580
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
23539
23581
|
|
|
23540
|
-
// bazel-out/
|
|
23582
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
23541
23583
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
23542
23584
|
|
|
23543
|
-
// bazel-out/
|
|
23585
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
23544
23586
|
var InvalidFileSystem = class {
|
|
23545
23587
|
exists(path2) {
|
|
23546
23588
|
throw makeError();
|
|
@@ -23628,18 +23670,18 @@ function makeError() {
|
|
|
23628
23670
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
23629
23671
|
}
|
|
23630
23672
|
|
|
23631
|
-
// bazel-out/
|
|
23673
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
23632
23674
|
var fs = new InvalidFileSystem();
|
|
23633
23675
|
var ABSOLUTE_PATH = Symbol("AbsolutePath");
|
|
23634
23676
|
|
|
23635
|
-
// bazel-out/
|
|
23677
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
23636
23678
|
var import_url = require("url");
|
|
23637
23679
|
var import_meta3 = {};
|
|
23638
23680
|
var isCommonJS = typeof __filename !== "undefined";
|
|
23639
23681
|
var currentFileUrl = isCommonJS ? null : import_meta3.url;
|
|
23640
23682
|
var currentFileName = isCommonJS ? __filename : (0, import_url.fileURLToPath)(currentFileUrl);
|
|
23641
23683
|
|
|
23642
|
-
// bazel-out/
|
|
23684
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
23643
23685
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
23644
23686
|
function identifierOfNode(decl) {
|
|
23645
23687
|
if (decl.name !== void 0 && import_typescript3.default.isIdentifier(decl.name)) {
|
|
@@ -23649,7 +23691,7 @@ function identifierOfNode(decl) {
|
|
|
23649
23691
|
}
|
|
23650
23692
|
}
|
|
23651
23693
|
|
|
23652
|
-
// bazel-out/
|
|
23694
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
23653
23695
|
var ImportFlags;
|
|
23654
23696
|
(function(ImportFlags2) {
|
|
23655
23697
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -23660,20 +23702,20 @@ var ImportFlags;
|
|
|
23660
23702
|
ImportFlags2[ImportFlags2["AllowAmbientReferences"] = 16] = "AllowAmbientReferences";
|
|
23661
23703
|
})(ImportFlags || (ImportFlags = {}));
|
|
23662
23704
|
|
|
23663
|
-
// bazel-out/
|
|
23705
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
23664
23706
|
var import_typescript7 = __toESM(require("typescript"), 1);
|
|
23665
23707
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
23666
23708
|
|
|
23667
|
-
// bazel-out/
|
|
23709
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
23668
23710
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
23669
23711
|
|
|
23670
|
-
// bazel-out/
|
|
23712
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
23671
23713
|
var import_typescript13 = __toESM(require("typescript"), 1);
|
|
23672
23714
|
|
|
23673
|
-
// bazel-out/
|
|
23715
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
23674
23716
|
var import_typescript12 = __toESM(require("typescript"), 1);
|
|
23675
23717
|
|
|
23676
|
-
// bazel-out/
|
|
23718
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
23677
23719
|
var import_typescript9 = __toESM(require("typescript"), 1);
|
|
23678
23720
|
var ClassMemberKind;
|
|
23679
23721
|
(function(ClassMemberKind2) {
|
|
@@ -23693,22 +23735,22 @@ var ClassMemberAccessLevel;
|
|
|
23693
23735
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
23694
23736
|
var AmbientImport = {};
|
|
23695
23737
|
|
|
23696
|
-
// bazel-out/
|
|
23738
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
23697
23739
|
var import_typescript10 = __toESM(require("typescript"), 1);
|
|
23698
23740
|
|
|
23699
|
-
// bazel-out/
|
|
23741
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
23700
23742
|
var import_typescript11 = __toESM(require("typescript"), 1);
|
|
23701
23743
|
|
|
23702
|
-
// bazel-out/
|
|
23744
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
23703
23745
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
23704
23746
|
|
|
23705
|
-
// bazel-out/
|
|
23747
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
|
|
23706
23748
|
var import_typescript15 = __toESM(require("typescript"), 1);
|
|
23707
23749
|
|
|
23708
|
-
// bazel-out/
|
|
23750
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
|
|
23709
23751
|
var import_typescript16 = __toESM(require("typescript"), 1);
|
|
23710
23752
|
|
|
23711
|
-
// bazel-out/
|
|
23753
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
23712
23754
|
var Reference2 = class {
|
|
23713
23755
|
constructor(node, bestGuessOwningModule = null) {
|
|
23714
23756
|
this.node = node;
|
|
@@ -23777,10 +23819,10 @@ var Reference2 = class {
|
|
|
23777
23819
|
}
|
|
23778
23820
|
};
|
|
23779
23821
|
|
|
23780
|
-
// bazel-out/
|
|
23822
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
23781
23823
|
var import_typescript45 = __toESM(require("typescript"), 1);
|
|
23782
23824
|
|
|
23783
|
-
// bazel-out/
|
|
23825
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
23784
23826
|
var MetaKind;
|
|
23785
23827
|
(function(MetaKind2) {
|
|
23786
23828
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -23793,10 +23835,10 @@ var MatchSource;
|
|
|
23793
23835
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
23794
23836
|
})(MatchSource || (MatchSource = {}));
|
|
23795
23837
|
|
|
23796
|
-
// bazel-out/
|
|
23838
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
23797
23839
|
var import_typescript25 = __toESM(require("typescript"), 1);
|
|
23798
23840
|
|
|
23799
|
-
// bazel-out/
|
|
23841
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
23800
23842
|
var ClassPropertyMapping = class {
|
|
23801
23843
|
constructor(forwardMap) {
|
|
23802
23844
|
this.forwardMap = forwardMap;
|
|
@@ -23876,13 +23918,13 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
23876
23918
|
return reverseMap;
|
|
23877
23919
|
}
|
|
23878
23920
|
|
|
23879
|
-
// bazel-out/
|
|
23921
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
23880
23922
|
var import_typescript23 = __toESM(require("typescript"), 1);
|
|
23881
23923
|
|
|
23882
|
-
// bazel-out/
|
|
23924
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
23883
23925
|
var import_typescript27 = __toESM(require("typescript"), 1);
|
|
23884
23926
|
|
|
23885
|
-
// bazel-out/
|
|
23927
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
23886
23928
|
var import_typescript28 = __toESM(require("typescript"), 1);
|
|
23887
23929
|
function literalBinaryOp(op) {
|
|
23888
23930
|
return { op, literal: true };
|
|
@@ -23921,7 +23963,7 @@ var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
|
23921
23963
|
[import_typescript28.default.SyntaxKind.ExclamationToken, (a) => !a]
|
|
23922
23964
|
]);
|
|
23923
23965
|
|
|
23924
|
-
// bazel-out/
|
|
23966
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
23925
23967
|
var CompilationMode;
|
|
23926
23968
|
(function(CompilationMode2) {
|
|
23927
23969
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -23935,13 +23977,13 @@ var HandlerPrecedence;
|
|
|
23935
23977
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
23936
23978
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
23937
23979
|
|
|
23938
|
-
// bazel-out/
|
|
23980
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
23939
23981
|
var import_typescript30 = __toESM(require("typescript"), 1);
|
|
23940
23982
|
|
|
23941
|
-
// bazel-out/
|
|
23983
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
23942
23984
|
var import_typescript31 = __toESM(require("typescript"), 1);
|
|
23943
23985
|
|
|
23944
|
-
// bazel-out/
|
|
23986
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
23945
23987
|
var PerfPhase;
|
|
23946
23988
|
(function(PerfPhase2) {
|
|
23947
23989
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -24011,7 +24053,7 @@ var PerfCheckpoint;
|
|
|
24011
24053
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
24012
24054
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
24013
24055
|
|
|
24014
|
-
// bazel-out/
|
|
24056
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
24015
24057
|
var NoopPerfRecorder = class {
|
|
24016
24058
|
eventCount() {
|
|
24017
24059
|
}
|
|
@@ -24028,7 +24070,7 @@ var NoopPerfRecorder = class {
|
|
|
24028
24070
|
};
|
|
24029
24071
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
24030
24072
|
|
|
24031
|
-
// bazel-out/
|
|
24073
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
24032
24074
|
var TraitState;
|
|
24033
24075
|
(function(TraitState2) {
|
|
24034
24076
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -24037,25 +24079,25 @@ var TraitState;
|
|
|
24037
24079
|
TraitState2[TraitState2["Skipped"] = 3] = "Skipped";
|
|
24038
24080
|
})(TraitState || (TraitState = {}));
|
|
24039
24081
|
|
|
24040
|
-
// bazel-out/
|
|
24082
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
24041
24083
|
var import_typescript42 = __toESM(require("typescript"), 1);
|
|
24042
24084
|
|
|
24043
|
-
// bazel-out/
|
|
24085
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
24044
24086
|
var import_typescript37 = __toESM(require("typescript"), 1);
|
|
24045
24087
|
|
|
24046
|
-
// bazel-out/
|
|
24088
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
|
|
24047
24089
|
var import_typescript33 = __toESM(require("typescript"), 1);
|
|
24048
24090
|
|
|
24049
|
-
// bazel-out/
|
|
24091
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
|
|
24050
24092
|
var import_typescript34 = __toESM(require("typescript"), 1);
|
|
24051
24093
|
|
|
24052
|
-
// bazel-out/
|
|
24094
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
|
|
24053
24095
|
var import_typescript35 = __toESM(require("typescript"), 1);
|
|
24054
24096
|
|
|
24055
|
-
// bazel-out/
|
|
24097
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
|
|
24056
24098
|
var import_typescript36 = __toESM(require("typescript"), 1);
|
|
24057
24099
|
|
|
24058
|
-
// bazel-out/
|
|
24100
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
24059
24101
|
var UNARY_OPERATORS2 = /* @__PURE__ */ new Map([
|
|
24060
24102
|
[UnaryOperator.Minus, "-"],
|
|
24061
24103
|
[UnaryOperator.Plus, "+"]
|
|
@@ -24081,7 +24123,7 @@ var BINARY_OPERATORS3 = /* @__PURE__ */ new Map([
|
|
|
24081
24123
|
[BinaryOperator.NullishCoalesce, "??"]
|
|
24082
24124
|
]);
|
|
24083
24125
|
|
|
24084
|
-
// bazel-out/
|
|
24126
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
24085
24127
|
var import_typescript38 = __toESM(require("typescript"), 1);
|
|
24086
24128
|
var INELIGIBLE = {};
|
|
24087
24129
|
function canEmitType(type, canEmit) {
|
|
@@ -24156,13 +24198,13 @@ var TypeEmitter = class {
|
|
|
24156
24198
|
}
|
|
24157
24199
|
};
|
|
24158
24200
|
|
|
24159
|
-
// bazel-out/
|
|
24201
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
24160
24202
|
var import_typescript40 = __toESM(require("typescript"), 1);
|
|
24161
24203
|
|
|
24162
|
-
// bazel-out/
|
|
24204
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
24163
24205
|
var import_typescript39 = __toESM(require("typescript"), 1);
|
|
24164
24206
|
|
|
24165
|
-
// bazel-out/
|
|
24207
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
24166
24208
|
var import_typescript41 = __toESM(require("typescript"), 1);
|
|
24167
24209
|
var PureAnnotation;
|
|
24168
24210
|
(function(PureAnnotation2) {
|
|
@@ -24200,50 +24242,50 @@ var VAR_TYPES = {
|
|
|
24200
24242
|
"var": import_typescript41.default.NodeFlags.None
|
|
24201
24243
|
};
|
|
24202
24244
|
|
|
24203
|
-
// bazel-out/
|
|
24245
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
24204
24246
|
var import_typescript44 = __toESM(require("typescript"), 1);
|
|
24205
24247
|
|
|
24206
|
-
// bazel-out/
|
|
24248
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
24207
24249
|
var import_typescript43 = __toESM(require("typescript"), 1);
|
|
24208
24250
|
|
|
24209
|
-
// bazel-out/
|
|
24251
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
24210
24252
|
var import_typescript47 = __toESM(require("typescript"), 1);
|
|
24211
24253
|
|
|
24212
|
-
// bazel-out/
|
|
24254
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
24213
24255
|
var import_typescript48 = __toESM(require("typescript"), 1);
|
|
24214
24256
|
|
|
24215
|
-
// bazel-out/
|
|
24257
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
24216
24258
|
var import_typescript87 = __toESM(require("typescript"), 1);
|
|
24217
24259
|
|
|
24218
|
-
// bazel-out/
|
|
24260
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
24219
24261
|
var import_typescript49 = __toESM(require("typescript"), 1);
|
|
24220
24262
|
|
|
24221
|
-
// bazel-out/
|
|
24263
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
24222
24264
|
var import_typescript50 = __toESM(require("typescript"), 1);
|
|
24223
24265
|
|
|
24224
|
-
// bazel-out/
|
|
24266
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
24225
24267
|
var ComponentScopeKind;
|
|
24226
24268
|
(function(ComponentScopeKind2) {
|
|
24227
24269
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
24228
24270
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
24229
24271
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
24230
24272
|
|
|
24231
|
-
// bazel-out/
|
|
24273
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
24232
24274
|
var import_typescript51 = __toESM(require("typescript"), 1);
|
|
24233
24275
|
|
|
24234
|
-
// bazel-out/
|
|
24276
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
24235
24277
|
var import_typescript53 = __toESM(require("typescript"), 1);
|
|
24236
24278
|
|
|
24237
|
-
// bazel-out/
|
|
24279
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
24238
24280
|
var import_typescript57 = __toESM(require("typescript"), 1);
|
|
24239
24281
|
|
|
24240
|
-
// bazel-out/
|
|
24282
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.mjs
|
|
24241
24283
|
var import_typescript54 = __toESM(require("typescript"), 1);
|
|
24242
24284
|
|
|
24243
|
-
// bazel-out/
|
|
24285
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.mjs
|
|
24244
24286
|
var import_typescript55 = __toESM(require("typescript"), 1);
|
|
24245
24287
|
|
|
24246
|
-
// bazel-out/
|
|
24288
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
|
|
24247
24289
|
var INPUT_INITIALIZER_FN = {
|
|
24248
24290
|
functionName: "input",
|
|
24249
24291
|
owningModule: "@angular/core",
|
|
@@ -24254,7 +24296,7 @@ var INPUT_INITIALIZER_FN = {
|
|
|
24254
24296
|
]
|
|
24255
24297
|
};
|
|
24256
24298
|
|
|
24257
|
-
// bazel-out/
|
|
24299
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.mjs
|
|
24258
24300
|
var MODEL_INITIALIZER_FN = {
|
|
24259
24301
|
functionName: "model",
|
|
24260
24302
|
owningModule: "@angular/core",
|
|
@@ -24265,14 +24307,14 @@ var MODEL_INITIALIZER_FN = {
|
|
|
24265
24307
|
]
|
|
24266
24308
|
};
|
|
24267
24309
|
|
|
24268
|
-
// bazel-out/
|
|
24310
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.mjs
|
|
24269
24311
|
var allowedAccessLevels = [
|
|
24270
24312
|
ClassMemberAccessLevel.PublicWritable,
|
|
24271
24313
|
ClassMemberAccessLevel.PublicReadonly,
|
|
24272
24314
|
ClassMemberAccessLevel.Protected
|
|
24273
24315
|
];
|
|
24274
24316
|
|
|
24275
|
-
// bazel-out/
|
|
24317
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.mjs
|
|
24276
24318
|
var import_typescript56 = __toESM(require("typescript"), 1);
|
|
24277
24319
|
var queryFunctionNames = [
|
|
24278
24320
|
"viewChild",
|
|
@@ -24291,7 +24333,7 @@ var QUERY_INITIALIZER_FNS = queryFunctionNames.map((fnName) => ({
|
|
|
24291
24333
|
]
|
|
24292
24334
|
}));
|
|
24293
24335
|
|
|
24294
|
-
// bazel-out/
|
|
24336
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
24295
24337
|
var queryDecoratorNames = [
|
|
24296
24338
|
"ViewChild",
|
|
24297
24339
|
"ViewChildren",
|
|
@@ -24300,16 +24342,16 @@ var queryDecoratorNames = [
|
|
|
24300
24342
|
];
|
|
24301
24343
|
var QUERY_TYPES = new Set(queryDecoratorNames);
|
|
24302
24344
|
|
|
24303
|
-
// bazel-out/
|
|
24345
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
24304
24346
|
var import_typescript59 = __toESM(require("typescript"), 1);
|
|
24305
24347
|
|
|
24306
|
-
// bazel-out/
|
|
24348
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
24307
24349
|
var import_typescript58 = __toESM(require("typescript"), 1);
|
|
24308
24350
|
|
|
24309
|
-
// bazel-out/
|
|
24351
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
24310
24352
|
var import_typescript61 = __toESM(require("typescript"), 1);
|
|
24311
24353
|
|
|
24312
|
-
// bazel-out/
|
|
24354
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
24313
24355
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
24314
24356
|
var UpdateMode;
|
|
24315
24357
|
(function(UpdateMode2) {
|
|
@@ -24317,23 +24359,23 @@ var UpdateMode;
|
|
|
24317
24359
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
24318
24360
|
})(UpdateMode || (UpdateMode = {}));
|
|
24319
24361
|
|
|
24320
|
-
// bazel-out/
|
|
24362
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
24321
24363
|
var import_typescript65 = __toESM(require("typescript"), 1);
|
|
24322
24364
|
|
|
24323
|
-
// bazel-out/
|
|
24365
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
24324
24366
|
var import_typescript62 = __toESM(require("typescript"), 1);
|
|
24325
24367
|
|
|
24326
|
-
// bazel-out/
|
|
24368
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
24327
24369
|
var NgExtension = Symbol("NgExtension");
|
|
24328
24370
|
|
|
24329
|
-
// bazel-out/
|
|
24371
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
24330
24372
|
var OptimizeFor;
|
|
24331
24373
|
(function(OptimizeFor2) {
|
|
24332
24374
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
24333
24375
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
24334
24376
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
24335
24377
|
|
|
24336
|
-
// bazel-out/
|
|
24378
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
24337
24379
|
var CompletionKind;
|
|
24338
24380
|
(function(CompletionKind2) {
|
|
24339
24381
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
@@ -24341,7 +24383,7 @@ var CompletionKind;
|
|
|
24341
24383
|
CompletionKind2[CompletionKind2["LetDeclaration"] = 2] = "LetDeclaration";
|
|
24342
24384
|
})(CompletionKind || (CompletionKind = {}));
|
|
24343
24385
|
|
|
24344
|
-
// bazel-out/
|
|
24386
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
24345
24387
|
var PotentialImportKind;
|
|
24346
24388
|
(function(PotentialImportKind2) {
|
|
24347
24389
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -24353,7 +24395,7 @@ var PotentialImportMode;
|
|
|
24353
24395
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
24354
24396
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
24355
24397
|
|
|
24356
|
-
// bazel-out/
|
|
24398
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
24357
24399
|
var SymbolKind;
|
|
24358
24400
|
(function(SymbolKind2) {
|
|
24359
24401
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -24370,18 +24412,18 @@ var SymbolKind;
|
|
|
24370
24412
|
SymbolKind2[SymbolKind2["LetDeclaration"] = 11] = "LetDeclaration";
|
|
24371
24413
|
})(SymbolKind || (SymbolKind = {}));
|
|
24372
24414
|
|
|
24373
|
-
// bazel-out/
|
|
24415
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
24374
24416
|
var import_typescript67 = __toESM(require("typescript"), 1);
|
|
24375
24417
|
var TemplateSourceFile = Symbol("TemplateSourceFile");
|
|
24376
24418
|
|
|
24377
|
-
// bazel-out/
|
|
24419
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
24378
24420
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
24379
24421
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
24380
24422
|
|
|
24381
|
-
// bazel-out/
|
|
24423
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
24382
24424
|
var import_typescript69 = __toESM(require("typescript"), 1);
|
|
24383
24425
|
|
|
24384
|
-
// bazel-out/
|
|
24426
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
24385
24427
|
var import_typescript68 = __toESM(require("typescript"), 1);
|
|
24386
24428
|
var CommentTriviaType;
|
|
24387
24429
|
(function(CommentTriviaType2) {
|
|
@@ -24426,17 +24468,17 @@ for (let i = 0; i < chars.length; i++) {
|
|
|
24426
24468
|
}
|
|
24427
24469
|
var bufLength = 1024 * 16;
|
|
24428
24470
|
|
|
24429
|
-
// bazel-out/
|
|
24471
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
24430
24472
|
var import_typescript83 = __toESM(require("typescript"), 1);
|
|
24431
24473
|
|
|
24432
|
-
// bazel-out/
|
|
24474
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
24433
24475
|
var import_typescript70 = __toESM(require("typescript"), 1);
|
|
24434
24476
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
24435
24477
|
|
|
24436
|
-
// bazel-out/
|
|
24478
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
24437
24479
|
var import_typescript76 = __toESM(require("typescript"), 1);
|
|
24438
24480
|
|
|
24439
|
-
// bazel-out/
|
|
24481
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
24440
24482
|
var import_typescript71 = __toESM(require("typescript"), 1);
|
|
24441
24483
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
24442
24484
|
import_typescript71.default.SyntaxKind.ParenthesizedExpression,
|
|
@@ -24516,13 +24558,13 @@ function tsNumericExpression2(value) {
|
|
|
24516
24558
|
return import_typescript71.default.factory.createNumericLiteral(value);
|
|
24517
24559
|
}
|
|
24518
24560
|
|
|
24519
|
-
// bazel-out/
|
|
24561
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
24520
24562
|
var import_typescript75 = __toESM(require("typescript"), 1);
|
|
24521
24563
|
|
|
24522
|
-
// bazel-out/
|
|
24564
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
24523
24565
|
var import_typescript73 = __toESM(require("typescript"), 1);
|
|
24524
24566
|
|
|
24525
|
-
// bazel-out/
|
|
24567
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
24526
24568
|
var import_typescript72 = __toESM(require("typescript"), 1);
|
|
24527
24569
|
var TypeParameterEmitter = class {
|
|
24528
24570
|
constructor(typeParameters, reflector) {
|
|
@@ -24600,7 +24642,7 @@ var TypeParameterEmitter = class {
|
|
|
24600
24642
|
}
|
|
24601
24643
|
};
|
|
24602
24644
|
|
|
24603
|
-
// bazel-out/
|
|
24645
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
24604
24646
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
24605
24647
|
Identifiers.InputSignalBrandWriteType
|
|
24606
24648
|
];
|
|
@@ -24615,21 +24657,21 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
24615
24657
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
24616
24658
|
}
|
|
24617
24659
|
|
|
24618
|
-
// bazel-out/
|
|
24660
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
24619
24661
|
function requiresInlineTypeCtor(node, host, env) {
|
|
24620
24662
|
return !checkIfGenericTypeBoundsCanBeEmitted(node, host, env);
|
|
24621
24663
|
}
|
|
24622
24664
|
|
|
24623
|
-
// bazel-out/
|
|
24665
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
24624
24666
|
var import_typescript77 = __toESM(require("typescript"), 1);
|
|
24625
24667
|
|
|
24626
|
-
// bazel-out/
|
|
24668
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
24627
24669
|
var import_typescript78 = __toESM(require("typescript"), 1);
|
|
24628
24670
|
|
|
24629
|
-
// bazel-out/
|
|
24671
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
24630
24672
|
var import_typescript81 = __toESM(require("typescript"), 1);
|
|
24631
24673
|
|
|
24632
|
-
// bazel-out/
|
|
24674
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
24633
24675
|
var import_typescript79 = __toESM(require("typescript"), 1);
|
|
24634
24676
|
function wrapForDiagnostics(expr) {
|
|
24635
24677
|
return import_typescript79.default.factory.createParenthesizedExpression(expr);
|
|
@@ -24652,7 +24694,7 @@ function addParseSpanInfo(node, span) {
|
|
|
24652
24694
|
);
|
|
24653
24695
|
}
|
|
24654
24696
|
|
|
24655
|
-
// bazel-out/
|
|
24697
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
24656
24698
|
var import_typescript80 = __toESM(require("typescript"), 1);
|
|
24657
24699
|
var ANY_EXPRESSION = import_typescript80.default.factory.createAsExpression(import_typescript80.default.factory.createNumericLiteral("0"), import_typescript80.default.factory.createKeywordTypeNode(import_typescript80.default.SyntaxKind.AnyKeyword));
|
|
24658
24700
|
var UNDEFINED = import_typescript80.default.factory.createIdentifier("undefined");
|
|
@@ -24984,7 +25026,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
24984
25026
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
24985
25027
|
})();
|
|
24986
25028
|
|
|
24987
|
-
// bazel-out/
|
|
25029
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
24988
25030
|
var TcbGenericContextBehavior;
|
|
24989
25031
|
(function(TcbGenericContextBehavior2) {
|
|
24990
25032
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -26496,38 +26538,38 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
26496
26538
|
}
|
|
26497
26539
|
};
|
|
26498
26540
|
|
|
26499
|
-
// bazel-out/
|
|
26541
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
26500
26542
|
var import_typescript82 = __toESM(require("typescript"), 1);
|
|
26501
26543
|
|
|
26502
|
-
// bazel-out/
|
|
26544
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
26503
26545
|
var InliningMode;
|
|
26504
26546
|
(function(InliningMode2) {
|
|
26505
26547
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
26506
26548
|
InliningMode2[InliningMode2["Error"] = 1] = "Error";
|
|
26507
26549
|
})(InliningMode || (InliningMode = {}));
|
|
26508
26550
|
|
|
26509
|
-
// bazel-out/
|
|
26551
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
26510
26552
|
var import_typescript84 = __toESM(require("typescript"), 1);
|
|
26511
26553
|
|
|
26512
|
-
// bazel-out/
|
|
26554
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
26513
26555
|
var REGISTRY2 = new DomElementSchemaRegistry();
|
|
26514
26556
|
|
|
26515
|
-
// bazel-out/
|
|
26557
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
26516
26558
|
var import_typescript89 = __toESM(require("typescript"), 1);
|
|
26517
26559
|
|
|
26518
|
-
// bazel-out/
|
|
26560
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
26519
26561
|
var import_typescript90 = __toESM(require("typescript"), 1);
|
|
26520
26562
|
|
|
26521
|
-
// bazel-out/
|
|
26563
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
26522
26564
|
function normalizePath(path2) {
|
|
26523
26565
|
return path2.replace(/\\/g, "/");
|
|
26524
26566
|
}
|
|
26525
26567
|
|
|
26526
|
-
// bazel-out/
|
|
26568
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
26527
26569
|
var import_path2 = require("path");
|
|
26528
26570
|
var import_typescript93 = __toESM(require("typescript"), 1);
|
|
26529
26571
|
|
|
26530
|
-
// bazel-out/
|
|
26572
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
26531
26573
|
var path = __toESM(require("path"), 1);
|
|
26532
26574
|
var import_typescript92 = __toESM(require("typescript"), 1);
|
|
26533
26575
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -26544,7 +26586,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
26544
26586
|
return import_typescript92.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
26545
26587
|
}
|
|
26546
26588
|
|
|
26547
|
-
// bazel-out/
|
|
26589
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
26548
26590
|
function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
|
|
26549
26591
|
const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
|
|
26550
26592
|
return import_typescript93.default.createProgram(rootNames, options, host);
|
|
@@ -26577,7 +26619,7 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
26577
26619
|
return !(0, import_path2.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
26578
26620
|
}
|
|
26579
26621
|
|
|
26580
|
-
// bazel-out/
|
|
26622
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/identifier-lookup.mjs
|
|
26581
26623
|
var import_typescript94 = __toESM(require("typescript"), 1);
|
|
26582
26624
|
function lookupIdentifiersInSourceFile(sourceFile, names) {
|
|
26583
26625
|
const results = /* @__PURE__ */ new Set();
|
|
@@ -26591,7 +26633,7 @@ function lookupIdentifiersInSourceFile(sourceFile, names) {
|
|
|
26591
26633
|
return results;
|
|
26592
26634
|
}
|
|
26593
26635
|
|
|
26594
|
-
// bazel-out/
|
|
26636
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/types.mjs
|
|
26595
26637
|
var ngtemplate = "ng-template";
|
|
26596
26638
|
var boundngifelse = "[ngIfElse]";
|
|
26597
26639
|
var boundngifthenelse = "[ngIfThenElse]";
|
|
@@ -26935,7 +26977,7 @@ var TemplateCollector = class extends RecursiveVisitor {
|
|
|
26935
26977
|
}
|
|
26936
26978
|
};
|
|
26937
26979
|
|
|
26938
|
-
// bazel-out/
|
|
26980
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/util.mjs
|
|
26939
26981
|
var import_path3 = require("path");
|
|
26940
26982
|
var import_typescript95 = __toESM(require("typescript"), 1);
|
|
26941
26983
|
var startMarkerRegex = new RegExp(startMarker, "gm");
|
|
@@ -27455,7 +27497,7 @@ function forEachClass(sourceFile, callback) {
|
|
|
27455
27497
|
});
|
|
27456
27498
|
}
|
|
27457
27499
|
|
|
27458
|
-
// bazel-out/
|
|
27500
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/cases.mjs
|
|
27459
27501
|
var boundcase = "[ngSwitchCase]";
|
|
27460
27502
|
var switchcase = "*ngSwitchCase";
|
|
27461
27503
|
var nakedcase = "ngSwitchCase";
|
|
@@ -27527,7 +27569,7 @@ function migrateNgSwitchDefault(etm, tmpl, offset) {
|
|
|
27527
27569
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
27528
27570
|
}
|
|
27529
27571
|
|
|
27530
|
-
// bazel-out/
|
|
27572
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/fors.mjs
|
|
27531
27573
|
var ngfor = "*ngFor";
|
|
27532
27574
|
var nakedngfor2 = "ngFor";
|
|
27533
27575
|
var fors = [ngfor, nakedngfor2];
|
|
@@ -27706,7 +27748,7 @@ function getNgForParts(expression) {
|
|
|
27706
27748
|
return parts;
|
|
27707
27749
|
}
|
|
27708
27750
|
|
|
27709
|
-
// bazel-out/
|
|
27751
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/ifs.mjs
|
|
27710
27752
|
var ngif = "*ngIf";
|
|
27711
27753
|
var boundngif = "[ngIf]";
|
|
27712
27754
|
var nakedngif = "ngIf";
|
|
@@ -27855,7 +27897,7 @@ function buildIfThenBlock(etm, tmpl, condition, thenPlaceholder, offset) {
|
|
|
27855
27897
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
27856
27898
|
}
|
|
27857
27899
|
|
|
27858
|
-
// bazel-out/
|
|
27900
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/switches.mjs
|
|
27859
27901
|
var ngswitch = "[ngSwitch]";
|
|
27860
27902
|
var switches = [ngswitch];
|
|
27861
27903
|
function migrateSwitch(template2) {
|
|
@@ -27921,7 +27963,7 @@ function migrateNgSwitch(etm, tmpl, offset) {
|
|
|
27921
27963
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
27922
27964
|
}
|
|
27923
27965
|
|
|
27924
|
-
// bazel-out/
|
|
27966
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/migration.mjs
|
|
27925
27967
|
function migrateTemplate(template2, templateType, node, file, format = true, analyzedFiles) {
|
|
27926
27968
|
let errors = [];
|
|
27927
27969
|
let migrated = template2;
|
|
@@ -27972,7 +28014,7 @@ function migrateTemplate(template2, templateType, node, file, format = true, ana
|
|
|
27972
28014
|
return { migrated, errors };
|
|
27973
28015
|
}
|
|
27974
28016
|
|
|
27975
|
-
// bazel-out/
|
|
28017
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/index.mjs
|
|
27976
28018
|
function control_flow_migration_default(options) {
|
|
27977
28019
|
return (tree, context) => __async(this, null, function* () {
|
|
27978
28020
|
const basePath = process.cwd();
|