@xuda.io/runtime-bundle 1.0.1121 → 1.0.1123
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
|
@@ -12561,7 +12561,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12561
12561
|
if (!value) {
|
|
12562
12562
|
var cloned_$div = $elm.clone(true);
|
|
12563
12563
|
|
|
12564
|
-
let $xurender = $('<xurender>').attr('xu-ui-id', $elm.attr('xu-ui-id')).attr('hidden', true).appendTo($container)
|
|
12564
|
+
let $xurender = $('<xurender>').attr('xu-ui-id', $elm.attr('xu-ui-id')).attr('hidden', true).appendTo($container); //.hide();
|
|
12565
12565
|
let original_data_obj = {
|
|
12566
12566
|
$container: cloned_$div,
|
|
12567
12567
|
nodeP: _.cloneDeep(nodeP),
|
|
@@ -12575,7 +12575,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12575
12575
|
$xurender.data().xuData.original_data_obj = original_data_obj;
|
|
12576
12576
|
$xurender.data().xuData.xurender_node = cloned_$div;
|
|
12577
12577
|
$xurender.data().xuAttributes = nodeP.attributes || {};
|
|
12578
|
-
$xurender.hide();
|
|
12578
|
+
// $xurender.hide();
|
|
12579
12579
|
|
|
12580
12580
|
$elm.remove();
|
|
12581
12581
|
return { abort: true };
|
|
@@ -13246,12 +13246,12 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
13246
13246
|
|
|
13247
13247
|
const get_xuExp = async function (attrib) {
|
|
13248
13248
|
if (is_skeleton) return;
|
|
13249
|
-
|
|
13250
|
-
|
|
13251
|
-
|
|
13252
|
-
|
|
13249
|
+
if (glb.new_xu_render) {
|
|
13250
|
+
let _xuData = $elm.data().xuData;
|
|
13251
|
+
if (!_xuData.attr_exp_info) {
|
|
13252
|
+
_xuData.attr_exp_info = {};
|
|
13253
|
+
}
|
|
13253
13254
|
}
|
|
13254
|
-
|
|
13255
13255
|
const attr = `xu-exp:${attrib}`;
|
|
13256
13256
|
|
|
13257
13257
|
if (!nodeP?.attributes?.hasOwnProperty(attr)) return;
|
|
@@ -13260,7 +13260,9 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
13260
13260
|
// if (!value) return func.UI.screen.fix_val_defaults(attrib, exp || nodeP.attributes[attrib]);
|
|
13261
13261
|
|
|
13262
13262
|
var res = await func.expression.get(SESSION_ID, exp, paramsP.dsSessionP, 'UI Attr EXP', _ds.currentRecordId);
|
|
13263
|
-
|
|
13263
|
+
if (glb.new_xu_render) {
|
|
13264
|
+
_xuData.attr_exp_info[attrib] = res;
|
|
13265
|
+
}
|
|
13264
13266
|
// nodeP.attributes[attr] = value; //{ value: value, res: res };
|
|
13265
13267
|
done_exp.push(attr);
|
|
13266
13268
|
return res.result; //func.UI.screen.fix_val_defaults(attrib, res.result);
|
|
@@ -10286,7 +10286,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10286
10286
|
if (!value) {
|
|
10287
10287
|
var cloned_$div = $elm.clone(true);
|
|
10288
10288
|
|
|
10289
|
-
let $xurender = $('<xurender>').attr('xu-ui-id', $elm.attr('xu-ui-id')).attr('hidden', true).appendTo($container)
|
|
10289
|
+
let $xurender = $('<xurender>').attr('xu-ui-id', $elm.attr('xu-ui-id')).attr('hidden', true).appendTo($container); //.hide();
|
|
10290
10290
|
let original_data_obj = {
|
|
10291
10291
|
$container: cloned_$div,
|
|
10292
10292
|
nodeP: _.cloneDeep(nodeP),
|
|
@@ -10300,7 +10300,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10300
10300
|
$xurender.data().xuData.original_data_obj = original_data_obj;
|
|
10301
10301
|
$xurender.data().xuData.xurender_node = cloned_$div;
|
|
10302
10302
|
$xurender.data().xuAttributes = nodeP.attributes || {};
|
|
10303
|
-
$xurender.hide();
|
|
10303
|
+
// $xurender.hide();
|
|
10304
10304
|
|
|
10305
10305
|
$elm.remove();
|
|
10306
10306
|
return { abort: true };
|
|
@@ -10971,12 +10971,12 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
10971
10971
|
|
|
10972
10972
|
const get_xuExp = async function (attrib) {
|
|
10973
10973
|
if (is_skeleton) return;
|
|
10974
|
-
|
|
10975
|
-
|
|
10976
|
-
|
|
10977
|
-
|
|
10974
|
+
if (glb.new_xu_render) {
|
|
10975
|
+
let _xuData = $elm.data().xuData;
|
|
10976
|
+
if (!_xuData.attr_exp_info) {
|
|
10977
|
+
_xuData.attr_exp_info = {};
|
|
10978
|
+
}
|
|
10978
10979
|
}
|
|
10979
|
-
|
|
10980
10980
|
const attr = `xu-exp:${attrib}`;
|
|
10981
10981
|
|
|
10982
10982
|
if (!nodeP?.attributes?.hasOwnProperty(attr)) return;
|
|
@@ -10985,7 +10985,9 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
10985
10985
|
// if (!value) return func.UI.screen.fix_val_defaults(attrib, exp || nodeP.attributes[attrib]);
|
|
10986
10986
|
|
|
10987
10987
|
var res = await func.expression.get(SESSION_ID, exp, paramsP.dsSessionP, 'UI Attr EXP', _ds.currentRecordId);
|
|
10988
|
-
|
|
10988
|
+
if (glb.new_xu_render) {
|
|
10989
|
+
_xuData.attr_exp_info[attrib] = res;
|
|
10990
|
+
}
|
|
10989
10991
|
// nodeP.attributes[attr] = value; //{ value: value, res: res };
|
|
10990
10992
|
done_exp.push(attr);
|
|
10991
10993
|
return res.result; //func.UI.screen.fix_val_defaults(attrib, res.result);
|