@xuda.io/runtime-bundle 1.0.829 → 1.0.831
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) {
|
|
8761
|
-
func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
|
|
8761
|
+
// func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
|
|
8762
8762
|
// setTimeout(async () => {
|
|
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);
|
|
@@ -8766,9 +8766,9 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
8766
8766
|
// return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
|
|
8767
8767
|
// }, 1000);
|
|
8768
8768
|
}
|
|
8769
|
-
setTimeout(async () => {
|
|
8770
|
-
|
|
8771
|
-
}, 10000);
|
|
8769
|
+
// setTimeout(async () => {
|
|
8770
|
+
return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
|
|
8771
|
+
// }, 10000);
|
|
8772
8772
|
},
|
|
8773
8773
|
};
|
|
8774
8774
|
|
|
@@ -14767,6 +14767,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14767
14767
|
// console.log('on>>', 'inViewport_' + $div.attr('xu-ui-id'));
|
|
14768
14768
|
// $div.on('inViewport_' + $div.attr('xu-ui-id'), function () {
|
|
14769
14769
|
$div.on('inViewport', function () {
|
|
14770
|
+
func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
|
|
14770
14771
|
func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'render_viewport', { $div, nodeP, parent_infoP, $root_container, paramsP, jobNoP, is_skeleton, keyP, refreshed_ds, parent_nodeP, check_existP, $container }, null, null, paramsP.dsSessionP);
|
|
14771
14772
|
// render_child();
|
|
14772
14773
|
// iterate_child($div, nodeP, parent_infoP, null, $root_container);
|
|
@@ -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) {
|
|
8762
|
-
func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
|
|
8762
|
+
// func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
|
|
8763
8763
|
// setTimeout(async () => {
|
|
8764
8764
|
for await (const [key, val] of Object.entries(nodeP.children)) {
|
|
8765
8765
|
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);
|
|
@@ -8767,9 +8767,9 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
8767
8767
|
// return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
|
|
8768
8768
|
// }, 1000);
|
|
8769
8769
|
}
|
|
8770
|
-
setTimeout(async () => {
|
|
8771
|
-
|
|
8772
|
-
}, 10000);
|
|
8770
|
+
// setTimeout(async () => {
|
|
8771
|
+
return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
|
|
8772
|
+
// }, 10000);
|
|
8773
8773
|
},
|
|
8774
8774
|
};
|
|
8775
8775
|
|
|
@@ -12475,6 +12475,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12475
12475
|
// console.log('on>>', 'inViewport_' + $div.attr('xu-ui-id'));
|
|
12476
12476
|
// $div.on('inViewport_' + $div.attr('xu-ui-id'), function () {
|
|
12477
12477
|
$div.on('inViewport', function () {
|
|
12478
|
+
func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
|
|
12478
12479
|
func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'render_viewport', { $div, nodeP, parent_infoP, $root_container, paramsP, jobNoP, is_skeleton, keyP, refreshed_ds, parent_nodeP, check_existP, $container }, null, null, paramsP.dsSessionP);
|
|
12479
12480
|
// render_child();
|
|
12480
12481
|
// iterate_child($div, nodeP, parent_infoP, null, $root_container);
|