@rentman/rm-core 64.0.2 → 65.0.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.
|
@@ -11,14 +11,15 @@ export type TransactionOptions = {
|
|
|
11
11
|
export declare abstract class AbstractCache {
|
|
12
12
|
dependencies: AbstractCacheDependencyInterface;
|
|
13
13
|
core: RmCore;
|
|
14
|
-
|
|
14
|
+
readonly childrenSignal: import("@angular/core").WritableSignal<TransactionCache[]>;
|
|
15
15
|
readonly itemHandler: ItemHandlerBase;
|
|
16
16
|
readonly cachedQueryHandler: CachedQueryHandlerBase;
|
|
17
17
|
parent: AbstractCache | null;
|
|
18
18
|
protected constructor(dependencies: AbstractCacheDependencyInterface, core: RmCore);
|
|
19
|
+
getChildren(): TransactionCache[];
|
|
19
20
|
getDescendantsIterator(): IterableIterator<TransactionCache>;
|
|
20
21
|
abstract createChild(id?: string, validatorFactory?: TransactionValidatorFactory, options?: TransactionOptions): TransactionCache;
|
|
21
|
-
onChildDestroy(
|
|
22
|
+
onChildDestroy(transactionCache: TransactionCache): void;
|
|
22
23
|
/**
|
|
23
24
|
* @description
|
|
24
25
|
* Returns {@link ItemEntry ItemEntries} that fit the collection's query, copies over the collectionChanges on all transactions in the chain.
|
|
@@ -94,13 +94,15 @@ export declare class TransactionCache extends AbstractCache {
|
|
|
94
94
|
validatorWithDependencies?: TransactionValidatorWithDependencies<any>;
|
|
95
95
|
private readonly options;
|
|
96
96
|
private actionsQueue;
|
|
97
|
-
private
|
|
97
|
+
private pendingActionLabels;
|
|
98
98
|
private transactionStateSignal;
|
|
99
|
-
|
|
100
|
-
isReadySignal: import("@angular/core").Signal<boolean>;
|
|
101
|
-
isPendingSignal: import("@angular/core").Signal<boolean>;
|
|
99
|
+
isPendingSignal: any;
|
|
102
100
|
isDestroyedSignal: WritableSignal<boolean>;
|
|
103
101
|
isValidSignal: import("@angular/core").Signal<boolean>;
|
|
102
|
+
/**
|
|
103
|
+
* Like {@link isPendingSignal}, but does not take the 'saving' transaction state into account.
|
|
104
|
+
*/
|
|
105
|
+
private isStrictlyPendingSignal;
|
|
104
106
|
constructor(dependencies: AbstractCacheDependencyInterface, core: RmCore, parent: AbstractCache,
|
|
105
107
|
/**
|
|
106
108
|
* @description
|
|
@@ -139,20 +141,6 @@ export declare class TransactionCache extends AbstractCache {
|
|
|
139
141
|
* - Changes on existing items
|
|
140
142
|
*/
|
|
141
143
|
get hasChanges(): boolean;
|
|
142
|
-
/**
|
|
143
|
-
* @deprecated use isSavingSignal instead
|
|
144
|
-
*
|
|
145
|
-
* @description
|
|
146
|
-
* Is true while the {@link TransactionCache TransactionCache} is applying changes to the parent (can either be through a merge or an Api save)
|
|
147
|
-
*/
|
|
148
|
-
get isSaving(): boolean;
|
|
149
|
-
/**
|
|
150
|
-
* @deprecated use isReadySignal instead
|
|
151
|
-
*
|
|
152
|
-
* @description
|
|
153
|
-
* Is true while the {@link TransactionCache TransactionCache} is ready to handle new saves
|
|
154
|
-
*/
|
|
155
|
-
get isReady(): boolean;
|
|
156
144
|
/**
|
|
157
145
|
* @deprecated use isValidSignal instead
|
|
158
146
|
*/
|