@xuda.io/runtime-bundle 1.0.1075 → 1.0.1077
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
|
@@ -11790,6 +11790,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11790
11790
|
parent_element_ui_id;
|
|
11791
11791
|
const elem_key = node.xu_render_xu_ui_id;
|
|
11792
11792
|
const elem_val = { attributes: [attr], $elm: node_data.$div };
|
|
11793
|
+
if (!lem_val.$elm.data()?.xuData) continue;
|
|
11793
11794
|
elem_val.$elm.data().xuData.parent_element_ui_id = $(val).attr('xu-ui-id');
|
|
11794
11795
|
var res = await func.expression.get(SESSION_ID, elem_val.$elm.data().xuAttributes['xu-exp:xu-render'], elem_val.$elm.data().xuData.paramsP.dsSessionP, 'UI Property EXP', elem_val.$elm.data().xuData.recordid);
|
|
11795
11796
|
|
|
@@ -12665,7 +12666,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12665
12666
|
nodeP.xu_render_made = value;
|
|
12666
12667
|
if (value) {
|
|
12667
12668
|
try {
|
|
12668
|
-
const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($elm.data()?.xuData
|
|
12669
|
+
const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($elm.data()?.xuData?.attr_exp_info?.['xu-render']?.fields || {}));
|
|
12669
12670
|
const xu_ui_id = $elm.attr('xu-ui-id');
|
|
12670
12671
|
let new_$div = UI_WORKER_OBJ?.xu_render_cache?.[xu_ui_id + xu_render_cache_id]?.$div.clone(true);
|
|
12671
12672
|
let found_parent_vars = false;
|
|
@@ -12729,7 +12730,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12729
12730
|
// if (!UI_WORKER_OBJ.xu_render_cache[xu_ui_id]) {
|
|
12730
12731
|
// UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
|
|
12731
12732
|
// }
|
|
12732
|
-
const cache_str = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($elm.data()?.xuData
|
|
12733
|
+
const cache_str = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($elm.data()?.xuData?.attr_exp_info?.['xu-render']?.fields || {}));
|
|
12733
12734
|
UI_WORKER_OBJ.xu_render_cache[xu_ui_id + cache_str] = { $div: $elm.clone(true) };
|
|
12734
12735
|
$elm.remove();
|
|
12735
12736
|
func.events.delete_job(SESSION_ID, jobNoP);
|
|
@@ -14749,7 +14750,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14749
14750
|
// UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
|
|
14750
14751
|
// }
|
|
14751
14752
|
|
|
14752
|
-
const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($div.data()?.xuData
|
|
14753
|
+
const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($div.data()?.xuData?.attr_exp_info?.['xu-render']?.fields || {}));
|
|
14753
14754
|
UI_WORKER_OBJ.xu_render_cache[xu_ui_id + xu_render_cache_id] = { $div: $div.clone(true), paramsP };
|
|
14754
14755
|
nodeP.xu_render_xu_ui_id = xu_ui_id;
|
|
14755
14756
|
nodeP.xu_render_cache_id = xu_render_cache_id;
|
|
@@ -9515,6 +9515,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9515
9515
|
parent_element_ui_id;
|
|
9516
9516
|
const elem_key = node.xu_render_xu_ui_id;
|
|
9517
9517
|
const elem_val = { attributes: [attr], $elm: node_data.$div };
|
|
9518
|
+
if (!lem_val.$elm.data()?.xuData) continue;
|
|
9518
9519
|
elem_val.$elm.data().xuData.parent_element_ui_id = $(val).attr('xu-ui-id');
|
|
9519
9520
|
var res = await func.expression.get(SESSION_ID, elem_val.$elm.data().xuAttributes['xu-exp:xu-render'], elem_val.$elm.data().xuData.paramsP.dsSessionP, 'UI Property EXP', elem_val.$elm.data().xuData.recordid);
|
|
9520
9521
|
|
|
@@ -10390,7 +10391,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10390
10391
|
nodeP.xu_render_made = value;
|
|
10391
10392
|
if (value) {
|
|
10392
10393
|
try {
|
|
10393
|
-
const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($elm.data()?.xuData
|
|
10394
|
+
const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($elm.data()?.xuData?.attr_exp_info?.['xu-render']?.fields || {}));
|
|
10394
10395
|
const xu_ui_id = $elm.attr('xu-ui-id');
|
|
10395
10396
|
let new_$div = UI_WORKER_OBJ?.xu_render_cache?.[xu_ui_id + xu_render_cache_id]?.$div.clone(true);
|
|
10396
10397
|
let found_parent_vars = false;
|
|
@@ -10454,7 +10455,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10454
10455
|
// if (!UI_WORKER_OBJ.xu_render_cache[xu_ui_id]) {
|
|
10455
10456
|
// UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
|
|
10456
10457
|
// }
|
|
10457
|
-
const cache_str = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($elm.data()?.xuData
|
|
10458
|
+
const cache_str = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($elm.data()?.xuData?.attr_exp_info?.['xu-render']?.fields || {}));
|
|
10458
10459
|
UI_WORKER_OBJ.xu_render_cache[xu_ui_id + cache_str] = { $div: $elm.clone(true) };
|
|
10459
10460
|
$elm.remove();
|
|
10460
10461
|
func.events.delete_job(SESSION_ID, jobNoP);
|
|
@@ -12474,7 +12475,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12474
12475
|
// UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
|
|
12475
12476
|
// }
|
|
12476
12477
|
|
|
12477
|
-
const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($div.data()?.xuData
|
|
12478
|
+
const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($div.data()?.xuData?.attr_exp_info?.['xu-render']?.fields || {}));
|
|
12478
12479
|
UI_WORKER_OBJ.xu_render_cache[xu_ui_id + xu_render_cache_id] = { $div: $div.clone(true), paramsP };
|
|
12479
12480
|
nodeP.xu_render_xu_ui_id = xu_ui_id;
|
|
12480
12481
|
nodeP.xu_render_cache_id = xu_render_cache_id;
|