@angular/core 18.0.0-next.4 → 18.0.0-next.6
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 +10 -0
- package/esm2022/primitives/event-dispatch/index.mjs +13 -0
- package/esm2022/primitives/event-dispatch/src/a11y_click.mjs +54 -0
- package/esm2022/primitives/event-dispatch/src/accessibility.mjs +35 -0
- package/esm2022/primitives/event-dispatch/src/attribute.mjs +72 -0
- package/esm2022/primitives/event-dispatch/src/base_dispatcher.mjs +196 -0
- package/esm2022/primitives/event-dispatch/src/cache.mjs +95 -0
- package/esm2022/primitives/event-dispatch/src/char.mjs +35 -0
- package/esm2022/primitives/event-dispatch/src/custom_events.mjs +63 -0
- package/esm2022/primitives/event-dispatch/src/dispatcher.mjs +254 -0
- package/esm2022/primitives/event-dispatch/src/dom.mjs +48 -0
- package/esm2022/primitives/event-dispatch/src/earlyeventcontract.mjs +36 -0
- package/esm2022/primitives/event-dispatch/src/event.mjs +638 -0
- package/esm2022/primitives/event-dispatch/src/event_contract_container.mjs +63 -0
- package/esm2022/primitives/event-dispatch/src/event_contract_defines.mjs +48 -0
- package/esm2022/primitives/event-dispatch/src/event_contract_multi_container.mjs +192 -0
- package/esm2022/primitives/event-dispatch/src/event_handler.mjs +9 -0
- package/esm2022/primitives/event-dispatch/src/event_info.mjs +199 -0
- package/esm2022/primitives/event-dispatch/src/event_type.mjs +244 -0
- package/esm2022/primitives/event-dispatch/src/eventcontract.mjs +675 -0
- package/esm2022/primitives/event-dispatch/src/key_code.mjs +21 -0
- package/esm2022/primitives/event-dispatch/src/legacy_dispatcher.mjs +9 -0
- package/esm2022/primitives/event-dispatch/src/property.mjs +35 -0
- package/esm2022/primitives/event-dispatch/src/register_events.mjs +32 -0
- package/esm2022/primitives/event-dispatch/src/replay.mjs +389 -0
- package/esm2022/primitives/event-dispatch/src/restriction.mjs +15 -0
- package/esm2022/primitives/signals/index.mjs +3 -3
- package/esm2022/primitives/signals/src/computed.mjs +5 -3
- package/esm2022/primitives/signals/src/graph.mjs +14 -9
- package/esm2022/primitives/signals/src/signal.mjs +2 -2
- package/esm2022/primitives/signals/src/watch.mjs +2 -2
- package/esm2022/src/application/application_ref.mjs +4 -2
- package/esm2022/src/change_detection/scheduling/flags.mjs +10 -0
- package/esm2022/src/change_detection/scheduling/ng_zone_scheduling.mjs +18 -33
- package/esm2022/src/change_detection/scheduling/zoneless_scheduling.mjs +1 -1
- package/esm2022/src/change_detection/scheduling/zoneless_scheduling_impl.mjs +111 -9
- package/esm2022/src/core.mjs +3 -1
- package/esm2022/src/core_private_export.mjs +2 -3
- package/esm2022/src/debug/debug_node.mjs +1 -1
- package/esm2022/src/defer/instructions.mjs +31 -8
- package/esm2022/src/di/host_tag_name_token.mjs +65 -0
- package/esm2022/src/di/index.mjs +2 -1
- package/esm2022/src/errors.mjs +1 -1
- package/esm2022/src/hydration/annotate.mjs +15 -1
- package/esm2022/src/hydration/event_replay.mjs +181 -0
- package/esm2022/src/hydration/tokens.mjs +6 -1
- package/esm2022/src/metadata/directives.mjs +1 -62
- package/esm2022/src/pending_tasks.mjs +54 -11
- package/esm2022/src/platform/platform_ref.mjs +3 -3
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/render3/context_discovery.mjs +15 -1
- package/esm2022/src/render3/instructions/control_flow.mjs +55 -8
- package/esm2022/src/render3/list_reconciliation.mjs +41 -1
- package/esm2022/src/testability/testability.mjs +2 -30
- package/esm2022/src/util/callback_scheduler.mjs +14 -3
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/src/zone/ng_zone.mjs +22 -6
- package/esm2022/testing/src/async.mjs +2 -10
- package/esm2022/testing/src/component_fixture.mjs +7 -12
- package/esm2022/testing/src/defer.mjs +1 -2
- 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 +608 -174
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +3044 -0
- package/fesm2022/primitives/event-dispatch.mjs.map +1 -0
- package/fesm2022/primitives/signals.mjs +17 -10
- package/fesm2022/primitives/signals.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +35 -54
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +199 -115
- package/package.json +10 -1
- package/primitives/event-dispatch/index.d.ts +627 -0
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/{transfer-state → http-providers}/bundle.js +254 -68
- package/schematics/migrations/http-providers/bundle.js.map +7 -0
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +690 -413
- package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +3 -3
- package/schematics/migrations.json +6 -16
- package/schematics/ng-generate/control-flow-migration/bundle.js +693 -417
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +3 -3
- package/schematics/ng-generate/standalone-migration/bundle.js +1072 -735
- package/schematics/ng-generate/standalone-migration/bundle.js.map +3 -3
- package/testing/index.d.ts +2 -15
- package/esm2022/testing/src/private_export.mjs +0 -9
- package/schematics/migrations/block-template-entities/bundle.js +0 -22853
- package/schematics/migrations/block-template-entities/bundle.js.map +0 -7
- package/schematics/migrations/compiler-options/bundle.js +0 -582
- package/schematics/migrations/compiler-options/bundle.js.map +0 -7
- package/schematics/migrations/transfer-state/bundle.js.map +0 -7
|
@@ -63,7 +63,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
63
63
|
});
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
-
// bazel-out/
|
|
66
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/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/k8-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/k8-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/k8-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/k8-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/k8-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 {
|
|
@@ -263,7 +263,7 @@ function forEachClass(sourceFile, callback) {
|
|
|
263
263
|
});
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
-
// bazel-out/
|
|
266
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/selector.mjs
|
|
267
267
|
var _SELECTOR_REGEXP = new RegExp(
|
|
268
268
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
269
269
|
"g"
|
|
@@ -571,7 +571,7 @@ var SelectorContext = class {
|
|
|
571
571
|
}
|
|
572
572
|
};
|
|
573
573
|
|
|
574
|
-
// bazel-out/
|
|
574
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/core.mjs
|
|
575
575
|
var ViewEncapsulation;
|
|
576
576
|
(function(ViewEncapsulation2) {
|
|
577
577
|
ViewEncapsulation2[ViewEncapsulation2["Emulated"] = 0] = "Emulated";
|
|
@@ -639,7 +639,7 @@ function parseSelectorToR3Selector(selector) {
|
|
|
639
639
|
return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
|
|
640
640
|
}
|
|
641
641
|
|
|
642
|
-
// bazel-out/
|
|
642
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
|
|
643
643
|
var textEncoder;
|
|
644
644
|
function computeDigest(message) {
|
|
645
645
|
return sha1(serializeNodes(message.nodes).join("") + `[${message.meaning}]`);
|
|
@@ -879,7 +879,7 @@ function wordAt(bytes, index, endian) {
|
|
|
879
879
|
return word;
|
|
880
880
|
}
|
|
881
881
|
|
|
882
|
-
// bazel-out/
|
|
882
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
883
883
|
var TypeModifier;
|
|
884
884
|
(function(TypeModifier2) {
|
|
885
885
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -1817,7 +1817,7 @@ function serializeTags(tags) {
|
|
|
1817
1817
|
return out;
|
|
1818
1818
|
}
|
|
1819
1819
|
|
|
1820
|
-
// bazel-out/
|
|
1820
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
1821
1821
|
var CONSTANT_PREFIX = "_c";
|
|
1822
1822
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
1823
1823
|
var KEY_CONTEXT = {};
|
|
@@ -2005,7 +2005,7 @@ function isLongStringLiteral(expr) {
|
|
|
2005
2005
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
2006
2006
|
}
|
|
2007
2007
|
|
|
2008
|
-
// bazel-out/
|
|
2008
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
2009
2009
|
var CORE = "@angular/core";
|
|
2010
2010
|
var _Identifiers = class {
|
|
2011
2011
|
};
|
|
@@ -2044,49 +2044,88 @@ var Identifiers = _Identifiers;
|
|
|
2044
2044
|
_Identifiers.advance = { name: "\u0275\u0275advance", moduleName: CORE };
|
|
2045
2045
|
})();
|
|
2046
2046
|
(() => {
|
|
2047
|
-
_Identifiers.syntheticHostProperty = {
|
|
2047
|
+
_Identifiers.syntheticHostProperty = {
|
|
2048
|
+
name: "\u0275\u0275syntheticHostProperty",
|
|
2049
|
+
moduleName: CORE
|
|
2050
|
+
};
|
|
2048
2051
|
})();
|
|
2049
2052
|
(() => {
|
|
2050
|
-
_Identifiers.syntheticHostListener = {
|
|
2053
|
+
_Identifiers.syntheticHostListener = {
|
|
2054
|
+
name: "\u0275\u0275syntheticHostListener",
|
|
2055
|
+
moduleName: CORE
|
|
2056
|
+
};
|
|
2051
2057
|
})();
|
|
2052
2058
|
(() => {
|
|
2053
2059
|
_Identifiers.attribute = { name: "\u0275\u0275attribute", moduleName: CORE };
|
|
2054
2060
|
})();
|
|
2055
2061
|
(() => {
|
|
2056
|
-
_Identifiers.attributeInterpolate1 = {
|
|
2062
|
+
_Identifiers.attributeInterpolate1 = {
|
|
2063
|
+
name: "\u0275\u0275attributeInterpolate1",
|
|
2064
|
+
moduleName: CORE
|
|
2065
|
+
};
|
|
2057
2066
|
})();
|
|
2058
2067
|
(() => {
|
|
2059
|
-
_Identifiers.attributeInterpolate2 = {
|
|
2068
|
+
_Identifiers.attributeInterpolate2 = {
|
|
2069
|
+
name: "\u0275\u0275attributeInterpolate2",
|
|
2070
|
+
moduleName: CORE
|
|
2071
|
+
};
|
|
2060
2072
|
})();
|
|
2061
2073
|
(() => {
|
|
2062
|
-
_Identifiers.attributeInterpolate3 = {
|
|
2074
|
+
_Identifiers.attributeInterpolate3 = {
|
|
2075
|
+
name: "\u0275\u0275attributeInterpolate3",
|
|
2076
|
+
moduleName: CORE
|
|
2077
|
+
};
|
|
2063
2078
|
})();
|
|
2064
2079
|
(() => {
|
|
2065
|
-
_Identifiers.attributeInterpolate4 = {
|
|
2080
|
+
_Identifiers.attributeInterpolate4 = {
|
|
2081
|
+
name: "\u0275\u0275attributeInterpolate4",
|
|
2082
|
+
moduleName: CORE
|
|
2083
|
+
};
|
|
2066
2084
|
})();
|
|
2067
2085
|
(() => {
|
|
2068
|
-
_Identifiers.attributeInterpolate5 = {
|
|
2086
|
+
_Identifiers.attributeInterpolate5 = {
|
|
2087
|
+
name: "\u0275\u0275attributeInterpolate5",
|
|
2088
|
+
moduleName: CORE
|
|
2089
|
+
};
|
|
2069
2090
|
})();
|
|
2070
2091
|
(() => {
|
|
2071
|
-
_Identifiers.attributeInterpolate6 = {
|
|
2092
|
+
_Identifiers.attributeInterpolate6 = {
|
|
2093
|
+
name: "\u0275\u0275attributeInterpolate6",
|
|
2094
|
+
moduleName: CORE
|
|
2095
|
+
};
|
|
2072
2096
|
})();
|
|
2073
2097
|
(() => {
|
|
2074
|
-
_Identifiers.attributeInterpolate7 = {
|
|
2098
|
+
_Identifiers.attributeInterpolate7 = {
|
|
2099
|
+
name: "\u0275\u0275attributeInterpolate7",
|
|
2100
|
+
moduleName: CORE
|
|
2101
|
+
};
|
|
2075
2102
|
})();
|
|
2076
2103
|
(() => {
|
|
2077
|
-
_Identifiers.attributeInterpolate8 = {
|
|
2104
|
+
_Identifiers.attributeInterpolate8 = {
|
|
2105
|
+
name: "\u0275\u0275attributeInterpolate8",
|
|
2106
|
+
moduleName: CORE
|
|
2107
|
+
};
|
|
2078
2108
|
})();
|
|
2079
2109
|
(() => {
|
|
2080
|
-
_Identifiers.attributeInterpolateV = {
|
|
2110
|
+
_Identifiers.attributeInterpolateV = {
|
|
2111
|
+
name: "\u0275\u0275attributeInterpolateV",
|
|
2112
|
+
moduleName: CORE
|
|
2113
|
+
};
|
|
2081
2114
|
})();
|
|
2082
2115
|
(() => {
|
|
2083
2116
|
_Identifiers.classProp = { name: "\u0275\u0275classProp", moduleName: CORE };
|
|
2084
2117
|
})();
|
|
2085
2118
|
(() => {
|
|
2086
|
-
_Identifiers.elementContainerStart = {
|
|
2119
|
+
_Identifiers.elementContainerStart = {
|
|
2120
|
+
name: "\u0275\u0275elementContainerStart",
|
|
2121
|
+
moduleName: CORE
|
|
2122
|
+
};
|
|
2087
2123
|
})();
|
|
2088
2124
|
(() => {
|
|
2089
|
-
_Identifiers.elementContainerEnd = {
|
|
2125
|
+
_Identifiers.elementContainerEnd = {
|
|
2126
|
+
name: "\u0275\u0275elementContainerEnd",
|
|
2127
|
+
moduleName: CORE
|
|
2128
|
+
};
|
|
2090
2129
|
})();
|
|
2091
2130
|
(() => {
|
|
2092
2131
|
_Identifiers.elementContainer = { name: "\u0275\u0275elementContainer", moduleName: CORE };
|
|
@@ -2095,91 +2134,172 @@ var Identifiers = _Identifiers;
|
|
|
2095
2134
|
_Identifiers.styleMap = { name: "\u0275\u0275styleMap", moduleName: CORE };
|
|
2096
2135
|
})();
|
|
2097
2136
|
(() => {
|
|
2098
|
-
_Identifiers.styleMapInterpolate1 = {
|
|
2137
|
+
_Identifiers.styleMapInterpolate1 = {
|
|
2138
|
+
name: "\u0275\u0275styleMapInterpolate1",
|
|
2139
|
+
moduleName: CORE
|
|
2140
|
+
};
|
|
2099
2141
|
})();
|
|
2100
2142
|
(() => {
|
|
2101
|
-
_Identifiers.styleMapInterpolate2 = {
|
|
2143
|
+
_Identifiers.styleMapInterpolate2 = {
|
|
2144
|
+
name: "\u0275\u0275styleMapInterpolate2",
|
|
2145
|
+
moduleName: CORE
|
|
2146
|
+
};
|
|
2102
2147
|
})();
|
|
2103
2148
|
(() => {
|
|
2104
|
-
_Identifiers.styleMapInterpolate3 = {
|
|
2149
|
+
_Identifiers.styleMapInterpolate3 = {
|
|
2150
|
+
name: "\u0275\u0275styleMapInterpolate3",
|
|
2151
|
+
moduleName: CORE
|
|
2152
|
+
};
|
|
2105
2153
|
})();
|
|
2106
2154
|
(() => {
|
|
2107
|
-
_Identifiers.styleMapInterpolate4 = {
|
|
2155
|
+
_Identifiers.styleMapInterpolate4 = {
|
|
2156
|
+
name: "\u0275\u0275styleMapInterpolate4",
|
|
2157
|
+
moduleName: CORE
|
|
2158
|
+
};
|
|
2108
2159
|
})();
|
|
2109
2160
|
(() => {
|
|
2110
|
-
_Identifiers.styleMapInterpolate5 = {
|
|
2161
|
+
_Identifiers.styleMapInterpolate5 = {
|
|
2162
|
+
name: "\u0275\u0275styleMapInterpolate5",
|
|
2163
|
+
moduleName: CORE
|
|
2164
|
+
};
|
|
2111
2165
|
})();
|
|
2112
2166
|
(() => {
|
|
2113
|
-
_Identifiers.styleMapInterpolate6 = {
|
|
2167
|
+
_Identifiers.styleMapInterpolate6 = {
|
|
2168
|
+
name: "\u0275\u0275styleMapInterpolate6",
|
|
2169
|
+
moduleName: CORE
|
|
2170
|
+
};
|
|
2114
2171
|
})();
|
|
2115
2172
|
(() => {
|
|
2116
|
-
_Identifiers.styleMapInterpolate7 = {
|
|
2173
|
+
_Identifiers.styleMapInterpolate7 = {
|
|
2174
|
+
name: "\u0275\u0275styleMapInterpolate7",
|
|
2175
|
+
moduleName: CORE
|
|
2176
|
+
};
|
|
2117
2177
|
})();
|
|
2118
2178
|
(() => {
|
|
2119
|
-
_Identifiers.styleMapInterpolate8 = {
|
|
2179
|
+
_Identifiers.styleMapInterpolate8 = {
|
|
2180
|
+
name: "\u0275\u0275styleMapInterpolate8",
|
|
2181
|
+
moduleName: CORE
|
|
2182
|
+
};
|
|
2120
2183
|
})();
|
|
2121
2184
|
(() => {
|
|
2122
|
-
_Identifiers.styleMapInterpolateV = {
|
|
2185
|
+
_Identifiers.styleMapInterpolateV = {
|
|
2186
|
+
name: "\u0275\u0275styleMapInterpolateV",
|
|
2187
|
+
moduleName: CORE
|
|
2188
|
+
};
|
|
2123
2189
|
})();
|
|
2124
2190
|
(() => {
|
|
2125
2191
|
_Identifiers.classMap = { name: "\u0275\u0275classMap", moduleName: CORE };
|
|
2126
2192
|
})();
|
|
2127
2193
|
(() => {
|
|
2128
|
-
_Identifiers.classMapInterpolate1 = {
|
|
2194
|
+
_Identifiers.classMapInterpolate1 = {
|
|
2195
|
+
name: "\u0275\u0275classMapInterpolate1",
|
|
2196
|
+
moduleName: CORE
|
|
2197
|
+
};
|
|
2129
2198
|
})();
|
|
2130
2199
|
(() => {
|
|
2131
|
-
_Identifiers.classMapInterpolate2 = {
|
|
2200
|
+
_Identifiers.classMapInterpolate2 = {
|
|
2201
|
+
name: "\u0275\u0275classMapInterpolate2",
|
|
2202
|
+
moduleName: CORE
|
|
2203
|
+
};
|
|
2132
2204
|
})();
|
|
2133
2205
|
(() => {
|
|
2134
|
-
_Identifiers.classMapInterpolate3 = {
|
|
2206
|
+
_Identifiers.classMapInterpolate3 = {
|
|
2207
|
+
name: "\u0275\u0275classMapInterpolate3",
|
|
2208
|
+
moduleName: CORE
|
|
2209
|
+
};
|
|
2135
2210
|
})();
|
|
2136
2211
|
(() => {
|
|
2137
|
-
_Identifiers.classMapInterpolate4 = {
|
|
2212
|
+
_Identifiers.classMapInterpolate4 = {
|
|
2213
|
+
name: "\u0275\u0275classMapInterpolate4",
|
|
2214
|
+
moduleName: CORE
|
|
2215
|
+
};
|
|
2138
2216
|
})();
|
|
2139
2217
|
(() => {
|
|
2140
|
-
_Identifiers.classMapInterpolate5 = {
|
|
2218
|
+
_Identifiers.classMapInterpolate5 = {
|
|
2219
|
+
name: "\u0275\u0275classMapInterpolate5",
|
|
2220
|
+
moduleName: CORE
|
|
2221
|
+
};
|
|
2141
2222
|
})();
|
|
2142
2223
|
(() => {
|
|
2143
|
-
_Identifiers.classMapInterpolate6 = {
|
|
2224
|
+
_Identifiers.classMapInterpolate6 = {
|
|
2225
|
+
name: "\u0275\u0275classMapInterpolate6",
|
|
2226
|
+
moduleName: CORE
|
|
2227
|
+
};
|
|
2144
2228
|
})();
|
|
2145
2229
|
(() => {
|
|
2146
|
-
_Identifiers.classMapInterpolate7 = {
|
|
2230
|
+
_Identifiers.classMapInterpolate7 = {
|
|
2231
|
+
name: "\u0275\u0275classMapInterpolate7",
|
|
2232
|
+
moduleName: CORE
|
|
2233
|
+
};
|
|
2147
2234
|
})();
|
|
2148
2235
|
(() => {
|
|
2149
|
-
_Identifiers.classMapInterpolate8 = {
|
|
2236
|
+
_Identifiers.classMapInterpolate8 = {
|
|
2237
|
+
name: "\u0275\u0275classMapInterpolate8",
|
|
2238
|
+
moduleName: CORE
|
|
2239
|
+
};
|
|
2150
2240
|
})();
|
|
2151
2241
|
(() => {
|
|
2152
|
-
_Identifiers.classMapInterpolateV = {
|
|
2242
|
+
_Identifiers.classMapInterpolateV = {
|
|
2243
|
+
name: "\u0275\u0275classMapInterpolateV",
|
|
2244
|
+
moduleName: CORE
|
|
2245
|
+
};
|
|
2153
2246
|
})();
|
|
2154
2247
|
(() => {
|
|
2155
2248
|
_Identifiers.styleProp = { name: "\u0275\u0275styleProp", moduleName: CORE };
|
|
2156
2249
|
})();
|
|
2157
2250
|
(() => {
|
|
2158
|
-
_Identifiers.stylePropInterpolate1 = {
|
|
2251
|
+
_Identifiers.stylePropInterpolate1 = {
|
|
2252
|
+
name: "\u0275\u0275stylePropInterpolate1",
|
|
2253
|
+
moduleName: CORE
|
|
2254
|
+
};
|
|
2159
2255
|
})();
|
|
2160
2256
|
(() => {
|
|
2161
|
-
_Identifiers.stylePropInterpolate2 = {
|
|
2257
|
+
_Identifiers.stylePropInterpolate2 = {
|
|
2258
|
+
name: "\u0275\u0275stylePropInterpolate2",
|
|
2259
|
+
moduleName: CORE
|
|
2260
|
+
};
|
|
2162
2261
|
})();
|
|
2163
2262
|
(() => {
|
|
2164
|
-
_Identifiers.stylePropInterpolate3 = {
|
|
2263
|
+
_Identifiers.stylePropInterpolate3 = {
|
|
2264
|
+
name: "\u0275\u0275stylePropInterpolate3",
|
|
2265
|
+
moduleName: CORE
|
|
2266
|
+
};
|
|
2165
2267
|
})();
|
|
2166
2268
|
(() => {
|
|
2167
|
-
_Identifiers.stylePropInterpolate4 = {
|
|
2269
|
+
_Identifiers.stylePropInterpolate4 = {
|
|
2270
|
+
name: "\u0275\u0275stylePropInterpolate4",
|
|
2271
|
+
moduleName: CORE
|
|
2272
|
+
};
|
|
2168
2273
|
})();
|
|
2169
2274
|
(() => {
|
|
2170
|
-
_Identifiers.stylePropInterpolate5 = {
|
|
2275
|
+
_Identifiers.stylePropInterpolate5 = {
|
|
2276
|
+
name: "\u0275\u0275stylePropInterpolate5",
|
|
2277
|
+
moduleName: CORE
|
|
2278
|
+
};
|
|
2171
2279
|
})();
|
|
2172
2280
|
(() => {
|
|
2173
|
-
_Identifiers.stylePropInterpolate6 = {
|
|
2281
|
+
_Identifiers.stylePropInterpolate6 = {
|
|
2282
|
+
name: "\u0275\u0275stylePropInterpolate6",
|
|
2283
|
+
moduleName: CORE
|
|
2284
|
+
};
|
|
2174
2285
|
})();
|
|
2175
2286
|
(() => {
|
|
2176
|
-
_Identifiers.stylePropInterpolate7 = {
|
|
2287
|
+
_Identifiers.stylePropInterpolate7 = {
|
|
2288
|
+
name: "\u0275\u0275stylePropInterpolate7",
|
|
2289
|
+
moduleName: CORE
|
|
2290
|
+
};
|
|
2177
2291
|
})();
|
|
2178
2292
|
(() => {
|
|
2179
|
-
_Identifiers.stylePropInterpolate8 = {
|
|
2293
|
+
_Identifiers.stylePropInterpolate8 = {
|
|
2294
|
+
name: "\u0275\u0275stylePropInterpolate8",
|
|
2295
|
+
moduleName: CORE
|
|
2296
|
+
};
|
|
2180
2297
|
})();
|
|
2181
2298
|
(() => {
|
|
2182
|
-
_Identifiers.stylePropInterpolateV = {
|
|
2299
|
+
_Identifiers.stylePropInterpolateV = {
|
|
2300
|
+
name: "\u0275\u0275stylePropInterpolateV",
|
|
2301
|
+
moduleName: CORE
|
|
2302
|
+
};
|
|
2183
2303
|
})();
|
|
2184
2304
|
(() => {
|
|
2185
2305
|
_Identifiers.nextContext = { name: "\u0275\u0275nextContext", moduleName: CORE };
|
|
@@ -2218,25 +2338,46 @@ var Identifiers = _Identifiers;
|
|
|
2218
2338
|
_Identifiers.deferPrefetchWhen = { name: "\u0275\u0275deferPrefetchWhen", moduleName: CORE };
|
|
2219
2339
|
})();
|
|
2220
2340
|
(() => {
|
|
2221
|
-
_Identifiers.deferPrefetchOnIdle = {
|
|
2341
|
+
_Identifiers.deferPrefetchOnIdle = {
|
|
2342
|
+
name: "\u0275\u0275deferPrefetchOnIdle",
|
|
2343
|
+
moduleName: CORE
|
|
2344
|
+
};
|
|
2222
2345
|
})();
|
|
2223
2346
|
(() => {
|
|
2224
|
-
_Identifiers.deferPrefetchOnImmediate = {
|
|
2347
|
+
_Identifiers.deferPrefetchOnImmediate = {
|
|
2348
|
+
name: "\u0275\u0275deferPrefetchOnImmediate",
|
|
2349
|
+
moduleName: CORE
|
|
2350
|
+
};
|
|
2225
2351
|
})();
|
|
2226
2352
|
(() => {
|
|
2227
|
-
_Identifiers.deferPrefetchOnTimer = {
|
|
2353
|
+
_Identifiers.deferPrefetchOnTimer = {
|
|
2354
|
+
name: "\u0275\u0275deferPrefetchOnTimer",
|
|
2355
|
+
moduleName: CORE
|
|
2356
|
+
};
|
|
2228
2357
|
})();
|
|
2229
2358
|
(() => {
|
|
2230
|
-
_Identifiers.deferPrefetchOnHover = {
|
|
2359
|
+
_Identifiers.deferPrefetchOnHover = {
|
|
2360
|
+
name: "\u0275\u0275deferPrefetchOnHover",
|
|
2361
|
+
moduleName: CORE
|
|
2362
|
+
};
|
|
2231
2363
|
})();
|
|
2232
2364
|
(() => {
|
|
2233
|
-
_Identifiers.deferPrefetchOnInteraction = {
|
|
2365
|
+
_Identifiers.deferPrefetchOnInteraction = {
|
|
2366
|
+
name: "\u0275\u0275deferPrefetchOnInteraction",
|
|
2367
|
+
moduleName: CORE
|
|
2368
|
+
};
|
|
2234
2369
|
})();
|
|
2235
2370
|
(() => {
|
|
2236
|
-
_Identifiers.deferPrefetchOnViewport = {
|
|
2371
|
+
_Identifiers.deferPrefetchOnViewport = {
|
|
2372
|
+
name: "\u0275\u0275deferPrefetchOnViewport",
|
|
2373
|
+
moduleName: CORE
|
|
2374
|
+
};
|
|
2237
2375
|
})();
|
|
2238
2376
|
(() => {
|
|
2239
|
-
_Identifiers.deferEnableTimerScheduling = {
|
|
2377
|
+
_Identifiers.deferEnableTimerScheduling = {
|
|
2378
|
+
name: "\u0275\u0275deferEnableTimerScheduling",
|
|
2379
|
+
moduleName: CORE
|
|
2380
|
+
};
|
|
2240
2381
|
})();
|
|
2241
2382
|
(() => {
|
|
2242
2383
|
_Identifiers.conditional = { name: "\u0275\u0275conditional", moduleName: CORE };
|
|
@@ -2248,10 +2389,16 @@ var Identifiers = _Identifiers;
|
|
|
2248
2389
|
_Identifiers.repeaterCreate = { name: "\u0275\u0275repeaterCreate", moduleName: CORE };
|
|
2249
2390
|
})();
|
|
2250
2391
|
(() => {
|
|
2251
|
-
_Identifiers.repeaterTrackByIndex = {
|
|
2392
|
+
_Identifiers.repeaterTrackByIndex = {
|
|
2393
|
+
name: "\u0275\u0275repeaterTrackByIndex",
|
|
2394
|
+
moduleName: CORE
|
|
2395
|
+
};
|
|
2252
2396
|
})();
|
|
2253
2397
|
(() => {
|
|
2254
|
-
_Identifiers.repeaterTrackByIdentity = {
|
|
2398
|
+
_Identifiers.repeaterTrackByIdentity = {
|
|
2399
|
+
name: "\u0275\u0275repeaterTrackByIdentity",
|
|
2400
|
+
moduleName: CORE
|
|
2401
|
+
};
|
|
2255
2402
|
})();
|
|
2256
2403
|
(() => {
|
|
2257
2404
|
_Identifiers.componentInstance = { name: "\u0275\u0275componentInstance", moduleName: CORE };
|
|
@@ -2353,34 +2500,64 @@ var Identifiers = _Identifiers;
|
|
|
2353
2500
|
_Identifiers.property = { name: "\u0275\u0275property", moduleName: CORE };
|
|
2354
2501
|
})();
|
|
2355
2502
|
(() => {
|
|
2356
|
-
_Identifiers.propertyInterpolate = {
|
|
2503
|
+
_Identifiers.propertyInterpolate = {
|
|
2504
|
+
name: "\u0275\u0275propertyInterpolate",
|
|
2505
|
+
moduleName: CORE
|
|
2506
|
+
};
|
|
2357
2507
|
})();
|
|
2358
2508
|
(() => {
|
|
2359
|
-
_Identifiers.propertyInterpolate1 = {
|
|
2509
|
+
_Identifiers.propertyInterpolate1 = {
|
|
2510
|
+
name: "\u0275\u0275propertyInterpolate1",
|
|
2511
|
+
moduleName: CORE
|
|
2512
|
+
};
|
|
2360
2513
|
})();
|
|
2361
2514
|
(() => {
|
|
2362
|
-
_Identifiers.propertyInterpolate2 = {
|
|
2515
|
+
_Identifiers.propertyInterpolate2 = {
|
|
2516
|
+
name: "\u0275\u0275propertyInterpolate2",
|
|
2517
|
+
moduleName: CORE
|
|
2518
|
+
};
|
|
2363
2519
|
})();
|
|
2364
2520
|
(() => {
|
|
2365
|
-
_Identifiers.propertyInterpolate3 = {
|
|
2521
|
+
_Identifiers.propertyInterpolate3 = {
|
|
2522
|
+
name: "\u0275\u0275propertyInterpolate3",
|
|
2523
|
+
moduleName: CORE
|
|
2524
|
+
};
|
|
2366
2525
|
})();
|
|
2367
2526
|
(() => {
|
|
2368
|
-
_Identifiers.propertyInterpolate4 = {
|
|
2527
|
+
_Identifiers.propertyInterpolate4 = {
|
|
2528
|
+
name: "\u0275\u0275propertyInterpolate4",
|
|
2529
|
+
moduleName: CORE
|
|
2530
|
+
};
|
|
2369
2531
|
})();
|
|
2370
2532
|
(() => {
|
|
2371
|
-
_Identifiers.propertyInterpolate5 = {
|
|
2533
|
+
_Identifiers.propertyInterpolate5 = {
|
|
2534
|
+
name: "\u0275\u0275propertyInterpolate5",
|
|
2535
|
+
moduleName: CORE
|
|
2536
|
+
};
|
|
2372
2537
|
})();
|
|
2373
2538
|
(() => {
|
|
2374
|
-
_Identifiers.propertyInterpolate6 = {
|
|
2539
|
+
_Identifiers.propertyInterpolate6 = {
|
|
2540
|
+
name: "\u0275\u0275propertyInterpolate6",
|
|
2541
|
+
moduleName: CORE
|
|
2542
|
+
};
|
|
2375
2543
|
})();
|
|
2376
2544
|
(() => {
|
|
2377
|
-
_Identifiers.propertyInterpolate7 = {
|
|
2545
|
+
_Identifiers.propertyInterpolate7 = {
|
|
2546
|
+
name: "\u0275\u0275propertyInterpolate7",
|
|
2547
|
+
moduleName: CORE
|
|
2548
|
+
};
|
|
2378
2549
|
})();
|
|
2379
2550
|
(() => {
|
|
2380
|
-
_Identifiers.propertyInterpolate8 = {
|
|
2551
|
+
_Identifiers.propertyInterpolate8 = {
|
|
2552
|
+
name: "\u0275\u0275propertyInterpolate8",
|
|
2553
|
+
moduleName: CORE
|
|
2554
|
+
};
|
|
2381
2555
|
})();
|
|
2382
2556
|
(() => {
|
|
2383
|
-
_Identifiers.propertyInterpolateV = {
|
|
2557
|
+
_Identifiers.propertyInterpolateV = {
|
|
2558
|
+
name: "\u0275\u0275propertyInterpolateV",
|
|
2559
|
+
moduleName: CORE
|
|
2560
|
+
};
|
|
2384
2561
|
})();
|
|
2385
2562
|
(() => {
|
|
2386
2563
|
_Identifiers.i18n = { name: "\u0275\u0275i18n", moduleName: CORE };
|
|
@@ -2431,7 +2608,10 @@ var Identifiers = _Identifiers;
|
|
|
2431
2608
|
_Identifiers.invalidFactoryDep = { name: "\u0275\u0275invalidFactoryDep", moduleName: CORE };
|
|
2432
2609
|
})();
|
|
2433
2610
|
(() => {
|
|
2434
|
-
_Identifiers.templateRefExtractor = {
|
|
2611
|
+
_Identifiers.templateRefExtractor = {
|
|
2612
|
+
name: "\u0275\u0275templateRefExtractor",
|
|
2613
|
+
moduleName: CORE
|
|
2614
|
+
};
|
|
2435
2615
|
})();
|
|
2436
2616
|
(() => {
|
|
2437
2617
|
_Identifiers.forwardRef = { name: "forwardRef", moduleName: CORE };
|
|
@@ -2446,7 +2626,10 @@ var Identifiers = _Identifiers;
|
|
|
2446
2626
|
_Identifiers.declareInjectable = { name: "\u0275\u0275ngDeclareInjectable", moduleName: CORE };
|
|
2447
2627
|
})();
|
|
2448
2628
|
(() => {
|
|
2449
|
-
_Identifiers.InjectableDeclaration = {
|
|
2629
|
+
_Identifiers.InjectableDeclaration = {
|
|
2630
|
+
name: "\u0275\u0275InjectableDeclaration",
|
|
2631
|
+
moduleName: CORE
|
|
2632
|
+
};
|
|
2450
2633
|
})();
|
|
2451
2634
|
(() => {
|
|
2452
2635
|
_Identifiers.resolveWindow = { name: "\u0275\u0275resolveWindow", moduleName: CORE };
|
|
@@ -2458,7 +2641,10 @@ var Identifiers = _Identifiers;
|
|
|
2458
2641
|
_Identifiers.resolveBody = { name: "\u0275\u0275resolveBody", moduleName: CORE };
|
|
2459
2642
|
})();
|
|
2460
2643
|
(() => {
|
|
2461
|
-
_Identifiers.getComponentDepsFactory = {
|
|
2644
|
+
_Identifiers.getComponentDepsFactory = {
|
|
2645
|
+
name: "\u0275\u0275getComponentDepsFactory",
|
|
2646
|
+
moduleName: CORE
|
|
2647
|
+
};
|
|
2462
2648
|
})();
|
|
2463
2649
|
(() => {
|
|
2464
2650
|
_Identifiers.defineComponent = { name: "\u0275\u0275defineComponent", moduleName: CORE };
|
|
@@ -2515,7 +2701,10 @@ var Identifiers = _Identifiers;
|
|
|
2515
2701
|
_Identifiers.InjectorDef = { name: "\u0275\u0275InjectorDef", moduleName: CORE };
|
|
2516
2702
|
})();
|
|
2517
2703
|
(() => {
|
|
2518
|
-
_Identifiers.InjectorDeclaration = {
|
|
2704
|
+
_Identifiers.InjectorDeclaration = {
|
|
2705
|
+
name: "\u0275\u0275InjectorDeclaration",
|
|
2706
|
+
moduleName: CORE
|
|
2707
|
+
};
|
|
2519
2708
|
})();
|
|
2520
2709
|
(() => {
|
|
2521
2710
|
_Identifiers.defineInjector = { name: "\u0275\u0275defineInjector", moduleName: CORE };
|
|
@@ -2545,7 +2734,10 @@ var Identifiers = _Identifiers;
|
|
|
2545
2734
|
_Identifiers.setNgModuleScope = { name: "\u0275\u0275setNgModuleScope", moduleName: CORE };
|
|
2546
2735
|
})();
|
|
2547
2736
|
(() => {
|
|
2548
|
-
_Identifiers.registerNgModuleType = {
|
|
2737
|
+
_Identifiers.registerNgModuleType = {
|
|
2738
|
+
name: "\u0275\u0275registerNgModuleType",
|
|
2739
|
+
moduleName: CORE
|
|
2740
|
+
};
|
|
2549
2741
|
})();
|
|
2550
2742
|
(() => {
|
|
2551
2743
|
_Identifiers.PipeDeclaration = { name: "\u0275\u0275PipeDeclaration", moduleName: CORE };
|
|
@@ -2557,16 +2749,25 @@ var Identifiers = _Identifiers;
|
|
|
2557
2749
|
_Identifiers.declarePipe = { name: "\u0275\u0275ngDeclarePipe", moduleName: CORE };
|
|
2558
2750
|
})();
|
|
2559
2751
|
(() => {
|
|
2560
|
-
_Identifiers.declareClassMetadata = {
|
|
2752
|
+
_Identifiers.declareClassMetadata = {
|
|
2753
|
+
name: "\u0275\u0275ngDeclareClassMetadata",
|
|
2754
|
+
moduleName: CORE
|
|
2755
|
+
};
|
|
2561
2756
|
})();
|
|
2562
2757
|
(() => {
|
|
2563
|
-
_Identifiers.declareClassMetadataAsync = {
|
|
2758
|
+
_Identifiers.declareClassMetadataAsync = {
|
|
2759
|
+
name: "\u0275\u0275ngDeclareClassMetadataAsync",
|
|
2760
|
+
moduleName: CORE
|
|
2761
|
+
};
|
|
2564
2762
|
})();
|
|
2565
2763
|
(() => {
|
|
2566
2764
|
_Identifiers.setClassMetadata = { name: "\u0275setClassMetadata", moduleName: CORE };
|
|
2567
2765
|
})();
|
|
2568
2766
|
(() => {
|
|
2569
|
-
_Identifiers.setClassMetadataAsync = {
|
|
2767
|
+
_Identifiers.setClassMetadataAsync = {
|
|
2768
|
+
name: "\u0275setClassMetadataAsync",
|
|
2769
|
+
moduleName: CORE
|
|
2770
|
+
};
|
|
2570
2771
|
})();
|
|
2571
2772
|
(() => {
|
|
2572
2773
|
_Identifiers.setClassDebugInfo = { name: "\u0275setClassDebugInfo", moduleName: CORE };
|
|
@@ -2605,10 +2806,16 @@ var Identifiers = _Identifiers;
|
|
|
2605
2806
|
_Identifiers.NgOnChangesFeature = { name: "\u0275\u0275NgOnChangesFeature", moduleName: CORE };
|
|
2606
2807
|
})();
|
|
2607
2808
|
(() => {
|
|
2608
|
-
_Identifiers.InheritDefinitionFeature = {
|
|
2809
|
+
_Identifiers.InheritDefinitionFeature = {
|
|
2810
|
+
name: "\u0275\u0275InheritDefinitionFeature",
|
|
2811
|
+
moduleName: CORE
|
|
2812
|
+
};
|
|
2609
2813
|
})();
|
|
2610
2814
|
(() => {
|
|
2611
|
-
_Identifiers.CopyDefinitionFeature = {
|
|
2815
|
+
_Identifiers.CopyDefinitionFeature = {
|
|
2816
|
+
name: "\u0275\u0275CopyDefinitionFeature",
|
|
2817
|
+
moduleName: CORE
|
|
2818
|
+
};
|
|
2612
2819
|
})();
|
|
2613
2820
|
(() => {
|
|
2614
2821
|
_Identifiers.StandaloneFeature = { name: "\u0275\u0275StandaloneFeature", moduleName: CORE };
|
|
@@ -2617,10 +2824,16 @@ var Identifiers = _Identifiers;
|
|
|
2617
2824
|
_Identifiers.ProvidersFeature = { name: "\u0275\u0275ProvidersFeature", moduleName: CORE };
|
|
2618
2825
|
})();
|
|
2619
2826
|
(() => {
|
|
2620
|
-
_Identifiers.HostDirectivesFeature = {
|
|
2827
|
+
_Identifiers.HostDirectivesFeature = {
|
|
2828
|
+
name: "\u0275\u0275HostDirectivesFeature",
|
|
2829
|
+
moduleName: CORE
|
|
2830
|
+
};
|
|
2621
2831
|
})();
|
|
2622
2832
|
(() => {
|
|
2623
|
-
_Identifiers.InputTransformsFeatureFeature = {
|
|
2833
|
+
_Identifiers.InputTransformsFeatureFeature = {
|
|
2834
|
+
name: "\u0275\u0275InputTransformsFeature",
|
|
2835
|
+
moduleName: CORE
|
|
2836
|
+
};
|
|
2624
2837
|
})();
|
|
2625
2838
|
(() => {
|
|
2626
2839
|
_Identifiers.listener = { name: "\u0275\u0275listener", moduleName: CORE };
|
|
@@ -2638,7 +2851,10 @@ var Identifiers = _Identifiers;
|
|
|
2638
2851
|
_Identifiers.sanitizeStyle = { name: "\u0275\u0275sanitizeStyle", moduleName: CORE };
|
|
2639
2852
|
})();
|
|
2640
2853
|
(() => {
|
|
2641
|
-
_Identifiers.sanitizeResourceUrl = {
|
|
2854
|
+
_Identifiers.sanitizeResourceUrl = {
|
|
2855
|
+
name: "\u0275\u0275sanitizeResourceUrl",
|
|
2856
|
+
moduleName: CORE
|
|
2857
|
+
};
|
|
2642
2858
|
})();
|
|
2643
2859
|
(() => {
|
|
2644
2860
|
_Identifiers.sanitizeScript = { name: "\u0275\u0275sanitizeScript", moduleName: CORE };
|
|
@@ -2647,16 +2863,25 @@ var Identifiers = _Identifiers;
|
|
|
2647
2863
|
_Identifiers.sanitizeUrl = { name: "\u0275\u0275sanitizeUrl", moduleName: CORE };
|
|
2648
2864
|
})();
|
|
2649
2865
|
(() => {
|
|
2650
|
-
_Identifiers.sanitizeUrlOrResourceUrl = {
|
|
2866
|
+
_Identifiers.sanitizeUrlOrResourceUrl = {
|
|
2867
|
+
name: "\u0275\u0275sanitizeUrlOrResourceUrl",
|
|
2868
|
+
moduleName: CORE
|
|
2869
|
+
};
|
|
2651
2870
|
})();
|
|
2652
2871
|
(() => {
|
|
2653
2872
|
_Identifiers.trustConstantHtml = { name: "\u0275\u0275trustConstantHtml", moduleName: CORE };
|
|
2654
2873
|
})();
|
|
2655
2874
|
(() => {
|
|
2656
|
-
_Identifiers.trustConstantResourceUrl = {
|
|
2875
|
+
_Identifiers.trustConstantResourceUrl = {
|
|
2876
|
+
name: "\u0275\u0275trustConstantResourceUrl",
|
|
2877
|
+
moduleName: CORE
|
|
2878
|
+
};
|
|
2657
2879
|
})();
|
|
2658
2880
|
(() => {
|
|
2659
|
-
_Identifiers.validateIframeAttribute = {
|
|
2881
|
+
_Identifiers.validateIframeAttribute = {
|
|
2882
|
+
name: "\u0275\u0275validateIframeAttribute",
|
|
2883
|
+
moduleName: CORE
|
|
2884
|
+
};
|
|
2660
2885
|
})();
|
|
2661
2886
|
(() => {
|
|
2662
2887
|
_Identifiers.InputSignalBrandWriteType = { name: "\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE", moduleName: CORE };
|
|
@@ -2668,7 +2893,7 @@ var Identifiers = _Identifiers;
|
|
|
2668
2893
|
_Identifiers.unwrapWritableSignal = { name: "\u0275unwrapWritableSignal", moduleName: CORE };
|
|
2669
2894
|
})();
|
|
2670
2895
|
|
|
2671
|
-
// bazel-out/
|
|
2896
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
|
|
2672
2897
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
2673
2898
|
function dashCaseToCamelCase(input) {
|
|
2674
2899
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -2745,7 +2970,7 @@ var Version = class {
|
|
|
2745
2970
|
};
|
|
2746
2971
|
var _global = globalThis;
|
|
2747
2972
|
|
|
2748
|
-
// bazel-out/
|
|
2973
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
2749
2974
|
var VERSION = 3;
|
|
2750
2975
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
2751
2976
|
var SourceMapGenerator = class {
|
|
@@ -2874,7 +3099,7 @@ function toBase64Digit(value) {
|
|
|
2874
3099
|
return B64_DIGITS[value];
|
|
2875
3100
|
}
|
|
2876
3101
|
|
|
2877
|
-
// bazel-out/
|
|
3102
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
2878
3103
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
2879
3104
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
2880
3105
|
var _INDENT_WITH = " ";
|
|
@@ -3362,7 +3587,7 @@ function _createIndent(count) {
|
|
|
3362
3587
|
return res;
|
|
3363
3588
|
}
|
|
3364
3589
|
|
|
3365
|
-
// bazel-out/
|
|
3590
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
3366
3591
|
function typeWithParameters(type, numParams) {
|
|
3367
3592
|
if (numParams === 0) {
|
|
3368
3593
|
return expressionType(type);
|
|
@@ -3417,7 +3642,7 @@ function generateForwardRef(expr) {
|
|
|
3417
3642
|
return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
|
|
3418
3643
|
}
|
|
3419
3644
|
|
|
3420
|
-
// bazel-out/
|
|
3645
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
3421
3646
|
var R3FactoryDelegateType;
|
|
3422
3647
|
(function(R3FactoryDelegateType2) {
|
|
3423
3648
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -3473,10 +3698,7 @@ function compileFactoryFunction(meta) {
|
|
|
3473
3698
|
}
|
|
3474
3699
|
let factoryFn = fn([new FnParam("t", DYNAMIC_TYPE)], body, INFERRED_TYPE, void 0, `${meta.name}_Factory`);
|
|
3475
3700
|
if (baseFactoryVar !== null) {
|
|
3476
|
-
factoryFn = arrowFn([], [
|
|
3477
|
-
new DeclareVarStmt(baseFactoryVar.name),
|
|
3478
|
-
new ReturnStatement(factoryFn)
|
|
3479
|
-
]).callFn([], void 0, true);
|
|
3701
|
+
factoryFn = arrowFn([], [new DeclareVarStmt(baseFactoryVar.name), new ReturnStatement(factoryFn)]).callFn([], void 0, true);
|
|
3480
3702
|
}
|
|
3481
3703
|
return {
|
|
3482
3704
|
expression: factoryFn,
|
|
@@ -3486,7 +3708,10 @@ function compileFactoryFunction(meta) {
|
|
|
3486
3708
|
}
|
|
3487
3709
|
function createFactoryType(meta) {
|
|
3488
3710
|
const ctorDepsType = meta.deps !== null && meta.deps !== "invalid" ? createCtorDepsType(meta.deps) : NONE_TYPE;
|
|
3489
|
-
return expressionType(importExpr(Identifiers.FactoryDeclaration, [
|
|
3711
|
+
return expressionType(importExpr(Identifiers.FactoryDeclaration, [
|
|
3712
|
+
typeWithParameters(meta.type.type, meta.typeArgumentCount),
|
|
3713
|
+
ctorDepsType
|
|
3714
|
+
]));
|
|
3490
3715
|
}
|
|
3491
3716
|
function injectDependencies(deps, target) {
|
|
3492
3717
|
return deps.map((dep, index) => compileInjectDependency(dep, target, index));
|
|
@@ -3562,7 +3787,7 @@ function getInjectFn(target) {
|
|
|
3562
3787
|
}
|
|
3563
3788
|
}
|
|
3564
3789
|
|
|
3565
|
-
// bazel-out/
|
|
3790
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
3566
3791
|
var ParserError = class {
|
|
3567
3792
|
constructor(message, input, errLocation, ctxLocation) {
|
|
3568
3793
|
this.input = input;
|
|
@@ -4000,7 +4225,7 @@ var BoundElementProperty = class {
|
|
|
4000
4225
|
}
|
|
4001
4226
|
};
|
|
4002
4227
|
|
|
4003
|
-
// bazel-out/
|
|
4228
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
4004
4229
|
var TagContentType;
|
|
4005
4230
|
(function(TagContentType2) {
|
|
4006
4231
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -4037,7 +4262,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
4037
4262
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
4038
4263
|
}
|
|
4039
4264
|
|
|
4040
|
-
// bazel-out/
|
|
4265
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
4041
4266
|
var Comment = class {
|
|
4042
4267
|
constructor(value, sourceSpan) {
|
|
4043
4268
|
this.value = value;
|
|
@@ -4493,7 +4718,7 @@ function visitAll(visitor, nodes) {
|
|
|
4493
4718
|
return result;
|
|
4494
4719
|
}
|
|
4495
4720
|
|
|
4496
|
-
// bazel-out/
|
|
4721
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
4497
4722
|
var Message = class {
|
|
4498
4723
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
4499
4724
|
this.nodes = nodes;
|
|
@@ -4506,13 +4731,15 @@ var Message = class {
|
|
|
4506
4731
|
this.id = this.customId;
|
|
4507
4732
|
this.messageString = serializeMessage(this.nodes);
|
|
4508
4733
|
if (nodes.length) {
|
|
4509
|
-
this.sources = [
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4734
|
+
this.sources = [
|
|
4735
|
+
{
|
|
4736
|
+
filePath: nodes[0].sourceSpan.start.file.url,
|
|
4737
|
+
startLine: nodes[0].sourceSpan.start.line + 1,
|
|
4738
|
+
startCol: nodes[0].sourceSpan.start.col + 1,
|
|
4739
|
+
endLine: nodes[nodes.length - 1].sourceSpan.end.line + 1,
|
|
4740
|
+
endCol: nodes[0].sourceSpan.start.col + 1
|
|
4741
|
+
}
|
|
4742
|
+
];
|
|
4516
4743
|
} else {
|
|
4517
4744
|
this.sources = [];
|
|
4518
4745
|
}
|
|
@@ -4631,7 +4858,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
4631
4858
|
}
|
|
4632
4859
|
};
|
|
4633
4860
|
|
|
4634
|
-
// bazel-out/
|
|
4861
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
4635
4862
|
var _Visitor = class {
|
|
4636
4863
|
visitTag(tag) {
|
|
4637
4864
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -4659,12 +4886,12 @@ ${doctype.dtd}
|
|
|
4659
4886
|
};
|
|
4660
4887
|
var _visitor = new _Visitor();
|
|
4661
4888
|
|
|
4662
|
-
// bazel-out/
|
|
4889
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
4663
4890
|
function toPublicName(internalName) {
|
|
4664
4891
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
4665
4892
|
}
|
|
4666
4893
|
|
|
4667
|
-
// bazel-out/
|
|
4894
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
4668
4895
|
var I18N_ATTR = "i18n";
|
|
4669
4896
|
var I18N_ATTR_PREFIX = "i18n-";
|
|
4670
4897
|
var I18N_ICU_VAR_PREFIX = "VAR_";
|
|
@@ -4704,7 +4931,7 @@ function formatI18nPlaceholderName(name, useCamelCase = true) {
|
|
|
4704
4931
|
return postfix ? `${raw}_${postfix}` : raw;
|
|
4705
4932
|
}
|
|
4706
4933
|
|
|
4707
|
-
// bazel-out/
|
|
4934
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
4708
4935
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
4709
4936
|
var TEMPORARY_NAME = "_t";
|
|
4710
4937
|
var CONTEXT_NAME = "ctx";
|
|
@@ -4831,7 +5058,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
|
|
|
4831
5058
|
return attributesMap;
|
|
4832
5059
|
}
|
|
4833
5060
|
|
|
4834
|
-
// bazel-out/
|
|
5061
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
4835
5062
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
4836
5063
|
let result = null;
|
|
4837
5064
|
const factoryMeta = {
|
|
@@ -4900,7 +5127,9 @@ function compileInjectable(meta, resolveForwardRefs) {
|
|
|
4900
5127
|
};
|
|
4901
5128
|
}
|
|
4902
5129
|
function createInjectableType(meta) {
|
|
4903
|
-
return new ExpressionType(importExpr(Identifiers.InjectableDeclaration, [
|
|
5130
|
+
return new ExpressionType(importExpr(Identifiers.InjectableDeclaration, [
|
|
5131
|
+
typeWithParameters(meta.type.type, meta.typeArgumentCount)
|
|
5132
|
+
]));
|
|
4904
5133
|
}
|
|
4905
5134
|
function delegateToFactory(type, useType, unwrapForwardRefs) {
|
|
4906
5135
|
if (type.node === useType.node) {
|
|
@@ -4916,7 +5145,7 @@ function createFactoryFunction(type) {
|
|
|
4916
5145
|
return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
|
|
4917
5146
|
}
|
|
4918
5147
|
|
|
4919
|
-
// bazel-out/
|
|
5148
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
4920
5149
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
4921
5150
|
/^\s*$/,
|
|
4922
5151
|
/[<>]/,
|
|
@@ -4938,7 +5167,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
4938
5167
|
}
|
|
4939
5168
|
}
|
|
4940
5169
|
|
|
4941
|
-
// bazel-out/
|
|
5170
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
|
|
4942
5171
|
var InterpolationConfig = class {
|
|
4943
5172
|
static fromArray(markers) {
|
|
4944
5173
|
if (!markers) {
|
|
@@ -4955,7 +5184,7 @@ var InterpolationConfig = class {
|
|
|
4955
5184
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
4956
5185
|
var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
|
|
4957
5186
|
|
|
4958
|
-
// bazel-out/
|
|
5187
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
4959
5188
|
var $EOF = 0;
|
|
4960
5189
|
var $BSPACE = 8;
|
|
4961
5190
|
var $TAB = 9;
|
|
@@ -5037,7 +5266,7 @@ function isQuote(code) {
|
|
|
5037
5266
|
return code === $SQ || code === $DQ || code === $BT;
|
|
5038
5267
|
}
|
|
5039
5268
|
|
|
5040
|
-
// bazel-out/
|
|
5269
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
5041
5270
|
var ParseLocation = class {
|
|
5042
5271
|
constructor(file, offset, line, col) {
|
|
5043
5272
|
this.file = file;
|
|
@@ -5184,7 +5413,7 @@ function sanitizeIdentifier(name) {
|
|
|
5184
5413
|
return name.replace(/\W/g, "_");
|
|
5185
5414
|
}
|
|
5186
5415
|
|
|
5187
|
-
// bazel-out/
|
|
5416
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
5188
5417
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
5189
5418
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
5190
5419
|
constructor() {
|
|
@@ -5277,7 +5506,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
5277
5506
|
}
|
|
5278
5507
|
};
|
|
5279
5508
|
|
|
5280
|
-
// bazel-out/
|
|
5509
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
5281
5510
|
var policy;
|
|
5282
5511
|
function getPolicy() {
|
|
5283
5512
|
if (policy === void 0) {
|
|
@@ -5315,16 +5544,13 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
5315
5544
|
return fn2.bind(_global);
|
|
5316
5545
|
}
|
|
5317
5546
|
|
|
5318
|
-
// bazel-out/
|
|
5547
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
5319
5548
|
var JitEvaluator = class {
|
|
5320
5549
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
5321
5550
|
const converter = new JitEmitterVisitor(refResolver);
|
|
5322
5551
|
const ctx = EmitterVisitorContext.createRoot();
|
|
5323
5552
|
if (statements.length > 0 && !isUseStrictStatement(statements[0])) {
|
|
5324
|
-
statements = [
|
|
5325
|
-
literal("use strict").toStmt(),
|
|
5326
|
-
...statements
|
|
5327
|
-
];
|
|
5553
|
+
statements = [literal("use strict").toStmt(), ...statements];
|
|
5328
5554
|
}
|
|
5329
5555
|
converter.visitAllStatements(statements, ctx);
|
|
5330
5556
|
converter.createReturnStmt(ctx);
|
|
@@ -5406,7 +5632,7 @@ function isUseStrictStatement(statement) {
|
|
|
5406
5632
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
5407
5633
|
}
|
|
5408
5634
|
|
|
5409
|
-
// bazel-out/
|
|
5635
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
5410
5636
|
function compileInjector(meta) {
|
|
5411
5637
|
const definitionMap = new DefinitionMap();
|
|
5412
5638
|
if (meta.providers !== null) {
|
|
@@ -5423,7 +5649,7 @@ function createInjectorType(meta) {
|
|
|
5423
5649
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
5424
5650
|
}
|
|
5425
5651
|
|
|
5426
|
-
// bazel-out/
|
|
5652
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
5427
5653
|
var R3JitReflector = class {
|
|
5428
5654
|
constructor(context) {
|
|
5429
5655
|
this.context = context;
|
|
@@ -5439,7 +5665,7 @@ var R3JitReflector = class {
|
|
|
5439
5665
|
}
|
|
5440
5666
|
};
|
|
5441
5667
|
|
|
5442
|
-
// bazel-out/
|
|
5668
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
5443
5669
|
var R3SelectorScopeMode;
|
|
5444
5670
|
(function(R3SelectorScopeMode2) {
|
|
5445
5671
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -5561,14 +5787,8 @@ function generateSetNgModuleScopeCall(meta) {
|
|
|
5561
5787
|
[meta.type.value, scopeMap.toLiteralMap()]
|
|
5562
5788
|
);
|
|
5563
5789
|
const guardedCall = jitOnlyGuardedExpression(fnCall);
|
|
5564
|
-
const iife = new FunctionExpr(
|
|
5565
|
-
|
|
5566
|
-
[guardedCall.toStmt()]
|
|
5567
|
-
);
|
|
5568
|
-
const iifeCall = new InvokeFunctionExpr(
|
|
5569
|
-
iife,
|
|
5570
|
-
[]
|
|
5571
|
-
);
|
|
5790
|
+
const iife = new FunctionExpr([], [guardedCall.toStmt()]);
|
|
5791
|
+
const iifeCall = new InvokeFunctionExpr(iife, []);
|
|
5572
5792
|
return iifeCall.toStmt();
|
|
5573
5793
|
}
|
|
5574
5794
|
function tupleTypeOf(exp) {
|
|
@@ -5580,7 +5800,7 @@ function tupleOfTypes(types) {
|
|
|
5580
5800
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
5581
5801
|
}
|
|
5582
5802
|
|
|
5583
|
-
// bazel-out/
|
|
5803
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
5584
5804
|
function compilePipeFromMetadata(metadata) {
|
|
5585
5805
|
const definitionMapValues = [];
|
|
5586
5806
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -5601,7 +5821,7 @@ function createPipeType(metadata) {
|
|
|
5601
5821
|
]));
|
|
5602
5822
|
}
|
|
5603
5823
|
|
|
5604
|
-
// bazel-out/
|
|
5824
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
5605
5825
|
var R3TemplateDependencyKind;
|
|
5606
5826
|
(function(R3TemplateDependencyKind2) {
|
|
5607
5827
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -5609,7 +5829,7 @@ var R3TemplateDependencyKind;
|
|
|
5609
5829
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
5610
5830
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
5611
5831
|
|
|
5612
|
-
// bazel-out/
|
|
5832
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
5613
5833
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
5614
5834
|
"inherit",
|
|
5615
5835
|
"initial",
|
|
@@ -5639,7 +5859,15 @@ var animationKeywords = /* @__PURE__ */ new Set([
|
|
|
5639
5859
|
"jump-start",
|
|
5640
5860
|
"start"
|
|
5641
5861
|
]);
|
|
5642
|
-
var scopedAtRuleIdentifiers = [
|
|
5862
|
+
var scopedAtRuleIdentifiers = [
|
|
5863
|
+
"@media",
|
|
5864
|
+
"@supports",
|
|
5865
|
+
"@document",
|
|
5866
|
+
"@layer",
|
|
5867
|
+
"@container",
|
|
5868
|
+
"@scope",
|
|
5869
|
+
"@starting-style"
|
|
5870
|
+
];
|
|
5643
5871
|
var ShadowCss = class {
|
|
5644
5872
|
constructor() {
|
|
5645
5873
|
this._animationDeclarationKeyframesRe = /(^|\s+)(?:(?:(['"])((?:\\\\|\\\2|(?!\2).)+)\2)|(-?[A-Za-z][\w\-]*))(?=[,\s]|$)/g;
|
|
@@ -6081,7 +6309,7 @@ function repeatGroups(groups, multiples) {
|
|
|
6081
6309
|
}
|
|
6082
6310
|
}
|
|
6083
6311
|
|
|
6084
|
-
// bazel-out/
|
|
6312
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
6085
6313
|
var OpKind;
|
|
6086
6314
|
(function(OpKind2) {
|
|
6087
6315
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -6235,7 +6463,7 @@ var TemplateKind;
|
|
|
6235
6463
|
TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
|
|
6236
6464
|
})(TemplateKind || (TemplateKind = {}));
|
|
6237
6465
|
|
|
6238
|
-
// bazel-out/
|
|
6466
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
6239
6467
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
6240
6468
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
6241
6469
|
var ConsumesVarsTrait = Symbol("ConsumesVars");
|
|
@@ -6263,7 +6491,7 @@ function hasUsesVarOffsetTrait(expr) {
|
|
|
6263
6491
|
return expr[UsesVarOffset] === true;
|
|
6264
6492
|
}
|
|
6265
6493
|
|
|
6266
|
-
// bazel-out/
|
|
6494
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
6267
6495
|
function createStatementOp(statement) {
|
|
6268
6496
|
return __spreadValues({
|
|
6269
6497
|
kind: OpKind.Statement,
|
|
@@ -6285,7 +6513,7 @@ var NEW_OP = {
|
|
|
6285
6513
|
next: null
|
|
6286
6514
|
};
|
|
6287
6515
|
|
|
6288
|
-
// bazel-out/
|
|
6516
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
6289
6517
|
function createInterpolateTextOp(xref, interpolation, sourceSpan) {
|
|
6290
6518
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
6291
6519
|
kind: OpKind.InterpolateText,
|
|
@@ -6411,11 +6639,10 @@ function createAdvanceOp(delta, sourceSpan) {
|
|
|
6411
6639
|
sourceSpan
|
|
6412
6640
|
}, NEW_OP);
|
|
6413
6641
|
}
|
|
6414
|
-
function createConditionalOp(target,
|
|
6642
|
+
function createConditionalOp(target, test, conditions, sourceSpan) {
|
|
6415
6643
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
6416
6644
|
kind: OpKind.Conditional,
|
|
6417
6645
|
target,
|
|
6418
|
-
targetSlot,
|
|
6419
6646
|
test,
|
|
6420
6647
|
conditions,
|
|
6421
6648
|
processed: null,
|
|
@@ -6466,7 +6693,7 @@ function createI18nApplyOp(owner, handle, sourceSpan) {
|
|
|
6466
6693
|
}, NEW_OP);
|
|
6467
6694
|
}
|
|
6468
6695
|
|
|
6469
|
-
// bazel-out/
|
|
6696
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
6470
6697
|
var _a;
|
|
6471
6698
|
var _b;
|
|
6472
6699
|
var _c;
|
|
@@ -7328,7 +7555,7 @@ function isStringLiteral(expr) {
|
|
|
7328
7555
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
7329
7556
|
}
|
|
7330
7557
|
|
|
7331
|
-
// bazel-out/
|
|
7558
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
7332
7559
|
var _OpList = class {
|
|
7333
7560
|
constructor() {
|
|
7334
7561
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -7519,14 +7746,14 @@ var OpList = _OpList;
|
|
|
7519
7746
|
_OpList.nextListId = 0;
|
|
7520
7747
|
})();
|
|
7521
7748
|
|
|
7522
|
-
// bazel-out/
|
|
7749
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
7523
7750
|
var SlotHandle = class {
|
|
7524
7751
|
constructor() {
|
|
7525
7752
|
this.slot = null;
|
|
7526
7753
|
}
|
|
7527
7754
|
};
|
|
7528
7755
|
|
|
7529
|
-
// bazel-out/
|
|
7756
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
7530
7757
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
7531
7758
|
OpKind.Element,
|
|
7532
7759
|
OpKind.ElementStart,
|
|
@@ -7830,7 +8057,7 @@ function createI18nAttributesOp(xref, handle, target) {
|
|
|
7830
8057
|
}, NEW_OP), TRAIT_CONSUMES_SLOT);
|
|
7831
8058
|
}
|
|
7832
8059
|
|
|
7833
|
-
// bazel-out/
|
|
8060
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
7834
8061
|
function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
|
|
7835
8062
|
return __spreadValues(__spreadValues({
|
|
7836
8063
|
kind: OpKind.HostProperty,
|
|
@@ -7844,10 +8071,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
|
|
|
7844
8071
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
7845
8072
|
}
|
|
7846
8073
|
|
|
7847
|
-
// bazel-out/
|
|
8074
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
7848
8075
|
var CTX_REF = "CTX_REF_MARKER";
|
|
7849
8076
|
|
|
7850
|
-
// bazel-out/
|
|
8077
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
7851
8078
|
var CompilationJobKind;
|
|
7852
8079
|
(function(CompilationJobKind2) {
|
|
7853
8080
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -7955,7 +8182,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
7955
8182
|
}
|
|
7956
8183
|
};
|
|
7957
8184
|
|
|
7958
|
-
// bazel-out/
|
|
8185
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
7959
8186
|
function deleteAnyCasts(job) {
|
|
7960
8187
|
for (const unit of job.units) {
|
|
7961
8188
|
for (const op of unit.ops()) {
|
|
@@ -7973,7 +8200,7 @@ function removeAnys(e) {
|
|
|
7973
8200
|
return e;
|
|
7974
8201
|
}
|
|
7975
8202
|
|
|
7976
|
-
// bazel-out/
|
|
8203
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
7977
8204
|
function applyI18nExpressions(job) {
|
|
7978
8205
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
7979
8206
|
for (const unit of job.units) {
|
|
@@ -8016,7 +8243,7 @@ function needsApplication(i18nContexts, op) {
|
|
|
8016
8243
|
return false;
|
|
8017
8244
|
}
|
|
8018
8245
|
|
|
8019
|
-
// bazel-out/
|
|
8246
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
8020
8247
|
function assignI18nSlotDependencies(job) {
|
|
8021
8248
|
for (const unit of job.units) {
|
|
8022
8249
|
let updateOp = unit.update.head;
|
|
@@ -8061,7 +8288,7 @@ function assignI18nSlotDependencies(job) {
|
|
|
8061
8288
|
}
|
|
8062
8289
|
}
|
|
8063
8290
|
|
|
8064
|
-
// bazel-out/
|
|
8291
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
8065
8292
|
function createOpXrefMap(unit) {
|
|
8066
8293
|
const map = /* @__PURE__ */ new Map();
|
|
8067
8294
|
for (const op of unit.create) {
|
|
@@ -8076,7 +8303,7 @@ function createOpXrefMap(unit) {
|
|
|
8076
8303
|
return map;
|
|
8077
8304
|
}
|
|
8078
8305
|
|
|
8079
|
-
// bazel-out/
|
|
8306
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
8080
8307
|
function extractAttributes(job) {
|
|
8081
8308
|
for (const unit of job.units) {
|
|
8082
8309
|
const elements = createOpXrefMap(unit);
|
|
@@ -8205,7 +8432,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
8205
8432
|
}
|
|
8206
8433
|
}
|
|
8207
8434
|
|
|
8208
|
-
// bazel-out/
|
|
8435
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
8209
8436
|
function lookupElement2(elements, xref) {
|
|
8210
8437
|
const el = elements.get(xref);
|
|
8211
8438
|
if (el === void 0) {
|
|
@@ -8262,7 +8489,7 @@ function specializeBindings(job) {
|
|
|
8262
8489
|
}
|
|
8263
8490
|
}
|
|
8264
8491
|
|
|
8265
|
-
// bazel-out/
|
|
8492
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
8266
8493
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
8267
8494
|
Identifiers.attribute,
|
|
8268
8495
|
Identifiers.classProp,
|
|
@@ -8330,7 +8557,7 @@ function chainOperationsInList(opList) {
|
|
|
8330
8557
|
}
|
|
8331
8558
|
}
|
|
8332
8559
|
|
|
8333
|
-
// bazel-out/
|
|
8560
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
8334
8561
|
function collapseSingletonInterpolations(job) {
|
|
8335
8562
|
for (const unit of job.units) {
|
|
8336
8563
|
for (const op of unit.update) {
|
|
@@ -8342,7 +8569,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
8342
8569
|
}
|
|
8343
8570
|
}
|
|
8344
8571
|
|
|
8345
|
-
// bazel-out/
|
|
8572
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
8346
8573
|
function generateConditionalExpressions(job) {
|
|
8347
8574
|
for (const unit of job.units) {
|
|
8348
8575
|
for (const op of unit.ops()) {
|
|
@@ -8379,7 +8606,7 @@ function generateConditionalExpressions(job) {
|
|
|
8379
8606
|
}
|
|
8380
8607
|
}
|
|
8381
8608
|
|
|
8382
|
-
// bazel-out/
|
|
8609
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
8383
8610
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
8384
8611
|
["&&", BinaryOperator.And],
|
|
8385
8612
|
[">", BinaryOperator.Bigger],
|
|
@@ -8402,14 +8629,20 @@ var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
|
8402
8629
|
]);
|
|
8403
8630
|
function namespaceForKey(namespacePrefixKey) {
|
|
8404
8631
|
var _a2;
|
|
8405
|
-
const NAMESPACES = /* @__PURE__ */ new Map([
|
|
8632
|
+
const NAMESPACES = /* @__PURE__ */ new Map([
|
|
8633
|
+
["svg", Namespace.SVG],
|
|
8634
|
+
["math", Namespace.Math]
|
|
8635
|
+
]);
|
|
8406
8636
|
if (namespacePrefixKey === null) {
|
|
8407
8637
|
return Namespace.HTML;
|
|
8408
8638
|
}
|
|
8409
8639
|
return (_a2 = NAMESPACES.get(namespacePrefixKey)) != null ? _a2 : Namespace.HTML;
|
|
8410
8640
|
}
|
|
8411
8641
|
function keyForNamespace(namespace) {
|
|
8412
|
-
const NAMESPACES = /* @__PURE__ */ new Map([
|
|
8642
|
+
const NAMESPACES = /* @__PURE__ */ new Map([
|
|
8643
|
+
["svg", Namespace.SVG],
|
|
8644
|
+
["math", Namespace.Math]
|
|
8645
|
+
]);
|
|
8413
8646
|
for (const [k, n] of NAMESPACES.entries()) {
|
|
8414
8647
|
if (n === namespace) {
|
|
8415
8648
|
return k;
|
|
@@ -8430,7 +8663,7 @@ function literalOrArrayLiteral(value) {
|
|
|
8430
8663
|
return literal(value);
|
|
8431
8664
|
}
|
|
8432
8665
|
|
|
8433
|
-
// bazel-out/
|
|
8666
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
8434
8667
|
function collectElementConsts(job) {
|
|
8435
8668
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
8436
8669
|
for (const unit of job.units) {
|
|
@@ -8599,7 +8832,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
8599
8832
|
return literalArr(attrArray);
|
|
8600
8833
|
}
|
|
8601
8834
|
|
|
8602
|
-
// bazel-out/
|
|
8835
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
|
|
8603
8836
|
function convertI18nBindings(job) {
|
|
8604
8837
|
const i18nAttributesByElem = /* @__PURE__ */ new Map();
|
|
8605
8838
|
for (const unit of job.units) {
|
|
@@ -8640,7 +8873,7 @@ function convertI18nBindings(job) {
|
|
|
8640
8873
|
}
|
|
8641
8874
|
}
|
|
8642
8875
|
|
|
8643
|
-
// bazel-out/
|
|
8876
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
|
|
8644
8877
|
function resolveDeferDepsFns(job) {
|
|
8645
8878
|
var _a2;
|
|
8646
8879
|
for (const unit of job.units) {
|
|
@@ -8665,7 +8898,7 @@ function resolveDeferDepsFns(job) {
|
|
|
8665
8898
|
}
|
|
8666
8899
|
}
|
|
8667
8900
|
|
|
8668
|
-
// bazel-out/
|
|
8901
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
8669
8902
|
function createI18nContexts(job) {
|
|
8670
8903
|
const attrContextByMessage = /* @__PURE__ */ new Map();
|
|
8671
8904
|
for (const unit of job.units) {
|
|
@@ -8743,7 +8976,7 @@ function createI18nContexts(job) {
|
|
|
8743
8976
|
}
|
|
8744
8977
|
}
|
|
8745
8978
|
|
|
8746
|
-
// bazel-out/
|
|
8979
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
|
|
8747
8980
|
function deduplicateTextBindings(job) {
|
|
8748
8981
|
const seen = /* @__PURE__ */ new Map();
|
|
8749
8982
|
for (const unit of job.units) {
|
|
@@ -8765,7 +8998,7 @@ function deduplicateTextBindings(job) {
|
|
|
8765
8998
|
}
|
|
8766
8999
|
}
|
|
8767
9000
|
|
|
8768
|
-
// bazel-out/
|
|
9001
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
8769
9002
|
function configureDeferInstructions(job) {
|
|
8770
9003
|
for (const unit of job.units) {
|
|
8771
9004
|
for (const op of unit.create) {
|
|
@@ -8782,7 +9015,7 @@ function configureDeferInstructions(job) {
|
|
|
8782
9015
|
}
|
|
8783
9016
|
}
|
|
8784
9017
|
|
|
8785
|
-
// bazel-out/
|
|
9018
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
8786
9019
|
function resolveDeferTargetNames(job) {
|
|
8787
9020
|
const scopes = /* @__PURE__ */ new Map();
|
|
8788
9021
|
function getScopeForView2(view) {
|
|
@@ -8876,7 +9109,7 @@ var Scope = class {
|
|
|
8876
9109
|
}
|
|
8877
9110
|
};
|
|
8878
9111
|
|
|
8879
|
-
// bazel-out/
|
|
9112
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
8880
9113
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
8881
9114
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
8882
9115
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -8903,7 +9136,7 @@ function collapseEmptyInstructions(job) {
|
|
|
8903
9136
|
}
|
|
8904
9137
|
}
|
|
8905
9138
|
|
|
8906
|
-
// bazel-out/
|
|
9139
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
8907
9140
|
function expandSafeReads(job) {
|
|
8908
9141
|
for (const unit of job.units) {
|
|
8909
9142
|
for (const op of unit.ops()) {
|
|
@@ -9039,7 +9272,7 @@ function ternaryTransform(e) {
|
|
|
9039
9272
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
9040
9273
|
}
|
|
9041
9274
|
|
|
9042
|
-
// bazel-out/
|
|
9275
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
9043
9276
|
var ESCAPE = "\uFFFD";
|
|
9044
9277
|
var ELEMENT_MARKER = "#";
|
|
9045
9278
|
var TEMPLATE_MARKER = "*";
|
|
@@ -9175,7 +9408,7 @@ function formatValue(value) {
|
|
|
9175
9408
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
9176
9409
|
}
|
|
9177
9410
|
|
|
9178
|
-
// bazel-out/
|
|
9411
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
9179
9412
|
function generateAdvance(job) {
|
|
9180
9413
|
for (const unit of job.units) {
|
|
9181
9414
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -9207,7 +9440,7 @@ function generateAdvance(job) {
|
|
|
9207
9440
|
}
|
|
9208
9441
|
}
|
|
9209
9442
|
|
|
9210
|
-
// bazel-out/
|
|
9443
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
9211
9444
|
function generateProjectionDefs(job) {
|
|
9212
9445
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
9213
9446
|
const selectors = [];
|
|
@@ -9231,7 +9464,7 @@ function generateProjectionDefs(job) {
|
|
|
9231
9464
|
}
|
|
9232
9465
|
}
|
|
9233
9466
|
|
|
9234
|
-
// bazel-out/
|
|
9467
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
9235
9468
|
function generateVariables(job) {
|
|
9236
9469
|
recursivelyProcessView(job.root, null);
|
|
9237
9470
|
}
|
|
@@ -9330,7 +9563,7 @@ function generateVariablesInScopeForView(view, scope) {
|
|
|
9330
9563
|
return newOps;
|
|
9331
9564
|
}
|
|
9332
9565
|
|
|
9333
|
-
// bazel-out/
|
|
9566
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
9334
9567
|
function collectConstExpressions(job) {
|
|
9335
9568
|
for (const unit of job.units) {
|
|
9336
9569
|
for (const op of unit.ops()) {
|
|
@@ -9344,7 +9577,7 @@ function collectConstExpressions(job) {
|
|
|
9344
9577
|
}
|
|
9345
9578
|
}
|
|
9346
9579
|
|
|
9347
|
-
// bazel-out/
|
|
9580
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
9348
9581
|
var STYLE_DOT = "style.";
|
|
9349
9582
|
var CLASS_DOT = "class.";
|
|
9350
9583
|
var STYLE_BANG = "style!";
|
|
@@ -9402,7 +9635,7 @@ function parseProperty(name) {
|
|
|
9402
9635
|
return { property: property2, suffix };
|
|
9403
9636
|
}
|
|
9404
9637
|
|
|
9405
|
-
// bazel-out/
|
|
9638
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
9406
9639
|
function mapLiteral(obj, quoted = false) {
|
|
9407
9640
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
9408
9641
|
key,
|
|
@@ -9411,7 +9644,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
9411
9644
|
})));
|
|
9412
9645
|
}
|
|
9413
9646
|
|
|
9414
|
-
// bazel-out/
|
|
9647
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
9415
9648
|
var IcuSerializerVisitor = class {
|
|
9416
9649
|
visitText(text2) {
|
|
9417
9650
|
return text2.value;
|
|
@@ -9445,7 +9678,7 @@ function serializeIcuNode(icu) {
|
|
|
9445
9678
|
return icu.visit(serializer);
|
|
9446
9679
|
}
|
|
9447
9680
|
|
|
9448
|
-
// bazel-out/
|
|
9681
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
9449
9682
|
var TokenType;
|
|
9450
9683
|
(function(TokenType2) {
|
|
9451
9684
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -9806,7 +10039,7 @@ function parseIntAutoRadix(text2) {
|
|
|
9806
10039
|
return result;
|
|
9807
10040
|
}
|
|
9808
10041
|
|
|
9809
|
-
// bazel-out/
|
|
10042
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
9810
10043
|
var SplitInterpolation = class {
|
|
9811
10044
|
constructor(strings, expressions, offsets) {
|
|
9812
10045
|
this.strings = strings;
|
|
@@ -10688,7 +10921,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
10688
10921
|
return offsetMap;
|
|
10689
10922
|
}
|
|
10690
10923
|
|
|
10691
|
-
// bazel-out/
|
|
10924
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
10692
10925
|
var NodeWithI18n = class {
|
|
10693
10926
|
constructor(sourceSpan, i18n2) {
|
|
10694
10927
|
this.sourceSpan = sourceSpan;
|
|
@@ -10799,16 +11032,12 @@ function visitAll2(visitor, nodes, context = null) {
|
|
|
10799
11032
|
return result;
|
|
10800
11033
|
}
|
|
10801
11034
|
|
|
10802
|
-
// bazel-out/
|
|
11035
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
10803
11036
|
var _SECURITY_SCHEMA;
|
|
10804
11037
|
function SECURITY_SCHEMA() {
|
|
10805
11038
|
if (!_SECURITY_SCHEMA) {
|
|
10806
11039
|
_SECURITY_SCHEMA = {};
|
|
10807
|
-
registerContext(SecurityContext.HTML, [
|
|
10808
|
-
"iframe|srcdoc",
|
|
10809
|
-
"*|innerHTML",
|
|
10810
|
-
"*|outerHTML"
|
|
10811
|
-
]);
|
|
11040
|
+
registerContext(SecurityContext.HTML, ["iframe|srcdoc", "*|innerHTML", "*|outerHTML"]);
|
|
10812
11041
|
registerContext(SecurityContext.STYLE, ["*|style"]);
|
|
10813
11042
|
registerContext(SecurityContext.URL, [
|
|
10814
11043
|
"*|formAction",
|
|
@@ -10852,16 +11081,23 @@ function registerContext(ctx, specs) {
|
|
|
10852
11081
|
for (const spec of specs)
|
|
10853
11082
|
_SECURITY_SCHEMA[spec.toLowerCase()] = ctx;
|
|
10854
11083
|
}
|
|
10855
|
-
var IFRAME_SECURITY_SENSITIVE_ATTRS = /* @__PURE__ */ new Set([
|
|
11084
|
+
var IFRAME_SECURITY_SENSITIVE_ATTRS = /* @__PURE__ */ new Set([
|
|
11085
|
+
"sandbox",
|
|
11086
|
+
"allow",
|
|
11087
|
+
"allowfullscreen",
|
|
11088
|
+
"referrerpolicy",
|
|
11089
|
+
"csp",
|
|
11090
|
+
"fetchpriority"
|
|
11091
|
+
]);
|
|
10856
11092
|
function isIframeSecuritySensitiveAttr(attrName) {
|
|
10857
11093
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
10858
11094
|
}
|
|
10859
11095
|
|
|
10860
|
-
// bazel-out/
|
|
11096
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
10861
11097
|
var ElementSchemaRegistry = class {
|
|
10862
11098
|
};
|
|
10863
11099
|
|
|
10864
|
-
// bazel-out/
|
|
11100
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
10865
11101
|
var BOOLEAN = "boolean";
|
|
10866
11102
|
var NUMBER = "number";
|
|
10867
11103
|
var STRING = "string";
|
|
@@ -11214,7 +11450,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
11214
11450
|
}
|
|
11215
11451
|
}
|
|
11216
11452
|
|
|
11217
|
-
// bazel-out/
|
|
11453
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
11218
11454
|
var HtmlTagDefinition = class {
|
|
11219
11455
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
11220
11456
|
this.closedByChildren = {};
|
|
@@ -11308,20 +11544,38 @@ function getHtmlTagDefinition(tagName) {
|
|
|
11308
11544
|
"li": new HtmlTagDefinition({ closedByChildren: ["li"], closedByParent: true }),
|
|
11309
11545
|
"dt": new HtmlTagDefinition({ closedByChildren: ["dt", "dd"] }),
|
|
11310
11546
|
"dd": new HtmlTagDefinition({ closedByChildren: ["dt", "dd"], closedByParent: true }),
|
|
11311
|
-
"rb": new HtmlTagDefinition({
|
|
11312
|
-
|
|
11547
|
+
"rb": new HtmlTagDefinition({
|
|
11548
|
+
closedByChildren: ["rb", "rt", "rtc", "rp"],
|
|
11549
|
+
closedByParent: true
|
|
11550
|
+
}),
|
|
11551
|
+
"rt": new HtmlTagDefinition({
|
|
11552
|
+
closedByChildren: ["rb", "rt", "rtc", "rp"],
|
|
11553
|
+
closedByParent: true
|
|
11554
|
+
}),
|
|
11313
11555
|
"rtc": new HtmlTagDefinition({ closedByChildren: ["rb", "rtc", "rp"], closedByParent: true }),
|
|
11314
|
-
"rp": new HtmlTagDefinition({
|
|
11556
|
+
"rp": new HtmlTagDefinition({
|
|
11557
|
+
closedByChildren: ["rb", "rt", "rtc", "rp"],
|
|
11558
|
+
closedByParent: true
|
|
11559
|
+
}),
|
|
11315
11560
|
"optgroup": new HtmlTagDefinition({ closedByChildren: ["optgroup"], closedByParent: true }),
|
|
11316
|
-
"option": new HtmlTagDefinition({
|
|
11561
|
+
"option": new HtmlTagDefinition({
|
|
11562
|
+
closedByChildren: ["option", "optgroup"],
|
|
11563
|
+
closedByParent: true
|
|
11564
|
+
}),
|
|
11317
11565
|
"pre": new HtmlTagDefinition({ ignoreFirstLf: true }),
|
|
11318
11566
|
"listing": new HtmlTagDefinition({ ignoreFirstLf: true }),
|
|
11319
11567
|
"style": new HtmlTagDefinition({ contentType: TagContentType.RAW_TEXT }),
|
|
11320
11568
|
"script": new HtmlTagDefinition({ contentType: TagContentType.RAW_TEXT }),
|
|
11321
11569
|
"title": new HtmlTagDefinition({
|
|
11322
|
-
contentType: {
|
|
11570
|
+
contentType: {
|
|
11571
|
+
default: TagContentType.ESCAPABLE_RAW_TEXT,
|
|
11572
|
+
svg: TagContentType.PARSABLE_DATA
|
|
11573
|
+
}
|
|
11323
11574
|
}),
|
|
11324
|
-
"textarea": new HtmlTagDefinition({
|
|
11575
|
+
"textarea": new HtmlTagDefinition({
|
|
11576
|
+
contentType: TagContentType.ESCAPABLE_RAW_TEXT,
|
|
11577
|
+
ignoreFirstLf: true
|
|
11578
|
+
})
|
|
11325
11579
|
});
|
|
11326
11580
|
new DomElementSchemaRegistry().allKnownElementNames().forEach((knownTagName) => {
|
|
11327
11581
|
if (!TAG_DEFINITIONS[knownTagName] && getNsPrefix(knownTagName) === null) {
|
|
@@ -11332,7 +11586,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
11332
11586
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
11333
11587
|
}
|
|
11334
11588
|
|
|
11335
|
-
// bazel-out/
|
|
11589
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
11336
11590
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
11337
11591
|
"A": "LINK",
|
|
11338
11592
|
"B": "BOLD_TEXT",
|
|
@@ -11454,7 +11708,7 @@ var PlaceholderRegistry = class {
|
|
|
11454
11708
|
}
|
|
11455
11709
|
};
|
|
11456
11710
|
|
|
11457
|
-
// bazel-out/
|
|
11711
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
11458
11712
|
var _expParser = new Parser(new Lexer());
|
|
11459
11713
|
function createI18nMessageFactory(interpolationConfig, containerBlocks) {
|
|
11460
11714
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
|
|
@@ -11633,14 +11887,14 @@ function extractPlaceholderName(input) {
|
|
|
11633
11887
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
11634
11888
|
}
|
|
11635
11889
|
|
|
11636
|
-
// bazel-out/
|
|
11890
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
11637
11891
|
var I18nError = class extends ParseError {
|
|
11638
11892
|
constructor(span, msg) {
|
|
11639
11893
|
super(span, msg);
|
|
11640
11894
|
}
|
|
11641
11895
|
};
|
|
11642
11896
|
|
|
11643
|
-
// bazel-out/
|
|
11897
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
11644
11898
|
var NAMED_ENTITIES = {
|
|
11645
11899
|
"AElig": "\xC6",
|
|
11646
11900
|
"AMP": "&",
|
|
@@ -13771,7 +14025,7 @@ var NAMED_ENTITIES = {
|
|
|
13771
14025
|
var NGSP_UNICODE = "\uE500";
|
|
13772
14026
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
13773
14027
|
|
|
13774
|
-
// bazel-out/
|
|
14028
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
13775
14029
|
var TokenError = class extends ParseError {
|
|
13776
14030
|
constructor(errorMsg, tokenType, span) {
|
|
13777
14031
|
super(span, errorMsg);
|
|
@@ -13825,7 +14079,12 @@ var _Tokenizer = class {
|
|
|
13825
14079
|
this._tokenizeIcu = options.tokenizeExpansionForms || false;
|
|
13826
14080
|
this._interpolationConfig = options.interpolationConfig || DEFAULT_INTERPOLATION_CONFIG;
|
|
13827
14081
|
this._leadingTriviaCodePoints = options.leadingTriviaChars && options.leadingTriviaChars.map((c) => c.codePointAt(0) || 0);
|
|
13828
|
-
const range = options.range || {
|
|
14082
|
+
const range = options.range || {
|
|
14083
|
+
endPos: _file.content.length,
|
|
14084
|
+
startPos: 0,
|
|
14085
|
+
startLine: 0,
|
|
14086
|
+
startCol: 0
|
|
14087
|
+
};
|
|
13829
14088
|
this._cursor = options.escapedString ? new EscapedCharacterCursor(_file, range) : new PlainCharacterCursor(_file, range);
|
|
13830
14089
|
this._preserveLineEndings = options.preserveLineEndings || false;
|
|
13831
14090
|
this._i18nNormalizeLineEndingsInICUs = options.i18nNormalizeLineEndingsInICUs || false;
|
|
@@ -14692,7 +14951,7 @@ var CursorError = class {
|
|
|
14692
14951
|
}
|
|
14693
14952
|
};
|
|
14694
14953
|
|
|
14695
|
-
// bazel-out/
|
|
14954
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
14696
14955
|
var TreeError = class extends ParseError {
|
|
14697
14956
|
static create(elementName, span, msg) {
|
|
14698
14957
|
return new TreeError(elementName, span, msg);
|
|
@@ -15076,7 +15335,7 @@ function decodeEntity(match, entity) {
|
|
|
15076
15335
|
return match;
|
|
15077
15336
|
}
|
|
15078
15337
|
|
|
15079
|
-
// bazel-out/
|
|
15338
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
15080
15339
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
15081
15340
|
"iframe|srcdoc",
|
|
15082
15341
|
"*|innerhtml",
|
|
@@ -15091,7 +15350,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
15091
15350
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
15092
15351
|
}
|
|
15093
15352
|
|
|
15094
|
-
// bazel-out/
|
|
15353
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
15095
15354
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
15096
15355
|
if (htmlNode instanceof NodeWithI18n) {
|
|
15097
15356
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -15248,7 +15507,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
15248
15507
|
return jsDocComment(tags);
|
|
15249
15508
|
}
|
|
15250
15509
|
|
|
15251
|
-
// bazel-out/
|
|
15510
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
15252
15511
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
15253
15512
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
15254
15513
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -15299,7 +15558,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
15299
15558
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
15300
15559
|
}
|
|
15301
15560
|
|
|
15302
|
-
// bazel-out/
|
|
15561
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
15303
15562
|
function createLocalizeStatements(variable2, message, params) {
|
|
15304
15563
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
15305
15564
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -15388,7 +15647,7 @@ function createEmptyMessagePart(location) {
|
|
|
15388
15647
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
15389
15648
|
}
|
|
15390
15649
|
|
|
15391
|
-
// bazel-out/
|
|
15650
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
15392
15651
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
15393
15652
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
15394
15653
|
var I18N_ICU_MAPPING_PREFIX = "I18N_EXP_";
|
|
@@ -15508,7 +15767,10 @@ function collectMessage(job, fileBasedI18nSuffix, messages, messageOp) {
|
|
|
15508
15767
|
let transformFn = void 0;
|
|
15509
15768
|
if (messageOp.needsPostprocessing || messageOp.postprocessingParams.size > 0) {
|
|
15510
15769
|
const postprocessingParams = Object.fromEntries([...messageOp.postprocessingParams.entries()].sort());
|
|
15511
|
-
const formattedPostprocessingParams = formatI18nPlaceholderNamesInMap(
|
|
15770
|
+
const formattedPostprocessingParams = formatI18nPlaceholderNamesInMap(
|
|
15771
|
+
postprocessingParams,
|
|
15772
|
+
false
|
|
15773
|
+
);
|
|
15512
15774
|
const extraTransformFnParams = [];
|
|
15513
15775
|
if (messageOp.postprocessingParams.size > 0) {
|
|
15514
15776
|
extraTransformFnParams.push(mapLiteral(formattedPostprocessingParams, true));
|
|
@@ -15556,7 +15818,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
15556
15818
|
return variable(name);
|
|
15557
15819
|
}
|
|
15558
15820
|
|
|
15559
|
-
// bazel-out/
|
|
15821
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
15560
15822
|
function convertI18nText(job) {
|
|
15561
15823
|
var _a2, _b2, _c2;
|
|
15562
15824
|
for (const unit of job.units) {
|
|
@@ -15626,7 +15888,7 @@ function convertI18nText(job) {
|
|
|
15626
15888
|
}
|
|
15627
15889
|
}
|
|
15628
15890
|
|
|
15629
|
-
// bazel-out/
|
|
15891
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
15630
15892
|
function liftLocalRefs(job) {
|
|
15631
15893
|
for (const unit of job.units) {
|
|
15632
15894
|
for (const op of unit.create) {
|
|
@@ -15656,7 +15918,7 @@ function serializeLocalRefs(refs) {
|
|
|
15656
15918
|
return literalArr(constRefs);
|
|
15657
15919
|
}
|
|
15658
15920
|
|
|
15659
|
-
// bazel-out/
|
|
15921
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
15660
15922
|
function emitNamespaceChanges(job) {
|
|
15661
15923
|
for (const unit of job.units) {
|
|
15662
15924
|
let activeNamespace = Namespace.HTML;
|
|
@@ -15672,7 +15934,7 @@ function emitNamespaceChanges(job) {
|
|
|
15672
15934
|
}
|
|
15673
15935
|
}
|
|
15674
15936
|
|
|
15675
|
-
// bazel-out/
|
|
15937
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
15676
15938
|
function parse(value) {
|
|
15677
15939
|
const styles = [];
|
|
15678
15940
|
let i = 0;
|
|
@@ -15766,13 +16028,16 @@ function parseExtractedStyles(job) {
|
|
|
15766
16028
|
}
|
|
15767
16029
|
}
|
|
15768
16030
|
|
|
15769
|
-
// bazel-out/
|
|
16031
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
15770
16032
|
function nameFunctionsAndVariables(job) {
|
|
15771
16033
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
15772
16034
|
}
|
|
15773
16035
|
function addNamesToView(unit, baseName, state, compatibility) {
|
|
15774
16036
|
if (unit.fnName === null) {
|
|
15775
|
-
unit.fnName = unit.job.pool.uniqueName(
|
|
16037
|
+
unit.fnName = unit.job.pool.uniqueName(
|
|
16038
|
+
sanitizeIdentifier(`${baseName}_${unit.job.fnSuffix}`),
|
|
16039
|
+
false
|
|
16040
|
+
);
|
|
15776
16041
|
}
|
|
15777
16042
|
const varNames = /* @__PURE__ */ new Map();
|
|
15778
16043
|
for (const op of unit.ops()) {
|
|
@@ -15907,7 +16172,7 @@ function stripImportant(name) {
|
|
|
15907
16172
|
return name;
|
|
15908
16173
|
}
|
|
15909
16174
|
|
|
15910
|
-
// bazel-out/
|
|
16175
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
15911
16176
|
function mergeNextContextExpressions(job) {
|
|
15912
16177
|
for (const unit of job.units) {
|
|
15913
16178
|
for (const op of unit.create) {
|
|
@@ -15953,7 +16218,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
15953
16218
|
}
|
|
15954
16219
|
}
|
|
15955
16220
|
|
|
15956
|
-
// bazel-out/
|
|
16221
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
15957
16222
|
var CONTAINER_TAG = "ng-container";
|
|
15958
16223
|
function generateNgContainerOps(job) {
|
|
15959
16224
|
for (const unit of job.units) {
|
|
@@ -15970,7 +16235,7 @@ function generateNgContainerOps(job) {
|
|
|
15970
16235
|
}
|
|
15971
16236
|
}
|
|
15972
16237
|
|
|
15973
|
-
// bazel-out/
|
|
16238
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
15974
16239
|
function lookupElement3(elements, xref) {
|
|
15975
16240
|
const el = elements.get(xref);
|
|
15976
16241
|
if (el === void 0) {
|
|
@@ -16000,7 +16265,7 @@ function disableBindings(job) {
|
|
|
16000
16265
|
}
|
|
16001
16266
|
}
|
|
16002
16267
|
|
|
16003
|
-
// bazel-out/
|
|
16268
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
16004
16269
|
function generateNullishCoalesceExpressions(job) {
|
|
16005
16270
|
for (const unit of job.units) {
|
|
16006
16271
|
for (const op of unit.ops()) {
|
|
@@ -16016,7 +16281,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
16016
16281
|
}
|
|
16017
16282
|
}
|
|
16018
16283
|
|
|
16019
|
-
// bazel-out/
|
|
16284
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
16020
16285
|
function kindTest(kind) {
|
|
16021
16286
|
return (op) => op.kind === kind;
|
|
16022
16287
|
}
|
|
@@ -16078,7 +16343,7 @@ function orderWithin(opList, ordering) {
|
|
|
16078
16343
|
let firstTargetInGroup = null;
|
|
16079
16344
|
for (const op of opList) {
|
|
16080
16345
|
const currentTarget = hasDependsOnSlotContextTrait(op) ? op.target : null;
|
|
16081
|
-
if (!handledOpKinds.has(op.kind) || currentTarget !== firstTargetInGroup &&
|
|
16346
|
+
if (!handledOpKinds.has(op.kind) || currentTarget !== firstTargetInGroup && firstTargetInGroup !== null && currentTarget !== null) {
|
|
16082
16347
|
OpList.insertBefore(reorder(opsToOrder, ordering), op);
|
|
16083
16348
|
opsToOrder = [];
|
|
16084
16349
|
firstTargetInGroup = null;
|
|
@@ -16106,7 +16371,7 @@ function keepLast(ops) {
|
|
|
16106
16371
|
return ops.slice(ops.length - 1);
|
|
16107
16372
|
}
|
|
16108
16373
|
|
|
16109
|
-
// bazel-out/
|
|
16374
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
16110
16375
|
function removeContentSelectors(job) {
|
|
16111
16376
|
for (const unit of job.units) {
|
|
16112
16377
|
const elements = createOpXrefMap(unit);
|
|
@@ -16133,7 +16398,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
16133
16398
|
return el;
|
|
16134
16399
|
}
|
|
16135
16400
|
|
|
16136
|
-
// bazel-out/
|
|
16401
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
16137
16402
|
function createPipes(job) {
|
|
16138
16403
|
for (const unit of job.units) {
|
|
16139
16404
|
processPipeBindingsInView(unit);
|
|
@@ -16181,7 +16446,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
16181
16446
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
16182
16447
|
}
|
|
16183
16448
|
|
|
16184
|
-
// bazel-out/
|
|
16449
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
16185
16450
|
function createVariadicPipes(job) {
|
|
16186
16451
|
for (const unit of job.units) {
|
|
16187
16452
|
for (const op of unit.update) {
|
|
@@ -16198,7 +16463,7 @@ function createVariadicPipes(job) {
|
|
|
16198
16463
|
}
|
|
16199
16464
|
}
|
|
16200
16465
|
|
|
16201
|
-
// bazel-out/
|
|
16466
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
16202
16467
|
function propagateI18nBlocks(job) {
|
|
16203
16468
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
16204
16469
|
}
|
|
@@ -16252,7 +16517,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
16252
16517
|
}
|
|
16253
16518
|
}
|
|
16254
16519
|
|
|
16255
|
-
// bazel-out/
|
|
16520
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
16256
16521
|
function extractPureFunctions(job) {
|
|
16257
16522
|
for (const view of job.units) {
|
|
16258
16523
|
for (const op of view.ops()) {
|
|
@@ -16294,7 +16559,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
16294
16559
|
}
|
|
16295
16560
|
};
|
|
16296
16561
|
|
|
16297
|
-
// bazel-out/
|
|
16562
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
16298
16563
|
function generatePureLiteralStructures(job) {
|
|
16299
16564
|
for (const unit of job.units) {
|
|
16300
16565
|
for (const op of unit.update) {
|
|
@@ -16341,7 +16606,7 @@ function transformLiteralMap(expr) {
|
|
|
16341
16606
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
16342
16607
|
}
|
|
16343
16608
|
|
|
16344
|
-
// bazel-out/
|
|
16609
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
16345
16610
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
16346
16611
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
16347
16612
|
}
|
|
@@ -16367,10 +16632,24 @@ function elementEnd(sourceSpan) {
|
|
|
16367
16632
|
return call(Identifiers.elementEnd, [], sourceSpan);
|
|
16368
16633
|
}
|
|
16369
16634
|
function elementContainerStart(slot, constIndex, localRefIndex, sourceSpan) {
|
|
16370
|
-
return elementOrContainerBase(
|
|
16635
|
+
return elementOrContainerBase(
|
|
16636
|
+
Identifiers.elementContainerStart,
|
|
16637
|
+
slot,
|
|
16638
|
+
null,
|
|
16639
|
+
constIndex,
|
|
16640
|
+
localRefIndex,
|
|
16641
|
+
sourceSpan
|
|
16642
|
+
);
|
|
16371
16643
|
}
|
|
16372
16644
|
function elementContainer(slot, constIndex, localRefIndex, sourceSpan) {
|
|
16373
|
-
return elementOrContainerBase(
|
|
16645
|
+
return elementOrContainerBase(
|
|
16646
|
+
Identifiers.elementContainer,
|
|
16647
|
+
slot,
|
|
16648
|
+
null,
|
|
16649
|
+
constIndex,
|
|
16650
|
+
localRefIndex,
|
|
16651
|
+
sourceSpan
|
|
16652
|
+
);
|
|
16374
16653
|
}
|
|
16375
16654
|
function elementContainerEnd() {
|
|
16376
16655
|
return call(Identifiers.elementContainerEnd, [], null);
|
|
@@ -16414,10 +16693,7 @@ function twoWayListener(name, handlerFn, sourceSpan) {
|
|
|
16414
16693
|
return call(Identifiers.twoWayListener, [literal(name), handlerFn], sourceSpan);
|
|
16415
16694
|
}
|
|
16416
16695
|
function pipe(slot, name) {
|
|
16417
|
-
return call(Identifiers.pipe, [
|
|
16418
|
-
literal(slot),
|
|
16419
|
-
literal(name)
|
|
16420
|
-
], null);
|
|
16696
|
+
return call(Identifiers.pipe, [literal(slot), literal(name)], null);
|
|
16421
16697
|
}
|
|
16422
16698
|
function namespaceHTML() {
|
|
16423
16699
|
return call(Identifiers.namespaceHTML, [], null);
|
|
@@ -16432,9 +16708,7 @@ function advance(delta, sourceSpan) {
|
|
|
16432
16708
|
return call(Identifiers.advance, delta > 1 ? [literal(delta)] : [], sourceSpan);
|
|
16433
16709
|
}
|
|
16434
16710
|
function reference(slot) {
|
|
16435
|
-
return importExpr(Identifiers.reference).callFn([
|
|
16436
|
-
literal(slot)
|
|
16437
|
-
]);
|
|
16711
|
+
return importExpr(Identifiers.reference).callFn([literal(slot)]);
|
|
16438
16712
|
}
|
|
16439
16713
|
function nextContext(steps) {
|
|
16440
16714
|
return importExpr(Identifiers.nextContext).callFn(steps === 1 ? [] : [literal(steps)]);
|
|
@@ -16443,14 +16717,10 @@ function getCurrentView() {
|
|
|
16443
16717
|
return importExpr(Identifiers.getCurrentView).callFn([]);
|
|
16444
16718
|
}
|
|
16445
16719
|
function restoreView(savedView) {
|
|
16446
|
-
return importExpr(Identifiers.restoreView).callFn([
|
|
16447
|
-
savedView
|
|
16448
|
-
]);
|
|
16720
|
+
return importExpr(Identifiers.restoreView).callFn([savedView]);
|
|
16449
16721
|
}
|
|
16450
16722
|
function resetView(returnValue) {
|
|
16451
|
-
return importExpr(Identifiers.resetView).callFn([
|
|
16452
|
-
returnValue
|
|
16453
|
-
]);
|
|
16723
|
+
return importExpr(Identifiers.resetView).callFn([returnValue]);
|
|
16454
16724
|
}
|
|
16455
16725
|
function text(slot, initialValue, sourceSpan) {
|
|
16456
16726
|
const args = [literal(slot, null)];
|
|
@@ -16623,33 +16893,13 @@ function pipeBind(slot, varOffset, args) {
|
|
|
16623
16893
|
throw new Error(`pipeBind() argument count out of bounds`);
|
|
16624
16894
|
}
|
|
16625
16895
|
const instruction = PIPE_BINDINGS[args.length - 1];
|
|
16626
|
-
return importExpr(instruction).callFn([
|
|
16627
|
-
literal(slot),
|
|
16628
|
-
literal(varOffset),
|
|
16629
|
-
...args
|
|
16630
|
-
]);
|
|
16896
|
+
return importExpr(instruction).callFn([literal(slot), literal(varOffset), ...args]);
|
|
16631
16897
|
}
|
|
16632
16898
|
function pipeBindV(slot, varOffset, args) {
|
|
16633
|
-
return importExpr(Identifiers.pipeBindV).callFn([
|
|
16634
|
-
literal(slot),
|
|
16635
|
-
literal(varOffset),
|
|
16636
|
-
args
|
|
16637
|
-
]);
|
|
16899
|
+
return importExpr(Identifiers.pipeBindV).callFn([literal(slot), literal(varOffset), args]);
|
|
16638
16900
|
}
|
|
16639
16901
|
function textInterpolate(strings, expressions, sourceSpan) {
|
|
16640
|
-
|
|
16641
|
-
throw new Error(`AssertionError: expected specific shape of args for strings/expressions in interpolation`);
|
|
16642
|
-
}
|
|
16643
|
-
const interpolationArgs = [];
|
|
16644
|
-
if (expressions.length === 1 && strings[0] === "" && strings[1] === "") {
|
|
16645
|
-
interpolationArgs.push(expressions[0]);
|
|
16646
|
-
} else {
|
|
16647
|
-
let idx;
|
|
16648
|
-
for (idx = 0; idx < expressions.length; idx++) {
|
|
16649
|
-
interpolationArgs.push(literal(strings[idx]), expressions[idx]);
|
|
16650
|
-
}
|
|
16651
|
-
interpolationArgs.push(literal(strings[idx]));
|
|
16652
|
-
}
|
|
16902
|
+
const interpolationArgs = collateInterpolationArgs(strings, expressions);
|
|
16653
16903
|
return callVariadicInstruction(TEXT_INTERPOLATE_CONFIG, [], interpolationArgs, [], sourceSpan);
|
|
16654
16904
|
}
|
|
16655
16905
|
function i18nExp(expr, sourceSpan) {
|
|
@@ -16701,10 +16951,7 @@ function syntheticHostProperty(name, expression, sourceSpan) {
|
|
|
16701
16951
|
return call(Identifiers.syntheticHostProperty, [literal(name), expression], sourceSpan);
|
|
16702
16952
|
}
|
|
16703
16953
|
function pureFunction(varOffset, fn2, args) {
|
|
16704
|
-
return callVariadicInstructionExpr(PURE_FUNCTION_CONFIG, [
|
|
16705
|
-
literal(varOffset),
|
|
16706
|
-
fn2
|
|
16707
|
-
], args, [], null);
|
|
16954
|
+
return callVariadicInstructionExpr(PURE_FUNCTION_CONFIG, [literal(varOffset), fn2], args, [], null);
|
|
16708
16955
|
}
|
|
16709
16956
|
function collateInterpolationArgs(strings, expressions) {
|
|
16710
16957
|
if (strings.length < 1 || expressions.length !== strings.length - 1) {
|
|
@@ -16726,8 +16973,8 @@ function call(instruction, args, sourceSpan) {
|
|
|
16726
16973
|
const expr = importExpr(instruction).callFn(args, sourceSpan);
|
|
16727
16974
|
return createStatementOp(new ExpressionStatement(expr, sourceSpan));
|
|
16728
16975
|
}
|
|
16729
|
-
function conditional(
|
|
16730
|
-
const args = [
|
|
16976
|
+
function conditional(condition, contextValue, sourceSpan) {
|
|
16977
|
+
const args = [condition];
|
|
16731
16978
|
if (contextValue !== null) {
|
|
16732
16979
|
args.push(contextValue);
|
|
16733
16980
|
}
|
|
@@ -16882,7 +17129,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
16882
17129
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
16883
17130
|
}
|
|
16884
17131
|
|
|
16885
|
-
// bazel-out/
|
|
17132
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
16886
17133
|
var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
|
|
16887
17134
|
["window", Identifiers.resolveWindow],
|
|
16888
17135
|
["document", Identifiers.resolveDocument],
|
|
@@ -17153,10 +17400,7 @@ function reifyUpdateOperations(_unit, ops) {
|
|
|
17153
17400
|
if (op.processed === null) {
|
|
17154
17401
|
throw new Error(`Conditional test was not set.`);
|
|
17155
17402
|
}
|
|
17156
|
-
|
|
17157
|
-
throw new Error(`Conditional slot was not set.`);
|
|
17158
|
-
}
|
|
17159
|
-
OpList.replace(op, conditional(op.targetSlot.slot, op.processed, op.contextValue, op.sourceSpan));
|
|
17403
|
+
OpList.replace(op, conditional(op.processed, op.contextValue, op.sourceSpan));
|
|
17160
17404
|
break;
|
|
17161
17405
|
case OpKind.Repeater:
|
|
17162
17406
|
OpList.replace(op, repeater(op.collection, op.sourceSpan));
|
|
@@ -17241,7 +17485,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
17241
17485
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
17242
17486
|
}
|
|
17243
17487
|
|
|
17244
|
-
// bazel-out/
|
|
17488
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
17245
17489
|
function removeEmptyBindings(job) {
|
|
17246
17490
|
for (const unit of job.units) {
|
|
17247
17491
|
for (const op of unit.update) {
|
|
@@ -17262,7 +17506,7 @@ function removeEmptyBindings(job) {
|
|
|
17262
17506
|
}
|
|
17263
17507
|
}
|
|
17264
17508
|
|
|
17265
|
-
// bazel-out/
|
|
17509
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
17266
17510
|
function removeI18nContexts(job) {
|
|
17267
17511
|
for (const unit of job.units) {
|
|
17268
17512
|
for (const op of unit.create) {
|
|
@@ -17278,7 +17522,7 @@ function removeI18nContexts(job) {
|
|
|
17278
17522
|
}
|
|
17279
17523
|
}
|
|
17280
17524
|
|
|
17281
|
-
// bazel-out/
|
|
17525
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
|
|
17282
17526
|
function removeUnusedI18nAttributesOps(job) {
|
|
17283
17527
|
for (const unit of job.units) {
|
|
17284
17528
|
const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
|
|
@@ -17300,7 +17544,7 @@ function removeUnusedI18nAttributesOps(job) {
|
|
|
17300
17544
|
}
|
|
17301
17545
|
}
|
|
17302
17546
|
|
|
17303
|
-
// bazel-out/
|
|
17547
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
17304
17548
|
function resolveContexts(job) {
|
|
17305
17549
|
for (const unit of job.units) {
|
|
17306
17550
|
processLexicalScope(unit, unit.create);
|
|
@@ -17342,7 +17586,7 @@ function processLexicalScope(view, ops) {
|
|
|
17342
17586
|
}
|
|
17343
17587
|
}
|
|
17344
17588
|
|
|
17345
|
-
// bazel-out/
|
|
17589
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
17346
17590
|
function resolveDollarEvent(job) {
|
|
17347
17591
|
for (const unit of job.units) {
|
|
17348
17592
|
transformDollarEvent(unit.create);
|
|
@@ -17365,7 +17609,7 @@ function transformDollarEvent(ops) {
|
|
|
17365
17609
|
}
|
|
17366
17610
|
}
|
|
17367
17611
|
|
|
17368
|
-
// bazel-out/
|
|
17612
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
17369
17613
|
function resolveI18nElementPlaceholders(job) {
|
|
17370
17614
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
17371
17615
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -17544,7 +17788,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
17544
17788
|
params.set(placeholder, values);
|
|
17545
17789
|
}
|
|
17546
17790
|
|
|
17547
|
-
// bazel-out/
|
|
17791
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
17548
17792
|
function resolveI18nExpressionPlaceholders(job) {
|
|
17549
17793
|
var _a2;
|
|
17550
17794
|
const subTemplateIndices = /* @__PURE__ */ new Map();
|
|
@@ -17597,7 +17841,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
|
|
|
17597
17841
|
}
|
|
17598
17842
|
}
|
|
17599
17843
|
|
|
17600
|
-
// bazel-out/
|
|
17844
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
17601
17845
|
function resolveNames(job) {
|
|
17602
17846
|
for (const unit of job.units) {
|
|
17603
17847
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -17662,7 +17906,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
17662
17906
|
}
|
|
17663
17907
|
}
|
|
17664
17908
|
|
|
17665
|
-
// bazel-out/
|
|
17909
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
17666
17910
|
var sanitizerFns = /* @__PURE__ */ new Map([
|
|
17667
17911
|
[SecurityContext.HTML, Identifiers.sanitizeHtml],
|
|
17668
17912
|
[SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
|
|
@@ -17732,57 +17976,30 @@ function getOnlySecurityContext(securityContext) {
|
|
|
17732
17976
|
return securityContext;
|
|
17733
17977
|
}
|
|
17734
17978
|
|
|
17735
|
-
// bazel-out/
|
|
17979
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
|
|
17736
17980
|
function transformTwoWayBindingSet(job) {
|
|
17737
17981
|
for (const unit of job.units) {
|
|
17738
17982
|
for (const op of unit.create) {
|
|
17739
17983
|
if (op.kind === OpKind.TwoWayListener) {
|
|
17740
17984
|
transformExpressionsInOp(op, (expr) => {
|
|
17741
|
-
if (expr instanceof TwoWayBindingSetExpr) {
|
|
17742
|
-
return
|
|
17985
|
+
if (!(expr instanceof TwoWayBindingSetExpr)) {
|
|
17986
|
+
return expr;
|
|
17743
17987
|
}
|
|
17744
|
-
|
|
17988
|
+
const { target, value } = expr;
|
|
17989
|
+
if (target instanceof ReadPropExpr || target instanceof ReadKeyExpr) {
|
|
17990
|
+
return twoWayBindingSet(target, value).or(target.set(value));
|
|
17991
|
+
}
|
|
17992
|
+
if (target instanceof ReadVariableExpr) {
|
|
17993
|
+
return twoWayBindingSet(target, value);
|
|
17994
|
+
}
|
|
17995
|
+
throw new Error(`Unsupported expression in two-way action binding.`);
|
|
17745
17996
|
}, VisitorContextFlag.InChildOperation);
|
|
17746
17997
|
}
|
|
17747
17998
|
}
|
|
17748
17999
|
}
|
|
17749
18000
|
}
|
|
17750
|
-
function wrapSetOperation(target, value) {
|
|
17751
|
-
if (target instanceof ReadVariableExpr) {
|
|
17752
|
-
return twoWayBindingSet(target, value);
|
|
17753
|
-
}
|
|
17754
|
-
return twoWayBindingSet(target, value).or(target.set(value));
|
|
17755
|
-
}
|
|
17756
|
-
function isReadExpression(value) {
|
|
17757
|
-
return value instanceof ReadPropExpr || value instanceof ReadKeyExpr || value instanceof ReadVariableExpr;
|
|
17758
|
-
}
|
|
17759
|
-
function wrapAction(target, value) {
|
|
17760
|
-
if (isReadExpression(target)) {
|
|
17761
|
-
return wrapSetOperation(target, value);
|
|
17762
|
-
}
|
|
17763
|
-
if (target instanceof BinaryOperatorExpr && isReadExpression(target.rhs)) {
|
|
17764
|
-
return new BinaryOperatorExpr(target.operator, target.lhs, wrapSetOperation(target.rhs, value));
|
|
17765
|
-
}
|
|
17766
|
-
if (target instanceof ConditionalExpr && isReadExpression(target.falseCase)) {
|
|
17767
|
-
return new ConditionalExpr(target.condition, target.trueCase, wrapSetOperation(target.falseCase, value));
|
|
17768
|
-
}
|
|
17769
|
-
if (target instanceof NotExpr) {
|
|
17770
|
-
let expr = target.condition;
|
|
17771
|
-
while (true) {
|
|
17772
|
-
if (expr instanceof NotExpr) {
|
|
17773
|
-
expr = expr.condition;
|
|
17774
|
-
} else {
|
|
17775
|
-
if (isReadExpression(expr)) {
|
|
17776
|
-
return wrapSetOperation(expr, value);
|
|
17777
|
-
}
|
|
17778
|
-
break;
|
|
17779
|
-
}
|
|
17780
|
-
}
|
|
17781
|
-
}
|
|
17782
|
-
throw new Error(`Unsupported expression in two-way action binding.`);
|
|
17783
|
-
}
|
|
17784
18001
|
|
|
17785
|
-
// bazel-out/
|
|
18002
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
17786
18003
|
function saveAndRestoreView(job) {
|
|
17787
18004
|
for (const unit of job.units) {
|
|
17788
18005
|
unit.create.prepend([
|
|
@@ -17827,7 +18044,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
17827
18044
|
}
|
|
17828
18045
|
}
|
|
17829
18046
|
|
|
17830
|
-
// bazel-out/
|
|
18047
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
17831
18048
|
function allocateSlots(job) {
|
|
17832
18049
|
const slotMap = /* @__PURE__ */ new Map();
|
|
17833
18050
|
for (const unit of job.units) {
|
|
@@ -17852,7 +18069,7 @@ function allocateSlots(job) {
|
|
|
17852
18069
|
}
|
|
17853
18070
|
}
|
|
17854
18071
|
|
|
17855
|
-
// bazel-out/
|
|
18072
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
17856
18073
|
function specializeStyleBindings(job) {
|
|
17857
18074
|
for (const unit of job.units) {
|
|
17858
18075
|
for (const op of unit.update) {
|
|
@@ -17882,7 +18099,7 @@ function specializeStyleBindings(job) {
|
|
|
17882
18099
|
}
|
|
17883
18100
|
}
|
|
17884
18101
|
|
|
17885
|
-
// bazel-out/
|
|
18102
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
17886
18103
|
function generateTemporaryVariables(job) {
|
|
17887
18104
|
for (const unit of job.units) {
|
|
17888
18105
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -17940,7 +18157,7 @@ function assignName(names, expr) {
|
|
|
17940
18157
|
expr.name = name;
|
|
17941
18158
|
}
|
|
17942
18159
|
|
|
17943
|
-
// bazel-out/
|
|
18160
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
17944
18161
|
function generateTrackFns(job) {
|
|
17945
18162
|
for (const unit of job.units) {
|
|
17946
18163
|
for (const op of unit.create) {
|
|
@@ -17973,7 +18190,7 @@ function generateTrackFns(job) {
|
|
|
17973
18190
|
}
|
|
17974
18191
|
}
|
|
17975
18192
|
|
|
17976
|
-
// bazel-out/
|
|
18193
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
17977
18194
|
function optimizeTrackFns(job) {
|
|
17978
18195
|
for (const unit of job.units) {
|
|
17979
18196
|
for (const op of unit.create) {
|
|
@@ -18021,7 +18238,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
18021
18238
|
return true;
|
|
18022
18239
|
}
|
|
18023
18240
|
|
|
18024
|
-
// bazel-out/
|
|
18241
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
18025
18242
|
function generateTrackVariables(job) {
|
|
18026
18243
|
for (const unit of job.units) {
|
|
18027
18244
|
for (const op of unit.create) {
|
|
@@ -18042,7 +18259,7 @@ function generateTrackVariables(job) {
|
|
|
18042
18259
|
}
|
|
18043
18260
|
}
|
|
18044
18261
|
|
|
18045
|
-
// bazel-out/
|
|
18262
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
18046
18263
|
function countVariables(job) {
|
|
18047
18264
|
for (const unit of job.units) {
|
|
18048
18265
|
let varCount = 0;
|
|
@@ -18152,7 +18369,7 @@ function isSingletonInterpolation(expr) {
|
|
|
18152
18369
|
return true;
|
|
18153
18370
|
}
|
|
18154
18371
|
|
|
18155
|
-
// bazel-out/
|
|
18372
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
18156
18373
|
function optimizeVariables(job) {
|
|
18157
18374
|
for (const unit of job.units) {
|
|
18158
18375
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -18401,7 +18618,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
18401
18618
|
}
|
|
18402
18619
|
}
|
|
18403
18620
|
|
|
18404
|
-
// bazel-out/
|
|
18621
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
18405
18622
|
function wrapI18nIcus(job) {
|
|
18406
18623
|
for (const unit of job.units) {
|
|
18407
18624
|
let currentI18nOp = null;
|
|
@@ -18431,7 +18648,7 @@ function wrapI18nIcus(job) {
|
|
|
18431
18648
|
}
|
|
18432
18649
|
}
|
|
18433
18650
|
|
|
18434
|
-
// bazel-out/
|
|
18651
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
18435
18652
|
var phases = [
|
|
18436
18653
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
18437
18654
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -18538,14 +18755,8 @@ function emitView(view) {
|
|
|
18538
18755
|
const createCond = maybeGenerateRfBlock(1, createStatements);
|
|
18539
18756
|
const updateCond = maybeGenerateRfBlock(2, updateStatements);
|
|
18540
18757
|
return fn(
|
|
18541
|
-
[
|
|
18542
|
-
|
|
18543
|
-
new FnParam("ctx")
|
|
18544
|
-
],
|
|
18545
|
-
[
|
|
18546
|
-
...createCond,
|
|
18547
|
-
...updateCond
|
|
18548
|
-
],
|
|
18758
|
+
[new FnParam("rf"), new FnParam("ctx")],
|
|
18759
|
+
[...createCond, ...updateCond],
|
|
18549
18760
|
void 0,
|
|
18550
18761
|
void 0,
|
|
18551
18762
|
view.fnName
|
|
@@ -18583,21 +18794,15 @@ function emitHostBindingFunction(job) {
|
|
|
18583
18794
|
const createCond = maybeGenerateRfBlock(1, createStatements);
|
|
18584
18795
|
const updateCond = maybeGenerateRfBlock(2, updateStatements);
|
|
18585
18796
|
return fn(
|
|
18586
|
-
[
|
|
18587
|
-
|
|
18588
|
-
new FnParam("ctx")
|
|
18589
|
-
],
|
|
18590
|
-
[
|
|
18591
|
-
...createCond,
|
|
18592
|
-
...updateCond
|
|
18593
|
-
],
|
|
18797
|
+
[new FnParam("rf"), new FnParam("ctx")],
|
|
18798
|
+
[...createCond, ...updateCond],
|
|
18594
18799
|
void 0,
|
|
18595
18800
|
void 0,
|
|
18596
18801
|
job.root.fnName
|
|
18597
18802
|
);
|
|
18598
18803
|
}
|
|
18599
18804
|
|
|
18600
|
-
// bazel-out/
|
|
18805
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
18601
18806
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
18602
18807
|
var domSchema = new DomElementSchemaRegistry();
|
|
18603
18808
|
var NG_TEMPLATE_TAG_NAME = "ng-template";
|
|
@@ -18644,7 +18849,19 @@ function ingestHostProperty(job, property2, bindingKind, securityContexts) {
|
|
|
18644
18849
|
} else {
|
|
18645
18850
|
expression = convertAst(ast, job, property2.sourceSpan);
|
|
18646
18851
|
}
|
|
18647
|
-
job.root.update.push(createBindingOp(
|
|
18852
|
+
job.root.update.push(createBindingOp(
|
|
18853
|
+
job.root.xref,
|
|
18854
|
+
bindingKind,
|
|
18855
|
+
property2.name,
|
|
18856
|
+
expression,
|
|
18857
|
+
null,
|
|
18858
|
+
securityContexts,
|
|
18859
|
+
false,
|
|
18860
|
+
false,
|
|
18861
|
+
null,
|
|
18862
|
+
null,
|
|
18863
|
+
property2.sourceSpan
|
|
18864
|
+
));
|
|
18648
18865
|
}
|
|
18649
18866
|
function ingestHostAttribute(job, name, value, securityContexts) {
|
|
18650
18867
|
const attrBinding = createBindingOp(
|
|
@@ -18791,7 +19008,6 @@ function ingestBoundText(unit, text2, icuPlaceholder) {
|
|
|
18791
19008
|
function ingestIfBlock(unit, ifBlock) {
|
|
18792
19009
|
var _a2;
|
|
18793
19010
|
let firstXref = null;
|
|
18794
|
-
let firstSlotHandle = null;
|
|
18795
19011
|
let conditions = [];
|
|
18796
19012
|
for (let i = 0; i < ifBlock.branches.length; i++) {
|
|
18797
19013
|
const ifCase = ifBlock.branches[i];
|
|
@@ -18811,15 +19027,13 @@ function ingestIfBlock(unit, ifBlock) {
|
|
|
18811
19027
|
unit.create.push(templateOp);
|
|
18812
19028
|
if (firstXref === null) {
|
|
18813
19029
|
firstXref = cView.xref;
|
|
18814
|
-
firstSlotHandle = templateOp.handle;
|
|
18815
19030
|
}
|
|
18816
19031
|
const caseExpr = ifCase.expression ? convertAst(ifCase.expression, unit.job, null) : null;
|
|
18817
19032
|
const conditionalCaseExpr = new ConditionalCaseExpr(caseExpr, templateOp.xref, templateOp.handle, ifCase.expressionAlias);
|
|
18818
19033
|
conditions.push(conditionalCaseExpr);
|
|
18819
19034
|
ingestNodes(cView, ifCase.children);
|
|
18820
19035
|
}
|
|
18821
|
-
|
|
18822
|
-
unit.update.push(conditional2);
|
|
19036
|
+
unit.update.push(createConditionalOp(firstXref, null, conditions, ifBlock.sourceSpan));
|
|
18823
19037
|
}
|
|
18824
19038
|
function ingestSwitchBlock(unit, switchBlock) {
|
|
18825
19039
|
var _a2;
|
|
@@ -18827,7 +19041,6 @@ function ingestSwitchBlock(unit, switchBlock) {
|
|
|
18827
19041
|
return;
|
|
18828
19042
|
}
|
|
18829
19043
|
let firstXref = null;
|
|
18830
|
-
let firstSlotHandle = null;
|
|
18831
19044
|
let conditions = [];
|
|
18832
19045
|
for (const switchCase of switchBlock.cases) {
|
|
18833
19046
|
const cView = unit.job.allocateView(unit.xref);
|
|
@@ -18843,15 +19056,13 @@ function ingestSwitchBlock(unit, switchBlock) {
|
|
|
18843
19056
|
unit.create.push(templateOp);
|
|
18844
19057
|
if (firstXref === null) {
|
|
18845
19058
|
firstXref = cView.xref;
|
|
18846
|
-
firstSlotHandle = templateOp.handle;
|
|
18847
19059
|
}
|
|
18848
19060
|
const caseExpr = switchCase.expression ? convertAst(switchCase.expression, unit.job, switchBlock.startSourceSpan) : null;
|
|
18849
19061
|
const conditionalCaseExpr = new ConditionalCaseExpr(caseExpr, templateOp.xref, templateOp.handle);
|
|
18850
19062
|
conditions.push(conditionalCaseExpr);
|
|
18851
19063
|
ingestNodes(cView, switchCase.children);
|
|
18852
19064
|
}
|
|
18853
|
-
|
|
18854
|
-
unit.update.push(conditional2);
|
|
19065
|
+
unit.update.push(createConditionalOp(firstXref, convertAst(switchBlock.expression, unit.job, null), conditions, switchBlock.sourceSpan));
|
|
18855
19066
|
}
|
|
18856
19067
|
function ingestDeferView(unit, suffix, i18nMeta, children, sourceSpan) {
|
|
18857
19068
|
if (i18nMeta !== void 0 && !(i18nMeta instanceof BlockPlaceholder)) {
|
|
@@ -19342,7 +19553,7 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
19342
19553
|
return null;
|
|
19343
19554
|
}
|
|
19344
19555
|
|
|
19345
|
-
// bazel-out/
|
|
19556
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
|
|
19346
19557
|
function renderFlagCheckIfStmt(flags, statements) {
|
|
19347
19558
|
return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
|
|
19348
19559
|
}
|
|
@@ -19462,7 +19673,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
|
|
|
19462
19673
|
], INFERRED_TYPE, null, contentQueriesFnName);
|
|
19463
19674
|
}
|
|
19464
19675
|
|
|
19465
|
-
// bazel-out/
|
|
19676
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
19466
19677
|
var HtmlParser = class extends Parser2 {
|
|
19467
19678
|
constructor() {
|
|
19468
19679
|
super(getHtmlTagDefinition);
|
|
@@ -19472,7 +19683,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
19472
19683
|
}
|
|
19473
19684
|
};
|
|
19474
19685
|
|
|
19475
|
-
// bazel-out/
|
|
19686
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
19476
19687
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
19477
19688
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
19478
19689
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -19538,7 +19749,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
19538
19749
|
return result;
|
|
19539
19750
|
}
|
|
19540
19751
|
|
|
19541
|
-
// bazel-out/
|
|
19752
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
19542
19753
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
19543
19754
|
var ATTRIBUTE_PREFIX = "attr";
|
|
19544
19755
|
var CLASS_PREFIX = "class";
|
|
@@ -19546,11 +19757,12 @@ var STYLE_PREFIX = "style";
|
|
|
19546
19757
|
var TEMPLATE_ATTR_PREFIX = "*";
|
|
19547
19758
|
var ANIMATE_PROP_PREFIX = "animate-";
|
|
19548
19759
|
var BindingParser = class {
|
|
19549
|
-
constructor(_exprParser, _interpolationConfig, _schemaRegistry, errors) {
|
|
19760
|
+
constructor(_exprParser, _interpolationConfig, _schemaRegistry, errors, _allowInvalidAssignmentEvents = false) {
|
|
19550
19761
|
this._exprParser = _exprParser;
|
|
19551
19762
|
this._interpolationConfig = _interpolationConfig;
|
|
19552
19763
|
this._schemaRegistry = _schemaRegistry;
|
|
19553
19764
|
this.errors = errors;
|
|
19765
|
+
this._allowInvalidAssignmentEvents = _allowInvalidAssignmentEvents;
|
|
19554
19766
|
}
|
|
19555
19767
|
get interpolationConfig() {
|
|
19556
19768
|
return this._interpolationConfig;
|
|
@@ -19583,7 +19795,16 @@ var BindingParser = class {
|
|
|
19583
19795
|
for (const propName of Object.keys(hostListeners)) {
|
|
19584
19796
|
const expression = hostListeners[propName];
|
|
19585
19797
|
if (typeof expression === "string") {
|
|
19586
|
-
this.parseEvent(
|
|
19798
|
+
this.parseEvent(
|
|
19799
|
+
propName,
|
|
19800
|
+
expression,
|
|
19801
|
+
false,
|
|
19802
|
+
sourceSpan,
|
|
19803
|
+
sourceSpan,
|
|
19804
|
+
[],
|
|
19805
|
+
targetEvents,
|
|
19806
|
+
sourceSpan
|
|
19807
|
+
);
|
|
19587
19808
|
} else {
|
|
19588
19809
|
this._reportError(`Value of the host listener "${propName}" needs to be a string representing an expression but got "${expression}" (${typeof expression})`, sourceSpan);
|
|
19589
19810
|
}
|
|
@@ -19854,6 +20075,9 @@ var BindingParser = class {
|
|
|
19854
20075
|
if (ast instanceof PropertyRead || ast instanceof KeyedRead) {
|
|
19855
20076
|
return true;
|
|
19856
20077
|
}
|
|
20078
|
+
if (!this._allowInvalidAssignmentEvents) {
|
|
20079
|
+
return false;
|
|
20080
|
+
}
|
|
19857
20081
|
if (ast instanceof Binary) {
|
|
19858
20082
|
return (ast.operation === "&&" || ast.operation === "||" || ast.operation === "??") && (ast.right instanceof PropertyRead || ast.right instanceof KeyedRead);
|
|
19859
20083
|
}
|
|
@@ -19879,7 +20103,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
19879
20103
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
19880
20104
|
}
|
|
19881
20105
|
|
|
19882
|
-
// bazel-out/
|
|
20106
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
19883
20107
|
function isStyleUrlResolvable(url) {
|
|
19884
20108
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
19885
20109
|
return false;
|
|
@@ -19888,7 +20112,7 @@ function isStyleUrlResolvable(url) {
|
|
|
19888
20112
|
}
|
|
19889
20113
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
19890
20114
|
|
|
19891
|
-
// bazel-out/
|
|
20115
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
19892
20116
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
19893
20117
|
var LINK_ELEMENT = "link";
|
|
19894
20118
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -19958,14 +20182,21 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
19958
20182
|
return selectAttr;
|
|
19959
20183
|
}
|
|
19960
20184
|
|
|
19961
|
-
// bazel-out/
|
|
20185
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
19962
20186
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
19963
20187
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
19964
20188
|
var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
|
|
19965
20189
|
var ELSE_IF_PATTERN = /^else[^\S\r\n]+if/;
|
|
19966
20190
|
var FOR_LOOP_LET_PATTERN = /^let\s+([\S\s]*)/;
|
|
19967
20191
|
var CHARACTERS_IN_SURROUNDING_WHITESPACE_PATTERN = /(\s*)(\S+)(\s*)/;
|
|
19968
|
-
var ALLOWED_FOR_LOOP_LET_VARIABLES = /* @__PURE__ */ new Set([
|
|
20192
|
+
var ALLOWED_FOR_LOOP_LET_VARIABLES = /* @__PURE__ */ new Set([
|
|
20193
|
+
"$index",
|
|
20194
|
+
"$first",
|
|
20195
|
+
"$last",
|
|
20196
|
+
"$even",
|
|
20197
|
+
"$odd",
|
|
20198
|
+
"$count"
|
|
20199
|
+
]);
|
|
19969
20200
|
function isConnectedForLoopBlock(name) {
|
|
19970
20201
|
return name === "empty";
|
|
19971
20202
|
}
|
|
@@ -20274,7 +20505,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
20274
20505
|
return expression.slice(start, end);
|
|
20275
20506
|
}
|
|
20276
20507
|
|
|
20277
|
-
// bazel-out/
|
|
20508
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
20278
20509
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
20279
20510
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
20280
20511
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -20538,7 +20769,7 @@ function parseDeferredTime(value) {
|
|
|
20538
20769
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
20539
20770
|
}
|
|
20540
20771
|
|
|
20541
|
-
// bazel-out/
|
|
20772
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
20542
20773
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
20543
20774
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
20544
20775
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -20673,7 +20904,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
20673
20904
|
return { triggers, prefetchTriggers };
|
|
20674
20905
|
}
|
|
20675
20906
|
|
|
20676
|
-
// bazel-out/
|
|
20907
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
20677
20908
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
20678
20909
|
var KW_BIND_IDX = 1;
|
|
20679
20910
|
var KW_LET_IDX = 2;
|
|
@@ -20920,7 +21151,12 @@ var HtmlAstToIvyAst = class {
|
|
|
20920
21151
|
if (prop.isLiteral) {
|
|
20921
21152
|
literal2.push(new TextAttribute(prop.name, prop.expression.source || "", prop.sourceSpan, prop.keySpan, prop.valueSpan, i18n2));
|
|
20922
21153
|
} else {
|
|
20923
|
-
const bep = this.bindingParser.createBoundElementProperty(
|
|
21154
|
+
const bep = this.bindingParser.createBoundElementProperty(
|
|
21155
|
+
elementName,
|
|
21156
|
+
prop,
|
|
21157
|
+
true,
|
|
21158
|
+
false
|
|
21159
|
+
);
|
|
20924
21160
|
bound.push(BoundAttribute.fromBoundElementProperty(bep, i18n2));
|
|
20925
21161
|
}
|
|
20926
21162
|
});
|
|
@@ -20960,7 +21196,16 @@ var HtmlAstToIvyAst = class {
|
|
|
20960
21196
|
const events = [];
|
|
20961
21197
|
const identifier = bindParts[IDENT_KW_IDX];
|
|
20962
21198
|
const keySpan2 = createKeySpan(srcSpan, bindParts[KW_ON_IDX], identifier);
|
|
20963
|
-
this.bindingParser.parseEvent(
|
|
21199
|
+
this.bindingParser.parseEvent(
|
|
21200
|
+
identifier,
|
|
21201
|
+
value,
|
|
21202
|
+
false,
|
|
21203
|
+
srcSpan,
|
|
21204
|
+
attribute2.valueSpan || srcSpan,
|
|
21205
|
+
matchableAttributes,
|
|
21206
|
+
events,
|
|
21207
|
+
keySpan2
|
|
21208
|
+
);
|
|
20964
21209
|
addEvents(events, boundEvents);
|
|
20965
21210
|
} else if (bindParts[KW_BINDON_IDX]) {
|
|
20966
21211
|
const identifier = bindParts[IDENT_KW_IDX];
|
|
@@ -20991,7 +21236,16 @@ var HtmlAstToIvyAst = class {
|
|
|
20991
21236
|
this.bindingParser.parsePropertyBinding(identifier, value, false, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
|
|
20992
21237
|
} else {
|
|
20993
21238
|
const events = [];
|
|
20994
|
-
this.bindingParser.parseEvent(
|
|
21239
|
+
this.bindingParser.parseEvent(
|
|
21240
|
+
identifier,
|
|
21241
|
+
value,
|
|
21242
|
+
false,
|
|
21243
|
+
srcSpan,
|
|
21244
|
+
attribute2.valueSpan || srcSpan,
|
|
21245
|
+
matchableAttributes,
|
|
21246
|
+
events,
|
|
21247
|
+
keySpan2
|
|
21248
|
+
);
|
|
20995
21249
|
addEvents(events, boundEvents);
|
|
20996
21250
|
}
|
|
20997
21251
|
return true;
|
|
@@ -21025,7 +21279,16 @@ var HtmlAstToIvyAst = class {
|
|
|
21025
21279
|
}
|
|
21026
21280
|
parseAssignmentEvent(name, expression, sourceSpan, valueSpan, targetMatchableAttrs, boundEvents, keySpan) {
|
|
21027
21281
|
const events = [];
|
|
21028
|
-
this.bindingParser.parseEvent(
|
|
21282
|
+
this.bindingParser.parseEvent(
|
|
21283
|
+
`${name}Change`,
|
|
21284
|
+
expression,
|
|
21285
|
+
true,
|
|
21286
|
+
sourceSpan,
|
|
21287
|
+
valueSpan || sourceSpan,
|
|
21288
|
+
targetMatchableAttrs,
|
|
21289
|
+
events,
|
|
21290
|
+
keySpan
|
|
21291
|
+
);
|
|
21029
21292
|
addEvents(events, boundEvents);
|
|
21030
21293
|
}
|
|
21031
21294
|
reportError(message, sourceSpan, level = ParseErrorLevel.ERROR) {
|
|
@@ -21095,12 +21358,12 @@ function textContents(node) {
|
|
|
21095
21358
|
}
|
|
21096
21359
|
}
|
|
21097
21360
|
|
|
21098
|
-
// bazel-out/
|
|
21361
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
21099
21362
|
var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
|
|
21100
21363
|
function parseTemplate(template2, templateUrl, options = {}) {
|
|
21101
21364
|
var _a2;
|
|
21102
|
-
const { interpolationConfig, preserveWhitespaces, enableI18nLegacyMessageIdFormat } = options;
|
|
21103
|
-
const bindingParser = makeBindingParser(interpolationConfig);
|
|
21365
|
+
const { interpolationConfig, preserveWhitespaces, enableI18nLegacyMessageIdFormat, allowInvalidAssignmentEvents } = options;
|
|
21366
|
+
const bindingParser = makeBindingParser(interpolationConfig, allowInvalidAssignmentEvents);
|
|
21104
21367
|
const htmlParser = new HtmlParser();
|
|
21105
21368
|
const parseResult = htmlParser.parse(template2, templateUrl, __spreadProps(__spreadValues({
|
|
21106
21369
|
leadingTriviaChars: LEADING_TRIVIA_CHARS
|
|
@@ -21124,7 +21387,11 @@ function parseTemplate(template2, templateUrl, options = {}) {
|
|
|
21124
21387
|
return parsedTemplate2;
|
|
21125
21388
|
}
|
|
21126
21389
|
let rootNodes = parseResult.rootNodes;
|
|
21127
|
-
const i18nMetaVisitor = new I18nMetaVisitor(
|
|
21390
|
+
const i18nMetaVisitor = new I18nMetaVisitor(
|
|
21391
|
+
interpolationConfig,
|
|
21392
|
+
!preserveWhitespaces,
|
|
21393
|
+
enableI18nLegacyMessageIdFormat
|
|
21394
|
+
);
|
|
21128
21395
|
const i18nMetaResult = i18nMetaVisitor.visitAllWithErrors(rootNodes);
|
|
21129
21396
|
if (!options.alwaysAttemptHtmlToR3AstConversion && i18nMetaResult.errors && i18nMetaResult.errors.length > 0) {
|
|
21130
21397
|
const parsedTemplate2 = {
|
|
@@ -21165,11 +21432,11 @@ function parseTemplate(template2, templateUrl, options = {}) {
|
|
|
21165
21432
|
return parsedTemplate;
|
|
21166
21433
|
}
|
|
21167
21434
|
var elementRegistry = new DomElementSchemaRegistry();
|
|
21168
|
-
function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {
|
|
21169
|
-
return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, []);
|
|
21435
|
+
function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, allowInvalidAssignmentEvents = false) {
|
|
21436
|
+
return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, [], allowInvalidAssignmentEvents);
|
|
21170
21437
|
}
|
|
21171
21438
|
|
|
21172
|
-
// bazel-out/
|
|
21439
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
21173
21440
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
21174
21441
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
21175
21442
|
var CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
|
|
@@ -21276,10 +21543,7 @@ function compileComponentFromMetadata(meta, constantPool, bindingParser) {
|
|
|
21276
21543
|
definitionMap.set("vars", literal(tpl.root.vars));
|
|
21277
21544
|
if (tpl.consts.length > 0) {
|
|
21278
21545
|
if (tpl.constsInitializers.length > 0) {
|
|
21279
|
-
definitionMap.set("consts", arrowFn([], [
|
|
21280
|
-
...tpl.constsInitializers,
|
|
21281
|
-
new ReturnStatement(literalArr(tpl.consts))
|
|
21282
|
-
]));
|
|
21546
|
+
definitionMap.set("consts", arrowFn([], [...tpl.constsInitializers, new ReturnStatement(literalArr(tpl.consts))]));
|
|
21283
21547
|
} else {
|
|
21284
21548
|
definitionMap.set("consts", literalArr(tpl.consts));
|
|
21285
21549
|
}
|
|
@@ -21489,8 +21753,16 @@ function createHostDirectivesType(meta) {
|
|
|
21489
21753
|
}
|
|
21490
21754
|
return expressionType(literalArr(meta.hostDirectives.map((hostMeta) => literalMap([
|
|
21491
21755
|
{ key: "directive", value: typeofExpr(hostMeta.directive.type), quoted: false },
|
|
21492
|
-
{
|
|
21493
|
-
|
|
21756
|
+
{
|
|
21757
|
+
key: "inputs",
|
|
21758
|
+
value: stringMapAsLiteralExpression(hostMeta.inputs || {}),
|
|
21759
|
+
quoted: false
|
|
21760
|
+
},
|
|
21761
|
+
{
|
|
21762
|
+
key: "outputs",
|
|
21763
|
+
value: stringMapAsLiteralExpression(hostMeta.outputs || {}),
|
|
21764
|
+
quoted: false
|
|
21765
|
+
}
|
|
21494
21766
|
]))));
|
|
21495
21767
|
}
|
|
21496
21768
|
function createHostDirectivesFeatureArg(hostDirectives) {
|
|
@@ -21531,7 +21803,7 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
21531
21803
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
21532
21804
|
}
|
|
21533
21805
|
|
|
21534
|
-
// bazel-out/
|
|
21806
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
21535
21807
|
var R3TargetBinder = class {
|
|
21536
21808
|
constructor(directiveMatcher) {
|
|
21537
21809
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -22164,11 +22436,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
22164
22436
|
return templateEntities;
|
|
22165
22437
|
}
|
|
22166
22438
|
|
|
22167
|
-
// bazel-out/
|
|
22439
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
22168
22440
|
var ResourceLoader = class {
|
|
22169
22441
|
};
|
|
22170
22442
|
|
|
22171
|
-
// bazel-out/
|
|
22443
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
22172
22444
|
var CompilerFacadeImpl = class {
|
|
22173
22445
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
22174
22446
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -22342,7 +22614,12 @@ var CompilerFacadeImpl = class {
|
|
|
22342
22614
|
...preStatements,
|
|
22343
22615
|
new DeclareVarStmt("$def", def, void 0, StmtModifier.Exported)
|
|
22344
22616
|
];
|
|
22345
|
-
const res = this.jitEvaluator.evaluateStatements(
|
|
22617
|
+
const res = this.jitEvaluator.evaluateStatements(
|
|
22618
|
+
sourceUrl,
|
|
22619
|
+
statements,
|
|
22620
|
+
new R3JitReflector(context),
|
|
22621
|
+
true
|
|
22622
|
+
);
|
|
22346
22623
|
return res["$def"];
|
|
22347
22624
|
}
|
|
22348
22625
|
};
|
|
@@ -22729,17 +23006,17 @@ function publishFacade(global) {
|
|
|
22729
23006
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
22730
23007
|
}
|
|
22731
23008
|
|
|
22732
|
-
// bazel-out/
|
|
22733
|
-
var VERSION2 = new Version("18.0.0-next.
|
|
23009
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
|
|
23010
|
+
var VERSION2 = new Version("18.0.0-next.6");
|
|
22734
23011
|
|
|
22735
|
-
// bazel-out/
|
|
23012
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
22736
23013
|
var _VisitorMode;
|
|
22737
23014
|
(function(_VisitorMode2) {
|
|
22738
23015
|
_VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
|
|
22739
23016
|
_VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
|
|
22740
23017
|
})(_VisitorMode || (_VisitorMode = {}));
|
|
22741
23018
|
|
|
22742
|
-
// bazel-out/
|
|
23019
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
22743
23020
|
var XmlTagDefinition = class {
|
|
22744
23021
|
constructor() {
|
|
22745
23022
|
this.closedByParent = false;
|
|
@@ -22761,7 +23038,7 @@ var XmlTagDefinition = class {
|
|
|
22761
23038
|
};
|
|
22762
23039
|
var _TAG_DEFINITION = new XmlTagDefinition();
|
|
22763
23040
|
|
|
22764
|
-
// bazel-out/
|
|
23041
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
22765
23042
|
var FactoryTarget2;
|
|
22766
23043
|
(function(FactoryTarget3) {
|
|
22767
23044
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -22771,10 +23048,10 @@ var FactoryTarget2;
|
|
|
22771
23048
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
22772
23049
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
22773
23050
|
|
|
22774
|
-
// bazel-out/
|
|
23051
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
22775
23052
|
publishFacade(_global);
|
|
22776
23053
|
|
|
22777
|
-
// bazel-out/
|
|
23054
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/invalid-two-way-bindings/migration.mjs
|
|
22778
23055
|
var import_typescript4 = __toESM(require("typescript"), 1);
|
|
22779
23056
|
function migrateTemplate(template2) {
|
|
22780
23057
|
if (!template2.includes(")]=")) {
|
|
@@ -22782,7 +23059,7 @@ function migrateTemplate(template2) {
|
|
|
22782
23059
|
}
|
|
22783
23060
|
let rootNodes = null;
|
|
22784
23061
|
try {
|
|
22785
|
-
const parsed = parseTemplate(template2, "");
|
|
23062
|
+
const parsed = parseTemplate(template2, "", { allowInvalidAssignmentEvents: true });
|
|
22786
23063
|
if (parsed.errors === null) {
|
|
22787
23064
|
rootNodes = parsed.nodes;
|
|
22788
23065
|
}
|
|
@@ -22821,9 +23098,9 @@ function migrateTwoWayEvent(value, binding, printer) {
|
|
|
22821
23098
|
return null;
|
|
22822
23099
|
}
|
|
22823
23100
|
let migrated = null;
|
|
22824
|
-
if (import_typescript4.default.isBinaryExpression(expression) &&
|
|
23101
|
+
if (import_typescript4.default.isBinaryExpression(expression) && isReadExpression(expression.right)) {
|
|
22825
23102
|
migrated = import_typescript4.default.factory.updateBinaryExpression(expression, expression.left, expression.operatorToken, wrapInEventAssignment(expression.right));
|
|
22826
|
-
} else if (import_typescript4.default.isConditionalExpression(expression) &&
|
|
23103
|
+
} else if (import_typescript4.default.isConditionalExpression(expression) && isReadExpression(expression.whenFalse)) {
|
|
22827
23104
|
migrated = import_typescript4.default.factory.updateConditionalExpression(expression, expression.condition, expression.questionToken, expression.whenTrue, expression.colonToken, wrapInEventAssignment(expression.whenFalse));
|
|
22828
23105
|
} else if (isPrefixNot(expression)) {
|
|
22829
23106
|
let innerExpression = expression.operand;
|
|
@@ -22831,7 +23108,7 @@ function migrateTwoWayEvent(value, binding, printer) {
|
|
|
22831
23108
|
if (isPrefixNot(innerExpression)) {
|
|
22832
23109
|
innerExpression = innerExpression.operand;
|
|
22833
23110
|
} else {
|
|
22834
|
-
if (
|
|
23111
|
+
if (isReadExpression(innerExpression)) {
|
|
22835
23112
|
migrated = wrapInEventAssignment(innerExpression);
|
|
22836
23113
|
}
|
|
22837
23114
|
break;
|
|
@@ -22847,7 +23124,7 @@ function migrateTwoWayEvent(value, binding, printer) {
|
|
|
22847
23124
|
function wrapInEventAssignment(node) {
|
|
22848
23125
|
return import_typescript4.default.factory.createBinaryExpression(node, import_typescript4.default.factory.createToken(import_typescript4.default.SyntaxKind.EqualsToken), import_typescript4.default.factory.createIdentifier("$event"));
|
|
22849
23126
|
}
|
|
22850
|
-
function
|
|
23127
|
+
function isReadExpression(node) {
|
|
22851
23128
|
return import_typescript4.default.isIdentifier(node) || import_typescript4.default.isPropertyAccessExpression(node) || import_typescript4.default.isElementAccessExpression(node);
|
|
22852
23129
|
}
|
|
22853
23130
|
function isPrefixNot(node) {
|
|
@@ -22899,7 +23176,7 @@ var InvalidTwoWayBindingCollector = class extends RecursiveVisitor {
|
|
|
22899
23176
|
}
|
|
22900
23177
|
};
|
|
22901
23178
|
|
|
22902
|
-
// bazel-out/
|
|
23179
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/invalid-two-way-bindings/index.mjs
|
|
22903
23180
|
function invalid_two_way_bindings_default() {
|
|
22904
23181
|
return (tree) => __async(this, null, function* () {
|
|
22905
23182
|
const { buildPaths, testPaths } = yield getProjectTsConfigPaths(tree);
|