@xuda.io/runtime-bundle 1.0.911 → 1.0.913
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.
|
@@ -32420,6 +32420,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32420
32420
|
CLIENT_ACTIVITY_TS = Date.now();
|
|
32421
32421
|
const trigger = val.key.split('xu-on:')[1].toLowerCase();
|
|
32422
32422
|
$elm.on(trigger, async function (evt) {
|
|
32423
|
+
if (_.isEmpty($elm.data().xuAttributes)) return;
|
|
32424
|
+
|
|
32423
32425
|
for await (const [key, val] of Object.entries($elm.data().xuAttributes['xu-on:' + evt.type])) {
|
|
32424
32426
|
if (!_.isEmpty(val.props.condition)) {
|
|
32425
32427
|
const expCond = await func.expression.get(SESSION_ID, val.props.condition, paramsP.dsSessionP, 'condition', paramsP.recordid); // execute expression
|
|
@@ -34160,7 +34162,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34160
34162
|
if (UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')]) {
|
|
34161
34163
|
$div[0].style.removeProperty('height');
|
|
34162
34164
|
$div.removeClass('skeleton');
|
|
34163
|
-
$div.
|
|
34165
|
+
$div.content(UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')]);
|
|
34164
34166
|
} else {
|
|
34165
34167
|
hover_in($div);
|
|
34166
34168
|
ui_job_id = func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'render_viewport', { $div, nodeP, parent_infoP, $root_container, paramsP, jobNoP, is_skeleton, keyP, refreshed_ds, parent_nodeP, check_existP, $container }, null, null, paramsP.dsSessionP);
|