@xuda.io/runtime-bundle 1.0.625 → 1.0.627
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
|
@@ -14557,20 +14557,22 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14557
14557
|
var $wrapper = $('<div>');
|
|
14558
14558
|
$div = func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, null, $wrapper, '');
|
|
14559
14559
|
|
|
14560
|
-
let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $div.clone(true), true, undefined, refreshed_ds);
|
|
14561
|
-
if (ret.abort) {
|
|
14562
|
-
|
|
14563
|
-
|
|
14564
|
-
|
|
14565
|
-
// }
|
|
14560
|
+
// let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $div.clone(true), true, undefined, refreshed_ds);
|
|
14561
|
+
// if (ret.abort) {
|
|
14562
|
+
// // render N
|
|
14563
|
+
// return (ret.$new_div = $('<template>').append($div));
|
|
14564
|
+
// }
|
|
14566
14565
|
|
|
14567
|
-
|
|
14568
|
-
return (ret.$new_div = $('<template>').append($div));
|
|
14566
|
+
// let ret_done = await done(ret.$new_div);
|
|
14569
14567
|
|
|
14570
|
-
|
|
14568
|
+
// return ret_done;
|
|
14569
|
+
|
|
14570
|
+
////// render default children tree
|
|
14571
|
+
if (nodeP.children.length) {
|
|
14572
|
+
const default_children_ret = await func.UI.screen.render_ui_tree(SESSION_ID, $container, nodeP.children[0], parent_infoP, paramsP, jobNoP, null, 0, null, nodeP, null, $root_container);
|
|
14573
|
+
debugger;
|
|
14574
|
+
await done(default_children_ret);
|
|
14571
14575
|
}
|
|
14572
|
-
let ret_done = await done(ret.$new_div);
|
|
14573
|
-
return ret_done;
|
|
14574
14576
|
},
|
|
14575
14577
|
};
|
|
14576
14578
|
|
|
@@ -12288,20 +12288,22 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12288
12288
|
var $wrapper = $('<div>');
|
|
12289
12289
|
$div = func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, null, $wrapper, '');
|
|
12290
12290
|
|
|
12291
|
-
let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $div.clone(true), true, undefined, refreshed_ds);
|
|
12292
|
-
if (ret.abort) {
|
|
12293
|
-
|
|
12294
|
-
|
|
12295
|
-
|
|
12296
|
-
// }
|
|
12291
|
+
// let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $div.clone(true), true, undefined, refreshed_ds);
|
|
12292
|
+
// if (ret.abort) {
|
|
12293
|
+
// // render N
|
|
12294
|
+
// return (ret.$new_div = $('<template>').append($div));
|
|
12295
|
+
// }
|
|
12297
12296
|
|
|
12298
|
-
|
|
12299
|
-
return (ret.$new_div = $('<template>').append($div));
|
|
12297
|
+
// let ret_done = await done(ret.$new_div);
|
|
12300
12298
|
|
|
12301
|
-
|
|
12299
|
+
// return ret_done;
|
|
12300
|
+
|
|
12301
|
+
////// render default children tree
|
|
12302
|
+
if (nodeP.children.length) {
|
|
12303
|
+
const default_children_ret = await func.UI.screen.render_ui_tree(SESSION_ID, $container, nodeP.children[0], parent_infoP, paramsP, jobNoP, null, 0, null, nodeP, null, $root_container);
|
|
12304
|
+
debugger;
|
|
12305
|
+
await done(default_children_ret);
|
|
12302
12306
|
}
|
|
12303
|
-
let ret_done = await done(ret.$new_div);
|
|
12304
|
-
return ret_done;
|
|
12305
12307
|
},
|
|
12306
12308
|
};
|
|
12307
12309
|
|