@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.
|
@@ -28256,18 +28256,16 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
|
|
|
28256
28256
|
SYS_GLOBAL_OBJ_REFS[ref_field_id].props = _ds.in_parameters || {};
|
|
28257
28257
|
|
|
28258
28258
|
if ($elm) {
|
|
28259
|
-
const get_attributes = function (retry = 0) {
|
|
28260
|
-
|
|
28261
|
-
|
|
28262
|
-
|
|
28263
|
-
|
|
28264
|
-
|
|
28265
|
-
|
|
28266
|
-
|
|
28267
|
-
);
|
|
28268
|
-
};
|
|
28259
|
+
// const get_attributes = function (retry = 0) {
|
|
28260
|
+
// if (retry > 500) return;
|
|
28261
|
+
// $elm?.data()?.xuPanelWrapper?.panelXuAttributes ||
|
|
28262
|
+
// $elm?.data()?.xuData?.debug_info?.attribute_stat ||
|
|
28263
|
+
// setTimeout(() => {
|
|
28264
|
+
// get_attributes(retry + 1);
|
|
28265
|
+
// }, 500);
|
|
28266
|
+
// };
|
|
28269
28267
|
|
|
28270
|
-
const attributes =
|
|
28268
|
+
const attributes = $elm?.data()?.xuData?.xuPanelProps || $elm?.data()?.xuData?.debug_info?.attribute_stat || {};
|
|
28271
28269
|
SYS_GLOBAL_OBJ_REFS[ref_field_id].attributes = attributes;
|
|
28272
28270
|
SYS_GLOBAL_OBJ_REFS[ref_field_id].xu_ui_id = $elm.attr('xu-ui-id');
|
|
28273
28271
|
}
|
|
@@ -32013,6 +32011,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32013
32011
|
const param_obj = await get_params_obj_new(SESSION_ID, prog_id, nodeP, paramsP.dsSessionP);
|
|
32014
32012
|
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');
|
|
32015
32013
|
ret = { $new_div: ret_panel };
|
|
32014
|
+
$container.data().xuData.xuPanelProps = $elm.data().xuAttributes;
|
|
32016
32015
|
return ret;
|
|
32017
32016
|
}
|
|
32018
32017
|
|