@xuda.io/runtime-bundle 1.0.698 → 1.0.700

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.
@@ -2500,7 +2500,7 @@ func.api.dbs_read = async function (table_id, selector, fields, sort, limit, ski
2500
2500
 
2501
2501
  return await api_utils.dbs_read(table_id, selector, fields, sort, limit, skip, cb);
2502
2502
  };
2503
- func.api.dbs_update = async function (table_id, row_id, data) {
2503
+ func.api.dbs_update = async function (table_id, row_id, data, cb) {
2504
2504
  const SESSION_ID = Object.keys(SESSION_OBJ)[0];
2505
2505
  const api_utils = await func.common.get_module(SESSION_ID, 'xuda-api-library.mjs', {
2506
2506
  func,
@@ -14285,7 +14285,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14285
14285
  };
14286
14286
  const get_property_value = async function (fieldIdP, val) {
14287
14287
  if (!val) return;
14288
- var value = props[fieldIdP] || (typeof val.defaultValue === 'function' ? val?.defaultValue?.() : val?.defaultValue);
14288
+ var value = fieldIdP in props ? props[fieldIdP] : typeof val.defaultValue === 'function' ? val?.defaultValue?.() : val?.defaultValue;
14289
14289
  if (val.render === 'eventId') {
14290
14290
  value = props?.[fieldIdP]?.event;
14291
14291
  }
@@ -2501,7 +2501,7 @@ func.api.dbs_read = async function (table_id, selector, fields, sort, limit, ski
2501
2501
 
2502
2502
  return await api_utils.dbs_read(table_id, selector, fields, sort, limit, skip, cb);
2503
2503
  };
2504
- func.api.dbs_update = async function (table_id, row_id, data) {
2504
+ func.api.dbs_update = async function (table_id, row_id, data, cb) {
2505
2505
  const SESSION_ID = Object.keys(SESSION_OBJ)[0];
2506
2506
  const api_utils = await func.common.get_module(SESSION_ID, 'xuda-api-library.mjs', {
2507
2507
  func,
@@ -12007,7 +12007,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12007
12007
  };
12008
12008
  const get_property_value = async function (fieldIdP, val) {
12009
12009
  if (!val) return;
12010
- var value = props[fieldIdP] || (typeof val.defaultValue === 'function' ? val?.defaultValue?.() : val?.defaultValue);
12010
+ var value = fieldIdP in props ? props[fieldIdP] : typeof val.defaultValue === 'function' ? val?.defaultValue?.() : val?.defaultValue;
12011
12011
  if (val.render === 'eventId') {
12012
12012
  value = props?.[fieldIdP]?.event;
12013
12013
  }