@angular/core 17.0.7 → 17.0.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/esm2022/src/application/application_ref.mjs +4 -8
- package/esm2022/src/application/create_application.mjs +2 -2
- package/esm2022/src/change_detection/flags.mjs +16 -0
- package/esm2022/src/change_detection/scheduling/ng_zone_scheduling.mjs +164 -0
- package/esm2022/src/change_detection/scheduling/zoneless_scheduling.mjs +13 -0
- package/esm2022/src/core.mjs +2 -2
- package/esm2022/src/core_private_export.mjs +4 -2
- package/esm2022/src/event_emitter.mjs +1 -2
- package/esm2022/src/pending_tasks.mjs +57 -0
- package/esm2022/src/platform/platform_ref.mjs +2 -2
- package/esm2022/src/render3/after_render_hooks.mjs +2 -2
- package/esm2022/src/render3/component_ref.mjs +13 -9
- package/esm2022/src/render3/instructions/mark_view_dirty.mjs +3 -2
- package/esm2022/src/render3/instructions/shared.mjs +3 -2
- package/esm2022/src/render3/interfaces/view.mjs +1 -1
- package/esm2022/src/render3/util/view_utils.mjs +18 -5
- package/esm2022/src/render3/view_ref.mjs +2 -1
- package/esm2022/src/version.mjs +6 -5
- package/esm2022/src/zone/ng_zone.mjs +1 -61
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +172 -136
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/index.d.ts +38 -22
- package/package.json +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/block-template-entities/bundle.js +268 -229
- package/schematics/migrations/block-template-entities/bundle.js.map +4 -4
- package/schematics/ng-generate/control-flow-migration/bundle.js +433 -295
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +4 -4
- package/schematics/ng-generate/standalone-migration/bundle.js +276 -215
- package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
- package/testing/index.d.ts +1 -1
- package/esm2022/src/change_detection/scheduling.mjs +0 -103
- package/esm2022/src/initial_render_pending_tasks.mjs +0 -49
package/fesm2022/core.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v17.0.
|
|
2
|
+
* @license Angular v17.0.8
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import { setActiveConsumer as setActiveConsumer$1, consumerDestroy as consumerDestroy$1, SIGNAL as SIGNAL$1, createComputed as createComputed$1, createSignal as createSignal$1, signalSetFn as signalSetFn$1, signalUpdateFn as signalUpdateFn$1, REACTIVE_NODE as REACTIVE_NODE$1, consumerBeforeComputation as consumerBeforeComputation$1, consumerAfterComputation as consumerAfterComputation$1, consumerPollProducersForChange as consumerPollProducersForChange$1, getActiveConsumer as getActiveConsumer$1, createWatch as createWatch$1, setThrowInvalidWriteToSignalError as setThrowInvalidWriteToSignalError$1 } from '@angular/core/primitives/signals';
|
|
8
|
-
import { Subject, Subscription,
|
|
9
|
-
import {
|
|
8
|
+
import { Subject, Subscription, BehaviorSubject } from 'rxjs';
|
|
9
|
+
import { map, first } from 'rxjs/operators';
|
|
10
10
|
|
|
11
11
|
function getClosureSafeProperty(objWithPropertyToExtract) {
|
|
12
12
|
for (let key in objWithPropertyToExtract) {
|
|
@@ -2565,6 +2565,15 @@ const profiler = function (event, instance, hookOrListener) {
|
|
|
2565
2565
|
const SVG_NAMESPACE = 'svg';
|
|
2566
2566
|
const MATH_ML_NAMESPACE = 'math';
|
|
2567
2567
|
|
|
2568
|
+
// TODO(atscott): flip default internally ASAP and externally for v18 (#52928)
|
|
2569
|
+
let _ensureDirtyViewsAreAlwaysReachable = false;
|
|
2570
|
+
function getEnsureDirtyViewsAreAlwaysReachable() {
|
|
2571
|
+
return _ensureDirtyViewsAreAlwaysReachable;
|
|
2572
|
+
}
|
|
2573
|
+
function setEnsureDirtyViewsAreAlwaysReachable(v) {
|
|
2574
|
+
_ensureDirtyViewsAreAlwaysReachable = v;
|
|
2575
|
+
}
|
|
2576
|
+
|
|
2568
2577
|
/**
|
|
2569
2578
|
* For efficiency reasons we often put several different data types (`RNode`, `LView`, `LContainer`)
|
|
2570
2579
|
* in same location in `LView`. This is because we don't want to pre-allocate space for it
|
|
@@ -2731,10 +2740,21 @@ function requiresRefreshOrTraversal(lView) {
|
|
|
2731
2740
|
* parents above.
|
|
2732
2741
|
*/
|
|
2733
2742
|
function updateAncestorTraversalFlagsOnAttach(lView) {
|
|
2734
|
-
|
|
2735
|
-
|
|
2743
|
+
// TODO(atscott): Simplify if...else cases once getEnsureDirtyViewsAreAlwaysReachable is always
|
|
2744
|
+
// `true`. When we attach a view that's marked `Dirty`, we should ensure that it is reached during
|
|
2745
|
+
// the next CD traversal so we add the `RefreshView` flag and mark ancestors accordingly.
|
|
2746
|
+
if (requiresRefreshOrTraversal(lView)) {
|
|
2747
|
+
markAncestorsForTraversal(lView);
|
|
2748
|
+
}
|
|
2749
|
+
else if (lView[FLAGS] & 64 /* LViewFlags.Dirty */) {
|
|
2750
|
+
if (getEnsureDirtyViewsAreAlwaysReachable()) {
|
|
2751
|
+
lView[FLAGS] |= 1024 /* LViewFlags.RefreshView */;
|
|
2752
|
+
markAncestorsForTraversal(lView);
|
|
2753
|
+
}
|
|
2754
|
+
else {
|
|
2755
|
+
lView[ENVIRONMENT].changeDetectionScheduler?.notify();
|
|
2756
|
+
}
|
|
2736
2757
|
}
|
|
2737
|
-
markAncestorsForTraversal(lView);
|
|
2738
2758
|
}
|
|
2739
2759
|
/**
|
|
2740
2760
|
* Ensures views above the given `lView` are traversed during change detection even when they are
|
|
@@ -2744,6 +2764,7 @@ function updateAncestorTraversalFlagsOnAttach(lView) {
|
|
|
2744
2764
|
* flag is already `true` or the `lView` is detached.
|
|
2745
2765
|
*/
|
|
2746
2766
|
function markAncestorsForTraversal(lView) {
|
|
2767
|
+
lView[ENVIRONMENT].changeDetectionScheduler?.notify();
|
|
2747
2768
|
let parent = lView[PARENT];
|
|
2748
2769
|
while (parent !== null) {
|
|
2749
2770
|
// We stop adding markers to the ancestors once we reach one that already has the marker. This
|
|
@@ -9841,6 +9862,12 @@ function getSanitizer() {
|
|
|
9841
9862
|
return lView && lView[ENVIRONMENT].sanitizer;
|
|
9842
9863
|
}
|
|
9843
9864
|
|
|
9865
|
+
/**
|
|
9866
|
+
* Injectable that is notified when an `LView` is made aware of changes to application state.
|
|
9867
|
+
*/
|
|
9868
|
+
class ChangeDetectionScheduler {
|
|
9869
|
+
}
|
|
9870
|
+
|
|
9844
9871
|
/**
|
|
9845
9872
|
* Create a `StateKey<T>` that can be used to store value of type T with `TransferState`.
|
|
9846
9873
|
*
|
|
@@ -10411,24 +10438,6 @@ class Sanitizer {
|
|
|
10411
10438
|
}); }
|
|
10412
10439
|
}
|
|
10413
10440
|
|
|
10414
|
-
/**
|
|
10415
|
-
* @description Represents the version of Angular
|
|
10416
|
-
*
|
|
10417
|
-
* @publicApi
|
|
10418
|
-
*/
|
|
10419
|
-
class Version {
|
|
10420
|
-
constructor(full) {
|
|
10421
|
-
this.full = full;
|
|
10422
|
-
this.major = full.split('.')[0];
|
|
10423
|
-
this.minor = full.split('.')[1];
|
|
10424
|
-
this.patch = full.split('.').slice(2).join('.');
|
|
10425
|
-
}
|
|
10426
|
-
}
|
|
10427
|
-
/**
|
|
10428
|
-
* @publicApi
|
|
10429
|
-
*/
|
|
10430
|
-
const VERSION = new Version('17.0.7');
|
|
10431
|
-
|
|
10432
10441
|
// This default value is when checking the hierarchy for a token.
|
|
10433
10442
|
//
|
|
10434
10443
|
// It means both:
|
|
@@ -12043,7 +12052,8 @@ function processHostBindingOpCodes(tView, lView) {
|
|
|
12043
12052
|
function createLView(parentLView, tView, context, flags, host, tHostNode, environment, renderer, injector, embeddedViewInjector, hydrationInfo) {
|
|
12044
12053
|
const lView = tView.blueprint.slice();
|
|
12045
12054
|
lView[HOST] = host;
|
|
12046
|
-
lView[FLAGS] = flags | 4 /* LViewFlags.CreationMode */ | 128 /* LViewFlags.Attached */ | 8 /* LViewFlags.FirstLViewPass
|
|
12055
|
+
lView[FLAGS] = flags | 4 /* LViewFlags.CreationMode */ | 128 /* LViewFlags.Attached */ | 8 /* LViewFlags.FirstLViewPass */ |
|
|
12056
|
+
64 /* LViewFlags.Dirty */;
|
|
12047
12057
|
if (embeddedViewInjector !== null ||
|
|
12048
12058
|
(parentLView && (parentLView[FLAGS] & 2048 /* LViewFlags.HasEmbeddedViewInjector */))) {
|
|
12049
12059
|
lView[FLAGS] |= 2048 /* LViewFlags.HasEmbeddedViewInjector */;
|
|
@@ -13652,6 +13662,7 @@ function detectChangesInChildComponents(hostLView, components, mode) {
|
|
|
13652
13662
|
* @returns the root LView
|
|
13653
13663
|
*/
|
|
13654
13664
|
function markViewDirty(lView) {
|
|
13665
|
+
lView[ENVIRONMENT].changeDetectionScheduler?.notify();
|
|
13655
13666
|
while (lView) {
|
|
13656
13667
|
lView[FLAGS] |= 64 /* LViewFlags.Dirty */;
|
|
13657
13668
|
const parent = getLViewParent(lView);
|
|
@@ -13945,6 +13956,7 @@ class ViewRef$1 {
|
|
|
13945
13956
|
throw new RuntimeError(902 /* RuntimeErrorCode.VIEW_ALREADY_ATTACHED */, ngDevMode && 'This view is already attached to a ViewContainer!');
|
|
13946
13957
|
}
|
|
13947
13958
|
this._appRef = appRef;
|
|
13959
|
+
updateAncestorTraversalFlagsOnAttach(this._lView);
|
|
13948
13960
|
}
|
|
13949
13961
|
}
|
|
13950
13962
|
|
|
@@ -14289,7 +14301,6 @@ function performanceMarkFeature(feature) {
|
|
|
14289
14301
|
performance?.mark?.('mark_feature_usage', { detail: { feature } });
|
|
14290
14302
|
}
|
|
14291
14303
|
|
|
14292
|
-
/// <reference types="rxjs" />
|
|
14293
14304
|
class EventEmitter_ extends Subject {
|
|
14294
14305
|
constructor(isAsync = false) {
|
|
14295
14306
|
super();
|
|
@@ -14788,63 +14799,6 @@ class NoopNgZone {
|
|
|
14788
14799
|
return fn.apply(applyThis, applyArgs);
|
|
14789
14800
|
}
|
|
14790
14801
|
}
|
|
14791
|
-
/**
|
|
14792
|
-
* Token used to drive ApplicationRef.isStable
|
|
14793
|
-
*
|
|
14794
|
-
* TODO: This should be moved entirely to NgZone (as a breaking change) so it can be tree-shakeable
|
|
14795
|
-
* for `NoopNgZone` which is always just an `Observable` of `true`. Additionally, we should consider
|
|
14796
|
-
* whether the property on `NgZone` should be `Observable` or `Signal`.
|
|
14797
|
-
*/
|
|
14798
|
-
const ZONE_IS_STABLE_OBSERVABLE = new InjectionToken(ngDevMode ? 'isStable Observable' : '', {
|
|
14799
|
-
providedIn: 'root',
|
|
14800
|
-
// TODO(atscott): Replace this with a suitable default like `new
|
|
14801
|
-
// BehaviorSubject(true).asObservable`. Again, long term this won't exist on ApplicationRef at
|
|
14802
|
-
// all but until we can remove it, we need a default value zoneless.
|
|
14803
|
-
factory: isStableFactory,
|
|
14804
|
-
});
|
|
14805
|
-
function isStableFactory() {
|
|
14806
|
-
const zone = inject(NgZone);
|
|
14807
|
-
let _stable = true;
|
|
14808
|
-
const isCurrentlyStable = new Observable((observer) => {
|
|
14809
|
-
_stable = zone.isStable && !zone.hasPendingMacrotasks && !zone.hasPendingMicrotasks;
|
|
14810
|
-
zone.runOutsideAngular(() => {
|
|
14811
|
-
observer.next(_stable);
|
|
14812
|
-
observer.complete();
|
|
14813
|
-
});
|
|
14814
|
-
});
|
|
14815
|
-
const isStable = new Observable((observer) => {
|
|
14816
|
-
// Create the subscription to onStable outside the Angular Zone so that
|
|
14817
|
-
// the callback is run outside the Angular Zone.
|
|
14818
|
-
let stableSub;
|
|
14819
|
-
zone.runOutsideAngular(() => {
|
|
14820
|
-
stableSub = zone.onStable.subscribe(() => {
|
|
14821
|
-
NgZone.assertNotInAngularZone();
|
|
14822
|
-
// Check whether there are no pending macro/micro tasks in the next tick
|
|
14823
|
-
// to allow for NgZone to update the state.
|
|
14824
|
-
queueMicrotask(() => {
|
|
14825
|
-
if (!_stable && !zone.hasPendingMacrotasks && !zone.hasPendingMicrotasks) {
|
|
14826
|
-
_stable = true;
|
|
14827
|
-
observer.next(true);
|
|
14828
|
-
}
|
|
14829
|
-
});
|
|
14830
|
-
});
|
|
14831
|
-
});
|
|
14832
|
-
const unstableSub = zone.onUnstable.subscribe(() => {
|
|
14833
|
-
NgZone.assertInAngularZone();
|
|
14834
|
-
if (_stable) {
|
|
14835
|
-
_stable = false;
|
|
14836
|
-
zone.runOutsideAngular(() => {
|
|
14837
|
-
observer.next(false);
|
|
14838
|
-
});
|
|
14839
|
-
}
|
|
14840
|
-
});
|
|
14841
|
-
return () => {
|
|
14842
|
-
stableSub.unsubscribe();
|
|
14843
|
-
unstableSub.unsubscribe();
|
|
14844
|
-
};
|
|
14845
|
-
});
|
|
14846
|
-
return merge$1(isCurrentlyStable, isStable.pipe(share()));
|
|
14847
|
-
}
|
|
14848
14802
|
function shouldBeIgnoredByZone(applyArgs) {
|
|
14849
14803
|
if (!Array.isArray(applyArgs)) {
|
|
14850
14804
|
return false;
|
|
@@ -14867,8 +14821,6 @@ function getNgZone(ngZoneToUse = 'zone.js', options) {
|
|
|
14867
14821
|
return ngZoneToUse;
|
|
14868
14822
|
}
|
|
14869
14823
|
|
|
14870
|
-
// Public API for Zone
|
|
14871
|
-
|
|
14872
14824
|
/**
|
|
14873
14825
|
* The phase to run an `afterRender` or `afterNextRender` callback in.
|
|
14874
14826
|
*
|
|
@@ -15486,12 +15438,14 @@ class ComponentFactory extends ComponentFactory$1 {
|
|
|
15486
15438
|
}
|
|
15487
15439
|
const sanitizer = rootViewInjector.get(Sanitizer, null);
|
|
15488
15440
|
const afterRenderEventManager = rootViewInjector.get(AfterRenderEventManager, null);
|
|
15441
|
+
const changeDetectionScheduler = rootViewInjector.get(ChangeDetectionScheduler, null);
|
|
15489
15442
|
const environment = {
|
|
15490
15443
|
rendererFactory,
|
|
15491
15444
|
sanitizer,
|
|
15492
15445
|
// We don't use inline effects (yet).
|
|
15493
15446
|
inlineEffectRunner: null,
|
|
15494
15447
|
afterRenderEventManager,
|
|
15448
|
+
changeDetectionScheduler,
|
|
15495
15449
|
};
|
|
15496
15450
|
const hostRenderer = rendererFactory.createRenderer(null, this.componentDef);
|
|
15497
15451
|
// Determine a tag name used for creating host elements when this component is created
|
|
@@ -15500,12 +15454,13 @@ class ComponentFactory extends ComponentFactory$1 {
|
|
|
15500
15454
|
const hostRNode = rootSelectorOrNode ?
|
|
15501
15455
|
locateHostElement(hostRenderer, rootSelectorOrNode, this.componentDef.encapsulation, rootViewInjector) :
|
|
15502
15456
|
createElementNode(hostRenderer, elementName, getNamespace(elementName));
|
|
15503
|
-
|
|
15504
|
-
|
|
15505
|
-
|
|
15506
|
-
|
|
15507
|
-
|
|
15508
|
-
|
|
15457
|
+
let rootFlags = 512 /* LViewFlags.IsRoot */;
|
|
15458
|
+
if (this.componentDef.signals) {
|
|
15459
|
+
rootFlags |= 4096 /* LViewFlags.SignalView */;
|
|
15460
|
+
}
|
|
15461
|
+
else if (!this.componentDef.onPush) {
|
|
15462
|
+
rootFlags |= 16 /* LViewFlags.CheckAlways */;
|
|
15463
|
+
}
|
|
15509
15464
|
let hydrationInfo = null;
|
|
15510
15465
|
if (hostRNode !== null) {
|
|
15511
15466
|
hydrationInfo = retrieveHydrationInfo(hostRNode, rootViewInjector, true /* isRootView */);
|
|
@@ -15712,7 +15667,8 @@ function createRootComponent(componentView, rootComponentDef, rootDirectives, ho
|
|
|
15712
15667
|
/** Sets the static attributes on a root component. */
|
|
15713
15668
|
function setRootNodeAttributes(hostRenderer, componentDef, hostRNode, rootSelectorOrNode) {
|
|
15714
15669
|
if (rootSelectorOrNode) {
|
|
15715
|
-
|
|
15670
|
+
// The placeholder will be replaced with the actual version at build time.
|
|
15671
|
+
setUpAttributes(hostRenderer, hostRNode, ['ng-version', '17.0.8']);
|
|
15716
15672
|
}
|
|
15717
15673
|
else {
|
|
15718
15674
|
// If host element is created as a part of this function call (i.e. `rootSelectorOrNode`
|
|
@@ -20767,6 +20723,8 @@ function invokeAllTriggerCleanupFns(lDetails) {
|
|
|
20767
20723
|
invokeTriggerCleanupFns(0 /* TriggerType.Regular */, lDetails);
|
|
20768
20724
|
}
|
|
20769
20725
|
|
|
20726
|
+
// Public API for Zone
|
|
20727
|
+
|
|
20770
20728
|
/**
|
|
20771
20729
|
* Calculates a data slot index for defer block info (either static or
|
|
20772
20730
|
* instance-specific), given an index of a defer instruction.
|
|
@@ -29969,6 +29927,25 @@ const NgModule = makeDecorator('NgModule', (ngModule) => ngModule, undefined, un
|
|
|
29969
29927
|
* to be used by the decorator versions of these annotations.
|
|
29970
29928
|
*/
|
|
29971
29929
|
|
|
29930
|
+
/**
|
|
29931
|
+
* @description Represents the version of Angular
|
|
29932
|
+
*
|
|
29933
|
+
* @publicApi
|
|
29934
|
+
*/
|
|
29935
|
+
class Version {
|
|
29936
|
+
constructor(full) {
|
|
29937
|
+
this.full = full;
|
|
29938
|
+
const parts = full.split('.');
|
|
29939
|
+
this.major = parts[0];
|
|
29940
|
+
this.minor = parts[1];
|
|
29941
|
+
this.patch = parts.slice(2).join('.');
|
|
29942
|
+
}
|
|
29943
|
+
}
|
|
29944
|
+
/**
|
|
29945
|
+
* @publicApi
|
|
29946
|
+
*/
|
|
29947
|
+
const VERSION = new Version('17.0.8');
|
|
29948
|
+
|
|
29972
29949
|
/*
|
|
29973
29950
|
* This file exists to support compilation of @angular/core in Ivy mode.
|
|
29974
29951
|
*
|
|
@@ -30007,45 +29984,6 @@ class Console {
|
|
|
30007
29984
|
args: [{ providedIn: 'platform' }]
|
|
30008
29985
|
}], null, null); })();
|
|
30009
29986
|
|
|
30010
|
-
/**
|
|
30011
|
-
* *Internal* service that keeps track of pending tasks happening in the system
|
|
30012
|
-
* during the initial rendering. No tasks are tracked after an initial
|
|
30013
|
-
* rendering.
|
|
30014
|
-
*
|
|
30015
|
-
* This information is needed to make sure that the serialization on the server
|
|
30016
|
-
* is delayed until all tasks in the queue (such as an initial navigation or a
|
|
30017
|
-
* pending HTTP request) are completed.
|
|
30018
|
-
*/
|
|
30019
|
-
class InitialRenderPendingTasks {
|
|
30020
|
-
constructor() {
|
|
30021
|
-
this.taskId = 0;
|
|
30022
|
-
this.pendingTasks = new Set();
|
|
30023
|
-
this.hasPendingTasks = new BehaviorSubject(false);
|
|
30024
|
-
}
|
|
30025
|
-
add() {
|
|
30026
|
-
this.hasPendingTasks.next(true);
|
|
30027
|
-
const taskId = this.taskId++;
|
|
30028
|
-
this.pendingTasks.add(taskId);
|
|
30029
|
-
return taskId;
|
|
30030
|
-
}
|
|
30031
|
-
remove(taskId) {
|
|
30032
|
-
this.pendingTasks.delete(taskId);
|
|
30033
|
-
if (this.pendingTasks.size === 0) {
|
|
30034
|
-
this.hasPendingTasks.next(false);
|
|
30035
|
-
}
|
|
30036
|
-
}
|
|
30037
|
-
ngOnDestroy() {
|
|
30038
|
-
this.pendingTasks.clear();
|
|
30039
|
-
this.hasPendingTasks.next(false);
|
|
30040
|
-
}
|
|
30041
|
-
static { this.ɵfac = function InitialRenderPendingTasks_Factory(t) { return new (t || InitialRenderPendingTasks)(); }; }
|
|
30042
|
-
static { this.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: InitialRenderPendingTasks, factory: InitialRenderPendingTasks.ɵfac, providedIn: 'root' }); }
|
|
30043
|
-
}
|
|
30044
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(InitialRenderPendingTasks, [{
|
|
30045
|
-
type: Injectable,
|
|
30046
|
-
args: [{ providedIn: 'root' }]
|
|
30047
|
-
}], null, null); })();
|
|
30048
|
-
|
|
30049
29987
|
/**
|
|
30050
29988
|
* Combination of NgModuleFactory and ComponentFactories.
|
|
30051
29989
|
*
|
|
@@ -30152,6 +30090,53 @@ const COMPILER_OPTIONS = new InjectionToken('compilerOptions');
|
|
|
30152
30090
|
class CompilerFactory {
|
|
30153
30091
|
}
|
|
30154
30092
|
|
|
30093
|
+
/**
|
|
30094
|
+
* *Internal* service that keeps track of pending tasks happening in the system.
|
|
30095
|
+
*
|
|
30096
|
+
* This information is needed to make sure that the serialization on the server
|
|
30097
|
+
* is delayed until all tasks in the queue (such as an initial navigation or a
|
|
30098
|
+
* pending HTTP request) are completed.
|
|
30099
|
+
*
|
|
30100
|
+
* Pending tasks continue to contribute to the stableness of `ApplicationRef`
|
|
30101
|
+
* throughout the lifetime of the application.
|
|
30102
|
+
*/
|
|
30103
|
+
class PendingTasks {
|
|
30104
|
+
constructor() {
|
|
30105
|
+
this.taskId = 0;
|
|
30106
|
+
this.pendingTasks = new Set();
|
|
30107
|
+
this.hasPendingTasks = new BehaviorSubject(false);
|
|
30108
|
+
}
|
|
30109
|
+
get _hasPendingTasks() {
|
|
30110
|
+
return this.hasPendingTasks.value;
|
|
30111
|
+
}
|
|
30112
|
+
add() {
|
|
30113
|
+
if (!this._hasPendingTasks) {
|
|
30114
|
+
this.hasPendingTasks.next(true);
|
|
30115
|
+
}
|
|
30116
|
+
const taskId = this.taskId++;
|
|
30117
|
+
this.pendingTasks.add(taskId);
|
|
30118
|
+
return taskId;
|
|
30119
|
+
}
|
|
30120
|
+
remove(taskId) {
|
|
30121
|
+
this.pendingTasks.delete(taskId);
|
|
30122
|
+
if (this.pendingTasks.size === 0 && this._hasPendingTasks) {
|
|
30123
|
+
this.hasPendingTasks.next(false);
|
|
30124
|
+
}
|
|
30125
|
+
}
|
|
30126
|
+
ngOnDestroy() {
|
|
30127
|
+
this.pendingTasks.clear();
|
|
30128
|
+
if (this._hasPendingTasks) {
|
|
30129
|
+
this.hasPendingTasks.next(false);
|
|
30130
|
+
}
|
|
30131
|
+
}
|
|
30132
|
+
static { this.ɵfac = function PendingTasks_Factory(t) { return new (t || PendingTasks)(); }; }
|
|
30133
|
+
static { this.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: PendingTasks, factory: PendingTasks.ɵfac, providedIn: 'root' }); }
|
|
30134
|
+
}
|
|
30135
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(PendingTasks, [{
|
|
30136
|
+
type: Injectable,
|
|
30137
|
+
args: [{ providedIn: 'root' }]
|
|
30138
|
+
}], null, null); })();
|
|
30139
|
+
|
|
30155
30140
|
/**
|
|
30156
30141
|
* These are the data structures that our framework injector profiler will fill with data in order
|
|
30157
30142
|
* to support DI debugging APIs.
|
|
@@ -31695,7 +31680,6 @@ class ApplicationRef {
|
|
|
31695
31680
|
/** @internal */
|
|
31696
31681
|
this._views = [];
|
|
31697
31682
|
this.internalErrorHandler = inject(INTERNAL_APPLICATION_ERROR_HANDLER);
|
|
31698
|
-
this.zoneIsStable = inject(ZONE_IS_STABLE_OBSERVABLE);
|
|
31699
31683
|
/**
|
|
31700
31684
|
* Get a list of component types registered to this application.
|
|
31701
31685
|
* This list is populated even before the component is created.
|
|
@@ -31708,8 +31692,7 @@ class ApplicationRef {
|
|
|
31708
31692
|
/**
|
|
31709
31693
|
* Returns an Observable that indicates when the application is stable or unstable.
|
|
31710
31694
|
*/
|
|
31711
|
-
this.isStable = inject(
|
|
31712
|
-
.hasPendingTasks.pipe(switchMap(hasPendingTasks => hasPendingTasks ? of(false) : this.zoneIsStable), distinctUntilChanged());
|
|
31695
|
+
this.isStable = inject(PendingTasks).hasPendingTasks.pipe(map(pending => !pending));
|
|
31713
31696
|
this._injector = inject(EnvironmentInjector);
|
|
31714
31697
|
}
|
|
31715
31698
|
/**
|
|
@@ -32013,8 +31996,17 @@ function internalProvideZoneChangeDetection(ngZoneFactory) {
|
|
|
32013
31996
|
return () => ngZoneChangeDetectionScheduler.initialize();
|
|
32014
31997
|
},
|
|
32015
31998
|
},
|
|
31999
|
+
{
|
|
32000
|
+
provide: ENVIRONMENT_INITIALIZER,
|
|
32001
|
+
multi: true,
|
|
32002
|
+
useFactory: () => {
|
|
32003
|
+
const service = inject(ZoneStablePendingTask);
|
|
32004
|
+
return () => {
|
|
32005
|
+
service.initialize();
|
|
32006
|
+
};
|
|
32007
|
+
}
|
|
32008
|
+
},
|
|
32016
32009
|
{ provide: INTERNAL_APPLICATION_ERROR_HANDLER, useFactory: ngZoneApplicationErrorHandlerFactory },
|
|
32017
|
-
{ provide: ZONE_IS_STABLE_OBSERVABLE, useFactory: isStableFactory },
|
|
32018
32010
|
];
|
|
32019
32011
|
}
|
|
32020
32012
|
function ngZoneApplicationErrorHandlerFactory() {
|
|
@@ -32060,6 +32052,50 @@ function getNgZoneOptions(options) {
|
|
|
32060
32052
|
shouldCoalesceRunChangeDetection: options?.runCoalescing ?? false,
|
|
32061
32053
|
};
|
|
32062
32054
|
}
|
|
32055
|
+
class ZoneStablePendingTask {
|
|
32056
|
+
constructor() {
|
|
32057
|
+
this.subscription = new Subscription();
|
|
32058
|
+
this.initialized = false;
|
|
32059
|
+
this.zone = inject(NgZone);
|
|
32060
|
+
this.pendingTasks = inject(PendingTasks);
|
|
32061
|
+
}
|
|
32062
|
+
initialize() {
|
|
32063
|
+
if (this.initialized) {
|
|
32064
|
+
return;
|
|
32065
|
+
}
|
|
32066
|
+
this.initialized = true;
|
|
32067
|
+
let task = null;
|
|
32068
|
+
if (!this.zone.isStable && !this.zone.hasPendingMacrotasks && !this.zone.hasPendingMicrotasks) {
|
|
32069
|
+
task = this.pendingTasks.add();
|
|
32070
|
+
}
|
|
32071
|
+
this.zone.runOutsideAngular(() => {
|
|
32072
|
+
this.subscription.add(this.zone.onStable.subscribe(() => {
|
|
32073
|
+
NgZone.assertNotInAngularZone();
|
|
32074
|
+
// Check whether there are no pending macro/micro tasks in the next tick
|
|
32075
|
+
// to allow for NgZone to update the state.
|
|
32076
|
+
queueMicrotask(() => {
|
|
32077
|
+
if (task !== null && !this.zone.hasPendingMacrotasks && !this.zone.hasPendingMicrotasks) {
|
|
32078
|
+
this.pendingTasks.remove(task);
|
|
32079
|
+
task = null;
|
|
32080
|
+
}
|
|
32081
|
+
});
|
|
32082
|
+
}));
|
|
32083
|
+
});
|
|
32084
|
+
this.subscription.add(this.zone.onUnstable.subscribe(() => {
|
|
32085
|
+
NgZone.assertInAngularZone();
|
|
32086
|
+
task ??= this.pendingTasks.add();
|
|
32087
|
+
}));
|
|
32088
|
+
}
|
|
32089
|
+
ngOnDestroy() {
|
|
32090
|
+
this.subscription.unsubscribe();
|
|
32091
|
+
}
|
|
32092
|
+
static { this.ɵfac = function ZoneStablePendingTask_Factory(t) { return new (t || ZoneStablePendingTask)(); }; }
|
|
32093
|
+
static { this.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: ZoneStablePendingTask, factory: ZoneStablePendingTask.ɵfac, providedIn: 'root' }); }
|
|
32094
|
+
}
|
|
32095
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ZoneStablePendingTask, [{
|
|
32096
|
+
type: Injectable,
|
|
32097
|
+
args: [{ providedIn: 'root' }]
|
|
32098
|
+
}], null, null); })();
|
|
32063
32099
|
|
|
32064
32100
|
/**
|
|
32065
32101
|
* Work out the locale from the potential global properties.
|
|
@@ -35074,5 +35110,5 @@ if (typeof ngDevMode !== 'undefined' && ngDevMode) {
|
|
|
35074
35110
|
* Generated bundle index. Do not edit.
|
|
35075
35111
|
*/
|
|
35076
35112
|
|
|
35077
|
-
export { ANIMATION_MODULE_TYPE, APP_BOOTSTRAP_LISTENER, APP_ID, APP_INITIALIZER, AfterRenderPhase, ApplicationInitStatus, ApplicationModule, ApplicationRef, Attribute, COMPILER_OPTIONS, CSP_NONCE, 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, DestroyRef, 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, Renderer2, RendererFactory2, RendererStyleFlags2, Sanitizer, SecurityContext, Self, SimpleChange, SkipSelf, TRANSLATIONS, TRANSLATIONS_FORMAT, TemplateRef, Testability, TestabilityRegistry, TransferState, Type, VERSION, Version, ViewChild, ViewChildren, ViewContainerRef, ViewEncapsulation$1 as ViewEncapsulation, ViewRef, afterNextRender, afterRender, asNativeElements, assertInInjectionContext, assertNotInReactiveContext, assertPlatform, booleanAttribute, computed, createComponent, createEnvironmentInjector, createNgModule, createNgModuleRef, createPlatform, createPlatformFactory, defineInjectable, destroyPlatform, effect, enableProdMode, forwardRef, getDebugNode, getModuleFactory, getNgModuleById, getPlatform, importProvidersFrom, inject, isDevMode, isSignal, isStandalone, makeEnvironmentProviders, makeStateKey, mergeApplicationConfig, numberAttribute, platformCore, provideZoneChangeDetection, reflectComponentType, resolveForwardRef, runInInjectionContext, setTestabilityGetter, signal, untracked, ALLOW_MULTIPLE_PLATFORMS as ɵALLOW_MULTIPLE_PLATFORMS, AfterRenderEventManager as ɵAfterRenderEventManager, CONTAINER_HEADER_OFFSET as ɵCONTAINER_HEADER_OFFSET, ComponentFactory$1 as ɵComponentFactory, Console as ɵConsole, DEFAULT_LOCALE_ID as ɵDEFAULT_LOCALE_ID, DEFER_BLOCK_CONFIG as ɵDEFER_BLOCK_CONFIG, DEFER_BLOCK_DEPENDENCY_INTERCEPTOR as ɵDEFER_BLOCK_DEPENDENCY_INTERCEPTOR, DeferBlockBehavior as ɵDeferBlockBehavior, DeferBlockState as ɵDeferBlockState, EffectScheduler as ɵEffectScheduler, IMAGE_CONFIG as ɵIMAGE_CONFIG, IMAGE_CONFIG_DEFAULTS as ɵIMAGE_CONFIG_DEFAULTS, INJECTOR_SCOPE as ɵINJECTOR_SCOPE, IS_HYDRATION_DOM_REUSE_ENABLED as ɵIS_HYDRATION_DOM_REUSE_ENABLED, InitialRenderPendingTasks as ɵInitialRenderPendingTasks, 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, SSR_CONTENT_INTEGRITY_MARKER as ɵSSR_CONTENT_INTEGRITY_MARKER, TESTABILITY as ɵTESTABILITY, TESTABILITY_GETTER as ɵTESTABILITY_GETTER, USE_RUNTIME_DEPS_TRACKER_FOR_JIT as ɵUSE_RUNTIME_DEPS_TRACKER_FOR_JIT, ViewRef$1 as ɵViewRef, XSS_SECURITY_URL as ɵXSS_SECURITY_URL, ZoneAwareQueueingScheduler as ɵZoneAwareQueueingScheduler, _sanitizeHtml as ɵ_sanitizeHtml, _sanitizeUrl as ɵ_sanitizeUrl, allowSanitizationBypassAndThrow as ɵallowSanitizationBypassAndThrow, annotateForHydration as ɵannotateForHydration, bypassSanitizationTrustHtml as ɵbypassSanitizationTrustHtml, bypassSanitizationTrustResourceUrl as ɵbypassSanitizationTrustResourceUrl, bypassSanitizationTrustScript as ɵbypassSanitizationTrustScript, bypassSanitizationTrustStyle as ɵbypassSanitizationTrustStyle, bypassSanitizationTrustUrl as ɵbypassSanitizationTrustUrl, clearResolutionOfComponentResourcesQueue as ɵclearResolutionOfComponentResourcesQueue, 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, depsTracker as ɵdepsTracker, devModeEqual as ɵdevModeEqual, findLocaleData as ɵfindLocaleData, flushModuleScopingQueueAsMuchAsPossible as ɵflushModuleScopingQueueAsMuchAsPossible, formatRuntimeError as ɵformatRuntimeError, generateStandaloneInDeclarationsError as ɵgenerateStandaloneInDeclarationsError, getAsyncClassMetadataFn as ɵgetAsyncClassMetadataFn, getDebugNode as ɵgetDebugNode, getDeferBlocks as ɵgetDeferBlocks, 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, internalAfterNextRender as ɵinternalAfterNextRender, internalCreateApplication as ɵinternalCreateApplication, isBoundToModule as ɵisBoundToModule, isComponentDefPendingResolution as ɵisComponentDefPendingResolution, isEnvironmentProviders as ɵisEnvironmentProviders, isInjectable as ɵisInjectable, isNgModule as ɵisNgModule, isPromise as ɵisPromise, isSubscribable as ɵisSubscribable, noSideEffects as ɵnoSideEffects, patchComponentDefWithScope as ɵpatchComponentDefWithScope, performanceMarkFeature as ɵperformanceMarkFeature, publishDefaultGlobalUtils$1 as ɵpublishDefaultGlobalUtils, publishGlobalUtil as ɵpublishGlobalUtil, registerLocaleData as ɵregisterLocaleData, renderDeferBlockState as ɵrenderDeferBlockState, resetCompiledComponents as ɵresetCompiledComponents, resetJitOptions as ɵresetJitOptions, resolveComponentResources as ɵresolveComponentResources, restoreComponentResolutionQueue as ɵrestoreComponentResolutionQueue, setAllowDuplicateNgModuleIdsForTest as ɵsetAllowDuplicateNgModuleIdsForTest, setAlternateWeakRefImpl as ɵsetAlternateWeakRefImpl, ɵsetClassDebugInfo, setClassMetadata as ɵsetClassMetadata, setClassMetadataAsync as ɵsetClassMetadataAsync, setCurrentInjector as ɵsetCurrentInjector, setDocument as ɵsetDocument, setInjectorProfilerContext as ɵsetInjectorProfilerContext, setLocaleId as ɵsetLocaleId, ɵsetUnknownElementStrictMode, ɵsetUnknownPropertyStrictMode, store as ɵstore, stringify as ɵstringify, transitiveScopesFor as ɵtransitiveScopesFor, triggerResourceLoading as ɵtriggerResourceLoading, truncateMiddle as ɵtruncateMiddle, unregisterAllLocaleData as ɵunregisterLocaleData, unwrapSafeValue as ɵunwrapSafeValue, whenStable as ɵwhenStable, withDomHydration as ɵwithDomHydration, ɵɵCopyDefinitionFeature, FactoryTarget as ɵɵFactoryTarget, ɵɵHostDirectivesFeature, ɵɵInheritDefinitionFeature, ɵɵInputTransformsFeature, ɵɵ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, ɵɵcomponentInstance, ɵɵconditional, ɵɵcontentQuery, ɵɵdefer, ɵɵdeferEnableTimerScheduling, ɵɵdeferOnHover, ɵɵdeferOnIdle, ɵɵdeferOnImmediate, ɵɵdeferOnInteraction, ɵɵdeferOnTimer, ɵɵdeferOnViewport, ɵɵdeferPrefetchOnHover, ɵɵdeferPrefetchOnIdle, ɵɵdeferPrefetchOnImmediate, ɵɵdeferPrefetchOnInteraction, ɵɵdeferPrefetchOnTimer, ɵɵdeferPrefetchOnViewport, ɵɵdeferPrefetchWhen, ɵɵdeferWhen, ɵɵdefineComponent, ɵɵdefineDirective, ɵɵdefineInjectable, ɵɵdefineInjector, ɵɵdefineNgModule, ɵɵdefinePipe, ɵɵdirectiveInject, ɵɵdisableBindings, ɵɵelement, ɵɵelementContainer, ɵɵelementContainerEnd, ɵɵelementContainerStart, ɵɵelementEnd, ɵɵelementStart, ɵɵenableBindings, ɵɵgetComponentDepsFactory, ɵɵ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, ɵɵrepeater, ɵɵrepeaterCreate, ɵɵrepeaterTrackByIdentity, ɵɵrepeaterTrackByIndex, ɵɵ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 };
|
|
35113
|
+
export { ANIMATION_MODULE_TYPE, APP_BOOTSTRAP_LISTENER, APP_ID, APP_INITIALIZER, AfterRenderPhase, ApplicationInitStatus, ApplicationModule, ApplicationRef, Attribute, COMPILER_OPTIONS, CSP_NONCE, 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, DestroyRef, 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, Renderer2, RendererFactory2, RendererStyleFlags2, Sanitizer, SecurityContext, Self, SimpleChange, SkipSelf, TRANSLATIONS, TRANSLATIONS_FORMAT, TemplateRef, Testability, TestabilityRegistry, TransferState, Type, VERSION, Version, ViewChild, ViewChildren, ViewContainerRef, ViewEncapsulation$1 as ViewEncapsulation, ViewRef, afterNextRender, afterRender, asNativeElements, assertInInjectionContext, assertNotInReactiveContext, assertPlatform, booleanAttribute, computed, createComponent, createEnvironmentInjector, createNgModule, createNgModuleRef, createPlatform, createPlatformFactory, defineInjectable, destroyPlatform, effect, enableProdMode, forwardRef, getDebugNode, getModuleFactory, getNgModuleById, getPlatform, importProvidersFrom, inject, isDevMode, isSignal, isStandalone, makeEnvironmentProviders, makeStateKey, mergeApplicationConfig, numberAttribute, platformCore, provideZoneChangeDetection, reflectComponentType, resolveForwardRef, runInInjectionContext, setTestabilityGetter, signal, untracked, ALLOW_MULTIPLE_PLATFORMS as ɵALLOW_MULTIPLE_PLATFORMS, AfterRenderEventManager as ɵAfterRenderEventManager, CONTAINER_HEADER_OFFSET as ɵCONTAINER_HEADER_OFFSET, ChangeDetectionScheduler as ɵChangeDetectionScheduler, ComponentFactory$1 as ɵComponentFactory, Console as ɵConsole, DEFAULT_LOCALE_ID as ɵDEFAULT_LOCALE_ID, DEFER_BLOCK_CONFIG as ɵDEFER_BLOCK_CONFIG, DEFER_BLOCK_DEPENDENCY_INTERCEPTOR as ɵDEFER_BLOCK_DEPENDENCY_INTERCEPTOR, DeferBlockBehavior as ɵDeferBlockBehavior, DeferBlockState as ɵDeferBlockState, EffectScheduler as ɵEffectScheduler, IMAGE_CONFIG as ɵIMAGE_CONFIG, IMAGE_CONFIG_DEFAULTS as ɵIMAGE_CONFIG_DEFAULTS, INJECTOR_SCOPE as ɵINJECTOR_SCOPE, IS_HYDRATION_DOM_REUSE_ENABLED as ɵIS_HYDRATION_DOM_REUSE_ENABLED, 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, PendingTasks as ɵPendingTasks, ReflectionCapabilities as ɵReflectionCapabilities, ComponentFactory as ɵRender3ComponentFactory, ComponentRef as ɵRender3ComponentRef, NgModuleRef as ɵRender3NgModuleRef, RuntimeError as ɵRuntimeError, SSR_CONTENT_INTEGRITY_MARKER as ɵSSR_CONTENT_INTEGRITY_MARKER, TESTABILITY as ɵTESTABILITY, TESTABILITY_GETTER as ɵTESTABILITY_GETTER, USE_RUNTIME_DEPS_TRACKER_FOR_JIT as ɵUSE_RUNTIME_DEPS_TRACKER_FOR_JIT, ViewRef$1 as ɵViewRef, XSS_SECURITY_URL as ɵXSS_SECURITY_URL, ZoneAwareQueueingScheduler as ɵZoneAwareQueueingScheduler, _sanitizeHtml as ɵ_sanitizeHtml, _sanitizeUrl as ɵ_sanitizeUrl, allowSanitizationBypassAndThrow as ɵallowSanitizationBypassAndThrow, annotateForHydration as ɵannotateForHydration, bypassSanitizationTrustHtml as ɵbypassSanitizationTrustHtml, bypassSanitizationTrustResourceUrl as ɵbypassSanitizationTrustResourceUrl, bypassSanitizationTrustScript as ɵbypassSanitizationTrustScript, bypassSanitizationTrustStyle as ɵbypassSanitizationTrustStyle, bypassSanitizationTrustUrl as ɵbypassSanitizationTrustUrl, clearResolutionOfComponentResourcesQueue as ɵclearResolutionOfComponentResourcesQueue, 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, depsTracker as ɵdepsTracker, devModeEqual as ɵdevModeEqual, findLocaleData as ɵfindLocaleData, flushModuleScopingQueueAsMuchAsPossible as ɵflushModuleScopingQueueAsMuchAsPossible, formatRuntimeError as ɵformatRuntimeError, generateStandaloneInDeclarationsError as ɵgenerateStandaloneInDeclarationsError, getAsyncClassMetadataFn as ɵgetAsyncClassMetadataFn, getDebugNode as ɵgetDebugNode, getDeferBlocks as ɵgetDeferBlocks, getDirectives as ɵgetDirectives, getEnsureDirtyViewsAreAlwaysReachable as ɵgetEnsureDirtyViewsAreAlwaysReachable, 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, internalAfterNextRender as ɵinternalAfterNextRender, internalCreateApplication as ɵinternalCreateApplication, isBoundToModule as ɵisBoundToModule, isComponentDefPendingResolution as ɵisComponentDefPendingResolution, isEnvironmentProviders as ɵisEnvironmentProviders, isInjectable as ɵisInjectable, isNgModule as ɵisNgModule, isPromise as ɵisPromise, isSubscribable as ɵisSubscribable, noSideEffects as ɵnoSideEffects, patchComponentDefWithScope as ɵpatchComponentDefWithScope, performanceMarkFeature as ɵperformanceMarkFeature, publishDefaultGlobalUtils$1 as ɵpublishDefaultGlobalUtils, publishGlobalUtil as ɵpublishGlobalUtil, registerLocaleData as ɵregisterLocaleData, renderDeferBlockState as ɵrenderDeferBlockState, resetCompiledComponents as ɵresetCompiledComponents, resetJitOptions as ɵresetJitOptions, resolveComponentResources as ɵresolveComponentResources, restoreComponentResolutionQueue as ɵrestoreComponentResolutionQueue, setAllowDuplicateNgModuleIdsForTest as ɵsetAllowDuplicateNgModuleIdsForTest, setAlternateWeakRefImpl as ɵsetAlternateWeakRefImpl, ɵsetClassDebugInfo, setClassMetadata as ɵsetClassMetadata, setClassMetadataAsync as ɵsetClassMetadataAsync, setCurrentInjector as ɵsetCurrentInjector, setDocument as ɵsetDocument, setEnsureDirtyViewsAreAlwaysReachable as ɵsetEnsureDirtyViewsAreAlwaysReachable, setInjectorProfilerContext as ɵsetInjectorProfilerContext, setLocaleId as ɵsetLocaleId, ɵsetUnknownElementStrictMode, ɵsetUnknownPropertyStrictMode, store as ɵstore, stringify as ɵstringify, transitiveScopesFor as ɵtransitiveScopesFor, triggerResourceLoading as ɵtriggerResourceLoading, truncateMiddle as ɵtruncateMiddle, unregisterAllLocaleData as ɵunregisterLocaleData, unwrapSafeValue as ɵunwrapSafeValue, whenStable as ɵwhenStable, withDomHydration as ɵwithDomHydration, ɵɵCopyDefinitionFeature, FactoryTarget as ɵɵFactoryTarget, ɵɵHostDirectivesFeature, ɵɵInheritDefinitionFeature, ɵɵInputTransformsFeature, ɵɵ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, ɵɵcomponentInstance, ɵɵconditional, ɵɵcontentQuery, ɵɵdefer, ɵɵdeferEnableTimerScheduling, ɵɵdeferOnHover, ɵɵdeferOnIdle, ɵɵdeferOnImmediate, ɵɵdeferOnInteraction, ɵɵdeferOnTimer, ɵɵdeferOnViewport, ɵɵdeferPrefetchOnHover, ɵɵdeferPrefetchOnIdle, ɵɵdeferPrefetchOnImmediate, ɵɵdeferPrefetchOnInteraction, ɵɵdeferPrefetchOnTimer, ɵɵdeferPrefetchOnViewport, ɵɵdeferPrefetchWhen, ɵɵdeferWhen, ɵɵdefineComponent, ɵɵdefineDirective, ɵɵdefineInjectable, ɵɵdefineInjector, ɵɵdefineNgModule, ɵɵdefinePipe, ɵɵdirectiveInject, ɵɵdisableBindings, ɵɵelement, ɵɵelementContainer, ɵɵelementContainerEnd, ɵɵelementContainerStart, ɵɵelementEnd, ɵɵelementStart, ɵɵenableBindings, ɵɵgetComponentDepsFactory, ɵɵ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, ɵɵrepeater, ɵɵrepeaterCreate, ɵɵrepeaterTrackByIdentity, ɵɵrepeaterTrackByIndex, ɵɵ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 };
|
|
35078
35114
|
//# sourceMappingURL=core.mjs.map
|