@xuda.io/runtime-bundle 1.0.338 → 1.0.340
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
|
@@ -11562,7 +11562,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11562
11562
|
.find('*')
|
|
11563
11563
|
.filter(function () {
|
|
11564
11564
|
// // look if the changed field include in the calling in parameters
|
|
11565
|
-
|
|
11565
|
+
let parameter_in_filed_id;
|
|
11566
11566
|
// const _$callingContainer = $(this).data()?.xuData?.paramsP?.$callingContainerP;
|
|
11567
11567
|
// if (_$callingContainer) {
|
|
11568
11568
|
// const _source_xuAttributes = _$callingContainer.data()?.xuAttributes;
|
|
@@ -11707,7 +11707,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11707
11707
|
// xu-for
|
|
11708
11708
|
selectors = {};
|
|
11709
11709
|
get_selectors();
|
|
11710
|
-
console.log('selectors', selectors);
|
|
11710
|
+
// console.log('selectors', selectors);
|
|
11711
11711
|
let refreshed_ids = [];
|
|
11712
11712
|
// handle xu-for
|
|
11713
11713
|
let parent_element_ui_id;
|
|
@@ -11863,34 +11863,6 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
11863
11863
|
return found;
|
|
11864
11864
|
};
|
|
11865
11865
|
|
|
11866
|
-
// // set panels_obj
|
|
11867
|
-
// for await (const [elem_key, elem_val] of Object.entries($elm)) {
|
|
11868
|
-
// if (elem_key === "length") break;
|
|
11869
|
-
// var $div = $(elem_val);
|
|
11870
|
-
// let xuData = $div.data().xuData;
|
|
11871
|
-
|
|
11872
|
-
// if (!$div.data().xuPanelData) continue;
|
|
11873
|
-
|
|
11874
|
-
// let dsSession = xuData.paramsP.dsSessionP;
|
|
11875
|
-
// var _session = SESSION_OBJ[SESSION_ID];
|
|
11876
|
-
// let _ds = _session?.DS_GLB[dsSession];
|
|
11877
|
-
// if (!_ds) continue;
|
|
11878
|
-
|
|
11879
|
-
// if (_ds.tree_obj.disableAutoRefresh) {
|
|
11880
|
-
// continue;
|
|
11881
|
-
// }
|
|
11882
|
-
|
|
11883
|
-
// const parent_element_ui_id = $div.data().xuPanelData.parent_element_ui_id;
|
|
11884
|
-
// if (!panels_obj[parent_element_ui_id]) {
|
|
11885
|
-
// panels_obj[parent_element_ui_id] = {
|
|
11886
|
-
// _ds,
|
|
11887
|
-
// $div,
|
|
11888
|
-
// ids: [],
|
|
11889
|
-
// };
|
|
11890
|
-
// }
|
|
11891
|
-
// panels_obj[parent_element_ui_id].ids.push($div.attr("xu-ui-id"));
|
|
11892
|
-
// }
|
|
11893
|
-
|
|
11894
11866
|
for await (const [parent_element_ui_id, panel_val] of Object.entries(panels_obj)) {
|
|
11895
11867
|
const prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, panel_val._ds.prog_id);
|
|
11896
11868
|
const progDataSource_str = JSON.stringify(prog_doc.progDataSource);
|
|
@@ -12222,6 +12194,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12222
12194
|
|
|
12223
12195
|
const common_fx = {
|
|
12224
12196
|
'xu-ref': async function ($elm, val) {
|
|
12197
|
+
console.log('xu-ref', $elm, val);
|
|
12225
12198
|
return {};
|
|
12226
12199
|
},
|
|
12227
12200
|
'xu-bind': async function ($elm, val) {
|
|
@@ -9628,7 +9628,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9628
9628
|
.find('*')
|
|
9629
9629
|
.filter(function () {
|
|
9630
9630
|
// // look if the changed field include in the calling in parameters
|
|
9631
|
-
|
|
9631
|
+
let parameter_in_filed_id;
|
|
9632
9632
|
// const _$callingContainer = $(this).data()?.xuData?.paramsP?.$callingContainerP;
|
|
9633
9633
|
// if (_$callingContainer) {
|
|
9634
9634
|
// const _source_xuAttributes = _$callingContainer.data()?.xuAttributes;
|
|
@@ -9773,7 +9773,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9773
9773
|
// xu-for
|
|
9774
9774
|
selectors = {};
|
|
9775
9775
|
get_selectors();
|
|
9776
|
-
console.log('selectors', selectors);
|
|
9776
|
+
// console.log('selectors', selectors);
|
|
9777
9777
|
let refreshed_ids = [];
|
|
9778
9778
|
// handle xu-for
|
|
9779
9779
|
let parent_element_ui_id;
|
|
@@ -9929,34 +9929,6 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
9929
9929
|
return found;
|
|
9930
9930
|
};
|
|
9931
9931
|
|
|
9932
|
-
// // set panels_obj
|
|
9933
|
-
// for await (const [elem_key, elem_val] of Object.entries($elm)) {
|
|
9934
|
-
// if (elem_key === "length") break;
|
|
9935
|
-
// var $div = $(elem_val);
|
|
9936
|
-
// let xuData = $div.data().xuData;
|
|
9937
|
-
|
|
9938
|
-
// if (!$div.data().xuPanelData) continue;
|
|
9939
|
-
|
|
9940
|
-
// let dsSession = xuData.paramsP.dsSessionP;
|
|
9941
|
-
// var _session = SESSION_OBJ[SESSION_ID];
|
|
9942
|
-
// let _ds = _session?.DS_GLB[dsSession];
|
|
9943
|
-
// if (!_ds) continue;
|
|
9944
|
-
|
|
9945
|
-
// if (_ds.tree_obj.disableAutoRefresh) {
|
|
9946
|
-
// continue;
|
|
9947
|
-
// }
|
|
9948
|
-
|
|
9949
|
-
// const parent_element_ui_id = $div.data().xuPanelData.parent_element_ui_id;
|
|
9950
|
-
// if (!panels_obj[parent_element_ui_id]) {
|
|
9951
|
-
// panels_obj[parent_element_ui_id] = {
|
|
9952
|
-
// _ds,
|
|
9953
|
-
// $div,
|
|
9954
|
-
// ids: [],
|
|
9955
|
-
// };
|
|
9956
|
-
// }
|
|
9957
|
-
// panels_obj[parent_element_ui_id].ids.push($div.attr("xu-ui-id"));
|
|
9958
|
-
// }
|
|
9959
|
-
|
|
9960
9932
|
for await (const [parent_element_ui_id, panel_val] of Object.entries(panels_obj)) {
|
|
9961
9933
|
const prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, panel_val._ds.prog_id);
|
|
9962
9934
|
const progDataSource_str = JSON.stringify(prog_doc.progDataSource);
|
|
@@ -10288,6 +10260,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10288
10260
|
|
|
10289
10261
|
const common_fx = {
|
|
10290
10262
|
'xu-ref': async function ($elm, val) {
|
|
10263
|
+
console.log('xu-ref', $elm, val);
|
|
10291
10264
|
return {};
|
|
10292
10265
|
},
|
|
10293
10266
|
'xu-bind': async function ($elm, val) {
|