@angular/core 18.0.0-next.2 → 18.0.0-next.3
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/rxjs-interop/src/to_signal.mjs +2 -2
- package/esm2022/src/application/application_init.mjs +2 -2
- package/esm2022/src/application/application_ref.mjs +10 -15
- package/esm2022/src/application/application_tokens.mjs +3 -3
- package/esm2022/src/change_detection/scheduling/ng_zone_scheduling.mjs +20 -3
- package/esm2022/src/change_detection/scheduling/zoneless_scheduling_impl.mjs +7 -6
- package/esm2022/src/core_private_export.mjs +3 -3
- package/esm2022/src/defer/instructions.mjs +2 -2
- package/esm2022/src/di/interface/provider.mjs +1 -1
- package/esm2022/src/di/metadata.mjs +1 -1
- package/esm2022/src/hydration/annotate.mjs +35 -49
- package/esm2022/src/hydration/api.mjs +36 -13
- package/esm2022/src/hydration/cleanup.mjs +4 -18
- package/esm2022/src/hydration/i18n.mjs +378 -0
- package/esm2022/src/hydration/interfaces.mjs +2 -1
- package/esm2022/src/hydration/node_lookup_utils.mjs +24 -10
- package/esm2022/src/hydration/utils.mjs +61 -2
- package/esm2022/src/linker/component_factory.mjs +1 -1
- package/esm2022/src/linker/view_container_ref.mjs +2 -2
- package/esm2022/src/linker/view_ref.mjs +4 -4
- package/esm2022/src/metadata/directives.mjs +1 -1
- package/esm2022/src/metadata/ng_module.mjs +1 -1
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/render3/i18n/i18n_apply.mjs +28 -6
- package/esm2022/src/render3/i18n/i18n_parse.mjs +2 -5
- package/esm2022/src/render3/i18n/i18n_util.mjs +6 -1
- package/esm2022/src/render3/instructions/i18n.mjs +3 -1
- package/esm2022/src/render3/util/injector_discovery_utils.mjs +12 -8
- package/esm2022/src/render3/util/view_utils.mjs +4 -14
- package/esm2022/src/util/callback_scheduler.mjs +23 -33
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/src/zone/ng_zone.mjs +3 -3
- package/esm2022/testing/src/component_fixture.mjs +2 -2
- package/esm2022/testing/src/fake_async.mjs +6 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/esm2022/testing/src/private_export.mjs +9 -0
- package/esm2022/testing/src/test_hooks.mjs +3 -3
- package/esm2022/testing/src/testing.mjs +3 -2
- package/fesm2022/core.mjs +1124 -688
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +2 -2
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +41 -36
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +80 -33
- package/package.json +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +2 -2
- package/schematics/migrations/block-template-entities/bundle.js +157 -157
- package/schematics/migrations/block-template-entities/bundle.js.map +1 -1
- package/schematics/migrations/compiler-options/bundle.js +13 -13
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +158 -158
- package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +1 -1
- package/schematics/migrations/transfer-state/bundle.js +13 -13
- package/schematics/ng-generate/control-flow-migration/bundle.js +189 -177
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +3 -3
- package/schematics/ng-generate/standalone-migration/bundle.js +450 -467
- package/schematics/ng-generate/standalone-migration/bundle.js.map +2 -2
- package/testing/index.d.ts +7 -1
- package/esm2022/src/change_detection/flags.mjs +0 -17
|
@@ -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
|
};
|
|
@@ -2548,7 +2548,7 @@ var Identifiers = _Identifiers;
|
|
|
2548
2548
|
_Identifiers.unwrapWritableSignal = { name: "\u0275unwrapWritableSignal", moduleName: CORE };
|
|
2549
2549
|
})();
|
|
2550
2550
|
|
|
2551
|
-
// bazel-out/
|
|
2551
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
|
|
2552
2552
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
2553
2553
|
function dashCaseToCamelCase(input) {
|
|
2554
2554
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -2625,7 +2625,7 @@ var Version = class {
|
|
|
2625
2625
|
};
|
|
2626
2626
|
var _global = globalThis;
|
|
2627
2627
|
|
|
2628
|
-
// bazel-out/
|
|
2628
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
2629
2629
|
var VERSION = 3;
|
|
2630
2630
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
2631
2631
|
var SourceMapGenerator = class {
|
|
@@ -2754,7 +2754,7 @@ function toBase64Digit(value) {
|
|
|
2754
2754
|
return B64_DIGITS[value];
|
|
2755
2755
|
}
|
|
2756
2756
|
|
|
2757
|
-
// bazel-out/
|
|
2757
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
2758
2758
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
2759
2759
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
2760
2760
|
var _INDENT_WITH = " ";
|
|
@@ -3242,7 +3242,7 @@ function _createIndent(count) {
|
|
|
3242
3242
|
return res;
|
|
3243
3243
|
}
|
|
3244
3244
|
|
|
3245
|
-
// bazel-out/
|
|
3245
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
3246
3246
|
function typeWithParameters(type, numParams) {
|
|
3247
3247
|
if (numParams === 0) {
|
|
3248
3248
|
return expressionType(type);
|
|
@@ -3297,7 +3297,7 @@ function generateForwardRef(expr) {
|
|
|
3297
3297
|
return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
|
|
3298
3298
|
}
|
|
3299
3299
|
|
|
3300
|
-
// bazel-out/
|
|
3300
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
3301
3301
|
var R3FactoryDelegateType;
|
|
3302
3302
|
(function(R3FactoryDelegateType2) {
|
|
3303
3303
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -3442,7 +3442,7 @@ function getInjectFn(target) {
|
|
|
3442
3442
|
}
|
|
3443
3443
|
}
|
|
3444
3444
|
|
|
3445
|
-
// bazel-out/
|
|
3445
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
3446
3446
|
var ParserError = class {
|
|
3447
3447
|
constructor(message, input, errLocation, ctxLocation) {
|
|
3448
3448
|
this.input = input;
|
|
@@ -3880,7 +3880,7 @@ var BoundElementProperty = class {
|
|
|
3880
3880
|
}
|
|
3881
3881
|
};
|
|
3882
3882
|
|
|
3883
|
-
// bazel-out/
|
|
3883
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
3884
3884
|
var TagContentType;
|
|
3885
3885
|
(function(TagContentType2) {
|
|
3886
3886
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -3917,7 +3917,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
3917
3917
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
3918
3918
|
}
|
|
3919
3919
|
|
|
3920
|
-
// bazel-out/
|
|
3920
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
3921
3921
|
var Comment = class {
|
|
3922
3922
|
constructor(value, sourceSpan) {
|
|
3923
3923
|
this.value = value;
|
|
@@ -4299,7 +4299,7 @@ function visitAll(visitor, nodes) {
|
|
|
4299
4299
|
return result;
|
|
4300
4300
|
}
|
|
4301
4301
|
|
|
4302
|
-
// bazel-out/
|
|
4302
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
4303
4303
|
var Message = class {
|
|
4304
4304
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
4305
4305
|
this.nodes = nodes;
|
|
@@ -4437,7 +4437,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
4437
4437
|
}
|
|
4438
4438
|
};
|
|
4439
4439
|
|
|
4440
|
-
// bazel-out/
|
|
4440
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
4441
4441
|
var _Visitor = class {
|
|
4442
4442
|
visitTag(tag) {
|
|
4443
4443
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -4465,12 +4465,12 @@ ${doctype.dtd}
|
|
|
4465
4465
|
};
|
|
4466
4466
|
var _visitor = new _Visitor();
|
|
4467
4467
|
|
|
4468
|
-
// bazel-out/
|
|
4468
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
4469
4469
|
function toPublicName(internalName) {
|
|
4470
4470
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
4471
4471
|
}
|
|
4472
4472
|
|
|
4473
|
-
// bazel-out/
|
|
4473
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
4474
4474
|
var I18N_ATTR = "i18n";
|
|
4475
4475
|
var I18N_ATTR_PREFIX = "i18n-";
|
|
4476
4476
|
var I18N_ICU_VAR_PREFIX = "VAR_";
|
|
@@ -4510,7 +4510,7 @@ function formatI18nPlaceholderName(name, useCamelCase = true) {
|
|
|
4510
4510
|
return postfix ? `${raw}_${postfix}` : raw;
|
|
4511
4511
|
}
|
|
4512
4512
|
|
|
4513
|
-
// bazel-out/
|
|
4513
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
4514
4514
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
4515
4515
|
var TEMPORARY_NAME = "_t";
|
|
4516
4516
|
var CONTEXT_NAME = "ctx";
|
|
@@ -4647,7 +4647,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
|
|
|
4647
4647
|
return attributesMap;
|
|
4648
4648
|
}
|
|
4649
4649
|
|
|
4650
|
-
// bazel-out/
|
|
4650
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
4651
4651
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
4652
4652
|
let result = null;
|
|
4653
4653
|
const factoryMeta = {
|
|
@@ -4732,7 +4732,7 @@ function createFactoryFunction(type) {
|
|
|
4732
4732
|
return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
|
|
4733
4733
|
}
|
|
4734
4734
|
|
|
4735
|
-
// bazel-out/
|
|
4735
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
4736
4736
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
4737
4737
|
/^\s*$/,
|
|
4738
4738
|
/[<>]/,
|
|
@@ -4754,7 +4754,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
4754
4754
|
}
|
|
4755
4755
|
}
|
|
4756
4756
|
|
|
4757
|
-
// bazel-out/
|
|
4757
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
|
|
4758
4758
|
var InterpolationConfig = class {
|
|
4759
4759
|
static fromArray(markers) {
|
|
4760
4760
|
if (!markers) {
|
|
@@ -4771,7 +4771,7 @@ var InterpolationConfig = class {
|
|
|
4771
4771
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
4772
4772
|
var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
|
|
4773
4773
|
|
|
4774
|
-
// bazel-out/
|
|
4774
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
4775
4775
|
var $EOF = 0;
|
|
4776
4776
|
var $BSPACE = 8;
|
|
4777
4777
|
var $TAB = 9;
|
|
@@ -4853,7 +4853,7 @@ function isQuote(code) {
|
|
|
4853
4853
|
return code === $SQ || code === $DQ || code === $BT;
|
|
4854
4854
|
}
|
|
4855
4855
|
|
|
4856
|
-
// bazel-out/
|
|
4856
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
4857
4857
|
var ParseLocation = class {
|
|
4858
4858
|
constructor(file, offset, line, col) {
|
|
4859
4859
|
this.file = file;
|
|
@@ -5000,7 +5000,7 @@ function sanitizeIdentifier(name) {
|
|
|
5000
5000
|
return name.replace(/\W/g, "_");
|
|
5001
5001
|
}
|
|
5002
5002
|
|
|
5003
|
-
// bazel-out/
|
|
5003
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
5004
5004
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
5005
5005
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
5006
5006
|
constructor() {
|
|
@@ -5093,7 +5093,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
5093
5093
|
}
|
|
5094
5094
|
};
|
|
5095
5095
|
|
|
5096
|
-
// bazel-out/
|
|
5096
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
5097
5097
|
var policy;
|
|
5098
5098
|
function getPolicy() {
|
|
5099
5099
|
if (policy === void 0) {
|
|
@@ -5131,7 +5131,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
5131
5131
|
return fn2.bind(_global);
|
|
5132
5132
|
}
|
|
5133
5133
|
|
|
5134
|
-
// bazel-out/
|
|
5134
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
5135
5135
|
var JitEvaluator = class {
|
|
5136
5136
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
5137
5137
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -5222,7 +5222,7 @@ function isUseStrictStatement(statement) {
|
|
|
5222
5222
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
5223
5223
|
}
|
|
5224
5224
|
|
|
5225
|
-
// bazel-out/
|
|
5225
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
5226
5226
|
function compileInjector(meta) {
|
|
5227
5227
|
const definitionMap = new DefinitionMap();
|
|
5228
5228
|
if (meta.providers !== null) {
|
|
@@ -5239,7 +5239,7 @@ function createInjectorType(meta) {
|
|
|
5239
5239
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
5240
5240
|
}
|
|
5241
5241
|
|
|
5242
|
-
// bazel-out/
|
|
5242
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
5243
5243
|
var R3JitReflector = class {
|
|
5244
5244
|
constructor(context) {
|
|
5245
5245
|
this.context = context;
|
|
@@ -5255,7 +5255,7 @@ var R3JitReflector = class {
|
|
|
5255
5255
|
}
|
|
5256
5256
|
};
|
|
5257
5257
|
|
|
5258
|
-
// bazel-out/
|
|
5258
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
5259
5259
|
var R3SelectorScopeMode;
|
|
5260
5260
|
(function(R3SelectorScopeMode2) {
|
|
5261
5261
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -5396,7 +5396,7 @@ function tupleOfTypes(types) {
|
|
|
5396
5396
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
5397
5397
|
}
|
|
5398
5398
|
|
|
5399
|
-
// bazel-out/
|
|
5399
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
5400
5400
|
function compilePipeFromMetadata(metadata) {
|
|
5401
5401
|
const definitionMapValues = [];
|
|
5402
5402
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -5417,7 +5417,7 @@ function createPipeType(metadata) {
|
|
|
5417
5417
|
]));
|
|
5418
5418
|
}
|
|
5419
5419
|
|
|
5420
|
-
// bazel-out/
|
|
5420
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
5421
5421
|
var R3TemplateDependencyKind;
|
|
5422
5422
|
(function(R3TemplateDependencyKind2) {
|
|
5423
5423
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -5425,7 +5425,7 @@ var R3TemplateDependencyKind;
|
|
|
5425
5425
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
5426
5426
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
5427
5427
|
|
|
5428
|
-
// bazel-out/
|
|
5428
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
5429
5429
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
5430
5430
|
"inherit",
|
|
5431
5431
|
"initial",
|
|
@@ -5897,7 +5897,7 @@ function repeatGroups(groups, multiples) {
|
|
|
5897
5897
|
}
|
|
5898
5898
|
}
|
|
5899
5899
|
|
|
5900
|
-
// bazel-out/
|
|
5900
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
5901
5901
|
var OpKind;
|
|
5902
5902
|
(function(OpKind2) {
|
|
5903
5903
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -6051,7 +6051,7 @@ var TemplateKind;
|
|
|
6051
6051
|
TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
|
|
6052
6052
|
})(TemplateKind || (TemplateKind = {}));
|
|
6053
6053
|
|
|
6054
|
-
// bazel-out/
|
|
6054
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
6055
6055
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
6056
6056
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
6057
6057
|
var ConsumesVarsTrait = Symbol("ConsumesVars");
|
|
@@ -6079,7 +6079,7 @@ function hasUsesVarOffsetTrait(expr) {
|
|
|
6079
6079
|
return expr[UsesVarOffset] === true;
|
|
6080
6080
|
}
|
|
6081
6081
|
|
|
6082
|
-
// bazel-out/
|
|
6082
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
6083
6083
|
function createStatementOp(statement) {
|
|
6084
6084
|
return __spreadValues({
|
|
6085
6085
|
kind: OpKind.Statement,
|
|
@@ -6101,7 +6101,7 @@ var NEW_OP = {
|
|
|
6101
6101
|
next: null
|
|
6102
6102
|
};
|
|
6103
6103
|
|
|
6104
|
-
// bazel-out/
|
|
6104
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
6105
6105
|
function createInterpolateTextOp(xref, interpolation, sourceSpan) {
|
|
6106
6106
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
6107
6107
|
kind: OpKind.InterpolateText,
|
|
@@ -6282,7 +6282,7 @@ function createI18nApplyOp(owner, handle, sourceSpan) {
|
|
|
6282
6282
|
}, NEW_OP);
|
|
6283
6283
|
}
|
|
6284
6284
|
|
|
6285
|
-
// bazel-out/
|
|
6285
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
6286
6286
|
var _a;
|
|
6287
6287
|
var _b;
|
|
6288
6288
|
var _c;
|
|
@@ -7144,7 +7144,7 @@ function isStringLiteral(expr) {
|
|
|
7144
7144
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
7145
7145
|
}
|
|
7146
7146
|
|
|
7147
|
-
// bazel-out/
|
|
7147
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
7148
7148
|
var _OpList = class {
|
|
7149
7149
|
constructor() {
|
|
7150
7150
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -7335,14 +7335,14 @@ var OpList = _OpList;
|
|
|
7335
7335
|
_OpList.nextListId = 0;
|
|
7336
7336
|
})();
|
|
7337
7337
|
|
|
7338
|
-
// bazel-out/
|
|
7338
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
7339
7339
|
var SlotHandle = class {
|
|
7340
7340
|
constructor() {
|
|
7341
7341
|
this.slot = null;
|
|
7342
7342
|
}
|
|
7343
7343
|
};
|
|
7344
7344
|
|
|
7345
|
-
// bazel-out/
|
|
7345
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
7346
7346
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
7347
7347
|
OpKind.Element,
|
|
7348
7348
|
OpKind.ElementStart,
|
|
@@ -7646,7 +7646,7 @@ function createI18nAttributesOp(xref, handle, target) {
|
|
|
7646
7646
|
}, NEW_OP), TRAIT_CONSUMES_SLOT);
|
|
7647
7647
|
}
|
|
7648
7648
|
|
|
7649
|
-
// bazel-out/
|
|
7649
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
7650
7650
|
function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
|
|
7651
7651
|
return __spreadValues(__spreadValues({
|
|
7652
7652
|
kind: OpKind.HostProperty,
|
|
@@ -7660,10 +7660,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
|
|
|
7660
7660
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
7661
7661
|
}
|
|
7662
7662
|
|
|
7663
|
-
// bazel-out/
|
|
7663
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
7664
7664
|
var CTX_REF = "CTX_REF_MARKER";
|
|
7665
7665
|
|
|
7666
|
-
// bazel-out/
|
|
7666
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
7667
7667
|
var CompilationJobKind;
|
|
7668
7668
|
(function(CompilationJobKind2) {
|
|
7669
7669
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -7771,7 +7771,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
7771
7771
|
}
|
|
7772
7772
|
};
|
|
7773
7773
|
|
|
7774
|
-
// bazel-out/
|
|
7774
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
7775
7775
|
function deleteAnyCasts(job) {
|
|
7776
7776
|
for (const unit of job.units) {
|
|
7777
7777
|
for (const op of unit.ops()) {
|
|
@@ -7789,7 +7789,7 @@ function removeAnys(e) {
|
|
|
7789
7789
|
return e;
|
|
7790
7790
|
}
|
|
7791
7791
|
|
|
7792
|
-
// bazel-out/
|
|
7792
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
7793
7793
|
function applyI18nExpressions(job) {
|
|
7794
7794
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
7795
7795
|
for (const unit of job.units) {
|
|
@@ -7832,7 +7832,7 @@ function needsApplication(i18nContexts, op) {
|
|
|
7832
7832
|
return false;
|
|
7833
7833
|
}
|
|
7834
7834
|
|
|
7835
|
-
// bazel-out/
|
|
7835
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
7836
7836
|
function assignI18nSlotDependencies(job) {
|
|
7837
7837
|
for (const unit of job.units) {
|
|
7838
7838
|
let updateOp = unit.update.head;
|
|
@@ -7877,7 +7877,7 @@ function assignI18nSlotDependencies(job) {
|
|
|
7877
7877
|
}
|
|
7878
7878
|
}
|
|
7879
7879
|
|
|
7880
|
-
// bazel-out/
|
|
7880
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
7881
7881
|
function createOpXrefMap(unit) {
|
|
7882
7882
|
const map = /* @__PURE__ */ new Map();
|
|
7883
7883
|
for (const op of unit.create) {
|
|
@@ -7892,7 +7892,7 @@ function createOpXrefMap(unit) {
|
|
|
7892
7892
|
return map;
|
|
7893
7893
|
}
|
|
7894
7894
|
|
|
7895
|
-
// bazel-out/
|
|
7895
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
7896
7896
|
function extractAttributes(job) {
|
|
7897
7897
|
for (const unit of job.units) {
|
|
7898
7898
|
const elements = createOpXrefMap(unit);
|
|
@@ -8021,7 +8021,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
8021
8021
|
}
|
|
8022
8022
|
}
|
|
8023
8023
|
|
|
8024
|
-
// bazel-out/
|
|
8024
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
8025
8025
|
function lookupElement2(elements, xref) {
|
|
8026
8026
|
const el = elements.get(xref);
|
|
8027
8027
|
if (el === void 0) {
|
|
@@ -8078,7 +8078,7 @@ function specializeBindings(job) {
|
|
|
8078
8078
|
}
|
|
8079
8079
|
}
|
|
8080
8080
|
|
|
8081
|
-
// bazel-out/
|
|
8081
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
8082
8082
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
8083
8083
|
Identifiers.attribute,
|
|
8084
8084
|
Identifiers.classProp,
|
|
@@ -8146,7 +8146,7 @@ function chainOperationsInList(opList) {
|
|
|
8146
8146
|
}
|
|
8147
8147
|
}
|
|
8148
8148
|
|
|
8149
|
-
// bazel-out/
|
|
8149
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
8150
8150
|
function collapseSingletonInterpolations(job) {
|
|
8151
8151
|
for (const unit of job.units) {
|
|
8152
8152
|
for (const op of unit.update) {
|
|
@@ -8158,7 +8158,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
8158
8158
|
}
|
|
8159
8159
|
}
|
|
8160
8160
|
|
|
8161
|
-
// bazel-out/
|
|
8161
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
8162
8162
|
function generateConditionalExpressions(job) {
|
|
8163
8163
|
for (const unit of job.units) {
|
|
8164
8164
|
for (const op of unit.ops()) {
|
|
@@ -8195,7 +8195,7 @@ function generateConditionalExpressions(job) {
|
|
|
8195
8195
|
}
|
|
8196
8196
|
}
|
|
8197
8197
|
|
|
8198
|
-
// bazel-out/
|
|
8198
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
8199
8199
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
8200
8200
|
["&&", BinaryOperator.And],
|
|
8201
8201
|
[">", BinaryOperator.Bigger],
|
|
@@ -8246,7 +8246,7 @@ function literalOrArrayLiteral(value) {
|
|
|
8246
8246
|
return literal(value);
|
|
8247
8247
|
}
|
|
8248
8248
|
|
|
8249
|
-
// bazel-out/
|
|
8249
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
8250
8250
|
function collectElementConsts(job) {
|
|
8251
8251
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
8252
8252
|
for (const unit of job.units) {
|
|
@@ -8415,7 +8415,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
8415
8415
|
return literalArr(attrArray);
|
|
8416
8416
|
}
|
|
8417
8417
|
|
|
8418
|
-
// bazel-out/
|
|
8418
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
|
|
8419
8419
|
function convertI18nBindings(job) {
|
|
8420
8420
|
const i18nAttributesByElem = /* @__PURE__ */ new Map();
|
|
8421
8421
|
for (const unit of job.units) {
|
|
@@ -8456,7 +8456,7 @@ function convertI18nBindings(job) {
|
|
|
8456
8456
|
}
|
|
8457
8457
|
}
|
|
8458
8458
|
|
|
8459
|
-
// bazel-out/
|
|
8459
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
|
|
8460
8460
|
function resolveDeferDepsFns(job) {
|
|
8461
8461
|
var _a2;
|
|
8462
8462
|
for (const unit of job.units) {
|
|
@@ -8481,7 +8481,7 @@ function resolveDeferDepsFns(job) {
|
|
|
8481
8481
|
}
|
|
8482
8482
|
}
|
|
8483
8483
|
|
|
8484
|
-
// bazel-out/
|
|
8484
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
8485
8485
|
function createI18nContexts(job) {
|
|
8486
8486
|
const attrContextByMessage = /* @__PURE__ */ new Map();
|
|
8487
8487
|
for (const unit of job.units) {
|
|
@@ -8559,7 +8559,7 @@ function createI18nContexts(job) {
|
|
|
8559
8559
|
}
|
|
8560
8560
|
}
|
|
8561
8561
|
|
|
8562
|
-
// bazel-out/
|
|
8562
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
|
|
8563
8563
|
function deduplicateTextBindings(job) {
|
|
8564
8564
|
const seen = /* @__PURE__ */ new Map();
|
|
8565
8565
|
for (const unit of job.units) {
|
|
@@ -8581,7 +8581,7 @@ function deduplicateTextBindings(job) {
|
|
|
8581
8581
|
}
|
|
8582
8582
|
}
|
|
8583
8583
|
|
|
8584
|
-
// bazel-out/
|
|
8584
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
8585
8585
|
function configureDeferInstructions(job) {
|
|
8586
8586
|
for (const unit of job.units) {
|
|
8587
8587
|
for (const op of unit.create) {
|
|
@@ -8598,7 +8598,7 @@ function configureDeferInstructions(job) {
|
|
|
8598
8598
|
}
|
|
8599
8599
|
}
|
|
8600
8600
|
|
|
8601
|
-
// bazel-out/
|
|
8601
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
8602
8602
|
function resolveDeferTargetNames(job) {
|
|
8603
8603
|
const scopes = /* @__PURE__ */ new Map();
|
|
8604
8604
|
function getScopeForView2(view) {
|
|
@@ -8692,7 +8692,7 @@ var Scope = class {
|
|
|
8692
8692
|
}
|
|
8693
8693
|
};
|
|
8694
8694
|
|
|
8695
|
-
// bazel-out/
|
|
8695
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
8696
8696
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
8697
8697
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
8698
8698
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -8719,7 +8719,7 @@ function collapseEmptyInstructions(job) {
|
|
|
8719
8719
|
}
|
|
8720
8720
|
}
|
|
8721
8721
|
|
|
8722
|
-
// bazel-out/
|
|
8722
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
8723
8723
|
function expandSafeReads(job) {
|
|
8724
8724
|
for (const unit of job.units) {
|
|
8725
8725
|
for (const op of unit.ops()) {
|
|
@@ -8855,7 +8855,7 @@ function ternaryTransform(e) {
|
|
|
8855
8855
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
8856
8856
|
}
|
|
8857
8857
|
|
|
8858
|
-
// bazel-out/
|
|
8858
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
8859
8859
|
var ESCAPE = "\uFFFD";
|
|
8860
8860
|
var ELEMENT_MARKER = "#";
|
|
8861
8861
|
var TEMPLATE_MARKER = "*";
|
|
@@ -8991,7 +8991,7 @@ function formatValue(value) {
|
|
|
8991
8991
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
8992
8992
|
}
|
|
8993
8993
|
|
|
8994
|
-
// bazel-out/
|
|
8994
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
8995
8995
|
function generateAdvance(job) {
|
|
8996
8996
|
for (const unit of job.units) {
|
|
8997
8997
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -9023,7 +9023,7 @@ function generateAdvance(job) {
|
|
|
9023
9023
|
}
|
|
9024
9024
|
}
|
|
9025
9025
|
|
|
9026
|
-
// bazel-out/
|
|
9026
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
9027
9027
|
function generateProjectionDefs(job) {
|
|
9028
9028
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
9029
9029
|
const selectors = [];
|
|
@@ -9047,7 +9047,7 @@ function generateProjectionDefs(job) {
|
|
|
9047
9047
|
}
|
|
9048
9048
|
}
|
|
9049
9049
|
|
|
9050
|
-
// bazel-out/
|
|
9050
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
9051
9051
|
function generateVariables(job) {
|
|
9052
9052
|
recursivelyProcessView(job.root, null);
|
|
9053
9053
|
}
|
|
@@ -9146,7 +9146,7 @@ function generateVariablesInScopeForView(view, scope) {
|
|
|
9146
9146
|
return newOps;
|
|
9147
9147
|
}
|
|
9148
9148
|
|
|
9149
|
-
// bazel-out/
|
|
9149
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
9150
9150
|
function collectConstExpressions(job) {
|
|
9151
9151
|
for (const unit of job.units) {
|
|
9152
9152
|
for (const op of unit.ops()) {
|
|
@@ -9160,7 +9160,7 @@ function collectConstExpressions(job) {
|
|
|
9160
9160
|
}
|
|
9161
9161
|
}
|
|
9162
9162
|
|
|
9163
|
-
// bazel-out/
|
|
9163
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
9164
9164
|
var STYLE_DOT = "style.";
|
|
9165
9165
|
var CLASS_DOT = "class.";
|
|
9166
9166
|
var STYLE_BANG = "style!";
|
|
@@ -9218,7 +9218,7 @@ function parseProperty(name) {
|
|
|
9218
9218
|
return { property: property2, suffix };
|
|
9219
9219
|
}
|
|
9220
9220
|
|
|
9221
|
-
// bazel-out/
|
|
9221
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
9222
9222
|
function mapLiteral(obj, quoted = false) {
|
|
9223
9223
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
9224
9224
|
key,
|
|
@@ -9227,7 +9227,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
9227
9227
|
})));
|
|
9228
9228
|
}
|
|
9229
9229
|
|
|
9230
|
-
// bazel-out/
|
|
9230
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
9231
9231
|
var IcuSerializerVisitor = class {
|
|
9232
9232
|
visitText(text2) {
|
|
9233
9233
|
return text2.value;
|
|
@@ -9261,7 +9261,7 @@ function serializeIcuNode(icu) {
|
|
|
9261
9261
|
return icu.visit(serializer);
|
|
9262
9262
|
}
|
|
9263
9263
|
|
|
9264
|
-
// bazel-out/
|
|
9264
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
9265
9265
|
var TokenType;
|
|
9266
9266
|
(function(TokenType2) {
|
|
9267
9267
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -9622,7 +9622,7 @@ function parseIntAutoRadix(text2) {
|
|
|
9622
9622
|
return result;
|
|
9623
9623
|
}
|
|
9624
9624
|
|
|
9625
|
-
// bazel-out/
|
|
9625
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
9626
9626
|
var SplitInterpolation = class {
|
|
9627
9627
|
constructor(strings, expressions, offsets) {
|
|
9628
9628
|
this.strings = strings;
|
|
@@ -10504,7 +10504,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
10504
10504
|
return offsetMap;
|
|
10505
10505
|
}
|
|
10506
10506
|
|
|
10507
|
-
// bazel-out/
|
|
10507
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
10508
10508
|
var NodeWithI18n = class {
|
|
10509
10509
|
constructor(sourceSpan, i18n2) {
|
|
10510
10510
|
this.sourceSpan = sourceSpan;
|
|
@@ -10656,7 +10656,7 @@ var RecursiveVisitor = class {
|
|
|
10656
10656
|
}
|
|
10657
10657
|
};
|
|
10658
10658
|
|
|
10659
|
-
// bazel-out/
|
|
10659
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
10660
10660
|
var _SECURITY_SCHEMA;
|
|
10661
10661
|
function SECURITY_SCHEMA() {
|
|
10662
10662
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -10714,11 +10714,11 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
10714
10714
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
10715
10715
|
}
|
|
10716
10716
|
|
|
10717
|
-
// bazel-out/
|
|
10717
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
10718
10718
|
var ElementSchemaRegistry = class {
|
|
10719
10719
|
};
|
|
10720
10720
|
|
|
10721
|
-
// bazel-out/
|
|
10721
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
10722
10722
|
var BOOLEAN = "boolean";
|
|
10723
10723
|
var NUMBER = "number";
|
|
10724
10724
|
var STRING = "string";
|
|
@@ -11071,7 +11071,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
11071
11071
|
}
|
|
11072
11072
|
}
|
|
11073
11073
|
|
|
11074
|
-
// bazel-out/
|
|
11074
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
11075
11075
|
var HtmlTagDefinition = class {
|
|
11076
11076
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
11077
11077
|
this.closedByChildren = {};
|
|
@@ -11189,7 +11189,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
11189
11189
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
11190
11190
|
}
|
|
11191
11191
|
|
|
11192
|
-
// bazel-out/
|
|
11192
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
11193
11193
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
11194
11194
|
"A": "LINK",
|
|
11195
11195
|
"B": "BOLD_TEXT",
|
|
@@ -11311,7 +11311,7 @@ var PlaceholderRegistry = class {
|
|
|
11311
11311
|
}
|
|
11312
11312
|
};
|
|
11313
11313
|
|
|
11314
|
-
// bazel-out/
|
|
11314
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
11315
11315
|
var _expParser = new Parser(new Lexer());
|
|
11316
11316
|
function createI18nMessageFactory(interpolationConfig, containerBlocks) {
|
|
11317
11317
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
|
|
@@ -11490,14 +11490,14 @@ function extractPlaceholderName(input) {
|
|
|
11490
11490
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
11491
11491
|
}
|
|
11492
11492
|
|
|
11493
|
-
// bazel-out/
|
|
11493
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
11494
11494
|
var I18nError = class extends ParseError {
|
|
11495
11495
|
constructor(span, msg) {
|
|
11496
11496
|
super(span, msg);
|
|
11497
11497
|
}
|
|
11498
11498
|
};
|
|
11499
11499
|
|
|
11500
|
-
// bazel-out/
|
|
11500
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
11501
11501
|
var NAMED_ENTITIES = {
|
|
11502
11502
|
"AElig": "\xC6",
|
|
11503
11503
|
"AMP": "&",
|
|
@@ -13628,7 +13628,7 @@ var NAMED_ENTITIES = {
|
|
|
13628
13628
|
var NGSP_UNICODE = "\uE500";
|
|
13629
13629
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
13630
13630
|
|
|
13631
|
-
// bazel-out/
|
|
13631
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
13632
13632
|
var TokenError = class extends ParseError {
|
|
13633
13633
|
constructor(errorMsg, tokenType, span) {
|
|
13634
13634
|
super(span, errorMsg);
|
|
@@ -14549,7 +14549,7 @@ var CursorError = class {
|
|
|
14549
14549
|
}
|
|
14550
14550
|
};
|
|
14551
14551
|
|
|
14552
|
-
// bazel-out/
|
|
14552
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
14553
14553
|
var TreeError = class extends ParseError {
|
|
14554
14554
|
static create(elementName, span, msg) {
|
|
14555
14555
|
return new TreeError(elementName, span, msg);
|
|
@@ -14933,7 +14933,7 @@ function decodeEntity(match, entity) {
|
|
|
14933
14933
|
return match;
|
|
14934
14934
|
}
|
|
14935
14935
|
|
|
14936
|
-
// bazel-out/
|
|
14936
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
14937
14937
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
14938
14938
|
"iframe|srcdoc",
|
|
14939
14939
|
"*|innerhtml",
|
|
@@ -14948,7 +14948,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
14948
14948
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
14949
14949
|
}
|
|
14950
14950
|
|
|
14951
|
-
// bazel-out/
|
|
14951
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
14952
14952
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
14953
14953
|
if (htmlNode instanceof NodeWithI18n) {
|
|
14954
14954
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -15105,7 +15105,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
15105
15105
|
return jsDocComment(tags);
|
|
15106
15106
|
}
|
|
15107
15107
|
|
|
15108
|
-
// bazel-out/
|
|
15108
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
15109
15109
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
15110
15110
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
15111
15111
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -15156,7 +15156,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
15156
15156
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
15157
15157
|
}
|
|
15158
15158
|
|
|
15159
|
-
// bazel-out/
|
|
15159
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
15160
15160
|
function createLocalizeStatements(variable2, message, params) {
|
|
15161
15161
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
15162
15162
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -15245,7 +15245,7 @@ function createEmptyMessagePart(location) {
|
|
|
15245
15245
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
15246
15246
|
}
|
|
15247
15247
|
|
|
15248
|
-
// bazel-out/
|
|
15248
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
15249
15249
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
15250
15250
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
15251
15251
|
var I18N_ICU_MAPPING_PREFIX = "I18N_EXP_";
|
|
@@ -15413,7 +15413,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
15413
15413
|
return variable(name);
|
|
15414
15414
|
}
|
|
15415
15415
|
|
|
15416
|
-
// bazel-out/
|
|
15416
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
15417
15417
|
function convertI18nText(job) {
|
|
15418
15418
|
var _a2, _b2, _c2;
|
|
15419
15419
|
for (const unit of job.units) {
|
|
@@ -15483,7 +15483,7 @@ function convertI18nText(job) {
|
|
|
15483
15483
|
}
|
|
15484
15484
|
}
|
|
15485
15485
|
|
|
15486
|
-
// bazel-out/
|
|
15486
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
15487
15487
|
function liftLocalRefs(job) {
|
|
15488
15488
|
for (const unit of job.units) {
|
|
15489
15489
|
for (const op of unit.create) {
|
|
@@ -15513,7 +15513,7 @@ function serializeLocalRefs(refs) {
|
|
|
15513
15513
|
return literalArr(constRefs);
|
|
15514
15514
|
}
|
|
15515
15515
|
|
|
15516
|
-
// bazel-out/
|
|
15516
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
15517
15517
|
function emitNamespaceChanges(job) {
|
|
15518
15518
|
for (const unit of job.units) {
|
|
15519
15519
|
let activeNamespace = Namespace.HTML;
|
|
@@ -15529,7 +15529,7 @@ function emitNamespaceChanges(job) {
|
|
|
15529
15529
|
}
|
|
15530
15530
|
}
|
|
15531
15531
|
|
|
15532
|
-
// bazel-out/
|
|
15532
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
15533
15533
|
function parse(value) {
|
|
15534
15534
|
const styles = [];
|
|
15535
15535
|
let i = 0;
|
|
@@ -15623,7 +15623,7 @@ function parseExtractedStyles(job) {
|
|
|
15623
15623
|
}
|
|
15624
15624
|
}
|
|
15625
15625
|
|
|
15626
|
-
// bazel-out/
|
|
15626
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
15627
15627
|
function nameFunctionsAndVariables(job) {
|
|
15628
15628
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
15629
15629
|
}
|
|
@@ -15764,7 +15764,7 @@ function stripImportant(name) {
|
|
|
15764
15764
|
return name;
|
|
15765
15765
|
}
|
|
15766
15766
|
|
|
15767
|
-
// bazel-out/
|
|
15767
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
15768
15768
|
function mergeNextContextExpressions(job) {
|
|
15769
15769
|
for (const unit of job.units) {
|
|
15770
15770
|
for (const op of unit.create) {
|
|
@@ -15810,7 +15810,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
15810
15810
|
}
|
|
15811
15811
|
}
|
|
15812
15812
|
|
|
15813
|
-
// bazel-out/
|
|
15813
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
15814
15814
|
var CONTAINER_TAG = "ng-container";
|
|
15815
15815
|
function generateNgContainerOps(job) {
|
|
15816
15816
|
for (const unit of job.units) {
|
|
@@ -15827,7 +15827,7 @@ function generateNgContainerOps(job) {
|
|
|
15827
15827
|
}
|
|
15828
15828
|
}
|
|
15829
15829
|
|
|
15830
|
-
// bazel-out/
|
|
15830
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
15831
15831
|
function lookupElement3(elements, xref) {
|
|
15832
15832
|
const el = elements.get(xref);
|
|
15833
15833
|
if (el === void 0) {
|
|
@@ -15857,7 +15857,7 @@ function disableBindings(job) {
|
|
|
15857
15857
|
}
|
|
15858
15858
|
}
|
|
15859
15859
|
|
|
15860
|
-
// bazel-out/
|
|
15860
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
15861
15861
|
function generateNullishCoalesceExpressions(job) {
|
|
15862
15862
|
for (const unit of job.units) {
|
|
15863
15863
|
for (const op of unit.ops()) {
|
|
@@ -15873,7 +15873,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
15873
15873
|
}
|
|
15874
15874
|
}
|
|
15875
15875
|
|
|
15876
|
-
// bazel-out/
|
|
15876
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
15877
15877
|
function kindTest(kind) {
|
|
15878
15878
|
return (op) => op.kind === kind;
|
|
15879
15879
|
}
|
|
@@ -15963,7 +15963,7 @@ function keepLast(ops) {
|
|
|
15963
15963
|
return ops.slice(ops.length - 1);
|
|
15964
15964
|
}
|
|
15965
15965
|
|
|
15966
|
-
// bazel-out/
|
|
15966
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
15967
15967
|
function removeContentSelectors(job) {
|
|
15968
15968
|
for (const unit of job.units) {
|
|
15969
15969
|
const elements = createOpXrefMap(unit);
|
|
@@ -15990,7 +15990,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
15990
15990
|
return el;
|
|
15991
15991
|
}
|
|
15992
15992
|
|
|
15993
|
-
// bazel-out/
|
|
15993
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
15994
15994
|
function createPipes(job) {
|
|
15995
15995
|
for (const unit of job.units) {
|
|
15996
15996
|
processPipeBindingsInView(unit);
|
|
@@ -16038,7 +16038,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
16038
16038
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
16039
16039
|
}
|
|
16040
16040
|
|
|
16041
|
-
// bazel-out/
|
|
16041
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
16042
16042
|
function createVariadicPipes(job) {
|
|
16043
16043
|
for (const unit of job.units) {
|
|
16044
16044
|
for (const op of unit.update) {
|
|
@@ -16055,7 +16055,7 @@ function createVariadicPipes(job) {
|
|
|
16055
16055
|
}
|
|
16056
16056
|
}
|
|
16057
16057
|
|
|
16058
|
-
// bazel-out/
|
|
16058
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
16059
16059
|
function propagateI18nBlocks(job) {
|
|
16060
16060
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
16061
16061
|
}
|
|
@@ -16109,7 +16109,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
16109
16109
|
}
|
|
16110
16110
|
}
|
|
16111
16111
|
|
|
16112
|
-
// bazel-out/
|
|
16112
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
16113
16113
|
function extractPureFunctions(job) {
|
|
16114
16114
|
for (const view of job.units) {
|
|
16115
16115
|
for (const op of view.ops()) {
|
|
@@ -16151,7 +16151,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
16151
16151
|
}
|
|
16152
16152
|
};
|
|
16153
16153
|
|
|
16154
|
-
// bazel-out/
|
|
16154
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
16155
16155
|
function generatePureLiteralStructures(job) {
|
|
16156
16156
|
for (const unit of job.units) {
|
|
16157
16157
|
for (const op of unit.update) {
|
|
@@ -16198,7 +16198,7 @@ function transformLiteralMap(expr) {
|
|
|
16198
16198
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
16199
16199
|
}
|
|
16200
16200
|
|
|
16201
|
-
// bazel-out/
|
|
16201
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
16202
16202
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
16203
16203
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
16204
16204
|
}
|
|
@@ -16739,7 +16739,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
16739
16739
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
16740
16740
|
}
|
|
16741
16741
|
|
|
16742
|
-
// bazel-out/
|
|
16742
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
16743
16743
|
var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
|
|
16744
16744
|
["window", Identifiers.resolveWindow],
|
|
16745
16745
|
["document", Identifiers.resolveDocument],
|
|
@@ -17098,7 +17098,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
17098
17098
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
17099
17099
|
}
|
|
17100
17100
|
|
|
17101
|
-
// bazel-out/
|
|
17101
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
17102
17102
|
function removeEmptyBindings(job) {
|
|
17103
17103
|
for (const unit of job.units) {
|
|
17104
17104
|
for (const op of unit.update) {
|
|
@@ -17119,7 +17119,7 @@ function removeEmptyBindings(job) {
|
|
|
17119
17119
|
}
|
|
17120
17120
|
}
|
|
17121
17121
|
|
|
17122
|
-
// bazel-out/
|
|
17122
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
17123
17123
|
function removeI18nContexts(job) {
|
|
17124
17124
|
for (const unit of job.units) {
|
|
17125
17125
|
for (const op of unit.create) {
|
|
@@ -17135,7 +17135,7 @@ function removeI18nContexts(job) {
|
|
|
17135
17135
|
}
|
|
17136
17136
|
}
|
|
17137
17137
|
|
|
17138
|
-
// bazel-out/
|
|
17138
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
|
|
17139
17139
|
function removeUnusedI18nAttributesOps(job) {
|
|
17140
17140
|
for (const unit of job.units) {
|
|
17141
17141
|
const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
|
|
@@ -17157,7 +17157,7 @@ function removeUnusedI18nAttributesOps(job) {
|
|
|
17157
17157
|
}
|
|
17158
17158
|
}
|
|
17159
17159
|
|
|
17160
|
-
// bazel-out/
|
|
17160
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
17161
17161
|
function resolveContexts(job) {
|
|
17162
17162
|
for (const unit of job.units) {
|
|
17163
17163
|
processLexicalScope(unit, unit.create);
|
|
@@ -17199,7 +17199,7 @@ function processLexicalScope(view, ops) {
|
|
|
17199
17199
|
}
|
|
17200
17200
|
}
|
|
17201
17201
|
|
|
17202
|
-
// bazel-out/
|
|
17202
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
17203
17203
|
function resolveDollarEvent(job) {
|
|
17204
17204
|
for (const unit of job.units) {
|
|
17205
17205
|
transformDollarEvent(unit.create);
|
|
@@ -17222,7 +17222,7 @@ function transformDollarEvent(ops) {
|
|
|
17222
17222
|
}
|
|
17223
17223
|
}
|
|
17224
17224
|
|
|
17225
|
-
// bazel-out/
|
|
17225
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
17226
17226
|
function resolveI18nElementPlaceholders(job) {
|
|
17227
17227
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
17228
17228
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -17401,7 +17401,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
17401
17401
|
params.set(placeholder, values);
|
|
17402
17402
|
}
|
|
17403
17403
|
|
|
17404
|
-
// bazel-out/
|
|
17404
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
17405
17405
|
function resolveI18nExpressionPlaceholders(job) {
|
|
17406
17406
|
var _a2;
|
|
17407
17407
|
const subTemplateIndices = /* @__PURE__ */ new Map();
|
|
@@ -17454,7 +17454,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
|
|
|
17454
17454
|
}
|
|
17455
17455
|
}
|
|
17456
17456
|
|
|
17457
|
-
// bazel-out/
|
|
17457
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
17458
17458
|
function resolveNames(job) {
|
|
17459
17459
|
for (const unit of job.units) {
|
|
17460
17460
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -17519,7 +17519,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
17519
17519
|
}
|
|
17520
17520
|
}
|
|
17521
17521
|
|
|
17522
|
-
// bazel-out/
|
|
17522
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
17523
17523
|
var sanitizerFns = /* @__PURE__ */ new Map([
|
|
17524
17524
|
[SecurityContext.HTML, Identifiers.sanitizeHtml],
|
|
17525
17525
|
[SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
|
|
@@ -17589,7 +17589,7 @@ function getOnlySecurityContext(securityContext) {
|
|
|
17589
17589
|
return securityContext;
|
|
17590
17590
|
}
|
|
17591
17591
|
|
|
17592
|
-
// bazel-out/
|
|
17592
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
|
|
17593
17593
|
function transformTwoWayBindingSet(job) {
|
|
17594
17594
|
for (const unit of job.units) {
|
|
17595
17595
|
for (const op of unit.create) {
|
|
@@ -17639,7 +17639,7 @@ function wrapAction(target, value) {
|
|
|
17639
17639
|
throw new Error(`Unsupported expression in two-way action binding.`);
|
|
17640
17640
|
}
|
|
17641
17641
|
|
|
17642
|
-
// bazel-out/
|
|
17642
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
17643
17643
|
function saveAndRestoreView(job) {
|
|
17644
17644
|
for (const unit of job.units) {
|
|
17645
17645
|
unit.create.prepend([
|
|
@@ -17684,7 +17684,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
17684
17684
|
}
|
|
17685
17685
|
}
|
|
17686
17686
|
|
|
17687
|
-
// bazel-out/
|
|
17687
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
17688
17688
|
function allocateSlots(job) {
|
|
17689
17689
|
const slotMap = /* @__PURE__ */ new Map();
|
|
17690
17690
|
for (const unit of job.units) {
|
|
@@ -17709,7 +17709,7 @@ function allocateSlots(job) {
|
|
|
17709
17709
|
}
|
|
17710
17710
|
}
|
|
17711
17711
|
|
|
17712
|
-
// bazel-out/
|
|
17712
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
17713
17713
|
function specializeStyleBindings(job) {
|
|
17714
17714
|
for (const unit of job.units) {
|
|
17715
17715
|
for (const op of unit.update) {
|
|
@@ -17739,7 +17739,7 @@ function specializeStyleBindings(job) {
|
|
|
17739
17739
|
}
|
|
17740
17740
|
}
|
|
17741
17741
|
|
|
17742
|
-
// bazel-out/
|
|
17742
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
17743
17743
|
function generateTemporaryVariables(job) {
|
|
17744
17744
|
for (const unit of job.units) {
|
|
17745
17745
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -17797,7 +17797,7 @@ function assignName(names, expr) {
|
|
|
17797
17797
|
expr.name = name;
|
|
17798
17798
|
}
|
|
17799
17799
|
|
|
17800
|
-
// bazel-out/
|
|
17800
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
17801
17801
|
function generateTrackFns(job) {
|
|
17802
17802
|
for (const unit of job.units) {
|
|
17803
17803
|
for (const op of unit.create) {
|
|
@@ -17830,7 +17830,7 @@ function generateTrackFns(job) {
|
|
|
17830
17830
|
}
|
|
17831
17831
|
}
|
|
17832
17832
|
|
|
17833
|
-
// bazel-out/
|
|
17833
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
17834
17834
|
function optimizeTrackFns(job) {
|
|
17835
17835
|
for (const unit of job.units) {
|
|
17836
17836
|
for (const op of unit.create) {
|
|
@@ -17878,7 +17878,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
17878
17878
|
return true;
|
|
17879
17879
|
}
|
|
17880
17880
|
|
|
17881
|
-
// bazel-out/
|
|
17881
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
17882
17882
|
function generateTrackVariables(job) {
|
|
17883
17883
|
for (const unit of job.units) {
|
|
17884
17884
|
for (const op of unit.create) {
|
|
@@ -17899,7 +17899,7 @@ function generateTrackVariables(job) {
|
|
|
17899
17899
|
}
|
|
17900
17900
|
}
|
|
17901
17901
|
|
|
17902
|
-
// bazel-out/
|
|
17902
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
17903
17903
|
function countVariables(job) {
|
|
17904
17904
|
for (const unit of job.units) {
|
|
17905
17905
|
let varCount = 0;
|
|
@@ -18009,7 +18009,7 @@ function isSingletonInterpolation(expr) {
|
|
|
18009
18009
|
return true;
|
|
18010
18010
|
}
|
|
18011
18011
|
|
|
18012
|
-
// bazel-out/
|
|
18012
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
18013
18013
|
function optimizeVariables(job) {
|
|
18014
18014
|
for (const unit of job.units) {
|
|
18015
18015
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -18258,7 +18258,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
18258
18258
|
}
|
|
18259
18259
|
}
|
|
18260
18260
|
|
|
18261
|
-
// bazel-out/
|
|
18261
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
18262
18262
|
function wrapI18nIcus(job) {
|
|
18263
18263
|
for (const unit of job.units) {
|
|
18264
18264
|
let currentI18nOp = null;
|
|
@@ -18288,7 +18288,7 @@ function wrapI18nIcus(job) {
|
|
|
18288
18288
|
}
|
|
18289
18289
|
}
|
|
18290
18290
|
|
|
18291
|
-
// bazel-out/
|
|
18291
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
18292
18292
|
var phases = [
|
|
18293
18293
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
18294
18294
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -18454,7 +18454,7 @@ function emitHostBindingFunction(job) {
|
|
|
18454
18454
|
);
|
|
18455
18455
|
}
|
|
18456
18456
|
|
|
18457
|
-
// bazel-out/
|
|
18457
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
18458
18458
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
18459
18459
|
var domSchema = new DomElementSchemaRegistry();
|
|
18460
18460
|
var NG_TEMPLATE_TAG_NAME = "ng-template";
|
|
@@ -19199,7 +19199,7 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
19199
19199
|
return null;
|
|
19200
19200
|
}
|
|
19201
19201
|
|
|
19202
|
-
// bazel-out/
|
|
19202
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
|
|
19203
19203
|
function renderFlagCheckIfStmt(flags, statements) {
|
|
19204
19204
|
return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
|
|
19205
19205
|
}
|
|
@@ -19319,7 +19319,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
|
|
|
19319
19319
|
], INFERRED_TYPE, null, contentQueriesFnName);
|
|
19320
19320
|
}
|
|
19321
19321
|
|
|
19322
|
-
// bazel-out/
|
|
19322
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
19323
19323
|
var HtmlParser = class extends Parser2 {
|
|
19324
19324
|
constructor() {
|
|
19325
19325
|
super(getHtmlTagDefinition);
|
|
@@ -19329,7 +19329,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
19329
19329
|
}
|
|
19330
19330
|
};
|
|
19331
19331
|
|
|
19332
|
-
// bazel-out/
|
|
19332
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
19333
19333
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
19334
19334
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
19335
19335
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -19395,7 +19395,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
19395
19395
|
return result;
|
|
19396
19396
|
}
|
|
19397
19397
|
|
|
19398
|
-
// bazel-out/
|
|
19398
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
19399
19399
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
19400
19400
|
var ATTRIBUTE_PREFIX = "attr";
|
|
19401
19401
|
var CLASS_PREFIX = "class";
|
|
@@ -19736,7 +19736,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
19736
19736
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
19737
19737
|
}
|
|
19738
19738
|
|
|
19739
|
-
// bazel-out/
|
|
19739
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
19740
19740
|
function isStyleUrlResolvable(url) {
|
|
19741
19741
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
19742
19742
|
return false;
|
|
@@ -19745,7 +19745,7 @@ function isStyleUrlResolvable(url) {
|
|
|
19745
19745
|
}
|
|
19746
19746
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
19747
19747
|
|
|
19748
|
-
// bazel-out/
|
|
19748
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
19749
19749
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
19750
19750
|
var LINK_ELEMENT = "link";
|
|
19751
19751
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -19815,7 +19815,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
19815
19815
|
return selectAttr;
|
|
19816
19816
|
}
|
|
19817
19817
|
|
|
19818
|
-
// bazel-out/
|
|
19818
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
19819
19819
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
19820
19820
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
19821
19821
|
var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
|
|
@@ -20131,7 +20131,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
20131
20131
|
return expression.slice(start, end);
|
|
20132
20132
|
}
|
|
20133
20133
|
|
|
20134
|
-
// bazel-out/
|
|
20134
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
20135
20135
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
20136
20136
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
20137
20137
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -20395,7 +20395,7 @@ function parseDeferredTime(value) {
|
|
|
20395
20395
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
20396
20396
|
}
|
|
20397
20397
|
|
|
20398
|
-
// bazel-out/
|
|
20398
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
20399
20399
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
20400
20400
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
20401
20401
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -20530,7 +20530,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
20530
20530
|
return { triggers, prefetchTriggers };
|
|
20531
20531
|
}
|
|
20532
20532
|
|
|
20533
|
-
// bazel-out/
|
|
20533
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
20534
20534
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
20535
20535
|
var KW_BIND_IDX = 1;
|
|
20536
20536
|
var KW_LET_IDX = 2;
|
|
@@ -20952,7 +20952,7 @@ function textContents(node) {
|
|
|
20952
20952
|
}
|
|
20953
20953
|
}
|
|
20954
20954
|
|
|
20955
|
-
// bazel-out/
|
|
20955
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
20956
20956
|
var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
|
|
20957
20957
|
function parseTemplate(template2, templateUrl, options = {}) {
|
|
20958
20958
|
var _a2;
|
|
@@ -21026,7 +21026,7 @@ function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {
|
|
|
21026
21026
|
return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, []);
|
|
21027
21027
|
}
|
|
21028
21028
|
|
|
21029
|
-
// bazel-out/
|
|
21029
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
21030
21030
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
21031
21031
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
21032
21032
|
var CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
|
|
@@ -21388,7 +21388,7 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
21388
21388
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
21389
21389
|
}
|
|
21390
21390
|
|
|
21391
|
-
// bazel-out/
|
|
21391
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
21392
21392
|
var R3TargetBinder = class {
|
|
21393
21393
|
constructor(directiveMatcher) {
|
|
21394
21394
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -22021,11 +22021,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
22021
22021
|
return templateEntities;
|
|
22022
22022
|
}
|
|
22023
22023
|
|
|
22024
|
-
// bazel-out/
|
|
22024
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
22025
22025
|
var ResourceLoader = class {
|
|
22026
22026
|
};
|
|
22027
22027
|
|
|
22028
|
-
// bazel-out/
|
|
22028
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
22029
22029
|
var CompilerFacadeImpl = class {
|
|
22030
22030
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
22031
22031
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -22586,17 +22586,17 @@ function publishFacade(global) {
|
|
|
22586
22586
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
22587
22587
|
}
|
|
22588
22588
|
|
|
22589
|
-
// bazel-out/
|
|
22590
|
-
var VERSION2 = new Version("18.0.0-next.
|
|
22589
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
|
|
22590
|
+
var VERSION2 = new Version("18.0.0-next.3");
|
|
22591
22591
|
|
|
22592
|
-
// bazel-out/
|
|
22592
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
22593
22593
|
var _VisitorMode;
|
|
22594
22594
|
(function(_VisitorMode2) {
|
|
22595
22595
|
_VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
|
|
22596
22596
|
_VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
|
|
22597
22597
|
})(_VisitorMode || (_VisitorMode = {}));
|
|
22598
22598
|
|
|
22599
|
-
// bazel-out/
|
|
22599
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
22600
22600
|
var XmlTagDefinition = class {
|
|
22601
22601
|
constructor() {
|
|
22602
22602
|
this.closedByParent = false;
|
|
@@ -22618,7 +22618,7 @@ var XmlTagDefinition = class {
|
|
|
22618
22618
|
};
|
|
22619
22619
|
var _TAG_DEFINITION = new XmlTagDefinition();
|
|
22620
22620
|
|
|
22621
|
-
// bazel-out/
|
|
22621
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
22622
22622
|
var FactoryTarget2;
|
|
22623
22623
|
(function(FactoryTarget3) {
|
|
22624
22624
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -22628,10 +22628,10 @@ var FactoryTarget2;
|
|
|
22628
22628
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
22629
22629
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
22630
22630
|
|
|
22631
|
-
// bazel-out/
|
|
22631
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
22632
22632
|
publishFacade(_global);
|
|
22633
22633
|
|
|
22634
|
-
// bazel-out/
|
|
22634
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/identifier-lookup.mjs
|
|
22635
22635
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
22636
22636
|
function lookupIdentifiersInSourceFile(sourceFile, names) {
|
|
22637
22637
|
const results = /* @__PURE__ */ new Set();
|
|
@@ -22645,7 +22645,7 @@ function lookupIdentifiersInSourceFile(sourceFile, names) {
|
|
|
22645
22645
|
return results;
|
|
22646
22646
|
}
|
|
22647
22647
|
|
|
22648
|
-
// bazel-out/
|
|
22648
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/types.mjs
|
|
22649
22649
|
var ngtemplate = "ng-template";
|
|
22650
22650
|
var boundngifelse = "[ngIfElse]";
|
|
22651
22651
|
var boundngifthenelse = "[ngIfThenElse]";
|
|
@@ -22978,7 +22978,7 @@ var TemplateCollector = class extends RecursiveVisitor {
|
|
|
22978
22978
|
}
|
|
22979
22979
|
};
|
|
22980
22980
|
|
|
22981
|
-
// bazel-out/
|
|
22981
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/util.mjs
|
|
22982
22982
|
var import_path2 = require("path");
|
|
22983
22983
|
var import_typescript6 = __toESM(require("typescript"), 1);
|
|
22984
22984
|
var startMarkerRegex = new RegExp(startMarker, "gm");
|
|
@@ -23164,6 +23164,15 @@ function validateI18nStructure(parsed, fileName) {
|
|
|
23164
23164
|
function isChildOf(parent, el) {
|
|
23165
23165
|
return parent.sourceSpan.start.offset < el.sourceSpan.start.offset && parent.sourceSpan.end.offset > el.sourceSpan.end.offset;
|
|
23166
23166
|
}
|
|
23167
|
+
var PlaceholderKind;
|
|
23168
|
+
(function(PlaceholderKind2) {
|
|
23169
|
+
PlaceholderKind2[PlaceholderKind2["Default"] = 0] = "Default";
|
|
23170
|
+
PlaceholderKind2[PlaceholderKind2["Alternate"] = 1] = "Alternate";
|
|
23171
|
+
})(PlaceholderKind || (PlaceholderKind = {}));
|
|
23172
|
+
function getPlaceholder(value, kind = PlaceholderKind.Default) {
|
|
23173
|
+
const name = `<<<\u0275\u0275ngControlFlowMigration_${kind}\u0275\u0275>>>`;
|
|
23174
|
+
return `___${name}${value}${name}___`;
|
|
23175
|
+
}
|
|
23167
23176
|
function calculateNesting(visitor, hasLineBreaks2) {
|
|
23168
23177
|
let nestedQueue = [];
|
|
23169
23178
|
for (let i = 0; i < visitor.elements.length; i++) {
|
|
@@ -23232,8 +23241,8 @@ function processNgTemplates(template2) {
|
|
|
23232
23241
|
try {
|
|
23233
23242
|
const templates = getTemplates(template2);
|
|
23234
23243
|
for (const [name, t] of templates) {
|
|
23235
|
-
const replaceRegex = new RegExp(
|
|
23236
|
-
const forRegex = new RegExp(
|
|
23244
|
+
const replaceRegex = new RegExp(getPlaceholder(name.slice(1)), "g");
|
|
23245
|
+
const forRegex = new RegExp(getPlaceholder(name.slice(1), PlaceholderKind.Alternate), "g");
|
|
23237
23246
|
const forMatches = [...template2.matchAll(forRegex)];
|
|
23238
23247
|
const matches = [...forMatches, ...template2.matchAll(replaceRegex)];
|
|
23239
23248
|
let safeToRemove = true;
|
|
@@ -23266,11 +23275,14 @@ function processNgTemplates(template2) {
|
|
|
23266
23275
|
}
|
|
23267
23276
|
}
|
|
23268
23277
|
function replaceRemainingPlaceholders(template2) {
|
|
23269
|
-
const
|
|
23278
|
+
const pattern = ".*";
|
|
23279
|
+
const placeholderPattern = getPlaceholder(pattern);
|
|
23280
|
+
const replaceRegex = new RegExp(placeholderPattern, "g");
|
|
23281
|
+
const [placeholderStart, placeholderEnd] = placeholderPattern.split(pattern);
|
|
23270
23282
|
const placeholders = [...template2.matchAll(replaceRegex)];
|
|
23271
23283
|
for (let ph of placeholders) {
|
|
23272
23284
|
const placeholder = ph[0];
|
|
23273
|
-
const name = placeholder.slice(
|
|
23285
|
+
const name = placeholder.slice(placeholderStart.length, placeholder.length - placeholderEnd.length);
|
|
23274
23286
|
template2 = template2.replace(placeholder, `<ng-template [ngTemplateOutlet]="${name}"></ng-template>`);
|
|
23275
23287
|
}
|
|
23276
23288
|
return template2;
|
|
@@ -23481,7 +23493,7 @@ function forEachClass(sourceFile, callback) {
|
|
|
23481
23493
|
});
|
|
23482
23494
|
}
|
|
23483
23495
|
|
|
23484
|
-
// bazel-out/
|
|
23496
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/cases.mjs
|
|
23485
23497
|
var boundcase = "[ngSwitchCase]";
|
|
23486
23498
|
var switchcase = "*ngSwitchCase";
|
|
23487
23499
|
var nakedcase = "ngSwitchCase";
|
|
@@ -23559,7 +23571,7 @@ function migrateNgSwitchDefault(etm, tmpl, offset) {
|
|
|
23559
23571
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
23560
23572
|
}
|
|
23561
23573
|
|
|
23562
|
-
// bazel-out/
|
|
23574
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/fors.mjs
|
|
23563
23575
|
var ngfor = "*ngFor";
|
|
23564
23576
|
var nakedngfor2 = "ngFor";
|
|
23565
23577
|
var fors = [
|
|
@@ -23633,7 +23645,7 @@ function migrateStandardNgFor(etm, tmpl, offset) {
|
|
|
23633
23645
|
trackBy = `${trackByFn}($index, ${loopVar})`;
|
|
23634
23646
|
}
|
|
23635
23647
|
if (part.startsWith("template:")) {
|
|
23636
|
-
tmplPlaceholder =
|
|
23648
|
+
tmplPlaceholder = getPlaceholder(part.split(":")[1].trim(), PlaceholderKind.Alternate);
|
|
23637
23649
|
}
|
|
23638
23650
|
if (part.match(aliasWithEqualRegexp)) {
|
|
23639
23651
|
const aliasParts = part.split("=");
|
|
@@ -23733,7 +23745,7 @@ function getNgForParts(expression) {
|
|
|
23733
23745
|
return parts;
|
|
23734
23746
|
}
|
|
23735
23747
|
|
|
23736
|
-
// bazel-out/
|
|
23748
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/ifs.mjs
|
|
23737
23749
|
var ngif = "*ngIf";
|
|
23738
23750
|
var boundngif = "[ngIf]";
|
|
23739
23751
|
var nakedngif = "ngIf";
|
|
@@ -23810,7 +23822,7 @@ function buildIfBlock(etm, tmpl, offset) {
|
|
|
23810
23822
|
}
|
|
23811
23823
|
function buildStandardIfElseBlock(etm, tmpl, elseString, offset) {
|
|
23812
23824
|
const condition = etm.getCondition().replace(" as ", "; as ").replace(/;\s*let/g, "; as");
|
|
23813
|
-
const elsePlaceholder =
|
|
23825
|
+
const elsePlaceholder = getPlaceholder(etm.getTemplateName(elseString));
|
|
23814
23826
|
return buildIfElseBlock(etm, tmpl, condition, elsePlaceholder, offset);
|
|
23815
23827
|
}
|
|
23816
23828
|
function buildBoundIfElseBlock(etm, tmpl, offset) {
|
|
@@ -23825,9 +23837,9 @@ function buildBoundIfElseBlock(etm, tmpl, offset) {
|
|
|
23825
23837
|
} else if (aliases.length === 1) {
|
|
23826
23838
|
condition += `; as ${aliases[0]}`;
|
|
23827
23839
|
}
|
|
23828
|
-
const elsePlaceholder =
|
|
23840
|
+
const elsePlaceholder = getPlaceholder(etm.elseAttr.value.trim());
|
|
23829
23841
|
if (etm.thenAttr !== void 0) {
|
|
23830
|
-
const thenPlaceholder =
|
|
23842
|
+
const thenPlaceholder = getPlaceholder(etm.thenAttr.value.trim());
|
|
23831
23843
|
return buildIfThenElseBlock(etm, tmpl, condition, thenPlaceholder, elsePlaceholder, offset);
|
|
23832
23844
|
}
|
|
23833
23845
|
return buildIfElseBlock(etm, tmpl, condition, elsePlaceholder, offset);
|
|
@@ -23849,13 +23861,13 @@ function buildIfElseBlock(etm, tmpl, condition, elsePlaceholder, offset) {
|
|
|
23849
23861
|
}
|
|
23850
23862
|
function buildStandardIfThenElseBlock(etm, tmpl, thenString, elseString, offset) {
|
|
23851
23863
|
const condition = etm.getCondition().replace(" as ", "; as ").replace(/;\s*let/g, "; as");
|
|
23852
|
-
const thenPlaceholder =
|
|
23853
|
-
const elsePlaceholder =
|
|
23864
|
+
const thenPlaceholder = getPlaceholder(etm.getTemplateName(thenString, elseString));
|
|
23865
|
+
const elsePlaceholder = getPlaceholder(etm.getTemplateName(elseString));
|
|
23854
23866
|
return buildIfThenElseBlock(etm, tmpl, condition, thenPlaceholder, elsePlaceholder, offset);
|
|
23855
23867
|
}
|
|
23856
23868
|
function buildStandardIfThenBlock(etm, tmpl, thenString, offset) {
|
|
23857
23869
|
const condition = etm.getCondition().replace(" as ", "; as ").replace(/;\s*let/g, "; as");
|
|
23858
|
-
const thenPlaceholder =
|
|
23870
|
+
const thenPlaceholder = getPlaceholder(etm.getTemplateName(thenString));
|
|
23859
23871
|
return buildIfThenBlock(etm, tmpl, condition, thenPlaceholder, offset);
|
|
23860
23872
|
}
|
|
23861
23873
|
function buildIfThenElseBlock(etm, tmpl, condition, thenPlaceholder, elsePlaceholder, offset) {
|
|
@@ -23886,7 +23898,7 @@ function buildIfThenBlock(etm, tmpl, condition, thenPlaceholder, offset) {
|
|
|
23886
23898
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
23887
23899
|
}
|
|
23888
23900
|
|
|
23889
|
-
// bazel-out/
|
|
23901
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/switches.mjs
|
|
23890
23902
|
var ngswitch = "[ngSwitch]";
|
|
23891
23903
|
var switches = [
|
|
23892
23904
|
ngswitch
|
|
@@ -23954,7 +23966,7 @@ function migrateNgSwitch(etm, tmpl, offset) {
|
|
|
23954
23966
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
23955
23967
|
}
|
|
23956
23968
|
|
|
23957
|
-
// bazel-out/
|
|
23969
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/migration.mjs
|
|
23958
23970
|
function migrateTemplate(template2, templateType, node, file, format = true, analyzedFiles) {
|
|
23959
23971
|
let errors = [];
|
|
23960
23972
|
let migrated = template2;
|
|
@@ -24005,7 +24017,7 @@ function migrateTemplate(template2, templateType, node, file, format = true, ana
|
|
|
24005
24017
|
return { migrated, errors };
|
|
24006
24018
|
}
|
|
24007
24019
|
|
|
24008
|
-
// bazel-out/
|
|
24020
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/index.mjs
|
|
24009
24021
|
function control_flow_migration_default(options) {
|
|
24010
24022
|
return (tree, context) => __async(this, null, function* () {
|
|
24011
24023
|
const basePath = process.cwd();
|