@xuda.io/runtime-bundle 1.0.357 → 1.0.359
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-bundle.js +27 -33
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +27 -33
- package/js/xuda-runtime-slim.min.es.js +27 -33
- package/js/xuda-runtime-slim.min.js +2 -2
- package/js/xuda-server-bundle.min.mjs +2 -2
- package/js/xuda-server-bundle.mjs +10 -9
- package/js/xuda-worker-bundle.js +10 -9
- package/js/xuda-worker-bundle.min.js +2 -2
- package/package.json +1 -1
|
@@ -30109,15 +30109,15 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
30109
30109
|
_ds.data_feed.rows[row_idx][field_id] = value;
|
|
30110
30110
|
await set_fieldComputed_dependencies(dataSource, field_id, null);
|
|
30111
30111
|
|
|
30112
|
-
// search the field in refs
|
|
30113
|
-
let _ds_0 = _session.DS_GLB[0];
|
|
30114
|
-
for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
|
|
30115
|
-
|
|
30116
|
-
|
|
30117
|
-
|
|
30118
|
-
|
|
30119
|
-
|
|
30120
|
-
}
|
|
30112
|
+
// // search the field in refs
|
|
30113
|
+
// let _ds_0 = _session.DS_GLB[0];
|
|
30114
|
+
// for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
|
|
30115
|
+
// if (val.ds.dsSession == dataSource) {
|
|
30116
|
+
// if (!fields_changed.includes(ref_name)) {
|
|
30117
|
+
// fields_changed.push(ref_name);
|
|
30118
|
+
// }
|
|
30119
|
+
// }
|
|
30120
|
+
// }
|
|
30121
30121
|
|
|
30122
30122
|
if (!update_local_scope_only) {
|
|
30123
30123
|
let tree_ret = await func.utils.TREE_OBJ.get(SESSION_ID, _ds.prog_id);
|
|
@@ -31432,9 +31432,6 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
31432
31432
|
|
|
31433
31433
|
if (!elem_val?.$elm?.data()?.xuData?.ui_type) continue;
|
|
31434
31434
|
|
|
31435
|
-
// // already rended
|
|
31436
|
-
// if (elem_val.$elm[0].tagName !== 'XURENDER' && elem_val?.$elm?.length) continue;
|
|
31437
|
-
|
|
31438
31435
|
new_job = await func.UI.worker.add_to_queue(
|
|
31439
31436
|
SESSION_ID,
|
|
31440
31437
|
'gui event',
|
|
@@ -33867,10 +33864,6 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
33867
33864
|
var $wrapper = $('<div>');
|
|
33868
33865
|
$div = func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, 'div', $wrapper, '');
|
|
33869
33866
|
|
|
33870
|
-
// if (paramsP.is_panelP) {
|
|
33871
|
-
// var id = $div.attr('id');
|
|
33872
|
-
// }
|
|
33873
|
-
|
|
33874
33867
|
if (!$div) return;
|
|
33875
33868
|
|
|
33876
33869
|
if (!REFRESHER_IN_PROGRESS && (paramsP.is_mobile_popover || paramsP.is_mobile_page)) {
|
|
@@ -33916,24 +33909,24 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
33916
33909
|
}
|
|
33917
33910
|
|
|
33918
33911
|
const done = async function (continuous_idx) {
|
|
33919
|
-
const do_callback = async function ($div) {
|
|
33920
|
-
|
|
33921
|
-
|
|
33922
|
-
|
|
33923
|
-
|
|
33924
|
-
|
|
33925
|
-
|
|
33926
|
-
|
|
33927
|
-
|
|
33928
|
-
|
|
33929
|
-
|
|
33930
|
-
|
|
33931
|
-
|
|
33932
|
-
|
|
33933
|
-
|
|
33912
|
+
// const do_callback = async function ($div) {
|
|
33913
|
+
// // if ($root_container.data().xuData.progress_bar_circle) {
|
|
33914
|
+
// // setTimeout(function () {
|
|
33915
|
+
// // $.each(
|
|
33916
|
+
// // $root_container.data().xuData.progress_bar_circle,
|
|
33917
|
+
// // function (key, val) {
|
|
33918
|
+
// // val.bar.set(parseFloat(val.value)); // Number from 0.0 to 1.0
|
|
33919
|
+
// // }
|
|
33920
|
+
// // );
|
|
33921
|
+
// // }, 2000);
|
|
33922
|
+
// // }
|
|
33923
|
+
|
|
33924
|
+
// if (paramsP.screenInfo.properties?.rtl) {
|
|
33925
|
+
// $div_content.attr('dir', 'rtl');
|
|
33926
|
+
// }
|
|
33934
33927
|
|
|
33935
|
-
|
|
33936
|
-
};
|
|
33928
|
+
// return $div;
|
|
33929
|
+
// };
|
|
33937
33930
|
await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $container, true);
|
|
33938
33931
|
|
|
33939
33932
|
return await render_screen_type($div);
|
|
@@ -34818,6 +34811,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
34818
34811
|
var split = [];
|
|
34819
34812
|
var var_Arr = [];
|
|
34820
34813
|
split = func.expression.parse(ret);
|
|
34814
|
+
console.log(valP, split);
|
|
34821
34815
|
for await (const [arr_key, val] of Object.entries(split)) {
|
|
34822
34816
|
// run each field
|
|
34823
34817
|
const key = Number(arr_key);
|