@xuda.io/runtime-bundle 1.0.310 → 1.0.312
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.
|
@@ -31578,12 +31578,6 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
31578
31578
|
.find('*')
|
|
31579
31579
|
.filter(function () {
|
|
31580
31580
|
var attr = [];
|
|
31581
|
-
console.log($(this));
|
|
31582
|
-
// if (
|
|
31583
|
-
// dsSession &&
|
|
31584
|
-
// $(this).data()?.xuData?.paramsP?.dsSessionP != dsSession
|
|
31585
|
-
// )
|
|
31586
|
-
// return;
|
|
31587
31581
|
|
|
31588
31582
|
$.each($(this).data()?.xuAttributes, function (key, val) {
|
|
31589
31583
|
if (key === 'xu-for') {
|
|
@@ -31592,7 +31586,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
31592
31586
|
attr.push(key);
|
|
31593
31587
|
}
|
|
31594
31588
|
}
|
|
31595
|
-
console.log(key, val);
|
|
31589
|
+
// console.log(key, val);
|
|
31596
31590
|
if (!key.substr(0, 2) === 'xu') return;
|
|
31597
31591
|
if (key.substr(0, 6) === 'xu-exp' && key.substr(6, 1) === ':') {
|
|
31598
31592
|
if (val?.includes?.(val_field)) {
|
|
@@ -31634,7 +31628,10 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
31634
31628
|
};
|
|
31635
31629
|
|
|
31636
31630
|
get_selectors();
|
|
31637
|
-
|
|
31631
|
+
|
|
31632
|
+
if (_.isEmpty(selectors)) {
|
|
31633
|
+
}
|
|
31634
|
+
|
|
31638
31635
|
for await (let [elem_key, elem_val] of Object.entries(selectors)) {
|
|
31639
31636
|
if (elem_key === 'length') break;
|
|
31640
31637
|
|
|
@@ -33576,7 +33573,8 @@ func.UI.screen.screen_loading_done = async function (SESSION_ID, paramsP, $div,
|
|
|
33576
33573
|
|
|
33577
33574
|
func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, parent_infoP, paramsP, jobNoP, is_skeleton, keyP, is_mainP, parent_nodeP, check_existP, $root_container) {
|
|
33578
33575
|
if (!is_skeleton) {
|
|
33579
|
-
|
|
33576
|
+
const _session = SESSION_OBJ[SESSION_ID];
|
|
33577
|
+
var _ds = _session.DS_GLB[paramsP.dsSessionP];
|
|
33580
33578
|
}
|
|
33581
33579
|
var prop;
|
|
33582
33580
|
try {
|
|
@@ -34232,6 +34230,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34232
34230
|
[`xu-single-view`]: async function () {
|
|
34233
34231
|
var exist_elm_obj = get_element_info();
|
|
34234
34232
|
var $div = exist_elm_obj.div;
|
|
34233
|
+
_session.running_$div = $div;
|
|
34235
34234
|
if (!exist_elm_obj.div) {
|
|
34236
34235
|
var $wrapper = $('<div>');
|
|
34237
34236
|
$div = func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, 'div', $wrapper, '');
|