@angular/core 11.2.2 → 11.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/bundles/core-testing.umd.js +1 -1
  2. package/bundles/core-testing.umd.min.js +1 -1
  3. package/bundles/core-testing.umd.min.js.map +1 -1
  4. package/bundles/core.umd.js +84 -110
  5. package/bundles/core.umd.js.map +1 -1
  6. package/bundles/core.umd.min.js +125 -125
  7. package/bundles/core.umd.min.js.map +1 -1
  8. package/core.d.ts +35 -45
  9. package/core.metadata.json +1 -1
  10. package/esm2015/src/change_detection/pipe_transform.js +1 -1
  11. package/esm2015/src/compiler/compiler_facade_interface.js +1 -1
  12. package/esm2015/src/core_render3_private_export.js +2 -2
  13. package/esm2015/src/di/injection_token.js +1 -1
  14. package/esm2015/src/di/interface/defs.js +2 -9
  15. package/esm2015/src/di/jit/environment.js +2 -18
  16. package/esm2015/src/di/r3_injector.js +3 -8
  17. package/esm2015/src/metadata/ng_module.js +5 -6
  18. package/esm2015/src/render3/definition.js +3 -3
  19. package/esm2015/src/render3/definition_factory.js +1 -1
  20. package/esm2015/src/render3/di.js +12 -22
  21. package/esm2015/src/render3/empty.js +1 -4
  22. package/esm2015/src/render3/errors.js +1 -1
  23. package/esm2015/src/render3/features/inherit_definition_feature.js +3 -2
  24. package/esm2015/src/render3/features/ng_onchanges_feature.js +2 -2
  25. package/esm2015/src/render3/index.js +2 -2
  26. package/esm2015/src/render3/instructions/listener.js +2 -2
  27. package/esm2015/src/render3/instructions/lview_debug.js +1 -2
  28. package/esm2015/src/render3/interfaces/definition.js +1 -1
  29. package/esm2015/src/render3/jit/directive.js +3 -2
  30. package/esm2015/src/render3/jit/environment.js +1 -2
  31. package/esm2015/src/render3/jit/module.js +22 -4
  32. package/esm2015/src/render3/util/discovery_utils.js +1 -1
  33. package/esm2015/src/version.js +1 -1
  34. package/fesm2015/core.js +85 -110
  35. package/fesm2015/core.js.map +1 -1
  36. package/fesm2015/testing.js +1 -1
  37. package/package.json +1 -1
  38. package/schematics/migrations/renderer-to-renderer2/helpers.js +1 -2
  39. package/src/r3_symbols.d.ts +11 -15
  40. package/testing/testing.d.ts +1 -1
  41. package/testing.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v11.2.2
2
+ * @license Angular v11.2.6
3
3
  * (c) 2010-2021 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -692,9 +692,6 @@
692
692
  *
693
693
  * Options:
694
694
  *
695
- * * `factory`: an `InjectorType` is an instantiable type, so a zero argument `factory` function to
696
- * create the type must be provided. If that factory function needs to inject arguments, it can
697
- * use the `inject` function.
698
695
  * * `providers`: an optional array of providers to add to the injector. Each provider must
699
696
  * either have a factory or point to a type which has a `ɵprov` static property (the
700
697
  * type must be an `InjectableType`).
@@ -705,11 +702,7 @@
705
702
  * @codeGenApi
706
703
  */
707
704
  function ɵɵdefineInjector(options) {
708
- return {
709
- factory: options.factory,
710
- providers: options.providers || [],
711
- imports: options.imports || [],
712
- };
705
+ return { providers: options.providers || [], imports: options.imports || [] };
713
706
  }
714
707
  /**
715
708
  * Read the injectable def (`ɵprov`) for `type` in a way which is immune to accidentally reading
@@ -1096,6 +1089,28 @@
1096
1089
  Object.freeze(EMPTY_ARRAY);
1097
1090
  }
1098
1091
 
1092
+ /**
1093
+ * @license
1094
+ * Copyright Google LLC All Rights Reserved.
1095
+ *
1096
+ * Use of this source code is governed by an MIT-style license that can be
1097
+ * found in the LICENSE file at https://angular.io/license
1098
+ */
1099
+ /**
1100
+ * This file contains reuseable "empty" symbols that can be used as default return values
1101
+ * in different parts of the rendering code. Because the same symbols are returned, this
1102
+ * allows for identity checks against these values to be consistently used by the framework
1103
+ * code.
1104
+ */
1105
+ var EMPTY_ARRAY$1 = [];
1106
+ // freezing the values prevents any code from accidentally inserting new values in
1107
+ if ((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode()) {
1108
+ // These property accesses can be ignored because ngDevMode will be set to false
1109
+ // when optimizing code and the whole if statement will be dropped.
1110
+ // tslint:disable-next-line:no-toplevel-property-access
1111
+ Object.freeze(EMPTY_ARRAY$1);
1112
+ }
1113
+
1099
1114
  /**
1100
1115
  * @license
1101
1116
  * Copyright Google LLC All Rights Reserved.
@@ -1147,7 +1162,6 @@
1147
1162
  // See the `initNgDevMode` docstring for more information.
1148
1163
  (typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode();
1149
1164
  var type = componentDefinition.type;
1150
- var typePrototype = type.prototype;
1151
1165
  var declaredInputs = {};
1152
1166
  var def = {
1153
1167
  type: type,
@@ -1169,7 +1183,7 @@
1169
1183
  onPush: componentDefinition.changeDetection === exports.ChangeDetectionStrategy.OnPush,
1170
1184
  directiveDefs: null,
1171
1185
  pipeDefs: null,
1172
- selectors: componentDefinition.selectors || EMPTY_ARRAY,
1186
+ selectors: componentDefinition.selectors || EMPTY_ARRAY$1,
1173
1187
  viewQuery: componentDefinition.viewQuery || null,
1174
1188
  features: componentDefinition.features || null,
1175
1189
  data: componentDefinition.data || {},
@@ -1177,7 +1191,7 @@
1177
1191
  // directly in the next line. Also `None` should be 0 not 2.
1178
1192
  encapsulation: componentDefinition.encapsulation || exports.ViewEncapsulation.Emulated,
1179
1193
  id: 'c',
1180
- styles: componentDefinition.styles || EMPTY_ARRAY,
1194
+ styles: componentDefinition.styles || EMPTY_ARRAY$1,
1181
1195
  _: null,
1182
1196
  setInput: null,
1183
1197
  schemas: componentDefinition.schemas || null,
@@ -1235,10 +1249,10 @@
1235
1249
  function ɵɵdefineNgModule(def) {
1236
1250
  var res = {
1237
1251
  type: def.type,
1238
- bootstrap: def.bootstrap || EMPTY_ARRAY,
1239
- declarations: def.declarations || EMPTY_ARRAY,
1240
- imports: def.imports || EMPTY_ARRAY,
1241
- exports: def.exports || EMPTY_ARRAY,
1252
+ bootstrap: def.bootstrap || EMPTY_ARRAY$1,
1253
+ declarations: def.declarations || EMPTY_ARRAY$1,
1254
+ imports: def.imports || EMPTY_ARRAY$1,
1255
+ exports: def.exports || EMPTY_ARRAY$1,
1242
1256
  transitiveCompileScopes: null,
1243
1257
  schemas: def.schemas || null,
1244
1258
  id: def.id || null,
@@ -1263,9 +1277,9 @@
1263
1277
  function ɵɵsetNgModuleScope(type, scope) {
1264
1278
  return noSideEffects(function () {
1265
1279
  var ngModuleDef = getNgModuleDef(type, true);
1266
- ngModuleDef.declarations = scope.declarations || EMPTY_ARRAY;
1267
- ngModuleDef.imports = scope.imports || EMPTY_ARRAY;
1268
- ngModuleDef.exports = scope.exports || EMPTY_ARRAY;
1280
+ ngModuleDef.declarations = scope.declarations || EMPTY_ARRAY$1;
1281
+ ngModuleDef.imports = scope.imports || EMPTY_ARRAY$1;
1282
+ ngModuleDef.exports = scope.exports || EMPTY_ARRAY$1;
1269
1283
  });
1270
1284
  }
1271
1285
  /**
@@ -3891,36 +3905,18 @@
3891
3905
  };
3892
3906
  return NodeInjector;
3893
3907
  }());
3894
- /**
3895
- * @codeGenApi
3896
- */
3897
- function ɵɵgetFactoryOf(type) {
3898
- var typeAny = type;
3899
- if (isForwardRef(type)) {
3900
- return (function () {
3901
- var factory = ɵɵgetFactoryOf(resolveForwardRef(typeAny));
3902
- return factory ? factory() : null;
3903
- });
3904
- }
3905
- var factory = getFactoryDef(typeAny);
3906
- if (factory === null) {
3907
- var injectorDef = getInjectorDef(typeAny);
3908
- factory = injectorDef && injectorDef.factory;
3909
- }
3910
- return factory || null;
3911
- }
3912
3908
  /**
3913
3909
  * @codeGenApi
3914
3910
  */
3915
3911
  function ɵɵgetInheritedFactory(type) {
3916
3912
  return noSideEffects(function () {
3917
3913
  var ownConstructor = type.prototype.constructor;
3918
- var ownFactory = ownConstructor[NG_FACTORY_DEF] || ɵɵgetFactoryOf(ownConstructor);
3914
+ var ownFactory = ownConstructor[NG_FACTORY_DEF] || getFactoryOf(ownConstructor);
3919
3915
  var objectPrototype = Object.prototype;
3920
3916
  var parent = Object.getPrototypeOf(type.prototype).constructor;
3921
3917
  // Go up the prototype until we hit `Object`.
3922
3918
  while (parent && parent !== objectPrototype) {
3923
- var factory = parent[NG_FACTORY_DEF] || ɵɵgetFactoryOf(parent);
3919
+ var factory = parent[NG_FACTORY_DEF] || getFactoryOf(parent);
3924
3920
  // If we hit something that has a factory and the factory isn't the same as the type,
3925
3921
  // we've found the inherited factory. Note the check that the factory isn't the type's
3926
3922
  // own factory is redundant in most cases, but if the user has custom decorators on the
@@ -3938,6 +3934,15 @@
3938
3934
  return function (t) { return new t(); };
3939
3935
  });
3940
3936
  }
3937
+ function getFactoryOf(type) {
3938
+ if (isForwardRef(type)) {
3939
+ return function () {
3940
+ var factory = getFactoryOf(resolveForwardRef(type));
3941
+ return factory && factory();
3942
+ };
3943
+ }
3944
+ return getFactoryDef(type);
3945
+ }
3941
3946
 
3942
3947
  /**
3943
3948
  * @license
@@ -6960,7 +6965,7 @@
6960
6965
  var tNode = lView[TVIEW].data[nodeIndex];
6961
6966
  var directiveStartIndex = tNode.directiveStart;
6962
6967
  if (directiveStartIndex == 0)
6963
- return EMPTY_ARRAY;
6968
+ return EMPTY_ARRAY$1;
6964
6969
  var directiveEndIndex = tNode.directiveEnd;
6965
6970
  if (!includeComponents && tNode.flags & 2 /* isComponentHost */)
6966
6971
  directiveStartIndex++;
@@ -8899,7 +8904,6 @@
8899
8904
  }
8900
8905
  return embeddedArray;
8901
8906
  }
8902
- throw new Error('unreachable code');
8903
8907
  }
8904
8908
  function nameSuffix(text) {
8905
8909
  if (text == null)
@@ -11572,7 +11576,7 @@
11572
11576
  * a circular dependency among the providers.
11573
11577
  */
11574
11578
  var CIRCULAR = {};
11575
- var EMPTY_ARRAY$1 = [];
11579
+ var EMPTY_ARRAY$2 = [];
11576
11580
  /**
11577
11581
  * A lazily initialized NullInjector.
11578
11582
  */
@@ -11821,7 +11825,7 @@
11821
11825
  if (importTypesWithProviders_1 !== undefined) {
11822
11826
  var _loop_1 = function (i) {
11823
11827
  var _a = importTypesWithProviders_1[i], ngModule_1 = _a.ngModule, providers = _a.providers;
11824
- deepForEach(providers, function (provider) { return _this.processProvider(provider, ngModule_1, providers || EMPTY_ARRAY$1); });
11828
+ deepForEach(providers, function (provider) { return _this.processProvider(provider, ngModule_1, providers || EMPTY_ARRAY$2); });
11825
11829
  };
11826
11830
  for (var i = 0; i < importTypesWithProviders_1.length; i++) {
11827
11831
  _loop_1(i);
@@ -11831,7 +11835,8 @@
11831
11835
  // Track the InjectorType and add a provider for it. It's important that this is done after the
11832
11836
  // def's imports.
11833
11837
  this.injectorDefTypes.add(defType);
11834
- this.records.set(defType, makeRecord(def.factory, NOT_YET));
11838
+ var factory = getFactoryDef(defType) || (function () { return new defType(); });
11839
+ this.records.set(defType, makeRecord(factory, NOT_YET));
11835
11840
  // Next, include providers listed on the definition itself.
11836
11841
  var defProviders = def.providers;
11837
11842
  if (defProviders != null && !isDuplicate) {
@@ -11910,12 +11915,6 @@
11910
11915
  if (factory !== null) {
11911
11916
  return factory;
11912
11917
  }
11913
- // If the token is an NgModule, it's also injectable but the factory is on its injector def
11914
- // (`ɵinj`)
11915
- var injectorDef = getInjectorDef(token);
11916
- if (injectorDef !== null) {
11917
- return injectorDef.factory;
11918
- }
11919
11918
  // InjectionTokens should have an injectable def (ɵprov) and thus should be handled above.
11920
11919
  // If it's missing that, it's an error.
11921
11920
  if (token instanceof InjectionToken) {
@@ -13080,7 +13079,7 @@
13080
13079
  if (value === EMPTY_OBJ) {
13081
13080
  return {};
13082
13081
  }
13083
- else if (value === EMPTY_ARRAY) {
13082
+ else if (value === EMPTY_ARRAY$1) {
13084
13083
  return [];
13085
13084
  }
13086
13085
  else {
@@ -14083,23 +14082,8 @@
14083
14082
  'ɵɵdefineInjectable': ɵɵdefineInjectable,
14084
14083
  'ɵɵdefineInjector': ɵɵdefineInjector,
14085
14084
  'ɵɵinject': ɵɵinject,
14086
- 'ɵɵgetFactoryOf': getFactoryOf,
14087
14085
  'ɵɵinvalidFactoryDep': ɵɵinvalidFactoryDep,
14088
14086
  };
14089
- function getFactoryOf(type) {
14090
- var typeAny = type;
14091
- if (isForwardRef(type)) {
14092
- return (function () {
14093
- var factory = getFactoryOf(resolveForwardRef(typeAny));
14094
- return factory ? factory() : null;
14095
- });
14096
- }
14097
- var def = getInjectableDef(typeAny) || getInjectorDef(typeAny);
14098
- if (!def || def.factory === undefined) {
14099
- return null;
14100
- }
14101
- return def.factory;
14102
- }
14103
14087
 
14104
14088
  /**
14105
14089
  * @license
@@ -14197,7 +14181,7 @@
14197
14181
 
14198
14182
  var ɵ0$9 = getClosureSafeProperty;
14199
14183
  var USE_VALUE$2 = getClosureSafeProperty({ provide: String, useValue: ɵ0$9 });
14200
- var EMPTY_ARRAY$2 = [];
14184
+ var EMPTY_ARRAY$3 = [];
14201
14185
  function convertInjectableProviderToFactory(type, provider) {
14202
14186
  if (!provider) {
14203
14187
  var reflectionCapabilities = new ReflectionCapabilities();
@@ -14215,7 +14199,7 @@
14215
14199
  }
14216
14200
  else if (provider.useFactory) {
14217
14201
  var factoryProvider_1 = provider;
14218
- return function () { return factoryProvider_1.useFactory.apply(factoryProvider_1, __spread(injectArgs(factoryProvider_1.deps || EMPTY_ARRAY$2))); };
14202
+ return function () { return factoryProvider_1.useFactory.apply(factoryProvider_1, __spread(injectArgs(factoryProvider_1.deps || EMPTY_ARRAY$3))); };
14219
14203
  }
14220
14204
  else if (provider.useClass) {
14221
14205
  var classProvider_1 = provider;
@@ -16413,31 +16397,6 @@
16413
16397
  return ɵɵpropertyInterpolateV;
16414
16398
  }
16415
16399
 
16416
- /**
16417
- * @license
16418
- * Copyright Google LLC All Rights Reserved.
16419
- *
16420
- * Use of this source code is governed by an MIT-style license that can be
16421
- * found in the LICENSE file at https://angular.io/license
16422
- */
16423
- /**
16424
- * This file contains reuseable "empty" symbols that can be used as default return values
16425
- * in different parts of the rendering code. Because the same symbols are returned, this
16426
- * allows for identity checks against these values to be consistently used by the framework
16427
- * code.
16428
- */
16429
- var EMPTY_OBJ$1 = {};
16430
- var EMPTY_ARRAY$3 = [];
16431
- // freezing the values prevents any code from accidentally inserting new values in
16432
- if ((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode()) {
16433
- // These property accesses can be ignored because ngDevMode will be set to false
16434
- // when optimizing code and the whole if statement will be dropped.
16435
- // tslint:disable-next-line:no-toplevel-property-access
16436
- Object.freeze(EMPTY_OBJ$1);
16437
- // tslint:disable-next-line:no-toplevel-property-access
16438
- Object.freeze(EMPTY_ARRAY$3);
16439
- }
16440
-
16441
16400
  /**
16442
16401
  * @license
16443
16402
  * Copyright Google LLC All Rights Reserved.
@@ -17620,7 +17579,7 @@
17620
17579
  */
17621
17580
  function toStylingKeyValueArray(keyValueArraySet, stringParser, value) {
17622
17581
  if (value == null /*|| value === undefined */ || value === '')
17623
- return EMPTY_ARRAY$3;
17582
+ return EMPTY_ARRAY;
17624
17583
  var styleKeyValueArray = [];
17625
17584
  var unwrappedValue = unwrapSafeValue(value);
17626
17585
  if (Array.isArray(unwrappedValue)) {
@@ -17677,7 +17636,7 @@
17677
17636
  function updateStylingMap(tView, tNode, lView, renderer, oldKeyValueArray, newKeyValueArray, isClassBased, bindingIndex) {
17678
17637
  if (oldKeyValueArray === NO_CHANGE) {
17679
17638
  // On first execution the oldKeyValueArray is NO_CHANGE => treat it as empty KeyValueArray.
17680
- oldKeyValueArray = EMPTY_ARRAY$3;
17639
+ oldKeyValueArray = EMPTY_ARRAY;
17681
17640
  }
17682
17641
  var oldIndex = 0;
17683
17642
  var newIndex = 0;
@@ -17815,7 +17774,7 @@
17815
17774
  // we have `undefined` (or empty array in case of styling-map instruction) instead. This
17816
17775
  // allows the resolution to apply the value (which may later be overwritten when the
17817
17776
  // binding actually executes.)
17818
- valueAtLViewIndex = isStylingMap ? EMPTY_ARRAY$3 : undefined;
17777
+ valueAtLViewIndex = isStylingMap ? EMPTY_ARRAY : undefined;
17819
17778
  }
17820
17779
  var currentValue = isStylingMap ? keyValueArrayGet(valueAtLViewIndex, prop) :
17821
17780
  key === prop ? valueAtLViewIndex : undefined;
@@ -20251,7 +20210,7 @@
20251
20210
  _removes = tIcu.remove[currentCase];
20252
20211
  }
20253
20212
  else {
20254
- _removes = EMPTY_ARRAY;
20213
+ _removes = EMPTY_ARRAY$1;
20255
20214
  }
20256
20215
  }
20257
20216
  function icuContainerIteratorNext() {
@@ -21960,7 +21919,7 @@
21960
21919
  /**
21961
21920
  * @publicApi
21962
21921
  */
21963
- var VERSION = new Version('11.2.2');
21922
+ var VERSION = new Version('11.2.6');
21964
21923
 
21965
21924
  /**
21966
21925
  * @license
@@ -27365,7 +27324,6 @@
27365
27324
  'ɵɵdefineNgModule': ɵɵdefineNgModule,
27366
27325
  'ɵɵdefinePipe': ɵɵdefinePipe,
27367
27326
  'ɵɵdirectiveInject': ɵɵdirectiveInject,
27368
- 'ɵɵgetFactoryOf': ɵɵgetFactoryOf,
27369
27327
  'ɵɵgetInheritedFactory': ɵɵgetInheritedFactory,
27370
27328
  'ɵɵinject': ɵɵinject,
27371
27329
  'ɵɵinjectAttribute': ɵɵinjectAttribute,
@@ -27585,7 +27543,7 @@
27585
27543
  enqueueModuleForDelayedScoping(moduleType, ngModule);
27586
27544
  }
27587
27545
  /**
27588
- * Compiles and adds the `ɵmod` and `ɵinj` properties to the module class.
27546
+ * Compiles and adds the `ɵmod`, `ɵfac` and `ɵinj` properties to the module class.
27589
27547
  *
27590
27548
  * It's possible to compile a module via this API which will allow duplicate declarations in its
27591
27549
  * root.
@@ -27629,6 +27587,25 @@
27629
27587
  return ngModuleDef;
27630
27588
  }
27631
27589
  });
27590
+ var ngFactoryDef = null;
27591
+ Object.defineProperty(moduleType, NG_FACTORY_DEF, {
27592
+ get: function () {
27593
+ if (ngFactoryDef === null) {
27594
+ var compiler = getCompilerFacade();
27595
+ ngFactoryDef = compiler.compileFactory(angularCoreEnv, "ng:///" + moduleType.name + "/\u0275fac.js", {
27596
+ name: moduleType.name,
27597
+ type: moduleType,
27598
+ deps: reflectDependencies(moduleType),
27599
+ injectFn: 'inject',
27600
+ target: compiler.R3FactoryTarget.NgModule,
27601
+ typeArgumentCount: 0,
27602
+ });
27603
+ }
27604
+ return ngFactoryDef;
27605
+ },
27606
+ // Make the property configurable in dev mode to allow overriding in tests
27607
+ configurable: !!ngDevMode,
27608
+ });
27632
27609
  var ngInjectorDef = null;
27633
27610
  Object.defineProperty(moduleType, NG_INJ_DEF, {
27634
27611
  get: function () {
@@ -27638,7 +27615,6 @@
27638
27615
  var meta = {
27639
27616
  name: moduleType.name,
27640
27617
  type: moduleType,
27641
- deps: reflectDependencies(moduleType),
27642
27618
  providers: ngModule.providers || EMPTY_ARRAY$5,
27643
27619
  imports: [
27644
27620
  (ngModule.imports || EMPTY_ARRAY$5).map(resolveForwardRef),
@@ -28044,7 +28020,7 @@
28044
28020
  }
28045
28021
  }
28046
28022
  var templateUrl = metadata.templateUrl || "ng:///" + type.name + "/template.html";
28047
- var meta = Object.assign(Object.assign({}, directiveMetadata(type, metadata)), { typeSourceSpan: compiler.createParseSourceSpan('Component', type.name, templateUrl), template: metadata.template || '', preserveWhitespaces: preserveWhitespaces, styles: metadata.styles || EMPTY_ARRAY, animations: metadata.animations, directives: [], changeDetection: metadata.changeDetection, pipes: new Map(), encapsulation: encapsulation, interpolation: metadata.interpolation, viewProviders: metadata.viewProviders || null });
28023
+ var meta = Object.assign(Object.assign({}, directiveMetadata(type, metadata)), { typeSourceSpan: compiler.createParseSourceSpan('Component', type.name, templateUrl), template: metadata.template || '', preserveWhitespaces: preserveWhitespaces, styles: metadata.styles || EMPTY_ARRAY$1, animations: metadata.animations, directives: [], changeDetection: metadata.changeDetection, pipes: new Map(), encapsulation: encapsulation, interpolation: metadata.interpolation, viewProviders: metadata.viewProviders || null });
28048
28024
  compilationDepth++;
28049
28025
  try {
28050
28026
  if (meta.usesInheritance) {
@@ -28153,8 +28129,8 @@
28153
28129
  deps: reflectDependencies(type),
28154
28130
  host: metadata.host || EMPTY_OBJ,
28155
28131
  propMetadata: propMetadata,
28156
- inputs: metadata.inputs || EMPTY_ARRAY,
28157
- outputs: metadata.outputs || EMPTY_ARRAY,
28132
+ inputs: metadata.inputs || EMPTY_ARRAY$1,
28133
+ outputs: metadata.outputs || EMPTY_ARRAY$1,
28158
28134
  queries: extractQueriesMetadata(type, propMetadata, isContentQuery),
28159
28135
  lifecycle: { usesOnChanges: reflect.hasLifecycleHook(type, 'ngOnChanges') },
28160
28136
  typeSourceSpan: null,
@@ -28449,11 +28425,10 @@
28449
28425
  if (metadata && metadata.exports) {
28450
28426
  imports = __spread(imports, [metadata.exports]);
28451
28427
  }
28452
- moduleType.ɵinj = ɵɵdefineInjector({
28453
- factory: convertInjectableProviderToFactory(moduleType, { useClass: moduleType }),
28454
- providers: metadata && metadata.providers,
28455
- imports: imports,
28456
- });
28428
+ var moduleInjectorType = moduleType;
28429
+ moduleInjectorType.ɵfac = convertInjectableProviderToFactory(moduleType, { useClass: moduleType });
28430
+ moduleInjectorType.ɵinj =
28431
+ ɵɵdefineInjector({ providers: metadata && metadata.providers, imports: imports });
28457
28432
  }
28458
28433
  var SWITCH_COMPILE_NGMODULE__POST_R3__ = compileNgModule;
28459
28434
  var SWITCH_COMPILE_NGMODULE__PRE_R3__ = preR3NgModuleCompile;
@@ -34132,7 +34107,6 @@
34132
34107
  exports.ɵɵelementStart = ɵɵelementStart;
34133
34108
  exports.ɵɵenableBindings = ɵɵenableBindings;
34134
34109
  exports.ɵɵgetCurrentView = ɵɵgetCurrentView;
34135
- exports.ɵɵgetFactoryOf = ɵɵgetFactoryOf;
34136
34110
  exports.ɵɵgetInheritedFactory = ɵɵgetInheritedFactory;
34137
34111
  exports.ɵɵhostProperty = ɵɵhostProperty;
34138
34112
  exports.ɵɵi18n = ɵɵi18n;