@xuda.io/runtime-bundle 1.0.413 → 1.0.414
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
|
@@ -11089,7 +11089,7 @@ func.UI.screen.init = async function (SESSION_ID, prog_id, sourceScreenP, callin
|
|
|
11089
11089
|
id: screenId,
|
|
11090
11090
|
ui_engine: UI_FRAMEWORK_INSTALLED,
|
|
11091
11091
|
})
|
|
11092
|
-
.addClass('
|
|
11092
|
+
.addClass('xu_embed_container')
|
|
11093
11093
|
.data({
|
|
11094
11094
|
xuData: {
|
|
11095
11095
|
paramsP: params,
|
|
@@ -11603,14 +11603,14 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11603
11603
|
return found;
|
|
11604
11604
|
};
|
|
11605
11605
|
|
|
11606
|
-
const $
|
|
11606
|
+
const $xu_embed_container = $('.xu_embed_container');
|
|
11607
11607
|
const panels_obj = func.UI.utils.get_panels_from_dom(SESSION_ID, true);
|
|
11608
11608
|
let inviable_panels_obj = {};
|
|
11609
11609
|
|
|
11610
11610
|
for await (const field_id of fields_arr) {
|
|
11611
11611
|
// run root
|
|
11612
|
-
if ($
|
|
11613
|
-
const progUi = $
|
|
11612
|
+
if ($xu_embed_container.length) {
|
|
11613
|
+
const progUi = $xu_embed_container?.data()?.xuData?.screenInfo?.progUi;
|
|
11614
11614
|
if (progUi) {
|
|
11615
11615
|
await iterate_field_in_progUi(progUi, field_id);
|
|
11616
11616
|
// find invisible panels
|
|
@@ -11619,7 +11619,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11619
11619
|
let prog_id = elm_node?.attributes?.program;
|
|
11620
11620
|
const exp = elm_node?.attributes?.['xu-exp:program'];
|
|
11621
11621
|
if (exp) {
|
|
11622
|
-
let exp_ret = await func.expression.get(SESSION_ID, exp, $
|
|
11622
|
+
let exp_ret = await func.expression.get(SESSION_ID, exp, $xu_embed_container?.data()?.xuData?.paramsP?.dsSessionP, 'UI Attr EXP');
|
|
11623
11623
|
prog_id = func.UI.screen.fix_val_defaults('program', exp_ret.result);
|
|
11624
11624
|
inviable_panels_obj[elm_node.id] = { prog_id };
|
|
11625
11625
|
}
|
|
@@ -9162,7 +9162,7 @@ func.UI.screen.init = async function (SESSION_ID, prog_id, sourceScreenP, callin
|
|
|
9162
9162
|
id: screenId,
|
|
9163
9163
|
ui_engine: UI_FRAMEWORK_INSTALLED,
|
|
9164
9164
|
})
|
|
9165
|
-
.addClass('
|
|
9165
|
+
.addClass('xu_embed_container')
|
|
9166
9166
|
.data({
|
|
9167
9167
|
xuData: {
|
|
9168
9168
|
paramsP: params,
|
|
@@ -9676,14 +9676,14 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9676
9676
|
return found;
|
|
9677
9677
|
};
|
|
9678
9678
|
|
|
9679
|
-
const $
|
|
9679
|
+
const $xu_embed_container = $('.xu_embed_container');
|
|
9680
9680
|
const panels_obj = func.UI.utils.get_panels_from_dom(SESSION_ID, true);
|
|
9681
9681
|
let inviable_panels_obj = {};
|
|
9682
9682
|
|
|
9683
9683
|
for await (const field_id of fields_arr) {
|
|
9684
9684
|
// run root
|
|
9685
|
-
if ($
|
|
9686
|
-
const progUi = $
|
|
9685
|
+
if ($xu_embed_container.length) {
|
|
9686
|
+
const progUi = $xu_embed_container?.data()?.xuData?.screenInfo?.progUi;
|
|
9687
9687
|
if (progUi) {
|
|
9688
9688
|
await iterate_field_in_progUi(progUi, field_id);
|
|
9689
9689
|
// find invisible panels
|
|
@@ -9692,7 +9692,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9692
9692
|
let prog_id = elm_node?.attributes?.program;
|
|
9693
9693
|
const exp = elm_node?.attributes?.['xu-exp:program'];
|
|
9694
9694
|
if (exp) {
|
|
9695
|
-
let exp_ret = await func.expression.get(SESSION_ID, exp, $
|
|
9695
|
+
let exp_ret = await func.expression.get(SESSION_ID, exp, $xu_embed_container?.data()?.xuData?.paramsP?.dsSessionP, 'UI Attr EXP');
|
|
9696
9696
|
prog_id = func.UI.screen.fix_val_defaults('program', exp_ret.result);
|
|
9697
9697
|
inviable_panels_obj[elm_node.id] = { prog_id };
|
|
9698
9698
|
}
|