@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/ng-generate/control-flow-migration/index.mjs
|
|
67
67
|
var control_flow_migration_exports = {};
|
|
68
68
|
__export(control_flow_migration_exports, {
|
|
69
69
|
default: () => control_flow_migration_default
|
|
@@ -72,22 +72,22 @@ module.exports = __toCommonJS(control_flow_migration_exports);
|
|
|
72
72
|
var import_schematics = require("@angular-devkit/schematics");
|
|
73
73
|
var import_path3 = require("path");
|
|
74
74
|
|
|
75
|
-
// bazel-out/
|
|
75
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
76
76
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
77
77
|
|
|
78
|
-
// bazel-out/
|
|
78
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
|
|
79
79
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
80
80
|
|
|
81
|
-
// bazel-out/
|
|
81
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
82
82
|
function normalizePath(path2) {
|
|
83
83
|
return path2.replace(/\\/g, "/");
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
// bazel-out/
|
|
86
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
87
87
|
var import_path = require("path");
|
|
88
88
|
var import_typescript4 = __toESM(require("typescript"), 1);
|
|
89
89
|
|
|
90
|
-
// bazel-out/
|
|
90
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
91
91
|
var path = __toESM(require("path"), 1);
|
|
92
92
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
93
93
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -104,7 +104,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
104
104
|
return import_typescript3.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
// bazel-out/
|
|
107
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
108
108
|
function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
|
|
109
109
|
const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
|
|
110
110
|
return import_typescript4.default.createProgram(rootNames, options, host);
|
|
@@ -137,7 +137,7 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
137
137
|
return !(0, import_path.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
// bazel-out/
|
|
140
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/selector.mjs
|
|
141
141
|
var _SELECTOR_REGEXP = new RegExp(
|
|
142
142
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
143
143
|
"g"
|
|
@@ -445,7 +445,7 @@ var SelectorContext = class {
|
|
|
445
445
|
}
|
|
446
446
|
};
|
|
447
447
|
|
|
448
|
-
// bazel-out/
|
|
448
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/core.mjs
|
|
449
449
|
var ViewEncapsulation;
|
|
450
450
|
(function(ViewEncapsulation2) {
|
|
451
451
|
ViewEncapsulation2[ViewEncapsulation2["Emulated"] = 0] = "Emulated";
|
|
@@ -513,7 +513,7 @@ function parseSelectorToR3Selector(selector) {
|
|
|
513
513
|
return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
|
|
514
514
|
}
|
|
515
515
|
|
|
516
|
-
// bazel-out/
|
|
516
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
|
|
517
517
|
var textEncoder;
|
|
518
518
|
function computeDigest(message) {
|
|
519
519
|
return sha1(serializeNodes(message.nodes).join("") + `[${message.meaning}]`);
|
|
@@ -753,7 +753,7 @@ function wordAt(bytes, index, endian) {
|
|
|
753
753
|
return word;
|
|
754
754
|
}
|
|
755
755
|
|
|
756
|
-
// bazel-out/
|
|
756
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
757
757
|
var TypeModifier;
|
|
758
758
|
(function(TypeModifier2) {
|
|
759
759
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -1691,7 +1691,7 @@ function serializeTags(tags) {
|
|
|
1691
1691
|
return out;
|
|
1692
1692
|
}
|
|
1693
1693
|
|
|
1694
|
-
// bazel-out/
|
|
1694
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
1695
1695
|
var CONSTANT_PREFIX = "_c";
|
|
1696
1696
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
1697
1697
|
var KEY_CONTEXT = {};
|
|
@@ -1879,7 +1879,7 @@ function isLongStringLiteral(expr) {
|
|
|
1879
1879
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
1880
1880
|
}
|
|
1881
1881
|
|
|
1882
|
-
// bazel-out/
|
|
1882
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
1883
1883
|
var CORE = "@angular/core";
|
|
1884
1884
|
var _Identifiers = class {
|
|
1885
1885
|
};
|
|
@@ -1918,49 +1918,88 @@ var Identifiers = _Identifiers;
|
|
|
1918
1918
|
_Identifiers.advance = { name: "\u0275\u0275advance", moduleName: CORE };
|
|
1919
1919
|
})();
|
|
1920
1920
|
(() => {
|
|
1921
|
-
_Identifiers.syntheticHostProperty = {
|
|
1921
|
+
_Identifiers.syntheticHostProperty = {
|
|
1922
|
+
name: "\u0275\u0275syntheticHostProperty",
|
|
1923
|
+
moduleName: CORE
|
|
1924
|
+
};
|
|
1922
1925
|
})();
|
|
1923
1926
|
(() => {
|
|
1924
|
-
_Identifiers.syntheticHostListener = {
|
|
1927
|
+
_Identifiers.syntheticHostListener = {
|
|
1928
|
+
name: "\u0275\u0275syntheticHostListener",
|
|
1929
|
+
moduleName: CORE
|
|
1930
|
+
};
|
|
1925
1931
|
})();
|
|
1926
1932
|
(() => {
|
|
1927
1933
|
_Identifiers.attribute = { name: "\u0275\u0275attribute", moduleName: CORE };
|
|
1928
1934
|
})();
|
|
1929
1935
|
(() => {
|
|
1930
|
-
_Identifiers.attributeInterpolate1 = {
|
|
1936
|
+
_Identifiers.attributeInterpolate1 = {
|
|
1937
|
+
name: "\u0275\u0275attributeInterpolate1",
|
|
1938
|
+
moduleName: CORE
|
|
1939
|
+
};
|
|
1931
1940
|
})();
|
|
1932
1941
|
(() => {
|
|
1933
|
-
_Identifiers.attributeInterpolate2 = {
|
|
1942
|
+
_Identifiers.attributeInterpolate2 = {
|
|
1943
|
+
name: "\u0275\u0275attributeInterpolate2",
|
|
1944
|
+
moduleName: CORE
|
|
1945
|
+
};
|
|
1934
1946
|
})();
|
|
1935
1947
|
(() => {
|
|
1936
|
-
_Identifiers.attributeInterpolate3 = {
|
|
1948
|
+
_Identifiers.attributeInterpolate3 = {
|
|
1949
|
+
name: "\u0275\u0275attributeInterpolate3",
|
|
1950
|
+
moduleName: CORE
|
|
1951
|
+
};
|
|
1937
1952
|
})();
|
|
1938
1953
|
(() => {
|
|
1939
|
-
_Identifiers.attributeInterpolate4 = {
|
|
1954
|
+
_Identifiers.attributeInterpolate4 = {
|
|
1955
|
+
name: "\u0275\u0275attributeInterpolate4",
|
|
1956
|
+
moduleName: CORE
|
|
1957
|
+
};
|
|
1940
1958
|
})();
|
|
1941
1959
|
(() => {
|
|
1942
|
-
_Identifiers.attributeInterpolate5 = {
|
|
1960
|
+
_Identifiers.attributeInterpolate5 = {
|
|
1961
|
+
name: "\u0275\u0275attributeInterpolate5",
|
|
1962
|
+
moduleName: CORE
|
|
1963
|
+
};
|
|
1943
1964
|
})();
|
|
1944
1965
|
(() => {
|
|
1945
|
-
_Identifiers.attributeInterpolate6 = {
|
|
1966
|
+
_Identifiers.attributeInterpolate6 = {
|
|
1967
|
+
name: "\u0275\u0275attributeInterpolate6",
|
|
1968
|
+
moduleName: CORE
|
|
1969
|
+
};
|
|
1946
1970
|
})();
|
|
1947
1971
|
(() => {
|
|
1948
|
-
_Identifiers.attributeInterpolate7 = {
|
|
1972
|
+
_Identifiers.attributeInterpolate7 = {
|
|
1973
|
+
name: "\u0275\u0275attributeInterpolate7",
|
|
1974
|
+
moduleName: CORE
|
|
1975
|
+
};
|
|
1949
1976
|
})();
|
|
1950
1977
|
(() => {
|
|
1951
|
-
_Identifiers.attributeInterpolate8 = {
|
|
1978
|
+
_Identifiers.attributeInterpolate8 = {
|
|
1979
|
+
name: "\u0275\u0275attributeInterpolate8",
|
|
1980
|
+
moduleName: CORE
|
|
1981
|
+
};
|
|
1952
1982
|
})();
|
|
1953
1983
|
(() => {
|
|
1954
|
-
_Identifiers.attributeInterpolateV = {
|
|
1984
|
+
_Identifiers.attributeInterpolateV = {
|
|
1985
|
+
name: "\u0275\u0275attributeInterpolateV",
|
|
1986
|
+
moduleName: CORE
|
|
1987
|
+
};
|
|
1955
1988
|
})();
|
|
1956
1989
|
(() => {
|
|
1957
1990
|
_Identifiers.classProp = { name: "\u0275\u0275classProp", moduleName: CORE };
|
|
1958
1991
|
})();
|
|
1959
1992
|
(() => {
|
|
1960
|
-
_Identifiers.elementContainerStart = {
|
|
1993
|
+
_Identifiers.elementContainerStart = {
|
|
1994
|
+
name: "\u0275\u0275elementContainerStart",
|
|
1995
|
+
moduleName: CORE
|
|
1996
|
+
};
|
|
1961
1997
|
})();
|
|
1962
1998
|
(() => {
|
|
1963
|
-
_Identifiers.elementContainerEnd = {
|
|
1999
|
+
_Identifiers.elementContainerEnd = {
|
|
2000
|
+
name: "\u0275\u0275elementContainerEnd",
|
|
2001
|
+
moduleName: CORE
|
|
2002
|
+
};
|
|
1964
2003
|
})();
|
|
1965
2004
|
(() => {
|
|
1966
2005
|
_Identifiers.elementContainer = { name: "\u0275\u0275elementContainer", moduleName: CORE };
|
|
@@ -1969,91 +2008,172 @@ var Identifiers = _Identifiers;
|
|
|
1969
2008
|
_Identifiers.styleMap = { name: "\u0275\u0275styleMap", moduleName: CORE };
|
|
1970
2009
|
})();
|
|
1971
2010
|
(() => {
|
|
1972
|
-
_Identifiers.styleMapInterpolate1 = {
|
|
2011
|
+
_Identifiers.styleMapInterpolate1 = {
|
|
2012
|
+
name: "\u0275\u0275styleMapInterpolate1",
|
|
2013
|
+
moduleName: CORE
|
|
2014
|
+
};
|
|
1973
2015
|
})();
|
|
1974
2016
|
(() => {
|
|
1975
|
-
_Identifiers.styleMapInterpolate2 = {
|
|
2017
|
+
_Identifiers.styleMapInterpolate2 = {
|
|
2018
|
+
name: "\u0275\u0275styleMapInterpolate2",
|
|
2019
|
+
moduleName: CORE
|
|
2020
|
+
};
|
|
1976
2021
|
})();
|
|
1977
2022
|
(() => {
|
|
1978
|
-
_Identifiers.styleMapInterpolate3 = {
|
|
2023
|
+
_Identifiers.styleMapInterpolate3 = {
|
|
2024
|
+
name: "\u0275\u0275styleMapInterpolate3",
|
|
2025
|
+
moduleName: CORE
|
|
2026
|
+
};
|
|
1979
2027
|
})();
|
|
1980
2028
|
(() => {
|
|
1981
|
-
_Identifiers.styleMapInterpolate4 = {
|
|
2029
|
+
_Identifiers.styleMapInterpolate4 = {
|
|
2030
|
+
name: "\u0275\u0275styleMapInterpolate4",
|
|
2031
|
+
moduleName: CORE
|
|
2032
|
+
};
|
|
1982
2033
|
})();
|
|
1983
2034
|
(() => {
|
|
1984
|
-
_Identifiers.styleMapInterpolate5 = {
|
|
2035
|
+
_Identifiers.styleMapInterpolate5 = {
|
|
2036
|
+
name: "\u0275\u0275styleMapInterpolate5",
|
|
2037
|
+
moduleName: CORE
|
|
2038
|
+
};
|
|
1985
2039
|
})();
|
|
1986
2040
|
(() => {
|
|
1987
|
-
_Identifiers.styleMapInterpolate6 = {
|
|
2041
|
+
_Identifiers.styleMapInterpolate6 = {
|
|
2042
|
+
name: "\u0275\u0275styleMapInterpolate6",
|
|
2043
|
+
moduleName: CORE
|
|
2044
|
+
};
|
|
1988
2045
|
})();
|
|
1989
2046
|
(() => {
|
|
1990
|
-
_Identifiers.styleMapInterpolate7 = {
|
|
2047
|
+
_Identifiers.styleMapInterpolate7 = {
|
|
2048
|
+
name: "\u0275\u0275styleMapInterpolate7",
|
|
2049
|
+
moduleName: CORE
|
|
2050
|
+
};
|
|
1991
2051
|
})();
|
|
1992
2052
|
(() => {
|
|
1993
|
-
_Identifiers.styleMapInterpolate8 = {
|
|
2053
|
+
_Identifiers.styleMapInterpolate8 = {
|
|
2054
|
+
name: "\u0275\u0275styleMapInterpolate8",
|
|
2055
|
+
moduleName: CORE
|
|
2056
|
+
};
|
|
1994
2057
|
})();
|
|
1995
2058
|
(() => {
|
|
1996
|
-
_Identifiers.styleMapInterpolateV = {
|
|
2059
|
+
_Identifiers.styleMapInterpolateV = {
|
|
2060
|
+
name: "\u0275\u0275styleMapInterpolateV",
|
|
2061
|
+
moduleName: CORE
|
|
2062
|
+
};
|
|
1997
2063
|
})();
|
|
1998
2064
|
(() => {
|
|
1999
2065
|
_Identifiers.classMap = { name: "\u0275\u0275classMap", moduleName: CORE };
|
|
2000
2066
|
})();
|
|
2001
2067
|
(() => {
|
|
2002
|
-
_Identifiers.classMapInterpolate1 = {
|
|
2068
|
+
_Identifiers.classMapInterpolate1 = {
|
|
2069
|
+
name: "\u0275\u0275classMapInterpolate1",
|
|
2070
|
+
moduleName: CORE
|
|
2071
|
+
};
|
|
2003
2072
|
})();
|
|
2004
2073
|
(() => {
|
|
2005
|
-
_Identifiers.classMapInterpolate2 = {
|
|
2074
|
+
_Identifiers.classMapInterpolate2 = {
|
|
2075
|
+
name: "\u0275\u0275classMapInterpolate2",
|
|
2076
|
+
moduleName: CORE
|
|
2077
|
+
};
|
|
2006
2078
|
})();
|
|
2007
2079
|
(() => {
|
|
2008
|
-
_Identifiers.classMapInterpolate3 = {
|
|
2080
|
+
_Identifiers.classMapInterpolate3 = {
|
|
2081
|
+
name: "\u0275\u0275classMapInterpolate3",
|
|
2082
|
+
moduleName: CORE
|
|
2083
|
+
};
|
|
2009
2084
|
})();
|
|
2010
2085
|
(() => {
|
|
2011
|
-
_Identifiers.classMapInterpolate4 = {
|
|
2086
|
+
_Identifiers.classMapInterpolate4 = {
|
|
2087
|
+
name: "\u0275\u0275classMapInterpolate4",
|
|
2088
|
+
moduleName: CORE
|
|
2089
|
+
};
|
|
2012
2090
|
})();
|
|
2013
2091
|
(() => {
|
|
2014
|
-
_Identifiers.classMapInterpolate5 = {
|
|
2092
|
+
_Identifiers.classMapInterpolate5 = {
|
|
2093
|
+
name: "\u0275\u0275classMapInterpolate5",
|
|
2094
|
+
moduleName: CORE
|
|
2095
|
+
};
|
|
2015
2096
|
})();
|
|
2016
2097
|
(() => {
|
|
2017
|
-
_Identifiers.classMapInterpolate6 = {
|
|
2098
|
+
_Identifiers.classMapInterpolate6 = {
|
|
2099
|
+
name: "\u0275\u0275classMapInterpolate6",
|
|
2100
|
+
moduleName: CORE
|
|
2101
|
+
};
|
|
2018
2102
|
})();
|
|
2019
2103
|
(() => {
|
|
2020
|
-
_Identifiers.classMapInterpolate7 = {
|
|
2104
|
+
_Identifiers.classMapInterpolate7 = {
|
|
2105
|
+
name: "\u0275\u0275classMapInterpolate7",
|
|
2106
|
+
moduleName: CORE
|
|
2107
|
+
};
|
|
2021
2108
|
})();
|
|
2022
2109
|
(() => {
|
|
2023
|
-
_Identifiers.classMapInterpolate8 = {
|
|
2110
|
+
_Identifiers.classMapInterpolate8 = {
|
|
2111
|
+
name: "\u0275\u0275classMapInterpolate8",
|
|
2112
|
+
moduleName: CORE
|
|
2113
|
+
};
|
|
2024
2114
|
})();
|
|
2025
2115
|
(() => {
|
|
2026
|
-
_Identifiers.classMapInterpolateV = {
|
|
2116
|
+
_Identifiers.classMapInterpolateV = {
|
|
2117
|
+
name: "\u0275\u0275classMapInterpolateV",
|
|
2118
|
+
moduleName: CORE
|
|
2119
|
+
};
|
|
2027
2120
|
})();
|
|
2028
2121
|
(() => {
|
|
2029
2122
|
_Identifiers.styleProp = { name: "\u0275\u0275styleProp", moduleName: CORE };
|
|
2030
2123
|
})();
|
|
2031
2124
|
(() => {
|
|
2032
|
-
_Identifiers.stylePropInterpolate1 = {
|
|
2125
|
+
_Identifiers.stylePropInterpolate1 = {
|
|
2126
|
+
name: "\u0275\u0275stylePropInterpolate1",
|
|
2127
|
+
moduleName: CORE
|
|
2128
|
+
};
|
|
2033
2129
|
})();
|
|
2034
2130
|
(() => {
|
|
2035
|
-
_Identifiers.stylePropInterpolate2 = {
|
|
2131
|
+
_Identifiers.stylePropInterpolate2 = {
|
|
2132
|
+
name: "\u0275\u0275stylePropInterpolate2",
|
|
2133
|
+
moduleName: CORE
|
|
2134
|
+
};
|
|
2036
2135
|
})();
|
|
2037
2136
|
(() => {
|
|
2038
|
-
_Identifiers.stylePropInterpolate3 = {
|
|
2137
|
+
_Identifiers.stylePropInterpolate3 = {
|
|
2138
|
+
name: "\u0275\u0275stylePropInterpolate3",
|
|
2139
|
+
moduleName: CORE
|
|
2140
|
+
};
|
|
2039
2141
|
})();
|
|
2040
2142
|
(() => {
|
|
2041
|
-
_Identifiers.stylePropInterpolate4 = {
|
|
2143
|
+
_Identifiers.stylePropInterpolate4 = {
|
|
2144
|
+
name: "\u0275\u0275stylePropInterpolate4",
|
|
2145
|
+
moduleName: CORE
|
|
2146
|
+
};
|
|
2042
2147
|
})();
|
|
2043
2148
|
(() => {
|
|
2044
|
-
_Identifiers.stylePropInterpolate5 = {
|
|
2149
|
+
_Identifiers.stylePropInterpolate5 = {
|
|
2150
|
+
name: "\u0275\u0275stylePropInterpolate5",
|
|
2151
|
+
moduleName: CORE
|
|
2152
|
+
};
|
|
2045
2153
|
})();
|
|
2046
2154
|
(() => {
|
|
2047
|
-
_Identifiers.stylePropInterpolate6 = {
|
|
2155
|
+
_Identifiers.stylePropInterpolate6 = {
|
|
2156
|
+
name: "\u0275\u0275stylePropInterpolate6",
|
|
2157
|
+
moduleName: CORE
|
|
2158
|
+
};
|
|
2048
2159
|
})();
|
|
2049
2160
|
(() => {
|
|
2050
|
-
_Identifiers.stylePropInterpolate7 = {
|
|
2161
|
+
_Identifiers.stylePropInterpolate7 = {
|
|
2162
|
+
name: "\u0275\u0275stylePropInterpolate7",
|
|
2163
|
+
moduleName: CORE
|
|
2164
|
+
};
|
|
2051
2165
|
})();
|
|
2052
2166
|
(() => {
|
|
2053
|
-
_Identifiers.stylePropInterpolate8 = {
|
|
2167
|
+
_Identifiers.stylePropInterpolate8 = {
|
|
2168
|
+
name: "\u0275\u0275stylePropInterpolate8",
|
|
2169
|
+
moduleName: CORE
|
|
2170
|
+
};
|
|
2054
2171
|
})();
|
|
2055
2172
|
(() => {
|
|
2056
|
-
_Identifiers.stylePropInterpolateV = {
|
|
2173
|
+
_Identifiers.stylePropInterpolateV = {
|
|
2174
|
+
name: "\u0275\u0275stylePropInterpolateV",
|
|
2175
|
+
moduleName: CORE
|
|
2176
|
+
};
|
|
2057
2177
|
})();
|
|
2058
2178
|
(() => {
|
|
2059
2179
|
_Identifiers.nextContext = { name: "\u0275\u0275nextContext", moduleName: CORE };
|
|
@@ -2092,25 +2212,46 @@ var Identifiers = _Identifiers;
|
|
|
2092
2212
|
_Identifiers.deferPrefetchWhen = { name: "\u0275\u0275deferPrefetchWhen", moduleName: CORE };
|
|
2093
2213
|
})();
|
|
2094
2214
|
(() => {
|
|
2095
|
-
_Identifiers.deferPrefetchOnIdle = {
|
|
2215
|
+
_Identifiers.deferPrefetchOnIdle = {
|
|
2216
|
+
name: "\u0275\u0275deferPrefetchOnIdle",
|
|
2217
|
+
moduleName: CORE
|
|
2218
|
+
};
|
|
2096
2219
|
})();
|
|
2097
2220
|
(() => {
|
|
2098
|
-
_Identifiers.deferPrefetchOnImmediate = {
|
|
2221
|
+
_Identifiers.deferPrefetchOnImmediate = {
|
|
2222
|
+
name: "\u0275\u0275deferPrefetchOnImmediate",
|
|
2223
|
+
moduleName: CORE
|
|
2224
|
+
};
|
|
2099
2225
|
})();
|
|
2100
2226
|
(() => {
|
|
2101
|
-
_Identifiers.deferPrefetchOnTimer = {
|
|
2227
|
+
_Identifiers.deferPrefetchOnTimer = {
|
|
2228
|
+
name: "\u0275\u0275deferPrefetchOnTimer",
|
|
2229
|
+
moduleName: CORE
|
|
2230
|
+
};
|
|
2102
2231
|
})();
|
|
2103
2232
|
(() => {
|
|
2104
|
-
_Identifiers.deferPrefetchOnHover = {
|
|
2233
|
+
_Identifiers.deferPrefetchOnHover = {
|
|
2234
|
+
name: "\u0275\u0275deferPrefetchOnHover",
|
|
2235
|
+
moduleName: CORE
|
|
2236
|
+
};
|
|
2105
2237
|
})();
|
|
2106
2238
|
(() => {
|
|
2107
|
-
_Identifiers.deferPrefetchOnInteraction = {
|
|
2239
|
+
_Identifiers.deferPrefetchOnInteraction = {
|
|
2240
|
+
name: "\u0275\u0275deferPrefetchOnInteraction",
|
|
2241
|
+
moduleName: CORE
|
|
2242
|
+
};
|
|
2108
2243
|
})();
|
|
2109
2244
|
(() => {
|
|
2110
|
-
_Identifiers.deferPrefetchOnViewport = {
|
|
2245
|
+
_Identifiers.deferPrefetchOnViewport = {
|
|
2246
|
+
name: "\u0275\u0275deferPrefetchOnViewport",
|
|
2247
|
+
moduleName: CORE
|
|
2248
|
+
};
|
|
2111
2249
|
})();
|
|
2112
2250
|
(() => {
|
|
2113
|
-
_Identifiers.deferEnableTimerScheduling = {
|
|
2251
|
+
_Identifiers.deferEnableTimerScheduling = {
|
|
2252
|
+
name: "\u0275\u0275deferEnableTimerScheduling",
|
|
2253
|
+
moduleName: CORE
|
|
2254
|
+
};
|
|
2114
2255
|
})();
|
|
2115
2256
|
(() => {
|
|
2116
2257
|
_Identifiers.conditional = { name: "\u0275\u0275conditional", moduleName: CORE };
|
|
@@ -2122,10 +2263,16 @@ var Identifiers = _Identifiers;
|
|
|
2122
2263
|
_Identifiers.repeaterCreate = { name: "\u0275\u0275repeaterCreate", moduleName: CORE };
|
|
2123
2264
|
})();
|
|
2124
2265
|
(() => {
|
|
2125
|
-
_Identifiers.repeaterTrackByIndex = {
|
|
2266
|
+
_Identifiers.repeaterTrackByIndex = {
|
|
2267
|
+
name: "\u0275\u0275repeaterTrackByIndex",
|
|
2268
|
+
moduleName: CORE
|
|
2269
|
+
};
|
|
2126
2270
|
})();
|
|
2127
2271
|
(() => {
|
|
2128
|
-
_Identifiers.repeaterTrackByIdentity = {
|
|
2272
|
+
_Identifiers.repeaterTrackByIdentity = {
|
|
2273
|
+
name: "\u0275\u0275repeaterTrackByIdentity",
|
|
2274
|
+
moduleName: CORE
|
|
2275
|
+
};
|
|
2129
2276
|
})();
|
|
2130
2277
|
(() => {
|
|
2131
2278
|
_Identifiers.componentInstance = { name: "\u0275\u0275componentInstance", moduleName: CORE };
|
|
@@ -2227,34 +2374,64 @@ var Identifiers = _Identifiers;
|
|
|
2227
2374
|
_Identifiers.property = { name: "\u0275\u0275property", moduleName: CORE };
|
|
2228
2375
|
})();
|
|
2229
2376
|
(() => {
|
|
2230
|
-
_Identifiers.propertyInterpolate = {
|
|
2377
|
+
_Identifiers.propertyInterpolate = {
|
|
2378
|
+
name: "\u0275\u0275propertyInterpolate",
|
|
2379
|
+
moduleName: CORE
|
|
2380
|
+
};
|
|
2231
2381
|
})();
|
|
2232
2382
|
(() => {
|
|
2233
|
-
_Identifiers.propertyInterpolate1 = {
|
|
2383
|
+
_Identifiers.propertyInterpolate1 = {
|
|
2384
|
+
name: "\u0275\u0275propertyInterpolate1",
|
|
2385
|
+
moduleName: CORE
|
|
2386
|
+
};
|
|
2234
2387
|
})();
|
|
2235
2388
|
(() => {
|
|
2236
|
-
_Identifiers.propertyInterpolate2 = {
|
|
2389
|
+
_Identifiers.propertyInterpolate2 = {
|
|
2390
|
+
name: "\u0275\u0275propertyInterpolate2",
|
|
2391
|
+
moduleName: CORE
|
|
2392
|
+
};
|
|
2237
2393
|
})();
|
|
2238
2394
|
(() => {
|
|
2239
|
-
_Identifiers.propertyInterpolate3 = {
|
|
2395
|
+
_Identifiers.propertyInterpolate3 = {
|
|
2396
|
+
name: "\u0275\u0275propertyInterpolate3",
|
|
2397
|
+
moduleName: CORE
|
|
2398
|
+
};
|
|
2240
2399
|
})();
|
|
2241
2400
|
(() => {
|
|
2242
|
-
_Identifiers.propertyInterpolate4 = {
|
|
2401
|
+
_Identifiers.propertyInterpolate4 = {
|
|
2402
|
+
name: "\u0275\u0275propertyInterpolate4",
|
|
2403
|
+
moduleName: CORE
|
|
2404
|
+
};
|
|
2243
2405
|
})();
|
|
2244
2406
|
(() => {
|
|
2245
|
-
_Identifiers.propertyInterpolate5 = {
|
|
2407
|
+
_Identifiers.propertyInterpolate5 = {
|
|
2408
|
+
name: "\u0275\u0275propertyInterpolate5",
|
|
2409
|
+
moduleName: CORE
|
|
2410
|
+
};
|
|
2246
2411
|
})();
|
|
2247
2412
|
(() => {
|
|
2248
|
-
_Identifiers.propertyInterpolate6 = {
|
|
2413
|
+
_Identifiers.propertyInterpolate6 = {
|
|
2414
|
+
name: "\u0275\u0275propertyInterpolate6",
|
|
2415
|
+
moduleName: CORE
|
|
2416
|
+
};
|
|
2249
2417
|
})();
|
|
2250
2418
|
(() => {
|
|
2251
|
-
_Identifiers.propertyInterpolate7 = {
|
|
2419
|
+
_Identifiers.propertyInterpolate7 = {
|
|
2420
|
+
name: "\u0275\u0275propertyInterpolate7",
|
|
2421
|
+
moduleName: CORE
|
|
2422
|
+
};
|
|
2252
2423
|
})();
|
|
2253
2424
|
(() => {
|
|
2254
|
-
_Identifiers.propertyInterpolate8 = {
|
|
2425
|
+
_Identifiers.propertyInterpolate8 = {
|
|
2426
|
+
name: "\u0275\u0275propertyInterpolate8",
|
|
2427
|
+
moduleName: CORE
|
|
2428
|
+
};
|
|
2255
2429
|
})();
|
|
2256
2430
|
(() => {
|
|
2257
|
-
_Identifiers.propertyInterpolateV = {
|
|
2431
|
+
_Identifiers.propertyInterpolateV = {
|
|
2432
|
+
name: "\u0275\u0275propertyInterpolateV",
|
|
2433
|
+
moduleName: CORE
|
|
2434
|
+
};
|
|
2258
2435
|
})();
|
|
2259
2436
|
(() => {
|
|
2260
2437
|
_Identifiers.i18n = { name: "\u0275\u0275i18n", moduleName: CORE };
|
|
@@ -2305,7 +2482,10 @@ var Identifiers = _Identifiers;
|
|
|
2305
2482
|
_Identifiers.invalidFactoryDep = { name: "\u0275\u0275invalidFactoryDep", moduleName: CORE };
|
|
2306
2483
|
})();
|
|
2307
2484
|
(() => {
|
|
2308
|
-
_Identifiers.templateRefExtractor = {
|
|
2485
|
+
_Identifiers.templateRefExtractor = {
|
|
2486
|
+
name: "\u0275\u0275templateRefExtractor",
|
|
2487
|
+
moduleName: CORE
|
|
2488
|
+
};
|
|
2309
2489
|
})();
|
|
2310
2490
|
(() => {
|
|
2311
2491
|
_Identifiers.forwardRef = { name: "forwardRef", moduleName: CORE };
|
|
@@ -2320,7 +2500,10 @@ var Identifiers = _Identifiers;
|
|
|
2320
2500
|
_Identifiers.declareInjectable = { name: "\u0275\u0275ngDeclareInjectable", moduleName: CORE };
|
|
2321
2501
|
})();
|
|
2322
2502
|
(() => {
|
|
2323
|
-
_Identifiers.InjectableDeclaration = {
|
|
2503
|
+
_Identifiers.InjectableDeclaration = {
|
|
2504
|
+
name: "\u0275\u0275InjectableDeclaration",
|
|
2505
|
+
moduleName: CORE
|
|
2506
|
+
};
|
|
2324
2507
|
})();
|
|
2325
2508
|
(() => {
|
|
2326
2509
|
_Identifiers.resolveWindow = { name: "\u0275\u0275resolveWindow", moduleName: CORE };
|
|
@@ -2332,7 +2515,10 @@ var Identifiers = _Identifiers;
|
|
|
2332
2515
|
_Identifiers.resolveBody = { name: "\u0275\u0275resolveBody", moduleName: CORE };
|
|
2333
2516
|
})();
|
|
2334
2517
|
(() => {
|
|
2335
|
-
_Identifiers.getComponentDepsFactory = {
|
|
2518
|
+
_Identifiers.getComponentDepsFactory = {
|
|
2519
|
+
name: "\u0275\u0275getComponentDepsFactory",
|
|
2520
|
+
moduleName: CORE
|
|
2521
|
+
};
|
|
2336
2522
|
})();
|
|
2337
2523
|
(() => {
|
|
2338
2524
|
_Identifiers.defineComponent = { name: "\u0275\u0275defineComponent", moduleName: CORE };
|
|
@@ -2389,7 +2575,10 @@ var Identifiers = _Identifiers;
|
|
|
2389
2575
|
_Identifiers.InjectorDef = { name: "\u0275\u0275InjectorDef", moduleName: CORE };
|
|
2390
2576
|
})();
|
|
2391
2577
|
(() => {
|
|
2392
|
-
_Identifiers.InjectorDeclaration = {
|
|
2578
|
+
_Identifiers.InjectorDeclaration = {
|
|
2579
|
+
name: "\u0275\u0275InjectorDeclaration",
|
|
2580
|
+
moduleName: CORE
|
|
2581
|
+
};
|
|
2393
2582
|
})();
|
|
2394
2583
|
(() => {
|
|
2395
2584
|
_Identifiers.defineInjector = { name: "\u0275\u0275defineInjector", moduleName: CORE };
|
|
@@ -2419,7 +2608,10 @@ var Identifiers = _Identifiers;
|
|
|
2419
2608
|
_Identifiers.setNgModuleScope = { name: "\u0275\u0275setNgModuleScope", moduleName: CORE };
|
|
2420
2609
|
})();
|
|
2421
2610
|
(() => {
|
|
2422
|
-
_Identifiers.registerNgModuleType = {
|
|
2611
|
+
_Identifiers.registerNgModuleType = {
|
|
2612
|
+
name: "\u0275\u0275registerNgModuleType",
|
|
2613
|
+
moduleName: CORE
|
|
2614
|
+
};
|
|
2423
2615
|
})();
|
|
2424
2616
|
(() => {
|
|
2425
2617
|
_Identifiers.PipeDeclaration = { name: "\u0275\u0275PipeDeclaration", moduleName: CORE };
|
|
@@ -2431,16 +2623,25 @@ var Identifiers = _Identifiers;
|
|
|
2431
2623
|
_Identifiers.declarePipe = { name: "\u0275\u0275ngDeclarePipe", moduleName: CORE };
|
|
2432
2624
|
})();
|
|
2433
2625
|
(() => {
|
|
2434
|
-
_Identifiers.declareClassMetadata = {
|
|
2626
|
+
_Identifiers.declareClassMetadata = {
|
|
2627
|
+
name: "\u0275\u0275ngDeclareClassMetadata",
|
|
2628
|
+
moduleName: CORE
|
|
2629
|
+
};
|
|
2435
2630
|
})();
|
|
2436
2631
|
(() => {
|
|
2437
|
-
_Identifiers.declareClassMetadataAsync = {
|
|
2632
|
+
_Identifiers.declareClassMetadataAsync = {
|
|
2633
|
+
name: "\u0275\u0275ngDeclareClassMetadataAsync",
|
|
2634
|
+
moduleName: CORE
|
|
2635
|
+
};
|
|
2438
2636
|
})();
|
|
2439
2637
|
(() => {
|
|
2440
2638
|
_Identifiers.setClassMetadata = { name: "\u0275setClassMetadata", moduleName: CORE };
|
|
2441
2639
|
})();
|
|
2442
2640
|
(() => {
|
|
2443
|
-
_Identifiers.setClassMetadataAsync = {
|
|
2641
|
+
_Identifiers.setClassMetadataAsync = {
|
|
2642
|
+
name: "\u0275setClassMetadataAsync",
|
|
2643
|
+
moduleName: CORE
|
|
2644
|
+
};
|
|
2444
2645
|
})();
|
|
2445
2646
|
(() => {
|
|
2446
2647
|
_Identifiers.setClassDebugInfo = { name: "\u0275setClassDebugInfo", moduleName: CORE };
|
|
@@ -2479,10 +2680,16 @@ var Identifiers = _Identifiers;
|
|
|
2479
2680
|
_Identifiers.NgOnChangesFeature = { name: "\u0275\u0275NgOnChangesFeature", moduleName: CORE };
|
|
2480
2681
|
})();
|
|
2481
2682
|
(() => {
|
|
2482
|
-
_Identifiers.InheritDefinitionFeature = {
|
|
2683
|
+
_Identifiers.InheritDefinitionFeature = {
|
|
2684
|
+
name: "\u0275\u0275InheritDefinitionFeature",
|
|
2685
|
+
moduleName: CORE
|
|
2686
|
+
};
|
|
2483
2687
|
})();
|
|
2484
2688
|
(() => {
|
|
2485
|
-
_Identifiers.CopyDefinitionFeature = {
|
|
2689
|
+
_Identifiers.CopyDefinitionFeature = {
|
|
2690
|
+
name: "\u0275\u0275CopyDefinitionFeature",
|
|
2691
|
+
moduleName: CORE
|
|
2692
|
+
};
|
|
2486
2693
|
})();
|
|
2487
2694
|
(() => {
|
|
2488
2695
|
_Identifiers.StandaloneFeature = { name: "\u0275\u0275StandaloneFeature", moduleName: CORE };
|
|
@@ -2491,10 +2698,16 @@ var Identifiers = _Identifiers;
|
|
|
2491
2698
|
_Identifiers.ProvidersFeature = { name: "\u0275\u0275ProvidersFeature", moduleName: CORE };
|
|
2492
2699
|
})();
|
|
2493
2700
|
(() => {
|
|
2494
|
-
_Identifiers.HostDirectivesFeature = {
|
|
2701
|
+
_Identifiers.HostDirectivesFeature = {
|
|
2702
|
+
name: "\u0275\u0275HostDirectivesFeature",
|
|
2703
|
+
moduleName: CORE
|
|
2704
|
+
};
|
|
2495
2705
|
})();
|
|
2496
2706
|
(() => {
|
|
2497
|
-
_Identifiers.InputTransformsFeatureFeature = {
|
|
2707
|
+
_Identifiers.InputTransformsFeatureFeature = {
|
|
2708
|
+
name: "\u0275\u0275InputTransformsFeature",
|
|
2709
|
+
moduleName: CORE
|
|
2710
|
+
};
|
|
2498
2711
|
})();
|
|
2499
2712
|
(() => {
|
|
2500
2713
|
_Identifiers.listener = { name: "\u0275\u0275listener", moduleName: CORE };
|
|
@@ -2512,7 +2725,10 @@ var Identifiers = _Identifiers;
|
|
|
2512
2725
|
_Identifiers.sanitizeStyle = { name: "\u0275\u0275sanitizeStyle", moduleName: CORE };
|
|
2513
2726
|
})();
|
|
2514
2727
|
(() => {
|
|
2515
|
-
_Identifiers.sanitizeResourceUrl = {
|
|
2728
|
+
_Identifiers.sanitizeResourceUrl = {
|
|
2729
|
+
name: "\u0275\u0275sanitizeResourceUrl",
|
|
2730
|
+
moduleName: CORE
|
|
2731
|
+
};
|
|
2516
2732
|
})();
|
|
2517
2733
|
(() => {
|
|
2518
2734
|
_Identifiers.sanitizeScript = { name: "\u0275\u0275sanitizeScript", moduleName: CORE };
|
|
@@ -2521,16 +2737,25 @@ var Identifiers = _Identifiers;
|
|
|
2521
2737
|
_Identifiers.sanitizeUrl = { name: "\u0275\u0275sanitizeUrl", moduleName: CORE };
|
|
2522
2738
|
})();
|
|
2523
2739
|
(() => {
|
|
2524
|
-
_Identifiers.sanitizeUrlOrResourceUrl = {
|
|
2740
|
+
_Identifiers.sanitizeUrlOrResourceUrl = {
|
|
2741
|
+
name: "\u0275\u0275sanitizeUrlOrResourceUrl",
|
|
2742
|
+
moduleName: CORE
|
|
2743
|
+
};
|
|
2525
2744
|
})();
|
|
2526
2745
|
(() => {
|
|
2527
2746
|
_Identifiers.trustConstantHtml = { name: "\u0275\u0275trustConstantHtml", moduleName: CORE };
|
|
2528
2747
|
})();
|
|
2529
2748
|
(() => {
|
|
2530
|
-
_Identifiers.trustConstantResourceUrl = {
|
|
2749
|
+
_Identifiers.trustConstantResourceUrl = {
|
|
2750
|
+
name: "\u0275\u0275trustConstantResourceUrl",
|
|
2751
|
+
moduleName: CORE
|
|
2752
|
+
};
|
|
2531
2753
|
})();
|
|
2532
2754
|
(() => {
|
|
2533
|
-
_Identifiers.validateIframeAttribute = {
|
|
2755
|
+
_Identifiers.validateIframeAttribute = {
|
|
2756
|
+
name: "\u0275\u0275validateIframeAttribute",
|
|
2757
|
+
moduleName: CORE
|
|
2758
|
+
};
|
|
2534
2759
|
})();
|
|
2535
2760
|
(() => {
|
|
2536
2761
|
_Identifiers.InputSignalBrandWriteType = { name: "\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE", moduleName: CORE };
|
|
@@ -2542,7 +2767,7 @@ var Identifiers = _Identifiers;
|
|
|
2542
2767
|
_Identifiers.unwrapWritableSignal = { name: "\u0275unwrapWritableSignal", moduleName: CORE };
|
|
2543
2768
|
})();
|
|
2544
2769
|
|
|
2545
|
-
// bazel-out/
|
|
2770
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
|
|
2546
2771
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
2547
2772
|
function dashCaseToCamelCase(input) {
|
|
2548
2773
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -2619,7 +2844,7 @@ var Version = class {
|
|
|
2619
2844
|
};
|
|
2620
2845
|
var _global = globalThis;
|
|
2621
2846
|
|
|
2622
|
-
// bazel-out/
|
|
2847
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
2623
2848
|
var VERSION = 3;
|
|
2624
2849
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
2625
2850
|
var SourceMapGenerator = class {
|
|
@@ -2748,7 +2973,7 @@ function toBase64Digit(value) {
|
|
|
2748
2973
|
return B64_DIGITS[value];
|
|
2749
2974
|
}
|
|
2750
2975
|
|
|
2751
|
-
// bazel-out/
|
|
2976
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
2752
2977
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
2753
2978
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
2754
2979
|
var _INDENT_WITH = " ";
|
|
@@ -3236,7 +3461,7 @@ function _createIndent(count) {
|
|
|
3236
3461
|
return res;
|
|
3237
3462
|
}
|
|
3238
3463
|
|
|
3239
|
-
// bazel-out/
|
|
3464
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
3240
3465
|
function typeWithParameters(type, numParams) {
|
|
3241
3466
|
if (numParams === 0) {
|
|
3242
3467
|
return expressionType(type);
|
|
@@ -3291,7 +3516,7 @@ function generateForwardRef(expr) {
|
|
|
3291
3516
|
return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
|
|
3292
3517
|
}
|
|
3293
3518
|
|
|
3294
|
-
// bazel-out/
|
|
3519
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
3295
3520
|
var R3FactoryDelegateType;
|
|
3296
3521
|
(function(R3FactoryDelegateType2) {
|
|
3297
3522
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -3347,10 +3572,7 @@ function compileFactoryFunction(meta) {
|
|
|
3347
3572
|
}
|
|
3348
3573
|
let factoryFn = fn([new FnParam("t", DYNAMIC_TYPE)], body, INFERRED_TYPE, void 0, `${meta.name}_Factory`);
|
|
3349
3574
|
if (baseFactoryVar !== null) {
|
|
3350
|
-
factoryFn = arrowFn([], [
|
|
3351
|
-
new DeclareVarStmt(baseFactoryVar.name),
|
|
3352
|
-
new ReturnStatement(factoryFn)
|
|
3353
|
-
]).callFn([], void 0, true);
|
|
3575
|
+
factoryFn = arrowFn([], [new DeclareVarStmt(baseFactoryVar.name), new ReturnStatement(factoryFn)]).callFn([], void 0, true);
|
|
3354
3576
|
}
|
|
3355
3577
|
return {
|
|
3356
3578
|
expression: factoryFn,
|
|
@@ -3360,7 +3582,10 @@ function compileFactoryFunction(meta) {
|
|
|
3360
3582
|
}
|
|
3361
3583
|
function createFactoryType(meta) {
|
|
3362
3584
|
const ctorDepsType = meta.deps !== null && meta.deps !== "invalid" ? createCtorDepsType(meta.deps) : NONE_TYPE;
|
|
3363
|
-
return expressionType(importExpr(Identifiers.FactoryDeclaration, [
|
|
3585
|
+
return expressionType(importExpr(Identifiers.FactoryDeclaration, [
|
|
3586
|
+
typeWithParameters(meta.type.type, meta.typeArgumentCount),
|
|
3587
|
+
ctorDepsType
|
|
3588
|
+
]));
|
|
3364
3589
|
}
|
|
3365
3590
|
function injectDependencies(deps, target) {
|
|
3366
3591
|
return deps.map((dep, index) => compileInjectDependency(dep, target, index));
|
|
@@ -3436,7 +3661,7 @@ function getInjectFn(target) {
|
|
|
3436
3661
|
}
|
|
3437
3662
|
}
|
|
3438
3663
|
|
|
3439
|
-
// bazel-out/
|
|
3664
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
3440
3665
|
var ParserError = class {
|
|
3441
3666
|
constructor(message, input, errLocation, ctxLocation) {
|
|
3442
3667
|
this.input = input;
|
|
@@ -3874,7 +4099,7 @@ var BoundElementProperty = class {
|
|
|
3874
4099
|
}
|
|
3875
4100
|
};
|
|
3876
4101
|
|
|
3877
|
-
// bazel-out/
|
|
4102
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
3878
4103
|
var TagContentType;
|
|
3879
4104
|
(function(TagContentType2) {
|
|
3880
4105
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -3911,7 +4136,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
3911
4136
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
3912
4137
|
}
|
|
3913
4138
|
|
|
3914
|
-
// bazel-out/
|
|
4139
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
3915
4140
|
var Comment = class {
|
|
3916
4141
|
constructor(value, sourceSpan) {
|
|
3917
4142
|
this.value = value;
|
|
@@ -4293,7 +4518,7 @@ function visitAll(visitor, nodes) {
|
|
|
4293
4518
|
return result;
|
|
4294
4519
|
}
|
|
4295
4520
|
|
|
4296
|
-
// bazel-out/
|
|
4521
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
4297
4522
|
var Message = class {
|
|
4298
4523
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
4299
4524
|
this.nodes = nodes;
|
|
@@ -4306,13 +4531,15 @@ var Message = class {
|
|
|
4306
4531
|
this.id = this.customId;
|
|
4307
4532
|
this.messageString = serializeMessage(this.nodes);
|
|
4308
4533
|
if (nodes.length) {
|
|
4309
|
-
this.sources = [
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4534
|
+
this.sources = [
|
|
4535
|
+
{
|
|
4536
|
+
filePath: nodes[0].sourceSpan.start.file.url,
|
|
4537
|
+
startLine: nodes[0].sourceSpan.start.line + 1,
|
|
4538
|
+
startCol: nodes[0].sourceSpan.start.col + 1,
|
|
4539
|
+
endLine: nodes[nodes.length - 1].sourceSpan.end.line + 1,
|
|
4540
|
+
endCol: nodes[0].sourceSpan.start.col + 1
|
|
4541
|
+
}
|
|
4542
|
+
];
|
|
4316
4543
|
} else {
|
|
4317
4544
|
this.sources = [];
|
|
4318
4545
|
}
|
|
@@ -4431,7 +4658,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
4431
4658
|
}
|
|
4432
4659
|
};
|
|
4433
4660
|
|
|
4434
|
-
// bazel-out/
|
|
4661
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
4435
4662
|
var _Visitor = class {
|
|
4436
4663
|
visitTag(tag) {
|
|
4437
4664
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -4459,12 +4686,12 @@ ${doctype.dtd}
|
|
|
4459
4686
|
};
|
|
4460
4687
|
var _visitor = new _Visitor();
|
|
4461
4688
|
|
|
4462
|
-
// bazel-out/
|
|
4689
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
4463
4690
|
function toPublicName(internalName) {
|
|
4464
4691
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
4465
4692
|
}
|
|
4466
4693
|
|
|
4467
|
-
// bazel-out/
|
|
4694
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
4468
4695
|
var I18N_ATTR = "i18n";
|
|
4469
4696
|
var I18N_ATTR_PREFIX = "i18n-";
|
|
4470
4697
|
var I18N_ICU_VAR_PREFIX = "VAR_";
|
|
@@ -4504,7 +4731,7 @@ function formatI18nPlaceholderName(name, useCamelCase = true) {
|
|
|
4504
4731
|
return postfix ? `${raw}_${postfix}` : raw;
|
|
4505
4732
|
}
|
|
4506
4733
|
|
|
4507
|
-
// bazel-out/
|
|
4734
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
4508
4735
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
4509
4736
|
var TEMPORARY_NAME = "_t";
|
|
4510
4737
|
var CONTEXT_NAME = "ctx";
|
|
@@ -4631,7 +4858,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
|
|
|
4631
4858
|
return attributesMap;
|
|
4632
4859
|
}
|
|
4633
4860
|
|
|
4634
|
-
// bazel-out/
|
|
4861
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
4635
4862
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
4636
4863
|
let result = null;
|
|
4637
4864
|
const factoryMeta = {
|
|
@@ -4700,7 +4927,9 @@ function compileInjectable(meta, resolveForwardRefs) {
|
|
|
4700
4927
|
};
|
|
4701
4928
|
}
|
|
4702
4929
|
function createInjectableType(meta) {
|
|
4703
|
-
return new ExpressionType(importExpr(Identifiers.InjectableDeclaration, [
|
|
4930
|
+
return new ExpressionType(importExpr(Identifiers.InjectableDeclaration, [
|
|
4931
|
+
typeWithParameters(meta.type.type, meta.typeArgumentCount)
|
|
4932
|
+
]));
|
|
4704
4933
|
}
|
|
4705
4934
|
function delegateToFactory(type, useType, unwrapForwardRefs) {
|
|
4706
4935
|
if (type.node === useType.node) {
|
|
@@ -4716,7 +4945,7 @@ function createFactoryFunction(type) {
|
|
|
4716
4945
|
return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
|
|
4717
4946
|
}
|
|
4718
4947
|
|
|
4719
|
-
// bazel-out/
|
|
4948
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
4720
4949
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
4721
4950
|
/^\s*$/,
|
|
4722
4951
|
/[<>]/,
|
|
@@ -4738,7 +4967,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
4738
4967
|
}
|
|
4739
4968
|
}
|
|
4740
4969
|
|
|
4741
|
-
// bazel-out/
|
|
4970
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
|
|
4742
4971
|
var InterpolationConfig = class {
|
|
4743
4972
|
static fromArray(markers) {
|
|
4744
4973
|
if (!markers) {
|
|
@@ -4755,7 +4984,7 @@ var InterpolationConfig = class {
|
|
|
4755
4984
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
4756
4985
|
var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
|
|
4757
4986
|
|
|
4758
|
-
// bazel-out/
|
|
4987
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
4759
4988
|
var $EOF = 0;
|
|
4760
4989
|
var $BSPACE = 8;
|
|
4761
4990
|
var $TAB = 9;
|
|
@@ -4837,7 +5066,7 @@ function isQuote(code) {
|
|
|
4837
5066
|
return code === $SQ || code === $DQ || code === $BT;
|
|
4838
5067
|
}
|
|
4839
5068
|
|
|
4840
|
-
// bazel-out/
|
|
5069
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
4841
5070
|
var ParseLocation = class {
|
|
4842
5071
|
constructor(file, offset, line, col) {
|
|
4843
5072
|
this.file = file;
|
|
@@ -4984,7 +5213,7 @@ function sanitizeIdentifier(name) {
|
|
|
4984
5213
|
return name.replace(/\W/g, "_");
|
|
4985
5214
|
}
|
|
4986
5215
|
|
|
4987
|
-
// bazel-out/
|
|
5216
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
4988
5217
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
4989
5218
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
4990
5219
|
constructor() {
|
|
@@ -5077,7 +5306,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
5077
5306
|
}
|
|
5078
5307
|
};
|
|
5079
5308
|
|
|
5080
|
-
// bazel-out/
|
|
5309
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
5081
5310
|
var policy;
|
|
5082
5311
|
function getPolicy() {
|
|
5083
5312
|
if (policy === void 0) {
|
|
@@ -5115,16 +5344,13 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
5115
5344
|
return fn2.bind(_global);
|
|
5116
5345
|
}
|
|
5117
5346
|
|
|
5118
|
-
// bazel-out/
|
|
5347
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
5119
5348
|
var JitEvaluator = class {
|
|
5120
5349
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
5121
5350
|
const converter = new JitEmitterVisitor(refResolver);
|
|
5122
5351
|
const ctx = EmitterVisitorContext.createRoot();
|
|
5123
5352
|
if (statements.length > 0 && !isUseStrictStatement(statements[0])) {
|
|
5124
|
-
statements = [
|
|
5125
|
-
literal("use strict").toStmt(),
|
|
5126
|
-
...statements
|
|
5127
|
-
];
|
|
5353
|
+
statements = [literal("use strict").toStmt(), ...statements];
|
|
5128
5354
|
}
|
|
5129
5355
|
converter.visitAllStatements(statements, ctx);
|
|
5130
5356
|
converter.createReturnStmt(ctx);
|
|
@@ -5206,7 +5432,7 @@ function isUseStrictStatement(statement) {
|
|
|
5206
5432
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
5207
5433
|
}
|
|
5208
5434
|
|
|
5209
|
-
// bazel-out/
|
|
5435
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
5210
5436
|
function compileInjector(meta) {
|
|
5211
5437
|
const definitionMap = new DefinitionMap();
|
|
5212
5438
|
if (meta.providers !== null) {
|
|
@@ -5223,7 +5449,7 @@ function createInjectorType(meta) {
|
|
|
5223
5449
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
5224
5450
|
}
|
|
5225
5451
|
|
|
5226
|
-
// bazel-out/
|
|
5452
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
5227
5453
|
var R3JitReflector = class {
|
|
5228
5454
|
constructor(context) {
|
|
5229
5455
|
this.context = context;
|
|
@@ -5239,7 +5465,7 @@ var R3JitReflector = class {
|
|
|
5239
5465
|
}
|
|
5240
5466
|
};
|
|
5241
5467
|
|
|
5242
|
-
// bazel-out/
|
|
5468
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
5243
5469
|
var R3SelectorScopeMode;
|
|
5244
5470
|
(function(R3SelectorScopeMode2) {
|
|
5245
5471
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -5361,14 +5587,8 @@ function generateSetNgModuleScopeCall(meta) {
|
|
|
5361
5587
|
[meta.type.value, scopeMap.toLiteralMap()]
|
|
5362
5588
|
);
|
|
5363
5589
|
const guardedCall = jitOnlyGuardedExpression(fnCall);
|
|
5364
|
-
const iife = new FunctionExpr(
|
|
5365
|
-
|
|
5366
|
-
[guardedCall.toStmt()]
|
|
5367
|
-
);
|
|
5368
|
-
const iifeCall = new InvokeFunctionExpr(
|
|
5369
|
-
iife,
|
|
5370
|
-
[]
|
|
5371
|
-
);
|
|
5590
|
+
const iife = new FunctionExpr([], [guardedCall.toStmt()]);
|
|
5591
|
+
const iifeCall = new InvokeFunctionExpr(iife, []);
|
|
5372
5592
|
return iifeCall.toStmt();
|
|
5373
5593
|
}
|
|
5374
5594
|
function tupleTypeOf(exp) {
|
|
@@ -5380,7 +5600,7 @@ function tupleOfTypes(types) {
|
|
|
5380
5600
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
5381
5601
|
}
|
|
5382
5602
|
|
|
5383
|
-
// bazel-out/
|
|
5603
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
5384
5604
|
function compilePipeFromMetadata(metadata) {
|
|
5385
5605
|
const definitionMapValues = [];
|
|
5386
5606
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -5401,7 +5621,7 @@ function createPipeType(metadata) {
|
|
|
5401
5621
|
]));
|
|
5402
5622
|
}
|
|
5403
5623
|
|
|
5404
|
-
// bazel-out/
|
|
5624
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
5405
5625
|
var R3TemplateDependencyKind;
|
|
5406
5626
|
(function(R3TemplateDependencyKind2) {
|
|
5407
5627
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -5409,7 +5629,7 @@ var R3TemplateDependencyKind;
|
|
|
5409
5629
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
5410
5630
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
5411
5631
|
|
|
5412
|
-
// bazel-out/
|
|
5632
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
5413
5633
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
5414
5634
|
"inherit",
|
|
5415
5635
|
"initial",
|
|
@@ -5439,7 +5659,15 @@ var animationKeywords = /* @__PURE__ */ new Set([
|
|
|
5439
5659
|
"jump-start",
|
|
5440
5660
|
"start"
|
|
5441
5661
|
]);
|
|
5442
|
-
var scopedAtRuleIdentifiers = [
|
|
5662
|
+
var scopedAtRuleIdentifiers = [
|
|
5663
|
+
"@media",
|
|
5664
|
+
"@supports",
|
|
5665
|
+
"@document",
|
|
5666
|
+
"@layer",
|
|
5667
|
+
"@container",
|
|
5668
|
+
"@scope",
|
|
5669
|
+
"@starting-style"
|
|
5670
|
+
];
|
|
5443
5671
|
var ShadowCss = class {
|
|
5444
5672
|
constructor() {
|
|
5445
5673
|
this._animationDeclarationKeyframesRe = /(^|\s+)(?:(?:(['"])((?:\\\\|\\\2|(?!\2).)+)\2)|(-?[A-Za-z][\w\-]*))(?=[,\s]|$)/g;
|
|
@@ -5881,7 +6109,7 @@ function repeatGroups(groups, multiples) {
|
|
|
5881
6109
|
}
|
|
5882
6110
|
}
|
|
5883
6111
|
|
|
5884
|
-
// bazel-out/
|
|
6112
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
5885
6113
|
var OpKind;
|
|
5886
6114
|
(function(OpKind2) {
|
|
5887
6115
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -6035,7 +6263,7 @@ var TemplateKind;
|
|
|
6035
6263
|
TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
|
|
6036
6264
|
})(TemplateKind || (TemplateKind = {}));
|
|
6037
6265
|
|
|
6038
|
-
// bazel-out/
|
|
6266
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
6039
6267
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
6040
6268
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
6041
6269
|
var ConsumesVarsTrait = Symbol("ConsumesVars");
|
|
@@ -6063,7 +6291,7 @@ function hasUsesVarOffsetTrait(expr) {
|
|
|
6063
6291
|
return expr[UsesVarOffset] === true;
|
|
6064
6292
|
}
|
|
6065
6293
|
|
|
6066
|
-
// bazel-out/
|
|
6294
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
6067
6295
|
function createStatementOp(statement) {
|
|
6068
6296
|
return __spreadValues({
|
|
6069
6297
|
kind: OpKind.Statement,
|
|
@@ -6085,7 +6313,7 @@ var NEW_OP = {
|
|
|
6085
6313
|
next: null
|
|
6086
6314
|
};
|
|
6087
6315
|
|
|
6088
|
-
// bazel-out/
|
|
6316
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
6089
6317
|
function createInterpolateTextOp(xref, interpolation, sourceSpan) {
|
|
6090
6318
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
6091
6319
|
kind: OpKind.InterpolateText,
|
|
@@ -6211,11 +6439,10 @@ function createAdvanceOp(delta, sourceSpan) {
|
|
|
6211
6439
|
sourceSpan
|
|
6212
6440
|
}, NEW_OP);
|
|
6213
6441
|
}
|
|
6214
|
-
function createConditionalOp(target,
|
|
6442
|
+
function createConditionalOp(target, test, conditions, sourceSpan) {
|
|
6215
6443
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
6216
6444
|
kind: OpKind.Conditional,
|
|
6217
6445
|
target,
|
|
6218
|
-
targetSlot,
|
|
6219
6446
|
test,
|
|
6220
6447
|
conditions,
|
|
6221
6448
|
processed: null,
|
|
@@ -6266,7 +6493,7 @@ function createI18nApplyOp(owner, handle, sourceSpan) {
|
|
|
6266
6493
|
}, NEW_OP);
|
|
6267
6494
|
}
|
|
6268
6495
|
|
|
6269
|
-
// bazel-out/
|
|
6496
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
6270
6497
|
var _a;
|
|
6271
6498
|
var _b;
|
|
6272
6499
|
var _c;
|
|
@@ -7128,7 +7355,7 @@ function isStringLiteral(expr) {
|
|
|
7128
7355
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
7129
7356
|
}
|
|
7130
7357
|
|
|
7131
|
-
// bazel-out/
|
|
7358
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
7132
7359
|
var _OpList = class {
|
|
7133
7360
|
constructor() {
|
|
7134
7361
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -7319,14 +7546,14 @@ var OpList = _OpList;
|
|
|
7319
7546
|
_OpList.nextListId = 0;
|
|
7320
7547
|
})();
|
|
7321
7548
|
|
|
7322
|
-
// bazel-out/
|
|
7549
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
7323
7550
|
var SlotHandle = class {
|
|
7324
7551
|
constructor() {
|
|
7325
7552
|
this.slot = null;
|
|
7326
7553
|
}
|
|
7327
7554
|
};
|
|
7328
7555
|
|
|
7329
|
-
// bazel-out/
|
|
7556
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
7330
7557
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
7331
7558
|
OpKind.Element,
|
|
7332
7559
|
OpKind.ElementStart,
|
|
@@ -7630,7 +7857,7 @@ function createI18nAttributesOp(xref, handle, target) {
|
|
|
7630
7857
|
}, NEW_OP), TRAIT_CONSUMES_SLOT);
|
|
7631
7858
|
}
|
|
7632
7859
|
|
|
7633
|
-
// bazel-out/
|
|
7860
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
7634
7861
|
function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
|
|
7635
7862
|
return __spreadValues(__spreadValues({
|
|
7636
7863
|
kind: OpKind.HostProperty,
|
|
@@ -7644,10 +7871,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
|
|
|
7644
7871
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
7645
7872
|
}
|
|
7646
7873
|
|
|
7647
|
-
// bazel-out/
|
|
7874
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
7648
7875
|
var CTX_REF = "CTX_REF_MARKER";
|
|
7649
7876
|
|
|
7650
|
-
// bazel-out/
|
|
7877
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
7651
7878
|
var CompilationJobKind;
|
|
7652
7879
|
(function(CompilationJobKind2) {
|
|
7653
7880
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -7755,7 +7982,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
7755
7982
|
}
|
|
7756
7983
|
};
|
|
7757
7984
|
|
|
7758
|
-
// bazel-out/
|
|
7985
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
7759
7986
|
function deleteAnyCasts(job) {
|
|
7760
7987
|
for (const unit of job.units) {
|
|
7761
7988
|
for (const op of unit.ops()) {
|
|
@@ -7773,7 +8000,7 @@ function removeAnys(e) {
|
|
|
7773
8000
|
return e;
|
|
7774
8001
|
}
|
|
7775
8002
|
|
|
7776
|
-
// bazel-out/
|
|
8003
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
7777
8004
|
function applyI18nExpressions(job) {
|
|
7778
8005
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
7779
8006
|
for (const unit of job.units) {
|
|
@@ -7816,7 +8043,7 @@ function needsApplication(i18nContexts, op) {
|
|
|
7816
8043
|
return false;
|
|
7817
8044
|
}
|
|
7818
8045
|
|
|
7819
|
-
// bazel-out/
|
|
8046
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
7820
8047
|
function assignI18nSlotDependencies(job) {
|
|
7821
8048
|
for (const unit of job.units) {
|
|
7822
8049
|
let updateOp = unit.update.head;
|
|
@@ -7861,7 +8088,7 @@ function assignI18nSlotDependencies(job) {
|
|
|
7861
8088
|
}
|
|
7862
8089
|
}
|
|
7863
8090
|
|
|
7864
|
-
// bazel-out/
|
|
8091
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
7865
8092
|
function createOpXrefMap(unit) {
|
|
7866
8093
|
const map = /* @__PURE__ */ new Map();
|
|
7867
8094
|
for (const op of unit.create) {
|
|
@@ -7876,7 +8103,7 @@ function createOpXrefMap(unit) {
|
|
|
7876
8103
|
return map;
|
|
7877
8104
|
}
|
|
7878
8105
|
|
|
7879
|
-
// bazel-out/
|
|
8106
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
7880
8107
|
function extractAttributes(job) {
|
|
7881
8108
|
for (const unit of job.units) {
|
|
7882
8109
|
const elements = createOpXrefMap(unit);
|
|
@@ -8005,7 +8232,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
8005
8232
|
}
|
|
8006
8233
|
}
|
|
8007
8234
|
|
|
8008
|
-
// bazel-out/
|
|
8235
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
8009
8236
|
function lookupElement2(elements, xref) {
|
|
8010
8237
|
const el = elements.get(xref);
|
|
8011
8238
|
if (el === void 0) {
|
|
@@ -8062,7 +8289,7 @@ function specializeBindings(job) {
|
|
|
8062
8289
|
}
|
|
8063
8290
|
}
|
|
8064
8291
|
|
|
8065
|
-
// bazel-out/
|
|
8292
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
8066
8293
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
8067
8294
|
Identifiers.attribute,
|
|
8068
8295
|
Identifiers.classProp,
|
|
@@ -8130,7 +8357,7 @@ function chainOperationsInList(opList) {
|
|
|
8130
8357
|
}
|
|
8131
8358
|
}
|
|
8132
8359
|
|
|
8133
|
-
// bazel-out/
|
|
8360
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
8134
8361
|
function collapseSingletonInterpolations(job) {
|
|
8135
8362
|
for (const unit of job.units) {
|
|
8136
8363
|
for (const op of unit.update) {
|
|
@@ -8142,7 +8369,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
8142
8369
|
}
|
|
8143
8370
|
}
|
|
8144
8371
|
|
|
8145
|
-
// bazel-out/
|
|
8372
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
8146
8373
|
function generateConditionalExpressions(job) {
|
|
8147
8374
|
for (const unit of job.units) {
|
|
8148
8375
|
for (const op of unit.ops()) {
|
|
@@ -8179,7 +8406,7 @@ function generateConditionalExpressions(job) {
|
|
|
8179
8406
|
}
|
|
8180
8407
|
}
|
|
8181
8408
|
|
|
8182
|
-
// bazel-out/
|
|
8409
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
8183
8410
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
8184
8411
|
["&&", BinaryOperator.And],
|
|
8185
8412
|
[">", BinaryOperator.Bigger],
|
|
@@ -8202,14 +8429,20 @@ var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
|
8202
8429
|
]);
|
|
8203
8430
|
function namespaceForKey(namespacePrefixKey) {
|
|
8204
8431
|
var _a2;
|
|
8205
|
-
const NAMESPACES = /* @__PURE__ */ new Map([
|
|
8432
|
+
const NAMESPACES = /* @__PURE__ */ new Map([
|
|
8433
|
+
["svg", Namespace.SVG],
|
|
8434
|
+
["math", Namespace.Math]
|
|
8435
|
+
]);
|
|
8206
8436
|
if (namespacePrefixKey === null) {
|
|
8207
8437
|
return Namespace.HTML;
|
|
8208
8438
|
}
|
|
8209
8439
|
return (_a2 = NAMESPACES.get(namespacePrefixKey)) != null ? _a2 : Namespace.HTML;
|
|
8210
8440
|
}
|
|
8211
8441
|
function keyForNamespace(namespace) {
|
|
8212
|
-
const NAMESPACES = /* @__PURE__ */ new Map([
|
|
8442
|
+
const NAMESPACES = /* @__PURE__ */ new Map([
|
|
8443
|
+
["svg", Namespace.SVG],
|
|
8444
|
+
["math", Namespace.Math]
|
|
8445
|
+
]);
|
|
8213
8446
|
for (const [k, n] of NAMESPACES.entries()) {
|
|
8214
8447
|
if (n === namespace) {
|
|
8215
8448
|
return k;
|
|
@@ -8230,7 +8463,7 @@ function literalOrArrayLiteral(value) {
|
|
|
8230
8463
|
return literal(value);
|
|
8231
8464
|
}
|
|
8232
8465
|
|
|
8233
|
-
// bazel-out/
|
|
8466
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
8234
8467
|
function collectElementConsts(job) {
|
|
8235
8468
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
8236
8469
|
for (const unit of job.units) {
|
|
@@ -8399,7 +8632,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
8399
8632
|
return literalArr(attrArray);
|
|
8400
8633
|
}
|
|
8401
8634
|
|
|
8402
|
-
// bazel-out/
|
|
8635
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
|
|
8403
8636
|
function convertI18nBindings(job) {
|
|
8404
8637
|
const i18nAttributesByElem = /* @__PURE__ */ new Map();
|
|
8405
8638
|
for (const unit of job.units) {
|
|
@@ -8440,7 +8673,7 @@ function convertI18nBindings(job) {
|
|
|
8440
8673
|
}
|
|
8441
8674
|
}
|
|
8442
8675
|
|
|
8443
|
-
// bazel-out/
|
|
8676
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
|
|
8444
8677
|
function resolveDeferDepsFns(job) {
|
|
8445
8678
|
var _a2;
|
|
8446
8679
|
for (const unit of job.units) {
|
|
@@ -8465,7 +8698,7 @@ function resolveDeferDepsFns(job) {
|
|
|
8465
8698
|
}
|
|
8466
8699
|
}
|
|
8467
8700
|
|
|
8468
|
-
// bazel-out/
|
|
8701
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
8469
8702
|
function createI18nContexts(job) {
|
|
8470
8703
|
const attrContextByMessage = /* @__PURE__ */ new Map();
|
|
8471
8704
|
for (const unit of job.units) {
|
|
@@ -8543,7 +8776,7 @@ function createI18nContexts(job) {
|
|
|
8543
8776
|
}
|
|
8544
8777
|
}
|
|
8545
8778
|
|
|
8546
|
-
// bazel-out/
|
|
8779
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
|
|
8547
8780
|
function deduplicateTextBindings(job) {
|
|
8548
8781
|
const seen = /* @__PURE__ */ new Map();
|
|
8549
8782
|
for (const unit of job.units) {
|
|
@@ -8565,7 +8798,7 @@ function deduplicateTextBindings(job) {
|
|
|
8565
8798
|
}
|
|
8566
8799
|
}
|
|
8567
8800
|
|
|
8568
|
-
// bazel-out/
|
|
8801
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
8569
8802
|
function configureDeferInstructions(job) {
|
|
8570
8803
|
for (const unit of job.units) {
|
|
8571
8804
|
for (const op of unit.create) {
|
|
@@ -8582,7 +8815,7 @@ function configureDeferInstructions(job) {
|
|
|
8582
8815
|
}
|
|
8583
8816
|
}
|
|
8584
8817
|
|
|
8585
|
-
// bazel-out/
|
|
8818
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
8586
8819
|
function resolveDeferTargetNames(job) {
|
|
8587
8820
|
const scopes = /* @__PURE__ */ new Map();
|
|
8588
8821
|
function getScopeForView2(view) {
|
|
@@ -8676,7 +8909,7 @@ var Scope = class {
|
|
|
8676
8909
|
}
|
|
8677
8910
|
};
|
|
8678
8911
|
|
|
8679
|
-
// bazel-out/
|
|
8912
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
8680
8913
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
8681
8914
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
8682
8915
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -8703,7 +8936,7 @@ function collapseEmptyInstructions(job) {
|
|
|
8703
8936
|
}
|
|
8704
8937
|
}
|
|
8705
8938
|
|
|
8706
|
-
// bazel-out/
|
|
8939
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
8707
8940
|
function expandSafeReads(job) {
|
|
8708
8941
|
for (const unit of job.units) {
|
|
8709
8942
|
for (const op of unit.ops()) {
|
|
@@ -8839,7 +9072,7 @@ function ternaryTransform(e) {
|
|
|
8839
9072
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
8840
9073
|
}
|
|
8841
9074
|
|
|
8842
|
-
// bazel-out/
|
|
9075
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
8843
9076
|
var ESCAPE = "\uFFFD";
|
|
8844
9077
|
var ELEMENT_MARKER = "#";
|
|
8845
9078
|
var TEMPLATE_MARKER = "*";
|
|
@@ -8975,7 +9208,7 @@ function formatValue(value) {
|
|
|
8975
9208
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
8976
9209
|
}
|
|
8977
9210
|
|
|
8978
|
-
// bazel-out/
|
|
9211
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
8979
9212
|
function generateAdvance(job) {
|
|
8980
9213
|
for (const unit of job.units) {
|
|
8981
9214
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -9007,7 +9240,7 @@ function generateAdvance(job) {
|
|
|
9007
9240
|
}
|
|
9008
9241
|
}
|
|
9009
9242
|
|
|
9010
|
-
// bazel-out/
|
|
9243
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
9011
9244
|
function generateProjectionDefs(job) {
|
|
9012
9245
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
9013
9246
|
const selectors = [];
|
|
@@ -9031,7 +9264,7 @@ function generateProjectionDefs(job) {
|
|
|
9031
9264
|
}
|
|
9032
9265
|
}
|
|
9033
9266
|
|
|
9034
|
-
// bazel-out/
|
|
9267
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
9035
9268
|
function generateVariables(job) {
|
|
9036
9269
|
recursivelyProcessView(job.root, null);
|
|
9037
9270
|
}
|
|
@@ -9130,7 +9363,7 @@ function generateVariablesInScopeForView(view, scope) {
|
|
|
9130
9363
|
return newOps;
|
|
9131
9364
|
}
|
|
9132
9365
|
|
|
9133
|
-
// bazel-out/
|
|
9366
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
9134
9367
|
function collectConstExpressions(job) {
|
|
9135
9368
|
for (const unit of job.units) {
|
|
9136
9369
|
for (const op of unit.ops()) {
|
|
@@ -9144,7 +9377,7 @@ function collectConstExpressions(job) {
|
|
|
9144
9377
|
}
|
|
9145
9378
|
}
|
|
9146
9379
|
|
|
9147
|
-
// bazel-out/
|
|
9380
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
9148
9381
|
var STYLE_DOT = "style.";
|
|
9149
9382
|
var CLASS_DOT = "class.";
|
|
9150
9383
|
var STYLE_BANG = "style!";
|
|
@@ -9202,7 +9435,7 @@ function parseProperty(name) {
|
|
|
9202
9435
|
return { property: property2, suffix };
|
|
9203
9436
|
}
|
|
9204
9437
|
|
|
9205
|
-
// bazel-out/
|
|
9438
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
9206
9439
|
function mapLiteral(obj, quoted = false) {
|
|
9207
9440
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
9208
9441
|
key,
|
|
@@ -9211,7 +9444,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
9211
9444
|
})));
|
|
9212
9445
|
}
|
|
9213
9446
|
|
|
9214
|
-
// bazel-out/
|
|
9447
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
9215
9448
|
var IcuSerializerVisitor = class {
|
|
9216
9449
|
visitText(text2) {
|
|
9217
9450
|
return text2.value;
|
|
@@ -9245,7 +9478,7 @@ function serializeIcuNode(icu) {
|
|
|
9245
9478
|
return icu.visit(serializer);
|
|
9246
9479
|
}
|
|
9247
9480
|
|
|
9248
|
-
// bazel-out/
|
|
9481
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
9249
9482
|
var TokenType;
|
|
9250
9483
|
(function(TokenType2) {
|
|
9251
9484
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -9606,7 +9839,7 @@ function parseIntAutoRadix(text2) {
|
|
|
9606
9839
|
return result;
|
|
9607
9840
|
}
|
|
9608
9841
|
|
|
9609
|
-
// bazel-out/
|
|
9842
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
9610
9843
|
var SplitInterpolation = class {
|
|
9611
9844
|
constructor(strings, expressions, offsets) {
|
|
9612
9845
|
this.strings = strings;
|
|
@@ -10488,7 +10721,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
10488
10721
|
return offsetMap;
|
|
10489
10722
|
}
|
|
10490
10723
|
|
|
10491
|
-
// bazel-out/
|
|
10724
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
10492
10725
|
var NodeWithI18n = class {
|
|
10493
10726
|
constructor(sourceSpan, i18n2) {
|
|
10494
10727
|
this.sourceSpan = sourceSpan;
|
|
@@ -10640,16 +10873,12 @@ var RecursiveVisitor = class {
|
|
|
10640
10873
|
}
|
|
10641
10874
|
};
|
|
10642
10875
|
|
|
10643
|
-
// bazel-out/
|
|
10876
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
10644
10877
|
var _SECURITY_SCHEMA;
|
|
10645
10878
|
function SECURITY_SCHEMA() {
|
|
10646
10879
|
if (!_SECURITY_SCHEMA) {
|
|
10647
10880
|
_SECURITY_SCHEMA = {};
|
|
10648
|
-
registerContext(SecurityContext.HTML, [
|
|
10649
|
-
"iframe|srcdoc",
|
|
10650
|
-
"*|innerHTML",
|
|
10651
|
-
"*|outerHTML"
|
|
10652
|
-
]);
|
|
10881
|
+
registerContext(SecurityContext.HTML, ["iframe|srcdoc", "*|innerHTML", "*|outerHTML"]);
|
|
10653
10882
|
registerContext(SecurityContext.STYLE, ["*|style"]);
|
|
10654
10883
|
registerContext(SecurityContext.URL, [
|
|
10655
10884
|
"*|formAction",
|
|
@@ -10693,16 +10922,23 @@ function registerContext(ctx, specs) {
|
|
|
10693
10922
|
for (const spec of specs)
|
|
10694
10923
|
_SECURITY_SCHEMA[spec.toLowerCase()] = ctx;
|
|
10695
10924
|
}
|
|
10696
|
-
var IFRAME_SECURITY_SENSITIVE_ATTRS = /* @__PURE__ */ new Set([
|
|
10925
|
+
var IFRAME_SECURITY_SENSITIVE_ATTRS = /* @__PURE__ */ new Set([
|
|
10926
|
+
"sandbox",
|
|
10927
|
+
"allow",
|
|
10928
|
+
"allowfullscreen",
|
|
10929
|
+
"referrerpolicy",
|
|
10930
|
+
"csp",
|
|
10931
|
+
"fetchpriority"
|
|
10932
|
+
]);
|
|
10697
10933
|
function isIframeSecuritySensitiveAttr(attrName) {
|
|
10698
10934
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
10699
10935
|
}
|
|
10700
10936
|
|
|
10701
|
-
// bazel-out/
|
|
10937
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
10702
10938
|
var ElementSchemaRegistry = class {
|
|
10703
10939
|
};
|
|
10704
10940
|
|
|
10705
|
-
// bazel-out/
|
|
10941
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
10706
10942
|
var BOOLEAN = "boolean";
|
|
10707
10943
|
var NUMBER = "number";
|
|
10708
10944
|
var STRING = "string";
|
|
@@ -11055,7 +11291,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
11055
11291
|
}
|
|
11056
11292
|
}
|
|
11057
11293
|
|
|
11058
|
-
// bazel-out/
|
|
11294
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
11059
11295
|
var HtmlTagDefinition = class {
|
|
11060
11296
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
11061
11297
|
this.closedByChildren = {};
|
|
@@ -11149,20 +11385,38 @@ function getHtmlTagDefinition(tagName) {
|
|
|
11149
11385
|
"li": new HtmlTagDefinition({ closedByChildren: ["li"], closedByParent: true }),
|
|
11150
11386
|
"dt": new HtmlTagDefinition({ closedByChildren: ["dt", "dd"] }),
|
|
11151
11387
|
"dd": new HtmlTagDefinition({ closedByChildren: ["dt", "dd"], closedByParent: true }),
|
|
11152
|
-
"rb": new HtmlTagDefinition({
|
|
11153
|
-
|
|
11388
|
+
"rb": new HtmlTagDefinition({
|
|
11389
|
+
closedByChildren: ["rb", "rt", "rtc", "rp"],
|
|
11390
|
+
closedByParent: true
|
|
11391
|
+
}),
|
|
11392
|
+
"rt": new HtmlTagDefinition({
|
|
11393
|
+
closedByChildren: ["rb", "rt", "rtc", "rp"],
|
|
11394
|
+
closedByParent: true
|
|
11395
|
+
}),
|
|
11154
11396
|
"rtc": new HtmlTagDefinition({ closedByChildren: ["rb", "rtc", "rp"], closedByParent: true }),
|
|
11155
|
-
"rp": new HtmlTagDefinition({
|
|
11397
|
+
"rp": new HtmlTagDefinition({
|
|
11398
|
+
closedByChildren: ["rb", "rt", "rtc", "rp"],
|
|
11399
|
+
closedByParent: true
|
|
11400
|
+
}),
|
|
11156
11401
|
"optgroup": new HtmlTagDefinition({ closedByChildren: ["optgroup"], closedByParent: true }),
|
|
11157
|
-
"option": new HtmlTagDefinition({
|
|
11402
|
+
"option": new HtmlTagDefinition({
|
|
11403
|
+
closedByChildren: ["option", "optgroup"],
|
|
11404
|
+
closedByParent: true
|
|
11405
|
+
}),
|
|
11158
11406
|
"pre": new HtmlTagDefinition({ ignoreFirstLf: true }),
|
|
11159
11407
|
"listing": new HtmlTagDefinition({ ignoreFirstLf: true }),
|
|
11160
11408
|
"style": new HtmlTagDefinition({ contentType: TagContentType.RAW_TEXT }),
|
|
11161
11409
|
"script": new HtmlTagDefinition({ contentType: TagContentType.RAW_TEXT }),
|
|
11162
11410
|
"title": new HtmlTagDefinition({
|
|
11163
|
-
contentType: {
|
|
11411
|
+
contentType: {
|
|
11412
|
+
default: TagContentType.ESCAPABLE_RAW_TEXT,
|
|
11413
|
+
svg: TagContentType.PARSABLE_DATA
|
|
11414
|
+
}
|
|
11164
11415
|
}),
|
|
11165
|
-
"textarea": new HtmlTagDefinition({
|
|
11416
|
+
"textarea": new HtmlTagDefinition({
|
|
11417
|
+
contentType: TagContentType.ESCAPABLE_RAW_TEXT,
|
|
11418
|
+
ignoreFirstLf: true
|
|
11419
|
+
})
|
|
11166
11420
|
});
|
|
11167
11421
|
new DomElementSchemaRegistry().allKnownElementNames().forEach((knownTagName) => {
|
|
11168
11422
|
if (!TAG_DEFINITIONS[knownTagName] && getNsPrefix(knownTagName) === null) {
|
|
@@ -11173,7 +11427,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
11173
11427
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
11174
11428
|
}
|
|
11175
11429
|
|
|
11176
|
-
// bazel-out/
|
|
11430
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
11177
11431
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
11178
11432
|
"A": "LINK",
|
|
11179
11433
|
"B": "BOLD_TEXT",
|
|
@@ -11295,7 +11549,7 @@ var PlaceholderRegistry = class {
|
|
|
11295
11549
|
}
|
|
11296
11550
|
};
|
|
11297
11551
|
|
|
11298
|
-
// bazel-out/
|
|
11552
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
11299
11553
|
var _expParser = new Parser(new Lexer());
|
|
11300
11554
|
function createI18nMessageFactory(interpolationConfig, containerBlocks) {
|
|
11301
11555
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
|
|
@@ -11474,14 +11728,14 @@ function extractPlaceholderName(input) {
|
|
|
11474
11728
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
11475
11729
|
}
|
|
11476
11730
|
|
|
11477
|
-
// bazel-out/
|
|
11731
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
11478
11732
|
var I18nError = class extends ParseError {
|
|
11479
11733
|
constructor(span, msg) {
|
|
11480
11734
|
super(span, msg);
|
|
11481
11735
|
}
|
|
11482
11736
|
};
|
|
11483
11737
|
|
|
11484
|
-
// bazel-out/
|
|
11738
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
11485
11739
|
var NAMED_ENTITIES = {
|
|
11486
11740
|
"AElig": "\xC6",
|
|
11487
11741
|
"AMP": "&",
|
|
@@ -13612,7 +13866,7 @@ var NAMED_ENTITIES = {
|
|
|
13612
13866
|
var NGSP_UNICODE = "\uE500";
|
|
13613
13867
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
13614
13868
|
|
|
13615
|
-
// bazel-out/
|
|
13869
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
13616
13870
|
var TokenError = class extends ParseError {
|
|
13617
13871
|
constructor(errorMsg, tokenType, span) {
|
|
13618
13872
|
super(span, errorMsg);
|
|
@@ -13666,7 +13920,12 @@ var _Tokenizer = class {
|
|
|
13666
13920
|
this._tokenizeIcu = options.tokenizeExpansionForms || false;
|
|
13667
13921
|
this._interpolationConfig = options.interpolationConfig || DEFAULT_INTERPOLATION_CONFIG;
|
|
13668
13922
|
this._leadingTriviaCodePoints = options.leadingTriviaChars && options.leadingTriviaChars.map((c) => c.codePointAt(0) || 0);
|
|
13669
|
-
const range = options.range || {
|
|
13923
|
+
const range = options.range || {
|
|
13924
|
+
endPos: _file.content.length,
|
|
13925
|
+
startPos: 0,
|
|
13926
|
+
startLine: 0,
|
|
13927
|
+
startCol: 0
|
|
13928
|
+
};
|
|
13670
13929
|
this._cursor = options.escapedString ? new EscapedCharacterCursor(_file, range) : new PlainCharacterCursor(_file, range);
|
|
13671
13930
|
this._preserveLineEndings = options.preserveLineEndings || false;
|
|
13672
13931
|
this._i18nNormalizeLineEndingsInICUs = options.i18nNormalizeLineEndingsInICUs || false;
|
|
@@ -14533,7 +14792,7 @@ var CursorError = class {
|
|
|
14533
14792
|
}
|
|
14534
14793
|
};
|
|
14535
14794
|
|
|
14536
|
-
// bazel-out/
|
|
14795
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
14537
14796
|
var TreeError = class extends ParseError {
|
|
14538
14797
|
static create(elementName, span, msg) {
|
|
14539
14798
|
return new TreeError(elementName, span, msg);
|
|
@@ -14917,7 +15176,7 @@ function decodeEntity(match, entity) {
|
|
|
14917
15176
|
return match;
|
|
14918
15177
|
}
|
|
14919
15178
|
|
|
14920
|
-
// bazel-out/
|
|
15179
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
14921
15180
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
14922
15181
|
"iframe|srcdoc",
|
|
14923
15182
|
"*|innerhtml",
|
|
@@ -14932,7 +15191,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
14932
15191
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
14933
15192
|
}
|
|
14934
15193
|
|
|
14935
|
-
// bazel-out/
|
|
15194
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
14936
15195
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
14937
15196
|
if (htmlNode instanceof NodeWithI18n) {
|
|
14938
15197
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -15089,7 +15348,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
15089
15348
|
return jsDocComment(tags);
|
|
15090
15349
|
}
|
|
15091
15350
|
|
|
15092
|
-
// bazel-out/
|
|
15351
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
15093
15352
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
15094
15353
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
15095
15354
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -15140,7 +15399,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
15140
15399
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
15141
15400
|
}
|
|
15142
15401
|
|
|
15143
|
-
// bazel-out/
|
|
15402
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
15144
15403
|
function createLocalizeStatements(variable2, message, params) {
|
|
15145
15404
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
15146
15405
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -15229,7 +15488,7 @@ function createEmptyMessagePart(location) {
|
|
|
15229
15488
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
15230
15489
|
}
|
|
15231
15490
|
|
|
15232
|
-
// bazel-out/
|
|
15491
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
15233
15492
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
15234
15493
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
15235
15494
|
var I18N_ICU_MAPPING_PREFIX = "I18N_EXP_";
|
|
@@ -15349,7 +15608,10 @@ function collectMessage(job, fileBasedI18nSuffix, messages, messageOp) {
|
|
|
15349
15608
|
let transformFn = void 0;
|
|
15350
15609
|
if (messageOp.needsPostprocessing || messageOp.postprocessingParams.size > 0) {
|
|
15351
15610
|
const postprocessingParams = Object.fromEntries([...messageOp.postprocessingParams.entries()].sort());
|
|
15352
|
-
const formattedPostprocessingParams = formatI18nPlaceholderNamesInMap(
|
|
15611
|
+
const formattedPostprocessingParams = formatI18nPlaceholderNamesInMap(
|
|
15612
|
+
postprocessingParams,
|
|
15613
|
+
false
|
|
15614
|
+
);
|
|
15353
15615
|
const extraTransformFnParams = [];
|
|
15354
15616
|
if (messageOp.postprocessingParams.size > 0) {
|
|
15355
15617
|
extraTransformFnParams.push(mapLiteral(formattedPostprocessingParams, true));
|
|
@@ -15397,7 +15659,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
15397
15659
|
return variable(name);
|
|
15398
15660
|
}
|
|
15399
15661
|
|
|
15400
|
-
// bazel-out/
|
|
15662
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
15401
15663
|
function convertI18nText(job) {
|
|
15402
15664
|
var _a2, _b2, _c2;
|
|
15403
15665
|
for (const unit of job.units) {
|
|
@@ -15467,7 +15729,7 @@ function convertI18nText(job) {
|
|
|
15467
15729
|
}
|
|
15468
15730
|
}
|
|
15469
15731
|
|
|
15470
|
-
// bazel-out/
|
|
15732
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
15471
15733
|
function liftLocalRefs(job) {
|
|
15472
15734
|
for (const unit of job.units) {
|
|
15473
15735
|
for (const op of unit.create) {
|
|
@@ -15497,7 +15759,7 @@ function serializeLocalRefs(refs) {
|
|
|
15497
15759
|
return literalArr(constRefs);
|
|
15498
15760
|
}
|
|
15499
15761
|
|
|
15500
|
-
// bazel-out/
|
|
15762
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
15501
15763
|
function emitNamespaceChanges(job) {
|
|
15502
15764
|
for (const unit of job.units) {
|
|
15503
15765
|
let activeNamespace = Namespace.HTML;
|
|
@@ -15513,7 +15775,7 @@ function emitNamespaceChanges(job) {
|
|
|
15513
15775
|
}
|
|
15514
15776
|
}
|
|
15515
15777
|
|
|
15516
|
-
// bazel-out/
|
|
15778
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
15517
15779
|
function parse(value) {
|
|
15518
15780
|
const styles = [];
|
|
15519
15781
|
let i = 0;
|
|
@@ -15607,13 +15869,16 @@ function parseExtractedStyles(job) {
|
|
|
15607
15869
|
}
|
|
15608
15870
|
}
|
|
15609
15871
|
|
|
15610
|
-
// bazel-out/
|
|
15872
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
15611
15873
|
function nameFunctionsAndVariables(job) {
|
|
15612
15874
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
15613
15875
|
}
|
|
15614
15876
|
function addNamesToView(unit, baseName, state, compatibility) {
|
|
15615
15877
|
if (unit.fnName === null) {
|
|
15616
|
-
unit.fnName = unit.job.pool.uniqueName(
|
|
15878
|
+
unit.fnName = unit.job.pool.uniqueName(
|
|
15879
|
+
sanitizeIdentifier(`${baseName}_${unit.job.fnSuffix}`),
|
|
15880
|
+
false
|
|
15881
|
+
);
|
|
15617
15882
|
}
|
|
15618
15883
|
const varNames = /* @__PURE__ */ new Map();
|
|
15619
15884
|
for (const op of unit.ops()) {
|
|
@@ -15748,7 +16013,7 @@ function stripImportant(name) {
|
|
|
15748
16013
|
return name;
|
|
15749
16014
|
}
|
|
15750
16015
|
|
|
15751
|
-
// bazel-out/
|
|
16016
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
15752
16017
|
function mergeNextContextExpressions(job) {
|
|
15753
16018
|
for (const unit of job.units) {
|
|
15754
16019
|
for (const op of unit.create) {
|
|
@@ -15794,7 +16059,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
15794
16059
|
}
|
|
15795
16060
|
}
|
|
15796
16061
|
|
|
15797
|
-
// bazel-out/
|
|
16062
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
15798
16063
|
var CONTAINER_TAG = "ng-container";
|
|
15799
16064
|
function generateNgContainerOps(job) {
|
|
15800
16065
|
for (const unit of job.units) {
|
|
@@ -15811,7 +16076,7 @@ function generateNgContainerOps(job) {
|
|
|
15811
16076
|
}
|
|
15812
16077
|
}
|
|
15813
16078
|
|
|
15814
|
-
// bazel-out/
|
|
16079
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
15815
16080
|
function lookupElement3(elements, xref) {
|
|
15816
16081
|
const el = elements.get(xref);
|
|
15817
16082
|
if (el === void 0) {
|
|
@@ -15841,7 +16106,7 @@ function disableBindings(job) {
|
|
|
15841
16106
|
}
|
|
15842
16107
|
}
|
|
15843
16108
|
|
|
15844
|
-
// bazel-out/
|
|
16109
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
15845
16110
|
function generateNullishCoalesceExpressions(job) {
|
|
15846
16111
|
for (const unit of job.units) {
|
|
15847
16112
|
for (const op of unit.ops()) {
|
|
@@ -15857,7 +16122,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
15857
16122
|
}
|
|
15858
16123
|
}
|
|
15859
16124
|
|
|
15860
|
-
// bazel-out/
|
|
16125
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
15861
16126
|
function kindTest(kind) {
|
|
15862
16127
|
return (op) => op.kind === kind;
|
|
15863
16128
|
}
|
|
@@ -15919,7 +16184,7 @@ function orderWithin(opList, ordering) {
|
|
|
15919
16184
|
let firstTargetInGroup = null;
|
|
15920
16185
|
for (const op of opList) {
|
|
15921
16186
|
const currentTarget = hasDependsOnSlotContextTrait(op) ? op.target : null;
|
|
15922
|
-
if (!handledOpKinds.has(op.kind) || currentTarget !== firstTargetInGroup &&
|
|
16187
|
+
if (!handledOpKinds.has(op.kind) || currentTarget !== firstTargetInGroup && firstTargetInGroup !== null && currentTarget !== null) {
|
|
15923
16188
|
OpList.insertBefore(reorder(opsToOrder, ordering), op);
|
|
15924
16189
|
opsToOrder = [];
|
|
15925
16190
|
firstTargetInGroup = null;
|
|
@@ -15947,7 +16212,7 @@ function keepLast(ops) {
|
|
|
15947
16212
|
return ops.slice(ops.length - 1);
|
|
15948
16213
|
}
|
|
15949
16214
|
|
|
15950
|
-
// bazel-out/
|
|
16215
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
15951
16216
|
function removeContentSelectors(job) {
|
|
15952
16217
|
for (const unit of job.units) {
|
|
15953
16218
|
const elements = createOpXrefMap(unit);
|
|
@@ -15974,7 +16239,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
15974
16239
|
return el;
|
|
15975
16240
|
}
|
|
15976
16241
|
|
|
15977
|
-
// bazel-out/
|
|
16242
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
15978
16243
|
function createPipes(job) {
|
|
15979
16244
|
for (const unit of job.units) {
|
|
15980
16245
|
processPipeBindingsInView(unit);
|
|
@@ -16022,7 +16287,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
16022
16287
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
16023
16288
|
}
|
|
16024
16289
|
|
|
16025
|
-
// bazel-out/
|
|
16290
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
16026
16291
|
function createVariadicPipes(job) {
|
|
16027
16292
|
for (const unit of job.units) {
|
|
16028
16293
|
for (const op of unit.update) {
|
|
@@ -16039,7 +16304,7 @@ function createVariadicPipes(job) {
|
|
|
16039
16304
|
}
|
|
16040
16305
|
}
|
|
16041
16306
|
|
|
16042
|
-
// bazel-out/
|
|
16307
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
16043
16308
|
function propagateI18nBlocks(job) {
|
|
16044
16309
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
16045
16310
|
}
|
|
@@ -16093,7 +16358,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
16093
16358
|
}
|
|
16094
16359
|
}
|
|
16095
16360
|
|
|
16096
|
-
// bazel-out/
|
|
16361
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
16097
16362
|
function extractPureFunctions(job) {
|
|
16098
16363
|
for (const view of job.units) {
|
|
16099
16364
|
for (const op of view.ops()) {
|
|
@@ -16135,7 +16400,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
16135
16400
|
}
|
|
16136
16401
|
};
|
|
16137
16402
|
|
|
16138
|
-
// bazel-out/
|
|
16403
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
16139
16404
|
function generatePureLiteralStructures(job) {
|
|
16140
16405
|
for (const unit of job.units) {
|
|
16141
16406
|
for (const op of unit.update) {
|
|
@@ -16182,7 +16447,7 @@ function transformLiteralMap(expr) {
|
|
|
16182
16447
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
16183
16448
|
}
|
|
16184
16449
|
|
|
16185
|
-
// bazel-out/
|
|
16450
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
16186
16451
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
16187
16452
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
16188
16453
|
}
|
|
@@ -16208,10 +16473,24 @@ function elementEnd(sourceSpan) {
|
|
|
16208
16473
|
return call(Identifiers.elementEnd, [], sourceSpan);
|
|
16209
16474
|
}
|
|
16210
16475
|
function elementContainerStart(slot, constIndex, localRefIndex, sourceSpan) {
|
|
16211
|
-
return elementOrContainerBase(
|
|
16476
|
+
return elementOrContainerBase(
|
|
16477
|
+
Identifiers.elementContainerStart,
|
|
16478
|
+
slot,
|
|
16479
|
+
null,
|
|
16480
|
+
constIndex,
|
|
16481
|
+
localRefIndex,
|
|
16482
|
+
sourceSpan
|
|
16483
|
+
);
|
|
16212
16484
|
}
|
|
16213
16485
|
function elementContainer(slot, constIndex, localRefIndex, sourceSpan) {
|
|
16214
|
-
return elementOrContainerBase(
|
|
16486
|
+
return elementOrContainerBase(
|
|
16487
|
+
Identifiers.elementContainer,
|
|
16488
|
+
slot,
|
|
16489
|
+
null,
|
|
16490
|
+
constIndex,
|
|
16491
|
+
localRefIndex,
|
|
16492
|
+
sourceSpan
|
|
16493
|
+
);
|
|
16215
16494
|
}
|
|
16216
16495
|
function elementContainerEnd() {
|
|
16217
16496
|
return call(Identifiers.elementContainerEnd, [], null);
|
|
@@ -16255,10 +16534,7 @@ function twoWayListener(name, handlerFn, sourceSpan) {
|
|
|
16255
16534
|
return call(Identifiers.twoWayListener, [literal(name), handlerFn], sourceSpan);
|
|
16256
16535
|
}
|
|
16257
16536
|
function pipe(slot, name) {
|
|
16258
|
-
return call(Identifiers.pipe, [
|
|
16259
|
-
literal(slot),
|
|
16260
|
-
literal(name)
|
|
16261
|
-
], null);
|
|
16537
|
+
return call(Identifiers.pipe, [literal(slot), literal(name)], null);
|
|
16262
16538
|
}
|
|
16263
16539
|
function namespaceHTML() {
|
|
16264
16540
|
return call(Identifiers.namespaceHTML, [], null);
|
|
@@ -16273,9 +16549,7 @@ function advance(delta, sourceSpan) {
|
|
|
16273
16549
|
return call(Identifiers.advance, delta > 1 ? [literal(delta)] : [], sourceSpan);
|
|
16274
16550
|
}
|
|
16275
16551
|
function reference(slot) {
|
|
16276
|
-
return importExpr(Identifiers.reference).callFn([
|
|
16277
|
-
literal(slot)
|
|
16278
|
-
]);
|
|
16552
|
+
return importExpr(Identifiers.reference).callFn([literal(slot)]);
|
|
16279
16553
|
}
|
|
16280
16554
|
function nextContext(steps) {
|
|
16281
16555
|
return importExpr(Identifiers.nextContext).callFn(steps === 1 ? [] : [literal(steps)]);
|
|
@@ -16284,14 +16558,10 @@ function getCurrentView() {
|
|
|
16284
16558
|
return importExpr(Identifiers.getCurrentView).callFn([]);
|
|
16285
16559
|
}
|
|
16286
16560
|
function restoreView(savedView) {
|
|
16287
|
-
return importExpr(Identifiers.restoreView).callFn([
|
|
16288
|
-
savedView
|
|
16289
|
-
]);
|
|
16561
|
+
return importExpr(Identifiers.restoreView).callFn([savedView]);
|
|
16290
16562
|
}
|
|
16291
16563
|
function resetView(returnValue) {
|
|
16292
|
-
return importExpr(Identifiers.resetView).callFn([
|
|
16293
|
-
returnValue
|
|
16294
|
-
]);
|
|
16564
|
+
return importExpr(Identifiers.resetView).callFn([returnValue]);
|
|
16295
16565
|
}
|
|
16296
16566
|
function text(slot, initialValue, sourceSpan) {
|
|
16297
16567
|
const args = [literal(slot, null)];
|
|
@@ -16464,33 +16734,13 @@ function pipeBind(slot, varOffset, args) {
|
|
|
16464
16734
|
throw new Error(`pipeBind() argument count out of bounds`);
|
|
16465
16735
|
}
|
|
16466
16736
|
const instruction = PIPE_BINDINGS[args.length - 1];
|
|
16467
|
-
return importExpr(instruction).callFn([
|
|
16468
|
-
literal(slot),
|
|
16469
|
-
literal(varOffset),
|
|
16470
|
-
...args
|
|
16471
|
-
]);
|
|
16737
|
+
return importExpr(instruction).callFn([literal(slot), literal(varOffset), ...args]);
|
|
16472
16738
|
}
|
|
16473
16739
|
function pipeBindV(slot, varOffset, args) {
|
|
16474
|
-
return importExpr(Identifiers.pipeBindV).callFn([
|
|
16475
|
-
literal(slot),
|
|
16476
|
-
literal(varOffset),
|
|
16477
|
-
args
|
|
16478
|
-
]);
|
|
16740
|
+
return importExpr(Identifiers.pipeBindV).callFn([literal(slot), literal(varOffset), args]);
|
|
16479
16741
|
}
|
|
16480
16742
|
function textInterpolate(strings, expressions, sourceSpan) {
|
|
16481
|
-
|
|
16482
|
-
throw new Error(`AssertionError: expected specific shape of args for strings/expressions in interpolation`);
|
|
16483
|
-
}
|
|
16484
|
-
const interpolationArgs = [];
|
|
16485
|
-
if (expressions.length === 1 && strings[0] === "" && strings[1] === "") {
|
|
16486
|
-
interpolationArgs.push(expressions[0]);
|
|
16487
|
-
} else {
|
|
16488
|
-
let idx;
|
|
16489
|
-
for (idx = 0; idx < expressions.length; idx++) {
|
|
16490
|
-
interpolationArgs.push(literal(strings[idx]), expressions[idx]);
|
|
16491
|
-
}
|
|
16492
|
-
interpolationArgs.push(literal(strings[idx]));
|
|
16493
|
-
}
|
|
16743
|
+
const interpolationArgs = collateInterpolationArgs(strings, expressions);
|
|
16494
16744
|
return callVariadicInstruction(TEXT_INTERPOLATE_CONFIG, [], interpolationArgs, [], sourceSpan);
|
|
16495
16745
|
}
|
|
16496
16746
|
function i18nExp(expr, sourceSpan) {
|
|
@@ -16542,10 +16792,7 @@ function syntheticHostProperty(name, expression, sourceSpan) {
|
|
|
16542
16792
|
return call(Identifiers.syntheticHostProperty, [literal(name), expression], sourceSpan);
|
|
16543
16793
|
}
|
|
16544
16794
|
function pureFunction(varOffset, fn2, args) {
|
|
16545
|
-
return callVariadicInstructionExpr(PURE_FUNCTION_CONFIG, [
|
|
16546
|
-
literal(varOffset),
|
|
16547
|
-
fn2
|
|
16548
|
-
], args, [], null);
|
|
16795
|
+
return callVariadicInstructionExpr(PURE_FUNCTION_CONFIG, [literal(varOffset), fn2], args, [], null);
|
|
16549
16796
|
}
|
|
16550
16797
|
function collateInterpolationArgs(strings, expressions) {
|
|
16551
16798
|
if (strings.length < 1 || expressions.length !== strings.length - 1) {
|
|
@@ -16567,8 +16814,8 @@ function call(instruction, args, sourceSpan) {
|
|
|
16567
16814
|
const expr = importExpr(instruction).callFn(args, sourceSpan);
|
|
16568
16815
|
return createStatementOp(new ExpressionStatement(expr, sourceSpan));
|
|
16569
16816
|
}
|
|
16570
|
-
function conditional(
|
|
16571
|
-
const args = [
|
|
16817
|
+
function conditional(condition, contextValue, sourceSpan) {
|
|
16818
|
+
const args = [condition];
|
|
16572
16819
|
if (contextValue !== null) {
|
|
16573
16820
|
args.push(contextValue);
|
|
16574
16821
|
}
|
|
@@ -16723,7 +16970,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
16723
16970
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
16724
16971
|
}
|
|
16725
16972
|
|
|
16726
|
-
// bazel-out/
|
|
16973
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
16727
16974
|
var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
|
|
16728
16975
|
["window", Identifiers.resolveWindow],
|
|
16729
16976
|
["document", Identifiers.resolveDocument],
|
|
@@ -16994,10 +17241,7 @@ function reifyUpdateOperations(_unit, ops) {
|
|
|
16994
17241
|
if (op.processed === null) {
|
|
16995
17242
|
throw new Error(`Conditional test was not set.`);
|
|
16996
17243
|
}
|
|
16997
|
-
|
|
16998
|
-
throw new Error(`Conditional slot was not set.`);
|
|
16999
|
-
}
|
|
17000
|
-
OpList.replace(op, conditional(op.targetSlot.slot, op.processed, op.contextValue, op.sourceSpan));
|
|
17244
|
+
OpList.replace(op, conditional(op.processed, op.contextValue, op.sourceSpan));
|
|
17001
17245
|
break;
|
|
17002
17246
|
case OpKind.Repeater:
|
|
17003
17247
|
OpList.replace(op, repeater(op.collection, op.sourceSpan));
|
|
@@ -17082,7 +17326,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
17082
17326
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
17083
17327
|
}
|
|
17084
17328
|
|
|
17085
|
-
// bazel-out/
|
|
17329
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
17086
17330
|
function removeEmptyBindings(job) {
|
|
17087
17331
|
for (const unit of job.units) {
|
|
17088
17332
|
for (const op of unit.update) {
|
|
@@ -17103,7 +17347,7 @@ function removeEmptyBindings(job) {
|
|
|
17103
17347
|
}
|
|
17104
17348
|
}
|
|
17105
17349
|
|
|
17106
|
-
// bazel-out/
|
|
17350
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
17107
17351
|
function removeI18nContexts(job) {
|
|
17108
17352
|
for (const unit of job.units) {
|
|
17109
17353
|
for (const op of unit.create) {
|
|
@@ -17119,7 +17363,7 @@ function removeI18nContexts(job) {
|
|
|
17119
17363
|
}
|
|
17120
17364
|
}
|
|
17121
17365
|
|
|
17122
|
-
// bazel-out/
|
|
17366
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
|
|
17123
17367
|
function removeUnusedI18nAttributesOps(job) {
|
|
17124
17368
|
for (const unit of job.units) {
|
|
17125
17369
|
const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
|
|
@@ -17141,7 +17385,7 @@ function removeUnusedI18nAttributesOps(job) {
|
|
|
17141
17385
|
}
|
|
17142
17386
|
}
|
|
17143
17387
|
|
|
17144
|
-
// bazel-out/
|
|
17388
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
17145
17389
|
function resolveContexts(job) {
|
|
17146
17390
|
for (const unit of job.units) {
|
|
17147
17391
|
processLexicalScope(unit, unit.create);
|
|
@@ -17183,7 +17427,7 @@ function processLexicalScope(view, ops) {
|
|
|
17183
17427
|
}
|
|
17184
17428
|
}
|
|
17185
17429
|
|
|
17186
|
-
// bazel-out/
|
|
17430
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
17187
17431
|
function resolveDollarEvent(job) {
|
|
17188
17432
|
for (const unit of job.units) {
|
|
17189
17433
|
transformDollarEvent(unit.create);
|
|
@@ -17206,7 +17450,7 @@ function transformDollarEvent(ops) {
|
|
|
17206
17450
|
}
|
|
17207
17451
|
}
|
|
17208
17452
|
|
|
17209
|
-
// bazel-out/
|
|
17453
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
17210
17454
|
function resolveI18nElementPlaceholders(job) {
|
|
17211
17455
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
17212
17456
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -17385,7 +17629,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
17385
17629
|
params.set(placeholder, values);
|
|
17386
17630
|
}
|
|
17387
17631
|
|
|
17388
|
-
// bazel-out/
|
|
17632
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
17389
17633
|
function resolveI18nExpressionPlaceholders(job) {
|
|
17390
17634
|
var _a2;
|
|
17391
17635
|
const subTemplateIndices = /* @__PURE__ */ new Map();
|
|
@@ -17438,7 +17682,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
|
|
|
17438
17682
|
}
|
|
17439
17683
|
}
|
|
17440
17684
|
|
|
17441
|
-
// bazel-out/
|
|
17685
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
17442
17686
|
function resolveNames(job) {
|
|
17443
17687
|
for (const unit of job.units) {
|
|
17444
17688
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -17503,7 +17747,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
17503
17747
|
}
|
|
17504
17748
|
}
|
|
17505
17749
|
|
|
17506
|
-
// bazel-out/
|
|
17750
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
17507
17751
|
var sanitizerFns = /* @__PURE__ */ new Map([
|
|
17508
17752
|
[SecurityContext.HTML, Identifiers.sanitizeHtml],
|
|
17509
17753
|
[SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
|
|
@@ -17573,57 +17817,30 @@ function getOnlySecurityContext(securityContext) {
|
|
|
17573
17817
|
return securityContext;
|
|
17574
17818
|
}
|
|
17575
17819
|
|
|
17576
|
-
// bazel-out/
|
|
17820
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
|
|
17577
17821
|
function transformTwoWayBindingSet(job) {
|
|
17578
17822
|
for (const unit of job.units) {
|
|
17579
17823
|
for (const op of unit.create) {
|
|
17580
17824
|
if (op.kind === OpKind.TwoWayListener) {
|
|
17581
17825
|
transformExpressionsInOp(op, (expr) => {
|
|
17582
|
-
if (expr instanceof TwoWayBindingSetExpr) {
|
|
17583
|
-
return
|
|
17826
|
+
if (!(expr instanceof TwoWayBindingSetExpr)) {
|
|
17827
|
+
return expr;
|
|
17584
17828
|
}
|
|
17585
|
-
|
|
17829
|
+
const { target, value } = expr;
|
|
17830
|
+
if (target instanceof ReadPropExpr || target instanceof ReadKeyExpr) {
|
|
17831
|
+
return twoWayBindingSet(target, value).or(target.set(value));
|
|
17832
|
+
}
|
|
17833
|
+
if (target instanceof ReadVariableExpr) {
|
|
17834
|
+
return twoWayBindingSet(target, value);
|
|
17835
|
+
}
|
|
17836
|
+
throw new Error(`Unsupported expression in two-way action binding.`);
|
|
17586
17837
|
}, VisitorContextFlag.InChildOperation);
|
|
17587
17838
|
}
|
|
17588
17839
|
}
|
|
17589
17840
|
}
|
|
17590
17841
|
}
|
|
17591
|
-
function wrapSetOperation(target, value) {
|
|
17592
|
-
if (target instanceof ReadVariableExpr) {
|
|
17593
|
-
return twoWayBindingSet(target, value);
|
|
17594
|
-
}
|
|
17595
|
-
return twoWayBindingSet(target, value).or(target.set(value));
|
|
17596
|
-
}
|
|
17597
|
-
function isReadExpression(value) {
|
|
17598
|
-
return value instanceof ReadPropExpr || value instanceof ReadKeyExpr || value instanceof ReadVariableExpr;
|
|
17599
|
-
}
|
|
17600
|
-
function wrapAction(target, value) {
|
|
17601
|
-
if (isReadExpression(target)) {
|
|
17602
|
-
return wrapSetOperation(target, value);
|
|
17603
|
-
}
|
|
17604
|
-
if (target instanceof BinaryOperatorExpr && isReadExpression(target.rhs)) {
|
|
17605
|
-
return new BinaryOperatorExpr(target.operator, target.lhs, wrapSetOperation(target.rhs, value));
|
|
17606
|
-
}
|
|
17607
|
-
if (target instanceof ConditionalExpr && isReadExpression(target.falseCase)) {
|
|
17608
|
-
return new ConditionalExpr(target.condition, target.trueCase, wrapSetOperation(target.falseCase, value));
|
|
17609
|
-
}
|
|
17610
|
-
if (target instanceof NotExpr) {
|
|
17611
|
-
let expr = target.condition;
|
|
17612
|
-
while (true) {
|
|
17613
|
-
if (expr instanceof NotExpr) {
|
|
17614
|
-
expr = expr.condition;
|
|
17615
|
-
} else {
|
|
17616
|
-
if (isReadExpression(expr)) {
|
|
17617
|
-
return wrapSetOperation(expr, value);
|
|
17618
|
-
}
|
|
17619
|
-
break;
|
|
17620
|
-
}
|
|
17621
|
-
}
|
|
17622
|
-
}
|
|
17623
|
-
throw new Error(`Unsupported expression in two-way action binding.`);
|
|
17624
|
-
}
|
|
17625
17842
|
|
|
17626
|
-
// bazel-out/
|
|
17843
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
17627
17844
|
function saveAndRestoreView(job) {
|
|
17628
17845
|
for (const unit of job.units) {
|
|
17629
17846
|
unit.create.prepend([
|
|
@@ -17668,7 +17885,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
17668
17885
|
}
|
|
17669
17886
|
}
|
|
17670
17887
|
|
|
17671
|
-
// bazel-out/
|
|
17888
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
17672
17889
|
function allocateSlots(job) {
|
|
17673
17890
|
const slotMap = /* @__PURE__ */ new Map();
|
|
17674
17891
|
for (const unit of job.units) {
|
|
@@ -17693,7 +17910,7 @@ function allocateSlots(job) {
|
|
|
17693
17910
|
}
|
|
17694
17911
|
}
|
|
17695
17912
|
|
|
17696
|
-
// bazel-out/
|
|
17913
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
17697
17914
|
function specializeStyleBindings(job) {
|
|
17698
17915
|
for (const unit of job.units) {
|
|
17699
17916
|
for (const op of unit.update) {
|
|
@@ -17723,7 +17940,7 @@ function specializeStyleBindings(job) {
|
|
|
17723
17940
|
}
|
|
17724
17941
|
}
|
|
17725
17942
|
|
|
17726
|
-
// bazel-out/
|
|
17943
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
17727
17944
|
function generateTemporaryVariables(job) {
|
|
17728
17945
|
for (const unit of job.units) {
|
|
17729
17946
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -17781,7 +17998,7 @@ function assignName(names, expr) {
|
|
|
17781
17998
|
expr.name = name;
|
|
17782
17999
|
}
|
|
17783
18000
|
|
|
17784
|
-
// bazel-out/
|
|
18001
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
17785
18002
|
function generateTrackFns(job) {
|
|
17786
18003
|
for (const unit of job.units) {
|
|
17787
18004
|
for (const op of unit.create) {
|
|
@@ -17814,7 +18031,7 @@ function generateTrackFns(job) {
|
|
|
17814
18031
|
}
|
|
17815
18032
|
}
|
|
17816
18033
|
|
|
17817
|
-
// bazel-out/
|
|
18034
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
17818
18035
|
function optimizeTrackFns(job) {
|
|
17819
18036
|
for (const unit of job.units) {
|
|
17820
18037
|
for (const op of unit.create) {
|
|
@@ -17862,7 +18079,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
17862
18079
|
return true;
|
|
17863
18080
|
}
|
|
17864
18081
|
|
|
17865
|
-
// bazel-out/
|
|
18082
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
17866
18083
|
function generateTrackVariables(job) {
|
|
17867
18084
|
for (const unit of job.units) {
|
|
17868
18085
|
for (const op of unit.create) {
|
|
@@ -17883,7 +18100,7 @@ function generateTrackVariables(job) {
|
|
|
17883
18100
|
}
|
|
17884
18101
|
}
|
|
17885
18102
|
|
|
17886
|
-
// bazel-out/
|
|
18103
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
17887
18104
|
function countVariables(job) {
|
|
17888
18105
|
for (const unit of job.units) {
|
|
17889
18106
|
let varCount = 0;
|
|
@@ -17993,7 +18210,7 @@ function isSingletonInterpolation(expr) {
|
|
|
17993
18210
|
return true;
|
|
17994
18211
|
}
|
|
17995
18212
|
|
|
17996
|
-
// bazel-out/
|
|
18213
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
17997
18214
|
function optimizeVariables(job) {
|
|
17998
18215
|
for (const unit of job.units) {
|
|
17999
18216
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -18242,7 +18459,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
18242
18459
|
}
|
|
18243
18460
|
}
|
|
18244
18461
|
|
|
18245
|
-
// bazel-out/
|
|
18462
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
18246
18463
|
function wrapI18nIcus(job) {
|
|
18247
18464
|
for (const unit of job.units) {
|
|
18248
18465
|
let currentI18nOp = null;
|
|
@@ -18272,7 +18489,7 @@ function wrapI18nIcus(job) {
|
|
|
18272
18489
|
}
|
|
18273
18490
|
}
|
|
18274
18491
|
|
|
18275
|
-
// bazel-out/
|
|
18492
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
18276
18493
|
var phases = [
|
|
18277
18494
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
18278
18495
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -18379,14 +18596,8 @@ function emitView(view) {
|
|
|
18379
18596
|
const createCond = maybeGenerateRfBlock(1, createStatements);
|
|
18380
18597
|
const updateCond = maybeGenerateRfBlock(2, updateStatements);
|
|
18381
18598
|
return fn(
|
|
18382
|
-
[
|
|
18383
|
-
|
|
18384
|
-
new FnParam("ctx")
|
|
18385
|
-
],
|
|
18386
|
-
[
|
|
18387
|
-
...createCond,
|
|
18388
|
-
...updateCond
|
|
18389
|
-
],
|
|
18599
|
+
[new FnParam("rf"), new FnParam("ctx")],
|
|
18600
|
+
[...createCond, ...updateCond],
|
|
18390
18601
|
void 0,
|
|
18391
18602
|
void 0,
|
|
18392
18603
|
view.fnName
|
|
@@ -18424,21 +18635,15 @@ function emitHostBindingFunction(job) {
|
|
|
18424
18635
|
const createCond = maybeGenerateRfBlock(1, createStatements);
|
|
18425
18636
|
const updateCond = maybeGenerateRfBlock(2, updateStatements);
|
|
18426
18637
|
return fn(
|
|
18427
|
-
[
|
|
18428
|
-
|
|
18429
|
-
new FnParam("ctx")
|
|
18430
|
-
],
|
|
18431
|
-
[
|
|
18432
|
-
...createCond,
|
|
18433
|
-
...updateCond
|
|
18434
|
-
],
|
|
18638
|
+
[new FnParam("rf"), new FnParam("ctx")],
|
|
18639
|
+
[...createCond, ...updateCond],
|
|
18435
18640
|
void 0,
|
|
18436
18641
|
void 0,
|
|
18437
18642
|
job.root.fnName
|
|
18438
18643
|
);
|
|
18439
18644
|
}
|
|
18440
18645
|
|
|
18441
|
-
// bazel-out/
|
|
18646
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
18442
18647
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
18443
18648
|
var domSchema = new DomElementSchemaRegistry();
|
|
18444
18649
|
var NG_TEMPLATE_TAG_NAME = "ng-template";
|
|
@@ -18485,7 +18690,19 @@ function ingestHostProperty(job, property2, bindingKind, securityContexts) {
|
|
|
18485
18690
|
} else {
|
|
18486
18691
|
expression = convertAst(ast, job, property2.sourceSpan);
|
|
18487
18692
|
}
|
|
18488
|
-
job.root.update.push(createBindingOp(
|
|
18693
|
+
job.root.update.push(createBindingOp(
|
|
18694
|
+
job.root.xref,
|
|
18695
|
+
bindingKind,
|
|
18696
|
+
property2.name,
|
|
18697
|
+
expression,
|
|
18698
|
+
null,
|
|
18699
|
+
securityContexts,
|
|
18700
|
+
false,
|
|
18701
|
+
false,
|
|
18702
|
+
null,
|
|
18703
|
+
null,
|
|
18704
|
+
property2.sourceSpan
|
|
18705
|
+
));
|
|
18489
18706
|
}
|
|
18490
18707
|
function ingestHostAttribute(job, name, value, securityContexts) {
|
|
18491
18708
|
const attrBinding = createBindingOp(
|
|
@@ -18632,7 +18849,6 @@ function ingestBoundText(unit, text2, icuPlaceholder) {
|
|
|
18632
18849
|
function ingestIfBlock(unit, ifBlock) {
|
|
18633
18850
|
var _a2;
|
|
18634
18851
|
let firstXref = null;
|
|
18635
|
-
let firstSlotHandle = null;
|
|
18636
18852
|
let conditions = [];
|
|
18637
18853
|
for (let i = 0; i < ifBlock.branches.length; i++) {
|
|
18638
18854
|
const ifCase = ifBlock.branches[i];
|
|
@@ -18652,15 +18868,13 @@ function ingestIfBlock(unit, ifBlock) {
|
|
|
18652
18868
|
unit.create.push(templateOp);
|
|
18653
18869
|
if (firstXref === null) {
|
|
18654
18870
|
firstXref = cView.xref;
|
|
18655
|
-
firstSlotHandle = templateOp.handle;
|
|
18656
18871
|
}
|
|
18657
18872
|
const caseExpr = ifCase.expression ? convertAst(ifCase.expression, unit.job, null) : null;
|
|
18658
18873
|
const conditionalCaseExpr = new ConditionalCaseExpr(caseExpr, templateOp.xref, templateOp.handle, ifCase.expressionAlias);
|
|
18659
18874
|
conditions.push(conditionalCaseExpr);
|
|
18660
18875
|
ingestNodes(cView, ifCase.children);
|
|
18661
18876
|
}
|
|
18662
|
-
|
|
18663
|
-
unit.update.push(conditional2);
|
|
18877
|
+
unit.update.push(createConditionalOp(firstXref, null, conditions, ifBlock.sourceSpan));
|
|
18664
18878
|
}
|
|
18665
18879
|
function ingestSwitchBlock(unit, switchBlock) {
|
|
18666
18880
|
var _a2;
|
|
@@ -18668,7 +18882,6 @@ function ingestSwitchBlock(unit, switchBlock) {
|
|
|
18668
18882
|
return;
|
|
18669
18883
|
}
|
|
18670
18884
|
let firstXref = null;
|
|
18671
|
-
let firstSlotHandle = null;
|
|
18672
18885
|
let conditions = [];
|
|
18673
18886
|
for (const switchCase of switchBlock.cases) {
|
|
18674
18887
|
const cView = unit.job.allocateView(unit.xref);
|
|
@@ -18684,15 +18897,13 @@ function ingestSwitchBlock(unit, switchBlock) {
|
|
|
18684
18897
|
unit.create.push(templateOp);
|
|
18685
18898
|
if (firstXref === null) {
|
|
18686
18899
|
firstXref = cView.xref;
|
|
18687
|
-
firstSlotHandle = templateOp.handle;
|
|
18688
18900
|
}
|
|
18689
18901
|
const caseExpr = switchCase.expression ? convertAst(switchCase.expression, unit.job, switchBlock.startSourceSpan) : null;
|
|
18690
18902
|
const conditionalCaseExpr = new ConditionalCaseExpr(caseExpr, templateOp.xref, templateOp.handle);
|
|
18691
18903
|
conditions.push(conditionalCaseExpr);
|
|
18692
18904
|
ingestNodes(cView, switchCase.children);
|
|
18693
18905
|
}
|
|
18694
|
-
|
|
18695
|
-
unit.update.push(conditional2);
|
|
18906
|
+
unit.update.push(createConditionalOp(firstXref, convertAst(switchBlock.expression, unit.job, null), conditions, switchBlock.sourceSpan));
|
|
18696
18907
|
}
|
|
18697
18908
|
function ingestDeferView(unit, suffix, i18nMeta, children, sourceSpan) {
|
|
18698
18909
|
if (i18nMeta !== void 0 && !(i18nMeta instanceof BlockPlaceholder)) {
|
|
@@ -19183,7 +19394,7 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
19183
19394
|
return null;
|
|
19184
19395
|
}
|
|
19185
19396
|
|
|
19186
|
-
// bazel-out/
|
|
19397
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
|
|
19187
19398
|
function renderFlagCheckIfStmt(flags, statements) {
|
|
19188
19399
|
return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
|
|
19189
19400
|
}
|
|
@@ -19303,7 +19514,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
|
|
|
19303
19514
|
], INFERRED_TYPE, null, contentQueriesFnName);
|
|
19304
19515
|
}
|
|
19305
19516
|
|
|
19306
|
-
// bazel-out/
|
|
19517
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
19307
19518
|
var HtmlParser = class extends Parser2 {
|
|
19308
19519
|
constructor() {
|
|
19309
19520
|
super(getHtmlTagDefinition);
|
|
@@ -19313,7 +19524,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
19313
19524
|
}
|
|
19314
19525
|
};
|
|
19315
19526
|
|
|
19316
|
-
// bazel-out/
|
|
19527
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
19317
19528
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
19318
19529
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
19319
19530
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -19379,7 +19590,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
19379
19590
|
return result;
|
|
19380
19591
|
}
|
|
19381
19592
|
|
|
19382
|
-
// bazel-out/
|
|
19593
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
19383
19594
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
19384
19595
|
var ATTRIBUTE_PREFIX = "attr";
|
|
19385
19596
|
var CLASS_PREFIX = "class";
|
|
@@ -19387,11 +19598,12 @@ var STYLE_PREFIX = "style";
|
|
|
19387
19598
|
var TEMPLATE_ATTR_PREFIX = "*";
|
|
19388
19599
|
var ANIMATE_PROP_PREFIX = "animate-";
|
|
19389
19600
|
var BindingParser = class {
|
|
19390
|
-
constructor(_exprParser, _interpolationConfig, _schemaRegistry, errors) {
|
|
19601
|
+
constructor(_exprParser, _interpolationConfig, _schemaRegistry, errors, _allowInvalidAssignmentEvents = false) {
|
|
19391
19602
|
this._exprParser = _exprParser;
|
|
19392
19603
|
this._interpolationConfig = _interpolationConfig;
|
|
19393
19604
|
this._schemaRegistry = _schemaRegistry;
|
|
19394
19605
|
this.errors = errors;
|
|
19606
|
+
this._allowInvalidAssignmentEvents = _allowInvalidAssignmentEvents;
|
|
19395
19607
|
}
|
|
19396
19608
|
get interpolationConfig() {
|
|
19397
19609
|
return this._interpolationConfig;
|
|
@@ -19424,7 +19636,16 @@ var BindingParser = class {
|
|
|
19424
19636
|
for (const propName of Object.keys(hostListeners)) {
|
|
19425
19637
|
const expression = hostListeners[propName];
|
|
19426
19638
|
if (typeof expression === "string") {
|
|
19427
|
-
this.parseEvent(
|
|
19639
|
+
this.parseEvent(
|
|
19640
|
+
propName,
|
|
19641
|
+
expression,
|
|
19642
|
+
false,
|
|
19643
|
+
sourceSpan,
|
|
19644
|
+
sourceSpan,
|
|
19645
|
+
[],
|
|
19646
|
+
targetEvents,
|
|
19647
|
+
sourceSpan
|
|
19648
|
+
);
|
|
19428
19649
|
} else {
|
|
19429
19650
|
this._reportError(`Value of the host listener "${propName}" needs to be a string representing an expression but got "${expression}" (${typeof expression})`, sourceSpan);
|
|
19430
19651
|
}
|
|
@@ -19695,6 +19916,9 @@ var BindingParser = class {
|
|
|
19695
19916
|
if (ast instanceof PropertyRead || ast instanceof KeyedRead) {
|
|
19696
19917
|
return true;
|
|
19697
19918
|
}
|
|
19919
|
+
if (!this._allowInvalidAssignmentEvents) {
|
|
19920
|
+
return false;
|
|
19921
|
+
}
|
|
19698
19922
|
if (ast instanceof Binary) {
|
|
19699
19923
|
return (ast.operation === "&&" || ast.operation === "||" || ast.operation === "??") && (ast.right instanceof PropertyRead || ast.right instanceof KeyedRead);
|
|
19700
19924
|
}
|
|
@@ -19720,7 +19944,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
19720
19944
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
19721
19945
|
}
|
|
19722
19946
|
|
|
19723
|
-
// bazel-out/
|
|
19947
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
19724
19948
|
function isStyleUrlResolvable(url) {
|
|
19725
19949
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
19726
19950
|
return false;
|
|
@@ -19729,7 +19953,7 @@ function isStyleUrlResolvable(url) {
|
|
|
19729
19953
|
}
|
|
19730
19954
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
19731
19955
|
|
|
19732
|
-
// bazel-out/
|
|
19956
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
19733
19957
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
19734
19958
|
var LINK_ELEMENT = "link";
|
|
19735
19959
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -19799,14 +20023,21 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
19799
20023
|
return selectAttr;
|
|
19800
20024
|
}
|
|
19801
20025
|
|
|
19802
|
-
// bazel-out/
|
|
20026
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
19803
20027
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
19804
20028
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
19805
20029
|
var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
|
|
19806
20030
|
var ELSE_IF_PATTERN = /^else[^\S\r\n]+if/;
|
|
19807
20031
|
var FOR_LOOP_LET_PATTERN = /^let\s+([\S\s]*)/;
|
|
19808
20032
|
var CHARACTERS_IN_SURROUNDING_WHITESPACE_PATTERN = /(\s*)(\S+)(\s*)/;
|
|
19809
|
-
var ALLOWED_FOR_LOOP_LET_VARIABLES = /* @__PURE__ */ new Set([
|
|
20033
|
+
var ALLOWED_FOR_LOOP_LET_VARIABLES = /* @__PURE__ */ new Set([
|
|
20034
|
+
"$index",
|
|
20035
|
+
"$first",
|
|
20036
|
+
"$last",
|
|
20037
|
+
"$even",
|
|
20038
|
+
"$odd",
|
|
20039
|
+
"$count"
|
|
20040
|
+
]);
|
|
19810
20041
|
function isConnectedForLoopBlock(name) {
|
|
19811
20042
|
return name === "empty";
|
|
19812
20043
|
}
|
|
@@ -20115,7 +20346,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
20115
20346
|
return expression.slice(start, end);
|
|
20116
20347
|
}
|
|
20117
20348
|
|
|
20118
|
-
// bazel-out/
|
|
20349
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
20119
20350
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
20120
20351
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
20121
20352
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -20379,7 +20610,7 @@ function parseDeferredTime(value) {
|
|
|
20379
20610
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
20380
20611
|
}
|
|
20381
20612
|
|
|
20382
|
-
// bazel-out/
|
|
20613
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
20383
20614
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
20384
20615
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
20385
20616
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -20514,7 +20745,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
20514
20745
|
return { triggers, prefetchTriggers };
|
|
20515
20746
|
}
|
|
20516
20747
|
|
|
20517
|
-
// bazel-out/
|
|
20748
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
20518
20749
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
20519
20750
|
var KW_BIND_IDX = 1;
|
|
20520
20751
|
var KW_LET_IDX = 2;
|
|
@@ -20761,7 +20992,12 @@ var HtmlAstToIvyAst = class {
|
|
|
20761
20992
|
if (prop.isLiteral) {
|
|
20762
20993
|
literal2.push(new TextAttribute(prop.name, prop.expression.source || "", prop.sourceSpan, prop.keySpan, prop.valueSpan, i18n2));
|
|
20763
20994
|
} else {
|
|
20764
|
-
const bep = this.bindingParser.createBoundElementProperty(
|
|
20995
|
+
const bep = this.bindingParser.createBoundElementProperty(
|
|
20996
|
+
elementName,
|
|
20997
|
+
prop,
|
|
20998
|
+
true,
|
|
20999
|
+
false
|
|
21000
|
+
);
|
|
20765
21001
|
bound.push(BoundAttribute.fromBoundElementProperty(bep, i18n2));
|
|
20766
21002
|
}
|
|
20767
21003
|
});
|
|
@@ -20801,7 +21037,16 @@ var HtmlAstToIvyAst = class {
|
|
|
20801
21037
|
const events = [];
|
|
20802
21038
|
const identifier = bindParts[IDENT_KW_IDX];
|
|
20803
21039
|
const keySpan2 = createKeySpan(srcSpan, bindParts[KW_ON_IDX], identifier);
|
|
20804
|
-
this.bindingParser.parseEvent(
|
|
21040
|
+
this.bindingParser.parseEvent(
|
|
21041
|
+
identifier,
|
|
21042
|
+
value,
|
|
21043
|
+
false,
|
|
21044
|
+
srcSpan,
|
|
21045
|
+
attribute2.valueSpan || srcSpan,
|
|
21046
|
+
matchableAttributes,
|
|
21047
|
+
events,
|
|
21048
|
+
keySpan2
|
|
21049
|
+
);
|
|
20805
21050
|
addEvents(events, boundEvents);
|
|
20806
21051
|
} else if (bindParts[KW_BINDON_IDX]) {
|
|
20807
21052
|
const identifier = bindParts[IDENT_KW_IDX];
|
|
@@ -20832,7 +21077,16 @@ var HtmlAstToIvyAst = class {
|
|
|
20832
21077
|
this.bindingParser.parsePropertyBinding(identifier, value, false, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
|
|
20833
21078
|
} else {
|
|
20834
21079
|
const events = [];
|
|
20835
|
-
this.bindingParser.parseEvent(
|
|
21080
|
+
this.bindingParser.parseEvent(
|
|
21081
|
+
identifier,
|
|
21082
|
+
value,
|
|
21083
|
+
false,
|
|
21084
|
+
srcSpan,
|
|
21085
|
+
attribute2.valueSpan || srcSpan,
|
|
21086
|
+
matchableAttributes,
|
|
21087
|
+
events,
|
|
21088
|
+
keySpan2
|
|
21089
|
+
);
|
|
20836
21090
|
addEvents(events, boundEvents);
|
|
20837
21091
|
}
|
|
20838
21092
|
return true;
|
|
@@ -20866,7 +21120,16 @@ var HtmlAstToIvyAst = class {
|
|
|
20866
21120
|
}
|
|
20867
21121
|
parseAssignmentEvent(name, expression, sourceSpan, valueSpan, targetMatchableAttrs, boundEvents, keySpan) {
|
|
20868
21122
|
const events = [];
|
|
20869
|
-
this.bindingParser.parseEvent(
|
|
21123
|
+
this.bindingParser.parseEvent(
|
|
21124
|
+
`${name}Change`,
|
|
21125
|
+
expression,
|
|
21126
|
+
true,
|
|
21127
|
+
sourceSpan,
|
|
21128
|
+
valueSpan || sourceSpan,
|
|
21129
|
+
targetMatchableAttrs,
|
|
21130
|
+
events,
|
|
21131
|
+
keySpan
|
|
21132
|
+
);
|
|
20870
21133
|
addEvents(events, boundEvents);
|
|
20871
21134
|
}
|
|
20872
21135
|
reportError(message, sourceSpan, level = ParseErrorLevel.ERROR) {
|
|
@@ -20936,12 +21199,12 @@ function textContents(node) {
|
|
|
20936
21199
|
}
|
|
20937
21200
|
}
|
|
20938
21201
|
|
|
20939
|
-
// bazel-out/
|
|
21202
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
20940
21203
|
var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
|
|
20941
21204
|
function parseTemplate(template2, templateUrl, options = {}) {
|
|
20942
21205
|
var _a2;
|
|
20943
|
-
const { interpolationConfig, preserveWhitespaces, enableI18nLegacyMessageIdFormat } = options;
|
|
20944
|
-
const bindingParser = makeBindingParser(interpolationConfig);
|
|
21206
|
+
const { interpolationConfig, preserveWhitespaces, enableI18nLegacyMessageIdFormat, allowInvalidAssignmentEvents } = options;
|
|
21207
|
+
const bindingParser = makeBindingParser(interpolationConfig, allowInvalidAssignmentEvents);
|
|
20945
21208
|
const htmlParser = new HtmlParser();
|
|
20946
21209
|
const parseResult = htmlParser.parse(template2, templateUrl, __spreadProps(__spreadValues({
|
|
20947
21210
|
leadingTriviaChars: LEADING_TRIVIA_CHARS
|
|
@@ -20965,7 +21228,11 @@ function parseTemplate(template2, templateUrl, options = {}) {
|
|
|
20965
21228
|
return parsedTemplate2;
|
|
20966
21229
|
}
|
|
20967
21230
|
let rootNodes = parseResult.rootNodes;
|
|
20968
|
-
const i18nMetaVisitor = new I18nMetaVisitor(
|
|
21231
|
+
const i18nMetaVisitor = new I18nMetaVisitor(
|
|
21232
|
+
interpolationConfig,
|
|
21233
|
+
!preserveWhitespaces,
|
|
21234
|
+
enableI18nLegacyMessageIdFormat
|
|
21235
|
+
);
|
|
20969
21236
|
const i18nMetaResult = i18nMetaVisitor.visitAllWithErrors(rootNodes);
|
|
20970
21237
|
if (!options.alwaysAttemptHtmlToR3AstConversion && i18nMetaResult.errors && i18nMetaResult.errors.length > 0) {
|
|
20971
21238
|
const parsedTemplate2 = {
|
|
@@ -21006,11 +21273,11 @@ function parseTemplate(template2, templateUrl, options = {}) {
|
|
|
21006
21273
|
return parsedTemplate;
|
|
21007
21274
|
}
|
|
21008
21275
|
var elementRegistry = new DomElementSchemaRegistry();
|
|
21009
|
-
function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {
|
|
21010
|
-
return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, []);
|
|
21276
|
+
function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, allowInvalidAssignmentEvents = false) {
|
|
21277
|
+
return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, [], allowInvalidAssignmentEvents);
|
|
21011
21278
|
}
|
|
21012
21279
|
|
|
21013
|
-
// bazel-out/
|
|
21280
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
21014
21281
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
21015
21282
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
21016
21283
|
var CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
|
|
@@ -21117,10 +21384,7 @@ function compileComponentFromMetadata(meta, constantPool, bindingParser) {
|
|
|
21117
21384
|
definitionMap.set("vars", literal(tpl.root.vars));
|
|
21118
21385
|
if (tpl.consts.length > 0) {
|
|
21119
21386
|
if (tpl.constsInitializers.length > 0) {
|
|
21120
|
-
definitionMap.set("consts", arrowFn([], [
|
|
21121
|
-
...tpl.constsInitializers,
|
|
21122
|
-
new ReturnStatement(literalArr(tpl.consts))
|
|
21123
|
-
]));
|
|
21387
|
+
definitionMap.set("consts", arrowFn([], [...tpl.constsInitializers, new ReturnStatement(literalArr(tpl.consts))]));
|
|
21124
21388
|
} else {
|
|
21125
21389
|
definitionMap.set("consts", literalArr(tpl.consts));
|
|
21126
21390
|
}
|
|
@@ -21330,8 +21594,16 @@ function createHostDirectivesType(meta) {
|
|
|
21330
21594
|
}
|
|
21331
21595
|
return expressionType(literalArr(meta.hostDirectives.map((hostMeta) => literalMap([
|
|
21332
21596
|
{ key: "directive", value: typeofExpr(hostMeta.directive.type), quoted: false },
|
|
21333
|
-
{
|
|
21334
|
-
|
|
21597
|
+
{
|
|
21598
|
+
key: "inputs",
|
|
21599
|
+
value: stringMapAsLiteralExpression(hostMeta.inputs || {}),
|
|
21600
|
+
quoted: false
|
|
21601
|
+
},
|
|
21602
|
+
{
|
|
21603
|
+
key: "outputs",
|
|
21604
|
+
value: stringMapAsLiteralExpression(hostMeta.outputs || {}),
|
|
21605
|
+
quoted: false
|
|
21606
|
+
}
|
|
21335
21607
|
]))));
|
|
21336
21608
|
}
|
|
21337
21609
|
function createHostDirectivesFeatureArg(hostDirectives) {
|
|
@@ -21372,7 +21644,7 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
21372
21644
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
21373
21645
|
}
|
|
21374
21646
|
|
|
21375
|
-
// bazel-out/
|
|
21647
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
21376
21648
|
var R3TargetBinder = class {
|
|
21377
21649
|
constructor(directiveMatcher) {
|
|
21378
21650
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -22005,11 +22277,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
22005
22277
|
return templateEntities;
|
|
22006
22278
|
}
|
|
22007
22279
|
|
|
22008
|
-
// bazel-out/
|
|
22280
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
22009
22281
|
var ResourceLoader = class {
|
|
22010
22282
|
};
|
|
22011
22283
|
|
|
22012
|
-
// bazel-out/
|
|
22284
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
22013
22285
|
var CompilerFacadeImpl = class {
|
|
22014
22286
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
22015
22287
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -22183,7 +22455,12 @@ var CompilerFacadeImpl = class {
|
|
|
22183
22455
|
...preStatements,
|
|
22184
22456
|
new DeclareVarStmt("$def", def, void 0, StmtModifier.Exported)
|
|
22185
22457
|
];
|
|
22186
|
-
const res = this.jitEvaluator.evaluateStatements(
|
|
22458
|
+
const res = this.jitEvaluator.evaluateStatements(
|
|
22459
|
+
sourceUrl,
|
|
22460
|
+
statements,
|
|
22461
|
+
new R3JitReflector(context),
|
|
22462
|
+
true
|
|
22463
|
+
);
|
|
22187
22464
|
return res["$def"];
|
|
22188
22465
|
}
|
|
22189
22466
|
};
|
|
@@ -22570,17 +22847,17 @@ function publishFacade(global) {
|
|
|
22570
22847
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
22571
22848
|
}
|
|
22572
22849
|
|
|
22573
|
-
// bazel-out/
|
|
22574
|
-
var VERSION2 = new Version("18.0.0-next.
|
|
22850
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
|
|
22851
|
+
var VERSION2 = new Version("18.0.0-next.6");
|
|
22575
22852
|
|
|
22576
|
-
// bazel-out/
|
|
22853
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
22577
22854
|
var _VisitorMode;
|
|
22578
22855
|
(function(_VisitorMode2) {
|
|
22579
22856
|
_VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
|
|
22580
22857
|
_VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
|
|
22581
22858
|
})(_VisitorMode || (_VisitorMode = {}));
|
|
22582
22859
|
|
|
22583
|
-
// bazel-out/
|
|
22860
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
22584
22861
|
var XmlTagDefinition = class {
|
|
22585
22862
|
constructor() {
|
|
22586
22863
|
this.closedByParent = false;
|
|
@@ -22602,7 +22879,7 @@ var XmlTagDefinition = class {
|
|
|
22602
22879
|
};
|
|
22603
22880
|
var _TAG_DEFINITION = new XmlTagDefinition();
|
|
22604
22881
|
|
|
22605
|
-
// bazel-out/
|
|
22882
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
22606
22883
|
var FactoryTarget2;
|
|
22607
22884
|
(function(FactoryTarget3) {
|
|
22608
22885
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -22612,10 +22889,10 @@ var FactoryTarget2;
|
|
|
22612
22889
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
22613
22890
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
22614
22891
|
|
|
22615
|
-
// bazel-out/
|
|
22892
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
22616
22893
|
publishFacade(_global);
|
|
22617
22894
|
|
|
22618
|
-
// bazel-out/
|
|
22895
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/identifier-lookup.mjs
|
|
22619
22896
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
22620
22897
|
function lookupIdentifiersInSourceFile(sourceFile, names) {
|
|
22621
22898
|
const results = /* @__PURE__ */ new Set();
|
|
@@ -22629,7 +22906,7 @@ function lookupIdentifiersInSourceFile(sourceFile, names) {
|
|
|
22629
22906
|
return results;
|
|
22630
22907
|
}
|
|
22631
22908
|
|
|
22632
|
-
// bazel-out/
|
|
22909
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/types.mjs
|
|
22633
22910
|
var ngtemplate = "ng-template";
|
|
22634
22911
|
var boundngifelse = "[ngIfElse]";
|
|
22635
22912
|
var boundngifthenelse = "[ngIfThenElse]";
|
|
@@ -22962,7 +23239,7 @@ var TemplateCollector = class extends RecursiveVisitor {
|
|
|
22962
23239
|
}
|
|
22963
23240
|
};
|
|
22964
23241
|
|
|
22965
|
-
// bazel-out/
|
|
23242
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/util.mjs
|
|
22966
23243
|
var import_path2 = require("path");
|
|
22967
23244
|
var import_typescript6 = __toESM(require("typescript"), 1);
|
|
22968
23245
|
var startMarkerRegex = new RegExp(startMarker, "gm");
|
|
@@ -23477,7 +23754,7 @@ function forEachClass(sourceFile, callback) {
|
|
|
23477
23754
|
});
|
|
23478
23755
|
}
|
|
23479
23756
|
|
|
23480
|
-
// bazel-out/
|
|
23757
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/cases.mjs
|
|
23481
23758
|
var boundcase = "[ngSwitchCase]";
|
|
23482
23759
|
var switchcase = "*ngSwitchCase";
|
|
23483
23760
|
var nakedcase = "ngSwitchCase";
|
|
@@ -23555,7 +23832,7 @@ function migrateNgSwitchDefault(etm, tmpl, offset) {
|
|
|
23555
23832
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
23556
23833
|
}
|
|
23557
23834
|
|
|
23558
|
-
// bazel-out/
|
|
23835
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/fors.mjs
|
|
23559
23836
|
var ngfor = "*ngFor";
|
|
23560
23837
|
var nakedngfor2 = "ngFor";
|
|
23561
23838
|
var fors = [
|
|
@@ -23729,7 +24006,7 @@ function getNgForParts(expression) {
|
|
|
23729
24006
|
return parts;
|
|
23730
24007
|
}
|
|
23731
24008
|
|
|
23732
|
-
// bazel-out/
|
|
24009
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/ifs.mjs
|
|
23733
24010
|
var ngif = "*ngIf";
|
|
23734
24011
|
var boundngif = "[ngIf]";
|
|
23735
24012
|
var nakedngif = "ngIf";
|
|
@@ -23882,7 +24159,7 @@ function buildIfThenBlock(etm, tmpl, condition, thenPlaceholder, offset) {
|
|
|
23882
24159
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
23883
24160
|
}
|
|
23884
24161
|
|
|
23885
|
-
// bazel-out/
|
|
24162
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/switches.mjs
|
|
23886
24163
|
var ngswitch = "[ngSwitch]";
|
|
23887
24164
|
var switches = [
|
|
23888
24165
|
ngswitch
|
|
@@ -23950,7 +24227,7 @@ function migrateNgSwitch(etm, tmpl, offset) {
|
|
|
23950
24227
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
23951
24228
|
}
|
|
23952
24229
|
|
|
23953
|
-
// bazel-out/
|
|
24230
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/migration.mjs
|
|
23954
24231
|
function migrateTemplate(template2, templateType, node, file, format = true, analyzedFiles) {
|
|
23955
24232
|
let errors = [];
|
|
23956
24233
|
let migrated = template2;
|
|
@@ -24001,7 +24278,7 @@ function migrateTemplate(template2, templateType, node, file, format = true, ana
|
|
|
24001
24278
|
return { migrated, errors };
|
|
24002
24279
|
}
|
|
24003
24280
|
|
|
24004
|
-
// bazel-out/
|
|
24281
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/index.mjs
|
|
24005
24282
|
function control_flow_migration_default(options) {
|
|
24006
24283
|
return (tree, context) => __async(this, null, function* () {
|
|
24007
24284
|
const basePath = process.cwd();
|
|
@@ -24013,7 +24290,6 @@ function control_flow_migration_default(options) {
|
|
|
24013
24290
|
if (!allPaths.length) {
|
|
24014
24291
|
throw new import_schematics.SchematicsException("Could not find any tsconfig file. Cannot run the control flow migration.");
|
|
24015
24292
|
}
|
|
24016
|
-
context.logger.warn("IMPORTANT! This migration is in developer preview. Use with caution.");
|
|
24017
24293
|
let errors = [];
|
|
24018
24294
|
for (const tsconfigPath of allPaths) {
|
|
24019
24295
|
const migrateErrors = runControlFlowMigration(tree, tsconfigPath, basePath, pathToMigrate, options);
|