@xuda.io/runtime-bundle 1.0.1099 → 1.0.1101
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
|
@@ -14873,8 +14873,9 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14873
14873
|
const draw_html_element = async function (element) {
|
|
14874
14874
|
const done = async function (ret = {}) {
|
|
14875
14875
|
const xu_ui_id = $div.attr('xu-ui-id');
|
|
14876
|
-
|
|
14876
|
+
|
|
14877
14877
|
if (ret.has_xu_exp_render_attribute) {
|
|
14878
|
+
$div.css('display', 'unset');
|
|
14878
14879
|
const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($div.data()?.xuData?.attr_exp_info?.['xu-render']?.fields || {}));
|
|
14879
14880
|
UI_WORKER_OBJ.xu_render_cache[xu_ui_id + xu_render_cache_id] = { $div: $div.clone(true), paramsP };
|
|
14880
14881
|
nodeP.xu_render_xu_ui_id = xu_ui_id;
|
|
@@ -14884,14 +14885,16 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14884
14885
|
// $container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
|
|
14885
14886
|
return $div;
|
|
14886
14887
|
} else {
|
|
14888
|
+
$div.css('display', 'unset');
|
|
14887
14889
|
temp_$div.replaceWith($div);
|
|
14888
14890
|
return $div;
|
|
14889
14891
|
}
|
|
14890
14892
|
} else {
|
|
14891
|
-
// $container.append(temp_$container.children());
|
|
14892
14893
|
if (ret.has_xu_render_attribute) {
|
|
14893
|
-
|
|
14894
|
+
temp_$div.remove();
|
|
14895
|
+
return $div;
|
|
14894
14896
|
}
|
|
14897
|
+
$div.css('display', 'unset');
|
|
14895
14898
|
temp_$div.replaceWith($div);
|
|
14896
14899
|
return $div;
|
|
14897
14900
|
}
|
|
@@ -12598,8 +12598,9 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12598
12598
|
const draw_html_element = async function (element) {
|
|
12599
12599
|
const done = async function (ret = {}) {
|
|
12600
12600
|
const xu_ui_id = $div.attr('xu-ui-id');
|
|
12601
|
-
|
|
12601
|
+
|
|
12602
12602
|
if (ret.has_xu_exp_render_attribute) {
|
|
12603
|
+
$div.css('display', 'unset');
|
|
12603
12604
|
const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($div.data()?.xuData?.attr_exp_info?.['xu-render']?.fields || {}));
|
|
12604
12605
|
UI_WORKER_OBJ.xu_render_cache[xu_ui_id + xu_render_cache_id] = { $div: $div.clone(true), paramsP };
|
|
12605
12606
|
nodeP.xu_render_xu_ui_id = xu_ui_id;
|
|
@@ -12609,14 +12610,16 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12609
12610
|
// $container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
|
|
12610
12611
|
return $div;
|
|
12611
12612
|
} else {
|
|
12613
|
+
$div.css('display', 'unset');
|
|
12612
12614
|
temp_$div.replaceWith($div);
|
|
12613
12615
|
return $div;
|
|
12614
12616
|
}
|
|
12615
12617
|
} else {
|
|
12616
|
-
// $container.append(temp_$container.children());
|
|
12617
12618
|
if (ret.has_xu_render_attribute) {
|
|
12618
|
-
|
|
12619
|
+
temp_$div.remove();
|
|
12620
|
+
return $div;
|
|
12619
12621
|
}
|
|
12622
|
+
$div.css('display', 'unset');
|
|
12620
12623
|
temp_$div.replaceWith($div);
|
|
12621
12624
|
return $div;
|
|
12622
12625
|
}
|