@xuda.io/runtime-bundle 1.0.996 → 1.0.998
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
|
@@ -12446,7 +12446,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12446
12446
|
set_value();
|
|
12447
12447
|
return {};
|
|
12448
12448
|
},
|
|
12449
|
-
'xu-render': async function ($elm, val, from_panel) {
|
|
12449
|
+
'xu-render-org': async function ($elm, val, from_panel) {
|
|
12450
12450
|
var value = await func.common.get_cast_val(SESSION_ID, 'common fx', 'xu-render', 'bool', val.value);
|
|
12451
12451
|
const init_render = function () {
|
|
12452
12452
|
if (!value) {
|
|
@@ -12575,7 +12575,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12575
12575
|
}
|
|
12576
12576
|
return await post_render();
|
|
12577
12577
|
},
|
|
12578
|
-
'xu-render
|
|
12578
|
+
'xu-render': async function ($elm, val, from_panel) {
|
|
12579
12579
|
var value = await func.common.get_cast_val(SESSION_ID, 'common fx', 'xu-render', 'bool', val.value);
|
|
12580
12580
|
const init_render = function () {
|
|
12581
12581
|
if (!value) {
|
|
@@ -12707,6 +12707,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12707
12707
|
$xurender.data().xuData.original_data_obj = original_data_obj;
|
|
12708
12708
|
|
|
12709
12709
|
UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = original_data_obj;
|
|
12710
|
+
const cache_str = get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP);
|
|
12710
12711
|
|
|
12711
12712
|
// }
|
|
12712
12713
|
$elm.replaceWith(tmp_$div.children());
|
|
@@ -14867,6 +14868,14 @@ func.UI.screen.refresh_document_changes_for_realtime_update = async function (SE
|
|
|
14867
14868
|
}
|
|
14868
14869
|
}
|
|
14869
14870
|
};
|
|
14871
|
+
|
|
14872
|
+
const get_xu_render_cache_str = function (SESSION_ID, dsSessionP) {
|
|
14873
|
+
var _session = SESSION_OBJ[SESSION_ID];
|
|
14874
|
+
var _ds = _session.DS_GLB[dsSessionP];
|
|
14875
|
+
|
|
14876
|
+
const data = func.common.find_ROWID_idx(_ds, _ds.currentRecordId);
|
|
14877
|
+
debugger;
|
|
14878
|
+
};
|
|
14870
14879
|
func.UI.component = {};
|
|
14871
14880
|
|
|
14872
14881
|
func.UI.component.create_app_modal_component = function (
|
|
@@ -10171,7 +10171,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10171
10171
|
set_value();
|
|
10172
10172
|
return {};
|
|
10173
10173
|
},
|
|
10174
|
-
'xu-render': async function ($elm, val, from_panel) {
|
|
10174
|
+
'xu-render-org': async function ($elm, val, from_panel) {
|
|
10175
10175
|
var value = await func.common.get_cast_val(SESSION_ID, 'common fx', 'xu-render', 'bool', val.value);
|
|
10176
10176
|
const init_render = function () {
|
|
10177
10177
|
if (!value) {
|
|
@@ -10300,7 +10300,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10300
10300
|
}
|
|
10301
10301
|
return await post_render();
|
|
10302
10302
|
},
|
|
10303
|
-
'xu-render
|
|
10303
|
+
'xu-render': async function ($elm, val, from_panel) {
|
|
10304
10304
|
var value = await func.common.get_cast_val(SESSION_ID, 'common fx', 'xu-render', 'bool', val.value);
|
|
10305
10305
|
const init_render = function () {
|
|
10306
10306
|
if (!value) {
|
|
@@ -10432,6 +10432,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10432
10432
|
$xurender.data().xuData.original_data_obj = original_data_obj;
|
|
10433
10433
|
|
|
10434
10434
|
UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = original_data_obj;
|
|
10435
|
+
const cache_str = get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP);
|
|
10435
10436
|
|
|
10436
10437
|
// }
|
|
10437
10438
|
$elm.replaceWith(tmp_$div.children());
|
|
@@ -12592,6 +12593,14 @@ func.UI.screen.refresh_document_changes_for_realtime_update = async function (SE
|
|
|
12592
12593
|
}
|
|
12593
12594
|
}
|
|
12594
12595
|
};
|
|
12596
|
+
|
|
12597
|
+
const get_xu_render_cache_str = function (SESSION_ID, dsSessionP) {
|
|
12598
|
+
var _session = SESSION_OBJ[SESSION_ID];
|
|
12599
|
+
var _ds = _session.DS_GLB[dsSessionP];
|
|
12600
|
+
|
|
12601
|
+
const data = func.common.find_ROWID_idx(_ds, _ds.currentRecordId);
|
|
12602
|
+
debugger;
|
|
12603
|
+
};
|
|
12595
12604
|
func.UI.component = {};
|
|
12596
12605
|
|
|
12597
12606
|
func.UI.component.create_app_modal_component = function (
|