@xuda.io/runtime-bundle 1.0.360 → 1.0.362

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.
@@ -10477,7 +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
10481
  for await (const [arr_key, val] of Object.entries(split)) {
10482
10482
  // run each field
10483
10483
  const key = Number(arr_key);
@@ -10568,14 +10568,8 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
10568
10568
  } // put default
10569
10569
  fields[val.fieldId] = var_Arr[key].value;
10570
10570
 
10571
- const ret = await func.datasource.get_value(
10572
- SESSION_ID,
10573
- val.fieldId,
10574
- dsSessionP,
10575
-
10576
- rowIdP,
10577
- ); // find field in dataSources
10578
-
10571
+ const ret = await func.datasource.get_value(SESSION_ID, val.fieldId, dsSessionP, rowIdP); // find field in dataSources
10572
+ console.log(valP, val.fieldId, ret);
10579
10573
  await replace_value_in_string(ret.ret, ret.fieldIdP);
10580
10574
  }
10581
10575
  }
@@ -10586,7 +10580,6 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
10586
10580
  var var_error_found;
10587
10581
  // merge arr values
10588
10582
  _.forEach(var_Arr, function (val, key) {
10589
- debugger;
10590
10583
  if (sourceP === 'UI Property EXP') {
10591
10584
  let ret = func.utils.get_drive_url(SESSION_ID, val.value, true);
10592
10585
  if (ret.changed) {
@@ -11935,7 +11928,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
11935
11928
  const props = _ds.in_parameters || {};
11936
11929
  const attributes = $elm?.data()?.xuData?.properties || {};
11937
11930
 
11938
- _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data, attributes, props };
11931
+ // _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data, attributes, props };
11932
+ _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { ds: _ds, data, attributes, props };
11939
11933
 
11940
11934
  return {};
11941
11935
  },
@@ -9999,7 +9999,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
9999
9999
  const props = _ds.in_parameters || {};
10000
10000
  const attributes = $elm?.data()?.xuData?.properties || {};
10001
10001
 
10002
- _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data, attributes, props };
10002
+ // _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data, attributes, props };
10003
+ _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { ds: _ds, data, attributes, props };
10003
10004
 
10004
10005
  return {};
10005
10006
  },
@@ -14176,7 +14177,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
14176
14177
  var split = [];
14177
14178
  var var_Arr = [];
14178
14179
  split = func.expression.parse(ret);
14179
- console.log(valP, split);
14180
+
14180
14181
  for await (const [arr_key, val] of Object.entries(split)) {
14181
14182
  // run each field
14182
14183
  const key = Number(arr_key);
@@ -14267,14 +14268,8 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
14267
14268
  } // put default
14268
14269
  fields[val.fieldId] = var_Arr[key].value;
14269
14270
 
14270
- const ret = await func.datasource.get_value(
14271
- SESSION_ID,
14272
- val.fieldId,
14273
- dsSessionP,
14274
-
14275
- rowIdP,
14276
- ); // find field in dataSources
14277
-
14271
+ const ret = await func.datasource.get_value(SESSION_ID, val.fieldId, dsSessionP, rowIdP); // find field in dataSources
14272
+ console.log(valP, val.fieldId, ret);
14278
14273
  await replace_value_in_string(ret.ret, ret.fieldIdP);
14279
14274
  }
14280
14275
  }
@@ -14285,7 +14280,6 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
14285
14280
  var var_error_found;
14286
14281
  // merge arr values
14287
14282
  _.forEach(var_Arr, function (val, key) {
14288
- debugger;
14289
14283
  if (sourceP === 'UI Property EXP') {
14290
14284
  let ret = func.utils.get_drive_url(SESSION_ID, val.value, true);
14291
14285
  if (ret.changed) {