@angular/core 18.1.0-next.4 → 18.1.0-rc.0
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/index.mjs +3 -2
- package/esm2022/primitives/event-dispatch/src/action_resolver.mjs +3 -3
- package/esm2022/primitives/event-dispatch/src/attribute.mjs +16 -52
- package/esm2022/primitives/event-dispatch/src/cache.mjs +17 -6
- package/esm2022/primitives/event-dispatch/src/char.mjs +1 -16
- package/esm2022/primitives/event-dispatch/src/event.mjs +2 -3
- package/esm2022/primitives/event-dispatch/src/eventcontract.mjs +5 -66
- package/esm2022/primitives/event-dispatch/src/property.mjs +17 -22
- package/esm2022/primitives/signals/index.mjs +3 -3
- package/esm2022/primitives/signals/src/signal.mjs +4 -1
- package/esm2022/src/change_detection/scheduling/zoneless_scheduling_impl.mjs +2 -2
- package/esm2022/src/core_private_export.mjs +3 -1
- package/esm2022/src/event_delegation_utils.mjs +40 -23
- package/esm2022/src/event_dispatch/event_delegation.mjs +38 -0
- package/esm2022/src/hydration/annotate.mjs +3 -3
- package/esm2022/src/hydration/event_replay.mjs +5 -5
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +75 -30
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +53 -242
- package/fesm2022/primitives/event-dispatch.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +5 -2
- package/fesm2022/primitives/signals.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/index.d.ts +31 -2
- package/package.json +1 -1
- package/primitives/event-dispatch/index.d.ts +22 -102
- package/primitives/signals/index.d.ts +10 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/after-render-phase/bundle.js +12 -12
- package/schematics/migrations/http-providers/bundle.js +15 -15
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +184 -167
- package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +2 -2
- package/schematics/ng-generate/control-flow-migration/bundle.js +192 -175
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +2 -2
- package/schematics/ng-generate/standalone-migration/bundle.js +552 -471
- package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
- package/testing/index.d.ts +1 -1
- package/esm2022/primitives/event-dispatch/src/dom.mjs +0 -48
|
@@ -63,7 +63,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
63
63
|
});
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
-
// bazel-out/
|
|
66
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/invalid-two-way-bindings/index.mjs
|
|
67
67
|
var invalid_two_way_bindings_exports = {};
|
|
68
68
|
__export(invalid_two_way_bindings_exports, {
|
|
69
69
|
default: () => invalid_two_way_bindings_default
|
|
@@ -72,7 +72,7 @@ module.exports = __toCommonJS(invalid_two_way_bindings_exports);
|
|
|
72
72
|
var import_schematics = require("@angular-devkit/schematics");
|
|
73
73
|
var import_path3 = require("path");
|
|
74
74
|
|
|
75
|
-
// bazel-out/
|
|
75
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
|
|
76
76
|
var import_core = require("@angular-devkit/core");
|
|
77
77
|
function getProjectTsConfigPaths(tree) {
|
|
78
78
|
return __async(this, null, function* () {
|
|
@@ -152,11 +152,11 @@ function getWorkspace(tree) {
|
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
// bazel-out/
|
|
155
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
156
156
|
var import_path = require("path");
|
|
157
157
|
var import_typescript2 = __toESM(require("typescript"), 1);
|
|
158
158
|
|
|
159
|
-
// bazel-out/
|
|
159
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
|
|
160
160
|
var path = __toESM(require("path"), 1);
|
|
161
161
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
162
162
|
function parseTsconfigFile(tsconfigPath, basePath) {
|
|
@@ -173,7 +173,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
|
|
|
173
173
|
return import_typescript.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
// bazel-out/
|
|
176
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
|
|
177
177
|
function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
|
|
178
178
|
const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
|
|
179
179
|
return import_typescript2.default.createProgram(rootNames, options, host);
|
|
@@ -206,7 +206,7 @@ function canMigrateFile(basePath, sourceFile, program) {
|
|
|
206
206
|
return !(0, import_path.relative)(basePath, sourceFile.fileName).startsWith("..");
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
// bazel-out/
|
|
209
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/invalid-two-way-bindings/analysis.mjs
|
|
210
210
|
var import_path2 = require("path");
|
|
211
211
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
212
212
|
var AnalyzedFile = class {
|
|
@@ -266,7 +266,7 @@ function forEachClass(sourceFile, callback) {
|
|
|
266
266
|
});
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
-
// bazel-out/
|
|
269
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/selector.mjs
|
|
270
270
|
var _SELECTOR_REGEXP = new RegExp(
|
|
271
271
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
272
272
|
"g"
|
|
@@ -574,7 +574,7 @@ var SelectorContext = class {
|
|
|
574
574
|
}
|
|
575
575
|
};
|
|
576
576
|
|
|
577
|
-
// bazel-out/
|
|
577
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/core.mjs
|
|
578
578
|
var ViewEncapsulation;
|
|
579
579
|
(function(ViewEncapsulation2) {
|
|
580
580
|
ViewEncapsulation2[ViewEncapsulation2["Emulated"] = 0] = "Emulated";
|
|
@@ -642,7 +642,7 @@ function parseSelectorToR3Selector(selector) {
|
|
|
642
642
|
return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
|
|
643
643
|
}
|
|
644
644
|
|
|
645
|
-
// bazel-out/
|
|
645
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
|
|
646
646
|
var textEncoder;
|
|
647
647
|
function computeDigest(message) {
|
|
648
648
|
return sha1(serializeNodes(message.nodes).join("") + `[${message.meaning}]`);
|
|
@@ -882,7 +882,7 @@ function wordAt(bytes, index, endian) {
|
|
|
882
882
|
return word;
|
|
883
883
|
}
|
|
884
884
|
|
|
885
|
-
// bazel-out/
|
|
885
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
886
886
|
var TypeModifier;
|
|
887
887
|
(function(TypeModifier2) {
|
|
888
888
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -1820,7 +1820,7 @@ function serializeTags(tags) {
|
|
|
1820
1820
|
return out;
|
|
1821
1821
|
}
|
|
1822
1822
|
|
|
1823
|
-
// bazel-out/
|
|
1823
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
1824
1824
|
var CONSTANT_PREFIX = "_c";
|
|
1825
1825
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
1826
1826
|
var KEY_CONTEXT = {};
|
|
@@ -2008,7 +2008,7 @@ function isLongStringLiteral(expr) {
|
|
|
2008
2008
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
2009
2009
|
}
|
|
2010
2010
|
|
|
2011
|
-
// bazel-out/
|
|
2011
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
2012
2012
|
var CORE = "@angular/core";
|
|
2013
2013
|
var _Identifiers = class {
|
|
2014
2014
|
};
|
|
@@ -2905,7 +2905,7 @@ var Identifiers = _Identifiers;
|
|
|
2905
2905
|
_Identifiers.unwrapWritableSignal = { name: "\u0275unwrapWritableSignal", moduleName: CORE };
|
|
2906
2906
|
})();
|
|
2907
2907
|
|
|
2908
|
-
// bazel-out/
|
|
2908
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
|
|
2909
2909
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
2910
2910
|
function dashCaseToCamelCase(input) {
|
|
2911
2911
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -2982,7 +2982,7 @@ var Version = class {
|
|
|
2982
2982
|
};
|
|
2983
2983
|
var _global = globalThis;
|
|
2984
2984
|
|
|
2985
|
-
// bazel-out/
|
|
2985
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
2986
2986
|
var VERSION = 3;
|
|
2987
2987
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
2988
2988
|
var SourceMapGenerator = class {
|
|
@@ -3111,7 +3111,7 @@ function toBase64Digit(value) {
|
|
|
3111
3111
|
return B64_DIGITS[value];
|
|
3112
3112
|
}
|
|
3113
3113
|
|
|
3114
|
-
// bazel-out/
|
|
3114
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
3115
3115
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
3116
3116
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
3117
3117
|
var _INDENT_WITH = " ";
|
|
@@ -3599,7 +3599,7 @@ function _createIndent(count) {
|
|
|
3599
3599
|
return res;
|
|
3600
3600
|
}
|
|
3601
3601
|
|
|
3602
|
-
// bazel-out/
|
|
3602
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
3603
3603
|
function typeWithParameters(type, numParams) {
|
|
3604
3604
|
if (numParams === 0) {
|
|
3605
3605
|
return expressionType(type);
|
|
@@ -3654,7 +3654,7 @@ function generateForwardRef(expr) {
|
|
|
3654
3654
|
return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
|
|
3655
3655
|
}
|
|
3656
3656
|
|
|
3657
|
-
// bazel-out/
|
|
3657
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
3658
3658
|
var R3FactoryDelegateType;
|
|
3659
3659
|
(function(R3FactoryDelegateType2) {
|
|
3660
3660
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -3799,7 +3799,7 @@ function getInjectFn(target) {
|
|
|
3799
3799
|
}
|
|
3800
3800
|
}
|
|
3801
3801
|
|
|
3802
|
-
// bazel-out/
|
|
3802
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
3803
3803
|
var ParserError = class {
|
|
3804
3804
|
constructor(message, input, errLocation, ctxLocation) {
|
|
3805
3805
|
this.input = input;
|
|
@@ -4237,7 +4237,7 @@ var BoundElementProperty = class {
|
|
|
4237
4237
|
}
|
|
4238
4238
|
};
|
|
4239
4239
|
|
|
4240
|
-
// bazel-out/
|
|
4240
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
4241
4241
|
var TagContentType;
|
|
4242
4242
|
(function(TagContentType2) {
|
|
4243
4243
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -4274,7 +4274,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
4274
4274
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
4275
4275
|
}
|
|
4276
4276
|
|
|
4277
|
-
// bazel-out/
|
|
4277
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
4278
4278
|
var Comment = class {
|
|
4279
4279
|
constructor(value, sourceSpan) {
|
|
4280
4280
|
this.value = value;
|
|
@@ -4744,7 +4744,7 @@ function visitAll(visitor, nodes) {
|
|
|
4744
4744
|
return result;
|
|
4745
4745
|
}
|
|
4746
4746
|
|
|
4747
|
-
// bazel-out/
|
|
4747
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
4748
4748
|
var Message = class {
|
|
4749
4749
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
4750
4750
|
this.nodes = nodes;
|
|
@@ -4884,7 +4884,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
4884
4884
|
}
|
|
4885
4885
|
};
|
|
4886
4886
|
|
|
4887
|
-
// bazel-out/
|
|
4887
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
4888
4888
|
var _Visitor = class {
|
|
4889
4889
|
visitTag(tag) {
|
|
4890
4890
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -4912,12 +4912,12 @@ ${doctype.dtd}
|
|
|
4912
4912
|
};
|
|
4913
4913
|
var _visitor = new _Visitor();
|
|
4914
4914
|
|
|
4915
|
-
// bazel-out/
|
|
4915
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
4916
4916
|
function toPublicName(internalName) {
|
|
4917
4917
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
4918
4918
|
}
|
|
4919
4919
|
|
|
4920
|
-
// bazel-out/
|
|
4920
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
4921
4921
|
var I18N_ATTR = "i18n";
|
|
4922
4922
|
var I18N_ATTR_PREFIX = "i18n-";
|
|
4923
4923
|
var I18N_ICU_VAR_PREFIX = "VAR_";
|
|
@@ -4957,7 +4957,7 @@ function formatI18nPlaceholderName(name, useCamelCase = true) {
|
|
|
4957
4957
|
return postfix ? `${raw}_${postfix}` : raw;
|
|
4958
4958
|
}
|
|
4959
4959
|
|
|
4960
|
-
// bazel-out/
|
|
4960
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
4961
4961
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
4962
4962
|
var TEMPORARY_NAME = "_t";
|
|
4963
4963
|
var CONTEXT_NAME = "ctx";
|
|
@@ -5084,7 +5084,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
|
|
|
5084
5084
|
return attributesMap;
|
|
5085
5085
|
}
|
|
5086
5086
|
|
|
5087
|
-
// bazel-out/
|
|
5087
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
5088
5088
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
5089
5089
|
let result = null;
|
|
5090
5090
|
const factoryMeta = {
|
|
@@ -5171,7 +5171,7 @@ function createFactoryFunction(type) {
|
|
|
5171
5171
|
return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
|
|
5172
5172
|
}
|
|
5173
5173
|
|
|
5174
|
-
// bazel-out/
|
|
5174
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
5175
5175
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
5176
5176
|
/@/,
|
|
5177
5177
|
/^\s*$/,
|
|
@@ -5194,7 +5194,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
5194
5194
|
}
|
|
5195
5195
|
}
|
|
5196
5196
|
|
|
5197
|
-
// bazel-out/
|
|
5197
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
|
|
5198
5198
|
var InterpolationConfig = class {
|
|
5199
5199
|
static fromArray(markers) {
|
|
5200
5200
|
if (!markers) {
|
|
@@ -5211,7 +5211,7 @@ var InterpolationConfig = class {
|
|
|
5211
5211
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
5212
5212
|
var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
|
|
5213
5213
|
|
|
5214
|
-
// bazel-out/
|
|
5214
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
5215
5215
|
var $EOF = 0;
|
|
5216
5216
|
var $BSPACE = 8;
|
|
5217
5217
|
var $TAB = 9;
|
|
@@ -5293,7 +5293,7 @@ function isQuote(code) {
|
|
|
5293
5293
|
return code === $SQ || code === $DQ || code === $BT;
|
|
5294
5294
|
}
|
|
5295
5295
|
|
|
5296
|
-
// bazel-out/
|
|
5296
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
5297
5297
|
var ParseLocation = class {
|
|
5298
5298
|
constructor(file, offset, line, col) {
|
|
5299
5299
|
this.file = file;
|
|
@@ -5440,7 +5440,7 @@ function sanitizeIdentifier(name) {
|
|
|
5440
5440
|
return name.replace(/\W/g, "_");
|
|
5441
5441
|
}
|
|
5442
5442
|
|
|
5443
|
-
// bazel-out/
|
|
5443
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
5444
5444
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
5445
5445
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
5446
5446
|
constructor() {
|
|
@@ -5533,7 +5533,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
5533
5533
|
}
|
|
5534
5534
|
};
|
|
5535
5535
|
|
|
5536
|
-
// bazel-out/
|
|
5536
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
5537
5537
|
var policy;
|
|
5538
5538
|
function getPolicy() {
|
|
5539
5539
|
if (policy === void 0) {
|
|
@@ -5571,7 +5571,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
5571
5571
|
return fn2.bind(_global);
|
|
5572
5572
|
}
|
|
5573
5573
|
|
|
5574
|
-
// bazel-out/
|
|
5574
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
5575
5575
|
var JitEvaluator = class {
|
|
5576
5576
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
5577
5577
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -5659,7 +5659,7 @@ function isUseStrictStatement(statement) {
|
|
|
5659
5659
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
5660
5660
|
}
|
|
5661
5661
|
|
|
5662
|
-
// bazel-out/
|
|
5662
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
5663
5663
|
function compileInjector(meta) {
|
|
5664
5664
|
const definitionMap = new DefinitionMap();
|
|
5665
5665
|
if (meta.providers !== null) {
|
|
@@ -5676,7 +5676,7 @@ function createInjectorType(meta) {
|
|
|
5676
5676
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
5677
5677
|
}
|
|
5678
5678
|
|
|
5679
|
-
// bazel-out/
|
|
5679
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
5680
5680
|
var R3JitReflector = class {
|
|
5681
5681
|
constructor(context) {
|
|
5682
5682
|
this.context = context;
|
|
@@ -5692,7 +5692,7 @@ var R3JitReflector = class {
|
|
|
5692
5692
|
}
|
|
5693
5693
|
};
|
|
5694
5694
|
|
|
5695
|
-
// bazel-out/
|
|
5695
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
5696
5696
|
var R3SelectorScopeMode;
|
|
5697
5697
|
(function(R3SelectorScopeMode2) {
|
|
5698
5698
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -5827,7 +5827,7 @@ function tupleOfTypes(types) {
|
|
|
5827
5827
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
5828
5828
|
}
|
|
5829
5829
|
|
|
5830
|
-
// bazel-out/
|
|
5830
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
5831
5831
|
function compilePipeFromMetadata(metadata) {
|
|
5832
5832
|
const definitionMapValues = [];
|
|
5833
5833
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -5848,7 +5848,7 @@ function createPipeType(metadata) {
|
|
|
5848
5848
|
]));
|
|
5849
5849
|
}
|
|
5850
5850
|
|
|
5851
|
-
// bazel-out/
|
|
5851
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
5852
5852
|
var R3TemplateDependencyKind;
|
|
5853
5853
|
(function(R3TemplateDependencyKind2) {
|
|
5854
5854
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -5856,7 +5856,7 @@ var R3TemplateDependencyKind;
|
|
|
5856
5856
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
5857
5857
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
5858
5858
|
|
|
5859
|
-
// bazel-out/
|
|
5859
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
5860
5860
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
5861
5861
|
"inherit",
|
|
5862
5862
|
"initial",
|
|
@@ -6336,7 +6336,7 @@ function repeatGroups(groups, multiples) {
|
|
|
6336
6336
|
}
|
|
6337
6337
|
}
|
|
6338
6338
|
|
|
6339
|
-
// bazel-out/
|
|
6339
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
6340
6340
|
var OpKind;
|
|
6341
6341
|
(function(OpKind2) {
|
|
6342
6342
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -6494,7 +6494,7 @@ var TemplateKind;
|
|
|
6494
6494
|
TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
|
|
6495
6495
|
})(TemplateKind || (TemplateKind = {}));
|
|
6496
6496
|
|
|
6497
|
-
// bazel-out/
|
|
6497
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
6498
6498
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
6499
6499
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
6500
6500
|
var ConsumesVarsTrait = Symbol("ConsumesVars");
|
|
@@ -6522,7 +6522,7 @@ function hasUsesVarOffsetTrait(expr) {
|
|
|
6522
6522
|
return expr[UsesVarOffset] === true;
|
|
6523
6523
|
}
|
|
6524
6524
|
|
|
6525
|
-
// bazel-out/
|
|
6525
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
6526
6526
|
function createStatementOp(statement) {
|
|
6527
6527
|
return __spreadValues({
|
|
6528
6528
|
kind: OpKind.Statement,
|
|
@@ -6544,7 +6544,7 @@ var NEW_OP = {
|
|
|
6544
6544
|
next: null
|
|
6545
6545
|
};
|
|
6546
6546
|
|
|
6547
|
-
// bazel-out/
|
|
6547
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
6548
6548
|
function createInterpolateTextOp(xref, interpolation, sourceSpan) {
|
|
6549
6549
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
6550
6550
|
kind: OpKind.InterpolateText,
|
|
@@ -6733,7 +6733,7 @@ function createStoreLetOp(target, declaredName, value, sourceSpan) {
|
|
|
6733
6733
|
}, TRAIT_DEPENDS_ON_SLOT_CONTEXT), TRAIT_CONSUMES_VARS), NEW_OP);
|
|
6734
6734
|
}
|
|
6735
6735
|
|
|
6736
|
-
// bazel-out/
|
|
6736
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
6737
6737
|
var _a;
|
|
6738
6738
|
var _b;
|
|
6739
6739
|
var _c;
|
|
@@ -7651,7 +7651,7 @@ function isStringLiteral(expr) {
|
|
|
7651
7651
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
7652
7652
|
}
|
|
7653
7653
|
|
|
7654
|
-
// bazel-out/
|
|
7654
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
7655
7655
|
var _OpList = class {
|
|
7656
7656
|
constructor() {
|
|
7657
7657
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -7842,14 +7842,14 @@ var OpList = _OpList;
|
|
|
7842
7842
|
_OpList.nextListId = 0;
|
|
7843
7843
|
})();
|
|
7844
7844
|
|
|
7845
|
-
// bazel-out/
|
|
7845
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
7846
7846
|
var SlotHandle = class {
|
|
7847
7847
|
constructor() {
|
|
7848
7848
|
this.slot = null;
|
|
7849
7849
|
}
|
|
7850
7850
|
};
|
|
7851
7851
|
|
|
7852
|
-
// bazel-out/
|
|
7852
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
7853
7853
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
7854
7854
|
OpKind.Element,
|
|
7855
7855
|
OpKind.ElementStart,
|
|
@@ -8162,7 +8162,7 @@ function createI18nAttributesOp(xref, handle, target) {
|
|
|
8162
8162
|
}, NEW_OP), TRAIT_CONSUMES_SLOT);
|
|
8163
8163
|
}
|
|
8164
8164
|
|
|
8165
|
-
// bazel-out/
|
|
8165
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
8166
8166
|
function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
|
|
8167
8167
|
return __spreadValues(__spreadValues({
|
|
8168
8168
|
kind: OpKind.HostProperty,
|
|
@@ -8176,10 +8176,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
|
|
|
8176
8176
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
8177
8177
|
}
|
|
8178
8178
|
|
|
8179
|
-
// bazel-out/
|
|
8179
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
8180
8180
|
var CTX_REF = "CTX_REF_MARKER";
|
|
8181
8181
|
|
|
8182
|
-
// bazel-out/
|
|
8182
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
8183
8183
|
var CompilationJobKind;
|
|
8184
8184
|
(function(CompilationJobKind2) {
|
|
8185
8185
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -8287,7 +8287,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
8287
8287
|
}
|
|
8288
8288
|
};
|
|
8289
8289
|
|
|
8290
|
-
// bazel-out/
|
|
8290
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
8291
8291
|
function deleteAnyCasts(job) {
|
|
8292
8292
|
for (const unit of job.units) {
|
|
8293
8293
|
for (const op of unit.ops()) {
|
|
@@ -8305,7 +8305,7 @@ function removeAnys(e) {
|
|
|
8305
8305
|
return e;
|
|
8306
8306
|
}
|
|
8307
8307
|
|
|
8308
|
-
// bazel-out/
|
|
8308
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
8309
8309
|
function applyI18nExpressions(job) {
|
|
8310
8310
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
8311
8311
|
for (const unit of job.units) {
|
|
@@ -8348,7 +8348,7 @@ function needsApplication(i18nContexts, op) {
|
|
|
8348
8348
|
return false;
|
|
8349
8349
|
}
|
|
8350
8350
|
|
|
8351
|
-
// bazel-out/
|
|
8351
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
8352
8352
|
function assignI18nSlotDependencies(job) {
|
|
8353
8353
|
for (const unit of job.units) {
|
|
8354
8354
|
let updateOp = unit.update.head;
|
|
@@ -8393,7 +8393,7 @@ function assignI18nSlotDependencies(job) {
|
|
|
8393
8393
|
}
|
|
8394
8394
|
}
|
|
8395
8395
|
|
|
8396
|
-
// bazel-out/
|
|
8396
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
8397
8397
|
function createOpXrefMap(unit) {
|
|
8398
8398
|
const map = /* @__PURE__ */ new Map();
|
|
8399
8399
|
for (const op of unit.create) {
|
|
@@ -8408,7 +8408,7 @@ function createOpXrefMap(unit) {
|
|
|
8408
8408
|
return map;
|
|
8409
8409
|
}
|
|
8410
8410
|
|
|
8411
|
-
// bazel-out/
|
|
8411
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
8412
8412
|
function extractAttributes(job) {
|
|
8413
8413
|
for (const unit of job.units) {
|
|
8414
8414
|
const elements = createOpXrefMap(unit);
|
|
@@ -8537,7 +8537,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
8537
8537
|
}
|
|
8538
8538
|
}
|
|
8539
8539
|
|
|
8540
|
-
// bazel-out/
|
|
8540
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
8541
8541
|
function lookupElement2(elements, xref) {
|
|
8542
8542
|
const el = elements.get(xref);
|
|
8543
8543
|
if (el === void 0) {
|
|
@@ -8594,7 +8594,7 @@ function specializeBindings(job) {
|
|
|
8594
8594
|
}
|
|
8595
8595
|
}
|
|
8596
8596
|
|
|
8597
|
-
// bazel-out/
|
|
8597
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
8598
8598
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
8599
8599
|
Identifiers.attribute,
|
|
8600
8600
|
Identifiers.classProp,
|
|
@@ -8663,7 +8663,7 @@ function chainOperationsInList(opList) {
|
|
|
8663
8663
|
}
|
|
8664
8664
|
}
|
|
8665
8665
|
|
|
8666
|
-
// bazel-out/
|
|
8666
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
8667
8667
|
function collapseSingletonInterpolations(job) {
|
|
8668
8668
|
for (const unit of job.units) {
|
|
8669
8669
|
for (const op of unit.update) {
|
|
@@ -8675,7 +8675,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
8675
8675
|
}
|
|
8676
8676
|
}
|
|
8677
8677
|
|
|
8678
|
-
// bazel-out/
|
|
8678
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
8679
8679
|
function generateConditionalExpressions(job) {
|
|
8680
8680
|
for (const unit of job.units) {
|
|
8681
8681
|
for (const op of unit.ops()) {
|
|
@@ -8712,7 +8712,7 @@ function generateConditionalExpressions(job) {
|
|
|
8712
8712
|
}
|
|
8713
8713
|
}
|
|
8714
8714
|
|
|
8715
|
-
// bazel-out/
|
|
8715
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
8716
8716
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
8717
8717
|
["&&", BinaryOperator.And],
|
|
8718
8718
|
[">", BinaryOperator.Bigger],
|
|
@@ -8769,7 +8769,7 @@ function literalOrArrayLiteral(value) {
|
|
|
8769
8769
|
return literal(value);
|
|
8770
8770
|
}
|
|
8771
8771
|
|
|
8772
|
-
// bazel-out/
|
|
8772
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
8773
8773
|
function collectElementConsts(job) {
|
|
8774
8774
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
8775
8775
|
for (const unit of job.units) {
|
|
@@ -8938,7 +8938,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
8938
8938
|
return literalArr(attrArray);
|
|
8939
8939
|
}
|
|
8940
8940
|
|
|
8941
|
-
// bazel-out/
|
|
8941
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
|
|
8942
8942
|
function convertI18nBindings(job) {
|
|
8943
8943
|
const i18nAttributesByElem = /* @__PURE__ */ new Map();
|
|
8944
8944
|
for (const unit of job.units) {
|
|
@@ -8979,7 +8979,7 @@ function convertI18nBindings(job) {
|
|
|
8979
8979
|
}
|
|
8980
8980
|
}
|
|
8981
8981
|
|
|
8982
|
-
// bazel-out/
|
|
8982
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
|
|
8983
8983
|
function resolveDeferDepsFns(job) {
|
|
8984
8984
|
var _a2;
|
|
8985
8985
|
for (const unit of job.units) {
|
|
@@ -9004,7 +9004,7 @@ function resolveDeferDepsFns(job) {
|
|
|
9004
9004
|
}
|
|
9005
9005
|
}
|
|
9006
9006
|
|
|
9007
|
-
// bazel-out/
|
|
9007
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
9008
9008
|
function createI18nContexts(job) {
|
|
9009
9009
|
const attrContextByMessage = /* @__PURE__ */ new Map();
|
|
9010
9010
|
for (const unit of job.units) {
|
|
@@ -9082,7 +9082,7 @@ function createI18nContexts(job) {
|
|
|
9082
9082
|
}
|
|
9083
9083
|
}
|
|
9084
9084
|
|
|
9085
|
-
// bazel-out/
|
|
9085
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
|
|
9086
9086
|
function deduplicateTextBindings(job) {
|
|
9087
9087
|
const seen = /* @__PURE__ */ new Map();
|
|
9088
9088
|
for (const unit of job.units) {
|
|
@@ -9104,7 +9104,7 @@ function deduplicateTextBindings(job) {
|
|
|
9104
9104
|
}
|
|
9105
9105
|
}
|
|
9106
9106
|
|
|
9107
|
-
// bazel-out/
|
|
9107
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
9108
9108
|
function configureDeferInstructions(job) {
|
|
9109
9109
|
for (const unit of job.units) {
|
|
9110
9110
|
for (const op of unit.create) {
|
|
@@ -9121,7 +9121,7 @@ function configureDeferInstructions(job) {
|
|
|
9121
9121
|
}
|
|
9122
9122
|
}
|
|
9123
9123
|
|
|
9124
|
-
// bazel-out/
|
|
9124
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
9125
9125
|
function resolveDeferTargetNames(job) {
|
|
9126
9126
|
const scopes = /* @__PURE__ */ new Map();
|
|
9127
9127
|
function getScopeForView2(view) {
|
|
@@ -9215,7 +9215,7 @@ var Scope = class {
|
|
|
9215
9215
|
}
|
|
9216
9216
|
};
|
|
9217
9217
|
|
|
9218
|
-
// bazel-out/
|
|
9218
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
9219
9219
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
9220
9220
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
9221
9221
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -9242,7 +9242,7 @@ function collapseEmptyInstructions(job) {
|
|
|
9242
9242
|
}
|
|
9243
9243
|
}
|
|
9244
9244
|
|
|
9245
|
-
// bazel-out/
|
|
9245
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
9246
9246
|
function expandSafeReads(job) {
|
|
9247
9247
|
for (const unit of job.units) {
|
|
9248
9248
|
for (const op of unit.ops()) {
|
|
@@ -9378,7 +9378,7 @@ function ternaryTransform(e) {
|
|
|
9378
9378
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
9379
9379
|
}
|
|
9380
9380
|
|
|
9381
|
-
// bazel-out/
|
|
9381
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
9382
9382
|
var ESCAPE = "\uFFFD";
|
|
9383
9383
|
var ELEMENT_MARKER = "#";
|
|
9384
9384
|
var TEMPLATE_MARKER = "*";
|
|
@@ -9514,7 +9514,7 @@ function formatValue(value) {
|
|
|
9514
9514
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
9515
9515
|
}
|
|
9516
9516
|
|
|
9517
|
-
// bazel-out/
|
|
9517
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
9518
9518
|
function generateAdvance(job) {
|
|
9519
9519
|
for (const unit of job.units) {
|
|
9520
9520
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -9557,7 +9557,7 @@ function generateAdvance(job) {
|
|
|
9557
9557
|
}
|
|
9558
9558
|
}
|
|
9559
9559
|
|
|
9560
|
-
// bazel-out/
|
|
9560
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
9561
9561
|
function generateProjectionDefs(job) {
|
|
9562
9562
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
9563
9563
|
const selectors = [];
|
|
@@ -9581,7 +9581,7 @@ function generateProjectionDefs(job) {
|
|
|
9581
9581
|
}
|
|
9582
9582
|
}
|
|
9583
9583
|
|
|
9584
|
-
// bazel-out/
|
|
9584
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
9585
9585
|
function generateVariables(job) {
|
|
9586
9586
|
recursivelyProcessView(job.root, null);
|
|
9587
9587
|
}
|
|
@@ -9629,7 +9629,8 @@ function getScopeForView(view, parent) {
|
|
|
9629
9629
|
scope.contextVariables.set(identifier, {
|
|
9630
9630
|
kind: SemanticVariableKind.Identifier,
|
|
9631
9631
|
name: null,
|
|
9632
|
-
identifier
|
|
9632
|
+
identifier,
|
|
9633
|
+
local: false
|
|
9633
9634
|
});
|
|
9634
9635
|
}
|
|
9635
9636
|
for (const op of view.create) {
|
|
@@ -9648,7 +9649,8 @@ function getScopeForView(view, parent) {
|
|
|
9648
9649
|
variable: {
|
|
9649
9650
|
kind: SemanticVariableKind.Identifier,
|
|
9650
9651
|
name: null,
|
|
9651
|
-
identifier: op.localRefs[offset].name
|
|
9652
|
+
identifier: op.localRefs[offset].name,
|
|
9653
|
+
local: false
|
|
9652
9654
|
}
|
|
9653
9655
|
});
|
|
9654
9656
|
}
|
|
@@ -9660,7 +9662,8 @@ function getScopeForView(view, parent) {
|
|
|
9660
9662
|
variable: {
|
|
9661
9663
|
kind: SemanticVariableKind.Identifier,
|
|
9662
9664
|
name: null,
|
|
9663
|
-
identifier: op.declaredName
|
|
9665
|
+
identifier: op.declaredName,
|
|
9666
|
+
local: false
|
|
9664
9667
|
}
|
|
9665
9668
|
});
|
|
9666
9669
|
break;
|
|
@@ -9696,7 +9699,7 @@ function generateVariablesInScopeForView(view, scope, isListener) {
|
|
|
9696
9699
|
return newOps;
|
|
9697
9700
|
}
|
|
9698
9701
|
|
|
9699
|
-
// bazel-out/
|
|
9702
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
9700
9703
|
function collectConstExpressions(job) {
|
|
9701
9704
|
for (const unit of job.units) {
|
|
9702
9705
|
for (const op of unit.ops()) {
|
|
@@ -9710,7 +9713,7 @@ function collectConstExpressions(job) {
|
|
|
9710
9713
|
}
|
|
9711
9714
|
}
|
|
9712
9715
|
|
|
9713
|
-
// bazel-out/
|
|
9716
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
9714
9717
|
var STYLE_DOT = "style.";
|
|
9715
9718
|
var CLASS_DOT = "class.";
|
|
9716
9719
|
var STYLE_BANG = "style!";
|
|
@@ -9768,7 +9771,7 @@ function parseProperty(name) {
|
|
|
9768
9771
|
return { property: property2, suffix };
|
|
9769
9772
|
}
|
|
9770
9773
|
|
|
9771
|
-
// bazel-out/
|
|
9774
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
9772
9775
|
function mapLiteral(obj, quoted = false) {
|
|
9773
9776
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
9774
9777
|
key,
|
|
@@ -9777,7 +9780,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
9777
9780
|
})));
|
|
9778
9781
|
}
|
|
9779
9782
|
|
|
9780
|
-
// bazel-out/
|
|
9783
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
9781
9784
|
var IcuSerializerVisitor = class {
|
|
9782
9785
|
visitText(text2) {
|
|
9783
9786
|
return text2.value;
|
|
@@ -9811,7 +9814,7 @@ function serializeIcuNode(icu) {
|
|
|
9811
9814
|
return icu.visit(serializer);
|
|
9812
9815
|
}
|
|
9813
9816
|
|
|
9814
|
-
// bazel-out/
|
|
9817
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
9815
9818
|
var TokenType;
|
|
9816
9819
|
(function(TokenType2) {
|
|
9817
9820
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -10172,7 +10175,7 @@ function parseIntAutoRadix(text2) {
|
|
|
10172
10175
|
return result;
|
|
10173
10176
|
}
|
|
10174
10177
|
|
|
10175
|
-
// bazel-out/
|
|
10178
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
10176
10179
|
var SplitInterpolation = class {
|
|
10177
10180
|
constructor(strings, expressions, offsets) {
|
|
10178
10181
|
this.strings = strings;
|
|
@@ -11056,7 +11059,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
11056
11059
|
return offsetMap;
|
|
11057
11060
|
}
|
|
11058
11061
|
|
|
11059
|
-
// bazel-out/
|
|
11062
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
11060
11063
|
var NodeWithI18n = class {
|
|
11061
11064
|
constructor(sourceSpan, i18n2) {
|
|
11062
11065
|
this.sourceSpan = sourceSpan;
|
|
@@ -11179,7 +11182,7 @@ function visitAll2(visitor, nodes, context = null) {
|
|
|
11179
11182
|
return result;
|
|
11180
11183
|
}
|
|
11181
11184
|
|
|
11182
|
-
// bazel-out/
|
|
11185
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
11183
11186
|
var _SECURITY_SCHEMA;
|
|
11184
11187
|
function SECURITY_SCHEMA() {
|
|
11185
11188
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -11240,11 +11243,11 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
11240
11243
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
11241
11244
|
}
|
|
11242
11245
|
|
|
11243
|
-
// bazel-out/
|
|
11246
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
11244
11247
|
var ElementSchemaRegistry = class {
|
|
11245
11248
|
};
|
|
11246
11249
|
|
|
11247
|
-
// bazel-out/
|
|
11250
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
11248
11251
|
var BOOLEAN = "boolean";
|
|
11249
11252
|
var NUMBER = "number";
|
|
11250
11253
|
var STRING = "string";
|
|
@@ -11627,7 +11630,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
11627
11630
|
}
|
|
11628
11631
|
}
|
|
11629
11632
|
|
|
11630
|
-
// bazel-out/
|
|
11633
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
11631
11634
|
var HtmlTagDefinition = class {
|
|
11632
11635
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
11633
11636
|
this.closedByChildren = {};
|
|
@@ -11763,7 +11766,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
11763
11766
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
11764
11767
|
}
|
|
11765
11768
|
|
|
11766
|
-
// bazel-out/
|
|
11769
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
11767
11770
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
11768
11771
|
"A": "LINK",
|
|
11769
11772
|
"B": "BOLD_TEXT",
|
|
@@ -11885,7 +11888,7 @@ var PlaceholderRegistry = class {
|
|
|
11885
11888
|
}
|
|
11886
11889
|
};
|
|
11887
11890
|
|
|
11888
|
-
// bazel-out/
|
|
11891
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
11889
11892
|
var _expParser = new Parser(new Lexer());
|
|
11890
11893
|
function createI18nMessageFactory(interpolationConfig, containerBlocks) {
|
|
11891
11894
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
|
|
@@ -12067,14 +12070,14 @@ function extractPlaceholderName(input) {
|
|
|
12067
12070
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
12068
12071
|
}
|
|
12069
12072
|
|
|
12070
|
-
// bazel-out/
|
|
12073
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
12071
12074
|
var I18nError = class extends ParseError {
|
|
12072
12075
|
constructor(span, msg) {
|
|
12073
12076
|
super(span, msg);
|
|
12074
12077
|
}
|
|
12075
12078
|
};
|
|
12076
12079
|
|
|
12077
|
-
// bazel-out/
|
|
12080
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
12078
12081
|
var NAMED_ENTITIES = {
|
|
12079
12082
|
"AElig": "\xC6",
|
|
12080
12083
|
"AMP": "&",
|
|
@@ -14205,7 +14208,7 @@ var NAMED_ENTITIES = {
|
|
|
14205
14208
|
var NGSP_UNICODE = "\uE500";
|
|
14206
14209
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
14207
14210
|
|
|
14208
|
-
// bazel-out/
|
|
14211
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
14209
14212
|
var TokenError = class extends ParseError {
|
|
14210
14213
|
constructor(errorMsg, tokenType, span) {
|
|
14211
14214
|
super(span, errorMsg);
|
|
@@ -14417,7 +14420,7 @@ var _Tokenizer = class {
|
|
|
14417
14420
|
const nameCursor = this._cursor.clone();
|
|
14418
14421
|
let allowDigit = false;
|
|
14419
14422
|
this._attemptCharCodeUntilFn((code) => {
|
|
14420
|
-
if (isAsciiLetter(code) || code === $_ || allowDigit && isDigit(code)) {
|
|
14423
|
+
if (isAsciiLetter(code) || code == $$ || code === $_ || allowDigit && isDigit(code)) {
|
|
14421
14424
|
allowDigit = true;
|
|
14422
14425
|
return false;
|
|
14423
14426
|
}
|
|
@@ -15195,7 +15198,7 @@ var CursorError = class {
|
|
|
15195
15198
|
}
|
|
15196
15199
|
};
|
|
15197
15200
|
|
|
15198
|
-
// bazel-out/
|
|
15201
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
15199
15202
|
var TreeError = class extends ParseError {
|
|
15200
15203
|
static create(elementName, span, msg) {
|
|
15201
15204
|
return new TreeError(elementName, span, msg);
|
|
@@ -15623,7 +15626,7 @@ function decodeEntity(match, entity) {
|
|
|
15623
15626
|
return match;
|
|
15624
15627
|
}
|
|
15625
15628
|
|
|
15626
|
-
// bazel-out/
|
|
15629
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
15627
15630
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
15628
15631
|
"iframe|srcdoc",
|
|
15629
15632
|
"*|innerhtml",
|
|
@@ -15638,7 +15641,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
15638
15641
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
15639
15642
|
}
|
|
15640
15643
|
|
|
15641
|
-
// bazel-out/
|
|
15644
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
15642
15645
|
var setI18nRefs = (htmlNode, i18nNode) => {
|
|
15643
15646
|
if (htmlNode instanceof NodeWithI18n) {
|
|
15644
15647
|
if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
|
|
@@ -15798,7 +15801,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
15798
15801
|
return jsDocComment(tags);
|
|
15799
15802
|
}
|
|
15800
15803
|
|
|
15801
|
-
// bazel-out/
|
|
15804
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
15802
15805
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
15803
15806
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
15804
15807
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -15849,7 +15852,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
15849
15852
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
15850
15853
|
}
|
|
15851
15854
|
|
|
15852
|
-
// bazel-out/
|
|
15855
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
15853
15856
|
function createLocalizeStatements(variable2, message, params) {
|
|
15854
15857
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
15855
15858
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -15938,7 +15941,7 @@ function createEmptyMessagePart(location) {
|
|
|
15938
15941
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
15939
15942
|
}
|
|
15940
15943
|
|
|
15941
|
-
// bazel-out/
|
|
15944
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
15942
15945
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
15943
15946
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
15944
15947
|
var I18N_ICU_MAPPING_PREFIX = "I18N_EXP_";
|
|
@@ -16109,7 +16112,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
16109
16112
|
return variable(name);
|
|
16110
16113
|
}
|
|
16111
16114
|
|
|
16112
|
-
// bazel-out/
|
|
16115
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
16113
16116
|
function convertI18nText(job) {
|
|
16114
16117
|
var _a2, _b2, _c2;
|
|
16115
16118
|
for (const unit of job.units) {
|
|
@@ -16179,7 +16182,7 @@ function convertI18nText(job) {
|
|
|
16179
16182
|
}
|
|
16180
16183
|
}
|
|
16181
16184
|
|
|
16182
|
-
// bazel-out/
|
|
16185
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
16183
16186
|
function liftLocalRefs(job) {
|
|
16184
16187
|
for (const unit of job.units) {
|
|
16185
16188
|
for (const op of unit.create) {
|
|
@@ -16209,7 +16212,7 @@ function serializeLocalRefs(refs) {
|
|
|
16209
16212
|
return literalArr(constRefs);
|
|
16210
16213
|
}
|
|
16211
16214
|
|
|
16212
|
-
// bazel-out/
|
|
16215
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
16213
16216
|
function emitNamespaceChanges(job) {
|
|
16214
16217
|
for (const unit of job.units) {
|
|
16215
16218
|
let activeNamespace = Namespace.HTML;
|
|
@@ -16225,7 +16228,7 @@ function emitNamespaceChanges(job) {
|
|
|
16225
16228
|
}
|
|
16226
16229
|
}
|
|
16227
16230
|
|
|
16228
|
-
// bazel-out/
|
|
16231
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
16229
16232
|
function parse(value) {
|
|
16230
16233
|
const styles = [];
|
|
16231
16234
|
let i = 0;
|
|
@@ -16319,7 +16322,7 @@ function parseExtractedStyles(job) {
|
|
|
16319
16322
|
}
|
|
16320
16323
|
}
|
|
16321
16324
|
|
|
16322
|
-
// bazel-out/
|
|
16325
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
16323
16326
|
function nameFunctionsAndVariables(job) {
|
|
16324
16327
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
16325
16328
|
}
|
|
@@ -16463,7 +16466,7 @@ function stripImportant(name) {
|
|
|
16463
16466
|
return name;
|
|
16464
16467
|
}
|
|
16465
16468
|
|
|
16466
|
-
// bazel-out/
|
|
16469
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
16467
16470
|
function mergeNextContextExpressions(job) {
|
|
16468
16471
|
for (const unit of job.units) {
|
|
16469
16472
|
for (const op of unit.create) {
|
|
@@ -16510,7 +16513,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
16510
16513
|
}
|
|
16511
16514
|
}
|
|
16512
16515
|
|
|
16513
|
-
// bazel-out/
|
|
16516
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
16514
16517
|
var CONTAINER_TAG = "ng-container";
|
|
16515
16518
|
function generateNgContainerOps(job) {
|
|
16516
16519
|
for (const unit of job.units) {
|
|
@@ -16527,7 +16530,7 @@ function generateNgContainerOps(job) {
|
|
|
16527
16530
|
}
|
|
16528
16531
|
}
|
|
16529
16532
|
|
|
16530
|
-
// bazel-out/
|
|
16533
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
16531
16534
|
function lookupElement3(elements, xref) {
|
|
16532
16535
|
const el = elements.get(xref);
|
|
16533
16536
|
if (el === void 0) {
|
|
@@ -16557,7 +16560,7 @@ function disableBindings(job) {
|
|
|
16557
16560
|
}
|
|
16558
16561
|
}
|
|
16559
16562
|
|
|
16560
|
-
// bazel-out/
|
|
16563
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
16561
16564
|
function generateNullishCoalesceExpressions(job) {
|
|
16562
16565
|
for (const unit of job.units) {
|
|
16563
16566
|
for (const op of unit.ops()) {
|
|
@@ -16573,7 +16576,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
16573
16576
|
}
|
|
16574
16577
|
}
|
|
16575
16578
|
|
|
16576
|
-
// bazel-out/
|
|
16579
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
16577
16580
|
function kindTest(kind) {
|
|
16578
16581
|
return (op) => op.kind === kind;
|
|
16579
16582
|
}
|
|
@@ -16663,7 +16666,7 @@ function keepLast(ops) {
|
|
|
16663
16666
|
return ops.slice(ops.length - 1);
|
|
16664
16667
|
}
|
|
16665
16668
|
|
|
16666
|
-
// bazel-out/
|
|
16669
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
16667
16670
|
function removeContentSelectors(job) {
|
|
16668
16671
|
for (const unit of job.units) {
|
|
16669
16672
|
const elements = createOpXrefMap(unit);
|
|
@@ -16690,7 +16693,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
16690
16693
|
return el;
|
|
16691
16694
|
}
|
|
16692
16695
|
|
|
16693
|
-
// bazel-out/
|
|
16696
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
16694
16697
|
function createPipes(job) {
|
|
16695
16698
|
for (const unit of job.units) {
|
|
16696
16699
|
processPipeBindingsInView(unit);
|
|
@@ -16738,7 +16741,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
16738
16741
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
16739
16742
|
}
|
|
16740
16743
|
|
|
16741
|
-
// bazel-out/
|
|
16744
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
16742
16745
|
function createVariadicPipes(job) {
|
|
16743
16746
|
for (const unit of job.units) {
|
|
16744
16747
|
for (const op of unit.update) {
|
|
@@ -16755,7 +16758,7 @@ function createVariadicPipes(job) {
|
|
|
16755
16758
|
}
|
|
16756
16759
|
}
|
|
16757
16760
|
|
|
16758
|
-
// bazel-out/
|
|
16761
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
16759
16762
|
function propagateI18nBlocks(job) {
|
|
16760
16763
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
16761
16764
|
}
|
|
@@ -16809,7 +16812,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
16809
16812
|
}
|
|
16810
16813
|
}
|
|
16811
16814
|
|
|
16812
|
-
// bazel-out/
|
|
16815
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
16813
16816
|
function extractPureFunctions(job) {
|
|
16814
16817
|
for (const view of job.units) {
|
|
16815
16818
|
for (const op of view.ops()) {
|
|
@@ -16851,7 +16854,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
16851
16854
|
}
|
|
16852
16855
|
};
|
|
16853
16856
|
|
|
16854
|
-
// bazel-out/
|
|
16857
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
16855
16858
|
function generatePureLiteralStructures(job) {
|
|
16856
16859
|
for (const unit of job.units) {
|
|
16857
16860
|
for (const op of unit.update) {
|
|
@@ -16898,7 +16901,7 @@ function transformLiteralMap(expr) {
|
|
|
16898
16901
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
16899
16902
|
}
|
|
16900
16903
|
|
|
16901
|
-
// bazel-out/
|
|
16904
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
16902
16905
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
16903
16906
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
16904
16907
|
}
|
|
@@ -17430,7 +17433,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
17430
17433
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
17431
17434
|
}
|
|
17432
17435
|
|
|
17433
|
-
// bazel-out/
|
|
17436
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
17434
17437
|
var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
|
|
17435
17438
|
["window", Identifiers.resolveWindow],
|
|
17436
17439
|
["document", Identifiers.resolveDocument],
|
|
@@ -17795,7 +17798,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
17795
17798
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
17796
17799
|
}
|
|
17797
17800
|
|
|
17798
|
-
// bazel-out/
|
|
17801
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
17799
17802
|
function removeEmptyBindings(job) {
|
|
17800
17803
|
for (const unit of job.units) {
|
|
17801
17804
|
for (const op of unit.update) {
|
|
@@ -17816,7 +17819,7 @@ function removeEmptyBindings(job) {
|
|
|
17816
17819
|
}
|
|
17817
17820
|
}
|
|
17818
17821
|
|
|
17819
|
-
// bazel-out/
|
|
17822
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
17820
17823
|
function removeI18nContexts(job) {
|
|
17821
17824
|
for (const unit of job.units) {
|
|
17822
17825
|
for (const op of unit.create) {
|
|
@@ -17832,7 +17835,7 @@ function removeI18nContexts(job) {
|
|
|
17832
17835
|
}
|
|
17833
17836
|
}
|
|
17834
17837
|
|
|
17835
|
-
// bazel-out/
|
|
17838
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
|
|
17836
17839
|
function removeUnusedI18nAttributesOps(job) {
|
|
17837
17840
|
for (const unit of job.units) {
|
|
17838
17841
|
const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
|
|
@@ -17854,7 +17857,7 @@ function removeUnusedI18nAttributesOps(job) {
|
|
|
17854
17857
|
}
|
|
17855
17858
|
}
|
|
17856
17859
|
|
|
17857
|
-
// bazel-out/
|
|
17860
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
17858
17861
|
function resolveContexts(job) {
|
|
17859
17862
|
for (const unit of job.units) {
|
|
17860
17863
|
processLexicalScope(unit, unit.create);
|
|
@@ -17896,7 +17899,7 @@ function processLexicalScope(view, ops) {
|
|
|
17896
17899
|
}
|
|
17897
17900
|
}
|
|
17898
17901
|
|
|
17899
|
-
// bazel-out/
|
|
17902
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
17900
17903
|
function resolveDollarEvent(job) {
|
|
17901
17904
|
for (const unit of job.units) {
|
|
17902
17905
|
transformDollarEvent(unit.create);
|
|
@@ -17919,7 +17922,7 @@ function transformDollarEvent(ops) {
|
|
|
17919
17922
|
}
|
|
17920
17923
|
}
|
|
17921
17924
|
|
|
17922
|
-
// bazel-out/
|
|
17925
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
17923
17926
|
function resolveI18nElementPlaceholders(job) {
|
|
17924
17927
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
17925
17928
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -18098,7 +18101,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
18098
18101
|
params.set(placeholder, values);
|
|
18099
18102
|
}
|
|
18100
18103
|
|
|
18101
|
-
// bazel-out/
|
|
18104
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
18102
18105
|
function resolveI18nExpressionPlaceholders(job) {
|
|
18103
18106
|
var _a2;
|
|
18104
18107
|
const subTemplateIndices = /* @__PURE__ */ new Map();
|
|
@@ -18151,7 +18154,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
|
|
|
18151
18154
|
}
|
|
18152
18155
|
}
|
|
18153
18156
|
|
|
18154
|
-
// bazel-out/
|
|
18157
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
18155
18158
|
function resolveNames(job) {
|
|
18156
18159
|
for (const unit of job.units) {
|
|
18157
18160
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -18160,11 +18163,22 @@ function resolveNames(job) {
|
|
|
18160
18163
|
}
|
|
18161
18164
|
function processLexicalScope2(unit, ops, savedView) {
|
|
18162
18165
|
const scope = /* @__PURE__ */ new Map();
|
|
18166
|
+
const localDefinitions = /* @__PURE__ */ new Map();
|
|
18163
18167
|
for (const op of ops) {
|
|
18164
18168
|
switch (op.kind) {
|
|
18165
18169
|
case OpKind.Variable:
|
|
18166
18170
|
switch (op.variable.kind) {
|
|
18167
18171
|
case SemanticVariableKind.Identifier:
|
|
18172
|
+
if (op.variable.local) {
|
|
18173
|
+
if (localDefinitions.has(op.variable.identifier)) {
|
|
18174
|
+
continue;
|
|
18175
|
+
}
|
|
18176
|
+
localDefinitions.set(op.variable.identifier, op.xref);
|
|
18177
|
+
} else if (scope.has(op.variable.identifier)) {
|
|
18178
|
+
continue;
|
|
18179
|
+
}
|
|
18180
|
+
scope.set(op.variable.identifier, op.xref);
|
|
18181
|
+
break;
|
|
18168
18182
|
case SemanticVariableKind.Alias:
|
|
18169
18183
|
if (scope.has(op.variable.identifier)) {
|
|
18170
18184
|
continue;
|
|
@@ -18191,7 +18205,9 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
18191
18205
|
}
|
|
18192
18206
|
transformExpressionsInOp(op, (expr) => {
|
|
18193
18207
|
if (expr instanceof LexicalReadExpr) {
|
|
18194
|
-
if (
|
|
18208
|
+
if (localDefinitions.has(expr.name)) {
|
|
18209
|
+
return new ReadVariableExpr(localDefinitions.get(expr.name));
|
|
18210
|
+
} else if (scope.has(expr.name)) {
|
|
18195
18211
|
return new ReadVariableExpr(scope.get(expr.name));
|
|
18196
18212
|
} else {
|
|
18197
18213
|
return new ReadPropExpr(new ContextExpr(unit.job.root.xref), expr.name);
|
|
@@ -18216,7 +18232,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
18216
18232
|
}
|
|
18217
18233
|
}
|
|
18218
18234
|
|
|
18219
|
-
// bazel-out/
|
|
18235
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
18220
18236
|
var sanitizerFns = /* @__PURE__ */ new Map([
|
|
18221
18237
|
[SecurityContext.HTML, Identifiers.sanitizeHtml],
|
|
18222
18238
|
[SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
|
|
@@ -18286,7 +18302,7 @@ function getOnlySecurityContext(securityContext) {
|
|
|
18286
18302
|
return securityContext;
|
|
18287
18303
|
}
|
|
18288
18304
|
|
|
18289
|
-
// bazel-out/
|
|
18305
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
|
|
18290
18306
|
function transformTwoWayBindingSet(job) {
|
|
18291
18307
|
for (const unit of job.units) {
|
|
18292
18308
|
for (const op of unit.create) {
|
|
@@ -18309,7 +18325,7 @@ function transformTwoWayBindingSet(job) {
|
|
|
18309
18325
|
}
|
|
18310
18326
|
}
|
|
18311
18327
|
|
|
18312
|
-
// bazel-out/
|
|
18328
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
18313
18329
|
function saveAndRestoreView(job) {
|
|
18314
18330
|
for (const unit of job.units) {
|
|
18315
18331
|
unit.create.prepend([
|
|
@@ -18354,7 +18370,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
18354
18370
|
}
|
|
18355
18371
|
}
|
|
18356
18372
|
|
|
18357
|
-
// bazel-out/
|
|
18373
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
18358
18374
|
function allocateSlots(job) {
|
|
18359
18375
|
const slotMap = /* @__PURE__ */ new Map();
|
|
18360
18376
|
for (const unit of job.units) {
|
|
@@ -18379,7 +18395,7 @@ function allocateSlots(job) {
|
|
|
18379
18395
|
}
|
|
18380
18396
|
}
|
|
18381
18397
|
|
|
18382
|
-
// bazel-out/
|
|
18398
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
18383
18399
|
function specializeStyleBindings(job) {
|
|
18384
18400
|
for (const unit of job.units) {
|
|
18385
18401
|
for (const op of unit.update) {
|
|
@@ -18409,7 +18425,7 @@ function specializeStyleBindings(job) {
|
|
|
18409
18425
|
}
|
|
18410
18426
|
}
|
|
18411
18427
|
|
|
18412
|
-
// bazel-out/
|
|
18428
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
18413
18429
|
function generateTemporaryVariables(job) {
|
|
18414
18430
|
for (const unit of job.units) {
|
|
18415
18431
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -18467,7 +18483,7 @@ function assignName(names, expr) {
|
|
|
18467
18483
|
expr.name = name;
|
|
18468
18484
|
}
|
|
18469
18485
|
|
|
18470
|
-
// bazel-out/
|
|
18486
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
18471
18487
|
function generateTrackFns(job) {
|
|
18472
18488
|
for (const unit of job.units) {
|
|
18473
18489
|
for (const op of unit.create) {
|
|
@@ -18500,7 +18516,7 @@ function generateTrackFns(job) {
|
|
|
18500
18516
|
}
|
|
18501
18517
|
}
|
|
18502
18518
|
|
|
18503
|
-
// bazel-out/
|
|
18519
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
18504
18520
|
function optimizeTrackFns(job) {
|
|
18505
18521
|
for (const unit of job.units) {
|
|
18506
18522
|
for (const op of unit.create) {
|
|
@@ -18550,7 +18566,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
18550
18566
|
return true;
|
|
18551
18567
|
}
|
|
18552
18568
|
|
|
18553
|
-
// bazel-out/
|
|
18569
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
18554
18570
|
function generateTrackVariables(job) {
|
|
18555
18571
|
for (const unit of job.units) {
|
|
18556
18572
|
for (const op of unit.create) {
|
|
@@ -18571,7 +18587,7 @@ function generateTrackVariables(job) {
|
|
|
18571
18587
|
}
|
|
18572
18588
|
}
|
|
18573
18589
|
|
|
18574
|
-
// bazel-out/
|
|
18590
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
18575
18591
|
function countVariables(job) {
|
|
18576
18592
|
for (const unit of job.units) {
|
|
18577
18593
|
let varCount = 0;
|
|
@@ -18684,7 +18700,7 @@ function isSingletonInterpolation(expr) {
|
|
|
18684
18700
|
return true;
|
|
18685
18701
|
}
|
|
18686
18702
|
|
|
18687
|
-
// bazel-out/
|
|
18703
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
18688
18704
|
function optimizeVariables(job) {
|
|
18689
18705
|
for (const unit of job.units) {
|
|
18690
18706
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -18936,7 +18952,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
18936
18952
|
}
|
|
18937
18953
|
}
|
|
18938
18954
|
|
|
18939
|
-
// bazel-out/
|
|
18955
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
18940
18956
|
function wrapI18nIcus(job) {
|
|
18941
18957
|
for (const unit of job.units) {
|
|
18942
18958
|
let currentI18nOp = null;
|
|
@@ -18966,7 +18982,7 @@ function wrapI18nIcus(job) {
|
|
|
18966
18982
|
}
|
|
18967
18983
|
}
|
|
18968
18984
|
|
|
18969
|
-
// bazel-out/
|
|
18985
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/store_let_optimization.mjs
|
|
18970
18986
|
function optimizeStoreLet(job) {
|
|
18971
18987
|
const letUsedExternally = /* @__PURE__ */ new Set();
|
|
18972
18988
|
for (const unit of job.units) {
|
|
@@ -18985,7 +19001,7 @@ function optimizeStoreLet(job) {
|
|
|
18985
19001
|
}
|
|
18986
19002
|
}
|
|
18987
19003
|
|
|
18988
|
-
// bazel-out/
|
|
19004
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_illegal_let_references.mjs
|
|
18989
19005
|
function removeIllegalLetReferences(job) {
|
|
18990
19006
|
for (const unit of job.units) {
|
|
18991
19007
|
for (const op of unit.update) {
|
|
@@ -19002,7 +19018,7 @@ function removeIllegalLetReferences(job) {
|
|
|
19002
19018
|
}
|
|
19003
19019
|
}
|
|
19004
19020
|
|
|
19005
|
-
// bazel-out/
|
|
19021
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_local_let_references.mjs
|
|
19006
19022
|
function generateLocalLetReferences(job) {
|
|
19007
19023
|
for (const unit of job.units) {
|
|
19008
19024
|
for (const op of unit.update) {
|
|
@@ -19012,14 +19028,15 @@ function generateLocalLetReferences(job) {
|
|
|
19012
19028
|
const variable2 = {
|
|
19013
19029
|
kind: SemanticVariableKind.Identifier,
|
|
19014
19030
|
name: null,
|
|
19015
|
-
identifier: op.declaredName
|
|
19031
|
+
identifier: op.declaredName,
|
|
19032
|
+
local: true
|
|
19016
19033
|
};
|
|
19017
19034
|
OpList.replace(op, createVariableOp(job.allocateXrefId(), variable2, new StoreLetExpr(op.target, op.value, op.sourceSpan), VariableFlags.None));
|
|
19018
19035
|
}
|
|
19019
19036
|
}
|
|
19020
19037
|
}
|
|
19021
19038
|
|
|
19022
|
-
// bazel-out/
|
|
19039
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
19023
19040
|
var phases = [
|
|
19024
19041
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
19025
19042
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -19176,7 +19193,7 @@ function emitHostBindingFunction(job) {
|
|
|
19176
19193
|
);
|
|
19177
19194
|
}
|
|
19178
19195
|
|
|
19179
|
-
// bazel-out/
|
|
19196
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
19180
19197
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
19181
19198
|
var domSchema = new DomElementSchemaRegistry();
|
|
19182
19199
|
var NG_TEMPLATE_TAG_NAME = "ng-template";
|
|
@@ -19934,7 +19951,7 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
19934
19951
|
return null;
|
|
19935
19952
|
}
|
|
19936
19953
|
|
|
19937
|
-
// bazel-out/
|
|
19954
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
|
|
19938
19955
|
function renderFlagCheckIfStmt(flags, statements) {
|
|
19939
19956
|
return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
|
|
19940
19957
|
}
|
|
@@ -20054,7 +20071,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
|
|
|
20054
20071
|
], INFERRED_TYPE, null, contentQueriesFnName);
|
|
20055
20072
|
}
|
|
20056
20073
|
|
|
20057
|
-
// bazel-out/
|
|
20074
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
20058
20075
|
var HtmlParser = class extends Parser2 {
|
|
20059
20076
|
constructor() {
|
|
20060
20077
|
super(getHtmlTagDefinition);
|
|
@@ -20064,7 +20081,7 @@ var HtmlParser = class extends Parser2 {
|
|
|
20064
20081
|
}
|
|
20065
20082
|
};
|
|
20066
20083
|
|
|
20067
|
-
// bazel-out/
|
|
20084
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
20068
20085
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
20069
20086
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
20070
20087
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -20133,7 +20150,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
20133
20150
|
return result;
|
|
20134
20151
|
}
|
|
20135
20152
|
|
|
20136
|
-
// bazel-out/
|
|
20153
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
20137
20154
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
20138
20155
|
var ATTRIBUTE_PREFIX = "attr";
|
|
20139
20156
|
var CLASS_PREFIX = "class";
|
|
@@ -20487,7 +20504,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
20487
20504
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
20488
20505
|
}
|
|
20489
20506
|
|
|
20490
|
-
// bazel-out/
|
|
20507
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
20491
20508
|
function isStyleUrlResolvable(url) {
|
|
20492
20509
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
20493
20510
|
return false;
|
|
@@ -20496,7 +20513,7 @@ function isStyleUrlResolvable(url) {
|
|
|
20496
20513
|
}
|
|
20497
20514
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
20498
20515
|
|
|
20499
|
-
// bazel-out/
|
|
20516
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
20500
20517
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
20501
20518
|
var LINK_ELEMENT = "link";
|
|
20502
20519
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -20566,7 +20583,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
20566
20583
|
return selectAttr;
|
|
20567
20584
|
}
|
|
20568
20585
|
|
|
20569
|
-
// bazel-out/
|
|
20586
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
20570
20587
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
20571
20588
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
20572
20589
|
var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
|
|
@@ -20889,7 +20906,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
20889
20906
|
return expression.slice(start, end);
|
|
20890
20907
|
}
|
|
20891
20908
|
|
|
20892
|
-
// bazel-out/
|
|
20909
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
20893
20910
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
20894
20911
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
20895
20912
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -21153,7 +21170,7 @@ function parseDeferredTime(value) {
|
|
|
21153
21170
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
21154
21171
|
}
|
|
21155
21172
|
|
|
21156
|
-
// bazel-out/
|
|
21173
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
21157
21174
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
21158
21175
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
21159
21176
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -21288,7 +21305,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
21288
21305
|
return { triggers, prefetchTriggers };
|
|
21289
21306
|
}
|
|
21290
21307
|
|
|
21291
|
-
// bazel-out/
|
|
21308
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
21292
21309
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
21293
21310
|
var KW_BIND_IDX = 1;
|
|
21294
21311
|
var KW_LET_IDX = 2;
|
|
@@ -21755,7 +21772,7 @@ function textContents(node) {
|
|
|
21755
21772
|
}
|
|
21756
21773
|
}
|
|
21757
21774
|
|
|
21758
|
-
// bazel-out/
|
|
21775
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
21759
21776
|
var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
|
|
21760
21777
|
function parseTemplate(template2, templateUrl, options = {}) {
|
|
21761
21778
|
var _a2, _b2;
|
|
@@ -21834,7 +21851,7 @@ function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, a
|
|
|
21834
21851
|
return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, [], allowInvalidAssignmentEvents);
|
|
21835
21852
|
}
|
|
21836
21853
|
|
|
21837
|
-
// bazel-out/
|
|
21854
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
21838
21855
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
21839
21856
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
21840
21857
|
var CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
|
|
@@ -22201,7 +22218,7 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
22201
22218
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
22202
22219
|
}
|
|
22203
22220
|
|
|
22204
|
-
// bazel-out/
|
|
22221
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
22205
22222
|
var R3TargetBinder = class {
|
|
22206
22223
|
constructor(directiveMatcher) {
|
|
22207
22224
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -22848,11 +22865,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
22848
22865
|
return templateEntities;
|
|
22849
22866
|
}
|
|
22850
22867
|
|
|
22851
|
-
// bazel-out/
|
|
22868
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
22852
22869
|
var ResourceLoader = class {
|
|
22853
22870
|
};
|
|
22854
22871
|
|
|
22855
|
-
// bazel-out/
|
|
22872
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
22856
22873
|
var CompilerFacadeImpl = class {
|
|
22857
22874
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
22858
22875
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -23421,17 +23438,17 @@ function publishFacade(global) {
|
|
|
23421
23438
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
23422
23439
|
}
|
|
23423
23440
|
|
|
23424
|
-
// bazel-out/
|
|
23425
|
-
var VERSION2 = new Version("18.1.0-
|
|
23441
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
|
|
23442
|
+
var VERSION2 = new Version("18.1.0-rc.0");
|
|
23426
23443
|
|
|
23427
|
-
// bazel-out/
|
|
23444
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
23428
23445
|
var _VisitorMode;
|
|
23429
23446
|
(function(_VisitorMode2) {
|
|
23430
23447
|
_VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
|
|
23431
23448
|
_VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
|
|
23432
23449
|
})(_VisitorMode || (_VisitorMode = {}));
|
|
23433
23450
|
|
|
23434
|
-
// bazel-out/
|
|
23451
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
23435
23452
|
var XmlTagDefinition = class {
|
|
23436
23453
|
constructor() {
|
|
23437
23454
|
this.closedByParent = false;
|
|
@@ -23453,7 +23470,7 @@ var XmlTagDefinition = class {
|
|
|
23453
23470
|
};
|
|
23454
23471
|
var _TAG_DEFINITION = new XmlTagDefinition();
|
|
23455
23472
|
|
|
23456
|
-
// bazel-out/
|
|
23473
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
23457
23474
|
var FactoryTarget2;
|
|
23458
23475
|
(function(FactoryTarget3) {
|
|
23459
23476
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -23463,10 +23480,10 @@ var FactoryTarget2;
|
|
|
23463
23480
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
23464
23481
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
23465
23482
|
|
|
23466
|
-
// bazel-out/
|
|
23483
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
23467
23484
|
publishFacade(_global);
|
|
23468
23485
|
|
|
23469
|
-
// bazel-out/
|
|
23486
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/invalid-two-way-bindings/migration.mjs
|
|
23470
23487
|
var import_typescript4 = __toESM(require("typescript"), 1);
|
|
23471
23488
|
function migrateTemplate(template2) {
|
|
23472
23489
|
if (!template2.includes(")]=")) {
|
|
@@ -23591,7 +23608,7 @@ var InvalidTwoWayBindingCollector = class extends RecursiveVisitor {
|
|
|
23591
23608
|
}
|
|
23592
23609
|
};
|
|
23593
23610
|
|
|
23594
|
-
// bazel-out/
|
|
23611
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/invalid-two-way-bindings/index.mjs
|
|
23595
23612
|
function invalid_two_way_bindings_default() {
|
|
23596
23613
|
return (tree) => __async(this, null, function* () {
|
|
23597
23614
|
const { buildPaths, testPaths } = yield getProjectTsConfigPaths(tree);
|