@xuda.io/runtime-bundle 1.0.1011 → 1.0.1012
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.
|
@@ -32268,11 +32268,13 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32268
32268
|
},
|
|
32269
32269
|
'xu-render': async function ($elm, val, from_panel) {
|
|
32270
32270
|
var value = await func.common.get_cast_val(SESSION_ID, 'common fx', 'xu-render', 'bool', val.value);
|
|
32271
|
-
const init_render = function () {
|
|
32271
|
+
const init_render = async function () {
|
|
32272
32272
|
if (!value) {
|
|
32273
32273
|
var cloned_$div = $elm.clone(true);
|
|
32274
32274
|
|
|
32275
|
-
|
|
32275
|
+
const xu_ui_id = await generate_xu_ui_id(SESSION_ID, nodeP, $container, paramsP, keyP);
|
|
32276
|
+
|
|
32277
|
+
let $xurender = $('<xurender>').attr('xu-ui-id', xu_ui_id).attr('hidden', true).appendTo($container).hide();
|
|
32276
32278
|
let original_data_obj = {
|
|
32277
32279
|
force_render: true,
|
|
32278
32280
|
$container: cloned_$div,
|
|
@@ -32379,7 +32381,9 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32379
32381
|
}
|
|
32380
32382
|
|
|
32381
32383
|
let tmp_$div = $('<div>');
|
|
32382
|
-
const xu_ui_id = $elm.attr('xu-ui-id');
|
|
32384
|
+
// const xu_ui_id = $elm.attr('xu-ui-id');
|
|
32385
|
+
const xu_ui_id = await generate_xu_ui_id(SESSION_ID, nodeP, $container, paramsP, keyP);
|
|
32386
|
+
|
|
32383
32387
|
let $xurender = $('<xurender>').attr('xu-ui-id', xu_ui_id).appendTo(tmp_$div).hide();
|
|
32384
32388
|
// // was true before
|
|
32385
32389
|
// if ($elm.data().xuData.xurender_node) {
|
|
@@ -32414,7 +32418,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32414
32418
|
func.events.delete_job(SESSION_ID, jobNoP);
|
|
32415
32419
|
};
|
|
32416
32420
|
if (is_init) {
|
|
32417
|
-
return init_render();
|
|
32421
|
+
return await init_render();
|
|
32418
32422
|
}
|
|
32419
32423
|
return await post_render();
|
|
32420
32424
|
},
|