@xuda.io/runtime-bundle 1.0.849 → 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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -8758,7 +8758,7 @@ 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
|
-
$div.removeClass('skeleton');
|
|
8761
|
+
// $div.removeClass('skeleton');
|
|
8762
8762
|
for await (const [key, val] of Object.entries(nodeP.children)) {
|
|
8763
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);
|
|
8764
8764
|
}
|
|
@@ -14779,12 +14779,12 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14779
14779
|
if (nodeP?.attributes?.['xu-viewport'] == 'true') {
|
|
14780
14780
|
$div.on('inViewport', function () {
|
|
14781
14781
|
if ($div.children().length) {
|
|
14782
|
-
$div.removeClass('skeleton');
|
|
14782
|
+
// $div.removeClass('skeleton');
|
|
14783
14783
|
return;
|
|
14784
14784
|
}
|
|
14785
14785
|
|
|
14786
14786
|
if (UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')]) {
|
|
14787
|
-
$div.removeClass('skeleton');
|
|
14787
|
+
// $div.removeClass('skeleton');
|
|
14788
14788
|
$div.html(UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')]);
|
|
14789
14789
|
} else {
|
|
14790
14790
|
hover_in($div);
|
|
@@ -14796,7 +14796,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14796
14796
|
$div.on('outViewport', function () {
|
|
14797
14797
|
UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')] = $div.children().clone();
|
|
14798
14798
|
$div.empty();
|
|
14799
|
-
$div.addClass('skeleton');
|
|
14799
|
+
// $div.addClass('skeleton');
|
|
14800
14800
|
observer_inViewport.observe($div[0]);
|
|
14801
14801
|
});
|
|
14802
14802
|
|
|
@@ -8759,7 +8759,7 @@ 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
|
-
$div.removeClass('skeleton');
|
|
8762
|
+
// $div.removeClass('skeleton');
|
|
8763
8763
|
for await (const [key, val] of Object.entries(nodeP.children)) {
|
|
8764
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);
|
|
8765
8765
|
}
|
|
@@ -12487,12 +12487,12 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12487
12487
|
if (nodeP?.attributes?.['xu-viewport'] == 'true') {
|
|
12488
12488
|
$div.on('inViewport', function () {
|
|
12489
12489
|
if ($div.children().length) {
|
|
12490
|
-
$div.removeClass('skeleton');
|
|
12490
|
+
// $div.removeClass('skeleton');
|
|
12491
12491
|
return;
|
|
12492
12492
|
}
|
|
12493
12493
|
|
|
12494
12494
|
if (UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')]) {
|
|
12495
|
-
$div.removeClass('skeleton');
|
|
12495
|
+
// $div.removeClass('skeleton');
|
|
12496
12496
|
$div.html(UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')]);
|
|
12497
12497
|
} else {
|
|
12498
12498
|
hover_in($div);
|
|
@@ -12504,7 +12504,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12504
12504
|
$div.on('outViewport', function () {
|
|
12505
12505
|
UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')] = $div.children().clone();
|
|
12506
12506
|
$div.empty();
|
|
12507
|
-
$div.addClass('skeleton');
|
|
12507
|
+
// $div.addClass('skeleton');
|
|
12508
12508
|
observer_inViewport.observe($div[0]);
|
|
12509
12509
|
});
|
|
12510
12510
|
|