@xuda.io/runtime-bundle 1.0.716 → 1.0.717
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 +4 -4
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +4 -4
- package/js/xuda-runtime-slim.min.es.js +4 -4
- 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
|
@@ -3860,8 +3860,8 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
3860
3860
|
}
|
|
3861
3861
|
|
|
3862
3862
|
// initiated with Update but no rows found
|
|
3863
|
-
|
|
3864
|
-
|
|
3863
|
+
if (tree_obj.crudMode === 'U' && tree_obj.allowCreate && !_ds?.data_feed?.rows?.length) {
|
|
3864
|
+
// if (tree_obj.crudMode === 'U' && tree_obj.allowCreate && !_raw_data_rows?.length) {
|
|
3865
3865
|
_ds.set_mode = 'C';
|
|
3866
3866
|
// _raw_data_rows[glb.newRecord] = [{ _ROWID: "newRecord" }];
|
|
3867
3867
|
|
|
@@ -11788,7 +11788,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11788
11788
|
}
|
|
11789
11789
|
};
|
|
11790
11790
|
|
|
11791
|
-
func.UI.screen.
|
|
11791
|
+
func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
|
|
11792
11792
|
var found, refresh_reason, refresh_details;
|
|
11793
11793
|
const validate_change = function (prog_doc, panelXuAttributes, skip_ui_check) {
|
|
11794
11794
|
found = null;
|
|
@@ -12016,7 +12016,7 @@ func.UI.screen.refresh_screen_bad = async function (SESSION_ID, fields_changed_a
|
|
|
12016
12016
|
}
|
|
12017
12017
|
};
|
|
12018
12018
|
|
|
12019
|
-
func.UI.screen.
|
|
12019
|
+
func.UI.screen.refresh_screen_old = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
|
|
12020
12020
|
// check the main program
|
|
12021
12021
|
if (fields_changed_datasource) {
|
|
12022
12022
|
const _session = SESSION_OBJ[SESSION_ID];
|
|
@@ -3861,8 +3861,8 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
3861
3861
|
}
|
|
3862
3862
|
|
|
3863
3863
|
// initiated with Update but no rows found
|
|
3864
|
-
|
|
3865
|
-
|
|
3864
|
+
if (tree_obj.crudMode === 'U' && tree_obj.allowCreate && !_ds?.data_feed?.rows?.length) {
|
|
3865
|
+
// if (tree_obj.crudMode === 'U' && tree_obj.allowCreate && !_raw_data_rows?.length) {
|
|
3866
3866
|
_ds.set_mode = 'C';
|
|
3867
3867
|
// _raw_data_rows[glb.newRecord] = [{ _ROWID: "newRecord" }];
|
|
3868
3868
|
|
|
@@ -9510,7 +9510,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9510
9510
|
}
|
|
9511
9511
|
};
|
|
9512
9512
|
|
|
9513
|
-
func.UI.screen.
|
|
9513
|
+
func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
|
|
9514
9514
|
var found, refresh_reason, refresh_details;
|
|
9515
9515
|
const validate_change = function (prog_doc, panelXuAttributes, skip_ui_check) {
|
|
9516
9516
|
found = null;
|
|
@@ -9738,7 +9738,7 @@ func.UI.screen.refresh_screen_bad = async function (SESSION_ID, fields_changed_a
|
|
|
9738
9738
|
}
|
|
9739
9739
|
};
|
|
9740
9740
|
|
|
9741
|
-
func.UI.screen.
|
|
9741
|
+
func.UI.screen.refresh_screen_old = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
|
|
9742
9742
|
// check the main program
|
|
9743
9743
|
if (fields_changed_datasource) {
|
|
9744
9744
|
const _session = SESSION_OBJ[SESSION_ID];
|