@xuda.io/runtime-bundle 1.0.1028 → 1.0.1029
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.
|
@@ -31416,7 +31416,8 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
31416
31416
|
if (val?.includes(field_id)) {
|
|
31417
31417
|
const parent_element_ui_id = node_id;
|
|
31418
31418
|
debugger;
|
|
31419
|
-
let _$elem = $(`[xu-ui-id^=${parent_element_ui_id}]`);
|
|
31419
|
+
// let _$elem = $(`[xu-ui-id^=${parent_element_ui_id}]`);
|
|
31420
|
+
let _$elem = $(`[xu-node-id=${parent_element_ui_id}]`);
|
|
31420
31421
|
|
|
31421
31422
|
const _elem_key = parent_element_ui_id;
|
|
31422
31423
|
const _elem_val = { attributes: [], $elm: _$elem };
|
|
@@ -31448,6 +31449,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
31448
31449
|
|
|
31449
31450
|
if (glb.new_xu_render) {
|
|
31450
31451
|
if (attr === 'xu-exp:xu-render' || attr === 'xu-render') {
|
|
31452
|
+
let _$elem = $(`[xu-node-id=${parent_element_ui_id}]`);
|
|
31451
31453
|
debugger;
|
|
31452
31454
|
}
|
|
31453
31455
|
}
|
|
@@ -33393,37 +33395,40 @@ func.UI.screen.create_container = async function (SESSION_ID, $root_container, n
|
|
|
33393
33395
|
// const new_ui_id = await func.common.sha256(ui_id);
|
|
33394
33396
|
const new_ui_id = await generate_xu_ui_id(SESSION_ID, nodeP, $container, paramsP, keyP);
|
|
33395
33397
|
|
|
33396
|
-
$div
|
|
33397
|
-
|
|
33398
|
-
|
|
33399
|
-
|
|
33400
|
-
|
|
33401
|
-
|
|
33402
|
-
|
|
33403
|
-
|
|
33404
|
-
|
|
33405
|
-
|
|
33406
|
-
|
|
33407
|
-
|
|
33408
|
-
|
|
33409
|
-
|
|
33410
|
-
|
|
33411
|
-
|
|
33412
|
-
|
|
33413
|
-
|
|
33414
|
-
|
|
33415
|
-
|
|
33416
|
-
|
|
33417
|
-
|
|
33418
|
-
|
|
33398
|
+
$div
|
|
33399
|
+
.attr('xu-ui-id', new_ui_id)
|
|
33400
|
+
.attr('xu-node-id', nodeP.id)
|
|
33401
|
+
.data({
|
|
33402
|
+
xuData: {
|
|
33403
|
+
prog_id: _paramsP.prog_id,
|
|
33404
|
+
nodeid: nodeP.id,
|
|
33405
|
+
ui_type: nodeP.tagName,
|
|
33406
|
+
xu_id,
|
|
33407
|
+
recordid: currentRecordId,
|
|
33408
|
+
paramsP: _paramsP,
|
|
33409
|
+
key: keyP,
|
|
33410
|
+
key_path, //:($container?.data()?.xuData?.key || "0") + "-" + (keyP || "0"),
|
|
33411
|
+
screenId: _paramsP.screenId,
|
|
33412
|
+
parent_container: $container?.attr('id'),
|
|
33413
|
+
elem_key,
|
|
33414
|
+
properties: prop,
|
|
33415
|
+
node: nodeP,
|
|
33416
|
+
node_org: _.cloneDeep(nodeP),
|
|
33417
|
+
is_panelP: _paramsP.is_panelP,
|
|
33418
|
+
ui_id: new_ui_id,
|
|
33419
|
+
elem_prop: elem_propP,
|
|
33420
|
+
debug_info: {
|
|
33421
|
+
id: nodeP.id,
|
|
33422
|
+
parent_id: $container?.data()?.xuData?.ui_id,
|
|
33423
|
+
items: items,
|
|
33424
|
+
},
|
|
33425
|
+
parent_node: parent_nodeP,
|
|
33426
|
+
currentRecordId: currentRecordId,
|
|
33427
|
+
$root_container: $root_container,
|
|
33428
|
+
parent_element_ui_id: $container?.data()?.xuData?.ui_id,
|
|
33419
33429
|
},
|
|
33420
|
-
|
|
33421
|
-
|
|
33422
|
-
$root_container: $root_container,
|
|
33423
|
-
parent_element_ui_id: $container?.data()?.xuData?.ui_id,
|
|
33424
|
-
},
|
|
33425
|
-
xuAttributes: {},
|
|
33426
|
-
});
|
|
33430
|
+
xuAttributes: {},
|
|
33431
|
+
});
|
|
33427
33432
|
|
|
33428
33433
|
if (div_typeP !== 'svg') {
|
|
33429
33434
|
$div.appendTo($appendTo);
|