reactronic 0.24.261 → 0.24.262
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.
|
@@ -72,7 +72,7 @@ export type RxNodeDriver<E = unknown> = {
|
|
|
72
72
|
destroy(node: RxNode<E>, isLeader: boolean): boolean;
|
|
73
73
|
mount(node: RxNode<E>): void;
|
|
74
74
|
update(node: RxNode<E>): void | Promise<void>;
|
|
75
|
-
child(
|
|
75
|
+
child(ownerNode: RxNode<E>, childDriver: RxNodeDriver<any>, childDeclaration?: RxNodeDecl<any>, childPreset?: RxNodeDecl<any>): void;
|
|
76
76
|
};
|
|
77
77
|
export type RxNodeContext<T extends Object = Object> = {
|
|
78
78
|
value: T;
|
|
@@ -87,7 +87,7 @@ export declare abstract class BaseDriver<E = unknown> implements RxNodeDriver<E>
|
|
|
87
87
|
destroy(node: RxNode<E>, isLeader: boolean): boolean;
|
|
88
88
|
mount(node: RxNode<E>): void;
|
|
89
89
|
update(node: RxNode<E>): void | Promise<void>;
|
|
90
|
-
child(
|
|
90
|
+
child(ownerNode: RxNode<E>, childDriver: RxNodeDriver<any>, childDeclaration?: RxNodeDecl<any>, childPreset?: RxNodeDecl<any>): void;
|
|
91
91
|
}
|
|
92
92
|
export declare class RxNodeVariable<T extends Object = Object> {
|
|
93
93
|
readonly defaultValue: T | undefined;
|
|
@@ -45,7 +45,7 @@ export class RxNode {
|
|
|
45
45
|
let key = declaration.key;
|
|
46
46
|
const owner = gOwnSeat === null || gOwnSeat === void 0 ? void 0 : gOwnSeat.instance;
|
|
47
47
|
if (owner) {
|
|
48
|
-
owner.driver.child(driver, declaration, preset);
|
|
48
|
+
owner.driver.child(owner, driver, declaration, preset);
|
|
49
49
|
let existing = undefined;
|
|
50
50
|
const children = owner.children;
|
|
51
51
|
if (driver.isPartitionSeparator) {
|
|
@@ -170,7 +170,7 @@ export class BaseDriver {
|
|
|
170
170
|
update(node) {
|
|
171
171
|
invokeOnChangeViaPresetChain(node.element, node.declaration);
|
|
172
172
|
}
|
|
173
|
-
child(
|
|
173
|
+
child(ownerNode, childDriver, childDeclaration, childPreset) {
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
export class RxNodeVariable {
|