@xuda.io/runtime-bundle 1.0.982 → 1.0.983
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.
|
@@ -31767,7 +31767,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
31767
31767
|
// };
|
|
31768
31768
|
const program = val.value?.prog || val.value;
|
|
31769
31769
|
var $wrapper = $('<div>');
|
|
31770
|
-
var $div =
|
|
31770
|
+
var $div = func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, nodeP.attributes, null, null, null, $wrapper, '');
|
|
31771
31771
|
const params_obj = await get_params_obj_new(SESSION_ID, program, nodeP, paramsP.dsSessionP);
|
|
31772
31772
|
let ret_init = await func.UI.screen.init(SESSION_ID, program, paramsP.screenId, _ds, $div, null, _ds.currentRecordId, jobNoP, true, params_obj.params_res, 'alterXu_panel', undefined, undefined, params_obj.params_raw);
|
|
31773
31773
|
ret = {
|
|
@@ -33094,7 +33094,7 @@ func.UI.screen.panel_post_render_handler = async function (
|
|
|
33094
33094
|
return jobNoP;
|
|
33095
33095
|
};
|
|
33096
33096
|
|
|
33097
|
-
func.UI.screen.create_container =
|
|
33097
|
+
func.UI.screen.create_container = function (SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, classP, elem_propP, div_typeP, $appendToP, attr_str) {
|
|
33098
33098
|
const _paramsP = _.cloneDeep(paramsP);
|
|
33099
33099
|
var _ds = SESSION_OBJ[SESSION_ID].DS_GLB[_paramsP.dsSessionP];
|
|
33100
33100
|
var $appendTo = $container;
|
|
@@ -33890,7 +33890,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
33890
33890
|
var exist_elm_obj = get_element_info();
|
|
33891
33891
|
var $div = exist_elm_obj.div;
|
|
33892
33892
|
if (!exist_elm_obj.div) {
|
|
33893
|
-
$div =
|
|
33893
|
+
$div = func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, 'widget_wrapper', null, null, null, null);
|
|
33894
33894
|
|
|
33895
33895
|
//////////////////////////
|
|
33896
33896
|
|
|
@@ -34092,7 +34092,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34092
34092
|
|
|
34093
34093
|
if (!exist_elm_obj.div) {
|
|
34094
34094
|
var $wrapper = $('<div>');
|
|
34095
|
-
$div =
|
|
34095
|
+
$div = func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, 'div', $wrapper, '');
|
|
34096
34096
|
|
|
34097
34097
|
if (!$div) return;
|
|
34098
34098
|
|
|
@@ -34232,7 +34232,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34232
34232
|
};
|
|
34233
34233
|
|
|
34234
34234
|
var $wrapper = $('<div>');
|
|
34235
|
-
$div =
|
|
34235
|
+
$div = func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, null, $wrapper, '');
|
|
34236
34236
|
|
|
34237
34237
|
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);
|
|
34238
34238
|
if (ret.abort) {
|
|
@@ -34262,7 +34262,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34262
34262
|
if (!element || element === 'script') return await done();
|
|
34263
34263
|
let str = '';
|
|
34264
34264
|
|
|
34265
|
-
var $div =
|
|
34265
|
+
var $div = func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, element, null, str);
|
|
34266
34266
|
|
|
34267
34267
|
$div.hover(
|
|
34268
34268
|
function (e) {
|