n8n-editor-ui 1.71.2 → 1.72.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/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-B1UbsNda.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-Cbs399j-.js} +1 -1
- package/dist/assets/{AuthView-Cnr31xHM.css → AuthView-BP3bsQpK.css} +3 -14
- package/dist/assets/{AuthView-JKMMx-Bn.js → AuthView-DuSzUF_q.js} +1 -1
- package/dist/assets/{CanvasChat-CL_1_d0F.js → CanvasChat-DDDq3p46.js} +76 -104
- package/dist/assets/{CanvasChat-BuYT3e9G.css → CanvasChat-DhkdJLy7.css} +18 -81
- package/dist/assets/{CanvasControls-Gjw5xMXK.css → CanvasControls-BEOkwFDJ.css} +1 -2
- package/dist/assets/{CanvasControls-dq8xRpaX.js → CanvasControls-Duub9FxL.js} +1 -1
- package/dist/assets/{ChangePasswordView-DcEM1lB7.js → ChangePasswordView-BuQ2qoSR.js} +2 -2
- package/dist/assets/CollectionParameter-DCHfcxG9.js +4 -0
- package/dist/assets/{ConcurrentExecutionsHeader-D99WmQjD.css → ConcurrentExecutionsHeader-ChCLnjVG.css} +7 -17
- package/dist/assets/{ConcurrentExecutionsHeader-dkET-a7Q.js → ConcurrentExecutionsHeader-DEVae0lG.js} +51 -47
- package/dist/assets/CredentialsView-CzforIh7.css +36 -0
- package/dist/assets/{CredentialsView-DG8diYMB.js → CredentialsView-D7TtoLkV.js} +15 -25
- package/dist/assets/{ErrorView-BGe8w3Xr.js → ErrorView-CR74tTBb.js} +1 -1
- package/dist/assets/ErrorView-DZCz_7-d.css +22 -0
- package/dist/assets/{ExecutionsView-BJoXwC-Z.js → ExecutionsView-BAOwpr5l.js} +123 -38
- package/dist/assets/{ExecutionsView-DNwpODRj.css → ExecutionsView-CLxQdDnP.css} +16 -43
- package/dist/assets/FileSaver.min-C1fwMQTB.js +81 -0
- package/dist/assets/{FixedCollectionParameter-BTramh90.js → FixedCollectionParameter-B8C97SrQ.js} +5 -9
- package/dist/assets/{FixedCollectionParameter-DzOGMEdq.css → FixedCollectionParameter-CUxLKPYJ.css} +1 -6
- package/dist/assets/{ForgotMyPasswordView-oexZTr8z.js → ForgotMyPasswordView-T3OVpayc.js} +2 -2
- package/dist/assets/{MainHeader-DrUbWzLR.css → MainHeader-Bg4Jr0GW.css} +16 -63
- package/dist/assets/{MainHeader-BbyuPC1-.js → MainHeader-DZb_F2jC.js} +20 -33
- package/dist/assets/{MainSidebar-DL53w2zU.css → MainSidebar-B_Q71vG8.css} +16 -68
- package/dist/assets/{MainSidebar-CoOhMS2p.js → MainSidebar-DjgzmvUo.js} +86 -71
- package/dist/assets/{NodeCreation-BBm4P4Dl.js → NodeCreation-CBqTGHa2.js} +10 -14
- package/dist/assets/{NodeCreation-30KXmZi2.css → NodeCreation-DTNNkgVv.css} +1 -5
- package/dist/assets/{NodeCreator-CvOLgSO_.css → NodeCreator-BvqI_pdC.css} +21 -91
- package/dist/assets/{NodeCreator-DDfa-bj4.js → NodeCreator-CuQ2ZOEz.js} +54 -90
- package/dist/assets/{NodeViewSwitcher-ClUWUAyY.js → NodeViewSwitcher-BmlbWevX.js} +7740 -2085
- package/dist/assets/{NodeViewSwitcher-DeWXKaHj.css → NodeViewSwitcher-DngiUgY8.css} +327 -954
- package/dist/assets/{ProjectCardBadge-C7nZeATi.js → ProjectCardBadge-DF8fmAh1.js} +8 -13
- package/dist/assets/ProjectHeader-CDl0NBcF.css +21 -0
- package/dist/assets/{ProjectHeader-FCM1IFvq.js → ProjectHeader-DSP_49QM.js} +61 -44
- package/dist/assets/{ProjectSettings-C1Kh3vUf.js → ProjectSettings-DH6obZ7n.js} +24 -42
- package/dist/assets/{ProjectSettings-CChpfrTS.css → ProjectSettings-DZws5IzZ.css} +2 -9
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-C8fpVZId.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-BDF_-XBt.js} +1 -1
- package/dist/assets/{ResourcesListLayout-N3iBY9SE.js → ResourcesListLayout-C4yDy_vx.js} +24 -30
- package/dist/assets/{ResourcesListLayout-I4rYUdFt.css → ResourcesListLayout-NZz6R66g.css} +11 -47
- package/dist/assets/{RunDataJson-DqS9JmrW.js → RunDataJson-CO1jLFw2.js} +13 -13
- package/dist/assets/{RunDataJson-Dtc8i0I7.css → RunDataJson-DW_khHj4.css} +0 -1
- package/dist/assets/{RunDataJsonActions-zNKrn8z4.css → RunDataJsonActions-CoiM0oFP.css} +0 -1
- package/dist/assets/RunDataJsonActions-D6DnZYzE.js +5514 -0
- package/dist/assets/{RunDataSearch-BA0wlJtp.css → RunDataSearch-B4q8H9Ex.css} +0 -1
- package/dist/assets/{RunDataSearch-DQg-3NLu.js → RunDataSearch-DiYlHY-K.js} +5 -7
- package/dist/assets/{RunDataTable-enskmmU4.css → RunDataTable-BOaG0Pms.css} +2 -10
- package/dist/assets/{RunDataTable-C-r4dBKi.js → RunDataTable-C5sHaqsD.js} +9 -14
- package/dist/assets/{SamlOnboarding-DOC41zib.js → SamlOnboarding-DYRTs15v.js} +4 -5
- package/dist/assets/{SettingsApiView-D7A9Z7VE.js → SettingsApiView-Bvin4o8w.js} +1 -1
- package/dist/assets/{SettingsApiView-5wBxahqI.css → SettingsApiView-DX3S-5pa.css} +2 -8
- package/dist/assets/{SettingsCommunityNodesView-Doj7Mc6p.js → SettingsCommunityNodesView-BPBDdovg.js} +3 -3
- package/dist/assets/{SettingsCommunityNodesView-BTbugFls.css → SettingsCommunityNodesView-kzxtAoLp.css} +10 -42
- package/dist/assets/SettingsExternalSecrets-BnXyxlJd.css +29 -0
- package/dist/assets/{SettingsExternalSecrets-CiJee6A2.js → SettingsExternalSecrets-DoybXhyo.js} +14 -17
- package/dist/assets/{SettingsLdapView-cRgzivq6.css → SettingsLdapView-BPh_inzE.css} +2 -8
- package/dist/assets/SettingsLdapView-BrNC6Qh6.js +2423 -0
- package/dist/assets/{SettingsLogStreamingView-CPaYA1pb.js → SettingsLogStreamingView-D-4wTNhZ.js} +20 -37
- package/dist/assets/SettingsLogStreamingView-Uz298HNW.css +46 -0
- package/dist/assets/{SettingsPersonalView-8cryanjn.js → SettingsPersonalView--R0Q037W.js} +7 -10
- package/dist/assets/{SettingsPersonalView-BOQgHIYm.css → SettingsPersonalView-CqzRUitO.css} +3 -13
- package/dist/assets/{SettingsSourceControl-BtaKK17d.js → SettingsSourceControl-BCQOkHOJ.js} +1 -1
- package/dist/assets/{SettingsSourceControl-aZrwFtXG.css → SettingsSourceControl-C7H8sLJN.css} +5 -21
- package/dist/assets/{SettingsSso-DUkYL_--.css → SettingsSso-Be_ejj46.css} +3 -13
- package/dist/assets/{SettingsSso-C3auUdV2.js → SettingsSso-DeAK9A9E.js} +10 -11
- package/dist/assets/{SettingsUsageAndPlan-D8umppz1.js → SettingsUsageAndPlan-BiwhRxUR.js} +3 -7
- package/dist/assets/{SettingsUsageAndPlan-vijI-va0.css → SettingsUsageAndPlan-C3fKPMTY.css} +13 -54
- package/dist/assets/{SettingsUsersView-BRd5UhyI.js → SettingsUsersView-D1UdEapr.js} +8 -15
- package/dist/assets/{SettingsView-ktFDRBzB.js → SettingsView-Q89YGCN2.js} +3 -4
- package/dist/assets/{SettingsView-DOWbkj-V.css → SettingsView-o6uNYu0t.css} +1 -5
- package/dist/assets/{SetupView-BSJb6a7P.js → SetupView-DCqQMYLy.js} +3 -9
- package/dist/assets/{SetupWorkflowCredentialsButton-CaxxfnG1.js → SetupWorkflowCredentialsButton-L9CrxDFg.js} +3 -5
- package/dist/assets/{SetupWorkflowFromTemplateView--YUdFlce.js → SetupWorkflowFromTemplateView-BpA_YQ34.js} +5 -9
- package/dist/assets/SetupWorkflowFromTemplateView-DjBcyMCl.css +26 -0
- package/dist/assets/{SigninView-BlTwZs_b.js → SigninView-Bt33fc_5.js} +4 -5
- package/dist/assets/{SigninView-BEBHcgmK.css → SigninView-DzDE1gJb.css} +3 -14
- package/dist/assets/{SignoutView-JBVuJyIF.js → SignoutView--_on8KAX.js} +1 -1
- package/dist/assets/{SignupView-CSDUApTL.js → SignupView-DEicsjdH.js} +2 -2
- package/dist/assets/{TemplateDetails-Bz0QJQCT.js → TemplateDetails-Dhm1dG_O.js} +1 -1
- package/dist/assets/{TemplateDetails-BjsdeJu8.css → TemplateDetails-p3M6A7jr.css} +1 -4
- package/dist/assets/{TemplateList-4lx8vpYf.css → TemplateList-BR3bpDTv.css} +13 -52
- package/dist/assets/{TemplateList-BI0SkQ1g.js → TemplateList-CPzRpvog.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-Bt9tzEFd.js → TemplatesCollectionView-C8Jq0-qA.js} +5 -5
- package/dist/assets/{TemplatesCollectionView-C1BUeMtq.css → TemplatesCollectionView-DJVlK4Bb.css} +1 -5
- package/dist/assets/{TemplatesSearchView-Phkx5x6d.js → TemplatesSearchView-Blq_Bqq5.js} +5 -20
- package/dist/assets/{TemplatesSearchView-BiokbeYf.css → TemplatesSearchView-CFrHWGcY.css} +4 -21
- package/dist/assets/{TemplatesView-CkTXQGVM.js → TemplatesView-Bj4OWmzK.js} +1 -1
- package/dist/assets/{TemplatesView-BfnDbKo5.css → TemplatesView-CBNZZ_X1.css} +3 -16
- package/dist/assets/{TemplatesWorkflowView-BN5JjV6M.css → TemplatesWorkflowView-CVC0fbb6.css} +2 -10
- package/dist/assets/{TemplatesWorkflowView-D1_szNF7.js → TemplatesWorkflowView-DphSUKNm.js} +35 -39
- package/dist/assets/{TestDefinitionEditView-szspUG0t.css → TestDefinitionEditView-CVRXpJ4c.css} +13 -54
- package/dist/assets/{TestDefinitionEditView-Xwe8FbT5.js → TestDefinitionEditView-nlKpSe51.js} +3 -4
- package/dist/assets/{TestDefinitionListView-BfUssieW.css → TestDefinitionListView-BJVxwUdb.css} +9 -46
- package/dist/assets/{TestDefinitionListView-BmSKpalA.js → TestDefinitionListView-Bv_N4am2.js} +4 -4
- package/dist/assets/{VariablesView-meR15bnW.css → VariablesView-BnGnRwcl.css} +3 -13
- package/dist/assets/{VariablesView-BswcatWf.js → VariablesView-VKM-4ifR.js} +28 -38
- package/dist/assets/{VirtualSchema-Be-DGXEU.css → VirtualSchema-CIfwZj8N.css} +11 -48
- package/dist/assets/VirtualSchema-GGAkzumm.js +378 -0
- package/dist/assets/WorkerView-CvXMClDD.css +123 -0
- package/dist/assets/{WorkerView-i3_FJTWp.js → WorkerView-Dz9wc7PU.js} +14 -23
- package/dist/assets/{WorkflowActivator-D8FiI2jP.css → WorkflowActivator-DSBGQvK0.css} +3 -9
- package/dist/assets/{WorkflowActivator-jfsIiMyw.js → WorkflowActivator-dYr3zDMt.js} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-BtHA9gNv.js → WorkflowExecutionsInfoAccordion-77XuVwD-.js} +1 -1
- package/dist/assets/{WorkflowExecutionsInfoAccordion-DfMew6q4.css → WorkflowExecutionsInfoAccordion-f5tIRAwu.css} +2 -14
- package/dist/assets/WorkflowExecutionsLandingPage-BodEQ5Bq.css +23 -0
- package/dist/assets/{WorkflowExecutionsLandingPage-ucDygk_3.js → WorkflowExecutionsLandingPage-ChhrSxtB.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-DRCpGEbi.css → WorkflowExecutionsPreview-C-e7WZrK.css} +22 -98
- package/dist/assets/{WorkflowExecutionsPreview-DuseT16F.js → WorkflowExecutionsPreview-ZLoATEmy.js} +39 -71
- package/dist/assets/{WorkflowExecutionsView-C6EMZ-AQ.css → WorkflowExecutionsView-CFOgmzpK.css} +18 -74
- package/dist/assets/{WorkflowExecutionsView-CZ5QHOpO.js → WorkflowExecutionsView-D89DZAfa.js} +151 -165
- package/dist/assets/{WorkflowHistory-C-lUH0fo.css → WorkflowHistory-D0ufvWsH.css} +14 -57
- package/dist/assets/{WorkflowHistory-C4UO5rXU.js → WorkflowHistory-_fF-3jG2.js} +16 -29
- package/dist/assets/{WorkflowOnboardingView-HYNy1WBn.js → WorkflowOnboardingView-i2624ID7.js} +22 -5
- package/dist/assets/{WorkflowPreview-D52yEew-.js → WorkflowPreview-Cv_v3IHF.js} +5 -11
- package/dist/assets/{WorkflowPreview-Bpiv2_RO.css → WorkflowPreview-DuLM6rtd.css} +4 -15
- package/dist/assets/WorkflowsView-D5fBzfD4.css +65 -0
- package/dist/assets/{WorkflowsView-CdV7wV6a.js → WorkflowsView-DR47VHMJ.js} +110 -120
- package/dist/assets/{index-D50gpyk6.css → index-Bo70cRA3.css} +350 -1351
- package/dist/assets/{index-DkYPoe33.js → index-CCXI3lDY.js} +45108 -40850
- package/dist/assets/polyfills-BN5TIqPj.js +5985 -0
- package/dist/assets/{pushConnection.store-C0J_J7Ow.js → pushConnection.store-DfMj51Th.js} +2 -3
- package/dist/assets/{templateActions-CXvZPlNH.js → templateActions-ec-ClLec.js} +1 -1
- package/dist/assets/{testDefinition.store.ee-DciOayJ-.js → testDefinition.store.ee-C0xCg8QL.js} +1 -1
- package/dist/assets/{useBugReporting-DrYTNAFo.js → useBugReporting-C9GTfqQe.js} +1 -1
- package/dist/assets/{useExecutionDebugging-C9kQFfou.js → useExecutionDebugging-BrbomFd3.js} +3 -6
- package/dist/assets/{useExecutionHelpers-COKugyln.js → useExecutionHelpers-DFmufkWn.js} +3 -4
- package/dist/assets/{useGlobalEntityCreation-DgBborqw.js → useGlobalEntityCreation-DGZrorid.js} +29 -14
- package/dist/assets/{useNodeViewVersionSwitcher-BmGZloJx.js → useNodeViewVersionSwitcher-lq5QJl2E.js} +1 -1
- package/dist/assets/{usePushConnection-BW-tjJme.js → usePushConnection-6tUjs1wL.js} +35 -22
- package/dist/assets/{useRunWorkflow-B_S0x25z.css → useRunWorkflow-BDl-2MsN.css} +24 -106
- package/dist/assets/{useRunWorkflow-BIayODt1.js → useRunWorkflow-DrX_5tsG.js} +1547 -1581
- package/dist/assets/{useWorkflowActivate-CXzNrkBs.js → useWorkflowActivate-DPuLtYrd.js} +1 -1
- package/dist/index.html +4 -2
- package/package.json +1 -1
- package/tsconfig.json +2 -1
- package/vite.config.mts +11 -0
- package/dist/assets/CollectionParameter-CNqWA_Ev.js +0 -4
- package/dist/assets/CredentialsView-ChjCCSbV.css +0 -56
- package/dist/assets/ErrorView-Dzof6SY8.css +0 -35
- package/dist/assets/FileSaver.min-DNj6htjC.js +0 -74
- package/dist/assets/ProjectHeader-CTK_rV3h.css +0 -28
- package/dist/assets/RunDataJsonActions-Dhf7HpSV.js +0 -5509
- package/dist/assets/SettingsExternalSecrets-BD5PuMIG.css +0 -50
- package/dist/assets/SettingsLdapView-DCZRX8Wu.js +0 -2417
- package/dist/assets/SettingsLogStreamingView-CWIuI89G.css +0 -75
- package/dist/assets/SetupWorkflowFromTemplateView-CvsDVBkh.css +0 -44
- package/dist/assets/VirtualSchema-Doa_U7yw.js +0 -1863
- package/dist/assets/WorkerView-C_d54L0W.css +0 -181
- package/dist/assets/WorkflowExecutionsLandingPage-B1zCnzh_.css +0 -39
- package/dist/assets/WorkflowsView-C1eCTa1K.css +0 -82
- /package/dist/assets/{ProjectCardBadge-DPUG4BoB.css → ProjectCardBadge-DQvW5T7s.css} +0 -0
- /package/dist/assets/{SettingsUsersView-Ba9S2o-I.css → SettingsUsersView-C13eCMjh.css} +0 -0
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
._searchContainer_dci3d_1 {
|
|
2
|
-
display: -webkit-box;
|
|
3
|
-
display: -ms-flexbox;
|
|
4
2
|
display: flex;
|
|
5
3
|
height: 40px;
|
|
6
4
|
padding: 0 var(--spacing-xs);
|
|
7
|
-
-
|
|
8
|
-
-ms-flex-align: center;
|
|
9
|
-
align-items: center;
|
|
5
|
+
align-items: center;
|
|
10
6
|
margin: var(--search-margin, var(--spacing-s));
|
|
11
|
-
|
|
12
|
-
filter: drop-shadow(0px 2px 5px rgba(46, 46, 50, 0.04));
|
|
7
|
+
filter: drop-shadow(0px 2px 5px rgba(46, 46, 50, 0.04));
|
|
13
8
|
border: 1px solid var(--color-foreground-base);
|
|
14
9
|
background-color: var(--color-background-xlight);
|
|
15
10
|
color: var(--color-text-light);
|
|
@@ -27,9 +22,7 @@
|
|
|
27
22
|
color: var(--color-primary) !important;
|
|
28
23
|
}
|
|
29
24
|
._text_dci3d_26 {
|
|
30
|
-
-
|
|
31
|
-
-ms-flex-positive: 1;
|
|
32
|
-
flex-grow: 1;
|
|
25
|
+
flex-grow: 1;
|
|
33
26
|
}
|
|
34
27
|
._text_dci3d_26 input {
|
|
35
28
|
width: 100%;
|
|
@@ -37,14 +30,10 @@
|
|
|
37
30
|
outline: none;
|
|
38
31
|
font-size: var(--font-size-s);
|
|
39
32
|
-webkit-appearance: none;
|
|
40
|
-
-moz-appearance: none;
|
|
41
33
|
appearance: none;
|
|
42
34
|
background-color: var(--color-background-xlight);
|
|
43
35
|
color: var(--color-text-dark);
|
|
44
36
|
}
|
|
45
|
-
._text_dci3d_26 input::-webkit-input-placeholder {
|
|
46
|
-
color: var(--color-text-light);
|
|
47
|
-
}
|
|
48
37
|
._text_dci3d_26 input::placeholder, ._text_dci3d_26 input::-webkit-input-placeholder {
|
|
49
38
|
color: var(--color-text-light);
|
|
50
39
|
}
|
|
@@ -70,8 +59,6 @@
|
|
|
70
59
|
margin-left: 15px;
|
|
71
60
|
margin-right: 12px;
|
|
72
61
|
-webkit-user-select: none;
|
|
73
|
-
-moz-user-select: none;
|
|
74
|
-
-ms-user-select: none;
|
|
75
62
|
user-select: none;
|
|
76
63
|
}
|
|
77
64
|
._nodeIcon_124lg_9 {
|
|
@@ -82,8 +69,7 @@
|
|
|
82
69
|
border-radius: 50%;
|
|
83
70
|
height: 40px;
|
|
84
71
|
position: absolute;
|
|
85
|
-
|
|
86
|
-
transform: translate(-7px, -7px);
|
|
72
|
+
transform: translate(-7px, -7px);
|
|
87
73
|
width: 40px;
|
|
88
74
|
z-index: 1;
|
|
89
75
|
}
|
|
@@ -99,15 +85,9 @@
|
|
|
99
85
|
border: 2px solid var(--color-foreground-xdark);
|
|
100
86
|
border-radius: var(--border-radius-large);
|
|
101
87
|
background-color: var(--color-background-xlight);
|
|
102
|
-
display: -webkit-box;
|
|
103
|
-
display: -ms-flexbox;
|
|
104
88
|
display: flex;
|
|
105
|
-
-
|
|
106
|
-
|
|
107
|
-
justify-content: center;
|
|
108
|
-
-webkit-box-align: center;
|
|
109
|
-
-ms-flex-align: center;
|
|
110
|
-
align-items: center;
|
|
89
|
+
justify-content: center;
|
|
90
|
+
align-items: center;
|
|
111
91
|
}
|
|
112
92
|
._draggableDataTransfer_124lg_41 {
|
|
113
93
|
width: 1px;
|
|
@@ -152,15 +132,9 @@
|
|
|
152
132
|
border: 2px solid var(--color-foreground-xdark);
|
|
153
133
|
border-radius: var(--border-radius-large);
|
|
154
134
|
background-color: var(--color-background-xlight);
|
|
155
|
-
display: -webkit-box;
|
|
156
|
-
display: -ms-flexbox;
|
|
157
135
|
display: flex;
|
|
158
|
-
-
|
|
159
|
-
|
|
160
|
-
justify-content: center;
|
|
161
|
-
-webkit-box-align: center;
|
|
162
|
-
-ms-flex-align: center;
|
|
163
|
-
align-items: center;
|
|
136
|
+
justify-content: center;
|
|
137
|
+
align-items: center;
|
|
164
138
|
}
|
|
165
139
|
._draggableDataTransfer_139su_31 {
|
|
166
140
|
width: 1px;
|
|
@@ -183,8 +157,6 @@
|
|
|
183
157
|
line-height: var(--font-line-height-compact);
|
|
184
158
|
padding: var(--spacing-2xs) var(--spacing-s);
|
|
185
159
|
border-bottom: 1px solid var(--color-foreground-base);
|
|
186
|
-
display: -webkit-box;
|
|
187
|
-
display: -ms-flexbox;
|
|
188
160
|
display: flex;
|
|
189
161
|
cursor: pointer;
|
|
190
162
|
position: relative;
|
|
@@ -204,9 +176,7 @@
|
|
|
204
176
|
border-color: var(--color-primary);
|
|
205
177
|
}
|
|
206
178
|
._name_b4ocq_31 {
|
|
207
|
-
-
|
|
208
|
-
-ms-flex-positive: 1;
|
|
209
|
-
flex-grow: 1;
|
|
179
|
+
flex-grow: 1;
|
|
210
180
|
color: var(--color-text-dark);
|
|
211
181
|
}
|
|
212
182
|
._arrow_b4ocq_36 {
|
|
@@ -258,13 +228,8 @@
|
|
|
258
228
|
margin: var(--spacing-xs) var(--spacing-s);
|
|
259
229
|
}
|
|
260
230
|
._itemsRenderer_1rgyl_28 {
|
|
261
|
-
display: -webkit-box;
|
|
262
|
-
display: -ms-flexbox;
|
|
263
231
|
display: flex;
|
|
264
|
-
-
|
|
265
|
-
-webkit-box-direction: normal;
|
|
266
|
-
-ms-flex-direction: column;
|
|
267
|
-
flex-direction: column;
|
|
232
|
+
flex-direction: column;
|
|
268
233
|
scrollbar-width: none; /* Firefox 64 */
|
|
269
234
|
}
|
|
270
235
|
._itemsRenderer_1rgyl_28 > *::-webkit-scrollbar {
|
|
@@ -311,13 +276,8 @@
|
|
|
311
276
|
._borderless_1rgyl_73:last-child:after {
|
|
312
277
|
content: none;
|
|
313
278
|
}._container_25ezu_1 {
|
|
314
|
-
display: -webkit-box;
|
|
315
|
-
display: -ms-flexbox;
|
|
316
279
|
display: flex;
|
|
317
|
-
-
|
|
318
|
-
-webkit-box-direction: normal;
|
|
319
|
-
-ms-flex-direction: column;
|
|
320
|
-
flex-direction: column;
|
|
280
|
+
flex-direction: column;
|
|
321
281
|
padding-bottom: var(--spacing-3xl);
|
|
322
282
|
}
|
|
323
283
|
._resetSearch_25ezu_7 {
|
|
@@ -351,19 +311,11 @@
|
|
|
351
311
|
text-align: center;
|
|
352
312
|
height: 100%;
|
|
353
313
|
border-left: 1px solid var(--color-foreground-base);
|
|
354
|
-
-
|
|
355
|
-
-webkit-box-direction: normal;
|
|
356
|
-
-ms-flex-direction: column;
|
|
357
|
-
flex-direction: column;
|
|
314
|
+
flex-direction: column;
|
|
358
315
|
font-weight: 400;
|
|
359
|
-
display: -webkit-box;
|
|
360
|
-
display: -ms-flexbox;
|
|
361
316
|
display: flex;
|
|
362
|
-
-
|
|
363
|
-
|
|
364
|
-
align-items: center;
|
|
365
|
-
-ms-flex-line-pack: center;
|
|
366
|
-
align-content: center;
|
|
317
|
+
align-items: center;
|
|
318
|
+
align-content: center;
|
|
367
319
|
padding: 0 var(--spacing-2xl);
|
|
368
320
|
}
|
|
369
321
|
._title_8axui_14 {
|
|
@@ -402,24 +354,19 @@
|
|
|
402
354
|
.panel-slide-in-enter-active,
|
|
403
355
|
.panel-slide-out-leave-active,
|
|
404
356
|
.panel-slide-out-enter-active {
|
|
405
|
-
-webkit-transition: -webkit-transform 200ms ease;
|
|
406
|
-
transition: -webkit-transform 200ms ease;
|
|
407
357
|
transition: transform 200ms ease;
|
|
408
|
-
transition: transform 200ms ease, -webkit-transform 200ms ease;
|
|
409
358
|
position: absolute;
|
|
410
359
|
left: 0;
|
|
411
360
|
right: 0;
|
|
412
361
|
}
|
|
413
362
|
.panel-slide-out-enter-from,
|
|
414
363
|
.panel-slide-in-leave-to {
|
|
415
|
-
|
|
416
|
-
transform: translateX(0);
|
|
364
|
+
transform: translateX(0);
|
|
417
365
|
z-index: -1;
|
|
418
366
|
}
|
|
419
367
|
.panel-slide-out-leave-to,
|
|
420
368
|
.panel-slide-in-enter-from {
|
|
421
|
-
|
|
422
|
-
transform: translateX(100%);
|
|
369
|
+
transform: translateX(100%);
|
|
423
370
|
z-index: 1;
|
|
424
371
|
}
|
|
425
372
|
._info_vhrjt_23 {
|
|
@@ -443,13 +390,8 @@
|
|
|
443
390
|
._renderedItems_vhrjt_45 {
|
|
444
391
|
overflow: auto;
|
|
445
392
|
height: 100%;
|
|
446
|
-
display: -webkit-box;
|
|
447
|
-
display: -ms-flexbox;
|
|
448
393
|
display: flex;
|
|
449
|
-
-
|
|
450
|
-
-webkit-box-direction: normal;
|
|
451
|
-
-ms-flex-direction: column;
|
|
452
|
-
flex-direction: column;
|
|
394
|
+
flex-direction: column;
|
|
453
395
|
scrollbar-width: none; /* Firefox 64 */
|
|
454
396
|
padding-bottom: var(--spacing-xl);
|
|
455
397
|
}
|
|
@@ -457,8 +399,7 @@
|
|
|
457
399
|
display: none;
|
|
458
400
|
}
|
|
459
401
|
._searchBar_vhrjt_57 {
|
|
460
|
-
|
|
461
|
-
flex-shrink: 0;
|
|
402
|
+
flex-shrink: 0;
|
|
462
403
|
}
|
|
463
404
|
._nodesListPanel_vhrjt_61 {
|
|
464
405
|
background: var(--color-background-xlight);
|
|
@@ -466,17 +407,11 @@
|
|
|
466
407
|
background-color: var(--color-background-xlight);
|
|
467
408
|
--color-background-node-icon-badge: var(--color-background-xlight);
|
|
468
409
|
width: 385px;
|
|
469
|
-
display: -webkit-box;
|
|
470
|
-
display: -ms-flexbox;
|
|
471
410
|
display: flex;
|
|
472
|
-
-
|
|
473
|
-
-webkit-box-direction: normal;
|
|
474
|
-
-ms-flex-direction: column;
|
|
475
|
-
flex-direction: column;
|
|
411
|
+
flex-direction: column;
|
|
476
412
|
}
|
|
477
413
|
._nodesListPanel_vhrjt_61:before {
|
|
478
|
-
|
|
479
|
-
box-sizing: border-box;
|
|
414
|
+
box-sizing: border-box;
|
|
480
415
|
content: "";
|
|
481
416
|
border-left: 1px solid var(--color-foreground-base);
|
|
482
417
|
width: 1px;
|
|
@@ -494,12 +429,8 @@
|
|
|
494
429
|
margin-top: -1px;
|
|
495
430
|
}
|
|
496
431
|
._top_vhrjt_90 {
|
|
497
|
-
display: -webkit-box;
|
|
498
|
-
display: -ms-flexbox;
|
|
499
432
|
display: flex;
|
|
500
|
-
-
|
|
501
|
-
-ms-flex-align: center;
|
|
502
|
-
align-items: center;
|
|
433
|
+
align-items: center;
|
|
503
434
|
}
|
|
504
435
|
._header_vhrjt_95 {
|
|
505
436
|
font-size: var(--font-size-l);
|
|
@@ -584,7 +515,6 @@
|
|
|
584
515
|
z-index: 1;
|
|
585
516
|
background: var(--color-dialog-overlay-background);
|
|
586
517
|
pointer-events: none;
|
|
587
|
-
-webkit-transition: opacity 200ms ease-in-out;
|
|
588
518
|
transition: opacity 200ms ease-in-out;
|
|
589
519
|
}
|
|
590
520
|
._nodeCreatorScrim_1dtlx_16._active_1dtlx_28 {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { f as formatTriggerActionName, u as useNodeCreatorStore, a as useViewStacks, c as camelCase, b as useKeyboardNavigation, t as transformNodeType, d as flattenCreateElements, T as TriggerView, R as RegularView, A as AIView, e as AINodesView } from "./NodeViewSwitcher-
|
|
3
|
-
import { d as upperFirst, b as useNodeType } from "./useRunWorkflow-
|
|
4
|
-
import { u as useActions } from "./NodeCreation-
|
|
5
|
-
import "./FileSaver.min-
|
|
6
|
-
import "./useExecutionHelpers-
|
|
7
|
-
import "./useWorkflowActivate-
|
|
8
|
-
import "./pushConnection.store-
|
|
9
|
-
import "./useExecutionDebugging-
|
|
10
|
-
import "./useNodeViewVersionSwitcher-
|
|
11
|
-
import "./useBugReporting-
|
|
1
|
+
import { bn as createCompounder, iJ as memoize, e8 as i18n, eO as HTTP_REQUEST_NODE_TYPE, iK as getCredentialOnlyNodeType, dU as CUSTOM_API_CALL_KEY, b6 as AI_SUBCATEGORY, d as defineComponent, e1 as reactive, o as onMounted, x as onBeforeUnmount, aU as toRefs, m as resolveComponent, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, n as normalizeClass, f as createCommentVNode, aP as useExternalHooks, _ as _export_sfc, r as ref, q as computed, e4 as DEFAULT_SUBCATEGORY, iL as CREDENTIAL_ONLY_NODE_PREFIX, bA as isCommunityPackageName, di as resolveDirective, e as createBlock, aO as createSlots, w as withCtx, ay as withDirectives, l as unref, bD as COMMUNITY_NODES_INSTALLATION_DOCS_URL, bz as _sfc_main$h, B as normalizeStyle, I as withModifiers, az as vShow, g as useI18n, fe as DRAG_EVENT_DATA_KEY, fd as getNewNodePosition, ff as NODE_SIZE, ak as useTelemetry, aX as mergeProps, t as toDisplayString, bR as WEBHOOK_NODE_TYPE, s as renderSlot, T as useWorkflowsStore, H as watch, aV as normalizeProps, aW as guardReactiveProps, b0 as onUnmounted, F as Fragment, A as renderList, es as REGULAR_NODE_CREATOR_VIEW, u as useUsersStore, en as TRIGGER_NODE_CREATOR_VIEW, io as OPEN_AI_NODE_TYPE, im as OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE, iM as withMemo, dm as createStaticVNode, k as createTextVNode, iN as REQUEST_NODE_FORM_URL, K as useUIStore, Z as useRootStore, iO as getNodeIconUrl, iP as getNodeIcon, iQ as getNodeIconColor, em as AI_NODE_CREATOR_VIEW, e9 as AI_OTHERS_NODE_CREATOR_VIEW, J as useDebounce, dt as Transition, gy as useAssistantStore, bZ as useCredentialsStore, bk as useNodeTypesStore, iR as SlideTransition } from "./index-CCXI3lDY.js";
|
|
2
|
+
import { f as formatTriggerActionName, u as useNodeCreatorStore, a as useViewStacks, c as camelCase, b as useKeyboardNavigation, t as transformNodeType, d as flattenCreateElements, T as TriggerView, R as RegularView, A as AIView, e as AINodesView } from "./NodeViewSwitcher-BmlbWevX.js";
|
|
3
|
+
import { d as upperFirst, b as useNodeType } from "./useRunWorkflow-DrX_5tsG.js";
|
|
4
|
+
import { u as useActions } from "./NodeCreation-CBqTGHa2.js";
|
|
5
|
+
import "./FileSaver.min-C1fwMQTB.js";
|
|
6
|
+
import "./useExecutionHelpers-DFmufkWn.js";
|
|
7
|
+
import "./useWorkflowActivate-DPuLtYrd.js";
|
|
8
|
+
import "./pushConnection.store-DfMj51Th.js";
|
|
9
|
+
import "./useExecutionDebugging-BrbomFd3.js";
|
|
10
|
+
import "./useNodeViewVersionSwitcher-lq5QJl2E.js";
|
|
11
|
+
import "./useBugReporting-C9GTfqQe.js";
|
|
12
12
|
var startCase = createCompounder(function(result, word, index) {
|
|
13
13
|
return result + (index ? " " : "") + upperFirst(word);
|
|
14
14
|
});
|
|
@@ -19,9 +19,8 @@ function translate(...args) {
|
|
|
19
19
|
const cachedBaseText = memoize(translate, (...args) => JSON.stringify(args));
|
|
20
20
|
const customNodeActionsParsers = {
|
|
21
21
|
["n8n-nodes-base.hubspotTrigger"]: (matchedProperty, nodeTypeDescription) => {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return (_c = (_b = collection == null ? void 0 : collection.values[0]) == null ? void 0 : _b.options) == null ? void 0 : _c.map(
|
|
22
|
+
const collection = matchedProperty?.options?.[0];
|
|
23
|
+
return collection?.values[0]?.options?.map(
|
|
25
24
|
(categoryItem) => ({
|
|
26
25
|
...getNodeTypeBase(nodeTypeDescription),
|
|
27
26
|
actionKey: categoryItem.value,
|
|
@@ -55,12 +54,9 @@ function getNodeTypeBase(nodeTypeDescription, label2) {
|
|
|
55
54
|
function operationsCategory(nodeTypeDescription) {
|
|
56
55
|
if (!!nodeTypeDescription.properties.find((property) => property.name === "resource")) return [];
|
|
57
56
|
const matchedProperty = nodeTypeDescription.properties.find(
|
|
58
|
-
(property) =>
|
|
59
|
-
var _a;
|
|
60
|
-
return ((_a = property.name) == null ? void 0 : _a.toLowerCase()) === "operation";
|
|
61
|
-
}
|
|
57
|
+
(property) => property.name?.toLowerCase() === "operation"
|
|
62
58
|
);
|
|
63
|
-
if (!
|
|
59
|
+
if (!matchedProperty?.options) return [];
|
|
64
60
|
const filteredOutItems = matchedProperty.options.filter(
|
|
65
61
|
(categoryItem) => !["*", "", " "].includes(categoryItem.name)
|
|
66
62
|
);
|
|
@@ -78,16 +74,12 @@ function operationsCategory(nodeTypeDescription) {
|
|
|
78
74
|
return items2;
|
|
79
75
|
}
|
|
80
76
|
function modeCategory(nodeTypeDescription) {
|
|
81
|
-
|
|
82
|
-
const isAINode = (_b = (_a = nodeTypeDescription.codex) == null ? void 0 : _a.categories) == null ? void 0 : _b.includes(AI_SUBCATEGORY);
|
|
77
|
+
const isAINode = nodeTypeDescription.codex?.categories?.includes(AI_SUBCATEGORY);
|
|
83
78
|
if (!isAINode) return [];
|
|
84
79
|
const matchedProperty = nodeTypeDescription.properties.find(
|
|
85
|
-
(property) =>
|
|
86
|
-
var _a2;
|
|
87
|
-
return ((_a2 = property.name) == null ? void 0 : _a2.toLowerCase()) === "mode";
|
|
88
|
-
}
|
|
80
|
+
(property) => property.name?.toLowerCase() === "mode"
|
|
89
81
|
);
|
|
90
|
-
if (!
|
|
82
|
+
if (!matchedProperty?.options) return [];
|
|
91
83
|
const modeOptions = matchedProperty.options;
|
|
92
84
|
const items2 = modeOptions.map((item) => ({
|
|
93
85
|
...getNodeTypeBase(nodeTypeDescription),
|
|
@@ -103,17 +95,13 @@ function modeCategory(nodeTypeDescription) {
|
|
|
103
95
|
return items2;
|
|
104
96
|
}
|
|
105
97
|
function triggersCategory(nodeTypeDescription) {
|
|
106
|
-
var _a, _b;
|
|
107
98
|
const matchingKeys = ["event", "events", "trigger on"];
|
|
108
|
-
const isTrigger =
|
|
99
|
+
const isTrigger = nodeTypeDescription.displayName?.toLowerCase().includes("trigger");
|
|
109
100
|
const matchedProperty = nodeTypeDescription.properties.find(
|
|
110
|
-
(property) =>
|
|
111
|
-
var _a2;
|
|
112
|
-
return matchingKeys.includes((_a2 = property.displayName) == null ? void 0 : _a2.toLowerCase());
|
|
113
|
-
}
|
|
101
|
+
(property) => matchingKeys.includes(property.displayName?.toLowerCase())
|
|
114
102
|
);
|
|
115
103
|
if (!isTrigger) return [];
|
|
116
|
-
if (!
|
|
104
|
+
if (!matchedProperty?.options) {
|
|
117
105
|
return [
|
|
118
106
|
{
|
|
119
107
|
...getNodeTypeBase(nodeTypeDescription),
|
|
@@ -128,8 +116,7 @@ function triggersCategory(nodeTypeDescription) {
|
|
|
128
116
|
const filteredOutItems = matchedProperty.options.filter(
|
|
129
117
|
(categoryItem) => !["*", "", " "].includes(categoryItem.name)
|
|
130
118
|
);
|
|
131
|
-
const customParsedItem =
|
|
132
|
-
customNodeActionsParsers,
|
|
119
|
+
const customParsedItem = customNodeActionsParsers[nodeTypeDescription.name]?.(
|
|
133
120
|
matchedProperty,
|
|
134
121
|
nodeTypeDescription
|
|
135
122
|
);
|
|
@@ -150,41 +137,36 @@ function triggersCategory(nodeTypeDescription) {
|
|
|
150
137
|
function resourceCategories(nodeTypeDescription) {
|
|
151
138
|
const transformedNodes = [];
|
|
152
139
|
const matchedProperties = nodeTypeDescription.properties.filter(
|
|
153
|
-
(property) =>
|
|
154
|
-
var _a;
|
|
155
|
-
return ((_a = property.displayName) == null ? void 0 : _a.toLowerCase()) === "resource";
|
|
156
|
-
}
|
|
140
|
+
(property) => property.displayName?.toLowerCase() === "resource"
|
|
157
141
|
);
|
|
158
142
|
matchedProperties.forEach((property) => {
|
|
159
143
|
(property.options || []).filter((option) => option.value !== CUSTOM_API_CALL_KEY).forEach((resourceOption, _i, options) => {
|
|
160
144
|
const isSingleResource = options.length === 1;
|
|
161
145
|
const operations = nodeTypeDescription.properties.find((operation) => {
|
|
162
|
-
var _a, _b, _c, _d, _e;
|
|
163
146
|
const isOperation = operation.name === "operation";
|
|
164
|
-
const isMatchingResource =
|
|
165
|
-
const operationVersions =
|
|
147
|
+
const isMatchingResource = operation.displayOptions?.show?.resource?.includes(resourceOption.value) ?? isSingleResource;
|
|
148
|
+
const operationVersions = operation.displayOptions?.show?.["@version"];
|
|
166
149
|
const nodeTypeVersions = Array.isArray(nodeTypeDescription.version) ? nodeTypeDescription.version : [nodeTypeDescription.version];
|
|
167
150
|
const isMatchingVersion = operationVersions ? operationVersions.some(
|
|
168
151
|
(version) => typeof version === "number" && nodeTypeVersions.includes(version)
|
|
169
152
|
) : true;
|
|
170
153
|
return isOperation && isMatchingResource && isMatchingVersion;
|
|
171
154
|
});
|
|
172
|
-
if (!
|
|
155
|
+
if (!operations?.options) return;
|
|
173
156
|
const items2 = (operations.options || []).map(
|
|
174
157
|
(operationOption) => {
|
|
175
|
-
var _a;
|
|
176
158
|
const displayName = operationOption.action ?? `${resourceOption.name} ${startCase(operationOption.name)}`;
|
|
177
|
-
const displayOptions = isSingleResource ? { show: { resource: [
|
|
159
|
+
const displayOptions = isSingleResource ? { show: { resource: [options[0]?.value] } } : operations?.displayOptions;
|
|
178
160
|
return {
|
|
179
161
|
...getNodeTypeBase(
|
|
180
162
|
nodeTypeDescription,
|
|
181
163
|
`${resourceOption.name} ${cachedBaseText("nodeCreator.actionsCategory.actions")}`
|
|
182
164
|
),
|
|
183
165
|
actionKey: operationOption.value,
|
|
184
|
-
description:
|
|
166
|
+
description: operationOption?.description ?? "",
|
|
185
167
|
displayOptions,
|
|
186
168
|
values: {
|
|
187
|
-
operation:
|
|
169
|
+
operation: operations?.type === "multiOptions" ? [operationOption.value] : operationOption.value
|
|
188
170
|
},
|
|
189
171
|
displayName,
|
|
190
172
|
group: ["trigger"]
|
|
@@ -198,9 +180,8 @@ function resourceCategories(nodeTypeDescription) {
|
|
|
198
180
|
}
|
|
199
181
|
function useActionsGenerator() {
|
|
200
182
|
function generateNodeActions(node) {
|
|
201
|
-
var _a, _b, _c;
|
|
202
183
|
if (!node) return [];
|
|
203
|
-
if (
|
|
184
|
+
if (node.codex?.subcategories?.AI?.includes("Tools")) return [];
|
|
204
185
|
return [
|
|
205
186
|
...triggersCategory(node),
|
|
206
187
|
...operationsCategory(node),
|
|
@@ -270,9 +251,9 @@ function useActionsGenerator() {
|
|
|
270
251
|
visibleNodeTypes.filter((node) => node.group.includes("trigger")).forEach((trigger) => {
|
|
271
252
|
const normalizedName = trigger.name.replace("Trigger", "");
|
|
272
253
|
const triggerActions = generateNodeActions(trigger);
|
|
273
|
-
const appActions =
|
|
254
|
+
const appActions = actions?.[normalizedName] || [];
|
|
274
255
|
const app = mergedNodes.find((node) => node.name === normalizedName);
|
|
275
|
-
if (app &&
|
|
256
|
+
if (app && appActions?.length > 0) {
|
|
276
257
|
const mergedActions = filterActions([...appActions, ...triggerActions]);
|
|
277
258
|
actions[normalizedName] = mergedActions;
|
|
278
259
|
app.description = trigger.description;
|
|
@@ -305,8 +286,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
305
286
|
});
|
|
306
287
|
const externalHooks = useExternalHooks();
|
|
307
288
|
function focus() {
|
|
308
|
-
|
|
309
|
-
(_a = state.inputRef) == null ? void 0 : _a.focus();
|
|
289
|
+
state.inputRef?.focus();
|
|
310
290
|
}
|
|
311
291
|
function onInput(event) {
|
|
312
292
|
const input = event.target;
|
|
@@ -320,8 +300,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
320
300
|
setTimeout(focus, 0);
|
|
321
301
|
});
|
|
322
302
|
onBeforeUnmount(() => {
|
|
323
|
-
|
|
324
|
-
(_a = state.inputRef) == null ? void 0 : _a.remove();
|
|
303
|
+
state.inputRef?.remove();
|
|
325
304
|
});
|
|
326
305
|
const { inputRef } = toRefs(state);
|
|
327
306
|
__expose({
|
|
@@ -660,10 +639,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
660
639
|
left: `${state.draggablePosition.x}px`
|
|
661
640
|
}));
|
|
662
641
|
const actionData = computed(() => getActionData(props.action));
|
|
663
|
-
const isTriggerAction = (action2) =>
|
|
664
|
-
var _a;
|
|
665
|
-
return ((_a = action2.name) == null ? void 0 : _a.toLowerCase().includes("trigger")) || action2.name === WEBHOOK_NODE_TYPE;
|
|
666
|
-
};
|
|
642
|
+
const isTriggerAction = (action2) => action2.name?.toLowerCase().includes("trigger") || action2.name === WEBHOOK_NODE_TYPE;
|
|
667
643
|
function onDragStart(event) {
|
|
668
644
|
document.body.addEventListener("dragover", onDragOver);
|
|
669
645
|
const { pageX: x, pageY: y } = event;
|
|
@@ -923,10 +899,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
923
899
|
const { registerKeyHook } = useKeyboardNavigation();
|
|
924
900
|
const { workflowId } = useWorkflowsStore();
|
|
925
901
|
const nodeCreatorStore = useNodeCreatorStore();
|
|
926
|
-
const activeItemId = computed(() =>
|
|
927
|
-
var _a;
|
|
928
|
-
return (_a = useKeyboardNavigation()) == null ? void 0 : _a.activeItemId;
|
|
929
|
-
});
|
|
902
|
+
const activeItemId = computed(() => useKeyboardNavigation()?.activeItemId);
|
|
930
903
|
const actionCount = computed(() => props.elements.filter(({ type }) => type === "action").length);
|
|
931
904
|
const expanded = ref(props.expanded ?? false);
|
|
932
905
|
function toggleExpanded() {
|
|
@@ -1072,10 +1045,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
1072
1045
|
const emit = __emit;
|
|
1073
1046
|
const renderedItems2 = ref([]);
|
|
1074
1047
|
const renderAnimationRequest = ref(0);
|
|
1075
|
-
const activeItemId = computed(() =>
|
|
1076
|
-
var _a;
|
|
1077
|
-
return (_a = useKeyboardNavigation()) == null ? void 0 : _a.activeItemId;
|
|
1078
|
-
});
|
|
1048
|
+
const activeItemId = computed(() => useKeyboardNavigation()?.activeItemId);
|
|
1079
1049
|
function renderItems() {
|
|
1080
1050
|
if (props.elements.length <= LAZY_LOAD_THRESHOLD || !props.lazyRender) {
|
|
1081
1051
|
renderedItems2.value = props.elements;
|
|
@@ -1349,16 +1319,15 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
1349
1319
|
if (activeAction) onSelected(activeAction);
|
|
1350
1320
|
}
|
|
1351
1321
|
function onSelected(actionCreateElement) {
|
|
1352
|
-
var _a, _b, _c;
|
|
1353
1322
|
if (actionCreateElement.type !== "action") return;
|
|
1354
1323
|
const actionData = getActionData(actionCreateElement.properties);
|
|
1355
1324
|
const isPlaceholderTriggerAction = placeholderTriggerActions.some(
|
|
1356
1325
|
(p) => p.key === actionCreateElement.key
|
|
1357
1326
|
);
|
|
1358
1327
|
if (isPlaceholderTriggerAction && isTriggerRootView.value) {
|
|
1359
|
-
const actionNode =
|
|
1328
|
+
const actionNode = actions.value[0]?.key;
|
|
1360
1329
|
if (actionNode) emit("nodeTypeSelected", [actionData.key, actionNode]);
|
|
1361
|
-
} else if (
|
|
1330
|
+
} else if (actionData?.key === OPEN_AI_NODE_TYPE && actionData?.value?.resource === "assistant" && actionData?.value?.operation === "message") {
|
|
1362
1331
|
emit("nodeTypeSelected", [OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE]);
|
|
1363
1332
|
} else {
|
|
1364
1333
|
emit("nodeTypeSelected", [actionData.key]);
|
|
@@ -1366,18 +1335,17 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
1366
1335
|
if (telemetry) setAddedNodeActionParameters(actionData, telemetry, rootView.value);
|
|
1367
1336
|
}
|
|
1368
1337
|
function trackActionsView() {
|
|
1369
|
-
var _a, _b, _c;
|
|
1370
1338
|
const activeViewStack = useViewStacks().activeViewStack;
|
|
1371
|
-
const trigger_action_count = (
|
|
1339
|
+
const trigger_action_count = (activeViewStack.baselineItems || [])?.filter(
|
|
1372
1340
|
(action2) => action2.key.toLowerCase().includes("trigger")
|
|
1373
1341
|
).length;
|
|
1374
1342
|
const appIdentifier = [...actions.value, ...placeholderTriggerActions][0].key;
|
|
1375
1343
|
const trackingPayload = {
|
|
1376
1344
|
app_identifier: appIdentifier,
|
|
1377
|
-
actions: (
|
|
1345
|
+
actions: (activeViewStack.baselineItems || [])?.map(
|
|
1378
1346
|
(action2) => action2.properties.displayName
|
|
1379
1347
|
),
|
|
1380
|
-
regular_action_count: (
|
|
1348
|
+
regular_action_count: (activeViewStack.baselineItems || [])?.length - trigger_action_count,
|
|
1381
1349
|
trigger_action_count
|
|
1382
1350
|
};
|
|
1383
1351
|
void useExternalHooks().run("nodeCreateList.onViewActions", trackingPayload);
|
|
@@ -1387,7 +1355,6 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
1387
1355
|
updateCurrentViewStack({ search: "" });
|
|
1388
1356
|
}
|
|
1389
1357
|
function addHttpNode() {
|
|
1390
|
-
var _a;
|
|
1391
1358
|
const updateData = {
|
|
1392
1359
|
name: "",
|
|
1393
1360
|
key: HTTP_REQUEST_NODE_TYPE,
|
|
@@ -1397,7 +1364,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
1397
1364
|
};
|
|
1398
1365
|
emit("nodeTypeSelected", [HTTP_REQUEST_NODE_TYPE]);
|
|
1399
1366
|
if (telemetry) setAddedNodeActionParameters(updateData);
|
|
1400
|
-
const app_identifier =
|
|
1367
|
+
const app_identifier = actions.value[0]?.key;
|
|
1401
1368
|
if (!app_identifier) return;
|
|
1402
1369
|
void useExternalHooks().run("nodeCreateList.onActionsCustmAPIClicked", {
|
|
1403
1370
|
app_identifier
|
|
@@ -1700,7 +1667,6 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1700
1667
|
emit("nodeTypeSelected", nodeTypes);
|
|
1701
1668
|
}
|
|
1702
1669
|
function onSelected(item) {
|
|
1703
|
-
var _a;
|
|
1704
1670
|
if (item.type === "subcategory") {
|
|
1705
1671
|
const subcategoryKey = camelCase(item.properties.title);
|
|
1706
1672
|
const title2 = i18n2.baseText(`nodeCreator.subcategoryNames.${subcategoryKey}`);
|
|
@@ -1730,14 +1696,14 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1730
1696
|
});
|
|
1731
1697
|
}
|
|
1732
1698
|
if (item.type === "node") {
|
|
1733
|
-
const nodeActions =
|
|
1699
|
+
const nodeActions = actions?.[item.key] || [];
|
|
1734
1700
|
if (nodeActions.length <= 1 || activeViewStack.value.hideActions) {
|
|
1735
1701
|
selectNodeType([item.key]);
|
|
1736
1702
|
return;
|
|
1737
1703
|
}
|
|
1738
1704
|
const iconUrl = getNodeIconUrl(item.properties, uiStore.appliedTheme);
|
|
1739
|
-
const icon2 = iconUrl ? rootStore.baseUrl + iconUrl :
|
|
1740
|
-
const transformedActions = nodeActions
|
|
1705
|
+
const icon2 = iconUrl ? rootStore.baseUrl + iconUrl : getNodeIcon(item.properties, uiStore.appliedTheme)?.split(":")[1];
|
|
1706
|
+
const transformedActions = nodeActions?.map(
|
|
1741
1707
|
(a) => transformNodeType(a, item.properties.displayName, "action")
|
|
1742
1708
|
);
|
|
1743
1709
|
pushViewStack({
|
|
@@ -1770,8 +1736,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1770
1736
|
const view2 = matchedView(mergedNodes);
|
|
1771
1737
|
pushViewStack({
|
|
1772
1738
|
title: view2.title,
|
|
1773
|
-
subtitle:
|
|
1774
|
-
info:
|
|
1739
|
+
subtitle: view2?.subtitle ?? "",
|
|
1740
|
+
info: view2?.info ?? "",
|
|
1775
1741
|
items: view2.items,
|
|
1776
1742
|
hasSearch: true,
|
|
1777
1743
|
rootView: view2.value,
|
|
@@ -1785,15 +1751,14 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1785
1751
|
}
|
|
1786
1752
|
}
|
|
1787
1753
|
function subcategoriesMapper(item) {
|
|
1788
|
-
var _a, _b;
|
|
1789
1754
|
if (item.type !== "node") return item;
|
|
1790
1755
|
const hasTriggerGroup = item.properties.group.includes("trigger");
|
|
1791
|
-
const nodeActions =
|
|
1756
|
+
const nodeActions = actions?.[item.key] || [];
|
|
1792
1757
|
const hasActions = nodeActions.length > 0;
|
|
1793
1758
|
if (hasTriggerGroup && hasActions) {
|
|
1794
|
-
if (
|
|
1759
|
+
if (item.properties?.codex) {
|
|
1795
1760
|
item.properties.codex.alias = [
|
|
1796
|
-
...
|
|
1761
|
+
...item.properties.codex?.alias || [],
|
|
1797
1762
|
item.properties.displayName
|
|
1798
1763
|
];
|
|
1799
1764
|
}
|
|
@@ -1805,7 +1770,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1805
1770
|
if (item.type === "section") return true;
|
|
1806
1771
|
if (item.type !== "node") return false;
|
|
1807
1772
|
const hasTriggerGroup = item.properties.group.includes("trigger");
|
|
1808
|
-
const nodeActions =
|
|
1773
|
+
const nodeActions = actions?.[item.key] || [];
|
|
1809
1774
|
const hasActions = nodeActions.length > 0;
|
|
1810
1775
|
const isTriggerRootView = activeViewStack.value.rootView === TRIGGER_NODE_CREATOR_VIEW;
|
|
1811
1776
|
if (isTriggerRootView) {
|
|
@@ -1949,7 +1914,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1949
1914
|
const view2 = matchedView(mergedNodes);
|
|
1950
1915
|
pushViewStack({
|
|
1951
1916
|
title: view2.title,
|
|
1952
|
-
subtitle:
|
|
1917
|
+
subtitle: view2?.subtitle ?? "",
|
|
1953
1918
|
items: view2.items,
|
|
1954
1919
|
info: view2.info,
|
|
1955
1920
|
hasSearch: true,
|
|
@@ -2114,13 +2079,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2114
2079
|
return { top: `${uiStore.bannersHeight + uiStore.headerHeight}px`, right: `${rightPosition}px` };
|
|
2115
2080
|
});
|
|
2116
2081
|
function onMouseUpOutside() {
|
|
2117
|
-
var _a;
|
|
2118
2082
|
if (state.mousedownInsideEvent) {
|
|
2119
2083
|
const clickEvent = new MouseEvent("click", {
|
|
2120
2084
|
bubbles: true,
|
|
2121
2085
|
cancelable: true
|
|
2122
2086
|
});
|
|
2123
|
-
|
|
2087
|
+
state.mousedownInsideEvent.target?.dispatchEvent(clickEvent);
|
|
2124
2088
|
state.mousedownInsideEvent = null;
|
|
2125
2089
|
unBindOnMouseUpOutside();
|
|
2126
2090
|
}
|