@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/inject-migration/index.mjs
|
|
67
67
|
var inject_migration_exports = {};
|
|
68
68
|
__export(inject_migration_exports, {
|
|
69
69
|
default: () => inject_migration_default
|
|
@@ -72,10 +72,10 @@ module.exports = __toCommonJS(inject_migration_exports);
|
|
|
72
72
|
var import_schematics = require("@angular-devkit/schematics");
|
|
73
73
|
var import_path3 = require("path");
|
|
74
74
|
|
|
75
|
-
// bazel-out/
|
|
75
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
76
76
|
var import_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;
|
|
@@ -9690,7 +9732,7 @@ function visitAll2(visitor, nodes, context = null) {
|
|
|
9690
9732
|
return result;
|
|
9691
9733
|
}
|
|
9692
9734
|
|
|
9693
|
-
// bazel-out/
|
|
9735
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
9694
9736
|
var NAMED_ENTITIES = {
|
|
9695
9737
|
"AElig": "\xC6",
|
|
9696
9738
|
"AMP": "&",
|
|
@@ -11821,7 +11863,7 @@ var NAMED_ENTITIES = {
|
|
|
11821
11863
|
var NGSP_UNICODE = "\uE500";
|
|
11822
11864
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
11823
11865
|
|
|
11824
|
-
// bazel-out/
|
|
11866
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
11825
11867
|
var TokenError = class extends ParseError {
|
|
11826
11868
|
constructor(errorMsg, tokenType, span) {
|
|
11827
11869
|
super(span, errorMsg);
|
|
@@ -12811,7 +12853,7 @@ var CursorError = class {
|
|
|
12811
12853
|
}
|
|
12812
12854
|
};
|
|
12813
12855
|
|
|
12814
|
-
// bazel-out/
|
|
12856
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
12815
12857
|
var TreeError = class extends ParseError {
|
|
12816
12858
|
static create(elementName, span, msg) {
|
|
12817
12859
|
return new TreeError(elementName, span, msg);
|
|
@@ -13239,7 +13281,7 @@ function decodeEntity(match, entity) {
|
|
|
13239
13281
|
return match;
|
|
13240
13282
|
}
|
|
13241
13283
|
|
|
13242
|
-
// bazel-out/
|
|
13284
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
13243
13285
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
13244
13286
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
13245
13287
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -13379,7 +13421,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
13379
13421
|
return result;
|
|
13380
13422
|
}
|
|
13381
13423
|
|
|
13382
|
-
// bazel-out/
|
|
13424
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
13383
13425
|
var TokenType;
|
|
13384
13426
|
(function(TokenType2) {
|
|
13385
13427
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -13740,7 +13782,7 @@ function parseIntAutoRadix(text2) {
|
|
|
13740
13782
|
return result;
|
|
13741
13783
|
}
|
|
13742
13784
|
|
|
13743
|
-
// bazel-out/
|
|
13785
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
13744
13786
|
var SplitInterpolation = class {
|
|
13745
13787
|
constructor(strings, expressions, offsets) {
|
|
13746
13788
|
this.strings = strings;
|
|
@@ -14624,7 +14666,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
14624
14666
|
return offsetMap;
|
|
14625
14667
|
}
|
|
14626
14668
|
|
|
14627
|
-
// bazel-out/
|
|
14669
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
14628
14670
|
var _SECURITY_SCHEMA;
|
|
14629
14671
|
function SECURITY_SCHEMA() {
|
|
14630
14672
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -14685,11 +14727,11 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
14685
14727
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
14686
14728
|
}
|
|
14687
14729
|
|
|
14688
|
-
// bazel-out/
|
|
14730
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
14689
14731
|
var ElementSchemaRegistry = class {
|
|
14690
14732
|
};
|
|
14691
14733
|
|
|
14692
|
-
// bazel-out/
|
|
14734
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
14693
14735
|
var BOOLEAN = "boolean";
|
|
14694
14736
|
var NUMBER = "number";
|
|
14695
14737
|
var STRING = "string";
|
|
@@ -15072,7 +15114,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
15072
15114
|
}
|
|
15073
15115
|
}
|
|
15074
15116
|
|
|
15075
|
-
// bazel-out/
|
|
15117
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
15076
15118
|
var HtmlTagDefinition = class {
|
|
15077
15119
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
15078
15120
|
this.closedByChildren = {};
|
|
@@ -15208,7 +15250,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
15208
15250
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
15209
15251
|
}
|
|
15210
15252
|
|
|
15211
|
-
// bazel-out/
|
|
15253
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
15212
15254
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
15213
15255
|
"A": "LINK",
|
|
15214
15256
|
"B": "BOLD_TEXT",
|
|
@@ -15330,7 +15372,7 @@ var PlaceholderRegistry = class {
|
|
|
15330
15372
|
}
|
|
15331
15373
|
};
|
|
15332
15374
|
|
|
15333
|
-
// bazel-out/
|
|
15375
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
15334
15376
|
var _expParser = new Parser2(new Lexer());
|
|
15335
15377
|
function createI18nMessageFactory(interpolationConfig, containerBlocks, retainEmptyTokens) {
|
|
15336
15378
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks, retainEmptyTokens);
|
|
@@ -15525,14 +15567,14 @@ function extractPlaceholderName(input) {
|
|
|
15525
15567
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
15526
15568
|
}
|
|
15527
15569
|
|
|
15528
|
-
// bazel-out/
|
|
15570
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
15529
15571
|
var I18nError = class extends ParseError {
|
|
15530
15572
|
constructor(span, msg) {
|
|
15531
15573
|
super(span, msg);
|
|
15532
15574
|
}
|
|
15533
15575
|
};
|
|
15534
15576
|
|
|
15535
|
-
// bazel-out/
|
|
15577
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
15536
15578
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
15537
15579
|
"iframe|srcdoc",
|
|
15538
15580
|
"*|innerhtml",
|
|
@@ -15547,7 +15589,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
15547
15589
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
15548
15590
|
}
|
|
15549
15591
|
|
|
15550
|
-
// bazel-out/
|
|
15592
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
15551
15593
|
var setI18nRefs = (originalNodeMap) => {
|
|
15552
15594
|
return (trimmedNode, i18nNode) => {
|
|
15553
15595
|
var _a2;
|
|
@@ -15721,7 +15763,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
15721
15763
|
return jsDocComment(tags);
|
|
15722
15764
|
}
|
|
15723
15765
|
|
|
15724
|
-
// bazel-out/
|
|
15766
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
15725
15767
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
15726
15768
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
15727
15769
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -15772,7 +15814,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
15772
15814
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
15773
15815
|
}
|
|
15774
15816
|
|
|
15775
|
-
// bazel-out/
|
|
15817
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
15776
15818
|
function createLocalizeStatements(variable2, message, params) {
|
|
15777
15819
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
15778
15820
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -15861,7 +15903,7 @@ function createEmptyMessagePart(location) {
|
|
|
15861
15903
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
15862
15904
|
}
|
|
15863
15905
|
|
|
15864
|
-
// bazel-out/
|
|
15906
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
15865
15907
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
15866
15908
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
15867
15909
|
var I18N_ICU_MAPPING_PREFIX = "I18N_EXP_";
|
|
@@ -16032,7 +16074,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
16032
16074
|
return variable(name);
|
|
16033
16075
|
}
|
|
16034
16076
|
|
|
16035
|
-
// bazel-out/
|
|
16077
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
16036
16078
|
function convertI18nText(job) {
|
|
16037
16079
|
var _a2, _b2, _c2;
|
|
16038
16080
|
for (const unit of job.units) {
|
|
@@ -16102,7 +16144,7 @@ function convertI18nText(job) {
|
|
|
16102
16144
|
}
|
|
16103
16145
|
}
|
|
16104
16146
|
|
|
16105
|
-
// bazel-out/
|
|
16147
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
16106
16148
|
function liftLocalRefs(job) {
|
|
16107
16149
|
for (const unit of job.units) {
|
|
16108
16150
|
for (const op of unit.create) {
|
|
@@ -16132,7 +16174,7 @@ function serializeLocalRefs(refs) {
|
|
|
16132
16174
|
return literalArr(constRefs);
|
|
16133
16175
|
}
|
|
16134
16176
|
|
|
16135
|
-
// bazel-out/
|
|
16177
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
16136
16178
|
function emitNamespaceChanges(job) {
|
|
16137
16179
|
for (const unit of job.units) {
|
|
16138
16180
|
let activeNamespace = Namespace.HTML;
|
|
@@ -16148,7 +16190,7 @@ function emitNamespaceChanges(job) {
|
|
|
16148
16190
|
}
|
|
16149
16191
|
}
|
|
16150
16192
|
|
|
16151
|
-
// bazel-out/
|
|
16193
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
16152
16194
|
function parse(value) {
|
|
16153
16195
|
const styles = [];
|
|
16154
16196
|
let i = 0;
|
|
@@ -16242,7 +16284,7 @@ function parseExtractedStyles(job) {
|
|
|
16242
16284
|
}
|
|
16243
16285
|
}
|
|
16244
16286
|
|
|
16245
|
-
// bazel-out/
|
|
16287
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
16246
16288
|
function nameFunctionsAndVariables(job) {
|
|
16247
16289
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
16248
16290
|
}
|
|
@@ -16386,7 +16428,7 @@ function stripImportant(name) {
|
|
|
16386
16428
|
return name;
|
|
16387
16429
|
}
|
|
16388
16430
|
|
|
16389
|
-
// bazel-out/
|
|
16431
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
16390
16432
|
function mergeNextContextExpressions(job) {
|
|
16391
16433
|
for (const unit of job.units) {
|
|
16392
16434
|
for (const op of unit.create) {
|
|
@@ -16433,7 +16475,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
16433
16475
|
}
|
|
16434
16476
|
}
|
|
16435
16477
|
|
|
16436
|
-
// bazel-out/
|
|
16478
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
16437
16479
|
var CONTAINER_TAG = "ng-container";
|
|
16438
16480
|
function generateNgContainerOps(job) {
|
|
16439
16481
|
for (const unit of job.units) {
|
|
@@ -16450,7 +16492,7 @@ function generateNgContainerOps(job) {
|
|
|
16450
16492
|
}
|
|
16451
16493
|
}
|
|
16452
16494
|
|
|
16453
|
-
// bazel-out/
|
|
16495
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
16454
16496
|
function lookupElement3(elements, xref) {
|
|
16455
16497
|
const el = elements.get(xref);
|
|
16456
16498
|
if (el === void 0) {
|
|
@@ -16480,7 +16522,7 @@ function disableBindings(job) {
|
|
|
16480
16522
|
}
|
|
16481
16523
|
}
|
|
16482
16524
|
|
|
16483
|
-
// bazel-out/
|
|
16525
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
16484
16526
|
function generateNullishCoalesceExpressions(job) {
|
|
16485
16527
|
for (const unit of job.units) {
|
|
16486
16528
|
for (const op of unit.ops()) {
|
|
@@ -16496,7 +16538,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
16496
16538
|
}
|
|
16497
16539
|
}
|
|
16498
16540
|
|
|
16499
|
-
// bazel-out/
|
|
16541
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
16500
16542
|
function kindTest(kind) {
|
|
16501
16543
|
return (op) => op.kind === kind;
|
|
16502
16544
|
}
|
|
@@ -16586,7 +16628,7 @@ function keepLast(ops) {
|
|
|
16586
16628
|
return ops.slice(ops.length - 1);
|
|
16587
16629
|
}
|
|
16588
16630
|
|
|
16589
|
-
// bazel-out/
|
|
16631
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
16590
16632
|
function removeContentSelectors(job) {
|
|
16591
16633
|
for (const unit of job.units) {
|
|
16592
16634
|
const elements = createOpXrefMap(unit);
|
|
@@ -16613,7 +16655,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
16613
16655
|
return el;
|
|
16614
16656
|
}
|
|
16615
16657
|
|
|
16616
|
-
// bazel-out/
|
|
16658
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
16617
16659
|
function createPipes(job) {
|
|
16618
16660
|
for (const unit of job.units) {
|
|
16619
16661
|
processPipeBindingsInView(unit);
|
|
@@ -16661,7 +16703,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
16661
16703
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
16662
16704
|
}
|
|
16663
16705
|
|
|
16664
|
-
// bazel-out/
|
|
16706
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
16665
16707
|
function createVariadicPipes(job) {
|
|
16666
16708
|
for (const unit of job.units) {
|
|
16667
16709
|
for (const op of unit.update) {
|
|
@@ -16678,7 +16720,7 @@ function createVariadicPipes(job) {
|
|
|
16678
16720
|
}
|
|
16679
16721
|
}
|
|
16680
16722
|
|
|
16681
|
-
// bazel-out/
|
|
16723
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
16682
16724
|
function propagateI18nBlocks(job) {
|
|
16683
16725
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
16684
16726
|
}
|
|
@@ -16732,7 +16774,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
16732
16774
|
}
|
|
16733
16775
|
}
|
|
16734
16776
|
|
|
16735
|
-
// bazel-out/
|
|
16777
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
16736
16778
|
function extractPureFunctions(job) {
|
|
16737
16779
|
for (const view of job.units) {
|
|
16738
16780
|
for (const op of view.ops()) {
|
|
@@ -16774,7 +16816,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
16774
16816
|
}
|
|
16775
16817
|
};
|
|
16776
16818
|
|
|
16777
|
-
// bazel-out/
|
|
16819
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
16778
16820
|
function generatePureLiteralStructures(job) {
|
|
16779
16821
|
for (const unit of job.units) {
|
|
16780
16822
|
for (const op of unit.update) {
|
|
@@ -16821,7 +16863,7 @@ function transformLiteralMap(expr) {
|
|
|
16821
16863
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
16822
16864
|
}
|
|
16823
16865
|
|
|
16824
|
-
// bazel-out/
|
|
16866
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
16825
16867
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
16826
16868
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
16827
16869
|
}
|
|
@@ -17353,7 +17395,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
17353
17395
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
17354
17396
|
}
|
|
17355
17397
|
|
|
17356
|
-
// bazel-out/
|
|
17398
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
17357
17399
|
var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
|
|
17358
17400
|
["window", Identifiers.resolveWindow],
|
|
17359
17401
|
["document", Identifiers.resolveDocument],
|
|
@@ -17718,7 +17760,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
17718
17760
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
17719
17761
|
}
|
|
17720
17762
|
|
|
17721
|
-
// bazel-out/
|
|
17763
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
17722
17764
|
function removeEmptyBindings(job) {
|
|
17723
17765
|
for (const unit of job.units) {
|
|
17724
17766
|
for (const op of unit.update) {
|
|
@@ -17739,7 +17781,7 @@ function removeEmptyBindings(job) {
|
|
|
17739
17781
|
}
|
|
17740
17782
|
}
|
|
17741
17783
|
|
|
17742
|
-
// bazel-out/
|
|
17784
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
17743
17785
|
function removeI18nContexts(job) {
|
|
17744
17786
|
for (const unit of job.units) {
|
|
17745
17787
|
for (const op of unit.create) {
|
|
@@ -17755,7 +17797,7 @@ function removeI18nContexts(job) {
|
|
|
17755
17797
|
}
|
|
17756
17798
|
}
|
|
17757
17799
|
|
|
17758
|
-
// bazel-out/
|
|
17800
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
|
|
17759
17801
|
function removeUnusedI18nAttributesOps(job) {
|
|
17760
17802
|
for (const unit of job.units) {
|
|
17761
17803
|
const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
|
|
@@ -17777,7 +17819,7 @@ function removeUnusedI18nAttributesOps(job) {
|
|
|
17777
17819
|
}
|
|
17778
17820
|
}
|
|
17779
17821
|
|
|
17780
|
-
// bazel-out/
|
|
17822
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
17781
17823
|
function resolveContexts(job) {
|
|
17782
17824
|
for (const unit of job.units) {
|
|
17783
17825
|
processLexicalScope(unit, unit.create);
|
|
@@ -17819,7 +17861,7 @@ function processLexicalScope(view, ops) {
|
|
|
17819
17861
|
}
|
|
17820
17862
|
}
|
|
17821
17863
|
|
|
17822
|
-
// bazel-out/
|
|
17864
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
17823
17865
|
function resolveDollarEvent(job) {
|
|
17824
17866
|
for (const unit of job.units) {
|
|
17825
17867
|
transformDollarEvent(unit.create);
|
|
@@ -17842,7 +17884,7 @@ function transformDollarEvent(ops) {
|
|
|
17842
17884
|
}
|
|
17843
17885
|
}
|
|
17844
17886
|
|
|
17845
|
-
// bazel-out/
|
|
17887
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
17846
17888
|
function resolveI18nElementPlaceholders(job) {
|
|
17847
17889
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
17848
17890
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -18021,7 +18063,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
18021
18063
|
params.set(placeholder, values);
|
|
18022
18064
|
}
|
|
18023
18065
|
|
|
18024
|
-
// bazel-out/
|
|
18066
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
18025
18067
|
function resolveI18nExpressionPlaceholders(job) {
|
|
18026
18068
|
var _a2;
|
|
18027
18069
|
const subTemplateIndices = /* @__PURE__ */ new Map();
|
|
@@ -18074,7 +18116,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
|
|
|
18074
18116
|
}
|
|
18075
18117
|
}
|
|
18076
18118
|
|
|
18077
|
-
// bazel-out/
|
|
18119
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
18078
18120
|
function resolveNames(job) {
|
|
18079
18121
|
for (const unit of job.units) {
|
|
18080
18122
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -18152,7 +18194,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
18152
18194
|
}
|
|
18153
18195
|
}
|
|
18154
18196
|
|
|
18155
|
-
// bazel-out/
|
|
18197
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
18156
18198
|
var sanitizerFns = /* @__PURE__ */ new Map([
|
|
18157
18199
|
[SecurityContext.HTML, Identifiers.sanitizeHtml],
|
|
18158
18200
|
[SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
|
|
@@ -18222,7 +18264,7 @@ function getOnlySecurityContext(securityContext) {
|
|
|
18222
18264
|
return securityContext;
|
|
18223
18265
|
}
|
|
18224
18266
|
|
|
18225
|
-
// bazel-out/
|
|
18267
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
|
|
18226
18268
|
function transformTwoWayBindingSet(job) {
|
|
18227
18269
|
for (const unit of job.units) {
|
|
18228
18270
|
for (const op of unit.create) {
|
|
@@ -18245,7 +18287,7 @@ function transformTwoWayBindingSet(job) {
|
|
|
18245
18287
|
}
|
|
18246
18288
|
}
|
|
18247
18289
|
|
|
18248
|
-
// bazel-out/
|
|
18290
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
18249
18291
|
function saveAndRestoreView(job) {
|
|
18250
18292
|
for (const unit of job.units) {
|
|
18251
18293
|
unit.create.prepend([
|
|
@@ -18290,7 +18332,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
18290
18332
|
}
|
|
18291
18333
|
}
|
|
18292
18334
|
|
|
18293
|
-
// bazel-out/
|
|
18335
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
18294
18336
|
function allocateSlots(job) {
|
|
18295
18337
|
const slotMap = /* @__PURE__ */ new Map();
|
|
18296
18338
|
for (const unit of job.units) {
|
|
@@ -18315,7 +18357,7 @@ function allocateSlots(job) {
|
|
|
18315
18357
|
}
|
|
18316
18358
|
}
|
|
18317
18359
|
|
|
18318
|
-
// bazel-out/
|
|
18360
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
18319
18361
|
function specializeStyleBindings(job) {
|
|
18320
18362
|
for (const unit of job.units) {
|
|
18321
18363
|
for (const op of unit.update) {
|
|
@@ -18345,7 +18387,7 @@ function specializeStyleBindings(job) {
|
|
|
18345
18387
|
}
|
|
18346
18388
|
}
|
|
18347
18389
|
|
|
18348
|
-
// bazel-out/
|
|
18390
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
18349
18391
|
function generateTemporaryVariables(job) {
|
|
18350
18392
|
for (const unit of job.units) {
|
|
18351
18393
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -18403,7 +18445,7 @@ function assignName(names, expr) {
|
|
|
18403
18445
|
expr.name = name;
|
|
18404
18446
|
}
|
|
18405
18447
|
|
|
18406
|
-
// bazel-out/
|
|
18448
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
18407
18449
|
function generateTrackFns(job) {
|
|
18408
18450
|
for (const unit of job.units) {
|
|
18409
18451
|
for (const op of unit.create) {
|
|
@@ -18436,7 +18478,7 @@ function generateTrackFns(job) {
|
|
|
18436
18478
|
}
|
|
18437
18479
|
}
|
|
18438
18480
|
|
|
18439
|
-
// bazel-out/
|
|
18481
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
18440
18482
|
function optimizeTrackFns(job) {
|
|
18441
18483
|
for (const unit of job.units) {
|
|
18442
18484
|
for (const op of unit.create) {
|
|
@@ -18486,7 +18528,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
18486
18528
|
return true;
|
|
18487
18529
|
}
|
|
18488
18530
|
|
|
18489
|
-
// bazel-out/
|
|
18531
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
18490
18532
|
function generateTrackVariables(job) {
|
|
18491
18533
|
for (const unit of job.units) {
|
|
18492
18534
|
for (const op of unit.create) {
|
|
@@ -18507,7 +18549,7 @@ function generateTrackVariables(job) {
|
|
|
18507
18549
|
}
|
|
18508
18550
|
}
|
|
18509
18551
|
|
|
18510
|
-
// bazel-out/
|
|
18552
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
18511
18553
|
function countVariables(job) {
|
|
18512
18554
|
for (const unit of job.units) {
|
|
18513
18555
|
let varCount = 0;
|
|
@@ -18620,7 +18662,7 @@ function isSingletonInterpolation(expr) {
|
|
|
18620
18662
|
return true;
|
|
18621
18663
|
}
|
|
18622
18664
|
|
|
18623
|
-
// bazel-out/
|
|
18665
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
18624
18666
|
function optimizeVariables(job) {
|
|
18625
18667
|
for (const unit of job.units) {
|
|
18626
18668
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -18872,7 +18914,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
18872
18914
|
}
|
|
18873
18915
|
}
|
|
18874
18916
|
|
|
18875
|
-
// bazel-out/
|
|
18917
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
18876
18918
|
function wrapI18nIcus(job) {
|
|
18877
18919
|
for (const unit of job.units) {
|
|
18878
18920
|
let currentI18nOp = null;
|
|
@@ -18902,7 +18944,7 @@ function wrapI18nIcus(job) {
|
|
|
18902
18944
|
}
|
|
18903
18945
|
}
|
|
18904
18946
|
|
|
18905
|
-
// bazel-out/
|
|
18947
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/store_let_optimization.mjs
|
|
18906
18948
|
function optimizeStoreLet(job) {
|
|
18907
18949
|
const letUsedExternally = /* @__PURE__ */ new Set();
|
|
18908
18950
|
for (const unit of job.units) {
|
|
@@ -18921,7 +18963,7 @@ function optimizeStoreLet(job) {
|
|
|
18921
18963
|
}
|
|
18922
18964
|
}
|
|
18923
18965
|
|
|
18924
|
-
// bazel-out/
|
|
18966
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_illegal_let_references.mjs
|
|
18925
18967
|
function removeIllegalLetReferences(job) {
|
|
18926
18968
|
for (const unit of job.units) {
|
|
18927
18969
|
for (const op of unit.update) {
|
|
@@ -18938,7 +18980,7 @@ function removeIllegalLetReferences(job) {
|
|
|
18938
18980
|
}
|
|
18939
18981
|
}
|
|
18940
18982
|
|
|
18941
|
-
// bazel-out/
|
|
18983
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_local_let_references.mjs
|
|
18942
18984
|
function generateLocalLetReferences(job) {
|
|
18943
18985
|
for (const unit of job.units) {
|
|
18944
18986
|
for (const op of unit.update) {
|
|
@@ -18956,7 +18998,7 @@ function generateLocalLetReferences(job) {
|
|
|
18956
18998
|
}
|
|
18957
18999
|
}
|
|
18958
19000
|
|
|
18959
|
-
// bazel-out/
|
|
19001
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
18960
19002
|
var phases = [
|
|
18961
19003
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
18962
19004
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -19113,7 +19155,7 @@ function emitHostBindingFunction(job) {
|
|
|
19113
19155
|
);
|
|
19114
19156
|
}
|
|
19115
19157
|
|
|
19116
|
-
// bazel-out/
|
|
19158
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
19117
19159
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
19118
19160
|
var domSchema = new DomElementSchemaRegistry();
|
|
19119
19161
|
var NG_TEMPLATE_TAG_NAME = "ng-template";
|
|
@@ -19871,7 +19913,7 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
19871
19913
|
return null;
|
|
19872
19914
|
}
|
|
19873
19915
|
|
|
19874
|
-
// bazel-out/
|
|
19916
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
|
|
19875
19917
|
function renderFlagCheckIfStmt(flags, statements) {
|
|
19876
19918
|
return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
|
|
19877
19919
|
}
|
|
@@ -19991,7 +20033,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
|
|
|
19991
20033
|
], INFERRED_TYPE, null, contentQueriesFnName);
|
|
19992
20034
|
}
|
|
19993
20035
|
|
|
19994
|
-
// bazel-out/
|
|
20036
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
19995
20037
|
var HtmlParser = class extends Parser {
|
|
19996
20038
|
constructor() {
|
|
19997
20039
|
super(getHtmlTagDefinition);
|
|
@@ -20001,7 +20043,7 @@ var HtmlParser = class extends Parser {
|
|
|
20001
20043
|
}
|
|
20002
20044
|
};
|
|
20003
20045
|
|
|
20004
|
-
// bazel-out/
|
|
20046
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
20005
20047
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
20006
20048
|
var ATTRIBUTE_PREFIX = "attr";
|
|
20007
20049
|
var CLASS_PREFIX = "class";
|
|
@@ -20355,7 +20397,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
20355
20397
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
20356
20398
|
}
|
|
20357
20399
|
|
|
20358
|
-
// bazel-out/
|
|
20400
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
20359
20401
|
function isStyleUrlResolvable(url) {
|
|
20360
20402
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
20361
20403
|
return false;
|
|
@@ -20364,7 +20406,7 @@ function isStyleUrlResolvable(url) {
|
|
|
20364
20406
|
}
|
|
20365
20407
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
20366
20408
|
|
|
20367
|
-
// bazel-out/
|
|
20409
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
20368
20410
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
20369
20411
|
var LINK_ELEMENT = "link";
|
|
20370
20412
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -20434,7 +20476,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
20434
20476
|
return selectAttr;
|
|
20435
20477
|
}
|
|
20436
20478
|
|
|
20437
|
-
// bazel-out/
|
|
20479
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
20438
20480
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
20439
20481
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
20440
20482
|
var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
|
|
@@ -20757,7 +20799,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
20757
20799
|
return expression.slice(start, end);
|
|
20758
20800
|
}
|
|
20759
20801
|
|
|
20760
|
-
// bazel-out/
|
|
20802
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
20761
20803
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
20762
20804
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
20763
20805
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -21021,7 +21063,7 @@ function parseDeferredTime(value) {
|
|
|
21021
21063
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
21022
21064
|
}
|
|
21023
21065
|
|
|
21024
|
-
// bazel-out/
|
|
21066
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
21025
21067
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
21026
21068
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
21027
21069
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -21156,7 +21198,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
21156
21198
|
return { triggers, prefetchTriggers };
|
|
21157
21199
|
}
|
|
21158
21200
|
|
|
21159
|
-
// bazel-out/
|
|
21201
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
21160
21202
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
21161
21203
|
var KW_BIND_IDX = 1;
|
|
21162
21204
|
var KW_LET_IDX = 2;
|
|
@@ -21623,7 +21665,7 @@ function textContents(node) {
|
|
|
21623
21665
|
}
|
|
21624
21666
|
}
|
|
21625
21667
|
|
|
21626
|
-
// bazel-out/
|
|
21668
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
21627
21669
|
var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
|
|
21628
21670
|
function parseTemplate(template2, templateUrl, options = {}) {
|
|
21629
21671
|
var _a2, _b2, _c2;
|
|
@@ -21717,7 +21759,7 @@ function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, a
|
|
|
21717
21759
|
return new BindingParser(new Parser2(new Lexer()), interpolationConfig, elementRegistry, [], allowInvalidAssignmentEvents);
|
|
21718
21760
|
}
|
|
21719
21761
|
|
|
21720
|
-
// bazel-out/
|
|
21762
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
21721
21763
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
21722
21764
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
21723
21765
|
var CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
|
|
@@ -22084,7 +22126,7 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
22084
22126
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
22085
22127
|
}
|
|
22086
22128
|
|
|
22087
|
-
// bazel-out/
|
|
22129
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
22088
22130
|
var R3TargetBinder = class {
|
|
22089
22131
|
constructor(directiveMatcher) {
|
|
22090
22132
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -22731,11 +22773,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
22731
22773
|
return templateEntities;
|
|
22732
22774
|
}
|
|
22733
22775
|
|
|
22734
|
-
// bazel-out/
|
|
22776
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
22735
22777
|
var ResourceLoader = class {
|
|
22736
22778
|
};
|
|
22737
22779
|
|
|
22738
|
-
// bazel-out/
|
|
22780
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
22739
22781
|
var CompilerFacadeImpl = class {
|
|
22740
22782
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
22741
22783
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -23313,17 +23355,17 @@ function publishFacade(global) {
|
|
|
23313
23355
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
23314
23356
|
}
|
|
23315
23357
|
|
|
23316
|
-
// bazel-out/
|
|
23317
|
-
var VERSION2 = new Version("18.2.
|
|
23358
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
|
|
23359
|
+
var VERSION2 = new Version("18.2.8");
|
|
23318
23360
|
|
|
23319
|
-
// bazel-out/
|
|
23361
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
23320
23362
|
var _VisitorMode;
|
|
23321
23363
|
(function(_VisitorMode2) {
|
|
23322
23364
|
_VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
|
|
23323
23365
|
_VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
|
|
23324
23366
|
})(_VisitorMode || (_VisitorMode = {}));
|
|
23325
23367
|
|
|
23326
|
-
// bazel-out/
|
|
23368
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
23327
23369
|
var XmlTagDefinition = class {
|
|
23328
23370
|
constructor() {
|
|
23329
23371
|
this.closedByParent = false;
|
|
@@ -23345,7 +23387,7 @@ var XmlTagDefinition = class {
|
|
|
23345
23387
|
};
|
|
23346
23388
|
var _TAG_DEFINITION = new XmlTagDefinition();
|
|
23347
23389
|
|
|
23348
|
-
// bazel-out/
|
|
23390
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
23349
23391
|
var FactoryTarget2;
|
|
23350
23392
|
(function(FactoryTarget3) {
|
|
23351
23393
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -23355,13 +23397,13 @@ var FactoryTarget2;
|
|
|
23355
23397
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
23356
23398
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
23357
23399
|
|
|
23358
|
-
// bazel-out/
|
|
23400
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
23359
23401
|
publishFacade(_global);
|
|
23360
23402
|
|
|
23361
|
-
// bazel-out/
|
|
23403
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
23362
23404
|
var import_typescript22 = __toESM(require("typescript"), 1);
|
|
23363
23405
|
|
|
23364
|
-
// bazel-out/
|
|
23406
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
23365
23407
|
var ErrorCode;
|
|
23366
23408
|
(function(ErrorCode2) {
|
|
23367
23409
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -23456,7 +23498,7 @@ var ErrorCode;
|
|
|
23456
23498
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
23457
23499
|
})(ErrorCode || (ErrorCode = {}));
|
|
23458
23500
|
|
|
23459
|
-
// bazel-out/
|
|
23501
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
23460
23502
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
23461
23503
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
23462
23504
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -23468,10 +23510,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
23468
23510
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
23469
23511
|
]);
|
|
23470
23512
|
|
|
23471
|
-
// bazel-out/
|
|
23513
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
23472
23514
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
23473
23515
|
|
|
23474
|
-
// bazel-out/
|
|
23516
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
23475
23517
|
var ExtendedTemplateDiagnosticName;
|
|
23476
23518
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
23477
23519
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -23488,16 +23530,16 @@ var ExtendedTemplateDiagnosticName;
|
|
|
23488
23530
|
ExtendedTemplateDiagnosticName2["UNUSED_LET_DECLARATION"] = "unusedLetDeclaration";
|
|
23489
23531
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
23490
23532
|
|
|
23491
|
-
// bazel-out/
|
|
23533
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
23492
23534
|
var import_typescript21 = __toESM(require("typescript"), 1);
|
|
23493
23535
|
|
|
23494
|
-
// bazel-out/
|
|
23536
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
23495
23537
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
23496
23538
|
|
|
23497
|
-
// bazel-out/
|
|
23539
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
23498
23540
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
23499
23541
|
|
|
23500
|
-
// bazel-out/
|
|
23542
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
23501
23543
|
var InvalidFileSystem = class {
|
|
23502
23544
|
exists(path2) {
|
|
23503
23545
|
throw makeError();
|
|
@@ -23585,18 +23627,18 @@ function makeError() {
|
|
|
23585
23627
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
23586
23628
|
}
|
|
23587
23629
|
|
|
23588
|
-
// bazel-out/
|
|
23630
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
23589
23631
|
var fs = new InvalidFileSystem();
|
|
23590
23632
|
var ABSOLUTE_PATH = Symbol("AbsolutePath");
|
|
23591
23633
|
|
|
23592
|
-
// bazel-out/
|
|
23634
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
23593
23635
|
var import_url = require("url");
|
|
23594
23636
|
var import_meta3 = {};
|
|
23595
23637
|
var isCommonJS = typeof __filename !== "undefined";
|
|
23596
23638
|
var currentFileUrl = isCommonJS ? null : import_meta3.url;
|
|
23597
23639
|
var currentFileName = isCommonJS ? __filename : (0, import_url.fileURLToPath)(currentFileUrl);
|
|
23598
23640
|
|
|
23599
|
-
// bazel-out/
|
|
23641
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
23600
23642
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
23601
23643
|
function identifierOfNode(decl) {
|
|
23602
23644
|
if (decl.name !== void 0 && import_typescript3.default.isIdentifier(decl.name)) {
|
|
@@ -23606,7 +23648,7 @@ function identifierOfNode(decl) {
|
|
|
23606
23648
|
}
|
|
23607
23649
|
}
|
|
23608
23650
|
|
|
23609
|
-
// bazel-out/
|
|
23651
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
23610
23652
|
var ImportFlags;
|
|
23611
23653
|
(function(ImportFlags2) {
|
|
23612
23654
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -23617,7 +23659,7 @@ var ImportFlags;
|
|
|
23617
23659
|
ImportFlags2[ImportFlags2["AllowAmbientReferences"] = 16] = "AllowAmbientReferences";
|
|
23618
23660
|
})(ImportFlags || (ImportFlags = {}));
|
|
23619
23661
|
|
|
23620
|
-
// bazel-out/
|
|
23662
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
23621
23663
|
var import_typescript7 = __toESM(require("typescript"), 1);
|
|
23622
23664
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
23623
23665
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -23652,16 +23694,16 @@ function throwIncompatibleTransformationContextError() {
|
|
|
23652
23694
|
throw Error("Angular compiler is incompatible with this version of the TypeScript compiler.\n\nIf you recently updated TypeScript and this issue surfaces now, consider downgrading.\n\nPlease report an issue on the Angular repositories when this issue surfaces and you are using a supposedly compatible TypeScript version.");
|
|
23653
23695
|
}
|
|
23654
23696
|
|
|
23655
|
-
// bazel-out/
|
|
23697
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
23656
23698
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
23657
23699
|
|
|
23658
|
-
// bazel-out/
|
|
23700
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
23659
23701
|
var import_typescript13 = __toESM(require("typescript"), 1);
|
|
23660
23702
|
|
|
23661
|
-
// bazel-out/
|
|
23703
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
23662
23704
|
var import_typescript12 = __toESM(require("typescript"), 1);
|
|
23663
23705
|
|
|
23664
|
-
// bazel-out/
|
|
23706
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
23665
23707
|
var import_typescript9 = __toESM(require("typescript"), 1);
|
|
23666
23708
|
var ClassMemberKind;
|
|
23667
23709
|
(function(ClassMemberKind2) {
|
|
@@ -23681,22 +23723,22 @@ var ClassMemberAccessLevel;
|
|
|
23681
23723
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
23682
23724
|
var AmbientImport = {};
|
|
23683
23725
|
|
|
23684
|
-
// bazel-out/
|
|
23726
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
23685
23727
|
var import_typescript10 = __toESM(require("typescript"), 1);
|
|
23686
23728
|
|
|
23687
|
-
// bazel-out/
|
|
23729
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
23688
23730
|
var import_typescript11 = __toESM(require("typescript"), 1);
|
|
23689
23731
|
|
|
23690
|
-
// bazel-out/
|
|
23732
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
23691
23733
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
23692
23734
|
|
|
23693
|
-
// bazel-out/
|
|
23735
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
|
|
23694
23736
|
var import_typescript15 = __toESM(require("typescript"), 1);
|
|
23695
23737
|
|
|
23696
|
-
// bazel-out/
|
|
23738
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
|
|
23697
23739
|
var import_typescript16 = __toESM(require("typescript"), 1);
|
|
23698
23740
|
|
|
23699
|
-
// bazel-out/
|
|
23741
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
23700
23742
|
var Reference2 = class {
|
|
23701
23743
|
constructor(node, bestGuessOwningModule = null) {
|
|
23702
23744
|
this.node = node;
|
|
@@ -23765,10 +23807,10 @@ var Reference2 = class {
|
|
|
23765
23807
|
}
|
|
23766
23808
|
};
|
|
23767
23809
|
|
|
23768
|
-
// bazel-out/
|
|
23810
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
23769
23811
|
var import_typescript45 = __toESM(require("typescript"), 1);
|
|
23770
23812
|
|
|
23771
|
-
// bazel-out/
|
|
23813
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
23772
23814
|
var MetaKind;
|
|
23773
23815
|
(function(MetaKind2) {
|
|
23774
23816
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -23781,10 +23823,10 @@ var MatchSource;
|
|
|
23781
23823
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
23782
23824
|
})(MatchSource || (MatchSource = {}));
|
|
23783
23825
|
|
|
23784
|
-
// bazel-out/
|
|
23826
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
23785
23827
|
var import_typescript25 = __toESM(require("typescript"), 1);
|
|
23786
23828
|
|
|
23787
|
-
// bazel-out/
|
|
23829
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
23788
23830
|
var ClassPropertyMapping = class {
|
|
23789
23831
|
constructor(forwardMap) {
|
|
23790
23832
|
this.forwardMap = forwardMap;
|
|
@@ -23864,13 +23906,13 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
23864
23906
|
return reverseMap;
|
|
23865
23907
|
}
|
|
23866
23908
|
|
|
23867
|
-
// bazel-out/
|
|
23909
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
23868
23910
|
var import_typescript23 = __toESM(require("typescript"), 1);
|
|
23869
23911
|
|
|
23870
|
-
// bazel-out/
|
|
23912
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
23871
23913
|
var import_typescript27 = __toESM(require("typescript"), 1);
|
|
23872
23914
|
|
|
23873
|
-
// bazel-out/
|
|
23915
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
23874
23916
|
var import_typescript28 = __toESM(require("typescript"), 1);
|
|
23875
23917
|
function literalBinaryOp(op) {
|
|
23876
23918
|
return { op, literal: true };
|
|
@@ -23909,7 +23951,7 @@ var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
|
23909
23951
|
[import_typescript28.default.SyntaxKind.ExclamationToken, (a) => !a]
|
|
23910
23952
|
]);
|
|
23911
23953
|
|
|
23912
|
-
// bazel-out/
|
|
23954
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
23913
23955
|
var CompilationMode;
|
|
23914
23956
|
(function(CompilationMode2) {
|
|
23915
23957
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -23923,13 +23965,13 @@ var HandlerPrecedence;
|
|
|
23923
23965
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
23924
23966
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
23925
23967
|
|
|
23926
|
-
// bazel-out/
|
|
23968
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
23927
23969
|
var import_typescript30 = __toESM(require("typescript"), 1);
|
|
23928
23970
|
|
|
23929
|
-
// bazel-out/
|
|
23971
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
23930
23972
|
var import_typescript31 = __toESM(require("typescript"), 1);
|
|
23931
23973
|
|
|
23932
|
-
// bazel-out/
|
|
23974
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
23933
23975
|
var PerfPhase;
|
|
23934
23976
|
(function(PerfPhase2) {
|
|
23935
23977
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -23999,7 +24041,7 @@ var PerfCheckpoint;
|
|
|
23999
24041
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
24000
24042
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
24001
24043
|
|
|
24002
|
-
// bazel-out/
|
|
24044
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
24003
24045
|
var NoopPerfRecorder = class {
|
|
24004
24046
|
eventCount() {
|
|
24005
24047
|
}
|
|
@@ -24016,7 +24058,7 @@ var NoopPerfRecorder = class {
|
|
|
24016
24058
|
};
|
|
24017
24059
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
24018
24060
|
|
|
24019
|
-
// bazel-out/
|
|
24061
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
24020
24062
|
var TraitState;
|
|
24021
24063
|
(function(TraitState2) {
|
|
24022
24064
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -24025,13 +24067,13 @@ var TraitState;
|
|
|
24025
24067
|
TraitState2[TraitState2["Skipped"] = 3] = "Skipped";
|
|
24026
24068
|
})(TraitState || (TraitState = {}));
|
|
24027
24069
|
|
|
24028
|
-
// bazel-out/
|
|
24070
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
24029
24071
|
var import_typescript42 = __toESM(require("typescript"), 1);
|
|
24030
24072
|
|
|
24031
|
-
// bazel-out/
|
|
24073
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
24032
24074
|
var import_typescript37 = __toESM(require("typescript"), 1);
|
|
24033
24075
|
|
|
24034
|
-
// bazel-out/
|
|
24076
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
|
|
24035
24077
|
var import_typescript33 = __toESM(require("typescript"), 1);
|
|
24036
24078
|
function createGenerateUniqueIdentifierHelper() {
|
|
24037
24079
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -24057,7 +24099,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
24057
24099
|
};
|
|
24058
24100
|
}
|
|
24059
24101
|
|
|
24060
|
-
// bazel-out/
|
|
24102
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
|
|
24061
24103
|
var import_typescript34 = __toESM(require("typescript"), 1);
|
|
24062
24104
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
24063
24105
|
return (ctx) => {
|
|
@@ -24124,7 +24166,7 @@ function isImportStatement(stmt) {
|
|
|
24124
24166
|
return import_typescript34.default.isImportDeclaration(stmt) || import_typescript34.default.isImportEqualsDeclaration(stmt) || import_typescript34.default.isNamespaceImport(stmt);
|
|
24125
24167
|
}
|
|
24126
24168
|
|
|
24127
|
-
// bazel-out/
|
|
24169
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
|
|
24128
24170
|
var import_typescript35 = __toESM(require("typescript"), 1);
|
|
24129
24171
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
24130
24172
|
const requestHash = hashImportRequest(request);
|
|
@@ -24151,7 +24193,7 @@ function hashImportRequest(req) {
|
|
|
24151
24193
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}${req.unsafeAliasOverride ? ":" + req.unsafeAliasOverride : ""}`;
|
|
24152
24194
|
}
|
|
24153
24195
|
|
|
24154
|
-
// bazel-out/
|
|
24196
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
|
|
24155
24197
|
var import_typescript36 = __toESM(require("typescript"), 1);
|
|
24156
24198
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
24157
24199
|
let candidateImportToBeUpdated = null;
|
|
@@ -24211,7 +24253,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
24211
24253
|
return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
|
|
24212
24254
|
}
|
|
24213
24255
|
|
|
24214
|
-
// bazel-out/
|
|
24256
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
24215
24257
|
var ImportManager = class {
|
|
24216
24258
|
constructor(config = {}) {
|
|
24217
24259
|
var _a2, _b2, _c2, _d2, _e2, _f2;
|
|
@@ -24425,7 +24467,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
24425
24467
|
}
|
|
24426
24468
|
}
|
|
24427
24469
|
|
|
24428
|
-
// bazel-out/
|
|
24470
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
24429
24471
|
var UNARY_OPERATORS2 = /* @__PURE__ */ new Map([
|
|
24430
24472
|
[UnaryOperator.Minus, "-"],
|
|
24431
24473
|
[UnaryOperator.Plus, "+"]
|
|
@@ -24451,7 +24493,7 @@ var BINARY_OPERATORS3 = /* @__PURE__ */ new Map([
|
|
|
24451
24493
|
[BinaryOperator.NullishCoalesce, "??"]
|
|
24452
24494
|
]);
|
|
24453
24495
|
|
|
24454
|
-
// bazel-out/
|
|
24496
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
24455
24497
|
var import_typescript38 = __toESM(require("typescript"), 1);
|
|
24456
24498
|
var INELIGIBLE = {};
|
|
24457
24499
|
function canEmitType(type, canEmit) {
|
|
@@ -24526,13 +24568,13 @@ var TypeEmitter = class {
|
|
|
24526
24568
|
}
|
|
24527
24569
|
};
|
|
24528
24570
|
|
|
24529
|
-
// bazel-out/
|
|
24571
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
24530
24572
|
var import_typescript40 = __toESM(require("typescript"), 1);
|
|
24531
24573
|
|
|
24532
|
-
// bazel-out/
|
|
24574
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
24533
24575
|
var import_typescript39 = __toESM(require("typescript"), 1);
|
|
24534
24576
|
|
|
24535
|
-
// bazel-out/
|
|
24577
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
24536
24578
|
var import_typescript41 = __toESM(require("typescript"), 1);
|
|
24537
24579
|
var PureAnnotation;
|
|
24538
24580
|
(function(PureAnnotation2) {
|
|
@@ -24570,50 +24612,50 @@ var VAR_TYPES = {
|
|
|
24570
24612
|
"var": import_typescript41.default.NodeFlags.None
|
|
24571
24613
|
};
|
|
24572
24614
|
|
|
24573
|
-
// bazel-out/
|
|
24615
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
24574
24616
|
var import_typescript44 = __toESM(require("typescript"), 1);
|
|
24575
24617
|
|
|
24576
|
-
// bazel-out/
|
|
24618
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
24577
24619
|
var import_typescript43 = __toESM(require("typescript"), 1);
|
|
24578
24620
|
|
|
24579
|
-
// bazel-out/
|
|
24621
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
24580
24622
|
var import_typescript47 = __toESM(require("typescript"), 1);
|
|
24581
24623
|
|
|
24582
|
-
// bazel-out/
|
|
24624
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
24583
24625
|
var import_typescript48 = __toESM(require("typescript"), 1);
|
|
24584
24626
|
|
|
24585
|
-
// bazel-out/
|
|
24627
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
24586
24628
|
var import_typescript87 = __toESM(require("typescript"), 1);
|
|
24587
24629
|
|
|
24588
|
-
// bazel-out/
|
|
24630
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
24589
24631
|
var import_typescript49 = __toESM(require("typescript"), 1);
|
|
24590
24632
|
|
|
24591
|
-
// bazel-out/
|
|
24633
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
24592
24634
|
var import_typescript50 = __toESM(require("typescript"), 1);
|
|
24593
24635
|
|
|
24594
|
-
// bazel-out/
|
|
24636
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
24595
24637
|
var ComponentScopeKind;
|
|
24596
24638
|
(function(ComponentScopeKind2) {
|
|
24597
24639
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
24598
24640
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
24599
24641
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
24600
24642
|
|
|
24601
|
-
// bazel-out/
|
|
24643
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
24602
24644
|
var import_typescript51 = __toESM(require("typescript"), 1);
|
|
24603
24645
|
|
|
24604
|
-
// bazel-out/
|
|
24646
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
24605
24647
|
var import_typescript53 = __toESM(require("typescript"), 1);
|
|
24606
24648
|
|
|
24607
|
-
// bazel-out/
|
|
24649
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
24608
24650
|
var import_typescript57 = __toESM(require("typescript"), 1);
|
|
24609
24651
|
|
|
24610
|
-
// bazel-out/
|
|
24652
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.mjs
|
|
24611
24653
|
var import_typescript54 = __toESM(require("typescript"), 1);
|
|
24612
24654
|
|
|
24613
|
-
// bazel-out/
|
|
24655
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.mjs
|
|
24614
24656
|
var import_typescript55 = __toESM(require("typescript"), 1);
|
|
24615
24657
|
|
|
24616
|
-
// bazel-out/
|
|
24658
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
|
|
24617
24659
|
var INPUT_INITIALIZER_FN = {
|
|
24618
24660
|
functionName: "input",
|
|
24619
24661
|
owningModule: "@angular/core",
|
|
@@ -24624,7 +24666,7 @@ var INPUT_INITIALIZER_FN = {
|
|
|
24624
24666
|
]
|
|
24625
24667
|
};
|
|
24626
24668
|
|
|
24627
|
-
// bazel-out/
|
|
24669
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.mjs
|
|
24628
24670
|
var MODEL_INITIALIZER_FN = {
|
|
24629
24671
|
functionName: "model",
|
|
24630
24672
|
owningModule: "@angular/core",
|
|
@@ -24635,14 +24677,14 @@ var MODEL_INITIALIZER_FN = {
|
|
|
24635
24677
|
]
|
|
24636
24678
|
};
|
|
24637
24679
|
|
|
24638
|
-
// bazel-out/
|
|
24680
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.mjs
|
|
24639
24681
|
var allowedAccessLevels = [
|
|
24640
24682
|
ClassMemberAccessLevel.PublicWritable,
|
|
24641
24683
|
ClassMemberAccessLevel.PublicReadonly,
|
|
24642
24684
|
ClassMemberAccessLevel.Protected
|
|
24643
24685
|
];
|
|
24644
24686
|
|
|
24645
|
-
// bazel-out/
|
|
24687
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.mjs
|
|
24646
24688
|
var import_typescript56 = __toESM(require("typescript"), 1);
|
|
24647
24689
|
var queryFunctionNames = [
|
|
24648
24690
|
"viewChild",
|
|
@@ -24661,7 +24703,7 @@ var QUERY_INITIALIZER_FNS = queryFunctionNames.map((fnName) => ({
|
|
|
24661
24703
|
]
|
|
24662
24704
|
}));
|
|
24663
24705
|
|
|
24664
|
-
// bazel-out/
|
|
24706
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
24665
24707
|
var queryDecoratorNames = [
|
|
24666
24708
|
"ViewChild",
|
|
24667
24709
|
"ViewChildren",
|
|
@@ -24670,16 +24712,16 @@ var queryDecoratorNames = [
|
|
|
24670
24712
|
];
|
|
24671
24713
|
var QUERY_TYPES = new Set(queryDecoratorNames);
|
|
24672
24714
|
|
|
24673
|
-
// bazel-out/
|
|
24715
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
24674
24716
|
var import_typescript59 = __toESM(require("typescript"), 1);
|
|
24675
24717
|
|
|
24676
|
-
// bazel-out/
|
|
24718
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
24677
24719
|
var import_typescript58 = __toESM(require("typescript"), 1);
|
|
24678
24720
|
|
|
24679
|
-
// bazel-out/
|
|
24721
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
24680
24722
|
var import_typescript61 = __toESM(require("typescript"), 1);
|
|
24681
24723
|
|
|
24682
|
-
// bazel-out/
|
|
24724
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
24683
24725
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
24684
24726
|
var UpdateMode;
|
|
24685
24727
|
(function(UpdateMode2) {
|
|
@@ -24687,23 +24729,23 @@ var UpdateMode;
|
|
|
24687
24729
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
24688
24730
|
})(UpdateMode || (UpdateMode = {}));
|
|
24689
24731
|
|
|
24690
|
-
// bazel-out/
|
|
24732
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
24691
24733
|
var import_typescript65 = __toESM(require("typescript"), 1);
|
|
24692
24734
|
|
|
24693
|
-
// bazel-out/
|
|
24735
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
24694
24736
|
var import_typescript62 = __toESM(require("typescript"), 1);
|
|
24695
24737
|
|
|
24696
|
-
// bazel-out/
|
|
24738
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
24697
24739
|
var NgExtension = Symbol("NgExtension");
|
|
24698
24740
|
|
|
24699
|
-
// bazel-out/
|
|
24741
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
24700
24742
|
var OptimizeFor;
|
|
24701
24743
|
(function(OptimizeFor2) {
|
|
24702
24744
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
24703
24745
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
24704
24746
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
24705
24747
|
|
|
24706
|
-
// bazel-out/
|
|
24748
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
24707
24749
|
var CompletionKind;
|
|
24708
24750
|
(function(CompletionKind2) {
|
|
24709
24751
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
@@ -24711,7 +24753,7 @@ var CompletionKind;
|
|
|
24711
24753
|
CompletionKind2[CompletionKind2["LetDeclaration"] = 2] = "LetDeclaration";
|
|
24712
24754
|
})(CompletionKind || (CompletionKind = {}));
|
|
24713
24755
|
|
|
24714
|
-
// bazel-out/
|
|
24756
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
24715
24757
|
var PotentialImportKind;
|
|
24716
24758
|
(function(PotentialImportKind2) {
|
|
24717
24759
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -24723,7 +24765,7 @@ var PotentialImportMode;
|
|
|
24723
24765
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
24724
24766
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
24725
24767
|
|
|
24726
|
-
// bazel-out/
|
|
24768
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
24727
24769
|
var SymbolKind;
|
|
24728
24770
|
(function(SymbolKind2) {
|
|
24729
24771
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -24740,18 +24782,18 @@ var SymbolKind;
|
|
|
24740
24782
|
SymbolKind2[SymbolKind2["LetDeclaration"] = 11] = "LetDeclaration";
|
|
24741
24783
|
})(SymbolKind || (SymbolKind = {}));
|
|
24742
24784
|
|
|
24743
|
-
// bazel-out/
|
|
24785
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
24744
24786
|
var import_typescript67 = __toESM(require("typescript"), 1);
|
|
24745
24787
|
var TemplateSourceFile = Symbol("TemplateSourceFile");
|
|
24746
24788
|
|
|
24747
|
-
// bazel-out/
|
|
24789
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
24748
24790
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
24749
24791
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
24750
24792
|
|
|
24751
|
-
// bazel-out/
|
|
24793
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
24752
24794
|
var import_typescript69 = __toESM(require("typescript"), 1);
|
|
24753
24795
|
|
|
24754
|
-
// bazel-out/
|
|
24796
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
24755
24797
|
var import_typescript68 = __toESM(require("typescript"), 1);
|
|
24756
24798
|
var CommentTriviaType;
|
|
24757
24799
|
(function(CommentTriviaType2) {
|
|
@@ -24796,17 +24838,17 @@ for (let i = 0; i < chars.length; i++) {
|
|
|
24796
24838
|
}
|
|
24797
24839
|
var bufLength = 1024 * 16;
|
|
24798
24840
|
|
|
24799
|
-
// bazel-out/
|
|
24841
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
24800
24842
|
var import_typescript83 = __toESM(require("typescript"), 1);
|
|
24801
24843
|
|
|
24802
|
-
// bazel-out/
|
|
24844
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
24803
24845
|
var import_typescript70 = __toESM(require("typescript"), 1);
|
|
24804
24846
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
24805
24847
|
|
|
24806
|
-
// bazel-out/
|
|
24848
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
24807
24849
|
var import_typescript76 = __toESM(require("typescript"), 1);
|
|
24808
24850
|
|
|
24809
|
-
// bazel-out/
|
|
24851
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
24810
24852
|
var import_typescript71 = __toESM(require("typescript"), 1);
|
|
24811
24853
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
24812
24854
|
import_typescript71.default.SyntaxKind.ParenthesizedExpression,
|
|
@@ -24886,13 +24928,13 @@ function tsNumericExpression2(value) {
|
|
|
24886
24928
|
return import_typescript71.default.factory.createNumericLiteral(value);
|
|
24887
24929
|
}
|
|
24888
24930
|
|
|
24889
|
-
// bazel-out/
|
|
24931
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
24890
24932
|
var import_typescript75 = __toESM(require("typescript"), 1);
|
|
24891
24933
|
|
|
24892
|
-
// bazel-out/
|
|
24934
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
24893
24935
|
var import_typescript73 = __toESM(require("typescript"), 1);
|
|
24894
24936
|
|
|
24895
|
-
// bazel-out/
|
|
24937
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
24896
24938
|
var import_typescript72 = __toESM(require("typescript"), 1);
|
|
24897
24939
|
var TypeParameterEmitter = class {
|
|
24898
24940
|
constructor(typeParameters, reflector) {
|
|
@@ -24970,7 +25012,7 @@ var TypeParameterEmitter = class {
|
|
|
24970
25012
|
}
|
|
24971
25013
|
};
|
|
24972
25014
|
|
|
24973
|
-
// bazel-out/
|
|
25015
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
24974
25016
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
24975
25017
|
Identifiers.InputSignalBrandWriteType
|
|
24976
25018
|
];
|
|
@@ -24985,21 +25027,21 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
24985
25027
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
24986
25028
|
}
|
|
24987
25029
|
|
|
24988
|
-
// bazel-out/
|
|
25030
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
24989
25031
|
function requiresInlineTypeCtor(node, host, env) {
|
|
24990
25032
|
return !checkIfGenericTypeBoundsCanBeEmitted(node, host, env);
|
|
24991
25033
|
}
|
|
24992
25034
|
|
|
24993
|
-
// bazel-out/
|
|
25035
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
24994
25036
|
var import_typescript77 = __toESM(require("typescript"), 1);
|
|
24995
25037
|
|
|
24996
|
-
// bazel-out/
|
|
25038
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
24997
25039
|
var import_typescript78 = __toESM(require("typescript"), 1);
|
|
24998
25040
|
|
|
24999
|
-
// bazel-out/
|
|
25041
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
25000
25042
|
var import_typescript81 = __toESM(require("typescript"), 1);
|
|
25001
25043
|
|
|
25002
|
-
// bazel-out/
|
|
25044
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
25003
25045
|
var import_typescript79 = __toESM(require("typescript"), 1);
|
|
25004
25046
|
function wrapForDiagnostics(expr) {
|
|
25005
25047
|
return import_typescript79.default.factory.createParenthesizedExpression(expr);
|
|
@@ -25022,7 +25064,7 @@ function addParseSpanInfo(node, span) {
|
|
|
25022
25064
|
);
|
|
25023
25065
|
}
|
|
25024
25066
|
|
|
25025
|
-
// bazel-out/
|
|
25067
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
25026
25068
|
var import_typescript80 = __toESM(require("typescript"), 1);
|
|
25027
25069
|
var ANY_EXPRESSION = import_typescript80.default.factory.createAsExpression(import_typescript80.default.factory.createNumericLiteral("0"), import_typescript80.default.factory.createKeywordTypeNode(import_typescript80.default.SyntaxKind.AnyKeyword));
|
|
25028
25070
|
var UNDEFINED = import_typescript80.default.factory.createIdentifier("undefined");
|
|
@@ -25354,7 +25396,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
25354
25396
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
25355
25397
|
})();
|
|
25356
25398
|
|
|
25357
|
-
// bazel-out/
|
|
25399
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
25358
25400
|
var TcbGenericContextBehavior;
|
|
25359
25401
|
(function(TcbGenericContextBehavior2) {
|
|
25360
25402
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -26866,29 +26908,29 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
26866
26908
|
}
|
|
26867
26909
|
};
|
|
26868
26910
|
|
|
26869
|
-
// bazel-out/
|
|
26911
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
26870
26912
|
var import_typescript82 = __toESM(require("typescript"), 1);
|
|
26871
26913
|
|
|
26872
|
-
// bazel-out/
|
|
26914
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
26873
26915
|
var InliningMode;
|
|
26874
26916
|
(function(InliningMode2) {
|
|
26875
26917
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
26876
26918
|
InliningMode2[InliningMode2["Error"] = 1] = "Error";
|
|
26877
26919
|
})(InliningMode || (InliningMode = {}));
|
|
26878
26920
|
|
|
26879
|
-
// bazel-out/
|
|
26921
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
26880
26922
|
var import_typescript84 = __toESM(require("typescript"), 1);
|
|
26881
26923
|
|
|
26882
|
-
// bazel-out/
|
|
26924
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
26883
26925
|
var REGISTRY2 = new DomElementSchemaRegistry();
|
|
26884
26926
|
|
|
26885
|
-
// bazel-out/
|
|
26927
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
26886
26928
|
var import_typescript89 = __toESM(require("typescript"), 1);
|
|
26887
26929
|
|
|
26888
|
-
// bazel-out/
|
|
26930
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
26889
26931
|
var import_typescript90 = __toESM(require("typescript"), 1);
|
|
26890
26932
|
|
|
26891
|
-
// bazel-out/
|
|
26933
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
26892
26934
|
var ChangeTracker = class {
|
|
26893
26935
|
constructor(_printer, _importRemapper) {
|
|
26894
26936
|
__publicField(this, "_printer");
|
|
@@ -27006,11 +27048,11 @@ function normalizePath(path2) {
|
|
|
27006
27048
|
return path2.replace(/\\/g, "/");
|
|
27007
27049
|
}
|
|
27008
27050
|
|
|
27009
|
-
// bazel-out/
|
|
27051
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
27010
27052
|
var import_path2 = require("path");
|
|
27011
27053
|
var import_typescript93 = __toESM(require("typescript"), 1);
|
|
27012
27054
|
|
|
27013
|
-
// bazel-out/
|
|
27055
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
27014
27056
|
var path = __toESM(require("path"), 1);
|
|
27015
27057
|
var import_typescript92 = __toESM(require("typescript"), 1);
|
|
27016
27058
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -27027,7 +27069,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
27027
27069
|
return import_typescript92.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
27028
27070
|
}
|
|
27029
27071
|
|
|
27030
|
-
// bazel-out/
|
|
27072
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
27031
27073
|
function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
|
|
27032
27074
|
const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
|
|
27033
27075
|
return import_typescript93.default.createProgram(rootNames, options, host);
|
|
@@ -27060,16 +27102,16 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
27060
27102
|
return !(0, import_path2.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
27061
27103
|
}
|
|
27062
27104
|
|
|
27063
|
-
// bazel-out/
|
|
27105
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/inject-migration/migration.mjs
|
|
27064
27106
|
var import_typescript99 = __toESM(require("typescript"), 1);
|
|
27065
27107
|
|
|
27066
|
-
// bazel-out/
|
|
27108
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/inject-migration/analysis.mjs
|
|
27067
27109
|
var import_typescript96 = __toESM(require("typescript"), 1);
|
|
27068
27110
|
|
|
27069
|
-
// bazel-out/
|
|
27111
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
27070
27112
|
var import_typescript95 = __toESM(require("typescript"), 1);
|
|
27071
27113
|
|
|
27072
|
-
// bazel-out/
|
|
27114
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
|
|
27073
27115
|
var import_typescript94 = __toESM(require("typescript"), 1);
|
|
27074
27116
|
function getImportOfIdentifier(typeChecker, node) {
|
|
27075
27117
|
const symbol = typeChecker.getSymbolAtLocation(node);
|
|
@@ -27104,7 +27146,7 @@ function getNamedImports(sourceFile, moduleName) {
|
|
|
27104
27146
|
return null;
|
|
27105
27147
|
}
|
|
27106
27148
|
|
|
27107
|
-
// bazel-out/
|
|
27149
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
|
|
27108
27150
|
function getCallDecoratorImport(typeChecker, decorator) {
|
|
27109
27151
|
if (!import_typescript95.default.isCallExpression(decorator.expression) || !import_typescript95.default.isIdentifier(decorator.expression.expression)) {
|
|
27110
27152
|
return null;
|
|
@@ -27113,7 +27155,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
|
|
|
27113
27155
|
return getImportOfIdentifier(typeChecker, identifier);
|
|
27114
27156
|
}
|
|
27115
27157
|
|
|
27116
|
-
// bazel-out/
|
|
27158
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
|
|
27117
27159
|
function getAngularDecorators2(typeChecker, decorators) {
|
|
27118
27160
|
return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
|
|
27119
27161
|
node,
|
|
@@ -27123,7 +27165,7 @@ function getAngularDecorators2(typeChecker, decorators) {
|
|
|
27123
27165
|
}));
|
|
27124
27166
|
}
|
|
27125
27167
|
|
|
27126
|
-
// bazel-out/
|
|
27168
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/inject-migration/analysis.mjs
|
|
27127
27169
|
var DECORATORS_SUPPORTING_DI = /* @__PURE__ */ new Set([
|
|
27128
27170
|
"Component",
|
|
27129
27171
|
"Directive",
|
|
@@ -27317,7 +27359,7 @@ function findSuperCall(root) {
|
|
|
27317
27359
|
return result;
|
|
27318
27360
|
}
|
|
27319
27361
|
|
|
27320
|
-
// bazel-out/
|
|
27362
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
|
|
27321
27363
|
var import_typescript97 = __toESM(require("typescript"), 1);
|
|
27322
27364
|
function closestNode(node, predicate) {
|
|
27323
27365
|
let current = node.parent;
|
|
@@ -27330,7 +27372,7 @@ function closestNode(node, predicate) {
|
|
|
27330
27372
|
return null;
|
|
27331
27373
|
}
|
|
27332
27374
|
|
|
27333
|
-
// bazel-out/
|
|
27375
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/inject-migration/internal.mjs
|
|
27334
27376
|
var import_typescript98 = __toESM(require("typescript"), 1);
|
|
27335
27377
|
function findUninitializedPropertiesToCombine(node, constructor, localTypeChecker) {
|
|
27336
27378
|
let result = null;
|
|
@@ -27412,7 +27454,7 @@ function isInsideInlineFunction(startNode, boundary) {
|
|
|
27412
27454
|
return false;
|
|
27413
27455
|
}
|
|
27414
27456
|
|
|
27415
|
-
// bazel-out/
|
|
27457
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/inject-migration/migration.mjs
|
|
27416
27458
|
var PLACEHOLDER = "\u0275\u0275ngGeneratePlaceholder\u0275\u0275";
|
|
27417
27459
|
function migrateFile(sourceFile, options) {
|
|
27418
27460
|
const localTypeChecker = getLocalTypeChecker(sourceFile);
|
|
@@ -27475,7 +27517,7 @@ function migrateClass(node, constructor, superCall, options, removedStatements,
|
|
|
27475
27517
|
tracker.replaceText(sourceFile, member.getFullStart(), member.getFullWidth(), "");
|
|
27476
27518
|
}
|
|
27477
27519
|
}
|
|
27478
|
-
if (
|
|
27520
|
+
if (canRemoveConstructor(options, constructor, removedStatementCount, superCall)) {
|
|
27479
27521
|
removedMembers.add(constructor);
|
|
27480
27522
|
tracker.replaceText(sourceFile, constructor.getFullStart(), constructor.getFullWidth(), "");
|
|
27481
27523
|
} else {
|
|
@@ -27710,8 +27752,15 @@ function cloneName(node) {
|
|
|
27710
27752
|
return node;
|
|
27711
27753
|
}
|
|
27712
27754
|
}
|
|
27755
|
+
function canRemoveConstructor(options, constructor, removedStatementCount, superCall) {
|
|
27756
|
+
if (options.backwardsCompatibleConstructors) {
|
|
27757
|
+
return false;
|
|
27758
|
+
}
|
|
27759
|
+
const statementCount = constructor.body ? constructor.body.statements.length - removedStatementCount : 0;
|
|
27760
|
+
return statementCount === 0 || statementCount === 1 && superCall !== null && superCall.arguments.length === 0;
|
|
27761
|
+
}
|
|
27713
27762
|
|
|
27714
|
-
// bazel-out/
|
|
27763
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/inject-migration/index.mjs
|
|
27715
27764
|
function inject_migration_default(options) {
|
|
27716
27765
|
return (tree) => __async(this, null, function* () {
|
|
27717
27766
|
const basePath = process.cwd();
|