@xuda.io/runtime-bundle 1.0.1103 → 1.0.1105
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.
|
@@ -31298,17 +31298,22 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
31298
31298
|
|
|
31299
31299
|
const add_execute_queue = async function (type) {
|
|
31300
31300
|
if (!elem_val.$elm?.data?.()?.xuData) return;
|
|
31301
|
-
|
|
31302
|
-
|
|
31303
|
-
|
|
31304
|
-
|
|
31305
|
-
|
|
31306
|
-
|
|
31307
|
-
|
|
31308
|
-
|
|
31301
|
+
try {
|
|
31302
|
+
const obj = {
|
|
31303
|
+
ui_type: elem_val.$elm.data().xuData.ui_type,
|
|
31304
|
+
SESSION_ID,
|
|
31305
|
+
fields_arr,
|
|
31306
|
+
elem_key,
|
|
31307
|
+
elem_val,
|
|
31308
|
+
};
|
|
31309
31309
|
|
|
31310
|
-
|
|
31311
|
-
|
|
31310
|
+
new_job = await func.UI.worker.add_to_queue(SESSION_ID, 'gui event', type, obj, new_job, elem_val.$elm);
|
|
31311
|
+
|
|
31312
|
+
if (glb.DEBUG_MODE) {
|
|
31313
|
+
console.log(type + '>>>', new_job, obj);
|
|
31314
|
+
}
|
|
31315
|
+
} catch (error) {
|
|
31316
|
+
debugger;
|
|
31312
31317
|
}
|
|
31313
31318
|
};
|
|
31314
31319
|
//////////// process render first ///////////////
|
|
@@ -31480,16 +31485,19 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
31480
31485
|
var res = await func.expression.get(SESSION_ID, elem_val.$elm.data().xuAttributes['xu-exp:xu-render'], elem_val.$elm.data().xuData.paramsP.dsSessionP, 'UI Property EXP', elem_val.$elm.data().xuData.recordid);
|
|
31481
31486
|
|
|
31482
31487
|
var attr_value = await func.common.get_cast_val(SESSION_ID, 'refresh xu-attributes', 'xu-render', 'bool', res.result);
|
|
31483
|
-
|
|
31484
|
-
|
|
31485
|
-
|
|
31486
|
-
|
|
31487
|
-
|
|
31488
|
-
|
|
31489
|
-
|
|
31490
|
-
|
|
31491
|
-
|
|
31492
|
-
|
|
31488
|
+
try {
|
|
31489
|
+
const obj = {
|
|
31490
|
+
ui_type: elem_val.$elm.data().xuData.ui_type,
|
|
31491
|
+
SESSION_ID,
|
|
31492
|
+
elem_key,
|
|
31493
|
+
elem_val,
|
|
31494
|
+
fields_arr,
|
|
31495
|
+
attr_value,
|
|
31496
|
+
};
|
|
31497
|
+
func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'execute_xu_render_attributes', obj, new_job, elem_val.$elm, elem_val.$elm.data().xuData.paramsP.dsSessionP);
|
|
31498
|
+
} catch (error) {
|
|
31499
|
+
debugger;
|
|
31500
|
+
}
|
|
31493
31501
|
}
|
|
31494
31502
|
}
|
|
31495
31503
|
}
|