@angular/core 13.0.0-next.4 → 13.0.0-next.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/bundles/core-testing.umd.js +18 -18
- package/bundles/core-testing.umd.js.map +1 -1
- package/bundles/core.umd.js +57 -56
- package/bundles/core.umd.js.map +1 -1
- package/core.d.ts +10 -9
- package/core.metadata.json +1 -1
- package/esm2015/src/di/injector.js +2 -2
- package/esm2015/src/di/reflective_injector.js +2 -2
- package/esm2015/src/i18n/locale_data_api.js +5 -4
- package/esm2015/src/i18n/tokens.js +6 -6
- package/esm2015/src/linker/component_factory_resolver.js +2 -2
- package/esm2015/src/reflection/reflection_capabilities.js +3 -3
- package/esm2015/src/version.js +1 -1
- package/esm2015/testing/src/resolvers.js +1 -1
- package/fesm2015/core.js +16 -15
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +1 -1
- package/fesm2015/testing.js.map +1 -1
- package/package.json +2 -2
- package/schematics/migrations/abstract-control-parent/index.js +17 -8
- package/schematics/migrations/abstract-control-parent/util.js +6 -6
- package/schematics/migrations/activated-route-snapshot-fragment/index.js +18 -9
- package/schematics/migrations/activated-route-snapshot-fragment/util.js +4 -4
- package/schematics/migrations/can-activate-with-redirect-to/index.js +18 -9
- package/schematics/migrations/deep-shadow-piercing-selector/index.js +3 -3
- package/schematics/migrations/dynamic-queries/index.js +19 -10
- package/schematics/migrations/dynamic-queries/util.js +2 -2
- package/schematics/migrations/initial-navigation/collector.js +4 -4
- package/schematics/migrations/initial-navigation/index.js +16 -7
- package/schematics/migrations/initial-navigation/util.js +3 -3
- package/schematics/migrations/missing-injectable/definition_collector.js +5 -5
- package/schematics/migrations/missing-injectable/index.js +17 -8
- package/schematics/migrations/missing-injectable/transform.js +2 -2
- package/schematics/migrations/module-with-providers/collector.js +3 -3
- package/schematics/migrations/module-with-providers/index.js +17 -8
- package/schematics/migrations/module-with-providers/transform.js +3 -3
- package/schematics/migrations/module-with-providers/util.js +2 -2
- package/schematics/migrations/move-document/index.js +19 -10
- package/schematics/migrations/native-view-encapsulation/index.js +17 -8
- package/schematics/migrations/native-view-encapsulation/util.js +2 -2
- package/schematics/migrations/navigation-extras-omissions/index.js +18 -9
- package/schematics/migrations/navigation-extras-omissions/util.js +3 -3
- package/schematics/migrations/relative-link-resolution/collector.js +4 -4
- package/schematics/migrations/relative-link-resolution/index.js +16 -7
- package/schematics/migrations/relative-link-resolution/util.js +3 -3
- package/schematics/migrations/renderer-to-renderer2/index.js +24 -15
- package/schematics/migrations/renderer-to-renderer2/util.js +8 -8
- package/schematics/migrations/router-link-empty-expression/analyze_template.js +3 -3
- package/schematics/migrations/router-link-empty-expression/angular/html_routerlink_empty_expr_visitor.js +5 -5
- package/schematics/migrations/router-link-empty-expression/index.js +47 -24
- package/schematics/migrations/router-preserve-query-params/index.js +18 -9
- package/schematics/migrations/router-preserve-query-params/util.js +3 -3
- package/schematics/migrations/static-queries/angular/directive_inputs.js +5 -5
- package/schematics/migrations/static-queries/angular/ng_query_visitor.js +7 -7
- package/schematics/migrations/static-queries/index.js +7 -7
- package/schematics/migrations/static-queries/strategies/template_strategy/template_strategy.js +4 -4
- package/schematics/migrations/static-queries/strategies/usage_strategy/declaration_usage_visitor.js +9 -9
- package/schematics/migrations/static-queries/strategies/usage_strategy/super_class_context.js +6 -6
- package/schematics/migrations/static-queries/strategies/usage_strategy/template_usage_visitor.js +9 -9
- package/schematics/migrations/static-queries/strategies/usage_strategy/usage_strategy.js +6 -6
- package/schematics/migrations/static-queries/transform.js +2 -2
- package/schematics/migrations/template-var-assignment/analyze_template.js +3 -3
- package/schematics/migrations/template-var-assignment/angular/html_variable_assignment_visitor.js +4 -4
- package/schematics/migrations/template-var-assignment/index.js +17 -8
- package/schematics/migrations/undecorated-classes-with-decorated-fields/index.js +17 -8
- package/schematics/migrations/undecorated-classes-with-decorated-fields/transform.js +7 -7
- package/schematics/migrations/undecorated-classes-with-di/create_ngc_program.js +3 -3
- package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/decorator_rewriter.js +2 -2
- package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/import_rewrite_visitor.js +8 -8
- package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/path_format.js +2 -2
- package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/source_file_exports.js +2 -2
- package/schematics/migrations/undecorated-classes-with-di/index.js +17 -8
- package/schematics/migrations/undecorated-classes-with-di/ng_declaration_collector.js +4 -4
- package/schematics/migrations/undecorated-classes-with-di/transform.js +10 -10
- package/schematics/migrations/wait-for-async/index.js +22 -13
- package/schematics/migrations/wait-for-async/util.js +2 -2
- package/schematics/migrations/xhr-factory/index.js +2 -2
- package/schematics/migrations.json +1 -1
- package/schematics/utils/import_manager.js +3 -3
- package/schematics/utils/ng_component_template.js +10 -10
- package/schematics/utils/ng_decorators.js +2 -2
- package/schematics/utils/parse_html.js +2 -2
- package/schematics/utils/project_tsconfig_paths.d.ts +2 -2
- package/schematics/utils/project_tsconfig_paths.js +88 -54
- package/schematics/utils/typescript/compiler_host.js +5 -5
- package/schematics/utils/typescript/decorators.js +2 -2
- package/schematics/utils/typescript/find_base_classes.js +2 -2
- package/src/r3_symbols.d.ts +1 -1
- package/testing/testing.d.ts +1 -1
- package/testing.d.ts +1 -1
package/bundles/core.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v13.0.0-next.
|
|
2
|
+
* @license Angular v13.0.0-next.8
|
|
3
3
|
* (c) 2010-2021 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -3993,13 +3993,13 @@
|
|
|
3993
3993
|
args[_i] = arguments[_i];
|
|
3994
3994
|
}
|
|
3995
3995
|
if (this instanceof DecoratorFactory) {
|
|
3996
|
-
metaCtor.call.apply(metaCtor, __spreadArray([this], __read(args)));
|
|
3996
|
+
metaCtor.call.apply(metaCtor, __spreadArray([this], __read(args), false));
|
|
3997
3997
|
return this;
|
|
3998
3998
|
}
|
|
3999
|
-
var annotationInstance = new (DecoratorFactory.bind.apply(DecoratorFactory, __spreadArray([void 0], __read(args))))();
|
|
3999
|
+
var annotationInstance = new (DecoratorFactory.bind.apply(DecoratorFactory, __spreadArray([void 0], __read(args), false)))();
|
|
4000
4000
|
return function TypeDecorator(cls) {
|
|
4001
4001
|
if (typeFn)
|
|
4002
|
-
typeFn.apply(void 0, __spreadArray([cls], __read(args)));
|
|
4002
|
+
typeFn.apply(void 0, __spreadArray([cls], __read(args), false));
|
|
4003
4003
|
// Use of Object.defineProperty is important since it creates non-enumerable property which
|
|
4004
4004
|
// prevents the property is copied during subclassing.
|
|
4005
4005
|
var annotations = cls.hasOwnProperty(ANNOTATIONS) ?
|
|
@@ -4026,7 +4026,7 @@
|
|
|
4026
4026
|
args[_i] = arguments[_i];
|
|
4027
4027
|
}
|
|
4028
4028
|
if (props) {
|
|
4029
|
-
var values = props.apply(void 0, __spreadArray([], __read(args)));
|
|
4029
|
+
var values = props.apply(void 0, __spreadArray([], __read(args), false));
|
|
4030
4030
|
for (var propName in values) {
|
|
4031
4031
|
this[propName] = values[propName];
|
|
4032
4032
|
}
|
|
@@ -4045,7 +4045,7 @@
|
|
|
4045
4045
|
metaCtor.apply(this, args);
|
|
4046
4046
|
return this;
|
|
4047
4047
|
}
|
|
4048
|
-
var annotationInstance = new (ParamDecoratorFactory.bind.apply(ParamDecoratorFactory, __spreadArray([void 0], __read(args))))();
|
|
4048
|
+
var annotationInstance = new (ParamDecoratorFactory.bind.apply(ParamDecoratorFactory, __spreadArray([void 0], __read(args), false)))();
|
|
4049
4049
|
ParamDecorator.annotation = annotationInstance;
|
|
4050
4050
|
return ParamDecorator;
|
|
4051
4051
|
function ParamDecorator(cls, unusedKey, index) {
|
|
@@ -4083,7 +4083,7 @@
|
|
|
4083
4083
|
metaCtor.apply(this, args);
|
|
4084
4084
|
return this;
|
|
4085
4085
|
}
|
|
4086
|
-
var decoratorInstance = new (PropDecoratorFactory.bind.apply(PropDecoratorFactory, __spreadArray([void 0], __read(args))))();
|
|
4086
|
+
var decoratorInstance = new (PropDecoratorFactory.bind.apply(PropDecoratorFactory, __spreadArray([void 0], __read(args), false)))();
|
|
4087
4087
|
function PropDecorator(target, name) {
|
|
4088
4088
|
var constructor = target.constructor;
|
|
4089
4089
|
// Use of Object.defineProperty is important because it creates a non-enumerable property
|
|
@@ -4094,7 +4094,7 @@
|
|
|
4094
4094
|
meta[name] = meta.hasOwnProperty(name) && meta[name] || [];
|
|
4095
4095
|
meta[name].unshift(decoratorInstance);
|
|
4096
4096
|
if (additionalProcessing)
|
|
4097
|
-
additionalProcessing.apply(void 0, __spreadArray([target, name], __read(args)));
|
|
4097
|
+
additionalProcessing.apply(void 0, __spreadArray([target, name], __read(args), false));
|
|
4098
4098
|
}
|
|
4099
4099
|
return PropDecorator;
|
|
4100
4100
|
}
|
|
@@ -4753,12 +4753,12 @@
|
|
|
4753
4753
|
* or downleveled to ES5 with `downlevelIteration` for TypeScript >= 4.2:
|
|
4754
4754
|
* ```
|
|
4755
4755
|
* function MyClass() {
|
|
4756
|
-
* var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
4756
|
+
* var _this = _super.apply(this, __spreadArray([], __read(arguments), false)) || this;
|
|
4757
4757
|
* ```
|
|
4758
4758
|
*
|
|
4759
4759
|
* More details can be found in: https://github.com/angular/angular/issues/38453.
|
|
4760
4760
|
*/
|
|
4761
|
-
var ES5_DELEGATE_CTOR = /^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\))\)/;
|
|
4761
|
+
var ES5_DELEGATE_CTOR = /^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/;
|
|
4762
4762
|
/** Regular expression that detects ES2015 classes which extend from other classes. */
|
|
4763
4763
|
var ES2015_INHERITED_CLASS = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/;
|
|
4764
4764
|
/**
|
|
@@ -4797,7 +4797,7 @@
|
|
|
4797
4797
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
4798
4798
|
args[_i] = arguments[_i];
|
|
4799
4799
|
}
|
|
4800
|
-
return new (t.bind.apply(t, __spreadArray([void 0], __read(args))))();
|
|
4800
|
+
return new (t.bind.apply(t, __spreadArray([void 0], __read(args), false)))();
|
|
4801
4801
|
};
|
|
4802
4802
|
};
|
|
4803
4803
|
/** @internal */
|
|
@@ -4951,9 +4951,9 @@
|
|
|
4951
4951
|
Object.keys(ownPropMetadata).forEach(function (propName) {
|
|
4952
4952
|
var decorators = [];
|
|
4953
4953
|
if (propMetadata.hasOwnProperty(propName)) {
|
|
4954
|
-
decorators.push.apply(decorators, __spreadArray([], __read(propMetadata[propName])));
|
|
4954
|
+
decorators.push.apply(decorators, __spreadArray([], __read(propMetadata[propName]), false));
|
|
4955
4955
|
}
|
|
4956
|
-
decorators.push.apply(decorators, __spreadArray([], __read(ownPropMetadata[propName])));
|
|
4956
|
+
decorators.push.apply(decorators, __spreadArray([], __read(ownPropMetadata[propName]), false));
|
|
4957
4957
|
propMetadata[propName] = decorators;
|
|
4958
4958
|
});
|
|
4959
4959
|
}
|
|
@@ -5009,7 +5009,7 @@
|
|
|
5009
5009
|
var decoratorType = decoratorInvocation.type;
|
|
5010
5010
|
var annotationCls = decoratorType.annotationCls;
|
|
5011
5011
|
var annotationArgs = decoratorInvocation.args ? decoratorInvocation.args : [];
|
|
5012
|
-
return new (annotationCls.bind.apply(annotationCls, __spreadArray([void 0], __read(annotationArgs))))();
|
|
5012
|
+
return new (annotationCls.bind.apply(annotationCls, __spreadArray([void 0], __read(annotationArgs), false)))();
|
|
5013
5013
|
});
|
|
5014
5014
|
}
|
|
5015
5015
|
function getParentCtor(ctor) {
|
|
@@ -5529,7 +5529,7 @@
|
|
|
5529
5529
|
if (!_global.trustedTypes) {
|
|
5530
5530
|
// In environments that don't support Trusted Types, fall back to the most
|
|
5531
5531
|
// straightforward implementation:
|
|
5532
|
-
return new (Function.bind.apply(Function, __spreadArray([void 0], __read(args))))();
|
|
5532
|
+
return new (Function.bind.apply(Function, __spreadArray([void 0], __read(args), false)))();
|
|
5533
5533
|
}
|
|
5534
5534
|
// Chrome currently does not support passing TrustedScript to the Function
|
|
5535
5535
|
// constructor. The following implements the workaround proposed on the page
|
|
@@ -5547,7 +5547,7 @@
|
|
|
5547
5547
|
// a TrustedScript to eval just returns the TrustedScript back without
|
|
5548
5548
|
// evaluating it. In that case, fall back to the most straightforward
|
|
5549
5549
|
// implementation:
|
|
5550
|
-
return new (Function.bind.apply(Function, __spreadArray([void 0], __read(args))))();
|
|
5550
|
+
return new (Function.bind.apply(Function, __spreadArray([void 0], __read(args), false)))();
|
|
5551
5551
|
}
|
|
5552
5552
|
// To completely mimic the behavior of calling "new Function", two more
|
|
5553
5553
|
// things need to happen:
|
|
@@ -6821,7 +6821,7 @@
|
|
|
6821
6821
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
6822
6822
|
values[_i - 1] = arguments[_i];
|
|
6823
6823
|
}
|
|
6824
|
-
console.error.apply(console, __spreadArray([], __read(values)));
|
|
6824
|
+
console.error.apply(console, __spreadArray([], __read(values), false));
|
|
6825
6825
|
}
|
|
6826
6826
|
|
|
6827
6827
|
/**
|
|
@@ -12042,7 +12042,7 @@
|
|
|
12042
12042
|
factory = function () { return resolveForwardRef(provider.useValue); };
|
|
12043
12043
|
}
|
|
12044
12044
|
else if (isFactoryProvider(provider)) {
|
|
12045
|
-
factory = function () { return provider.useFactory.apply(provider, __spreadArray([], __read(injectArgs(provider.deps || [])))); };
|
|
12045
|
+
factory = function () { return provider.useFactory.apply(provider, __spreadArray([], __read(injectArgs(provider.deps || [])), false)); };
|
|
12046
12046
|
}
|
|
12047
12047
|
else if (isExistingProvider(provider)) {
|
|
12048
12048
|
factory = function () { return ɵɵinject(resolveForwardRef(provider.useExisting)); };
|
|
@@ -12054,7 +12054,7 @@
|
|
|
12054
12054
|
throwInvalidProviderError(ngModuleType, providers, provider);
|
|
12055
12055
|
}
|
|
12056
12056
|
if (hasDeps(provider)) {
|
|
12057
|
-
factory = function () { return new ((classRef_1).bind.apply((classRef_1), __spreadArray([void 0], __read(injectArgs(provider.deps)))))(); };
|
|
12057
|
+
factory = function () { return new ((classRef_1).bind.apply((classRef_1), __spreadArray([void 0], __read(injectArgs(provider.deps)), false)))(); };
|
|
12058
12058
|
}
|
|
12059
12059
|
else {
|
|
12060
12060
|
return getFactoryDef(classRef_1) || injectableDefOrInjectorDefFactory(classRef_1);
|
|
@@ -12143,7 +12143,7 @@
|
|
|
12143
12143
|
return Injector;
|
|
12144
12144
|
}());
|
|
12145
12145
|
Injector.THROW_IF_NOT_FOUND = THROW_IF_NOT_FOUND;
|
|
12146
|
-
Injector.NULL = new NullInjector();
|
|
12146
|
+
Injector.NULL = ( /* @__PURE__ */new NullInjector());
|
|
12147
12147
|
/** @nocollapse */
|
|
12148
12148
|
Injector.ɵprov = ɵɵdefineInjectable({
|
|
12149
12149
|
token: Injector,
|
|
@@ -12354,7 +12354,7 @@
|
|
|
12354
12354
|
!childRecord && !(options & 4 /* CheckParent */) ? Injector.NULL : parent, options & 1 /* Optional */ ? null : Injector.THROW_IF_NOT_FOUND, exports.InjectFlags.Default));
|
|
12355
12355
|
}
|
|
12356
12356
|
}
|
|
12357
|
-
record.value = value = useNew ? new (fn.bind.apply(fn, __spreadArray([void 0], __read(deps))))() : fn.apply(obj, deps);
|
|
12357
|
+
record.value = value = useNew ? new (fn.bind.apply(fn, __spreadArray([void 0], __read(deps), false)))() : fn.apply(obj, deps);
|
|
12358
12358
|
}
|
|
12359
12359
|
}
|
|
12360
12360
|
else if (!(flags & exports.InjectFlags.Self)) {
|
|
@@ -12506,7 +12506,7 @@
|
|
|
12506
12506
|
* @globalApi ng
|
|
12507
12507
|
*/
|
|
12508
12508
|
function getRootComponents(elementOrDir) {
|
|
12509
|
-
return __spreadArray([], __read(getRootContext(elementOrDir).components));
|
|
12509
|
+
return __spreadArray([], __read(getRootContext(elementOrDir).components), false);
|
|
12510
12510
|
}
|
|
12511
12511
|
/**
|
|
12512
12512
|
* Retrieves an `Injector` associated with an element, component or directive instance.
|
|
@@ -12598,7 +12598,7 @@
|
|
|
12598
12598
|
}
|
|
12599
12599
|
// The `directives` in this case are a named array called `LComponentView`. Clone the
|
|
12600
12600
|
// result so we don't expose an internal data structure in the user's console.
|
|
12601
|
-
return context.directives === null ? [] : __spreadArray([], __read(context.directives));
|
|
12601
|
+
return context.directives === null ? [] : __spreadArray([], __read(context.directives), false);
|
|
12602
12602
|
}
|
|
12603
12603
|
/**
|
|
12604
12604
|
* Returns the debug (partial) metadata for a particular directive or component instance.
|
|
@@ -14091,7 +14091,7 @@
|
|
|
14091
14091
|
for (var i = 2; i < values.length; i += 2) {
|
|
14092
14092
|
interpolationInBetween.push(values[i]);
|
|
14093
14093
|
}
|
|
14094
|
-
storePropertyBindingMetadata.apply(void 0, __spreadArray([getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - interpolationInBetween.length + 1], __read(interpolationInBetween)));
|
|
14094
|
+
storePropertyBindingMetadata.apply(void 0, __spreadArray([getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - interpolationInBetween.length + 1], __read(interpolationInBetween), false));
|
|
14095
14095
|
}
|
|
14096
14096
|
}
|
|
14097
14097
|
return ɵɵattributeInterpolateV;
|
|
@@ -14305,7 +14305,7 @@
|
|
|
14305
14305
|
var reflectionCapabilities = new ReflectionCapabilities();
|
|
14306
14306
|
var deps_1 = reflectionCapabilities.parameters(type);
|
|
14307
14307
|
// TODO - convert to flags.
|
|
14308
|
-
return function () { return new (type.bind.apply(type, __spreadArray([void 0], __read(injectArgs(deps_1)))))(); };
|
|
14308
|
+
return function () { return new (type.bind.apply(type, __spreadArray([void 0], __read(injectArgs(deps_1)), false)))(); };
|
|
14309
14309
|
}
|
|
14310
14310
|
if (USE_VALUE$2 in provider) {
|
|
14311
14311
|
var valueProvider_1 = provider;
|
|
@@ -14317,7 +14317,7 @@
|
|
|
14317
14317
|
}
|
|
14318
14318
|
else if (provider.useFactory) {
|
|
14319
14319
|
var factoryProvider_1 = provider;
|
|
14320
|
-
return function () { return factoryProvider_1.useFactory.apply(factoryProvider_1, __spreadArray([], __read(injectArgs(factoryProvider_1.deps || EMPTY_ARRAY)))); };
|
|
14320
|
+
return function () { return factoryProvider_1.useFactory.apply(factoryProvider_1, __spreadArray([], __read(injectArgs(factoryProvider_1.deps || EMPTY_ARRAY)), false)); };
|
|
14321
14321
|
}
|
|
14322
14322
|
else if (provider.useClass) {
|
|
14323
14323
|
var classProvider_1 = provider;
|
|
@@ -14328,7 +14328,7 @@
|
|
|
14328
14328
|
}
|
|
14329
14329
|
return function () {
|
|
14330
14330
|
var _a;
|
|
14331
|
-
return new ((_a = (resolveForwardRef(classProvider_1.useClass))).bind.apply(_a, __spreadArray([void 0], __read(injectArgs(deps_2)))))();
|
|
14331
|
+
return new ((_a = (resolveForwardRef(classProvider_1.useClass))).bind.apply(_a, __spreadArray([void 0], __read(injectArgs(deps_2)), false)))();
|
|
14332
14332
|
};
|
|
14333
14333
|
}
|
|
14334
14334
|
else {
|
|
@@ -14337,7 +14337,7 @@
|
|
|
14337
14337
|
var reflectionCapabilities = new ReflectionCapabilities();
|
|
14338
14338
|
deps_3 = reflectionCapabilities.parameters(type);
|
|
14339
14339
|
}
|
|
14340
|
-
return function () { return new (type.bind.apply(type, __spreadArray([void 0], __read(injectArgs(deps_3)))))(); };
|
|
14340
|
+
return function () { return new (type.bind.apply(type, __spreadArray([void 0], __read(injectArgs(deps_3)), false)))(); };
|
|
14341
14341
|
}
|
|
14342
14342
|
}
|
|
14343
14343
|
|
|
@@ -15155,7 +15155,7 @@
|
|
|
15155
15155
|
}
|
|
15156
15156
|
var obj;
|
|
15157
15157
|
try {
|
|
15158
|
-
obj = factory.apply(void 0, __spreadArray([], __read(deps)));
|
|
15158
|
+
obj = factory.apply(void 0, __spreadArray([], __read(deps), false));
|
|
15159
15159
|
}
|
|
15160
15160
|
catch (e) {
|
|
15161
15161
|
throw instantiationError(this, e, e.stack, provider.key);
|
|
@@ -15238,7 +15238,7 @@
|
|
|
15238
15238
|
};
|
|
15239
15239
|
return ReflectiveInjector_;
|
|
15240
15240
|
}());
|
|
15241
|
-
ReflectiveInjector_.INJECTOR_KEY = ReflectiveKey.get(Injector);
|
|
15241
|
+
ReflectiveInjector_.INJECTOR_KEY = ( /* @__PURE__ */ReflectiveKey.get(Injector));
|
|
15242
15242
|
function _mapProviders(injector, fn) {
|
|
15243
15243
|
var res = [];
|
|
15244
15244
|
for (var i = 0; i < injector._providers.length; ++i) {
|
|
@@ -16510,7 +16510,7 @@
|
|
|
16510
16510
|
for (var i = 2; i < values.length; i += 2) {
|
|
16511
16511
|
interpolationInBetween.push(values[i]);
|
|
16512
16512
|
}
|
|
16513
|
-
storePropertyBindingMetadata.apply(void 0, __spreadArray([tView.data, tNode, propName, getBindingIndex() - interpolationInBetween.length + 1], __read(interpolationInBetween)));
|
|
16513
|
+
storePropertyBindingMetadata.apply(void 0, __spreadArray([tView.data, tNode, propName, getBindingIndex() - interpolationInBetween.length + 1], __read(interpolationInBetween), false));
|
|
16514
16514
|
}
|
|
16515
16515
|
}
|
|
16516
16516
|
return ɵɵpropertyInterpolateV;
|
|
@@ -19382,7 +19382,8 @@
|
|
|
19382
19382
|
var LOCALE_DATA = {};
|
|
19383
19383
|
/**
|
|
19384
19384
|
* Register locale data to be used internally by Angular. See the
|
|
19385
|
-
* ["I18n guide"](guide/i18n
|
|
19385
|
+
* ["I18n guide"](guide/i18n-common-format-data-locale) to know how to import additional locale
|
|
19386
|
+
* data.
|
|
19386
19387
|
*
|
|
19387
19388
|
* The signature `registerLocaleData(data: any, extraData?: any)` is deprecated since v5.1
|
|
19388
19389
|
*/
|
|
@@ -19402,7 +19403,7 @@
|
|
|
19402
19403
|
*
|
|
19403
19404
|
* @param locale The locale code.
|
|
19404
19405
|
* @returns The locale data.
|
|
19405
|
-
* @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)
|
|
19406
|
+
* @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
|
|
19406
19407
|
*/
|
|
19407
19408
|
function findLocaleData(locale) {
|
|
19408
19409
|
var normalizedLocale = normalizeLocale(locale);
|
|
@@ -19440,7 +19441,7 @@
|
|
|
19440
19441
|
* @param locale A locale code for the locale format rules to use.
|
|
19441
19442
|
* @returns The plural function for the locale.
|
|
19442
19443
|
* @see `NgPlural`
|
|
19443
|
-
* @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)
|
|
19444
|
+
* @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
|
|
19444
19445
|
*/
|
|
19445
19446
|
function getLocalePluralCase(locale) {
|
|
19446
19447
|
var data = findLocaleData(locale);
|
|
@@ -21800,7 +21801,7 @@
|
|
|
21800
21801
|
}
|
|
21801
21802
|
return ComponentFactoryResolver;
|
|
21802
21803
|
}());
|
|
21803
|
-
ComponentFactoryResolver.NULL = new _NullComponentFactoryResolver();
|
|
21804
|
+
ComponentFactoryResolver.NULL = ( /* @__PURE__ */new _NullComponentFactoryResolver());
|
|
21804
21805
|
var CodegenComponentFactoryResolver = /** @class */ (function () {
|
|
21805
21806
|
function CodegenComponentFactoryResolver(factories, _parent, _ngModule) {
|
|
21806
21807
|
this._parent = _parent;
|
|
@@ -22033,7 +22034,7 @@
|
|
|
22033
22034
|
/**
|
|
22034
22035
|
* @publicApi
|
|
22035
22036
|
*/
|
|
22036
|
-
var VERSION = new Version('13.0.0-next.
|
|
22037
|
+
var VERSION = new Version('13.0.0-next.8');
|
|
22037
22038
|
|
|
22038
22039
|
/**
|
|
22039
22040
|
* @license
|
|
@@ -23157,7 +23158,7 @@
|
|
|
23157
23158
|
else if (tNodeType & 16 /* Projection */) {
|
|
23158
23159
|
var nodesInSlot = getProjectionNodes(lView, tNode);
|
|
23159
23160
|
if (Array.isArray(nodesInSlot)) {
|
|
23160
|
-
result.push.apply(result, __spreadArray([], __read(nodesInSlot)));
|
|
23161
|
+
result.push.apply(result, __spreadArray([], __read(nodesInSlot), false));
|
|
23161
23162
|
}
|
|
23162
23163
|
else {
|
|
23163
23164
|
var parentView = getLViewParent(lView[DECLARATION_COMPONENT_VIEW]);
|
|
@@ -24618,7 +24619,7 @@
|
|
|
24618
24619
|
for (var i = 0; i < len; i++) {
|
|
24619
24620
|
depValues[i] = resolveNgModuleDep(ngModule, deps[i]);
|
|
24620
24621
|
}
|
|
24621
|
-
return new (ctor.bind.apply(ctor, __spreadArray([void 0], __read(depValues))))();
|
|
24622
|
+
return new (ctor.bind.apply(ctor, __spreadArray([void 0], __read(depValues), false)))();
|
|
24622
24623
|
}
|
|
24623
24624
|
}
|
|
24624
24625
|
function _callFactory(ngModule, factory, deps) {
|
|
@@ -24637,7 +24638,7 @@
|
|
|
24637
24638
|
for (var i = 0; i < len; i++) {
|
|
24638
24639
|
depValues[i] = resolveNgModuleDep(ngModule, deps[i]);
|
|
24639
24640
|
}
|
|
24640
|
-
return factory.apply(void 0, __spreadArray([], __read(depValues)));
|
|
24641
|
+
return factory.apply(void 0, __spreadArray([], __read(depValues), false));
|
|
24641
24642
|
}
|
|
24642
24643
|
}
|
|
24643
24644
|
function callNgModuleLifecycle(ngModule, lifecycles) {
|
|
@@ -25416,7 +25417,7 @@
|
|
|
25416
25417
|
for (var i = 0; i < len; i++) {
|
|
25417
25418
|
depValues.push(resolveDep(view, elDef, allowPrivateServices, deps[i]));
|
|
25418
25419
|
}
|
|
25419
|
-
return new (ctor.bind.apply(ctor, __spreadArray([void 0], __read(depValues))))();
|
|
25420
|
+
return new (ctor.bind.apply(ctor, __spreadArray([void 0], __read(depValues), false)))();
|
|
25420
25421
|
}
|
|
25421
25422
|
}
|
|
25422
25423
|
function callFactory(view, elDef, allowPrivateServices, factory, deps) {
|
|
@@ -25435,7 +25436,7 @@
|
|
|
25435
25436
|
for (var i = 0; i < len; i++) {
|
|
25436
25437
|
depValues.push(resolveDep(view, elDef, allowPrivateServices, deps[i]));
|
|
25437
25438
|
}
|
|
25438
|
-
return factory.apply(void 0, __spreadArray([], __read(depValues)));
|
|
25439
|
+
return factory.apply(void 0, __spreadArray([], __read(depValues), false));
|
|
25439
25440
|
}
|
|
25440
25441
|
}
|
|
25441
25442
|
// This default value is when checking the hierarchy for a token.
|
|
@@ -25901,7 +25902,7 @@
|
|
|
25901
25902
|
var clazz = type;
|
|
25902
25903
|
if (decorators !== null) {
|
|
25903
25904
|
if (clazz.hasOwnProperty('decorators') && clazz.decorators !== undefined) {
|
|
25904
|
-
(_a = clazz.decorators).push.apply(_a, __spreadArray([], __read(decorators)));
|
|
25905
|
+
(_a = clazz.decorators).push.apply(_a, __spreadArray([], __read(decorators), false));
|
|
25905
25906
|
}
|
|
25906
25907
|
else {
|
|
25907
25908
|
clazz.decorators = decorators;
|
|
@@ -27725,7 +27726,7 @@
|
|
|
27725
27726
|
var exports = maybeUnwrapFn(ngModuleDef.exports);
|
|
27726
27727
|
declarations.forEach(verifyDeclarationsHaveDefinitions);
|
|
27727
27728
|
declarations.forEach(verifyDirectivesHaveSelector);
|
|
27728
|
-
var combinedDeclarations = __spreadArray(__spreadArray([], __read(declarations.map(resolveForwardRef))), __read(flatten(imports.map(computeCombinedExports)).map(resolveForwardRef)));
|
|
27729
|
+
var combinedDeclarations = __spreadArray(__spreadArray([], __read(declarations.map(resolveForwardRef)), false), __read(flatten(imports.map(computeCombinedExports)).map(resolveForwardRef)), false);
|
|
27729
27730
|
exports.forEach(verifyExportsAreDeclaredOrReExported);
|
|
27730
27731
|
declarations.forEach(function (decl) { return verifyDeclarationIsUnique(decl, allowDuplicateDeclarationsInRoot); });
|
|
27731
27732
|
declarations.forEach(verifyComponentEntryComponentsIsPartOfNgModule);
|
|
@@ -27881,7 +27882,7 @@
|
|
|
27881
27882
|
else {
|
|
27882
27883
|
return type;
|
|
27883
27884
|
}
|
|
27884
|
-
}))));
|
|
27885
|
+
}))), false);
|
|
27885
27886
|
}
|
|
27886
27887
|
/**
|
|
27887
27888
|
* Some declared components may be compiled asynchronously, and thus may not have their
|
|
@@ -28505,7 +28506,7 @@
|
|
|
28505
28506
|
function preR3NgModuleCompile(moduleType, metadata) {
|
|
28506
28507
|
var imports = (metadata && metadata.imports) || [];
|
|
28507
28508
|
if (metadata && metadata.exports) {
|
|
28508
|
-
imports = __spreadArray(__spreadArray([], __read(imports)), [metadata.exports]);
|
|
28509
|
+
imports = __spreadArray(__spreadArray([], __read(imports), false), [metadata.exports], false);
|
|
28509
28510
|
}
|
|
28510
28511
|
var moduleInjectorType = moduleType;
|
|
28511
28512
|
moduleInjectorType.ɵfac = convertInjectableProviderToFactory(moduleType, { useClass: moduleType });
|
|
@@ -28769,7 +28770,7 @@
|
|
|
28769
28770
|
* It is used for i18n extraction, by i18n pipes (DatePipe, I18nPluralPipe, CurrencyPipe,
|
|
28770
28771
|
* DecimalPipe and PercentPipe) and by ICU expressions.
|
|
28771
28772
|
*
|
|
28772
|
-
* See the [i18n guide](guide/i18n
|
|
28773
|
+
* See the [i18n guide](guide/i18n-common-locale-id) for more information.
|
|
28773
28774
|
*
|
|
28774
28775
|
* @usageNotes
|
|
28775
28776
|
* ### Example
|
|
@@ -28792,7 +28793,7 @@
|
|
|
28792
28793
|
* CurrencyPipe when there is no currency code passed into it. This is only used by
|
|
28793
28794
|
* CurrencyPipe and has no relation to locale currency. Defaults to USD if not configured.
|
|
28794
28795
|
*
|
|
28795
|
-
* See the [i18n guide](guide/i18n
|
|
28796
|
+
* See the [i18n guide](guide/i18n-common-locale-id) for more information.
|
|
28796
28797
|
*
|
|
28797
28798
|
* <div class="alert is-helpful">
|
|
28798
28799
|
*
|
|
@@ -28830,7 +28831,7 @@
|
|
|
28830
28831
|
* Use this token at bootstrap to provide the content of your translation file (`xtb`,
|
|
28831
28832
|
* `xlf` or `xlf2`) when you want to translate your application in another language.
|
|
28832
28833
|
*
|
|
28833
|
-
* See the [i18n guide](guide/i18n
|
|
28834
|
+
* See the [i18n guide](guide/i18n-common-merge) for more information.
|
|
28834
28835
|
*
|
|
28835
28836
|
* @usageNotes
|
|
28836
28837
|
* ### Example
|
|
@@ -28855,7 +28856,7 @@
|
|
|
28855
28856
|
* Provide this token at bootstrap to set the format of your {@link TRANSLATIONS}: `xtb`,
|
|
28856
28857
|
* `xlf` or `xlf2`.
|
|
28857
28858
|
*
|
|
28858
|
-
* See the [i18n guide](guide/i18n
|
|
28859
|
+
* See the [i18n guide](guide/i18n-common-merge) for more information.
|
|
28859
28860
|
*
|
|
28860
28861
|
* @usageNotes
|
|
28861
28862
|
* ### Example
|
|
@@ -30487,7 +30488,7 @@
|
|
|
30487
30488
|
}
|
|
30488
30489
|
function _mergeArrays(parts) {
|
|
30489
30490
|
var result = [];
|
|
30490
|
-
parts.forEach(function (part) { return part && result.push.apply(result, __spreadArray([], __read(part))); });
|
|
30491
|
+
parts.forEach(function (part) { return part && result.push.apply(result, __spreadArray([], __read(part), false)); });
|
|
30491
30492
|
return result;
|
|
30492
30493
|
}
|
|
30493
30494
|
|
|
@@ -30791,7 +30792,7 @@
|
|
|
30791
30792
|
var _this = this;
|
|
30792
30793
|
var siblingIndex = this.childNodes.indexOf(child);
|
|
30793
30794
|
if (siblingIndex !== -1) {
|
|
30794
|
-
(_a = this.childNodes).splice.apply(_a, __spreadArray([siblingIndex + 1, 0], __read(newChildren)));
|
|
30795
|
+
(_a = this.childNodes).splice.apply(_a, __spreadArray([siblingIndex + 1, 0], __read(newChildren), false));
|
|
30795
30796
|
newChildren.forEach(function (c) {
|
|
30796
30797
|
if (c.parent) {
|
|
30797
30798
|
c.parent.removeChild(c);
|
|
@@ -32286,7 +32287,7 @@
|
|
|
32286
32287
|
case 128 /* TypePurePipe */:
|
|
32287
32288
|
var pipe = values[0];
|
|
32288
32289
|
var params = values.slice(1);
|
|
32289
|
-
value = pipe.transform.apply(pipe, __spreadArray([], __read(params)));
|
|
32290
|
+
value = pipe.transform.apply(pipe, __spreadArray([], __read(params), false));
|
|
32290
32291
|
break;
|
|
32291
32292
|
}
|
|
32292
32293
|
data.value = value;
|
|
@@ -33394,7 +33395,7 @@
|
|
|
33394
33395
|
}
|
|
33395
33396
|
}
|
|
33396
33397
|
function debugCheckAndUpdateNode(view, nodeDef, argStyle, givenValues) {
|
|
33397
|
-
var changed = checkAndUpdateNode.apply(void 0, __spreadArray([view, nodeDef, argStyle], __read(givenValues)));
|
|
33398
|
+
var changed = checkAndUpdateNode.apply(void 0, __spreadArray([view, nodeDef, argStyle], __read(givenValues), false));
|
|
33398
33399
|
if (changed) {
|
|
33399
33400
|
var values = argStyle === 1 /* Dynamic */ ? givenValues[0] : givenValues;
|
|
33400
33401
|
if (nodeDef.flags & 16384 /* TypeDirective */) {
|
|
@@ -33429,7 +33430,7 @@
|
|
|
33429
33430
|
}
|
|
33430
33431
|
}
|
|
33431
33432
|
function debugCheckNoChangesNode(view, nodeDef, argStyle, values) {
|
|
33432
|
-
checkNoChangesNode.apply(void 0, __spreadArray([view, nodeDef, argStyle], __read(values)));
|
|
33433
|
+
checkNoChangesNode.apply(void 0, __spreadArray([view, nodeDef, argStyle], __read(values), false));
|
|
33433
33434
|
}
|
|
33434
33435
|
function nextDirectiveWithBinding(view, nodeIndex) {
|
|
33435
33436
|
for (var i = nodeIndex; i < view.def.nodes.length; i++) {
|
|
@@ -33574,7 +33575,7 @@
|
|
|
33574
33575
|
var _a;
|
|
33575
33576
|
currRenderNodeIndex++;
|
|
33576
33577
|
if (currRenderNodeIndex === renderNodeIndex) {
|
|
33577
|
-
return (_a = console.error).bind.apply(_a, __spreadArray([console], __read(values)));
|
|
33578
|
+
return (_a = console.error).bind.apply(_a, __spreadArray([console], __read(values), false));
|
|
33578
33579
|
}
|
|
33579
33580
|
else {
|
|
33580
33581
|
return NOOP;
|
|
@@ -33583,7 +33584,7 @@
|
|
|
33583
33584
|
logViewDef.factory(nodeLogger);
|
|
33584
33585
|
if (currRenderNodeIndex < renderNodeIndex) {
|
|
33585
33586
|
console.error('Illegal state: the ViewDefinitionFactory did not call the logger!');
|
|
33586
|
-
console.error.apply(console, __spreadArray([], __read(values)));
|
|
33587
|
+
console.error.apply(console, __spreadArray([], __read(values), false));
|
|
33587
33588
|
}
|
|
33588
33589
|
};
|
|
33589
33590
|
return DebugContext_;
|