@angular/core 18.0.0-next.3 → 18.0.0-next.5
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/take_until_destroyed.mjs +2 -2
- package/esm2022/rxjs-interop/src/to_observable.mjs +1 -1
- package/esm2022/rxjs-interop/src/to_signal.mjs +2 -2
- package/esm2022/src/application/application_ref.mjs +4 -2
- package/esm2022/src/application/application_tokens.mjs +1 -1
- package/esm2022/src/change_detection/change_detector_ref.mjs +3 -3
- package/esm2022/src/change_detection/scheduling/flags.mjs +10 -0
- package/esm2022/src/change_detection/scheduling/ng_zone_scheduling.mjs +28 -33
- package/esm2022/src/change_detection/scheduling/zoneless_scheduling.mjs +1 -1
- package/esm2022/src/change_detection/scheduling/zoneless_scheduling_impl.mjs +57 -9
- package/esm2022/src/core.mjs +2 -1
- package/esm2022/src/core_private_export.mjs +1 -3
- package/esm2022/src/core_render3_private_export.mjs +1 -2
- package/esm2022/src/debug/debug_node.mjs +5 -5
- package/esm2022/src/di/contextual.mjs +3 -3
- package/esm2022/src/di/injectable.mjs +1 -1
- package/esm2022/src/di/injector.mjs +4 -4
- package/esm2022/src/di/injector_compatibility.mjs +3 -3
- package/esm2022/src/di/interface/provider.mjs +1 -1
- package/esm2022/src/di/metadata.mjs +1 -1
- package/esm2022/src/di/provider_collection.mjs +2 -2
- package/esm2022/src/event_emitter.mjs +1 -1
- package/esm2022/src/hydration/api.mjs +2 -3
- package/esm2022/src/i18n/locale_data_api.mjs +4 -4
- package/esm2022/src/i18n/tokens.mjs +6 -6
- package/esm2022/src/interface/lifecycle_hooks.mjs +1 -1
- package/esm2022/src/linker/compiler.mjs +1 -7
- package/esm2022/src/linker/ng_module_factory.mjs +2 -3
- package/esm2022/src/linker/template_ref.mjs +1 -2
- package/esm2022/src/metadata/directives.mjs +1 -62
- package/esm2022/src/metadata/do_bootstrap.mjs +1 -1
- package/esm2022/src/metadata/ng_module.mjs +1 -1
- package/esm2022/src/platform/platform_ref.mjs +3 -3
- package/esm2022/src/render3/component.mjs +3 -4
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/render3/definition.mjs +2 -2
- package/esm2022/src/render3/instructions/change_detection.mjs +3 -6
- package/esm2022/src/render3/instructions/control_flow.mjs +6 -6
- package/esm2022/src/render3/jit/environment.mjs +1 -3
- package/esm2022/src/render3/ng_module_ref.mjs +1 -4
- package/esm2022/src/render3/node_manipulation.mjs +19 -15
- package/esm2022/src/render3/reactivity/effect.mjs +1 -1
- package/esm2022/src/render3/view_ref.mjs +14 -4
- package/esm2022/src/testability/testability.mjs +2 -30
- package/esm2022/src/util/callback_scheduler.mjs +3 -3
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/component_fixture.mjs +7 -12
- package/esm2022/testing/src/logger.mjs +3 -3
- package/esm2022/testing/src/test_bed_common.mjs +1 -6
- package/esm2022/testing/src/testing.mjs +1 -2
- package/event-dispatch-contract.min.js +1 -0
- package/fesm2022/core.mjs +155 -201
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +2 -2
- package/fesm2022/rxjs-interop.mjs +4 -4
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +35 -45
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +215 -206
- package/package.json +4 -1
- package/primitives/signals/index.d.ts +2 -2
- package/rxjs-interop/index.d.ts +5 -5
- package/schematics/migrations/block-template-entities/bundle.js +188 -249
- package/schematics/migrations/block-template-entities/bundle.js.map +3 -3
- package/schematics/migrations/compiler-options/bundle.js +13 -13
- package/schematics/migrations/compiler-options/bundle.js.map +1 -1
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +194 -255
- package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +3 -3
- package/schematics/migrations/transfer-state/bundle.js +13 -13
- package/schematics/migrations/transfer-state/bundle.js.map +1 -1
- package/schematics/ng-generate/control-flow-migration/bundle.js +197 -259
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +3 -3
- package/schematics/ng-generate/standalone-migration/bundle.js +517 -556
- package/schematics/ng-generate/standalone-migration/bundle.js.map +3 -3
- package/testing/index.d.ts +2 -8
- package/esm2022/testing/src/private_export.mjs +0 -9
|
@@ -63,7 +63,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
63
63
|
});
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
-
// bazel-out/
|
|
66
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/block-template-entities/index.mjs
|
|
67
67
|
var block_template_entities_exports = {};
|
|
68
68
|
__export(block_template_entities_exports, {
|
|
69
69
|
default: () => block_template_entities_default
|
|
@@ -72,7 +72,7 @@ module.exports = __toCommonJS(block_template_entities_exports);
|
|
|
72
72
|
var import_schematics = require("@angular-devkit/schematics");
|
|
73
73
|
var import_path3 = require("path");
|
|
74
74
|
|
|
75
|
-
// bazel-out/
|
|
75
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
76
76
|
var import_core = require("@angular-devkit/core");
|
|
77
77
|
function getProjectTsConfigPaths(tree) {
|
|
78
78
|
return __async(this, null, function* () {
|
|
@@ -152,11 +152,11 @@ function getWorkspace(tree) {
|
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
// bazel-out/
|
|
155
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
156
156
|
var import_path = require("path");
|
|
157
157
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
158
158
|
|
|
159
|
-
// bazel-out/
|
|
159
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
160
160
|
var path = __toESM(require("path"), 1);
|
|
161
161
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
162
162
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -173,7 +173,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
173
173
|
return import_typescript.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
// bazel-out/
|
|
176
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
177
177
|
function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
|
|
178
178
|
const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
|
|
179
179
|
return import_typescript2.default.createProgram(rootNames, options, host);
|
|
@@ -206,7 +206,7 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
206
206
|
return !(0, import_path.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
// bazel-out/
|
|
209
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/selector.mjs
|
|
210
210
|
var _SELECTOR_REGEXP = new RegExp(
|
|
211
211
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
212
212
|
"g"
|
|
@@ -514,7 +514,7 @@ var SelectorContext = class {
|
|
|
514
514
|
}
|
|
515
515
|
};
|
|
516
516
|
|
|
517
|
-
// bazel-out/
|
|
517
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/core.mjs
|
|
518
518
|
var ViewEncapsulation;
|
|
519
519
|
(function(ViewEncapsulation2) {
|
|
520
520
|
ViewEncapsulation2[ViewEncapsulation2["Emulated"] = 0] = "Emulated";
|
|
@@ -582,7 +582,7 @@ function parseSelectorToR3Selector(selector) {
|
|
|
582
582
|
return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
|
|
583
583
|
}
|
|
584
584
|
|
|
585
|
-
// bazel-out/
|
|
585
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
|
|
586
586
|
var textEncoder;
|
|
587
587
|
function computeDigest(message) {
|
|
588
588
|
return sha1(serializeNodes(message.nodes).join("") + `[${message.meaning}]`);
|
|
@@ -822,7 +822,7 @@ function wordAt(bytes, index, endian) {
|
|
|
822
822
|
return word;
|
|
823
823
|
}
|
|
824
824
|
|
|
825
|
-
// bazel-out/
|
|
825
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
826
826
|
var TypeModifier;
|
|
827
827
|
(function(TypeModifier2) {
|
|
828
828
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -1760,7 +1760,7 @@ function serializeTags(tags) {
|
|
|
1760
1760
|
return out;
|
|
1761
1761
|
}
|
|
1762
1762
|
|
|
1763
|
-
// bazel-out/
|
|
1763
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
1764
1764
|
var CONSTANT_PREFIX = "_c";
|
|
1765
1765
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
1766
1766
|
var KEY_CONTEXT = {};
|
|
@@ -1948,7 +1948,7 @@ function isLongStringLiteral(expr) {
|
|
|
1948
1948
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
1949
1949
|
}
|
|
1950
1950
|
|
|
1951
|
-
// bazel-out/
|
|
1951
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
1952
1952
|
var CORE = "@angular/core";
|
|
1953
1953
|
var _Identifiers = class {
|
|
1954
1954
|
};
|
|
@@ -2574,12 +2574,6 @@ var Identifiers = _Identifiers;
|
|
|
2574
2574
|
moduleName: CORE
|
|
2575
2575
|
};
|
|
2576
2576
|
})();
|
|
2577
|
-
(() => {
|
|
2578
|
-
_Identifiers.InputFlags = {
|
|
2579
|
-
name: "\u0275\u0275InputFlags",
|
|
2580
|
-
moduleName: CORE
|
|
2581
|
-
};
|
|
2582
|
-
})();
|
|
2583
2577
|
(() => {
|
|
2584
2578
|
_Identifiers.sanitizeHtml = { name: "\u0275\u0275sanitizeHtml", moduleName: CORE };
|
|
2585
2579
|
})();
|
|
@@ -2617,7 +2611,7 @@ var Identifiers = _Identifiers;
|
|
|
2617
2611
|
_Identifiers.unwrapWritableSignal = { name: "\u0275unwrapWritableSignal", moduleName: CORE };
|
|
2618
2612
|
})();
|
|
2619
2613
|
|
|
2620
|
-
// bazel-out/
|
|
2614
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/util.mjs
|
|
2621
2615
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
2622
2616
|
function dashCaseToCamelCase(input) {
|
|
2623
2617
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -2694,7 +2688,7 @@ var Version = class {
|
|
|
2694
2688
|
};
|
|
2695
2689
|
var _global = globalThis;
|
|
2696
2690
|
|
|
2697
|
-
// bazel-out/
|
|
2691
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
2698
2692
|
var VERSION = 3;
|
|
2699
2693
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
2700
2694
|
var SourceMapGenerator = class {
|
|
@@ -2823,7 +2817,7 @@ function toBase64Digit(value) {
|
|
|
2823
2817
|
return B64_DIGITS[value];
|
|
2824
2818
|
}
|
|
2825
2819
|
|
|
2826
|
-
// bazel-out/
|
|
2820
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
2827
2821
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
2828
2822
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
2829
2823
|
var _INDENT_WITH = " ";
|
|
@@ -3311,7 +3305,7 @@ function _createIndent(count) {
|
|
|
3311
3305
|
return res;
|
|
3312
3306
|
}
|
|
3313
3307
|
|
|
3314
|
-
// bazel-out/
|
|
3308
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
3315
3309
|
function typeWithParameters(type, numParams) {
|
|
3316
3310
|
if (numParams === 0) {
|
|
3317
3311
|
return expressionType(type);
|
|
@@ -3366,7 +3360,7 @@ function generateForwardRef(expr) {
|
|
|
3366
3360
|
return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
|
|
3367
3361
|
}
|
|
3368
3362
|
|
|
3369
|
-
// bazel-out/
|
|
3363
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
3370
3364
|
var R3FactoryDelegateType;
|
|
3371
3365
|
(function(R3FactoryDelegateType2) {
|
|
3372
3366
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -3511,7 +3505,7 @@ function getInjectFn(target) {
|
|
|
3511
3505
|
}
|
|
3512
3506
|
}
|
|
3513
3507
|
|
|
3514
|
-
// bazel-out/
|
|
3508
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
3515
3509
|
var ParserError = class {
|
|
3516
3510
|
constructor(message, input, errLocation, ctxLocation) {
|
|
3517
3511
|
this.input = input;
|
|
@@ -3949,7 +3943,7 @@ var BoundElementProperty = class {
|
|
|
3949
3943
|
}
|
|
3950
3944
|
};
|
|
3951
3945
|
|
|
3952
|
-
// bazel-out/
|
|
3946
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
3953
3947
|
var TagContentType;
|
|
3954
3948
|
(function(TagContentType2) {
|
|
3955
3949
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -3986,7 +3980,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
3986
3980
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
3987
3981
|
}
|
|
3988
3982
|
|
|
3989
|
-
// bazel-out/
|
|
3983
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
3990
3984
|
var Comment = class {
|
|
3991
3985
|
constructor(value, sourceSpan) {
|
|
3992
3986
|
this.value = value;
|
|
@@ -4368,7 +4362,7 @@ function visitAll(visitor, nodes) {
|
|
|
4368
4362
|
return result;
|
|
4369
4363
|
}
|
|
4370
4364
|
|
|
4371
|
-
// bazel-out/
|
|
4365
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
4372
4366
|
var Message = class {
|
|
4373
4367
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
4374
4368
|
this.nodes = nodes;
|
|
@@ -4506,7 +4500,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
4506
4500
|
}
|
|
4507
4501
|
};
|
|
4508
4502
|
|
|
4509
|
-
// bazel-out/
|
|
4503
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
4510
4504
|
var _Visitor = class {
|
|
4511
4505
|
visitTag(tag) {
|
|
4512
4506
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -4534,12 +4528,12 @@ ${doctype.dtd}
|
|
|
4534
4528
|
};
|
|
4535
4529
|
var _visitor = new _Visitor();
|
|
4536
4530
|
|
|
4537
|
-
// bazel-out/
|
|
4531
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
4538
4532
|
function toPublicName(internalName) {
|
|
4539
4533
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
4540
4534
|
}
|
|
4541
4535
|
|
|
4542
|
-
// bazel-out/
|
|
4536
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
4543
4537
|
var I18N_ATTR = "i18n";
|
|
4544
4538
|
var I18N_ATTR_PREFIX = "i18n-";
|
|
4545
4539
|
var I18N_ICU_VAR_PREFIX = "VAR_";
|
|
@@ -4579,7 +4573,7 @@ function formatI18nPlaceholderName(name, useCamelCase = true) {
|
|
|
4579
4573
|
return postfix ? `${raw}_${postfix}` : raw;
|
|
4580
4574
|
}
|
|
4581
4575
|
|
|
4582
|
-
// bazel-out/
|
|
4576
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
4583
4577
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
4584
4578
|
var TEMPORARY_NAME = "_t";
|
|
4585
4579
|
var CONTEXT_NAME = "ctx";
|
|
@@ -4622,16 +4616,15 @@ function conditionallyCreateDirectiveBindingLiteral(map, forInputs) {
|
|
|
4622
4616
|
publicName = value.bindingPropertyName;
|
|
4623
4617
|
const differentDeclaringName = publicName !== declaredName;
|
|
4624
4618
|
const hasDecoratorInputTransform = value.transformFunction !== null;
|
|
4625
|
-
let flags =
|
|
4619
|
+
let flags = InputFlags.None;
|
|
4626
4620
|
if (value.isSignal) {
|
|
4627
|
-
flags
|
|
4621
|
+
flags |= InputFlags.SignalBased;
|
|
4628
4622
|
}
|
|
4629
4623
|
if (hasDecoratorInputTransform) {
|
|
4630
|
-
flags
|
|
4624
|
+
flags |= InputFlags.HasDecoratorInputTransform;
|
|
4631
4625
|
}
|
|
4632
|
-
if (forInputs && (differentDeclaringName || hasDecoratorInputTransform || flags !==
|
|
4633
|
-
const
|
|
4634
|
-
const result = [flagsExpr, asLiteral(publicName)];
|
|
4626
|
+
if (forInputs && (differentDeclaringName || hasDecoratorInputTransform || flags !== InputFlags.None)) {
|
|
4627
|
+
const result = [literal(flags), asLiteral(publicName)];
|
|
4635
4628
|
if (differentDeclaringName || hasDecoratorInputTransform) {
|
|
4636
4629
|
result.push(asLiteral(declaredName));
|
|
4637
4630
|
if (hasDecoratorInputTransform) {
|
|
@@ -4650,15 +4643,6 @@ function conditionallyCreateDirectiveBindingLiteral(map, forInputs) {
|
|
|
4650
4643
|
};
|
|
4651
4644
|
}));
|
|
4652
4645
|
}
|
|
4653
|
-
function getInputFlagExpr(flag) {
|
|
4654
|
-
return importExpr(Identifiers.InputFlags).prop(InputFlags[flag]);
|
|
4655
|
-
}
|
|
4656
|
-
function bitwiseOrInputFlagsExpr(flag, expr) {
|
|
4657
|
-
if (expr === null) {
|
|
4658
|
-
return getInputFlagExpr(flag);
|
|
4659
|
-
}
|
|
4660
|
-
return getInputFlagExpr(flag).bitwiseOr(expr);
|
|
4661
|
-
}
|
|
4662
4646
|
var DefinitionMap = class {
|
|
4663
4647
|
constructor() {
|
|
4664
4648
|
this.values = [];
|
|
@@ -4716,7 +4700,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
|
|
|
4716
4700
|
return attributesMap;
|
|
4717
4701
|
}
|
|
4718
4702
|
|
|
4719
|
-
// bazel-out/
|
|
4703
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
4720
4704
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
4721
4705
|
let result = null;
|
|
4722
4706
|
const factoryMeta = {
|
|
@@ -4801,7 +4785,7 @@ function createFactoryFunction(type) {
|
|
|
4801
4785
|
return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
|
|
4802
4786
|
}
|
|
4803
4787
|
|
|
4804
|
-
// bazel-out/
|
|
4788
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
4805
4789
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
4806
4790
|
/^\s*$/,
|
|
4807
4791
|
/[<>]/,
|
|
@@ -4823,7 +4807,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
4823
4807
|
}
|
|
4824
4808
|
}
|
|
4825
4809
|
|
|
4826
|
-
// bazel-out/
|
|
4810
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
|
|
4827
4811
|
var InterpolationConfig = class {
|
|
4828
4812
|
static fromArray(markers) {
|
|
4829
4813
|
if (!markers) {
|
|
@@ -4840,7 +4824,7 @@ var InterpolationConfig = class {
|
|
|
4840
4824
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
4841
4825
|
var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
|
|
4842
4826
|
|
|
4843
|
-
// bazel-out/
|
|
4827
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
4844
4828
|
var $EOF = 0;
|
|
4845
4829
|
var $BSPACE = 8;
|
|
4846
4830
|
var $TAB = 9;
|
|
@@ -4922,7 +4906,7 @@ function isQuote(code) {
|
|
|
4922
4906
|
return code === $SQ || code === $DQ || code === $BT;
|
|
4923
4907
|
}
|
|
4924
4908
|
|
|
4925
|
-
// bazel-out/
|
|
4909
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
4926
4910
|
var ParseLocation = class {
|
|
4927
4911
|
constructor(file, offset, line, col) {
|
|
4928
4912
|
this.file = file;
|
|
@@ -5069,7 +5053,7 @@ function sanitizeIdentifier(name) {
|
|
|
5069
5053
|
return name.replace(/\W/g, "_");
|
|
5070
5054
|
}
|
|
5071
5055
|
|
|
5072
|
-
// bazel-out/
|
|
5056
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
5073
5057
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
5074
5058
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
5075
5059
|
constructor() {
|
|
@@ -5162,7 +5146,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
5162
5146
|
}
|
|
5163
5147
|
};
|
|
5164
5148
|
|
|
5165
|
-
// bazel-out/
|
|
5149
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
5166
5150
|
var policy;
|
|
5167
5151
|
function getPolicy() {
|
|
5168
5152
|
if (policy === void 0) {
|
|
@@ -5200,7 +5184,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
5200
5184
|
return fn2.bind(_global);
|
|
5201
5185
|
}
|
|
5202
5186
|
|
|
5203
|
-
// bazel-out/
|
|
5187
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
5204
5188
|
var JitEvaluator = class {
|
|
5205
5189
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
5206
5190
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -5291,7 +5275,7 @@ function isUseStrictStatement(statement) {
|
|
|
5291
5275
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
5292
5276
|
}
|
|
5293
5277
|
|
|
5294
|
-
// bazel-out/
|
|
5278
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
5295
5279
|
function compileInjector(meta) {
|
|
5296
5280
|
const definitionMap = new DefinitionMap();
|
|
5297
5281
|
if (meta.providers !== null) {
|
|
@@ -5308,7 +5292,7 @@ function createInjectorType(meta) {
|
|
|
5308
5292
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
5309
5293
|
}
|
|
5310
5294
|
|
|
5311
|
-
// bazel-out/
|
|
5295
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
5312
5296
|
var R3JitReflector = class {
|
|
5313
5297
|
constructor(context) {
|
|
5314
5298
|
this.context = context;
|
|
@@ -5324,7 +5308,7 @@ var R3JitReflector = class {
|
|
|
5324
5308
|
}
|
|
5325
5309
|
};
|
|
5326
5310
|
|
|
5327
|
-
// bazel-out/
|
|
5311
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
5328
5312
|
var R3SelectorScopeMode;
|
|
5329
5313
|
(function(R3SelectorScopeMode2) {
|
|
5330
5314
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -5465,7 +5449,7 @@ function tupleOfTypes(types) {
|
|
|
5465
5449
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
5466
5450
|
}
|
|
5467
5451
|
|
|
5468
|
-
// bazel-out/
|
|
5452
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
5469
5453
|
function compilePipeFromMetadata(metadata) {
|
|
5470
5454
|
const definitionMapValues = [];
|
|
5471
5455
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -5486,7 +5470,7 @@ function createPipeType(metadata) {
|
|
|
5486
5470
|
]));
|
|
5487
5471
|
}
|
|
5488
5472
|
|
|
5489
|
-
// bazel-out/
|
|
5473
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
5490
5474
|
var R3TemplateDependencyKind;
|
|
5491
5475
|
(function(R3TemplateDependencyKind2) {
|
|
5492
5476
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -5494,7 +5478,7 @@ var R3TemplateDependencyKind;
|
|
|
5494
5478
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
5495
5479
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
5496
5480
|
|
|
5497
|
-
// bazel-out/
|
|
5481
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
5498
5482
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
5499
5483
|
"inherit",
|
|
5500
5484
|
"initial",
|
|
@@ -5966,7 +5950,7 @@ function repeatGroups(groups, multiples) {
|
|
|
5966
5950
|
}
|
|
5967
5951
|
}
|
|
5968
5952
|
|
|
5969
|
-
// bazel-out/
|
|
5953
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
5970
5954
|
var OpKind;
|
|
5971
5955
|
(function(OpKind2) {
|
|
5972
5956
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -6120,7 +6104,7 @@ var TemplateKind;
|
|
|
6120
6104
|
TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
|
|
6121
6105
|
})(TemplateKind || (TemplateKind = {}));
|
|
6122
6106
|
|
|
6123
|
-
// bazel-out/
|
|
6107
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
6124
6108
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
6125
6109
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
6126
6110
|
var ConsumesVarsTrait = Symbol("ConsumesVars");
|
|
@@ -6148,7 +6132,7 @@ function hasUsesVarOffsetTrait(expr) {
|
|
|
6148
6132
|
return expr[UsesVarOffset] === true;
|
|
6149
6133
|
}
|
|
6150
6134
|
|
|
6151
|
-
// bazel-out/
|
|
6135
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
6152
6136
|
function createStatementOp(statement) {
|
|
6153
6137
|
return __spreadValues({
|
|
6154
6138
|
kind: OpKind.Statement,
|
|
@@ -6170,7 +6154,7 @@ var NEW_OP = {
|
|
|
6170
6154
|
next: null
|
|
6171
6155
|
};
|
|
6172
6156
|
|
|
6173
|
-
// bazel-out/
|
|
6157
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
6174
6158
|
function createInterpolateTextOp(xref, interpolation, sourceSpan) {
|
|
6175
6159
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
6176
6160
|
kind: OpKind.InterpolateText,
|
|
@@ -6296,11 +6280,10 @@ function createAdvanceOp(delta, sourceSpan) {
|
|
|
6296
6280
|
sourceSpan
|
|
6297
6281
|
}, NEW_OP);
|
|
6298
6282
|
}
|
|
6299
|
-
function createConditionalOp(target,
|
|
6283
|
+
function createConditionalOp(target, test, conditions, sourceSpan) {
|
|
6300
6284
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
6301
6285
|
kind: OpKind.Conditional,
|
|
6302
6286
|
target,
|
|
6303
|
-
targetSlot,
|
|
6304
6287
|
test,
|
|
6305
6288
|
conditions,
|
|
6306
6289
|
processed: null,
|
|
@@ -6351,7 +6334,7 @@ function createI18nApplyOp(owner, handle, sourceSpan) {
|
|
|
6351
6334
|
}, NEW_OP);
|
|
6352
6335
|
}
|
|
6353
6336
|
|
|
6354
|
-
// bazel-out/
|
|
6337
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
6355
6338
|
var _a;
|
|
6356
6339
|
var _b;
|
|
6357
6340
|
var _c;
|
|
@@ -7213,7 +7196,7 @@ function isStringLiteral(expr) {
|
|
|
7213
7196
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
7214
7197
|
}
|
|
7215
7198
|
|
|
7216
|
-
// bazel-out/
|
|
7199
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
7217
7200
|
var _OpList = class {
|
|
7218
7201
|
constructor() {
|
|
7219
7202
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -7404,14 +7387,14 @@ var OpList = _OpList;
|
|
|
7404
7387
|
_OpList.nextListId = 0;
|
|
7405
7388
|
})();
|
|
7406
7389
|
|
|
7407
|
-
// bazel-out/
|
|
7390
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
7408
7391
|
var SlotHandle = class {
|
|
7409
7392
|
constructor() {
|
|
7410
7393
|
this.slot = null;
|
|
7411
7394
|
}
|
|
7412
7395
|
};
|
|
7413
7396
|
|
|
7414
|
-
// bazel-out/
|
|
7397
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
7415
7398
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
7416
7399
|
OpKind.Element,
|
|
7417
7400
|
OpKind.ElementStart,
|
|
@@ -7715,7 +7698,7 @@ function createI18nAttributesOp(xref, handle, target) {
|
|
|
7715
7698
|
}, NEW_OP), TRAIT_CONSUMES_SLOT);
|
|
7716
7699
|
}
|
|
7717
7700
|
|
|
7718
|
-
// bazel-out/
|
|
7701
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
7719
7702
|
function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
|
|
7720
7703
|
return __spreadValues(__spreadValues({
|
|
7721
7704
|
kind: OpKind.HostProperty,
|
|
@@ -7729,10 +7712,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
|
|
|
7729
7712
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
7730
7713
|
}
|
|
7731
7714
|
|
|
7732
|
-
// bazel-out/
|
|
7715
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
7733
7716
|
var CTX_REF = "CTX_REF_MARKER";
|
|
7734
7717
|
|
|
7735
|
-
// bazel-out/
|
|
7718
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
7736
7719
|
var CompilationJobKind;
|
|
7737
7720
|
(function(CompilationJobKind2) {
|
|
7738
7721
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -7840,7 +7823,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
7840
7823
|
}
|
|
7841
7824
|
};
|
|
7842
7825
|
|
|
7843
|
-
// bazel-out/
|
|
7826
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
7844
7827
|
function deleteAnyCasts(job) {
|
|
7845
7828
|
for (const unit of job.units) {
|
|
7846
7829
|
for (const op of unit.ops()) {
|
|
@@ -7858,7 +7841,7 @@ function removeAnys(e) {
|
|
|
7858
7841
|
return e;
|
|
7859
7842
|
}
|
|
7860
7843
|
|
|
7861
|
-
// bazel-out/
|
|
7844
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
7862
7845
|
function applyI18nExpressions(job) {
|
|
7863
7846
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
7864
7847
|
for (const unit of job.units) {
|
|
@@ -7901,7 +7884,7 @@ function needsApplication(i18nContexts, op) {
|
|
|
7901
7884
|
return false;
|
|
7902
7885
|
}
|
|
7903
7886
|
|
|
7904
|
-
// bazel-out/
|
|
7887
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
7905
7888
|
function assignI18nSlotDependencies(job) {
|
|
7906
7889
|
for (const unit of job.units) {
|
|
7907
7890
|
let updateOp = unit.update.head;
|
|
@@ -7946,7 +7929,7 @@ function assignI18nSlotDependencies(job) {
|
|
|
7946
7929
|
}
|
|
7947
7930
|
}
|
|
7948
7931
|
|
|
7949
|
-
// bazel-out/
|
|
7932
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
7950
7933
|
function createOpXrefMap(unit) {
|
|
7951
7934
|
const map = /* @__PURE__ */ new Map();
|
|
7952
7935
|
for (const op of unit.create) {
|
|
@@ -7961,7 +7944,7 @@ function createOpXrefMap(unit) {
|
|
|
7961
7944
|
return map;
|
|
7962
7945
|
}
|
|
7963
7946
|
|
|
7964
|
-
// bazel-out/
|
|
7947
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
7965
7948
|
function extractAttributes(job) {
|
|
7966
7949
|
for (const unit of job.units) {
|
|
7967
7950
|
const elements = createOpXrefMap(unit);
|
|
@@ -8090,7 +8073,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
8090
8073
|
}
|
|
8091
8074
|
}
|
|
8092
8075
|
|
|
8093
|
-
// bazel-out/
|
|
8076
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
8094
8077
|
function lookupElement2(elements, xref) {
|
|
8095
8078
|
const el = elements.get(xref);
|
|
8096
8079
|
if (el === void 0) {
|
|
@@ -8147,7 +8130,7 @@ function specializeBindings(job) {
|
|
|
8147
8130
|
}
|
|
8148
8131
|
}
|
|
8149
8132
|
|
|
8150
|
-
// bazel-out/
|
|
8133
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
8151
8134
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
8152
8135
|
Identifiers.attribute,
|
|
8153
8136
|
Identifiers.classProp,
|
|
@@ -8215,7 +8198,7 @@ function chainOperationsInList(opList) {
|
|
|
8215
8198
|
}
|
|
8216
8199
|
}
|
|
8217
8200
|
|
|
8218
|
-
// bazel-out/
|
|
8201
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
8219
8202
|
function collapseSingletonInterpolations(job) {
|
|
8220
8203
|
for (const unit of job.units) {
|
|
8221
8204
|
for (const op of unit.update) {
|
|
@@ -8227,7 +8210,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
8227
8210
|
}
|
|
8228
8211
|
}
|
|
8229
8212
|
|
|
8230
|
-
// bazel-out/
|
|
8213
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
8231
8214
|
function generateConditionalExpressions(job) {
|
|
8232
8215
|
for (const unit of job.units) {
|
|
8233
8216
|
for (const op of unit.ops()) {
|
|
@@ -8264,7 +8247,7 @@ function generateConditionalExpressions(job) {
|
|
|
8264
8247
|
}
|
|
8265
8248
|
}
|
|
8266
8249
|
|
|
8267
|
-
// bazel-out/
|
|
8250
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
8268
8251
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
8269
8252
|
["&&", BinaryOperator.And],
|
|
8270
8253
|
[">", BinaryOperator.Bigger],
|
|
@@ -8315,7 +8298,7 @@ function literalOrArrayLiteral(value) {
|
|
|
8315
8298
|
return literal(value);
|
|
8316
8299
|
}
|
|
8317
8300
|
|
|
8318
|
-
// bazel-out/
|
|
8301
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
8319
8302
|
function collectElementConsts(job) {
|
|
8320
8303
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
8321
8304
|
for (const unit of job.units) {
|
|
@@ -8484,7 +8467,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
8484
8467
|
return literalArr(attrArray);
|
|
8485
8468
|
}
|
|
8486
8469
|
|
|
8487
|
-
// bazel-out/
|
|
8470
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
|
|
8488
8471
|
function convertI18nBindings(job) {
|
|
8489
8472
|
const i18nAttributesByElem = /* @__PURE__ */ new Map();
|
|
8490
8473
|
for (const unit of job.units) {
|
|
@@ -8525,7 +8508,7 @@ function convertI18nBindings(job) {
|
|
|
8525
8508
|
}
|
|
8526
8509
|
}
|
|
8527
8510
|
|
|
8528
|
-
// bazel-out/
|
|
8511
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
|
|
8529
8512
|
function resolveDeferDepsFns(job) {
|
|
8530
8513
|
var _a2;
|
|
8531
8514
|
for (const unit of job.units) {
|
|
@@ -8550,7 +8533,7 @@ function resolveDeferDepsFns(job) {
|
|
|
8550
8533
|
}
|
|
8551
8534
|
}
|
|
8552
8535
|
|
|
8553
|
-
// bazel-out/
|
|
8536
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
8554
8537
|
function createI18nContexts(job) {
|
|
8555
8538
|
const attrContextByMessage = /* @__PURE__ */ new Map();
|
|
8556
8539
|
for (const unit of job.units) {
|
|
@@ -8628,7 +8611,7 @@ function createI18nContexts(job) {
|
|
|
8628
8611
|
}
|
|
8629
8612
|
}
|
|
8630
8613
|
|
|
8631
|
-
// bazel-out/
|
|
8614
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
|
|
8632
8615
|
function deduplicateTextBindings(job) {
|
|
8633
8616
|
const seen = /* @__PURE__ */ new Map();
|
|
8634
8617
|
for (const unit of job.units) {
|
|
@@ -8650,7 +8633,7 @@ function deduplicateTextBindings(job) {
|
|
|
8650
8633
|
}
|
|
8651
8634
|
}
|
|
8652
8635
|
|
|
8653
|
-
// bazel-out/
|
|
8636
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
8654
8637
|
function configureDeferInstructions(job) {
|
|
8655
8638
|
for (const unit of job.units) {
|
|
8656
8639
|
for (const op of unit.create) {
|
|
@@ -8667,7 +8650,7 @@ function configureDeferInstructions(job) {
|
|
|
8667
8650
|
}
|
|
8668
8651
|
}
|
|
8669
8652
|
|
|
8670
|
-
// bazel-out/
|
|
8653
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
8671
8654
|
function resolveDeferTargetNames(job) {
|
|
8672
8655
|
const scopes = /* @__PURE__ */ new Map();
|
|
8673
8656
|
function getScopeForView2(view) {
|
|
@@ -8761,7 +8744,7 @@ var Scope = class {
|
|
|
8761
8744
|
}
|
|
8762
8745
|
};
|
|
8763
8746
|
|
|
8764
|
-
// bazel-out/
|
|
8747
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
8765
8748
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
8766
8749
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
8767
8750
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -8788,7 +8771,7 @@ function collapseEmptyInstructions(job) {
|
|
|
8788
8771
|
}
|
|
8789
8772
|
}
|
|
8790
8773
|
|
|
8791
|
-
// bazel-out/
|
|
8774
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
8792
8775
|
function expandSafeReads(job) {
|
|
8793
8776
|
for (const unit of job.units) {
|
|
8794
8777
|
for (const op of unit.ops()) {
|
|
@@ -8924,7 +8907,7 @@ function ternaryTransform(e) {
|
|
|
8924
8907
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
8925
8908
|
}
|
|
8926
8909
|
|
|
8927
|
-
// bazel-out/
|
|
8910
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
8928
8911
|
var ESCAPE = "\uFFFD";
|
|
8929
8912
|
var ELEMENT_MARKER = "#";
|
|
8930
8913
|
var TEMPLATE_MARKER = "*";
|
|
@@ -9060,7 +9043,7 @@ function formatValue(value) {
|
|
|
9060
9043
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
9061
9044
|
}
|
|
9062
9045
|
|
|
9063
|
-
// bazel-out/
|
|
9046
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
9064
9047
|
function generateAdvance(job) {
|
|
9065
9048
|
for (const unit of job.units) {
|
|
9066
9049
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -9092,7 +9075,7 @@ function generateAdvance(job) {
|
|
|
9092
9075
|
}
|
|
9093
9076
|
}
|
|
9094
9077
|
|
|
9095
|
-
// bazel-out/
|
|
9078
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
9096
9079
|
function generateProjectionDefs(job) {
|
|
9097
9080
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
9098
9081
|
const selectors = [];
|
|
@@ -9116,7 +9099,7 @@ function generateProjectionDefs(job) {
|
|
|
9116
9099
|
}
|
|
9117
9100
|
}
|
|
9118
9101
|
|
|
9119
|
-
// bazel-out/
|
|
9102
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
9120
9103
|
function generateVariables(job) {
|
|
9121
9104
|
recursivelyProcessView(job.root, null);
|
|
9122
9105
|
}
|
|
@@ -9215,7 +9198,7 @@ function generateVariablesInScopeForView(view, scope) {
|
|
|
9215
9198
|
return newOps;
|
|
9216
9199
|
}
|
|
9217
9200
|
|
|
9218
|
-
// bazel-out/
|
|
9201
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
9219
9202
|
function collectConstExpressions(job) {
|
|
9220
9203
|
for (const unit of job.units) {
|
|
9221
9204
|
for (const op of unit.ops()) {
|
|
@@ -9229,7 +9212,7 @@ function collectConstExpressions(job) {
|
|
|
9229
9212
|
}
|
|
9230
9213
|
}
|
|
9231
9214
|
|
|
9232
|
-
// bazel-out/
|
|
9215
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
9233
9216
|
var STYLE_DOT = "style.";
|
|
9234
9217
|
var CLASS_DOT = "class.";
|
|
9235
9218
|
var STYLE_BANG = "style!";
|
|
@@ -9287,7 +9270,7 @@ function parseProperty(name) {
|
|
|
9287
9270
|
return { property: property2, suffix };
|
|
9288
9271
|
}
|
|
9289
9272
|
|
|
9290
|
-
// bazel-out/
|
|
9273
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
9291
9274
|
function mapLiteral(obj, quoted = false) {
|
|
9292
9275
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
9293
9276
|
key,
|
|
@@ -9296,7 +9279,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
9296
9279
|
})));
|
|
9297
9280
|
}
|
|
9298
9281
|
|
|
9299
|
-
// bazel-out/
|
|
9282
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
9300
9283
|
var IcuSerializerVisitor = class {
|
|
9301
9284
|
visitText(text2) {
|
|
9302
9285
|
return text2.value;
|
|
@@ -9330,7 +9313,7 @@ function serializeIcuNode(icu) {
|
|
|
9330
9313
|
return icu.visit(serializer);
|
|
9331
9314
|
}
|
|
9332
9315
|
|
|
9333
|
-
// bazel-out/
|
|
9316
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
9334
9317
|
var TokenType;
|
|
9335
9318
|
(function(TokenType2) {
|
|
9336
9319
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -9691,7 +9674,7 @@ function parseIntAutoRadix(text2) {
|
|
|
9691
9674
|
return result;
|
|
9692
9675
|
}
|
|
9693
9676
|
|
|
9694
|
-
// bazel-out/
|
|
9677
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
9695
9678
|
var SplitInterpolation = class {
|
|
9696
9679
|
constructor(strings, expressions, offsets) {
|
|
9697
9680
|
this.strings = strings;
|
|
@@ -10573,7 +10556,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
10573
10556
|
return offsetMap;
|
|
10574
10557
|
}
|
|
10575
10558
|
|
|
10576
|
-
// bazel-out/
|
|
10559
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
10577
10560
|
var NodeWithI18n = class {
|
|
10578
10561
|
constructor(sourceSpan, i18n2) {
|
|
10579
10562
|
this.sourceSpan = sourceSpan;
|
|
@@ -10725,7 +10708,7 @@ var RecursiveVisitor = class {
|
|
|
10725
10708
|
}
|
|
10726
10709
|
};
|
|
10727
10710
|
|
|
10728
|
-
// bazel-out/
|
|
10711
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
10729
10712
|
var _SECURITY_SCHEMA;
|
|
10730
10713
|
function SECURITY_SCHEMA() {
|
|
10731
10714
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -10783,11 +10766,11 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
10783
10766
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
10784
10767
|
}
|
|
10785
10768
|
|
|
10786
|
-
// bazel-out/
|
|
10769
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
10787
10770
|
var ElementSchemaRegistry = class {
|
|
10788
10771
|
};
|
|
10789
10772
|
|
|
10790
|
-
// bazel-out/
|
|
10773
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
10791
10774
|
var BOOLEAN = "boolean";
|
|
10792
10775
|
var NUMBER = "number";
|
|
10793
10776
|
var STRING = "string";
|
|
@@ -11140,7 +11123,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
11140
11123
|
}
|
|
11141
11124
|
}
|
|
11142
11125
|
|
|
11143
|
-
// bazel-out/
|
|
11126
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
11144
11127
|
var HtmlTagDefinition = class {
|
|
11145
11128
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
11146
11129
|
this.closedByChildren = {};
|
|
@@ -11258,7 +11241,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
11258
11241
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
11259
11242
|
}
|
|
11260
11243
|
|
|
11261
|
-
// bazel-out/
|
|
11244
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
11262
11245
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
11263
11246
|
"A": "LINK",
|
|
11264
11247
|
"B": "BOLD_TEXT",
|
|
@@ -11380,7 +11363,7 @@ var PlaceholderRegistry = class {
|
|
|
11380
11363
|
}
|
|
11381
11364
|
};
|
|
11382
11365
|
|
|
11383
|
-
// bazel-out/
|
|
11366
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
11384
11367
|
var _expParser = new Parser(new Lexer());
|
|
11385
11368
|
function createI18nMessageFactory(interpolationConfig, containerBlocks) {
|
|
11386
11369
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
|
|
@@ -11559,14 +11542,14 @@ function extractPlaceholderName(input) {
|
|
|
11559
11542
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
11560
11543
|
}
|
|
11561
11544
|
|
|
11562
|
-
// bazel-out/
|
|
11545
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
11563
11546
|
var I18nError = class extends ParseError {
|
|
11564
11547
|
constructor(span, msg) {
|
|
11565
11548
|
super(span, msg);
|
|
11566
11549
|
}
|
|
11567
11550
|
};
|
|
11568
11551
|
|
|
11569
|
-
// bazel-out/
|
|
11552
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
11570
11553
|
var NAMED_ENTITIES = {
|
|
11571
11554
|
"AElig": "\xC6",
|
|
11572
11555
|
"AMP": "&",
|
|
@@ -13697,7 +13680,7 @@ var NAMED_ENTITIES = {
|
|
|
13697
13680
|
var NGSP_UNICODE = "\uE500";
|
|
13698
13681
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
13699
13682
|
|
|
13700
|
-
// bazel-out/
|
|
13683
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
13701
13684
|
var TokenError = class extends ParseError {
|
|
13702
13685
|
constructor(errorMsg, tokenType, span) {
|
|
13703
13686
|
super(span, errorMsg);
|
|
@@ -14618,7 +14601,7 @@ var CursorError = class {
|
|
|
14618
14601
|
}
|
|
14619
14602
|
};
|
|
14620
14603
|
|
|
14621
|
-
// bazel-out/
|
|
14604
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
14622
14605
|
var TreeError = class extends ParseError {
|
|
14623
14606
|
static create(elementName, span, msg) {
|
|
14624
14607
|
return new TreeError(elementName, span, msg);
|
|
@@ -15002,7 +14985,7 @@ function decodeEntity(match, entity) {
|
|
|
15002
14985
|
return match;
|
|
15003
14986
|
}
|
|
15004
14987
|
|
|
15005
|
-
// bazel-out/
|
|
14988
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
15006
14989
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
15007
14990
|
"iframe|srcdoc",
|
|
15008
14991
|
"*|innerhtml",
|
|
@@ -15017,7 +15000,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
15017
15000
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
15018
15001
|
}
|
|
15019
15002
|
|
|
15020
|
-
// bazel-out/
|
|
15003
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
15021
15004
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
15022
15005
|
if (htmlNode instanceof NodeWithI18n) {
|
|
15023
15006
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -15174,7 +15157,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
15174
15157
|
return jsDocComment(tags);
|
|
15175
15158
|
}
|
|
15176
15159
|
|
|
15177
|
-
// bazel-out/
|
|
15160
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
15178
15161
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
15179
15162
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
15180
15163
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -15225,7 +15208,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
15225
15208
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
15226
15209
|
}
|
|
15227
15210
|
|
|
15228
|
-
// bazel-out/
|
|
15211
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
15229
15212
|
function createLocalizeStatements(variable2, message, params) {
|
|
15230
15213
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
15231
15214
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -15314,7 +15297,7 @@ function createEmptyMessagePart(location) {
|
|
|
15314
15297
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
15315
15298
|
}
|
|
15316
15299
|
|
|
15317
|
-
// bazel-out/
|
|
15300
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
15318
15301
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
15319
15302
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
15320
15303
|
var I18N_ICU_MAPPING_PREFIX = "I18N_EXP_";
|
|
@@ -15482,7 +15465,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
15482
15465
|
return variable(name);
|
|
15483
15466
|
}
|
|
15484
15467
|
|
|
15485
|
-
// bazel-out/
|
|
15468
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
15486
15469
|
function convertI18nText(job) {
|
|
15487
15470
|
var _a2, _b2, _c2;
|
|
15488
15471
|
for (const unit of job.units) {
|
|
@@ -15552,7 +15535,7 @@ function convertI18nText(job) {
|
|
|
15552
15535
|
}
|
|
15553
15536
|
}
|
|
15554
15537
|
|
|
15555
|
-
// bazel-out/
|
|
15538
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
15556
15539
|
function liftLocalRefs(job) {
|
|
15557
15540
|
for (const unit of job.units) {
|
|
15558
15541
|
for (const op of unit.create) {
|
|
@@ -15582,7 +15565,7 @@ function serializeLocalRefs(refs) {
|
|
|
15582
15565
|
return literalArr(constRefs);
|
|
15583
15566
|
}
|
|
15584
15567
|
|
|
15585
|
-
// bazel-out/
|
|
15568
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
15586
15569
|
function emitNamespaceChanges(job) {
|
|
15587
15570
|
for (const unit of job.units) {
|
|
15588
15571
|
let activeNamespace = Namespace.HTML;
|
|
@@ -15598,7 +15581,7 @@ function emitNamespaceChanges(job) {
|
|
|
15598
15581
|
}
|
|
15599
15582
|
}
|
|
15600
15583
|
|
|
15601
|
-
// bazel-out/
|
|
15584
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
15602
15585
|
function parse(value) {
|
|
15603
15586
|
const styles = [];
|
|
15604
15587
|
let i = 0;
|
|
@@ -15692,7 +15675,7 @@ function parseExtractedStyles(job) {
|
|
|
15692
15675
|
}
|
|
15693
15676
|
}
|
|
15694
15677
|
|
|
15695
|
-
// bazel-out/
|
|
15678
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
15696
15679
|
function nameFunctionsAndVariables(job) {
|
|
15697
15680
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
15698
15681
|
}
|
|
@@ -15833,7 +15816,7 @@ function stripImportant(name) {
|
|
|
15833
15816
|
return name;
|
|
15834
15817
|
}
|
|
15835
15818
|
|
|
15836
|
-
// bazel-out/
|
|
15819
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
15837
15820
|
function mergeNextContextExpressions(job) {
|
|
15838
15821
|
for (const unit of job.units) {
|
|
15839
15822
|
for (const op of unit.create) {
|
|
@@ -15879,7 +15862,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
15879
15862
|
}
|
|
15880
15863
|
}
|
|
15881
15864
|
|
|
15882
|
-
// bazel-out/
|
|
15865
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
15883
15866
|
var CONTAINER_TAG = "ng-container";
|
|
15884
15867
|
function generateNgContainerOps(job) {
|
|
15885
15868
|
for (const unit of job.units) {
|
|
@@ -15896,7 +15879,7 @@ function generateNgContainerOps(job) {
|
|
|
15896
15879
|
}
|
|
15897
15880
|
}
|
|
15898
15881
|
|
|
15899
|
-
// bazel-out/
|
|
15882
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
15900
15883
|
function lookupElement3(elements, xref) {
|
|
15901
15884
|
const el = elements.get(xref);
|
|
15902
15885
|
if (el === void 0) {
|
|
@@ -15926,7 +15909,7 @@ function disableBindings(job) {
|
|
|
15926
15909
|
}
|
|
15927
15910
|
}
|
|
15928
15911
|
|
|
15929
|
-
// bazel-out/
|
|
15912
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
15930
15913
|
function generateNullishCoalesceExpressions(job) {
|
|
15931
15914
|
for (const unit of job.units) {
|
|
15932
15915
|
for (const op of unit.ops()) {
|
|
@@ -15942,7 +15925,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
15942
15925
|
}
|
|
15943
15926
|
}
|
|
15944
15927
|
|
|
15945
|
-
// bazel-out/
|
|
15928
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
15946
15929
|
function kindTest(kind) {
|
|
15947
15930
|
return (op) => op.kind === kind;
|
|
15948
15931
|
}
|
|
@@ -16032,7 +16015,7 @@ function keepLast(ops) {
|
|
|
16032
16015
|
return ops.slice(ops.length - 1);
|
|
16033
16016
|
}
|
|
16034
16017
|
|
|
16035
|
-
// bazel-out/
|
|
16018
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
16036
16019
|
function removeContentSelectors(job) {
|
|
16037
16020
|
for (const unit of job.units) {
|
|
16038
16021
|
const elements = createOpXrefMap(unit);
|
|
@@ -16059,7 +16042,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
16059
16042
|
return el;
|
|
16060
16043
|
}
|
|
16061
16044
|
|
|
16062
|
-
// bazel-out/
|
|
16045
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
16063
16046
|
function createPipes(job) {
|
|
16064
16047
|
for (const unit of job.units) {
|
|
16065
16048
|
processPipeBindingsInView(unit);
|
|
@@ -16107,7 +16090,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
16107
16090
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
16108
16091
|
}
|
|
16109
16092
|
|
|
16110
|
-
// bazel-out/
|
|
16093
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
16111
16094
|
function createVariadicPipes(job) {
|
|
16112
16095
|
for (const unit of job.units) {
|
|
16113
16096
|
for (const op of unit.update) {
|
|
@@ -16124,7 +16107,7 @@ function createVariadicPipes(job) {
|
|
|
16124
16107
|
}
|
|
16125
16108
|
}
|
|
16126
16109
|
|
|
16127
|
-
// bazel-out/
|
|
16110
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
16128
16111
|
function propagateI18nBlocks(job) {
|
|
16129
16112
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
16130
16113
|
}
|
|
@@ -16178,7 +16161,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
16178
16161
|
}
|
|
16179
16162
|
}
|
|
16180
16163
|
|
|
16181
|
-
// bazel-out/
|
|
16164
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
16182
16165
|
function extractPureFunctions(job) {
|
|
16183
16166
|
for (const view of job.units) {
|
|
16184
16167
|
for (const op of view.ops()) {
|
|
@@ -16220,7 +16203,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
16220
16203
|
}
|
|
16221
16204
|
};
|
|
16222
16205
|
|
|
16223
|
-
// bazel-out/
|
|
16206
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
16224
16207
|
function generatePureLiteralStructures(job) {
|
|
16225
16208
|
for (const unit of job.units) {
|
|
16226
16209
|
for (const op of unit.update) {
|
|
@@ -16267,7 +16250,7 @@ function transformLiteralMap(expr) {
|
|
|
16267
16250
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
16268
16251
|
}
|
|
16269
16252
|
|
|
16270
|
-
// bazel-out/
|
|
16253
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
16271
16254
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
16272
16255
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
16273
16256
|
}
|
|
@@ -16563,19 +16546,7 @@ function pipeBindV(slot, varOffset, args) {
|
|
|
16563
16546
|
]);
|
|
16564
16547
|
}
|
|
16565
16548
|
function textInterpolate(strings, expressions, sourceSpan) {
|
|
16566
|
-
|
|
16567
|
-
throw new Error(`AssertionError: expected specific shape of args for strings/expressions in interpolation`);
|
|
16568
|
-
}
|
|
16569
|
-
const interpolationArgs = [];
|
|
16570
|
-
if (expressions.length === 1 && strings[0] === "" && strings[1] === "") {
|
|
16571
|
-
interpolationArgs.push(expressions[0]);
|
|
16572
|
-
} else {
|
|
16573
|
-
let idx;
|
|
16574
|
-
for (idx = 0; idx < expressions.length; idx++) {
|
|
16575
|
-
interpolationArgs.push(literal(strings[idx]), expressions[idx]);
|
|
16576
|
-
}
|
|
16577
|
-
interpolationArgs.push(literal(strings[idx]));
|
|
16578
|
-
}
|
|
16549
|
+
const interpolationArgs = collateInterpolationArgs(strings, expressions);
|
|
16579
16550
|
return callVariadicInstruction(TEXT_INTERPOLATE_CONFIG, [], interpolationArgs, [], sourceSpan);
|
|
16580
16551
|
}
|
|
16581
16552
|
function i18nExp(expr, sourceSpan) {
|
|
@@ -16652,8 +16623,8 @@ function call(instruction, args, sourceSpan) {
|
|
|
16652
16623
|
const expr = importExpr(instruction).callFn(args, sourceSpan);
|
|
16653
16624
|
return createStatementOp(new ExpressionStatement(expr, sourceSpan));
|
|
16654
16625
|
}
|
|
16655
|
-
function conditional(
|
|
16656
|
-
const args = [
|
|
16626
|
+
function conditional(condition, contextValue, sourceSpan) {
|
|
16627
|
+
const args = [condition];
|
|
16657
16628
|
if (contextValue !== null) {
|
|
16658
16629
|
args.push(contextValue);
|
|
16659
16630
|
}
|
|
@@ -16808,7 +16779,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
16808
16779
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
16809
16780
|
}
|
|
16810
16781
|
|
|
16811
|
-
// bazel-out/
|
|
16782
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
16812
16783
|
var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
|
|
16813
16784
|
["window", Identifiers.resolveWindow],
|
|
16814
16785
|
["document", Identifiers.resolveDocument],
|
|
@@ -17079,10 +17050,7 @@ function reifyUpdateOperations(_unit, ops) {
|
|
|
17079
17050
|
if (op.processed === null) {
|
|
17080
17051
|
throw new Error(`Conditional test was not set.`);
|
|
17081
17052
|
}
|
|
17082
|
-
|
|
17083
|
-
throw new Error(`Conditional slot was not set.`);
|
|
17084
|
-
}
|
|
17085
|
-
OpList.replace(op, conditional(op.targetSlot.slot, op.processed, op.contextValue, op.sourceSpan));
|
|
17053
|
+
OpList.replace(op, conditional(op.processed, op.contextValue, op.sourceSpan));
|
|
17086
17054
|
break;
|
|
17087
17055
|
case OpKind.Repeater:
|
|
17088
17056
|
OpList.replace(op, repeater(op.collection, op.sourceSpan));
|
|
@@ -17167,7 +17135,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
17167
17135
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
17168
17136
|
}
|
|
17169
17137
|
|
|
17170
|
-
// bazel-out/
|
|
17138
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
17171
17139
|
function removeEmptyBindings(job) {
|
|
17172
17140
|
for (const unit of job.units) {
|
|
17173
17141
|
for (const op of unit.update) {
|
|
@@ -17188,7 +17156,7 @@ function removeEmptyBindings(job) {
|
|
|
17188
17156
|
}
|
|
17189
17157
|
}
|
|
17190
17158
|
|
|
17191
|
-
// bazel-out/
|
|
17159
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
17192
17160
|
function removeI18nContexts(job) {
|
|
17193
17161
|
for (const unit of job.units) {
|
|
17194
17162
|
for (const op of unit.create) {
|
|
@@ -17204,7 +17172,7 @@ function removeI18nContexts(job) {
|
|
|
17204
17172
|
}
|
|
17205
17173
|
}
|
|
17206
17174
|
|
|
17207
|
-
// bazel-out/
|
|
17175
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
|
|
17208
17176
|
function removeUnusedI18nAttributesOps(job) {
|
|
17209
17177
|
for (const unit of job.units) {
|
|
17210
17178
|
const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
|
|
@@ -17226,7 +17194,7 @@ function removeUnusedI18nAttributesOps(job) {
|
|
|
17226
17194
|
}
|
|
17227
17195
|
}
|
|
17228
17196
|
|
|
17229
|
-
// bazel-out/
|
|
17197
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
17230
17198
|
function resolveContexts(job) {
|
|
17231
17199
|
for (const unit of job.units) {
|
|
17232
17200
|
processLexicalScope(unit, unit.create);
|
|
@@ -17268,7 +17236,7 @@ function processLexicalScope(view, ops) {
|
|
|
17268
17236
|
}
|
|
17269
17237
|
}
|
|
17270
17238
|
|
|
17271
|
-
// bazel-out/
|
|
17239
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
17272
17240
|
function resolveDollarEvent(job) {
|
|
17273
17241
|
for (const unit of job.units) {
|
|
17274
17242
|
transformDollarEvent(unit.create);
|
|
@@ -17291,7 +17259,7 @@ function transformDollarEvent(ops) {
|
|
|
17291
17259
|
}
|
|
17292
17260
|
}
|
|
17293
17261
|
|
|
17294
|
-
// bazel-out/
|
|
17262
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
17295
17263
|
function resolveI18nElementPlaceholders(job) {
|
|
17296
17264
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
17297
17265
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -17470,7 +17438,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
17470
17438
|
params.set(placeholder, values);
|
|
17471
17439
|
}
|
|
17472
17440
|
|
|
17473
|
-
// bazel-out/
|
|
17441
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
17474
17442
|
function resolveI18nExpressionPlaceholders(job) {
|
|
17475
17443
|
var _a2;
|
|
17476
17444
|
const subTemplateIndices = /* @__PURE__ */ new Map();
|
|
@@ -17523,7 +17491,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
|
|
|
17523
17491
|
}
|
|
17524
17492
|
}
|
|
17525
17493
|
|
|
17526
|
-
// bazel-out/
|
|
17494
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
17527
17495
|
function resolveNames(job) {
|
|
17528
17496
|
for (const unit of job.units) {
|
|
17529
17497
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -17588,7 +17556,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
17588
17556
|
}
|
|
17589
17557
|
}
|
|
17590
17558
|
|
|
17591
|
-
// bazel-out/
|
|
17559
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
17592
17560
|
var sanitizerFns = /* @__PURE__ */ new Map([
|
|
17593
17561
|
[SecurityContext.HTML, Identifiers.sanitizeHtml],
|
|
17594
17562
|
[SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
|
|
@@ -17658,57 +17626,30 @@ function getOnlySecurityContext(securityContext) {
|
|
|
17658
17626
|
return securityContext;
|
|
17659
17627
|
}
|
|
17660
17628
|
|
|
17661
|
-
// bazel-out/
|
|
17629
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
|
|
17662
17630
|
function transformTwoWayBindingSet(job) {
|
|
17663
17631
|
for (const unit of job.units) {
|
|
17664
17632
|
for (const op of unit.create) {
|
|
17665
17633
|
if (op.kind === OpKind.TwoWayListener) {
|
|
17666
17634
|
transformExpressionsInOp(op, (expr) => {
|
|
17667
|
-
if (expr instanceof TwoWayBindingSetExpr) {
|
|
17668
|
-
return
|
|
17635
|
+
if (!(expr instanceof TwoWayBindingSetExpr)) {
|
|
17636
|
+
return expr;
|
|
17669
17637
|
}
|
|
17670
|
-
|
|
17638
|
+
const { target, value } = expr;
|
|
17639
|
+
if (target instanceof ReadPropExpr || target instanceof ReadKeyExpr) {
|
|
17640
|
+
return twoWayBindingSet(target, value).or(target.set(value));
|
|
17641
|
+
}
|
|
17642
|
+
if (target instanceof ReadVariableExpr) {
|
|
17643
|
+
return twoWayBindingSet(target, value);
|
|
17644
|
+
}
|
|
17645
|
+
throw new Error(`Unsupported expression in two-way action binding.`);
|
|
17671
17646
|
}, VisitorContextFlag.InChildOperation);
|
|
17672
17647
|
}
|
|
17673
17648
|
}
|
|
17674
17649
|
}
|
|
17675
17650
|
}
|
|
17676
|
-
function wrapSetOperation(target, value) {
|
|
17677
|
-
if (target instanceof ReadVariableExpr) {
|
|
17678
|
-
return twoWayBindingSet(target, value);
|
|
17679
|
-
}
|
|
17680
|
-
return twoWayBindingSet(target, value).or(target.set(value));
|
|
17681
|
-
}
|
|
17682
|
-
function isReadExpression(value) {
|
|
17683
|
-
return value instanceof ReadPropExpr || value instanceof ReadKeyExpr || value instanceof ReadVariableExpr;
|
|
17684
|
-
}
|
|
17685
|
-
function wrapAction(target, value) {
|
|
17686
|
-
if (isReadExpression(target)) {
|
|
17687
|
-
return wrapSetOperation(target, value);
|
|
17688
|
-
}
|
|
17689
|
-
if (target instanceof BinaryOperatorExpr && isReadExpression(target.rhs)) {
|
|
17690
|
-
return new BinaryOperatorExpr(target.operator, target.lhs, wrapSetOperation(target.rhs, value));
|
|
17691
|
-
}
|
|
17692
|
-
if (target instanceof ConditionalExpr && isReadExpression(target.falseCase)) {
|
|
17693
|
-
return new ConditionalExpr(target.condition, target.trueCase, wrapSetOperation(target.falseCase, value));
|
|
17694
|
-
}
|
|
17695
|
-
if (target instanceof NotExpr) {
|
|
17696
|
-
let expr = target.condition;
|
|
17697
|
-
while (true) {
|
|
17698
|
-
if (expr instanceof NotExpr) {
|
|
17699
|
-
expr = expr.condition;
|
|
17700
|
-
} else {
|
|
17701
|
-
if (isReadExpression(expr)) {
|
|
17702
|
-
return wrapSetOperation(expr, value);
|
|
17703
|
-
}
|
|
17704
|
-
break;
|
|
17705
|
-
}
|
|
17706
|
-
}
|
|
17707
|
-
}
|
|
17708
|
-
throw new Error(`Unsupported expression in two-way action binding.`);
|
|
17709
|
-
}
|
|
17710
17651
|
|
|
17711
|
-
// bazel-out/
|
|
17652
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
17712
17653
|
function saveAndRestoreView(job) {
|
|
17713
17654
|
for (const unit of job.units) {
|
|
17714
17655
|
unit.create.prepend([
|
|
@@ -17753,7 +17694,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
17753
17694
|
}
|
|
17754
17695
|
}
|
|
17755
17696
|
|
|
17756
|
-
// bazel-out/
|
|
17697
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
17757
17698
|
function allocateSlots(job) {
|
|
17758
17699
|
const slotMap = /* @__PURE__ */ new Map();
|
|
17759
17700
|
for (const unit of job.units) {
|
|
@@ -17778,7 +17719,7 @@ function allocateSlots(job) {
|
|
|
17778
17719
|
}
|
|
17779
17720
|
}
|
|
17780
17721
|
|
|
17781
|
-
// bazel-out/
|
|
17722
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
17782
17723
|
function specializeStyleBindings(job) {
|
|
17783
17724
|
for (const unit of job.units) {
|
|
17784
17725
|
for (const op of unit.update) {
|
|
@@ -17808,7 +17749,7 @@ function specializeStyleBindings(job) {
|
|
|
17808
17749
|
}
|
|
17809
17750
|
}
|
|
17810
17751
|
|
|
17811
|
-
// bazel-out/
|
|
17752
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
17812
17753
|
function generateTemporaryVariables(job) {
|
|
17813
17754
|
for (const unit of job.units) {
|
|
17814
17755
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -17866,7 +17807,7 @@ function assignName(names, expr) {
|
|
|
17866
17807
|
expr.name = name;
|
|
17867
17808
|
}
|
|
17868
17809
|
|
|
17869
|
-
// bazel-out/
|
|
17810
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
17870
17811
|
function generateTrackFns(job) {
|
|
17871
17812
|
for (const unit of job.units) {
|
|
17872
17813
|
for (const op of unit.create) {
|
|
@@ -17899,7 +17840,7 @@ function generateTrackFns(job) {
|
|
|
17899
17840
|
}
|
|
17900
17841
|
}
|
|
17901
17842
|
|
|
17902
|
-
// bazel-out/
|
|
17843
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
17903
17844
|
function optimizeTrackFns(job) {
|
|
17904
17845
|
for (const unit of job.units) {
|
|
17905
17846
|
for (const op of unit.create) {
|
|
@@ -17947,7 +17888,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
17947
17888
|
return true;
|
|
17948
17889
|
}
|
|
17949
17890
|
|
|
17950
|
-
// bazel-out/
|
|
17891
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
17951
17892
|
function generateTrackVariables(job) {
|
|
17952
17893
|
for (const unit of job.units) {
|
|
17953
17894
|
for (const op of unit.create) {
|
|
@@ -17968,7 +17909,7 @@ function generateTrackVariables(job) {
|
|
|
17968
17909
|
}
|
|
17969
17910
|
}
|
|
17970
17911
|
|
|
17971
|
-
// bazel-out/
|
|
17912
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
17972
17913
|
function countVariables(job) {
|
|
17973
17914
|
for (const unit of job.units) {
|
|
17974
17915
|
let varCount = 0;
|
|
@@ -18078,7 +18019,7 @@ function isSingletonInterpolation(expr) {
|
|
|
18078
18019
|
return true;
|
|
18079
18020
|
}
|
|
18080
18021
|
|
|
18081
|
-
// bazel-out/
|
|
18022
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
18082
18023
|
function optimizeVariables(job) {
|
|
18083
18024
|
for (const unit of job.units) {
|
|
18084
18025
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -18327,7 +18268,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
18327
18268
|
}
|
|
18328
18269
|
}
|
|
18329
18270
|
|
|
18330
|
-
// bazel-out/
|
|
18271
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
18331
18272
|
function wrapI18nIcus(job) {
|
|
18332
18273
|
for (const unit of job.units) {
|
|
18333
18274
|
let currentI18nOp = null;
|
|
@@ -18357,7 +18298,7 @@ function wrapI18nIcus(job) {
|
|
|
18357
18298
|
}
|
|
18358
18299
|
}
|
|
18359
18300
|
|
|
18360
|
-
// bazel-out/
|
|
18301
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
18361
18302
|
var phases = [
|
|
18362
18303
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
18363
18304
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -18523,7 +18464,7 @@ function emitHostBindingFunction(job) {
|
|
|
18523
18464
|
);
|
|
18524
18465
|
}
|
|
18525
18466
|
|
|
18526
|
-
// bazel-out/
|
|
18467
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
18527
18468
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
18528
18469
|
var domSchema = new DomElementSchemaRegistry();
|
|
18529
18470
|
var NG_TEMPLATE_TAG_NAME = "ng-template";
|
|
@@ -18717,7 +18658,6 @@ function ingestBoundText(unit, text2, icuPlaceholder) {
|
|
|
18717
18658
|
function ingestIfBlock(unit, ifBlock) {
|
|
18718
18659
|
var _a2;
|
|
18719
18660
|
let firstXref = null;
|
|
18720
|
-
let firstSlotHandle = null;
|
|
18721
18661
|
let conditions = [];
|
|
18722
18662
|
for (let i = 0; i < ifBlock.branches.length; i++) {
|
|
18723
18663
|
const ifCase = ifBlock.branches[i];
|
|
@@ -18737,15 +18677,13 @@ function ingestIfBlock(unit, ifBlock) {
|
|
|
18737
18677
|
unit.create.push(templateOp);
|
|
18738
18678
|
if (firstXref === null) {
|
|
18739
18679
|
firstXref = cView.xref;
|
|
18740
|
-
firstSlotHandle = templateOp.handle;
|
|
18741
18680
|
}
|
|
18742
18681
|
const caseExpr = ifCase.expression ? convertAst(ifCase.expression, unit.job, null) : null;
|
|
18743
18682
|
const conditionalCaseExpr = new ConditionalCaseExpr(caseExpr, templateOp.xref, templateOp.handle, ifCase.expressionAlias);
|
|
18744
18683
|
conditions.push(conditionalCaseExpr);
|
|
18745
18684
|
ingestNodes(cView, ifCase.children);
|
|
18746
18685
|
}
|
|
18747
|
-
|
|
18748
|
-
unit.update.push(conditional2);
|
|
18686
|
+
unit.update.push(createConditionalOp(firstXref, null, conditions, ifBlock.sourceSpan));
|
|
18749
18687
|
}
|
|
18750
18688
|
function ingestSwitchBlock(unit, switchBlock) {
|
|
18751
18689
|
var _a2;
|
|
@@ -18753,7 +18691,6 @@ function ingestSwitchBlock(unit, switchBlock) {
|
|
|
18753
18691
|
return;
|
|
18754
18692
|
}
|
|
18755
18693
|
let firstXref = null;
|
|
18756
|
-
let firstSlotHandle = null;
|
|
18757
18694
|
let conditions = [];
|
|
18758
18695
|
for (const switchCase of switchBlock.cases) {
|
|
18759
18696
|
const cView = unit.job.allocateView(unit.xref);
|
|
@@ -18769,15 +18706,13 @@ function ingestSwitchBlock(unit, switchBlock) {
|
|
|
18769
18706
|
unit.create.push(templateOp);
|
|
18770
18707
|
if (firstXref === null) {
|
|
18771
18708
|
firstXref = cView.xref;
|
|
18772
|
-
firstSlotHandle = templateOp.handle;
|
|
18773
18709
|
}
|
|
18774
18710
|
const caseExpr = switchCase.expression ? convertAst(switchCase.expression, unit.job, switchBlock.startSourceSpan) : null;
|
|
18775
18711
|
const conditionalCaseExpr = new ConditionalCaseExpr(caseExpr, templateOp.xref, templateOp.handle);
|
|
18776
18712
|
conditions.push(conditionalCaseExpr);
|
|
18777
18713
|
ingestNodes(cView, switchCase.children);
|
|
18778
18714
|
}
|
|
18779
|
-
|
|
18780
|
-
unit.update.push(conditional2);
|
|
18715
|
+
unit.update.push(createConditionalOp(firstXref, convertAst(switchBlock.expression, unit.job, null), conditions, switchBlock.sourceSpan));
|
|
18781
18716
|
}
|
|
18782
18717
|
function ingestDeferView(unit, suffix, i18nMeta, children, sourceSpan) {
|
|
18783
18718
|
if (i18nMeta !== void 0 && !(i18nMeta instanceof BlockPlaceholder)) {
|
|
@@ -19268,7 +19203,7 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
19268
19203
|
return null;
|
|
19269
19204
|
}
|
|
19270
19205
|
|
|
19271
|
-
// bazel-out/
|
|
19206
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
|
|
19272
19207
|
function renderFlagCheckIfStmt(flags, statements) {
|
|
19273
19208
|
return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
|
|
19274
19209
|
}
|
|
@@ -19388,7 +19323,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
|
|
|
19388
19323
|
], INFERRED_TYPE, null, contentQueriesFnName);
|
|
19389
19324
|
}
|
|
19390
19325
|
|
|
19391
|
-
// bazel-out/
|
|
19326
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
19392
19327
|
var HtmlParser = class extends Parser2 {
|
|
19393
19328
|
constructor() {
|
|
19394
19329
|
super(getHtmlTagDefinition);
|
|
@@ -19398,7 +19333,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
19398
19333
|
}
|
|
19399
19334
|
};
|
|
19400
19335
|
|
|
19401
|
-
// bazel-out/
|
|
19336
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
19402
19337
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
19403
19338
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
19404
19339
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -19464,7 +19399,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
19464
19399
|
return result;
|
|
19465
19400
|
}
|
|
19466
19401
|
|
|
19467
|
-
// bazel-out/
|
|
19402
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
19468
19403
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
19469
19404
|
var ATTRIBUTE_PREFIX = "attr";
|
|
19470
19405
|
var CLASS_PREFIX = "class";
|
|
@@ -19472,11 +19407,12 @@ var STYLE_PREFIX = "style";
|
|
|
19472
19407
|
var TEMPLATE_ATTR_PREFIX = "*";
|
|
19473
19408
|
var ANIMATE_PROP_PREFIX = "animate-";
|
|
19474
19409
|
var BindingParser = class {
|
|
19475
|
-
constructor(_exprParser, _interpolationConfig, _schemaRegistry, errors) {
|
|
19410
|
+
constructor(_exprParser, _interpolationConfig, _schemaRegistry, errors, _allowInvalidAssignmentEvents = false) {
|
|
19476
19411
|
this._exprParser = _exprParser;
|
|
19477
19412
|
this._interpolationConfig = _interpolationConfig;
|
|
19478
19413
|
this._schemaRegistry = _schemaRegistry;
|
|
19479
19414
|
this.errors = errors;
|
|
19415
|
+
this._allowInvalidAssignmentEvents = _allowInvalidAssignmentEvents;
|
|
19480
19416
|
}
|
|
19481
19417
|
get interpolationConfig() {
|
|
19482
19418
|
return this._interpolationConfig;
|
|
@@ -19780,6 +19716,9 @@ var BindingParser = class {
|
|
|
19780
19716
|
if (ast instanceof PropertyRead || ast instanceof KeyedRead) {
|
|
19781
19717
|
return true;
|
|
19782
19718
|
}
|
|
19719
|
+
if (!this._allowInvalidAssignmentEvents) {
|
|
19720
|
+
return false;
|
|
19721
|
+
}
|
|
19783
19722
|
if (ast instanceof Binary) {
|
|
19784
19723
|
return (ast.operation === "&&" || ast.operation === "||" || ast.operation === "??") && (ast.right instanceof PropertyRead || ast.right instanceof KeyedRead);
|
|
19785
19724
|
}
|
|
@@ -19805,7 +19744,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
19805
19744
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
19806
19745
|
}
|
|
19807
19746
|
|
|
19808
|
-
// bazel-out/
|
|
19747
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
19809
19748
|
function isStyleUrlResolvable(url) {
|
|
19810
19749
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
19811
19750
|
return false;
|
|
@@ -19814,7 +19753,7 @@ function isStyleUrlResolvable(url) {
|
|
|
19814
19753
|
}
|
|
19815
19754
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
19816
19755
|
|
|
19817
|
-
// bazel-out/
|
|
19756
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
19818
19757
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
19819
19758
|
var LINK_ELEMENT = "link";
|
|
19820
19759
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -19884,7 +19823,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
19884
19823
|
return selectAttr;
|
|
19885
19824
|
}
|
|
19886
19825
|
|
|
19887
|
-
// bazel-out/
|
|
19826
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
19888
19827
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
19889
19828
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
19890
19829
|
var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
|
|
@@ -20200,7 +20139,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
20200
20139
|
return expression.slice(start, end);
|
|
20201
20140
|
}
|
|
20202
20141
|
|
|
20203
|
-
// bazel-out/
|
|
20142
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
20204
20143
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
20205
20144
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
20206
20145
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -20464,7 +20403,7 @@ function parseDeferredTime(value) {
|
|
|
20464
20403
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
20465
20404
|
}
|
|
20466
20405
|
|
|
20467
|
-
// bazel-out/
|
|
20406
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
20468
20407
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
20469
20408
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
20470
20409
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -20599,7 +20538,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
20599
20538
|
return { triggers, prefetchTriggers };
|
|
20600
20539
|
}
|
|
20601
20540
|
|
|
20602
|
-
// bazel-out/
|
|
20541
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
20603
20542
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
20604
20543
|
var KW_BIND_IDX = 1;
|
|
20605
20544
|
var KW_LET_IDX = 2;
|
|
@@ -21021,12 +20960,12 @@ function textContents(node) {
|
|
|
21021
20960
|
}
|
|
21022
20961
|
}
|
|
21023
20962
|
|
|
21024
|
-
// bazel-out/
|
|
20963
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
21025
20964
|
var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
|
|
21026
20965
|
function parseTemplate(template2, templateUrl, options = {}) {
|
|
21027
20966
|
var _a2;
|
|
21028
|
-
const { interpolationConfig, preserveWhitespaces, enableI18nLegacyMessageIdFormat } = options;
|
|
21029
|
-
const bindingParser = makeBindingParser(interpolationConfig);
|
|
20967
|
+
const { interpolationConfig, preserveWhitespaces, enableI18nLegacyMessageIdFormat, allowInvalidAssignmentEvents } = options;
|
|
20968
|
+
const bindingParser = makeBindingParser(interpolationConfig, allowInvalidAssignmentEvents);
|
|
21030
20969
|
const htmlParser = new HtmlParser();
|
|
21031
20970
|
const parseResult = htmlParser.parse(template2, templateUrl, __spreadProps(__spreadValues({
|
|
21032
20971
|
leadingTriviaChars: LEADING_TRIVIA_CHARS
|
|
@@ -21091,11 +21030,11 @@ function parseTemplate(template2, templateUrl, options = {}) {
|
|
|
21091
21030
|
return parsedTemplate;
|
|
21092
21031
|
}
|
|
21093
21032
|
var elementRegistry = new DomElementSchemaRegistry();
|
|
21094
|
-
function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {
|
|
21095
|
-
return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, []);
|
|
21033
|
+
function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, allowInvalidAssignmentEvents = false) {
|
|
21034
|
+
return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, [], allowInvalidAssignmentEvents);
|
|
21096
21035
|
}
|
|
21097
21036
|
|
|
21098
|
-
// bazel-out/
|
|
21037
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
21099
21038
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
21100
21039
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
21101
21040
|
var CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
|
|
@@ -21457,7 +21396,7 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
21457
21396
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
21458
21397
|
}
|
|
21459
21398
|
|
|
21460
|
-
// bazel-out/
|
|
21399
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
21461
21400
|
var R3TargetBinder = class {
|
|
21462
21401
|
constructor(directiveMatcher) {
|
|
21463
21402
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -22090,11 +22029,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
22090
22029
|
return templateEntities;
|
|
22091
22030
|
}
|
|
22092
22031
|
|
|
22093
|
-
// bazel-out/
|
|
22032
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
22094
22033
|
var ResourceLoader = class {
|
|
22095
22034
|
};
|
|
22096
22035
|
|
|
22097
|
-
// bazel-out/
|
|
22036
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
22098
22037
|
var CompilerFacadeImpl = class {
|
|
22099
22038
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
22100
22039
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -22655,17 +22594,17 @@ function publishFacade(global) {
|
|
|
22655
22594
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
22656
22595
|
}
|
|
22657
22596
|
|
|
22658
|
-
// bazel-out/
|
|
22659
|
-
var VERSION2 = new Version("18.0.0-next.
|
|
22597
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
|
|
22598
|
+
var VERSION2 = new Version("18.0.0-next.5");
|
|
22660
22599
|
|
|
22661
|
-
// bazel-out/
|
|
22600
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
22662
22601
|
var _VisitorMode;
|
|
22663
22602
|
(function(_VisitorMode2) {
|
|
22664
22603
|
_VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
|
|
22665
22604
|
_VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
|
|
22666
22605
|
})(_VisitorMode || (_VisitorMode = {}));
|
|
22667
22606
|
|
|
22668
|
-
// bazel-out/
|
|
22607
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
22669
22608
|
var XmlTagDefinition = class {
|
|
22670
22609
|
constructor() {
|
|
22671
22610
|
this.closedByParent = false;
|
|
@@ -22687,7 +22626,7 @@ var XmlTagDefinition = class {
|
|
|
22687
22626
|
};
|
|
22688
22627
|
var _TAG_DEFINITION = new XmlTagDefinition();
|
|
22689
22628
|
|
|
22690
|
-
// bazel-out/
|
|
22629
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
22691
22630
|
var FactoryTarget2;
|
|
22692
22631
|
(function(FactoryTarget3) {
|
|
22693
22632
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -22697,10 +22636,10 @@ var FactoryTarget2;
|
|
|
22697
22636
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
22698
22637
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
22699
22638
|
|
|
22700
|
-
// bazel-out/
|
|
22639
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
22701
22640
|
publishFacade(_global);
|
|
22702
22641
|
|
|
22703
|
-
// bazel-out/
|
|
22642
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/block-template-entities/util.mjs
|
|
22704
22643
|
var import_path2 = require("path");
|
|
22705
22644
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
22706
22645
|
var REPLACEMENTS2 = {
|
|
@@ -22808,7 +22747,7 @@ function forEachClass(sourceFile, callback) {
|
|
|
22808
22747
|
});
|
|
22809
22748
|
}
|
|
22810
22749
|
|
|
22811
|
-
// bazel-out/
|
|
22750
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/block-template-entities/index.mjs
|
|
22812
22751
|
function block_template_entities_default() {
|
|
22813
22752
|
return (tree) => __async(this, null, function* () {
|
|
22814
22753
|
const { buildPaths, testPaths } = yield getProjectTsConfigPaths(tree);
|