@xuda.io/runtime-bundle 1.0.310 → 1.0.311

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.
@@ -12209,12 +12209,6 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
12209
12209
  .find('*')
12210
12210
  .filter(function () {
12211
12211
  var attr = [];
12212
- console.log($(this));
12213
- // if (
12214
- // dsSession &&
12215
- // $(this).data()?.xuData?.paramsP?.dsSessionP != dsSession
12216
- // )
12217
- // return;
12218
12212
 
12219
12213
  $.each($(this).data()?.xuAttributes, function (key, val) {
12220
12214
  if (key === 'xu-for') {
@@ -12223,7 +12217,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
12223
12217
  attr.push(key);
12224
12218
  }
12225
12219
  }
12226
- console.log(key, val);
12220
+ // console.log(key, val);
12227
12221
  if (!key.substr(0, 2) === 'xu') return;
12228
12222
  if (key.substr(0, 6) === 'xu-exp' && key.substr(6, 1) === ':') {
12229
12223
  if (val?.includes?.(val_field)) {
@@ -12265,7 +12259,10 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
12265
12259
  };
12266
12260
 
12267
12261
  get_selectors();
12268
- console.log('selectors', selectors);
12262
+
12263
+ if (_.isEmpty(selectors)) {
12264
+ }
12265
+
12269
12266
  for await (let [elem_key, elem_val] of Object.entries(selectors)) {
12270
12267
  if (elem_key === 'length') break;
12271
12268
 
@@ -14863,6 +14860,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14863
14860
  [`xu-single-view`]: async function () {
14864
14861
  var exist_elm_obj = get_element_info();
14865
14862
  var $div = exist_elm_obj.div;
14863
+ _session.running_$div = $div;
14866
14864
  if (!exist_elm_obj.div) {
14867
14865
  var $wrapper = $('<div>');
14868
14866
  $div = func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, 'div', $wrapper, '');
@@ -9619,12 +9619,6 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
9619
9619
  .find('*')
9620
9620
  .filter(function () {
9621
9621
  var attr = [];
9622
- console.log($(this));
9623
- // if (
9624
- // dsSession &&
9625
- // $(this).data()?.xuData?.paramsP?.dsSessionP != dsSession
9626
- // )
9627
- // return;
9628
9622
 
9629
9623
  $.each($(this).data()?.xuAttributes, function (key, val) {
9630
9624
  if (key === 'xu-for') {
@@ -9633,7 +9627,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
9633
9627
  attr.push(key);
9634
9628
  }
9635
9629
  }
9636
- console.log(key, val);
9630
+ // console.log(key, val);
9637
9631
  if (!key.substr(0, 2) === 'xu') return;
9638
9632
  if (key.substr(0, 6) === 'xu-exp' && key.substr(6, 1) === ':') {
9639
9633
  if (val?.includes?.(val_field)) {
@@ -9675,7 +9669,10 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
9675
9669
  };
9676
9670
 
9677
9671
  get_selectors();
9678
- console.log('selectors', selectors);
9672
+
9673
+ if (_.isEmpty(selectors)) {
9674
+ }
9675
+
9679
9676
  for await (let [elem_key, elem_val] of Object.entries(selectors)) {
9680
9677
  if (elem_key === 'length') break;
9681
9678
 
@@ -12273,6 +12270,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12273
12270
  [`xu-single-view`]: async function () {
12274
12271
  var exist_elm_obj = get_element_info();
12275
12272
  var $div = exist_elm_obj.div;
12273
+ _session.running_$div = $div;
12276
12274
  if (!exist_elm_obj.div) {
12277
12275
  var $wrapper = $('<div>');
12278
12276
  $div = func.UI.screen.create_container(SESSION_ID, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, prop, null, null, 'div', $wrapper, '');