@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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -11732,7 +11732,8 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11732
11732
|
if (val?.includes(field_id)) {
|
|
11733
11733
|
const parent_element_ui_id = node_id;
|
|
11734
11734
|
debugger;
|
|
11735
|
-
let _$elem = $(`[xu-ui-id^=${parent_element_ui_id}]`);
|
|
11735
|
+
// let _$elem = $(`[xu-ui-id^=${parent_element_ui_id}]`);
|
|
11736
|
+
let _$elem = $(`[xu-node-id=${parent_element_ui_id}]`);
|
|
11736
11737
|
|
|
11737
11738
|
const _elem_key = parent_element_ui_id;
|
|
11738
11739
|
const _elem_val = { attributes: [], $elm: _$elem };
|
|
@@ -11764,6 +11765,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11764
11765
|
|
|
11765
11766
|
if (glb.new_xu_render) {
|
|
11766
11767
|
if (attr === 'xu-exp:xu-render' || attr === 'xu-render') {
|
|
11768
|
+
let _$elem = $(`[xu-node-id=${parent_element_ui_id}]`);
|
|
11767
11769
|
debugger;
|
|
11768
11770
|
}
|
|
11769
11771
|
}
|
|
@@ -13709,37 +13711,40 @@ func.UI.screen.create_container = async function (SESSION_ID, $root_container, n
|
|
|
13709
13711
|
// const new_ui_id = await func.common.sha256(ui_id);
|
|
13710
13712
|
const new_ui_id = await generate_xu_ui_id(SESSION_ID, nodeP, $container, paramsP, keyP);
|
|
13711
13713
|
|
|
13712
|
-
$div
|
|
13713
|
-
|
|
13714
|
-
|
|
13715
|
-
|
|
13716
|
-
|
|
13717
|
-
|
|
13718
|
-
|
|
13719
|
-
|
|
13720
|
-
|
|
13721
|
-
|
|
13722
|
-
|
|
13723
|
-
|
|
13724
|
-
|
|
13725
|
-
|
|
13726
|
-
|
|
13727
|
-
|
|
13728
|
-
|
|
13729
|
-
|
|
13730
|
-
|
|
13731
|
-
|
|
13732
|
-
|
|
13733
|
-
|
|
13734
|
-
|
|
13714
|
+
$div
|
|
13715
|
+
.attr('xu-ui-id', new_ui_id)
|
|
13716
|
+
.attr('xu-node-id', nodeP.id)
|
|
13717
|
+
.data({
|
|
13718
|
+
xuData: {
|
|
13719
|
+
prog_id: _paramsP.prog_id,
|
|
13720
|
+
nodeid: nodeP.id,
|
|
13721
|
+
ui_type: nodeP.tagName,
|
|
13722
|
+
xu_id,
|
|
13723
|
+
recordid: currentRecordId,
|
|
13724
|
+
paramsP: _paramsP,
|
|
13725
|
+
key: keyP,
|
|
13726
|
+
key_path, //:($container?.data()?.xuData?.key || "0") + "-" + (keyP || "0"),
|
|
13727
|
+
screenId: _paramsP.screenId,
|
|
13728
|
+
parent_container: $container?.attr('id'),
|
|
13729
|
+
elem_key,
|
|
13730
|
+
properties: prop,
|
|
13731
|
+
node: nodeP,
|
|
13732
|
+
node_org: _.cloneDeep(nodeP),
|
|
13733
|
+
is_panelP: _paramsP.is_panelP,
|
|
13734
|
+
ui_id: new_ui_id,
|
|
13735
|
+
elem_prop: elem_propP,
|
|
13736
|
+
debug_info: {
|
|
13737
|
+
id: nodeP.id,
|
|
13738
|
+
parent_id: $container?.data()?.xuData?.ui_id,
|
|
13739
|
+
items: items,
|
|
13740
|
+
},
|
|
13741
|
+
parent_node: parent_nodeP,
|
|
13742
|
+
currentRecordId: currentRecordId,
|
|
13743
|
+
$root_container: $root_container,
|
|
13744
|
+
parent_element_ui_id: $container?.data()?.xuData?.ui_id,
|
|
13735
13745
|
},
|
|
13736
|
-
|
|
13737
|
-
|
|
13738
|
-
$root_container: $root_container,
|
|
13739
|
-
parent_element_ui_id: $container?.data()?.xuData?.ui_id,
|
|
13740
|
-
},
|
|
13741
|
-
xuAttributes: {},
|
|
13742
|
-
});
|
|
13746
|
+
xuAttributes: {},
|
|
13747
|
+
});
|
|
13743
13748
|
|
|
13744
13749
|
if (div_typeP !== 'svg') {
|
|
13745
13750
|
$div.appendTo($appendTo);
|
|
@@ -9457,7 +9457,8 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9457
9457
|
if (val?.includes(field_id)) {
|
|
9458
9458
|
const parent_element_ui_id = node_id;
|
|
9459
9459
|
debugger;
|
|
9460
|
-
let _$elem = $(`[xu-ui-id^=${parent_element_ui_id}]`);
|
|
9460
|
+
// let _$elem = $(`[xu-ui-id^=${parent_element_ui_id}]`);
|
|
9461
|
+
let _$elem = $(`[xu-node-id=${parent_element_ui_id}]`);
|
|
9461
9462
|
|
|
9462
9463
|
const _elem_key = parent_element_ui_id;
|
|
9463
9464
|
const _elem_val = { attributes: [], $elm: _$elem };
|
|
@@ -9489,6 +9490,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9489
9490
|
|
|
9490
9491
|
if (glb.new_xu_render) {
|
|
9491
9492
|
if (attr === 'xu-exp:xu-render' || attr === 'xu-render') {
|
|
9493
|
+
let _$elem = $(`[xu-node-id=${parent_element_ui_id}]`);
|
|
9492
9494
|
debugger;
|
|
9493
9495
|
}
|
|
9494
9496
|
}
|
|
@@ -11434,37 +11436,40 @@ func.UI.screen.create_container = async function (SESSION_ID, $root_container, n
|
|
|
11434
11436
|
// const new_ui_id = await func.common.sha256(ui_id);
|
|
11435
11437
|
const new_ui_id = await generate_xu_ui_id(SESSION_ID, nodeP, $container, paramsP, keyP);
|
|
11436
11438
|
|
|
11437
|
-
$div
|
|
11438
|
-
|
|
11439
|
-
|
|
11440
|
-
|
|
11441
|
-
|
|
11442
|
-
|
|
11443
|
-
|
|
11444
|
-
|
|
11445
|
-
|
|
11446
|
-
|
|
11447
|
-
|
|
11448
|
-
|
|
11449
|
-
|
|
11450
|
-
|
|
11451
|
-
|
|
11452
|
-
|
|
11453
|
-
|
|
11454
|
-
|
|
11455
|
-
|
|
11456
|
-
|
|
11457
|
-
|
|
11458
|
-
|
|
11459
|
-
|
|
11439
|
+
$div
|
|
11440
|
+
.attr('xu-ui-id', new_ui_id)
|
|
11441
|
+
.attr('xu-node-id', nodeP.id)
|
|
11442
|
+
.data({
|
|
11443
|
+
xuData: {
|
|
11444
|
+
prog_id: _paramsP.prog_id,
|
|
11445
|
+
nodeid: nodeP.id,
|
|
11446
|
+
ui_type: nodeP.tagName,
|
|
11447
|
+
xu_id,
|
|
11448
|
+
recordid: currentRecordId,
|
|
11449
|
+
paramsP: _paramsP,
|
|
11450
|
+
key: keyP,
|
|
11451
|
+
key_path, //:($container?.data()?.xuData?.key || "0") + "-" + (keyP || "0"),
|
|
11452
|
+
screenId: _paramsP.screenId,
|
|
11453
|
+
parent_container: $container?.attr('id'),
|
|
11454
|
+
elem_key,
|
|
11455
|
+
properties: prop,
|
|
11456
|
+
node: nodeP,
|
|
11457
|
+
node_org: _.cloneDeep(nodeP),
|
|
11458
|
+
is_panelP: _paramsP.is_panelP,
|
|
11459
|
+
ui_id: new_ui_id,
|
|
11460
|
+
elem_prop: elem_propP,
|
|
11461
|
+
debug_info: {
|
|
11462
|
+
id: nodeP.id,
|
|
11463
|
+
parent_id: $container?.data()?.xuData?.ui_id,
|
|
11464
|
+
items: items,
|
|
11465
|
+
},
|
|
11466
|
+
parent_node: parent_nodeP,
|
|
11467
|
+
currentRecordId: currentRecordId,
|
|
11468
|
+
$root_container: $root_container,
|
|
11469
|
+
parent_element_ui_id: $container?.data()?.xuData?.ui_id,
|
|
11460
11470
|
},
|
|
11461
|
-
|
|
11462
|
-
|
|
11463
|
-
$root_container: $root_container,
|
|
11464
|
-
parent_element_ui_id: $container?.data()?.xuData?.ui_id,
|
|
11465
|
-
},
|
|
11466
|
-
xuAttributes: {},
|
|
11467
|
-
});
|
|
11471
|
+
xuAttributes: {},
|
|
11472
|
+
});
|
|
11468
11473
|
|
|
11469
11474
|
if (div_typeP !== 'svg') {
|
|
11470
11475
|
$div.appendTo($appendTo);
|