@xuda.io/runtime-bundle 1.0.1022 → 1.0.1024
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.
|
@@ -33769,7 +33769,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
33769
33769
|
node_promises.push(
|
|
33770
33770
|
new Promise(async (resolve, reject) => {
|
|
33771
33771
|
const ret = await func.UI.screen.render_ui_tree(SESSION_ID, $divP, nodeP.children[key], parent_infoP, paramsP, jobNoP, is_skeleton, Number(key), null, nodeP, null, $root_container);
|
|
33772
|
-
|
|
33772
|
+
|
|
33773
33773
|
resolve();
|
|
33774
33774
|
}),
|
|
33775
33775
|
);
|
|
@@ -34448,7 +34448,12 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34448
34448
|
if (glb.new_xu_render) {
|
|
34449
34449
|
if (ret.xu_render_in_process) {
|
|
34450
34450
|
debugger;
|
|
34451
|
+
const xu_ui_id = $div.attr('xu-ui-id');
|
|
34452
|
+
if (!UI_WORKER_OBJ.xu_render_cache[xu_ui_id]) {
|
|
34453
|
+
UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
|
|
34454
|
+
}
|
|
34451
34455
|
|
|
34456
|
+
UI_WORKER_OBJ.xu_render_cache[xu_ui_id][cache_str] = $div;
|
|
34452
34457
|
return $div;
|
|
34453
34458
|
} else {
|
|
34454
34459
|
$container.append(temp_$container.children());
|
|
@@ -34479,7 +34484,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34479
34484
|
|
|
34480
34485
|
let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, temp_$container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $div, true);
|
|
34481
34486
|
if (ret.abort || nodeP.tagName === 'svg' || !_.isEmpty(nodeP?.attributes?.['xu-text']) || !_.isEmpty(nodeP?.attributes?.['xu-html']) || !_.isEmpty(nodeP?.attributes?.['xu-exp:xu-text']) || !_.isEmpty(nodeP?.attributes?.['xu-exp:xu-html'])) {
|
|
34482
|
-
return await done();
|
|
34487
|
+
return await done(ret);
|
|
34483
34488
|
}
|
|
34484
34489
|
// check if iterator made to prevent children render
|
|
34485
34490
|
|