@base-framework/base 3.7.24 → 3.7.26
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.
|
@@ -24,9 +24,11 @@ export class Unit {
|
|
|
24
24
|
* This will create a unit.
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
|
-
* @param {
|
|
27
|
+
* @param {object} [first]
|
|
28
|
+
* @param {*} [second]
|
|
29
|
+
* @param {*} [third]
|
|
28
30
|
*/
|
|
29
|
-
constructor(
|
|
31
|
+
constructor(first?: object, second?: any, third?: any);
|
|
30
32
|
/**
|
|
31
33
|
* @type {boolean} isUnit
|
|
32
34
|
*/
|
|
@@ -9,13 +9,6 @@
|
|
|
9
9
|
*/
|
|
10
10
|
export class Data extends BasicData {
|
|
11
11
|
attributes: any;
|
|
12
|
-
/**
|
|
13
|
-
* Cached callbacks avoid allocating a new arrow function on every
|
|
14
|
-
* _publish / _deleteAttr call. Committer and event are read from
|
|
15
|
-
* instance properties set just before invoking Publisher.publish.
|
|
16
|
-
*/
|
|
17
|
-
_publishCb: (path: any, obj: any) => void;
|
|
18
|
-
_deleteCb: (path: any, obj: any) => void;
|
|
19
12
|
/**
|
|
20
13
|
* This will set the attribute value.
|
|
21
14
|
*
|
|
@@ -110,6 +103,7 @@ export class Data extends BasicData {
|
|
|
110
103
|
refresh(attr: string): object;
|
|
111
104
|
_pubCommitter: any;
|
|
112
105
|
_pubEvent: string;
|
|
106
|
+
_publishCb: (path: any, obj: any) => void;
|
|
113
107
|
/**
|
|
114
108
|
* This will publish an update on an attribute.
|
|
115
109
|
*
|
|
@@ -135,5 +129,6 @@ export class Data extends BasicData {
|
|
|
135
129
|
*/
|
|
136
130
|
revert(): void;
|
|
137
131
|
_delCommitter: any;
|
|
132
|
+
_deleteCb: (path: any, obj: any) => void;
|
|
138
133
|
}
|
|
139
134
|
import { BasicData } from '../basic-data.js';
|