@xuda.io/runtime-bundle 1.0.955 → 1.0.957
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
|
@@ -11792,6 +11792,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
11792
11792
|
|
|
11793
11793
|
for await (const [parent_element_ui_id, panel_val] of Object.entries(panels_obj)) {
|
|
11794
11794
|
// const progDataSource_str = JSON.stringify(panel_val.prog_doc.progDataSource);
|
|
11795
|
+
if (!panel_val.$panel_div?.data()?.xuData) continue;
|
|
11795
11796
|
|
|
11796
11797
|
if (panel_val.$panel_div.data().xuData.pending_to_delete) continue;
|
|
11797
11798
|
|
|
@@ -13544,11 +13545,12 @@ func.UI.screen.execute_screen_ready_events = async function (SESSION_ID, paramsP
|
|
|
13544
13545
|
}
|
|
13545
13546
|
};
|
|
13546
13547
|
func.UI.screen.screen_loading_done = async function (SESSION_ID, paramsP, $div, jobNoP) {
|
|
13547
|
-
console.log($div.attr('xu-ui-id'));
|
|
13548
|
+
// console.log($div.attr('xu-ui-id'));
|
|
13549
|
+
|
|
13548
13550
|
// await
|
|
13549
13551
|
let retries = 0;
|
|
13550
13552
|
let interval = setInterval(() => {
|
|
13551
|
-
if (!$(SESSION_OBJ[SESSION_ID].root_element).find(`[xu-ui-id=${$div.attr('xu-ui-id')}]`).length && !$(SESSION_OBJ[SESSION_ID].root_element).find(`[xu-panel-wrapper-id=${$div.attr('xu-ui-id')}]`).length && $div.attr('xu-ui-id')) {
|
|
13553
|
+
if (!$(SESSION_OBJ[SESSION_ID].root_element).find(`[xu-ui-id=${$div.attr('xu-ui-id')}]`).length && !$(SESSION_OBJ[SESSION_ID].root_element).find(`[xu-panel-wrapper-id=${$div.attr('xu-ui-id')}]`).length && !$div.attr('xu-ui-id') && $div.attr('xu-ui-id')) {
|
|
13552
13554
|
retries++;
|
|
13553
13555
|
if (retries > 100) {
|
|
13554
13556
|
console.warn('deadlock detected for screen ready');
|
|
@@ -9519,6 +9519,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
9519
9519
|
|
|
9520
9520
|
for await (const [parent_element_ui_id, panel_val] of Object.entries(panels_obj)) {
|
|
9521
9521
|
// const progDataSource_str = JSON.stringify(panel_val.prog_doc.progDataSource);
|
|
9522
|
+
if (!panel_val.$panel_div?.data()?.xuData) continue;
|
|
9522
9523
|
|
|
9523
9524
|
if (panel_val.$panel_div.data().xuData.pending_to_delete) continue;
|
|
9524
9525
|
|
|
@@ -11271,11 +11272,12 @@ func.UI.screen.execute_screen_ready_events = async function (SESSION_ID, paramsP
|
|
|
11271
11272
|
}
|
|
11272
11273
|
};
|
|
11273
11274
|
func.UI.screen.screen_loading_done = async function (SESSION_ID, paramsP, $div, jobNoP) {
|
|
11274
|
-
console.log($div.attr('xu-ui-id'));
|
|
11275
|
+
// console.log($div.attr('xu-ui-id'));
|
|
11276
|
+
|
|
11275
11277
|
// await
|
|
11276
11278
|
let retries = 0;
|
|
11277
11279
|
let interval = setInterval(() => {
|
|
11278
|
-
if (!$(SESSION_OBJ[SESSION_ID].root_element).find(`[xu-ui-id=${$div.attr('xu-ui-id')}]`).length && !$(SESSION_OBJ[SESSION_ID].root_element).find(`[xu-panel-wrapper-id=${$div.attr('xu-ui-id')}]`).length && $div.attr('xu-ui-id')) {
|
|
11280
|
+
if (!$(SESSION_OBJ[SESSION_ID].root_element).find(`[xu-ui-id=${$div.attr('xu-ui-id')}]`).length && !$(SESSION_OBJ[SESSION_ID].root_element).find(`[xu-panel-wrapper-id=${$div.attr('xu-ui-id')}]`).length && !$div.attr('xu-ui-id') && $div.attr('xu-ui-id')) {
|
|
11279
11281
|
retries++;
|
|
11280
11282
|
if (retries > 100) {
|
|
11281
11283
|
console.warn('deadlock detected for screen ready');
|