@angular/core 15.2.0 → 15.2.2
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/core_render3_private_export.mjs +2 -1
- package/esm2020/src/linker/query_list.mjs +6 -7
- package/esm2020/src/linker/template_ref.mjs +3 -3
- package/esm2020/src/render3/i18n/i18n_util.mjs +3 -3
- package/esm2020/src/render3/instructions/element.mjs +10 -9
- package/esm2020/src/render3/instructions/shared.mjs +4 -5
- package/esm2020/src/render3/instructions/template.mjs +2 -2
- package/esm2020/src/render3/interfaces/node.mjs +1 -1
- package/esm2020/src/render3/jit/directive.mjs +1 -2
- package/esm2020/src/util/iterable.mjs +6 -7
- 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 +43 -116
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +29 -99
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +42 -116
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +29 -99
- package/fesm2020/testing.mjs.map +1 -1
- package/index.d.ts +17 -70
- package/package.json +2 -2
- package/schematics/ng-generate/standalone-migration/bundle.js +475 -416
- package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
- package/testing/index.d.ts +1 -1
- package/esm2020/src/util/symbol.mjs +0 -30
package/fesm2020/core.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.2.
|
|
2
|
+
* @license Angular v15.2.2
|
|
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
|
|
@@ -8384,7 +8336,7 @@ class Version {
|
|
|
8384
8336
|
/**
|
|
8385
8337
|
* @publicApi
|
|
8386
8338
|
*/
|
|
8387
|
-
const VERSION = new Version('15.2.
|
|
8339
|
+
const VERSION = new Version('15.2.2');
|
|
8388
8340
|
|
|
8389
8341
|
// This default value is when checking the hierarchy for a token.
|
|
8390
8342
|
//
|
|
@@ -10245,6 +10197,7 @@ function createTNodeAtIndex(tView, index, type, name, attrs) {
|
|
|
10245
10197
|
// In the case of i18n the `currentTNode` may already be linked, in which case we don't want
|
|
10246
10198
|
// to break the links which i18n created.
|
|
10247
10199
|
currentTNode.next = tNode;
|
|
10200
|
+
tNode.prev = currentTNode;
|
|
10248
10201
|
}
|
|
10249
10202
|
}
|
|
10250
10203
|
}
|
|
@@ -10683,8 +10636,9 @@ function createTNode(tView, tParent, type, index, value, attrs) {
|
|
|
10683
10636
|
initialInputs: undefined,
|
|
10684
10637
|
inputs: null,
|
|
10685
10638
|
outputs: null,
|
|
10686
|
-
|
|
10639
|
+
tView: null,
|
|
10687
10640
|
next: null,
|
|
10641
|
+
prev: null,
|
|
10688
10642
|
projectionNext: null,
|
|
10689
10643
|
child: null,
|
|
10690
10644
|
parent: tParent,
|
|
@@ -10894,7 +10848,6 @@ function resolveDirectives(tView, lView, tNode, localRefs) {
|
|
|
10894
10848
|
// Please make sure to have explicit type for `exportsMap`. Inferred type triggers bug in
|
|
10895
10849
|
// tsickle.
|
|
10896
10850
|
ngDevMode && assertFirstCreatePass(tView);
|
|
10897
|
-
let hasDirectives = false;
|
|
10898
10851
|
if (getBindingsEnabled()) {
|
|
10899
10852
|
const exportsMap = localRefs === null ? null : { '': -1 };
|
|
10900
10853
|
const matchResult = findDirectiveDefMatches(tView, tNode);
|
|
@@ -10907,7 +10860,6 @@ function resolveDirectives(tView, lView, tNode, localRefs) {
|
|
|
10907
10860
|
[directiveDefs, hostDirectiveDefs] = matchResult;
|
|
10908
10861
|
}
|
|
10909
10862
|
if (directiveDefs !== null) {
|
|
10910
|
-
hasDirectives = true;
|
|
10911
10863
|
initializeDirectives(tView, lView, tNode, directiveDefs, exportsMap, hostDirectiveDefs);
|
|
10912
10864
|
}
|
|
10913
10865
|
if (exportsMap)
|
|
@@ -10915,7 +10867,6 @@ function resolveDirectives(tView, lView, tNode, localRefs) {
|
|
|
10915
10867
|
}
|
|
10916
10868
|
// Merge the template attrs last so that they have the highest priority.
|
|
10917
10869
|
tNode.mergedAttrs = mergeHostAttrs(tNode.mergedAttrs, tNode.attrs);
|
|
10918
|
-
return hasDirectives;
|
|
10919
10870
|
}
|
|
10920
10871
|
/** Initializes the data structures necessary for a list of directives to be instantiated. */
|
|
10921
10872
|
function initializeDirectives(tView, lView, tNode, directives, exportsMap, hostDirectiveDefs) {
|
|
@@ -12781,41 +12732,19 @@ function validateMappings(bindingType, def, hostDirectiveBindings) {
|
|
|
12781
12732
|
}
|
|
12782
12733
|
}
|
|
12783
12734
|
|
|
12784
|
-
let _symbolIterator = null;
|
|
12785
|
-
function getSymbolIterator() {
|
|
12786
|
-
if (!_symbolIterator) {
|
|
12787
|
-
const Symbol = _global['Symbol'];
|
|
12788
|
-
if (Symbol && Symbol.iterator) {
|
|
12789
|
-
_symbolIterator = Symbol.iterator;
|
|
12790
|
-
}
|
|
12791
|
-
else {
|
|
12792
|
-
// es6-shim specific logic
|
|
12793
|
-
const keys = Object.getOwnPropertyNames(Map.prototype);
|
|
12794
|
-
for (let i = 0; i < keys.length; ++i) {
|
|
12795
|
-
const key = keys[i];
|
|
12796
|
-
if (key !== 'entries' && key !== 'size' &&
|
|
12797
|
-
Map.prototype[key] === Map.prototype['entries']) {
|
|
12798
|
-
_symbolIterator = key;
|
|
12799
|
-
}
|
|
12800
|
-
}
|
|
12801
|
-
}
|
|
12802
|
-
}
|
|
12803
|
-
return _symbolIterator;
|
|
12804
|
-
}
|
|
12805
|
-
|
|
12806
12735
|
function isIterable(obj) {
|
|
12807
|
-
return obj !== null && typeof obj === 'object' && obj[
|
|
12736
|
+
return obj !== null && typeof obj === 'object' && obj[Symbol.iterator] !== undefined;
|
|
12808
12737
|
}
|
|
12809
12738
|
function isListLikeIterable(obj) {
|
|
12810
12739
|
if (!isJsObject(obj))
|
|
12811
12740
|
return false;
|
|
12812
12741
|
return Array.isArray(obj) ||
|
|
12813
12742
|
(!(obj instanceof Map) && // JS Map are iterables but return entries as [k, v]
|
|
12814
|
-
|
|
12743
|
+
Symbol.iterator in obj); // JS Iterable have a Symbol.iterator prop
|
|
12815
12744
|
}
|
|
12816
12745
|
function areIterablesEqual(a, b, comparator) {
|
|
12817
|
-
const iterator1 = a[
|
|
12818
|
-
const iterator2 = b[
|
|
12746
|
+
const iterator1 = a[Symbol.iterator]();
|
|
12747
|
+
const iterator2 = b[Symbol.iterator]();
|
|
12819
12748
|
while (true) {
|
|
12820
12749
|
const item1 = iterator1.next();
|
|
12821
12750
|
const item2 = iterator2.next();
|
|
@@ -12834,7 +12763,7 @@ function iterateListLike(obj, fn) {
|
|
|
12834
12763
|
}
|
|
12835
12764
|
}
|
|
12836
12765
|
else {
|
|
12837
|
-
const iterator = obj[
|
|
12766
|
+
const iterator = obj[Symbol.iterator]();
|
|
12838
12767
|
let item;
|
|
12839
12768
|
while (!((item = iterator.next()).done)) {
|
|
12840
12769
|
fn(item.value);
|
|
@@ -13487,7 +13416,7 @@ function templateFirstCreatePass(index, tView, lView, templateFn, decls, vars, t
|
|
|
13487
13416
|
const tNode = getOrCreateTNode(tView, index, 4 /* TNodeType.Container */, tagName || null, getConstant(tViewConsts, attrsIndex));
|
|
13488
13417
|
resolveDirectives(tView, lView, tNode, getConstant(tViewConsts, localRefsIndex));
|
|
13489
13418
|
registerPostOrderHooks(tView, tNode);
|
|
13490
|
-
const embeddedTView = tNode.
|
|
13419
|
+
const embeddedTView = tNode.tView = createTView(2 /* TViewType.Embedded */, tNode, templateFn, decls, vars, tView.directiveRegistry, tView.pipeRegistry, null, tView.schemas, tViewConsts);
|
|
13491
13420
|
if (tView.queries !== null) {
|
|
13492
13421
|
tView.queries.template(tView, tNode);
|
|
13493
13422
|
embeddedTView.queries = tView.queries.embeddedTView(tNode);
|
|
@@ -13597,16 +13526,13 @@ function setDirectiveInputsWhichShadowsStyling(tView, tNode, lView, value, isCla
|
|
|
13597
13526
|
setInputsForProperty(tView, lView, inputs[property], property, value);
|
|
13598
13527
|
}
|
|
13599
13528
|
|
|
13600
|
-
function elementStartFirstCreatePass(index, tView, lView,
|
|
13529
|
+
function elementStartFirstCreatePass(index, tView, lView, name, attrsIndex, localRefsIndex) {
|
|
13601
13530
|
ngDevMode && assertFirstCreatePass(tView);
|
|
13602
13531
|
ngDevMode && ngDevMode.firstCreatePass++;
|
|
13603
13532
|
const tViewConsts = tView.consts;
|
|
13604
13533
|
const attrs = getConstant(tViewConsts, attrsIndex);
|
|
13605
13534
|
const tNode = getOrCreateTNode(tView, index, 2 /* TNodeType.Element */, name, attrs);
|
|
13606
|
-
|
|
13607
|
-
if (ngDevMode) {
|
|
13608
|
-
validateElementIsKnown(native, lView, tNode.value, tView.schemas, hasDirectives);
|
|
13609
|
-
}
|
|
13535
|
+
resolveDirectives(tView, lView, tNode, getConstant(tViewConsts, localRefsIndex));
|
|
13610
13536
|
if (tNode.attrs !== null) {
|
|
13611
13537
|
computeStaticStyling(tNode, tNode.attrs, false);
|
|
13612
13538
|
}
|
|
@@ -13641,10 +13567,14 @@ function ɵɵelementStart(index, name, attrsIndex, localRefsIndex) {
|
|
|
13641
13567
|
assertEqual(getBindingIndex(), tView.bindingStartIndex, 'elements should be created before any bindings');
|
|
13642
13568
|
ngDevMode && assertIndexInRange(lView, adjustedIndex);
|
|
13643
13569
|
const renderer = lView[RENDERER];
|
|
13644
|
-
const native = lView[adjustedIndex] = createElementNode(renderer, name, getNamespace$1());
|
|
13645
13570
|
const tNode = tView.firstCreatePass ?
|
|
13646
|
-
elementStartFirstCreatePass(adjustedIndex, tView, lView,
|
|
13571
|
+
elementStartFirstCreatePass(adjustedIndex, tView, lView, name, attrsIndex, localRefsIndex) :
|
|
13647
13572
|
tView.data[adjustedIndex];
|
|
13573
|
+
const native = lView[adjustedIndex] = createElementNode(renderer, name, getNamespace$1());
|
|
13574
|
+
const hasDirectives = isDirectiveHost(tNode);
|
|
13575
|
+
if (ngDevMode && tView.firstCreatePass) {
|
|
13576
|
+
validateElementIsKnown(native, lView, tNode.value, tView.schemas, hasDirectives);
|
|
13577
|
+
}
|
|
13648
13578
|
setCurrentTNode(tNode, true);
|
|
13649
13579
|
setupStaticAttributes(renderer, native, tNode);
|
|
13650
13580
|
if ((tNode.flags & 32 /* TNodeFlags.isDetached */) !== 32 /* TNodeFlags.isDetached */) {
|
|
@@ -13659,7 +13589,7 @@ function ɵɵelementStart(index, name, attrsIndex, localRefsIndex) {
|
|
|
13659
13589
|
attachPatchData(native, lView);
|
|
13660
13590
|
}
|
|
13661
13591
|
increaseElementDepthCount();
|
|
13662
|
-
if (
|
|
13592
|
+
if (hasDirectives) {
|
|
13663
13593
|
createDirectivesInstances(tView, lView, tNode);
|
|
13664
13594
|
executeContentQueries(tView, tNode, lView);
|
|
13665
13595
|
}
|
|
@@ -17845,7 +17775,7 @@ function getTIcu(tView, index) {
|
|
|
17845
17775
|
if (value === null || typeof value === 'string')
|
|
17846
17776
|
return null;
|
|
17847
17777
|
if (ngDevMode &&
|
|
17848
|
-
!(value.hasOwnProperty('
|
|
17778
|
+
!(value.hasOwnProperty('tView') || value.hasOwnProperty('currentCaseLViewIndex'))) {
|
|
17849
17779
|
throwError('We expect to get \'null\'|\'TIcu\'|\'TIcuContainer\', but got: ' + value);
|
|
17850
17780
|
}
|
|
17851
17781
|
// Here the `value.hasOwnProperty('currentCaseLViewIndex')` is a polymorphic read as it can be
|
|
@@ -17874,7 +17804,7 @@ function getTIcu(tView, index) {
|
|
|
17874
17804
|
function setTIcu(tView, index, tIcu) {
|
|
17875
17805
|
const tNode = tView.data[index];
|
|
17876
17806
|
ngDevMode &&
|
|
17877
|
-
assertEqual(tNode === null || tNode.hasOwnProperty('
|
|
17807
|
+
assertEqual(tNode === null || tNode.hasOwnProperty('tView'), true, 'We expect to get \'null\'|\'TIcuContainer\'');
|
|
17878
17808
|
if (tNode === null) {
|
|
17879
17809
|
tView.data[index] = tIcu;
|
|
17880
17810
|
}
|
|
@@ -20974,7 +20904,8 @@ function _wrapInTimeout(fn) {
|
|
|
20974
20904
|
const EventEmitter = EventEmitter_;
|
|
20975
20905
|
|
|
20976
20906
|
function symbolIterator() {
|
|
20977
|
-
|
|
20907
|
+
// @ts-expect-error accessing a private member
|
|
20908
|
+
return this._results[Symbol.iterator]();
|
|
20978
20909
|
}
|
|
20979
20910
|
/**
|
|
20980
20911
|
* An unmodifiable list of items that Angular keeps up to date when the state
|
|
@@ -21026,11 +20957,10 @@ class QueryList {
|
|
|
21026
20957
|
// This function should be declared on the prototype, but doing so there will cause the class
|
|
21027
20958
|
// declaration to have side-effects and become not tree-shakable. For this reason we do it in
|
|
21028
20959
|
// the constructor.
|
|
21029
|
-
// [
|
|
21030
|
-
const symbol = getSymbolIterator();
|
|
20960
|
+
// [Symbol.iterator](): Iterator<T> { ... }
|
|
21031
20961
|
const proto = QueryList.prototype;
|
|
21032
|
-
if (!proto[
|
|
21033
|
-
proto[
|
|
20962
|
+
if (!proto[Symbol.iterator])
|
|
20963
|
+
proto[Symbol.iterator] = symbolIterator;
|
|
21034
20964
|
}
|
|
21035
20965
|
/**
|
|
21036
20966
|
* Returns the QueryList entry at `index`.
|
|
@@ -21169,7 +21099,7 @@ const R3TemplateRef = class TemplateRef extends ViewEngineTemplateRef {
|
|
|
21169
21099
|
this.elementRef = elementRef;
|
|
21170
21100
|
}
|
|
21171
21101
|
createEmbeddedView(context, injector) {
|
|
21172
|
-
const embeddedTView = this._declarationTContainer.
|
|
21102
|
+
const embeddedTView = this._declarationTContainer.tView;
|
|
21173
21103
|
const embeddedLView = createLView(this._declarationLView, embeddedTView, context, 16 /* LViewFlags.CheckAlways */, null, embeddedTView.declTNode, null, null, null, null, injector || null);
|
|
21174
21104
|
const declarationLContainer = this._declarationLView[this._declarationTContainer.index];
|
|
21175
21105
|
ngDevMode && assertLContainer(declarationLContainer);
|
|
@@ -21199,7 +21129,7 @@ function injectTemplateRef() {
|
|
|
21199
21129
|
*/
|
|
21200
21130
|
function createTemplateRef(hostTNode, hostLView) {
|
|
21201
21131
|
if (hostTNode.type & 4 /* TNodeType.Container */) {
|
|
21202
|
-
ngDevMode && assertDefined(hostTNode.
|
|
21132
|
+
ngDevMode && assertDefined(hostTNode.tView, 'TView must be allocated');
|
|
21203
21133
|
return new R3TemplateRef(hostLView, hostTNode, createElementRef(hostTNode, hostLView));
|
|
21204
21134
|
}
|
|
21205
21135
|
return null;
|
|
@@ -22767,7 +22697,6 @@ function compileComponent(type, metadata) {
|
|
|
22767
22697
|
encapsulation,
|
|
22768
22698
|
interpolation: metadata.interpolation,
|
|
22769
22699
|
viewProviders: metadata.viewProviders || null,
|
|
22770
|
-
isStandalone: !!metadata.standalone,
|
|
22771
22700
|
};
|
|
22772
22701
|
compilationDepth++;
|
|
22773
22702
|
try {
|
|
@@ -23497,17 +23426,6 @@ const PLATFORM_ID = new InjectionToken('Platform ID', {
|
|
|
23497
23426
|
providedIn: 'platform',
|
|
23498
23427
|
factory: () => 'unknown', // set a default platform name, when none set explicitly
|
|
23499
23428
|
});
|
|
23500
|
-
/**
|
|
23501
|
-
* A [DI token](guide/glossary#di-token "DI token definition") that provides a set of callbacks to
|
|
23502
|
-
* be called for every component that is bootstrapped.
|
|
23503
|
-
*
|
|
23504
|
-
* Each callback must take a `ComponentRef` instance and return nothing.
|
|
23505
|
-
*
|
|
23506
|
-
* `(componentRef: ComponentRef) => void`
|
|
23507
|
-
*
|
|
23508
|
-
* @publicApi
|
|
23509
|
-
*/
|
|
23510
|
-
const APP_BOOTSTRAP_LISTENER = new InjectionToken('appBootstrapListener');
|
|
23511
23429
|
/**
|
|
23512
23430
|
* A [DI token](guide/glossary#di-token "DI token definition") that indicates the root directory of
|
|
23513
23431
|
* the application
|
|
@@ -24633,6 +24551,7 @@ function setTestabilityGetter(getter) {
|
|
|
24633
24551
|
}
|
|
24634
24552
|
let _testabilityGetter;
|
|
24635
24553
|
|
|
24554
|
+
const NG_DEV_MODE = typeof ngDevMode === 'undefined' || ngDevMode;
|
|
24636
24555
|
let _platformInjector = null;
|
|
24637
24556
|
/**
|
|
24638
24557
|
* Internal token to indicate whether having multiple bootstrapped platform should be allowed (only
|
|
@@ -24646,7 +24565,17 @@ const ALLOW_MULTIPLE_PLATFORMS = new InjectionToken('AllowMultipleToken');
|
|
|
24646
24565
|
* entire class tree-shakeable.
|
|
24647
24566
|
*/
|
|
24648
24567
|
const PLATFORM_DESTROY_LISTENERS = new InjectionToken('PlatformDestroyListeners');
|
|
24649
|
-
|
|
24568
|
+
/**
|
|
24569
|
+
* A [DI token](guide/glossary#di-token "DI token definition") that provides a set of callbacks to
|
|
24570
|
+
* be called for every component that is bootstrapped.
|
|
24571
|
+
*
|
|
24572
|
+
* Each callback must take a `ComponentRef` instance and return nothing.
|
|
24573
|
+
*
|
|
24574
|
+
* `(componentRef: ComponentRef) => void`
|
|
24575
|
+
*
|
|
24576
|
+
* @publicApi
|
|
24577
|
+
*/
|
|
24578
|
+
const APP_BOOTSTRAP_LISTENER = new InjectionToken('appBootstrapListener');
|
|
24650
24579
|
function compileNgModuleFactory(injector, options, moduleType) {
|
|
24651
24580
|
ngDevMode && assertNgModuleType(moduleType);
|
|
24652
24581
|
const moduleFactory = new NgModuleFactory(moduleType);
|
|
@@ -27355,9 +27284,6 @@ function coerceToBoolean(value) {
|
|
|
27355
27284
|
return typeof value === 'boolean' ? value : (value != null && value !== 'false');
|
|
27356
27285
|
}
|
|
27357
27286
|
|
|
27358
|
-
// TODO(alxhub): allows tests to compile, can be removed when tests have been updated.
|
|
27359
|
-
const ɵivyEnabled = true;
|
|
27360
|
-
|
|
27361
27287
|
/**
|
|
27362
27288
|
* Compiles a partial directive declaration object into a full directive definition object.
|
|
27363
27289
|
*
|
|
@@ -27618,5 +27544,5 @@ if (typeof ngDevMode !== 'undefined' && ngDevMode) {
|
|
|
27618
27544
|
* Generated bundle index. Do not edit.
|
|
27619
27545
|
*/
|
|
27620
27546
|
|
|
27621
|
-
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,
|
|
27547
|
+
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 };
|
|
27622
27548
|
//# sourceMappingURL=core.mjs.map
|