@xuda.io/runtime-bundle 1.0.1116 → 1.0.1118
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
|
@@ -11798,7 +11798,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11798
11798
|
const elem_val = { attributes: [attr], $elm: node_data.$div, data: node_data.data };
|
|
11799
11799
|
if (!elem_val.data?.xuData) continue;
|
|
11800
11800
|
elem_val.data.xuData.parent_element_ui_id = $(val).attr('xu-ui-id');
|
|
11801
|
-
var res = await func.expression.get(SESSION_ID, elem_val.data.xuAttributes['xu-exp:xu-render'], elem_val
|
|
11801
|
+
var res = await func.expression.get(SESSION_ID, elem_val.data.xuAttributes['xu-exp:xu-render'], elem_val.data.xuData.paramsP.dsSessionP, 'UI Property EXP', elem_val.data.xuData.recordid);
|
|
11802
11802
|
|
|
11803
11803
|
var attr_value = await func.common.get_cast_val(SESSION_ID, 'refresh xu-attributes', 'xu-render', 'bool', res.result);
|
|
11804
11804
|
try {
|
|
@@ -12775,7 +12775,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12775
12775
|
// UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
|
|
12776
12776
|
// }
|
|
12777
12777
|
const cache_str = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($elm.data()?.xuData?.attr_exp_info?.['xu-render']?.fields || {}));
|
|
12778
|
-
|
|
12778
|
+
const _$div = $elm.clone(true);
|
|
12779
|
+
UI_WORKER_OBJ.xu_render_cache[xu_ui_id + cache_str] = { $div: _$div, data: _$div.data(), paramsP };
|
|
12779
12780
|
$elm.remove();
|
|
12780
12781
|
func.events.delete_job(SESSION_ID, jobNoP);
|
|
12781
12782
|
};
|
|
@@ -9523,7 +9523,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9523
9523
|
const elem_val = { attributes: [attr], $elm: node_data.$div, data: node_data.data };
|
|
9524
9524
|
if (!elem_val.data?.xuData) continue;
|
|
9525
9525
|
elem_val.data.xuData.parent_element_ui_id = $(val).attr('xu-ui-id');
|
|
9526
|
-
var res = await func.expression.get(SESSION_ID, elem_val.data.xuAttributes['xu-exp:xu-render'], elem_val
|
|
9526
|
+
var res = await func.expression.get(SESSION_ID, elem_val.data.xuAttributes['xu-exp:xu-render'], elem_val.data.xuData.paramsP.dsSessionP, 'UI Property EXP', elem_val.data.xuData.recordid);
|
|
9527
9527
|
|
|
9528
9528
|
var attr_value = await func.common.get_cast_val(SESSION_ID, 'refresh xu-attributes', 'xu-render', 'bool', res.result);
|
|
9529
9529
|
try {
|
|
@@ -10500,7 +10500,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10500
10500
|
// UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
|
|
10501
10501
|
// }
|
|
10502
10502
|
const cache_str = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($elm.data()?.xuData?.attr_exp_info?.['xu-render']?.fields || {}));
|
|
10503
|
-
|
|
10503
|
+
const _$div = $elm.clone(true);
|
|
10504
|
+
UI_WORKER_OBJ.xu_render_cache[xu_ui_id + cache_str] = { $div: _$div, data: _$div.data(), paramsP };
|
|
10504
10505
|
$elm.remove();
|
|
10505
10506
|
func.events.delete_job(SESSION_ID, jobNoP);
|
|
10506
10507
|
};
|