@angular/core 18.1.2 → 18.1.4
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/primitives/event-dispatch/src/action_resolver.mjs +6 -3
- package/esm2022/primitives/event-dispatch/src/event_dispatcher.mjs +4 -3
- package/esm2022/src/application/application_init.mjs +2 -2
- package/esm2022/src/application/application_module.mjs +2 -2
- package/esm2022/src/application/application_ref.mjs +2 -2
- package/esm2022/src/change_detection/scheduling/ng_zone_scheduling.mjs +3 -10
- package/esm2022/src/change_detection/scheduling/zoneless_scheduling_impl.mjs +2 -2
- package/esm2022/src/console.mjs +2 -2
- package/esm2022/src/core_private_export.mjs +2 -1
- package/esm2022/src/error_handler.mjs +4 -2
- package/esm2022/src/event_delegation_utils.mjs +3 -3
- package/esm2022/src/image_performance_warning.mjs +2 -2
- package/esm2022/src/linker/compiler.mjs +2 -2
- package/esm2022/src/platform/platform_ref.mjs +2 -2
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/render3/interfaces/renderer.mjs +1 -1
- package/esm2022/src/render3/interfaces/renderer_dom.mjs +1 -1
- package/esm2022/src/render3/node_manipulation.mjs +10 -14
- package/esm2022/src/sanitization/html_sanitizer.mjs +2 -2
- package/esm2022/src/sanitization/inert_body.mjs +2 -2
- package/esm2022/src/testability/testability.mjs +3 -3
- package/esm2022/src/util/callback_scheduler.mjs +26 -23
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/application_error_handler.mjs +43 -0
- package/esm2022/testing/src/component_fixture.mjs +13 -2
- package/esm2022/testing/src/logger.mjs +3 -3
- package/esm2022/testing/src/test_bed_common.mjs +1 -1
- package/esm2022/testing/src/test_bed_compiler.mjs +24 -2
- package/fesm2022/core.mjs +727 -733
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +9 -5
- package/fesm2022/primitives/event-dispatch.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +69 -3
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +11 -7
- package/package.json +1 -1
- package/primitives/event-dispatch/index.d.ts +3 -2
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/after-render-phase/bundle.js +12 -12
- package/schematics/migrations/http-providers/bundle.js +15 -15
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +166 -165
- package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +2 -2
- package/schematics/ng-generate/control-flow-migration/bundle.js +174 -173
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +2 -2
- package/schematics/ng-generate/standalone-migration/bundle.js +547 -514
- package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
- package/testing/index.d.ts +2 -1
|
@@ -63,7 +63,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
63
63
|
});
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
-
// bazel-out/
|
|
66
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/index.mjs
|
|
67
67
|
var control_flow_migration_exports = {};
|
|
68
68
|
__export(control_flow_migration_exports, {
|
|
69
69
|
default: () => control_flow_migration_default
|
|
@@ -72,22 +72,22 @@ module.exports = __toCommonJS(control_flow_migration_exports);
|
|
|
72
72
|
var import_schematics = require("@angular-devkit/schematics");
|
|
73
73
|
var import_path3 = require("path");
|
|
74
74
|
|
|
75
|
-
// bazel-out/
|
|
75
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
76
76
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
77
77
|
|
|
78
|
-
// bazel-out/
|
|
78
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
|
|
79
79
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
80
80
|
|
|
81
|
-
// bazel-out/
|
|
81
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
82
82
|
function normalizePath(path2) {
|
|
83
83
|
return path2.replace(/\\/g, "/");
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
// bazel-out/
|
|
86
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
87
87
|
var import_path = require("path");
|
|
88
88
|
var import_typescript4 = __toESM(require("typescript"), 1);
|
|
89
89
|
|
|
90
|
-
// bazel-out/
|
|
90
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
91
91
|
var path = __toESM(require("path"), 1);
|
|
92
92
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
93
93
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -104,7 +104,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
104
104
|
return import_typescript3.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
// bazel-out/
|
|
107
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
108
108
|
function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
|
|
109
109
|
const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
|
|
110
110
|
return import_typescript4.default.createProgram(rootNames, options, host);
|
|
@@ -137,7 +137,7 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
137
137
|
return !(0, import_path.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
// bazel-out/
|
|
140
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/selector.mjs
|
|
141
141
|
var _SELECTOR_REGEXP = new RegExp(
|
|
142
142
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
143
143
|
"g"
|
|
@@ -445,7 +445,7 @@ var SelectorContext = class {
|
|
|
445
445
|
}
|
|
446
446
|
};
|
|
447
447
|
|
|
448
|
-
// bazel-out/
|
|
448
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/core.mjs
|
|
449
449
|
var ViewEncapsulation;
|
|
450
450
|
(function(ViewEncapsulation2) {
|
|
451
451
|
ViewEncapsulation2[ViewEncapsulation2["Emulated"] = 0] = "Emulated";
|
|
@@ -513,7 +513,7 @@ function parseSelectorToR3Selector(selector) {
|
|
|
513
513
|
return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
|
|
514
514
|
}
|
|
515
515
|
|
|
516
|
-
// bazel-out/
|
|
516
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
|
|
517
517
|
var textEncoder;
|
|
518
518
|
function computeDigest(message) {
|
|
519
519
|
return sha1(serializeNodes(message.nodes).join("") + `[${message.meaning}]`);
|
|
@@ -753,7 +753,7 @@ function wordAt(bytes, index, endian) {
|
|
|
753
753
|
return word;
|
|
754
754
|
}
|
|
755
755
|
|
|
756
|
-
// bazel-out/
|
|
756
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
757
757
|
var TypeModifier;
|
|
758
758
|
(function(TypeModifier2) {
|
|
759
759
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -1691,7 +1691,7 @@ function serializeTags(tags) {
|
|
|
1691
1691
|
return out;
|
|
1692
1692
|
}
|
|
1693
1693
|
|
|
1694
|
-
// bazel-out/
|
|
1694
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
1695
1695
|
var CONSTANT_PREFIX = "_c";
|
|
1696
1696
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
1697
1697
|
var KEY_CONTEXT = {};
|
|
@@ -1879,7 +1879,7 @@ function isLongStringLiteral(expr) {
|
|
|
1879
1879
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
1880
1880
|
}
|
|
1881
1881
|
|
|
1882
|
-
// bazel-out/
|
|
1882
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
1883
1883
|
var CORE = "@angular/core";
|
|
1884
1884
|
var _Identifiers = class {
|
|
1885
1885
|
};
|
|
@@ -2776,7 +2776,7 @@ var Identifiers = _Identifiers;
|
|
|
2776
2776
|
_Identifiers.unwrapWritableSignal = { name: "\u0275unwrapWritableSignal", moduleName: CORE };
|
|
2777
2777
|
})();
|
|
2778
2778
|
|
|
2779
|
-
// bazel-out/
|
|
2779
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
|
|
2780
2780
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
2781
2781
|
function dashCaseToCamelCase(input) {
|
|
2782
2782
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -2853,7 +2853,7 @@ var Version = class {
|
|
|
2853
2853
|
};
|
|
2854
2854
|
var _global = globalThis;
|
|
2855
2855
|
|
|
2856
|
-
// bazel-out/
|
|
2856
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
2857
2857
|
var VERSION = 3;
|
|
2858
2858
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
2859
2859
|
var SourceMapGenerator = class {
|
|
@@ -2982,7 +2982,7 @@ function toBase64Digit(value) {
|
|
|
2982
2982
|
return B64_DIGITS[value];
|
|
2983
2983
|
}
|
|
2984
2984
|
|
|
2985
|
-
// bazel-out/
|
|
2985
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
2986
2986
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
2987
2987
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
2988
2988
|
var _INDENT_WITH = " ";
|
|
@@ -3470,7 +3470,7 @@ function _createIndent(count) {
|
|
|
3470
3470
|
return res;
|
|
3471
3471
|
}
|
|
3472
3472
|
|
|
3473
|
-
// bazel-out/
|
|
3473
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
3474
3474
|
function typeWithParameters(type, numParams) {
|
|
3475
3475
|
if (numParams === 0) {
|
|
3476
3476
|
return expressionType(type);
|
|
@@ -3525,7 +3525,7 @@ function generateForwardRef(expr) {
|
|
|
3525
3525
|
return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
|
|
3526
3526
|
}
|
|
3527
3527
|
|
|
3528
|
-
// bazel-out/
|
|
3528
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
3529
3529
|
var R3FactoryDelegateType;
|
|
3530
3530
|
(function(R3FactoryDelegateType2) {
|
|
3531
3531
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -3540,7 +3540,7 @@ var FactoryTarget;
|
|
|
3540
3540
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
3541
3541
|
})(FactoryTarget || (FactoryTarget = {}));
|
|
3542
3542
|
function compileFactoryFunction(meta) {
|
|
3543
|
-
const t = variable("
|
|
3543
|
+
const t = variable("__ngFactoryType__");
|
|
3544
3544
|
let baseFactoryVar = null;
|
|
3545
3545
|
const typeForCtor = !isDelegatedFactoryMetadata(meta) ? new BinaryOperatorExpr(BinaryOperator.Or, t, meta.type.value) : t;
|
|
3546
3546
|
let ctorExpr = null;
|
|
@@ -3555,7 +3555,7 @@ function compileFactoryFunction(meta) {
|
|
|
3555
3555
|
const body = [];
|
|
3556
3556
|
let retExpr = null;
|
|
3557
3557
|
function makeConditionalFactory(nonCtorExpr) {
|
|
3558
|
-
const r = variable("
|
|
3558
|
+
const r = variable("__ngConditionalFactory__");
|
|
3559
3559
|
body.push(r.set(NULL_EXPR).toDeclStmt());
|
|
3560
3560
|
const ctorStmt = ctorExpr !== null ? r.set(ctorExpr).toStmt() : importExpr(Identifiers.invalidFactory).callFn([]).toStmt();
|
|
3561
3561
|
body.push(ifStmt(t, [ctorStmt], [r.set(nonCtorExpr).toStmt()]));
|
|
@@ -3579,7 +3579,7 @@ function compileFactoryFunction(meta) {
|
|
|
3579
3579
|
} else {
|
|
3580
3580
|
body.push(new ReturnStatement(retExpr));
|
|
3581
3581
|
}
|
|
3582
|
-
let factoryFn = fn([new FnParam(
|
|
3582
|
+
let factoryFn = fn([new FnParam(t.name, DYNAMIC_TYPE)], body, INFERRED_TYPE, void 0, `${meta.name}_Factory`);
|
|
3583
3583
|
if (baseFactoryVar !== null) {
|
|
3584
3584
|
factoryFn = arrowFn([], [new DeclareVarStmt(baseFactoryVar.name), new ReturnStatement(factoryFn)]).callFn([], void 0, true);
|
|
3585
3585
|
}
|
|
@@ -3670,7 +3670,7 @@ function getInjectFn(target) {
|
|
|
3670
3670
|
}
|
|
3671
3671
|
}
|
|
3672
3672
|
|
|
3673
|
-
// bazel-out/
|
|
3673
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
3674
3674
|
var ParserError = class {
|
|
3675
3675
|
constructor(message, input, errLocation, ctxLocation) {
|
|
3676
3676
|
this.input = input;
|
|
@@ -4108,7 +4108,7 @@ var BoundElementProperty = class {
|
|
|
4108
4108
|
}
|
|
4109
4109
|
};
|
|
4110
4110
|
|
|
4111
|
-
// bazel-out/
|
|
4111
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
4112
4112
|
var TagContentType;
|
|
4113
4113
|
(function(TagContentType2) {
|
|
4114
4114
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -4145,7 +4145,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
4145
4145
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
4146
4146
|
}
|
|
4147
4147
|
|
|
4148
|
-
// bazel-out/
|
|
4148
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
4149
4149
|
var Comment = class {
|
|
4150
4150
|
constructor(value, sourceSpan) {
|
|
4151
4151
|
this.value = value;
|
|
@@ -4539,7 +4539,7 @@ function visitAll(visitor, nodes) {
|
|
|
4539
4539
|
return result;
|
|
4540
4540
|
}
|
|
4541
4541
|
|
|
4542
|
-
// bazel-out/
|
|
4542
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
4543
4543
|
var Message = class {
|
|
4544
4544
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
4545
4545
|
this.nodes = nodes;
|
|
@@ -4679,7 +4679,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
4679
4679
|
}
|
|
4680
4680
|
};
|
|
4681
4681
|
|
|
4682
|
-
// bazel-out/
|
|
4682
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
4683
4683
|
var _Visitor = class {
|
|
4684
4684
|
visitTag(tag) {
|
|
4685
4685
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -4707,12 +4707,12 @@ ${doctype.dtd}
|
|
|
4707
4707
|
};
|
|
4708
4708
|
var _visitor = new _Visitor();
|
|
4709
4709
|
|
|
4710
|
-
// bazel-out/
|
|
4710
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
4711
4711
|
function toPublicName(internalName) {
|
|
4712
4712
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
4713
4713
|
}
|
|
4714
4714
|
|
|
4715
|
-
// bazel-out/
|
|
4715
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
4716
4716
|
var I18N_ATTR = "i18n";
|
|
4717
4717
|
var I18N_ATTR_PREFIX = "i18n-";
|
|
4718
4718
|
var I18N_ICU_VAR_PREFIX = "VAR_";
|
|
@@ -4752,7 +4752,7 @@ function formatI18nPlaceholderName(name, useCamelCase = true) {
|
|
|
4752
4752
|
return postfix ? `${raw}_${postfix}` : raw;
|
|
4753
4753
|
}
|
|
4754
4754
|
|
|
4755
|
-
// bazel-out/
|
|
4755
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
4756
4756
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
4757
4757
|
var TEMPORARY_NAME = "_t";
|
|
4758
4758
|
var CONTEXT_NAME = "ctx";
|
|
@@ -4879,7 +4879,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
|
|
|
4879
4879
|
return attributesMap;
|
|
4880
4880
|
}
|
|
4881
4881
|
|
|
4882
|
-
// bazel-out/
|
|
4882
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
4883
4883
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
4884
4884
|
let result = null;
|
|
4885
4885
|
const factoryMeta = {
|
|
@@ -4963,10 +4963,11 @@ function delegateToFactory(type, useType, unwrapForwardRefs) {
|
|
|
4963
4963
|
return createFactoryFunction(unwrappedType);
|
|
4964
4964
|
}
|
|
4965
4965
|
function createFactoryFunction(type) {
|
|
4966
|
-
|
|
4966
|
+
const t = new FnParam("__ngFactoryType__", DYNAMIC_TYPE);
|
|
4967
|
+
return arrowFn([t], type.prop("\u0275fac").callFn([variable(t.name)]));
|
|
4967
4968
|
}
|
|
4968
4969
|
|
|
4969
|
-
// bazel-out/
|
|
4970
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
4970
4971
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
4971
4972
|
/@/,
|
|
4972
4973
|
/^\s*$/,
|
|
@@ -4989,7 +4990,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
4989
4990
|
}
|
|
4990
4991
|
}
|
|
4991
4992
|
|
|
4992
|
-
// bazel-out/
|
|
4993
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
|
|
4993
4994
|
var InterpolationConfig = class {
|
|
4994
4995
|
static fromArray(markers) {
|
|
4995
4996
|
if (!markers) {
|
|
@@ -5006,7 +5007,7 @@ var InterpolationConfig = class {
|
|
|
5006
5007
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
5007
5008
|
var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
|
|
5008
5009
|
|
|
5009
|
-
// bazel-out/
|
|
5010
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
5010
5011
|
var $EOF = 0;
|
|
5011
5012
|
var $BSPACE = 8;
|
|
5012
5013
|
var $TAB = 9;
|
|
@@ -5088,7 +5089,7 @@ function isQuote(code) {
|
|
|
5088
5089
|
return code === $SQ || code === $DQ || code === $BT;
|
|
5089
5090
|
}
|
|
5090
5091
|
|
|
5091
|
-
// bazel-out/
|
|
5092
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
5092
5093
|
var ParseLocation = class {
|
|
5093
5094
|
constructor(file, offset, line, col) {
|
|
5094
5095
|
this.file = file;
|
|
@@ -5235,7 +5236,7 @@ function sanitizeIdentifier(name) {
|
|
|
5235
5236
|
return name.replace(/\W/g, "_");
|
|
5236
5237
|
}
|
|
5237
5238
|
|
|
5238
|
-
// bazel-out/
|
|
5239
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
5239
5240
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
5240
5241
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
5241
5242
|
constructor() {
|
|
@@ -5328,7 +5329,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
5328
5329
|
}
|
|
5329
5330
|
};
|
|
5330
5331
|
|
|
5331
|
-
// bazel-out/
|
|
5332
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
5332
5333
|
var policy;
|
|
5333
5334
|
function getPolicy() {
|
|
5334
5335
|
if (policy === void 0) {
|
|
@@ -5366,7 +5367,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
5366
5367
|
return fn2.bind(_global);
|
|
5367
5368
|
}
|
|
5368
5369
|
|
|
5369
|
-
// bazel-out/
|
|
5370
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
5370
5371
|
var JitEvaluator = class {
|
|
5371
5372
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
5372
5373
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -5454,7 +5455,7 @@ function isUseStrictStatement(statement) {
|
|
|
5454
5455
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
5455
5456
|
}
|
|
5456
5457
|
|
|
5457
|
-
// bazel-out/
|
|
5458
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
5458
5459
|
function compileInjector(meta) {
|
|
5459
5460
|
const definitionMap = new DefinitionMap();
|
|
5460
5461
|
if (meta.providers !== null) {
|
|
@@ -5471,7 +5472,7 @@ function createInjectorType(meta) {
|
|
|
5471
5472
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
5472
5473
|
}
|
|
5473
5474
|
|
|
5474
|
-
// bazel-out/
|
|
5475
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
5475
5476
|
var R3JitReflector = class {
|
|
5476
5477
|
constructor(context) {
|
|
5477
5478
|
this.context = context;
|
|
@@ -5487,7 +5488,7 @@ var R3JitReflector = class {
|
|
|
5487
5488
|
}
|
|
5488
5489
|
};
|
|
5489
5490
|
|
|
5490
|
-
// bazel-out/
|
|
5491
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
5491
5492
|
var R3SelectorScopeMode;
|
|
5492
5493
|
(function(R3SelectorScopeMode2) {
|
|
5493
5494
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -5622,7 +5623,7 @@ function tupleOfTypes(types) {
|
|
|
5622
5623
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
5623
5624
|
}
|
|
5624
5625
|
|
|
5625
|
-
// bazel-out/
|
|
5626
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
5626
5627
|
function compilePipeFromMetadata(metadata) {
|
|
5627
5628
|
const definitionMapValues = [];
|
|
5628
5629
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -5643,7 +5644,7 @@ function createPipeType(metadata) {
|
|
|
5643
5644
|
]));
|
|
5644
5645
|
}
|
|
5645
5646
|
|
|
5646
|
-
// bazel-out/
|
|
5647
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
5647
5648
|
var R3TemplateDependencyKind;
|
|
5648
5649
|
(function(R3TemplateDependencyKind2) {
|
|
5649
5650
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -5651,7 +5652,7 @@ var R3TemplateDependencyKind;
|
|
|
5651
5652
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
5652
5653
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
5653
5654
|
|
|
5654
|
-
// bazel-out/
|
|
5655
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
5655
5656
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
5656
5657
|
"inherit",
|
|
5657
5658
|
"initial",
|
|
@@ -6131,7 +6132,7 @@ function repeatGroups(groups, multiples) {
|
|
|
6131
6132
|
}
|
|
6132
6133
|
}
|
|
6133
6134
|
|
|
6134
|
-
// bazel-out/
|
|
6135
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
6135
6136
|
var OpKind;
|
|
6136
6137
|
(function(OpKind2) {
|
|
6137
6138
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -6289,7 +6290,7 @@ var TemplateKind;
|
|
|
6289
6290
|
TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
|
|
6290
6291
|
})(TemplateKind || (TemplateKind = {}));
|
|
6291
6292
|
|
|
6292
|
-
// bazel-out/
|
|
6293
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
6293
6294
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
6294
6295
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
6295
6296
|
var ConsumesVarsTrait = Symbol("ConsumesVars");
|
|
@@ -6317,7 +6318,7 @@ function hasUsesVarOffsetTrait(expr) {
|
|
|
6317
6318
|
return expr[UsesVarOffset] === true;
|
|
6318
6319
|
}
|
|
6319
6320
|
|
|
6320
|
-
// bazel-out/
|
|
6321
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
6321
6322
|
function createStatementOp(statement) {
|
|
6322
6323
|
return __spreadValues({
|
|
6323
6324
|
kind: OpKind.Statement,
|
|
@@ -6339,7 +6340,7 @@ var NEW_OP = {
|
|
|
6339
6340
|
next: null
|
|
6340
6341
|
};
|
|
6341
6342
|
|
|
6342
|
-
// bazel-out/
|
|
6343
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
6343
6344
|
function createInterpolateTextOp(xref, interpolation, sourceSpan) {
|
|
6344
6345
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
6345
6346
|
kind: OpKind.InterpolateText,
|
|
@@ -6528,7 +6529,7 @@ function createStoreLetOp(target, declaredName, value, sourceSpan) {
|
|
|
6528
6529
|
}, TRAIT_DEPENDS_ON_SLOT_CONTEXT), TRAIT_CONSUMES_VARS), NEW_OP);
|
|
6529
6530
|
}
|
|
6530
6531
|
|
|
6531
|
-
// bazel-out/
|
|
6532
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
6532
6533
|
var _a;
|
|
6533
6534
|
var _b;
|
|
6534
6535
|
var _c;
|
|
@@ -7446,7 +7447,7 @@ function isStringLiteral(expr) {
|
|
|
7446
7447
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
7447
7448
|
}
|
|
7448
7449
|
|
|
7449
|
-
// bazel-out/
|
|
7450
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
7450
7451
|
var _OpList = class {
|
|
7451
7452
|
constructor() {
|
|
7452
7453
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -7637,14 +7638,14 @@ var OpList = _OpList;
|
|
|
7637
7638
|
_OpList.nextListId = 0;
|
|
7638
7639
|
})();
|
|
7639
7640
|
|
|
7640
|
-
// bazel-out/
|
|
7641
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
7641
7642
|
var SlotHandle = class {
|
|
7642
7643
|
constructor() {
|
|
7643
7644
|
this.slot = null;
|
|
7644
7645
|
}
|
|
7645
7646
|
};
|
|
7646
7647
|
|
|
7647
|
-
// bazel-out/
|
|
7648
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
7648
7649
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
7649
7650
|
OpKind.Element,
|
|
7650
7651
|
OpKind.ElementStart,
|
|
@@ -7957,7 +7958,7 @@ function createI18nAttributesOp(xref, handle, target) {
|
|
|
7957
7958
|
}, NEW_OP), TRAIT_CONSUMES_SLOT);
|
|
7958
7959
|
}
|
|
7959
7960
|
|
|
7960
|
-
// bazel-out/
|
|
7961
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
7961
7962
|
function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
|
|
7962
7963
|
return __spreadValues(__spreadValues({
|
|
7963
7964
|
kind: OpKind.HostProperty,
|
|
@@ -7971,10 +7972,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
|
|
|
7971
7972
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
7972
7973
|
}
|
|
7973
7974
|
|
|
7974
|
-
// bazel-out/
|
|
7975
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
7975
7976
|
var CTX_REF = "CTX_REF_MARKER";
|
|
7976
7977
|
|
|
7977
|
-
// bazel-out/
|
|
7978
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
7978
7979
|
var CompilationJobKind;
|
|
7979
7980
|
(function(CompilationJobKind2) {
|
|
7980
7981
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -8082,7 +8083,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
8082
8083
|
}
|
|
8083
8084
|
};
|
|
8084
8085
|
|
|
8085
|
-
// bazel-out/
|
|
8086
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
8086
8087
|
function deleteAnyCasts(job) {
|
|
8087
8088
|
for (const unit of job.units) {
|
|
8088
8089
|
for (const op of unit.ops()) {
|
|
@@ -8100,7 +8101,7 @@ function removeAnys(e) {
|
|
|
8100
8101
|
return e;
|
|
8101
8102
|
}
|
|
8102
8103
|
|
|
8103
|
-
// bazel-out/
|
|
8104
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
8104
8105
|
function applyI18nExpressions(job) {
|
|
8105
8106
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
8106
8107
|
for (const unit of job.units) {
|
|
@@ -8143,7 +8144,7 @@ function needsApplication(i18nContexts, op) {
|
|
|
8143
8144
|
return false;
|
|
8144
8145
|
}
|
|
8145
8146
|
|
|
8146
|
-
// bazel-out/
|
|
8147
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
8147
8148
|
function assignI18nSlotDependencies(job) {
|
|
8148
8149
|
for (const unit of job.units) {
|
|
8149
8150
|
let updateOp = unit.update.head;
|
|
@@ -8188,7 +8189,7 @@ function assignI18nSlotDependencies(job) {
|
|
|
8188
8189
|
}
|
|
8189
8190
|
}
|
|
8190
8191
|
|
|
8191
|
-
// bazel-out/
|
|
8192
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
8192
8193
|
function createOpXrefMap(unit) {
|
|
8193
8194
|
const map = /* @__PURE__ */ new Map();
|
|
8194
8195
|
for (const op of unit.create) {
|
|
@@ -8203,7 +8204,7 @@ function createOpXrefMap(unit) {
|
|
|
8203
8204
|
return map;
|
|
8204
8205
|
}
|
|
8205
8206
|
|
|
8206
|
-
// bazel-out/
|
|
8207
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
8207
8208
|
function extractAttributes(job) {
|
|
8208
8209
|
for (const unit of job.units) {
|
|
8209
8210
|
const elements = createOpXrefMap(unit);
|
|
@@ -8332,7 +8333,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
8332
8333
|
}
|
|
8333
8334
|
}
|
|
8334
8335
|
|
|
8335
|
-
// bazel-out/
|
|
8336
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
8336
8337
|
function lookupElement2(elements, xref) {
|
|
8337
8338
|
const el = elements.get(xref);
|
|
8338
8339
|
if (el === void 0) {
|
|
@@ -8389,7 +8390,7 @@ function specializeBindings(job) {
|
|
|
8389
8390
|
}
|
|
8390
8391
|
}
|
|
8391
8392
|
|
|
8392
|
-
// bazel-out/
|
|
8393
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
8393
8394
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
8394
8395
|
Identifiers.attribute,
|
|
8395
8396
|
Identifiers.classProp,
|
|
@@ -8461,7 +8462,7 @@ function chainOperationsInList(opList) {
|
|
|
8461
8462
|
}
|
|
8462
8463
|
}
|
|
8463
8464
|
|
|
8464
|
-
// bazel-out/
|
|
8465
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
8465
8466
|
function collapseSingletonInterpolations(job) {
|
|
8466
8467
|
for (const unit of job.units) {
|
|
8467
8468
|
for (const op of unit.update) {
|
|
@@ -8473,7 +8474,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
8473
8474
|
}
|
|
8474
8475
|
}
|
|
8475
8476
|
|
|
8476
|
-
// bazel-out/
|
|
8477
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
8477
8478
|
function generateConditionalExpressions(job) {
|
|
8478
8479
|
for (const unit of job.units) {
|
|
8479
8480
|
for (const op of unit.ops()) {
|
|
@@ -8510,7 +8511,7 @@ function generateConditionalExpressions(job) {
|
|
|
8510
8511
|
}
|
|
8511
8512
|
}
|
|
8512
8513
|
|
|
8513
|
-
// bazel-out/
|
|
8514
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
8514
8515
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
8515
8516
|
["&&", BinaryOperator.And],
|
|
8516
8517
|
[">", BinaryOperator.Bigger],
|
|
@@ -8567,7 +8568,7 @@ function literalOrArrayLiteral(value) {
|
|
|
8567
8568
|
return literal(value);
|
|
8568
8569
|
}
|
|
8569
8570
|
|
|
8570
|
-
// bazel-out/
|
|
8571
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
8571
8572
|
function collectElementConsts(job) {
|
|
8572
8573
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
8573
8574
|
for (const unit of job.units) {
|
|
@@ -8736,7 +8737,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
8736
8737
|
return literalArr(attrArray);
|
|
8737
8738
|
}
|
|
8738
8739
|
|
|
8739
|
-
// bazel-out/
|
|
8740
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
|
|
8740
8741
|
function convertI18nBindings(job) {
|
|
8741
8742
|
const i18nAttributesByElem = /* @__PURE__ */ new Map();
|
|
8742
8743
|
for (const unit of job.units) {
|
|
@@ -8777,7 +8778,7 @@ function convertI18nBindings(job) {
|
|
|
8777
8778
|
}
|
|
8778
8779
|
}
|
|
8779
8780
|
|
|
8780
|
-
// bazel-out/
|
|
8781
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
|
|
8781
8782
|
function resolveDeferDepsFns(job) {
|
|
8782
8783
|
var _a2;
|
|
8783
8784
|
for (const unit of job.units) {
|
|
@@ -8802,7 +8803,7 @@ function resolveDeferDepsFns(job) {
|
|
|
8802
8803
|
}
|
|
8803
8804
|
}
|
|
8804
8805
|
|
|
8805
|
-
// bazel-out/
|
|
8806
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
8806
8807
|
function createI18nContexts(job) {
|
|
8807
8808
|
const attrContextByMessage = /* @__PURE__ */ new Map();
|
|
8808
8809
|
for (const unit of job.units) {
|
|
@@ -8880,7 +8881,7 @@ function createI18nContexts(job) {
|
|
|
8880
8881
|
}
|
|
8881
8882
|
}
|
|
8882
8883
|
|
|
8883
|
-
// bazel-out/
|
|
8884
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
|
|
8884
8885
|
function deduplicateTextBindings(job) {
|
|
8885
8886
|
const seen = /* @__PURE__ */ new Map();
|
|
8886
8887
|
for (const unit of job.units) {
|
|
@@ -8902,7 +8903,7 @@ function deduplicateTextBindings(job) {
|
|
|
8902
8903
|
}
|
|
8903
8904
|
}
|
|
8904
8905
|
|
|
8905
|
-
// bazel-out/
|
|
8906
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
8906
8907
|
function configureDeferInstructions(job) {
|
|
8907
8908
|
for (const unit of job.units) {
|
|
8908
8909
|
for (const op of unit.create) {
|
|
@@ -8919,7 +8920,7 @@ function configureDeferInstructions(job) {
|
|
|
8919
8920
|
}
|
|
8920
8921
|
}
|
|
8921
8922
|
|
|
8922
|
-
// bazel-out/
|
|
8923
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
8923
8924
|
function resolveDeferTargetNames(job) {
|
|
8924
8925
|
const scopes = /* @__PURE__ */ new Map();
|
|
8925
8926
|
function getScopeForView2(view) {
|
|
@@ -9013,7 +9014,7 @@ var Scope = class {
|
|
|
9013
9014
|
}
|
|
9014
9015
|
};
|
|
9015
9016
|
|
|
9016
|
-
// bazel-out/
|
|
9017
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
9017
9018
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
9018
9019
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
9019
9020
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -9040,7 +9041,7 @@ function collapseEmptyInstructions(job) {
|
|
|
9040
9041
|
}
|
|
9041
9042
|
}
|
|
9042
9043
|
|
|
9043
|
-
// bazel-out/
|
|
9044
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
9044
9045
|
function expandSafeReads(job) {
|
|
9045
9046
|
for (const unit of job.units) {
|
|
9046
9047
|
for (const op of unit.ops()) {
|
|
@@ -9176,7 +9177,7 @@ function ternaryTransform(e) {
|
|
|
9176
9177
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
9177
9178
|
}
|
|
9178
9179
|
|
|
9179
|
-
// bazel-out/
|
|
9180
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
9180
9181
|
var ESCAPE = "\uFFFD";
|
|
9181
9182
|
var ELEMENT_MARKER = "#";
|
|
9182
9183
|
var TEMPLATE_MARKER = "*";
|
|
@@ -9312,7 +9313,7 @@ function formatValue(value) {
|
|
|
9312
9313
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
9313
9314
|
}
|
|
9314
9315
|
|
|
9315
|
-
// bazel-out/
|
|
9316
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
9316
9317
|
function generateAdvance(job) {
|
|
9317
9318
|
for (const unit of job.units) {
|
|
9318
9319
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -9355,7 +9356,7 @@ function generateAdvance(job) {
|
|
|
9355
9356
|
}
|
|
9356
9357
|
}
|
|
9357
9358
|
|
|
9358
|
-
// bazel-out/
|
|
9359
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
9359
9360
|
function generateProjectionDefs(job) {
|
|
9360
9361
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
9361
9362
|
const selectors = [];
|
|
@@ -9379,7 +9380,7 @@ function generateProjectionDefs(job) {
|
|
|
9379
9380
|
}
|
|
9380
9381
|
}
|
|
9381
9382
|
|
|
9382
|
-
// bazel-out/
|
|
9383
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
9383
9384
|
function generateVariables(job) {
|
|
9384
9385
|
recursivelyProcessView(job.root, null);
|
|
9385
9386
|
}
|
|
@@ -9497,7 +9498,7 @@ function generateVariablesInScopeForView(view, scope, isListener) {
|
|
|
9497
9498
|
return newOps;
|
|
9498
9499
|
}
|
|
9499
9500
|
|
|
9500
|
-
// bazel-out/
|
|
9501
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
9501
9502
|
function collectConstExpressions(job) {
|
|
9502
9503
|
for (const unit of job.units) {
|
|
9503
9504
|
for (const op of unit.ops()) {
|
|
@@ -9511,7 +9512,7 @@ function collectConstExpressions(job) {
|
|
|
9511
9512
|
}
|
|
9512
9513
|
}
|
|
9513
9514
|
|
|
9514
|
-
// bazel-out/
|
|
9515
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
9515
9516
|
var STYLE_DOT = "style.";
|
|
9516
9517
|
var CLASS_DOT = "class.";
|
|
9517
9518
|
var STYLE_BANG = "style!";
|
|
@@ -9569,7 +9570,7 @@ function parseProperty(name) {
|
|
|
9569
9570
|
return { property: property2, suffix };
|
|
9570
9571
|
}
|
|
9571
9572
|
|
|
9572
|
-
// bazel-out/
|
|
9573
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
9573
9574
|
function mapLiteral(obj, quoted = false) {
|
|
9574
9575
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
9575
9576
|
key,
|
|
@@ -9578,7 +9579,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
9578
9579
|
})));
|
|
9579
9580
|
}
|
|
9580
9581
|
|
|
9581
|
-
// bazel-out/
|
|
9582
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
9582
9583
|
var IcuSerializerVisitor = class {
|
|
9583
9584
|
visitText(text2) {
|
|
9584
9585
|
return text2.value;
|
|
@@ -9612,7 +9613,7 @@ function serializeIcuNode(icu) {
|
|
|
9612
9613
|
return icu.visit(serializer);
|
|
9613
9614
|
}
|
|
9614
9615
|
|
|
9615
|
-
// bazel-out/
|
|
9616
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
9616
9617
|
var TokenType;
|
|
9617
9618
|
(function(TokenType2) {
|
|
9618
9619
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -9973,7 +9974,7 @@ function parseIntAutoRadix(text2) {
|
|
|
9973
9974
|
return result;
|
|
9974
9975
|
}
|
|
9975
9976
|
|
|
9976
|
-
// bazel-out/
|
|
9977
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
9977
9978
|
var SplitInterpolation = class {
|
|
9978
9979
|
constructor(strings, expressions, offsets) {
|
|
9979
9980
|
this.strings = strings;
|
|
@@ -10857,7 +10858,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
10857
10858
|
return offsetMap;
|
|
10858
10859
|
}
|
|
10859
10860
|
|
|
10860
|
-
// bazel-out/
|
|
10861
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
10861
10862
|
var NodeWithI18n = class {
|
|
10862
10863
|
constructor(sourceSpan, i18n2) {
|
|
10863
10864
|
this.sourceSpan = sourceSpan;
|
|
@@ -11023,7 +11024,7 @@ var RecursiveVisitor = class {
|
|
|
11023
11024
|
}
|
|
11024
11025
|
};
|
|
11025
11026
|
|
|
11026
|
-
// bazel-out/
|
|
11027
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
11027
11028
|
var _SECURITY_SCHEMA;
|
|
11028
11029
|
function SECURITY_SCHEMA() {
|
|
11029
11030
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -11084,11 +11085,11 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
11084
11085
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
11085
11086
|
}
|
|
11086
11087
|
|
|
11087
|
-
// bazel-out/
|
|
11088
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
11088
11089
|
var ElementSchemaRegistry = class {
|
|
11089
11090
|
};
|
|
11090
11091
|
|
|
11091
|
-
// bazel-out/
|
|
11092
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
11092
11093
|
var BOOLEAN = "boolean";
|
|
11093
11094
|
var NUMBER = "number";
|
|
11094
11095
|
var STRING = "string";
|
|
@@ -11471,7 +11472,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
11471
11472
|
}
|
|
11472
11473
|
}
|
|
11473
11474
|
|
|
11474
|
-
// bazel-out/
|
|
11475
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
11475
11476
|
var HtmlTagDefinition = class {
|
|
11476
11477
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
11477
11478
|
this.closedByChildren = {};
|
|
@@ -11607,7 +11608,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
11607
11608
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
11608
11609
|
}
|
|
11609
11610
|
|
|
11610
|
-
// bazel-out/
|
|
11611
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
11611
11612
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
11612
11613
|
"A": "LINK",
|
|
11613
11614
|
"B": "BOLD_TEXT",
|
|
@@ -11729,7 +11730,7 @@ var PlaceholderRegistry = class {
|
|
|
11729
11730
|
}
|
|
11730
11731
|
};
|
|
11731
11732
|
|
|
11732
|
-
// bazel-out/
|
|
11733
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
11733
11734
|
var _expParser = new Parser(new Lexer());
|
|
11734
11735
|
function createI18nMessageFactory(interpolationConfig, containerBlocks) {
|
|
11735
11736
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
|
|
@@ -11911,14 +11912,14 @@ function extractPlaceholderName(input) {
|
|
|
11911
11912
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
11912
11913
|
}
|
|
11913
11914
|
|
|
11914
|
-
// bazel-out/
|
|
11915
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
11915
11916
|
var I18nError = class extends ParseError {
|
|
11916
11917
|
constructor(span, msg) {
|
|
11917
11918
|
super(span, msg);
|
|
11918
11919
|
}
|
|
11919
11920
|
};
|
|
11920
11921
|
|
|
11921
|
-
// bazel-out/
|
|
11922
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
11922
11923
|
var NAMED_ENTITIES = {
|
|
11923
11924
|
"AElig": "\xC6",
|
|
11924
11925
|
"AMP": "&",
|
|
@@ -14049,7 +14050,7 @@ var NAMED_ENTITIES = {
|
|
|
14049
14050
|
var NGSP_UNICODE = "\uE500";
|
|
14050
14051
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
14051
14052
|
|
|
14052
|
-
// bazel-out/
|
|
14053
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
14053
14054
|
var TokenError = class extends ParseError {
|
|
14054
14055
|
constructor(errorMsg, tokenType, span) {
|
|
14055
14056
|
super(span, errorMsg);
|
|
@@ -15039,7 +15040,7 @@ var CursorError = class {
|
|
|
15039
15040
|
}
|
|
15040
15041
|
};
|
|
15041
15042
|
|
|
15042
|
-
// bazel-out/
|
|
15043
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
15043
15044
|
var TreeError = class extends ParseError {
|
|
15044
15045
|
static create(elementName, span, msg) {
|
|
15045
15046
|
return new TreeError(elementName, span, msg);
|
|
@@ -15467,7 +15468,7 @@ function decodeEntity(match, entity) {
|
|
|
15467
15468
|
return match;
|
|
15468
15469
|
}
|
|
15469
15470
|
|
|
15470
|
-
// bazel-out/
|
|
15471
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
15471
15472
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
15472
15473
|
"iframe|srcdoc",
|
|
15473
15474
|
"*|innerhtml",
|
|
@@ -15482,7 +15483,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
15482
15483
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
15483
15484
|
}
|
|
15484
15485
|
|
|
15485
|
-
// bazel-out/
|
|
15486
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
15486
15487
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
15487
15488
|
if (htmlNode instanceof NodeWithI18n) {
|
|
15488
15489
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -15642,7 +15643,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
15642
15643
|
return jsDocComment(tags);
|
|
15643
15644
|
}
|
|
15644
15645
|
|
|
15645
|
-
// bazel-out/
|
|
15646
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
15646
15647
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
15647
15648
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
15648
15649
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -15693,7 +15694,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
15693
15694
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
15694
15695
|
}
|
|
15695
15696
|
|
|
15696
|
-
// bazel-out/
|
|
15697
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
15697
15698
|
function createLocalizeStatements(variable2, message, params) {
|
|
15698
15699
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
15699
15700
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -15782,7 +15783,7 @@ function createEmptyMessagePart(location) {
|
|
|
15782
15783
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
15783
15784
|
}
|
|
15784
15785
|
|
|
15785
|
-
// bazel-out/
|
|
15786
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
15786
15787
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
15787
15788
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
15788
15789
|
var I18N_ICU_MAPPING_PREFIX = "I18N_EXP_";
|
|
@@ -15953,7 +15954,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
15953
15954
|
return variable(name);
|
|
15954
15955
|
}
|
|
15955
15956
|
|
|
15956
|
-
// bazel-out/
|
|
15957
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
15957
15958
|
function convertI18nText(job) {
|
|
15958
15959
|
var _a2, _b2, _c2;
|
|
15959
15960
|
for (const unit of job.units) {
|
|
@@ -16023,7 +16024,7 @@ function convertI18nText(job) {
|
|
|
16023
16024
|
}
|
|
16024
16025
|
}
|
|
16025
16026
|
|
|
16026
|
-
// bazel-out/
|
|
16027
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
16027
16028
|
function liftLocalRefs(job) {
|
|
16028
16029
|
for (const unit of job.units) {
|
|
16029
16030
|
for (const op of unit.create) {
|
|
@@ -16053,7 +16054,7 @@ function serializeLocalRefs(refs) {
|
|
|
16053
16054
|
return literalArr(constRefs);
|
|
16054
16055
|
}
|
|
16055
16056
|
|
|
16056
|
-
// bazel-out/
|
|
16057
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
16057
16058
|
function emitNamespaceChanges(job) {
|
|
16058
16059
|
for (const unit of job.units) {
|
|
16059
16060
|
let activeNamespace = Namespace.HTML;
|
|
@@ -16069,7 +16070,7 @@ function emitNamespaceChanges(job) {
|
|
|
16069
16070
|
}
|
|
16070
16071
|
}
|
|
16071
16072
|
|
|
16072
|
-
// bazel-out/
|
|
16073
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
16073
16074
|
function parse(value) {
|
|
16074
16075
|
const styles = [];
|
|
16075
16076
|
let i = 0;
|
|
@@ -16163,7 +16164,7 @@ function parseExtractedStyles(job) {
|
|
|
16163
16164
|
}
|
|
16164
16165
|
}
|
|
16165
16166
|
|
|
16166
|
-
// bazel-out/
|
|
16167
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
16167
16168
|
function nameFunctionsAndVariables(job) {
|
|
16168
16169
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
16169
16170
|
}
|
|
@@ -16307,7 +16308,7 @@ function stripImportant(name) {
|
|
|
16307
16308
|
return name;
|
|
16308
16309
|
}
|
|
16309
16310
|
|
|
16310
|
-
// bazel-out/
|
|
16311
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
16311
16312
|
function mergeNextContextExpressions(job) {
|
|
16312
16313
|
for (const unit of job.units) {
|
|
16313
16314
|
for (const op of unit.create) {
|
|
@@ -16354,7 +16355,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
16354
16355
|
}
|
|
16355
16356
|
}
|
|
16356
16357
|
|
|
16357
|
-
// bazel-out/
|
|
16358
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
16358
16359
|
var CONTAINER_TAG = "ng-container";
|
|
16359
16360
|
function generateNgContainerOps(job) {
|
|
16360
16361
|
for (const unit of job.units) {
|
|
@@ -16371,7 +16372,7 @@ function generateNgContainerOps(job) {
|
|
|
16371
16372
|
}
|
|
16372
16373
|
}
|
|
16373
16374
|
|
|
16374
|
-
// bazel-out/
|
|
16375
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
16375
16376
|
function lookupElement3(elements, xref) {
|
|
16376
16377
|
const el = elements.get(xref);
|
|
16377
16378
|
if (el === void 0) {
|
|
@@ -16401,7 +16402,7 @@ function disableBindings(job) {
|
|
|
16401
16402
|
}
|
|
16402
16403
|
}
|
|
16403
16404
|
|
|
16404
|
-
// bazel-out/
|
|
16405
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
16405
16406
|
function generateNullishCoalesceExpressions(job) {
|
|
16406
16407
|
for (const unit of job.units) {
|
|
16407
16408
|
for (const op of unit.ops()) {
|
|
@@ -16417,7 +16418,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
16417
16418
|
}
|
|
16418
16419
|
}
|
|
16419
16420
|
|
|
16420
|
-
// bazel-out/
|
|
16421
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
16421
16422
|
function kindTest(kind) {
|
|
16422
16423
|
return (op) => op.kind === kind;
|
|
16423
16424
|
}
|
|
@@ -16507,7 +16508,7 @@ function keepLast(ops) {
|
|
|
16507
16508
|
return ops.slice(ops.length - 1);
|
|
16508
16509
|
}
|
|
16509
16510
|
|
|
16510
|
-
// bazel-out/
|
|
16511
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
16511
16512
|
function removeContentSelectors(job) {
|
|
16512
16513
|
for (const unit of job.units) {
|
|
16513
16514
|
const elements = createOpXrefMap(unit);
|
|
@@ -16534,7 +16535,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
16534
16535
|
return el;
|
|
16535
16536
|
}
|
|
16536
16537
|
|
|
16537
|
-
// bazel-out/
|
|
16538
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
16538
16539
|
function createPipes(job) {
|
|
16539
16540
|
for (const unit of job.units) {
|
|
16540
16541
|
processPipeBindingsInView(unit);
|
|
@@ -16582,7 +16583,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
16582
16583
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
16583
16584
|
}
|
|
16584
16585
|
|
|
16585
|
-
// bazel-out/
|
|
16586
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
16586
16587
|
function createVariadicPipes(job) {
|
|
16587
16588
|
for (const unit of job.units) {
|
|
16588
16589
|
for (const op of unit.update) {
|
|
@@ -16599,7 +16600,7 @@ function createVariadicPipes(job) {
|
|
|
16599
16600
|
}
|
|
16600
16601
|
}
|
|
16601
16602
|
|
|
16602
|
-
// bazel-out/
|
|
16603
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
16603
16604
|
function propagateI18nBlocks(job) {
|
|
16604
16605
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
16605
16606
|
}
|
|
@@ -16653,7 +16654,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
16653
16654
|
}
|
|
16654
16655
|
}
|
|
16655
16656
|
|
|
16656
|
-
// bazel-out/
|
|
16657
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
16657
16658
|
function extractPureFunctions(job) {
|
|
16658
16659
|
for (const view of job.units) {
|
|
16659
16660
|
for (const op of view.ops()) {
|
|
@@ -16695,7 +16696,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
16695
16696
|
}
|
|
16696
16697
|
};
|
|
16697
16698
|
|
|
16698
|
-
// bazel-out/
|
|
16699
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
16699
16700
|
function generatePureLiteralStructures(job) {
|
|
16700
16701
|
for (const unit of job.units) {
|
|
16701
16702
|
for (const op of unit.update) {
|
|
@@ -16742,7 +16743,7 @@ function transformLiteralMap(expr) {
|
|
|
16742
16743
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
16743
16744
|
}
|
|
16744
16745
|
|
|
16745
|
-
// bazel-out/
|
|
16746
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
16746
16747
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
16747
16748
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
16748
16749
|
}
|
|
@@ -17274,7 +17275,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
17274
17275
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
17275
17276
|
}
|
|
17276
17277
|
|
|
17277
|
-
// bazel-out/
|
|
17278
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
17278
17279
|
var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
|
|
17279
17280
|
["window", Identifiers.resolveWindow],
|
|
17280
17281
|
["document", Identifiers.resolveDocument],
|
|
@@ -17639,7 +17640,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
17639
17640
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
17640
17641
|
}
|
|
17641
17642
|
|
|
17642
|
-
// bazel-out/
|
|
17643
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
17643
17644
|
function removeEmptyBindings(job) {
|
|
17644
17645
|
for (const unit of job.units) {
|
|
17645
17646
|
for (const op of unit.update) {
|
|
@@ -17660,7 +17661,7 @@ function removeEmptyBindings(job) {
|
|
|
17660
17661
|
}
|
|
17661
17662
|
}
|
|
17662
17663
|
|
|
17663
|
-
// bazel-out/
|
|
17664
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
17664
17665
|
function removeI18nContexts(job) {
|
|
17665
17666
|
for (const unit of job.units) {
|
|
17666
17667
|
for (const op of unit.create) {
|
|
@@ -17676,7 +17677,7 @@ function removeI18nContexts(job) {
|
|
|
17676
17677
|
}
|
|
17677
17678
|
}
|
|
17678
17679
|
|
|
17679
|
-
// bazel-out/
|
|
17680
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
|
|
17680
17681
|
function removeUnusedI18nAttributesOps(job) {
|
|
17681
17682
|
for (const unit of job.units) {
|
|
17682
17683
|
const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
|
|
@@ -17698,7 +17699,7 @@ function removeUnusedI18nAttributesOps(job) {
|
|
|
17698
17699
|
}
|
|
17699
17700
|
}
|
|
17700
17701
|
|
|
17701
|
-
// bazel-out/
|
|
17702
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
17702
17703
|
function resolveContexts(job) {
|
|
17703
17704
|
for (const unit of job.units) {
|
|
17704
17705
|
processLexicalScope(unit, unit.create);
|
|
@@ -17740,7 +17741,7 @@ function processLexicalScope(view, ops) {
|
|
|
17740
17741
|
}
|
|
17741
17742
|
}
|
|
17742
17743
|
|
|
17743
|
-
// bazel-out/
|
|
17744
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
17744
17745
|
function resolveDollarEvent(job) {
|
|
17745
17746
|
for (const unit of job.units) {
|
|
17746
17747
|
transformDollarEvent(unit.create);
|
|
@@ -17763,7 +17764,7 @@ function transformDollarEvent(ops) {
|
|
|
17763
17764
|
}
|
|
17764
17765
|
}
|
|
17765
17766
|
|
|
17766
|
-
// bazel-out/
|
|
17767
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
17767
17768
|
function resolveI18nElementPlaceholders(job) {
|
|
17768
17769
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
17769
17770
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -17942,7 +17943,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
17942
17943
|
params.set(placeholder, values);
|
|
17943
17944
|
}
|
|
17944
17945
|
|
|
17945
|
-
// bazel-out/
|
|
17946
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
17946
17947
|
function resolveI18nExpressionPlaceholders(job) {
|
|
17947
17948
|
var _a2;
|
|
17948
17949
|
const subTemplateIndices = /* @__PURE__ */ new Map();
|
|
@@ -17995,7 +17996,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
|
|
|
17995
17996
|
}
|
|
17996
17997
|
}
|
|
17997
17998
|
|
|
17998
|
-
// bazel-out/
|
|
17999
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
17999
18000
|
function resolveNames(job) {
|
|
18000
18001
|
for (const unit of job.units) {
|
|
18001
18002
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -18073,7 +18074,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
18073
18074
|
}
|
|
18074
18075
|
}
|
|
18075
18076
|
|
|
18076
|
-
// bazel-out/
|
|
18077
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
18077
18078
|
var sanitizerFns = /* @__PURE__ */ new Map([
|
|
18078
18079
|
[SecurityContext.HTML, Identifiers.sanitizeHtml],
|
|
18079
18080
|
[SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
|
|
@@ -18143,7 +18144,7 @@ function getOnlySecurityContext(securityContext) {
|
|
|
18143
18144
|
return securityContext;
|
|
18144
18145
|
}
|
|
18145
18146
|
|
|
18146
|
-
// bazel-out/
|
|
18147
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
|
|
18147
18148
|
function transformTwoWayBindingSet(job) {
|
|
18148
18149
|
for (const unit of job.units) {
|
|
18149
18150
|
for (const op of unit.create) {
|
|
@@ -18166,7 +18167,7 @@ function transformTwoWayBindingSet(job) {
|
|
|
18166
18167
|
}
|
|
18167
18168
|
}
|
|
18168
18169
|
|
|
18169
|
-
// bazel-out/
|
|
18170
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
18170
18171
|
function saveAndRestoreView(job) {
|
|
18171
18172
|
for (const unit of job.units) {
|
|
18172
18173
|
unit.create.prepend([
|
|
@@ -18211,7 +18212,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
18211
18212
|
}
|
|
18212
18213
|
}
|
|
18213
18214
|
|
|
18214
|
-
// bazel-out/
|
|
18215
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
18215
18216
|
function allocateSlots(job) {
|
|
18216
18217
|
const slotMap = /* @__PURE__ */ new Map();
|
|
18217
18218
|
for (const unit of job.units) {
|
|
@@ -18236,7 +18237,7 @@ function allocateSlots(job) {
|
|
|
18236
18237
|
}
|
|
18237
18238
|
}
|
|
18238
18239
|
|
|
18239
|
-
// bazel-out/
|
|
18240
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
18240
18241
|
function specializeStyleBindings(job) {
|
|
18241
18242
|
for (const unit of job.units) {
|
|
18242
18243
|
for (const op of unit.update) {
|
|
@@ -18266,7 +18267,7 @@ function specializeStyleBindings(job) {
|
|
|
18266
18267
|
}
|
|
18267
18268
|
}
|
|
18268
18269
|
|
|
18269
|
-
// bazel-out/
|
|
18270
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
18270
18271
|
function generateTemporaryVariables(job) {
|
|
18271
18272
|
for (const unit of job.units) {
|
|
18272
18273
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -18324,7 +18325,7 @@ function assignName(names, expr) {
|
|
|
18324
18325
|
expr.name = name;
|
|
18325
18326
|
}
|
|
18326
18327
|
|
|
18327
|
-
// bazel-out/
|
|
18328
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
18328
18329
|
function generateTrackFns(job) {
|
|
18329
18330
|
for (const unit of job.units) {
|
|
18330
18331
|
for (const op of unit.create) {
|
|
@@ -18357,7 +18358,7 @@ function generateTrackFns(job) {
|
|
|
18357
18358
|
}
|
|
18358
18359
|
}
|
|
18359
18360
|
|
|
18360
|
-
// bazel-out/
|
|
18361
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
18361
18362
|
function optimizeTrackFns(job) {
|
|
18362
18363
|
for (const unit of job.units) {
|
|
18363
18364
|
for (const op of unit.create) {
|
|
@@ -18407,7 +18408,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
18407
18408
|
return true;
|
|
18408
18409
|
}
|
|
18409
18410
|
|
|
18410
|
-
// bazel-out/
|
|
18411
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
18411
18412
|
function generateTrackVariables(job) {
|
|
18412
18413
|
for (const unit of job.units) {
|
|
18413
18414
|
for (const op of unit.create) {
|
|
@@ -18428,7 +18429,7 @@ function generateTrackVariables(job) {
|
|
|
18428
18429
|
}
|
|
18429
18430
|
}
|
|
18430
18431
|
|
|
18431
|
-
// bazel-out/
|
|
18432
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
18432
18433
|
function countVariables(job) {
|
|
18433
18434
|
for (const unit of job.units) {
|
|
18434
18435
|
let varCount = 0;
|
|
@@ -18541,7 +18542,7 @@ function isSingletonInterpolation(expr) {
|
|
|
18541
18542
|
return true;
|
|
18542
18543
|
}
|
|
18543
18544
|
|
|
18544
|
-
// bazel-out/
|
|
18545
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
18545
18546
|
function optimizeVariables(job) {
|
|
18546
18547
|
for (const unit of job.units) {
|
|
18547
18548
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -18793,7 +18794,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
18793
18794
|
}
|
|
18794
18795
|
}
|
|
18795
18796
|
|
|
18796
|
-
// bazel-out/
|
|
18797
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
18797
18798
|
function wrapI18nIcus(job) {
|
|
18798
18799
|
for (const unit of job.units) {
|
|
18799
18800
|
let currentI18nOp = null;
|
|
@@ -18823,7 +18824,7 @@ function wrapI18nIcus(job) {
|
|
|
18823
18824
|
}
|
|
18824
18825
|
}
|
|
18825
18826
|
|
|
18826
|
-
// bazel-out/
|
|
18827
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/store_let_optimization.mjs
|
|
18827
18828
|
function optimizeStoreLet(job) {
|
|
18828
18829
|
const letUsedExternally = /* @__PURE__ */ new Set();
|
|
18829
18830
|
for (const unit of job.units) {
|
|
@@ -18842,7 +18843,7 @@ function optimizeStoreLet(job) {
|
|
|
18842
18843
|
}
|
|
18843
18844
|
}
|
|
18844
18845
|
|
|
18845
|
-
// bazel-out/
|
|
18846
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_illegal_let_references.mjs
|
|
18846
18847
|
function removeIllegalLetReferences(job) {
|
|
18847
18848
|
for (const unit of job.units) {
|
|
18848
18849
|
for (const op of unit.update) {
|
|
@@ -18859,7 +18860,7 @@ function removeIllegalLetReferences(job) {
|
|
|
18859
18860
|
}
|
|
18860
18861
|
}
|
|
18861
18862
|
|
|
18862
|
-
// bazel-out/
|
|
18863
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_local_let_references.mjs
|
|
18863
18864
|
function generateLocalLetReferences(job) {
|
|
18864
18865
|
for (const unit of job.units) {
|
|
18865
18866
|
for (const op of unit.update) {
|
|
@@ -18877,7 +18878,7 @@ function generateLocalLetReferences(job) {
|
|
|
18877
18878
|
}
|
|
18878
18879
|
}
|
|
18879
18880
|
|
|
18880
|
-
// bazel-out/
|
|
18881
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
18881
18882
|
var phases = [
|
|
18882
18883
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
18883
18884
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -19034,7 +19035,7 @@ function emitHostBindingFunction(job) {
|
|
|
19034
19035
|
);
|
|
19035
19036
|
}
|
|
19036
19037
|
|
|
19037
|
-
// bazel-out/
|
|
19038
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
19038
19039
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
19039
19040
|
var domSchema = new DomElementSchemaRegistry();
|
|
19040
19041
|
var NG_TEMPLATE_TAG_NAME = "ng-template";
|
|
@@ -19792,7 +19793,7 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
19792
19793
|
return null;
|
|
19793
19794
|
}
|
|
19794
19795
|
|
|
19795
|
-
// bazel-out/
|
|
19796
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
|
|
19796
19797
|
function renderFlagCheckIfStmt(flags, statements) {
|
|
19797
19798
|
return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
|
|
19798
19799
|
}
|
|
@@ -19912,7 +19913,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
|
|
|
19912
19913
|
], INFERRED_TYPE, null, contentQueriesFnName);
|
|
19913
19914
|
}
|
|
19914
19915
|
|
|
19915
|
-
// bazel-out/
|
|
19916
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
19916
19917
|
var HtmlParser = class extends Parser2 {
|
|
19917
19918
|
constructor() {
|
|
19918
19919
|
super(getHtmlTagDefinition);
|
|
@@ -19922,7 +19923,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
19922
19923
|
}
|
|
19923
19924
|
};
|
|
19924
19925
|
|
|
19925
|
-
// bazel-out/
|
|
19926
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
19926
19927
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
19927
19928
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
19928
19929
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -19991,7 +19992,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
19991
19992
|
return result;
|
|
19992
19993
|
}
|
|
19993
19994
|
|
|
19994
|
-
// bazel-out/
|
|
19995
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
19995
19996
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
19996
19997
|
var ATTRIBUTE_PREFIX = "attr";
|
|
19997
19998
|
var CLASS_PREFIX = "class";
|
|
@@ -20345,7 +20346,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
20345
20346
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
20346
20347
|
}
|
|
20347
20348
|
|
|
20348
|
-
// bazel-out/
|
|
20349
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
20349
20350
|
function isStyleUrlResolvable(url) {
|
|
20350
20351
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
20351
20352
|
return false;
|
|
@@ -20354,7 +20355,7 @@ function isStyleUrlResolvable(url) {
|
|
|
20354
20355
|
}
|
|
20355
20356
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
20356
20357
|
|
|
20357
|
-
// bazel-out/
|
|
20358
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
20358
20359
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
20359
20360
|
var LINK_ELEMENT = "link";
|
|
20360
20361
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -20424,7 +20425,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
20424
20425
|
return selectAttr;
|
|
20425
20426
|
}
|
|
20426
20427
|
|
|
20427
|
-
// bazel-out/
|
|
20428
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
20428
20429
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
20429
20430
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
20430
20431
|
var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
|
|
@@ -20747,7 +20748,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
20747
20748
|
return expression.slice(start, end);
|
|
20748
20749
|
}
|
|
20749
20750
|
|
|
20750
|
-
// bazel-out/
|
|
20751
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
20751
20752
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
20752
20753
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
20753
20754
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -21011,7 +21012,7 @@ function parseDeferredTime(value) {
|
|
|
21011
21012
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
21012
21013
|
}
|
|
21013
21014
|
|
|
21014
|
-
// bazel-out/
|
|
21015
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
21015
21016
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
21016
21017
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
21017
21018
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -21146,7 +21147,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
21146
21147
|
return { triggers, prefetchTriggers };
|
|
21147
21148
|
}
|
|
21148
21149
|
|
|
21149
|
-
// bazel-out/
|
|
21150
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
21150
21151
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
21151
21152
|
var KW_BIND_IDX = 1;
|
|
21152
21153
|
var KW_LET_IDX = 2;
|
|
@@ -21613,7 +21614,7 @@ function textContents(node) {
|
|
|
21613
21614
|
}
|
|
21614
21615
|
}
|
|
21615
21616
|
|
|
21616
|
-
// bazel-out/
|
|
21617
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
21617
21618
|
var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
|
|
21618
21619
|
function parseTemplate(template2, templateUrl, options = {}) {
|
|
21619
21620
|
var _a2, _b2;
|
|
@@ -21692,7 +21693,7 @@ function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, a
|
|
|
21692
21693
|
return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, [], allowInvalidAssignmentEvents);
|
|
21693
21694
|
}
|
|
21694
21695
|
|
|
21695
|
-
// bazel-out/
|
|
21696
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
21696
21697
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
21697
21698
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
21698
21699
|
var CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
|
|
@@ -22059,7 +22060,7 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
22059
22060
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
22060
22061
|
}
|
|
22061
22062
|
|
|
22062
|
-
// bazel-out/
|
|
22063
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
22063
22064
|
var R3TargetBinder = class {
|
|
22064
22065
|
constructor(directiveMatcher) {
|
|
22065
22066
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -22706,11 +22707,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
22706
22707
|
return templateEntities;
|
|
22707
22708
|
}
|
|
22708
22709
|
|
|
22709
|
-
// bazel-out/
|
|
22710
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
22710
22711
|
var ResourceLoader = class {
|
|
22711
22712
|
};
|
|
22712
22713
|
|
|
22713
|
-
// bazel-out/
|
|
22714
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
22714
22715
|
var CompilerFacadeImpl = class {
|
|
22715
22716
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
22716
22717
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -23288,17 +23289,17 @@ function publishFacade(global) {
|
|
|
23288
23289
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
23289
23290
|
}
|
|
23290
23291
|
|
|
23291
|
-
// bazel-out/
|
|
23292
|
-
var VERSION2 = new Version("18.1.
|
|
23292
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
|
|
23293
|
+
var VERSION2 = new Version("18.1.4");
|
|
23293
23294
|
|
|
23294
|
-
// bazel-out/
|
|
23295
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
23295
23296
|
var _VisitorMode;
|
|
23296
23297
|
(function(_VisitorMode2) {
|
|
23297
23298
|
_VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
|
|
23298
23299
|
_VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
|
|
23299
23300
|
})(_VisitorMode || (_VisitorMode = {}));
|
|
23300
23301
|
|
|
23301
|
-
// bazel-out/
|
|
23302
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
23302
23303
|
var XmlTagDefinition = class {
|
|
23303
23304
|
constructor() {
|
|
23304
23305
|
this.closedByParent = false;
|
|
@@ -23320,7 +23321,7 @@ var XmlTagDefinition = class {
|
|
|
23320
23321
|
};
|
|
23321
23322
|
var _TAG_DEFINITION = new XmlTagDefinition();
|
|
23322
23323
|
|
|
23323
|
-
// bazel-out/
|
|
23324
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
23324
23325
|
var FactoryTarget2;
|
|
23325
23326
|
(function(FactoryTarget3) {
|
|
23326
23327
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -23330,10 +23331,10 @@ var FactoryTarget2;
|
|
|
23330
23331
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
23331
23332
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
23332
23333
|
|
|
23333
|
-
// bazel-out/
|
|
23334
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
23334
23335
|
publishFacade(_global);
|
|
23335
23336
|
|
|
23336
|
-
// bazel-out/
|
|
23337
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/identifier-lookup.mjs
|
|
23337
23338
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
23338
23339
|
function lookupIdentifiersInSourceFile(sourceFile, names) {
|
|
23339
23340
|
const results = /* @__PURE__ */ new Set();
|
|
@@ -23347,7 +23348,7 @@ function lookupIdentifiersInSourceFile(sourceFile, names) {
|
|
|
23347
23348
|
return results;
|
|
23348
23349
|
}
|
|
23349
23350
|
|
|
23350
|
-
// bazel-out/
|
|
23351
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/types.mjs
|
|
23351
23352
|
var ngtemplate = "ng-template";
|
|
23352
23353
|
var boundngifelse = "[ngIfElse]";
|
|
23353
23354
|
var boundngifthenelse = "[ngIfThenElse]";
|
|
@@ -23691,7 +23692,7 @@ var TemplateCollector = class extends RecursiveVisitor {
|
|
|
23691
23692
|
}
|
|
23692
23693
|
};
|
|
23693
23694
|
|
|
23694
|
-
// bazel-out/
|
|
23695
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/util.mjs
|
|
23695
23696
|
var import_path2 = require("path");
|
|
23696
23697
|
var import_typescript6 = __toESM(require("typescript"), 1);
|
|
23697
23698
|
var startMarkerRegex = new RegExp(startMarker, "gm");
|
|
@@ -24211,7 +24212,7 @@ function forEachClass(sourceFile, callback) {
|
|
|
24211
24212
|
});
|
|
24212
24213
|
}
|
|
24213
24214
|
|
|
24214
|
-
// bazel-out/
|
|
24215
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/cases.mjs
|
|
24215
24216
|
var boundcase = "[ngSwitchCase]";
|
|
24216
24217
|
var switchcase = "*ngSwitchCase";
|
|
24217
24218
|
var nakedcase = "ngSwitchCase";
|
|
@@ -24283,7 +24284,7 @@ function migrateNgSwitchDefault(etm, tmpl, offset) {
|
|
|
24283
24284
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
24284
24285
|
}
|
|
24285
24286
|
|
|
24286
|
-
// bazel-out/
|
|
24287
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/fors.mjs
|
|
24287
24288
|
var ngfor = "*ngFor";
|
|
24288
24289
|
var nakedngfor2 = "ngFor";
|
|
24289
24290
|
var fors = [ngfor, nakedngfor2];
|
|
@@ -24462,7 +24463,7 @@ function getNgForParts(expression) {
|
|
|
24462
24463
|
return parts;
|
|
24463
24464
|
}
|
|
24464
24465
|
|
|
24465
|
-
// bazel-out/
|
|
24466
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/ifs.mjs
|
|
24466
24467
|
var ngif = "*ngIf";
|
|
24467
24468
|
var boundngif = "[ngIf]";
|
|
24468
24469
|
var nakedngif = "ngIf";
|
|
@@ -24611,7 +24612,7 @@ function buildIfThenBlock(etm, tmpl, condition, thenPlaceholder, offset) {
|
|
|
24611
24612
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
24612
24613
|
}
|
|
24613
24614
|
|
|
24614
|
-
// bazel-out/
|
|
24615
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/switches.mjs
|
|
24615
24616
|
var ngswitch = "[ngSwitch]";
|
|
24616
24617
|
var switches = [ngswitch];
|
|
24617
24618
|
function migrateSwitch(template2) {
|
|
@@ -24677,7 +24678,7 @@ function migrateNgSwitch(etm, tmpl, offset) {
|
|
|
24677
24678
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
24678
24679
|
}
|
|
24679
24680
|
|
|
24680
|
-
// bazel-out/
|
|
24681
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/migration.mjs
|
|
24681
24682
|
function migrateTemplate(template2, templateType, node, file, format = true, analyzedFiles) {
|
|
24682
24683
|
let errors = [];
|
|
24683
24684
|
let migrated = template2;
|
|
@@ -24728,7 +24729,7 @@ function migrateTemplate(template2, templateType, node, file, format = true, ana
|
|
|
24728
24729
|
return { migrated, errors };
|
|
24729
24730
|
}
|
|
24730
24731
|
|
|
24731
|
-
// bazel-out/
|
|
24732
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/index.mjs
|
|
24732
24733
|
function control_flow_migration_default(options) {
|
|
24733
24734
|
return (tree, context) => __async(this, null, function* () {
|
|
24734
24735
|
const basePath = process.cwd();
|