@xuda.io/runtime-bundle 1.0.479 → 1.0.480
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
|
@@ -9097,18 +9097,16 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
|
|
|
9097
9097
|
SYS_GLOBAL_OBJ_REFS[ref_field_id].props = _ds.in_parameters || {};
|
|
9098
9098
|
|
|
9099
9099
|
if ($elm) {
|
|
9100
|
-
const get_attributes = function (retry = 0) {
|
|
9101
|
-
|
|
9102
|
-
|
|
9103
|
-
|
|
9104
|
-
|
|
9105
|
-
|
|
9106
|
-
|
|
9107
|
-
|
|
9108
|
-
);
|
|
9109
|
-
};
|
|
9100
|
+
// const get_attributes = function (retry = 0) {
|
|
9101
|
+
// if (retry > 500) return;
|
|
9102
|
+
// $elm?.data()?.xuPanelWrapper?.panelXuAttributes ||
|
|
9103
|
+
// $elm?.data()?.xuData?.debug_info?.attribute_stat ||
|
|
9104
|
+
// setTimeout(() => {
|
|
9105
|
+
// get_attributes(retry + 1);
|
|
9106
|
+
// }, 500);
|
|
9107
|
+
// };
|
|
9110
9108
|
|
|
9111
|
-
const attributes =
|
|
9109
|
+
const attributes = $elm?.data()?.xuData?.xuPanelProps || $elm?.data()?.xuData?.debug_info?.attribute_stat || {};
|
|
9112
9110
|
SYS_GLOBAL_OBJ_REFS[ref_field_id].attributes = attributes;
|
|
9113
9111
|
SYS_GLOBAL_OBJ_REFS[ref_field_id].xu_ui_id = $elm.attr('xu-ui-id');
|
|
9114
9112
|
}
|
|
@@ -11981,6 +11979,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
11981
11979
|
const param_obj = await get_params_obj_new(SESSION_ID, prog_id, nodeP, paramsP.dsSessionP);
|
|
11982
11980
|
let ret_panel = await func.UI.screen.init(SESSION_ID, prog_id, paramsP.screenId, _ds, $elm, null, _ds.currentRecordId, null, true, param_obj, 'initXu_panel');
|
|
11983
11981
|
ret = { $new_div: ret_panel };
|
|
11982
|
+
$container.data().xuData.xuPanelProps = $elm.data().xuAttributes;
|
|
11984
11983
|
return ret;
|
|
11985
11984
|
}
|
|
11986
11985
|
|
|
@@ -9098,18 +9098,16 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
|
|
|
9098
9098
|
SYS_GLOBAL_OBJ_REFS[ref_field_id].props = _ds.in_parameters || {};
|
|
9099
9099
|
|
|
9100
9100
|
if ($elm) {
|
|
9101
|
-
const get_attributes = function (retry = 0) {
|
|
9102
|
-
|
|
9103
|
-
|
|
9104
|
-
|
|
9105
|
-
|
|
9106
|
-
|
|
9107
|
-
|
|
9108
|
-
|
|
9109
|
-
);
|
|
9110
|
-
};
|
|
9101
|
+
// const get_attributes = function (retry = 0) {
|
|
9102
|
+
// if (retry > 500) return;
|
|
9103
|
+
// $elm?.data()?.xuPanelWrapper?.panelXuAttributes ||
|
|
9104
|
+
// $elm?.data()?.xuData?.debug_info?.attribute_stat ||
|
|
9105
|
+
// setTimeout(() => {
|
|
9106
|
+
// get_attributes(retry + 1);
|
|
9107
|
+
// }, 500);
|
|
9108
|
+
// };
|
|
9111
9109
|
|
|
9112
|
-
const attributes =
|
|
9110
|
+
const attributes = $elm?.data()?.xuData?.xuPanelProps || $elm?.data()?.xuData?.debug_info?.attribute_stat || {};
|
|
9113
9111
|
SYS_GLOBAL_OBJ_REFS[ref_field_id].attributes = attributes;
|
|
9114
9112
|
SYS_GLOBAL_OBJ_REFS[ref_field_id].xu_ui_id = $elm.attr('xu-ui-id');
|
|
9115
9113
|
}
|
|
@@ -10054,6 +10052,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10054
10052
|
const param_obj = await get_params_obj_new(SESSION_ID, prog_id, nodeP, paramsP.dsSessionP);
|
|
10055
10053
|
let ret_panel = await func.UI.screen.init(SESSION_ID, prog_id, paramsP.screenId, _ds, $elm, null, _ds.currentRecordId, null, true, param_obj, 'initXu_panel');
|
|
10056
10054
|
ret = { $new_div: ret_panel };
|
|
10055
|
+
$container.data().xuData.xuPanelProps = $elm.data().xuAttributes;
|
|
10057
10056
|
return ret;
|
|
10058
10057
|
}
|
|
10059
10058
|
|