@xuda.io/runtime-bundle 1.0.598 → 1.0.600

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.
@@ -11676,7 +11676,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
11676
11676
  }, 100);
11677
11677
  return;
11678
11678
  }
11679
-
11679
+ const _session = SESSION_OBJ[SESSION_ID];
11680
11680
  if (_session.engine_mode === 'live_preview') {
11681
11681
  console.info('========= xu-attributes refresh info ==============');
11682
11682
  console.info('fields_arr:', fields_arr);
@@ -13544,7 +13544,7 @@ func.UI.screen.create_container = function (SESSION_ID, $root_container, nodeP,
13544
13544
  try {
13545
13545
  const key_path = `${$container?.data()?.xuData?.key_path || '0'}-${keyP || '0'}`;
13546
13546
  const elem_key = `${nodeP.xu_tree_id || nodeP.id}-${key_path}-${currentRecordId}`;
13547
- let ui_id = `${nodeP.xu_tree_id || nodeP.id}-${elem_key}-${_paramsP?.dsSessionP?.toString() || ''}`;
13547
+ let ui_id = `${nodeP.id}-${elem_key}-${_paramsP?.dsSessionP?.toString() || ''}`; //nodeP.xu_tree_id ||
13548
13548
 
13549
13549
  /////////////////////////////////
13550
13550
 
@@ -13600,7 +13600,7 @@ func.UI.screen.create_container = function (SESSION_ID, $root_container, nodeP,
13600
13600
  prog_id: _paramsP.prog_id,
13601
13601
  nodeid: nodeP.id,
13602
13602
  ui_type: nodeP.tagName,
13603
- xu_id: xu_id,
13603
+ xu_id,
13604
13604
  recordid: currentRecordId,
13605
13605
  paramsP: _paramsP,
13606
13606
  key: keyP,
@@ -13608,7 +13608,6 @@ func.UI.screen.create_container = function (SESSION_ID, $root_container, nodeP,
13608
13608
  screenId: _paramsP.screenId,
13609
13609
  parent_container: $container?.attr('id'),
13610
13610
  elem_key,
13611
- ui_id,
13612
13611
  properties: prop,
13613
13612
  node: nodeP,
13614
13613
  node_org: _.cloneDeep(nodeP),
@@ -9407,7 +9407,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
9407
9407
  }, 100);
9408
9408
  return;
9409
9409
  }
9410
-
9410
+ const _session = SESSION_OBJ[SESSION_ID];
9411
9411
  if (_session.engine_mode === 'live_preview') {
9412
9412
  console.info('========= xu-attributes refresh info ==============');
9413
9413
  console.info('fields_arr:', fields_arr);
@@ -11275,7 +11275,7 @@ func.UI.screen.create_container = function (SESSION_ID, $root_container, nodeP,
11275
11275
  try {
11276
11276
  const key_path = `${$container?.data()?.xuData?.key_path || '0'}-${keyP || '0'}`;
11277
11277
  const elem_key = `${nodeP.xu_tree_id || nodeP.id}-${key_path}-${currentRecordId}`;
11278
- let ui_id = `${nodeP.xu_tree_id || nodeP.id}-${elem_key}-${_paramsP?.dsSessionP?.toString() || ''}`;
11278
+ let ui_id = `${nodeP.id}-${elem_key}-${_paramsP?.dsSessionP?.toString() || ''}`; //nodeP.xu_tree_id ||
11279
11279
 
11280
11280
  /////////////////////////////////
11281
11281
 
@@ -11331,7 +11331,7 @@ func.UI.screen.create_container = function (SESSION_ID, $root_container, nodeP,
11331
11331
  prog_id: _paramsP.prog_id,
11332
11332
  nodeid: nodeP.id,
11333
11333
  ui_type: nodeP.tagName,
11334
- xu_id: xu_id,
11334
+ xu_id,
11335
11335
  recordid: currentRecordId,
11336
11336
  paramsP: _paramsP,
11337
11337
  key: keyP,
@@ -11339,7 +11339,6 @@ func.UI.screen.create_container = function (SESSION_ID, $root_container, nodeP,
11339
11339
  screenId: _paramsP.screenId,
11340
11340
  parent_container: $container?.attr('id'),
11341
11341
  elem_key,
11342
- ui_id,
11343
11342
  properties: prop,
11344
11343
  node: nodeP,
11345
11344
  node_org: _.cloneDeep(nodeP),