@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/css/mobile.css CHANGED
@@ -1061,3 +1061,8 @@ xu-nav {
1061
1061
  .display_none {
1062
1062
  display: none !important;
1063
1063
  }
1064
+
1065
+ xu-render,
1066
+ xu-teleport {
1067
+ display: none;
1068
+ }
@@ -32245,7 +32245,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32245
32245
  if (!value) {
32246
32246
  var cloned_$div = $elm.clone(true);
32247
32247
 
32248
- let $xurender = $('<xurender>').attr('xu-ui-id', $elm.attr('xu-ui-id')).attr('hidden', true).appendTo($container).hide();
32248
+ let $xurender = $('<xurender>').attr('xu-ui-id', $elm.attr('xu-ui-id')).attr('hidden', true).appendTo($container); //.hide();
32249
32249
  let original_data_obj = {
32250
32250
  $container: cloned_$div,
32251
32251
  nodeP: _.cloneDeep(nodeP),
@@ -32259,7 +32259,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32259
32259
  $xurender.data().xuData.original_data_obj = original_data_obj;
32260
32260
  $xurender.data().xuData.xurender_node = cloned_$div;
32261
32261
  $xurender.data().xuAttributes = nodeP.attributes || {};
32262
- $xurender.hide();
32262
+ // $xurender.hide();
32263
32263
 
32264
32264
  $elm.remove();
32265
32265
  return { abort: true };
@@ -32930,12 +32930,12 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
32930
32930
 
32931
32931
  const get_xuExp = async function (attrib) {
32932
32932
  if (is_skeleton) return;
32933
-
32934
- let _xuData = $elm.data().xuData;
32935
- if (!_xuData.attr_exp_info) {
32936
- _xuData.attr_exp_info = {};
32933
+ if (glb.new_xu_render) {
32934
+ let _xuData = $elm.data().xuData;
32935
+ if (!_xuData.attr_exp_info) {
32936
+ _xuData.attr_exp_info = {};
32937
+ }
32937
32938
  }
32938
-
32939
32939
  const attr = `xu-exp:${attrib}`;
32940
32940
 
32941
32941
  if (!nodeP?.attributes?.hasOwnProperty(attr)) return;
@@ -32944,7 +32944,9 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
32944
32944
  // if (!value) return func.UI.screen.fix_val_defaults(attrib, exp || nodeP.attributes[attrib]);
32945
32945
 
32946
32946
  var res = await func.expression.get(SESSION_ID, exp, paramsP.dsSessionP, 'UI Attr EXP', _ds.currentRecordId);
32947
- _xuData.attr_exp_info[attrib] = res;
32947
+ if (glb.new_xu_render) {
32948
+ _xuData.attr_exp_info[attrib] = res;
32949
+ }
32948
32950
  // nodeP.attributes[attr] = value; //{ value: value, res: res };
32949
32951
  done_exp.push(attr);
32950
32952
  return res.result; //func.UI.screen.fix_val_defaults(attrib, res.result);