@xuda.io/runtime-bundle 1.0.324 → 1.0.325

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.
@@ -12710,6 +12710,10 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12710
12710
  const trigger = val.key.split('xu-on:')[1].toLowerCase();
12711
12711
  $elm.on(trigger, async function (evt) {
12712
12712
  for await (const [key, val] of Object.entries($elm.data().xuAttributes['xu-on:' + evt.type])) {
12713
+ if (val.event_modifiers && evt[val.event_modifiers]) {
12714
+ evt[val.event_modifiers]();
12715
+ }
12716
+
12713
12717
  if (val.handler === 'custom') {
12714
12718
  // do BL
12715
12719
  for await (const [key2, val2] of Object.entries(val.event)) {
@@ -12720,10 +12724,6 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12720
12724
  }
12721
12725
  if (!cond) continue;
12722
12726
 
12723
- if (val.event_modifiers && evt[val.event_modifiers]) {
12724
- evt[val.event_modifiers]();
12725
- }
12726
-
12727
12727
  func.events.add_to_queue(SESSION_ID, 'element event', val2.id, evt.type, val2.data.action, val2.data.name, null, $elm.attr('xu-ui-id'), null, evt, null, null, null, paramsP.dsSessionP, null, null, null, evt.type, val2.data.name, null, null, val2, null, null, null, null, null, null);
12728
12728
  }
12729
12729
  }
@@ -10776,6 +10776,10 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10776
10776
  const trigger = val.key.split('xu-on:')[1].toLowerCase();
10777
10777
  $elm.on(trigger, async function (evt) {
10778
10778
  for await (const [key, val] of Object.entries($elm.data().xuAttributes['xu-on:' + evt.type])) {
10779
+ if (val.event_modifiers && evt[val.event_modifiers]) {
10780
+ evt[val.event_modifiers]();
10781
+ }
10782
+
10779
10783
  if (val.handler === 'custom') {
10780
10784
  // do BL
10781
10785
  for await (const [key2, val2] of Object.entries(val.event)) {
@@ -10786,10 +10790,6 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10786
10790
  }
10787
10791
  if (!cond) continue;
10788
10792
 
10789
- if (val.event_modifiers && evt[val.event_modifiers]) {
10790
- evt[val.event_modifiers]();
10791
- }
10792
-
10793
10793
  func.events.add_to_queue(SESSION_ID, 'element event', val2.id, evt.type, val2.data.action, val2.data.name, null, $elm.attr('xu-ui-id'), null, evt, null, null, null, paramsP.dsSessionP, null, null, null, evt.type, val2.data.name, null, null, val2, null, null, null, null, null, null);
10794
10794
  }
10795
10795
  }