@xuda.io/runtime-bundle 1.0.1091 → 1.0.1093
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.
|
@@ -34564,18 +34564,16 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34564
34564
|
nodeP.xu_render_xu_ui_id = xu_ui_id;
|
|
34565
34565
|
nodeP.xu_render_cache_id = xu_render_cache_id;
|
|
34566
34566
|
if (ret.xu_render_background_processing) {
|
|
34567
|
-
$container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
|
|
34567
|
+
// $container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
|
|
34568
34568
|
return $div;
|
|
34569
|
-
}
|
|
34570
|
-
|
|
34571
|
-
|
|
34572
|
-
|
|
34573
|
-
|
|
34574
|
-
return $div;
|
|
34569
|
+
} else {
|
|
34570
|
+
temp_$div.replaceWith($div);
|
|
34571
|
+
return $div;
|
|
34572
|
+
}
|
|
34575
34573
|
} else {
|
|
34576
34574
|
// $container.append(temp_$container.children());
|
|
34577
34575
|
if (ret.has_xu_render_attribute) {
|
|
34578
|
-
$container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
|
|
34576
|
+
// $container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
|
|
34579
34577
|
}
|
|
34580
34578
|
return $div;
|
|
34581
34579
|
}
|
|
@@ -34583,12 +34581,12 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34583
34581
|
if (!element || element === 'script') return await done();
|
|
34584
34582
|
let str = '';
|
|
34585
34583
|
|
|
34586
|
-
var $div = await func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, element, null, str);
|
|
34584
|
+
var temp_$div = await func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, element, null, str);
|
|
34587
34585
|
|
|
34588
34586
|
$div.css('display', 'none');
|
|
34589
34587
|
|
|
34590
34588
|
let temp_$container = $('<tmp>').data('xuData', $container.data().xuData);
|
|
34591
|
-
let
|
|
34589
|
+
let $div = temp_$div.clone(true);
|
|
34592
34590
|
|
|
34593
34591
|
$div.hover(
|
|
34594
34592
|
function (e) {
|
|
@@ -34604,7 +34602,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34604
34602
|
});
|
|
34605
34603
|
}
|
|
34606
34604
|
|
|
34607
|
-
let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, temp_$container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP,
|
|
34605
|
+
let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, temp_$container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $div, true);
|
|
34608
34606
|
if (ret.abort || nodeP.tagName === 'svg' || !_.isEmpty(nodeP?.attributes?.['xu-text']) || !_.isEmpty(nodeP?.attributes?.['xu-html']) || !_.isEmpty(nodeP?.attributes?.['xu-exp:xu-text']) || !_.isEmpty(nodeP?.attributes?.['xu-exp:xu-html'])) {
|
|
34609
34607
|
return await done(ret);
|
|
34610
34608
|
}
|