@angular/core 18.0.0-rc.0 → 18.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/primitives/event-dispatch/contract_binary.mjs +3 -3
- package/esm2022/primitives/event-dispatch/index.mjs +2 -2
- package/esm2022/primitives/event-dispatch/src/action_resolver.mjs +221 -0
- package/esm2022/primitives/event-dispatch/src/attribute.mjs +63 -65
- package/esm2022/primitives/event-dispatch/src/cache.mjs +10 -10
- package/esm2022/primitives/event-dispatch/src/dispatcher.mjs +52 -176
- package/esm2022/primitives/event-dispatch/src/earlyeventcontract.mjs +15 -9
- package/esm2022/primitives/event-dispatch/src/event_contract_defines.mjs +1 -19
- package/esm2022/primitives/event-dispatch/src/eventcontract.mjs +24 -362
- package/esm2022/primitives/event-dispatch/src/key_code.mjs +11 -13
- package/esm2022/primitives/event-dispatch/src/legacy_dispatcher.mjs +252 -2
- package/esm2022/primitives/event-dispatch/src/property.mjs +30 -27
- package/esm2022/primitives/event-dispatch/src/register_events.mjs +16 -17
- package/esm2022/primitives/event-dispatch/src/restriction.mjs +2 -2
- package/esm2022/src/application/application_ref.mjs +6 -3
- package/esm2022/src/application/create_application.mjs +12 -5
- package/esm2022/src/change_detection/scheduling/exhaustive_check_no_changes.mjs +150 -0
- package/esm2022/src/change_detection/scheduling/ng_zone_scheduling.mjs +6 -4
- package/esm2022/src/change_detection/scheduling/zoneless_scheduling.mjs +3 -1
- package/esm2022/src/change_detection/scheduling/zoneless_scheduling_impl.mjs +9 -6
- package/esm2022/src/core.mjs +2 -1
- package/esm2022/src/core_private_export.mjs +2 -1
- package/esm2022/src/core_reactivity_export_internal.mjs +1 -3
- package/esm2022/src/core_render3_private_export.mjs +1 -3
- package/esm2022/src/defer/instructions.mjs +20 -12
- package/esm2022/src/defer/interfaces.mjs +1 -3
- package/esm2022/src/errors.mjs +1 -1
- package/esm2022/src/hydration/event_replay.mjs +67 -79
- package/esm2022/src/hydration/utils.mjs +1 -2
- package/esm2022/src/metadata/directives.mjs +1 -1
- package/esm2022/src/platform/platform_ref.mjs +10 -4
- package/esm2022/src/render3/after_render_hooks.mjs +4 -2
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/render3/index.mjs +1 -3
- package/esm2022/src/render3/instructions/change_detection.mjs +13 -10
- package/esm2022/src/render3/instructions/listener.mjs +12 -1
- package/esm2022/src/render3/interfaces/public_definitions.mjs +1 -1
- package/esm2022/src/render3/state.mjs +14 -4
- package/esm2022/src/render3/view_ref.mjs +3 -2
- package/esm2022/src/util/callback_scheduler.mjs +12 -26
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/src/zone/ng_zone.mjs +9 -23
- package/esm2022/testing/src/component_fixture.mjs +2 -4
- package/esm2022/testing/src/defer.mjs +1 -2
- package/esm2022/testing/src/logger.mjs +3 -3
- package/esm2022/testing/src/test_bed.mjs +1 -3
- package/esm2022/testing/src/test_bed_compiler.mjs +3 -6
- package/event-dispatch-contract.min.js +1 -1
- package/fesm2022/core.mjs +800 -660
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +484 -807
- package/fesm2022/primitives/event-dispatch.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +4 -10
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +36 -4
- package/package.json +1 -1
- package/primitives/event-dispatch/index.d.ts +111 -162
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/http-providers/bundle.js +110 -71
- package/schematics/migrations/http-providers/bundle.js.map +3 -3
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +197 -167
- package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +2 -2
- package/schematics/ng-generate/control-flow-migration/bundle.js +205 -175
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +2 -2
- package/schematics/ng-generate/standalone-migration/bundle.js +481 -451
- package/schematics/ng-generate/standalone-migration/bundle.js.map +2 -2
- package/testing/index.d.ts +1 -4
- package/esm2022/primitives/event-dispatch/src/base_dispatcher.mjs +0 -96
- package/esm2022/primitives/event-dispatch/src/custom_events.mjs +0 -63
- package/esm2022/primitives/event-dispatch/src/replay.mjs +0 -389
|
@@ -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/invalid-two-way-bindings/index.mjs
|
|
67
67
|
var invalid_two_way_bindings_exports = {};
|
|
68
68
|
__export(invalid_two_way_bindings_exports, {
|
|
69
69
|
default: () => invalid_two_way_bindings_default
|
|
@@ -72,7 +72,7 @@ module.exports = __toCommonJS(invalid_two_way_bindings_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/core/schematics/migrations/invalid-two-way-bindings/analysis.mjs
|
|
210
210
|
var import_path2 = require("path");
|
|
211
211
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
212
212
|
var AnalyzedFile = class {
|
|
@@ -266,7 +266,7 @@ function forEachClass(sourceFile, callback) {
|
|
|
266
266
|
});
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
-
// bazel-out/
|
|
269
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/selector.mjs
|
|
270
270
|
var _SELECTOR_REGEXP = new RegExp(
|
|
271
271
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
272
272
|
"g"
|
|
@@ -574,7 +574,7 @@ var SelectorContext = class {
|
|
|
574
574
|
}
|
|
575
575
|
};
|
|
576
576
|
|
|
577
|
-
// bazel-out/
|
|
577
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/core.mjs
|
|
578
578
|
var ViewEncapsulation;
|
|
579
579
|
(function(ViewEncapsulation2) {
|
|
580
580
|
ViewEncapsulation2[ViewEncapsulation2["Emulated"] = 0] = "Emulated";
|
|
@@ -642,7 +642,7 @@ function parseSelectorToR3Selector(selector) {
|
|
|
642
642
|
return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
|
|
643
643
|
}
|
|
644
644
|
|
|
645
|
-
// bazel-out/
|
|
645
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
|
|
646
646
|
var textEncoder;
|
|
647
647
|
function computeDigest(message) {
|
|
648
648
|
return sha1(serializeNodes(message.nodes).join("") + `[${message.meaning}]`);
|
|
@@ -882,7 +882,7 @@ function wordAt(bytes, index, endian) {
|
|
|
882
882
|
return word;
|
|
883
883
|
}
|
|
884
884
|
|
|
885
|
-
// bazel-out/
|
|
885
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
886
886
|
var TypeModifier;
|
|
887
887
|
(function(TypeModifier2) {
|
|
888
888
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -1820,7 +1820,7 @@ function serializeTags(tags) {
|
|
|
1820
1820
|
return out;
|
|
1821
1821
|
}
|
|
1822
1822
|
|
|
1823
|
-
// bazel-out/
|
|
1823
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
1824
1824
|
var CONSTANT_PREFIX = "_c";
|
|
1825
1825
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
1826
1826
|
var KEY_CONTEXT = {};
|
|
@@ -2008,7 +2008,7 @@ function isLongStringLiteral(expr) {
|
|
|
2008
2008
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
2009
2009
|
}
|
|
2010
2010
|
|
|
2011
|
-
// bazel-out/
|
|
2011
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
2012
2012
|
var CORE = "@angular/core";
|
|
2013
2013
|
var _Identifiers = class {
|
|
2014
2014
|
};
|
|
@@ -2896,7 +2896,7 @@ var Identifiers = _Identifiers;
|
|
|
2896
2896
|
_Identifiers.unwrapWritableSignal = { name: "\u0275unwrapWritableSignal", moduleName: CORE };
|
|
2897
2897
|
})();
|
|
2898
2898
|
|
|
2899
|
-
// bazel-out/
|
|
2899
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/util.mjs
|
|
2900
2900
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
2901
2901
|
function dashCaseToCamelCase(input) {
|
|
2902
2902
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -2973,7 +2973,7 @@ var Version = class {
|
|
|
2973
2973
|
};
|
|
2974
2974
|
var _global = globalThis;
|
|
2975
2975
|
|
|
2976
|
-
// bazel-out/
|
|
2976
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
2977
2977
|
var VERSION = 3;
|
|
2978
2978
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
2979
2979
|
var SourceMapGenerator = class {
|
|
@@ -3102,7 +3102,7 @@ function toBase64Digit(value) {
|
|
|
3102
3102
|
return B64_DIGITS[value];
|
|
3103
3103
|
}
|
|
3104
3104
|
|
|
3105
|
-
// bazel-out/
|
|
3105
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
3106
3106
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
3107
3107
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
3108
3108
|
var _INDENT_WITH = " ";
|
|
@@ -3590,7 +3590,7 @@ function _createIndent(count) {
|
|
|
3590
3590
|
return res;
|
|
3591
3591
|
}
|
|
3592
3592
|
|
|
3593
|
-
// bazel-out/
|
|
3593
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
3594
3594
|
function typeWithParameters(type, numParams) {
|
|
3595
3595
|
if (numParams === 0) {
|
|
3596
3596
|
return expressionType(type);
|
|
@@ -3645,7 +3645,7 @@ function generateForwardRef(expr) {
|
|
|
3645
3645
|
return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
|
|
3646
3646
|
}
|
|
3647
3647
|
|
|
3648
|
-
// bazel-out/
|
|
3648
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
3649
3649
|
var R3FactoryDelegateType;
|
|
3650
3650
|
(function(R3FactoryDelegateType2) {
|
|
3651
3651
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -3790,7 +3790,7 @@ function getInjectFn(target) {
|
|
|
3790
3790
|
}
|
|
3791
3791
|
}
|
|
3792
3792
|
|
|
3793
|
-
// bazel-out/
|
|
3793
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
3794
3794
|
var ParserError = class {
|
|
3795
3795
|
constructor(message, input, errLocation, ctxLocation) {
|
|
3796
3796
|
this.input = input;
|
|
@@ -4228,7 +4228,7 @@ var BoundElementProperty = class {
|
|
|
4228
4228
|
}
|
|
4229
4229
|
};
|
|
4230
4230
|
|
|
4231
|
-
// bazel-out/
|
|
4231
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
4232
4232
|
var TagContentType;
|
|
4233
4233
|
(function(TagContentType2) {
|
|
4234
4234
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -4265,7 +4265,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
4265
4265
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
4266
4266
|
}
|
|
4267
4267
|
|
|
4268
|
-
// bazel-out/
|
|
4268
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
4269
4269
|
var Comment = class {
|
|
4270
4270
|
constructor(value, sourceSpan) {
|
|
4271
4271
|
this.value = value;
|
|
@@ -4721,7 +4721,7 @@ function visitAll(visitor, nodes) {
|
|
|
4721
4721
|
return result;
|
|
4722
4722
|
}
|
|
4723
4723
|
|
|
4724
|
-
// bazel-out/
|
|
4724
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
4725
4725
|
var Message = class {
|
|
4726
4726
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
4727
4727
|
this.nodes = nodes;
|
|
@@ -4861,7 +4861,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
4861
4861
|
}
|
|
4862
4862
|
};
|
|
4863
4863
|
|
|
4864
|
-
// bazel-out/
|
|
4864
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
4865
4865
|
var _Visitor = class {
|
|
4866
4866
|
visitTag(tag) {
|
|
4867
4867
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -4889,12 +4889,12 @@ ${doctype.dtd}
|
|
|
4889
4889
|
};
|
|
4890
4890
|
var _visitor = new _Visitor();
|
|
4891
4891
|
|
|
4892
|
-
// bazel-out/
|
|
4892
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
4893
4893
|
function toPublicName(internalName) {
|
|
4894
4894
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
4895
4895
|
}
|
|
4896
4896
|
|
|
4897
|
-
// bazel-out/
|
|
4897
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
4898
4898
|
var I18N_ATTR = "i18n";
|
|
4899
4899
|
var I18N_ATTR_PREFIX = "i18n-";
|
|
4900
4900
|
var I18N_ICU_VAR_PREFIX = "VAR_";
|
|
@@ -4934,7 +4934,7 @@ function formatI18nPlaceholderName(name, useCamelCase = true) {
|
|
|
4934
4934
|
return postfix ? `${raw}_${postfix}` : raw;
|
|
4935
4935
|
}
|
|
4936
4936
|
|
|
4937
|
-
// bazel-out/
|
|
4937
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
4938
4938
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
4939
4939
|
var TEMPORARY_NAME = "_t";
|
|
4940
4940
|
var CONTEXT_NAME = "ctx";
|
|
@@ -5061,7 +5061,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
|
|
|
5061
5061
|
return attributesMap;
|
|
5062
5062
|
}
|
|
5063
5063
|
|
|
5064
|
-
// bazel-out/
|
|
5064
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
5065
5065
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
5066
5066
|
let result = null;
|
|
5067
5067
|
const factoryMeta = {
|
|
@@ -5148,7 +5148,7 @@ function createFactoryFunction(type) {
|
|
|
5148
5148
|
return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
|
|
5149
5149
|
}
|
|
5150
5150
|
|
|
5151
|
-
// bazel-out/
|
|
5151
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
5152
5152
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
5153
5153
|
/^\s*$/,
|
|
5154
5154
|
/[<>]/,
|
|
@@ -5170,7 +5170,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
5170
5170
|
}
|
|
5171
5171
|
}
|
|
5172
5172
|
|
|
5173
|
-
// bazel-out/
|
|
5173
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
|
|
5174
5174
|
var InterpolationConfig = class {
|
|
5175
5175
|
static fromArray(markers) {
|
|
5176
5176
|
if (!markers) {
|
|
@@ -5187,7 +5187,7 @@ var InterpolationConfig = class {
|
|
|
5187
5187
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
5188
5188
|
var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
|
|
5189
5189
|
|
|
5190
|
-
// bazel-out/
|
|
5190
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
5191
5191
|
var $EOF = 0;
|
|
5192
5192
|
var $BSPACE = 8;
|
|
5193
5193
|
var $TAB = 9;
|
|
@@ -5269,7 +5269,7 @@ function isQuote(code) {
|
|
|
5269
5269
|
return code === $SQ || code === $DQ || code === $BT;
|
|
5270
5270
|
}
|
|
5271
5271
|
|
|
5272
|
-
// bazel-out/
|
|
5272
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
5273
5273
|
var ParseLocation = class {
|
|
5274
5274
|
constructor(file, offset, line, col) {
|
|
5275
5275
|
this.file = file;
|
|
@@ -5416,7 +5416,7 @@ function sanitizeIdentifier(name) {
|
|
|
5416
5416
|
return name.replace(/\W/g, "_");
|
|
5417
5417
|
}
|
|
5418
5418
|
|
|
5419
|
-
// bazel-out/
|
|
5419
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
5420
5420
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
5421
5421
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
5422
5422
|
constructor() {
|
|
@@ -5509,7 +5509,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
5509
5509
|
}
|
|
5510
5510
|
};
|
|
5511
5511
|
|
|
5512
|
-
// bazel-out/
|
|
5512
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
5513
5513
|
var policy;
|
|
5514
5514
|
function getPolicy() {
|
|
5515
5515
|
if (policy === void 0) {
|
|
@@ -5547,7 +5547,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
5547
5547
|
return fn2.bind(_global);
|
|
5548
5548
|
}
|
|
5549
5549
|
|
|
5550
|
-
// bazel-out/
|
|
5550
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
5551
5551
|
var JitEvaluator = class {
|
|
5552
5552
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
5553
5553
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -5635,7 +5635,7 @@ function isUseStrictStatement(statement) {
|
|
|
5635
5635
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
5636
5636
|
}
|
|
5637
5637
|
|
|
5638
|
-
// bazel-out/
|
|
5638
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
5639
5639
|
function compileInjector(meta) {
|
|
5640
5640
|
const definitionMap = new DefinitionMap();
|
|
5641
5641
|
if (meta.providers !== null) {
|
|
@@ -5652,7 +5652,7 @@ function createInjectorType(meta) {
|
|
|
5652
5652
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
5653
5653
|
}
|
|
5654
5654
|
|
|
5655
|
-
// bazel-out/
|
|
5655
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
5656
5656
|
var R3JitReflector = class {
|
|
5657
5657
|
constructor(context) {
|
|
5658
5658
|
this.context = context;
|
|
@@ -5668,7 +5668,7 @@ var R3JitReflector = class {
|
|
|
5668
5668
|
}
|
|
5669
5669
|
};
|
|
5670
5670
|
|
|
5671
|
-
// bazel-out/
|
|
5671
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
5672
5672
|
var R3SelectorScopeMode;
|
|
5673
5673
|
(function(R3SelectorScopeMode2) {
|
|
5674
5674
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -5803,7 +5803,7 @@ function tupleOfTypes(types) {
|
|
|
5803
5803
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
5804
5804
|
}
|
|
5805
5805
|
|
|
5806
|
-
// bazel-out/
|
|
5806
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
5807
5807
|
function compilePipeFromMetadata(metadata) {
|
|
5808
5808
|
const definitionMapValues = [];
|
|
5809
5809
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -5824,7 +5824,7 @@ function createPipeType(metadata) {
|
|
|
5824
5824
|
]));
|
|
5825
5825
|
}
|
|
5826
5826
|
|
|
5827
|
-
// bazel-out/
|
|
5827
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
5828
5828
|
var R3TemplateDependencyKind;
|
|
5829
5829
|
(function(R3TemplateDependencyKind2) {
|
|
5830
5830
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -5832,7 +5832,7 @@ var R3TemplateDependencyKind;
|
|
|
5832
5832
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
5833
5833
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
5834
5834
|
|
|
5835
|
-
// bazel-out/
|
|
5835
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
5836
5836
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
5837
5837
|
"inherit",
|
|
5838
5838
|
"initial",
|
|
@@ -6020,7 +6020,7 @@ var ShadowCss = class {
|
|
|
6020
6020
|
});
|
|
6021
6021
|
}
|
|
6022
6022
|
_scopeSelector(selector, scopeSelector, hostSelector) {
|
|
6023
|
-
return selector.split(
|
|
6023
|
+
return selector.split(/ ?, ?/).map((part) => part.split(_shadowDeepSelectors)).map((deepParts) => {
|
|
6024
6024
|
const [shallowPart, ...otherParts] = deepParts;
|
|
6025
6025
|
const applyScope = (shallowPart2) => {
|
|
6026
6026
|
if (this._selectorNeedsScoping(shallowPart2, scopeSelector)) {
|
|
@@ -6062,9 +6062,9 @@ var ShadowCss = class {
|
|
|
6062
6062
|
const _scopeSelectorPart = (p) => {
|
|
6063
6063
|
let scopedP = p.trim();
|
|
6064
6064
|
if (!scopedP) {
|
|
6065
|
-
return
|
|
6065
|
+
return p;
|
|
6066
6066
|
}
|
|
6067
|
-
if (p.
|
|
6067
|
+
if (p.includes(_polyfillHostNoCombinator)) {
|
|
6068
6068
|
scopedP = this._applySimpleSelectorScope(p, scopeSelector, hostSelector);
|
|
6069
6069
|
} else {
|
|
6070
6070
|
const t = p.replace(_polyfillHostRe, "");
|
|
@@ -6083,21 +6083,21 @@ var ShadowCss = class {
|
|
|
6083
6083
|
let startIndex = 0;
|
|
6084
6084
|
let res;
|
|
6085
6085
|
const sep = /( |>|\+|~(?!=))\s*/g;
|
|
6086
|
-
const hasHost = selector.
|
|
6086
|
+
const hasHost = selector.includes(_polyfillHostNoCombinator);
|
|
6087
6087
|
let shouldScope = !hasHost;
|
|
6088
6088
|
while ((res = sep.exec(selector)) !== null) {
|
|
6089
6089
|
const separator = res[1];
|
|
6090
|
-
const part2 = selector.slice(startIndex, res.index)
|
|
6090
|
+
const part2 = selector.slice(startIndex, res.index);
|
|
6091
6091
|
if (part2.match(/__esc-ph-(\d+)__/) && ((_a2 = selector[res.index + 1]) == null ? void 0 : _a2.match(/[a-fA-F\d]/))) {
|
|
6092
6092
|
continue;
|
|
6093
6093
|
}
|
|
6094
|
-
shouldScope = shouldScope || part2.
|
|
6094
|
+
shouldScope = shouldScope || part2.includes(_polyfillHostNoCombinator);
|
|
6095
6095
|
const scopedPart = shouldScope ? _scopeSelectorPart(part2) : part2;
|
|
6096
6096
|
scopedSelector += `${scopedPart} ${separator} `;
|
|
6097
6097
|
startIndex = sep.lastIndex;
|
|
6098
6098
|
}
|
|
6099
6099
|
const part = selector.substring(startIndex);
|
|
6100
|
-
shouldScope = shouldScope || part.
|
|
6100
|
+
shouldScope = shouldScope || part.includes(_polyfillHostNoCombinator);
|
|
6101
6101
|
scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;
|
|
6102
6102
|
return safeContent.restore(scopedSelector);
|
|
6103
6103
|
}
|
|
@@ -6312,7 +6312,7 @@ function repeatGroups(groups, multiples) {
|
|
|
6312
6312
|
}
|
|
6313
6313
|
}
|
|
6314
6314
|
|
|
6315
|
-
// bazel-out/
|
|
6315
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
6316
6316
|
var OpKind;
|
|
6317
6317
|
(function(OpKind2) {
|
|
6318
6318
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -6466,7 +6466,7 @@ var TemplateKind;
|
|
|
6466
6466
|
TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
|
|
6467
6467
|
})(TemplateKind || (TemplateKind = {}));
|
|
6468
6468
|
|
|
6469
|
-
// bazel-out/
|
|
6469
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
6470
6470
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
6471
6471
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
6472
6472
|
var ConsumesVarsTrait = Symbol("ConsumesVars");
|
|
@@ -6494,7 +6494,7 @@ function hasUsesVarOffsetTrait(expr) {
|
|
|
6494
6494
|
return expr[UsesVarOffset] === true;
|
|
6495
6495
|
}
|
|
6496
6496
|
|
|
6497
|
-
// bazel-out/
|
|
6497
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
6498
6498
|
function createStatementOp(statement) {
|
|
6499
6499
|
return __spreadValues({
|
|
6500
6500
|
kind: OpKind.Statement,
|
|
@@ -6516,7 +6516,7 @@ var NEW_OP = {
|
|
|
6516
6516
|
next: null
|
|
6517
6517
|
};
|
|
6518
6518
|
|
|
6519
|
-
// bazel-out/
|
|
6519
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
6520
6520
|
function createInterpolateTextOp(xref, interpolation, sourceSpan) {
|
|
6521
6521
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
6522
6522
|
kind: OpKind.InterpolateText,
|
|
@@ -6696,7 +6696,7 @@ function createI18nApplyOp(owner, handle, sourceSpan) {
|
|
|
6696
6696
|
}, NEW_OP);
|
|
6697
6697
|
}
|
|
6698
6698
|
|
|
6699
|
-
// bazel-out/
|
|
6699
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
6700
6700
|
var _a;
|
|
6701
6701
|
var _b;
|
|
6702
6702
|
var _c;
|
|
@@ -7558,7 +7558,7 @@ function isStringLiteral(expr) {
|
|
|
7558
7558
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
7559
7559
|
}
|
|
7560
7560
|
|
|
7561
|
-
// bazel-out/
|
|
7561
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
7562
7562
|
var _OpList = class {
|
|
7563
7563
|
constructor() {
|
|
7564
7564
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -7749,14 +7749,14 @@ var OpList = _OpList;
|
|
|
7749
7749
|
_OpList.nextListId = 0;
|
|
7750
7750
|
})();
|
|
7751
7751
|
|
|
7752
|
-
// bazel-out/
|
|
7752
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
7753
7753
|
var SlotHandle = class {
|
|
7754
7754
|
constructor() {
|
|
7755
7755
|
this.slot = null;
|
|
7756
7756
|
}
|
|
7757
7757
|
};
|
|
7758
7758
|
|
|
7759
|
-
// bazel-out/
|
|
7759
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
7760
7760
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
7761
7761
|
OpKind.Element,
|
|
7762
7762
|
OpKind.ElementStart,
|
|
@@ -8060,7 +8060,7 @@ function createI18nAttributesOp(xref, handle, target) {
|
|
|
8060
8060
|
}, NEW_OP), TRAIT_CONSUMES_SLOT);
|
|
8061
8061
|
}
|
|
8062
8062
|
|
|
8063
|
-
// bazel-out/
|
|
8063
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
8064
8064
|
function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
|
|
8065
8065
|
return __spreadValues(__spreadValues({
|
|
8066
8066
|
kind: OpKind.HostProperty,
|
|
@@ -8074,10 +8074,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
|
|
|
8074
8074
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
8075
8075
|
}
|
|
8076
8076
|
|
|
8077
|
-
// bazel-out/
|
|
8077
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
8078
8078
|
var CTX_REF = "CTX_REF_MARKER";
|
|
8079
8079
|
|
|
8080
|
-
// bazel-out/
|
|
8080
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
8081
8081
|
var CompilationJobKind;
|
|
8082
8082
|
(function(CompilationJobKind2) {
|
|
8083
8083
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -8185,7 +8185,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
8185
8185
|
}
|
|
8186
8186
|
};
|
|
8187
8187
|
|
|
8188
|
-
// bazel-out/
|
|
8188
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
8189
8189
|
function deleteAnyCasts(job) {
|
|
8190
8190
|
for (const unit of job.units) {
|
|
8191
8191
|
for (const op of unit.ops()) {
|
|
@@ -8203,7 +8203,7 @@ function removeAnys(e) {
|
|
|
8203
8203
|
return e;
|
|
8204
8204
|
}
|
|
8205
8205
|
|
|
8206
|
-
// bazel-out/
|
|
8206
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
8207
8207
|
function applyI18nExpressions(job) {
|
|
8208
8208
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
8209
8209
|
for (const unit of job.units) {
|
|
@@ -8246,7 +8246,7 @@ function needsApplication(i18nContexts, op) {
|
|
|
8246
8246
|
return false;
|
|
8247
8247
|
}
|
|
8248
8248
|
|
|
8249
|
-
// bazel-out/
|
|
8249
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
8250
8250
|
function assignI18nSlotDependencies(job) {
|
|
8251
8251
|
for (const unit of job.units) {
|
|
8252
8252
|
let updateOp = unit.update.head;
|
|
@@ -8291,7 +8291,7 @@ function assignI18nSlotDependencies(job) {
|
|
|
8291
8291
|
}
|
|
8292
8292
|
}
|
|
8293
8293
|
|
|
8294
|
-
// bazel-out/
|
|
8294
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
8295
8295
|
function createOpXrefMap(unit) {
|
|
8296
8296
|
const map = /* @__PURE__ */ new Map();
|
|
8297
8297
|
for (const op of unit.create) {
|
|
@@ -8306,7 +8306,7 @@ function createOpXrefMap(unit) {
|
|
|
8306
8306
|
return map;
|
|
8307
8307
|
}
|
|
8308
8308
|
|
|
8309
|
-
// bazel-out/
|
|
8309
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
8310
8310
|
function extractAttributes(job) {
|
|
8311
8311
|
for (const unit of job.units) {
|
|
8312
8312
|
const elements = createOpXrefMap(unit);
|
|
@@ -8435,7 +8435,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
8435
8435
|
}
|
|
8436
8436
|
}
|
|
8437
8437
|
|
|
8438
|
-
// bazel-out/
|
|
8438
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
8439
8439
|
function lookupElement2(elements, xref) {
|
|
8440
8440
|
const el = elements.get(xref);
|
|
8441
8441
|
if (el === void 0) {
|
|
@@ -8492,7 +8492,7 @@ function specializeBindings(job) {
|
|
|
8492
8492
|
}
|
|
8493
8493
|
}
|
|
8494
8494
|
|
|
8495
|
-
// bazel-out/
|
|
8495
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
8496
8496
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
8497
8497
|
Identifiers.attribute,
|
|
8498
8498
|
Identifiers.classProp,
|
|
@@ -8560,7 +8560,7 @@ function chainOperationsInList(opList) {
|
|
|
8560
8560
|
}
|
|
8561
8561
|
}
|
|
8562
8562
|
|
|
8563
|
-
// bazel-out/
|
|
8563
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
8564
8564
|
function collapseSingletonInterpolations(job) {
|
|
8565
8565
|
for (const unit of job.units) {
|
|
8566
8566
|
for (const op of unit.update) {
|
|
@@ -8572,7 +8572,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
8572
8572
|
}
|
|
8573
8573
|
}
|
|
8574
8574
|
|
|
8575
|
-
// bazel-out/
|
|
8575
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
8576
8576
|
function generateConditionalExpressions(job) {
|
|
8577
8577
|
for (const unit of job.units) {
|
|
8578
8578
|
for (const op of unit.ops()) {
|
|
@@ -8609,7 +8609,7 @@ function generateConditionalExpressions(job) {
|
|
|
8609
8609
|
}
|
|
8610
8610
|
}
|
|
8611
8611
|
|
|
8612
|
-
// bazel-out/
|
|
8612
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
8613
8613
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
8614
8614
|
["&&", BinaryOperator.And],
|
|
8615
8615
|
[">", BinaryOperator.Bigger],
|
|
@@ -8666,7 +8666,7 @@ function literalOrArrayLiteral(value) {
|
|
|
8666
8666
|
return literal(value);
|
|
8667
8667
|
}
|
|
8668
8668
|
|
|
8669
|
-
// bazel-out/
|
|
8669
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
8670
8670
|
function collectElementConsts(job) {
|
|
8671
8671
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
8672
8672
|
for (const unit of job.units) {
|
|
@@ -8835,7 +8835,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
8835
8835
|
return literalArr(attrArray);
|
|
8836
8836
|
}
|
|
8837
8837
|
|
|
8838
|
-
// bazel-out/
|
|
8838
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
|
|
8839
8839
|
function convertI18nBindings(job) {
|
|
8840
8840
|
const i18nAttributesByElem = /* @__PURE__ */ new Map();
|
|
8841
8841
|
for (const unit of job.units) {
|
|
@@ -8876,7 +8876,7 @@ function convertI18nBindings(job) {
|
|
|
8876
8876
|
}
|
|
8877
8877
|
}
|
|
8878
8878
|
|
|
8879
|
-
// bazel-out/
|
|
8879
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
|
|
8880
8880
|
function resolveDeferDepsFns(job) {
|
|
8881
8881
|
var _a2;
|
|
8882
8882
|
for (const unit of job.units) {
|
|
@@ -8901,7 +8901,7 @@ function resolveDeferDepsFns(job) {
|
|
|
8901
8901
|
}
|
|
8902
8902
|
}
|
|
8903
8903
|
|
|
8904
|
-
// bazel-out/
|
|
8904
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
8905
8905
|
function createI18nContexts(job) {
|
|
8906
8906
|
const attrContextByMessage = /* @__PURE__ */ new Map();
|
|
8907
8907
|
for (const unit of job.units) {
|
|
@@ -8979,7 +8979,7 @@ function createI18nContexts(job) {
|
|
|
8979
8979
|
}
|
|
8980
8980
|
}
|
|
8981
8981
|
|
|
8982
|
-
// bazel-out/
|
|
8982
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
|
|
8983
8983
|
function deduplicateTextBindings(job) {
|
|
8984
8984
|
const seen = /* @__PURE__ */ new Map();
|
|
8985
8985
|
for (const unit of job.units) {
|
|
@@ -9001,7 +9001,7 @@ function deduplicateTextBindings(job) {
|
|
|
9001
9001
|
}
|
|
9002
9002
|
}
|
|
9003
9003
|
|
|
9004
|
-
// bazel-out/
|
|
9004
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
9005
9005
|
function configureDeferInstructions(job) {
|
|
9006
9006
|
for (const unit of job.units) {
|
|
9007
9007
|
for (const op of unit.create) {
|
|
@@ -9018,7 +9018,7 @@ function configureDeferInstructions(job) {
|
|
|
9018
9018
|
}
|
|
9019
9019
|
}
|
|
9020
9020
|
|
|
9021
|
-
// bazel-out/
|
|
9021
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
9022
9022
|
function resolveDeferTargetNames(job) {
|
|
9023
9023
|
const scopes = /* @__PURE__ */ new Map();
|
|
9024
9024
|
function getScopeForView2(view) {
|
|
@@ -9112,7 +9112,7 @@ var Scope = class {
|
|
|
9112
9112
|
}
|
|
9113
9113
|
};
|
|
9114
9114
|
|
|
9115
|
-
// bazel-out/
|
|
9115
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
9116
9116
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
9117
9117
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
9118
9118
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -9139,7 +9139,7 @@ function collapseEmptyInstructions(job) {
|
|
|
9139
9139
|
}
|
|
9140
9140
|
}
|
|
9141
9141
|
|
|
9142
|
-
// bazel-out/
|
|
9142
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
9143
9143
|
function expandSafeReads(job) {
|
|
9144
9144
|
for (const unit of job.units) {
|
|
9145
9145
|
for (const op of unit.ops()) {
|
|
@@ -9275,7 +9275,7 @@ function ternaryTransform(e) {
|
|
|
9275
9275
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
9276
9276
|
}
|
|
9277
9277
|
|
|
9278
|
-
// bazel-out/
|
|
9278
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
9279
9279
|
var ESCAPE = "\uFFFD";
|
|
9280
9280
|
var ELEMENT_MARKER = "#";
|
|
9281
9281
|
var TEMPLATE_MARKER = "*";
|
|
@@ -9411,7 +9411,7 @@ function formatValue(value) {
|
|
|
9411
9411
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
9412
9412
|
}
|
|
9413
9413
|
|
|
9414
|
-
// bazel-out/
|
|
9414
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
9415
9415
|
function generateAdvance(job) {
|
|
9416
9416
|
for (const unit of job.units) {
|
|
9417
9417
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -9443,7 +9443,7 @@ function generateAdvance(job) {
|
|
|
9443
9443
|
}
|
|
9444
9444
|
}
|
|
9445
9445
|
|
|
9446
|
-
// bazel-out/
|
|
9446
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
9447
9447
|
function generateProjectionDefs(job) {
|
|
9448
9448
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
9449
9449
|
const selectors = [];
|
|
@@ -9467,7 +9467,7 @@ function generateProjectionDefs(job) {
|
|
|
9467
9467
|
}
|
|
9468
9468
|
}
|
|
9469
9469
|
|
|
9470
|
-
// bazel-out/
|
|
9470
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
9471
9471
|
function generateVariables(job) {
|
|
9472
9472
|
recursivelyProcessView(job.root, null);
|
|
9473
9473
|
}
|
|
@@ -9566,7 +9566,7 @@ function generateVariablesInScopeForView(view, scope) {
|
|
|
9566
9566
|
return newOps;
|
|
9567
9567
|
}
|
|
9568
9568
|
|
|
9569
|
-
// bazel-out/
|
|
9569
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
9570
9570
|
function collectConstExpressions(job) {
|
|
9571
9571
|
for (const unit of job.units) {
|
|
9572
9572
|
for (const op of unit.ops()) {
|
|
@@ -9580,7 +9580,7 @@ function collectConstExpressions(job) {
|
|
|
9580
9580
|
}
|
|
9581
9581
|
}
|
|
9582
9582
|
|
|
9583
|
-
// bazel-out/
|
|
9583
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
9584
9584
|
var STYLE_DOT = "style.";
|
|
9585
9585
|
var CLASS_DOT = "class.";
|
|
9586
9586
|
var STYLE_BANG = "style!";
|
|
@@ -9638,7 +9638,7 @@ function parseProperty(name) {
|
|
|
9638
9638
|
return { property: property2, suffix };
|
|
9639
9639
|
}
|
|
9640
9640
|
|
|
9641
|
-
// bazel-out/
|
|
9641
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
9642
9642
|
function mapLiteral(obj, quoted = false) {
|
|
9643
9643
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
9644
9644
|
key,
|
|
@@ -9647,7 +9647,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
9647
9647
|
})));
|
|
9648
9648
|
}
|
|
9649
9649
|
|
|
9650
|
-
// bazel-out/
|
|
9650
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
9651
9651
|
var IcuSerializerVisitor = class {
|
|
9652
9652
|
visitText(text2) {
|
|
9653
9653
|
return text2.value;
|
|
@@ -9681,7 +9681,7 @@ function serializeIcuNode(icu) {
|
|
|
9681
9681
|
return icu.visit(serializer);
|
|
9682
9682
|
}
|
|
9683
9683
|
|
|
9684
|
-
// bazel-out/
|
|
9684
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
9685
9685
|
var TokenType;
|
|
9686
9686
|
(function(TokenType2) {
|
|
9687
9687
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -10042,7 +10042,7 @@ function parseIntAutoRadix(text2) {
|
|
|
10042
10042
|
return result;
|
|
10043
10043
|
}
|
|
10044
10044
|
|
|
10045
|
-
// bazel-out/
|
|
10045
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
10046
10046
|
var SplitInterpolation = class {
|
|
10047
10047
|
constructor(strings, expressions, offsets) {
|
|
10048
10048
|
this.strings = strings;
|
|
@@ -10924,7 +10924,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
10924
10924
|
return offsetMap;
|
|
10925
10925
|
}
|
|
10926
10926
|
|
|
10927
|
-
// bazel-out/
|
|
10927
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
10928
10928
|
var NodeWithI18n = class {
|
|
10929
10929
|
constructor(sourceSpan, i18n2) {
|
|
10930
10930
|
this.sourceSpan = sourceSpan;
|
|
@@ -11035,7 +11035,7 @@ function visitAll2(visitor, nodes, context = null) {
|
|
|
11035
11035
|
return result;
|
|
11036
11036
|
}
|
|
11037
11037
|
|
|
11038
|
-
// bazel-out/
|
|
11038
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
11039
11039
|
var _SECURITY_SCHEMA;
|
|
11040
11040
|
function SECURITY_SCHEMA() {
|
|
11041
11041
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -11096,11 +11096,11 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
11096
11096
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
11097
11097
|
}
|
|
11098
11098
|
|
|
11099
|
-
// bazel-out/
|
|
11099
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
11100
11100
|
var ElementSchemaRegistry = class {
|
|
11101
11101
|
};
|
|
11102
11102
|
|
|
11103
|
-
// bazel-out/
|
|
11103
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
11104
11104
|
var BOOLEAN = "boolean";
|
|
11105
11105
|
var NUMBER = "number";
|
|
11106
11106
|
var STRING = "string";
|
|
@@ -11257,7 +11257,37 @@ var SCHEMA = [
|
|
|
11257
11257
|
"menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default",
|
|
11258
11258
|
"summary^[HTMLElement]|",
|
|
11259
11259
|
"time^[HTMLElement]|dateTime",
|
|
11260
|
-
":svg:cursor^:svg:|"
|
|
11260
|
+
":svg:cursor^:svg:|",
|
|
11261
|
+
":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",
|
|
11262
|
+
":math:math^:math:|",
|
|
11263
|
+
":math:maction^:math:|",
|
|
11264
|
+
":math:menclose^:math:|",
|
|
11265
|
+
":math:merror^:math:|",
|
|
11266
|
+
":math:mfenced^:math:|",
|
|
11267
|
+
":math:mfrac^:math:|",
|
|
11268
|
+
":math:mi^:math:|",
|
|
11269
|
+
":math:mmultiscripts^:math:|",
|
|
11270
|
+
":math:mn^:math:|",
|
|
11271
|
+
":math:mo^:math:|",
|
|
11272
|
+
":math:mover^:math:|",
|
|
11273
|
+
":math:mpadded^:math:|",
|
|
11274
|
+
":math:mphantom^:math:|",
|
|
11275
|
+
":math:mroot^:math:|",
|
|
11276
|
+
":math:mrow^:math:|",
|
|
11277
|
+
":math:ms^:math:|",
|
|
11278
|
+
":math:mspace^:math:|",
|
|
11279
|
+
":math:msqrt^:math:|",
|
|
11280
|
+
":math:mstyle^:math:|",
|
|
11281
|
+
":math:msub^:math:|",
|
|
11282
|
+
":math:msubsup^:math:|",
|
|
11283
|
+
":math:msup^:math:|",
|
|
11284
|
+
":math:mtable^:math:|",
|
|
11285
|
+
":math:mtd^:math:|",
|
|
11286
|
+
":math:mtext^:math:|",
|
|
11287
|
+
":math:mtr^:math:|",
|
|
11288
|
+
":math:munder^:math:|",
|
|
11289
|
+
":math:munderover^:math:|",
|
|
11290
|
+
":math:semantics^:math:|"
|
|
11261
11291
|
];
|
|
11262
11292
|
var _ATTR_TO_PROP = new Map(Object.entries({
|
|
11263
11293
|
"class": "className",
|
|
@@ -11453,7 +11483,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
11453
11483
|
}
|
|
11454
11484
|
}
|
|
11455
11485
|
|
|
11456
|
-
// bazel-out/
|
|
11486
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
11457
11487
|
var HtmlTagDefinition = class {
|
|
11458
11488
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
11459
11489
|
this.closedByChildren = {};
|
|
@@ -11589,7 +11619,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
11589
11619
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
11590
11620
|
}
|
|
11591
11621
|
|
|
11592
|
-
// bazel-out/
|
|
11622
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
11593
11623
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
11594
11624
|
"A": "LINK",
|
|
11595
11625
|
"B": "BOLD_TEXT",
|
|
@@ -11711,7 +11741,7 @@ var PlaceholderRegistry = class {
|
|
|
11711
11741
|
}
|
|
11712
11742
|
};
|
|
11713
11743
|
|
|
11714
|
-
// bazel-out/
|
|
11744
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
11715
11745
|
var _expParser = new Parser(new Lexer());
|
|
11716
11746
|
function createI18nMessageFactory(interpolationConfig, containerBlocks) {
|
|
11717
11747
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
|
|
@@ -11890,14 +11920,14 @@ function extractPlaceholderName(input) {
|
|
|
11890
11920
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
11891
11921
|
}
|
|
11892
11922
|
|
|
11893
|
-
// bazel-out/
|
|
11923
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
11894
11924
|
var I18nError = class extends ParseError {
|
|
11895
11925
|
constructor(span, msg) {
|
|
11896
11926
|
super(span, msg);
|
|
11897
11927
|
}
|
|
11898
11928
|
};
|
|
11899
11929
|
|
|
11900
|
-
// bazel-out/
|
|
11930
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
11901
11931
|
var NAMED_ENTITIES = {
|
|
11902
11932
|
"AElig": "\xC6",
|
|
11903
11933
|
"AMP": "&",
|
|
@@ -14028,7 +14058,7 @@ var NAMED_ENTITIES = {
|
|
|
14028
14058
|
var NGSP_UNICODE = "\uE500";
|
|
14029
14059
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
14030
14060
|
|
|
14031
|
-
// bazel-out/
|
|
14061
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
14032
14062
|
var TokenError = class extends ParseError {
|
|
14033
14063
|
constructor(errorMsg, tokenType, span) {
|
|
14034
14064
|
super(span, errorMsg);
|
|
@@ -14954,7 +14984,7 @@ var CursorError = class {
|
|
|
14954
14984
|
}
|
|
14955
14985
|
};
|
|
14956
14986
|
|
|
14957
|
-
// bazel-out/
|
|
14987
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
14958
14988
|
var TreeError = class extends ParseError {
|
|
14959
14989
|
static create(elementName, span, msg) {
|
|
14960
14990
|
return new TreeError(elementName, span, msg);
|
|
@@ -15338,7 +15368,7 @@ function decodeEntity(match, entity) {
|
|
|
15338
15368
|
return match;
|
|
15339
15369
|
}
|
|
15340
15370
|
|
|
15341
|
-
// bazel-out/
|
|
15371
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
15342
15372
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
15343
15373
|
"iframe|srcdoc",
|
|
15344
15374
|
"*|innerhtml",
|
|
@@ -15353,7 +15383,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
15353
15383
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
15354
15384
|
}
|
|
15355
15385
|
|
|
15356
|
-
// bazel-out/
|
|
15386
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
15357
15387
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
15358
15388
|
if (htmlNode instanceof NodeWithI18n) {
|
|
15359
15389
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -15510,7 +15540,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
15510
15540
|
return jsDocComment(tags);
|
|
15511
15541
|
}
|
|
15512
15542
|
|
|
15513
|
-
// bazel-out/
|
|
15543
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
15514
15544
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
15515
15545
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
15516
15546
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -15561,7 +15591,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
15561
15591
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
15562
15592
|
}
|
|
15563
15593
|
|
|
15564
|
-
// bazel-out/
|
|
15594
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
15565
15595
|
function createLocalizeStatements(variable2, message, params) {
|
|
15566
15596
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
15567
15597
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -15650,7 +15680,7 @@ function createEmptyMessagePart(location) {
|
|
|
15650
15680
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
15651
15681
|
}
|
|
15652
15682
|
|
|
15653
|
-
// bazel-out/
|
|
15683
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
15654
15684
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
15655
15685
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
15656
15686
|
var I18N_ICU_MAPPING_PREFIX = "I18N_EXP_";
|
|
@@ -15821,7 +15851,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
15821
15851
|
return variable(name);
|
|
15822
15852
|
}
|
|
15823
15853
|
|
|
15824
|
-
// bazel-out/
|
|
15854
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
15825
15855
|
function convertI18nText(job) {
|
|
15826
15856
|
var _a2, _b2, _c2;
|
|
15827
15857
|
for (const unit of job.units) {
|
|
@@ -15891,7 +15921,7 @@ function convertI18nText(job) {
|
|
|
15891
15921
|
}
|
|
15892
15922
|
}
|
|
15893
15923
|
|
|
15894
|
-
// bazel-out/
|
|
15924
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
15895
15925
|
function liftLocalRefs(job) {
|
|
15896
15926
|
for (const unit of job.units) {
|
|
15897
15927
|
for (const op of unit.create) {
|
|
@@ -15921,7 +15951,7 @@ function serializeLocalRefs(refs) {
|
|
|
15921
15951
|
return literalArr(constRefs);
|
|
15922
15952
|
}
|
|
15923
15953
|
|
|
15924
|
-
// bazel-out/
|
|
15954
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
15925
15955
|
function emitNamespaceChanges(job) {
|
|
15926
15956
|
for (const unit of job.units) {
|
|
15927
15957
|
let activeNamespace = Namespace.HTML;
|
|
@@ -15937,7 +15967,7 @@ function emitNamespaceChanges(job) {
|
|
|
15937
15967
|
}
|
|
15938
15968
|
}
|
|
15939
15969
|
|
|
15940
|
-
// bazel-out/
|
|
15970
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
15941
15971
|
function parse(value) {
|
|
15942
15972
|
const styles = [];
|
|
15943
15973
|
let i = 0;
|
|
@@ -16031,7 +16061,7 @@ function parseExtractedStyles(job) {
|
|
|
16031
16061
|
}
|
|
16032
16062
|
}
|
|
16033
16063
|
|
|
16034
|
-
// bazel-out/
|
|
16064
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
16035
16065
|
function nameFunctionsAndVariables(job) {
|
|
16036
16066
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
16037
16067
|
}
|
|
@@ -16175,7 +16205,7 @@ function stripImportant(name) {
|
|
|
16175
16205
|
return name;
|
|
16176
16206
|
}
|
|
16177
16207
|
|
|
16178
|
-
// bazel-out/
|
|
16208
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
16179
16209
|
function mergeNextContextExpressions(job) {
|
|
16180
16210
|
for (const unit of job.units) {
|
|
16181
16211
|
for (const op of unit.create) {
|
|
@@ -16221,7 +16251,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
16221
16251
|
}
|
|
16222
16252
|
}
|
|
16223
16253
|
|
|
16224
|
-
// bazel-out/
|
|
16254
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
16225
16255
|
var CONTAINER_TAG = "ng-container";
|
|
16226
16256
|
function generateNgContainerOps(job) {
|
|
16227
16257
|
for (const unit of job.units) {
|
|
@@ -16238,7 +16268,7 @@ function generateNgContainerOps(job) {
|
|
|
16238
16268
|
}
|
|
16239
16269
|
}
|
|
16240
16270
|
|
|
16241
|
-
// bazel-out/
|
|
16271
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
16242
16272
|
function lookupElement3(elements, xref) {
|
|
16243
16273
|
const el = elements.get(xref);
|
|
16244
16274
|
if (el === void 0) {
|
|
@@ -16268,7 +16298,7 @@ function disableBindings(job) {
|
|
|
16268
16298
|
}
|
|
16269
16299
|
}
|
|
16270
16300
|
|
|
16271
|
-
// bazel-out/
|
|
16301
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
16272
16302
|
function generateNullishCoalesceExpressions(job) {
|
|
16273
16303
|
for (const unit of job.units) {
|
|
16274
16304
|
for (const op of unit.ops()) {
|
|
@@ -16284,7 +16314,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
16284
16314
|
}
|
|
16285
16315
|
}
|
|
16286
16316
|
|
|
16287
|
-
// bazel-out/
|
|
16317
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
16288
16318
|
function kindTest(kind) {
|
|
16289
16319
|
return (op) => op.kind === kind;
|
|
16290
16320
|
}
|
|
@@ -16374,7 +16404,7 @@ function keepLast(ops) {
|
|
|
16374
16404
|
return ops.slice(ops.length - 1);
|
|
16375
16405
|
}
|
|
16376
16406
|
|
|
16377
|
-
// bazel-out/
|
|
16407
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
16378
16408
|
function removeContentSelectors(job) {
|
|
16379
16409
|
for (const unit of job.units) {
|
|
16380
16410
|
const elements = createOpXrefMap(unit);
|
|
@@ -16401,7 +16431,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
16401
16431
|
return el;
|
|
16402
16432
|
}
|
|
16403
16433
|
|
|
16404
|
-
// bazel-out/
|
|
16434
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
16405
16435
|
function createPipes(job) {
|
|
16406
16436
|
for (const unit of job.units) {
|
|
16407
16437
|
processPipeBindingsInView(unit);
|
|
@@ -16449,7 +16479,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
16449
16479
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
16450
16480
|
}
|
|
16451
16481
|
|
|
16452
|
-
// bazel-out/
|
|
16482
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
16453
16483
|
function createVariadicPipes(job) {
|
|
16454
16484
|
for (const unit of job.units) {
|
|
16455
16485
|
for (const op of unit.update) {
|
|
@@ -16466,7 +16496,7 @@ function createVariadicPipes(job) {
|
|
|
16466
16496
|
}
|
|
16467
16497
|
}
|
|
16468
16498
|
|
|
16469
|
-
// bazel-out/
|
|
16499
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
16470
16500
|
function propagateI18nBlocks(job) {
|
|
16471
16501
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
16472
16502
|
}
|
|
@@ -16520,7 +16550,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
16520
16550
|
}
|
|
16521
16551
|
}
|
|
16522
16552
|
|
|
16523
|
-
// bazel-out/
|
|
16553
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
16524
16554
|
function extractPureFunctions(job) {
|
|
16525
16555
|
for (const view of job.units) {
|
|
16526
16556
|
for (const op of view.ops()) {
|
|
@@ -16562,7 +16592,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
16562
16592
|
}
|
|
16563
16593
|
};
|
|
16564
16594
|
|
|
16565
|
-
// bazel-out/
|
|
16595
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
16566
16596
|
function generatePureLiteralStructures(job) {
|
|
16567
16597
|
for (const unit of job.units) {
|
|
16568
16598
|
for (const op of unit.update) {
|
|
@@ -16609,7 +16639,7 @@ function transformLiteralMap(expr) {
|
|
|
16609
16639
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
16610
16640
|
}
|
|
16611
16641
|
|
|
16612
|
-
// bazel-out/
|
|
16642
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
16613
16643
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
16614
16644
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
16615
16645
|
}
|
|
@@ -17132,7 +17162,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
17132
17162
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
17133
17163
|
}
|
|
17134
17164
|
|
|
17135
|
-
// bazel-out/
|
|
17165
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
17136
17166
|
var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
|
|
17137
17167
|
["window", Identifiers.resolveWindow],
|
|
17138
17168
|
["document", Identifiers.resolveDocument],
|
|
@@ -17488,7 +17518,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
17488
17518
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
17489
17519
|
}
|
|
17490
17520
|
|
|
17491
|
-
// bazel-out/
|
|
17521
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
17492
17522
|
function removeEmptyBindings(job) {
|
|
17493
17523
|
for (const unit of job.units) {
|
|
17494
17524
|
for (const op of unit.update) {
|
|
@@ -17509,7 +17539,7 @@ function removeEmptyBindings(job) {
|
|
|
17509
17539
|
}
|
|
17510
17540
|
}
|
|
17511
17541
|
|
|
17512
|
-
// bazel-out/
|
|
17542
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
17513
17543
|
function removeI18nContexts(job) {
|
|
17514
17544
|
for (const unit of job.units) {
|
|
17515
17545
|
for (const op of unit.create) {
|
|
@@ -17525,7 +17555,7 @@ function removeI18nContexts(job) {
|
|
|
17525
17555
|
}
|
|
17526
17556
|
}
|
|
17527
17557
|
|
|
17528
|
-
// bazel-out/
|
|
17558
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
|
|
17529
17559
|
function removeUnusedI18nAttributesOps(job) {
|
|
17530
17560
|
for (const unit of job.units) {
|
|
17531
17561
|
const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
|
|
@@ -17547,7 +17577,7 @@ function removeUnusedI18nAttributesOps(job) {
|
|
|
17547
17577
|
}
|
|
17548
17578
|
}
|
|
17549
17579
|
|
|
17550
|
-
// bazel-out/
|
|
17580
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
17551
17581
|
function resolveContexts(job) {
|
|
17552
17582
|
for (const unit of job.units) {
|
|
17553
17583
|
processLexicalScope(unit, unit.create);
|
|
@@ -17589,7 +17619,7 @@ function processLexicalScope(view, ops) {
|
|
|
17589
17619
|
}
|
|
17590
17620
|
}
|
|
17591
17621
|
|
|
17592
|
-
// bazel-out/
|
|
17622
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
17593
17623
|
function resolveDollarEvent(job) {
|
|
17594
17624
|
for (const unit of job.units) {
|
|
17595
17625
|
transformDollarEvent(unit.create);
|
|
@@ -17612,7 +17642,7 @@ function transformDollarEvent(ops) {
|
|
|
17612
17642
|
}
|
|
17613
17643
|
}
|
|
17614
17644
|
|
|
17615
|
-
// bazel-out/
|
|
17645
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
17616
17646
|
function resolveI18nElementPlaceholders(job) {
|
|
17617
17647
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
17618
17648
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -17791,7 +17821,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
17791
17821
|
params.set(placeholder, values);
|
|
17792
17822
|
}
|
|
17793
17823
|
|
|
17794
|
-
// bazel-out/
|
|
17824
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
17795
17825
|
function resolveI18nExpressionPlaceholders(job) {
|
|
17796
17826
|
var _a2;
|
|
17797
17827
|
const subTemplateIndices = /* @__PURE__ */ new Map();
|
|
@@ -17844,7 +17874,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
|
|
|
17844
17874
|
}
|
|
17845
17875
|
}
|
|
17846
17876
|
|
|
17847
|
-
// bazel-out/
|
|
17877
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
17848
17878
|
function resolveNames(job) {
|
|
17849
17879
|
for (const unit of job.units) {
|
|
17850
17880
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -17909,7 +17939,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
17909
17939
|
}
|
|
17910
17940
|
}
|
|
17911
17941
|
|
|
17912
|
-
// bazel-out/
|
|
17942
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
17913
17943
|
var sanitizerFns = /* @__PURE__ */ new Map([
|
|
17914
17944
|
[SecurityContext.HTML, Identifiers.sanitizeHtml],
|
|
17915
17945
|
[SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
|
|
@@ -17979,7 +18009,7 @@ function getOnlySecurityContext(securityContext) {
|
|
|
17979
18009
|
return securityContext;
|
|
17980
18010
|
}
|
|
17981
18011
|
|
|
17982
|
-
// bazel-out/
|
|
18012
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
|
|
17983
18013
|
function transformTwoWayBindingSet(job) {
|
|
17984
18014
|
for (const unit of job.units) {
|
|
17985
18015
|
for (const op of unit.create) {
|
|
@@ -18002,7 +18032,7 @@ function transformTwoWayBindingSet(job) {
|
|
|
18002
18032
|
}
|
|
18003
18033
|
}
|
|
18004
18034
|
|
|
18005
|
-
// bazel-out/
|
|
18035
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
18006
18036
|
function saveAndRestoreView(job) {
|
|
18007
18037
|
for (const unit of job.units) {
|
|
18008
18038
|
unit.create.prepend([
|
|
@@ -18047,7 +18077,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
18047
18077
|
}
|
|
18048
18078
|
}
|
|
18049
18079
|
|
|
18050
|
-
// bazel-out/
|
|
18080
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
18051
18081
|
function allocateSlots(job) {
|
|
18052
18082
|
const slotMap = /* @__PURE__ */ new Map();
|
|
18053
18083
|
for (const unit of job.units) {
|
|
@@ -18072,7 +18102,7 @@ function allocateSlots(job) {
|
|
|
18072
18102
|
}
|
|
18073
18103
|
}
|
|
18074
18104
|
|
|
18075
|
-
// bazel-out/
|
|
18105
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
18076
18106
|
function specializeStyleBindings(job) {
|
|
18077
18107
|
for (const unit of job.units) {
|
|
18078
18108
|
for (const op of unit.update) {
|
|
@@ -18102,7 +18132,7 @@ function specializeStyleBindings(job) {
|
|
|
18102
18132
|
}
|
|
18103
18133
|
}
|
|
18104
18134
|
|
|
18105
|
-
// bazel-out/
|
|
18135
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
18106
18136
|
function generateTemporaryVariables(job) {
|
|
18107
18137
|
for (const unit of job.units) {
|
|
18108
18138
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -18160,7 +18190,7 @@ function assignName(names, expr) {
|
|
|
18160
18190
|
expr.name = name;
|
|
18161
18191
|
}
|
|
18162
18192
|
|
|
18163
|
-
// bazel-out/
|
|
18193
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
18164
18194
|
function generateTrackFns(job) {
|
|
18165
18195
|
for (const unit of job.units) {
|
|
18166
18196
|
for (const op of unit.create) {
|
|
@@ -18193,7 +18223,7 @@ function generateTrackFns(job) {
|
|
|
18193
18223
|
}
|
|
18194
18224
|
}
|
|
18195
18225
|
|
|
18196
|
-
// bazel-out/
|
|
18226
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
18197
18227
|
function optimizeTrackFns(job) {
|
|
18198
18228
|
for (const unit of job.units) {
|
|
18199
18229
|
for (const op of unit.create) {
|
|
@@ -18241,7 +18271,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
18241
18271
|
return true;
|
|
18242
18272
|
}
|
|
18243
18273
|
|
|
18244
|
-
// bazel-out/
|
|
18274
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
18245
18275
|
function generateTrackVariables(job) {
|
|
18246
18276
|
for (const unit of job.units) {
|
|
18247
18277
|
for (const op of unit.create) {
|
|
@@ -18262,7 +18292,7 @@ function generateTrackVariables(job) {
|
|
|
18262
18292
|
}
|
|
18263
18293
|
}
|
|
18264
18294
|
|
|
18265
|
-
// bazel-out/
|
|
18295
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
18266
18296
|
function countVariables(job) {
|
|
18267
18297
|
for (const unit of job.units) {
|
|
18268
18298
|
let varCount = 0;
|
|
@@ -18372,7 +18402,7 @@ function isSingletonInterpolation(expr) {
|
|
|
18372
18402
|
return true;
|
|
18373
18403
|
}
|
|
18374
18404
|
|
|
18375
|
-
// bazel-out/
|
|
18405
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
18376
18406
|
function optimizeVariables(job) {
|
|
18377
18407
|
for (const unit of job.units) {
|
|
18378
18408
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -18621,7 +18651,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
18621
18651
|
}
|
|
18622
18652
|
}
|
|
18623
18653
|
|
|
18624
|
-
// bazel-out/
|
|
18654
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
18625
18655
|
function wrapI18nIcus(job) {
|
|
18626
18656
|
for (const unit of job.units) {
|
|
18627
18657
|
let currentI18nOp = null;
|
|
@@ -18651,7 +18681,7 @@ function wrapI18nIcus(job) {
|
|
|
18651
18681
|
}
|
|
18652
18682
|
}
|
|
18653
18683
|
|
|
18654
|
-
// bazel-out/
|
|
18684
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
18655
18685
|
var phases = [
|
|
18656
18686
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
18657
18687
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -18693,6 +18723,7 @@ var phases = [
|
|
|
18693
18723
|
{ kind: CompilationJobKind.Both, fn: generateNullishCoalesceExpressions },
|
|
18694
18724
|
{ kind: CompilationJobKind.Both, fn: expandSafeReads },
|
|
18695
18725
|
{ kind: CompilationJobKind.Both, fn: generateTemporaryVariables },
|
|
18726
|
+
{ kind: CompilationJobKind.Both, fn: optimizeVariables },
|
|
18696
18727
|
{ kind: CompilationJobKind.Tmpl, fn: allocateSlots },
|
|
18697
18728
|
{ kind: CompilationJobKind.Tmpl, fn: resolveI18nElementPlaceholders },
|
|
18698
18729
|
{ kind: CompilationJobKind.Tmpl, fn: resolveI18nExpressionPlaceholders },
|
|
@@ -18704,7 +18735,6 @@ var phases = [
|
|
|
18704
18735
|
{ kind: CompilationJobKind.Tmpl, fn: removeI18nContexts },
|
|
18705
18736
|
{ kind: CompilationJobKind.Both, fn: countVariables },
|
|
18706
18737
|
{ kind: CompilationJobKind.Tmpl, fn: generateAdvance },
|
|
18707
|
-
{ kind: CompilationJobKind.Both, fn: optimizeVariables },
|
|
18708
18738
|
{ kind: CompilationJobKind.Both, fn: nameFunctionsAndVariables },
|
|
18709
18739
|
{ kind: CompilationJobKind.Tmpl, fn: resolveDeferDepsFns },
|
|
18710
18740
|
{ kind: CompilationJobKind.Tmpl, fn: mergeNextContextExpressions },
|
|
@@ -18805,7 +18835,7 @@ function emitHostBindingFunction(job) {
|
|
|
18805
18835
|
);
|
|
18806
18836
|
}
|
|
18807
18837
|
|
|
18808
|
-
// bazel-out/
|
|
18838
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
18809
18839
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
18810
18840
|
var domSchema = new DomElementSchemaRegistry();
|
|
18811
18841
|
var NG_TEMPLATE_TAG_NAME = "ng-template";
|
|
@@ -19556,7 +19586,7 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
19556
19586
|
return null;
|
|
19557
19587
|
}
|
|
19558
19588
|
|
|
19559
|
-
// bazel-out/
|
|
19589
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
|
|
19560
19590
|
function renderFlagCheckIfStmt(flags, statements) {
|
|
19561
19591
|
return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
|
|
19562
19592
|
}
|
|
@@ -19676,7 +19706,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
|
|
|
19676
19706
|
], INFERRED_TYPE, null, contentQueriesFnName);
|
|
19677
19707
|
}
|
|
19678
19708
|
|
|
19679
|
-
// bazel-out/
|
|
19709
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
19680
19710
|
var HtmlParser = class extends Parser2 {
|
|
19681
19711
|
constructor() {
|
|
19682
19712
|
super(getHtmlTagDefinition);
|
|
@@ -19686,7 +19716,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
19686
19716
|
}
|
|
19687
19717
|
};
|
|
19688
19718
|
|
|
19689
|
-
// bazel-out/
|
|
19719
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
19690
19720
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
19691
19721
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
19692
19722
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -19752,7 +19782,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
19752
19782
|
return result;
|
|
19753
19783
|
}
|
|
19754
19784
|
|
|
19755
|
-
// bazel-out/
|
|
19785
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
19756
19786
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
19757
19787
|
var ATTRIBUTE_PREFIX = "attr";
|
|
19758
19788
|
var CLASS_PREFIX = "class";
|
|
@@ -20106,7 +20136,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
20106
20136
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
20107
20137
|
}
|
|
20108
20138
|
|
|
20109
|
-
// bazel-out/
|
|
20139
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
20110
20140
|
function isStyleUrlResolvable(url) {
|
|
20111
20141
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
20112
20142
|
return false;
|
|
@@ -20115,7 +20145,7 @@ function isStyleUrlResolvable(url) {
|
|
|
20115
20145
|
}
|
|
20116
20146
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
20117
20147
|
|
|
20118
|
-
// bazel-out/
|
|
20148
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
20119
20149
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
20120
20150
|
var LINK_ELEMENT = "link";
|
|
20121
20151
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -20185,7 +20215,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
20185
20215
|
return selectAttr;
|
|
20186
20216
|
}
|
|
20187
20217
|
|
|
20188
|
-
// bazel-out/
|
|
20218
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
20189
20219
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
20190
20220
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
20191
20221
|
var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
|
|
@@ -20508,7 +20538,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
20508
20538
|
return expression.slice(start, end);
|
|
20509
20539
|
}
|
|
20510
20540
|
|
|
20511
|
-
// bazel-out/
|
|
20541
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
20512
20542
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
20513
20543
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
20514
20544
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -20772,7 +20802,7 @@ function parseDeferredTime(value) {
|
|
|
20772
20802
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
20773
20803
|
}
|
|
20774
20804
|
|
|
20775
|
-
// bazel-out/
|
|
20805
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
20776
20806
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
20777
20807
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
20778
20808
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -20907,7 +20937,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
20907
20937
|
return { triggers, prefetchTriggers };
|
|
20908
20938
|
}
|
|
20909
20939
|
|
|
20910
|
-
// bazel-out/
|
|
20940
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
20911
20941
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
20912
20942
|
var KW_BIND_IDX = 1;
|
|
20913
20943
|
var KW_LET_IDX = 2;
|
|
@@ -21361,7 +21391,7 @@ function textContents(node) {
|
|
|
21361
21391
|
}
|
|
21362
21392
|
}
|
|
21363
21393
|
|
|
21364
|
-
// bazel-out/
|
|
21394
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
21365
21395
|
var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
|
|
21366
21396
|
function parseTemplate(template2, templateUrl, options = {}) {
|
|
21367
21397
|
var _a2;
|
|
@@ -21439,7 +21469,7 @@ function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, a
|
|
|
21439
21469
|
return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, [], allowInvalidAssignmentEvents);
|
|
21440
21470
|
}
|
|
21441
21471
|
|
|
21442
|
-
// bazel-out/
|
|
21472
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
21443
21473
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
21444
21474
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
21445
21475
|
var CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
|
|
@@ -21806,7 +21836,7 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
21806
21836
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
21807
21837
|
}
|
|
21808
21838
|
|
|
21809
|
-
// bazel-out/
|
|
21839
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
21810
21840
|
var R3TargetBinder = class {
|
|
21811
21841
|
constructor(directiveMatcher) {
|
|
21812
21842
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -22439,11 +22469,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
22439
22469
|
return templateEntities;
|
|
22440
22470
|
}
|
|
22441
22471
|
|
|
22442
|
-
// bazel-out/
|
|
22472
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
22443
22473
|
var ResourceLoader = class {
|
|
22444
22474
|
};
|
|
22445
22475
|
|
|
22446
|
-
// bazel-out/
|
|
22476
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
22447
22477
|
var CompilerFacadeImpl = class {
|
|
22448
22478
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
22449
22479
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -23009,17 +23039,17 @@ function publishFacade(global) {
|
|
|
23009
23039
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
23010
23040
|
}
|
|
23011
23041
|
|
|
23012
|
-
// bazel-out/
|
|
23013
|
-
var VERSION2 = new Version("18.0.0-rc.
|
|
23042
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
|
|
23043
|
+
var VERSION2 = new Version("18.0.0-rc.2");
|
|
23014
23044
|
|
|
23015
|
-
// bazel-out/
|
|
23045
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
23016
23046
|
var _VisitorMode;
|
|
23017
23047
|
(function(_VisitorMode2) {
|
|
23018
23048
|
_VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
|
|
23019
23049
|
_VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
|
|
23020
23050
|
})(_VisitorMode || (_VisitorMode = {}));
|
|
23021
23051
|
|
|
23022
|
-
// bazel-out/
|
|
23052
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
23023
23053
|
var XmlTagDefinition = class {
|
|
23024
23054
|
constructor() {
|
|
23025
23055
|
this.closedByParent = false;
|
|
@@ -23041,7 +23071,7 @@ var XmlTagDefinition = class {
|
|
|
23041
23071
|
};
|
|
23042
23072
|
var _TAG_DEFINITION = new XmlTagDefinition();
|
|
23043
23073
|
|
|
23044
|
-
// bazel-out/
|
|
23074
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
23045
23075
|
var FactoryTarget2;
|
|
23046
23076
|
(function(FactoryTarget3) {
|
|
23047
23077
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -23051,10 +23081,10 @@ var FactoryTarget2;
|
|
|
23051
23081
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
23052
23082
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
23053
23083
|
|
|
23054
|
-
// bazel-out/
|
|
23084
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
23055
23085
|
publishFacade(_global);
|
|
23056
23086
|
|
|
23057
|
-
// bazel-out/
|
|
23087
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/invalid-two-way-bindings/migration.mjs
|
|
23058
23088
|
var import_typescript4 = __toESM(require("typescript"), 1);
|
|
23059
23089
|
function migrateTemplate(template2) {
|
|
23060
23090
|
if (!template2.includes(")]=")) {
|
|
@@ -23179,7 +23209,7 @@ var InvalidTwoWayBindingCollector = class extends RecursiveVisitor {
|
|
|
23179
23209
|
}
|
|
23180
23210
|
};
|
|
23181
23211
|
|
|
23182
|
-
// bazel-out/
|
|
23212
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/invalid-two-way-bindings/index.mjs
|
|
23183
23213
|
function invalid_two_way_bindings_default() {
|
|
23184
23214
|
return (tree) => __async(this, null, function* () {
|
|
23185
23215
|
const { buildPaths, testPaths } = yield getProjectTsConfigPaths(tree);
|