@base-framework/base 3.0.272 → 3.0.274
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.
|
@@ -56,16 +56,18 @@ export class StateHelper {
|
|
|
56
56
|
/**
|
|
57
57
|
* This will remove remote states.
|
|
58
58
|
*
|
|
59
|
+
* @param {object} state
|
|
59
60
|
* @returns {void}
|
|
60
61
|
*/
|
|
61
|
-
removeRemoteStates(): void;
|
|
62
|
+
removeRemoteStates(state: object): void;
|
|
62
63
|
/**
|
|
63
64
|
* This will remove the actions.
|
|
64
65
|
*
|
|
66
|
+
* @param {object} state
|
|
65
67
|
* @param {array} actions
|
|
66
68
|
* @returns {void}
|
|
67
69
|
*/
|
|
68
|
-
removeActions(actions: any[]): void;
|
|
70
|
+
removeActions(state: object, actions: any[]): void;
|
|
69
71
|
/**
|
|
70
72
|
* This will restore a state.
|
|
71
73
|
*
|
|
@@ -82,6 +84,14 @@ export class StateHelper {
|
|
|
82
84
|
* @returns {string}
|
|
83
85
|
*/
|
|
84
86
|
bindRemoteState(target: object, actionEvent: string, remoteTargetId: string): string;
|
|
87
|
+
/**
|
|
88
|
+
* This will unbind a remote state.
|
|
89
|
+
*
|
|
90
|
+
* @param {object} target
|
|
91
|
+
* @param {string} token
|
|
92
|
+
* @return {void}
|
|
93
|
+
*/
|
|
94
|
+
unbindRemoteState(target: object, token: string): void;
|
|
85
95
|
/**
|
|
86
96
|
* This will add the states to the target.
|
|
87
97
|
*
|
|
@@ -284,15 +284,15 @@ export class BasicData {
|
|
|
284
284
|
/**
|
|
285
285
|
* This will remove a link or all links if no token is provided.
|
|
286
286
|
*
|
|
287
|
-
* @param {string} [token]
|
|
287
|
+
* @param {string|null} [token=null]
|
|
288
288
|
* @returns {void}
|
|
289
289
|
*/
|
|
290
|
-
unlink(token?: string): void;
|
|
290
|
+
unlink(token?: string | null): void;
|
|
291
291
|
/**
|
|
292
292
|
* This will remove the linked subscription.
|
|
293
293
|
*
|
|
294
294
|
* @param {string} token
|
|
295
|
-
* @param {boolean} [removeFromLinks]
|
|
295
|
+
* @param {boolean} [removeFromLinks=true]
|
|
296
296
|
* @returns {void}
|
|
297
297
|
*/
|
|
298
298
|
removeLink(token: string, removeFromLinks?: boolean): void;
|