@xuda.io/runtime-bundle 1.0.1424 → 1.0.1425

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.
@@ -16053,10 +16053,11 @@ func.runtime.render.bind_xu_event = function (options) {
16053
16053
  evt[val.event_modifiers]();
16054
16054
  }
16055
16055
 
16056
- if (val.workflow) {
16057
- const workflow_keys = Object.keys(val.workflow);
16056
+ const workflow = val.workflow || val.event;
16057
+ if (workflow) {
16058
+ const workflow_keys = Object.keys(workflow);
16058
16059
  for (let workflow_index = 0; workflow_index < workflow_keys.length; workflow_index++) {
16059
- const val2 = val.workflow[workflow_keys[workflow_index]];
16060
+ const val2 = workflow[workflow_keys[workflow_index]];
16060
16061
  if (!val2.data.enabled) continue;
16061
16062
 
16062
16063
  func.events.add_to_queue(
@@ -16768,7 +16769,7 @@ func.runtime.render.normalize_node_attributes = function (nodeP) {
16768
16769
  {
16769
16770
  handler: 'custom',
16770
16771
  props: {},
16771
- event: [
16772
+ workflow: [
16772
16773
  {
16773
16774
  id: Date.now(),
16774
16775
  data: {
@@ -15979,10 +15979,11 @@ func.runtime.render.bind_xu_event = function (options) {
15979
15979
  evt[val.event_modifiers]();
15980
15980
  }
15981
15981
 
15982
- if (val.workflow) {
15983
- const workflow_keys = Object.keys(val.workflow);
15982
+ const workflow = val.workflow || val.event;
15983
+ if (workflow) {
15984
+ const workflow_keys = Object.keys(workflow);
15984
15985
  for (let workflow_index = 0; workflow_index < workflow_keys.length; workflow_index++) {
15985
- const val2 = val.workflow[workflow_keys[workflow_index]];
15986
+ const val2 = workflow[workflow_keys[workflow_index]];
15986
15987
  if (!val2.data.enabled) continue;
15987
15988
 
15988
15989
  func.events.add_to_queue(
@@ -16694,7 +16695,7 @@ func.runtime.render.normalize_node_attributes = function (nodeP) {
16694
16695
  {
16695
16696
  handler: 'custom',
16696
16697
  props: {},
16697
- event: [
16698
+ workflow: [
16698
16699
  {
16699
16700
  id: Date.now(),
16700
16701
  data: {