@base-framework/base 3.7.66 → 3.7.69
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.
|
@@ -60,6 +60,16 @@ export class Component extends Unit {
|
|
|
60
60
|
id: string;
|
|
61
61
|
}): void;
|
|
62
62
|
stateHelper: any;
|
|
63
|
+
/**
|
|
64
|
+
* Mark context as restored from persistence so the
|
|
65
|
+
* subsequent setupContext() call doesn't invoke the
|
|
66
|
+
* user's setContext() hook again — doing so would
|
|
67
|
+
* create a new context.data instance, leaving every
|
|
68
|
+
* still-attached watcher subscribed to the now-orphan
|
|
69
|
+
* persisted Data while writes (e.g. xhr callbacks
|
|
70
|
+
* using parent.context.data) target the new instance.
|
|
71
|
+
*/
|
|
72
|
+
_contextResumed: boolean;
|
|
63
73
|
/**
|
|
64
74
|
* This will resume the data during persistence.
|
|
65
75
|
*
|
|
@@ -183,9 +183,9 @@ export class ModelService {
|
|
|
183
183
|
* @param {(string|object)} params
|
|
184
184
|
* @param {function} [callBack]
|
|
185
185
|
* @param {function} [requestCallBack]
|
|
186
|
-
* @returns {XMLHttpRequest}
|
|
186
|
+
* @returns {XMLHttpRequest?}
|
|
187
187
|
*/
|
|
188
|
-
protected setupRequest(url: string, method: string, params: (string | object), callBack?: Function, requestCallBack?: Function): XMLHttpRequest;
|
|
188
|
+
protected setupRequest(url: string, method: string, params: (string | object), callBack?: Function, requestCallBack?: Function): XMLHttpRequest | null;
|
|
189
189
|
/**
|
|
190
190
|
* Set up an EventSource for real-time activity updates with auto-reconnection.
|
|
191
191
|
*
|