@xuda.io/runtime-bundle 1.0.581 → 1.0.582
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
|
@@ -12026,7 +12026,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
12026
12026
|
found = _attributes['xu-exp:program']?.includes('@' + field_id);
|
|
12027
12027
|
|
|
12028
12028
|
if (found) {
|
|
12029
|
-
refresh_reason = 'program changed
|
|
12029
|
+
refresh_reason = `program ${_attributes['xu-exp:program']} ${field_id} changed `;
|
|
12030
12030
|
break;
|
|
12031
12031
|
}
|
|
12032
12032
|
|
|
@@ -12048,7 +12048,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
12048
12048
|
found = progDataSource_str?.includes('@' + parameter_in_field_id);
|
|
12049
12049
|
|
|
12050
12050
|
if (found) {
|
|
12051
|
-
refresh_reason =
|
|
12051
|
+
refresh_reason = `field ${field_id} in progDataSource parameter_in changed`;
|
|
12052
12052
|
break;
|
|
12053
12053
|
}
|
|
12054
12054
|
|
|
@@ -12056,7 +12056,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
12056
12056
|
found = func.UI.find_field_in_progUi_attributes(panel_val.prog_doc.progUi, parameter_in_field_id, 'xu-for').length;
|
|
12057
12057
|
|
|
12058
12058
|
if (found) {
|
|
12059
|
-
refresh_reason =
|
|
12059
|
+
refresh_reason = `field ${field_id} in progUi xu-for parameter_in changed`;
|
|
12060
12060
|
break;
|
|
12061
12061
|
}
|
|
12062
12062
|
}
|
|
@@ -12067,13 +12067,13 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
12067
12067
|
// search field changed in the target program's progDataSource // @code
|
|
12068
12068
|
found = progDataSource_str?.includes('@' + field_id);
|
|
12069
12069
|
if (found) {
|
|
12070
|
-
refresh_reason =
|
|
12070
|
+
refresh_reason = `field ${field_id} in progDataSource changed`;
|
|
12071
12071
|
break;
|
|
12072
12072
|
}
|
|
12073
12073
|
|
|
12074
12074
|
found = func.UI.find_field_in_progUi_attributes(panel_val.prog_doc.progUi, field_id, 'xu-for').length;
|
|
12075
12075
|
if (found) {
|
|
12076
|
-
refresh_reason =
|
|
12076
|
+
refresh_reason = `field ${field_id} in progUi xu-for changed`;
|
|
12077
12077
|
break;
|
|
12078
12078
|
}
|
|
12079
12079
|
}
|
|
@@ -12081,14 +12081,14 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
12081
12081
|
|
|
12082
12082
|
if (datasource_changed) {
|
|
12083
12083
|
if (panel_val._ds.dsSession == datasource_changed) {
|
|
12084
|
-
refresh_reason =
|
|
12084
|
+
refresh_reason = `panel datasource ${datasource_changed} changed`;
|
|
12085
12085
|
found = true;
|
|
12086
12086
|
}
|
|
12087
12087
|
}
|
|
12088
12088
|
if (found) {
|
|
12089
12089
|
const _session = SESSION_OBJ[SESSION_ID];
|
|
12090
12090
|
if (_session.engine_mode === 'live_preview') {
|
|
12091
|
-
console.
|
|
12091
|
+
console.info('refresh reason', refresh_reason);
|
|
12092
12092
|
}
|
|
12093
12093
|
const $div_elm = panel_val.$panel_div;
|
|
12094
12094
|
const wrapper_data = $div_elm.data();
|
|
@@ -9758,7 +9758,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
9758
9758
|
found = _attributes['xu-exp:program']?.includes('@' + field_id);
|
|
9759
9759
|
|
|
9760
9760
|
if (found) {
|
|
9761
|
-
refresh_reason = 'program changed
|
|
9761
|
+
refresh_reason = `program ${_attributes['xu-exp:program']} ${field_id} changed `;
|
|
9762
9762
|
break;
|
|
9763
9763
|
}
|
|
9764
9764
|
|
|
@@ -9780,7 +9780,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
9780
9780
|
found = progDataSource_str?.includes('@' + parameter_in_field_id);
|
|
9781
9781
|
|
|
9782
9782
|
if (found) {
|
|
9783
|
-
refresh_reason =
|
|
9783
|
+
refresh_reason = `field ${field_id} in progDataSource parameter_in changed`;
|
|
9784
9784
|
break;
|
|
9785
9785
|
}
|
|
9786
9786
|
|
|
@@ -9788,7 +9788,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
9788
9788
|
found = func.UI.find_field_in_progUi_attributes(panel_val.prog_doc.progUi, parameter_in_field_id, 'xu-for').length;
|
|
9789
9789
|
|
|
9790
9790
|
if (found) {
|
|
9791
|
-
refresh_reason =
|
|
9791
|
+
refresh_reason = `field ${field_id} in progUi xu-for parameter_in changed`;
|
|
9792
9792
|
break;
|
|
9793
9793
|
}
|
|
9794
9794
|
}
|
|
@@ -9799,13 +9799,13 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
9799
9799
|
// search field changed in the target program's progDataSource // @code
|
|
9800
9800
|
found = progDataSource_str?.includes('@' + field_id);
|
|
9801
9801
|
if (found) {
|
|
9802
|
-
refresh_reason =
|
|
9802
|
+
refresh_reason = `field ${field_id} in progDataSource changed`;
|
|
9803
9803
|
break;
|
|
9804
9804
|
}
|
|
9805
9805
|
|
|
9806
9806
|
found = func.UI.find_field_in_progUi_attributes(panel_val.prog_doc.progUi, field_id, 'xu-for').length;
|
|
9807
9807
|
if (found) {
|
|
9808
|
-
refresh_reason =
|
|
9808
|
+
refresh_reason = `field ${field_id} in progUi xu-for changed`;
|
|
9809
9809
|
break;
|
|
9810
9810
|
}
|
|
9811
9811
|
}
|
|
@@ -9813,14 +9813,14 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
9813
9813
|
|
|
9814
9814
|
if (datasource_changed) {
|
|
9815
9815
|
if (panel_val._ds.dsSession == datasource_changed) {
|
|
9816
|
-
refresh_reason =
|
|
9816
|
+
refresh_reason = `panel datasource ${datasource_changed} changed`;
|
|
9817
9817
|
found = true;
|
|
9818
9818
|
}
|
|
9819
9819
|
}
|
|
9820
9820
|
if (found) {
|
|
9821
9821
|
const _session = SESSION_OBJ[SESSION_ID];
|
|
9822
9822
|
if (_session.engine_mode === 'live_preview') {
|
|
9823
|
-
console.
|
|
9823
|
+
console.info('refresh reason', refresh_reason);
|
|
9824
9824
|
}
|
|
9825
9825
|
const $div_elm = panel_val.$panel_div;
|
|
9826
9826
|
const wrapper_data = $div_elm.data();
|