@xuda.io/runtime-bundle 1.0.848 → 1.0.850
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,7 +27848,7 @@ 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
|
-
$div.removeClass('skeleton');
|
|
27851
|
+
// $div.removeClass('skeleton');
|
|
27852
27852
|
for await (const [key, val] of Object.entries(nodeP.children)) {
|
|
27853
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);
|
|
27854
27854
|
}
|
|
@@ -34446,11 +34446,12 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34446
34446
|
if (nodeP?.attributes?.['xu-viewport'] == 'true') {
|
|
34447
34447
|
$div.on('inViewport', function () {
|
|
34448
34448
|
if ($div.children().length) {
|
|
34449
|
-
$div.removeClass('skeleton');
|
|
34449
|
+
// $div.removeClass('skeleton');
|
|
34450
34450
|
return;
|
|
34451
34451
|
}
|
|
34452
34452
|
|
|
34453
34453
|
if (UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')]) {
|
|
34454
|
+
// $div.removeClass('skeleton');
|
|
34454
34455
|
$div.html(UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')]);
|
|
34455
34456
|
} else {
|
|
34456
34457
|
hover_in($div);
|
|
@@ -34462,7 +34463,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34462
34463
|
$div.on('outViewport', function () {
|
|
34463
34464
|
UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')] = $div.children().clone();
|
|
34464
34465
|
$div.empty();
|
|
34465
|
-
$div.addClass('skeleton');
|
|
34466
|
+
// $div.addClass('skeleton');
|
|
34466
34467
|
observer_inViewport.observe($div[0]);
|
|
34467
34468
|
});
|
|
34468
34469
|
|