@xuda.io/runtime-bundle 1.0.462 → 1.0.463
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 +7 -7
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +7 -7
- package/js/xuda-runtime-slim.min.es.js +7 -7
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +7 -7
- package/js/xuda-worker-bundle.js +7 -7
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -29192,7 +29192,7 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
29192
29192
|
break;
|
|
29193
29193
|
}
|
|
29194
29194
|
|
|
29195
|
-
case 'get_data':
|
|
29195
|
+
case 'get_data': {
|
|
29196
29196
|
if (await get_before_record_count()) {
|
|
29197
29197
|
await func.datasource.execute_view_events(SESSION_ID, dataSourceSession, 'before_record');
|
|
29198
29198
|
}
|
|
@@ -29204,8 +29204,8 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
29204
29204
|
}
|
|
29205
29205
|
await func.datasource.set_outputField(SESSION_ID, dataSourceSession, _ds?.v?.raw_data?.rows, _ds.args);
|
|
29206
29206
|
break;
|
|
29207
|
-
|
|
29208
|
-
case 'set_data':
|
|
29207
|
+
}
|
|
29208
|
+
case 'set_data': {
|
|
29209
29209
|
if (!prog_obj.progDataSource?.dataSourceType || _ds.progDataSource.dataSourceType !== 'table' || !_ds._dataSourceTableId) {
|
|
29210
29210
|
return func.utils.debug_report(SESSION_ID, 'Data source', 'Datasource DB Table must be defined for Set Data operation', 'E');
|
|
29211
29211
|
}
|
|
@@ -29295,8 +29295,9 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
29295
29295
|
// ret = await callback_datasource();
|
|
29296
29296
|
await func.datasource.set_outputField(SESSION_ID, dataSourceSession, _ds?.v?.raw_data?.rows, _ds.args);
|
|
29297
29297
|
break;
|
|
29298
|
-
|
|
29299
|
-
case 'component':
|
|
29298
|
+
}
|
|
29299
|
+
case 'component': {
|
|
29300
|
+
debugger;
|
|
29300
29301
|
_raw_data_rows = _ds?.v.raw_data?.rows || [];
|
|
29301
29302
|
_ds.rows_processed = 0;
|
|
29302
29303
|
_ds.viewRangeExp_rows_deleted = 0;
|
|
@@ -29314,7 +29315,6 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
29314
29315
|
}
|
|
29315
29316
|
|
|
29316
29317
|
const row_not_found = async function () {
|
|
29317
|
-
debugger;
|
|
29318
29318
|
if (!prog_obj.progDataSource?.dataSourceType || (tree_obj.rwMode === 'U' && tree_obj.allowCreate)) {
|
|
29319
29319
|
_ds.currentRecordId = 'newRecord';
|
|
29320
29320
|
_ds.set_mode = 'C';
|
|
@@ -29395,7 +29395,7 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
29395
29395
|
await finish_form();
|
|
29396
29396
|
|
|
29397
29397
|
break;
|
|
29398
|
-
|
|
29398
|
+
}
|
|
29399
29399
|
default:
|
|
29400
29400
|
return func.utils.debug_report(SESSION_ID, 'Data source', 'Program type not defined', 'E');
|
|
29401
29401
|
}
|