@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/route-lazy-loading/index.mjs
|
|
67
67
|
var route_lazy_loading_exports = {};
|
|
68
68
|
__export(route_lazy_loading_exports, {
|
|
69
69
|
default: () => route_lazy_loading_default
|
|
@@ -73,10 +73,10 @@ var import_schematics = require("@angular-devkit/schematics");
|
|
|
73
73
|
var import_fs = require("fs");
|
|
74
74
|
var import_path3 = require("path");
|
|
75
75
|
|
|
76
|
-
// bazel-out/
|
|
76
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
77
77
|
var import_typescript91 = __toESM(require("typescript"), 1);
|
|
78
78
|
|
|
79
|
-
// bazel-out/
|
|
79
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/selector.mjs
|
|
80
80
|
var _SELECTOR_REGEXP = new RegExp(
|
|
81
81
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
82
82
|
"g"
|
|
@@ -384,7 +384,7 @@ var SelectorContext = class {
|
|
|
384
384
|
}
|
|
385
385
|
};
|
|
386
386
|
|
|
387
|
-
// bazel-out/
|
|
387
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/core.mjs
|
|
388
388
|
var ViewEncapsulation;
|
|
389
389
|
(function(ViewEncapsulation2) {
|
|
390
390
|
ViewEncapsulation2[ViewEncapsulation2["Emulated"] = 0] = "Emulated";
|
|
@@ -452,7 +452,7 @@ function parseSelectorToR3Selector(selector) {
|
|
|
452
452
|
return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
|
|
453
453
|
}
|
|
454
454
|
|
|
455
|
-
// bazel-out/
|
|
455
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
|
|
456
456
|
var textEncoder;
|
|
457
457
|
function computeDigest(message) {
|
|
458
458
|
return sha1(serializeNodes(message.nodes).join("") + `[${message.meaning}]`);
|
|
@@ -699,7 +699,7 @@ function wordAt(bytes, index, endian) {
|
|
|
699
699
|
return word;
|
|
700
700
|
}
|
|
701
701
|
|
|
702
|
-
// bazel-out/
|
|
702
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
703
703
|
var TypeModifier;
|
|
704
704
|
(function(TypeModifier2) {
|
|
705
705
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -1646,7 +1646,7 @@ function serializeTags(tags) {
|
|
|
1646
1646
|
return out;
|
|
1647
1647
|
}
|
|
1648
1648
|
|
|
1649
|
-
// bazel-out/
|
|
1649
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
1650
1650
|
var CONSTANT_PREFIX = "_c";
|
|
1651
1651
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
1652
1652
|
var KEY_CONTEXT = {};
|
|
@@ -1834,7 +1834,7 @@ function isLongStringLiteral(expr) {
|
|
|
1834
1834
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
1835
1835
|
}
|
|
1836
1836
|
|
|
1837
|
-
// bazel-out/
|
|
1837
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
1838
1838
|
var CORE = "@angular/core";
|
|
1839
1839
|
var _Identifiers = class {
|
|
1840
1840
|
};
|
|
@@ -2731,7 +2731,7 @@ var Identifiers = _Identifiers;
|
|
|
2731
2731
|
_Identifiers.unwrapWritableSignal = { name: "\u0275unwrapWritableSignal", moduleName: CORE };
|
|
2732
2732
|
})();
|
|
2733
2733
|
|
|
2734
|
-
// bazel-out/
|
|
2734
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
|
|
2735
2735
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
2736
2736
|
function dashCaseToCamelCase(input) {
|
|
2737
2737
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -2808,7 +2808,7 @@ var Version = class {
|
|
|
2808
2808
|
};
|
|
2809
2809
|
var _global = globalThis;
|
|
2810
2810
|
|
|
2811
|
-
// bazel-out/
|
|
2811
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
2812
2812
|
var VERSION = 3;
|
|
2813
2813
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
2814
2814
|
var SourceMapGenerator = class {
|
|
@@ -2937,7 +2937,7 @@ function toBase64Digit(value) {
|
|
|
2937
2937
|
return B64_DIGITS[value];
|
|
2938
2938
|
}
|
|
2939
2939
|
|
|
2940
|
-
// bazel-out/
|
|
2940
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
2941
2941
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
2942
2942
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
2943
2943
|
var _INDENT_WITH = " ";
|
|
@@ -3425,7 +3425,7 @@ function _createIndent(count) {
|
|
|
3425
3425
|
return res;
|
|
3426
3426
|
}
|
|
3427
3427
|
|
|
3428
|
-
// bazel-out/
|
|
3428
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
3429
3429
|
function typeWithParameters(type, numParams) {
|
|
3430
3430
|
if (numParams === 0) {
|
|
3431
3431
|
return expressionType(type);
|
|
@@ -3480,7 +3480,7 @@ function generateForwardRef(expr) {
|
|
|
3480
3480
|
return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
|
|
3481
3481
|
}
|
|
3482
3482
|
|
|
3483
|
-
// bazel-out/
|
|
3483
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
3484
3484
|
var R3FactoryDelegateType;
|
|
3485
3485
|
(function(R3FactoryDelegateType2) {
|
|
3486
3486
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -3625,7 +3625,7 @@ function getInjectFn(target) {
|
|
|
3625
3625
|
}
|
|
3626
3626
|
}
|
|
3627
3627
|
|
|
3628
|
-
// bazel-out/
|
|
3628
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
3629
3629
|
var ParserError = class {
|
|
3630
3630
|
constructor(message, input, errLocation, ctxLocation) {
|
|
3631
3631
|
this.input = input;
|
|
@@ -4063,7 +4063,7 @@ var BoundElementProperty = class {
|
|
|
4063
4063
|
}
|
|
4064
4064
|
};
|
|
4065
4065
|
|
|
4066
|
-
// bazel-out/
|
|
4066
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
4067
4067
|
var TagContentType;
|
|
4068
4068
|
(function(TagContentType2) {
|
|
4069
4069
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -4100,7 +4100,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
4100
4100
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
4101
4101
|
}
|
|
4102
4102
|
|
|
4103
|
-
// bazel-out/
|
|
4103
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
4104
4104
|
var Comment = class {
|
|
4105
4105
|
constructor(value, sourceSpan) {
|
|
4106
4106
|
this.value = value;
|
|
@@ -4494,7 +4494,7 @@ function visitAll(visitor, nodes) {
|
|
|
4494
4494
|
return result;
|
|
4495
4495
|
}
|
|
4496
4496
|
|
|
4497
|
-
// bazel-out/
|
|
4497
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
4498
4498
|
var Message = class {
|
|
4499
4499
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
4500
4500
|
this.nodes = nodes;
|
|
@@ -4634,7 +4634,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
4634
4634
|
}
|
|
4635
4635
|
};
|
|
4636
4636
|
|
|
4637
|
-
// bazel-out/
|
|
4637
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
4638
4638
|
var _Visitor = class {
|
|
4639
4639
|
visitTag(tag) {
|
|
4640
4640
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -4662,12 +4662,12 @@ ${doctype.dtd}
|
|
|
4662
4662
|
};
|
|
4663
4663
|
var _visitor = new _Visitor();
|
|
4664
4664
|
|
|
4665
|
-
// bazel-out/
|
|
4665
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
4666
4666
|
function toPublicName(internalName) {
|
|
4667
4667
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
4668
4668
|
}
|
|
4669
4669
|
|
|
4670
|
-
// bazel-out/
|
|
4670
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
4671
4671
|
var I18N_ATTR = "i18n";
|
|
4672
4672
|
var I18N_ATTR_PREFIX = "i18n-";
|
|
4673
4673
|
var I18N_ICU_VAR_PREFIX = "VAR_";
|
|
@@ -4707,7 +4707,7 @@ function formatI18nPlaceholderName(name, useCamelCase = true) {
|
|
|
4707
4707
|
return postfix ? `${raw}_${postfix}` : raw;
|
|
4708
4708
|
}
|
|
4709
4709
|
|
|
4710
|
-
// bazel-out/
|
|
4710
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
4711
4711
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
4712
4712
|
var TEMPORARY_NAME = "_t";
|
|
4713
4713
|
var CONTEXT_NAME = "ctx";
|
|
@@ -4834,7 +4834,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
|
|
|
4834
4834
|
return attributesMap;
|
|
4835
4835
|
}
|
|
4836
4836
|
|
|
4837
|
-
// bazel-out/
|
|
4837
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
4838
4838
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
4839
4839
|
let result = null;
|
|
4840
4840
|
const factoryMeta = {
|
|
@@ -4922,7 +4922,7 @@ function createFactoryFunction(type) {
|
|
|
4922
4922
|
return arrowFn([t], type.prop("\u0275fac").callFn([variable(t.name)]));
|
|
4923
4923
|
}
|
|
4924
4924
|
|
|
4925
|
-
// bazel-out/
|
|
4925
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
4926
4926
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
4927
4927
|
/@/,
|
|
4928
4928
|
/^\s*$/,
|
|
@@ -4945,7 +4945,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
4945
4945
|
}
|
|
4946
4946
|
}
|
|
4947
4947
|
|
|
4948
|
-
// bazel-out/
|
|
4948
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
|
|
4949
4949
|
var InterpolationConfig = class {
|
|
4950
4950
|
static fromArray(markers) {
|
|
4951
4951
|
if (!markers) {
|
|
@@ -4962,7 +4962,7 @@ var InterpolationConfig = class {
|
|
|
4962
4962
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
4963
4963
|
var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
|
|
4964
4964
|
|
|
4965
|
-
// bazel-out/
|
|
4965
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
4966
4966
|
var $EOF = 0;
|
|
4967
4967
|
var $BSPACE = 8;
|
|
4968
4968
|
var $TAB = 9;
|
|
@@ -5044,7 +5044,7 @@ function isQuote(code) {
|
|
|
5044
5044
|
return code === $SQ || code === $DQ || code === $BT;
|
|
5045
5045
|
}
|
|
5046
5046
|
|
|
5047
|
-
// bazel-out/
|
|
5047
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
5048
5048
|
var ParseLocation = class {
|
|
5049
5049
|
constructor(file, offset, line, col) {
|
|
5050
5050
|
this.file = file;
|
|
@@ -5191,7 +5191,7 @@ function sanitizeIdentifier(name) {
|
|
|
5191
5191
|
return name.replace(/\W/g, "_");
|
|
5192
5192
|
}
|
|
5193
5193
|
|
|
5194
|
-
// bazel-out/
|
|
5194
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
5195
5195
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
5196
5196
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
5197
5197
|
constructor() {
|
|
@@ -5284,7 +5284,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
5284
5284
|
}
|
|
5285
5285
|
};
|
|
5286
5286
|
|
|
5287
|
-
// bazel-out/
|
|
5287
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
5288
5288
|
var policy;
|
|
5289
5289
|
function getPolicy() {
|
|
5290
5290
|
if (policy === void 0) {
|
|
@@ -5322,7 +5322,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
5322
5322
|
return fn2.bind(_global);
|
|
5323
5323
|
}
|
|
5324
5324
|
|
|
5325
|
-
// bazel-out/
|
|
5325
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
5326
5326
|
var JitEvaluator = class {
|
|
5327
5327
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
5328
5328
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -5410,7 +5410,7 @@ function isUseStrictStatement(statement) {
|
|
|
5410
5410
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
5411
5411
|
}
|
|
5412
5412
|
|
|
5413
|
-
// bazel-out/
|
|
5413
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
5414
5414
|
function compileInjector(meta) {
|
|
5415
5415
|
const definitionMap = new DefinitionMap();
|
|
5416
5416
|
if (meta.providers !== null) {
|
|
@@ -5427,7 +5427,7 @@ function createInjectorType(meta) {
|
|
|
5427
5427
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
5428
5428
|
}
|
|
5429
5429
|
|
|
5430
|
-
// bazel-out/
|
|
5430
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
5431
5431
|
var R3JitReflector = class {
|
|
5432
5432
|
constructor(context) {
|
|
5433
5433
|
this.context = context;
|
|
@@ -5443,7 +5443,7 @@ var R3JitReflector = class {
|
|
|
5443
5443
|
}
|
|
5444
5444
|
};
|
|
5445
5445
|
|
|
5446
|
-
// bazel-out/
|
|
5446
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
5447
5447
|
var R3SelectorScopeMode;
|
|
5448
5448
|
(function(R3SelectorScopeMode2) {
|
|
5449
5449
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -5578,7 +5578,7 @@ function tupleOfTypes(types) {
|
|
|
5578
5578
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
5579
5579
|
}
|
|
5580
5580
|
|
|
5581
|
-
// bazel-out/
|
|
5581
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
5582
5582
|
function compilePipeFromMetadata(metadata) {
|
|
5583
5583
|
const definitionMapValues = [];
|
|
5584
5584
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -5599,7 +5599,7 @@ function createPipeType(metadata) {
|
|
|
5599
5599
|
]));
|
|
5600
5600
|
}
|
|
5601
5601
|
|
|
5602
|
-
// bazel-out/
|
|
5602
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
5603
5603
|
var R3TemplateDependencyKind;
|
|
5604
5604
|
(function(R3TemplateDependencyKind2) {
|
|
5605
5605
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -5607,7 +5607,7 @@ var R3TemplateDependencyKind;
|
|
|
5607
5607
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
5608
5608
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
5609
5609
|
|
|
5610
|
-
// bazel-out/
|
|
5610
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
5611
5611
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
5612
5612
|
"inherit",
|
|
5613
5613
|
"initial",
|
|
@@ -5753,7 +5753,7 @@ var ShadowCss = class {
|
|
|
5753
5753
|
});
|
|
5754
5754
|
}
|
|
5755
5755
|
_convertColonHostContext(cssText) {
|
|
5756
|
-
return cssText.replace(_cssColonHostContextReGlobal, (selectorText) => {
|
|
5756
|
+
return cssText.replace(_cssColonHostContextReGlobal, (selectorText, pseudoPrefix) => {
|
|
5757
5757
|
var _a2;
|
|
5758
5758
|
const contextSelectorGroups = [[]];
|
|
5759
5759
|
let match;
|
|
@@ -5768,7 +5768,7 @@ var ShadowCss = class {
|
|
|
5768
5768
|
}
|
|
5769
5769
|
selectorText = match[2];
|
|
5770
5770
|
}
|
|
5771
|
-
return contextSelectorGroups.map((contextSelectors) =>
|
|
5771
|
+
return contextSelectorGroups.map((contextSelectors) => _combineHostContextSelectors(contextSelectors, selectorText, pseudoPrefix)).join(", ");
|
|
5772
5772
|
});
|
|
5773
5773
|
}
|
|
5774
5774
|
_convertShadowDOMSelectors(cssText) {
|
|
@@ -5779,7 +5779,12 @@ var ShadowCss = class {
|
|
|
5779
5779
|
let selector = rule.selector;
|
|
5780
5780
|
let content = rule.content;
|
|
5781
5781
|
if (rule.selector[0] !== "@") {
|
|
5782
|
-
selector = this._scopeSelector(
|
|
5782
|
+
selector = this._scopeSelector({
|
|
5783
|
+
selector,
|
|
5784
|
+
scopeSelector,
|
|
5785
|
+
hostSelector,
|
|
5786
|
+
isParentSelector: true
|
|
5787
|
+
});
|
|
5783
5788
|
} else if (scopedAtRuleIdentifiers.some((atRule) => rule.selector.startsWith(atRule))) {
|
|
5784
5789
|
content = this._scopeSelectors(rule.content, scopeSelector, hostSelector);
|
|
5785
5790
|
} else if (rule.selector.startsWith("@font-face") || rule.selector.startsWith("@page")) {
|
|
@@ -5794,12 +5799,18 @@ var ShadowCss = class {
|
|
|
5794
5799
|
return new CssRule(selector, rule.content);
|
|
5795
5800
|
});
|
|
5796
5801
|
}
|
|
5797
|
-
_scopeSelector(selector, scopeSelector, hostSelector) {
|
|
5798
|
-
|
|
5802
|
+
_scopeSelector({ selector, scopeSelector, hostSelector, isParentSelector = false }) {
|
|
5803
|
+
const selectorSplitRe = / ?,(?!(?:[^)(]*(?:\([^)(]*(?:\([^)(]*(?:\([^)(]*\)[^)(]*)*\)[^)(]*)*\)[^)(]*)*\))) ?/;
|
|
5804
|
+
return selector.split(selectorSplitRe).map((part) => part.split(_shadowDeepSelectors)).map((deepParts) => {
|
|
5799
5805
|
const [shallowPart, ...otherParts] = deepParts;
|
|
5800
5806
|
const applyScope = (shallowPart2) => {
|
|
5801
5807
|
if (this._selectorNeedsScoping(shallowPart2, scopeSelector)) {
|
|
5802
|
-
return this._applySelectorScope(
|
|
5808
|
+
return this._applySelectorScope({
|
|
5809
|
+
selector: shallowPart2,
|
|
5810
|
+
scopeSelector,
|
|
5811
|
+
hostSelector,
|
|
5812
|
+
isParentSelector
|
|
5813
|
+
});
|
|
5803
5814
|
} else {
|
|
5804
5815
|
return shallowPart2;
|
|
5805
5816
|
}
|
|
@@ -5821,15 +5832,15 @@ var ShadowCss = class {
|
|
|
5821
5832
|
_polyfillHostRe.lastIndex = 0;
|
|
5822
5833
|
if (_polyfillHostRe.test(selector)) {
|
|
5823
5834
|
const replaceBy = `[${hostSelector}]`;
|
|
5824
|
-
return selector.replace(
|
|
5825
|
-
return selector2.replace(/([
|
|
5835
|
+
return selector.replace(_polyfillHostNoCombinatorReGlobal, (_hnc, selector2) => {
|
|
5836
|
+
return selector2.replace(/([^:\)]*)(:*)(.*)/, (_, before, colon, after) => {
|
|
5826
5837
|
return before + replaceBy + colon + after;
|
|
5827
5838
|
});
|
|
5828
5839
|
}).replace(_polyfillHostRe, replaceBy + " ");
|
|
5829
5840
|
}
|
|
5830
5841
|
return scopeSelector + " " + selector;
|
|
5831
5842
|
}
|
|
5832
|
-
_applySelectorScope(selector, scopeSelector, hostSelector) {
|
|
5843
|
+
_applySelectorScope({ selector, scopeSelector, hostSelector, isParentSelector }) {
|
|
5833
5844
|
var _a2;
|
|
5834
5845
|
const isRe = /\[is=([^\]]*)\]/g;
|
|
5835
5846
|
scopeSelector = scopeSelector.replace(isRe, (_, ...parts) => parts[0]);
|
|
@@ -5841,6 +5852,10 @@ var ShadowCss = class {
|
|
|
5841
5852
|
}
|
|
5842
5853
|
if (p.includes(_polyfillHostNoCombinator)) {
|
|
5843
5854
|
scopedP = this._applySimpleSelectorScope(p, scopeSelector, hostSelector);
|
|
5855
|
+
if (_polyfillHostNoCombinatorWithinPseudoFunction.test(p)) {
|
|
5856
|
+
const [_, before, colon, after] = scopedP.match(/([^:]*)(:*)(.*)/);
|
|
5857
|
+
scopedP = before + attrName + colon + after;
|
|
5858
|
+
}
|
|
5844
5859
|
} else {
|
|
5845
5860
|
const t = p.replace(_polyfillHostRe, "");
|
|
5846
5861
|
if (t.length > 0) {
|
|
@@ -5852,29 +5867,52 @@ var ShadowCss = class {
|
|
|
5852
5867
|
}
|
|
5853
5868
|
return scopedP;
|
|
5854
5869
|
};
|
|
5855
|
-
const
|
|
5856
|
-
|
|
5870
|
+
const _pseudoFunctionAwareScopeSelectorPart = (selectorPart) => {
|
|
5871
|
+
let scopedPart = "";
|
|
5872
|
+
const cssPrefixWithPseudoSelectorFunctionMatch = selectorPart.match(_cssPrefixWithPseudoSelectorFunction);
|
|
5873
|
+
if (cssPrefixWithPseudoSelectorFunctionMatch) {
|
|
5874
|
+
const [cssPseudoSelectorFunction] = cssPrefixWithPseudoSelectorFunctionMatch;
|
|
5875
|
+
const selectorToScope = selectorPart.slice(cssPseudoSelectorFunction.length, -1);
|
|
5876
|
+
if (selectorToScope.includes(_polyfillHostNoCombinator)) {
|
|
5877
|
+
this._shouldScopeIndicator = true;
|
|
5878
|
+
}
|
|
5879
|
+
const scopedInnerPart = this._scopeSelector({
|
|
5880
|
+
selector: selectorToScope,
|
|
5881
|
+
scopeSelector,
|
|
5882
|
+
hostSelector
|
|
5883
|
+
});
|
|
5884
|
+
scopedPart = `${cssPseudoSelectorFunction}${scopedInnerPart})`;
|
|
5885
|
+
} else {
|
|
5886
|
+
this._shouldScopeIndicator = this._shouldScopeIndicator || selectorPart.includes(_polyfillHostNoCombinator);
|
|
5887
|
+
scopedPart = this._shouldScopeIndicator ? _scopeSelectorPart(selectorPart) : selectorPart;
|
|
5888
|
+
}
|
|
5889
|
+
return scopedPart;
|
|
5890
|
+
};
|
|
5891
|
+
if (isParentSelector) {
|
|
5892
|
+
this._safeSelector = new SafeSelector(selector);
|
|
5893
|
+
selector = this._safeSelector.content();
|
|
5894
|
+
}
|
|
5857
5895
|
let scopedSelector = "";
|
|
5858
5896
|
let startIndex = 0;
|
|
5859
5897
|
let res;
|
|
5860
|
-
const sep = /( |>|\+|~(?!=))\s*/g;
|
|
5898
|
+
const sep = /( |>|\+|~(?!=))(?!([^)(]*(?:\([^)(]*(?:\([^)(]*(?:\([^)(]*\)[^)(]*)*\)[^)(]*)*\)[^)(]*)*\)))\s*/g;
|
|
5861
5899
|
const hasHost = selector.includes(_polyfillHostNoCombinator);
|
|
5862
|
-
|
|
5900
|
+
if (isParentSelector || this._shouldScopeIndicator) {
|
|
5901
|
+
this._shouldScopeIndicator = !hasHost;
|
|
5902
|
+
}
|
|
5863
5903
|
while ((res = sep.exec(selector)) !== null) {
|
|
5864
5904
|
const separator = res[1];
|
|
5865
5905
|
const part2 = selector.slice(startIndex, res.index);
|
|
5866
5906
|
if (part2.match(/__esc-ph-(\d+)__/) && ((_a2 = selector[res.index + 1]) == null ? void 0 : _a2.match(/[a-fA-F\d]/))) {
|
|
5867
5907
|
continue;
|
|
5868
5908
|
}
|
|
5869
|
-
|
|
5870
|
-
const scopedPart = shouldScope ? _scopeSelectorPart(part2) : part2;
|
|
5909
|
+
const scopedPart = _pseudoFunctionAwareScopeSelectorPart(part2);
|
|
5871
5910
|
scopedSelector += `${scopedPart} ${separator} `;
|
|
5872
5911
|
startIndex = sep.lastIndex;
|
|
5873
5912
|
}
|
|
5874
5913
|
const part = selector.substring(startIndex);
|
|
5875
|
-
|
|
5876
|
-
|
|
5877
|
-
return safeContent.restore(scopedSelector);
|
|
5914
|
+
scopedSelector += _pseudoFunctionAwareScopeSelectorPart(part);
|
|
5915
|
+
return this._safeSelector.restore(scopedSelector);
|
|
5878
5916
|
}
|
|
5879
5917
|
_insertPolyfillHostInCssText(selector) {
|
|
5880
5918
|
return selector.replace(_colonHostContextRe, _polyfillHostContext).replace(_colonHostRe, _polyfillHost);
|
|
@@ -5913,6 +5951,8 @@ var SafeSelector = class {
|
|
|
5913
5951
|
});
|
|
5914
5952
|
}
|
|
5915
5953
|
};
|
|
5954
|
+
var _cssScopedPseudoFunctionPrefix = "(:(where|is)\\()?";
|
|
5955
|
+
var _cssPrefixWithPseudoSelectorFunction = /^:(where|is)\(/i;
|
|
5916
5956
|
var _cssContentNextSelectorRe = /polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim;
|
|
5917
5957
|
var _cssContentRuleRe = /(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim;
|
|
5918
5958
|
var _cssContentUnscopedRuleRe = /(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim;
|
|
@@ -5920,10 +5960,12 @@ var _polyfillHost = "-shadowcsshost";
|
|
|
5920
5960
|
var _polyfillHostContext = "-shadowcsscontext";
|
|
5921
5961
|
var _parenSuffix = "(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";
|
|
5922
5962
|
var _cssColonHostRe = new RegExp(_polyfillHost + _parenSuffix, "gim");
|
|
5923
|
-
var _cssColonHostContextReGlobal = new RegExp(_polyfillHostContext + _parenSuffix, "gim");
|
|
5963
|
+
var _cssColonHostContextReGlobal = new RegExp(_cssScopedPseudoFunctionPrefix + "(" + _polyfillHostContext + _parenSuffix + ")", "gim");
|
|
5924
5964
|
var _cssColonHostContextRe = new RegExp(_polyfillHostContext + _parenSuffix, "im");
|
|
5925
5965
|
var _polyfillHostNoCombinator = _polyfillHost + "-no-combinator";
|
|
5966
|
+
var _polyfillHostNoCombinatorWithinPseudoFunction = new RegExp(`:.*\\(.*${_polyfillHostNoCombinator}.*\\)`);
|
|
5926
5967
|
var _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
|
|
5968
|
+
var _polyfillHostNoCombinatorReGlobal = new RegExp(_polyfillHostNoCombinatorRe, "g");
|
|
5927
5969
|
var _shadowDOMSelectorsRe = [
|
|
5928
5970
|
/::shadow/g,
|
|
5929
5971
|
/::content/g,
|
|
@@ -6058,7 +6100,7 @@ function unescapeInStrings(input) {
|
|
|
6058
6100
|
function unescapeQuotes(str, isQuoted) {
|
|
6059
6101
|
return !isQuoted ? str : str.replace(/((?:^|[^\\])(?:\\\\)*)\\(?=['"])/g, "$1");
|
|
6060
6102
|
}
|
|
6061
|
-
function
|
|
6103
|
+
function _combineHostContextSelectors(contextSelectors, otherSelectors, pseudoPrefix = "") {
|
|
6062
6104
|
const hostMarker = _polyfillHostNoCombinator;
|
|
6063
6105
|
_polyfillHostRe.lastIndex = 0;
|
|
6064
6106
|
const otherSelectorsHasHost = _polyfillHostRe.test(otherSelectors);
|
|
@@ -6076,7 +6118,7 @@ function combineHostContextSelectors(contextSelectors, otherSelectors) {
|
|
|
6076
6118
|
combined[i] = contextSelector + previousSelectors;
|
|
6077
6119
|
}
|
|
6078
6120
|
}
|
|
6079
|
-
return combined.map((s) => otherSelectorsHasHost ? `${s}${otherSelectors}` : `${s}${hostMarker}${otherSelectors}, ${s} ${hostMarker}${otherSelectors}`).join(",");
|
|
6121
|
+
return combined.map((s) => otherSelectorsHasHost ? `${pseudoPrefix}${s}${otherSelectors}` : `${pseudoPrefix}${s}${hostMarker}${otherSelectors}, ${pseudoPrefix}${s} ${hostMarker}${otherSelectors}`).join(",");
|
|
6080
6122
|
}
|
|
6081
6123
|
function repeatGroups(groups, multiples) {
|
|
6082
6124
|
const length = groups.length;
|
|
@@ -6087,7 +6129,7 @@ function repeatGroups(groups, multiples) {
|
|
|
6087
6129
|
}
|
|
6088
6130
|
}
|
|
6089
6131
|
|
|
6090
|
-
// bazel-out/
|
|
6132
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
6091
6133
|
var OpKind;
|
|
6092
6134
|
(function(OpKind2) {
|
|
6093
6135
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -6245,7 +6287,7 @@ var TemplateKind;
|
|
|
6245
6287
|
TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
|
|
6246
6288
|
})(TemplateKind || (TemplateKind = {}));
|
|
6247
6289
|
|
|
6248
|
-
// bazel-out/
|
|
6290
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
6249
6291
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
6250
6292
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
6251
6293
|
var ConsumesVarsTrait = Symbol("ConsumesVars");
|
|
@@ -6273,7 +6315,7 @@ function hasUsesVarOffsetTrait(expr) {
|
|
|
6273
6315
|
return expr[UsesVarOffset] === true;
|
|
6274
6316
|
}
|
|
6275
6317
|
|
|
6276
|
-
// bazel-out/
|
|
6318
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
6277
6319
|
function createStatementOp(statement) {
|
|
6278
6320
|
return __spreadValues({
|
|
6279
6321
|
kind: OpKind.Statement,
|
|
@@ -6295,7 +6337,7 @@ var NEW_OP = {
|
|
|
6295
6337
|
next: null
|
|
6296
6338
|
};
|
|
6297
6339
|
|
|
6298
|
-
// bazel-out/
|
|
6340
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
6299
6341
|
function createInterpolateTextOp(xref, interpolation, sourceSpan) {
|
|
6300
6342
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
6301
6343
|
kind: OpKind.InterpolateText,
|
|
@@ -6484,7 +6526,7 @@ function createStoreLetOp(target, declaredName, value, sourceSpan) {
|
|
|
6484
6526
|
}, TRAIT_DEPENDS_ON_SLOT_CONTEXT), TRAIT_CONSUMES_VARS), NEW_OP);
|
|
6485
6527
|
}
|
|
6486
6528
|
|
|
6487
|
-
// bazel-out/
|
|
6529
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
6488
6530
|
var _a;
|
|
6489
6531
|
var _b;
|
|
6490
6532
|
var _c;
|
|
@@ -7402,7 +7444,7 @@ function isStringLiteral(expr) {
|
|
|
7402
7444
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
7403
7445
|
}
|
|
7404
7446
|
|
|
7405
|
-
// bazel-out/
|
|
7447
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
7406
7448
|
var _OpList = class {
|
|
7407
7449
|
constructor() {
|
|
7408
7450
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -7593,14 +7635,14 @@ var OpList = _OpList;
|
|
|
7593
7635
|
_OpList.nextListId = 0;
|
|
7594
7636
|
})();
|
|
7595
7637
|
|
|
7596
|
-
// bazel-out/
|
|
7638
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
7597
7639
|
var SlotHandle = class {
|
|
7598
7640
|
constructor() {
|
|
7599
7641
|
this.slot = null;
|
|
7600
7642
|
}
|
|
7601
7643
|
};
|
|
7602
7644
|
|
|
7603
|
-
// bazel-out/
|
|
7645
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
7604
7646
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
7605
7647
|
OpKind.Element,
|
|
7606
7648
|
OpKind.ElementStart,
|
|
@@ -7913,7 +7955,7 @@ function createI18nAttributesOp(xref, handle, target) {
|
|
|
7913
7955
|
}, NEW_OP), TRAIT_CONSUMES_SLOT);
|
|
7914
7956
|
}
|
|
7915
7957
|
|
|
7916
|
-
// bazel-out/
|
|
7958
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
7917
7959
|
function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
|
|
7918
7960
|
return __spreadValues(__spreadValues({
|
|
7919
7961
|
kind: OpKind.HostProperty,
|
|
@@ -7927,10 +7969,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
|
|
|
7927
7969
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
7928
7970
|
}
|
|
7929
7971
|
|
|
7930
|
-
// bazel-out/
|
|
7972
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
7931
7973
|
var CTX_REF = "CTX_REF_MARKER";
|
|
7932
7974
|
|
|
7933
|
-
// bazel-out/
|
|
7975
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
7934
7976
|
var CompilationJobKind;
|
|
7935
7977
|
(function(CompilationJobKind2) {
|
|
7936
7978
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -8038,7 +8080,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
8038
8080
|
}
|
|
8039
8081
|
};
|
|
8040
8082
|
|
|
8041
|
-
// bazel-out/
|
|
8083
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
8042
8084
|
function deleteAnyCasts(job) {
|
|
8043
8085
|
for (const unit of job.units) {
|
|
8044
8086
|
for (const op of unit.ops()) {
|
|
@@ -8056,7 +8098,7 @@ function removeAnys(e) {
|
|
|
8056
8098
|
return e;
|
|
8057
8099
|
}
|
|
8058
8100
|
|
|
8059
|
-
// bazel-out/
|
|
8101
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
8060
8102
|
function applyI18nExpressions(job) {
|
|
8061
8103
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
8062
8104
|
for (const unit of job.units) {
|
|
@@ -8099,7 +8141,7 @@ function needsApplication(i18nContexts, op) {
|
|
|
8099
8141
|
return false;
|
|
8100
8142
|
}
|
|
8101
8143
|
|
|
8102
|
-
// bazel-out/
|
|
8144
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
8103
8145
|
function assignI18nSlotDependencies(job) {
|
|
8104
8146
|
for (const unit of job.units) {
|
|
8105
8147
|
let updateOp = unit.update.head;
|
|
@@ -8144,7 +8186,7 @@ function assignI18nSlotDependencies(job) {
|
|
|
8144
8186
|
}
|
|
8145
8187
|
}
|
|
8146
8188
|
|
|
8147
|
-
// bazel-out/
|
|
8189
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
8148
8190
|
function createOpXrefMap(unit) {
|
|
8149
8191
|
const map = /* @__PURE__ */ new Map();
|
|
8150
8192
|
for (const op of unit.create) {
|
|
@@ -8159,7 +8201,7 @@ function createOpXrefMap(unit) {
|
|
|
8159
8201
|
return map;
|
|
8160
8202
|
}
|
|
8161
8203
|
|
|
8162
|
-
// bazel-out/
|
|
8204
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
8163
8205
|
function extractAttributes(job) {
|
|
8164
8206
|
for (const unit of job.units) {
|
|
8165
8207
|
const elements = createOpXrefMap(unit);
|
|
@@ -8288,7 +8330,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
8288
8330
|
}
|
|
8289
8331
|
}
|
|
8290
8332
|
|
|
8291
|
-
// bazel-out/
|
|
8333
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
8292
8334
|
function lookupElement2(elements, xref) {
|
|
8293
8335
|
const el = elements.get(xref);
|
|
8294
8336
|
if (el === void 0) {
|
|
@@ -8345,7 +8387,7 @@ function specializeBindings(job) {
|
|
|
8345
8387
|
}
|
|
8346
8388
|
}
|
|
8347
8389
|
|
|
8348
|
-
// bazel-out/
|
|
8390
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
8349
8391
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
8350
8392
|
Identifiers.attribute,
|
|
8351
8393
|
Identifiers.classProp,
|
|
@@ -8417,7 +8459,7 @@ function chainOperationsInList(opList) {
|
|
|
8417
8459
|
}
|
|
8418
8460
|
}
|
|
8419
8461
|
|
|
8420
|
-
// bazel-out/
|
|
8462
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
8421
8463
|
function collapseSingletonInterpolations(job) {
|
|
8422
8464
|
for (const unit of job.units) {
|
|
8423
8465
|
for (const op of unit.update) {
|
|
@@ -8429,7 +8471,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
8429
8471
|
}
|
|
8430
8472
|
}
|
|
8431
8473
|
|
|
8432
|
-
// bazel-out/
|
|
8474
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
8433
8475
|
function generateConditionalExpressions(job) {
|
|
8434
8476
|
for (const unit of job.units) {
|
|
8435
8477
|
for (const op of unit.ops()) {
|
|
@@ -8466,7 +8508,7 @@ function generateConditionalExpressions(job) {
|
|
|
8466
8508
|
}
|
|
8467
8509
|
}
|
|
8468
8510
|
|
|
8469
|
-
// bazel-out/
|
|
8511
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
8470
8512
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
8471
8513
|
["&&", BinaryOperator.And],
|
|
8472
8514
|
[">", BinaryOperator.Bigger],
|
|
@@ -8523,7 +8565,7 @@ function literalOrArrayLiteral(value) {
|
|
|
8523
8565
|
return literal(value);
|
|
8524
8566
|
}
|
|
8525
8567
|
|
|
8526
|
-
// bazel-out/
|
|
8568
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
8527
8569
|
function collectElementConsts(job) {
|
|
8528
8570
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
8529
8571
|
for (const unit of job.units) {
|
|
@@ -8692,7 +8734,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
8692
8734
|
return literalArr(attrArray);
|
|
8693
8735
|
}
|
|
8694
8736
|
|
|
8695
|
-
// bazel-out/
|
|
8737
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
|
|
8696
8738
|
function convertI18nBindings(job) {
|
|
8697
8739
|
const i18nAttributesByElem = /* @__PURE__ */ new Map();
|
|
8698
8740
|
for (const unit of job.units) {
|
|
@@ -8733,7 +8775,7 @@ function convertI18nBindings(job) {
|
|
|
8733
8775
|
}
|
|
8734
8776
|
}
|
|
8735
8777
|
|
|
8736
|
-
// bazel-out/
|
|
8778
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
|
|
8737
8779
|
function resolveDeferDepsFns(job) {
|
|
8738
8780
|
var _a2;
|
|
8739
8781
|
for (const unit of job.units) {
|
|
@@ -8758,7 +8800,7 @@ function resolveDeferDepsFns(job) {
|
|
|
8758
8800
|
}
|
|
8759
8801
|
}
|
|
8760
8802
|
|
|
8761
|
-
// bazel-out/
|
|
8803
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
8762
8804
|
function createI18nContexts(job) {
|
|
8763
8805
|
const attrContextByMessage = /* @__PURE__ */ new Map();
|
|
8764
8806
|
for (const unit of job.units) {
|
|
@@ -8836,7 +8878,7 @@ function createI18nContexts(job) {
|
|
|
8836
8878
|
}
|
|
8837
8879
|
}
|
|
8838
8880
|
|
|
8839
|
-
// bazel-out/
|
|
8881
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
|
|
8840
8882
|
function deduplicateTextBindings(job) {
|
|
8841
8883
|
const seen = /* @__PURE__ */ new Map();
|
|
8842
8884
|
for (const unit of job.units) {
|
|
@@ -8858,7 +8900,7 @@ function deduplicateTextBindings(job) {
|
|
|
8858
8900
|
}
|
|
8859
8901
|
}
|
|
8860
8902
|
|
|
8861
|
-
// bazel-out/
|
|
8903
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
8862
8904
|
function configureDeferInstructions(job) {
|
|
8863
8905
|
for (const unit of job.units) {
|
|
8864
8906
|
for (const op of unit.create) {
|
|
@@ -8875,7 +8917,7 @@ function configureDeferInstructions(job) {
|
|
|
8875
8917
|
}
|
|
8876
8918
|
}
|
|
8877
8919
|
|
|
8878
|
-
// bazel-out/
|
|
8920
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
8879
8921
|
function resolveDeferTargetNames(job) {
|
|
8880
8922
|
const scopes = /* @__PURE__ */ new Map();
|
|
8881
8923
|
function getScopeForView2(view) {
|
|
@@ -8969,7 +9011,7 @@ var Scope = class {
|
|
|
8969
9011
|
}
|
|
8970
9012
|
};
|
|
8971
9013
|
|
|
8972
|
-
// bazel-out/
|
|
9014
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
8973
9015
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
8974
9016
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
8975
9017
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -8996,7 +9038,7 @@ function collapseEmptyInstructions(job) {
|
|
|
8996
9038
|
}
|
|
8997
9039
|
}
|
|
8998
9040
|
|
|
8999
|
-
// bazel-out/
|
|
9041
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
9000
9042
|
function expandSafeReads(job) {
|
|
9001
9043
|
for (const unit of job.units) {
|
|
9002
9044
|
for (const op of unit.ops()) {
|
|
@@ -9132,7 +9174,7 @@ function ternaryTransform(e) {
|
|
|
9132
9174
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
9133
9175
|
}
|
|
9134
9176
|
|
|
9135
|
-
// bazel-out/
|
|
9177
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
9136
9178
|
var ESCAPE = "\uFFFD";
|
|
9137
9179
|
var ELEMENT_MARKER = "#";
|
|
9138
9180
|
var TEMPLATE_MARKER = "*";
|
|
@@ -9268,7 +9310,7 @@ function formatValue(value) {
|
|
|
9268
9310
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
9269
9311
|
}
|
|
9270
9312
|
|
|
9271
|
-
// bazel-out/
|
|
9313
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
9272
9314
|
function generateAdvance(job) {
|
|
9273
9315
|
for (const unit of job.units) {
|
|
9274
9316
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -9311,7 +9353,7 @@ function generateAdvance(job) {
|
|
|
9311
9353
|
}
|
|
9312
9354
|
}
|
|
9313
9355
|
|
|
9314
|
-
// bazel-out/
|
|
9356
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
9315
9357
|
function generateProjectionDefs(job) {
|
|
9316
9358
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
9317
9359
|
const selectors = [];
|
|
@@ -9335,7 +9377,7 @@ function generateProjectionDefs(job) {
|
|
|
9335
9377
|
}
|
|
9336
9378
|
}
|
|
9337
9379
|
|
|
9338
|
-
// bazel-out/
|
|
9380
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
9339
9381
|
function generateVariables(job) {
|
|
9340
9382
|
recursivelyProcessView(job.root, null);
|
|
9341
9383
|
}
|
|
@@ -9453,7 +9495,7 @@ function generateVariablesInScopeForView(view, scope, isListener) {
|
|
|
9453
9495
|
return newOps;
|
|
9454
9496
|
}
|
|
9455
9497
|
|
|
9456
|
-
// bazel-out/
|
|
9498
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
9457
9499
|
function collectConstExpressions(job) {
|
|
9458
9500
|
for (const unit of job.units) {
|
|
9459
9501
|
for (const op of unit.ops()) {
|
|
@@ -9467,7 +9509,7 @@ function collectConstExpressions(job) {
|
|
|
9467
9509
|
}
|
|
9468
9510
|
}
|
|
9469
9511
|
|
|
9470
|
-
// bazel-out/
|
|
9512
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
9471
9513
|
var STYLE_DOT = "style.";
|
|
9472
9514
|
var CLASS_DOT = "class.";
|
|
9473
9515
|
var STYLE_BANG = "style!";
|
|
@@ -9525,7 +9567,7 @@ function parseProperty(name) {
|
|
|
9525
9567
|
return { property: property2, suffix };
|
|
9526
9568
|
}
|
|
9527
9569
|
|
|
9528
|
-
// bazel-out/
|
|
9570
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
9529
9571
|
function mapLiteral(obj, quoted = false) {
|
|
9530
9572
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
9531
9573
|
key,
|
|
@@ -9534,7 +9576,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
9534
9576
|
})));
|
|
9535
9577
|
}
|
|
9536
9578
|
|
|
9537
|
-
// bazel-out/
|
|
9579
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
9538
9580
|
var IcuSerializerVisitor = class {
|
|
9539
9581
|
visitText(text2) {
|
|
9540
9582
|
return text2.value;
|
|
@@ -9568,7 +9610,7 @@ function serializeIcuNode(icu) {
|
|
|
9568
9610
|
return icu.visit(serializer);
|
|
9569
9611
|
}
|
|
9570
9612
|
|
|
9571
|
-
// bazel-out/
|
|
9613
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
9572
9614
|
var NodeWithI18n = class {
|
|
9573
9615
|
constructor(sourceSpan, i18n2) {
|
|
9574
9616
|
this.sourceSpan = sourceSpan;
|
|
@@ -9691,7 +9733,7 @@ function visitAll2(visitor, nodes, context = null) {
|
|
|
9691
9733
|
return result;
|
|
9692
9734
|
}
|
|
9693
9735
|
|
|
9694
|
-
// bazel-out/
|
|
9736
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
9695
9737
|
var NAMED_ENTITIES = {
|
|
9696
9738
|
"AElig": "\xC6",
|
|
9697
9739
|
"AMP": "&",
|
|
@@ -11822,7 +11864,7 @@ var NAMED_ENTITIES = {
|
|
|
11822
11864
|
var NGSP_UNICODE = "\uE500";
|
|
11823
11865
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
11824
11866
|
|
|
11825
|
-
// bazel-out/
|
|
11867
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
11826
11868
|
var TokenError = class extends ParseError {
|
|
11827
11869
|
constructor(errorMsg, tokenType, span) {
|
|
11828
11870
|
super(span, errorMsg);
|
|
@@ -12812,7 +12854,7 @@ var CursorError = class {
|
|
|
12812
12854
|
}
|
|
12813
12855
|
};
|
|
12814
12856
|
|
|
12815
|
-
// bazel-out/
|
|
12857
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
12816
12858
|
var TreeError = class extends ParseError {
|
|
12817
12859
|
static create(elementName, span, msg) {
|
|
12818
12860
|
return new TreeError(elementName, span, msg);
|
|
@@ -13240,7 +13282,7 @@ function decodeEntity(match, entity) {
|
|
|
13240
13282
|
return match;
|
|
13241
13283
|
}
|
|
13242
13284
|
|
|
13243
|
-
// bazel-out/
|
|
13285
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
13244
13286
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
13245
13287
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
13246
13288
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -13380,7 +13422,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
13380
13422
|
return result;
|
|
13381
13423
|
}
|
|
13382
13424
|
|
|
13383
|
-
// bazel-out/
|
|
13425
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
13384
13426
|
var TokenType;
|
|
13385
13427
|
(function(TokenType2) {
|
|
13386
13428
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -13741,7 +13783,7 @@ function parseIntAutoRadix(text2) {
|
|
|
13741
13783
|
return result;
|
|
13742
13784
|
}
|
|
13743
13785
|
|
|
13744
|
-
// bazel-out/
|
|
13786
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
13745
13787
|
var SplitInterpolation = class {
|
|
13746
13788
|
constructor(strings, expressions, offsets) {
|
|
13747
13789
|
this.strings = strings;
|
|
@@ -14625,7 +14667,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
14625
14667
|
return offsetMap;
|
|
14626
14668
|
}
|
|
14627
14669
|
|
|
14628
|
-
// bazel-out/
|
|
14670
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
14629
14671
|
var _SECURITY_SCHEMA;
|
|
14630
14672
|
function SECURITY_SCHEMA() {
|
|
14631
14673
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -14686,11 +14728,11 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
14686
14728
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
14687
14729
|
}
|
|
14688
14730
|
|
|
14689
|
-
// bazel-out/
|
|
14731
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
14690
14732
|
var ElementSchemaRegistry = class {
|
|
14691
14733
|
};
|
|
14692
14734
|
|
|
14693
|
-
// bazel-out/
|
|
14735
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
14694
14736
|
var BOOLEAN = "boolean";
|
|
14695
14737
|
var NUMBER = "number";
|
|
14696
14738
|
var STRING = "string";
|
|
@@ -15073,7 +15115,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
15073
15115
|
}
|
|
15074
15116
|
}
|
|
15075
15117
|
|
|
15076
|
-
// bazel-out/
|
|
15118
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
15077
15119
|
var HtmlTagDefinition = class {
|
|
15078
15120
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
15079
15121
|
this.closedByChildren = {};
|
|
@@ -15209,7 +15251,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
15209
15251
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
15210
15252
|
}
|
|
15211
15253
|
|
|
15212
|
-
// bazel-out/
|
|
15254
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
15213
15255
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
15214
15256
|
"A": "LINK",
|
|
15215
15257
|
"B": "BOLD_TEXT",
|
|
@@ -15331,7 +15373,7 @@ var PlaceholderRegistry = class {
|
|
|
15331
15373
|
}
|
|
15332
15374
|
};
|
|
15333
15375
|
|
|
15334
|
-
// bazel-out/
|
|
15376
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
15335
15377
|
var _expParser = new Parser2(new Lexer());
|
|
15336
15378
|
function createI18nMessageFactory(interpolationConfig, containerBlocks, retainEmptyTokens) {
|
|
15337
15379
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks, retainEmptyTokens);
|
|
@@ -15526,14 +15568,14 @@ function extractPlaceholderName(input) {
|
|
|
15526
15568
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
15527
15569
|
}
|
|
15528
15570
|
|
|
15529
|
-
// bazel-out/
|
|
15571
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
15530
15572
|
var I18nError = class extends ParseError {
|
|
15531
15573
|
constructor(span, msg) {
|
|
15532
15574
|
super(span, msg);
|
|
15533
15575
|
}
|
|
15534
15576
|
};
|
|
15535
15577
|
|
|
15536
|
-
// bazel-out/
|
|
15578
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
15537
15579
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
15538
15580
|
"iframe|srcdoc",
|
|
15539
15581
|
"*|innerhtml",
|
|
@@ -15548,7 +15590,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
15548
15590
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
15549
15591
|
}
|
|
15550
15592
|
|
|
15551
|
-
// bazel-out/
|
|
15593
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
15552
15594
|
var setI18nRefs = (originalNodeMap) => {
|
|
15553
15595
|
return (trimmedNode, i18nNode) => {
|
|
15554
15596
|
var _a2;
|
|
@@ -15722,7 +15764,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
15722
15764
|
return jsDocComment(tags);
|
|
15723
15765
|
}
|
|
15724
15766
|
|
|
15725
|
-
// bazel-out/
|
|
15767
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
15726
15768
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
15727
15769
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
15728
15770
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -15773,7 +15815,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
15773
15815
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
15774
15816
|
}
|
|
15775
15817
|
|
|
15776
|
-
// bazel-out/
|
|
15818
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
15777
15819
|
function createLocalizeStatements(variable2, message, params) {
|
|
15778
15820
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
15779
15821
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -15862,7 +15904,7 @@ function createEmptyMessagePart(location) {
|
|
|
15862
15904
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
15863
15905
|
}
|
|
15864
15906
|
|
|
15865
|
-
// bazel-out/
|
|
15907
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
15866
15908
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
15867
15909
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
15868
15910
|
var I18N_ICU_MAPPING_PREFIX = "I18N_EXP_";
|
|
@@ -16033,7 +16075,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
16033
16075
|
return variable(name);
|
|
16034
16076
|
}
|
|
16035
16077
|
|
|
16036
|
-
// bazel-out/
|
|
16078
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
16037
16079
|
function convertI18nText(job) {
|
|
16038
16080
|
var _a2, _b2, _c2;
|
|
16039
16081
|
for (const unit of job.units) {
|
|
@@ -16103,7 +16145,7 @@ function convertI18nText(job) {
|
|
|
16103
16145
|
}
|
|
16104
16146
|
}
|
|
16105
16147
|
|
|
16106
|
-
// bazel-out/
|
|
16148
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
16107
16149
|
function liftLocalRefs(job) {
|
|
16108
16150
|
for (const unit of job.units) {
|
|
16109
16151
|
for (const op of unit.create) {
|
|
@@ -16133,7 +16175,7 @@ function serializeLocalRefs(refs) {
|
|
|
16133
16175
|
return literalArr(constRefs);
|
|
16134
16176
|
}
|
|
16135
16177
|
|
|
16136
|
-
// bazel-out/
|
|
16178
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
16137
16179
|
function emitNamespaceChanges(job) {
|
|
16138
16180
|
for (const unit of job.units) {
|
|
16139
16181
|
let activeNamespace = Namespace.HTML;
|
|
@@ -16149,7 +16191,7 @@ function emitNamespaceChanges(job) {
|
|
|
16149
16191
|
}
|
|
16150
16192
|
}
|
|
16151
16193
|
|
|
16152
|
-
// bazel-out/
|
|
16194
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
16153
16195
|
function parse(value) {
|
|
16154
16196
|
const styles = [];
|
|
16155
16197
|
let i = 0;
|
|
@@ -16243,7 +16285,7 @@ function parseExtractedStyles(job) {
|
|
|
16243
16285
|
}
|
|
16244
16286
|
}
|
|
16245
16287
|
|
|
16246
|
-
// bazel-out/
|
|
16288
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
16247
16289
|
function nameFunctionsAndVariables(job) {
|
|
16248
16290
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
16249
16291
|
}
|
|
@@ -16387,7 +16429,7 @@ function stripImportant(name) {
|
|
|
16387
16429
|
return name;
|
|
16388
16430
|
}
|
|
16389
16431
|
|
|
16390
|
-
// bazel-out/
|
|
16432
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
16391
16433
|
function mergeNextContextExpressions(job) {
|
|
16392
16434
|
for (const unit of job.units) {
|
|
16393
16435
|
for (const op of unit.create) {
|
|
@@ -16434,7 +16476,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
16434
16476
|
}
|
|
16435
16477
|
}
|
|
16436
16478
|
|
|
16437
|
-
// bazel-out/
|
|
16479
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
16438
16480
|
var CONTAINER_TAG = "ng-container";
|
|
16439
16481
|
function generateNgContainerOps(job) {
|
|
16440
16482
|
for (const unit of job.units) {
|
|
@@ -16451,7 +16493,7 @@ function generateNgContainerOps(job) {
|
|
|
16451
16493
|
}
|
|
16452
16494
|
}
|
|
16453
16495
|
|
|
16454
|
-
// bazel-out/
|
|
16496
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
16455
16497
|
function lookupElement3(elements, xref) {
|
|
16456
16498
|
const el = elements.get(xref);
|
|
16457
16499
|
if (el === void 0) {
|
|
@@ -16481,7 +16523,7 @@ function disableBindings(job) {
|
|
|
16481
16523
|
}
|
|
16482
16524
|
}
|
|
16483
16525
|
|
|
16484
|
-
// bazel-out/
|
|
16526
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
16485
16527
|
function generateNullishCoalesceExpressions(job) {
|
|
16486
16528
|
for (const unit of job.units) {
|
|
16487
16529
|
for (const op of unit.ops()) {
|
|
@@ -16497,7 +16539,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
16497
16539
|
}
|
|
16498
16540
|
}
|
|
16499
16541
|
|
|
16500
|
-
// bazel-out/
|
|
16542
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
16501
16543
|
function kindTest(kind) {
|
|
16502
16544
|
return (op) => op.kind === kind;
|
|
16503
16545
|
}
|
|
@@ -16587,7 +16629,7 @@ function keepLast(ops) {
|
|
|
16587
16629
|
return ops.slice(ops.length - 1);
|
|
16588
16630
|
}
|
|
16589
16631
|
|
|
16590
|
-
// bazel-out/
|
|
16632
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
16591
16633
|
function removeContentSelectors(job) {
|
|
16592
16634
|
for (const unit of job.units) {
|
|
16593
16635
|
const elements = createOpXrefMap(unit);
|
|
@@ -16614,7 +16656,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
16614
16656
|
return el;
|
|
16615
16657
|
}
|
|
16616
16658
|
|
|
16617
|
-
// bazel-out/
|
|
16659
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
16618
16660
|
function createPipes(job) {
|
|
16619
16661
|
for (const unit of job.units) {
|
|
16620
16662
|
processPipeBindingsInView(unit);
|
|
@@ -16662,7 +16704,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
16662
16704
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
16663
16705
|
}
|
|
16664
16706
|
|
|
16665
|
-
// bazel-out/
|
|
16707
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
16666
16708
|
function createVariadicPipes(job) {
|
|
16667
16709
|
for (const unit of job.units) {
|
|
16668
16710
|
for (const op of unit.update) {
|
|
@@ -16679,7 +16721,7 @@ function createVariadicPipes(job) {
|
|
|
16679
16721
|
}
|
|
16680
16722
|
}
|
|
16681
16723
|
|
|
16682
|
-
// bazel-out/
|
|
16724
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
16683
16725
|
function propagateI18nBlocks(job) {
|
|
16684
16726
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
16685
16727
|
}
|
|
@@ -16733,7 +16775,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
16733
16775
|
}
|
|
16734
16776
|
}
|
|
16735
16777
|
|
|
16736
|
-
// bazel-out/
|
|
16778
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
16737
16779
|
function extractPureFunctions(job) {
|
|
16738
16780
|
for (const view of job.units) {
|
|
16739
16781
|
for (const op of view.ops()) {
|
|
@@ -16775,7 +16817,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
16775
16817
|
}
|
|
16776
16818
|
};
|
|
16777
16819
|
|
|
16778
|
-
// bazel-out/
|
|
16820
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
16779
16821
|
function generatePureLiteralStructures(job) {
|
|
16780
16822
|
for (const unit of job.units) {
|
|
16781
16823
|
for (const op of unit.update) {
|
|
@@ -16822,7 +16864,7 @@ function transformLiteralMap(expr) {
|
|
|
16822
16864
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
16823
16865
|
}
|
|
16824
16866
|
|
|
16825
|
-
// bazel-out/
|
|
16867
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
16826
16868
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
16827
16869
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
16828
16870
|
}
|
|
@@ -17354,7 +17396,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
17354
17396
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
17355
17397
|
}
|
|
17356
17398
|
|
|
17357
|
-
// bazel-out/
|
|
17399
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
17358
17400
|
var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
|
|
17359
17401
|
["window", Identifiers.resolveWindow],
|
|
17360
17402
|
["document", Identifiers.resolveDocument],
|
|
@@ -17719,7 +17761,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
17719
17761
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
17720
17762
|
}
|
|
17721
17763
|
|
|
17722
|
-
// bazel-out/
|
|
17764
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
17723
17765
|
function removeEmptyBindings(job) {
|
|
17724
17766
|
for (const unit of job.units) {
|
|
17725
17767
|
for (const op of unit.update) {
|
|
@@ -17740,7 +17782,7 @@ function removeEmptyBindings(job) {
|
|
|
17740
17782
|
}
|
|
17741
17783
|
}
|
|
17742
17784
|
|
|
17743
|
-
// bazel-out/
|
|
17785
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
17744
17786
|
function removeI18nContexts(job) {
|
|
17745
17787
|
for (const unit of job.units) {
|
|
17746
17788
|
for (const op of unit.create) {
|
|
@@ -17756,7 +17798,7 @@ function removeI18nContexts(job) {
|
|
|
17756
17798
|
}
|
|
17757
17799
|
}
|
|
17758
17800
|
|
|
17759
|
-
// bazel-out/
|
|
17801
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
|
|
17760
17802
|
function removeUnusedI18nAttributesOps(job) {
|
|
17761
17803
|
for (const unit of job.units) {
|
|
17762
17804
|
const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
|
|
@@ -17778,7 +17820,7 @@ function removeUnusedI18nAttributesOps(job) {
|
|
|
17778
17820
|
}
|
|
17779
17821
|
}
|
|
17780
17822
|
|
|
17781
|
-
// bazel-out/
|
|
17823
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
17782
17824
|
function resolveContexts(job) {
|
|
17783
17825
|
for (const unit of job.units) {
|
|
17784
17826
|
processLexicalScope(unit, unit.create);
|
|
@@ -17820,7 +17862,7 @@ function processLexicalScope(view, ops) {
|
|
|
17820
17862
|
}
|
|
17821
17863
|
}
|
|
17822
17864
|
|
|
17823
|
-
// bazel-out/
|
|
17865
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
17824
17866
|
function resolveDollarEvent(job) {
|
|
17825
17867
|
for (const unit of job.units) {
|
|
17826
17868
|
transformDollarEvent(unit.create);
|
|
@@ -17843,7 +17885,7 @@ function transformDollarEvent(ops) {
|
|
|
17843
17885
|
}
|
|
17844
17886
|
}
|
|
17845
17887
|
|
|
17846
|
-
// bazel-out/
|
|
17888
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
17847
17889
|
function resolveI18nElementPlaceholders(job) {
|
|
17848
17890
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
17849
17891
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -18022,7 +18064,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
18022
18064
|
params.set(placeholder, values);
|
|
18023
18065
|
}
|
|
18024
18066
|
|
|
18025
|
-
// bazel-out/
|
|
18067
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
18026
18068
|
function resolveI18nExpressionPlaceholders(job) {
|
|
18027
18069
|
var _a2;
|
|
18028
18070
|
const subTemplateIndices = /* @__PURE__ */ new Map();
|
|
@@ -18075,7 +18117,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
|
|
|
18075
18117
|
}
|
|
18076
18118
|
}
|
|
18077
18119
|
|
|
18078
|
-
// bazel-out/
|
|
18120
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
18079
18121
|
function resolveNames(job) {
|
|
18080
18122
|
for (const unit of job.units) {
|
|
18081
18123
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -18153,7 +18195,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
18153
18195
|
}
|
|
18154
18196
|
}
|
|
18155
18197
|
|
|
18156
|
-
// bazel-out/
|
|
18198
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
18157
18199
|
var sanitizerFns = /* @__PURE__ */ new Map([
|
|
18158
18200
|
[SecurityContext.HTML, Identifiers.sanitizeHtml],
|
|
18159
18201
|
[SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
|
|
@@ -18223,7 +18265,7 @@ function getOnlySecurityContext(securityContext) {
|
|
|
18223
18265
|
return securityContext;
|
|
18224
18266
|
}
|
|
18225
18267
|
|
|
18226
|
-
// bazel-out/
|
|
18268
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
|
|
18227
18269
|
function transformTwoWayBindingSet(job) {
|
|
18228
18270
|
for (const unit of job.units) {
|
|
18229
18271
|
for (const op of unit.create) {
|
|
@@ -18246,7 +18288,7 @@ function transformTwoWayBindingSet(job) {
|
|
|
18246
18288
|
}
|
|
18247
18289
|
}
|
|
18248
18290
|
|
|
18249
|
-
// bazel-out/
|
|
18291
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
18250
18292
|
function saveAndRestoreView(job) {
|
|
18251
18293
|
for (const unit of job.units) {
|
|
18252
18294
|
unit.create.prepend([
|
|
@@ -18291,7 +18333,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
18291
18333
|
}
|
|
18292
18334
|
}
|
|
18293
18335
|
|
|
18294
|
-
// bazel-out/
|
|
18336
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
18295
18337
|
function allocateSlots(job) {
|
|
18296
18338
|
const slotMap = /* @__PURE__ */ new Map();
|
|
18297
18339
|
for (const unit of job.units) {
|
|
@@ -18316,7 +18358,7 @@ function allocateSlots(job) {
|
|
|
18316
18358
|
}
|
|
18317
18359
|
}
|
|
18318
18360
|
|
|
18319
|
-
// bazel-out/
|
|
18361
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
18320
18362
|
function specializeStyleBindings(job) {
|
|
18321
18363
|
for (const unit of job.units) {
|
|
18322
18364
|
for (const op of unit.update) {
|
|
@@ -18346,7 +18388,7 @@ function specializeStyleBindings(job) {
|
|
|
18346
18388
|
}
|
|
18347
18389
|
}
|
|
18348
18390
|
|
|
18349
|
-
// bazel-out/
|
|
18391
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
18350
18392
|
function generateTemporaryVariables(job) {
|
|
18351
18393
|
for (const unit of job.units) {
|
|
18352
18394
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -18404,7 +18446,7 @@ function assignName(names, expr) {
|
|
|
18404
18446
|
expr.name = name;
|
|
18405
18447
|
}
|
|
18406
18448
|
|
|
18407
|
-
// bazel-out/
|
|
18449
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
18408
18450
|
function generateTrackFns(job) {
|
|
18409
18451
|
for (const unit of job.units) {
|
|
18410
18452
|
for (const op of unit.create) {
|
|
@@ -18437,7 +18479,7 @@ function generateTrackFns(job) {
|
|
|
18437
18479
|
}
|
|
18438
18480
|
}
|
|
18439
18481
|
|
|
18440
|
-
// bazel-out/
|
|
18482
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
18441
18483
|
function optimizeTrackFns(job) {
|
|
18442
18484
|
for (const unit of job.units) {
|
|
18443
18485
|
for (const op of unit.create) {
|
|
@@ -18487,7 +18529,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
18487
18529
|
return true;
|
|
18488
18530
|
}
|
|
18489
18531
|
|
|
18490
|
-
// bazel-out/
|
|
18532
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
18491
18533
|
function generateTrackVariables(job) {
|
|
18492
18534
|
for (const unit of job.units) {
|
|
18493
18535
|
for (const op of unit.create) {
|
|
@@ -18508,7 +18550,7 @@ function generateTrackVariables(job) {
|
|
|
18508
18550
|
}
|
|
18509
18551
|
}
|
|
18510
18552
|
|
|
18511
|
-
// bazel-out/
|
|
18553
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
18512
18554
|
function countVariables(job) {
|
|
18513
18555
|
for (const unit of job.units) {
|
|
18514
18556
|
let varCount = 0;
|
|
@@ -18621,7 +18663,7 @@ function isSingletonInterpolation(expr) {
|
|
|
18621
18663
|
return true;
|
|
18622
18664
|
}
|
|
18623
18665
|
|
|
18624
|
-
// bazel-out/
|
|
18666
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
18625
18667
|
function optimizeVariables(job) {
|
|
18626
18668
|
for (const unit of job.units) {
|
|
18627
18669
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -18873,7 +18915,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
18873
18915
|
}
|
|
18874
18916
|
}
|
|
18875
18917
|
|
|
18876
|
-
// bazel-out/
|
|
18918
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
18877
18919
|
function wrapI18nIcus(job) {
|
|
18878
18920
|
for (const unit of job.units) {
|
|
18879
18921
|
let currentI18nOp = null;
|
|
@@ -18903,7 +18945,7 @@ function wrapI18nIcus(job) {
|
|
|
18903
18945
|
}
|
|
18904
18946
|
}
|
|
18905
18947
|
|
|
18906
|
-
// bazel-out/
|
|
18948
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/store_let_optimization.mjs
|
|
18907
18949
|
function optimizeStoreLet(job) {
|
|
18908
18950
|
const letUsedExternally = /* @__PURE__ */ new Set();
|
|
18909
18951
|
for (const unit of job.units) {
|
|
@@ -18922,7 +18964,7 @@ function optimizeStoreLet(job) {
|
|
|
18922
18964
|
}
|
|
18923
18965
|
}
|
|
18924
18966
|
|
|
18925
|
-
// bazel-out/
|
|
18967
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_illegal_let_references.mjs
|
|
18926
18968
|
function removeIllegalLetReferences(job) {
|
|
18927
18969
|
for (const unit of job.units) {
|
|
18928
18970
|
for (const op of unit.update) {
|
|
@@ -18939,7 +18981,7 @@ function removeIllegalLetReferences(job) {
|
|
|
18939
18981
|
}
|
|
18940
18982
|
}
|
|
18941
18983
|
|
|
18942
|
-
// bazel-out/
|
|
18984
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_local_let_references.mjs
|
|
18943
18985
|
function generateLocalLetReferences(job) {
|
|
18944
18986
|
for (const unit of job.units) {
|
|
18945
18987
|
for (const op of unit.update) {
|
|
@@ -18957,7 +18999,7 @@ function generateLocalLetReferences(job) {
|
|
|
18957
18999
|
}
|
|
18958
19000
|
}
|
|
18959
19001
|
|
|
18960
|
-
// bazel-out/
|
|
19002
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
18961
19003
|
var phases = [
|
|
18962
19004
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
18963
19005
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -19114,7 +19156,7 @@ function emitHostBindingFunction(job) {
|
|
|
19114
19156
|
);
|
|
19115
19157
|
}
|
|
19116
19158
|
|
|
19117
|
-
// bazel-out/
|
|
19159
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
19118
19160
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
19119
19161
|
var domSchema = new DomElementSchemaRegistry();
|
|
19120
19162
|
var NG_TEMPLATE_TAG_NAME = "ng-template";
|
|
@@ -19872,7 +19914,7 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
19872
19914
|
return null;
|
|
19873
19915
|
}
|
|
19874
19916
|
|
|
19875
|
-
// bazel-out/
|
|
19917
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
|
|
19876
19918
|
function renderFlagCheckIfStmt(flags, statements) {
|
|
19877
19919
|
return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
|
|
19878
19920
|
}
|
|
@@ -19992,7 +20034,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
|
|
|
19992
20034
|
], INFERRED_TYPE, null, contentQueriesFnName);
|
|
19993
20035
|
}
|
|
19994
20036
|
|
|
19995
|
-
// bazel-out/
|
|
20037
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
19996
20038
|
var HtmlParser = class extends Parser {
|
|
19997
20039
|
constructor() {
|
|
19998
20040
|
super(getHtmlTagDefinition);
|
|
@@ -20002,7 +20044,7 @@ var HtmlParser = class extends Parser {
|
|
|
20002
20044
|
}
|
|
20003
20045
|
};
|
|
20004
20046
|
|
|
20005
|
-
// bazel-out/
|
|
20047
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
20006
20048
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
20007
20049
|
var ATTRIBUTE_PREFIX = "attr";
|
|
20008
20050
|
var CLASS_PREFIX = "class";
|
|
@@ -20356,7 +20398,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
20356
20398
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
20357
20399
|
}
|
|
20358
20400
|
|
|
20359
|
-
// bazel-out/
|
|
20401
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
20360
20402
|
function isStyleUrlResolvable(url) {
|
|
20361
20403
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
20362
20404
|
return false;
|
|
@@ -20365,7 +20407,7 @@ function isStyleUrlResolvable(url) {
|
|
|
20365
20407
|
}
|
|
20366
20408
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
20367
20409
|
|
|
20368
|
-
// bazel-out/
|
|
20410
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
20369
20411
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
20370
20412
|
var LINK_ELEMENT = "link";
|
|
20371
20413
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -20435,7 +20477,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
20435
20477
|
return selectAttr;
|
|
20436
20478
|
}
|
|
20437
20479
|
|
|
20438
|
-
// bazel-out/
|
|
20480
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
20439
20481
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
20440
20482
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
20441
20483
|
var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
|
|
@@ -20758,7 +20800,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
20758
20800
|
return expression.slice(start, end);
|
|
20759
20801
|
}
|
|
20760
20802
|
|
|
20761
|
-
// bazel-out/
|
|
20803
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
20762
20804
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
20763
20805
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
20764
20806
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -21022,7 +21064,7 @@ function parseDeferredTime(value) {
|
|
|
21022
21064
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
21023
21065
|
}
|
|
21024
21066
|
|
|
21025
|
-
// bazel-out/
|
|
21067
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
21026
21068
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
21027
21069
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
21028
21070
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -21157,7 +21199,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
21157
21199
|
return { triggers, prefetchTriggers };
|
|
21158
21200
|
}
|
|
21159
21201
|
|
|
21160
|
-
// bazel-out/
|
|
21202
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
21161
21203
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
21162
21204
|
var KW_BIND_IDX = 1;
|
|
21163
21205
|
var KW_LET_IDX = 2;
|
|
@@ -21624,7 +21666,7 @@ function textContents(node) {
|
|
|
21624
21666
|
}
|
|
21625
21667
|
}
|
|
21626
21668
|
|
|
21627
|
-
// bazel-out/
|
|
21669
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
21628
21670
|
var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
|
|
21629
21671
|
function parseTemplate(template2, templateUrl, options = {}) {
|
|
21630
21672
|
var _a2, _b2, _c2;
|
|
@@ -21718,7 +21760,7 @@ function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, a
|
|
|
21718
21760
|
return new BindingParser(new Parser2(new Lexer()), interpolationConfig, elementRegistry, [], allowInvalidAssignmentEvents);
|
|
21719
21761
|
}
|
|
21720
21762
|
|
|
21721
|
-
// bazel-out/
|
|
21763
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
21722
21764
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
21723
21765
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
21724
21766
|
var CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
|
|
@@ -22085,7 +22127,7 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
22085
22127
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
22086
22128
|
}
|
|
22087
22129
|
|
|
22088
|
-
// bazel-out/
|
|
22130
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
22089
22131
|
var R3TargetBinder = class {
|
|
22090
22132
|
constructor(directiveMatcher) {
|
|
22091
22133
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -22732,11 +22774,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
22732
22774
|
return templateEntities;
|
|
22733
22775
|
}
|
|
22734
22776
|
|
|
22735
|
-
// bazel-out/
|
|
22777
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
22736
22778
|
var ResourceLoader = class {
|
|
22737
22779
|
};
|
|
22738
22780
|
|
|
22739
|
-
// bazel-out/
|
|
22781
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
22740
22782
|
var CompilerFacadeImpl = class {
|
|
22741
22783
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
22742
22784
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -23314,17 +23356,17 @@ function publishFacade(global) {
|
|
|
23314
23356
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
23315
23357
|
}
|
|
23316
23358
|
|
|
23317
|
-
// bazel-out/
|
|
23318
|
-
var VERSION2 = new Version("18.2.
|
|
23359
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
|
|
23360
|
+
var VERSION2 = new Version("18.2.8");
|
|
23319
23361
|
|
|
23320
|
-
// bazel-out/
|
|
23362
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
23321
23363
|
var _VisitorMode;
|
|
23322
23364
|
(function(_VisitorMode2) {
|
|
23323
23365
|
_VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
|
|
23324
23366
|
_VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
|
|
23325
23367
|
})(_VisitorMode || (_VisitorMode = {}));
|
|
23326
23368
|
|
|
23327
|
-
// bazel-out/
|
|
23369
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
23328
23370
|
var XmlTagDefinition = class {
|
|
23329
23371
|
constructor() {
|
|
23330
23372
|
this.closedByParent = false;
|
|
@@ -23346,7 +23388,7 @@ var XmlTagDefinition = class {
|
|
|
23346
23388
|
};
|
|
23347
23389
|
var _TAG_DEFINITION = new XmlTagDefinition();
|
|
23348
23390
|
|
|
23349
|
-
// bazel-out/
|
|
23391
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
23350
23392
|
var FactoryTarget2;
|
|
23351
23393
|
(function(FactoryTarget3) {
|
|
23352
23394
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -23356,13 +23398,13 @@ var FactoryTarget2;
|
|
|
23356
23398
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
23357
23399
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
23358
23400
|
|
|
23359
|
-
// bazel-out/
|
|
23401
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
23360
23402
|
publishFacade(_global);
|
|
23361
23403
|
|
|
23362
|
-
// bazel-out/
|
|
23404
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
23363
23405
|
var import_typescript22 = __toESM(require("typescript"), 1);
|
|
23364
23406
|
|
|
23365
|
-
// bazel-out/
|
|
23407
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
23366
23408
|
var ErrorCode;
|
|
23367
23409
|
(function(ErrorCode2) {
|
|
23368
23410
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -23457,7 +23499,7 @@ var ErrorCode;
|
|
|
23457
23499
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
23458
23500
|
})(ErrorCode || (ErrorCode = {}));
|
|
23459
23501
|
|
|
23460
|
-
// bazel-out/
|
|
23502
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
23461
23503
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
23462
23504
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
23463
23505
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -23469,10 +23511,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
23469
23511
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
23470
23512
|
]);
|
|
23471
23513
|
|
|
23472
|
-
// bazel-out/
|
|
23514
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
23473
23515
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
23474
23516
|
|
|
23475
|
-
// bazel-out/
|
|
23517
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
23476
23518
|
var ExtendedTemplateDiagnosticName;
|
|
23477
23519
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
23478
23520
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -23489,16 +23531,16 @@ var ExtendedTemplateDiagnosticName;
|
|
|
23489
23531
|
ExtendedTemplateDiagnosticName2["UNUSED_LET_DECLARATION"] = "unusedLetDeclaration";
|
|
23490
23532
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
23491
23533
|
|
|
23492
|
-
// bazel-out/
|
|
23534
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
23493
23535
|
var import_typescript21 = __toESM(require("typescript"), 1);
|
|
23494
23536
|
|
|
23495
|
-
// bazel-out/
|
|
23537
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
23496
23538
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
23497
23539
|
|
|
23498
|
-
// bazel-out/
|
|
23540
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
23499
23541
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
23500
23542
|
|
|
23501
|
-
// bazel-out/
|
|
23543
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
23502
23544
|
var InvalidFileSystem = class {
|
|
23503
23545
|
exists(path2) {
|
|
23504
23546
|
throw makeError();
|
|
@@ -23586,18 +23628,18 @@ function makeError() {
|
|
|
23586
23628
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
23587
23629
|
}
|
|
23588
23630
|
|
|
23589
|
-
// bazel-out/
|
|
23631
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
23590
23632
|
var fs = new InvalidFileSystem();
|
|
23591
23633
|
var ABSOLUTE_PATH = Symbol("AbsolutePath");
|
|
23592
23634
|
|
|
23593
|
-
// bazel-out/
|
|
23635
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
23594
23636
|
var import_url = require("url");
|
|
23595
23637
|
var import_meta3 = {};
|
|
23596
23638
|
var isCommonJS = typeof __filename !== "undefined";
|
|
23597
23639
|
var currentFileUrl = isCommonJS ? null : import_meta3.url;
|
|
23598
23640
|
var currentFileName = isCommonJS ? __filename : (0, import_url.fileURLToPath)(currentFileUrl);
|
|
23599
23641
|
|
|
23600
|
-
// bazel-out/
|
|
23642
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
23601
23643
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
23602
23644
|
function identifierOfNode(decl) {
|
|
23603
23645
|
if (decl.name !== void 0 && import_typescript3.default.isIdentifier(decl.name)) {
|
|
@@ -23607,7 +23649,7 @@ function identifierOfNode(decl) {
|
|
|
23607
23649
|
}
|
|
23608
23650
|
}
|
|
23609
23651
|
|
|
23610
|
-
// bazel-out/
|
|
23652
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
23611
23653
|
var ImportFlags;
|
|
23612
23654
|
(function(ImportFlags2) {
|
|
23613
23655
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -23618,7 +23660,7 @@ var ImportFlags;
|
|
|
23618
23660
|
ImportFlags2[ImportFlags2["AllowAmbientReferences"] = 16] = "AllowAmbientReferences";
|
|
23619
23661
|
})(ImportFlags || (ImportFlags = {}));
|
|
23620
23662
|
|
|
23621
|
-
// bazel-out/
|
|
23663
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
23622
23664
|
var import_typescript7 = __toESM(require("typescript"), 1);
|
|
23623
23665
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
23624
23666
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -23653,16 +23695,16 @@ function throwIncompatibleTransformationContextError() {
|
|
|
23653
23695
|
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.");
|
|
23654
23696
|
}
|
|
23655
23697
|
|
|
23656
|
-
// bazel-out/
|
|
23698
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
23657
23699
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
23658
23700
|
|
|
23659
|
-
// bazel-out/
|
|
23701
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
23660
23702
|
var import_typescript13 = __toESM(require("typescript"), 1);
|
|
23661
23703
|
|
|
23662
|
-
// bazel-out/
|
|
23704
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
23663
23705
|
var import_typescript12 = __toESM(require("typescript"), 1);
|
|
23664
23706
|
|
|
23665
|
-
// bazel-out/
|
|
23707
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
23666
23708
|
var import_typescript9 = __toESM(require("typescript"), 1);
|
|
23667
23709
|
var ClassMemberKind;
|
|
23668
23710
|
(function(ClassMemberKind2) {
|
|
@@ -23682,22 +23724,22 @@ var ClassMemberAccessLevel;
|
|
|
23682
23724
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
23683
23725
|
var AmbientImport = {};
|
|
23684
23726
|
|
|
23685
|
-
// bazel-out/
|
|
23727
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
23686
23728
|
var import_typescript10 = __toESM(require("typescript"), 1);
|
|
23687
23729
|
|
|
23688
|
-
// bazel-out/
|
|
23730
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
23689
23731
|
var import_typescript11 = __toESM(require("typescript"), 1);
|
|
23690
23732
|
|
|
23691
|
-
// bazel-out/
|
|
23733
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
23692
23734
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
23693
23735
|
|
|
23694
|
-
// bazel-out/
|
|
23736
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
|
|
23695
23737
|
var import_typescript15 = __toESM(require("typescript"), 1);
|
|
23696
23738
|
|
|
23697
|
-
// bazel-out/
|
|
23739
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
|
|
23698
23740
|
var import_typescript16 = __toESM(require("typescript"), 1);
|
|
23699
23741
|
|
|
23700
|
-
// bazel-out/
|
|
23742
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
23701
23743
|
var Reference2 = class {
|
|
23702
23744
|
constructor(node, bestGuessOwningModule = null) {
|
|
23703
23745
|
this.node = node;
|
|
@@ -23766,10 +23808,10 @@ var Reference2 = class {
|
|
|
23766
23808
|
}
|
|
23767
23809
|
};
|
|
23768
23810
|
|
|
23769
|
-
// bazel-out/
|
|
23811
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
23770
23812
|
var import_typescript45 = __toESM(require("typescript"), 1);
|
|
23771
23813
|
|
|
23772
|
-
// bazel-out/
|
|
23814
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
23773
23815
|
var MetaKind;
|
|
23774
23816
|
(function(MetaKind2) {
|
|
23775
23817
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -23782,10 +23824,10 @@ var MatchSource;
|
|
|
23782
23824
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
23783
23825
|
})(MatchSource || (MatchSource = {}));
|
|
23784
23826
|
|
|
23785
|
-
// bazel-out/
|
|
23827
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
23786
23828
|
var import_typescript25 = __toESM(require("typescript"), 1);
|
|
23787
23829
|
|
|
23788
|
-
// bazel-out/
|
|
23830
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
23789
23831
|
var ClassPropertyMapping = class {
|
|
23790
23832
|
constructor(forwardMap) {
|
|
23791
23833
|
this.forwardMap = forwardMap;
|
|
@@ -23865,13 +23907,13 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
23865
23907
|
return reverseMap;
|
|
23866
23908
|
}
|
|
23867
23909
|
|
|
23868
|
-
// bazel-out/
|
|
23910
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
23869
23911
|
var import_typescript23 = __toESM(require("typescript"), 1);
|
|
23870
23912
|
|
|
23871
|
-
// bazel-out/
|
|
23913
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
23872
23914
|
var import_typescript27 = __toESM(require("typescript"), 1);
|
|
23873
23915
|
|
|
23874
|
-
// bazel-out/
|
|
23916
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
23875
23917
|
var import_typescript28 = __toESM(require("typescript"), 1);
|
|
23876
23918
|
function literalBinaryOp(op) {
|
|
23877
23919
|
return { op, literal: true };
|
|
@@ -23910,7 +23952,7 @@ var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
|
23910
23952
|
[import_typescript28.default.SyntaxKind.ExclamationToken, (a) => !a]
|
|
23911
23953
|
]);
|
|
23912
23954
|
|
|
23913
|
-
// bazel-out/
|
|
23955
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
23914
23956
|
var CompilationMode;
|
|
23915
23957
|
(function(CompilationMode2) {
|
|
23916
23958
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -23924,13 +23966,13 @@ var HandlerPrecedence;
|
|
|
23924
23966
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
23925
23967
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
23926
23968
|
|
|
23927
|
-
// bazel-out/
|
|
23969
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
23928
23970
|
var import_typescript30 = __toESM(require("typescript"), 1);
|
|
23929
23971
|
|
|
23930
|
-
// bazel-out/
|
|
23972
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
23931
23973
|
var import_typescript31 = __toESM(require("typescript"), 1);
|
|
23932
23974
|
|
|
23933
|
-
// bazel-out/
|
|
23975
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
23934
23976
|
var PerfPhase;
|
|
23935
23977
|
(function(PerfPhase2) {
|
|
23936
23978
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -24000,7 +24042,7 @@ var PerfCheckpoint;
|
|
|
24000
24042
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
24001
24043
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
24002
24044
|
|
|
24003
|
-
// bazel-out/
|
|
24045
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
24004
24046
|
var NoopPerfRecorder = class {
|
|
24005
24047
|
eventCount() {
|
|
24006
24048
|
}
|
|
@@ -24017,7 +24059,7 @@ var NoopPerfRecorder = class {
|
|
|
24017
24059
|
};
|
|
24018
24060
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
24019
24061
|
|
|
24020
|
-
// bazel-out/
|
|
24062
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
24021
24063
|
var TraitState;
|
|
24022
24064
|
(function(TraitState2) {
|
|
24023
24065
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -24026,13 +24068,13 @@ var TraitState;
|
|
|
24026
24068
|
TraitState2[TraitState2["Skipped"] = 3] = "Skipped";
|
|
24027
24069
|
})(TraitState || (TraitState = {}));
|
|
24028
24070
|
|
|
24029
|
-
// bazel-out/
|
|
24071
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
24030
24072
|
var import_typescript42 = __toESM(require("typescript"), 1);
|
|
24031
24073
|
|
|
24032
|
-
// bazel-out/
|
|
24074
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
24033
24075
|
var import_typescript37 = __toESM(require("typescript"), 1);
|
|
24034
24076
|
|
|
24035
|
-
// bazel-out/
|
|
24077
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
|
|
24036
24078
|
var import_typescript33 = __toESM(require("typescript"), 1);
|
|
24037
24079
|
function createGenerateUniqueIdentifierHelper() {
|
|
24038
24080
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -24058,7 +24100,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
24058
24100
|
};
|
|
24059
24101
|
}
|
|
24060
24102
|
|
|
24061
|
-
// bazel-out/
|
|
24103
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
|
|
24062
24104
|
var import_typescript34 = __toESM(require("typescript"), 1);
|
|
24063
24105
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
24064
24106
|
return (ctx) => {
|
|
@@ -24125,7 +24167,7 @@ function isImportStatement(stmt) {
|
|
|
24125
24167
|
return import_typescript34.default.isImportDeclaration(stmt) || import_typescript34.default.isImportEqualsDeclaration(stmt) || import_typescript34.default.isNamespaceImport(stmt);
|
|
24126
24168
|
}
|
|
24127
24169
|
|
|
24128
|
-
// bazel-out/
|
|
24170
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
|
|
24129
24171
|
var import_typescript35 = __toESM(require("typescript"), 1);
|
|
24130
24172
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
24131
24173
|
const requestHash = hashImportRequest(request);
|
|
@@ -24152,7 +24194,7 @@ function hashImportRequest(req) {
|
|
|
24152
24194
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}${req.unsafeAliasOverride ? ":" + req.unsafeAliasOverride : ""}`;
|
|
24153
24195
|
}
|
|
24154
24196
|
|
|
24155
|
-
// bazel-out/
|
|
24197
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
|
|
24156
24198
|
var import_typescript36 = __toESM(require("typescript"), 1);
|
|
24157
24199
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
24158
24200
|
let candidateImportToBeUpdated = null;
|
|
@@ -24212,7 +24254,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
24212
24254
|
return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
|
|
24213
24255
|
}
|
|
24214
24256
|
|
|
24215
|
-
// bazel-out/
|
|
24257
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
24216
24258
|
var ImportManager = class {
|
|
24217
24259
|
constructor(config = {}) {
|
|
24218
24260
|
var _a2, _b2, _c2, _d2, _e2, _f2;
|
|
@@ -24426,7 +24468,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
24426
24468
|
}
|
|
24427
24469
|
}
|
|
24428
24470
|
|
|
24429
|
-
// bazel-out/
|
|
24471
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
24430
24472
|
var UNARY_OPERATORS2 = /* @__PURE__ */ new Map([
|
|
24431
24473
|
[UnaryOperator.Minus, "-"],
|
|
24432
24474
|
[UnaryOperator.Plus, "+"]
|
|
@@ -24452,7 +24494,7 @@ var BINARY_OPERATORS3 = /* @__PURE__ */ new Map([
|
|
|
24452
24494
|
[BinaryOperator.NullishCoalesce, "??"]
|
|
24453
24495
|
]);
|
|
24454
24496
|
|
|
24455
|
-
// bazel-out/
|
|
24497
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
24456
24498
|
var import_typescript38 = __toESM(require("typescript"), 1);
|
|
24457
24499
|
var INELIGIBLE = {};
|
|
24458
24500
|
function canEmitType(type, canEmit) {
|
|
@@ -24527,13 +24569,13 @@ var TypeEmitter = class {
|
|
|
24527
24569
|
}
|
|
24528
24570
|
};
|
|
24529
24571
|
|
|
24530
|
-
// bazel-out/
|
|
24572
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
24531
24573
|
var import_typescript40 = __toESM(require("typescript"), 1);
|
|
24532
24574
|
|
|
24533
|
-
// bazel-out/
|
|
24575
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
24534
24576
|
var import_typescript39 = __toESM(require("typescript"), 1);
|
|
24535
24577
|
|
|
24536
|
-
// bazel-out/
|
|
24578
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
24537
24579
|
var import_typescript41 = __toESM(require("typescript"), 1);
|
|
24538
24580
|
var PureAnnotation;
|
|
24539
24581
|
(function(PureAnnotation2) {
|
|
@@ -24571,50 +24613,50 @@ var VAR_TYPES = {
|
|
|
24571
24613
|
"var": import_typescript41.default.NodeFlags.None
|
|
24572
24614
|
};
|
|
24573
24615
|
|
|
24574
|
-
// bazel-out/
|
|
24616
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
24575
24617
|
var import_typescript44 = __toESM(require("typescript"), 1);
|
|
24576
24618
|
|
|
24577
|
-
// bazel-out/
|
|
24619
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
24578
24620
|
var import_typescript43 = __toESM(require("typescript"), 1);
|
|
24579
24621
|
|
|
24580
|
-
// bazel-out/
|
|
24622
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
24581
24623
|
var import_typescript47 = __toESM(require("typescript"), 1);
|
|
24582
24624
|
|
|
24583
|
-
// bazel-out/
|
|
24625
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
24584
24626
|
var import_typescript48 = __toESM(require("typescript"), 1);
|
|
24585
24627
|
|
|
24586
|
-
// bazel-out/
|
|
24628
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
24587
24629
|
var import_typescript87 = __toESM(require("typescript"), 1);
|
|
24588
24630
|
|
|
24589
|
-
// bazel-out/
|
|
24631
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
24590
24632
|
var import_typescript49 = __toESM(require("typescript"), 1);
|
|
24591
24633
|
|
|
24592
|
-
// bazel-out/
|
|
24634
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
24593
24635
|
var import_typescript50 = __toESM(require("typescript"), 1);
|
|
24594
24636
|
|
|
24595
|
-
// bazel-out/
|
|
24637
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
24596
24638
|
var ComponentScopeKind;
|
|
24597
24639
|
(function(ComponentScopeKind2) {
|
|
24598
24640
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
24599
24641
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
24600
24642
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
24601
24643
|
|
|
24602
|
-
// bazel-out/
|
|
24644
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
24603
24645
|
var import_typescript51 = __toESM(require("typescript"), 1);
|
|
24604
24646
|
|
|
24605
|
-
// bazel-out/
|
|
24647
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
24606
24648
|
var import_typescript53 = __toESM(require("typescript"), 1);
|
|
24607
24649
|
|
|
24608
|
-
// bazel-out/
|
|
24650
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
24609
24651
|
var import_typescript57 = __toESM(require("typescript"), 1);
|
|
24610
24652
|
|
|
24611
|
-
// bazel-out/
|
|
24653
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.mjs
|
|
24612
24654
|
var import_typescript54 = __toESM(require("typescript"), 1);
|
|
24613
24655
|
|
|
24614
|
-
// bazel-out/
|
|
24656
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.mjs
|
|
24615
24657
|
var import_typescript55 = __toESM(require("typescript"), 1);
|
|
24616
24658
|
|
|
24617
|
-
// bazel-out/
|
|
24659
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
|
|
24618
24660
|
var INPUT_INITIALIZER_FN = {
|
|
24619
24661
|
functionName: "input",
|
|
24620
24662
|
owningModule: "@angular/core",
|
|
@@ -24625,7 +24667,7 @@ var INPUT_INITIALIZER_FN = {
|
|
|
24625
24667
|
]
|
|
24626
24668
|
};
|
|
24627
24669
|
|
|
24628
|
-
// bazel-out/
|
|
24670
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.mjs
|
|
24629
24671
|
var MODEL_INITIALIZER_FN = {
|
|
24630
24672
|
functionName: "model",
|
|
24631
24673
|
owningModule: "@angular/core",
|
|
@@ -24636,14 +24678,14 @@ var MODEL_INITIALIZER_FN = {
|
|
|
24636
24678
|
]
|
|
24637
24679
|
};
|
|
24638
24680
|
|
|
24639
|
-
// bazel-out/
|
|
24681
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.mjs
|
|
24640
24682
|
var allowedAccessLevels = [
|
|
24641
24683
|
ClassMemberAccessLevel.PublicWritable,
|
|
24642
24684
|
ClassMemberAccessLevel.PublicReadonly,
|
|
24643
24685
|
ClassMemberAccessLevel.Protected
|
|
24644
24686
|
];
|
|
24645
24687
|
|
|
24646
|
-
// bazel-out/
|
|
24688
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.mjs
|
|
24647
24689
|
var import_typescript56 = __toESM(require("typescript"), 1);
|
|
24648
24690
|
var queryFunctionNames = [
|
|
24649
24691
|
"viewChild",
|
|
@@ -24662,7 +24704,7 @@ var QUERY_INITIALIZER_FNS = queryFunctionNames.map((fnName) => ({
|
|
|
24662
24704
|
]
|
|
24663
24705
|
}));
|
|
24664
24706
|
|
|
24665
|
-
// bazel-out/
|
|
24707
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
24666
24708
|
var queryDecoratorNames = [
|
|
24667
24709
|
"ViewChild",
|
|
24668
24710
|
"ViewChildren",
|
|
@@ -24671,16 +24713,16 @@ var queryDecoratorNames = [
|
|
|
24671
24713
|
];
|
|
24672
24714
|
var QUERY_TYPES = new Set(queryDecoratorNames);
|
|
24673
24715
|
|
|
24674
|
-
// bazel-out/
|
|
24716
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
24675
24717
|
var import_typescript59 = __toESM(require("typescript"), 1);
|
|
24676
24718
|
|
|
24677
|
-
// bazel-out/
|
|
24719
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
24678
24720
|
var import_typescript58 = __toESM(require("typescript"), 1);
|
|
24679
24721
|
|
|
24680
|
-
// bazel-out/
|
|
24722
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
24681
24723
|
var import_typescript61 = __toESM(require("typescript"), 1);
|
|
24682
24724
|
|
|
24683
|
-
// bazel-out/
|
|
24725
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
24684
24726
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
24685
24727
|
var UpdateMode;
|
|
24686
24728
|
(function(UpdateMode2) {
|
|
@@ -24688,23 +24730,23 @@ var UpdateMode;
|
|
|
24688
24730
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
24689
24731
|
})(UpdateMode || (UpdateMode = {}));
|
|
24690
24732
|
|
|
24691
|
-
// bazel-out/
|
|
24733
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
24692
24734
|
var import_typescript65 = __toESM(require("typescript"), 1);
|
|
24693
24735
|
|
|
24694
|
-
// bazel-out/
|
|
24736
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
24695
24737
|
var import_typescript62 = __toESM(require("typescript"), 1);
|
|
24696
24738
|
|
|
24697
|
-
// bazel-out/
|
|
24739
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
24698
24740
|
var NgExtension = Symbol("NgExtension");
|
|
24699
24741
|
|
|
24700
|
-
// bazel-out/
|
|
24742
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
24701
24743
|
var OptimizeFor;
|
|
24702
24744
|
(function(OptimizeFor2) {
|
|
24703
24745
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
24704
24746
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
24705
24747
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
24706
24748
|
|
|
24707
|
-
// bazel-out/
|
|
24749
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
24708
24750
|
var CompletionKind;
|
|
24709
24751
|
(function(CompletionKind2) {
|
|
24710
24752
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
@@ -24712,7 +24754,7 @@ var CompletionKind;
|
|
|
24712
24754
|
CompletionKind2[CompletionKind2["LetDeclaration"] = 2] = "LetDeclaration";
|
|
24713
24755
|
})(CompletionKind || (CompletionKind = {}));
|
|
24714
24756
|
|
|
24715
|
-
// bazel-out/
|
|
24757
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
24716
24758
|
var PotentialImportKind;
|
|
24717
24759
|
(function(PotentialImportKind2) {
|
|
24718
24760
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -24724,7 +24766,7 @@ var PotentialImportMode;
|
|
|
24724
24766
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
24725
24767
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
24726
24768
|
|
|
24727
|
-
// bazel-out/
|
|
24769
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
24728
24770
|
var SymbolKind;
|
|
24729
24771
|
(function(SymbolKind2) {
|
|
24730
24772
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -24741,18 +24783,18 @@ var SymbolKind;
|
|
|
24741
24783
|
SymbolKind2[SymbolKind2["LetDeclaration"] = 11] = "LetDeclaration";
|
|
24742
24784
|
})(SymbolKind || (SymbolKind = {}));
|
|
24743
24785
|
|
|
24744
|
-
// bazel-out/
|
|
24786
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
24745
24787
|
var import_typescript67 = __toESM(require("typescript"), 1);
|
|
24746
24788
|
var TemplateSourceFile = Symbol("TemplateSourceFile");
|
|
24747
24789
|
|
|
24748
|
-
// bazel-out/
|
|
24790
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
24749
24791
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
24750
24792
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
24751
24793
|
|
|
24752
|
-
// bazel-out/
|
|
24794
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
24753
24795
|
var import_typescript69 = __toESM(require("typescript"), 1);
|
|
24754
24796
|
|
|
24755
|
-
// bazel-out/
|
|
24797
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
24756
24798
|
var import_typescript68 = __toESM(require("typescript"), 1);
|
|
24757
24799
|
var CommentTriviaType;
|
|
24758
24800
|
(function(CommentTriviaType2) {
|
|
@@ -24797,17 +24839,17 @@ for (let i = 0; i < chars.length; i++) {
|
|
|
24797
24839
|
}
|
|
24798
24840
|
var bufLength = 1024 * 16;
|
|
24799
24841
|
|
|
24800
|
-
// bazel-out/
|
|
24842
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
24801
24843
|
var import_typescript83 = __toESM(require("typescript"), 1);
|
|
24802
24844
|
|
|
24803
|
-
// bazel-out/
|
|
24845
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
24804
24846
|
var import_typescript70 = __toESM(require("typescript"), 1);
|
|
24805
24847
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
24806
24848
|
|
|
24807
|
-
// bazel-out/
|
|
24849
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
24808
24850
|
var import_typescript76 = __toESM(require("typescript"), 1);
|
|
24809
24851
|
|
|
24810
|
-
// bazel-out/
|
|
24852
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
24811
24853
|
var import_typescript71 = __toESM(require("typescript"), 1);
|
|
24812
24854
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
24813
24855
|
import_typescript71.default.SyntaxKind.ParenthesizedExpression,
|
|
@@ -24887,13 +24929,13 @@ function tsNumericExpression2(value) {
|
|
|
24887
24929
|
return import_typescript71.default.factory.createNumericLiteral(value);
|
|
24888
24930
|
}
|
|
24889
24931
|
|
|
24890
|
-
// bazel-out/
|
|
24932
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
24891
24933
|
var import_typescript75 = __toESM(require("typescript"), 1);
|
|
24892
24934
|
|
|
24893
|
-
// bazel-out/
|
|
24935
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
24894
24936
|
var import_typescript73 = __toESM(require("typescript"), 1);
|
|
24895
24937
|
|
|
24896
|
-
// bazel-out/
|
|
24938
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
24897
24939
|
var import_typescript72 = __toESM(require("typescript"), 1);
|
|
24898
24940
|
var TypeParameterEmitter = class {
|
|
24899
24941
|
constructor(typeParameters, reflector) {
|
|
@@ -24971,7 +25013,7 @@ var TypeParameterEmitter = class {
|
|
|
24971
25013
|
}
|
|
24972
25014
|
};
|
|
24973
25015
|
|
|
24974
|
-
// bazel-out/
|
|
25016
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
24975
25017
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
24976
25018
|
Identifiers.InputSignalBrandWriteType
|
|
24977
25019
|
];
|
|
@@ -24986,21 +25028,21 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
24986
25028
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
24987
25029
|
}
|
|
24988
25030
|
|
|
24989
|
-
// bazel-out/
|
|
25031
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
24990
25032
|
function requiresInlineTypeCtor(node, host, env) {
|
|
24991
25033
|
return !checkIfGenericTypeBoundsCanBeEmitted(node, host, env);
|
|
24992
25034
|
}
|
|
24993
25035
|
|
|
24994
|
-
// bazel-out/
|
|
25036
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
24995
25037
|
var import_typescript77 = __toESM(require("typescript"), 1);
|
|
24996
25038
|
|
|
24997
|
-
// bazel-out/
|
|
25039
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
24998
25040
|
var import_typescript78 = __toESM(require("typescript"), 1);
|
|
24999
25041
|
|
|
25000
|
-
// bazel-out/
|
|
25042
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
25001
25043
|
var import_typescript81 = __toESM(require("typescript"), 1);
|
|
25002
25044
|
|
|
25003
|
-
// bazel-out/
|
|
25045
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
25004
25046
|
var import_typescript79 = __toESM(require("typescript"), 1);
|
|
25005
25047
|
function wrapForDiagnostics(expr) {
|
|
25006
25048
|
return import_typescript79.default.factory.createParenthesizedExpression(expr);
|
|
@@ -25023,7 +25065,7 @@ function addParseSpanInfo(node, span) {
|
|
|
25023
25065
|
);
|
|
25024
25066
|
}
|
|
25025
25067
|
|
|
25026
|
-
// bazel-out/
|
|
25068
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
25027
25069
|
var import_typescript80 = __toESM(require("typescript"), 1);
|
|
25028
25070
|
var ANY_EXPRESSION = import_typescript80.default.factory.createAsExpression(import_typescript80.default.factory.createNumericLiteral("0"), import_typescript80.default.factory.createKeywordTypeNode(import_typescript80.default.SyntaxKind.AnyKeyword));
|
|
25029
25071
|
var UNDEFINED = import_typescript80.default.factory.createIdentifier("undefined");
|
|
@@ -25355,7 +25397,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
25355
25397
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
25356
25398
|
})();
|
|
25357
25399
|
|
|
25358
|
-
// bazel-out/
|
|
25400
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
25359
25401
|
var TcbGenericContextBehavior;
|
|
25360
25402
|
(function(TcbGenericContextBehavior2) {
|
|
25361
25403
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -26867,29 +26909,29 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
26867
26909
|
}
|
|
26868
26910
|
};
|
|
26869
26911
|
|
|
26870
|
-
// bazel-out/
|
|
26912
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
26871
26913
|
var import_typescript82 = __toESM(require("typescript"), 1);
|
|
26872
26914
|
|
|
26873
|
-
// bazel-out/
|
|
26915
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
26874
26916
|
var InliningMode;
|
|
26875
26917
|
(function(InliningMode2) {
|
|
26876
26918
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
26877
26919
|
InliningMode2[InliningMode2["Error"] = 1] = "Error";
|
|
26878
26920
|
})(InliningMode || (InliningMode = {}));
|
|
26879
26921
|
|
|
26880
|
-
// bazel-out/
|
|
26922
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
26881
26923
|
var import_typescript84 = __toESM(require("typescript"), 1);
|
|
26882
26924
|
|
|
26883
|
-
// bazel-out/
|
|
26925
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
26884
26926
|
var REGISTRY2 = new DomElementSchemaRegistry();
|
|
26885
26927
|
|
|
26886
|
-
// bazel-out/
|
|
26928
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
26887
26929
|
var import_typescript89 = __toESM(require("typescript"), 1);
|
|
26888
26930
|
|
|
26889
|
-
// bazel-out/
|
|
26931
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
26890
26932
|
var import_typescript90 = __toESM(require("typescript"), 1);
|
|
26891
26933
|
|
|
26892
|
-
// bazel-out/
|
|
26934
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
26893
26935
|
var ChangeTracker = class {
|
|
26894
26936
|
constructor(_printer, _importRemapper) {
|
|
26895
26937
|
__publicField(this, "_printer");
|
|
@@ -27007,7 +27049,7 @@ function normalizePath(path2) {
|
|
|
27007
27049
|
return path2.replace(/\\/g, "/");
|
|
27008
27050
|
}
|
|
27009
27051
|
|
|
27010
|
-
// bazel-out/
|
|
27052
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
27011
27053
|
var import_core17 = require("@angular-devkit/core");
|
|
27012
27054
|
function getProjectTsConfigPaths(tree) {
|
|
27013
27055
|
return __async(this, null, function* () {
|
|
@@ -27087,11 +27129,11 @@ function getWorkspace(tree) {
|
|
|
27087
27129
|
});
|
|
27088
27130
|
}
|
|
27089
27131
|
|
|
27090
|
-
// bazel-out/
|
|
27132
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
27091
27133
|
var import_path2 = require("path");
|
|
27092
27134
|
var import_typescript93 = __toESM(require("typescript"), 1);
|
|
27093
27135
|
|
|
27094
|
-
// bazel-out/
|
|
27136
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
27095
27137
|
var path = __toESM(require("path"), 1);
|
|
27096
27138
|
var import_typescript92 = __toESM(require("typescript"), 1);
|
|
27097
27139
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -27108,7 +27150,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
27108
27150
|
return import_typescript92.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
27109
27151
|
}
|
|
27110
27152
|
|
|
27111
|
-
// bazel-out/
|
|
27153
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
27112
27154
|
function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
|
|
27113
27155
|
const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
|
|
27114
27156
|
return import_typescript93.default.createProgram(rootNames, options, host);
|
|
@@ -27141,23 +27183,23 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
27141
27183
|
return !(0, import_path2.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
27142
27184
|
}
|
|
27143
27185
|
|
|
27144
|
-
// bazel-out/
|
|
27186
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/route-lazy-loading/to-lazy-routes.mjs
|
|
27145
27187
|
var import_typescript97 = __toESM(require("typescript"), 1);
|
|
27146
27188
|
|
|
27147
|
-
// bazel-out/
|
|
27189
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/class_declaration.mjs
|
|
27148
27190
|
var import_typescript94 = __toESM(require("typescript"), 1);
|
|
27149
27191
|
function findClassDeclaration(reference2, typeChecker) {
|
|
27150
27192
|
var _a2, _b2;
|
|
27151
27193
|
return ((_b2 = (_a2 = typeChecker.getTypeAtLocation(reference2).getSymbol()) == null ? void 0 : _a2.declarations) == null ? void 0 : _b2.find(import_typescript94.default.isClassDeclaration)) || null;
|
|
27152
27194
|
}
|
|
27153
27195
|
|
|
27154
|
-
// bazel-out/
|
|
27196
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/property_name.mjs
|
|
27155
27197
|
var import_typescript95 = __toESM(require("typescript"), 1);
|
|
27156
27198
|
function findLiteralProperty(literal2, name) {
|
|
27157
27199
|
return literal2.properties.find((prop) => prop.name && import_typescript95.default.isIdentifier(prop.name) && prop.name.text === name);
|
|
27158
27200
|
}
|
|
27159
27201
|
|
|
27160
|
-
// bazel-out/
|
|
27202
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/route-lazy-loading/util.mjs
|
|
27161
27203
|
var import_typescript96 = __toESM(require("typescript"), 1);
|
|
27162
27204
|
function isStandaloneComponent(node) {
|
|
27163
27205
|
var _a2;
|
|
@@ -27223,7 +27265,7 @@ function isProvideRoutesCallExpression(node, typeChecker) {
|
|
|
27223
27265
|
return false;
|
|
27224
27266
|
}
|
|
27225
27267
|
|
|
27226
|
-
// bazel-out/
|
|
27268
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/route-lazy-loading/to-lazy-routes.mjs
|
|
27227
27269
|
function migrateFileToLazyRoutes(sourceFile, program) {
|
|
27228
27270
|
const typeChecker = program.getTypeChecker();
|
|
27229
27271
|
const printer = import_typescript97.default.createPrinter();
|
|
@@ -27376,7 +27418,7 @@ var createImportCallExpression = (componentImportPath) => import_typescript97.de
|
|
|
27376
27418
|
]);
|
|
27377
27419
|
var createImportThenCallExpression = (componentDeclarationName) => import_typescript97.default.factory.createArrowFunction(void 0, void 0, [import_typescript97.default.factory.createParameterDeclaration(void 0, void 0, "m", void 0, void 0)], void 0, import_typescript97.default.factory.createToken(import_typescript97.default.SyntaxKind.EqualsGreaterThanToken), import_typescript97.default.factory.createPropertyAccessExpression(import_typescript97.default.factory.createIdentifier("m"), componentDeclarationName));
|
|
27378
27420
|
|
|
27379
|
-
// bazel-out/
|
|
27421
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/route-lazy-loading/index.mjs
|
|
27380
27422
|
function route_lazy_loading_default(options) {
|
|
27381
27423
|
return (tree, context) => __async(this, null, function* () {
|
|
27382
27424
|
const { buildPaths } = yield getProjectTsConfigPaths(tree);
|