@angular/core 15.2.1 → 15.2.3
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/esm2020/src/application_ref.mjs +14 -3
- package/esm2020/src/application_tokens.mjs +1 -12
- package/esm2020/src/change_detection/change_detection.mjs +2 -2
- package/esm2020/src/change_detection/constants.mjs +1 -49
- package/esm2020/src/core.mjs +3 -3
- package/esm2020/src/core_private_export.mjs +1 -5
- package/esm2020/src/linker/template_ref.mjs +3 -3
- package/esm2020/src/render3/definition.mjs +53 -42
- package/esm2020/src/render3/i18n/i18n_util.mjs +3 -3
- package/esm2020/src/render3/instructions/shared.mjs +2 -2
- package/esm2020/src/render3/instructions/template.mjs +2 -2
- package/esm2020/src/render3/interfaces/node.mjs +1 -1
- package/esm2020/src/render3/interfaces/type_checks.mjs +2 -2
- package/esm2020/src/render3/jit/directive.mjs +1 -2
- package/esm2020/src/render3/util/discovery_utils.mjs +3 -2
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/logger.mjs +3 -3
- package/esm2020/testing/src/ng_zone_mock.mjs +3 -3
- package/fesm2015/core.mjs +76 -133
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +62 -116
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +76 -116
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +63 -99
- package/fesm2020/testing.mjs.map +1 -1
- package/index.d.ts +248 -422
- package/package.json +1 -1
- package/schematics/migrations/relative-link-resolution/bundle.js +7 -7
- package/schematics/migrations/router-link-with-href/bundle.js +10 -10
- package/schematics/ng-generate/standalone-migration/bundle.js +699 -674
- package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
- package/testing/index.d.ts +1 -1
package/fesm2020/core.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.2.
|
|
2
|
+
* @license Angular v15.2.3
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -855,54 +855,6 @@ var ChangeDetectionStrategy;
|
|
|
855
855
|
*/
|
|
856
856
|
ChangeDetectionStrategy[ChangeDetectionStrategy["Default"] = 1] = "Default";
|
|
857
857
|
})(ChangeDetectionStrategy || (ChangeDetectionStrategy = {}));
|
|
858
|
-
/**
|
|
859
|
-
* Defines the possible states of the default change detector.
|
|
860
|
-
* @see `ChangeDetectorRef`
|
|
861
|
-
*/
|
|
862
|
-
var ChangeDetectorStatus;
|
|
863
|
-
(function (ChangeDetectorStatus) {
|
|
864
|
-
/**
|
|
865
|
-
* A state in which, after calling `detectChanges()`, the change detector
|
|
866
|
-
* state becomes `Checked`, and must be explicitly invoked or reactivated.
|
|
867
|
-
*/
|
|
868
|
-
ChangeDetectorStatus[ChangeDetectorStatus["CheckOnce"] = 0] = "CheckOnce";
|
|
869
|
-
/**
|
|
870
|
-
* A state in which change detection is skipped until the change detector mode
|
|
871
|
-
* becomes `CheckOnce`.
|
|
872
|
-
*/
|
|
873
|
-
ChangeDetectorStatus[ChangeDetectorStatus["Checked"] = 1] = "Checked";
|
|
874
|
-
/**
|
|
875
|
-
* A state in which change detection continues automatically until explicitly
|
|
876
|
-
* deactivated.
|
|
877
|
-
*/
|
|
878
|
-
ChangeDetectorStatus[ChangeDetectorStatus["CheckAlways"] = 2] = "CheckAlways";
|
|
879
|
-
/**
|
|
880
|
-
* A state in which a change detector sub tree is not a part of the main tree and
|
|
881
|
-
* should be skipped.
|
|
882
|
-
*/
|
|
883
|
-
ChangeDetectorStatus[ChangeDetectorStatus["Detached"] = 3] = "Detached";
|
|
884
|
-
/**
|
|
885
|
-
* Indicates that the change detector encountered an error checking a binding
|
|
886
|
-
* or calling a directive lifecycle method and is now in an inconsistent state. Change
|
|
887
|
-
* detectors in this state do not detect changes.
|
|
888
|
-
*/
|
|
889
|
-
ChangeDetectorStatus[ChangeDetectorStatus["Errored"] = 4] = "Errored";
|
|
890
|
-
/**
|
|
891
|
-
* Indicates that the change detector has been destroyed.
|
|
892
|
-
*/
|
|
893
|
-
ChangeDetectorStatus[ChangeDetectorStatus["Destroyed"] = 5] = "Destroyed";
|
|
894
|
-
})(ChangeDetectorStatus || (ChangeDetectorStatus = {}));
|
|
895
|
-
/**
|
|
896
|
-
* Reports whether a given strategy is currently the default for change detection.
|
|
897
|
-
* @param changeDetectionStrategy The strategy to check.
|
|
898
|
-
* @returns True if the given strategy is the current default, false otherwise.
|
|
899
|
-
* @see `ChangeDetectorStatus`
|
|
900
|
-
* @see `ChangeDetectorRef`
|
|
901
|
-
*/
|
|
902
|
-
function isDefaultChangeDetectionStrategy(changeDetectionStrategy) {
|
|
903
|
-
return changeDetectionStrategy == null ||
|
|
904
|
-
changeDetectionStrategy === ChangeDetectionStrategy.Default;
|
|
905
|
-
}
|
|
906
858
|
|
|
907
859
|
/**
|
|
908
860
|
* Defines the CSS styles encapsulation policies for the {@link Component} decorator's
|
|
@@ -983,7 +935,7 @@ let componentDefCount = 0;
|
|
|
983
935
|
*
|
|
984
936
|
* # Example
|
|
985
937
|
* ```
|
|
986
|
-
* class
|
|
938
|
+
* class MyComponent {
|
|
987
939
|
* // Generated by Angular Template Compiler
|
|
988
940
|
* // [Symbol] syntax will not be supported by TypeScript until v2.7
|
|
989
941
|
* static ɵcmp = defineComponent({
|
|
@@ -998,61 +950,31 @@ function ɵɵdefineComponent(componentDefinition) {
|
|
|
998
950
|
// Initialize ngDevMode. This must be the first statement in ɵɵdefineComponent.
|
|
999
951
|
// See the `initNgDevMode` docstring for more information.
|
|
1000
952
|
(typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode();
|
|
1001
|
-
const
|
|
1002
|
-
const standalone = componentDefinition.standalone === true;
|
|
1003
|
-
const declaredInputs = {};
|
|
953
|
+
const baseDef = getNgDirectiveDef(componentDefinition);
|
|
1004
954
|
const def = {
|
|
1005
|
-
|
|
1006
|
-
providersResolver: null,
|
|
955
|
+
...baseDef,
|
|
1007
956
|
decls: componentDefinition.decls,
|
|
1008
957
|
vars: componentDefinition.vars,
|
|
1009
|
-
|
|
1010
|
-
template: componentDefinition.template || null,
|
|
958
|
+
template: componentDefinition.template,
|
|
1011
959
|
consts: componentDefinition.consts || null,
|
|
1012
960
|
ngContentSelectors: componentDefinition.ngContentSelectors,
|
|
1013
|
-
hostBindings: componentDefinition.hostBindings || null,
|
|
1014
|
-
hostVars: componentDefinition.hostVars || 0,
|
|
1015
|
-
hostAttrs: componentDefinition.hostAttrs || null,
|
|
1016
|
-
contentQueries: componentDefinition.contentQueries || null,
|
|
1017
|
-
declaredInputs: declaredInputs,
|
|
1018
|
-
inputs: null,
|
|
1019
|
-
outputs: null,
|
|
1020
|
-
exportAs: componentDefinition.exportAs || null,
|
|
1021
961
|
onPush: componentDefinition.changeDetection === ChangeDetectionStrategy.OnPush,
|
|
1022
962
|
directiveDefs: null,
|
|
1023
963
|
pipeDefs: null,
|
|
1024
|
-
standalone,
|
|
1025
|
-
dependencies: standalone && componentDefinition.dependencies || null,
|
|
964
|
+
dependencies: baseDef.standalone && componentDefinition.dependencies || null,
|
|
1026
965
|
getStandaloneInjector: null,
|
|
1027
|
-
selectors: componentDefinition.selectors || EMPTY_ARRAY,
|
|
1028
|
-
viewQuery: componentDefinition.viewQuery || null,
|
|
1029
|
-
features: componentDefinition.features || null,
|
|
1030
966
|
data: componentDefinition.data || {},
|
|
1031
967
|
encapsulation: componentDefinition.encapsulation || ViewEncapsulation$1.Emulated,
|
|
1032
968
|
id: `c${componentDefCount++}`,
|
|
1033
969
|
styles: componentDefinition.styles || EMPTY_ARRAY,
|
|
1034
970
|
_: null,
|
|
1035
|
-
setInput: null,
|
|
1036
971
|
schemas: componentDefinition.schemas || null,
|
|
1037
972
|
tView: null,
|
|
1038
|
-
findHostDirectiveDefs: null,
|
|
1039
|
-
hostDirectives: null,
|
|
1040
973
|
};
|
|
974
|
+
initFeatures(def);
|
|
1041
975
|
const dependencies = componentDefinition.dependencies;
|
|
1042
|
-
|
|
1043
|
-
def.
|
|
1044
|
-
def.outputs = invertObject(componentDefinition.outputs),
|
|
1045
|
-
feature && feature.forEach((fn) => fn(def));
|
|
1046
|
-
def.directiveDefs = dependencies ?
|
|
1047
|
-
(() => (typeof dependencies === 'function' ? dependencies() : dependencies)
|
|
1048
|
-
.map(extractDirectiveDef)
|
|
1049
|
-
.filter(nonNull)) :
|
|
1050
|
-
null;
|
|
1051
|
-
def.pipeDefs = dependencies ?
|
|
1052
|
-
(() => (typeof dependencies === 'function' ? dependencies() : dependencies)
|
|
1053
|
-
.map(getPipeDef$1)
|
|
1054
|
-
.filter(nonNull)) :
|
|
1055
|
-
null;
|
|
976
|
+
def.directiveDefs = extractDefListOrFactory(dependencies, /* pipeDef */ false);
|
|
977
|
+
def.pipeDefs = extractDefListOrFactory(dependencies, /* pipeDef */ true);
|
|
1056
978
|
return def;
|
|
1057
979
|
});
|
|
1058
980
|
}
|
|
@@ -1067,8 +989,8 @@ function ɵɵdefineComponent(componentDefinition) {
|
|
|
1067
989
|
*/
|
|
1068
990
|
function ɵɵsetComponentScope(type, directives, pipes) {
|
|
1069
991
|
const def = type.ɵcmp;
|
|
1070
|
-
def.directiveDefs = (
|
|
1071
|
-
def.pipeDefs = (
|
|
992
|
+
def.directiveDefs = extractDefListOrFactory(directives, /* pipeDef */ false);
|
|
993
|
+
def.pipeDefs = extractDefListOrFactory(pipes, /* pipeDef */ true);
|
|
1072
994
|
}
|
|
1073
995
|
function extractDirectiveDef(type) {
|
|
1074
996
|
return getComponentDef(type) || getDirectiveDef(type);
|
|
@@ -1203,7 +1125,13 @@ function invertObject(obj, secondary) {
|
|
|
1203
1125
|
*
|
|
1204
1126
|
* @codeGenApi
|
|
1205
1127
|
*/
|
|
1206
|
-
|
|
1128
|
+
function ɵɵdefineDirective(directiveDefinition) {
|
|
1129
|
+
return noSideEffects(() => {
|
|
1130
|
+
const def = getNgDirectiveDef(directiveDefinition);
|
|
1131
|
+
initFeatures(def);
|
|
1132
|
+
return def;
|
|
1133
|
+
});
|
|
1134
|
+
}
|
|
1207
1135
|
/**
|
|
1208
1136
|
* Create a pipe definition object.
|
|
1209
1137
|
*
|
|
@@ -1263,6 +1191,41 @@ function getNgModuleDef(type, throwNotFound) {
|
|
|
1263
1191
|
}
|
|
1264
1192
|
return ngModuleDef;
|
|
1265
1193
|
}
|
|
1194
|
+
function getNgDirectiveDef(directiveDefinition) {
|
|
1195
|
+
const declaredInputs = {};
|
|
1196
|
+
return {
|
|
1197
|
+
type: directiveDefinition.type,
|
|
1198
|
+
providersResolver: null,
|
|
1199
|
+
factory: null,
|
|
1200
|
+
hostBindings: directiveDefinition.hostBindings || null,
|
|
1201
|
+
hostVars: directiveDefinition.hostVars || 0,
|
|
1202
|
+
hostAttrs: directiveDefinition.hostAttrs || null,
|
|
1203
|
+
contentQueries: directiveDefinition.contentQueries || null,
|
|
1204
|
+
declaredInputs,
|
|
1205
|
+
exportAs: directiveDefinition.exportAs || null,
|
|
1206
|
+
standalone: directiveDefinition.standalone === true,
|
|
1207
|
+
selectors: directiveDefinition.selectors || EMPTY_ARRAY,
|
|
1208
|
+
viewQuery: directiveDefinition.viewQuery || null,
|
|
1209
|
+
features: directiveDefinition.features || null,
|
|
1210
|
+
setInput: null,
|
|
1211
|
+
findHostDirectiveDefs: null,
|
|
1212
|
+
hostDirectives: null,
|
|
1213
|
+
inputs: invertObject(directiveDefinition.inputs, declaredInputs),
|
|
1214
|
+
outputs: invertObject(directiveDefinition.outputs),
|
|
1215
|
+
};
|
|
1216
|
+
}
|
|
1217
|
+
function initFeatures(definition) {
|
|
1218
|
+
definition.features?.forEach((fn) => fn(definition));
|
|
1219
|
+
}
|
|
1220
|
+
function extractDefListOrFactory(dependencies, pipeDef) {
|
|
1221
|
+
if (!dependencies) {
|
|
1222
|
+
return null;
|
|
1223
|
+
}
|
|
1224
|
+
const defExtractor = pipeDef ? getPipeDef$1 : extractDirectiveDef;
|
|
1225
|
+
return () => (typeof dependencies === 'function' ? dependencies() : dependencies)
|
|
1226
|
+
.map(dep => defExtractor(dep))
|
|
1227
|
+
.filter(nonNull);
|
|
1228
|
+
}
|
|
1266
1229
|
|
|
1267
1230
|
// Below are constants for LView indices to help us look up LView members
|
|
1268
1231
|
// without having to remember the specific indices.
|
|
@@ -1364,7 +1327,7 @@ function isDirectiveHost(tNode) {
|
|
|
1364
1327
|
return (tNode.flags & 1 /* TNodeFlags.isDirectiveHost */) === 1 /* TNodeFlags.isDirectiveHost */;
|
|
1365
1328
|
}
|
|
1366
1329
|
function isComponentDef(def) {
|
|
1367
|
-
return def.template
|
|
1330
|
+
return !!def.template;
|
|
1368
1331
|
}
|
|
1369
1332
|
function isRootView(target) {
|
|
1370
1333
|
return (target[FLAGS] & 256 /* LViewFlags.IsRoot */) !== 0;
|
|
@@ -8384,7 +8347,7 @@ class Version {
|
|
|
8384
8347
|
/**
|
|
8385
8348
|
* @publicApi
|
|
8386
8349
|
*/
|
|
8387
|
-
const VERSION = new Version('15.2.
|
|
8350
|
+
const VERSION = new Version('15.2.3');
|
|
8388
8351
|
|
|
8389
8352
|
// This default value is when checking the hierarchy for a token.
|
|
8390
8353
|
//
|
|
@@ -10684,7 +10647,7 @@ function createTNode(tView, tParent, type, index, value, attrs) {
|
|
|
10684
10647
|
initialInputs: undefined,
|
|
10685
10648
|
inputs: null,
|
|
10686
10649
|
outputs: null,
|
|
10687
|
-
|
|
10650
|
+
tView: null,
|
|
10688
10651
|
next: null,
|
|
10689
10652
|
prev: null,
|
|
10690
10653
|
projectionNext: null,
|
|
@@ -13464,7 +13427,7 @@ function templateFirstCreatePass(index, tView, lView, templateFn, decls, vars, t
|
|
|
13464
13427
|
const tNode = getOrCreateTNode(tView, index, 4 /* TNodeType.Container */, tagName || null, getConstant(tViewConsts, attrsIndex));
|
|
13465
13428
|
resolveDirectives(tView, lView, tNode, getConstant(tViewConsts, localRefsIndex));
|
|
13466
13429
|
registerPostOrderHooks(tView, tNode);
|
|
13467
|
-
const embeddedTView = tNode.
|
|
13430
|
+
const embeddedTView = tNode.tView = createTView(2 /* TViewType.Embedded */, tNode, templateFn, decls, vars, tView.directiveRegistry, tView.pipeRegistry, null, tView.schemas, tViewConsts);
|
|
13468
13431
|
if (tView.queries !== null) {
|
|
13469
13432
|
tView.queries.template(tView, tNode);
|
|
13470
13433
|
embeddedTView.queries = tView.queries.embeddedTView(tNode);
|
|
@@ -17823,7 +17786,7 @@ function getTIcu(tView, index) {
|
|
|
17823
17786
|
if (value === null || typeof value === 'string')
|
|
17824
17787
|
return null;
|
|
17825
17788
|
if (ngDevMode &&
|
|
17826
|
-
!(value.hasOwnProperty('
|
|
17789
|
+
!(value.hasOwnProperty('tView') || value.hasOwnProperty('currentCaseLViewIndex'))) {
|
|
17827
17790
|
throwError('We expect to get \'null\'|\'TIcu\'|\'TIcuContainer\', but got: ' + value);
|
|
17828
17791
|
}
|
|
17829
17792
|
// Here the `value.hasOwnProperty('currentCaseLViewIndex')` is a polymorphic read as it can be
|
|
@@ -17852,7 +17815,7 @@ function getTIcu(tView, index) {
|
|
|
17852
17815
|
function setTIcu(tView, index, tIcu) {
|
|
17853
17816
|
const tNode = tView.data[index];
|
|
17854
17817
|
ngDevMode &&
|
|
17855
|
-
assertEqual(tNode === null || tNode.hasOwnProperty('
|
|
17818
|
+
assertEqual(tNode === null || tNode.hasOwnProperty('tView'), true, 'We expect to get \'null\'|\'TIcuContainer\'');
|
|
17856
17819
|
if (tNode === null) {
|
|
17857
17820
|
tView.data[index] = tIcu;
|
|
17858
17821
|
}
|
|
@@ -20309,7 +20272,8 @@ function sortListeners(a, b) {
|
|
|
20309
20272
|
* See call site for more info.
|
|
20310
20273
|
*/
|
|
20311
20274
|
function isDirectiveDefHack(obj) {
|
|
20312
|
-
return obj.type !== undefined && obj.
|
|
20275
|
+
return obj.type !== undefined && obj.declaredInputs !== undefined &&
|
|
20276
|
+
obj.findHostDirectiveDefs !== undefined;
|
|
20313
20277
|
}
|
|
20314
20278
|
/**
|
|
20315
20279
|
* Retrieve the component `LView` from component/element.
|
|
@@ -21147,7 +21111,7 @@ const R3TemplateRef = class TemplateRef extends ViewEngineTemplateRef {
|
|
|
21147
21111
|
this.elementRef = elementRef;
|
|
21148
21112
|
}
|
|
21149
21113
|
createEmbeddedView(context, injector) {
|
|
21150
|
-
const embeddedTView = this._declarationTContainer.
|
|
21114
|
+
const embeddedTView = this._declarationTContainer.tView;
|
|
21151
21115
|
const embeddedLView = createLView(this._declarationLView, embeddedTView, context, 16 /* LViewFlags.CheckAlways */, null, embeddedTView.declTNode, null, null, null, null, injector || null);
|
|
21152
21116
|
const declarationLContainer = this._declarationLView[this._declarationTContainer.index];
|
|
21153
21117
|
ngDevMode && assertLContainer(declarationLContainer);
|
|
@@ -21177,7 +21141,7 @@ function injectTemplateRef() {
|
|
|
21177
21141
|
*/
|
|
21178
21142
|
function createTemplateRef(hostTNode, hostLView) {
|
|
21179
21143
|
if (hostTNode.type & 4 /* TNodeType.Container */) {
|
|
21180
|
-
ngDevMode && assertDefined(hostTNode.
|
|
21144
|
+
ngDevMode && assertDefined(hostTNode.tView, 'TView must be allocated');
|
|
21181
21145
|
return new R3TemplateRef(hostLView, hostTNode, createElementRef(hostTNode, hostLView));
|
|
21182
21146
|
}
|
|
21183
21147
|
return null;
|
|
@@ -22745,7 +22709,6 @@ function compileComponent(type, metadata) {
|
|
|
22745
22709
|
encapsulation,
|
|
22746
22710
|
interpolation: metadata.interpolation,
|
|
22747
22711
|
viewProviders: metadata.viewProviders || null,
|
|
22748
|
-
isStandalone: !!metadata.standalone,
|
|
22749
22712
|
};
|
|
22750
22713
|
compilationDepth++;
|
|
22751
22714
|
try {
|
|
@@ -23475,17 +23438,6 @@ const PLATFORM_ID = new InjectionToken('Platform ID', {
|
|
|
23475
23438
|
providedIn: 'platform',
|
|
23476
23439
|
factory: () => 'unknown', // set a default platform name, when none set explicitly
|
|
23477
23440
|
});
|
|
23478
|
-
/**
|
|
23479
|
-
* A [DI token](guide/glossary#di-token "DI token definition") that provides a set of callbacks to
|
|
23480
|
-
* be called for every component that is bootstrapped.
|
|
23481
|
-
*
|
|
23482
|
-
* Each callback must take a `ComponentRef` instance and return nothing.
|
|
23483
|
-
*
|
|
23484
|
-
* `(componentRef: ComponentRef) => void`
|
|
23485
|
-
*
|
|
23486
|
-
* @publicApi
|
|
23487
|
-
*/
|
|
23488
|
-
const APP_BOOTSTRAP_LISTENER = new InjectionToken('appBootstrapListener');
|
|
23489
23441
|
/**
|
|
23490
23442
|
* A [DI token](guide/glossary#di-token "DI token definition") that indicates the root directory of
|
|
23491
23443
|
* the application
|
|
@@ -24611,6 +24563,7 @@ function setTestabilityGetter(getter) {
|
|
|
24611
24563
|
}
|
|
24612
24564
|
let _testabilityGetter;
|
|
24613
24565
|
|
|
24566
|
+
const NG_DEV_MODE = typeof ngDevMode === 'undefined' || ngDevMode;
|
|
24614
24567
|
let _platformInjector = null;
|
|
24615
24568
|
/**
|
|
24616
24569
|
* Internal token to indicate whether having multiple bootstrapped platform should be allowed (only
|
|
@@ -24624,7 +24577,17 @@ const ALLOW_MULTIPLE_PLATFORMS = new InjectionToken('AllowMultipleToken');
|
|
|
24624
24577
|
* entire class tree-shakeable.
|
|
24625
24578
|
*/
|
|
24626
24579
|
const PLATFORM_DESTROY_LISTENERS = new InjectionToken('PlatformDestroyListeners');
|
|
24627
|
-
|
|
24580
|
+
/**
|
|
24581
|
+
* A [DI token](guide/glossary#di-token "DI token definition") that provides a set of callbacks to
|
|
24582
|
+
* be called for every component that is bootstrapped.
|
|
24583
|
+
*
|
|
24584
|
+
* Each callback must take a `ComponentRef` instance and return nothing.
|
|
24585
|
+
*
|
|
24586
|
+
* `(componentRef: ComponentRef) => void`
|
|
24587
|
+
*
|
|
24588
|
+
* @publicApi
|
|
24589
|
+
*/
|
|
24590
|
+
const APP_BOOTSTRAP_LISTENER = new InjectionToken('appBootstrapListener');
|
|
24628
24591
|
function compileNgModuleFactory(injector, options, moduleType) {
|
|
24629
24592
|
ngDevMode && assertNgModuleType(moduleType);
|
|
24630
24593
|
const moduleFactory = new NgModuleFactory(moduleType);
|
|
@@ -27333,9 +27296,6 @@ function coerceToBoolean(value) {
|
|
|
27333
27296
|
return typeof value === 'boolean' ? value : (value != null && value !== 'false');
|
|
27334
27297
|
}
|
|
27335
27298
|
|
|
27336
|
-
// TODO(alxhub): allows tests to compile, can be removed when tests have been updated.
|
|
27337
|
-
const ɵivyEnabled = true;
|
|
27338
|
-
|
|
27339
27299
|
/**
|
|
27340
27300
|
* Compiles a partial directive declaration object into a full directive definition object.
|
|
27341
27301
|
*
|
|
@@ -27596,5 +27556,5 @@ if (typeof ngDevMode !== 'undefined' && ngDevMode) {
|
|
|
27596
27556
|
* Generated bundle index. Do not edit.
|
|
27597
27557
|
*/
|
|
27598
27558
|
|
|
27599
|
-
export { ANALYZE_FOR_ENTRY_COMPONENTS, ANIMATION_MODULE_TYPE, APP_BOOTSTRAP_LISTENER, APP_ID, APP_INITIALIZER, ApplicationInitStatus, ApplicationModule, ApplicationRef, Attribute, COMPILER_OPTIONS, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, ChangeDetectorRef, Compiler, CompilerFactory, Component, ComponentFactory$1 as ComponentFactory, ComponentFactoryResolver$1 as ComponentFactoryResolver, ComponentRef$1 as ComponentRef, ContentChild, ContentChildren, DEFAULT_CURRENCY_CODE, DebugElement, DebugEventListener, DebugNode, DefaultIterableDiffer, Directive, ENVIRONMENT_INITIALIZER, ElementRef, EmbeddedViewRef, EnvironmentInjector, ErrorHandler, EventEmitter, Host, HostBinding, HostListener, INJECTOR, Inject, InjectFlags, Injectable, InjectionToken, Injector, Input, IterableDiffers, KeyValueDiffers, LOCALE_ID, MissingTranslationStrategy, ModuleWithComponentFactories, NO_ERRORS_SCHEMA, NgModule, NgModuleFactory$1 as NgModuleFactory, NgModuleRef$1 as NgModuleRef, NgProbeToken, NgZone, Optional, Output, PACKAGE_ROOT_URL, PLATFORM_ID, PLATFORM_INITIALIZER, Pipe, PlatformRef, Query, QueryList, ReflectiveInjector, ReflectiveKey, Renderer2, RendererFactory2, RendererStyleFlags2, ResolvedReflectiveFactory, Sanitizer, SecurityContext, Self, SimpleChange, SkipSelf, TRANSLATIONS, TRANSLATIONS_FORMAT, TemplateRef, Testability, TestabilityRegistry, Type, VERSION, Version, ViewChild, ViewChildren, ViewContainerRef, ViewEncapsulation$1 as ViewEncapsulation, ViewRef, asNativeElements, assertPlatform, createComponent, createEnvironmentInjector, createNgModule, createNgModuleRef, createPlatform, createPlatformFactory, defineInjectable, destroyPlatform, enableProdMode, forwardRef, getDebugNode, getModuleFactory, getNgModuleById, getPlatform, importProvidersFrom, inject, isDevMode, isStandalone, makeEnvironmentProviders, platformCore, reflectComponentType, resolveForwardRef, setTestabilityGetter, ALLOW_MULTIPLE_PLATFORMS as ɵALLOW_MULTIPLE_PLATFORMS, APP_ID_RANDOM_PROVIDER as ɵAPP_ID_RANDOM_PROVIDER,
|
|
27559
|
+
export { ANALYZE_FOR_ENTRY_COMPONENTS, ANIMATION_MODULE_TYPE, APP_BOOTSTRAP_LISTENER, APP_ID, APP_INITIALIZER, ApplicationInitStatus, ApplicationModule, ApplicationRef, Attribute, COMPILER_OPTIONS, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, ChangeDetectorRef, Compiler, CompilerFactory, Component, ComponentFactory$1 as ComponentFactory, ComponentFactoryResolver$1 as ComponentFactoryResolver, ComponentRef$1 as ComponentRef, ContentChild, ContentChildren, DEFAULT_CURRENCY_CODE, DebugElement, DebugEventListener, DebugNode, DefaultIterableDiffer, Directive, ENVIRONMENT_INITIALIZER, ElementRef, EmbeddedViewRef, EnvironmentInjector, ErrorHandler, EventEmitter, Host, HostBinding, HostListener, INJECTOR, Inject, InjectFlags, Injectable, InjectionToken, Injector, Input, IterableDiffers, KeyValueDiffers, LOCALE_ID, MissingTranslationStrategy, ModuleWithComponentFactories, NO_ERRORS_SCHEMA, NgModule, NgModuleFactory$1 as NgModuleFactory, NgModuleRef$1 as NgModuleRef, NgProbeToken, NgZone, Optional, Output, PACKAGE_ROOT_URL, PLATFORM_ID, PLATFORM_INITIALIZER, Pipe, PlatformRef, Query, QueryList, ReflectiveInjector, ReflectiveKey, Renderer2, RendererFactory2, RendererStyleFlags2, ResolvedReflectiveFactory, Sanitizer, SecurityContext, Self, SimpleChange, SkipSelf, TRANSLATIONS, TRANSLATIONS_FORMAT, TemplateRef, Testability, TestabilityRegistry, Type, VERSION, Version, ViewChild, ViewChildren, ViewContainerRef, ViewEncapsulation$1 as ViewEncapsulation, ViewRef, asNativeElements, assertPlatform, createComponent, createEnvironmentInjector, createNgModule, createNgModuleRef, createPlatform, createPlatformFactory, defineInjectable, destroyPlatform, enableProdMode, forwardRef, getDebugNode, getModuleFactory, getNgModuleById, getPlatform, importProvidersFrom, inject, isDevMode, isStandalone, makeEnvironmentProviders, platformCore, reflectComponentType, resolveForwardRef, setTestabilityGetter, ALLOW_MULTIPLE_PLATFORMS as ɵALLOW_MULTIPLE_PLATFORMS, APP_ID_RANDOM_PROVIDER as ɵAPP_ID_RANDOM_PROVIDER, ComponentFactory$1 as ɵComponentFactory, Console as ɵConsole, DEFAULT_LOCALE_ID as ɵDEFAULT_LOCALE_ID, INJECTOR_SCOPE as ɵINJECTOR_SCOPE, LContext as ɵLContext, LifecycleHooksFeature as ɵLifecycleHooksFeature, LocaleDataIndex as ɵLocaleDataIndex, NG_COMP_DEF as ɵNG_COMP_DEF, NG_DIR_DEF as ɵNG_DIR_DEF, NG_ELEMENT_ID as ɵNG_ELEMENT_ID, NG_INJ_DEF as ɵNG_INJ_DEF, NG_MOD_DEF as ɵNG_MOD_DEF, NG_PIPE_DEF as ɵNG_PIPE_DEF, NG_PROV_DEF as ɵNG_PROV_DEF, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR as ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, NO_CHANGE as ɵNO_CHANGE, NgModuleFactory as ɵNgModuleFactory, NoopNgZone as ɵNoopNgZone, ReflectionCapabilities as ɵReflectionCapabilities, ComponentFactory as ɵRender3ComponentFactory, ComponentRef as ɵRender3ComponentRef, NgModuleRef as ɵRender3NgModuleRef, RuntimeError as ɵRuntimeError, TESTABILITY as ɵTESTABILITY, TESTABILITY_GETTER as ɵTESTABILITY_GETTER, ViewRef$1 as ɵViewRef, XSS_SECURITY_URL as ɵXSS_SECURITY_URL, _sanitizeHtml as ɵ_sanitizeHtml, _sanitizeUrl as ɵ_sanitizeUrl, allowSanitizationBypassAndThrow as ɵallowSanitizationBypassAndThrow, bypassSanitizationTrustHtml as ɵbypassSanitizationTrustHtml, bypassSanitizationTrustResourceUrl as ɵbypassSanitizationTrustResourceUrl, bypassSanitizationTrustScript as ɵbypassSanitizationTrustScript, bypassSanitizationTrustStyle as ɵbypassSanitizationTrustStyle, bypassSanitizationTrustUrl as ɵbypassSanitizationTrustUrl, clearResolutionOfComponentResourcesQueue as ɵclearResolutionOfComponentResourcesQueue, coerceToBoolean as ɵcoerceToBoolean, compileComponent as ɵcompileComponent, compileDirective as ɵcompileDirective, compileNgModule as ɵcompileNgModule, compileNgModuleDefs as ɵcompileNgModuleDefs, compileNgModuleFactory as ɵcompileNgModuleFactory, compilePipe as ɵcompilePipe, convertToBitFlags as ɵconvertToBitFlags, createInjector as ɵcreateInjector, defaultIterableDiffers as ɵdefaultIterableDiffers, defaultKeyValueDiffers as ɵdefaultKeyValueDiffers, detectChanges as ɵdetectChanges, devModeEqual as ɵdevModeEqual, findLocaleData as ɵfindLocaleData, flushModuleScopingQueueAsMuchAsPossible as ɵflushModuleScopingQueueAsMuchAsPossible, formatRuntimeError as ɵformatRuntimeError, getDebugNode as ɵgetDebugNode, getDebugNodeR2 as ɵgetDebugNodeR2, getDirectives as ɵgetDirectives, getHostElement as ɵgetHostElement, getInjectableDef as ɵgetInjectableDef, getLContext as ɵgetLContext, getLocaleCurrencyCode as ɵgetLocaleCurrencyCode, getLocalePluralCase as ɵgetLocalePluralCase, getSanitizationBypassType as ɵgetSanitizationBypassType, ɵgetUnknownElementStrictMode, ɵgetUnknownPropertyStrictMode, _global as ɵglobal, injectChangeDetectorRef as ɵinjectChangeDetectorRef, internalCreateApplication as ɵinternalCreateApplication, isBoundToModule as ɵisBoundToModule, isEnvironmentProviders as ɵisEnvironmentProviders, isInjectable as ɵisInjectable, isNgModule as ɵisNgModule, isObservable as ɵisObservable, isPromise as ɵisPromise, isSubscribable as ɵisSubscribable, makeDecorator as ɵmakeDecorator, noSideEffects as ɵnoSideEffects, patchComponentDefWithScope as ɵpatchComponentDefWithScope, publishDefaultGlobalUtils$1 as ɵpublishDefaultGlobalUtils, publishGlobalUtil as ɵpublishGlobalUtil, registerLocaleData as ɵregisterLocaleData, resetCompiledComponents as ɵresetCompiledComponents, resetJitOptions as ɵresetJitOptions, resolveComponentResources as ɵresolveComponentResources, setAllowDuplicateNgModuleIdsForTest as ɵsetAllowDuplicateNgModuleIdsForTest, setClassMetadata as ɵsetClassMetadata, setCurrentInjector as ɵsetCurrentInjector, setDocument as ɵsetDocument, setLocaleId as ɵsetLocaleId, ɵsetUnknownElementStrictMode, ɵsetUnknownPropertyStrictMode, store as ɵstore, stringify as ɵstringify, transitiveScopesFor as ɵtransitiveScopesFor, unregisterAllLocaleData as ɵunregisterLocaleData, unwrapSafeValue as ɵunwrapSafeValue, ɵɵCopyDefinitionFeature, FactoryTarget as ɵɵFactoryTarget, ɵɵHostDirectivesFeature, ɵɵInheritDefinitionFeature, ɵɵNgOnChangesFeature, ɵɵProvidersFeature, ɵɵStandaloneFeature, ɵɵadvance, ɵɵattribute, ɵɵattributeInterpolate1, ɵɵattributeInterpolate2, ɵɵattributeInterpolate3, ɵɵattributeInterpolate4, ɵɵattributeInterpolate5, ɵɵattributeInterpolate6, ɵɵattributeInterpolate7, ɵɵattributeInterpolate8, ɵɵattributeInterpolateV, ɵɵclassMap, ɵɵclassMapInterpolate1, ɵɵclassMapInterpolate2, ɵɵclassMapInterpolate3, ɵɵclassMapInterpolate4, ɵɵclassMapInterpolate5, ɵɵclassMapInterpolate6, ɵɵclassMapInterpolate7, ɵɵclassMapInterpolate8, ɵɵclassMapInterpolateV, ɵɵclassProp, ɵɵcontentQuery, ɵɵdefineComponent, ɵɵdefineDirective, ɵɵdefineInjectable, ɵɵdefineInjector, ɵɵdefineNgModule, ɵɵdefinePipe, ɵɵdirectiveInject, ɵɵdisableBindings, ɵɵelement, ɵɵelementContainer, ɵɵelementContainerEnd, ɵɵelementContainerStart, ɵɵelementEnd, ɵɵelementStart, ɵɵenableBindings, ɵɵgetCurrentView, ɵɵgetInheritedFactory, ɵɵhostProperty, ɵɵi18n, ɵɵi18nApply, ɵɵi18nAttributes, ɵɵi18nEnd, ɵɵi18nExp, ɵɵi18nPostprocess, ɵɵi18nStart, ɵɵinject, ɵɵinjectAttribute, ɵɵinvalidFactory, ɵɵinvalidFactoryDep, ɵɵlistener, ɵɵloadQuery, ɵɵnamespaceHTML, ɵɵnamespaceMathML, ɵɵnamespaceSVG, ɵɵnextContext, ɵɵngDeclareClassMetadata, ɵɵngDeclareComponent, ɵɵngDeclareDirective, ɵɵngDeclareFactory, ɵɵngDeclareInjectable, ɵɵngDeclareInjector, ɵɵngDeclareNgModule, ɵɵngDeclarePipe, ɵɵpipe, ɵɵpipeBind1, ɵɵpipeBind2, ɵɵpipeBind3, ɵɵpipeBind4, ɵɵpipeBindV, ɵɵprojection, ɵɵprojectionDef, ɵɵproperty, ɵɵpropertyInterpolate, ɵɵpropertyInterpolate1, ɵɵpropertyInterpolate2, ɵɵpropertyInterpolate3, ɵɵpropertyInterpolate4, ɵɵpropertyInterpolate5, ɵɵpropertyInterpolate6, ɵɵpropertyInterpolate7, ɵɵpropertyInterpolate8, ɵɵpropertyInterpolateV, ɵɵpureFunction0, ɵɵpureFunction1, ɵɵpureFunction2, ɵɵpureFunction3, ɵɵpureFunction4, ɵɵpureFunction5, ɵɵpureFunction6, ɵɵpureFunction7, ɵɵpureFunction8, ɵɵpureFunctionV, ɵɵqueryRefresh, ɵɵreference, registerNgModuleType as ɵɵregisterNgModuleType, ɵɵresetView, ɵɵresolveBody, ɵɵresolveDocument, ɵɵresolveWindow, ɵɵrestoreView, ɵɵsanitizeHtml, ɵɵsanitizeResourceUrl, ɵɵsanitizeScript, ɵɵsanitizeStyle, ɵɵsanitizeUrl, ɵɵsanitizeUrlOrResourceUrl, ɵɵsetComponentScope, ɵɵsetNgModuleScope, ɵɵstyleMap, ɵɵstyleMapInterpolate1, ɵɵstyleMapInterpolate2, ɵɵstyleMapInterpolate3, ɵɵstyleMapInterpolate4, ɵɵstyleMapInterpolate5, ɵɵstyleMapInterpolate6, ɵɵstyleMapInterpolate7, ɵɵstyleMapInterpolate8, ɵɵstyleMapInterpolateV, ɵɵstyleProp, ɵɵstylePropInterpolate1, ɵɵstylePropInterpolate2, ɵɵstylePropInterpolate3, ɵɵstylePropInterpolate4, ɵɵstylePropInterpolate5, ɵɵstylePropInterpolate6, ɵɵstylePropInterpolate7, ɵɵstylePropInterpolate8, ɵɵstylePropInterpolateV, ɵɵsyntheticHostListener, ɵɵsyntheticHostProperty, ɵɵtemplate, ɵɵtemplateRefExtractor, ɵɵtext, ɵɵtextInterpolate, ɵɵtextInterpolate1, ɵɵtextInterpolate2, ɵɵtextInterpolate3, ɵɵtextInterpolate4, ɵɵtextInterpolate5, ɵɵtextInterpolate6, ɵɵtextInterpolate7, ɵɵtextInterpolate8, ɵɵtextInterpolateV, ɵɵtrustConstantHtml, ɵɵtrustConstantResourceUrl, ɵɵvalidateIframeAttribute, ɵɵviewQuery };
|
|
27600
27560
|
//# sourceMappingURL=core.mjs.map
|