@base-framework/base 3.0.109 → 3.0.112
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.
|
@@ -9,16 +9,6 @@
|
|
|
9
9
|
*/
|
|
10
10
|
export class Data extends BasicData {
|
|
11
11
|
attributes: any;
|
|
12
|
-
/**
|
|
13
|
-
* This will update an attribute value.
|
|
14
|
-
*
|
|
15
|
-
* @protected
|
|
16
|
-
* @param {object} obj
|
|
17
|
-
* @param {string} attr
|
|
18
|
-
* @param {*} val
|
|
19
|
-
* @returns {void}
|
|
20
|
-
*/
|
|
21
|
-
protected _updateAttr(obj: object, attr: string, val: any): void;
|
|
22
12
|
/**
|
|
23
13
|
* This will set the attribute value.
|
|
24
14
|
*
|
|
@@ -94,47 +84,6 @@ export class Data extends BasicData {
|
|
|
94
84
|
* @returns {object} this
|
|
95
85
|
*/
|
|
96
86
|
refresh(attr: string): object;
|
|
97
|
-
/**
|
|
98
|
-
* This will publish an update to the data binder.
|
|
99
|
-
*
|
|
100
|
-
* @protected
|
|
101
|
-
* @param {string} attr
|
|
102
|
-
* @param {*} val
|
|
103
|
-
* @param {*} committer
|
|
104
|
-
* @returns {void}
|
|
105
|
-
*/
|
|
106
|
-
protected _publish(attr: string, val: any, committer: any): void;
|
|
107
|
-
/**
|
|
108
|
-
* This will publish deep and simple data to the data binder.
|
|
109
|
-
*
|
|
110
|
-
* @protected
|
|
111
|
-
* @param {string} attr
|
|
112
|
-
* @param {*} val
|
|
113
|
-
* @param {object} committer
|
|
114
|
-
* @returns {void}
|
|
115
|
-
*/
|
|
116
|
-
protected publishDeep(attr: string, val: any, committer: object): void;
|
|
117
|
-
/**
|
|
118
|
-
* This will publish an update to the data binder.
|
|
119
|
-
*
|
|
120
|
-
* @protected
|
|
121
|
-
* @param {string} pathString
|
|
122
|
-
* @param {*} obj
|
|
123
|
-
* @param {*} committer
|
|
124
|
-
* @returns {void}
|
|
125
|
-
*/
|
|
126
|
-
protected publish(pathString: string, obj: any, committer: any): void;
|
|
127
|
-
/**
|
|
128
|
-
* This will check if the value is an object and publish
|
|
129
|
-
* the value or the object.
|
|
130
|
-
*
|
|
131
|
-
* @protected
|
|
132
|
-
* @param {string} subPath
|
|
133
|
-
* @param {*} val
|
|
134
|
-
* @param {object} committer
|
|
135
|
-
* @returns {void}
|
|
136
|
-
*/
|
|
137
|
-
protected _checkPublish(subPath: string, val: any, committer: object): void;
|
|
138
87
|
/**
|
|
139
88
|
* This will publish an update on an attribute.
|
|
140
89
|
*
|
|
@@ -142,9 +91,10 @@ export class Data extends BasicData {
|
|
|
142
91
|
* @param {string} subPath
|
|
143
92
|
* @param {*} val
|
|
144
93
|
* @param {object} committer
|
|
94
|
+
* @param {string} event
|
|
145
95
|
* @returns {void}
|
|
146
96
|
*/
|
|
147
|
-
protected _publishAttr(subPath: string, val: any, committer: object): void;
|
|
97
|
+
protected _publishAttr(subPath: string, val: any, committer: object, event: string): void;
|
|
148
98
|
/**
|
|
149
99
|
* This will merge the attribute with the stage.
|
|
150
100
|
*
|
|
@@ -158,14 +108,5 @@ export class Data extends BasicData {
|
|
|
158
108
|
* @returns {void}
|
|
159
109
|
*/
|
|
160
110
|
revert(): void;
|
|
161
|
-
/**
|
|
162
|
-
* This will delete an attribute.
|
|
163
|
-
*
|
|
164
|
-
* @protected
|
|
165
|
-
* @param {object} obj
|
|
166
|
-
* @param {string} attr
|
|
167
|
-
* @returns {void}
|
|
168
|
-
*/
|
|
169
|
-
protected _deleteAttr(obj: object, attr: string): void;
|
|
170
111
|
}
|
|
171
112
|
import { BasicData } from '../basic-data.js';
|