@xuda.io/runtime-bundle 1.0.565 → 1.0.567

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.
@@ -12338,11 +12338,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12338
12338
  }
12339
12339
  return alter_program();
12340
12340
  },
12341
- // programParameters: async function ($elm, val) {},
12341
+
12342
12342
  'xu-render': async function ($elm, val) {
12343
- // if (val.value) {
12344
- // return {};
12345
- // }
12346
12343
  let ret = await common_fx['xu-render']($elm, val, true);
12347
12344
  return ret;
12348
12345
  },
@@ -12353,16 +12350,17 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12353
12350
  },
12354
12351
  [`xu-teleport`]: {
12355
12352
  to: async function ($elm, val) {
12356
- debugger;
12357
- return {};
12353
+ const ret = await func.UI.screen.render_ui_tree(SESSION_ID, $(val.value), nodeP, parent_infoP, paramsP, jobNoP, is_skeleton, Number(key), null, nodeP, null, $root_container);
12354
+
12355
+ return { abort: true };
12358
12356
  },
12359
12357
  'xu-render': async function ($elm, val) {
12360
- debugger;
12361
- return {};
12358
+ let ret = await common_fx['xu-render']($elm, val, true);
12359
+ return ret;
12362
12360
  },
12363
12361
  'xu-show': async function ($elm, val) {
12364
- debugger;
12365
- return {};
12362
+ let ret = await common_fx['xu-show']($elm, val, true);
12363
+ return ret;
12366
12364
  },
12367
12365
  },
12368
12366
  };
@@ -13241,7 +13239,8 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
13241
13239
 
13242
13240
  const new_key = key.split(':')[0]; // break expression
13243
13241
  if (
13244
- nodeP.tagName !== 'xu-panel' && // nodeP.tagName.substr(0, 3) !== "xu-" &&
13242
+ nodeP.tagName !== 'xu-panel' &&
13243
+ nodeP.tagName !== 'xu-teleport' && // nodeP.tagName.substr(0, 3) !== "xu-" &&
13245
13244
  (new_key.substr(0, 2) !== 'xu' || new_key.substr(2, 1) !== '-')
13246
13245
  ) {
13247
13246
  // handle common html attributes
@@ -10070,11 +10070,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10070
10070
  }
10071
10071
  return alter_program();
10072
10072
  },
10073
- // programParameters: async function ($elm, val) {},
10073
+
10074
10074
  'xu-render': async function ($elm, val) {
10075
- // if (val.value) {
10076
- // return {};
10077
- // }
10078
10075
  let ret = await common_fx['xu-render']($elm, val, true);
10079
10076
  return ret;
10080
10077
  },
@@ -10085,16 +10082,17 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10085
10082
  },
10086
10083
  [`xu-teleport`]: {
10087
10084
  to: async function ($elm, val) {
10088
- debugger;
10089
- return {};
10085
+ const ret = await func.UI.screen.render_ui_tree(SESSION_ID, $(val.value), nodeP, parent_infoP, paramsP, jobNoP, is_skeleton, Number(key), null, nodeP, null, $root_container);
10086
+
10087
+ return { abort: true };
10090
10088
  },
10091
10089
  'xu-render': async function ($elm, val) {
10092
- debugger;
10093
- return {};
10090
+ let ret = await common_fx['xu-render']($elm, val, true);
10091
+ return ret;
10094
10092
  },
10095
10093
  'xu-show': async function ($elm, val) {
10096
- debugger;
10097
- return {};
10094
+ let ret = await common_fx['xu-show']($elm, val, true);
10095
+ return ret;
10098
10096
  },
10099
10097
  },
10100
10098
  };
@@ -10973,7 +10971,8 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
10973
10971
 
10974
10972
  const new_key = key.split(':')[0]; // break expression
10975
10973
  if (
10976
- nodeP.tagName !== 'xu-panel' && // nodeP.tagName.substr(0, 3) !== "xu-" &&
10974
+ nodeP.tagName !== 'xu-panel' &&
10975
+ nodeP.tagName !== 'xu-teleport' && // nodeP.tagName.substr(0, 3) !== "xu-" &&
10977
10976
  (new_key.substr(0, 2) !== 'xu' || new_key.substr(2, 1) !== '-')
10978
10977
  ) {
10979
10978
  // handle common html attributes