@xuda.io/xuda-worker-bundle-min 1.3.850 → 1.3.851

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.
Files changed (2) hide show
  1. package/index.js +7 -7
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2492,7 +2492,7 @@ func.datasource.execute = async function (
2492
2492
  _ds.api_rendered_output = "";
2493
2493
  let has_datasource = await calc_batch_loops();
2494
2494
 
2495
- _raw_data_rows = _ds.raw_data.rows || [];
2495
+ _raw_data_rows = _ds.v.raw_data.rows || [];
2496
2496
  if (!has_datasource) {
2497
2497
  for (n = 0; n < _ds.v.batch_loops; n++) {
2498
2498
  _raw_data_rows.push({ id: n, value: {} });
@@ -2503,7 +2503,7 @@ func.datasource.execute = async function (
2503
2503
  if (has_datasource && Number(key) >= _ds.v.batch_loops) break;
2504
2504
 
2505
2505
  if (!has_datasource) {
2506
- raw_data_row = _ds?.raw_data?.rows?.[key] || { id: key, value: {} };
2506
+ raw_data_row = _ds?.v.raw_data?.rows?.[key] || { id: key, value: {} };
2507
2507
  }
2508
2508
 
2509
2509
  if (await get_before_record_count()) {
@@ -2549,7 +2549,7 @@ func.datasource.execute = async function (
2549
2549
  case "batch": {
2550
2550
  let has_datasource = await calc_batch_loops();
2551
2551
 
2552
- _raw_data_rows = _ds?.raw_data?.rows || [];
2552
+ _raw_data_rows = _ds?.v.raw_data?.rows || [];
2553
2553
  if (!has_datasource) {
2554
2554
  for (n = 0; n < _ds.v.batch_loops; n++) {
2555
2555
  _raw_data_rows.push({ id: n, value: {} });
@@ -2560,7 +2560,7 @@ func.datasource.execute = async function (
2560
2560
  if (has_datasource && Number(key) >= _ds.v.batch_loops) break;
2561
2561
 
2562
2562
  if (!has_datasource) {
2563
- raw_data_row = _ds?.raw_data?.rows?.[key] || { id: key, value: {} };
2563
+ raw_data_row = _ds?.v.raw_data?.rows?.[key] || { id: key, value: {} };
2564
2564
  }
2565
2565
 
2566
2566
  if (await get_before_record_count()) {
@@ -2733,7 +2733,7 @@ func.datasource.execute = async function (
2733
2733
  _ds.rows_processed = 0;
2734
2734
  _ds.viewRangeExp_rows_deleted = 0;
2735
2735
 
2736
- let rows = _ds?.raw_data?.rows?.length;
2736
+ let rows = _ds?.v.raw_data?.rows?.length;
2737
2737
  _ds.data_feed.rows = [];
2738
2738
  _ds.data_feed.rows_changed = [];
2739
2739
  _ds.data_feed.rows_deleted = [];
@@ -2787,7 +2787,7 @@ func.datasource.execute = async function (
2787
2787
  break;
2788
2788
  }
2789
2789
 
2790
- _ds.firstRecordId = _ds.raw_data.rows[0].id;
2790
+ _ds.firstRecordId = _ds.v.raw_data.rows[0].id;
2791
2791
 
2792
2792
  const finish_form = async function () {
2793
2793
  // check if locatedRecordId exist in SESSION_OBJ[SESSION_ID].DS_GLB
@@ -2810,7 +2810,7 @@ func.datasource.execute = async function (
2810
2810
  _ds.currentRecordId = _ds.finalRecordId;
2811
2811
  };
2812
2812
 
2813
- for await (const [key, val] of Object.entries(_ds.raw_data.rows)) {
2813
+ for await (const [key, val] of Object.entries(_ds.v.raw_data.rows)) {
2814
2814
  const raw_data_row = val.value;
2815
2815
  if (await get_before_record_count()) {
2816
2816
  await func.datasource.execute_view_events(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.850",
3
+ "version": "1.3.851",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {