n8n-editor-ui 1.57.0 → 1.58.1

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.
Files changed (97) hide show
  1. package/dist/assets/@n8n/{permissions-BdHAniXb.js → permissions-BxSXRD9U.js} +1 -0
  2. package/dist/assets/@vueuse/{core-C-N7SOS8.js → core-BHDhJRX_.js} +56 -54
  3. package/dist/assets/AnnotationTagsDropdown-CvbfWPym.js +116 -0
  4. package/dist/assets/{AuthView-CqcftqAH.js → AuthView-BGHoHWps.js} +2 -2
  5. package/dist/assets/{CanvasControls-Besc3nk2.js → CanvasControls-yHWHIES5.js} +6 -6
  6. package/dist/assets/{ChangePasswordView-BK5O6qCb.js → ChangePasswordView-CDgfEoHx.js} +7 -7
  7. package/dist/assets/{CredentialsView-DEI5jVSq.js → CredentialsView-CWxvvrW-.js} +9 -9
  8. package/dist/assets/{ErrorView-Cb9Ev7Dj.js → ErrorView-D-EXKFCI.js} +6 -6
  9. package/dist/assets/{ExecutionsFilter-fBQ6lOU_.css → ExecutionsFilter-DTy4NQw_.css} +6 -6
  10. package/dist/assets/{ExecutionsFilter-Y7dLoQFk.js → ExecutionsFilter-KJUXh7xs.js} +96 -51
  11. package/dist/assets/{ExecutionsView-DcUlsJSr.js → ExecutionsView-B6RDT32P.js} +9 -9
  12. package/dist/assets/{FixedCollectionParameter-DMEv9len.js → FixedCollectionParameter-CZ0AANCx.js} +6 -6
  13. package/dist/assets/{ForgotMyPasswordView-CrINAbmV.js → ForgotMyPasswordView-CaetKBFO.js} +7 -7
  14. package/dist/assets/{MainHeader-CHYc_PZ4.css → MainHeader-46C-nkS_.css} +35 -34
  15. package/dist/assets/{MainHeader-CnFMyNl3.js → MainHeader-aLR7Mt6h.js} +364 -223
  16. package/dist/assets/{MainSidebar-DnSIEh1g.js → MainSidebar-DfnOQqYS.js} +394 -429
  17. package/dist/assets/{NodeCreation-B-ZsOH-L.js → NodeCreation-CjvfgqMQ.js} +10 -8
  18. package/dist/assets/{NodeCreator-DDYJt0Ze.js → NodeCreator-CqGqvTkz.js} +21 -17
  19. package/dist/assets/{NodeViewSwitcher-D6nuSKAB.js → NodeViewSwitcher-CaNkhcKd.js} +4250 -2021
  20. package/dist/assets/{NodeViewSwitcher-BnlgGD0J.css → NodeViewSwitcher-DF46E4YO.css} +405 -325
  21. package/dist/assets/{ProjectCardBadge-CFNf-mDJ.js → ProjectCardBadge-DQz9p7bj.js} +3 -3
  22. package/dist/assets/{ProjectSettings-ML67RJOi.js → ProjectSettings-D3IQ-XH3.js} +7 -7
  23. package/dist/assets/{ProjectTabs-Cknn_GgB.js → ProjectTabs-CESKkFkd.js} +2 -2
  24. package/dist/assets/{PushConnectionTracker-CWhTRNCw.js → PushConnectionTracker-D7sLotqk.js} +2 -2
  25. package/dist/assets/{ResourcesListLayout-eqk9xNhc.js → ResourcesListLayout-D54JHUFJ.js} +2 -2
  26. package/dist/assets/{RunDataAi-B3Q65dEL.js → RunDataAi-9yv-GkKd.js} +6 -6
  27. package/dist/assets/{RunDataJson-C-dseNta.js → RunDataJson-psJyY-xC.js} +9 -9
  28. package/dist/assets/{RunDataJsonActions-KBZ7hfZN.js → RunDataJsonActions-B3QM-sD6.js} +7 -7
  29. package/dist/assets/{RunDataSearch-tlq4S7N-.js → RunDataSearch-BNei-8eY.js} +6 -6
  30. package/dist/assets/{RunDataTable-D-c1L5v9.js → RunDataTable-BAIw8_GD.js} +6 -6
  31. package/dist/assets/{SamlOnboarding-DHXokg4W.js → SamlOnboarding-XHC_OVzS.js} +7 -7
  32. package/dist/assets/{SettingsApiView-hxxnxNIb.js → SettingsApiView-Cxr0YjBj.js} +6 -6
  33. package/dist/assets/{SettingsCommunityNodesView-DjmPzymy.js → SettingsCommunityNodesView-DSYLd1NL.js} +8 -8
  34. package/dist/assets/{SettingsExternalSecrets-Cw-mURA4.js → SettingsExternalSecrets-Dixl8U-H.js} +6 -6
  35. package/dist/assets/{SettingsFakeDoorView-Coj99HjT.js → SettingsFakeDoorView-Bd9T-Jm8.js} +6 -6
  36. package/dist/assets/{SettingsLdapView-C5vB_u72.js → SettingsLdapView-DfIJBH3O.js} +7 -7
  37. package/dist/assets/{SettingsLogStreamingView-BaWNNhIO.js → SettingsLogStreamingView-D3FvPA8r.js} +6 -6
  38. package/dist/assets/{SettingsPersonalView-F5OtxFhW.js → SettingsPersonalView-Ct9jyNz1.js} +6 -6
  39. package/dist/assets/{SettingsSourceControl-CJ5r15dK.js → SettingsSourceControl-BE695sdL.js} +6 -6
  40. package/dist/assets/{SettingsSso-BrfSzt16.js → SettingsSso-CmH0czdA.js} +18 -9
  41. package/dist/assets/{SettingsUsageAndPlan-Gqra3R0E.js → SettingsUsageAndPlan-Dx8wVLJp.js} +116 -8
  42. package/dist/assets/{SettingsUsersView-BibKm0uw.js → SettingsUsersView-BspD88t8.js} +23 -7
  43. package/dist/assets/{SettingsView-_a_GTA-g.js → SettingsView-N6ThZ9KM.js} +7 -7
  44. package/dist/assets/{SetupView-B8mzwREj.js → SetupView-B1kM7lwl.js} +7 -7
  45. package/dist/assets/{SetupWorkflowCredentialsButton-C2wXpCdh.js → SetupWorkflowCredentialsButton-khECUo1h.js} +6 -6
  46. package/dist/assets/{SetupWorkflowFromTemplateView-D6O8INhE.js → SetupWorkflowFromTemplateView-iI2njEvI.js} +8 -8
  47. package/dist/assets/{SigninView-DKkeDUtH.js → SigninView-6itJ-CED.js} +7 -7
  48. package/dist/assets/{SignoutView-BjQlWgFQ.js → SignoutView-hDa3nDs6.js} +6 -6
  49. package/dist/assets/{SignupView-O9mgfKQh.js → SignupView-Bq18Ktg7.js} +7 -7
  50. package/dist/assets/{TemplateDetails-rbYl7ZHO.js → TemplateDetails-Czazhd5s.js} +2 -2
  51. package/dist/assets/{TemplateList-4qO5UWYI.js → TemplateList-BeAPaZGs.js} +2 -2
  52. package/dist/assets/{TemplatesCollectionView-CxLg3AfW.js → TemplatesCollectionView-CexaV31l.js} +10 -10
  53. package/dist/assets/{TemplatesSearchView-C7iabuV8.js → TemplatesSearchView-DlqM48VA.js} +9 -9
  54. package/dist/assets/{TemplatesView-C_ljCT59.js → TemplatesView-8fVX0s-c.js} +2 -2
  55. package/dist/assets/{TemplatesWorkflowView-j-AraUuj.js → TemplatesWorkflowView-DVk9fEe9.js} +10 -10
  56. package/dist/assets/{VariablesView-CS5qD4nw.js → VariablesView-B4KxaLHe.js} +7 -7
  57. package/dist/assets/{WorkerView-Adh7mkGw.js → WorkerView-C3r2Qksx.js} +9 -9
  58. package/dist/assets/{WorkflowActivator-BSG90j8i.js → WorkflowActivator-B6SkhHUl.js} +3 -3
  59. package/dist/assets/{WorkflowExecutionsInfoAccordion-z-P6winD.js → WorkflowExecutionsInfoAccordion-D_uPE3Mm.js} +2 -2
  60. package/dist/assets/{WorkflowExecutionsLandingPage-BywskSzl.js → WorkflowExecutionsLandingPage-C4jCCR90.js} +15 -9
  61. package/dist/assets/{WorkflowExecutionsPreview-Bw3RnbrX.js → WorkflowExecutionsPreview-CQ1EmBkZ.js} +347 -15
  62. package/dist/assets/WorkflowExecutionsPreview-DRCpGEbi.css +247 -0
  63. package/dist/assets/{WorkflowExecutionsView-KGfJTF01.js → WorkflowExecutionsView-CdItH9NU.js} +187 -139
  64. package/dist/assets/{WorkflowExecutionsView-Jm7Pw4v1.css → WorkflowExecutionsView-DqAlwS1H.css} +47 -27
  65. package/dist/assets/{WorkflowHistory-TdbKbeFT.js → WorkflowHistory-BHxwr-Yt.js} +8 -8
  66. package/dist/assets/{WorkflowOnboardingView-C5BrBTek.js → WorkflowOnboardingView-BMCtQmja.js} +6 -6
  67. package/dist/assets/{WorkflowPreview-DjH7tXfj.js → WorkflowPreview-Dm-F1IKC.js} +2 -2
  68. package/dist/assets/{WorkflowsView-CqmiCNtd.js → WorkflowsView-OkAUYvKL.js} +14 -14
  69. package/dist/assets/{cloud-DVcstsW2.js → cloud-DRWI97VY.js} +6 -6
  70. package/dist/assets/collaboration.store-DUEBB9uv.js +65 -0
  71. package/dist/assets/{dateFormatter--Jm_2fEm.js → dateFormatter-BQoEbDGi.js} +1 -1
  72. package/dist/assets/{dateformat-U_ybGERk.js → dateformat-BnMKt03f.js} +1 -1
  73. package/dist/assets/email-providers-DwL5ncu9.js +1 -0
  74. package/dist/assets/{fast-json-stable-stringify-DFVeKQSP.js → fast-json-stable-stringify-D53fIhuw.js} +1 -1
  75. package/dist/assets/{file-saver-Kt7b8Ak0.js → file-saver-aVxDTBJI.js} +1 -1
  76. package/dist/assets/{humanize-duration-CgUlcJVm.js → humanize-duration-DE5qJCgx.js} +1 -1
  77. package/dist/assets/{index-1JP5ktFc.css → index-Bqkr-RRJ.css} +278 -113
  78. package/dist/assets/{index-BMqv_cxE.js → index-D1NZCYzm.js} +4123 -6025
  79. package/dist/assets/{jsonpath-DlnJGFD7.js → jsonpath-rcQTxGBV.js} +1 -1
  80. package/dist/assets/{n8n-OU8f1_-B.css → n8n-CeKkptTY.css} +16 -11
  81. package/dist/assets/{n8n-NifPGZSM.js → n8n-Z2397JES.js} +148 -102
  82. package/dist/assets/{pushConnection.store-BQ8wQOWv.js → pushConnection.store-DtTlLmXK.js} +1 -1
  83. package/dist/assets/{templateActions-CY6KLH9V.js → templateActions-YaCceXGU.js} +1 -1
  84. package/dist/assets/{useExecutionDebugging-CjiDOv4V.js → useExecutionDebugging-S7GEmTTt.js} +1 -1
  85. package/dist/assets/{usePushConnection-DmqdJ4p5.js → usePushConnection-Gymv3TIc.js} +3 -3
  86. package/dist/assets/{useUserHelpers-Bhb_a-iT.js → useUserHelpers-WhAIJpQu.js} +1 -1
  87. package/dist/assets/{useWorkflowActivate-BpRa7BDT.js → useWorkflowActivate-BadnTJWu.js} +1 -1
  88. package/dist/assets/{vue-agile-Cf_Be-_o.js → vue-agile-DZ76wxj6.js} +1 -1
  89. package/dist/assets/{vue-json-pretty-CUUthm-2.js → vue-json-pretty-DirxoTt6.js} +1 -1
  90. package/dist/assets/xss-DwL5ncu9.js +1 -0
  91. package/dist/index.html +8 -8
  92. package/package.json +1 -1
  93. package/dist/assets/WorkflowExecutionsPreview-DlcWqXFI.css +0 -79
  94. package/dist/assets/common-DCQSo5lV.js +0 -365
  95. package/dist/assets/email-providers-Cebboc1h.js +0 -1
  96. package/dist/assets/useExecutionHelpers-6mVnBCgd.js +0 -59
  97. package/dist/assets/xss-Cebboc1h.js +0 -1
@@ -1,4 +1,4 @@
1
- ._WorkflowExecutionsCard_1hja4_1 {
1
+ ._WorkflowExecutionsCard_1jaj8_1 {
2
2
  --execution-list-item-background: var(--color-foreground-xlight);
3
3
  --execution-list-item-highlight-background: var(--color-warning-tint-1);
4
4
  display: -webkit-box;
@@ -10,52 +10,72 @@
10
10
  flex-direction: column;
11
11
  padding-right: var(--spacing-m);
12
12
  }
13
- ._WorkflowExecutionsCard_1hja4_1._active_1hja4_8 {
13
+ ._WorkflowExecutionsCard_1jaj8_1._active_1jaj8_8 {
14
14
  border-left: var(--spacing-4xs) var(--border-style-base) transparent !important;
15
15
  }
16
- ._WorkflowExecutionsCard_1hja4_1._active_1hja4_8 ._executionStatus_1hja4_11 {
16
+ ._WorkflowExecutionsCard_1jaj8_1._active_1jaj8_8 ._executionStatus_1jaj8_11 {
17
17
  color: var(--color-text-dark) !important;
18
18
  }
19
- ._WorkflowExecutionsCard_1hja4_1:hover ._executionLink_1hja4_14, ._WorkflowExecutionsCard_1hja4_1._active_1hja4_8 ._executionLink_1hja4_14 {
19
+ ._WorkflowExecutionsCard_1jaj8_1:hover ._executionLink_1jaj8_14, ._WorkflowExecutionsCard_1jaj8_1._active_1jaj8_8 ._executionLink_1jaj8_14 {
20
20
  --execution-list-item-background: var(--color-foreground-light);
21
21
  }
22
- ._WorkflowExecutionsCard_1hja4_1._new_1hja4_17 ._spinner_1hja4_17, ._WorkflowExecutionsCard_1hja4_1._running_1hja4_17 ._spinner_1hja4_17 {
22
+ ._WorkflowExecutionsCard_1jaj8_1._new_1jaj8_17 ._spinner_1jaj8_17, ._WorkflowExecutionsCard_1jaj8_1._running_1jaj8_17 ._spinner_1jaj8_17 {
23
23
  position: relative;
24
24
  top: 1px;
25
25
  }
26
- ._WorkflowExecutionsCard_1hja4_1._new_1hja4_17, ._WorkflowExecutionsCard_1hja4_1._new_1hja4_17 ._executionLink_1hja4_14, ._WorkflowExecutionsCard_1hja4_1._running_1hja4_17, ._WorkflowExecutionsCard_1hja4_1._running_1hja4_17 ._executionLink_1hja4_14 {
26
+ ._WorkflowExecutionsCard_1jaj8_1._new_1jaj8_17, ._WorkflowExecutionsCard_1jaj8_1._new_1jaj8_17 ._executionLink_1jaj8_14, ._WorkflowExecutionsCard_1jaj8_1._running_1jaj8_17, ._WorkflowExecutionsCard_1jaj8_1._running_1jaj8_17 ._executionLink_1jaj8_14 {
27
27
  border-left: var(--spacing-4xs) var(--border-style-base) var(--execution-card-border-running);
28
28
  }
29
- ._WorkflowExecutionsCard_1hja4_1._new_1hja4_17 ._statusLabel_1hja4_24,
30
- ._WorkflowExecutionsCard_1hja4_1._new_1hja4_17 ._spinner_1hja4_17, ._WorkflowExecutionsCard_1hja4_1._running_1hja4_17 ._statusLabel_1hja4_24,
31
- ._WorkflowExecutionsCard_1hja4_1._running_1hja4_17 ._spinner_1hja4_17 {
29
+ ._WorkflowExecutionsCard_1jaj8_1._new_1jaj8_17 ._statusLabel_1jaj8_24,
30
+ ._WorkflowExecutionsCard_1jaj8_1._new_1jaj8_17 ._spinner_1jaj8_17, ._WorkflowExecutionsCard_1jaj8_1._running_1jaj8_17 ._statusLabel_1jaj8_24,
31
+ ._WorkflowExecutionsCard_1jaj8_1._running_1jaj8_17 ._spinner_1jaj8_17 {
32
32
  color: var(--color-warning);
33
33
  }
34
- ._WorkflowExecutionsCard_1hja4_1._success_1hja4_29, ._WorkflowExecutionsCard_1hja4_1._success_1hja4_29 ._executionLink_1hja4_14 {
34
+ ._WorkflowExecutionsCard_1jaj8_1._success_1jaj8_29, ._WorkflowExecutionsCard_1jaj8_1._success_1jaj8_29 ._executionLink_1jaj8_14 {
35
35
  border-left: var(--spacing-4xs) var(--border-style-base) var(--execution-card-border-success);
36
36
  }
37
- ._WorkflowExecutionsCard_1hja4_1._new_1hja4_17, ._WorkflowExecutionsCard_1hja4_1._new_1hja4_17 ._executionLink_1hja4_14 {
37
+ ._WorkflowExecutionsCard_1jaj8_1._new_1jaj8_17, ._WorkflowExecutionsCard_1jaj8_1._new_1jaj8_17 ._executionLink_1jaj8_14 {
38
38
  border-left: var(--spacing-4xs) var(--border-style-base) var(--execution-card-border-new);
39
39
  }
40
- ._WorkflowExecutionsCard_1hja4_1._new_1hja4_17 ._statusLabel_1hja4_24 {
40
+ ._WorkflowExecutionsCard_1jaj8_1._new_1jaj8_17 ._statusLabel_1jaj8_24 {
41
41
  color: var(--color-text-dark);
42
42
  }
43
- ._WorkflowExecutionsCard_1hja4_1._waiting_1hja4_38, ._WorkflowExecutionsCard_1hja4_1._waiting_1hja4_38 ._executionLink_1hja4_14 {
43
+ ._WorkflowExecutionsCard_1jaj8_1._waiting_1jaj8_38, ._WorkflowExecutionsCard_1jaj8_1._waiting_1jaj8_38 ._executionLink_1jaj8_14 {
44
44
  border-left: var(--spacing-4xs) var(--border-style-base) var(--execution-card-border-waiting);
45
45
  }
46
- ._WorkflowExecutionsCard_1hja4_1._waiting_1hja4_38 ._statusLabel_1hja4_24 {
46
+ ._WorkflowExecutionsCard_1jaj8_1._waiting_1jaj8_38 ._statusLabel_1jaj8_24 {
47
47
  color: var(--color-secondary);
48
48
  }
49
- ._WorkflowExecutionsCard_1hja4_1._error_1hja4_44, ._WorkflowExecutionsCard_1hja4_1._error_1hja4_44 ._executionLink_1hja4_14 {
49
+ ._WorkflowExecutionsCard_1jaj8_1._error_1jaj8_44, ._WorkflowExecutionsCard_1jaj8_1._error_1jaj8_44 ._executionLink_1jaj8_14 {
50
50
  border-left: var(--spacing-4xs) var(--border-style-base) var(--execution-card-border-error);
51
51
  }
52
- ._WorkflowExecutionsCard_1hja4_1._error_1hja4_44 ._statusLabel_1hja4_24 {
52
+ ._WorkflowExecutionsCard_1jaj8_1._error_1jaj8_44 ._statusLabel_1jaj8_24 {
53
53
  color: var(--color-danger);
54
54
  }
55
- ._WorkflowExecutionsCard_1hja4_1._unknown_1hja4_50, ._WorkflowExecutionsCard_1hja4_1._unknown_1hja4_50 ._executionLink_1hja4_14 {
55
+ ._WorkflowExecutionsCard_1jaj8_1._unknown_1jaj8_50, ._WorkflowExecutionsCard_1jaj8_1._unknown_1jaj8_50 ._executionLink_1jaj8_14 {
56
56
  border-left: var(--spacing-4xs) var(--border-style-base) var(--execution-card-border-unknown);
57
57
  }
58
- ._executionLink_1hja4_14 {
58
+ ._WorkflowExecutionsCard_1jaj8_1 ._annotation_1jaj8_53 {
59
+ display: -webkit-box;
60
+ display: -ms-flexbox;
61
+ display: flex;
62
+ -webkit-box-orient: horizontal;
63
+ -webkit-box-direction: normal;
64
+ -ms-flex-direction: row;
65
+ flex-direction: row;
66
+ gap: var(--spacing-3xs);
67
+ -webkit-box-align: center;
68
+ -ms-flex-align: center;
69
+ align-items: center;
70
+ margin: var(--spacing-4xs) 0 0;
71
+ }
72
+ ._WorkflowExecutionsCard_1jaj8_1 ._annotation_1jaj8_53 ._ratingIcon_1jaj8_60 ._up_1jaj8_60 {
73
+ color: var(--color-success);
74
+ }
75
+ ._WorkflowExecutionsCard_1jaj8_1 ._annotation_1jaj8_53 ._ratingIcon_1jaj8_60 ._down_1jaj8_63 {
76
+ color: var(--color-danger);
77
+ }
78
+ ._executionLink_1jaj8_14 {
59
79
  background: var(--execution-list-item-background);
60
80
  display: -webkit-box;
61
81
  display: -ms-flexbox;
@@ -74,11 +94,11 @@
74
94
  position: relative;
75
95
  left: calc(-1 * var(--spacing-4xs));
76
96
  }
77
- ._executionLink_1hja4_14:active ._icon_1hja4_67,
78
- ._executionLink_1hja4_14:active ._statusLabel_1hja4_24 {
97
+ ._executionLink_1jaj8_14:active ._icon_1jaj8_80,
98
+ ._executionLink_1jaj8_14:active ._statusLabel_1jaj8_24 {
79
99
  color: var(--color-text-base);
80
100
  }
81
- ._icons_1hja4_72 {
101
+ ._icons_1jaj8_85 {
82
102
  display: -webkit-box;
83
103
  display: -ms-flexbox;
84
104
  display: flex;
@@ -86,23 +106,23 @@
86
106
  -ms-flex-align: center;
87
107
  align-items: center;
88
108
  }
89
- ._icon_1hja4_67 {
109
+ ._icon_1jaj8_80 {
90
110
  font-size: var(--font-size-s);
91
111
  }
92
- ._icon_1hja4_67._retry_1hja4_80 svg {
112
+ ._icon_1jaj8_80._retry_1jaj8_93 svg {
93
113
  color: var(--color-primary);
94
114
  }
95
- ._icon_1hja4_67._manual_1hja4_83 {
115
+ ._icon_1jaj8_80._manual_1jaj8_96 {
96
116
  position: relative;
97
117
  top: 1px;
98
118
  }
99
- ._icon_1hja4_67 + ._icon_1hja4_67 {
119
+ ._icon_1jaj8_80 + ._icon_1jaj8_80 {
100
120
  margin-left: var(--spacing-2xs);
101
121
  }
102
- ._showGap_1hja4_91 {
122
+ ._showGap_1jaj8_104 {
103
123
  margin-bottom: var(--spacing-2xs);
104
124
  }
105
- ._showGap_1hja4_91 ._executionLink_1hja4_14 {
125
+ ._showGap_1jaj8_104 ._executionLink_1jaj8_14 {
106
126
  border-bottom: 1px solid var(--color-foreground-dark);
107
127
  }._container_qg8we_1 {
108
128
  -webkit-box-flex: 310px;
@@ -1,16 +1,16 @@
1
1
  import { I as defineComponent, a as ref, f as computed, q as onMounted, an as resolveComponent, J as openBlock, K as createElementBlock, Z as renderSlot, L as createBaseVNode, a7 as toDisplayString, a8 as createVNode, a3 as withCtx, a6 as createTextVNode, V as createBlock, u as unref, U as createCommentVNode, _ as normalizeClass, ac as withModifiers, R as Fragment, af as renderList, aE as useRoute, aM as useRouter, l as onBeforeMount, w as watchEffect, X as h } from "./vendor-tVazXwC6.js";
2
- import { v as useI18n, U as get, j as useRootStore, b as useSettingsStore, m as useWorkflowsStore, dT as getNewWorkflow, u as useToast, e as useUIStore, V as VIEWS, q as getResourcePermissions, dZ as telemetry, eb as WORKFLOW_HISTORY_VERSION_RESTORE } from "./index-BMqv_cxE.js";
3
- import { d as dateformat } from "./dateformat-U_ybGERk.js";
4
- import { _ as _export_sfc } from "./n8n-NifPGZSM.js";
5
- import { W as WorkflowPreview } from "./WorkflowPreview-DjH7tXfj.js";
2
+ import { j as useI18n, X as get, m as useRootStore, b as useSettingsStore, k as useWorkflowsStore, d$ as getNewWorkflow, u as useToast, e as useUIStore, V as VIEWS, t as getResourcePermissions, e8 as telemetry, ek as WORKFLOW_HISTORY_VERSION_RESTORE } from "./index-D1NZCYzm.js";
3
+ import { d as dateformat } from "./dateformat-BnMKt03f.js";
4
+ import { _ as _export_sfc } from "./n8n-Z2397JES.js";
5
+ import { W as WorkflowPreview } from "./WorkflowPreview-Dm-F1IKC.js";
6
6
  import { d as defineStore } from "./pinia-DvV9jJ-A.js";
7
- import { F as FileSaver_minExports } from "./file-saver-Kt7b8Ak0.js";
7
+ import { F as FileSaver_minExports } from "./file-saver-aVxDTBJI.js";
8
8
  import "./axios-B4zXCSve.js";
9
9
  import "./flatted-D70IerrI.js";
10
10
  import "./bowser-C3wWO1p5.js";
11
- import "./@vueuse/core-C-N7SOS8.js";
11
+ import "./@vueuse/core-BHDhJRX_.js";
12
12
  import "./lodash-es-kRWQHL5K.js";
13
- import "./@n8n/permissions-BdHAniXb.js";
13
+ import "./@n8n/permissions-BxSXRD9U.js";
14
14
  import "./uuid-sKupIUZ4.js";
15
15
  import "./vue-i18n-DNQ-lWfW.js";
16
16
  import "./luxon-Bt_g4NOb.js";
@@ -25,7 +25,7 @@ import "./@jsplumb/connector-bezier-D659hq4c.js";
25
25
  import "./@jsplumb/browser-ui-BphmFVJY.js";
26
26
  import "./codemirror-lang-html-n8n-CXTCIWzP.js";
27
27
  import "./esprima-next-DUEu30kB.js";
28
- import "./fast-json-stable-stringify-DFVeKQSP.js";
28
+ import "./fast-json-stable-stringify-D53fIhuw.js";
29
29
  import "./timeago.js-CgQus8nl.js";
30
30
  import "./qrcode.vue-Di8rc46A.js";
31
31
  import "./vue3-touch-events-DVOgU3fI.js";
@@ -1,17 +1,17 @@
1
1
  import { I as defineComponent, aM as useRouter, aE as useRoute, q as onMounted, J as openBlock, K as createElementBlock } from "./vendor-tVazXwC6.js";
2
- import { O as useLoadingService, _ as useTemplatesStore, m as useWorkflowsStore, V as VIEWS, v as useI18n } from "./index-BMqv_cxE.js";
3
- import "./n8n-NifPGZSM.js";
2
+ import { Q as useLoadingService, a0 as useTemplatesStore, k as useWorkflowsStore, V as VIEWS, j as useI18n } from "./index-D1NZCYzm.js";
3
+ import "./n8n-Z2397JES.js";
4
4
  import "./esprima-next-DUEu30kB.js";
5
5
  import "./axios-B4zXCSve.js";
6
6
  import "./luxon-Bt_g4NOb.js";
7
7
  import "./lodash-es-kRWQHL5K.js";
8
- import "./@vueuse/core-C-N7SOS8.js";
8
+ import "./@vueuse/core-BHDhJRX_.js";
9
9
  import "./uuid-sKupIUZ4.js";
10
10
  import "./flatted-D70IerrI.js";
11
11
  import "./pinia-DvV9jJ-A.js";
12
12
  import "./bowser-C3wWO1p5.js";
13
- import "./@n8n/permissions-BdHAniXb.js";
14
- import "./dateformat-U_ybGERk.js";
13
+ import "./@n8n/permissions-BxSXRD9U.js";
14
+ import "./dateformat-BnMKt03f.js";
15
15
  import "./vue-i18n-DNQ-lWfW.js";
16
16
  import "./@n8n/codemirror-lang-CIGGB1t0.js";
17
17
  import "./@lezer/common-CnY9etib.js";
@@ -23,7 +23,7 @@ import "./@jsplumb/common-s1StEx7B.js";
23
23
  import "./@jsplumb/connector-bezier-D659hq4c.js";
24
24
  import "./@jsplumb/browser-ui-BphmFVJY.js";
25
25
  import "./codemirror-lang-html-n8n-CXTCIWzP.js";
26
- import "./fast-json-stable-stringify-DFVeKQSP.js";
26
+ import "./fast-json-stable-stringify-D53fIhuw.js";
27
27
  import "./timeago.js-CgQus8nl.js";
28
28
  import "./qrcode.vue-Di8rc46A.js";
29
29
  import "./vue3-touch-events-DVOgU3fI.js";
@@ -1,6 +1,6 @@
1
1
  import { I as defineComponent, a as ref, f as computed, q as onMounted, m as onBeforeUnmount, b as watch, an as resolveComponent, J as openBlock, K as createElementBlock, _ as normalizeClass, a8 as createVNode, U as createCommentVNode, L as createBaseVNode } from "./vendor-tVazXwC6.js";
2
- import { u as useToast, L as useExecutionsStore, v as useI18n } from "./index-BMqv_cxE.js";
3
- import { _ as _export_sfc } from "./n8n-NifPGZSM.js";
2
+ import { u as useToast, N as useExecutionsStore, j as useI18n } from "./index-D1NZCYzm.js";
3
+ import { _ as _export_sfc } from "./n8n-Z2397JES.js";
4
4
  const _hoisted_1 = ["src"];
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "WorkflowPreview",
@@ -1,18 +1,18 @@
1
- import { R as ResourcesListLayout } from "./ResourcesListLayout-eqk9xNhc.js";
2
- import { u as useToast, x as useMessage, v as useI18n, w as useTelemetry, b as useSettingsStore, e as useUIStore, a as useUsersStore, m as useWorkflowsStore, n as useProjectsStore, q as getResourcePermissions, V as VIEWS, z as WORKFLOW_SHARE_MODAL_KEY, I as DUPLICATE_MODAL_KEY, C as MODAL_CONFIRM, ec as PROJECT_MOVE_RESOURCE_MODAL, ed as ResourceType, dM as _sfc_main$3, T as TagsDropdown, l as useSourceControlStore, c as useTagsStore, _ as useTemplatesStore, bu as usePostHog, E as EnterpriseEditionFeature, dG as MORE_ONBOARDING_OPTIONS_EXPERIMENT } from "./index-BMqv_cxE.js";
1
+ import { R as ResourcesListLayout } from "./ResourcesListLayout-D54JHUFJ.js";
2
+ import { u as useToast, y as useMessage, j as useI18n, x as useTelemetry, b as useSettingsStore, e as useUIStore, a as useUsersStore, k as useWorkflowsStore, p as useProjectsStore, t as getResourcePermissions, V as VIEWS, A as WORKFLOW_SHARE_MODAL_KEY, J as DUPLICATE_MODAL_KEY, D as MODAL_CONFIRM, el as PROJECT_MOVE_RESOURCE_MODAL, em as ResourceType, dU as _sfc_main$3, _ as _sfc_main$4, o as useSourceControlStore, c as useTagsStore, a0 as useTemplatesStore, bw as usePostHog, E as EnterpriseEditionFeature, dO as MORE_ONBOARDING_OPTIONS_EXPERIMENT } from "./index-D1NZCYzm.js";
3
3
  import { I as defineComponent, aM as useRouter, f as computed, an as resolveComponent, J as openBlock, V as createBlock, _ as normalizeClass, a3 as withCtx, a8 as createVNode, a6 as createTextVNode, a7 as toDisplayString, L as createBaseVNode, ac as withModifiers, u as unref, a4 as withDirectives, a9 as vShow, K as createElementBlock, U as createCommentVNode, R as Fragment, af as renderList } from "./vendor-tVazXwC6.js";
4
- import { d as dateformat } from "./dateformat-U_ybGERk.js";
5
- import { W as WorkflowActivator } from "./WorkflowActivator-BSG90j8i.js";
6
- import { _ as _sfc_main$2 } from "./ProjectCardBadge-CFNf-mDJ.js";
7
- import { _ as _export_sfc } from "./n8n-NifPGZSM.js";
8
- import { P as ProjectTabs } from "./ProjectTabs-Cknn_GgB.js";
4
+ import { d as dateformat } from "./dateformat-BnMKt03f.js";
5
+ import { W as WorkflowActivator } from "./WorkflowActivator-B6SkhHUl.js";
6
+ import { _ as _sfc_main$2 } from "./ProjectCardBadge-DQz9p7bj.js";
7
+ import { _ as _export_sfc } from "./n8n-Z2397JES.js";
8
+ import { P as ProjectTabs } from "./ProjectTabs-CESKkFkd.js";
9
9
  import { m as mapStores } from "./pinia-DvV9jJ-A.js";
10
10
  import "./axios-B4zXCSve.js";
11
11
  import "./flatted-D70IerrI.js";
12
12
  import "./bowser-C3wWO1p5.js";
13
- import "./@vueuse/core-C-N7SOS8.js";
13
+ import "./@vueuse/core-BHDhJRX_.js";
14
14
  import "./lodash-es-kRWQHL5K.js";
15
- import "./@n8n/permissions-BdHAniXb.js";
15
+ import "./@n8n/permissions-BxSXRD9U.js";
16
16
  import "./uuid-sKupIUZ4.js";
17
17
  import "./vue-i18n-DNQ-lWfW.js";
18
18
  import "./luxon-Bt_g4NOb.js";
@@ -27,12 +27,12 @@ import "./@jsplumb/connector-bezier-D659hq4c.js";
27
27
  import "./@jsplumb/browser-ui-BphmFVJY.js";
28
28
  import "./codemirror-lang-html-n8n-CXTCIWzP.js";
29
29
  import "./esprima-next-DUEu30kB.js";
30
- import "./fast-json-stable-stringify-DFVeKQSP.js";
30
+ import "./fast-json-stable-stringify-D53fIhuw.js";
31
31
  import "./timeago.js-CgQus8nl.js";
32
32
  import "./qrcode.vue-Di8rc46A.js";
33
33
  import "./vue3-touch-events-DVOgU3fI.js";
34
34
  import "./chart.js-DiBOFLDH.js";
35
- import "./useWorkflowActivate-BpRa7BDT.js";
35
+ import "./useWorkflowActivate-BadnTJWu.js";
36
36
  const _hoisted_1$1 = { key: 0 };
37
37
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
38
38
  __name: "WorkflowCard",
@@ -327,7 +327,7 @@ const WorkflowsView$1 = defineComponent({
327
327
  components: {
328
328
  ResourcesListLayout,
329
329
  WorkflowCard: __unplugin_components_1,
330
- TagsDropdown,
330
+ WorkflowTagsDropdown: _sfc_main$4,
331
331
  ProjectTabs
332
332
  },
333
333
  data() {
@@ -596,7 +596,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
596
596
  const _component_n8n_icon = resolveComponent("n8n-icon");
597
597
  const _component_n8n_card = resolveComponent("n8n-card");
598
598
  const _component_n8n_input_label = resolveComponent("n8n-input-label");
599
- const _component_TagsDropdown = TagsDropdown;
599
+ const _component_WorkflowTagsDropdown = _sfc_main$4;
600
600
  const _component_n8n_option = resolveComponent("n8n-option");
601
601
  const _component_n8n_select = resolveComponent("n8n-select");
602
602
  const _component_ResourcesListLayout = ResourcesListLayout;
@@ -785,7 +785,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
785
785
  color: "text-base",
786
786
  class: "mb-3xs"
787
787
  }, null, 8, ["label"]),
788
- createVNode(_component_TagsDropdown, {
788
+ createVNode(_component_WorkflowTagsDropdown, {
789
789
  placeholder: _ctx.$locale.baseText("workflowOpen.filterWorkflows"),
790
790
  "model-value": _ctx.filters.tags,
791
791
  "create-enabled": false,
@@ -1,17 +1,17 @@
1
- import { e as useUIStore, ej as FAKE_DOOR_FEATURES } from "./index-BMqv_cxE.js";
1
+ import { e as useUIStore, es as FAKE_DOOR_FEATURES } from "./index-D1NZCYzm.js";
2
2
  import "./vendor-tVazXwC6.js";
3
- import "./n8n-NifPGZSM.js";
3
+ import "./n8n-Z2397JES.js";
4
4
  import "./esprima-next-DUEu30kB.js";
5
5
  import "./axios-B4zXCSve.js";
6
6
  import "./luxon-Bt_g4NOb.js";
7
7
  import "./lodash-es-kRWQHL5K.js";
8
- import "./@vueuse/core-C-N7SOS8.js";
8
+ import "./@vueuse/core-BHDhJRX_.js";
9
9
  import "./uuid-sKupIUZ4.js";
10
10
  import "./flatted-D70IerrI.js";
11
11
  import "./pinia-DvV9jJ-A.js";
12
12
  import "./bowser-C3wWO1p5.js";
13
- import "./@n8n/permissions-BdHAniXb.js";
14
- import "./dateformat-U_ybGERk.js";
13
+ import "./@n8n/permissions-BxSXRD9U.js";
14
+ import "./dateformat-BnMKt03f.js";
15
15
  import "./vue-i18n-DNQ-lWfW.js";
16
16
  import "./@n8n/codemirror-lang-CIGGB1t0.js";
17
17
  import "./@lezer/common-CnY9etib.js";
@@ -23,7 +23,7 @@ import "./@jsplumb/common-s1StEx7B.js";
23
23
  import "./@jsplumb/connector-bezier-D659hq4c.js";
24
24
  import "./@jsplumb/browser-ui-BphmFVJY.js";
25
25
  import "./codemirror-lang-html-n8n-CXTCIWzP.js";
26
- import "./fast-json-stable-stringify-DFVeKQSP.js";
26
+ import "./fast-json-stable-stringify-D53fIhuw.js";
27
27
  import "./timeago.js-CgQus8nl.js";
28
28
  import "./qrcode.vue-Di8rc46A.js";
29
29
  import "./vue3-touch-events-DVOgU3fI.js";
@@ -0,0 +1,65 @@
1
+ import { d as defineStore } from "./pinia-DvV9jJ-A.js";
2
+ import { a as ref, f as computed } from "./vendor-tVazXwC6.js";
3
+ import { Y as STORES, k as useWorkflowsStore, a as useUsersStore } from "./index-D1NZCYzm.js";
4
+ import { u as usePushConnectionStore } from "./pushConnection.store-DtTlLmXK.js";
5
+ const useCollaborationStore = defineStore(STORES.COLLABORATION, () => {
6
+ const pushStore = usePushConnectionStore();
7
+ const workflowStore = useWorkflowsStore();
8
+ const usersStore = useUsersStore();
9
+ const usersForWorkflows = ref({});
10
+ const pushStoreEventListenerRemovalFn = ref(null);
11
+ const getUsersForCurrentWorkflow = computed(() => {
12
+ return usersForWorkflows.value[workflowStore.workflowId] ?? [];
13
+ });
14
+ function initialize() {
15
+ if (pushStoreEventListenerRemovalFn.value) {
16
+ return;
17
+ }
18
+ pushStoreEventListenerRemovalFn.value = pushStore.addEventListener((event) => {
19
+ if (event.type === "activeWorkflowUsersChanged") {
20
+ const workflowId = event.data.workflowId;
21
+ usersForWorkflows.value[workflowId] = event.data.activeUsers;
22
+ }
23
+ });
24
+ }
25
+ function terminate() {
26
+ if (typeof pushStoreEventListenerRemovalFn.value === "function") {
27
+ pushStoreEventListenerRemovalFn.value();
28
+ pushStoreEventListenerRemovalFn.value = null;
29
+ }
30
+ }
31
+ function workflowUsersUpdated(data) {
32
+ usersForWorkflows.value = data;
33
+ }
34
+ function functionRemoveCurrentUserFromActiveUsers(workflowId) {
35
+ const workflowUsers = usersForWorkflows.value[workflowId];
36
+ if (!workflowUsers) {
37
+ return;
38
+ }
39
+ usersForWorkflows.value[workflowId] = workflowUsers.filter(
40
+ (activeUser) => activeUser.user.id !== usersStore.currentUserId
41
+ );
42
+ }
43
+ function notifyWorkflowOpened(workflowId) {
44
+ pushStore.send({
45
+ type: "workflowOpened",
46
+ workflowId
47
+ });
48
+ }
49
+ function notifyWorkflowClosed(workflowId) {
50
+ pushStore.send({ type: "workflowClosed", workflowId });
51
+ functionRemoveCurrentUserFromActiveUsers(workflowId);
52
+ }
53
+ return {
54
+ usersForWorkflows,
55
+ initialize,
56
+ terminate,
57
+ notifyWorkflowOpened,
58
+ notifyWorkflowClosed,
59
+ workflowUsersUpdated,
60
+ getUsersForCurrentWorkflow
61
+ };
62
+ });
63
+ export {
64
+ useCollaborationStore as u
65
+ };
@@ -1,4 +1,4 @@
1
- import { d as dateformat } from "./dateformat-U_ybGERk.js";
1
+ import { d as dateformat } from "./dateformat-BnMKt03f.js";
2
2
  const convertToDisplayDateComponents = (fullDate) => {
3
3
  const mask = `d mmm${new Date(fullDate).getFullYear() === (/* @__PURE__ */ new Date()).getFullYear() ? "" : ", yyyy"}#HH:MM:ss`;
4
4
  const formattedDate = dateformat(fullDate, mask);
@@ -1,4 +1,4 @@
1
- import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./n8n-NifPGZSM.js";
1
+ import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./n8n-Z2397JES.js";
2
2
  var dateformat$2 = { exports: {} };
3
3
  var dateformat = dateformat$2.exports;
4
4
  (function(module, exports) {
@@ -0,0 +1 @@
1
+ import "./n8n-Z2397JES.js";
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./n8n-NifPGZSM.js";
1
+ import { g as getDefaultExportFromCjs } from "./n8n-Z2397JES.js";
2
2
  "use strict";
3
3
  var fastJsonStableStringify = function(data, opts) {
4
4
  if (!opts)
@@ -1,4 +1,4 @@
1
- import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./n8n-NifPGZSM.js";
1
+ import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./n8n-Z2397JES.js";
2
2
  var FileSaver_min$2 = { exports: {} };
3
3
  var FileSaver_min = FileSaver_min$2.exports;
4
4
  (function(module, exports) {
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./n8n-NifPGZSM.js";
1
+ import { g as getDefaultExportFromCjs } from "./n8n-Z2397JES.js";
2
2
  var humanizeDuration$2 = { exports: {} };
3
3
  var humanizeDuration = humanizeDuration$2.exports;
4
4
  (function(module) {