@xuda.io/runtime-bundle 1.0.957 → 1.0.959
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
|
@@ -11327,13 +11327,14 @@ func.UI.screen.call_embed = function (SESSION_ID, prog) {
|
|
|
11327
11327
|
func.UI.main.embed_prog_execute(SESSION_ID, prog);
|
|
11328
11328
|
};
|
|
11329
11329
|
func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, jobNoP, $elm_to_search, dsSession_changed, avoid_xu_for_refresh) {
|
|
11330
|
-
|
|
11331
|
-
|
|
11332
|
-
|
|
11333
|
-
|
|
11334
|
-
|
|
11335
|
-
|
|
11336
|
-
|
|
11330
|
+
if (!_.isEmpty(SCREEN_BLOCKER_OBJ)) {
|
|
11331
|
+
// let dom to finish
|
|
11332
|
+
setTimeout(() => {
|
|
11333
|
+
func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_arr, jobNoP, $elm_to_search, dsSession_changed);
|
|
11334
|
+
}, 100);
|
|
11335
|
+
return;
|
|
11336
|
+
}
|
|
11337
|
+
|
|
11337
11338
|
UI_WORKER_OBJ.cache = {};
|
|
11338
11339
|
const _session = SESSION_OBJ[SESSION_ID];
|
|
11339
11340
|
if (glb.DEBUG_MODE) {
|
|
@@ -11451,11 +11452,11 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11451
11452
|
|
|
11452
11453
|
get_selectors();
|
|
11453
11454
|
// console.log('selectors>>>>', selectors);
|
|
11454
|
-
|
|
11455
|
+
|
|
11455
11456
|
for await (let [elem_key, elem_val] of Object.entries(selectors)) {
|
|
11456
11457
|
if (elem_key === 'length') break;
|
|
11457
|
-
|
|
11458
|
-
|
|
11458
|
+
|
|
11459
|
+
if (!elem_val.$elm.data().xuData) continue;
|
|
11459
11460
|
if (elem_val.$elm.data().xuData.pending_to_delete) continue;
|
|
11460
11461
|
|
|
11461
11462
|
const add_execute_queue = async function (type) {
|
|
@@ -11509,7 +11510,6 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11509
11510
|
|
|
11510
11511
|
// mark children items ignore list
|
|
11511
11512
|
$.each(elem_val.$elm.find('*'), function (key, val) {
|
|
11512
|
-
// children_items_ignore_list.push($(val).attr('xu-ui-id'));
|
|
11513
11513
|
if ($(val).data().xuData) {
|
|
11514
11514
|
$(val).data().xuData.pending_to_delete = true;
|
|
11515
11515
|
}
|
|
@@ -11537,10 +11537,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11537
11537
|
for await (let [elem_key, elem_val] of Object.entries(selectors)) {
|
|
11538
11538
|
if (elem_key === 'length') break;
|
|
11539
11539
|
|
|
11540
|
-
|
|
11541
|
-
// if (!xu_ui_id) continue;
|
|
11542
|
-
// if (children_items_ignore_list.includes(xu_ui_id)) continue;
|
|
11543
|
-
|
|
11540
|
+
if (!elem_val.$elm.data().xuData) continue;
|
|
11544
11541
|
if (elem_val.$elm.data().xuData.pending_to_delete) continue;
|
|
11545
11542
|
|
|
11546
11543
|
if (!elem_val.attributes.includes('xu-exp:xu-for') && !elem_val.attributes.includes('xu-for')) continue;
|
|
@@ -9054,13 +9054,14 @@ func.UI.screen.call_embed = function (SESSION_ID, prog) {
|
|
|
9054
9054
|
func.UI.main.embed_prog_execute(SESSION_ID, prog);
|
|
9055
9055
|
};
|
|
9056
9056
|
func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, jobNoP, $elm_to_search, dsSession_changed, avoid_xu_for_refresh) {
|
|
9057
|
-
|
|
9058
|
-
|
|
9059
|
-
|
|
9060
|
-
|
|
9061
|
-
|
|
9062
|
-
|
|
9063
|
-
|
|
9057
|
+
if (!_.isEmpty(SCREEN_BLOCKER_OBJ)) {
|
|
9058
|
+
// let dom to finish
|
|
9059
|
+
setTimeout(() => {
|
|
9060
|
+
func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_arr, jobNoP, $elm_to_search, dsSession_changed);
|
|
9061
|
+
}, 100);
|
|
9062
|
+
return;
|
|
9063
|
+
}
|
|
9064
|
+
|
|
9064
9065
|
UI_WORKER_OBJ.cache = {};
|
|
9065
9066
|
const _session = SESSION_OBJ[SESSION_ID];
|
|
9066
9067
|
if (glb.DEBUG_MODE) {
|
|
@@ -9178,11 +9179,11 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9178
9179
|
|
|
9179
9180
|
get_selectors();
|
|
9180
9181
|
// console.log('selectors>>>>', selectors);
|
|
9181
|
-
|
|
9182
|
+
|
|
9182
9183
|
for await (let [elem_key, elem_val] of Object.entries(selectors)) {
|
|
9183
9184
|
if (elem_key === 'length') break;
|
|
9184
|
-
|
|
9185
|
-
|
|
9185
|
+
|
|
9186
|
+
if (!elem_val.$elm.data().xuData) continue;
|
|
9186
9187
|
if (elem_val.$elm.data().xuData.pending_to_delete) continue;
|
|
9187
9188
|
|
|
9188
9189
|
const add_execute_queue = async function (type) {
|
|
@@ -9236,7 +9237,6 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9236
9237
|
|
|
9237
9238
|
// mark children items ignore list
|
|
9238
9239
|
$.each(elem_val.$elm.find('*'), function (key, val) {
|
|
9239
|
-
// children_items_ignore_list.push($(val).attr('xu-ui-id'));
|
|
9240
9240
|
if ($(val).data().xuData) {
|
|
9241
9241
|
$(val).data().xuData.pending_to_delete = true;
|
|
9242
9242
|
}
|
|
@@ -9264,10 +9264,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9264
9264
|
for await (let [elem_key, elem_val] of Object.entries(selectors)) {
|
|
9265
9265
|
if (elem_key === 'length') break;
|
|
9266
9266
|
|
|
9267
|
-
|
|
9268
|
-
// if (!xu_ui_id) continue;
|
|
9269
|
-
// if (children_items_ignore_list.includes(xu_ui_id)) continue;
|
|
9270
|
-
|
|
9267
|
+
if (!elem_val.$elm.data().xuData) continue;
|
|
9271
9268
|
if (elem_val.$elm.data().xuData.pending_to_delete) continue;
|
|
9272
9269
|
|
|
9273
9270
|
if (!elem_val.attributes.includes('xu-exp:xu-for') && !elem_val.attributes.includes('xu-for')) continue;
|