@base-framework/base 3.7.23 → 3.7.25
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.
|
@@ -101,6 +101,9 @@ export class Data extends BasicData {
|
|
|
101
101
|
* @returns {object} this
|
|
102
102
|
*/
|
|
103
103
|
refresh(attr: string): object;
|
|
104
|
+
_pubCommitter: any;
|
|
105
|
+
_pubEvent: string;
|
|
106
|
+
_publishCb: (path: any, obj: any) => void;
|
|
104
107
|
/**
|
|
105
108
|
* This will publish an update on an attribute.
|
|
106
109
|
*
|
|
@@ -125,5 +128,7 @@ export class Data extends BasicData {
|
|
|
125
128
|
* @returns {void}
|
|
126
129
|
*/
|
|
127
130
|
revert(): void;
|
|
131
|
+
_delCommitter: any;
|
|
132
|
+
_deleteCb: (path: any, obj: any) => void;
|
|
128
133
|
}
|
|
129
134
|
import { BasicData } from '../basic-data.js';
|
|
@@ -106,13 +106,12 @@ export class DataPubSub {
|
|
|
106
106
|
* In batching mode, updates are queued and flushed in a microtask.
|
|
107
107
|
* Data operations remain synchronous; only DOM updates are batched.
|
|
108
108
|
*
|
|
109
|
-
* @overload
|
|
110
109
|
* @param {string} msg
|
|
111
|
-
* @param {
|
|
110
|
+
* @param {*} value
|
|
112
111
|
* @param {object} [committer]
|
|
113
112
|
* @returns {void}
|
|
114
113
|
*/
|
|
115
|
-
publish(msg: string, value:
|
|
114
|
+
publish(msg: string, value: any, committer?: object): void;
|
|
116
115
|
/**
|
|
117
116
|
* Schedule a flush in a microtask.
|
|
118
117
|
* Ensures only one flush is scheduled at a time.
|
|
@@ -169,8 +168,9 @@ export class DataPubSub {
|
|
|
169
168
|
* updates or break the flush cycle.
|
|
170
169
|
*
|
|
171
170
|
* @param {string} msg
|
|
172
|
-
* @param
|
|
171
|
+
* @param {*} value
|
|
172
|
+
* @param {object} [committer]
|
|
173
173
|
* @returns {void}
|
|
174
174
|
*/
|
|
175
|
-
publishImmediate(msg: string,
|
|
175
|
+
publishImmediate(msg: string, value: any, committer?: object): void;
|
|
176
176
|
}
|