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