@xuda.io/runtime-bundle 1.0.683 → 1.0.685
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.
|
@@ -31526,6 +31526,29 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
31526
31526
|
const prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, _ds.prog_id);
|
|
31527
31527
|
// const progDataSource_str = JSON.stringify(prog_doc.progDataSource);
|
|
31528
31528
|
validate_change(prog_doc);
|
|
31529
|
+
if (found) {
|
|
31530
|
+
const $elm = $('#container_5b1_cmp_3700419d8179_0');
|
|
31531
|
+
const $wrapper = $elm.parent();
|
|
31532
|
+
const wrapper_data = $wrapper.data();
|
|
31533
|
+
const refreshed_ds = _ds.dsSession;
|
|
31534
|
+
$elm.empty();
|
|
31535
|
+
const new_$div = await func.UI.screen.render_ui_tree(
|
|
31536
|
+
SESSION_ID,
|
|
31537
|
+
$wrapper, // the wrapper
|
|
31538
|
+
_.cloneDeep($elm.data().xuData.node), // the xu-panel node
|
|
31539
|
+
{},
|
|
31540
|
+
wrapper_data.xuData.paramsP, // the wrapper params
|
|
31541
|
+
null,
|
|
31542
|
+
null,
|
|
31543
|
+
$elm.data().xuData.key, // the wrapper key
|
|
31544
|
+
refreshed_ds, // the refreshed_ds
|
|
31545
|
+
wrapper_data.xuData.parent_node, // the wrapper parent node
|
|
31546
|
+
null,
|
|
31547
|
+
wrapper_data.xuData.$root_container, // the wrapper root container
|
|
31548
|
+
);
|
|
31549
|
+
|
|
31550
|
+
return;
|
|
31551
|
+
}
|
|
31529
31552
|
}
|
|
31530
31553
|
|
|
31531
31554
|
const panels_obj = await func.UI.utils.get_panels_wrapper_from_dom(SESSION_ID, $(SESSION_OBJ[SESSION_ID].root_element), false);
|