@xuda.io/runtime-bundle 1.0.1061 → 1.0.1062
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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -8691,6 +8691,10 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
8691
8691
|
|
|
8692
8692
|
var $elm = func.UI.utils.find_in_element_data('xuData', $(SESSION_OBJ[SESSION_ID].root_element), 'xu_id', queue_obj.paramsP.elem_key);
|
|
8693
8693
|
|
|
8694
|
+
if (glb.new_xu_render) {
|
|
8695
|
+
$elm = $(`[xu-ui-id="${queue_obj.paramsP.elem_key}"]`);
|
|
8696
|
+
}
|
|
8697
|
+
|
|
8694
8698
|
if (!$elm.length) {
|
|
8695
8699
|
return done();
|
|
8696
8700
|
}
|
|
@@ -14927,7 +14931,7 @@ func.UI.screen.refresh_document_changes_for_realtime_update = async function (SE
|
|
|
14927
14931
|
}
|
|
14928
14932
|
};
|
|
14929
14933
|
|
|
14930
|
-
const get_xu_render_cache_str = async function (SESSION_ID, dsSessionP) {
|
|
14934
|
+
const get_xu_render_cache_str = async function (SESSION_ID, dsSessionP, exclude_vars = []) {
|
|
14931
14935
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
14932
14936
|
var _ds = _session.DS_GLB[dsSessionP];
|
|
14933
14937
|
|
|
@@ -14937,6 +14941,7 @@ const get_xu_render_cache_str = async function (SESSION_ID, dsSessionP) {
|
|
|
14937
14941
|
let str = '';
|
|
14938
14942
|
|
|
14939
14943
|
for (const [key, val] of Object.entries(data)) {
|
|
14944
|
+
if (exclude_vars.includes(key)) continue;
|
|
14940
14945
|
str += typeof val !== 'undefined' ? JSON.stringify(val) : '';
|
|
14941
14946
|
}
|
|
14942
14947
|
|
|
@@ -8692,6 +8692,10 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
8692
8692
|
|
|
8693
8693
|
var $elm = func.UI.utils.find_in_element_data('xuData', $(SESSION_OBJ[SESSION_ID].root_element), 'xu_id', queue_obj.paramsP.elem_key);
|
|
8694
8694
|
|
|
8695
|
+
if (glb.new_xu_render) {
|
|
8696
|
+
$elm = $(`[xu-ui-id="${queue_obj.paramsP.elem_key}"]`);
|
|
8697
|
+
}
|
|
8698
|
+
|
|
8695
8699
|
if (!$elm.length) {
|
|
8696
8700
|
return done();
|
|
8697
8701
|
}
|
|
@@ -12652,7 +12656,7 @@ func.UI.screen.refresh_document_changes_for_realtime_update = async function (SE
|
|
|
12652
12656
|
}
|
|
12653
12657
|
};
|
|
12654
12658
|
|
|
12655
|
-
const get_xu_render_cache_str = async function (SESSION_ID, dsSessionP) {
|
|
12659
|
+
const get_xu_render_cache_str = async function (SESSION_ID, dsSessionP, exclude_vars = []) {
|
|
12656
12660
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
12657
12661
|
var _ds = _session.DS_GLB[dsSessionP];
|
|
12658
12662
|
|
|
@@ -12662,6 +12666,7 @@ const get_xu_render_cache_str = async function (SESSION_ID, dsSessionP) {
|
|
|
12662
12666
|
let str = '';
|
|
12663
12667
|
|
|
12664
12668
|
for (const [key, val] of Object.entries(data)) {
|
|
12669
|
+
if (exclude_vars.includes(key)) continue;
|
|
12665
12670
|
str += typeof val !== 'undefined' ? JSON.stringify(val) : '';
|
|
12666
12671
|
}
|
|
12667
12672
|
|