@xuda.io/runtime-bundle 1.0.315 → 1.0.316
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.
|
@@ -31565,6 +31565,13 @@ func.UI.screen.call_embed = function (SESSION_ID, prog) {
|
|
|
31565
31565
|
func.UI.main.embed_prog_execute(SESSION_ID, prog);
|
|
31566
31566
|
};
|
|
31567
31567
|
func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, jobNoP, $elm_to_search, dsSession) {
|
|
31568
|
+
if (!_.isEmpty(SCREEN_BLOCKER_OBJ)) {
|
|
31569
|
+
setTimeout(() => {
|
|
31570
|
+
func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_arr, jobNoP, $elm_to_search, dsSession);
|
|
31571
|
+
}, 100);
|
|
31572
|
+
return;
|
|
31573
|
+
}
|
|
31574
|
+
|
|
31568
31575
|
var selectors = {};
|
|
31569
31576
|
var search_from = 'body';
|
|
31570
31577
|
var new_job = jobNoP;
|
|
@@ -31629,9 +31636,6 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
31629
31636
|
|
|
31630
31637
|
get_selectors();
|
|
31631
31638
|
|
|
31632
|
-
if (_.isEmpty(selectors)) {
|
|
31633
|
-
}
|
|
31634
|
-
|
|
31635
31639
|
for await (let [elem_key, elem_val] of Object.entries(selectors)) {
|
|
31636
31640
|
if (elem_key === 'length') break;
|
|
31637
31641
|
|
|
@@ -31660,7 +31664,6 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
31660
31664
|
if (!elem_val?.$elm?.data()?.xuAttributes) continue;
|
|
31661
31665
|
|
|
31662
31666
|
if (elem_val.attributes.includes('xu-exp:xu-render')) {
|
|
31663
|
-
debugger;
|
|
31664
31667
|
var res = await func.expression.get(SESSION_ID, elem_val.$elm.data().xuAttributes['xu-exp:xu-render'], elem_val.$elm.data().xuData.paramsP.dsSessionP, 'UI Property EXP', elem_val.$elm.data().xuData.recordid);
|
|
31665
31668
|
|
|
31666
31669
|
var attr_value = await func.common.get_cast_val(SESSION_ID, 'refresh xu-attributes', 'xu-render', 'bool', res.result);
|
|
@@ -34239,11 +34242,11 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34239
34242
|
// var id = $div.attr('id');
|
|
34240
34243
|
// }
|
|
34241
34244
|
|
|
34242
|
-
if (!_session.running_$div) {
|
|
34243
|
-
|
|
34244
|
-
}
|
|
34245
|
+
// if (!_session.running_$div) {
|
|
34246
|
+
// _session.running_$div = [];
|
|
34247
|
+
// }
|
|
34245
34248
|
|
|
34246
|
-
_session.running_$div.push($wrapper);
|
|
34249
|
+
// _session.running_$div.push($wrapper);
|
|
34247
34250
|
|
|
34248
34251
|
if (!$div) return;
|
|
34249
34252
|
|