@angular/core 18.0.0-next.5 → 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/change_detection/scheduling/zoneless_scheduling_impl.mjs +50 -5
- package/esm2022/src/core.mjs +2 -1
- package/esm2022/src/core_private_export.mjs +2 -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/pending_tasks.mjs +54 -11
- 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 +50 -3
- package/esm2022/src/render3/list_reconciliation.mjs +41 -1
- package/esm2022/src/util/callback_scheduler.mjs +13 -2
- 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/defer.mjs +1 -2
- package/esm2022/testing/src/logger.mjs +3 -3
- package/event-dispatch-contract.min.js +1 -1
- package/fesm2022/core.mjs +516 -39
- 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 +3 -12
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +75 -13
- package/package.json +7 -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 +659 -337
- package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +2 -2
- package/schematics/migrations.json +6 -16
- package/schematics/ng-generate/control-flow-migration/bundle.js +667 -345
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +2 -2
- package/schematics/ng-generate/standalone-migration/bundle.js +1030 -660
- package/schematics/ng-generate/standalone-migration/bundle.js.map +2 -2
- package/testing/index.d.ts +2 -9
- package/schematics/migrations/block-template-entities/bundle.js +0 -22808
- 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,
|
|
@@ -6265,7 +6493,7 @@ function createI18nApplyOp(owner, handle, sourceSpan) {
|
|
|
6265
6493
|
}, NEW_OP);
|
|
6266
6494
|
}
|
|
6267
6495
|
|
|
6268
|
-
// bazel-out/
|
|
6496
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
6269
6497
|
var _a;
|
|
6270
6498
|
var _b;
|
|
6271
6499
|
var _c;
|
|
@@ -7127,7 +7355,7 @@ function isStringLiteral(expr) {
|
|
|
7127
7355
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
7128
7356
|
}
|
|
7129
7357
|
|
|
7130
|
-
// bazel-out/
|
|
7358
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
7131
7359
|
var _OpList = class {
|
|
7132
7360
|
constructor() {
|
|
7133
7361
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -7318,14 +7546,14 @@ var OpList = _OpList;
|
|
|
7318
7546
|
_OpList.nextListId = 0;
|
|
7319
7547
|
})();
|
|
7320
7548
|
|
|
7321
|
-
// bazel-out/
|
|
7549
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
7322
7550
|
var SlotHandle = class {
|
|
7323
7551
|
constructor() {
|
|
7324
7552
|
this.slot = null;
|
|
7325
7553
|
}
|
|
7326
7554
|
};
|
|
7327
7555
|
|
|
7328
|
-
// bazel-out/
|
|
7556
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
7329
7557
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
7330
7558
|
OpKind.Element,
|
|
7331
7559
|
OpKind.ElementStart,
|
|
@@ -7629,7 +7857,7 @@ function createI18nAttributesOp(xref, handle, target) {
|
|
|
7629
7857
|
}, NEW_OP), TRAIT_CONSUMES_SLOT);
|
|
7630
7858
|
}
|
|
7631
7859
|
|
|
7632
|
-
// bazel-out/
|
|
7860
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
7633
7861
|
function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
|
|
7634
7862
|
return __spreadValues(__spreadValues({
|
|
7635
7863
|
kind: OpKind.HostProperty,
|
|
@@ -7643,10 +7871,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
|
|
|
7643
7871
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
7644
7872
|
}
|
|
7645
7873
|
|
|
7646
|
-
// bazel-out/
|
|
7874
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
7647
7875
|
var CTX_REF = "CTX_REF_MARKER";
|
|
7648
7876
|
|
|
7649
|
-
// bazel-out/
|
|
7877
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
7650
7878
|
var CompilationJobKind;
|
|
7651
7879
|
(function(CompilationJobKind2) {
|
|
7652
7880
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -7754,7 +7982,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
7754
7982
|
}
|
|
7755
7983
|
};
|
|
7756
7984
|
|
|
7757
|
-
// bazel-out/
|
|
7985
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
7758
7986
|
function deleteAnyCasts(job) {
|
|
7759
7987
|
for (const unit of job.units) {
|
|
7760
7988
|
for (const op of unit.ops()) {
|
|
@@ -7772,7 +8000,7 @@ function removeAnys(e) {
|
|
|
7772
8000
|
return e;
|
|
7773
8001
|
}
|
|
7774
8002
|
|
|
7775
|
-
// bazel-out/
|
|
8003
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
7776
8004
|
function applyI18nExpressions(job) {
|
|
7777
8005
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
7778
8006
|
for (const unit of job.units) {
|
|
@@ -7815,7 +8043,7 @@ function needsApplication(i18nContexts, op) {
|
|
|
7815
8043
|
return false;
|
|
7816
8044
|
}
|
|
7817
8045
|
|
|
7818
|
-
// bazel-out/
|
|
8046
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
7819
8047
|
function assignI18nSlotDependencies(job) {
|
|
7820
8048
|
for (const unit of job.units) {
|
|
7821
8049
|
let updateOp = unit.update.head;
|
|
@@ -7860,7 +8088,7 @@ function assignI18nSlotDependencies(job) {
|
|
|
7860
8088
|
}
|
|
7861
8089
|
}
|
|
7862
8090
|
|
|
7863
|
-
// bazel-out/
|
|
8091
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
7864
8092
|
function createOpXrefMap(unit) {
|
|
7865
8093
|
const map = /* @__PURE__ */ new Map();
|
|
7866
8094
|
for (const op of unit.create) {
|
|
@@ -7875,7 +8103,7 @@ function createOpXrefMap(unit) {
|
|
|
7875
8103
|
return map;
|
|
7876
8104
|
}
|
|
7877
8105
|
|
|
7878
|
-
// bazel-out/
|
|
8106
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
7879
8107
|
function extractAttributes(job) {
|
|
7880
8108
|
for (const unit of job.units) {
|
|
7881
8109
|
const elements = createOpXrefMap(unit);
|
|
@@ -8004,7 +8232,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
8004
8232
|
}
|
|
8005
8233
|
}
|
|
8006
8234
|
|
|
8007
|
-
// bazel-out/
|
|
8235
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
8008
8236
|
function lookupElement2(elements, xref) {
|
|
8009
8237
|
const el = elements.get(xref);
|
|
8010
8238
|
if (el === void 0) {
|
|
@@ -8061,7 +8289,7 @@ function specializeBindings(job) {
|
|
|
8061
8289
|
}
|
|
8062
8290
|
}
|
|
8063
8291
|
|
|
8064
|
-
// bazel-out/
|
|
8292
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
8065
8293
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
8066
8294
|
Identifiers.attribute,
|
|
8067
8295
|
Identifiers.classProp,
|
|
@@ -8129,7 +8357,7 @@ function chainOperationsInList(opList) {
|
|
|
8129
8357
|
}
|
|
8130
8358
|
}
|
|
8131
8359
|
|
|
8132
|
-
// bazel-out/
|
|
8360
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
8133
8361
|
function collapseSingletonInterpolations(job) {
|
|
8134
8362
|
for (const unit of job.units) {
|
|
8135
8363
|
for (const op of unit.update) {
|
|
@@ -8141,7 +8369,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
8141
8369
|
}
|
|
8142
8370
|
}
|
|
8143
8371
|
|
|
8144
|
-
// bazel-out/
|
|
8372
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
8145
8373
|
function generateConditionalExpressions(job) {
|
|
8146
8374
|
for (const unit of job.units) {
|
|
8147
8375
|
for (const op of unit.ops()) {
|
|
@@ -8178,7 +8406,7 @@ function generateConditionalExpressions(job) {
|
|
|
8178
8406
|
}
|
|
8179
8407
|
}
|
|
8180
8408
|
|
|
8181
|
-
// bazel-out/
|
|
8409
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
8182
8410
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
8183
8411
|
["&&", BinaryOperator.And],
|
|
8184
8412
|
[">", BinaryOperator.Bigger],
|
|
@@ -8201,14 +8429,20 @@ var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
|
8201
8429
|
]);
|
|
8202
8430
|
function namespaceForKey(namespacePrefixKey) {
|
|
8203
8431
|
var _a2;
|
|
8204
|
-
const NAMESPACES = /* @__PURE__ */ new Map([
|
|
8432
|
+
const NAMESPACES = /* @__PURE__ */ new Map([
|
|
8433
|
+
["svg", Namespace.SVG],
|
|
8434
|
+
["math", Namespace.Math]
|
|
8435
|
+
]);
|
|
8205
8436
|
if (namespacePrefixKey === null) {
|
|
8206
8437
|
return Namespace.HTML;
|
|
8207
8438
|
}
|
|
8208
8439
|
return (_a2 = NAMESPACES.get(namespacePrefixKey)) != null ? _a2 : Namespace.HTML;
|
|
8209
8440
|
}
|
|
8210
8441
|
function keyForNamespace(namespace) {
|
|
8211
|
-
const NAMESPACES = /* @__PURE__ */ new Map([
|
|
8442
|
+
const NAMESPACES = /* @__PURE__ */ new Map([
|
|
8443
|
+
["svg", Namespace.SVG],
|
|
8444
|
+
["math", Namespace.Math]
|
|
8445
|
+
]);
|
|
8212
8446
|
for (const [k, n] of NAMESPACES.entries()) {
|
|
8213
8447
|
if (n === namespace) {
|
|
8214
8448
|
return k;
|
|
@@ -8229,7 +8463,7 @@ function literalOrArrayLiteral(value) {
|
|
|
8229
8463
|
return literal(value);
|
|
8230
8464
|
}
|
|
8231
8465
|
|
|
8232
|
-
// bazel-out/
|
|
8466
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
8233
8467
|
function collectElementConsts(job) {
|
|
8234
8468
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
8235
8469
|
for (const unit of job.units) {
|
|
@@ -8398,7 +8632,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
8398
8632
|
return literalArr(attrArray);
|
|
8399
8633
|
}
|
|
8400
8634
|
|
|
8401
|
-
// bazel-out/
|
|
8635
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
|
|
8402
8636
|
function convertI18nBindings(job) {
|
|
8403
8637
|
const i18nAttributesByElem = /* @__PURE__ */ new Map();
|
|
8404
8638
|
for (const unit of job.units) {
|
|
@@ -8439,7 +8673,7 @@ function convertI18nBindings(job) {
|
|
|
8439
8673
|
}
|
|
8440
8674
|
}
|
|
8441
8675
|
|
|
8442
|
-
// bazel-out/
|
|
8676
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
|
|
8443
8677
|
function resolveDeferDepsFns(job) {
|
|
8444
8678
|
var _a2;
|
|
8445
8679
|
for (const unit of job.units) {
|
|
@@ -8464,7 +8698,7 @@ function resolveDeferDepsFns(job) {
|
|
|
8464
8698
|
}
|
|
8465
8699
|
}
|
|
8466
8700
|
|
|
8467
|
-
// bazel-out/
|
|
8701
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
8468
8702
|
function createI18nContexts(job) {
|
|
8469
8703
|
const attrContextByMessage = /* @__PURE__ */ new Map();
|
|
8470
8704
|
for (const unit of job.units) {
|
|
@@ -8542,7 +8776,7 @@ function createI18nContexts(job) {
|
|
|
8542
8776
|
}
|
|
8543
8777
|
}
|
|
8544
8778
|
|
|
8545
|
-
// bazel-out/
|
|
8779
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
|
|
8546
8780
|
function deduplicateTextBindings(job) {
|
|
8547
8781
|
const seen = /* @__PURE__ */ new Map();
|
|
8548
8782
|
for (const unit of job.units) {
|
|
@@ -8564,7 +8798,7 @@ function deduplicateTextBindings(job) {
|
|
|
8564
8798
|
}
|
|
8565
8799
|
}
|
|
8566
8800
|
|
|
8567
|
-
// bazel-out/
|
|
8801
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
8568
8802
|
function configureDeferInstructions(job) {
|
|
8569
8803
|
for (const unit of job.units) {
|
|
8570
8804
|
for (const op of unit.create) {
|
|
@@ -8581,7 +8815,7 @@ function configureDeferInstructions(job) {
|
|
|
8581
8815
|
}
|
|
8582
8816
|
}
|
|
8583
8817
|
|
|
8584
|
-
// bazel-out/
|
|
8818
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
8585
8819
|
function resolveDeferTargetNames(job) {
|
|
8586
8820
|
const scopes = /* @__PURE__ */ new Map();
|
|
8587
8821
|
function getScopeForView2(view) {
|
|
@@ -8675,7 +8909,7 @@ var Scope = class {
|
|
|
8675
8909
|
}
|
|
8676
8910
|
};
|
|
8677
8911
|
|
|
8678
|
-
// bazel-out/
|
|
8912
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
8679
8913
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
8680
8914
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
8681
8915
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -8702,7 +8936,7 @@ function collapseEmptyInstructions(job) {
|
|
|
8702
8936
|
}
|
|
8703
8937
|
}
|
|
8704
8938
|
|
|
8705
|
-
// bazel-out/
|
|
8939
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
8706
8940
|
function expandSafeReads(job) {
|
|
8707
8941
|
for (const unit of job.units) {
|
|
8708
8942
|
for (const op of unit.ops()) {
|
|
@@ -8838,7 +9072,7 @@ function ternaryTransform(e) {
|
|
|
8838
9072
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
8839
9073
|
}
|
|
8840
9074
|
|
|
8841
|
-
// bazel-out/
|
|
9075
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
8842
9076
|
var ESCAPE = "\uFFFD";
|
|
8843
9077
|
var ELEMENT_MARKER = "#";
|
|
8844
9078
|
var TEMPLATE_MARKER = "*";
|
|
@@ -8974,7 +9208,7 @@ function formatValue(value) {
|
|
|
8974
9208
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
8975
9209
|
}
|
|
8976
9210
|
|
|
8977
|
-
// bazel-out/
|
|
9211
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
8978
9212
|
function generateAdvance(job) {
|
|
8979
9213
|
for (const unit of job.units) {
|
|
8980
9214
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -9006,7 +9240,7 @@ function generateAdvance(job) {
|
|
|
9006
9240
|
}
|
|
9007
9241
|
}
|
|
9008
9242
|
|
|
9009
|
-
// bazel-out/
|
|
9243
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
9010
9244
|
function generateProjectionDefs(job) {
|
|
9011
9245
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
9012
9246
|
const selectors = [];
|
|
@@ -9030,7 +9264,7 @@ function generateProjectionDefs(job) {
|
|
|
9030
9264
|
}
|
|
9031
9265
|
}
|
|
9032
9266
|
|
|
9033
|
-
// bazel-out/
|
|
9267
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
9034
9268
|
function generateVariables(job) {
|
|
9035
9269
|
recursivelyProcessView(job.root, null);
|
|
9036
9270
|
}
|
|
@@ -9129,7 +9363,7 @@ function generateVariablesInScopeForView(view, scope) {
|
|
|
9129
9363
|
return newOps;
|
|
9130
9364
|
}
|
|
9131
9365
|
|
|
9132
|
-
// bazel-out/
|
|
9366
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
9133
9367
|
function collectConstExpressions(job) {
|
|
9134
9368
|
for (const unit of job.units) {
|
|
9135
9369
|
for (const op of unit.ops()) {
|
|
@@ -9143,7 +9377,7 @@ function collectConstExpressions(job) {
|
|
|
9143
9377
|
}
|
|
9144
9378
|
}
|
|
9145
9379
|
|
|
9146
|
-
// bazel-out/
|
|
9380
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
9147
9381
|
var STYLE_DOT = "style.";
|
|
9148
9382
|
var CLASS_DOT = "class.";
|
|
9149
9383
|
var STYLE_BANG = "style!";
|
|
@@ -9201,7 +9435,7 @@ function parseProperty(name) {
|
|
|
9201
9435
|
return { property: property2, suffix };
|
|
9202
9436
|
}
|
|
9203
9437
|
|
|
9204
|
-
// bazel-out/
|
|
9438
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
9205
9439
|
function mapLiteral(obj, quoted = false) {
|
|
9206
9440
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
9207
9441
|
key,
|
|
@@ -9210,7 +9444,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
9210
9444
|
})));
|
|
9211
9445
|
}
|
|
9212
9446
|
|
|
9213
|
-
// bazel-out/
|
|
9447
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
9214
9448
|
var IcuSerializerVisitor = class {
|
|
9215
9449
|
visitText(text2) {
|
|
9216
9450
|
return text2.value;
|
|
@@ -9244,7 +9478,7 @@ function serializeIcuNode(icu) {
|
|
|
9244
9478
|
return icu.visit(serializer);
|
|
9245
9479
|
}
|
|
9246
9480
|
|
|
9247
|
-
// bazel-out/
|
|
9481
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
9248
9482
|
var TokenType;
|
|
9249
9483
|
(function(TokenType2) {
|
|
9250
9484
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -9605,7 +9839,7 @@ function parseIntAutoRadix(text2) {
|
|
|
9605
9839
|
return result;
|
|
9606
9840
|
}
|
|
9607
9841
|
|
|
9608
|
-
// bazel-out/
|
|
9842
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
9609
9843
|
var SplitInterpolation = class {
|
|
9610
9844
|
constructor(strings, expressions, offsets) {
|
|
9611
9845
|
this.strings = strings;
|
|
@@ -10487,7 +10721,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
10487
10721
|
return offsetMap;
|
|
10488
10722
|
}
|
|
10489
10723
|
|
|
10490
|
-
// bazel-out/
|
|
10724
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
10491
10725
|
var NodeWithI18n = class {
|
|
10492
10726
|
constructor(sourceSpan, i18n2) {
|
|
10493
10727
|
this.sourceSpan = sourceSpan;
|
|
@@ -10639,16 +10873,12 @@ var RecursiveVisitor = class {
|
|
|
10639
10873
|
}
|
|
10640
10874
|
};
|
|
10641
10875
|
|
|
10642
|
-
// bazel-out/
|
|
10876
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
10643
10877
|
var _SECURITY_SCHEMA;
|
|
10644
10878
|
function SECURITY_SCHEMA() {
|
|
10645
10879
|
if (!_SECURITY_SCHEMA) {
|
|
10646
10880
|
_SECURITY_SCHEMA = {};
|
|
10647
|
-
registerContext(SecurityContext.HTML, [
|
|
10648
|
-
"iframe|srcdoc",
|
|
10649
|
-
"*|innerHTML",
|
|
10650
|
-
"*|outerHTML"
|
|
10651
|
-
]);
|
|
10881
|
+
registerContext(SecurityContext.HTML, ["iframe|srcdoc", "*|innerHTML", "*|outerHTML"]);
|
|
10652
10882
|
registerContext(SecurityContext.STYLE, ["*|style"]);
|
|
10653
10883
|
registerContext(SecurityContext.URL, [
|
|
10654
10884
|
"*|formAction",
|
|
@@ -10692,16 +10922,23 @@ function registerContext(ctx, specs) {
|
|
|
10692
10922
|
for (const spec of specs)
|
|
10693
10923
|
_SECURITY_SCHEMA[spec.toLowerCase()] = ctx;
|
|
10694
10924
|
}
|
|
10695
|
-
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
|
+
]);
|
|
10696
10933
|
function isIframeSecuritySensitiveAttr(attrName) {
|
|
10697
10934
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
10698
10935
|
}
|
|
10699
10936
|
|
|
10700
|
-
// bazel-out/
|
|
10937
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
10701
10938
|
var ElementSchemaRegistry = class {
|
|
10702
10939
|
};
|
|
10703
10940
|
|
|
10704
|
-
// bazel-out/
|
|
10941
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
10705
10942
|
var BOOLEAN = "boolean";
|
|
10706
10943
|
var NUMBER = "number";
|
|
10707
10944
|
var STRING = "string";
|
|
@@ -11054,7 +11291,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
11054
11291
|
}
|
|
11055
11292
|
}
|
|
11056
11293
|
|
|
11057
|
-
// bazel-out/
|
|
11294
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
11058
11295
|
var HtmlTagDefinition = class {
|
|
11059
11296
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
11060
11297
|
this.closedByChildren = {};
|
|
@@ -11148,20 +11385,38 @@ function getHtmlTagDefinition(tagName) {
|
|
|
11148
11385
|
"li": new HtmlTagDefinition({ closedByChildren: ["li"], closedByParent: true }),
|
|
11149
11386
|
"dt": new HtmlTagDefinition({ closedByChildren: ["dt", "dd"] }),
|
|
11150
11387
|
"dd": new HtmlTagDefinition({ closedByChildren: ["dt", "dd"], closedByParent: true }),
|
|
11151
|
-
"rb": new HtmlTagDefinition({
|
|
11152
|
-
|
|
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
|
+
}),
|
|
11153
11396
|
"rtc": new HtmlTagDefinition({ closedByChildren: ["rb", "rtc", "rp"], closedByParent: true }),
|
|
11154
|
-
"rp": new HtmlTagDefinition({
|
|
11397
|
+
"rp": new HtmlTagDefinition({
|
|
11398
|
+
closedByChildren: ["rb", "rt", "rtc", "rp"],
|
|
11399
|
+
closedByParent: true
|
|
11400
|
+
}),
|
|
11155
11401
|
"optgroup": new HtmlTagDefinition({ closedByChildren: ["optgroup"], closedByParent: true }),
|
|
11156
|
-
"option": new HtmlTagDefinition({
|
|
11402
|
+
"option": new HtmlTagDefinition({
|
|
11403
|
+
closedByChildren: ["option", "optgroup"],
|
|
11404
|
+
closedByParent: true
|
|
11405
|
+
}),
|
|
11157
11406
|
"pre": new HtmlTagDefinition({ ignoreFirstLf: true }),
|
|
11158
11407
|
"listing": new HtmlTagDefinition({ ignoreFirstLf: true }),
|
|
11159
11408
|
"style": new HtmlTagDefinition({ contentType: TagContentType.RAW_TEXT }),
|
|
11160
11409
|
"script": new HtmlTagDefinition({ contentType: TagContentType.RAW_TEXT }),
|
|
11161
11410
|
"title": new HtmlTagDefinition({
|
|
11162
|
-
contentType: {
|
|
11411
|
+
contentType: {
|
|
11412
|
+
default: TagContentType.ESCAPABLE_RAW_TEXT,
|
|
11413
|
+
svg: TagContentType.PARSABLE_DATA
|
|
11414
|
+
}
|
|
11163
11415
|
}),
|
|
11164
|
-
"textarea": new HtmlTagDefinition({
|
|
11416
|
+
"textarea": new HtmlTagDefinition({
|
|
11417
|
+
contentType: TagContentType.ESCAPABLE_RAW_TEXT,
|
|
11418
|
+
ignoreFirstLf: true
|
|
11419
|
+
})
|
|
11165
11420
|
});
|
|
11166
11421
|
new DomElementSchemaRegistry().allKnownElementNames().forEach((knownTagName) => {
|
|
11167
11422
|
if (!TAG_DEFINITIONS[knownTagName] && getNsPrefix(knownTagName) === null) {
|
|
@@ -11172,7 +11427,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
11172
11427
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
11173
11428
|
}
|
|
11174
11429
|
|
|
11175
|
-
// bazel-out/
|
|
11430
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
11176
11431
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
11177
11432
|
"A": "LINK",
|
|
11178
11433
|
"B": "BOLD_TEXT",
|
|
@@ -11294,7 +11549,7 @@ var PlaceholderRegistry = class {
|
|
|
11294
11549
|
}
|
|
11295
11550
|
};
|
|
11296
11551
|
|
|
11297
|
-
// bazel-out/
|
|
11552
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
11298
11553
|
var _expParser = new Parser(new Lexer());
|
|
11299
11554
|
function createI18nMessageFactory(interpolationConfig, containerBlocks) {
|
|
11300
11555
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
|
|
@@ -11473,14 +11728,14 @@ function extractPlaceholderName(input) {
|
|
|
11473
11728
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
11474
11729
|
}
|
|
11475
11730
|
|
|
11476
|
-
// bazel-out/
|
|
11731
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
11477
11732
|
var I18nError = class extends ParseError {
|
|
11478
11733
|
constructor(span, msg) {
|
|
11479
11734
|
super(span, msg);
|
|
11480
11735
|
}
|
|
11481
11736
|
};
|
|
11482
11737
|
|
|
11483
|
-
// bazel-out/
|
|
11738
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
11484
11739
|
var NAMED_ENTITIES = {
|
|
11485
11740
|
"AElig": "\xC6",
|
|
11486
11741
|
"AMP": "&",
|
|
@@ -13611,7 +13866,7 @@ var NAMED_ENTITIES = {
|
|
|
13611
13866
|
var NGSP_UNICODE = "\uE500";
|
|
13612
13867
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
13613
13868
|
|
|
13614
|
-
// bazel-out/
|
|
13869
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
13615
13870
|
var TokenError = class extends ParseError {
|
|
13616
13871
|
constructor(errorMsg, tokenType, span) {
|
|
13617
13872
|
super(span, errorMsg);
|
|
@@ -13665,7 +13920,12 @@ var _Tokenizer = class {
|
|
|
13665
13920
|
this._tokenizeIcu = options.tokenizeExpansionForms || false;
|
|
13666
13921
|
this._interpolationConfig = options.interpolationConfig || DEFAULT_INTERPOLATION_CONFIG;
|
|
13667
13922
|
this._leadingTriviaCodePoints = options.leadingTriviaChars && options.leadingTriviaChars.map((c) => c.codePointAt(0) || 0);
|
|
13668
|
-
const range = options.range || {
|
|
13923
|
+
const range = options.range || {
|
|
13924
|
+
endPos: _file.content.length,
|
|
13925
|
+
startPos: 0,
|
|
13926
|
+
startLine: 0,
|
|
13927
|
+
startCol: 0
|
|
13928
|
+
};
|
|
13669
13929
|
this._cursor = options.escapedString ? new EscapedCharacterCursor(_file, range) : new PlainCharacterCursor(_file, range);
|
|
13670
13930
|
this._preserveLineEndings = options.preserveLineEndings || false;
|
|
13671
13931
|
this._i18nNormalizeLineEndingsInICUs = options.i18nNormalizeLineEndingsInICUs || false;
|
|
@@ -14532,7 +14792,7 @@ var CursorError = class {
|
|
|
14532
14792
|
}
|
|
14533
14793
|
};
|
|
14534
14794
|
|
|
14535
|
-
// bazel-out/
|
|
14795
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
14536
14796
|
var TreeError = class extends ParseError {
|
|
14537
14797
|
static create(elementName, span, msg) {
|
|
14538
14798
|
return new TreeError(elementName, span, msg);
|
|
@@ -14916,7 +15176,7 @@ function decodeEntity(match, entity) {
|
|
|
14916
15176
|
return match;
|
|
14917
15177
|
}
|
|
14918
15178
|
|
|
14919
|
-
// bazel-out/
|
|
15179
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
14920
15180
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
14921
15181
|
"iframe|srcdoc",
|
|
14922
15182
|
"*|innerhtml",
|
|
@@ -14931,7 +15191,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
14931
15191
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
14932
15192
|
}
|
|
14933
15193
|
|
|
14934
|
-
// bazel-out/
|
|
15194
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
14935
15195
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
14936
15196
|
if (htmlNode instanceof NodeWithI18n) {
|
|
14937
15197
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -15088,7 +15348,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
15088
15348
|
return jsDocComment(tags);
|
|
15089
15349
|
}
|
|
15090
15350
|
|
|
15091
|
-
// bazel-out/
|
|
15351
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
15092
15352
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
15093
15353
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
15094
15354
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -15139,7 +15399,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
15139
15399
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
15140
15400
|
}
|
|
15141
15401
|
|
|
15142
|
-
// bazel-out/
|
|
15402
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
15143
15403
|
function createLocalizeStatements(variable2, message, params) {
|
|
15144
15404
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
15145
15405
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -15228,7 +15488,7 @@ function createEmptyMessagePart(location) {
|
|
|
15228
15488
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
15229
15489
|
}
|
|
15230
15490
|
|
|
15231
|
-
// bazel-out/
|
|
15491
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
15232
15492
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
15233
15493
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
15234
15494
|
var I18N_ICU_MAPPING_PREFIX = "I18N_EXP_";
|
|
@@ -15348,7 +15608,10 @@ function collectMessage(job, fileBasedI18nSuffix, messages, messageOp) {
|
|
|
15348
15608
|
let transformFn = void 0;
|
|
15349
15609
|
if (messageOp.needsPostprocessing || messageOp.postprocessingParams.size > 0) {
|
|
15350
15610
|
const postprocessingParams = Object.fromEntries([...messageOp.postprocessingParams.entries()].sort());
|
|
15351
|
-
const formattedPostprocessingParams = formatI18nPlaceholderNamesInMap(
|
|
15611
|
+
const formattedPostprocessingParams = formatI18nPlaceholderNamesInMap(
|
|
15612
|
+
postprocessingParams,
|
|
15613
|
+
false
|
|
15614
|
+
);
|
|
15352
15615
|
const extraTransformFnParams = [];
|
|
15353
15616
|
if (messageOp.postprocessingParams.size > 0) {
|
|
15354
15617
|
extraTransformFnParams.push(mapLiteral(formattedPostprocessingParams, true));
|
|
@@ -15396,7 +15659,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
15396
15659
|
return variable(name);
|
|
15397
15660
|
}
|
|
15398
15661
|
|
|
15399
|
-
// bazel-out/
|
|
15662
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
15400
15663
|
function convertI18nText(job) {
|
|
15401
15664
|
var _a2, _b2, _c2;
|
|
15402
15665
|
for (const unit of job.units) {
|
|
@@ -15466,7 +15729,7 @@ function convertI18nText(job) {
|
|
|
15466
15729
|
}
|
|
15467
15730
|
}
|
|
15468
15731
|
|
|
15469
|
-
// bazel-out/
|
|
15732
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
15470
15733
|
function liftLocalRefs(job) {
|
|
15471
15734
|
for (const unit of job.units) {
|
|
15472
15735
|
for (const op of unit.create) {
|
|
@@ -15496,7 +15759,7 @@ function serializeLocalRefs(refs) {
|
|
|
15496
15759
|
return literalArr(constRefs);
|
|
15497
15760
|
}
|
|
15498
15761
|
|
|
15499
|
-
// bazel-out/
|
|
15762
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
15500
15763
|
function emitNamespaceChanges(job) {
|
|
15501
15764
|
for (const unit of job.units) {
|
|
15502
15765
|
let activeNamespace = Namespace.HTML;
|
|
@@ -15512,7 +15775,7 @@ function emitNamespaceChanges(job) {
|
|
|
15512
15775
|
}
|
|
15513
15776
|
}
|
|
15514
15777
|
|
|
15515
|
-
// bazel-out/
|
|
15778
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
15516
15779
|
function parse(value) {
|
|
15517
15780
|
const styles = [];
|
|
15518
15781
|
let i = 0;
|
|
@@ -15606,13 +15869,16 @@ function parseExtractedStyles(job) {
|
|
|
15606
15869
|
}
|
|
15607
15870
|
}
|
|
15608
15871
|
|
|
15609
|
-
// bazel-out/
|
|
15872
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
15610
15873
|
function nameFunctionsAndVariables(job) {
|
|
15611
15874
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
15612
15875
|
}
|
|
15613
15876
|
function addNamesToView(unit, baseName, state, compatibility) {
|
|
15614
15877
|
if (unit.fnName === null) {
|
|
15615
|
-
unit.fnName = unit.job.pool.uniqueName(
|
|
15878
|
+
unit.fnName = unit.job.pool.uniqueName(
|
|
15879
|
+
sanitizeIdentifier(`${baseName}_${unit.job.fnSuffix}`),
|
|
15880
|
+
false
|
|
15881
|
+
);
|
|
15616
15882
|
}
|
|
15617
15883
|
const varNames = /* @__PURE__ */ new Map();
|
|
15618
15884
|
for (const op of unit.ops()) {
|
|
@@ -15747,7 +16013,7 @@ function stripImportant(name) {
|
|
|
15747
16013
|
return name;
|
|
15748
16014
|
}
|
|
15749
16015
|
|
|
15750
|
-
// bazel-out/
|
|
16016
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
15751
16017
|
function mergeNextContextExpressions(job) {
|
|
15752
16018
|
for (const unit of job.units) {
|
|
15753
16019
|
for (const op of unit.create) {
|
|
@@ -15793,7 +16059,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
15793
16059
|
}
|
|
15794
16060
|
}
|
|
15795
16061
|
|
|
15796
|
-
// bazel-out/
|
|
16062
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
15797
16063
|
var CONTAINER_TAG = "ng-container";
|
|
15798
16064
|
function generateNgContainerOps(job) {
|
|
15799
16065
|
for (const unit of job.units) {
|
|
@@ -15810,7 +16076,7 @@ function generateNgContainerOps(job) {
|
|
|
15810
16076
|
}
|
|
15811
16077
|
}
|
|
15812
16078
|
|
|
15813
|
-
// bazel-out/
|
|
16079
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
15814
16080
|
function lookupElement3(elements, xref) {
|
|
15815
16081
|
const el = elements.get(xref);
|
|
15816
16082
|
if (el === void 0) {
|
|
@@ -15840,7 +16106,7 @@ function disableBindings(job) {
|
|
|
15840
16106
|
}
|
|
15841
16107
|
}
|
|
15842
16108
|
|
|
15843
|
-
// bazel-out/
|
|
16109
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
15844
16110
|
function generateNullishCoalesceExpressions(job) {
|
|
15845
16111
|
for (const unit of job.units) {
|
|
15846
16112
|
for (const op of unit.ops()) {
|
|
@@ -15856,7 +16122,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
15856
16122
|
}
|
|
15857
16123
|
}
|
|
15858
16124
|
|
|
15859
|
-
// bazel-out/
|
|
16125
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
15860
16126
|
function kindTest(kind) {
|
|
15861
16127
|
return (op) => op.kind === kind;
|
|
15862
16128
|
}
|
|
@@ -15918,7 +16184,7 @@ function orderWithin(opList, ordering) {
|
|
|
15918
16184
|
let firstTargetInGroup = null;
|
|
15919
16185
|
for (const op of opList) {
|
|
15920
16186
|
const currentTarget = hasDependsOnSlotContextTrait(op) ? op.target : null;
|
|
15921
|
-
if (!handledOpKinds.has(op.kind) || currentTarget !== firstTargetInGroup &&
|
|
16187
|
+
if (!handledOpKinds.has(op.kind) || currentTarget !== firstTargetInGroup && firstTargetInGroup !== null && currentTarget !== null) {
|
|
15922
16188
|
OpList.insertBefore(reorder(opsToOrder, ordering), op);
|
|
15923
16189
|
opsToOrder = [];
|
|
15924
16190
|
firstTargetInGroup = null;
|
|
@@ -15946,7 +16212,7 @@ function keepLast(ops) {
|
|
|
15946
16212
|
return ops.slice(ops.length - 1);
|
|
15947
16213
|
}
|
|
15948
16214
|
|
|
15949
|
-
// bazel-out/
|
|
16215
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
15950
16216
|
function removeContentSelectors(job) {
|
|
15951
16217
|
for (const unit of job.units) {
|
|
15952
16218
|
const elements = createOpXrefMap(unit);
|
|
@@ -15973,7 +16239,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
15973
16239
|
return el;
|
|
15974
16240
|
}
|
|
15975
16241
|
|
|
15976
|
-
// bazel-out/
|
|
16242
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
15977
16243
|
function createPipes(job) {
|
|
15978
16244
|
for (const unit of job.units) {
|
|
15979
16245
|
processPipeBindingsInView(unit);
|
|
@@ -16021,7 +16287,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
16021
16287
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
16022
16288
|
}
|
|
16023
16289
|
|
|
16024
|
-
// bazel-out/
|
|
16290
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
16025
16291
|
function createVariadicPipes(job) {
|
|
16026
16292
|
for (const unit of job.units) {
|
|
16027
16293
|
for (const op of unit.update) {
|
|
@@ -16038,7 +16304,7 @@ function createVariadicPipes(job) {
|
|
|
16038
16304
|
}
|
|
16039
16305
|
}
|
|
16040
16306
|
|
|
16041
|
-
// bazel-out/
|
|
16307
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
16042
16308
|
function propagateI18nBlocks(job) {
|
|
16043
16309
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
16044
16310
|
}
|
|
@@ -16092,7 +16358,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
16092
16358
|
}
|
|
16093
16359
|
}
|
|
16094
16360
|
|
|
16095
|
-
// bazel-out/
|
|
16361
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
16096
16362
|
function extractPureFunctions(job) {
|
|
16097
16363
|
for (const view of job.units) {
|
|
16098
16364
|
for (const op of view.ops()) {
|
|
@@ -16134,7 +16400,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
16134
16400
|
}
|
|
16135
16401
|
};
|
|
16136
16402
|
|
|
16137
|
-
// bazel-out/
|
|
16403
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
16138
16404
|
function generatePureLiteralStructures(job) {
|
|
16139
16405
|
for (const unit of job.units) {
|
|
16140
16406
|
for (const op of unit.update) {
|
|
@@ -16181,7 +16447,7 @@ function transformLiteralMap(expr) {
|
|
|
16181
16447
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
16182
16448
|
}
|
|
16183
16449
|
|
|
16184
|
-
// bazel-out/
|
|
16450
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
16185
16451
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
16186
16452
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
16187
16453
|
}
|
|
@@ -16207,10 +16473,24 @@ function elementEnd(sourceSpan) {
|
|
|
16207
16473
|
return call(Identifiers.elementEnd, [], sourceSpan);
|
|
16208
16474
|
}
|
|
16209
16475
|
function elementContainerStart(slot, constIndex, localRefIndex, sourceSpan) {
|
|
16210
|
-
return elementOrContainerBase(
|
|
16476
|
+
return elementOrContainerBase(
|
|
16477
|
+
Identifiers.elementContainerStart,
|
|
16478
|
+
slot,
|
|
16479
|
+
null,
|
|
16480
|
+
constIndex,
|
|
16481
|
+
localRefIndex,
|
|
16482
|
+
sourceSpan
|
|
16483
|
+
);
|
|
16211
16484
|
}
|
|
16212
16485
|
function elementContainer(slot, constIndex, localRefIndex, sourceSpan) {
|
|
16213
|
-
return elementOrContainerBase(
|
|
16486
|
+
return elementOrContainerBase(
|
|
16487
|
+
Identifiers.elementContainer,
|
|
16488
|
+
slot,
|
|
16489
|
+
null,
|
|
16490
|
+
constIndex,
|
|
16491
|
+
localRefIndex,
|
|
16492
|
+
sourceSpan
|
|
16493
|
+
);
|
|
16214
16494
|
}
|
|
16215
16495
|
function elementContainerEnd() {
|
|
16216
16496
|
return call(Identifiers.elementContainerEnd, [], null);
|
|
@@ -16254,10 +16534,7 @@ function twoWayListener(name, handlerFn, sourceSpan) {
|
|
|
16254
16534
|
return call(Identifiers.twoWayListener, [literal(name), handlerFn], sourceSpan);
|
|
16255
16535
|
}
|
|
16256
16536
|
function pipe(slot, name) {
|
|
16257
|
-
return call(Identifiers.pipe, [
|
|
16258
|
-
literal(slot),
|
|
16259
|
-
literal(name)
|
|
16260
|
-
], null);
|
|
16537
|
+
return call(Identifiers.pipe, [literal(slot), literal(name)], null);
|
|
16261
16538
|
}
|
|
16262
16539
|
function namespaceHTML() {
|
|
16263
16540
|
return call(Identifiers.namespaceHTML, [], null);
|
|
@@ -16272,9 +16549,7 @@ function advance(delta, sourceSpan) {
|
|
|
16272
16549
|
return call(Identifiers.advance, delta > 1 ? [literal(delta)] : [], sourceSpan);
|
|
16273
16550
|
}
|
|
16274
16551
|
function reference(slot) {
|
|
16275
|
-
return importExpr(Identifiers.reference).callFn([
|
|
16276
|
-
literal(slot)
|
|
16277
|
-
]);
|
|
16552
|
+
return importExpr(Identifiers.reference).callFn([literal(slot)]);
|
|
16278
16553
|
}
|
|
16279
16554
|
function nextContext(steps) {
|
|
16280
16555
|
return importExpr(Identifiers.nextContext).callFn(steps === 1 ? [] : [literal(steps)]);
|
|
@@ -16283,14 +16558,10 @@ function getCurrentView() {
|
|
|
16283
16558
|
return importExpr(Identifiers.getCurrentView).callFn([]);
|
|
16284
16559
|
}
|
|
16285
16560
|
function restoreView(savedView) {
|
|
16286
|
-
return importExpr(Identifiers.restoreView).callFn([
|
|
16287
|
-
savedView
|
|
16288
|
-
]);
|
|
16561
|
+
return importExpr(Identifiers.restoreView).callFn([savedView]);
|
|
16289
16562
|
}
|
|
16290
16563
|
function resetView(returnValue) {
|
|
16291
|
-
return importExpr(Identifiers.resetView).callFn([
|
|
16292
|
-
returnValue
|
|
16293
|
-
]);
|
|
16564
|
+
return importExpr(Identifiers.resetView).callFn([returnValue]);
|
|
16294
16565
|
}
|
|
16295
16566
|
function text(slot, initialValue, sourceSpan) {
|
|
16296
16567
|
const args = [literal(slot, null)];
|
|
@@ -16463,18 +16734,10 @@ function pipeBind(slot, varOffset, args) {
|
|
|
16463
16734
|
throw new Error(`pipeBind() argument count out of bounds`);
|
|
16464
16735
|
}
|
|
16465
16736
|
const instruction = PIPE_BINDINGS[args.length - 1];
|
|
16466
|
-
return importExpr(instruction).callFn([
|
|
16467
|
-
literal(slot),
|
|
16468
|
-
literal(varOffset),
|
|
16469
|
-
...args
|
|
16470
|
-
]);
|
|
16737
|
+
return importExpr(instruction).callFn([literal(slot), literal(varOffset), ...args]);
|
|
16471
16738
|
}
|
|
16472
16739
|
function pipeBindV(slot, varOffset, args) {
|
|
16473
|
-
return importExpr(Identifiers.pipeBindV).callFn([
|
|
16474
|
-
literal(slot),
|
|
16475
|
-
literal(varOffset),
|
|
16476
|
-
args
|
|
16477
|
-
]);
|
|
16740
|
+
return importExpr(Identifiers.pipeBindV).callFn([literal(slot), literal(varOffset), args]);
|
|
16478
16741
|
}
|
|
16479
16742
|
function textInterpolate(strings, expressions, sourceSpan) {
|
|
16480
16743
|
const interpolationArgs = collateInterpolationArgs(strings, expressions);
|
|
@@ -16529,10 +16792,7 @@ function syntheticHostProperty(name, expression, sourceSpan) {
|
|
|
16529
16792
|
return call(Identifiers.syntheticHostProperty, [literal(name), expression], sourceSpan);
|
|
16530
16793
|
}
|
|
16531
16794
|
function pureFunction(varOffset, fn2, args) {
|
|
16532
|
-
return callVariadicInstructionExpr(PURE_FUNCTION_CONFIG, [
|
|
16533
|
-
literal(varOffset),
|
|
16534
|
-
fn2
|
|
16535
|
-
], args, [], null);
|
|
16795
|
+
return callVariadicInstructionExpr(PURE_FUNCTION_CONFIG, [literal(varOffset), fn2], args, [], null);
|
|
16536
16796
|
}
|
|
16537
16797
|
function collateInterpolationArgs(strings, expressions) {
|
|
16538
16798
|
if (strings.length < 1 || expressions.length !== strings.length - 1) {
|
|
@@ -16710,7 +16970,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
16710
16970
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
16711
16971
|
}
|
|
16712
16972
|
|
|
16713
|
-
// bazel-out/
|
|
16973
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
16714
16974
|
var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
|
|
16715
16975
|
["window", Identifiers.resolveWindow],
|
|
16716
16976
|
["document", Identifiers.resolveDocument],
|
|
@@ -17066,7 +17326,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
17066
17326
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
17067
17327
|
}
|
|
17068
17328
|
|
|
17069
|
-
// bazel-out/
|
|
17329
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
17070
17330
|
function removeEmptyBindings(job) {
|
|
17071
17331
|
for (const unit of job.units) {
|
|
17072
17332
|
for (const op of unit.update) {
|
|
@@ -17087,7 +17347,7 @@ function removeEmptyBindings(job) {
|
|
|
17087
17347
|
}
|
|
17088
17348
|
}
|
|
17089
17349
|
|
|
17090
|
-
// bazel-out/
|
|
17350
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
17091
17351
|
function removeI18nContexts(job) {
|
|
17092
17352
|
for (const unit of job.units) {
|
|
17093
17353
|
for (const op of unit.create) {
|
|
@@ -17103,7 +17363,7 @@ function removeI18nContexts(job) {
|
|
|
17103
17363
|
}
|
|
17104
17364
|
}
|
|
17105
17365
|
|
|
17106
|
-
// bazel-out/
|
|
17366
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
|
|
17107
17367
|
function removeUnusedI18nAttributesOps(job) {
|
|
17108
17368
|
for (const unit of job.units) {
|
|
17109
17369
|
const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
|
|
@@ -17125,7 +17385,7 @@ function removeUnusedI18nAttributesOps(job) {
|
|
|
17125
17385
|
}
|
|
17126
17386
|
}
|
|
17127
17387
|
|
|
17128
|
-
// bazel-out/
|
|
17388
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
17129
17389
|
function resolveContexts(job) {
|
|
17130
17390
|
for (const unit of job.units) {
|
|
17131
17391
|
processLexicalScope(unit, unit.create);
|
|
@@ -17167,7 +17427,7 @@ function processLexicalScope(view, ops) {
|
|
|
17167
17427
|
}
|
|
17168
17428
|
}
|
|
17169
17429
|
|
|
17170
|
-
// bazel-out/
|
|
17430
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
17171
17431
|
function resolveDollarEvent(job) {
|
|
17172
17432
|
for (const unit of job.units) {
|
|
17173
17433
|
transformDollarEvent(unit.create);
|
|
@@ -17190,7 +17450,7 @@ function transformDollarEvent(ops) {
|
|
|
17190
17450
|
}
|
|
17191
17451
|
}
|
|
17192
17452
|
|
|
17193
|
-
// bazel-out/
|
|
17453
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
17194
17454
|
function resolveI18nElementPlaceholders(job) {
|
|
17195
17455
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
17196
17456
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -17369,7 +17629,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
17369
17629
|
params.set(placeholder, values);
|
|
17370
17630
|
}
|
|
17371
17631
|
|
|
17372
|
-
// bazel-out/
|
|
17632
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
17373
17633
|
function resolveI18nExpressionPlaceholders(job) {
|
|
17374
17634
|
var _a2;
|
|
17375
17635
|
const subTemplateIndices = /* @__PURE__ */ new Map();
|
|
@@ -17422,7 +17682,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
|
|
|
17422
17682
|
}
|
|
17423
17683
|
}
|
|
17424
17684
|
|
|
17425
|
-
// bazel-out/
|
|
17685
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
17426
17686
|
function resolveNames(job) {
|
|
17427
17687
|
for (const unit of job.units) {
|
|
17428
17688
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -17487,7 +17747,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
17487
17747
|
}
|
|
17488
17748
|
}
|
|
17489
17749
|
|
|
17490
|
-
// bazel-out/
|
|
17750
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
17491
17751
|
var sanitizerFns = /* @__PURE__ */ new Map([
|
|
17492
17752
|
[SecurityContext.HTML, Identifiers.sanitizeHtml],
|
|
17493
17753
|
[SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
|
|
@@ -17557,7 +17817,7 @@ function getOnlySecurityContext(securityContext) {
|
|
|
17557
17817
|
return securityContext;
|
|
17558
17818
|
}
|
|
17559
17819
|
|
|
17560
|
-
// bazel-out/
|
|
17820
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
|
|
17561
17821
|
function transformTwoWayBindingSet(job) {
|
|
17562
17822
|
for (const unit of job.units) {
|
|
17563
17823
|
for (const op of unit.create) {
|
|
@@ -17580,7 +17840,7 @@ function transformTwoWayBindingSet(job) {
|
|
|
17580
17840
|
}
|
|
17581
17841
|
}
|
|
17582
17842
|
|
|
17583
|
-
// bazel-out/
|
|
17843
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
17584
17844
|
function saveAndRestoreView(job) {
|
|
17585
17845
|
for (const unit of job.units) {
|
|
17586
17846
|
unit.create.prepend([
|
|
@@ -17625,7 +17885,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
17625
17885
|
}
|
|
17626
17886
|
}
|
|
17627
17887
|
|
|
17628
|
-
// bazel-out/
|
|
17888
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
17629
17889
|
function allocateSlots(job) {
|
|
17630
17890
|
const slotMap = /* @__PURE__ */ new Map();
|
|
17631
17891
|
for (const unit of job.units) {
|
|
@@ -17650,7 +17910,7 @@ function allocateSlots(job) {
|
|
|
17650
17910
|
}
|
|
17651
17911
|
}
|
|
17652
17912
|
|
|
17653
|
-
// bazel-out/
|
|
17913
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
17654
17914
|
function specializeStyleBindings(job) {
|
|
17655
17915
|
for (const unit of job.units) {
|
|
17656
17916
|
for (const op of unit.update) {
|
|
@@ -17680,7 +17940,7 @@ function specializeStyleBindings(job) {
|
|
|
17680
17940
|
}
|
|
17681
17941
|
}
|
|
17682
17942
|
|
|
17683
|
-
// bazel-out/
|
|
17943
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
17684
17944
|
function generateTemporaryVariables(job) {
|
|
17685
17945
|
for (const unit of job.units) {
|
|
17686
17946
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -17738,7 +17998,7 @@ function assignName(names, expr) {
|
|
|
17738
17998
|
expr.name = name;
|
|
17739
17999
|
}
|
|
17740
18000
|
|
|
17741
|
-
// bazel-out/
|
|
18001
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
17742
18002
|
function generateTrackFns(job) {
|
|
17743
18003
|
for (const unit of job.units) {
|
|
17744
18004
|
for (const op of unit.create) {
|
|
@@ -17771,7 +18031,7 @@ function generateTrackFns(job) {
|
|
|
17771
18031
|
}
|
|
17772
18032
|
}
|
|
17773
18033
|
|
|
17774
|
-
// bazel-out/
|
|
18034
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
17775
18035
|
function optimizeTrackFns(job) {
|
|
17776
18036
|
for (const unit of job.units) {
|
|
17777
18037
|
for (const op of unit.create) {
|
|
@@ -17819,7 +18079,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
17819
18079
|
return true;
|
|
17820
18080
|
}
|
|
17821
18081
|
|
|
17822
|
-
// bazel-out/
|
|
18082
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
17823
18083
|
function generateTrackVariables(job) {
|
|
17824
18084
|
for (const unit of job.units) {
|
|
17825
18085
|
for (const op of unit.create) {
|
|
@@ -17840,7 +18100,7 @@ function generateTrackVariables(job) {
|
|
|
17840
18100
|
}
|
|
17841
18101
|
}
|
|
17842
18102
|
|
|
17843
|
-
// bazel-out/
|
|
18103
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
17844
18104
|
function countVariables(job) {
|
|
17845
18105
|
for (const unit of job.units) {
|
|
17846
18106
|
let varCount = 0;
|
|
@@ -17950,7 +18210,7 @@ function isSingletonInterpolation(expr) {
|
|
|
17950
18210
|
return true;
|
|
17951
18211
|
}
|
|
17952
18212
|
|
|
17953
|
-
// bazel-out/
|
|
18213
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
17954
18214
|
function optimizeVariables(job) {
|
|
17955
18215
|
for (const unit of job.units) {
|
|
17956
18216
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -18199,7 +18459,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
18199
18459
|
}
|
|
18200
18460
|
}
|
|
18201
18461
|
|
|
18202
|
-
// bazel-out/
|
|
18462
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
18203
18463
|
function wrapI18nIcus(job) {
|
|
18204
18464
|
for (const unit of job.units) {
|
|
18205
18465
|
let currentI18nOp = null;
|
|
@@ -18229,7 +18489,7 @@ function wrapI18nIcus(job) {
|
|
|
18229
18489
|
}
|
|
18230
18490
|
}
|
|
18231
18491
|
|
|
18232
|
-
// bazel-out/
|
|
18492
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
18233
18493
|
var phases = [
|
|
18234
18494
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
18235
18495
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -18336,14 +18596,8 @@ function emitView(view) {
|
|
|
18336
18596
|
const createCond = maybeGenerateRfBlock(1, createStatements);
|
|
18337
18597
|
const updateCond = maybeGenerateRfBlock(2, updateStatements);
|
|
18338
18598
|
return fn(
|
|
18339
|
-
[
|
|
18340
|
-
|
|
18341
|
-
new FnParam("ctx")
|
|
18342
|
-
],
|
|
18343
|
-
[
|
|
18344
|
-
...createCond,
|
|
18345
|
-
...updateCond
|
|
18346
|
-
],
|
|
18599
|
+
[new FnParam("rf"), new FnParam("ctx")],
|
|
18600
|
+
[...createCond, ...updateCond],
|
|
18347
18601
|
void 0,
|
|
18348
18602
|
void 0,
|
|
18349
18603
|
view.fnName
|
|
@@ -18381,21 +18635,15 @@ function emitHostBindingFunction(job) {
|
|
|
18381
18635
|
const createCond = maybeGenerateRfBlock(1, createStatements);
|
|
18382
18636
|
const updateCond = maybeGenerateRfBlock(2, updateStatements);
|
|
18383
18637
|
return fn(
|
|
18384
|
-
[
|
|
18385
|
-
|
|
18386
|
-
new FnParam("ctx")
|
|
18387
|
-
],
|
|
18388
|
-
[
|
|
18389
|
-
...createCond,
|
|
18390
|
-
...updateCond
|
|
18391
|
-
],
|
|
18638
|
+
[new FnParam("rf"), new FnParam("ctx")],
|
|
18639
|
+
[...createCond, ...updateCond],
|
|
18392
18640
|
void 0,
|
|
18393
18641
|
void 0,
|
|
18394
18642
|
job.root.fnName
|
|
18395
18643
|
);
|
|
18396
18644
|
}
|
|
18397
18645
|
|
|
18398
|
-
// bazel-out/
|
|
18646
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
18399
18647
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
18400
18648
|
var domSchema = new DomElementSchemaRegistry();
|
|
18401
18649
|
var NG_TEMPLATE_TAG_NAME = "ng-template";
|
|
@@ -18442,7 +18690,19 @@ function ingestHostProperty(job, property2, bindingKind, securityContexts) {
|
|
|
18442
18690
|
} else {
|
|
18443
18691
|
expression = convertAst(ast, job, property2.sourceSpan);
|
|
18444
18692
|
}
|
|
18445
|
-
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
|
+
));
|
|
18446
18706
|
}
|
|
18447
18707
|
function ingestHostAttribute(job, name, value, securityContexts) {
|
|
18448
18708
|
const attrBinding = createBindingOp(
|
|
@@ -19134,7 +19394,7 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
19134
19394
|
return null;
|
|
19135
19395
|
}
|
|
19136
19396
|
|
|
19137
|
-
// bazel-out/
|
|
19397
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
|
|
19138
19398
|
function renderFlagCheckIfStmt(flags, statements) {
|
|
19139
19399
|
return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
|
|
19140
19400
|
}
|
|
@@ -19254,7 +19514,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
|
|
|
19254
19514
|
], INFERRED_TYPE, null, contentQueriesFnName);
|
|
19255
19515
|
}
|
|
19256
19516
|
|
|
19257
|
-
// bazel-out/
|
|
19517
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
19258
19518
|
var HtmlParser = class extends Parser2 {
|
|
19259
19519
|
constructor() {
|
|
19260
19520
|
super(getHtmlTagDefinition);
|
|
@@ -19264,7 +19524,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
19264
19524
|
}
|
|
19265
19525
|
};
|
|
19266
19526
|
|
|
19267
|
-
// bazel-out/
|
|
19527
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
19268
19528
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
19269
19529
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
19270
19530
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -19330,7 +19590,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
19330
19590
|
return result;
|
|
19331
19591
|
}
|
|
19332
19592
|
|
|
19333
|
-
// bazel-out/
|
|
19593
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
19334
19594
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
19335
19595
|
var ATTRIBUTE_PREFIX = "attr";
|
|
19336
19596
|
var CLASS_PREFIX = "class";
|
|
@@ -19376,7 +19636,16 @@ var BindingParser = class {
|
|
|
19376
19636
|
for (const propName of Object.keys(hostListeners)) {
|
|
19377
19637
|
const expression = hostListeners[propName];
|
|
19378
19638
|
if (typeof expression === "string") {
|
|
19379
|
-
this.parseEvent(
|
|
19639
|
+
this.parseEvent(
|
|
19640
|
+
propName,
|
|
19641
|
+
expression,
|
|
19642
|
+
false,
|
|
19643
|
+
sourceSpan,
|
|
19644
|
+
sourceSpan,
|
|
19645
|
+
[],
|
|
19646
|
+
targetEvents,
|
|
19647
|
+
sourceSpan
|
|
19648
|
+
);
|
|
19380
19649
|
} else {
|
|
19381
19650
|
this._reportError(`Value of the host listener "${propName}" needs to be a string representing an expression but got "${expression}" (${typeof expression})`, sourceSpan);
|
|
19382
19651
|
}
|
|
@@ -19675,7 +19944,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
19675
19944
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
19676
19945
|
}
|
|
19677
19946
|
|
|
19678
|
-
// bazel-out/
|
|
19947
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
19679
19948
|
function isStyleUrlResolvable(url) {
|
|
19680
19949
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
19681
19950
|
return false;
|
|
@@ -19684,7 +19953,7 @@ function isStyleUrlResolvable(url) {
|
|
|
19684
19953
|
}
|
|
19685
19954
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
19686
19955
|
|
|
19687
|
-
// bazel-out/
|
|
19956
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
19688
19957
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
19689
19958
|
var LINK_ELEMENT = "link";
|
|
19690
19959
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -19754,14 +20023,21 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
19754
20023
|
return selectAttr;
|
|
19755
20024
|
}
|
|
19756
20025
|
|
|
19757
|
-
// bazel-out/
|
|
20026
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
19758
20027
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
19759
20028
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
19760
20029
|
var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
|
|
19761
20030
|
var ELSE_IF_PATTERN = /^else[^\S\r\n]+if/;
|
|
19762
20031
|
var FOR_LOOP_LET_PATTERN = /^let\s+([\S\s]*)/;
|
|
19763
20032
|
var CHARACTERS_IN_SURROUNDING_WHITESPACE_PATTERN = /(\s*)(\S+)(\s*)/;
|
|
19764
|
-
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
|
+
]);
|
|
19765
20041
|
function isConnectedForLoopBlock(name) {
|
|
19766
20042
|
return name === "empty";
|
|
19767
20043
|
}
|
|
@@ -20070,7 +20346,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
20070
20346
|
return expression.slice(start, end);
|
|
20071
20347
|
}
|
|
20072
20348
|
|
|
20073
|
-
// bazel-out/
|
|
20349
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
20074
20350
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
20075
20351
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
20076
20352
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -20334,7 +20610,7 @@ function parseDeferredTime(value) {
|
|
|
20334
20610
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
20335
20611
|
}
|
|
20336
20612
|
|
|
20337
|
-
// bazel-out/
|
|
20613
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
20338
20614
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
20339
20615
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
20340
20616
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -20469,7 +20745,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
20469
20745
|
return { triggers, prefetchTriggers };
|
|
20470
20746
|
}
|
|
20471
20747
|
|
|
20472
|
-
// bazel-out/
|
|
20748
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
20473
20749
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
20474
20750
|
var KW_BIND_IDX = 1;
|
|
20475
20751
|
var KW_LET_IDX = 2;
|
|
@@ -20716,7 +20992,12 @@ var HtmlAstToIvyAst = class {
|
|
|
20716
20992
|
if (prop.isLiteral) {
|
|
20717
20993
|
literal2.push(new TextAttribute(prop.name, prop.expression.source || "", prop.sourceSpan, prop.keySpan, prop.valueSpan, i18n2));
|
|
20718
20994
|
} else {
|
|
20719
|
-
const bep = this.bindingParser.createBoundElementProperty(
|
|
20995
|
+
const bep = this.bindingParser.createBoundElementProperty(
|
|
20996
|
+
elementName,
|
|
20997
|
+
prop,
|
|
20998
|
+
true,
|
|
20999
|
+
false
|
|
21000
|
+
);
|
|
20720
21001
|
bound.push(BoundAttribute.fromBoundElementProperty(bep, i18n2));
|
|
20721
21002
|
}
|
|
20722
21003
|
});
|
|
@@ -20756,7 +21037,16 @@ var HtmlAstToIvyAst = class {
|
|
|
20756
21037
|
const events = [];
|
|
20757
21038
|
const identifier = bindParts[IDENT_KW_IDX];
|
|
20758
21039
|
const keySpan2 = createKeySpan(srcSpan, bindParts[KW_ON_IDX], identifier);
|
|
20759
|
-
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
|
+
);
|
|
20760
21050
|
addEvents(events, boundEvents);
|
|
20761
21051
|
} else if (bindParts[KW_BINDON_IDX]) {
|
|
20762
21052
|
const identifier = bindParts[IDENT_KW_IDX];
|
|
@@ -20787,7 +21077,16 @@ var HtmlAstToIvyAst = class {
|
|
|
20787
21077
|
this.bindingParser.parsePropertyBinding(identifier, value, false, false, srcSpan, absoluteOffset, attribute2.valueSpan, matchableAttributes, parsedProperties, keySpan2);
|
|
20788
21078
|
} else {
|
|
20789
21079
|
const events = [];
|
|
20790
|
-
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
|
+
);
|
|
20791
21090
|
addEvents(events, boundEvents);
|
|
20792
21091
|
}
|
|
20793
21092
|
return true;
|
|
@@ -20821,7 +21120,16 @@ var HtmlAstToIvyAst = class {
|
|
|
20821
21120
|
}
|
|
20822
21121
|
parseAssignmentEvent(name, expression, sourceSpan, valueSpan, targetMatchableAttrs, boundEvents, keySpan) {
|
|
20823
21122
|
const events = [];
|
|
20824
|
-
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
|
+
);
|
|
20825
21133
|
addEvents(events, boundEvents);
|
|
20826
21134
|
}
|
|
20827
21135
|
reportError(message, sourceSpan, level = ParseErrorLevel.ERROR) {
|
|
@@ -20891,7 +21199,7 @@ function textContents(node) {
|
|
|
20891
21199
|
}
|
|
20892
21200
|
}
|
|
20893
21201
|
|
|
20894
|
-
// bazel-out/
|
|
21202
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
20895
21203
|
var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
|
|
20896
21204
|
function parseTemplate(template2, templateUrl, options = {}) {
|
|
20897
21205
|
var _a2;
|
|
@@ -20920,7 +21228,11 @@ function parseTemplate(template2, templateUrl, options = {}) {
|
|
|
20920
21228
|
return parsedTemplate2;
|
|
20921
21229
|
}
|
|
20922
21230
|
let rootNodes = parseResult.rootNodes;
|
|
20923
|
-
const i18nMetaVisitor = new I18nMetaVisitor(
|
|
21231
|
+
const i18nMetaVisitor = new I18nMetaVisitor(
|
|
21232
|
+
interpolationConfig,
|
|
21233
|
+
!preserveWhitespaces,
|
|
21234
|
+
enableI18nLegacyMessageIdFormat
|
|
21235
|
+
);
|
|
20924
21236
|
const i18nMetaResult = i18nMetaVisitor.visitAllWithErrors(rootNodes);
|
|
20925
21237
|
if (!options.alwaysAttemptHtmlToR3AstConversion && i18nMetaResult.errors && i18nMetaResult.errors.length > 0) {
|
|
20926
21238
|
const parsedTemplate2 = {
|
|
@@ -20965,7 +21277,7 @@ function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, a
|
|
|
20965
21277
|
return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, [], allowInvalidAssignmentEvents);
|
|
20966
21278
|
}
|
|
20967
21279
|
|
|
20968
|
-
// bazel-out/
|
|
21280
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
20969
21281
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
20970
21282
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
20971
21283
|
var CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
|
|
@@ -21072,10 +21384,7 @@ function compileComponentFromMetadata(meta, constantPool, bindingParser) {
|
|
|
21072
21384
|
definitionMap.set("vars", literal(tpl.root.vars));
|
|
21073
21385
|
if (tpl.consts.length > 0) {
|
|
21074
21386
|
if (tpl.constsInitializers.length > 0) {
|
|
21075
|
-
definitionMap.set("consts", arrowFn([], [
|
|
21076
|
-
...tpl.constsInitializers,
|
|
21077
|
-
new ReturnStatement(literalArr(tpl.consts))
|
|
21078
|
-
]));
|
|
21387
|
+
definitionMap.set("consts", arrowFn([], [...tpl.constsInitializers, new ReturnStatement(literalArr(tpl.consts))]));
|
|
21079
21388
|
} else {
|
|
21080
21389
|
definitionMap.set("consts", literalArr(tpl.consts));
|
|
21081
21390
|
}
|
|
@@ -21285,8 +21594,16 @@ function createHostDirectivesType(meta) {
|
|
|
21285
21594
|
}
|
|
21286
21595
|
return expressionType(literalArr(meta.hostDirectives.map((hostMeta) => literalMap([
|
|
21287
21596
|
{ key: "directive", value: typeofExpr(hostMeta.directive.type), quoted: false },
|
|
21288
|
-
{
|
|
21289
|
-
|
|
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
|
+
}
|
|
21290
21607
|
]))));
|
|
21291
21608
|
}
|
|
21292
21609
|
function createHostDirectivesFeatureArg(hostDirectives) {
|
|
@@ -21327,7 +21644,7 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
21327
21644
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
21328
21645
|
}
|
|
21329
21646
|
|
|
21330
|
-
// bazel-out/
|
|
21647
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
21331
21648
|
var R3TargetBinder = class {
|
|
21332
21649
|
constructor(directiveMatcher) {
|
|
21333
21650
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -21960,11 +22277,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
21960
22277
|
return templateEntities;
|
|
21961
22278
|
}
|
|
21962
22279
|
|
|
21963
|
-
// bazel-out/
|
|
22280
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
21964
22281
|
var ResourceLoader = class {
|
|
21965
22282
|
};
|
|
21966
22283
|
|
|
21967
|
-
// bazel-out/
|
|
22284
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
21968
22285
|
var CompilerFacadeImpl = class {
|
|
21969
22286
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
21970
22287
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -22138,7 +22455,12 @@ var CompilerFacadeImpl = class {
|
|
|
22138
22455
|
...preStatements,
|
|
22139
22456
|
new DeclareVarStmt("$def", def, void 0, StmtModifier.Exported)
|
|
22140
22457
|
];
|
|
22141
|
-
const res = this.jitEvaluator.evaluateStatements(
|
|
22458
|
+
const res = this.jitEvaluator.evaluateStatements(
|
|
22459
|
+
sourceUrl,
|
|
22460
|
+
statements,
|
|
22461
|
+
new R3JitReflector(context),
|
|
22462
|
+
true
|
|
22463
|
+
);
|
|
22142
22464
|
return res["$def"];
|
|
22143
22465
|
}
|
|
22144
22466
|
};
|
|
@@ -22525,17 +22847,17 @@ function publishFacade(global) {
|
|
|
22525
22847
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
22526
22848
|
}
|
|
22527
22849
|
|
|
22528
|
-
// bazel-out/
|
|
22529
|
-
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");
|
|
22530
22852
|
|
|
22531
|
-
// bazel-out/
|
|
22853
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
22532
22854
|
var _VisitorMode;
|
|
22533
22855
|
(function(_VisitorMode2) {
|
|
22534
22856
|
_VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
|
|
22535
22857
|
_VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
|
|
22536
22858
|
})(_VisitorMode || (_VisitorMode = {}));
|
|
22537
22859
|
|
|
22538
|
-
// bazel-out/
|
|
22860
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
22539
22861
|
var XmlTagDefinition = class {
|
|
22540
22862
|
constructor() {
|
|
22541
22863
|
this.closedByParent = false;
|
|
@@ -22557,7 +22879,7 @@ var XmlTagDefinition = class {
|
|
|
22557
22879
|
};
|
|
22558
22880
|
var _TAG_DEFINITION = new XmlTagDefinition();
|
|
22559
22881
|
|
|
22560
|
-
// bazel-out/
|
|
22882
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
22561
22883
|
var FactoryTarget2;
|
|
22562
22884
|
(function(FactoryTarget3) {
|
|
22563
22885
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -22567,10 +22889,10 @@ var FactoryTarget2;
|
|
|
22567
22889
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
22568
22890
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
22569
22891
|
|
|
22570
|
-
// bazel-out/
|
|
22892
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
22571
22893
|
publishFacade(_global);
|
|
22572
22894
|
|
|
22573
|
-
// bazel-out/
|
|
22895
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/identifier-lookup.mjs
|
|
22574
22896
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
22575
22897
|
function lookupIdentifiersInSourceFile(sourceFile, names) {
|
|
22576
22898
|
const results = /* @__PURE__ */ new Set();
|
|
@@ -22584,7 +22906,7 @@ function lookupIdentifiersInSourceFile(sourceFile, names) {
|
|
|
22584
22906
|
return results;
|
|
22585
22907
|
}
|
|
22586
22908
|
|
|
22587
|
-
// bazel-out/
|
|
22909
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/types.mjs
|
|
22588
22910
|
var ngtemplate = "ng-template";
|
|
22589
22911
|
var boundngifelse = "[ngIfElse]";
|
|
22590
22912
|
var boundngifthenelse = "[ngIfThenElse]";
|
|
@@ -22917,7 +23239,7 @@ var TemplateCollector = class extends RecursiveVisitor {
|
|
|
22917
23239
|
}
|
|
22918
23240
|
};
|
|
22919
23241
|
|
|
22920
|
-
// bazel-out/
|
|
23242
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/util.mjs
|
|
22921
23243
|
var import_path2 = require("path");
|
|
22922
23244
|
var import_typescript6 = __toESM(require("typescript"), 1);
|
|
22923
23245
|
var startMarkerRegex = new RegExp(startMarker, "gm");
|
|
@@ -23432,7 +23754,7 @@ function forEachClass(sourceFile, callback) {
|
|
|
23432
23754
|
});
|
|
23433
23755
|
}
|
|
23434
23756
|
|
|
23435
|
-
// bazel-out/
|
|
23757
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/cases.mjs
|
|
23436
23758
|
var boundcase = "[ngSwitchCase]";
|
|
23437
23759
|
var switchcase = "*ngSwitchCase";
|
|
23438
23760
|
var nakedcase = "ngSwitchCase";
|
|
@@ -23510,7 +23832,7 @@ function migrateNgSwitchDefault(etm, tmpl, offset) {
|
|
|
23510
23832
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
23511
23833
|
}
|
|
23512
23834
|
|
|
23513
|
-
// bazel-out/
|
|
23835
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/fors.mjs
|
|
23514
23836
|
var ngfor = "*ngFor";
|
|
23515
23837
|
var nakedngfor2 = "ngFor";
|
|
23516
23838
|
var fors = [
|
|
@@ -23684,7 +24006,7 @@ function getNgForParts(expression) {
|
|
|
23684
24006
|
return parts;
|
|
23685
24007
|
}
|
|
23686
24008
|
|
|
23687
|
-
// bazel-out/
|
|
24009
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/ifs.mjs
|
|
23688
24010
|
var ngif = "*ngIf";
|
|
23689
24011
|
var boundngif = "[ngIf]";
|
|
23690
24012
|
var nakedngif = "ngIf";
|
|
@@ -23837,7 +24159,7 @@ function buildIfThenBlock(etm, tmpl, condition, thenPlaceholder, offset) {
|
|
|
23837
24159
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
23838
24160
|
}
|
|
23839
24161
|
|
|
23840
|
-
// bazel-out/
|
|
24162
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/switches.mjs
|
|
23841
24163
|
var ngswitch = "[ngSwitch]";
|
|
23842
24164
|
var switches = [
|
|
23843
24165
|
ngswitch
|
|
@@ -23905,7 +24227,7 @@ function migrateNgSwitch(etm, tmpl, offset) {
|
|
|
23905
24227
|
return { tmpl: updatedTmpl, offsets: { pre, post } };
|
|
23906
24228
|
}
|
|
23907
24229
|
|
|
23908
|
-
// bazel-out/
|
|
24230
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/migration.mjs
|
|
23909
24231
|
function migrateTemplate(template2, templateType, node, file, format = true, analyzedFiles) {
|
|
23910
24232
|
let errors = [];
|
|
23911
24233
|
let migrated = template2;
|
|
@@ -23956,7 +24278,7 @@ function migrateTemplate(template2, templateType, node, file, format = true, ana
|
|
|
23956
24278
|
return { migrated, errors };
|
|
23957
24279
|
}
|
|
23958
24280
|
|
|
23959
|
-
// bazel-out/
|
|
24281
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/index.mjs
|
|
23960
24282
|
function control_flow_migration_default(options) {
|
|
23961
24283
|
return (tree, context) => __async(this, null, function* () {
|
|
23962
24284
|
const basePath = process.cwd();
|