@nebularstreams/libmui 2.5.56 → 2.5.57

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nebularstreams/libmui",
3
3
  "description": "Micro UI based on Mithril",
4
- "version": "2.5.56",
4
+ "version": "2.5.57",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
7
7
  "scripts": {
@@ -930,7 +930,7 @@ const
930
930
  const
931
931
  {
932
932
  busy, parameters, auxParameters, cardid, size, index,
933
- titleWidget, parametersTitle, parametersBody, rootUpdate, global, layer,
933
+ titleWidget, parametersTitle, parametersBody, rootUpdate: mainRootUpdate, global, layer,
934
934
  tableChildren, cols, onLayerReset, onAction, nofold, bodyClass, titleAction,
935
935
  AssetButton
936
936
  } = attrs;
@@ -968,6 +968,8 @@ const
968
968
 
969
969
  taint();
970
970
 
971
+ const rootUpdate = metaDef.rootUpdate || mainRootUpdate;
972
+
971
973
  if (metaDef?.onchange) {
972
974
  metaDef.onchange(realtime, targetParameters, parameters);
973
975
  } else if (realtime) {
@@ -1023,6 +1025,9 @@ const
1023
1025
  AssetButton,
1024
1026
  onAction,
1025
1027
  onchange: (realtime, targetParameters, metaKey, wasDeleted, metaDef, event) => {
1028
+
1029
+ const rootUpdate = metaDef.rootUpdate || mainRootUpdate;
1030
+
1026
1031
  taint();
1027
1032
  if (metaDef?.onchange) {
1028
1033
  metaDef.onchange(realtime, targetParameters, parameters);