@xuda.io/runtime-bundle 1.0.358 → 1.0.360

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.
@@ -5142,8 +5142,8 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
5142
5142
  _ds.data_feed.rows[row_idx][field_id] = value;
5143
5143
  await set_fieldComputed_dependencies(dataSource, field_id, null);
5144
5144
 
5145
- // search the field in refs
5146
- let _ds_0 = _session.DS_GLB[0];
5145
+ // // search the field in refs
5146
+ // let _ds_0 = _session.DS_GLB[0];
5147
5147
  // for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
5148
5148
  // if (val.ds.dsSession == dataSource) {
5149
5149
  // if (!fields_changed.includes(ref_name)) {
@@ -10477,6 +10477,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
10477
10477
  var split = [];
10478
10478
  var var_Arr = [];
10479
10479
  split = func.expression.parse(ret);
10480
+ console.log(valP, split);
10480
10481
  for await (const [arr_key, val] of Object.entries(split)) {
10481
10482
  // run each field
10482
10483
  const key = Number(arr_key);
@@ -10585,6 +10586,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
10585
10586
  var var_error_found;
10586
10587
  // merge arr values
10587
10588
  _.forEach(var_Arr, function (val, key) {
10589
+ debugger;
10588
10590
  if (sourceP === 'UI Property EXP') {
10589
10591
  let ret = func.utils.get_drive_url(SESSION_ID, val.value, true);
10590
10592
  if (ret.changed) {
@@ -5143,8 +5143,8 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
5143
5143
  _ds.data_feed.rows[row_idx][field_id] = value;
5144
5144
  await set_fieldComputed_dependencies(dataSource, field_id, null);
5145
5145
 
5146
- // search the field in refs
5147
- let _ds_0 = _session.DS_GLB[0];
5146
+ // // search the field in refs
5147
+ // let _ds_0 = _session.DS_GLB[0];
5148
5148
  // for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
5149
5149
  // if (val.ds.dsSession == dataSource) {
5150
5150
  // if (!fields_changed.includes(ref_name)) {
@@ -14176,6 +14176,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
14176
14176
  var split = [];
14177
14177
  var var_Arr = [];
14178
14178
  split = func.expression.parse(ret);
14179
+ console.log(valP, split);
14179
14180
  for await (const [arr_key, val] of Object.entries(split)) {
14180
14181
  // run each field
14181
14182
  const key = Number(arr_key);
@@ -14284,6 +14285,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
14284
14285
  var var_error_found;
14285
14286
  // merge arr values
14286
14287
  _.forEach(var_Arr, function (val, key) {
14288
+ debugger;
14287
14289
  if (sourceP === 'UI Property EXP') {
14288
14290
  let ret = func.utils.get_drive_url(SESSION_ID, val.value, true);
14289
14291
  if (ret.changed) {