n8n-editor-ui 1.57.0 → 1.58.0
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.
- package/dist/assets/@n8n/{permissions-BdHAniXb.js → permissions-BxSXRD9U.js} +1 -0
- package/dist/assets/@vueuse/{core-C-N7SOS8.js → core-nU0-5GsD.js} +56 -54
- package/dist/assets/AnnotationTagsDropdown-Dt1nrqPR.js +116 -0
- package/dist/assets/{AuthView-CqcftqAH.js → AuthView-CjKOvdaN.js} +2 -2
- package/dist/assets/{CanvasControls-Besc3nk2.js → CanvasControls-D82rlmHw.js} +6 -6
- package/dist/assets/{ChangePasswordView-BK5O6qCb.js → ChangePasswordView-DdlvGoJN.js} +7 -7
- package/dist/assets/{CredentialsView-DEI5jVSq.js → CredentialsView-Dh5Dj2PW.js} +9 -9
- package/dist/assets/{ErrorView-Cb9Ev7Dj.js → ErrorView-Bcb1V9Fc.js} +6 -6
- package/dist/assets/{ExecutionsFilter-fBQ6lOU_.css → ExecutionsFilter-DTy4NQw_.css} +6 -6
- package/dist/assets/{ExecutionsFilter-Y7dLoQFk.js → ExecutionsFilter-U6t29YO2.js} +96 -51
- package/dist/assets/{ExecutionsView-DcUlsJSr.js → ExecutionsView-DNk2-yfM.js} +9 -9
- package/dist/assets/{FixedCollectionParameter-DMEv9len.js → FixedCollectionParameter-C5fcLnIV.js} +6 -6
- package/dist/assets/{ForgotMyPasswordView-CrINAbmV.js → ForgotMyPasswordView-DvQ3WKNf.js} +7 -7
- package/dist/assets/{MainHeader-CHYc_PZ4.css → MainHeader-46C-nkS_.css} +35 -34
- package/dist/assets/{MainHeader-CnFMyNl3.js → MainHeader-OSniZ7Px.js} +364 -223
- package/dist/assets/{MainSidebar-DnSIEh1g.js → MainSidebar-BwsR-N4F.js} +394 -429
- package/dist/assets/{NodeCreation-B-ZsOH-L.js → NodeCreation-BeUV0F95.js} +10 -8
- package/dist/assets/{NodeCreator-DDYJt0Ze.js → NodeCreator-CCRzDZKt.js} +21 -17
- package/dist/assets/{NodeViewSwitcher-BnlgGD0J.css → NodeViewSwitcher-CCKZWp3-.css} +405 -325
- package/dist/assets/{NodeViewSwitcher-D6nuSKAB.js → NodeViewSwitcher-CVnkUMmu.js} +4234 -2009
- package/dist/assets/{ProjectCardBadge-CFNf-mDJ.js → ProjectCardBadge-BrGkbJIM.js} +3 -3
- package/dist/assets/{ProjectSettings-ML67RJOi.js → ProjectSettings-BYfFaMTy.js} +7 -7
- package/dist/assets/{ProjectTabs-Cknn_GgB.js → ProjectTabs-BIa4e3BJ.js} +2 -2
- package/dist/assets/{PushConnectionTracker-CWhTRNCw.js → PushConnectionTracker-yY5K4aH_.js} +2 -2
- package/dist/assets/{ResourcesListLayout-eqk9xNhc.js → ResourcesListLayout-ZXAENIfd.js} +2 -2
- package/dist/assets/{RunDataAi-B3Q65dEL.js → RunDataAi-BIySmKIQ.js} +6 -6
- package/dist/assets/{RunDataJson-C-dseNta.js → RunDataJson-Z08wE1iY.js} +9 -9
- package/dist/assets/{RunDataJsonActions-KBZ7hfZN.js → RunDataJsonActions-BSb14GOW.js} +7 -7
- package/dist/assets/{RunDataSearch-tlq4S7N-.js → RunDataSearch-MZfTmlLO.js} +6 -6
- package/dist/assets/{RunDataTable-D-c1L5v9.js → RunDataTable-DNWBiqiX.js} +6 -6
- package/dist/assets/{SamlOnboarding-DHXokg4W.js → SamlOnboarding-SxgwxDA9.js} +7 -7
- package/dist/assets/{SettingsApiView-hxxnxNIb.js → SettingsApiView-B_bJYJyE.js} +6 -6
- package/dist/assets/{SettingsCommunityNodesView-DjmPzymy.js → SettingsCommunityNodesView-azftQZzT.js} +8 -8
- package/dist/assets/{SettingsExternalSecrets-Cw-mURA4.js → SettingsExternalSecrets-B_LAI-FY.js} +6 -6
- package/dist/assets/{SettingsFakeDoorView-Coj99HjT.js → SettingsFakeDoorView-F6EkOY9p.js} +6 -6
- package/dist/assets/{SettingsLdapView-C5vB_u72.js → SettingsLdapView-NJDXkidp.js} +7 -7
- package/dist/assets/{SettingsLogStreamingView-BaWNNhIO.js → SettingsLogStreamingView-B7pKyM0w.js} +6 -6
- package/dist/assets/{SettingsPersonalView-F5OtxFhW.js → SettingsPersonalView-B2OWUUAG.js} +6 -6
- package/dist/assets/{SettingsSourceControl-CJ5r15dK.js → SettingsSourceControl-tB1kXcRW.js} +6 -6
- package/dist/assets/{SettingsSso-BrfSzt16.js → SettingsSso-jMpGNe64.js} +18 -9
- package/dist/assets/{SettingsUsageAndPlan-Gqra3R0E.js → SettingsUsageAndPlan-DznKS9QF.js} +116 -8
- package/dist/assets/{SettingsUsersView-BibKm0uw.js → SettingsUsersView-C20UIl96.js} +23 -7
- package/dist/assets/{SettingsView-_a_GTA-g.js → SettingsView-CpZAuZxm.js} +7 -7
- package/dist/assets/{SetupView-B8mzwREj.js → SetupView-BvREbLrU.js} +7 -7
- package/dist/assets/{SetupWorkflowCredentialsButton-C2wXpCdh.js → SetupWorkflowCredentialsButton-BIbN4cJ6.js} +6 -6
- package/dist/assets/{SetupWorkflowFromTemplateView-D6O8INhE.js → SetupWorkflowFromTemplateView-C357Y9Vi.js} +8 -8
- package/dist/assets/{SigninView-DKkeDUtH.js → SigninView-CeJ43ND1.js} +7 -7
- package/dist/assets/{SignoutView-BjQlWgFQ.js → SignoutView-D3sjsQEx.js} +6 -6
- package/dist/assets/{SignupView-O9mgfKQh.js → SignupView-CzCkWH6M.js} +7 -7
- package/dist/assets/{TemplateDetails-rbYl7ZHO.js → TemplateDetails-Bj7Itggv.js} +2 -2
- package/dist/assets/{TemplateList-4qO5UWYI.js → TemplateList-C58hSpuD.js} +2 -2
- package/dist/assets/{TemplatesCollectionView-CxLg3AfW.js → TemplatesCollectionView-DonGS3Xi.js} +10 -10
- package/dist/assets/{TemplatesSearchView-C7iabuV8.js → TemplatesSearchView-CY5IEdoI.js} +9 -9
- package/dist/assets/{TemplatesView-C_ljCT59.js → TemplatesView-BDxDOXvA.js} +2 -2
- package/dist/assets/{TemplatesWorkflowView-j-AraUuj.js → TemplatesWorkflowView-RqvxOv6Y.js} +10 -10
- package/dist/assets/{VariablesView-CS5qD4nw.js → VariablesView-CWgQQ11v.js} +7 -7
- package/dist/assets/{WorkerView-Adh7mkGw.js → WorkerView-CuZ31KTm.js} +9 -9
- package/dist/assets/{WorkflowActivator-BSG90j8i.js → WorkflowActivator-QJQEAlol.js} +3 -3
- package/dist/assets/{WorkflowExecutionsInfoAccordion-z-P6winD.js → WorkflowExecutionsInfoAccordion-D1GINK_-.js} +2 -2
- package/dist/assets/{WorkflowExecutionsLandingPage-BywskSzl.js → WorkflowExecutionsLandingPage-CdHZrGCm.js} +15 -9
- package/dist/assets/{WorkflowExecutionsPreview-Bw3RnbrX.js → WorkflowExecutionsPreview-D2bonH2m.js} +347 -15
- package/dist/assets/WorkflowExecutionsPreview-DRCpGEbi.css +247 -0
- package/dist/assets/{WorkflowExecutionsView-KGfJTF01.js → WorkflowExecutionsView-B5qZFRE6.js} +187 -139
- package/dist/assets/{WorkflowExecutionsView-Jm7Pw4v1.css → WorkflowExecutionsView-DqAlwS1H.css} +47 -27
- package/dist/assets/{WorkflowHistory-TdbKbeFT.js → WorkflowHistory-iT3c2Dba.js} +8 -8
- package/dist/assets/{WorkflowOnboardingView-C5BrBTek.js → WorkflowOnboardingView-ByE-C4RB.js} +6 -6
- package/dist/assets/{WorkflowPreview-DjH7tXfj.js → WorkflowPreview-7drYWvjZ.js} +2 -2
- package/dist/assets/{WorkflowsView-CqmiCNtd.js → WorkflowsView-CnUNgqQS.js} +14 -14
- package/dist/assets/{cloud-DVcstsW2.js → cloud-hv-DrYaS.js} +6 -6
- package/dist/assets/collaboration.store-C3-IWwmH.js +65 -0
- package/dist/assets/{dateFormatter--Jm_2fEm.js → dateFormatter-Bqx7mo81.js} +1 -1
- package/dist/assets/{dateformat-U_ybGERk.js → dateformat-AR6dqtgF.js} +1 -1
- package/dist/assets/email-providers-DDLsbDn7.js +1 -0
- package/dist/assets/{fast-json-stable-stringify-DFVeKQSP.js → fast-json-stable-stringify-Bv7WnfR3.js} +1 -1
- package/dist/assets/{file-saver-Kt7b8Ak0.js → file-saver-DIrhuITr.js} +1 -1
- package/dist/assets/{humanize-duration-CgUlcJVm.js → humanize-duration-C7g7MDB7.js} +1 -1
- package/dist/assets/{index-1JP5ktFc.css → index-Bqkr-RRJ.css} +278 -113
- package/dist/assets/{index-BMqv_cxE.js → index-CuuON5-N.js} +4120 -6024
- package/dist/assets/{jsonpath-DlnJGFD7.js → jsonpath-BerKkpZA.js} +1 -1
- package/dist/assets/{n8n-NifPGZSM.js → n8n-Bsq9j3nN.js} +131 -94
- package/dist/assets/{n8n-OU8f1_-B.css → n8n-CTcX1GX6.css} +5 -3
- package/dist/assets/{pushConnection.store-BQ8wQOWv.js → pushConnection.store-BNUIa0bj.js} +1 -1
- package/dist/assets/{templateActions-CY6KLH9V.js → templateActions-ZLUx027Z.js} +1 -1
- package/dist/assets/{useExecutionDebugging-CjiDOv4V.js → useExecutionDebugging-Bs3Idq-K.js} +1 -1
- package/dist/assets/{usePushConnection-DmqdJ4p5.js → usePushConnection-DLShU-B9.js} +3 -3
- package/dist/assets/{useUserHelpers-Bhb_a-iT.js → useUserHelpers-y36h7KVV.js} +1 -1
- package/dist/assets/{useWorkflowActivate-BpRa7BDT.js → useWorkflowActivate-BGn1xTwP.js} +1 -1
- package/dist/assets/{vue-agile-Cf_Be-_o.js → vue-agile-B94Z2oxM.js} +1 -1
- package/dist/assets/{vue-json-pretty-CUUthm-2.js → vue-json-pretty-BZDb_0OP.js} +1 -1
- package/dist/assets/xss-DDLsbDn7.js +1 -0
- package/dist/index.html +8 -8
- package/package.json +1 -1
- package/dist/assets/WorkflowExecutionsPreview-DlcWqXFI.css +0 -79
- package/dist/assets/common-DCQSo5lV.js +0 -365
- package/dist/assets/email-providers-Cebboc1h.js +0 -1
- package/dist/assets/useExecutionHelpers-6mVnBCgd.js +0 -59
- package/dist/assets/xss-Cebboc1h.js +0 -1
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
._ratingIcon_1wqgu_1 {
|
|
2
|
+
display: -webkit-box;
|
|
3
|
+
display: -ms-flexbox;
|
|
4
|
+
display: flex;
|
|
5
|
+
-webkit-box-orient: horizontal;
|
|
6
|
+
-webkit-box-direction: normal;
|
|
7
|
+
-ms-flex-direction: row;
|
|
8
|
+
flex-direction: row;
|
|
9
|
+
}
|
|
10
|
+
._ratingIcon_1wqgu_1 ._up_1wqgu_5 {
|
|
11
|
+
color: var(--color-success);
|
|
12
|
+
}
|
|
13
|
+
._ratingIcon_1wqgu_1 ._down_1wqgu_8 {
|
|
14
|
+
color: var(--color-danger);
|
|
15
|
+
}._container_umkw2_1 {
|
|
16
|
+
z-index: 1;
|
|
17
|
+
position: absolute;
|
|
18
|
+
bottom: 0;
|
|
19
|
+
right: var(--spacing-xl);
|
|
20
|
+
-webkit-transform: translate(0, 100%);
|
|
21
|
+
transform: translate(0, 100%);
|
|
22
|
+
max-height: calc(100vh - 250px);
|
|
23
|
+
width: 250px;
|
|
24
|
+
display: -webkit-box;
|
|
25
|
+
display: -ms-flexbox;
|
|
26
|
+
display: flex;
|
|
27
|
+
-webkit-box-orient: vertical;
|
|
28
|
+
-webkit-box-direction: normal;
|
|
29
|
+
-ms-flex-direction: column;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
overflow: auto;
|
|
32
|
+
background-color: var(--color-background-xlight);
|
|
33
|
+
border: var(--border-base);
|
|
34
|
+
border-radius: var(--border-radius-base);
|
|
35
|
+
}
|
|
36
|
+
._section_umkw2_17 {
|
|
37
|
+
padding: var(--spacing-s);
|
|
38
|
+
display: -webkit-box;
|
|
39
|
+
display: -ms-flexbox;
|
|
40
|
+
display: flex;
|
|
41
|
+
-webkit-box-orient: vertical;
|
|
42
|
+
-webkit-box-direction: normal;
|
|
43
|
+
-ms-flex-direction: column;
|
|
44
|
+
flex-direction: column;
|
|
45
|
+
}
|
|
46
|
+
._section_umkw2_17:not(:last-child) {
|
|
47
|
+
border-bottom: var(--border-base);
|
|
48
|
+
}
|
|
49
|
+
._metadata_umkw2_26 {
|
|
50
|
+
padding-top: var(--spacing-s);
|
|
51
|
+
}
|
|
52
|
+
._heading_umkw2_30 {
|
|
53
|
+
display: -webkit-box;
|
|
54
|
+
display: -ms-flexbox;
|
|
55
|
+
display: flex;
|
|
56
|
+
-webkit-box-pack: justify;
|
|
57
|
+
-ms-flex-pack: justify;
|
|
58
|
+
justify-content: space-between;
|
|
59
|
+
-webkit-box-align: baseline;
|
|
60
|
+
-ms-flex-align: baseline;
|
|
61
|
+
align-items: baseline;
|
|
62
|
+
padding-right: var(--spacing-l);
|
|
63
|
+
}
|
|
64
|
+
._controls_umkw2_37 {
|
|
65
|
+
padding: var(--spacing-s) 0 var(--spacing-xs);
|
|
66
|
+
display: -webkit-box;
|
|
67
|
+
display: -ms-flexbox;
|
|
68
|
+
display: flex;
|
|
69
|
+
-webkit-box-align: center;
|
|
70
|
+
-ms-flex-align: center;
|
|
71
|
+
align-items: center;
|
|
72
|
+
-webkit-box-pack: justify;
|
|
73
|
+
-ms-flex-pack: justify;
|
|
74
|
+
justify-content: space-between;
|
|
75
|
+
padding-right: var(--spacing-m);
|
|
76
|
+
}
|
|
77
|
+
._controls_umkw2_37 button {
|
|
78
|
+
display: -webkit-box;
|
|
79
|
+
display: -ms-flexbox;
|
|
80
|
+
display: flex;
|
|
81
|
+
-webkit-box-align: center;
|
|
82
|
+
-ms-flex-align: center;
|
|
83
|
+
align-items: center;
|
|
84
|
+
}
|
|
85
|
+
._vote_umkw2_49 {
|
|
86
|
+
padding: 0 0 var(--spacing-xs);
|
|
87
|
+
font-size: var(--font-size-xs);
|
|
88
|
+
-webkit-box-flex: 1;
|
|
89
|
+
-ms-flex: 1;
|
|
90
|
+
flex: 1;
|
|
91
|
+
display: -webkit-box;
|
|
92
|
+
display: -ms-flexbox;
|
|
93
|
+
display: flex;
|
|
94
|
+
-webkit-box-orient: horizontal;
|
|
95
|
+
-webkit-box-direction: normal;
|
|
96
|
+
-ms-flex-direction: row;
|
|
97
|
+
flex-direction: row;
|
|
98
|
+
-webkit-box-pack: justify;
|
|
99
|
+
-ms-flex-pack: justify;
|
|
100
|
+
justify-content: space-between;
|
|
101
|
+
-webkit-box-align: center;
|
|
102
|
+
-ms-flex-align: center;
|
|
103
|
+
align-items: center;
|
|
104
|
+
}
|
|
105
|
+
._vote_umkw2_49 ._ratingIcon_umkw2_58 {
|
|
106
|
+
display: -webkit-box;
|
|
107
|
+
display: -ms-flexbox;
|
|
108
|
+
display: flex;
|
|
109
|
+
-webkit-box-orient: horizontal;
|
|
110
|
+
-webkit-box-direction: normal;
|
|
111
|
+
-ms-flex-direction: row;
|
|
112
|
+
flex-direction: row;
|
|
113
|
+
}
|
|
114
|
+
._vote_umkw2_49 ._ratingIcon_umkw2_58 ._highlight_umkw2_62 {
|
|
115
|
+
color: var(--color-primary);
|
|
116
|
+
}
|
|
117
|
+
._customDataEntry_umkw2_66 {
|
|
118
|
+
display: -webkit-box;
|
|
119
|
+
display: -ms-flexbox;
|
|
120
|
+
display: flex;
|
|
121
|
+
-webkit-box-orient: vertical;
|
|
122
|
+
-webkit-box-direction: normal;
|
|
123
|
+
-ms-flex-direction: column;
|
|
124
|
+
flex-direction: column;
|
|
125
|
+
}
|
|
126
|
+
._customDataEntry_umkw2_66:not(:first-of-type) {
|
|
127
|
+
margin-top: var(--spacing-s);
|
|
128
|
+
}
|
|
129
|
+
._customDataEntry_umkw2_66 ._key_umkw2_73 {
|
|
130
|
+
font-weight: bold;
|
|
131
|
+
}
|
|
132
|
+
._noResultsContainer_umkw2_77 {
|
|
133
|
+
width: 100%;
|
|
134
|
+
margin-top: var(--spacing-s);
|
|
135
|
+
}
|
|
136
|
+
._execution-annotation-panel_umkw2_82 :deep(._el-skeleton__item_umkw2_82) {
|
|
137
|
+
height: 60px;
|
|
138
|
+
border-radius: 0;
|
|
139
|
+
}
|
|
140
|
+
._tagsContainer_umkw2_87 {
|
|
141
|
+
display: -webkit-inline-box;
|
|
142
|
+
display: -ms-inline-flexbox;
|
|
143
|
+
display: inline-flex;
|
|
144
|
+
-ms-flex-wrap: wrap;
|
|
145
|
+
flex-wrap: wrap;
|
|
146
|
+
-webkit-box-align: center;
|
|
147
|
+
-ms-flex-align: center;
|
|
148
|
+
align-items: center;
|
|
149
|
+
margin-top: calc(var(--spacing-4xs) * -1);
|
|
150
|
+
}
|
|
151
|
+
._tagsContainer_umkw2_87 * {
|
|
152
|
+
margin: var(--spacing-4xs) var(--spacing-4xs) 0 0;
|
|
153
|
+
}
|
|
154
|
+
._addTag_umkw2_97 {
|
|
155
|
+
font-size: var(--font-size-2xs);
|
|
156
|
+
color: var(--color-text-light);
|
|
157
|
+
font-weight: var(--font-weight-bold);
|
|
158
|
+
white-space: nowrap;
|
|
159
|
+
}
|
|
160
|
+
._addTag_umkw2_97:hover {
|
|
161
|
+
color: var(--color-primary);
|
|
162
|
+
text-decoration: none;
|
|
163
|
+
}
|
|
164
|
+
._addTagStandalone_umkw2_108 {
|
|
165
|
+
padding: var(--spacing-m) 0;
|
|
166
|
+
}
|
|
167
|
+
._addTagWrapper_umkw2_112 {
|
|
168
|
+
margin-left: calc(var(--spacing-2xs) * -1);
|
|
169
|
+
}._previewContainer_duwst_1 {
|
|
170
|
+
position: relative;
|
|
171
|
+
height: 100%;
|
|
172
|
+
overflow: hidden;
|
|
173
|
+
}
|
|
174
|
+
._executionDetails_duwst_7 {
|
|
175
|
+
position: absolute;
|
|
176
|
+
padding: var(--spacing-m);
|
|
177
|
+
padding-right: var(--spacing-xl);
|
|
178
|
+
width: 100%;
|
|
179
|
+
display: -webkit-box;
|
|
180
|
+
display: -ms-flexbox;
|
|
181
|
+
display: flex;
|
|
182
|
+
-webkit-box-pack: justify;
|
|
183
|
+
-ms-flex-pack: justify;
|
|
184
|
+
justify-content: space-between;
|
|
185
|
+
-webkit-box-align: center;
|
|
186
|
+
-ms-flex-align: center;
|
|
187
|
+
align-items: center;
|
|
188
|
+
-webkit-transition: all 150ms ease-in-out;
|
|
189
|
+
transition: all 150ms ease-in-out;
|
|
190
|
+
pointer-events: none;
|
|
191
|
+
}
|
|
192
|
+
._executionDetails_duwst_7 > div:last-child {
|
|
193
|
+
display: -webkit-box;
|
|
194
|
+
display: -ms-flexbox;
|
|
195
|
+
display: flex;
|
|
196
|
+
-webkit-box-align: center;
|
|
197
|
+
-ms-flex-align: center;
|
|
198
|
+
align-items: center;
|
|
199
|
+
}
|
|
200
|
+
._executionDetails_duwst_7 * {
|
|
201
|
+
pointer-events: all;
|
|
202
|
+
}
|
|
203
|
+
._spinner_duwst_26 div div {
|
|
204
|
+
width: 30px;
|
|
205
|
+
height: 30px;
|
|
206
|
+
border-width: 2px;
|
|
207
|
+
}
|
|
208
|
+
._running_duwst_32,
|
|
209
|
+
._spinner_duwst_26 {
|
|
210
|
+
color: var(--color-warning);
|
|
211
|
+
}
|
|
212
|
+
._waiting_duwst_37 {
|
|
213
|
+
color: var(--color-secondary);
|
|
214
|
+
}
|
|
215
|
+
._success_duwst_41 {
|
|
216
|
+
color: var(--color-success);
|
|
217
|
+
}
|
|
218
|
+
._error_duwst_45 {
|
|
219
|
+
color: var(--color-danger);
|
|
220
|
+
}
|
|
221
|
+
._newInfo_duwst_49,
|
|
222
|
+
._runningInfo_duwst_50 {
|
|
223
|
+
display: -webkit-box;
|
|
224
|
+
display: -ms-flexbox;
|
|
225
|
+
display: flex;
|
|
226
|
+
-webkit-box-orient: vertical;
|
|
227
|
+
-webkit-box-direction: normal;
|
|
228
|
+
-ms-flex-direction: column;
|
|
229
|
+
flex-direction: column;
|
|
230
|
+
-webkit-box-align: center;
|
|
231
|
+
-ms-flex-align: center;
|
|
232
|
+
align-items: center;
|
|
233
|
+
margin-top: var(--spacing-4xl);
|
|
234
|
+
}
|
|
235
|
+
._newMessage_duwst_57,
|
|
236
|
+
._runningMessage_duwst_58 {
|
|
237
|
+
width: 240px;
|
|
238
|
+
margin-top: var(--spacing-l);
|
|
239
|
+
text-align: center;
|
|
240
|
+
}
|
|
241
|
+
._debugLink_duwst_64 {
|
|
242
|
+
margin-right: var(--spacing-xs);
|
|
243
|
+
}
|
|
244
|
+
._debugLink_duwst_64 a > span {
|
|
245
|
+
display: block;
|
|
246
|
+
padding: var(--button-padding-vertical, var(--spacing-xs)) var(--button-padding-horizontal, var(--spacing-m));
|
|
247
|
+
}
|
package/dist/assets/{WorkflowExecutionsView-KGfJTF01.js → WorkflowExecutionsView-B5qZFRE6.js}
RENAMED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { I as defineComponent, aE as useRoute, f as computed, q as onMounted, an as resolveComponent, J as openBlock, K as createElementBlock, a8 as createVNode, a3 as withCtx, L as createBaseVNode, a6 as createTextVNode, a7 as toDisplayString, _ as normalizeClass, V as createBlock, U as createCommentVNode, u as unref, aM as useRouter, a as ref, b as watch, R as Fragment, af as renderList, aa as TransitionGroup, aB as pushScopeId, aC as popScopeId, aY as onBeforeRouteLeave, m as onBeforeUnmount } from "./vendor-tVazXwC6.js";
|
|
2
|
-
import {
|
|
3
|
-
import { _ as _sfc_main$4, E as ExecutionsFilter } from "./ExecutionsFilter-
|
|
4
|
-
import { u as useExecutionHelpers } from "./
|
|
5
|
-
import { _ as _export_sfc } from "./n8n-
|
|
6
|
-
import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-
|
|
2
|
+
import { k as useWorkflowsStore, bw as usePostHog, b as useSettingsStore, E as EnterpriseEditionFeature, dq as EXECUTION_ANNOTATION_EXPERIMENT, V as VIEWS, j as useI18n, N as useExecutionsStore, t as getResourcePermissions, dr as isComponentPublicInstance, r as useWorkflowHelpers, da as getNodeViewTab, K as MAIN_HEADER_TABS, a5 as useNodeTypesStore, u as useToast, d as useDebounce, ak as useNodeHelpers, P as PLACEHOLDER_EMPTY_WORKFLOW_ID, dp as NEW_WORKFLOW_ID, x as useTelemetry, ds as NO_NETWORK_ERROR_CODE } from "./index-CuuON5-N.js";
|
|
3
|
+
import { _ as _sfc_main$4, E as ExecutionsFilter } from "./ExecutionsFilter-U6t29YO2.js";
|
|
4
|
+
import { u as useExecutionHelpers } from "./AnnotationTagsDropdown-Dt1nrqPR.js";
|
|
5
|
+
import { _ as _export_sfc } from "./n8n-Bsq9j3nN.js";
|
|
6
|
+
import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-D1GINK_-.js";
|
|
7
7
|
import "./axios-B4zXCSve.js";
|
|
8
8
|
import "./flatted-D70IerrI.js";
|
|
9
9
|
import "./pinia-DvV9jJ-A.js";
|
|
10
10
|
import "./bowser-C3wWO1p5.js";
|
|
11
|
-
import "./@vueuse/core-
|
|
11
|
+
import "./@vueuse/core-nU0-5GsD.js";
|
|
12
12
|
import "./lodash-es-kRWQHL5K.js";
|
|
13
|
-
import "./@n8n/permissions-
|
|
13
|
+
import "./@n8n/permissions-BxSXRD9U.js";
|
|
14
14
|
import "./uuid-sKupIUZ4.js";
|
|
15
|
-
import "./dateformat-
|
|
15
|
+
import "./dateformat-AR6dqtgF.js";
|
|
16
16
|
import "./vue-i18n-DNQ-lWfW.js";
|
|
17
17
|
import "./luxon-Bt_g4NOb.js";
|
|
18
18
|
import "./@n8n/codemirror-lang-CIGGB1t0.js";
|
|
@@ -26,12 +26,12 @@ import "./@jsplumb/connector-bezier-D659hq4c.js";
|
|
|
26
26
|
import "./@jsplumb/browser-ui-BphmFVJY.js";
|
|
27
27
|
import "./codemirror-lang-html-n8n-CXTCIWzP.js";
|
|
28
28
|
import "./esprima-next-DUEu30kB.js";
|
|
29
|
-
import "./fast-json-stable-stringify-
|
|
29
|
+
import "./fast-json-stable-stringify-Bv7WnfR3.js";
|
|
30
30
|
import "./timeago.js-CgQus8nl.js";
|
|
31
31
|
import "./qrcode.vue-Di8rc46A.js";
|
|
32
32
|
import "./vue3-touch-events-DVOgU3fI.js";
|
|
33
33
|
import "./chart.js-DiBOFLDH.js";
|
|
34
|
-
import "./dateFormatter
|
|
34
|
+
import "./dateFormatter-Bqx7mo81.js";
|
|
35
35
|
const _hoisted_1$1 = { key: 0 };
|
|
36
36
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
37
37
|
__name: "WorkflowExecutionsCard",
|
|
@@ -49,6 +49,14 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
49
49
|
const locale = useI18n();
|
|
50
50
|
const executionHelpers = useExecutionHelpers();
|
|
51
51
|
const workflowsStore = useWorkflowsStore();
|
|
52
|
+
const posthogStore = usePostHog();
|
|
53
|
+
const settingsStore = useSettingsStore();
|
|
54
|
+
const isAdvancedExecutionFilterEnabled = computed(
|
|
55
|
+
() => settingsStore.isEnterpriseFeatureEnabled[EnterpriseEditionFeature.AdvancedExecutionFilters]
|
|
56
|
+
);
|
|
57
|
+
const isAnnotationEnabled = computed(
|
|
58
|
+
() => isAdvancedExecutionFilterEnabled.value && posthogStore.isFeatureEnabled(EXECUTION_ANNOTATION_EXPERIMENT)
|
|
59
|
+
);
|
|
52
60
|
const currentWorkflow = computed(() => route.params.name || workflowsStore.workflowId);
|
|
53
61
|
const retryExecutionActions = computed(() => [
|
|
54
62
|
{
|
|
@@ -74,8 +82,9 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
74
82
|
return (_ctx, _cache) => {
|
|
75
83
|
const _component_N8nText = resolveComponent("N8nText");
|
|
76
84
|
const _component_N8nSpinner = resolveComponent("N8nSpinner");
|
|
77
|
-
const _component_N8nActionDropdown = resolveComponent("N8nActionDropdown");
|
|
78
85
|
const _component_FontAwesomeIcon = resolveComponent("FontAwesomeIcon");
|
|
86
|
+
const _component_N8nTags = resolveComponent("N8nTags");
|
|
87
|
+
const _component_N8nActionDropdown = resolveComponent("N8nActionDropdown");
|
|
79
88
|
const _component_N8nTooltip = resolveComponent("N8nTooltip");
|
|
80
89
|
const _component_router_link = resolveComponent("router-link");
|
|
81
90
|
return openBlock(), createElementBlock("div", {
|
|
@@ -96,137 +105,168 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
96
105
|
},
|
|
97
106
|
"data-test-execution-status": executionUIDetails.value.name
|
|
98
107
|
}, {
|
|
99
|
-
default: withCtx(() =>
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}, [
|
|
103
|
-
createVNode(_component_N8nText, {
|
|
104
|
-
color: "text-dark",
|
|
105
|
-
bold: true,
|
|
106
|
-
size: "medium",
|
|
107
|
-
"data-test-id": "execution-time"
|
|
108
|
-
}, {
|
|
109
|
-
default: withCtx(() => [
|
|
110
|
-
createTextVNode(toDisplayString(executionUIDetails.value.startTime), 1)
|
|
111
|
-
]),
|
|
112
|
-
_: 1
|
|
113
|
-
}),
|
|
108
|
+
default: withCtx(() => {
|
|
109
|
+
var _a;
|
|
110
|
+
return [
|
|
114
111
|
createBaseVNode("div", {
|
|
115
|
-
class: normalizeClass(_ctx.$style.
|
|
112
|
+
class: normalizeClass(_ctx.$style.description)
|
|
116
113
|
}, [
|
|
117
|
-
executionUIDetails.value.name === "running" ? (openBlock(), createBlock(_component_N8nSpinner, {
|
|
118
|
-
key: 0,
|
|
119
|
-
size: "small",
|
|
120
|
-
class: normalizeClass([_ctx.$style.spinner, "mr-4xs"])
|
|
121
|
-
}, null, 8, ["class"])) : createCommentVNode("", true),
|
|
122
114
|
createVNode(_component_N8nText, {
|
|
123
|
-
|
|
124
|
-
|
|
115
|
+
color: "text-dark",
|
|
116
|
+
bold: true,
|
|
117
|
+
size: "medium",
|
|
118
|
+
"data-test-id": "execution-time"
|
|
125
119
|
}, {
|
|
126
120
|
default: withCtx(() => [
|
|
127
|
-
createTextVNode(toDisplayString(executionUIDetails.value.
|
|
121
|
+
createTextVNode(toDisplayString(executionUIDetails.value.startTime), 1)
|
|
128
122
|
]),
|
|
129
123
|
_: 1
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
|
|
124
|
+
}),
|
|
125
|
+
createBaseVNode("div", {
|
|
126
|
+
class: normalizeClass(_ctx.$style.executionStatus)
|
|
127
|
+
}, [
|
|
128
|
+
executionUIDetails.value.name === "running" ? (openBlock(), createBlock(_component_N8nSpinner, {
|
|
129
|
+
key: 0,
|
|
130
|
+
size: "small",
|
|
131
|
+
class: normalizeClass([_ctx.$style.spinner, "mr-4xs"])
|
|
132
|
+
}, null, 8, ["class"])) : createCommentVNode("", true),
|
|
133
|
+
createVNode(_component_N8nText, {
|
|
134
|
+
class: normalizeClass(_ctx.$style.statusLabel),
|
|
135
|
+
size: "small"
|
|
136
|
+
}, {
|
|
137
|
+
default: withCtx(() => [
|
|
138
|
+
createTextVNode(toDisplayString(executionUIDetails.value.label), 1)
|
|
139
|
+
]),
|
|
140
|
+
_: 1
|
|
141
|
+
}, 8, ["class"]),
|
|
142
|
+
createTextVNode(" " + toDisplayString(" ") + " "),
|
|
143
|
+
executionUIDetails.value.name === "running" ? (openBlock(), createBlock(_component_N8nText, {
|
|
144
|
+
key: 1,
|
|
145
|
+
color: isActive.value ? "text-dark" : "text-base",
|
|
146
|
+
size: "small"
|
|
147
|
+
}, {
|
|
148
|
+
default: withCtx(() => [
|
|
149
|
+
createTextVNode(toDisplayString(unref(locale).baseText("executionDetails.runningTimeRunning")) + " ", 1),
|
|
150
|
+
createVNode(_sfc_main$4, {
|
|
151
|
+
"start-time": _ctx.execution.startedAt
|
|
152
|
+
}, null, 8, ["start-time"])
|
|
153
|
+
]),
|
|
154
|
+
_: 1
|
|
155
|
+
}, 8, ["color"])) : executionUIDetails.value.runningTime !== "" ? (openBlock(), createBlock(_component_N8nText, {
|
|
156
|
+
key: 2,
|
|
157
|
+
color: isActive.value ? "text-dark" : "text-base",
|
|
158
|
+
size: "small"
|
|
159
|
+
}, {
|
|
160
|
+
default: withCtx(() => {
|
|
161
|
+
var _a2;
|
|
162
|
+
return [
|
|
163
|
+
createTextVNode(toDisplayString(unref(locale).baseText("executionDetails.runningTimeFinished", {
|
|
164
|
+
interpolate: { time: (_a2 = executionUIDetails.value) == null ? void 0 : _a2.runningTime }
|
|
165
|
+
})), 1)
|
|
166
|
+
];
|
|
167
|
+
}),
|
|
168
|
+
_: 1
|
|
169
|
+
}, 8, ["color"])) : createCommentVNode("", true)
|
|
170
|
+
], 2),
|
|
171
|
+
_ctx.execution.mode === "retry" ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
172
|
+
createVNode(_component_N8nText, {
|
|
173
|
+
color: isActive.value ? "text-dark" : "text-base",
|
|
174
|
+
size: "small"
|
|
175
|
+
}, {
|
|
176
|
+
default: withCtx(() => [
|
|
177
|
+
createTextVNode(toDisplayString(unref(locale).baseText("executionDetails.retry")) + " #" + toDisplayString(_ctx.execution.retryOf), 1)
|
|
178
|
+
]),
|
|
179
|
+
_: 1
|
|
180
|
+
}, 8, ["color"])
|
|
181
|
+
])) : createCommentVNode("", true),
|
|
182
|
+
isAnnotationEnabled.value ? (openBlock(), createElementBlock("div", {
|
|
133
183
|
key: 1,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
}),
|
|
157
|
-
_: 1
|
|
158
|
-
}, 8, ["color"])) : createCommentVNode("", true)
|
|
184
|
+
class: normalizeClass(_ctx.$style.annotation)
|
|
185
|
+
}, [
|
|
186
|
+
((_a = _ctx.execution.annotation) == null ? void 0 : _a.vote) ? (openBlock(), createElementBlock("div", {
|
|
187
|
+
key: 0,
|
|
188
|
+
class: normalizeClass(_ctx.$style.ratingIcon)
|
|
189
|
+
}, [
|
|
190
|
+
_ctx.execution.annotation.vote == "up" ? (openBlock(), createBlock(_component_FontAwesomeIcon, {
|
|
191
|
+
key: 0,
|
|
192
|
+
class: normalizeClass(_ctx.$style.up),
|
|
193
|
+
icon: "thumbs-up"
|
|
194
|
+
}, null, 8, ["class"])) : (openBlock(), createBlock(_component_FontAwesomeIcon, {
|
|
195
|
+
key: 1,
|
|
196
|
+
class: normalizeClass(_ctx.$style.down),
|
|
197
|
+
icon: "thumbs-down"
|
|
198
|
+
}, null, 8, ["class"]))
|
|
199
|
+
], 2)) : createCommentVNode("", true),
|
|
200
|
+
executionUIDetails.value.tags.length > 0 ? (openBlock(), createBlock(_component_N8nTags, {
|
|
201
|
+
key: 1,
|
|
202
|
+
tags: executionUIDetails.value.tags,
|
|
203
|
+
clickable: false
|
|
204
|
+
}, null, 8, ["tags"])) : createCommentVNode("", true)
|
|
205
|
+
], 2)) : createCommentVNode("", true)
|
|
159
206
|
], 2),
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
207
|
+
createBaseVNode("div", {
|
|
208
|
+
class: normalizeClass(_ctx.$style.icons)
|
|
209
|
+
}, [
|
|
210
|
+
isRetriable.value ? (openBlock(), createBlock(_component_N8nActionDropdown, {
|
|
211
|
+
key: 0,
|
|
212
|
+
class: normalizeClass([_ctx.$style.icon, _ctx.$style.retry]),
|
|
213
|
+
items: retryExecutionActions.value,
|
|
214
|
+
disabled: !_ctx.workflowPermissions.execute,
|
|
215
|
+
"activator-icon": "redo",
|
|
216
|
+
"data-test-id": "retry-execution-button",
|
|
217
|
+
onSelect: onRetryMenuItemSelect
|
|
218
|
+
}, null, 8, ["class", "items", "disabled"])) : createCommentVNode("", true),
|
|
219
|
+
_ctx.execution.mode === "manual" ? (openBlock(), createBlock(_component_N8nTooltip, {
|
|
220
|
+
key: 1,
|
|
221
|
+
placement: "top"
|
|
164
222
|
}, {
|
|
223
|
+
content: withCtx(() => [
|
|
224
|
+
createBaseVNode("span", null, toDisplayString(unref(locale).baseText("executionsList.test")), 1)
|
|
225
|
+
]),
|
|
165
226
|
default: withCtx(() => [
|
|
166
|
-
|
|
227
|
+
_ctx.execution.mode === "manual" ? (openBlock(), createBlock(_component_FontAwesomeIcon, {
|
|
228
|
+
key: 0,
|
|
229
|
+
class: normalizeClass([_ctx.$style.icon, _ctx.$style.manual]),
|
|
230
|
+
icon: "flask"
|
|
231
|
+
}, null, 8, ["class"])) : createCommentVNode("", true)
|
|
167
232
|
]),
|
|
168
233
|
_: 1
|
|
169
|
-
}
|
|
170
|
-
]
|
|
171
|
-
]
|
|
172
|
-
|
|
173
|
-
class: normalizeClass(_ctx.$style.icons)
|
|
174
|
-
}, [
|
|
175
|
-
isRetriable.value ? (openBlock(), createBlock(_component_N8nActionDropdown, {
|
|
176
|
-
key: 0,
|
|
177
|
-
class: normalizeClass([_ctx.$style.icon, _ctx.$style.retry]),
|
|
178
|
-
items: retryExecutionActions.value,
|
|
179
|
-
disabled: !_ctx.workflowPermissions.execute,
|
|
180
|
-
"activator-icon": "redo",
|
|
181
|
-
"data-test-id": "retry-execution-button",
|
|
182
|
-
onSelect: onRetryMenuItemSelect
|
|
183
|
-
}, null, 8, ["class", "items", "disabled"])) : createCommentVNode("", true),
|
|
184
|
-
_ctx.execution.mode === "manual" ? (openBlock(), createBlock(_component_N8nTooltip, {
|
|
185
|
-
key: 1,
|
|
186
|
-
placement: "top"
|
|
187
|
-
}, {
|
|
188
|
-
content: withCtx(() => [
|
|
189
|
-
createBaseVNode("span", null, toDisplayString(unref(locale).baseText("executionsList.test")), 1)
|
|
190
|
-
]),
|
|
191
|
-
default: withCtx(() => [
|
|
192
|
-
_ctx.execution.mode === "manual" ? (openBlock(), createBlock(_component_FontAwesomeIcon, {
|
|
193
|
-
key: 0,
|
|
194
|
-
class: normalizeClass([_ctx.$style.icon, _ctx.$style.manual]),
|
|
195
|
-
icon: "flask"
|
|
196
|
-
}, null, 8, ["class"])) : createCommentVNode("", true)
|
|
197
|
-
]),
|
|
198
|
-
_: 1
|
|
199
|
-
})) : createCommentVNode("", true)
|
|
200
|
-
], 2)
|
|
201
|
-
]),
|
|
234
|
+
})) : createCommentVNode("", true)
|
|
235
|
+
], 2)
|
|
236
|
+
];
|
|
237
|
+
}),
|
|
202
238
|
_: 1
|
|
203
239
|
}, 8, ["class", "to", "data-test-execution-status"])
|
|
204
240
|
], 2);
|
|
205
241
|
};
|
|
206
242
|
}
|
|
207
243
|
});
|
|
208
|
-
const WorkflowExecutionsCard$1 = "
|
|
209
|
-
const active = "
|
|
210
|
-
const executionStatus = "
|
|
211
|
-
const executionLink = "
|
|
212
|
-
const spinner = "
|
|
213
|
-
const running = "
|
|
214
|
-
const statusLabel = "
|
|
215
|
-
const success = "
|
|
216
|
-
const waiting = "
|
|
217
|
-
const error = "
|
|
218
|
-
const unknown = "
|
|
219
|
-
const
|
|
220
|
-
const
|
|
221
|
-
const
|
|
222
|
-
const
|
|
223
|
-
const
|
|
244
|
+
const WorkflowExecutionsCard$1 = "_WorkflowExecutionsCard_1jaj8_1";
|
|
245
|
+
const active = "_active_1jaj8_8";
|
|
246
|
+
const executionStatus = "_executionStatus_1jaj8_11";
|
|
247
|
+
const executionLink = "_executionLink_1jaj8_14";
|
|
248
|
+
const spinner = "_spinner_1jaj8_17";
|
|
249
|
+
const running = "_running_1jaj8_17";
|
|
250
|
+
const statusLabel = "_statusLabel_1jaj8_24";
|
|
251
|
+
const success = "_success_1jaj8_29";
|
|
252
|
+
const waiting = "_waiting_1jaj8_38";
|
|
253
|
+
const error = "_error_1jaj8_44";
|
|
254
|
+
const unknown = "_unknown_1jaj8_50";
|
|
255
|
+
const annotation = "_annotation_1jaj8_53";
|
|
256
|
+
const ratingIcon = "_ratingIcon_1jaj8_60";
|
|
257
|
+
const up = "_up_1jaj8_60";
|
|
258
|
+
const down = "_down_1jaj8_63";
|
|
259
|
+
const icon = "_icon_1jaj8_80";
|
|
260
|
+
const icons = "_icons_1jaj8_85";
|
|
261
|
+
const retry = "_retry_1jaj8_93";
|
|
262
|
+
const manual = "_manual_1jaj8_96";
|
|
263
|
+
const showGap = "_showGap_1jaj8_104";
|
|
224
264
|
const style0$2 = {
|
|
225
265
|
WorkflowExecutionsCard: WorkflowExecutionsCard$1,
|
|
226
266
|
active,
|
|
227
267
|
executionStatus,
|
|
228
268
|
executionLink,
|
|
229
|
-
"new": "
|
|
269
|
+
"new": "_new_1jaj8_17",
|
|
230
270
|
spinner,
|
|
231
271
|
running,
|
|
232
272
|
statusLabel,
|
|
@@ -234,6 +274,10 @@ const style0$2 = {
|
|
|
234
274
|
waiting,
|
|
235
275
|
error,
|
|
236
276
|
unknown,
|
|
277
|
+
annotation,
|
|
278
|
+
ratingIcon,
|
|
279
|
+
up,
|
|
280
|
+
down,
|
|
237
281
|
icon,
|
|
238
282
|
icons,
|
|
239
283
|
retry,
|
|
@@ -629,13 +673,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
629
673
|
const loadingMore = ref(false);
|
|
630
674
|
const workflow = ref();
|
|
631
675
|
const workflowId = computed(() => {
|
|
632
|
-
|
|
676
|
+
const workflowIdParam = route.params.name;
|
|
677
|
+
return [PLACEHOLDER_EMPTY_WORKFLOW_ID, NEW_WORKFLOW_ID].includes(workflowIdParam) ? void 0 : workflowIdParam;
|
|
633
678
|
});
|
|
634
679
|
const executionId = computed(() => route.params.executionId);
|
|
635
|
-
const executions = computed(
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
680
|
+
const executions = computed(
|
|
681
|
+
() => workflowId.value ? [
|
|
682
|
+
...executionsStore.currentExecutionsByWorkflowId[workflowId.value] ?? [],
|
|
683
|
+
...executionsStore.executionsByWorkflowId[workflowId.value] ?? []
|
|
684
|
+
] : []
|
|
685
|
+
);
|
|
639
686
|
const execution = computed(() => {
|
|
640
687
|
return executions.value.find((e) => e.id === executionId.value) ?? currentExecution.value;
|
|
641
688
|
});
|
|
@@ -653,13 +700,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
653
700
|
}
|
|
654
701
|
);
|
|
655
702
|
onMounted(async () => {
|
|
656
|
-
await nodeTypesStore.loadNodeTypesIfNotLoaded();
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
executionsStore.initialize(workflowId.value)
|
|
661
|
-
]);
|
|
662
|
-
await fetchExecution();
|
|
703
|
+
await Promise.all([nodeTypesStore.loadNodeTypesIfNotLoaded(), fetchWorkflow()]);
|
|
704
|
+
if (workflowId.value) {
|
|
705
|
+
await Promise.all([executionsStore.initialize(workflowId.value), fetchExecution()]);
|
|
706
|
+
}
|
|
663
707
|
await initializeRoute();
|
|
664
708
|
document.addEventListener("visibilitychange", onDocumentVisibilityChange);
|
|
665
709
|
});
|
|
@@ -697,17 +741,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
697
741
|
}
|
|
698
742
|
}
|
|
699
743
|
async function fetchWorkflow() {
|
|
700
|
-
if (
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
744
|
+
if (workflowId.value) {
|
|
745
|
+
if (workflowsStore.workflow.id === PLACEHOLDER_EMPTY_WORKFLOW_ID) {
|
|
746
|
+
try {
|
|
747
|
+
await workflowsStore.fetchActiveWorkflows();
|
|
748
|
+
const data = await workflowsStore.fetchWorkflow(workflowId.value);
|
|
749
|
+
workflowHelpers.initState(data);
|
|
750
|
+
await nodeHelpers.addNodes(data.nodes, data.connections);
|
|
751
|
+
} catch (error2) {
|
|
752
|
+
toast.showError(error2, i18n.baseText("nodeView.showError.openWorkflow.title"));
|
|
753
|
+
}
|
|
708
754
|
}
|
|
755
|
+
workflow.value = workflowsStore.getWorkflowById(workflowId.value);
|
|
756
|
+
} else {
|
|
757
|
+
workflow.value = workflowsStore.workflow;
|
|
709
758
|
}
|
|
710
|
-
workflow.value = workflowsStore.getWorkflowById(workflowId.value);
|
|
711
759
|
}
|
|
712
760
|
async function onAutoRefreshToggle(value) {
|
|
713
761
|
if (value) {
|