@xuda.io/runtime-bundle 1.0.1135 → 1.0.1136
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
|
@@ -12658,8 +12658,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12658
12658
|
}
|
|
12659
12659
|
func.events.delete_job(SESSION_ID, jobNoP);
|
|
12660
12660
|
};
|
|
12661
|
-
|
|
12662
|
-
if ($elm &&
|
|
12661
|
+
// if ($elm && func.UI.utils.find_in_element_data('xuData', $(SESSION_OBJ[SESSION_ID].root_element), 'xu_id', $elm.data().xuData.xu_id).length) {
|
|
12662
|
+
if ($elm && $(`[xu-ui-id="${$elm.attr('xu-ui-id')}"]`).length) {
|
|
12663
12663
|
if (new_$div.data().xuData.paramsP) {
|
|
12664
12664
|
return await replace();
|
|
12665
12665
|
}
|
|
@@ -13679,8 +13679,8 @@ func.UI.screen.create_container = async function (SESSION_ID, $root_container, n
|
|
|
13679
13679
|
return val.xu_tree_id || val.id;
|
|
13680
13680
|
});
|
|
13681
13681
|
var currentRecordId = $container?.data?.()?.xuData?.recordid || (_ds ? _ds.currentRecordId : '');
|
|
13682
|
-
var xu_id = (glb.screen_num++).toString();
|
|
13683
|
-
xu_id = xu_id += '_' + currentRecordId;
|
|
13682
|
+
// var xu_id = (glb.screen_num++).toString();
|
|
13683
|
+
// xu_id = xu_id += '_' + currentRecordId;
|
|
13684
13684
|
|
|
13685
13685
|
try {
|
|
13686
13686
|
const key_path = `${$container?.data()?.xuData?.key_path || '0'}-${keyP || '0'}`;
|
|
@@ -13761,7 +13761,7 @@ func.UI.screen.create_container = async function (SESSION_ID, $root_container, n
|
|
|
13761
13761
|
prog_id: _paramsP.prog_id,
|
|
13762
13762
|
nodeid: nodeP.id,
|
|
13763
13763
|
ui_type: nodeP.tagName,
|
|
13764
|
-
xu_id,
|
|
13764
|
+
// xu_id,
|
|
13765
13765
|
recordid: currentRecordId,
|
|
13766
13766
|
paramsP: _paramsP,
|
|
13767
13767
|
key: keyP,
|
|
@@ -10383,8 +10383,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10383
10383
|
}
|
|
10384
10384
|
func.events.delete_job(SESSION_ID, jobNoP);
|
|
10385
10385
|
};
|
|
10386
|
-
|
|
10387
|
-
if ($elm &&
|
|
10386
|
+
// if ($elm && func.UI.utils.find_in_element_data('xuData', $(SESSION_OBJ[SESSION_ID].root_element), 'xu_id', $elm.data().xuData.xu_id).length) {
|
|
10387
|
+
if ($elm && $(`[xu-ui-id="${$elm.attr('xu-ui-id')}"]`).length) {
|
|
10388
10388
|
if (new_$div.data().xuData.paramsP) {
|
|
10389
10389
|
return await replace();
|
|
10390
10390
|
}
|
|
@@ -11404,8 +11404,8 @@ func.UI.screen.create_container = async function (SESSION_ID, $root_container, n
|
|
|
11404
11404
|
return val.xu_tree_id || val.id;
|
|
11405
11405
|
});
|
|
11406
11406
|
var currentRecordId = $container?.data?.()?.xuData?.recordid || (_ds ? _ds.currentRecordId : '');
|
|
11407
|
-
var xu_id = (glb.screen_num++).toString();
|
|
11408
|
-
xu_id = xu_id += '_' + currentRecordId;
|
|
11407
|
+
// var xu_id = (glb.screen_num++).toString();
|
|
11408
|
+
// xu_id = xu_id += '_' + currentRecordId;
|
|
11409
11409
|
|
|
11410
11410
|
try {
|
|
11411
11411
|
const key_path = `${$container?.data()?.xuData?.key_path || '0'}-${keyP || '0'}`;
|
|
@@ -11486,7 +11486,7 @@ func.UI.screen.create_container = async function (SESSION_ID, $root_container, n
|
|
|
11486
11486
|
prog_id: _paramsP.prog_id,
|
|
11487
11487
|
nodeid: nodeP.id,
|
|
11488
11488
|
ui_type: nodeP.tagName,
|
|
11489
|
-
xu_id,
|
|
11489
|
+
// xu_id,
|
|
11490
11490
|
recordid: currentRecordId,
|
|
11491
11491
|
paramsP: _paramsP,
|
|
11492
11492
|
key: keyP,
|