@xuda.io/runtime-bundle 1.0.369 → 1.0.370

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.
@@ -32386,8 +32386,11 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32386
32386
  },
32387
32387
  'xu-class': async function ($elm, val) {
32388
32388
  try {
32389
- let obj = JSON.parse(val.value);
32390
- for await (const [cla, cond] of Object.entries(obj)) {
32389
+ const classes_string = val.value;
32390
+ // let obj = _.isString(classes_string) ? JSON.parse(classes_string) : _.defaults(classes_string, {});
32391
+
32392
+ const classes_obj = _.isString(classes_string) ? JSON.parse(classes_string) : _.defaults(classes_string, {});
32393
+ for await (const [cla, cond] of Object.entries(classes_obj)) {
32391
32394
  let res = (
32392
32395
  await func.expression.get(
32393
32396
  SESSION_ID,