@xuda.io/runtime-bundle 1.0.624 → 1.0.626
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
|
@@ -12296,15 +12296,15 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12296
12296
|
}
|
|
12297
12297
|
|
|
12298
12298
|
////// render default children tree
|
|
12299
|
-
if (nodeP.children.length) {
|
|
12300
|
-
|
|
12301
|
-
}
|
|
12299
|
+
// if (nodeP.children.length) {
|
|
12300
|
+
// 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);
|
|
12301
|
+
// }
|
|
12302
12302
|
|
|
12303
12303
|
if (!val.value) {
|
|
12304
12304
|
val.value = '_empty_panel_program';
|
|
12305
12305
|
}
|
|
12306
12306
|
|
|
12307
|
-
|
|
12307
|
+
ret = await render_panel();
|
|
12308
12308
|
|
|
12309
12309
|
return ret;
|
|
12310
12310
|
};
|
|
@@ -12371,7 +12371,6 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12371
12371
|
return ret;
|
|
12372
12372
|
},
|
|
12373
12373
|
'xu-ref': async function ($elm, val) {
|
|
12374
|
-
return {};
|
|
12375
12374
|
let ret = await common_fx['xu-ref']($container, val, $container.data().xuData.xuPanelData.xuData.paramsP.dsSessionP);
|
|
12376
12375
|
return ret;
|
|
12377
12376
|
},
|
|
@@ -14558,20 +14557,21 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14558
14557
|
var $wrapper = $('<div>');
|
|
14559
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, '');
|
|
14560
14559
|
|
|
14561
|
-
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);
|
|
14562
|
-
if (ret.abort) {
|
|
14563
|
-
|
|
14564
|
-
|
|
14565
|
-
|
|
14566
|
-
|
|
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
|
+
// }
|
|
14565
|
+
|
|
14566
|
+
// let ret_done = await done(ret.$new_div);
|
|
14567
14567
|
|
|
14568
|
-
|
|
14569
|
-
return (ret.$new_div = $('<template>').append($div));
|
|
14568
|
+
// return ret_done;
|
|
14570
14569
|
|
|
14571
|
-
|
|
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;
|
|
14572
14574
|
}
|
|
14573
|
-
let ret_done = await done(ret.$new_div);
|
|
14574
|
-
return ret_done;
|
|
14575
14575
|
},
|
|
14576
14576
|
};
|
|
14577
14577
|
|
|
@@ -10027,15 +10027,15 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10027
10027
|
}
|
|
10028
10028
|
|
|
10029
10029
|
////// render default children tree
|
|
10030
|
-
if (nodeP.children.length) {
|
|
10031
|
-
|
|
10032
|
-
}
|
|
10030
|
+
// if (nodeP.children.length) {
|
|
10031
|
+
// 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);
|
|
10032
|
+
// }
|
|
10033
10033
|
|
|
10034
10034
|
if (!val.value) {
|
|
10035
10035
|
val.value = '_empty_panel_program';
|
|
10036
10036
|
}
|
|
10037
10037
|
|
|
10038
|
-
|
|
10038
|
+
ret = await render_panel();
|
|
10039
10039
|
|
|
10040
10040
|
return ret;
|
|
10041
10041
|
};
|
|
@@ -10102,7 +10102,6 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10102
10102
|
return ret;
|
|
10103
10103
|
},
|
|
10104
10104
|
'xu-ref': async function ($elm, val) {
|
|
10105
|
-
return {};
|
|
10106
10105
|
let ret = await common_fx['xu-ref']($container, val, $container.data().xuData.xuPanelData.xuData.paramsP.dsSessionP);
|
|
10107
10106
|
return ret;
|
|
10108
10107
|
},
|
|
@@ -12289,20 +12288,21 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12289
12288
|
var $wrapper = $('<div>');
|
|
12290
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, '');
|
|
12291
12290
|
|
|
12292
|
-
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);
|
|
12293
|
-
if (ret.abort) {
|
|
12294
|
-
|
|
12295
|
-
|
|
12296
|
-
|
|
12297
|
-
|
|
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
|
+
// }
|
|
12296
|
+
|
|
12297
|
+
// let ret_done = await done(ret.$new_div);
|
|
12298
12298
|
|
|
12299
|
-
|
|
12300
|
-
return (ret.$new_div = $('<template>').append($div));
|
|
12299
|
+
// return ret_done;
|
|
12301
12300
|
|
|
12302
|
-
|
|
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;
|
|
12303
12305
|
}
|
|
12304
|
-
let ret_done = await done(ret.$new_div);
|
|
12305
|
-
return ret_done;
|
|
12306
12306
|
},
|
|
12307
12307
|
};
|
|
12308
12308
|
|