@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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -12196,6 +12196,13 @@ func.UI.screen.call_embed = function (SESSION_ID, prog) {
|
|
|
12196
12196
|
func.UI.main.embed_prog_execute(SESSION_ID, prog);
|
|
12197
12197
|
};
|
|
12198
12198
|
func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, jobNoP, $elm_to_search, dsSession) {
|
|
12199
|
+
if (!_.isEmpty(SCREEN_BLOCKER_OBJ)) {
|
|
12200
|
+
setTimeout(() => {
|
|
12201
|
+
func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_arr, jobNoP, $elm_to_search, dsSession);
|
|
12202
|
+
}, 100);
|
|
12203
|
+
return;
|
|
12204
|
+
}
|
|
12205
|
+
|
|
12199
12206
|
var selectors = {};
|
|
12200
12207
|
var search_from = 'body';
|
|
12201
12208
|
var new_job = jobNoP;
|
|
@@ -12260,9 +12267,6 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
12260
12267
|
|
|
12261
12268
|
get_selectors();
|
|
12262
12269
|
|
|
12263
|
-
if (_.isEmpty(selectors)) {
|
|
12264
|
-
}
|
|
12265
|
-
|
|
12266
12270
|
for await (let [elem_key, elem_val] of Object.entries(selectors)) {
|
|
12267
12271
|
if (elem_key === 'length') break;
|
|
12268
12272
|
|
|
@@ -12291,7 +12295,6 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
12291
12295
|
if (!elem_val?.$elm?.data()?.xuAttributes) continue;
|
|
12292
12296
|
|
|
12293
12297
|
if (elem_val.attributes.includes('xu-exp:xu-render')) {
|
|
12294
|
-
debugger;
|
|
12295
12298
|
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);
|
|
12296
12299
|
|
|
12297
12300
|
var attr_value = await func.common.get_cast_val(SESSION_ID, 'refresh xu-attributes', 'xu-render', 'bool', res.result);
|
|
@@ -14870,11 +14873,11 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14870
14873
|
// var id = $div.attr('id');
|
|
14871
14874
|
// }
|
|
14872
14875
|
|
|
14873
|
-
if (!_session.running_$div) {
|
|
14874
|
-
|
|
14875
|
-
}
|
|
14876
|
+
// if (!_session.running_$div) {
|
|
14877
|
+
// _session.running_$div = [];
|
|
14878
|
+
// }
|
|
14876
14879
|
|
|
14877
|
-
_session.running_$div.push($wrapper);
|
|
14880
|
+
// _session.running_$div.push($wrapper);
|
|
14878
14881
|
|
|
14879
14882
|
if (!$div) return;
|
|
14880
14883
|
|
|
@@ -9606,6 +9606,13 @@ func.UI.screen.call_embed = function (SESSION_ID, prog) {
|
|
|
9606
9606
|
func.UI.main.embed_prog_execute(SESSION_ID, prog);
|
|
9607
9607
|
};
|
|
9608
9608
|
func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, jobNoP, $elm_to_search, dsSession) {
|
|
9609
|
+
if (!_.isEmpty(SCREEN_BLOCKER_OBJ)) {
|
|
9610
|
+
setTimeout(() => {
|
|
9611
|
+
func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_arr, jobNoP, $elm_to_search, dsSession);
|
|
9612
|
+
}, 100);
|
|
9613
|
+
return;
|
|
9614
|
+
}
|
|
9615
|
+
|
|
9609
9616
|
var selectors = {};
|
|
9610
9617
|
var search_from = 'body';
|
|
9611
9618
|
var new_job = jobNoP;
|
|
@@ -9670,9 +9677,6 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9670
9677
|
|
|
9671
9678
|
get_selectors();
|
|
9672
9679
|
|
|
9673
|
-
if (_.isEmpty(selectors)) {
|
|
9674
|
-
}
|
|
9675
|
-
|
|
9676
9680
|
for await (let [elem_key, elem_val] of Object.entries(selectors)) {
|
|
9677
9681
|
if (elem_key === 'length') break;
|
|
9678
9682
|
|
|
@@ -9701,7 +9705,6 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9701
9705
|
if (!elem_val?.$elm?.data()?.xuAttributes) continue;
|
|
9702
9706
|
|
|
9703
9707
|
if (elem_val.attributes.includes('xu-exp:xu-render')) {
|
|
9704
|
-
debugger;
|
|
9705
9708
|
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);
|
|
9706
9709
|
|
|
9707
9710
|
var attr_value = await func.common.get_cast_val(SESSION_ID, 'refresh xu-attributes', 'xu-render', 'bool', res.result);
|
|
@@ -12280,11 +12283,11 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12280
12283
|
// var id = $div.attr('id');
|
|
12281
12284
|
// }
|
|
12282
12285
|
|
|
12283
|
-
if (!_session.running_$div) {
|
|
12284
|
-
|
|
12285
|
-
}
|
|
12286
|
+
// if (!_session.running_$div) {
|
|
12287
|
+
// _session.running_$div = [];
|
|
12288
|
+
// }
|
|
12286
12289
|
|
|
12287
|
-
_session.running_$div.push($wrapper);
|
|
12290
|
+
// _session.running_$div.push($wrapper);
|
|
12288
12291
|
|
|
12289
12292
|
if (!$div) return;
|
|
12290
12293
|
|