@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
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -4107,7 +4107,7 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
4107
4107
|
break;
|
|
4108
4108
|
}
|
|
4109
4109
|
|
|
4110
|
-
case 'get_data':
|
|
4110
|
+
case 'get_data': {
|
|
4111
4111
|
if (await get_before_record_count()) {
|
|
4112
4112
|
await func.datasource.execute_view_events(SESSION_ID, dataSourceSession, 'before_record');
|
|
4113
4113
|
}
|
|
@@ -4119,8 +4119,8 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
4119
4119
|
}
|
|
4120
4120
|
await func.datasource.set_outputField(SESSION_ID, dataSourceSession, _ds?.v?.raw_data?.rows, _ds.args);
|
|
4121
4121
|
break;
|
|
4122
|
-
|
|
4123
|
-
case 'set_data':
|
|
4122
|
+
}
|
|
4123
|
+
case 'set_data': {
|
|
4124
4124
|
if (!prog_obj.progDataSource?.dataSourceType || _ds.progDataSource.dataSourceType !== 'table' || !_ds._dataSourceTableId) {
|
|
4125
4125
|
return func.utils.debug_report(SESSION_ID, 'Data source', 'Datasource DB Table must be defined for Set Data operation', 'E');
|
|
4126
4126
|
}
|
|
@@ -4210,8 +4210,9 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
4210
4210
|
// ret = await callback_datasource();
|
|
4211
4211
|
await func.datasource.set_outputField(SESSION_ID, dataSourceSession, _ds?.v?.raw_data?.rows, _ds.args);
|
|
4212
4212
|
break;
|
|
4213
|
-
|
|
4214
|
-
case 'component':
|
|
4213
|
+
}
|
|
4214
|
+
case 'component': {
|
|
4215
|
+
debugger;
|
|
4215
4216
|
_raw_data_rows = _ds?.v.raw_data?.rows || [];
|
|
4216
4217
|
_ds.rows_processed = 0;
|
|
4217
4218
|
_ds.viewRangeExp_rows_deleted = 0;
|
|
@@ -4229,7 +4230,6 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
4229
4230
|
}
|
|
4230
4231
|
|
|
4231
4232
|
const row_not_found = async function () {
|
|
4232
|
-
debugger;
|
|
4233
4233
|
if (!prog_obj.progDataSource?.dataSourceType || (tree_obj.rwMode === 'U' && tree_obj.allowCreate)) {
|
|
4234
4234
|
_ds.currentRecordId = 'newRecord';
|
|
4235
4235
|
_ds.set_mode = 'C';
|
|
@@ -4310,7 +4310,7 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
4310
4310
|
await finish_form();
|
|
4311
4311
|
|
|
4312
4312
|
break;
|
|
4313
|
-
|
|
4313
|
+
}
|
|
4314
4314
|
default:
|
|
4315
4315
|
return func.utils.debug_report(SESSION_ID, 'Data source', 'Program type not defined', 'E');
|
|
4316
4316
|
}
|
|
@@ -4108,7 +4108,7 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
4108
4108
|
break;
|
|
4109
4109
|
}
|
|
4110
4110
|
|
|
4111
|
-
case 'get_data':
|
|
4111
|
+
case 'get_data': {
|
|
4112
4112
|
if (await get_before_record_count()) {
|
|
4113
4113
|
await func.datasource.execute_view_events(SESSION_ID, dataSourceSession, 'before_record');
|
|
4114
4114
|
}
|
|
@@ -4120,8 +4120,8 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
4120
4120
|
}
|
|
4121
4121
|
await func.datasource.set_outputField(SESSION_ID, dataSourceSession, _ds?.v?.raw_data?.rows, _ds.args);
|
|
4122
4122
|
break;
|
|
4123
|
-
|
|
4124
|
-
case 'set_data':
|
|
4123
|
+
}
|
|
4124
|
+
case 'set_data': {
|
|
4125
4125
|
if (!prog_obj.progDataSource?.dataSourceType || _ds.progDataSource.dataSourceType !== 'table' || !_ds._dataSourceTableId) {
|
|
4126
4126
|
return func.utils.debug_report(SESSION_ID, 'Data source', 'Datasource DB Table must be defined for Set Data operation', 'E');
|
|
4127
4127
|
}
|
|
@@ -4211,8 +4211,9 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
4211
4211
|
// ret = await callback_datasource();
|
|
4212
4212
|
await func.datasource.set_outputField(SESSION_ID, dataSourceSession, _ds?.v?.raw_data?.rows, _ds.args);
|
|
4213
4213
|
break;
|
|
4214
|
-
|
|
4215
|
-
case 'component':
|
|
4214
|
+
}
|
|
4215
|
+
case 'component': {
|
|
4216
|
+
debugger;
|
|
4216
4217
|
_raw_data_rows = _ds?.v.raw_data?.rows || [];
|
|
4217
4218
|
_ds.rows_processed = 0;
|
|
4218
4219
|
_ds.viewRangeExp_rows_deleted = 0;
|
|
@@ -4230,7 +4231,6 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
4230
4231
|
}
|
|
4231
4232
|
|
|
4232
4233
|
const row_not_found = async function () {
|
|
4233
|
-
debugger;
|
|
4234
4234
|
if (!prog_obj.progDataSource?.dataSourceType || (tree_obj.rwMode === 'U' && tree_obj.allowCreate)) {
|
|
4235
4235
|
_ds.currentRecordId = 'newRecord';
|
|
4236
4236
|
_ds.set_mode = 'C';
|
|
@@ -4311,7 +4311,7 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
4311
4311
|
await finish_form();
|
|
4312
4312
|
|
|
4313
4313
|
break;
|
|
4314
|
-
|
|
4314
|
+
}
|
|
4315
4315
|
default:
|
|
4316
4316
|
return func.utils.debug_report(SESSION_ID, 'Data source', 'Program type not defined', 'E');
|
|
4317
4317
|
}
|