@angular/core 18.2.6 → 18.2.8
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/LICENSE +21 -0
- package/esm2022/src/core_private_export.mjs +2 -3
- package/esm2022/src/core_reactivity_export_internal.mjs +2 -1
- package/esm2022/src/event_delegation_utils.mjs +2 -57
- package/esm2022/src/hydration/event_replay.mjs +3 -7
- package/esm2022/src/hydration/tokens.mjs +1 -5
- package/esm2022/src/image_performance_warning.mjs +25 -7
- package/esm2022/src/linker/view_ref.mjs +1 -1
- package/esm2022/src/platform/bootstrap.mjs +8 -4
- package/esm2022/src/platform/platform_ref.mjs +6 -2
- package/esm2022/src/render3/after_render/hooks.mjs +3 -2
- package/esm2022/src/render3/after_render/manager.mjs +6 -3
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/render3/view_ref.mjs +1 -1
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/application_error_handler.mjs +3 -3
- package/esm2022/testing/src/component_fixture.mjs +1 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +50 -111
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +4 -4
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +38 -63
- package/package.json +1 -1
- package/primitives/event-dispatch/index.d.ts +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/after-render-phase/bundle.js +330 -288
- package/schematics/migrations/http-providers/bundle.js +333 -291
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +224 -182
- package/schematics/ng-generate/control-flow-migration/bundle.js +333 -291
- package/schematics/ng-generate/inject-migration/bundle.js +344 -295
- package/schematics/ng-generate/route-lazy-loading/bundle.js +332 -290
- package/schematics/ng-generate/standalone-migration/bundle.js +523 -476
- package/testing/index.d.ts +3 -1
- package/esm2022/src/event_dispatch/event_delegation.mjs +0 -43
|
@@ -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/after-render-phase/index.mjs
|
|
67
67
|
var after_render_phase_exports = {};
|
|
68
68
|
__export(after_render_phase_exports, {
|
|
69
69
|
default: () => after_render_phase_default
|
|
@@ -72,7 +72,7 @@ module.exports = __toCommonJS(after_render_phase_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,13 +206,13 @@ 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/after-render-phase/migration.mjs
|
|
210
210
|
var import_typescript95 = __toESM(require("typescript"), 1);
|
|
211
211
|
|
|
212
|
-
// bazel-out/
|
|
212
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
213
213
|
var import_typescript93 = __toESM(require("typescript"), 1);
|
|
214
214
|
|
|
215
|
-
// bazel-out/
|
|
215
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/selector.mjs
|
|
216
216
|
var _SELECTOR_REGEXP = new RegExp(
|
|
217
217
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
218
218
|
"g"
|
|
@@ -520,7 +520,7 @@ var SelectorContext = class {
|
|
|
520
520
|
}
|
|
521
521
|
};
|
|
522
522
|
|
|
523
|
-
// bazel-out/
|
|
523
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/core.mjs
|
|
524
524
|
var ViewEncapsulation;
|
|
525
525
|
(function(ViewEncapsulation2) {
|
|
526
526
|
ViewEncapsulation2[ViewEncapsulation2["Emulated"] = 0] = "Emulated";
|
|
@@ -588,7 +588,7 @@ function parseSelectorToR3Selector(selector) {
|
|
|
588
588
|
return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
// bazel-out/
|
|
591
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
|
|
592
592
|
var textEncoder;
|
|
593
593
|
function computeDigest(message) {
|
|
594
594
|
return sha1(serializeNodes(message.nodes).join("") + `[${message.meaning}]`);
|
|
@@ -835,7 +835,7 @@ function wordAt(bytes, index, endian) {
|
|
|
835
835
|
return word;
|
|
836
836
|
}
|
|
837
837
|
|
|
838
|
-
// bazel-out/
|
|
838
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
|
|
839
839
|
var TypeModifier;
|
|
840
840
|
(function(TypeModifier2) {
|
|
841
841
|
TypeModifier2[TypeModifier2["None"] = 0] = "None";
|
|
@@ -1782,7 +1782,7 @@ function serializeTags(tags) {
|
|
|
1782
1782
|
return out;
|
|
1783
1783
|
}
|
|
1784
1784
|
|
|
1785
|
-
// bazel-out/
|
|
1785
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
|
|
1786
1786
|
var CONSTANT_PREFIX = "_c";
|
|
1787
1787
|
var UNKNOWN_VALUE_KEY = variable("<unknown>");
|
|
1788
1788
|
var KEY_CONTEXT = {};
|
|
@@ -1970,7 +1970,7 @@ function isLongStringLiteral(expr) {
|
|
|
1970
1970
|
return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
|
|
1971
1971
|
}
|
|
1972
1972
|
|
|
1973
|
-
// bazel-out/
|
|
1973
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
|
|
1974
1974
|
var CORE = "@angular/core";
|
|
1975
1975
|
var _Identifiers = class {
|
|
1976
1976
|
};
|
|
@@ -2867,7 +2867,7 @@ var Identifiers = _Identifiers;
|
|
|
2867
2867
|
_Identifiers.unwrapWritableSignal = { name: "\u0275unwrapWritableSignal", moduleName: CORE };
|
|
2868
2868
|
})();
|
|
2869
2869
|
|
|
2870
|
-
// bazel-out/
|
|
2870
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
|
|
2871
2871
|
var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
|
|
2872
2872
|
function dashCaseToCamelCase(input) {
|
|
2873
2873
|
return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
|
|
@@ -2944,7 +2944,7 @@ var Version = class {
|
|
|
2944
2944
|
};
|
|
2945
2945
|
var _global = globalThis;
|
|
2946
2946
|
|
|
2947
|
-
// bazel-out/
|
|
2947
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
|
|
2948
2948
|
var VERSION = 3;
|
|
2949
2949
|
var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
|
|
2950
2950
|
var SourceMapGenerator = class {
|
|
@@ -3073,7 +3073,7 @@ function toBase64Digit(value) {
|
|
|
3073
3073
|
return B64_DIGITS[value];
|
|
3074
3074
|
}
|
|
3075
3075
|
|
|
3076
|
-
// bazel-out/
|
|
3076
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
|
|
3077
3077
|
var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
|
|
3078
3078
|
var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
|
|
3079
3079
|
var _INDENT_WITH = " ";
|
|
@@ -3561,7 +3561,7 @@ function _createIndent(count) {
|
|
|
3561
3561
|
return res;
|
|
3562
3562
|
}
|
|
3563
3563
|
|
|
3564
|
-
// bazel-out/
|
|
3564
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
|
|
3565
3565
|
function typeWithParameters(type, numParams) {
|
|
3566
3566
|
if (numParams === 0) {
|
|
3567
3567
|
return expressionType(type);
|
|
@@ -3616,7 +3616,7 @@ function generateForwardRef(expr) {
|
|
|
3616
3616
|
return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
|
|
3617
3617
|
}
|
|
3618
3618
|
|
|
3619
|
-
// bazel-out/
|
|
3619
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
|
|
3620
3620
|
var R3FactoryDelegateType;
|
|
3621
3621
|
(function(R3FactoryDelegateType2) {
|
|
3622
3622
|
R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
|
|
@@ -3761,7 +3761,7 @@ function getInjectFn(target) {
|
|
|
3761
3761
|
}
|
|
3762
3762
|
}
|
|
3763
3763
|
|
|
3764
|
-
// bazel-out/
|
|
3764
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
|
|
3765
3765
|
var ParserError = class {
|
|
3766
3766
|
constructor(message, input, errLocation, ctxLocation) {
|
|
3767
3767
|
this.input = input;
|
|
@@ -4199,7 +4199,7 @@ var BoundElementProperty = class {
|
|
|
4199
4199
|
}
|
|
4200
4200
|
};
|
|
4201
4201
|
|
|
4202
|
-
// bazel-out/
|
|
4202
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
|
|
4203
4203
|
var TagContentType;
|
|
4204
4204
|
(function(TagContentType2) {
|
|
4205
4205
|
TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
|
|
@@ -4236,7 +4236,7 @@ function mergeNsAndName(prefix, localName) {
|
|
|
4236
4236
|
return prefix ? `:${prefix}:${localName}` : localName;
|
|
4237
4237
|
}
|
|
4238
4238
|
|
|
4239
|
-
// bazel-out/
|
|
4239
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
|
|
4240
4240
|
var Comment = class {
|
|
4241
4241
|
constructor(value, sourceSpan) {
|
|
4242
4242
|
this.value = value;
|
|
@@ -4630,7 +4630,7 @@ function visitAll(visitor, nodes) {
|
|
|
4630
4630
|
return result;
|
|
4631
4631
|
}
|
|
4632
4632
|
|
|
4633
|
-
// bazel-out/
|
|
4633
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
|
|
4634
4634
|
var Message = class {
|
|
4635
4635
|
constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
|
|
4636
4636
|
this.nodes = nodes;
|
|
@@ -4770,7 +4770,7 @@ var LocalizeMessageStringVisitor = class {
|
|
|
4770
4770
|
}
|
|
4771
4771
|
};
|
|
4772
4772
|
|
|
4773
|
-
// bazel-out/
|
|
4773
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
|
|
4774
4774
|
var _Visitor = class {
|
|
4775
4775
|
visitTag(tag) {
|
|
4776
4776
|
const strAttrs = this._serializeAttributes(tag.attrs);
|
|
@@ -4798,12 +4798,12 @@ ${doctype.dtd}
|
|
|
4798
4798
|
};
|
|
4799
4799
|
var _visitor = new _Visitor();
|
|
4800
4800
|
|
|
4801
|
-
// bazel-out/
|
|
4801
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
|
|
4802
4802
|
function toPublicName(internalName) {
|
|
4803
4803
|
return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
|
|
4804
4804
|
}
|
|
4805
4805
|
|
|
4806
|
-
// bazel-out/
|
|
4806
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
|
|
4807
4807
|
var I18N_ATTR = "i18n";
|
|
4808
4808
|
var I18N_ATTR_PREFIX = "i18n-";
|
|
4809
4809
|
var I18N_ICU_VAR_PREFIX = "VAR_";
|
|
@@ -4843,7 +4843,7 @@ function formatI18nPlaceholderName(name, useCamelCase = true) {
|
|
|
4843
4843
|
return postfix ? `${raw}_${postfix}` : raw;
|
|
4844
4844
|
}
|
|
4845
4845
|
|
|
4846
|
-
// bazel-out/
|
|
4846
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
|
|
4847
4847
|
var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
|
|
4848
4848
|
var TEMPORARY_NAME = "_t";
|
|
4849
4849
|
var CONTEXT_NAME = "ctx";
|
|
@@ -4970,7 +4970,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
|
|
|
4970
4970
|
return attributesMap;
|
|
4971
4971
|
}
|
|
4972
4972
|
|
|
4973
|
-
// bazel-out/
|
|
4973
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
|
|
4974
4974
|
function compileInjectable(meta, resolveForwardRefs) {
|
|
4975
4975
|
let result = null;
|
|
4976
4976
|
const factoryMeta = {
|
|
@@ -5058,7 +5058,7 @@ function createFactoryFunction(type) {
|
|
|
5058
5058
|
return arrowFn([t], type.prop("\u0275fac").callFn([variable(t.name)]));
|
|
5059
5059
|
}
|
|
5060
5060
|
|
|
5061
|
-
// bazel-out/
|
|
5061
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
|
|
5062
5062
|
var UNUSABLE_INTERPOLATION_REGEXPS = [
|
|
5063
5063
|
/@/,
|
|
5064
5064
|
/^\s*$/,
|
|
@@ -5081,7 +5081,7 @@ function assertInterpolationSymbols(identifier, value) {
|
|
|
5081
5081
|
}
|
|
5082
5082
|
}
|
|
5083
5083
|
|
|
5084
|
-
// bazel-out/
|
|
5084
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
|
|
5085
5085
|
var InterpolationConfig = class {
|
|
5086
5086
|
static fromArray(markers) {
|
|
5087
5087
|
if (!markers) {
|
|
@@ -5098,7 +5098,7 @@ var InterpolationConfig = class {
|
|
|
5098
5098
|
var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
|
|
5099
5099
|
var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
|
|
5100
5100
|
|
|
5101
|
-
// bazel-out/
|
|
5101
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
|
|
5102
5102
|
var $EOF = 0;
|
|
5103
5103
|
var $BSPACE = 8;
|
|
5104
5104
|
var $TAB = 9;
|
|
@@ -5180,7 +5180,7 @@ function isQuote(code) {
|
|
|
5180
5180
|
return code === $SQ || code === $DQ || code === $BT;
|
|
5181
5181
|
}
|
|
5182
5182
|
|
|
5183
|
-
// bazel-out/
|
|
5183
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
|
|
5184
5184
|
var ParseLocation = class {
|
|
5185
5185
|
constructor(file, offset, line, col) {
|
|
5186
5186
|
this.file = file;
|
|
@@ -5327,7 +5327,7 @@ function sanitizeIdentifier(name) {
|
|
|
5327
5327
|
return name.replace(/\W/g, "_");
|
|
5328
5328
|
}
|
|
5329
5329
|
|
|
5330
|
-
// bazel-out/
|
|
5330
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
|
|
5331
5331
|
var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
|
|
5332
5332
|
var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
5333
5333
|
constructor() {
|
|
@@ -5420,7 +5420,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
|
|
|
5420
5420
|
}
|
|
5421
5421
|
};
|
|
5422
5422
|
|
|
5423
|
-
// bazel-out/
|
|
5423
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
|
|
5424
5424
|
var policy;
|
|
5425
5425
|
function getPolicy() {
|
|
5426
5426
|
if (policy === void 0) {
|
|
@@ -5458,7 +5458,7 @@ function newTrustedFunctionForJIT(...args) {
|
|
|
5458
5458
|
return fn2.bind(_global);
|
|
5459
5459
|
}
|
|
5460
5460
|
|
|
5461
|
-
// bazel-out/
|
|
5461
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
|
|
5462
5462
|
var JitEvaluator = class {
|
|
5463
5463
|
evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
|
|
5464
5464
|
const converter = new JitEmitterVisitor(refResolver);
|
|
@@ -5546,7 +5546,7 @@ function isUseStrictStatement(statement) {
|
|
|
5546
5546
|
return statement.isEquivalent(literal("use strict").toStmt());
|
|
5547
5547
|
}
|
|
5548
5548
|
|
|
5549
|
-
// bazel-out/
|
|
5549
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
|
|
5550
5550
|
function compileInjector(meta) {
|
|
5551
5551
|
const definitionMap = new DefinitionMap();
|
|
5552
5552
|
if (meta.providers !== null) {
|
|
@@ -5563,7 +5563,7 @@ function createInjectorType(meta) {
|
|
|
5563
5563
|
return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
|
|
5564
5564
|
}
|
|
5565
5565
|
|
|
5566
|
-
// bazel-out/
|
|
5566
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
|
|
5567
5567
|
var R3JitReflector = class {
|
|
5568
5568
|
constructor(context) {
|
|
5569
5569
|
this.context = context;
|
|
@@ -5579,7 +5579,7 @@ var R3JitReflector = class {
|
|
|
5579
5579
|
}
|
|
5580
5580
|
};
|
|
5581
5581
|
|
|
5582
|
-
// bazel-out/
|
|
5582
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
|
|
5583
5583
|
var R3SelectorScopeMode;
|
|
5584
5584
|
(function(R3SelectorScopeMode2) {
|
|
5585
5585
|
R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
|
|
@@ -5714,7 +5714,7 @@ function tupleOfTypes(types) {
|
|
|
5714
5714
|
return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
|
|
5715
5715
|
}
|
|
5716
5716
|
|
|
5717
|
-
// bazel-out/
|
|
5717
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
|
|
5718
5718
|
function compilePipeFromMetadata(metadata) {
|
|
5719
5719
|
const definitionMapValues = [];
|
|
5720
5720
|
definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
|
|
@@ -5735,7 +5735,7 @@ function createPipeType(metadata) {
|
|
|
5735
5735
|
]));
|
|
5736
5736
|
}
|
|
5737
5737
|
|
|
5738
|
-
// bazel-out/
|
|
5738
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
|
|
5739
5739
|
var R3TemplateDependencyKind;
|
|
5740
5740
|
(function(R3TemplateDependencyKind2) {
|
|
5741
5741
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
|
|
@@ -5743,7 +5743,7 @@ var R3TemplateDependencyKind;
|
|
|
5743
5743
|
R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
|
|
5744
5744
|
})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
|
|
5745
5745
|
|
|
5746
|
-
// bazel-out/
|
|
5746
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
|
|
5747
5747
|
var animationKeywords = /* @__PURE__ */ new Set([
|
|
5748
5748
|
"inherit",
|
|
5749
5749
|
"initial",
|
|
@@ -5889,7 +5889,7 @@ var ShadowCss = class {
|
|
|
5889
5889
|
});
|
|
5890
5890
|
}
|
|
5891
5891
|
_convertColonHostContext(cssText) {
|
|
5892
|
-
return cssText.replace(_cssColonHostContextReGlobal, (selectorText) => {
|
|
5892
|
+
return cssText.replace(_cssColonHostContextReGlobal, (selectorText, pseudoPrefix) => {
|
|
5893
5893
|
var _a2;
|
|
5894
5894
|
const contextSelectorGroups = [[]];
|
|
5895
5895
|
let match;
|
|
@@ -5904,7 +5904,7 @@ var ShadowCss = class {
|
|
|
5904
5904
|
}
|
|
5905
5905
|
selectorText = match[2];
|
|
5906
5906
|
}
|
|
5907
|
-
return contextSelectorGroups.map((contextSelectors) =>
|
|
5907
|
+
return contextSelectorGroups.map((contextSelectors) => _combineHostContextSelectors(contextSelectors, selectorText, pseudoPrefix)).join(", ");
|
|
5908
5908
|
});
|
|
5909
5909
|
}
|
|
5910
5910
|
_convertShadowDOMSelectors(cssText) {
|
|
@@ -5915,7 +5915,12 @@ var ShadowCss = class {
|
|
|
5915
5915
|
let selector = rule.selector;
|
|
5916
5916
|
let content = rule.content;
|
|
5917
5917
|
if (rule.selector[0] !== "@") {
|
|
5918
|
-
selector = this._scopeSelector(
|
|
5918
|
+
selector = this._scopeSelector({
|
|
5919
|
+
selector,
|
|
5920
|
+
scopeSelector,
|
|
5921
|
+
hostSelector,
|
|
5922
|
+
isParentSelector: true
|
|
5923
|
+
});
|
|
5919
5924
|
} else if (scopedAtRuleIdentifiers.some((atRule) => rule.selector.startsWith(atRule))) {
|
|
5920
5925
|
content = this._scopeSelectors(rule.content, scopeSelector, hostSelector);
|
|
5921
5926
|
} else if (rule.selector.startsWith("@font-face") || rule.selector.startsWith("@page")) {
|
|
@@ -5930,12 +5935,18 @@ var ShadowCss = class {
|
|
|
5930
5935
|
return new CssRule(selector, rule.content);
|
|
5931
5936
|
});
|
|
5932
5937
|
}
|
|
5933
|
-
_scopeSelector(selector, scopeSelector, hostSelector) {
|
|
5934
|
-
|
|
5938
|
+
_scopeSelector({ selector, scopeSelector, hostSelector, isParentSelector = false }) {
|
|
5939
|
+
const selectorSplitRe = / ?,(?!(?:[^)(]*(?:\([^)(]*(?:\([^)(]*(?:\([^)(]*\)[^)(]*)*\)[^)(]*)*\)[^)(]*)*\))) ?/;
|
|
5940
|
+
return selector.split(selectorSplitRe).map((part) => part.split(_shadowDeepSelectors)).map((deepParts) => {
|
|
5935
5941
|
const [shallowPart, ...otherParts] = deepParts;
|
|
5936
5942
|
const applyScope = (shallowPart2) => {
|
|
5937
5943
|
if (this._selectorNeedsScoping(shallowPart2, scopeSelector)) {
|
|
5938
|
-
return this._applySelectorScope(
|
|
5944
|
+
return this._applySelectorScope({
|
|
5945
|
+
selector: shallowPart2,
|
|
5946
|
+
scopeSelector,
|
|
5947
|
+
hostSelector,
|
|
5948
|
+
isParentSelector
|
|
5949
|
+
});
|
|
5939
5950
|
} else {
|
|
5940
5951
|
return shallowPart2;
|
|
5941
5952
|
}
|
|
@@ -5957,15 +5968,15 @@ var ShadowCss = class {
|
|
|
5957
5968
|
_polyfillHostRe.lastIndex = 0;
|
|
5958
5969
|
if (_polyfillHostRe.test(selector)) {
|
|
5959
5970
|
const replaceBy = `[${hostSelector}]`;
|
|
5960
|
-
return selector.replace(
|
|
5961
|
-
return selector2.replace(/([
|
|
5971
|
+
return selector.replace(_polyfillHostNoCombinatorReGlobal, (_hnc, selector2) => {
|
|
5972
|
+
return selector2.replace(/([^:\)]*)(:*)(.*)/, (_, before, colon, after) => {
|
|
5962
5973
|
return before + replaceBy + colon + after;
|
|
5963
5974
|
});
|
|
5964
5975
|
}).replace(_polyfillHostRe, replaceBy + " ");
|
|
5965
5976
|
}
|
|
5966
5977
|
return scopeSelector + " " + selector;
|
|
5967
5978
|
}
|
|
5968
|
-
_applySelectorScope(selector, scopeSelector, hostSelector) {
|
|
5979
|
+
_applySelectorScope({ selector, scopeSelector, hostSelector, isParentSelector }) {
|
|
5969
5980
|
var _a2;
|
|
5970
5981
|
const isRe = /\[is=([^\]]*)\]/g;
|
|
5971
5982
|
scopeSelector = scopeSelector.replace(isRe, (_, ...parts) => parts[0]);
|
|
@@ -5977,6 +5988,10 @@ var ShadowCss = class {
|
|
|
5977
5988
|
}
|
|
5978
5989
|
if (p.includes(_polyfillHostNoCombinator)) {
|
|
5979
5990
|
scopedP = this._applySimpleSelectorScope(p, scopeSelector, hostSelector);
|
|
5991
|
+
if (_polyfillHostNoCombinatorWithinPseudoFunction.test(p)) {
|
|
5992
|
+
const [_, before, colon, after] = scopedP.match(/([^:]*)(:*)(.*)/);
|
|
5993
|
+
scopedP = before + attrName + colon + after;
|
|
5994
|
+
}
|
|
5980
5995
|
} else {
|
|
5981
5996
|
const t = p.replace(_polyfillHostRe, "");
|
|
5982
5997
|
if (t.length > 0) {
|
|
@@ -5988,29 +6003,52 @@ var ShadowCss = class {
|
|
|
5988
6003
|
}
|
|
5989
6004
|
return scopedP;
|
|
5990
6005
|
};
|
|
5991
|
-
const
|
|
5992
|
-
|
|
6006
|
+
const _pseudoFunctionAwareScopeSelectorPart = (selectorPart) => {
|
|
6007
|
+
let scopedPart = "";
|
|
6008
|
+
const cssPrefixWithPseudoSelectorFunctionMatch = selectorPart.match(_cssPrefixWithPseudoSelectorFunction);
|
|
6009
|
+
if (cssPrefixWithPseudoSelectorFunctionMatch) {
|
|
6010
|
+
const [cssPseudoSelectorFunction] = cssPrefixWithPseudoSelectorFunctionMatch;
|
|
6011
|
+
const selectorToScope = selectorPart.slice(cssPseudoSelectorFunction.length, -1);
|
|
6012
|
+
if (selectorToScope.includes(_polyfillHostNoCombinator)) {
|
|
6013
|
+
this._shouldScopeIndicator = true;
|
|
6014
|
+
}
|
|
6015
|
+
const scopedInnerPart = this._scopeSelector({
|
|
6016
|
+
selector: selectorToScope,
|
|
6017
|
+
scopeSelector,
|
|
6018
|
+
hostSelector
|
|
6019
|
+
});
|
|
6020
|
+
scopedPart = `${cssPseudoSelectorFunction}${scopedInnerPart})`;
|
|
6021
|
+
} else {
|
|
6022
|
+
this._shouldScopeIndicator = this._shouldScopeIndicator || selectorPart.includes(_polyfillHostNoCombinator);
|
|
6023
|
+
scopedPart = this._shouldScopeIndicator ? _scopeSelectorPart(selectorPart) : selectorPart;
|
|
6024
|
+
}
|
|
6025
|
+
return scopedPart;
|
|
6026
|
+
};
|
|
6027
|
+
if (isParentSelector) {
|
|
6028
|
+
this._safeSelector = new SafeSelector(selector);
|
|
6029
|
+
selector = this._safeSelector.content();
|
|
6030
|
+
}
|
|
5993
6031
|
let scopedSelector = "";
|
|
5994
6032
|
let startIndex = 0;
|
|
5995
6033
|
let res;
|
|
5996
|
-
const sep = /( |>|\+|~(?!=))\s*/g;
|
|
6034
|
+
const sep = /( |>|\+|~(?!=))(?!([^)(]*(?:\([^)(]*(?:\([^)(]*(?:\([^)(]*\)[^)(]*)*\)[^)(]*)*\)[^)(]*)*\)))\s*/g;
|
|
5997
6035
|
const hasHost = selector.includes(_polyfillHostNoCombinator);
|
|
5998
|
-
|
|
6036
|
+
if (isParentSelector || this._shouldScopeIndicator) {
|
|
6037
|
+
this._shouldScopeIndicator = !hasHost;
|
|
6038
|
+
}
|
|
5999
6039
|
while ((res = sep.exec(selector)) !== null) {
|
|
6000
6040
|
const separator = res[1];
|
|
6001
6041
|
const part2 = selector.slice(startIndex, res.index);
|
|
6002
6042
|
if (part2.match(/__esc-ph-(\d+)__/) && ((_a2 = selector[res.index + 1]) == null ? void 0 : _a2.match(/[a-fA-F\d]/))) {
|
|
6003
6043
|
continue;
|
|
6004
6044
|
}
|
|
6005
|
-
|
|
6006
|
-
const scopedPart = shouldScope ? _scopeSelectorPart(part2) : part2;
|
|
6045
|
+
const scopedPart = _pseudoFunctionAwareScopeSelectorPart(part2);
|
|
6007
6046
|
scopedSelector += `${scopedPart} ${separator} `;
|
|
6008
6047
|
startIndex = sep.lastIndex;
|
|
6009
6048
|
}
|
|
6010
6049
|
const part = selector.substring(startIndex);
|
|
6011
|
-
|
|
6012
|
-
|
|
6013
|
-
return safeContent.restore(scopedSelector);
|
|
6050
|
+
scopedSelector += _pseudoFunctionAwareScopeSelectorPart(part);
|
|
6051
|
+
return this._safeSelector.restore(scopedSelector);
|
|
6014
6052
|
}
|
|
6015
6053
|
_insertPolyfillHostInCssText(selector) {
|
|
6016
6054
|
return selector.replace(_colonHostContextRe, _polyfillHostContext).replace(_colonHostRe, _polyfillHost);
|
|
@@ -6049,6 +6087,8 @@ var SafeSelector = class {
|
|
|
6049
6087
|
});
|
|
6050
6088
|
}
|
|
6051
6089
|
};
|
|
6090
|
+
var _cssScopedPseudoFunctionPrefix = "(:(where|is)\\()?";
|
|
6091
|
+
var _cssPrefixWithPseudoSelectorFunction = /^:(where|is)\(/i;
|
|
6052
6092
|
var _cssContentNextSelectorRe = /polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim;
|
|
6053
6093
|
var _cssContentRuleRe = /(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim;
|
|
6054
6094
|
var _cssContentUnscopedRuleRe = /(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim;
|
|
@@ -6056,10 +6096,12 @@ var _polyfillHost = "-shadowcsshost";
|
|
|
6056
6096
|
var _polyfillHostContext = "-shadowcsscontext";
|
|
6057
6097
|
var _parenSuffix = "(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";
|
|
6058
6098
|
var _cssColonHostRe = new RegExp(_polyfillHost + _parenSuffix, "gim");
|
|
6059
|
-
var _cssColonHostContextReGlobal = new RegExp(_polyfillHostContext + _parenSuffix, "gim");
|
|
6099
|
+
var _cssColonHostContextReGlobal = new RegExp(_cssScopedPseudoFunctionPrefix + "(" + _polyfillHostContext + _parenSuffix + ")", "gim");
|
|
6060
6100
|
var _cssColonHostContextRe = new RegExp(_polyfillHostContext + _parenSuffix, "im");
|
|
6061
6101
|
var _polyfillHostNoCombinator = _polyfillHost + "-no-combinator";
|
|
6102
|
+
var _polyfillHostNoCombinatorWithinPseudoFunction = new RegExp(`:.*\\(.*${_polyfillHostNoCombinator}.*\\)`);
|
|
6062
6103
|
var _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
|
|
6104
|
+
var _polyfillHostNoCombinatorReGlobal = new RegExp(_polyfillHostNoCombinatorRe, "g");
|
|
6063
6105
|
var _shadowDOMSelectorsRe = [
|
|
6064
6106
|
/::shadow/g,
|
|
6065
6107
|
/::content/g,
|
|
@@ -6194,7 +6236,7 @@ function unescapeInStrings(input) {
|
|
|
6194
6236
|
function unescapeQuotes(str, isQuoted) {
|
|
6195
6237
|
return !isQuoted ? str : str.replace(/((?:^|[^\\])(?:\\\\)*)\\(?=['"])/g, "$1");
|
|
6196
6238
|
}
|
|
6197
|
-
function
|
|
6239
|
+
function _combineHostContextSelectors(contextSelectors, otherSelectors, pseudoPrefix = "") {
|
|
6198
6240
|
const hostMarker = _polyfillHostNoCombinator;
|
|
6199
6241
|
_polyfillHostRe.lastIndex = 0;
|
|
6200
6242
|
const otherSelectorsHasHost = _polyfillHostRe.test(otherSelectors);
|
|
@@ -6212,7 +6254,7 @@ function combineHostContextSelectors(contextSelectors, otherSelectors) {
|
|
|
6212
6254
|
combined[i] = contextSelector + previousSelectors;
|
|
6213
6255
|
}
|
|
6214
6256
|
}
|
|
6215
|
-
return combined.map((s) => otherSelectorsHasHost ? `${s}${otherSelectors}` : `${s}${hostMarker}${otherSelectors}, ${s} ${hostMarker}${otherSelectors}`).join(",");
|
|
6257
|
+
return combined.map((s) => otherSelectorsHasHost ? `${pseudoPrefix}${s}${otherSelectors}` : `${pseudoPrefix}${s}${hostMarker}${otherSelectors}, ${pseudoPrefix}${s} ${hostMarker}${otherSelectors}`).join(",");
|
|
6216
6258
|
}
|
|
6217
6259
|
function repeatGroups(groups, multiples) {
|
|
6218
6260
|
const length = groups.length;
|
|
@@ -6223,7 +6265,7 @@ function repeatGroups(groups, multiples) {
|
|
|
6223
6265
|
}
|
|
6224
6266
|
}
|
|
6225
6267
|
|
|
6226
|
-
// bazel-out/
|
|
6268
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
|
|
6227
6269
|
var OpKind;
|
|
6228
6270
|
(function(OpKind2) {
|
|
6229
6271
|
OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
|
|
@@ -6381,7 +6423,7 @@ var TemplateKind;
|
|
|
6381
6423
|
TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
|
|
6382
6424
|
})(TemplateKind || (TemplateKind = {}));
|
|
6383
6425
|
|
|
6384
|
-
// bazel-out/
|
|
6426
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
|
|
6385
6427
|
var ConsumesSlot = Symbol("ConsumesSlot");
|
|
6386
6428
|
var DependsOnSlotContext = Symbol("DependsOnSlotContext");
|
|
6387
6429
|
var ConsumesVarsTrait = Symbol("ConsumesVars");
|
|
@@ -6409,7 +6451,7 @@ function hasUsesVarOffsetTrait(expr) {
|
|
|
6409
6451
|
return expr[UsesVarOffset] === true;
|
|
6410
6452
|
}
|
|
6411
6453
|
|
|
6412
|
-
// bazel-out/
|
|
6454
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
|
|
6413
6455
|
function createStatementOp(statement) {
|
|
6414
6456
|
return __spreadValues({
|
|
6415
6457
|
kind: OpKind.Statement,
|
|
@@ -6431,7 +6473,7 @@ var NEW_OP = {
|
|
|
6431
6473
|
next: null
|
|
6432
6474
|
};
|
|
6433
6475
|
|
|
6434
|
-
// bazel-out/
|
|
6476
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
|
|
6435
6477
|
function createInterpolateTextOp(xref, interpolation, sourceSpan) {
|
|
6436
6478
|
return __spreadValues(__spreadValues(__spreadValues({
|
|
6437
6479
|
kind: OpKind.InterpolateText,
|
|
@@ -6620,7 +6662,7 @@ function createStoreLetOp(target, declaredName, value, sourceSpan) {
|
|
|
6620
6662
|
}, TRAIT_DEPENDS_ON_SLOT_CONTEXT), TRAIT_CONSUMES_VARS), NEW_OP);
|
|
6621
6663
|
}
|
|
6622
6664
|
|
|
6623
|
-
// bazel-out/
|
|
6665
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
|
|
6624
6666
|
var _a;
|
|
6625
6667
|
var _b;
|
|
6626
6668
|
var _c;
|
|
@@ -7538,7 +7580,7 @@ function isStringLiteral(expr) {
|
|
|
7538
7580
|
return expr instanceof LiteralExpr && typeof expr.value === "string";
|
|
7539
7581
|
}
|
|
7540
7582
|
|
|
7541
|
-
// bazel-out/
|
|
7583
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
|
|
7542
7584
|
var _OpList = class {
|
|
7543
7585
|
constructor() {
|
|
7544
7586
|
this.debugListId = _OpList.nextListId++;
|
|
@@ -7729,14 +7771,14 @@ var OpList = _OpList;
|
|
|
7729
7771
|
_OpList.nextListId = 0;
|
|
7730
7772
|
})();
|
|
7731
7773
|
|
|
7732
|
-
// bazel-out/
|
|
7774
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
|
|
7733
7775
|
var SlotHandle = class {
|
|
7734
7776
|
constructor() {
|
|
7735
7777
|
this.slot = null;
|
|
7736
7778
|
}
|
|
7737
7779
|
};
|
|
7738
7780
|
|
|
7739
|
-
// bazel-out/
|
|
7781
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
|
|
7740
7782
|
var elementContainerOpKinds = /* @__PURE__ */ new Set([
|
|
7741
7783
|
OpKind.Element,
|
|
7742
7784
|
OpKind.ElementStart,
|
|
@@ -8049,7 +8091,7 @@ function createI18nAttributesOp(xref, handle, target) {
|
|
|
8049
8091
|
}, NEW_OP), TRAIT_CONSUMES_SLOT);
|
|
8050
8092
|
}
|
|
8051
8093
|
|
|
8052
|
-
// bazel-out/
|
|
8094
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
|
|
8053
8095
|
function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
|
|
8054
8096
|
return __spreadValues(__spreadValues({
|
|
8055
8097
|
kind: OpKind.HostProperty,
|
|
@@ -8063,10 +8105,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
|
|
|
8063
8105
|
}, TRAIT_CONSUMES_VARS), NEW_OP);
|
|
8064
8106
|
}
|
|
8065
8107
|
|
|
8066
|
-
// bazel-out/
|
|
8108
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
|
|
8067
8109
|
var CTX_REF = "CTX_REF_MARKER";
|
|
8068
8110
|
|
|
8069
|
-
// bazel-out/
|
|
8111
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
|
|
8070
8112
|
var CompilationJobKind;
|
|
8071
8113
|
(function(CompilationJobKind2) {
|
|
8072
8114
|
CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
|
|
@@ -8174,7 +8216,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
|
|
|
8174
8216
|
}
|
|
8175
8217
|
};
|
|
8176
8218
|
|
|
8177
|
-
// bazel-out/
|
|
8219
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
|
|
8178
8220
|
function deleteAnyCasts(job) {
|
|
8179
8221
|
for (const unit of job.units) {
|
|
8180
8222
|
for (const op of unit.ops()) {
|
|
@@ -8192,7 +8234,7 @@ function removeAnys(e) {
|
|
|
8192
8234
|
return e;
|
|
8193
8235
|
}
|
|
8194
8236
|
|
|
8195
|
-
// bazel-out/
|
|
8237
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
|
|
8196
8238
|
function applyI18nExpressions(job) {
|
|
8197
8239
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
8198
8240
|
for (const unit of job.units) {
|
|
@@ -8235,7 +8277,7 @@ function needsApplication(i18nContexts, op) {
|
|
|
8235
8277
|
return false;
|
|
8236
8278
|
}
|
|
8237
8279
|
|
|
8238
|
-
// bazel-out/
|
|
8280
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
|
|
8239
8281
|
function assignI18nSlotDependencies(job) {
|
|
8240
8282
|
for (const unit of job.units) {
|
|
8241
8283
|
let updateOp = unit.update.head;
|
|
@@ -8280,7 +8322,7 @@ function assignI18nSlotDependencies(job) {
|
|
|
8280
8322
|
}
|
|
8281
8323
|
}
|
|
8282
8324
|
|
|
8283
|
-
// bazel-out/
|
|
8325
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
|
|
8284
8326
|
function createOpXrefMap(unit) {
|
|
8285
8327
|
const map = /* @__PURE__ */ new Map();
|
|
8286
8328
|
for (const op of unit.create) {
|
|
@@ -8295,7 +8337,7 @@ function createOpXrefMap(unit) {
|
|
|
8295
8337
|
return map;
|
|
8296
8338
|
}
|
|
8297
8339
|
|
|
8298
|
-
// bazel-out/
|
|
8340
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
|
|
8299
8341
|
function extractAttributes(job) {
|
|
8300
8342
|
for (const unit of job.units) {
|
|
8301
8343
|
const elements = createOpXrefMap(unit);
|
|
@@ -8424,7 +8466,7 @@ function extractAttributeOp(unit, op, elements) {
|
|
|
8424
8466
|
}
|
|
8425
8467
|
}
|
|
8426
8468
|
|
|
8427
|
-
// bazel-out/
|
|
8469
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
|
|
8428
8470
|
function lookupElement2(elements, xref) {
|
|
8429
8471
|
const el = elements.get(xref);
|
|
8430
8472
|
if (el === void 0) {
|
|
@@ -8481,7 +8523,7 @@ function specializeBindings(job) {
|
|
|
8481
8523
|
}
|
|
8482
8524
|
}
|
|
8483
8525
|
|
|
8484
|
-
// bazel-out/
|
|
8526
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
|
|
8485
8527
|
var CHAINABLE = /* @__PURE__ */ new Set([
|
|
8486
8528
|
Identifiers.attribute,
|
|
8487
8529
|
Identifiers.classProp,
|
|
@@ -8553,7 +8595,7 @@ function chainOperationsInList(opList) {
|
|
|
8553
8595
|
}
|
|
8554
8596
|
}
|
|
8555
8597
|
|
|
8556
|
-
// bazel-out/
|
|
8598
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
|
|
8557
8599
|
function collapseSingletonInterpolations(job) {
|
|
8558
8600
|
for (const unit of job.units) {
|
|
8559
8601
|
for (const op of unit.update) {
|
|
@@ -8565,7 +8607,7 @@ function collapseSingletonInterpolations(job) {
|
|
|
8565
8607
|
}
|
|
8566
8608
|
}
|
|
8567
8609
|
|
|
8568
|
-
// bazel-out/
|
|
8610
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
|
|
8569
8611
|
function generateConditionalExpressions(job) {
|
|
8570
8612
|
for (const unit of job.units) {
|
|
8571
8613
|
for (const op of unit.ops()) {
|
|
@@ -8602,7 +8644,7 @@ function generateConditionalExpressions(job) {
|
|
|
8602
8644
|
}
|
|
8603
8645
|
}
|
|
8604
8646
|
|
|
8605
|
-
// bazel-out/
|
|
8647
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
|
|
8606
8648
|
var BINARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
8607
8649
|
["&&", BinaryOperator.And],
|
|
8608
8650
|
[">", BinaryOperator.Bigger],
|
|
@@ -8659,7 +8701,7 @@ function literalOrArrayLiteral(value) {
|
|
|
8659
8701
|
return literal(value);
|
|
8660
8702
|
}
|
|
8661
8703
|
|
|
8662
|
-
// bazel-out/
|
|
8704
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
|
|
8663
8705
|
function collectElementConsts(job) {
|
|
8664
8706
|
const allElementAttributes = /* @__PURE__ */ new Map();
|
|
8665
8707
|
for (const unit of job.units) {
|
|
@@ -8828,7 +8870,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
|
|
|
8828
8870
|
return literalArr(attrArray);
|
|
8829
8871
|
}
|
|
8830
8872
|
|
|
8831
|
-
// bazel-out/
|
|
8873
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
|
|
8832
8874
|
function convertI18nBindings(job) {
|
|
8833
8875
|
const i18nAttributesByElem = /* @__PURE__ */ new Map();
|
|
8834
8876
|
for (const unit of job.units) {
|
|
@@ -8869,7 +8911,7 @@ function convertI18nBindings(job) {
|
|
|
8869
8911
|
}
|
|
8870
8912
|
}
|
|
8871
8913
|
|
|
8872
|
-
// bazel-out/
|
|
8914
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
|
|
8873
8915
|
function resolveDeferDepsFns(job) {
|
|
8874
8916
|
var _a2;
|
|
8875
8917
|
for (const unit of job.units) {
|
|
@@ -8894,7 +8936,7 @@ function resolveDeferDepsFns(job) {
|
|
|
8894
8936
|
}
|
|
8895
8937
|
}
|
|
8896
8938
|
|
|
8897
|
-
// bazel-out/
|
|
8939
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
|
|
8898
8940
|
function createI18nContexts(job) {
|
|
8899
8941
|
const attrContextByMessage = /* @__PURE__ */ new Map();
|
|
8900
8942
|
for (const unit of job.units) {
|
|
@@ -8972,7 +9014,7 @@ function createI18nContexts(job) {
|
|
|
8972
9014
|
}
|
|
8973
9015
|
}
|
|
8974
9016
|
|
|
8975
|
-
// bazel-out/
|
|
9017
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
|
|
8976
9018
|
function deduplicateTextBindings(job) {
|
|
8977
9019
|
const seen = /* @__PURE__ */ new Map();
|
|
8978
9020
|
for (const unit of job.units) {
|
|
@@ -8994,7 +9036,7 @@ function deduplicateTextBindings(job) {
|
|
|
8994
9036
|
}
|
|
8995
9037
|
}
|
|
8996
9038
|
|
|
8997
|
-
// bazel-out/
|
|
9039
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
|
|
8998
9040
|
function configureDeferInstructions(job) {
|
|
8999
9041
|
for (const unit of job.units) {
|
|
9000
9042
|
for (const op of unit.create) {
|
|
@@ -9011,7 +9053,7 @@ function configureDeferInstructions(job) {
|
|
|
9011
9053
|
}
|
|
9012
9054
|
}
|
|
9013
9055
|
|
|
9014
|
-
// bazel-out/
|
|
9056
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
|
|
9015
9057
|
function resolveDeferTargetNames(job) {
|
|
9016
9058
|
const scopes = /* @__PURE__ */ new Map();
|
|
9017
9059
|
function getScopeForView2(view) {
|
|
@@ -9105,7 +9147,7 @@ var Scope = class {
|
|
|
9105
9147
|
}
|
|
9106
9148
|
};
|
|
9107
9149
|
|
|
9108
|
-
// bazel-out/
|
|
9150
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
|
|
9109
9151
|
var REPLACEMENTS = /* @__PURE__ */ new Map([
|
|
9110
9152
|
[OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
|
|
9111
9153
|
[OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
|
|
@@ -9132,7 +9174,7 @@ function collapseEmptyInstructions(job) {
|
|
|
9132
9174
|
}
|
|
9133
9175
|
}
|
|
9134
9176
|
|
|
9135
|
-
// bazel-out/
|
|
9177
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
|
|
9136
9178
|
function expandSafeReads(job) {
|
|
9137
9179
|
for (const unit of job.units) {
|
|
9138
9180
|
for (const op of unit.ops()) {
|
|
@@ -9268,7 +9310,7 @@ function ternaryTransform(e) {
|
|
|
9268
9310
|
return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
|
|
9269
9311
|
}
|
|
9270
9312
|
|
|
9271
|
-
// bazel-out/
|
|
9313
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
|
|
9272
9314
|
var ESCAPE = "\uFFFD";
|
|
9273
9315
|
var ELEMENT_MARKER = "#";
|
|
9274
9316
|
var TEMPLATE_MARKER = "*";
|
|
@@ -9404,7 +9446,7 @@ function formatValue(value) {
|
|
|
9404
9446
|
return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
|
|
9405
9447
|
}
|
|
9406
9448
|
|
|
9407
|
-
// bazel-out/
|
|
9449
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
|
|
9408
9450
|
function generateAdvance(job) {
|
|
9409
9451
|
for (const unit of job.units) {
|
|
9410
9452
|
const slotMap = /* @__PURE__ */ new Map();
|
|
@@ -9447,7 +9489,7 @@ function generateAdvance(job) {
|
|
|
9447
9489
|
}
|
|
9448
9490
|
}
|
|
9449
9491
|
|
|
9450
|
-
// bazel-out/
|
|
9492
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
|
|
9451
9493
|
function generateProjectionDefs(job) {
|
|
9452
9494
|
const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
|
|
9453
9495
|
const selectors = [];
|
|
@@ -9471,7 +9513,7 @@ function generateProjectionDefs(job) {
|
|
|
9471
9513
|
}
|
|
9472
9514
|
}
|
|
9473
9515
|
|
|
9474
|
-
// bazel-out/
|
|
9516
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
|
|
9475
9517
|
function generateVariables(job) {
|
|
9476
9518
|
recursivelyProcessView(job.root, null);
|
|
9477
9519
|
}
|
|
@@ -9589,7 +9631,7 @@ function generateVariablesInScopeForView(view, scope, isListener) {
|
|
|
9589
9631
|
return newOps;
|
|
9590
9632
|
}
|
|
9591
9633
|
|
|
9592
|
-
// bazel-out/
|
|
9634
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
|
|
9593
9635
|
function collectConstExpressions(job) {
|
|
9594
9636
|
for (const unit of job.units) {
|
|
9595
9637
|
for (const op of unit.ops()) {
|
|
@@ -9603,7 +9645,7 @@ function collectConstExpressions(job) {
|
|
|
9603
9645
|
}
|
|
9604
9646
|
}
|
|
9605
9647
|
|
|
9606
|
-
// bazel-out/
|
|
9648
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
|
|
9607
9649
|
var STYLE_DOT = "style.";
|
|
9608
9650
|
var CLASS_DOT = "class.";
|
|
9609
9651
|
var STYLE_BANG = "style!";
|
|
@@ -9661,7 +9703,7 @@ function parseProperty(name) {
|
|
|
9661
9703
|
return { property: property2, suffix };
|
|
9662
9704
|
}
|
|
9663
9705
|
|
|
9664
|
-
// bazel-out/
|
|
9706
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
|
|
9665
9707
|
function mapLiteral(obj, quoted = false) {
|
|
9666
9708
|
return literalMap(Object.keys(obj).map((key) => ({
|
|
9667
9709
|
key,
|
|
@@ -9670,7 +9712,7 @@ function mapLiteral(obj, quoted = false) {
|
|
|
9670
9712
|
})));
|
|
9671
9713
|
}
|
|
9672
9714
|
|
|
9673
|
-
// bazel-out/
|
|
9715
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
|
|
9674
9716
|
var IcuSerializerVisitor = class {
|
|
9675
9717
|
visitText(text2) {
|
|
9676
9718
|
return text2.value;
|
|
@@ -9704,7 +9746,7 @@ function serializeIcuNode(icu) {
|
|
|
9704
9746
|
return icu.visit(serializer);
|
|
9705
9747
|
}
|
|
9706
9748
|
|
|
9707
|
-
// bazel-out/
|
|
9749
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
|
|
9708
9750
|
var NodeWithI18n = class {
|
|
9709
9751
|
constructor(sourceSpan, i18n2) {
|
|
9710
9752
|
this.sourceSpan = sourceSpan;
|
|
@@ -9827,7 +9869,7 @@ function visitAll2(visitor, nodes, context = null) {
|
|
|
9827
9869
|
return result;
|
|
9828
9870
|
}
|
|
9829
9871
|
|
|
9830
|
-
// bazel-out/
|
|
9872
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
|
|
9831
9873
|
var NAMED_ENTITIES = {
|
|
9832
9874
|
"AElig": "\xC6",
|
|
9833
9875
|
"AMP": "&",
|
|
@@ -11958,7 +12000,7 @@ var NAMED_ENTITIES = {
|
|
|
11958
12000
|
var NGSP_UNICODE = "\uE500";
|
|
11959
12001
|
NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
|
|
11960
12002
|
|
|
11961
|
-
// bazel-out/
|
|
12003
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
|
|
11962
12004
|
var TokenError = class extends ParseError {
|
|
11963
12005
|
constructor(errorMsg, tokenType, span) {
|
|
11964
12006
|
super(span, errorMsg);
|
|
@@ -12948,7 +12990,7 @@ var CursorError = class {
|
|
|
12948
12990
|
}
|
|
12949
12991
|
};
|
|
12950
12992
|
|
|
12951
|
-
// bazel-out/
|
|
12993
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
|
|
12952
12994
|
var TreeError = class extends ParseError {
|
|
12953
12995
|
static create(elementName, span, msg) {
|
|
12954
12996
|
return new TreeError(elementName, span, msg);
|
|
@@ -13376,7 +13418,7 @@ function decodeEntity(match, entity) {
|
|
|
13376
13418
|
return match;
|
|
13377
13419
|
}
|
|
13378
13420
|
|
|
13379
|
-
// bazel-out/
|
|
13421
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
|
|
13380
13422
|
var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
|
|
13381
13423
|
var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
|
|
13382
13424
|
var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
|
|
@@ -13516,7 +13558,7 @@ function visitAllWithSiblings(visitor, nodes) {
|
|
|
13516
13558
|
return result;
|
|
13517
13559
|
}
|
|
13518
13560
|
|
|
13519
|
-
// bazel-out/
|
|
13561
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
|
|
13520
13562
|
var TokenType;
|
|
13521
13563
|
(function(TokenType2) {
|
|
13522
13564
|
TokenType2[TokenType2["Character"] = 0] = "Character";
|
|
@@ -13877,7 +13919,7 @@ function parseIntAutoRadix(text2) {
|
|
|
13877
13919
|
return result;
|
|
13878
13920
|
}
|
|
13879
13921
|
|
|
13880
|
-
// bazel-out/
|
|
13922
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
|
|
13881
13923
|
var SplitInterpolation = class {
|
|
13882
13924
|
constructor(strings, expressions, offsets) {
|
|
13883
13925
|
this.strings = strings;
|
|
@@ -14761,7 +14803,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
|
|
|
14761
14803
|
return offsetMap;
|
|
14762
14804
|
}
|
|
14763
14805
|
|
|
14764
|
-
// bazel-out/
|
|
14806
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
|
|
14765
14807
|
var _SECURITY_SCHEMA;
|
|
14766
14808
|
function SECURITY_SCHEMA() {
|
|
14767
14809
|
if (!_SECURITY_SCHEMA) {
|
|
@@ -14822,11 +14864,11 @@ function isIframeSecuritySensitiveAttr(attrName) {
|
|
|
14822
14864
|
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
14823
14865
|
}
|
|
14824
14866
|
|
|
14825
|
-
// bazel-out/
|
|
14867
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
|
|
14826
14868
|
var ElementSchemaRegistry = class {
|
|
14827
14869
|
};
|
|
14828
14870
|
|
|
14829
|
-
// bazel-out/
|
|
14871
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
|
|
14830
14872
|
var BOOLEAN = "boolean";
|
|
14831
14873
|
var NUMBER = "number";
|
|
14832
14874
|
var STRING = "string";
|
|
@@ -15209,7 +15251,7 @@ function _isPixelDimensionStyle(prop) {
|
|
|
15209
15251
|
}
|
|
15210
15252
|
}
|
|
15211
15253
|
|
|
15212
|
-
// bazel-out/
|
|
15254
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
|
|
15213
15255
|
var HtmlTagDefinition = class {
|
|
15214
15256
|
constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
|
|
15215
15257
|
this.closedByChildren = {};
|
|
@@ -15345,7 +15387,7 @@ function getHtmlTagDefinition(tagName) {
|
|
|
15345
15387
|
return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
|
|
15346
15388
|
}
|
|
15347
15389
|
|
|
15348
|
-
// bazel-out/
|
|
15390
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
|
|
15349
15391
|
var TAG_TO_PLACEHOLDER_NAMES = {
|
|
15350
15392
|
"A": "LINK",
|
|
15351
15393
|
"B": "BOLD_TEXT",
|
|
@@ -15467,7 +15509,7 @@ var PlaceholderRegistry = class {
|
|
|
15467
15509
|
}
|
|
15468
15510
|
};
|
|
15469
15511
|
|
|
15470
|
-
// bazel-out/
|
|
15512
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
|
|
15471
15513
|
var _expParser = new Parser2(new Lexer());
|
|
15472
15514
|
function createI18nMessageFactory(interpolationConfig, containerBlocks, retainEmptyTokens) {
|
|
15473
15515
|
const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks, retainEmptyTokens);
|
|
@@ -15662,14 +15704,14 @@ function extractPlaceholderName(input) {
|
|
|
15662
15704
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
15663
15705
|
}
|
|
15664
15706
|
|
|
15665
|
-
// bazel-out/
|
|
15707
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
|
|
15666
15708
|
var I18nError = class extends ParseError {
|
|
15667
15709
|
constructor(span, msg) {
|
|
15668
15710
|
super(span, msg);
|
|
15669
15711
|
}
|
|
15670
15712
|
};
|
|
15671
15713
|
|
|
15672
|
-
// bazel-out/
|
|
15714
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
|
|
15673
15715
|
var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
|
|
15674
15716
|
"iframe|srcdoc",
|
|
15675
15717
|
"*|innerhtml",
|
|
@@ -15684,7 +15726,7 @@ function isTrustedTypesSink(tagName, propName) {
|
|
|
15684
15726
|
return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
|
|
15685
15727
|
}
|
|
15686
15728
|
|
|
15687
|
-
// bazel-out/
|
|
15729
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
|
|
15688
15730
|
var setI18nRefs = (originalNodeMap) => {
|
|
15689
15731
|
return (trimmedNode, i18nNode) => {
|
|
15690
15732
|
var _a2;
|
|
@@ -15858,7 +15900,7 @@ function i18nMetaToJSDoc(meta) {
|
|
|
15858
15900
|
return jsDocComment(tags);
|
|
15859
15901
|
}
|
|
15860
15902
|
|
|
15861
|
-
// bazel-out/
|
|
15903
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
|
|
15862
15904
|
var GOOG_GET_MSG = "goog.getMsg";
|
|
15863
15905
|
function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
|
|
15864
15906
|
const messageString = serializeI18nMessageForGetMsg(message);
|
|
@@ -15909,7 +15951,7 @@ function serializeI18nMessageForGetMsg(message) {
|
|
|
15909
15951
|
return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
|
|
15910
15952
|
}
|
|
15911
15953
|
|
|
15912
|
-
// bazel-out/
|
|
15954
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
|
|
15913
15955
|
function createLocalizeStatements(variable2, message, params) {
|
|
15914
15956
|
const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
|
|
15915
15957
|
const sourceSpan = getSourceSpan(message);
|
|
@@ -15998,7 +16040,7 @@ function createEmptyMessagePart(location) {
|
|
|
15998
16040
|
return new LiteralPiece("", new ParseSourceSpan(location, location));
|
|
15999
16041
|
}
|
|
16000
16042
|
|
|
16001
|
-
// bazel-out/
|
|
16043
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
|
|
16002
16044
|
var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
|
|
16003
16045
|
var TRANSLATION_VAR_PREFIX = "i18n_";
|
|
16004
16046
|
var I18N_ICU_MAPPING_PREFIX = "I18N_EXP_";
|
|
@@ -16169,7 +16211,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
|
|
|
16169
16211
|
return variable(name);
|
|
16170
16212
|
}
|
|
16171
16213
|
|
|
16172
|
-
// bazel-out/
|
|
16214
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
|
|
16173
16215
|
function convertI18nText(job) {
|
|
16174
16216
|
var _a2, _b2, _c2;
|
|
16175
16217
|
for (const unit of job.units) {
|
|
@@ -16239,7 +16281,7 @@ function convertI18nText(job) {
|
|
|
16239
16281
|
}
|
|
16240
16282
|
}
|
|
16241
16283
|
|
|
16242
|
-
// bazel-out/
|
|
16284
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
|
|
16243
16285
|
function liftLocalRefs(job) {
|
|
16244
16286
|
for (const unit of job.units) {
|
|
16245
16287
|
for (const op of unit.create) {
|
|
@@ -16269,7 +16311,7 @@ function serializeLocalRefs(refs) {
|
|
|
16269
16311
|
return literalArr(constRefs);
|
|
16270
16312
|
}
|
|
16271
16313
|
|
|
16272
|
-
// bazel-out/
|
|
16314
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
|
|
16273
16315
|
function emitNamespaceChanges(job) {
|
|
16274
16316
|
for (const unit of job.units) {
|
|
16275
16317
|
let activeNamespace = Namespace.HTML;
|
|
@@ -16285,7 +16327,7 @@ function emitNamespaceChanges(job) {
|
|
|
16285
16327
|
}
|
|
16286
16328
|
}
|
|
16287
16329
|
|
|
16288
|
-
// bazel-out/
|
|
16330
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
|
|
16289
16331
|
function parse(value) {
|
|
16290
16332
|
const styles = [];
|
|
16291
16333
|
let i = 0;
|
|
@@ -16379,7 +16421,7 @@ function parseExtractedStyles(job) {
|
|
|
16379
16421
|
}
|
|
16380
16422
|
}
|
|
16381
16423
|
|
|
16382
|
-
// bazel-out/
|
|
16424
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
|
|
16383
16425
|
function nameFunctionsAndVariables(job) {
|
|
16384
16426
|
addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
|
|
16385
16427
|
}
|
|
@@ -16523,7 +16565,7 @@ function stripImportant(name) {
|
|
|
16523
16565
|
return name;
|
|
16524
16566
|
}
|
|
16525
16567
|
|
|
16526
|
-
// bazel-out/
|
|
16568
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
|
|
16527
16569
|
function mergeNextContextExpressions(job) {
|
|
16528
16570
|
for (const unit of job.units) {
|
|
16529
16571
|
for (const op of unit.create) {
|
|
@@ -16570,7 +16612,7 @@ function mergeNextContextsInOps(ops) {
|
|
|
16570
16612
|
}
|
|
16571
16613
|
}
|
|
16572
16614
|
|
|
16573
|
-
// bazel-out/
|
|
16615
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
|
|
16574
16616
|
var CONTAINER_TAG = "ng-container";
|
|
16575
16617
|
function generateNgContainerOps(job) {
|
|
16576
16618
|
for (const unit of job.units) {
|
|
@@ -16587,7 +16629,7 @@ function generateNgContainerOps(job) {
|
|
|
16587
16629
|
}
|
|
16588
16630
|
}
|
|
16589
16631
|
|
|
16590
|
-
// bazel-out/
|
|
16632
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
|
|
16591
16633
|
function lookupElement3(elements, xref) {
|
|
16592
16634
|
const el = elements.get(xref);
|
|
16593
16635
|
if (el === void 0) {
|
|
@@ -16617,7 +16659,7 @@ function disableBindings(job) {
|
|
|
16617
16659
|
}
|
|
16618
16660
|
}
|
|
16619
16661
|
|
|
16620
|
-
// bazel-out/
|
|
16662
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
|
|
16621
16663
|
function generateNullishCoalesceExpressions(job) {
|
|
16622
16664
|
for (const unit of job.units) {
|
|
16623
16665
|
for (const op of unit.ops()) {
|
|
@@ -16633,7 +16675,7 @@ function generateNullishCoalesceExpressions(job) {
|
|
|
16633
16675
|
}
|
|
16634
16676
|
}
|
|
16635
16677
|
|
|
16636
|
-
// bazel-out/
|
|
16678
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
|
|
16637
16679
|
function kindTest(kind) {
|
|
16638
16680
|
return (op) => op.kind === kind;
|
|
16639
16681
|
}
|
|
@@ -16723,7 +16765,7 @@ function keepLast(ops) {
|
|
|
16723
16765
|
return ops.slice(ops.length - 1);
|
|
16724
16766
|
}
|
|
16725
16767
|
|
|
16726
|
-
// bazel-out/
|
|
16768
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
|
|
16727
16769
|
function removeContentSelectors(job) {
|
|
16728
16770
|
for (const unit of job.units) {
|
|
16729
16771
|
const elements = createOpXrefMap(unit);
|
|
@@ -16750,7 +16792,7 @@ function lookupInXrefMap(map, xref) {
|
|
|
16750
16792
|
return el;
|
|
16751
16793
|
}
|
|
16752
16794
|
|
|
16753
|
-
// bazel-out/
|
|
16795
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
|
|
16754
16796
|
function createPipes(job) {
|
|
16755
16797
|
for (const unit of job.units) {
|
|
16756
16798
|
processPipeBindingsInView(unit);
|
|
@@ -16798,7 +16840,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
|
|
|
16798
16840
|
throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
|
|
16799
16841
|
}
|
|
16800
16842
|
|
|
16801
|
-
// bazel-out/
|
|
16843
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
|
|
16802
16844
|
function createVariadicPipes(job) {
|
|
16803
16845
|
for (const unit of job.units) {
|
|
16804
16846
|
for (const op of unit.update) {
|
|
@@ -16815,7 +16857,7 @@ function createVariadicPipes(job) {
|
|
|
16815
16857
|
}
|
|
16816
16858
|
}
|
|
16817
16859
|
|
|
16818
|
-
// bazel-out/
|
|
16860
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
|
|
16819
16861
|
function propagateI18nBlocks(job) {
|
|
16820
16862
|
propagateI18nBlocksToTemplates(job.root, 0);
|
|
16821
16863
|
}
|
|
@@ -16869,7 +16911,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
|
|
|
16869
16911
|
}
|
|
16870
16912
|
}
|
|
16871
16913
|
|
|
16872
|
-
// bazel-out/
|
|
16914
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
|
|
16873
16915
|
function extractPureFunctions(job) {
|
|
16874
16916
|
for (const view of job.units) {
|
|
16875
16917
|
for (const op of view.ops()) {
|
|
@@ -16911,7 +16953,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
|
|
|
16911
16953
|
}
|
|
16912
16954
|
};
|
|
16913
16955
|
|
|
16914
|
-
// bazel-out/
|
|
16956
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
|
|
16915
16957
|
function generatePureLiteralStructures(job) {
|
|
16916
16958
|
for (const unit of job.units) {
|
|
16917
16959
|
for (const op of unit.update) {
|
|
@@ -16958,7 +17000,7 @@ function transformLiteralMap(expr) {
|
|
|
16958
17000
|
return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
|
|
16959
17001
|
}
|
|
16960
17002
|
|
|
16961
|
-
// bazel-out/
|
|
17003
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
|
|
16962
17004
|
function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
|
|
16963
17005
|
return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
|
|
16964
17006
|
}
|
|
@@ -17490,7 +17532,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
|
|
|
17490
17532
|
return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
|
|
17491
17533
|
}
|
|
17492
17534
|
|
|
17493
|
-
// bazel-out/
|
|
17535
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
|
|
17494
17536
|
var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
|
|
17495
17537
|
["window", Identifiers.resolveWindow],
|
|
17496
17538
|
["document", Identifiers.resolveDocument],
|
|
@@ -17855,7 +17897,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
17855
17897
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
17856
17898
|
}
|
|
17857
17899
|
|
|
17858
|
-
// bazel-out/
|
|
17900
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
|
|
17859
17901
|
function removeEmptyBindings(job) {
|
|
17860
17902
|
for (const unit of job.units) {
|
|
17861
17903
|
for (const op of unit.update) {
|
|
@@ -17876,7 +17918,7 @@ function removeEmptyBindings(job) {
|
|
|
17876
17918
|
}
|
|
17877
17919
|
}
|
|
17878
17920
|
|
|
17879
|
-
// bazel-out/
|
|
17921
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
|
|
17880
17922
|
function removeI18nContexts(job) {
|
|
17881
17923
|
for (const unit of job.units) {
|
|
17882
17924
|
for (const op of unit.create) {
|
|
@@ -17892,7 +17934,7 @@ function removeI18nContexts(job) {
|
|
|
17892
17934
|
}
|
|
17893
17935
|
}
|
|
17894
17936
|
|
|
17895
|
-
// bazel-out/
|
|
17937
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
|
|
17896
17938
|
function removeUnusedI18nAttributesOps(job) {
|
|
17897
17939
|
for (const unit of job.units) {
|
|
17898
17940
|
const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
|
|
@@ -17914,7 +17956,7 @@ function removeUnusedI18nAttributesOps(job) {
|
|
|
17914
17956
|
}
|
|
17915
17957
|
}
|
|
17916
17958
|
|
|
17917
|
-
// bazel-out/
|
|
17959
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
|
|
17918
17960
|
function resolveContexts(job) {
|
|
17919
17961
|
for (const unit of job.units) {
|
|
17920
17962
|
processLexicalScope(unit, unit.create);
|
|
@@ -17956,7 +17998,7 @@ function processLexicalScope(view, ops) {
|
|
|
17956
17998
|
}
|
|
17957
17999
|
}
|
|
17958
18000
|
|
|
17959
|
-
// bazel-out/
|
|
18001
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
|
|
17960
18002
|
function resolveDollarEvent(job) {
|
|
17961
18003
|
for (const unit of job.units) {
|
|
17962
18004
|
transformDollarEvent(unit.create);
|
|
@@ -17979,7 +18021,7 @@ function transformDollarEvent(ops) {
|
|
|
17979
18021
|
}
|
|
17980
18022
|
}
|
|
17981
18023
|
|
|
17982
|
-
// bazel-out/
|
|
18024
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
|
|
17983
18025
|
function resolveI18nElementPlaceholders(job) {
|
|
17984
18026
|
const i18nContexts = /* @__PURE__ */ new Map();
|
|
17985
18027
|
const elements = /* @__PURE__ */ new Map();
|
|
@@ -18158,7 +18200,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
|
|
|
18158
18200
|
params.set(placeholder, values);
|
|
18159
18201
|
}
|
|
18160
18202
|
|
|
18161
|
-
// bazel-out/
|
|
18203
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
|
|
18162
18204
|
function resolveI18nExpressionPlaceholders(job) {
|
|
18163
18205
|
var _a2;
|
|
18164
18206
|
const subTemplateIndices = /* @__PURE__ */ new Map();
|
|
@@ -18211,7 +18253,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
|
|
|
18211
18253
|
}
|
|
18212
18254
|
}
|
|
18213
18255
|
|
|
18214
|
-
// bazel-out/
|
|
18256
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
|
|
18215
18257
|
function resolveNames(job) {
|
|
18216
18258
|
for (const unit of job.units) {
|
|
18217
18259
|
processLexicalScope2(unit, unit.create, null);
|
|
@@ -18289,7 +18331,7 @@ function processLexicalScope2(unit, ops, savedView) {
|
|
|
18289
18331
|
}
|
|
18290
18332
|
}
|
|
18291
18333
|
|
|
18292
|
-
// bazel-out/
|
|
18334
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
|
|
18293
18335
|
var sanitizerFns = /* @__PURE__ */ new Map([
|
|
18294
18336
|
[SecurityContext.HTML, Identifiers.sanitizeHtml],
|
|
18295
18337
|
[SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
|
|
@@ -18359,7 +18401,7 @@ function getOnlySecurityContext(securityContext) {
|
|
|
18359
18401
|
return securityContext;
|
|
18360
18402
|
}
|
|
18361
18403
|
|
|
18362
|
-
// bazel-out/
|
|
18404
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
|
|
18363
18405
|
function transformTwoWayBindingSet(job) {
|
|
18364
18406
|
for (const unit of job.units) {
|
|
18365
18407
|
for (const op of unit.create) {
|
|
@@ -18382,7 +18424,7 @@ function transformTwoWayBindingSet(job) {
|
|
|
18382
18424
|
}
|
|
18383
18425
|
}
|
|
18384
18426
|
|
|
18385
|
-
// bazel-out/
|
|
18427
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
|
|
18386
18428
|
function saveAndRestoreView(job) {
|
|
18387
18429
|
for (const unit of job.units) {
|
|
18388
18430
|
unit.create.prepend([
|
|
@@ -18427,7 +18469,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
|
|
|
18427
18469
|
}
|
|
18428
18470
|
}
|
|
18429
18471
|
|
|
18430
|
-
// bazel-out/
|
|
18472
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
|
|
18431
18473
|
function allocateSlots(job) {
|
|
18432
18474
|
const slotMap = /* @__PURE__ */ new Map();
|
|
18433
18475
|
for (const unit of job.units) {
|
|
@@ -18452,7 +18494,7 @@ function allocateSlots(job) {
|
|
|
18452
18494
|
}
|
|
18453
18495
|
}
|
|
18454
18496
|
|
|
18455
|
-
// bazel-out/
|
|
18497
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
|
|
18456
18498
|
function specializeStyleBindings(job) {
|
|
18457
18499
|
for (const unit of job.units) {
|
|
18458
18500
|
for (const op of unit.update) {
|
|
@@ -18482,7 +18524,7 @@ function specializeStyleBindings(job) {
|
|
|
18482
18524
|
}
|
|
18483
18525
|
}
|
|
18484
18526
|
|
|
18485
|
-
// bazel-out/
|
|
18527
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
|
|
18486
18528
|
function generateTemporaryVariables(job) {
|
|
18487
18529
|
for (const unit of job.units) {
|
|
18488
18530
|
unit.create.prepend(generateTemporaries(unit.create));
|
|
@@ -18540,7 +18582,7 @@ function assignName(names, expr) {
|
|
|
18540
18582
|
expr.name = name;
|
|
18541
18583
|
}
|
|
18542
18584
|
|
|
18543
|
-
// bazel-out/
|
|
18585
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
|
|
18544
18586
|
function generateTrackFns(job) {
|
|
18545
18587
|
for (const unit of job.units) {
|
|
18546
18588
|
for (const op of unit.create) {
|
|
@@ -18573,7 +18615,7 @@ function generateTrackFns(job) {
|
|
|
18573
18615
|
}
|
|
18574
18616
|
}
|
|
18575
18617
|
|
|
18576
|
-
// bazel-out/
|
|
18618
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
|
|
18577
18619
|
function optimizeTrackFns(job) {
|
|
18578
18620
|
for (const unit of job.units) {
|
|
18579
18621
|
for (const op of unit.create) {
|
|
@@ -18623,7 +18665,7 @@ function isTrackByFunctionCall(rootView, expr) {
|
|
|
18623
18665
|
return true;
|
|
18624
18666
|
}
|
|
18625
18667
|
|
|
18626
|
-
// bazel-out/
|
|
18668
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
|
|
18627
18669
|
function generateTrackVariables(job) {
|
|
18628
18670
|
for (const unit of job.units) {
|
|
18629
18671
|
for (const op of unit.create) {
|
|
@@ -18644,7 +18686,7 @@ function generateTrackVariables(job) {
|
|
|
18644
18686
|
}
|
|
18645
18687
|
}
|
|
18646
18688
|
|
|
18647
|
-
// bazel-out/
|
|
18689
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
|
|
18648
18690
|
function countVariables(job) {
|
|
18649
18691
|
for (const unit of job.units) {
|
|
18650
18692
|
let varCount = 0;
|
|
@@ -18757,7 +18799,7 @@ function isSingletonInterpolation(expr) {
|
|
|
18757
18799
|
return true;
|
|
18758
18800
|
}
|
|
18759
18801
|
|
|
18760
|
-
// bazel-out/
|
|
18802
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
|
|
18761
18803
|
function optimizeVariables(job) {
|
|
18762
18804
|
for (const unit of job.units) {
|
|
18763
18805
|
inlineAlwaysInlineVariables(unit.create);
|
|
@@ -19009,7 +19051,7 @@ function allowConservativeInlining(decl, target) {
|
|
|
19009
19051
|
}
|
|
19010
19052
|
}
|
|
19011
19053
|
|
|
19012
|
-
// bazel-out/
|
|
19054
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
|
|
19013
19055
|
function wrapI18nIcus(job) {
|
|
19014
19056
|
for (const unit of job.units) {
|
|
19015
19057
|
let currentI18nOp = null;
|
|
@@ -19039,7 +19081,7 @@ function wrapI18nIcus(job) {
|
|
|
19039
19081
|
}
|
|
19040
19082
|
}
|
|
19041
19083
|
|
|
19042
|
-
// bazel-out/
|
|
19084
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/store_let_optimization.mjs
|
|
19043
19085
|
function optimizeStoreLet(job) {
|
|
19044
19086
|
const letUsedExternally = /* @__PURE__ */ new Set();
|
|
19045
19087
|
for (const unit of job.units) {
|
|
@@ -19058,7 +19100,7 @@ function optimizeStoreLet(job) {
|
|
|
19058
19100
|
}
|
|
19059
19101
|
}
|
|
19060
19102
|
|
|
19061
|
-
// bazel-out/
|
|
19103
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_illegal_let_references.mjs
|
|
19062
19104
|
function removeIllegalLetReferences(job) {
|
|
19063
19105
|
for (const unit of job.units) {
|
|
19064
19106
|
for (const op of unit.update) {
|
|
@@ -19075,7 +19117,7 @@ function removeIllegalLetReferences(job) {
|
|
|
19075
19117
|
}
|
|
19076
19118
|
}
|
|
19077
19119
|
|
|
19078
|
-
// bazel-out/
|
|
19120
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_local_let_references.mjs
|
|
19079
19121
|
function generateLocalLetReferences(job) {
|
|
19080
19122
|
for (const unit of job.units) {
|
|
19081
19123
|
for (const op of unit.update) {
|
|
@@ -19093,7 +19135,7 @@ function generateLocalLetReferences(job) {
|
|
|
19093
19135
|
}
|
|
19094
19136
|
}
|
|
19095
19137
|
|
|
19096
|
-
// bazel-out/
|
|
19138
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
|
|
19097
19139
|
var phases = [
|
|
19098
19140
|
{ kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
|
|
19099
19141
|
{ kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
|
|
@@ -19250,7 +19292,7 @@ function emitHostBindingFunction(job) {
|
|
|
19250
19292
|
);
|
|
19251
19293
|
}
|
|
19252
19294
|
|
|
19253
|
-
// bazel-out/
|
|
19295
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
|
|
19254
19296
|
var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
|
|
19255
19297
|
var domSchema = new DomElementSchemaRegistry();
|
|
19256
19298
|
var NG_TEMPLATE_TAG_NAME = "ng-template";
|
|
@@ -20008,7 +20050,7 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
|
|
|
20008
20050
|
return null;
|
|
20009
20051
|
}
|
|
20010
20052
|
|
|
20011
|
-
// bazel-out/
|
|
20053
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
|
|
20012
20054
|
function renderFlagCheckIfStmt(flags, statements) {
|
|
20013
20055
|
return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
|
|
20014
20056
|
}
|
|
@@ -20128,7 +20170,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
|
|
|
20128
20170
|
], INFERRED_TYPE, null, contentQueriesFnName);
|
|
20129
20171
|
}
|
|
20130
20172
|
|
|
20131
|
-
// bazel-out/
|
|
20173
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
|
|
20132
20174
|
var HtmlParser = class extends Parser {
|
|
20133
20175
|
constructor() {
|
|
20134
20176
|
super(getHtmlTagDefinition);
|
|
@@ -20138,7 +20180,7 @@ var HtmlParser = class extends Parser {
|
|
|
20138
20180
|
}
|
|
20139
20181
|
};
|
|
20140
20182
|
|
|
20141
|
-
// bazel-out/
|
|
20183
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
|
|
20142
20184
|
var PROPERTY_PARTS_SEPARATOR = ".";
|
|
20143
20185
|
var ATTRIBUTE_PREFIX = "attr";
|
|
20144
20186
|
var CLASS_PREFIX = "class";
|
|
@@ -20492,7 +20534,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
|
|
|
20492
20534
|
return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
|
|
20493
20535
|
}
|
|
20494
20536
|
|
|
20495
|
-
// bazel-out/
|
|
20537
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
|
|
20496
20538
|
function isStyleUrlResolvable(url) {
|
|
20497
20539
|
if (url == null || url.length === 0 || url[0] == "/")
|
|
20498
20540
|
return false;
|
|
@@ -20501,7 +20543,7 @@ function isStyleUrlResolvable(url) {
|
|
|
20501
20543
|
}
|
|
20502
20544
|
var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
|
|
20503
20545
|
|
|
20504
|
-
// bazel-out/
|
|
20546
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
|
|
20505
20547
|
var NG_CONTENT_SELECT_ATTR = "select";
|
|
20506
20548
|
var LINK_ELEMENT = "link";
|
|
20507
20549
|
var LINK_STYLE_REL_ATTR = "rel";
|
|
@@ -20571,7 +20613,7 @@ function normalizeNgContentSelect(selectAttr) {
|
|
|
20571
20613
|
return selectAttr;
|
|
20572
20614
|
}
|
|
20573
20615
|
|
|
20574
|
-
// bazel-out/
|
|
20616
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
|
|
20575
20617
|
var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
|
|
20576
20618
|
var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
|
|
20577
20619
|
var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
|
|
@@ -20894,7 +20936,7 @@ function stripOptionalParentheses(param, errors) {
|
|
|
20894
20936
|
return expression.slice(start, end);
|
|
20895
20937
|
}
|
|
20896
20938
|
|
|
20897
|
-
// bazel-out/
|
|
20939
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
|
|
20898
20940
|
var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
|
|
20899
20941
|
var SEPARATOR_PATTERN = /^\s$/;
|
|
20900
20942
|
var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
|
|
@@ -21158,7 +21200,7 @@ function parseDeferredTime(value) {
|
|
|
21158
21200
|
return parseFloat(time) * (units === "s" ? 1e3 : 1);
|
|
21159
21201
|
}
|
|
21160
21202
|
|
|
21161
|
-
// bazel-out/
|
|
21203
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
|
|
21162
21204
|
var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
|
|
21163
21205
|
var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
|
|
21164
21206
|
var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
|
|
@@ -21293,7 +21335,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
|
|
|
21293
21335
|
return { triggers, prefetchTriggers };
|
|
21294
21336
|
}
|
|
21295
21337
|
|
|
21296
|
-
// bazel-out/
|
|
21338
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
|
|
21297
21339
|
var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
|
|
21298
21340
|
var KW_BIND_IDX = 1;
|
|
21299
21341
|
var KW_LET_IDX = 2;
|
|
@@ -21760,7 +21802,7 @@ function textContents(node) {
|
|
|
21760
21802
|
}
|
|
21761
21803
|
}
|
|
21762
21804
|
|
|
21763
|
-
// bazel-out/
|
|
21805
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
|
|
21764
21806
|
var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
|
|
21765
21807
|
function parseTemplate(template2, templateUrl, options = {}) {
|
|
21766
21808
|
var _a2, _b2, _c2;
|
|
@@ -21854,7 +21896,7 @@ function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, a
|
|
|
21854
21896
|
return new BindingParser(new Parser2(new Lexer()), interpolationConfig, elementRegistry, [], allowInvalidAssignmentEvents);
|
|
21855
21897
|
}
|
|
21856
21898
|
|
|
21857
|
-
// bazel-out/
|
|
21899
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
|
|
21858
21900
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
21859
21901
|
var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
|
|
21860
21902
|
var CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
|
|
@@ -22221,7 +22263,7 @@ function createHostDirectivesMappingArray(mapping) {
|
|
|
22221
22263
|
return elements.length > 0 ? literalArr(elements) : null;
|
|
22222
22264
|
}
|
|
22223
22265
|
|
|
22224
|
-
// bazel-out/
|
|
22266
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
|
|
22225
22267
|
var R3TargetBinder = class {
|
|
22226
22268
|
constructor(directiveMatcher) {
|
|
22227
22269
|
this.directiveMatcher = directiveMatcher;
|
|
@@ -22868,11 +22910,11 @@ function extractScopedNodeEntities(rootScope) {
|
|
|
22868
22910
|
return templateEntities;
|
|
22869
22911
|
}
|
|
22870
22912
|
|
|
22871
|
-
// bazel-out/
|
|
22913
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
|
|
22872
22914
|
var ResourceLoader = class {
|
|
22873
22915
|
};
|
|
22874
22916
|
|
|
22875
|
-
// bazel-out/
|
|
22917
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
|
|
22876
22918
|
var CompilerFacadeImpl = class {
|
|
22877
22919
|
constructor(jitEvaluator = new JitEvaluator()) {
|
|
22878
22920
|
this.jitEvaluator = jitEvaluator;
|
|
@@ -23450,17 +23492,17 @@ function publishFacade(global) {
|
|
|
23450
23492
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
23451
23493
|
}
|
|
23452
23494
|
|
|
23453
|
-
// bazel-out/
|
|
23454
|
-
var VERSION2 = new Version("18.2.
|
|
23495
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
|
|
23496
|
+
var VERSION2 = new Version("18.2.8");
|
|
23455
23497
|
|
|
23456
|
-
// bazel-out/
|
|
23498
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
23457
23499
|
var _VisitorMode;
|
|
23458
23500
|
(function(_VisitorMode2) {
|
|
23459
23501
|
_VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
|
|
23460
23502
|
_VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
|
|
23461
23503
|
})(_VisitorMode || (_VisitorMode = {}));
|
|
23462
23504
|
|
|
23463
|
-
// bazel-out/
|
|
23505
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
|
|
23464
23506
|
var XmlTagDefinition = class {
|
|
23465
23507
|
constructor() {
|
|
23466
23508
|
this.closedByParent = false;
|
|
@@ -23482,7 +23524,7 @@ var XmlTagDefinition = class {
|
|
|
23482
23524
|
};
|
|
23483
23525
|
var _TAG_DEFINITION = new XmlTagDefinition();
|
|
23484
23526
|
|
|
23485
|
-
// bazel-out/
|
|
23527
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
|
|
23486
23528
|
var FactoryTarget2;
|
|
23487
23529
|
(function(FactoryTarget3) {
|
|
23488
23530
|
FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
|
|
@@ -23492,13 +23534,13 @@ var FactoryTarget2;
|
|
|
23492
23534
|
FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
|
|
23493
23535
|
})(FactoryTarget2 || (FactoryTarget2 = {}));
|
|
23494
23536
|
|
|
23495
|
-
// bazel-out/
|
|
23537
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
|
|
23496
23538
|
publishFacade(_global);
|
|
23497
23539
|
|
|
23498
|
-
// bazel-out/
|
|
23540
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
23499
23541
|
var import_typescript24 = __toESM(require("typescript"), 1);
|
|
23500
23542
|
|
|
23501
|
-
// bazel-out/
|
|
23543
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
23502
23544
|
var ErrorCode;
|
|
23503
23545
|
(function(ErrorCode2) {
|
|
23504
23546
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -23593,7 +23635,7 @@ var ErrorCode;
|
|
|
23593
23635
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
23594
23636
|
})(ErrorCode || (ErrorCode = {}));
|
|
23595
23637
|
|
|
23596
|
-
// bazel-out/
|
|
23638
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
23597
23639
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
23598
23640
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
23599
23641
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -23605,10 +23647,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
23605
23647
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
23606
23648
|
]);
|
|
23607
23649
|
|
|
23608
|
-
// bazel-out/
|
|
23650
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
23609
23651
|
var import_typescript3 = __toESM(require("typescript"), 1);
|
|
23610
23652
|
|
|
23611
|
-
// bazel-out/
|
|
23653
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
23612
23654
|
var ExtendedTemplateDiagnosticName;
|
|
23613
23655
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
23614
23656
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -23625,16 +23667,16 @@ var ExtendedTemplateDiagnosticName;
|
|
|
23625
23667
|
ExtendedTemplateDiagnosticName2["UNUSED_LET_DECLARATION"] = "unusedLetDeclaration";
|
|
23626
23668
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
23627
23669
|
|
|
23628
|
-
// bazel-out/
|
|
23670
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
23629
23671
|
var import_typescript23 = __toESM(require("typescript"), 1);
|
|
23630
23672
|
|
|
23631
|
-
// bazel-out/
|
|
23673
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
23632
23674
|
var import_typescript7 = __toESM(require("typescript"), 1);
|
|
23633
23675
|
|
|
23634
|
-
// bazel-out/
|
|
23676
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
23635
23677
|
var import_typescript4 = __toESM(require("typescript"), 1);
|
|
23636
23678
|
|
|
23637
|
-
// bazel-out/
|
|
23679
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
23638
23680
|
var InvalidFileSystem = class {
|
|
23639
23681
|
exists(path2) {
|
|
23640
23682
|
throw makeError();
|
|
@@ -23722,18 +23764,18 @@ function makeError() {
|
|
|
23722
23764
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
23723
23765
|
}
|
|
23724
23766
|
|
|
23725
|
-
// bazel-out/
|
|
23767
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
23726
23768
|
var fs = new InvalidFileSystem();
|
|
23727
23769
|
var ABSOLUTE_PATH = Symbol("AbsolutePath");
|
|
23728
23770
|
|
|
23729
|
-
// bazel-out/
|
|
23771
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
23730
23772
|
var import_url = require("url");
|
|
23731
23773
|
var import_meta3 = {};
|
|
23732
23774
|
var isCommonJS = typeof __filename !== "undefined";
|
|
23733
23775
|
var currentFileUrl = isCommonJS ? null : import_meta3.url;
|
|
23734
23776
|
var currentFileName = isCommonJS ? __filename : (0, import_url.fileURLToPath)(currentFileUrl);
|
|
23735
23777
|
|
|
23736
|
-
// bazel-out/
|
|
23778
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
23737
23779
|
var import_typescript5 = __toESM(require("typescript"), 1);
|
|
23738
23780
|
function identifierOfNode(decl) {
|
|
23739
23781
|
if (decl.name !== void 0 && import_typescript5.default.isIdentifier(decl.name)) {
|
|
@@ -23743,7 +23785,7 @@ function identifierOfNode(decl) {
|
|
|
23743
23785
|
}
|
|
23744
23786
|
}
|
|
23745
23787
|
|
|
23746
|
-
// bazel-out/
|
|
23788
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
23747
23789
|
var ImportFlags;
|
|
23748
23790
|
(function(ImportFlags2) {
|
|
23749
23791
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -23754,7 +23796,7 @@ var ImportFlags;
|
|
|
23754
23796
|
ImportFlags2[ImportFlags2["AllowAmbientReferences"] = 16] = "AllowAmbientReferences";
|
|
23755
23797
|
})(ImportFlags || (ImportFlags = {}));
|
|
23756
23798
|
|
|
23757
|
-
// bazel-out/
|
|
23799
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
23758
23800
|
var import_typescript9 = __toESM(require("typescript"), 1);
|
|
23759
23801
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
23760
23802
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -23789,16 +23831,16 @@ function throwIncompatibleTransformationContextError() {
|
|
|
23789
23831
|
throw Error("Angular compiler is incompatible with this version of the TypeScript compiler.\n\nIf you recently updated TypeScript and this issue surfaces now, consider downgrading.\n\nPlease report an issue on the Angular repositories when this issue surfaces and you are using a supposedly compatible TypeScript version.");
|
|
23790
23832
|
}
|
|
23791
23833
|
|
|
23792
|
-
// bazel-out/
|
|
23834
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
23793
23835
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
23794
23836
|
|
|
23795
|
-
// bazel-out/
|
|
23837
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
23796
23838
|
var import_typescript15 = __toESM(require("typescript"), 1);
|
|
23797
23839
|
|
|
23798
|
-
// bazel-out/
|
|
23840
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
23799
23841
|
var import_typescript14 = __toESM(require("typescript"), 1);
|
|
23800
23842
|
|
|
23801
|
-
// bazel-out/
|
|
23843
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
23802
23844
|
var import_typescript11 = __toESM(require("typescript"), 1);
|
|
23803
23845
|
var ClassMemberKind;
|
|
23804
23846
|
(function(ClassMemberKind2) {
|
|
@@ -23818,22 +23860,22 @@ var ClassMemberAccessLevel;
|
|
|
23818
23860
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
23819
23861
|
var AmbientImport = {};
|
|
23820
23862
|
|
|
23821
|
-
// bazel-out/
|
|
23863
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
23822
23864
|
var import_typescript12 = __toESM(require("typescript"), 1);
|
|
23823
23865
|
|
|
23824
|
-
// bazel-out/
|
|
23866
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
23825
23867
|
var import_typescript13 = __toESM(require("typescript"), 1);
|
|
23826
23868
|
|
|
23827
|
-
// bazel-out/
|
|
23869
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
23828
23870
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
23829
23871
|
|
|
23830
|
-
// bazel-out/
|
|
23872
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
|
|
23831
23873
|
var import_typescript17 = __toESM(require("typescript"), 1);
|
|
23832
23874
|
|
|
23833
|
-
// bazel-out/
|
|
23875
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
|
|
23834
23876
|
var import_typescript18 = __toESM(require("typescript"), 1);
|
|
23835
23877
|
|
|
23836
|
-
// bazel-out/
|
|
23878
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
23837
23879
|
var Reference2 = class {
|
|
23838
23880
|
constructor(node, bestGuessOwningModule = null) {
|
|
23839
23881
|
this.node = node;
|
|
@@ -23902,10 +23944,10 @@ var Reference2 = class {
|
|
|
23902
23944
|
}
|
|
23903
23945
|
};
|
|
23904
23946
|
|
|
23905
|
-
// bazel-out/
|
|
23947
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
23906
23948
|
var import_typescript47 = __toESM(require("typescript"), 1);
|
|
23907
23949
|
|
|
23908
|
-
// bazel-out/
|
|
23950
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
23909
23951
|
var MetaKind;
|
|
23910
23952
|
(function(MetaKind2) {
|
|
23911
23953
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -23918,10 +23960,10 @@ var MatchSource;
|
|
|
23918
23960
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
23919
23961
|
})(MatchSource || (MatchSource = {}));
|
|
23920
23962
|
|
|
23921
|
-
// bazel-out/
|
|
23963
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
23922
23964
|
var import_typescript27 = __toESM(require("typescript"), 1);
|
|
23923
23965
|
|
|
23924
|
-
// bazel-out/
|
|
23966
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
23925
23967
|
var ClassPropertyMapping = class {
|
|
23926
23968
|
constructor(forwardMap) {
|
|
23927
23969
|
this.forwardMap = forwardMap;
|
|
@@ -24001,13 +24043,13 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
24001
24043
|
return reverseMap;
|
|
24002
24044
|
}
|
|
24003
24045
|
|
|
24004
|
-
// bazel-out/
|
|
24046
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
24005
24047
|
var import_typescript25 = __toESM(require("typescript"), 1);
|
|
24006
24048
|
|
|
24007
|
-
// bazel-out/
|
|
24049
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
24008
24050
|
var import_typescript29 = __toESM(require("typescript"), 1);
|
|
24009
24051
|
|
|
24010
|
-
// bazel-out/
|
|
24052
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
24011
24053
|
var import_typescript30 = __toESM(require("typescript"), 1);
|
|
24012
24054
|
function literalBinaryOp(op) {
|
|
24013
24055
|
return { op, literal: true };
|
|
@@ -24046,7 +24088,7 @@ var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
|
24046
24088
|
[import_typescript30.default.SyntaxKind.ExclamationToken, (a) => !a]
|
|
24047
24089
|
]);
|
|
24048
24090
|
|
|
24049
|
-
// bazel-out/
|
|
24091
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
24050
24092
|
var CompilationMode;
|
|
24051
24093
|
(function(CompilationMode2) {
|
|
24052
24094
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -24060,13 +24102,13 @@ var HandlerPrecedence;
|
|
|
24060
24102
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
24061
24103
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
24062
24104
|
|
|
24063
|
-
// bazel-out/
|
|
24105
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
24064
24106
|
var import_typescript32 = __toESM(require("typescript"), 1);
|
|
24065
24107
|
|
|
24066
|
-
// bazel-out/
|
|
24108
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
24067
24109
|
var import_typescript33 = __toESM(require("typescript"), 1);
|
|
24068
24110
|
|
|
24069
|
-
// bazel-out/
|
|
24111
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
24070
24112
|
var PerfPhase;
|
|
24071
24113
|
(function(PerfPhase2) {
|
|
24072
24114
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -24136,7 +24178,7 @@ var PerfCheckpoint;
|
|
|
24136
24178
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
24137
24179
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
24138
24180
|
|
|
24139
|
-
// bazel-out/
|
|
24181
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
24140
24182
|
var NoopPerfRecorder = class {
|
|
24141
24183
|
eventCount() {
|
|
24142
24184
|
}
|
|
@@ -24153,7 +24195,7 @@ var NoopPerfRecorder = class {
|
|
|
24153
24195
|
};
|
|
24154
24196
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
24155
24197
|
|
|
24156
|
-
// bazel-out/
|
|
24198
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
24157
24199
|
var TraitState;
|
|
24158
24200
|
(function(TraitState2) {
|
|
24159
24201
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -24162,13 +24204,13 @@ var TraitState;
|
|
|
24162
24204
|
TraitState2[TraitState2["Skipped"] = 3] = "Skipped";
|
|
24163
24205
|
})(TraitState || (TraitState = {}));
|
|
24164
24206
|
|
|
24165
|
-
// bazel-out/
|
|
24207
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
24166
24208
|
var import_typescript44 = __toESM(require("typescript"), 1);
|
|
24167
24209
|
|
|
24168
|
-
// bazel-out/
|
|
24210
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
24169
24211
|
var import_typescript39 = __toESM(require("typescript"), 1);
|
|
24170
24212
|
|
|
24171
|
-
// bazel-out/
|
|
24213
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
|
|
24172
24214
|
var import_typescript35 = __toESM(require("typescript"), 1);
|
|
24173
24215
|
function createGenerateUniqueIdentifierHelper() {
|
|
24174
24216
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -24194,7 +24236,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
24194
24236
|
};
|
|
24195
24237
|
}
|
|
24196
24238
|
|
|
24197
|
-
// bazel-out/
|
|
24239
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
|
|
24198
24240
|
var import_typescript36 = __toESM(require("typescript"), 1);
|
|
24199
24241
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
24200
24242
|
return (ctx) => {
|
|
@@ -24261,7 +24303,7 @@ function isImportStatement(stmt) {
|
|
|
24261
24303
|
return import_typescript36.default.isImportDeclaration(stmt) || import_typescript36.default.isImportEqualsDeclaration(stmt) || import_typescript36.default.isNamespaceImport(stmt);
|
|
24262
24304
|
}
|
|
24263
24305
|
|
|
24264
|
-
// bazel-out/
|
|
24306
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
|
|
24265
24307
|
var import_typescript37 = __toESM(require("typescript"), 1);
|
|
24266
24308
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
24267
24309
|
const requestHash = hashImportRequest(request);
|
|
@@ -24288,7 +24330,7 @@ function hashImportRequest(req) {
|
|
|
24288
24330
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}${req.unsafeAliasOverride ? ":" + req.unsafeAliasOverride : ""}`;
|
|
24289
24331
|
}
|
|
24290
24332
|
|
|
24291
|
-
// bazel-out/
|
|
24333
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
|
|
24292
24334
|
var import_typescript38 = __toESM(require("typescript"), 1);
|
|
24293
24335
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
24294
24336
|
let candidateImportToBeUpdated = null;
|
|
@@ -24348,7 +24390,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
24348
24390
|
return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
|
|
24349
24391
|
}
|
|
24350
24392
|
|
|
24351
|
-
// bazel-out/
|
|
24393
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
24352
24394
|
var ImportManager = class {
|
|
24353
24395
|
constructor(config = {}) {
|
|
24354
24396
|
var _a2, _b2, _c2, _d2, _e2, _f2;
|
|
@@ -24562,7 +24604,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
24562
24604
|
}
|
|
24563
24605
|
}
|
|
24564
24606
|
|
|
24565
|
-
// bazel-out/
|
|
24607
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
24566
24608
|
var UNARY_OPERATORS2 = /* @__PURE__ */ new Map([
|
|
24567
24609
|
[UnaryOperator.Minus, "-"],
|
|
24568
24610
|
[UnaryOperator.Plus, "+"]
|
|
@@ -24588,7 +24630,7 @@ var BINARY_OPERATORS3 = /* @__PURE__ */ new Map([
|
|
|
24588
24630
|
[BinaryOperator.NullishCoalesce, "??"]
|
|
24589
24631
|
]);
|
|
24590
24632
|
|
|
24591
|
-
// bazel-out/
|
|
24633
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
24592
24634
|
var import_typescript40 = __toESM(require("typescript"), 1);
|
|
24593
24635
|
var INELIGIBLE = {};
|
|
24594
24636
|
function canEmitType(type, canEmit) {
|
|
@@ -24663,13 +24705,13 @@ var TypeEmitter = class {
|
|
|
24663
24705
|
}
|
|
24664
24706
|
};
|
|
24665
24707
|
|
|
24666
|
-
// bazel-out/
|
|
24708
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
24667
24709
|
var import_typescript42 = __toESM(require("typescript"), 1);
|
|
24668
24710
|
|
|
24669
|
-
// bazel-out/
|
|
24711
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
24670
24712
|
var import_typescript41 = __toESM(require("typescript"), 1);
|
|
24671
24713
|
|
|
24672
|
-
// bazel-out/
|
|
24714
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
24673
24715
|
var import_typescript43 = __toESM(require("typescript"), 1);
|
|
24674
24716
|
var PureAnnotation;
|
|
24675
24717
|
(function(PureAnnotation2) {
|
|
@@ -24707,50 +24749,50 @@ var VAR_TYPES = {
|
|
|
24707
24749
|
"var": import_typescript43.default.NodeFlags.None
|
|
24708
24750
|
};
|
|
24709
24751
|
|
|
24710
|
-
// bazel-out/
|
|
24752
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
24711
24753
|
var import_typescript46 = __toESM(require("typescript"), 1);
|
|
24712
24754
|
|
|
24713
|
-
// bazel-out/
|
|
24755
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
24714
24756
|
var import_typescript45 = __toESM(require("typescript"), 1);
|
|
24715
24757
|
|
|
24716
|
-
// bazel-out/
|
|
24758
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
24717
24759
|
var import_typescript49 = __toESM(require("typescript"), 1);
|
|
24718
24760
|
|
|
24719
|
-
// bazel-out/
|
|
24761
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
24720
24762
|
var import_typescript50 = __toESM(require("typescript"), 1);
|
|
24721
24763
|
|
|
24722
|
-
// bazel-out/
|
|
24764
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
24723
24765
|
var import_typescript89 = __toESM(require("typescript"), 1);
|
|
24724
24766
|
|
|
24725
|
-
// bazel-out/
|
|
24767
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
24726
24768
|
var import_typescript51 = __toESM(require("typescript"), 1);
|
|
24727
24769
|
|
|
24728
|
-
// bazel-out/
|
|
24770
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
24729
24771
|
var import_typescript52 = __toESM(require("typescript"), 1);
|
|
24730
24772
|
|
|
24731
|
-
// bazel-out/
|
|
24773
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
24732
24774
|
var ComponentScopeKind;
|
|
24733
24775
|
(function(ComponentScopeKind2) {
|
|
24734
24776
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
24735
24777
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
24736
24778
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
24737
24779
|
|
|
24738
|
-
// bazel-out/
|
|
24780
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
24739
24781
|
var import_typescript53 = __toESM(require("typescript"), 1);
|
|
24740
24782
|
|
|
24741
|
-
// bazel-out/
|
|
24783
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
24742
24784
|
var import_typescript55 = __toESM(require("typescript"), 1);
|
|
24743
24785
|
|
|
24744
|
-
// bazel-out/
|
|
24786
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
24745
24787
|
var import_typescript59 = __toESM(require("typescript"), 1);
|
|
24746
24788
|
|
|
24747
|
-
// bazel-out/
|
|
24789
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.mjs
|
|
24748
24790
|
var import_typescript56 = __toESM(require("typescript"), 1);
|
|
24749
24791
|
|
|
24750
|
-
// bazel-out/
|
|
24792
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.mjs
|
|
24751
24793
|
var import_typescript57 = __toESM(require("typescript"), 1);
|
|
24752
24794
|
|
|
24753
|
-
// bazel-out/
|
|
24795
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
|
|
24754
24796
|
var INPUT_INITIALIZER_FN = {
|
|
24755
24797
|
functionName: "input",
|
|
24756
24798
|
owningModule: "@angular/core",
|
|
@@ -24761,7 +24803,7 @@ var INPUT_INITIALIZER_FN = {
|
|
|
24761
24803
|
]
|
|
24762
24804
|
};
|
|
24763
24805
|
|
|
24764
|
-
// bazel-out/
|
|
24806
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.mjs
|
|
24765
24807
|
var MODEL_INITIALIZER_FN = {
|
|
24766
24808
|
functionName: "model",
|
|
24767
24809
|
owningModule: "@angular/core",
|
|
@@ -24772,14 +24814,14 @@ var MODEL_INITIALIZER_FN = {
|
|
|
24772
24814
|
]
|
|
24773
24815
|
};
|
|
24774
24816
|
|
|
24775
|
-
// bazel-out/
|
|
24817
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.mjs
|
|
24776
24818
|
var allowedAccessLevels = [
|
|
24777
24819
|
ClassMemberAccessLevel.PublicWritable,
|
|
24778
24820
|
ClassMemberAccessLevel.PublicReadonly,
|
|
24779
24821
|
ClassMemberAccessLevel.Protected
|
|
24780
24822
|
];
|
|
24781
24823
|
|
|
24782
|
-
// bazel-out/
|
|
24824
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.mjs
|
|
24783
24825
|
var import_typescript58 = __toESM(require("typescript"), 1);
|
|
24784
24826
|
var queryFunctionNames = [
|
|
24785
24827
|
"viewChild",
|
|
@@ -24798,7 +24840,7 @@ var QUERY_INITIALIZER_FNS = queryFunctionNames.map((fnName) => ({
|
|
|
24798
24840
|
]
|
|
24799
24841
|
}));
|
|
24800
24842
|
|
|
24801
|
-
// bazel-out/
|
|
24843
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
24802
24844
|
var queryDecoratorNames = [
|
|
24803
24845
|
"ViewChild",
|
|
24804
24846
|
"ViewChildren",
|
|
@@ -24807,16 +24849,16 @@ var queryDecoratorNames = [
|
|
|
24807
24849
|
];
|
|
24808
24850
|
var QUERY_TYPES = new Set(queryDecoratorNames);
|
|
24809
24851
|
|
|
24810
|
-
// bazel-out/
|
|
24852
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
24811
24853
|
var import_typescript61 = __toESM(require("typescript"), 1);
|
|
24812
24854
|
|
|
24813
|
-
// bazel-out/
|
|
24855
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
24814
24856
|
var import_typescript60 = __toESM(require("typescript"), 1);
|
|
24815
24857
|
|
|
24816
|
-
// bazel-out/
|
|
24858
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
24817
24859
|
var import_typescript63 = __toESM(require("typescript"), 1);
|
|
24818
24860
|
|
|
24819
|
-
// bazel-out/
|
|
24861
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
24820
24862
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
24821
24863
|
var UpdateMode;
|
|
24822
24864
|
(function(UpdateMode2) {
|
|
@@ -24824,23 +24866,23 @@ var UpdateMode;
|
|
|
24824
24866
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
24825
24867
|
})(UpdateMode || (UpdateMode = {}));
|
|
24826
24868
|
|
|
24827
|
-
// bazel-out/
|
|
24869
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
24828
24870
|
var import_typescript67 = __toESM(require("typescript"), 1);
|
|
24829
24871
|
|
|
24830
|
-
// bazel-out/
|
|
24872
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
24831
24873
|
var import_typescript64 = __toESM(require("typescript"), 1);
|
|
24832
24874
|
|
|
24833
|
-
// bazel-out/
|
|
24875
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
24834
24876
|
var NgExtension = Symbol("NgExtension");
|
|
24835
24877
|
|
|
24836
|
-
// bazel-out/
|
|
24878
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
24837
24879
|
var OptimizeFor;
|
|
24838
24880
|
(function(OptimizeFor2) {
|
|
24839
24881
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
24840
24882
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
24841
24883
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
24842
24884
|
|
|
24843
|
-
// bazel-out/
|
|
24885
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
24844
24886
|
var CompletionKind;
|
|
24845
24887
|
(function(CompletionKind2) {
|
|
24846
24888
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
@@ -24848,7 +24890,7 @@ var CompletionKind;
|
|
|
24848
24890
|
CompletionKind2[CompletionKind2["LetDeclaration"] = 2] = "LetDeclaration";
|
|
24849
24891
|
})(CompletionKind || (CompletionKind = {}));
|
|
24850
24892
|
|
|
24851
|
-
// bazel-out/
|
|
24893
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
24852
24894
|
var PotentialImportKind;
|
|
24853
24895
|
(function(PotentialImportKind2) {
|
|
24854
24896
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -24860,7 +24902,7 @@ var PotentialImportMode;
|
|
|
24860
24902
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
24861
24903
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
24862
24904
|
|
|
24863
|
-
// bazel-out/
|
|
24905
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
24864
24906
|
var SymbolKind;
|
|
24865
24907
|
(function(SymbolKind2) {
|
|
24866
24908
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -24877,18 +24919,18 @@ var SymbolKind;
|
|
|
24877
24919
|
SymbolKind2[SymbolKind2["LetDeclaration"] = 11] = "LetDeclaration";
|
|
24878
24920
|
})(SymbolKind || (SymbolKind = {}));
|
|
24879
24921
|
|
|
24880
|
-
// bazel-out/
|
|
24922
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
24881
24923
|
var import_typescript69 = __toESM(require("typescript"), 1);
|
|
24882
24924
|
var TemplateSourceFile = Symbol("TemplateSourceFile");
|
|
24883
24925
|
|
|
24884
|
-
// bazel-out/
|
|
24926
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
24885
24927
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
24886
24928
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
24887
24929
|
|
|
24888
|
-
// bazel-out/
|
|
24930
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
24889
24931
|
var import_typescript71 = __toESM(require("typescript"), 1);
|
|
24890
24932
|
|
|
24891
|
-
// bazel-out/
|
|
24933
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
24892
24934
|
var import_typescript70 = __toESM(require("typescript"), 1);
|
|
24893
24935
|
var CommentTriviaType;
|
|
24894
24936
|
(function(CommentTriviaType2) {
|
|
@@ -24933,17 +24975,17 @@ for (let i = 0; i < chars.length; i++) {
|
|
|
24933
24975
|
}
|
|
24934
24976
|
var bufLength = 1024 * 16;
|
|
24935
24977
|
|
|
24936
|
-
// bazel-out/
|
|
24978
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
24937
24979
|
var import_typescript85 = __toESM(require("typescript"), 1);
|
|
24938
24980
|
|
|
24939
|
-
// bazel-out/
|
|
24981
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
24940
24982
|
var import_typescript72 = __toESM(require("typescript"), 1);
|
|
24941
24983
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
24942
24984
|
|
|
24943
|
-
// bazel-out/
|
|
24985
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
24944
24986
|
var import_typescript78 = __toESM(require("typescript"), 1);
|
|
24945
24987
|
|
|
24946
|
-
// bazel-out/
|
|
24988
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
24947
24989
|
var import_typescript73 = __toESM(require("typescript"), 1);
|
|
24948
24990
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
24949
24991
|
import_typescript73.default.SyntaxKind.ParenthesizedExpression,
|
|
@@ -25023,13 +25065,13 @@ function tsNumericExpression2(value) {
|
|
|
25023
25065
|
return import_typescript73.default.factory.createNumericLiteral(value);
|
|
25024
25066
|
}
|
|
25025
25067
|
|
|
25026
|
-
// bazel-out/
|
|
25068
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
25027
25069
|
var import_typescript77 = __toESM(require("typescript"), 1);
|
|
25028
25070
|
|
|
25029
|
-
// bazel-out/
|
|
25071
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
25030
25072
|
var import_typescript75 = __toESM(require("typescript"), 1);
|
|
25031
25073
|
|
|
25032
|
-
// bazel-out/
|
|
25074
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
25033
25075
|
var import_typescript74 = __toESM(require("typescript"), 1);
|
|
25034
25076
|
var TypeParameterEmitter = class {
|
|
25035
25077
|
constructor(typeParameters, reflector) {
|
|
@@ -25107,7 +25149,7 @@ var TypeParameterEmitter = class {
|
|
|
25107
25149
|
}
|
|
25108
25150
|
};
|
|
25109
25151
|
|
|
25110
|
-
// bazel-out/
|
|
25152
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
25111
25153
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
25112
25154
|
Identifiers.InputSignalBrandWriteType
|
|
25113
25155
|
];
|
|
@@ -25122,21 +25164,21 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
25122
25164
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
25123
25165
|
}
|
|
25124
25166
|
|
|
25125
|
-
// bazel-out/
|
|
25167
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
25126
25168
|
function requiresInlineTypeCtor(node, host, env) {
|
|
25127
25169
|
return !checkIfGenericTypeBoundsCanBeEmitted(node, host, env);
|
|
25128
25170
|
}
|
|
25129
25171
|
|
|
25130
|
-
// bazel-out/
|
|
25172
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
25131
25173
|
var import_typescript79 = __toESM(require("typescript"), 1);
|
|
25132
25174
|
|
|
25133
|
-
// bazel-out/
|
|
25175
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
25134
25176
|
var import_typescript80 = __toESM(require("typescript"), 1);
|
|
25135
25177
|
|
|
25136
|
-
// bazel-out/
|
|
25178
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
25137
25179
|
var import_typescript83 = __toESM(require("typescript"), 1);
|
|
25138
25180
|
|
|
25139
|
-
// bazel-out/
|
|
25181
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
25140
25182
|
var import_typescript81 = __toESM(require("typescript"), 1);
|
|
25141
25183
|
function wrapForDiagnostics(expr) {
|
|
25142
25184
|
return import_typescript81.default.factory.createParenthesizedExpression(expr);
|
|
@@ -25159,7 +25201,7 @@ function addParseSpanInfo(node, span) {
|
|
|
25159
25201
|
);
|
|
25160
25202
|
}
|
|
25161
25203
|
|
|
25162
|
-
// bazel-out/
|
|
25204
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
25163
25205
|
var import_typescript82 = __toESM(require("typescript"), 1);
|
|
25164
25206
|
var ANY_EXPRESSION = import_typescript82.default.factory.createAsExpression(import_typescript82.default.factory.createNumericLiteral("0"), import_typescript82.default.factory.createKeywordTypeNode(import_typescript82.default.SyntaxKind.AnyKeyword));
|
|
25165
25207
|
var UNDEFINED = import_typescript82.default.factory.createIdentifier("undefined");
|
|
@@ -25491,7 +25533,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
25491
25533
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
25492
25534
|
})();
|
|
25493
25535
|
|
|
25494
|
-
// bazel-out/
|
|
25536
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
25495
25537
|
var TcbGenericContextBehavior;
|
|
25496
25538
|
(function(TcbGenericContextBehavior2) {
|
|
25497
25539
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -27003,29 +27045,29 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
27003
27045
|
}
|
|
27004
27046
|
};
|
|
27005
27047
|
|
|
27006
|
-
// bazel-out/
|
|
27048
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
27007
27049
|
var import_typescript84 = __toESM(require("typescript"), 1);
|
|
27008
27050
|
|
|
27009
|
-
// bazel-out/
|
|
27051
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
27010
27052
|
var InliningMode;
|
|
27011
27053
|
(function(InliningMode2) {
|
|
27012
27054
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
27013
27055
|
InliningMode2[InliningMode2["Error"] = 1] = "Error";
|
|
27014
27056
|
})(InliningMode || (InliningMode = {}));
|
|
27015
27057
|
|
|
27016
|
-
// bazel-out/
|
|
27058
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
27017
27059
|
var import_typescript86 = __toESM(require("typescript"), 1);
|
|
27018
27060
|
|
|
27019
|
-
// bazel-out/
|
|
27061
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
27020
27062
|
var REGISTRY2 = new DomElementSchemaRegistry();
|
|
27021
27063
|
|
|
27022
|
-
// bazel-out/
|
|
27064
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
27023
27065
|
var import_typescript91 = __toESM(require("typescript"), 1);
|
|
27024
27066
|
|
|
27025
|
-
// bazel-out/
|
|
27067
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
27026
27068
|
var import_typescript92 = __toESM(require("typescript"), 1);
|
|
27027
27069
|
|
|
27028
|
-
// bazel-out/
|
|
27070
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
|
|
27029
27071
|
var ChangeTracker = class {
|
|
27030
27072
|
constructor(_printer, _importRemapper) {
|
|
27031
27073
|
__publicField(this, "_printer");
|
|
@@ -27143,7 +27185,7 @@ function normalizePath(path2) {
|
|
|
27143
27185
|
return path2.replace(/\\/g, "/");
|
|
27144
27186
|
}
|
|
27145
27187
|
|
|
27146
|
-
// bazel-out/
|
|
27188
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
|
|
27147
27189
|
var import_typescript94 = __toESM(require("typescript"), 1);
|
|
27148
27190
|
function getImportOfIdentifier(typeChecker, node) {
|
|
27149
27191
|
const symbol = typeChecker.getSymbolAtLocation(node);
|
|
@@ -27216,7 +27258,7 @@ function findImportSpecifier(nodes, specifierName) {
|
|
|
27216
27258
|
});
|
|
27217
27259
|
}
|
|
27218
27260
|
|
|
27219
|
-
// bazel-out/
|
|
27261
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/after-render-phase/migration.mjs
|
|
27220
27262
|
var CORE2 = "@angular/core";
|
|
27221
27263
|
var AFTER_RENDER_PHASE_ENUM = "AfterRenderPhase";
|
|
27222
27264
|
var AFTER_RENDER_FNS = /* @__PURE__ */ new Set(["afterRender", "afterNextRender"]);
|
|
@@ -27273,7 +27315,7 @@ function migrateFile(sourceFile, typeChecker, rewriteFn) {
|
|
|
27273
27315
|
}
|
|
27274
27316
|
}
|
|
27275
27317
|
|
|
27276
|
-
// bazel-out/
|
|
27318
|
+
// bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/after-render-phase/index.mjs
|
|
27277
27319
|
function after_render_phase_default() {
|
|
27278
27320
|
return (tree) => __async(this, null, function* () {
|
|
27279
27321
|
const { buildPaths, testPaths } = yield getProjectTsConfigPaths(tree);
|