@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
|
@@ -2483,7 +2483,7 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
2483
2483
|
break;
|
|
2484
2484
|
}
|
|
2485
2485
|
|
|
2486
|
-
case 'get_data':
|
|
2486
|
+
case 'get_data': {
|
|
2487
2487
|
if (await get_before_record_count()) {
|
|
2488
2488
|
await func.datasource.execute_view_events(SESSION_ID, dataSourceSession, 'before_record');
|
|
2489
2489
|
}
|
|
@@ -2495,8 +2495,8 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
2495
2495
|
}
|
|
2496
2496
|
await func.datasource.set_outputField(SESSION_ID, dataSourceSession, _ds?.v?.raw_data?.rows, _ds.args);
|
|
2497
2497
|
break;
|
|
2498
|
-
|
|
2499
|
-
case 'set_data':
|
|
2498
|
+
}
|
|
2499
|
+
case 'set_data': {
|
|
2500
2500
|
if (!prog_obj.progDataSource?.dataSourceType || _ds.progDataSource.dataSourceType !== 'table' || !_ds._dataSourceTableId) {
|
|
2501
2501
|
return func.utils.debug_report(SESSION_ID, 'Data source', 'Datasource DB Table must be defined for Set Data operation', 'E');
|
|
2502
2502
|
}
|
|
@@ -2586,8 +2586,9 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
2586
2586
|
// ret = await callback_datasource();
|
|
2587
2587
|
await func.datasource.set_outputField(SESSION_ID, dataSourceSession, _ds?.v?.raw_data?.rows, _ds.args);
|
|
2588
2588
|
break;
|
|
2589
|
-
|
|
2590
|
-
case 'component':
|
|
2589
|
+
}
|
|
2590
|
+
case 'component': {
|
|
2591
|
+
debugger;
|
|
2591
2592
|
_raw_data_rows = _ds?.v.raw_data?.rows || [];
|
|
2592
2593
|
_ds.rows_processed = 0;
|
|
2593
2594
|
_ds.viewRangeExp_rows_deleted = 0;
|
|
@@ -2605,7 +2606,6 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
2605
2606
|
}
|
|
2606
2607
|
|
|
2607
2608
|
const row_not_found = async function () {
|
|
2608
|
-
debugger;
|
|
2609
2609
|
if (!prog_obj.progDataSource?.dataSourceType || (tree_obj.rwMode === 'U' && tree_obj.allowCreate)) {
|
|
2610
2610
|
_ds.currentRecordId = 'newRecord';
|
|
2611
2611
|
_ds.set_mode = 'C';
|
|
@@ -2686,7 +2686,7 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
2686
2686
|
await finish_form();
|
|
2687
2687
|
|
|
2688
2688
|
break;
|
|
2689
|
-
|
|
2689
|
+
}
|
|
2690
2690
|
default:
|
|
2691
2691
|
return func.utils.debug_report(SESSION_ID, 'Data source', 'Program type not defined', 'E');
|
|
2692
2692
|
}
|
package/js/xuda-worker-bundle.js
CHANGED
|
@@ -2483,7 +2483,7 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
2483
2483
|
break;
|
|
2484
2484
|
}
|
|
2485
2485
|
|
|
2486
|
-
case 'get_data':
|
|
2486
|
+
case 'get_data': {
|
|
2487
2487
|
if (await get_before_record_count()) {
|
|
2488
2488
|
await func.datasource.execute_view_events(SESSION_ID, dataSourceSession, 'before_record');
|
|
2489
2489
|
}
|
|
@@ -2495,8 +2495,8 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
2495
2495
|
}
|
|
2496
2496
|
await func.datasource.set_outputField(SESSION_ID, dataSourceSession, _ds?.v?.raw_data?.rows, _ds.args);
|
|
2497
2497
|
break;
|
|
2498
|
-
|
|
2499
|
-
case 'set_data':
|
|
2498
|
+
}
|
|
2499
|
+
case 'set_data': {
|
|
2500
2500
|
if (!prog_obj.progDataSource?.dataSourceType || _ds.progDataSource.dataSourceType !== 'table' || !_ds._dataSourceTableId) {
|
|
2501
2501
|
return func.utils.debug_report(SESSION_ID, 'Data source', 'Datasource DB Table must be defined for Set Data operation', 'E');
|
|
2502
2502
|
}
|
|
@@ -2586,8 +2586,9 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
2586
2586
|
// ret = await callback_datasource();
|
|
2587
2587
|
await func.datasource.set_outputField(SESSION_ID, dataSourceSession, _ds?.v?.raw_data?.rows, _ds.args);
|
|
2588
2588
|
break;
|
|
2589
|
-
|
|
2590
|
-
case 'component':
|
|
2589
|
+
}
|
|
2590
|
+
case 'component': {
|
|
2591
|
+
debugger;
|
|
2591
2592
|
_raw_data_rows = _ds?.v.raw_data?.rows || [];
|
|
2592
2593
|
_ds.rows_processed = 0;
|
|
2593
2594
|
_ds.viewRangeExp_rows_deleted = 0;
|
|
@@ -2605,7 +2606,6 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
2605
2606
|
}
|
|
2606
2607
|
|
|
2607
2608
|
const row_not_found = async function () {
|
|
2608
|
-
debugger;
|
|
2609
2609
|
if (!prog_obj.progDataSource?.dataSourceType || (tree_obj.rwMode === 'U' && tree_obj.allowCreate)) {
|
|
2610
2610
|
_ds.currentRecordId = 'newRecord';
|
|
2611
2611
|
_ds.set_mode = 'C';
|
|
@@ -2686,7 +2686,7 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
2686
2686
|
await finish_form();
|
|
2687
2687
|
|
|
2688
2688
|
break;
|
|
2689
|
-
|
|
2689
|
+
}
|
|
2690
2690
|
default:
|
|
2691
2691
|
return func.utils.debug_report(SESSION_ID, 'Data source', 'Program type not defined', 'E');
|
|
2692
2692
|
}
|