@angular/core 15.2.0 → 16.0.0-next.0
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/core.mjs +2 -1
- package/esm2020/src/core_reactivity_export.mjs +11 -0
- package/esm2020/src/core_reactivity_export_internal.mjs +9 -0
- package/esm2020/src/render/api_flags.mjs +1 -1
- package/esm2020/src/signals/index.mjs +15 -0
- package/esm2020/src/signals/src/api.mjs +46 -0
- package/esm2020/src/signals/src/computed.mjs +142 -0
- package/esm2020/src/signals/src/effect.mjs +69 -0
- package/esm2020/src/signals/src/graph.mjs +114 -0
- package/esm2020/src/signals/src/signal.mjs +78 -0
- package/esm2020/src/signals/src/untracked.mjs +26 -0
- package/esm2020/src/signals/src/watch.mjs +54 -0
- package/esm2020/src/signals/src/weak_ref.mjs +11 -0
- 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 +480 -3
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +2 -2
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +478 -3
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +2 -2
- package/fesm2020/testing.mjs.map +1 -1
- package/index.d.ts +286 -2
- package/package.json +1 -1
- package/schematics/ng-generate/standalone-migration/bundle.js +530 -767
- 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
|
|
2
|
+
* @license Angular v16.0.0-next.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -8384,7 +8384,7 @@ class Version {
|
|
|
8384
8384
|
/**
|
|
8385
8385
|
* @publicApi
|
|
8386
8386
|
*/
|
|
8387
|
-
const VERSION = new Version('
|
|
8387
|
+
const VERSION = new Version('16.0.0-next.0');
|
|
8388
8388
|
|
|
8389
8389
|
// This default value is when checking the hierarchy for a token.
|
|
8390
8390
|
//
|
|
@@ -27451,6 +27451,481 @@ function ɵɵngDeclarePipe(decl) {
|
|
|
27451
27451
|
// clang-format off
|
|
27452
27452
|
// clang-format on
|
|
27453
27453
|
|
|
27454
|
+
/**
|
|
27455
|
+
* Symbol used to tell `Signal`s apart from other functions.
|
|
27456
|
+
*
|
|
27457
|
+
* This can be used to auto-unwrap signals in various cases, or to auto-wrap non-signal values.
|
|
27458
|
+
*/
|
|
27459
|
+
const SIGNAL = Symbol('SIGNAL');
|
|
27460
|
+
/**
|
|
27461
|
+
* Checks if the given `value` function is a reactive `Signal`.
|
|
27462
|
+
*/
|
|
27463
|
+
function isSignal(value) {
|
|
27464
|
+
return value[SIGNAL] ?? false;
|
|
27465
|
+
}
|
|
27466
|
+
/**
|
|
27467
|
+
* Converts `fn` into a marked signal function (where `isSignal(fn)` will be `true`), and
|
|
27468
|
+
* potentially add some set of extra properties (passed as an object record `extraApi`).
|
|
27469
|
+
*/
|
|
27470
|
+
function createSignalFromFunction(fn, extraApi = {}) {
|
|
27471
|
+
fn[SIGNAL] = true;
|
|
27472
|
+
// Copy properties from `extraApi` to `fn` to complete the desired API of the `Signal`.
|
|
27473
|
+
return Object.assign(fn, extraApi);
|
|
27474
|
+
}
|
|
27475
|
+
/**
|
|
27476
|
+
* The default equality function used for `signal` and `computed`, which treats objects and arrays
|
|
27477
|
+
* as never equal, and all other primitive values using identity semantics.
|
|
27478
|
+
*
|
|
27479
|
+
* This allows signals to hold non-primitive values (arrays, objects, other collections) and still
|
|
27480
|
+
* propagate change notification upon explicit mutation without identity change.
|
|
27481
|
+
*
|
|
27482
|
+
* @developerPreview
|
|
27483
|
+
*/
|
|
27484
|
+
function defaultEquals(a, b) {
|
|
27485
|
+
// `Object.is` compares two values using identity semantics which is desired behavior for
|
|
27486
|
+
// primitive values. If `Object.is` determines two values to be equal we need to make sure that
|
|
27487
|
+
// those don't represent objects (we want to make sure that 2 objects are always considered
|
|
27488
|
+
// "unequal"). The null check is needed for the special case of JavaScript reporting null values
|
|
27489
|
+
// as objects (`typeof null === 'object'`).
|
|
27490
|
+
return (a === null || typeof a !== 'object') && Object.is(a, b);
|
|
27491
|
+
}
|
|
27492
|
+
|
|
27493
|
+
/**
|
|
27494
|
+
* Tracks the currently active reactive context (or `null` if there is no active
|
|
27495
|
+
* context).
|
|
27496
|
+
*/
|
|
27497
|
+
let activeConsumer = null;
|
|
27498
|
+
/**
|
|
27499
|
+
* Counter tracking the next `ProducerId` or `ConsumerId`.
|
|
27500
|
+
*/
|
|
27501
|
+
let _nextReactiveId = 0;
|
|
27502
|
+
/**
|
|
27503
|
+
* Get a new `ProducerId` or `ConsumerId`, allocated from the global sequence.
|
|
27504
|
+
*
|
|
27505
|
+
* The value returned is a type intersection of both branded types, and thus can be assigned to
|
|
27506
|
+
* either.
|
|
27507
|
+
*/
|
|
27508
|
+
function nextReactiveId() {
|
|
27509
|
+
return _nextReactiveId++;
|
|
27510
|
+
}
|
|
27511
|
+
/**
|
|
27512
|
+
* Set `consumer` as the active reactive context, and return the previous `Consumer`
|
|
27513
|
+
* (if any) for later restoration.
|
|
27514
|
+
*/
|
|
27515
|
+
function setActiveConsumer(consumer) {
|
|
27516
|
+
const prevConsumer = activeConsumer;
|
|
27517
|
+
activeConsumer = consumer;
|
|
27518
|
+
return prevConsumer;
|
|
27519
|
+
}
|
|
27520
|
+
/**
|
|
27521
|
+
* Notify all `Consumer`s of the given `Producer` that its value may have changed.
|
|
27522
|
+
*/
|
|
27523
|
+
function producerNotifyConsumers(producer) {
|
|
27524
|
+
for (const [consumerId, edge] of producer.consumers) {
|
|
27525
|
+
const consumer = edge.consumerRef.deref();
|
|
27526
|
+
if (consumer === undefined || consumer.trackingVersion !== edge.atTrackingVersion) {
|
|
27527
|
+
producer.consumers.delete(consumerId);
|
|
27528
|
+
consumer?.producers.delete(producer.id);
|
|
27529
|
+
continue;
|
|
27530
|
+
}
|
|
27531
|
+
consumer.notify();
|
|
27532
|
+
}
|
|
27533
|
+
}
|
|
27534
|
+
/**
|
|
27535
|
+
* Record a dependency on the given `Producer` by the current reactive `Consumer` if
|
|
27536
|
+
* one is present.
|
|
27537
|
+
*/
|
|
27538
|
+
function producerAccessed(producer) {
|
|
27539
|
+
if (activeConsumer === null) {
|
|
27540
|
+
return;
|
|
27541
|
+
}
|
|
27542
|
+
// Either create or update the dependency `Edge` in both directions.
|
|
27543
|
+
let edge = activeConsumer.producers.get(producer.id);
|
|
27544
|
+
if (edge === undefined) {
|
|
27545
|
+
edge = {
|
|
27546
|
+
consumerRef: activeConsumer.ref,
|
|
27547
|
+
producerRef: producer.ref,
|
|
27548
|
+
seenValueVersion: producer.valueVersion,
|
|
27549
|
+
atTrackingVersion: activeConsumer.trackingVersion,
|
|
27550
|
+
};
|
|
27551
|
+
activeConsumer.producers.set(producer.id, edge);
|
|
27552
|
+
producer.consumers.set(activeConsumer.id, edge);
|
|
27553
|
+
}
|
|
27554
|
+
else {
|
|
27555
|
+
edge.seenValueVersion = producer.valueVersion;
|
|
27556
|
+
edge.atTrackingVersion = activeConsumer.trackingVersion;
|
|
27557
|
+
}
|
|
27558
|
+
}
|
|
27559
|
+
/**
|
|
27560
|
+
* Checks if a `Producer` has a current value which is different than the value
|
|
27561
|
+
* last seen at a specific version by a `Consumer` which recorded a dependency on
|
|
27562
|
+
* this `Producer`.
|
|
27563
|
+
*/
|
|
27564
|
+
function producerPollStatus(producer, lastSeenValueVersion) {
|
|
27565
|
+
// `producer.valueVersion` may be stale, but a mismatch still means that the value
|
|
27566
|
+
// last seen by the `Consumer` is also stale.
|
|
27567
|
+
if (producer.valueVersion !== lastSeenValueVersion) {
|
|
27568
|
+
return true;
|
|
27569
|
+
}
|
|
27570
|
+
// Trigger the `Producer` to update its `valueVersion` if necessary.
|
|
27571
|
+
producer.checkForChangedValue();
|
|
27572
|
+
// At this point, we can trust `producer.valueVersion`.
|
|
27573
|
+
return producer.valueVersion !== lastSeenValueVersion;
|
|
27574
|
+
}
|
|
27575
|
+
/**
|
|
27576
|
+
* Function called to check the stale status of dependencies (producers) for a given consumer. This
|
|
27577
|
+
* is a verification step before refreshing a given consumer: if none of the the dependencies
|
|
27578
|
+
* reports a semantically new value, then the `Consumer` has not observed a real dependency change
|
|
27579
|
+
* (even though it may have been notified of one).
|
|
27580
|
+
*/
|
|
27581
|
+
function consumerPollValueStatus(consumer) {
|
|
27582
|
+
for (const [producerId, edge] of consumer.producers) {
|
|
27583
|
+
const producer = edge.producerRef.deref();
|
|
27584
|
+
if (producer === undefined || edge.atTrackingVersion !== consumer.trackingVersion) {
|
|
27585
|
+
// This dependency edge is stale, so remove it.
|
|
27586
|
+
consumer.producers.delete(producerId);
|
|
27587
|
+
producer?.consumers.delete(consumer.id);
|
|
27588
|
+
continue;
|
|
27589
|
+
}
|
|
27590
|
+
if (producerPollStatus(producer, edge.seenValueVersion)) {
|
|
27591
|
+
// One of the dependencies reports a real value change.
|
|
27592
|
+
return true;
|
|
27593
|
+
}
|
|
27594
|
+
}
|
|
27595
|
+
// No dependency reported a real value change, so the `Consumer` has also not been
|
|
27596
|
+
// impacted.
|
|
27597
|
+
return false;
|
|
27598
|
+
}
|
|
27599
|
+
|
|
27600
|
+
// tslint:disable-next-line: no-toplevel-property-access
|
|
27601
|
+
const WeakRef = _global['WeakRef'];
|
|
27602
|
+
|
|
27603
|
+
/**
|
|
27604
|
+
* Create a computed `Signal` which derives a reactive value from an expression.
|
|
27605
|
+
*
|
|
27606
|
+
* @developerPreview
|
|
27607
|
+
*/
|
|
27608
|
+
function computed(computation, equal = defaultEquals) {
|
|
27609
|
+
const node = new ComputedImpl(computation, equal);
|
|
27610
|
+
return createSignalFromFunction(node.signal.bind(node));
|
|
27611
|
+
}
|
|
27612
|
+
/**
|
|
27613
|
+
* A dedicated symbol used before a computed value has been calculated for the first time.
|
|
27614
|
+
* Explicitly typed as `any` so we can use it as signal's value.
|
|
27615
|
+
*/
|
|
27616
|
+
const UNSET = Symbol('UNSET');
|
|
27617
|
+
/**
|
|
27618
|
+
* A dedicated symbol used in place of a computed signal value to indicate that a given computation
|
|
27619
|
+
* is in progress. Used to detect cycles in computation chains.
|
|
27620
|
+
* Explicitly typed as `any` so we can use it as signal's value.
|
|
27621
|
+
*/
|
|
27622
|
+
const COMPUTING = Symbol('COMPUTING');
|
|
27623
|
+
/**
|
|
27624
|
+
* A dedicated symbol used in place of a computed signal value to indicate that a given computation
|
|
27625
|
+
* failed. The thrown error is cached until the computation gets dirty again.
|
|
27626
|
+
* Explicitly typed as `any` so we can use it as signal's value.
|
|
27627
|
+
*/
|
|
27628
|
+
const ERRORED = Symbol('ERRORED');
|
|
27629
|
+
/**
|
|
27630
|
+
* A computation, which derives a value from a declarative reactive expression.
|
|
27631
|
+
*
|
|
27632
|
+
* `Computed`s are both `Producer`s and `Consumer`s of reactivity.
|
|
27633
|
+
*/
|
|
27634
|
+
class ComputedImpl {
|
|
27635
|
+
constructor(computation, equal) {
|
|
27636
|
+
this.computation = computation;
|
|
27637
|
+
this.equal = equal;
|
|
27638
|
+
/**
|
|
27639
|
+
* Current value of the computation.
|
|
27640
|
+
*
|
|
27641
|
+
* This can also be one of the special values `UNSET`, `COMPUTING`, or `ERRORED`.
|
|
27642
|
+
*/
|
|
27643
|
+
this.value = UNSET;
|
|
27644
|
+
/**
|
|
27645
|
+
* If `value` is `ERRORED`, the error caught from the last computation attempt which will
|
|
27646
|
+
* be re-thrown.
|
|
27647
|
+
*/
|
|
27648
|
+
this.error = null;
|
|
27649
|
+
/**
|
|
27650
|
+
* Flag indicating that the computation is currently stale, meaning that one of the
|
|
27651
|
+
* dependencies has notified of a potential change.
|
|
27652
|
+
*
|
|
27653
|
+
* It's possible that no dependency has _actually_ changed, in which case the `stale`
|
|
27654
|
+
* state can be resolved without recomputing the value.
|
|
27655
|
+
*/
|
|
27656
|
+
this.stale = true;
|
|
27657
|
+
this.id = nextReactiveId();
|
|
27658
|
+
this.ref = new WeakRef(this);
|
|
27659
|
+
this.producers = new Map();
|
|
27660
|
+
this.consumers = new Map();
|
|
27661
|
+
this.trackingVersion = 0;
|
|
27662
|
+
this.valueVersion = 0;
|
|
27663
|
+
}
|
|
27664
|
+
checkForChangedValue() {
|
|
27665
|
+
if (!this.stale) {
|
|
27666
|
+
// The current value and its version are already up to date.
|
|
27667
|
+
return;
|
|
27668
|
+
}
|
|
27669
|
+
// The current value is stale. Check whether we need to produce a new one.
|
|
27670
|
+
if (this.value !== UNSET && this.value !== COMPUTING && !consumerPollValueStatus(this)) {
|
|
27671
|
+
// Even though we were previously notified of a potential dependency update, all of
|
|
27672
|
+
// our dependencies report that they have not actually changed in value, so we can
|
|
27673
|
+
// resolve the stale state without needing to recompute the current value.
|
|
27674
|
+
this.stale = false;
|
|
27675
|
+
return;
|
|
27676
|
+
}
|
|
27677
|
+
// The current value is stale, and needs to be recomputed. It still may not change -
|
|
27678
|
+
// that depends on whether the newly computed value is equal to the old.
|
|
27679
|
+
this.recomputeValue();
|
|
27680
|
+
}
|
|
27681
|
+
recomputeValue() {
|
|
27682
|
+
if (this.value === COMPUTING) {
|
|
27683
|
+
// Our computation somehow led to a cyclic read of itself.
|
|
27684
|
+
throw new Error('Detected cycle in computations.');
|
|
27685
|
+
}
|
|
27686
|
+
const oldValue = this.value;
|
|
27687
|
+
this.value = COMPUTING;
|
|
27688
|
+
// As we're re-running the computation, update our dependent tracking version number.
|
|
27689
|
+
this.trackingVersion++;
|
|
27690
|
+
const prevConsumer = setActiveConsumer(this);
|
|
27691
|
+
let newValue;
|
|
27692
|
+
try {
|
|
27693
|
+
newValue = this.computation();
|
|
27694
|
+
}
|
|
27695
|
+
catch (err) {
|
|
27696
|
+
newValue = ERRORED;
|
|
27697
|
+
this.error = err;
|
|
27698
|
+
}
|
|
27699
|
+
finally {
|
|
27700
|
+
setActiveConsumer(prevConsumer);
|
|
27701
|
+
}
|
|
27702
|
+
this.stale = false;
|
|
27703
|
+
if (oldValue !== UNSET && oldValue !== ERRORED && newValue !== ERRORED &&
|
|
27704
|
+
this.equal(oldValue, newValue)) {
|
|
27705
|
+
// No change to `valueVersion` - old and new values are
|
|
27706
|
+
// semantically equivalent.
|
|
27707
|
+
this.value = oldValue;
|
|
27708
|
+
return;
|
|
27709
|
+
}
|
|
27710
|
+
this.value = newValue;
|
|
27711
|
+
this.valueVersion++;
|
|
27712
|
+
}
|
|
27713
|
+
notify() {
|
|
27714
|
+
if (this.stale) {
|
|
27715
|
+
// We've already notified consumers that this value has potentially changed.
|
|
27716
|
+
return;
|
|
27717
|
+
}
|
|
27718
|
+
// Record that the currently cached value may be stale.
|
|
27719
|
+
this.stale = true;
|
|
27720
|
+
// Notify any consumers about the potential change.
|
|
27721
|
+
producerNotifyConsumers(this);
|
|
27722
|
+
}
|
|
27723
|
+
signal() {
|
|
27724
|
+
// Check if the value needs updating before returning it.
|
|
27725
|
+
this.checkForChangedValue();
|
|
27726
|
+
// Record that someone looked at this signal.
|
|
27727
|
+
producerAccessed(this);
|
|
27728
|
+
if (this.value === ERRORED) {
|
|
27729
|
+
throw this.error;
|
|
27730
|
+
}
|
|
27731
|
+
return this.value;
|
|
27732
|
+
}
|
|
27733
|
+
}
|
|
27734
|
+
|
|
27735
|
+
/**
|
|
27736
|
+
* Watches a reactive expression and allows it to be scheduled to re-run
|
|
27737
|
+
* when any dependencies notify of a change.
|
|
27738
|
+
*
|
|
27739
|
+
* `Watch` doesn't run reactive expressions itself, but relies on a consumer-
|
|
27740
|
+
* provided scheduling operation to coordinate calling `Watch.run()`.
|
|
27741
|
+
*/
|
|
27742
|
+
class Watch {
|
|
27743
|
+
constructor(watch, schedule) {
|
|
27744
|
+
this.watch = watch;
|
|
27745
|
+
this.schedule = schedule;
|
|
27746
|
+
this.id = nextReactiveId();
|
|
27747
|
+
this.ref = new WeakRef(this);
|
|
27748
|
+
this.producers = new Map();
|
|
27749
|
+
this.trackingVersion = 0;
|
|
27750
|
+
this.dirty = false;
|
|
27751
|
+
}
|
|
27752
|
+
notify() {
|
|
27753
|
+
if (!this.dirty) {
|
|
27754
|
+
this.schedule(this);
|
|
27755
|
+
}
|
|
27756
|
+
this.dirty = true;
|
|
27757
|
+
}
|
|
27758
|
+
/**
|
|
27759
|
+
* Execute the reactive expression in the context of this `Watch` consumer.
|
|
27760
|
+
*
|
|
27761
|
+
* Should be called by the user scheduling algorithm when the provided
|
|
27762
|
+
* `schedule` hook is called by `Watch`.
|
|
27763
|
+
*/
|
|
27764
|
+
run() {
|
|
27765
|
+
this.dirty = false;
|
|
27766
|
+
if (this.trackingVersion !== 0 && !consumerPollValueStatus(this)) {
|
|
27767
|
+
return;
|
|
27768
|
+
}
|
|
27769
|
+
const prevConsumer = setActiveConsumer(this);
|
|
27770
|
+
this.trackingVersion++;
|
|
27771
|
+
try {
|
|
27772
|
+
this.watch();
|
|
27773
|
+
}
|
|
27774
|
+
finally {
|
|
27775
|
+
setActiveConsumer(prevConsumer);
|
|
27776
|
+
}
|
|
27777
|
+
}
|
|
27778
|
+
}
|
|
27779
|
+
|
|
27780
|
+
/**
|
|
27781
|
+
* Create a global `Effect` for the given reactive function.
|
|
27782
|
+
*
|
|
27783
|
+
* @developerPreview
|
|
27784
|
+
*/
|
|
27785
|
+
function effect(effectFn) {
|
|
27786
|
+
const watch = new Watch(effectFn, queueWatch);
|
|
27787
|
+
globalWatches.add(watch);
|
|
27788
|
+
// Effects start dirty.
|
|
27789
|
+
watch.notify();
|
|
27790
|
+
return {
|
|
27791
|
+
consumer: watch,
|
|
27792
|
+
schedule: watch.notify.bind(watch),
|
|
27793
|
+
destroy: () => {
|
|
27794
|
+
queuedWatches.delete(watch);
|
|
27795
|
+
globalWatches.delete(watch);
|
|
27796
|
+
},
|
|
27797
|
+
};
|
|
27798
|
+
}
|
|
27799
|
+
/**
|
|
27800
|
+
* Get a `Promise` that resolves when any scheduled effects have resolved.
|
|
27801
|
+
*/
|
|
27802
|
+
function effectsDone() {
|
|
27803
|
+
return watchQueuePromise?.promise ?? Promise.resolve();
|
|
27804
|
+
}
|
|
27805
|
+
/**
|
|
27806
|
+
* Shut down all active effects.
|
|
27807
|
+
*/
|
|
27808
|
+
function resetEffects() {
|
|
27809
|
+
queuedWatches.clear();
|
|
27810
|
+
globalWatches.clear();
|
|
27811
|
+
}
|
|
27812
|
+
const globalWatches = new Set();
|
|
27813
|
+
const queuedWatches = new Set();
|
|
27814
|
+
let watchQueuePromise = null;
|
|
27815
|
+
function queueWatch(watch) {
|
|
27816
|
+
if (queuedWatches.has(watch) || !globalWatches.has(watch)) {
|
|
27817
|
+
return;
|
|
27818
|
+
}
|
|
27819
|
+
queuedWatches.add(watch);
|
|
27820
|
+
if (watchQueuePromise === null) {
|
|
27821
|
+
Promise.resolve().then(runWatchQueue);
|
|
27822
|
+
let resolveFn;
|
|
27823
|
+
const promise = new Promise((resolve) => {
|
|
27824
|
+
resolveFn = resolve;
|
|
27825
|
+
});
|
|
27826
|
+
watchQueuePromise = {
|
|
27827
|
+
promise,
|
|
27828
|
+
resolveFn,
|
|
27829
|
+
};
|
|
27830
|
+
}
|
|
27831
|
+
}
|
|
27832
|
+
function runWatchQueue() {
|
|
27833
|
+
for (const watch of queuedWatches) {
|
|
27834
|
+
queuedWatches.delete(watch);
|
|
27835
|
+
watch.run();
|
|
27836
|
+
}
|
|
27837
|
+
watchQueuePromise.resolveFn();
|
|
27838
|
+
watchQueuePromise = null;
|
|
27839
|
+
}
|
|
27840
|
+
|
|
27841
|
+
/**
|
|
27842
|
+
* Backing type for a `SettableSignal`, a mutable reactive value.
|
|
27843
|
+
*/
|
|
27844
|
+
class SettableSignalImpl {
|
|
27845
|
+
constructor(value, equal) {
|
|
27846
|
+
this.value = value;
|
|
27847
|
+
this.equal = equal;
|
|
27848
|
+
this.id = nextReactiveId();
|
|
27849
|
+
this.ref = new WeakRef(this);
|
|
27850
|
+
this.consumers = new Map();
|
|
27851
|
+
this.valueVersion = 0;
|
|
27852
|
+
}
|
|
27853
|
+
checkForChangedValue() {
|
|
27854
|
+
// Settable signals can only change when set, so there's nothing to check here.
|
|
27855
|
+
}
|
|
27856
|
+
/**
|
|
27857
|
+
* Directly update the value of the signal to a new value, which may or may not be
|
|
27858
|
+
* equal to the previous.
|
|
27859
|
+
*
|
|
27860
|
+
* In the event that `newValue` is semantically equal to the current value, `set` is
|
|
27861
|
+
* a no-op.
|
|
27862
|
+
*/
|
|
27863
|
+
set(newValue) {
|
|
27864
|
+
if (!this.equal(this.value, newValue)) {
|
|
27865
|
+
this.value = newValue;
|
|
27866
|
+
this.valueVersion++;
|
|
27867
|
+
producerNotifyConsumers(this);
|
|
27868
|
+
}
|
|
27869
|
+
}
|
|
27870
|
+
/**
|
|
27871
|
+
* Derive a new value for the signal from its current value using the `updater` function.
|
|
27872
|
+
*
|
|
27873
|
+
* This is equivalent to calling `set` on the result of running `updater` on the current
|
|
27874
|
+
* value.
|
|
27875
|
+
*/
|
|
27876
|
+
update(updater) {
|
|
27877
|
+
this.set(updater(this.value));
|
|
27878
|
+
}
|
|
27879
|
+
/**
|
|
27880
|
+
* Calls `mutator` on the current value and assumes that it has been mutated.
|
|
27881
|
+
*/
|
|
27882
|
+
mutate(mutator) {
|
|
27883
|
+
// Mutate bypasses equality checks as it's by definition changing the value.
|
|
27884
|
+
mutator(this.value);
|
|
27885
|
+
this.valueVersion++;
|
|
27886
|
+
producerNotifyConsumers(this);
|
|
27887
|
+
}
|
|
27888
|
+
signal() {
|
|
27889
|
+
producerAccessed(this);
|
|
27890
|
+
return this.value;
|
|
27891
|
+
}
|
|
27892
|
+
}
|
|
27893
|
+
/**
|
|
27894
|
+
* Create a `Signal` that can be set or updated directly.
|
|
27895
|
+
*
|
|
27896
|
+
* @developerPreview
|
|
27897
|
+
*/
|
|
27898
|
+
function signal(initialValue, equal = defaultEquals) {
|
|
27899
|
+
const signalNode = new SettableSignalImpl(initialValue, equal);
|
|
27900
|
+
// Casting here is required for g3.
|
|
27901
|
+
const signalFn = createSignalFromFunction(signalNode.signal.bind(signalNode), {
|
|
27902
|
+
set: signalNode.set.bind(signalNode),
|
|
27903
|
+
update: signalNode.update.bind(signalNode),
|
|
27904
|
+
mutate: signalNode.mutate.bind(signalNode),
|
|
27905
|
+
});
|
|
27906
|
+
return signalFn;
|
|
27907
|
+
}
|
|
27908
|
+
|
|
27909
|
+
/**
|
|
27910
|
+
* Execute an arbitrary function in a non-reactive (non-tracking) context. The executed function
|
|
27911
|
+
* can, optionally, return a value.
|
|
27912
|
+
*
|
|
27913
|
+
* @developerPreview
|
|
27914
|
+
*/
|
|
27915
|
+
function untracked(nonReactiveReadsFn) {
|
|
27916
|
+
const prevConsumer = setActiveConsumer(null);
|
|
27917
|
+
// We are not trying to catch any particular errors here, just making sure that the consumers
|
|
27918
|
+
// stack is restored in case of errors.
|
|
27919
|
+
try {
|
|
27920
|
+
return nonReactiveReadsFn();
|
|
27921
|
+
}
|
|
27922
|
+
finally {
|
|
27923
|
+
setActiveConsumer(prevConsumer);
|
|
27924
|
+
}
|
|
27925
|
+
}
|
|
27926
|
+
|
|
27927
|
+
// This file exists to allow the set of reactivity exports to be modified in g3, as these APIs are
|
|
27928
|
+
|
|
27454
27929
|
/**
|
|
27455
27930
|
* Creates a `ComponentRef` instance based on provided component type and a set of options.
|
|
27456
27931
|
*
|
|
@@ -27618,5 +28093,5 @@ if (typeof ngDevMode !== 'undefined' && ngDevMode) {
|
|
|
27618
28093
|
* Generated bundle index. Do not edit.
|
|
27619
28094
|
*/
|
|
27620
28095
|
|
|
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, ChangeDetectorStatus as ɵChangeDetectorStatus, 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, isDefaultChangeDetectionStrategy as ɵisDefaultChangeDetectionStrategy, isEnvironmentProviders as ɵisEnvironmentProviders, isInjectable as ɵisInjectable, isListLikeIterable as ɵisListLikeIterable, isObservable as ɵisObservable, isPromise as ɵisPromise, isSubscribable as ɵisSubscribable, ɵivyEnabled, 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 };
|
|
28096
|
+
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, computed, createComponent, createEnvironmentInjector, createNgModule, createNgModuleRef, createPlatform, createPlatformFactory, defineInjectable, destroyPlatform, effect, enableProdMode, forwardRef, getDebugNode, getModuleFactory, getNgModuleById, getPlatform, importProvidersFrom, inject, isDevMode, isSignal, isStandalone, makeEnvironmentProviders, platformCore, reflectComponentType, resolveForwardRef, setTestabilityGetter, signal, untracked, ALLOW_MULTIPLE_PLATFORMS as ɵALLOW_MULTIPLE_PLATFORMS, APP_ID_RANDOM_PROVIDER as ɵAPP_ID_RANDOM_PROVIDER, ChangeDetectorStatus as ɵChangeDetectorStatus, 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, isDefaultChangeDetectionStrategy as ɵisDefaultChangeDetectionStrategy, isEnvironmentProviders as ɵisEnvironmentProviders, isInjectable as ɵisInjectable, isListLikeIterable as ɵisListLikeIterable, isObservable as ɵisObservable, isPromise as ɵisPromise, isSubscribable as ɵisSubscribable, ɵivyEnabled, 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
28097
|
//# sourceMappingURL=core.mjs.map
|