neo.mjs 6.16.2 → 6.16.4
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.
@@ -1,4 +1,17 @@
|
|
1
1
|
[
|
2
|
+
{
|
3
|
+
"author" : "Tobias Uhlig",
|
4
|
+
"authorImage" : "author_TobiasUhlig.jpeg",
|
5
|
+
"date" : "Jun 17, 2024",
|
6
|
+
"id" : 58,
|
7
|
+
"image" : "Sharing_real_time_data.png",
|
8
|
+
"name" : "Sharing real-time WebSocket data across multiple browser windows",
|
9
|
+
"provider" : "Medium",
|
10
|
+
"publisher" : "ITNEXT",
|
11
|
+
"selectedInto": [],
|
12
|
+
"type" : "Blog Post",
|
13
|
+
"url" : "https://itnext.io/sharing-real-time-websocket-data-across-multiple-browser-windows-4e0538dd7563?source=friends_link&sk=9efb3e4f38c82fb3e04899c61bb5fcb8"
|
14
|
+
},
|
2
15
|
{
|
3
16
|
"author" : "Torsten Dinkheller",
|
4
17
|
"authorImage" : "author_TorstenDinkheller.jpg",
|
@@ -1,4 +1,17 @@
|
|
1
1
|
[
|
2
|
+
{
|
3
|
+
"author" : "Tobias Uhlig",
|
4
|
+
"authorImage" : "author_TobiasUhlig.jpeg",
|
5
|
+
"date" : "Jun 17, 2024",
|
6
|
+
"id" : 58,
|
7
|
+
"image" : "Sharing_real_time_data.png",
|
8
|
+
"name" : "Sharing real-time WebSocket data across multiple browser windows",
|
9
|
+
"provider" : "Medium",
|
10
|
+
"publisher" : "ITNEXT",
|
11
|
+
"selectedInto": [],
|
12
|
+
"type" : "Blog Post",
|
13
|
+
"url" : "https://itnext.io/sharing-real-time-websocket-data-across-multiple-browser-windows-4e0538dd7563?source=friends_link&sk=9efb3e4f38c82fb3e04899c61bb5fcb8"
|
14
|
+
},
|
2
15
|
{
|
3
16
|
"author" : "Torsten Dinkheller",
|
4
17
|
"authorImage" : "author_TorstenDinkheller.jpg",
|
package/package.json
CHANGED
package/src/collection/Base.mjs
CHANGED
@@ -826,7 +826,7 @@ class Base extends CoreBase {
|
|
826
826
|
}
|
827
827
|
|
828
828
|
/**
|
829
|
-
* Returns the object associated to the key, or
|
829
|
+
* Returns the object associated to the key, or null if there is none.
|
830
830
|
* @param key
|
831
831
|
* @returns {Object|null}
|
832
832
|
*/
|
package/src/table/Container.mjs
CHANGED
@@ -339,13 +339,14 @@ class Container extends BaseContainer {
|
|
339
339
|
* @param {Object[]} records
|
340
340
|
*/
|
341
341
|
bulkUpdateRecords(records) {
|
342
|
-
let {view} = this
|
342
|
+
let {store, view} = this,
|
343
|
+
{keyProperty} = store;
|
343
344
|
|
344
345
|
if (view) {
|
345
346
|
view.silentVdomUpdate = true;
|
346
347
|
|
347
|
-
|
348
|
-
|
348
|
+
records.forEach(item => {
|
349
|
+
store.get(item[keyProperty])?.set(item)
|
349
350
|
});
|
350
351
|
|
351
352
|
view.silentVdomUpdate = false;
|