@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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -12584,11 +12584,13 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12584
12584
|
},
|
|
12585
12585
|
'xu-render': async function ($elm, val, from_panel) {
|
|
12586
12586
|
var value = await func.common.get_cast_val(SESSION_ID, 'common fx', 'xu-render', 'bool', val.value);
|
|
12587
|
-
const init_render = function () {
|
|
12587
|
+
const init_render = async function () {
|
|
12588
12588
|
if (!value) {
|
|
12589
12589
|
var cloned_$div = $elm.clone(true);
|
|
12590
12590
|
|
|
12591
|
-
|
|
12591
|
+
const xu_ui_id = await generate_xu_ui_id(SESSION_ID, nodeP, $container, paramsP, keyP);
|
|
12592
|
+
|
|
12593
|
+
let $xurender = $('<xurender>').attr('xu-ui-id', xu_ui_id).attr('hidden', true).appendTo($container).hide();
|
|
12592
12594
|
let original_data_obj = {
|
|
12593
12595
|
force_render: true,
|
|
12594
12596
|
$container: cloned_$div,
|
|
@@ -12695,7 +12697,9 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12695
12697
|
}
|
|
12696
12698
|
|
|
12697
12699
|
let tmp_$div = $('<div>');
|
|
12698
|
-
const xu_ui_id = $elm.attr('xu-ui-id');
|
|
12700
|
+
// const xu_ui_id = $elm.attr('xu-ui-id');
|
|
12701
|
+
const xu_ui_id = await generate_xu_ui_id(SESSION_ID, nodeP, $container, paramsP, keyP);
|
|
12702
|
+
|
|
12699
12703
|
let $xurender = $('<xurender>').attr('xu-ui-id', xu_ui_id).appendTo(tmp_$div).hide();
|
|
12700
12704
|
// // was true before
|
|
12701
12705
|
// if ($elm.data().xuData.xurender_node) {
|
|
@@ -12730,7 +12734,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12730
12734
|
func.events.delete_job(SESSION_ID, jobNoP);
|
|
12731
12735
|
};
|
|
12732
12736
|
if (is_init) {
|
|
12733
|
-
return init_render();
|
|
12737
|
+
return await init_render();
|
|
12734
12738
|
}
|
|
12735
12739
|
return await post_render();
|
|
12736
12740
|
},
|
|
@@ -10309,11 +10309,13 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10309
10309
|
},
|
|
10310
10310
|
'xu-render': async function ($elm, val, from_panel) {
|
|
10311
10311
|
var value = await func.common.get_cast_val(SESSION_ID, 'common fx', 'xu-render', 'bool', val.value);
|
|
10312
|
-
const init_render = function () {
|
|
10312
|
+
const init_render = async function () {
|
|
10313
10313
|
if (!value) {
|
|
10314
10314
|
var cloned_$div = $elm.clone(true);
|
|
10315
10315
|
|
|
10316
|
-
|
|
10316
|
+
const xu_ui_id = await generate_xu_ui_id(SESSION_ID, nodeP, $container, paramsP, keyP);
|
|
10317
|
+
|
|
10318
|
+
let $xurender = $('<xurender>').attr('xu-ui-id', xu_ui_id).attr('hidden', true).appendTo($container).hide();
|
|
10317
10319
|
let original_data_obj = {
|
|
10318
10320
|
force_render: true,
|
|
10319
10321
|
$container: cloned_$div,
|
|
@@ -10420,7 +10422,9 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10420
10422
|
}
|
|
10421
10423
|
|
|
10422
10424
|
let tmp_$div = $('<div>');
|
|
10423
|
-
const xu_ui_id = $elm.attr('xu-ui-id');
|
|
10425
|
+
// const xu_ui_id = $elm.attr('xu-ui-id');
|
|
10426
|
+
const xu_ui_id = await generate_xu_ui_id(SESSION_ID, nodeP, $container, paramsP, keyP);
|
|
10427
|
+
|
|
10424
10428
|
let $xurender = $('<xurender>').attr('xu-ui-id', xu_ui_id).appendTo(tmp_$div).hide();
|
|
10425
10429
|
// // was true before
|
|
10426
10430
|
// if ($elm.data().xuData.xurender_node) {
|
|
@@ -10455,7 +10459,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10455
10459
|
func.events.delete_job(SESSION_ID, jobNoP);
|
|
10456
10460
|
};
|
|
10457
10461
|
if (is_init) {
|
|
10458
|
-
return init_render();
|
|
10462
|
+
return await init_render();
|
|
10459
10463
|
}
|
|
10460
10464
|
return await post_render();
|
|
10461
10465
|
},
|