@xuda.io/runtime-bundle 1.0.464 → 1.0.466
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 +5 -1
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +5 -1
- package/js/xuda-runtime-slim.min.es.js +5 -1
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +1 -1
- package/js/xuda-worker-bundle.js +1 -1
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -4248,7 +4248,7 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
4248
4248
|
// }
|
|
4249
4249
|
// }
|
|
4250
4250
|
|
|
4251
|
-
if (!prog_obj.progDataSource?.dataSourceType || prog_obj.properties.renderType === '
|
|
4251
|
+
if (!prog_obj.progDataSource?.dataSourceType || prog_obj.properties.renderType === 'form' || (tree_obj.rwMode === 'U' && tree_obj.allowCreate)) {
|
|
4252
4252
|
_ds.currentRecordId = 'newRecord';
|
|
4253
4253
|
if (tree_obj.rwMode === 'U' && tree_obj.allowCreate) {
|
|
4254
4254
|
_ds.set_mode = 'C';
|
|
@@ -12053,6 +12053,10 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12053
12053
|
let ret = await common_fx['xu-render']($elm, val);
|
|
12054
12054
|
return ret;
|
|
12055
12055
|
},
|
|
12056
|
+
'xu-ref': async function ($elm, val) {
|
|
12057
|
+
let ret = await common_fx['xu-ref']($elm, val);
|
|
12058
|
+
return ret;
|
|
12059
|
+
},
|
|
12056
12060
|
},
|
|
12057
12061
|
};
|
|
12058
12062
|
|
|
@@ -4249,7 +4249,7 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
4249
4249
|
// }
|
|
4250
4250
|
// }
|
|
4251
4251
|
|
|
4252
|
-
if (!prog_obj.progDataSource?.dataSourceType || prog_obj.properties.renderType === '
|
|
4252
|
+
if (!prog_obj.progDataSource?.dataSourceType || prog_obj.properties.renderType === 'form' || (tree_obj.rwMode === 'U' && tree_obj.allowCreate)) {
|
|
4253
4253
|
_ds.currentRecordId = 'newRecord';
|
|
4254
4254
|
if (tree_obj.rwMode === 'U' && tree_obj.allowCreate) {
|
|
4255
4255
|
_ds.set_mode = 'C';
|
|
@@ -10126,6 +10126,10 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10126
10126
|
let ret = await common_fx['xu-render']($elm, val);
|
|
10127
10127
|
return ret;
|
|
10128
10128
|
},
|
|
10129
|
+
'xu-ref': async function ($elm, val) {
|
|
10130
|
+
let ret = await common_fx['xu-ref']($elm, val);
|
|
10131
|
+
return ret;
|
|
10132
|
+
},
|
|
10129
10133
|
},
|
|
10130
10134
|
};
|
|
10131
10135
|
|