@xuda.io/runtime-bundle 1.0.872 → 1.0.873
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
|
@@ -8779,13 +8779,13 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
8779
8779
|
// $div.css('height', 'unset');
|
|
8780
8780
|
// }
|
|
8781
8781
|
|
|
8782
|
-
const height = $div.data().xuData.viewport_height;
|
|
8783
|
-
if (typeof height !== 'undefined') {
|
|
8784
|
-
|
|
8785
|
-
} else {
|
|
8786
|
-
|
|
8787
|
-
|
|
8788
|
-
}
|
|
8782
|
+
// const height = $div.data().xuData.viewport_height;
|
|
8783
|
+
// if (typeof height !== 'undefined') {
|
|
8784
|
+
// $div.css('height', 'unset');
|
|
8785
|
+
// } else {
|
|
8786
|
+
$div.data().xuData.viewport_height = $div.height();
|
|
8787
|
+
// func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'set_viewport_height', { $elm: $div.parent(), height: $div.height() }, null, null, paramsP.dsSessionP);
|
|
8788
|
+
// }
|
|
8789
8789
|
}
|
|
8790
8790
|
|
|
8791
8791
|
return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
|
|
@@ -14856,6 +14856,11 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14856
14856
|
return;
|
|
14857
14857
|
}
|
|
14858
14858
|
|
|
14859
|
+
const height = $div.data().xuData.viewport_height;
|
|
14860
|
+
if (typeof height !== 'undefined') {
|
|
14861
|
+
$div.css('height', 'unset');
|
|
14862
|
+
}
|
|
14863
|
+
|
|
14859
14864
|
if (UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')]) {
|
|
14860
14865
|
$div.removeClass('skeleton');
|
|
14861
14866
|
$div.html(UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')]);
|
|
@@ -8780,13 +8780,13 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
8780
8780
|
// $div.css('height', 'unset');
|
|
8781
8781
|
// }
|
|
8782
8782
|
|
|
8783
|
-
const height = $div.data().xuData.viewport_height;
|
|
8784
|
-
if (typeof height !== 'undefined') {
|
|
8785
|
-
|
|
8786
|
-
} else {
|
|
8787
|
-
|
|
8788
|
-
|
|
8789
|
-
}
|
|
8783
|
+
// const height = $div.data().xuData.viewport_height;
|
|
8784
|
+
// if (typeof height !== 'undefined') {
|
|
8785
|
+
// $div.css('height', 'unset');
|
|
8786
|
+
// } else {
|
|
8787
|
+
$div.data().xuData.viewport_height = $div.height();
|
|
8788
|
+
// func.UI.worker.add_to_queue(SESSION_ID, 'gui event', 'set_viewport_height', { $elm: $div.parent(), height: $div.height() }, null, null, paramsP.dsSessionP);
|
|
8789
|
+
// }
|
|
8790
8790
|
}
|
|
8791
8791
|
|
|
8792
8792
|
return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
|
|
@@ -12564,6 +12564,11 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12564
12564
|
return;
|
|
12565
12565
|
}
|
|
12566
12566
|
|
|
12567
|
+
const height = $div.data().xuData.viewport_height;
|
|
12568
|
+
if (typeof height !== 'undefined') {
|
|
12569
|
+
$div.css('height', 'unset');
|
|
12570
|
+
}
|
|
12571
|
+
|
|
12567
12572
|
if (UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')]) {
|
|
12568
12573
|
$div.removeClass('skeleton');
|
|
12569
12574
|
$div.html(UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')]);
|