@xuda.io/runtime-bundle 1.0.1049 → 1.0.1051

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.
@@ -12672,7 +12672,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12672
12672
  };
12673
12673
 
12674
12674
  const post_render = async function () {
12675
- let nodeP = $container.data().xuData.node[keyP];
12675
+ let nodeP = $container.data().xuData.node.children[keyP];
12676
12676
  nodeP.xu_render_made = value;
12677
12677
  if (value) {
12678
12678
  try {
@@ -14819,15 +14819,15 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14819
14819
  }
14820
14820
  const done = async function (ret = {}) {
14821
14821
  if (glb.new_xu_render) {
14822
+ const xu_ui_id = $div.attr('xu-ui-id');
14823
+ if (!UI_WORKER_OBJ.xu_render_cache[xu_ui_id]) {
14824
+ UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
14825
+ }
14826
+ const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP);
14827
+ UI_WORKER_OBJ.xu_render_cache[xu_ui_id][xu_render_cache_id] = { $div: $div.clone(true) };
14828
+ nodeP.xu_render_xu_ui_id = xu_ui_id;
14829
+ nodeP.xu_render_cache_id = xu_render_cache_id;
14822
14830
  if (ret.xu_render_in_process) {
14823
- const xu_ui_id = $div.attr('xu-ui-id');
14824
- if (!UI_WORKER_OBJ.xu_render_cache[xu_ui_id]) {
14825
- UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
14826
- }
14827
- const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP);
14828
- UI_WORKER_OBJ.xu_render_cache[xu_ui_id][xu_render_cache_id] = { $div: $div.clone(true) };
14829
- nodeP.xu_render_xu_ui_id = xu_ui_id;
14830
- nodeP.xu_render_cache_id = xu_render_cache_id;
14831
14831
  return $div;
14832
14832
  } else {
14833
14833
  $container.append(temp_$container.children());
@@ -10397,7 +10397,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10397
10397
  };
10398
10398
 
10399
10399
  const post_render = async function () {
10400
- let nodeP = $container.data().xuData.node[keyP];
10400
+ let nodeP = $container.data().xuData.node.children[keyP];
10401
10401
  nodeP.xu_render_made = value;
10402
10402
  if (value) {
10403
10403
  try {
@@ -12544,15 +12544,15 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12544
12544
  }
12545
12545
  const done = async function (ret = {}) {
12546
12546
  if (glb.new_xu_render) {
12547
+ const xu_ui_id = $div.attr('xu-ui-id');
12548
+ if (!UI_WORKER_OBJ.xu_render_cache[xu_ui_id]) {
12549
+ UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
12550
+ }
12551
+ const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP);
12552
+ UI_WORKER_OBJ.xu_render_cache[xu_ui_id][xu_render_cache_id] = { $div: $div.clone(true) };
12553
+ nodeP.xu_render_xu_ui_id = xu_ui_id;
12554
+ nodeP.xu_render_cache_id = xu_render_cache_id;
12547
12555
  if (ret.xu_render_in_process) {
12548
- const xu_ui_id = $div.attr('xu-ui-id');
12549
- if (!UI_WORKER_OBJ.xu_render_cache[xu_ui_id]) {
12550
- UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
12551
- }
12552
- const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP);
12553
- UI_WORKER_OBJ.xu_render_cache[xu_ui_id][xu_render_cache_id] = { $div: $div.clone(true) };
12554
- nodeP.xu_render_xu_ui_id = xu_ui_id;
12555
- nodeP.xu_render_cache_id = xu_render_cache_id;
12556
12556
  return $div;
12557
12557
  } else {
12558
12558
  $container.append(temp_$container.children());