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