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