@xuda.io/runtime-bundle 1.0.413 → 1.0.415
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.
|
@@ -31121,7 +31121,7 @@ func.UI.screen.init = async function (SESSION_ID, prog_id, sourceScreenP, callin
|
|
|
31121
31121
|
id: screenId,
|
|
31122
31122
|
ui_engine: UI_FRAMEWORK_INSTALLED,
|
|
31123
31123
|
})
|
|
31124
|
-
.addClass('
|
|
31124
|
+
.addClass('xu_embed_container')
|
|
31125
31125
|
.data({
|
|
31126
31126
|
xuData: {
|
|
31127
31127
|
paramsP: params,
|
|
@@ -31635,14 +31635,14 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
31635
31635
|
return found;
|
|
31636
31636
|
};
|
|
31637
31637
|
|
|
31638
|
-
const $
|
|
31638
|
+
const $xu_embed_container = $('.xu_embed_container');
|
|
31639
31639
|
const panels_obj = func.UI.utils.get_panels_from_dom(SESSION_ID, true);
|
|
31640
31640
|
let inviable_panels_obj = {};
|
|
31641
31641
|
|
|
31642
31642
|
for await (const field_id of fields_arr) {
|
|
31643
31643
|
// run root
|
|
31644
|
-
if ($
|
|
31645
|
-
const progUi = $
|
|
31644
|
+
if ($xu_embed_container.length) {
|
|
31645
|
+
const progUi = $xu_embed_container?.data()?.xuData?.screenInfo?.progUi;
|
|
31646
31646
|
if (progUi) {
|
|
31647
31647
|
await iterate_field_in_progUi(progUi, field_id);
|
|
31648
31648
|
// find invisible panels
|
|
@@ -31651,7 +31651,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
31651
31651
|
let prog_id = elm_node?.attributes?.program;
|
|
31652
31652
|
const exp = elm_node?.attributes?.['xu-exp:program'];
|
|
31653
31653
|
if (exp) {
|
|
31654
|
-
let exp_ret = await func.expression.get(SESSION_ID, exp, $
|
|
31654
|
+
let exp_ret = await func.expression.get(SESSION_ID, exp, $xu_embed_container?.data()?.xuData?.paramsP?.dsSessionP, 'UI Attr EXP');
|
|
31655
31655
|
prog_id = func.UI.screen.fix_val_defaults('program', exp_ret.result);
|
|
31656
31656
|
inviable_panels_obj[elm_node.id] = { prog_id };
|
|
31657
31657
|
}
|
|
@@ -31660,7 +31660,12 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
31660
31660
|
// run panels
|
|
31661
31661
|
for await (const [parent_element_ui_id, panel_val] of Object.entries(panels_obj)) {
|
|
31662
31662
|
const prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, panel_val._ds.prog_id);
|
|
31663
|
+
await iterate_field_in_progUi(prog_doc.progUi, field_id);
|
|
31664
|
+
}
|
|
31663
31665
|
|
|
31666
|
+
// run invisible panels
|
|
31667
|
+
for await (const [parent_element_ui_id, panel_val] of Object.entries(inviable_panels_obj)) {
|
|
31668
|
+
const prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, panel_val.prog_id);
|
|
31664
31669
|
await iterate_field_in_progUi(prog_doc.progUi, field_id);
|
|
31665
31670
|
}
|
|
31666
31671
|
}
|