@xuda.io/runtime-bundle 1.0.765 → 1.0.767
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-bundle.js +3 -3
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +3 -3
- package/js/xuda-runtime-slim.min.es.js +3 -3
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +2 -2
- package/js/xuda-worker-bundle.js +2 -2
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -4944,11 +4944,11 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
4944
4944
|
}
|
|
4945
4945
|
///// REFRESH SCREEN
|
|
4946
4946
|
if (!avoid_refresh && fields_changed.length) {
|
|
4947
|
-
await func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_changed);
|
|
4947
|
+
await func.UI.screen.refresh_xu_attributes(SESSION_ID, _.cloneDeep(fields_changed));
|
|
4948
4948
|
// await removed from the below function cause to dead lock Mar 3 25
|
|
4949
4949
|
await func.UI.screen.refresh_screen(
|
|
4950
4950
|
SESSION_ID,
|
|
4951
|
-
fields_changed,
|
|
4951
|
+
_.cloneDeep(fields_changed),
|
|
4952
4952
|
null,
|
|
4953
4953
|
datasource_changed[0], // refresh the current datasource only
|
|
4954
4954
|
);
|
|
@@ -12599,7 +12599,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12599
12599
|
if (reference_source_obj.ret.type === 'array') {
|
|
12600
12600
|
if (iterate_info.iterator_val === bind_field_id) {
|
|
12601
12601
|
const arr_idx = Number($elm?.data()?.xuData?.iterate_info._key);
|
|
12602
|
-
let new_arr = _.
|
|
12602
|
+
let new_arr = _.cloneDeep(reference_source_obj.ret.value);
|
|
12603
12603
|
// if (field_prop.props.fieldType === 'object' && !val_is_reference_field) {
|
|
12604
12604
|
if (field_prop.props.fieldType === 'object' && val_is_reference_field) {
|
|
12605
12605
|
let obj_item = new_arr[arr_idx];
|
|
@@ -4945,11 +4945,11 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
4945
4945
|
}
|
|
4946
4946
|
///// REFRESH SCREEN
|
|
4947
4947
|
if (!avoid_refresh && fields_changed.length) {
|
|
4948
|
-
await func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_changed);
|
|
4948
|
+
await func.UI.screen.refresh_xu_attributes(SESSION_ID, _.cloneDeep(fields_changed));
|
|
4949
4949
|
// await removed from the below function cause to dead lock Mar 3 25
|
|
4950
4950
|
await func.UI.screen.refresh_screen(
|
|
4951
4951
|
SESSION_ID,
|
|
4952
|
-
fields_changed,
|
|
4952
|
+
_.cloneDeep(fields_changed),
|
|
4953
4953
|
null,
|
|
4954
4954
|
datasource_changed[0], // refresh the current datasource only
|
|
4955
4955
|
);
|
|
@@ -10309,7 +10309,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10309
10309
|
if (reference_source_obj.ret.type === 'array') {
|
|
10310
10310
|
if (iterate_info.iterator_val === bind_field_id) {
|
|
10311
10311
|
const arr_idx = Number($elm?.data()?.xuData?.iterate_info._key);
|
|
10312
|
-
let new_arr = _.
|
|
10312
|
+
let new_arr = _.cloneDeep(reference_source_obj.ret.value);
|
|
10313
10313
|
// if (field_prop.props.fieldType === 'object' && !val_is_reference_field) {
|
|
10314
10314
|
if (field_prop.props.fieldType === 'object' && val_is_reference_field) {
|
|
10315
10315
|
let obj_item = new_arr[arr_idx];
|