@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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -8758,17 +8758,13 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
8758
8758
|
render_viewport: async function () {
|
|
8759
8759
|
const { nodeP, $div, parent_infoP, $root_container, jobNoP, is_skeleton, paramsP, $container } = queue_obj?.paramsP || {};
|
|
8760
8760
|
if (nodeP?.children?.length && !$div.children().length) {
|
|
8761
|
-
|
|
8762
|
-
// setTimeout(async () => {
|
|
8761
|
+
$div.removeClass('skeleton');
|
|
8763
8762
|
for await (const [key, val] of Object.entries(nodeP.children)) {
|
|
8764
8763
|
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);
|
|
8765
8764
|
}
|
|
8766
|
-
// return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
|
|
8767
|
-
// }, 1000);
|
|
8768
8765
|
}
|
|
8769
|
-
|
|
8766
|
+
|
|
8770
8767
|
return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
|
|
8771
|
-
// }, 10000);
|
|
8772
8768
|
},
|
|
8773
8769
|
};
|
|
8774
8770
|
|
|
@@ -14793,6 +14789,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14793
14789
|
|
|
14794
14790
|
$div.on('outViewport', function () {
|
|
14795
14791
|
$div.empty();
|
|
14792
|
+
$div.addClass('skeleton');
|
|
14796
14793
|
observer_inViewport.observe($div[0]);
|
|
14797
14794
|
});
|
|
14798
14795
|
|
|
@@ -8759,17 +8759,13 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
8759
8759
|
render_viewport: async function () {
|
|
8760
8760
|
const { nodeP, $div, parent_infoP, $root_container, jobNoP, is_skeleton, paramsP, $container } = queue_obj?.paramsP || {};
|
|
8761
8761
|
if (nodeP?.children?.length && !$div.children().length) {
|
|
8762
|
-
|
|
8763
|
-
// setTimeout(async () => {
|
|
8762
|
+
$div.removeClass('skeleton');
|
|
8764
8763
|
for await (const [key, val] of Object.entries(nodeP.children)) {
|
|
8765
8764
|
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);
|
|
8766
8765
|
}
|
|
8767
|
-
// return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
|
|
8768
|
-
// }, 1000);
|
|
8769
8766
|
}
|
|
8770
|
-
|
|
8767
|
+
|
|
8771
8768
|
return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
|
|
8772
|
-
// }, 10000);
|
|
8773
8769
|
},
|
|
8774
8770
|
};
|
|
8775
8771
|
|
|
@@ -12501,6 +12497,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12501
12497
|
|
|
12502
12498
|
$div.on('outViewport', function () {
|
|
12503
12499
|
$div.empty();
|
|
12500
|
+
$div.addClass('skeleton');
|
|
12504
12501
|
observer_inViewport.observe($div[0]);
|
|
12505
12502
|
});
|
|
12506
12503
|
|