@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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -12356,8 +12356,11 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12356
12356
|
},
|
|
12357
12357
|
'xu-class': async function ($elm, val) {
|
|
12358
12358
|
try {
|
|
12359
|
-
|
|
12360
|
-
|
|
12359
|
+
const classes_string = val.value;
|
|
12360
|
+
// let obj = _.isString(classes_string) ? JSON.parse(classes_string) : _.defaults(classes_string, {});
|
|
12361
|
+
|
|
12362
|
+
const classes_obj = _.isString(classes_string) ? JSON.parse(classes_string) : _.defaults(classes_string, {});
|
|
12363
|
+
for await (const [cla, cond] of Object.entries(classes_obj)) {
|
|
12361
12364
|
let res = (
|
|
12362
12365
|
await func.expression.get(
|
|
12363
12366
|
SESSION_ID,
|
|
@@ -10427,8 +10427,11 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10427
10427
|
},
|
|
10428
10428
|
'xu-class': async function ($elm, val) {
|
|
10429
10429
|
try {
|
|
10430
|
-
|
|
10431
|
-
|
|
10430
|
+
const classes_string = val.value;
|
|
10431
|
+
// let obj = _.isString(classes_string) ? JSON.parse(classes_string) : _.defaults(classes_string, {});
|
|
10432
|
+
|
|
10433
|
+
const classes_obj = _.isString(classes_string) ? JSON.parse(classes_string) : _.defaults(classes_string, {});
|
|
10434
|
+
for await (const [cla, cond] of Object.entries(classes_obj)) {
|
|
10432
10435
|
let res = (
|
|
10433
10436
|
await func.expression.get(
|
|
10434
10437
|
SESSION_ID,
|