@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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -12734,6 +12734,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12734
12734
|
CLIENT_ACTIVITY_TS = Date.now();
|
|
12735
12735
|
const trigger = val.key.split('xu-on:')[1].toLowerCase();
|
|
12736
12736
|
$elm.on(trigger, async function (evt) {
|
|
12737
|
+
if (_.isEmpty($elm.data().xuAttributes)) return;
|
|
12738
|
+
|
|
12737
12739
|
for await (const [key, val] of Object.entries($elm.data().xuAttributes['xu-on:' + evt.type])) {
|
|
12738
12740
|
if (!_.isEmpty(val.props.condition)) {
|
|
12739
12741
|
const expCond = await func.expression.get(SESSION_ID, val.props.condition, paramsP.dsSessionP, 'condition', paramsP.recordid); // execute expression
|
|
@@ -14474,7 +14476,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14474
14476
|
if (UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')]) {
|
|
14475
14477
|
$div[0].style.removeProperty('height');
|
|
14476
14478
|
$div.removeClass('skeleton');
|
|
14477
|
-
$div.
|
|
14479
|
+
$div.content(UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')]);
|
|
14478
14480
|
} else {
|
|
14479
14481
|
hover_in($div);
|
|
14480
14482
|
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);
|
|
@@ -10461,6 +10461,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10461
10461
|
CLIENT_ACTIVITY_TS = Date.now();
|
|
10462
10462
|
const trigger = val.key.split('xu-on:')[1].toLowerCase();
|
|
10463
10463
|
$elm.on(trigger, async function (evt) {
|
|
10464
|
+
if (_.isEmpty($elm.data().xuAttributes)) return;
|
|
10465
|
+
|
|
10464
10466
|
for await (const [key, val] of Object.entries($elm.data().xuAttributes['xu-on:' + evt.type])) {
|
|
10465
10467
|
if (!_.isEmpty(val.props.condition)) {
|
|
10466
10468
|
const expCond = await func.expression.get(SESSION_ID, val.props.condition, paramsP.dsSessionP, 'condition', paramsP.recordid); // execute expression
|
|
@@ -12201,7 +12203,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12201
12203
|
if (UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')]) {
|
|
12202
12204
|
$div[0].style.removeProperty('height');
|
|
12203
12205
|
$div.removeClass('skeleton');
|
|
12204
|
-
$div.
|
|
12206
|
+
$div.content(UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')]);
|
|
12205
12207
|
} else {
|
|
12206
12208
|
hover_in($div);
|
|
12207
12209
|
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);
|