@xuda.io/runtime-bundle 1.0.844 → 1.0.845
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.
|
@@ -27848,17 +27848,13 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
27848
27848
|
render_viewport: async function () {
|
|
27849
27849
|
const { nodeP, $div, parent_infoP, $root_container, jobNoP, is_skeleton, paramsP, $container } = queue_obj?.paramsP || {};
|
|
27850
27850
|
if (nodeP?.children?.length && !$div.children().length) {
|
|
27851
|
-
|
|
27852
|
-
// setTimeout(async () => {
|
|
27851
|
+
$div.removeClass('skeleton');
|
|
27853
27852
|
for await (const [key, val] of Object.entries(nodeP.children)) {
|
|
27854
27853
|
const ret = await func.UI.screen.render_ui_tree(SESSION_ID, $div, nodeP.children[key], parent_infoP, paramsP, jobNoP, is_skeleton, Number(key), null, nodeP, null, $root_container);
|
|
27855
27854
|
}
|
|
27856
|
-
// return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
|
|
27857
|
-
// }, 1000);
|
|
27858
27855
|
}
|
|
27859
|
-
|
|
27856
|
+
|
|
27860
27857
|
return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
|
|
27861
|
-
// }, 10000);
|
|
27862
27858
|
},
|
|
27863
27859
|
};
|
|
27864
27860
|
|
|
@@ -34460,6 +34456,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34460
34456
|
|
|
34461
34457
|
$div.on('outViewport', function () {
|
|
34462
34458
|
$div.empty();
|
|
34459
|
+
$div.addClass('skeleton');
|
|
34463
34460
|
observer_inViewport.observe($div[0]);
|
|
34464
34461
|
});
|
|
34465
34462
|
|