n8n-editor-ui 2.3.3 → 2.4.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.
- package/data/node-popularity.json +1920 -1916
- package/dist/assets/{AddDataTableModal-BYsEOjtf.js → AddDataTableModal-BWxuL_U1.js} +18 -21
- package/dist/assets/{AgentEditorModal-CnYw6elM.css → AgentEditorModal-9v5_7c4M.css} +11 -7
- package/dist/assets/{AgentEditorModal-CdUKcN7b.js → AgentEditorModal-ClIVB6be.js} +34 -37
- package/dist/assets/{Alert-BSiQ7W4W.js → Alert-C0sX2MmC.js} +9 -9
- package/dist/assets/AnimatedSpinner-B25lpnvb.js +15 -0
- package/dist/assets/{AnnotationTagsDropdown.ee-CPHqM0oA.js → AnnotationTagsDropdown.ee-bqrzcFvD.js} +6 -6
- package/dist/assets/{MainHeader-KNrtVK1m.js → AppHeader-Bk2_Gkdr.js} +359 -528
- package/dist/assets/{MainHeader-CSaAWCWj.css → AppHeader-CiEVBSe4.css} +42 -160
- package/dist/assets/{MainSidebar-BvZcZjNQ.js → AppSidebar-DVQtWhNG.js} +107 -83
- package/dist/assets/{MainSidebar-CEsQ8o1Y.css → AppSidebar-qYnACKTG.css} +13 -4
- package/dist/assets/{AuthView-DBipI9XX.js → AuthView-B70yKQIj.js} +12 -12
- package/dist/assets/{SettingsView-6sirGv9l.css → BottomMenu-CYgiV90C.css} +57 -37
- package/dist/assets/{BottomMenu-n6wDMblT.js → BottomMenu-Zsty8SFw.js} +70 -168
- package/dist/assets/{useCanvasMapping-BLB5IFnL.js → CanvasRunWorkflowButton-D05EeNT9.js} +268 -262
- package/dist/assets/{useCanvasMapping-CyDAqgNV.css → CanvasRunWorkflowButton-D_Rqnskj.css} +203 -203
- package/dist/assets/{ChangePasswordView-N8tRCxXS.js → ChangePasswordView-B5SZMMPu.js} +14 -18
- package/dist/assets/{ChatAgentAvatar-B68ZZ295.css → ChatAgentAvatar-D94COYC_.css} +10 -13
- package/dist/assets/ChatAgentAvatar-lJduQjSM.js +67 -0
- package/dist/assets/{ChatFile-B6hcldJk.js → ChatFile-DGN9Z6P_.js} +17 -17
- package/dist/assets/{ChatLayout-ZIIWLYox.js → ChatLayout-B3HCEtmF.js} +11 -15
- package/dist/assets/{ChatLayout-CxM-3LAt.css → ChatLayout-C5Cltxb6.css} +1 -8
- package/dist/assets/{ChatPersonalAgentsView-CHjVJlH9.js → ChatPersonalAgentsView-CfuU16Wx.js} +19 -24
- package/dist/assets/{ChatSidebar-DcNxY7Pt.css → ChatSidebar-D-hWKn7w.css} +126 -0
- package/dist/assets/{ChatSidebar-D1wzPLte.js → ChatSidebar-DxXP8jvn.js} +56 -71
- package/dist/assets/{ChatView-CEdaGOiq.js → ChatView-DGO5M0-j.js} +113 -112
- package/dist/assets/{ChatView-DrZ9gYjI.css → ChatView-DjGNW1KJ.css} +58 -50
- package/dist/assets/{ChatWorkflowAgentsView-DDoSKFjL.js → ChatWorkflowAgentsView-BDUzYR0a.js} +19 -24
- package/dist/assets/CollectionParameter-CX0d0ppe.js +42 -0
- package/dist/assets/{CommunityNodeUpdateInfo-D_fpxg7T.js → CommunityNodeUpdateInfo-BzF3To7U.js} +13 -13
- package/dist/assets/{CopyInput-CkRSExvb.js → CopyInput-B3eGtGOr.js} +15 -15
- package/dist/assets/{CredentialIcon-CsmA8n5q.js → CredentialIcon-Co-DgDkv.js} +6 -6
- package/dist/assets/{CredentialPicker-Dc9_fQqB.js → CredentialPicker-xUgsLzd_.js} +8 -8
- package/dist/assets/{CredentialSelectorModal-CrHTSX3D.js → CredentialSelectorModal-te4cxLHY.js} +22 -26
- package/dist/assets/{CredentialsView-BHjKX7p7.js → CredentialsView-CSMNv5Qi.js} +46 -51
- package/dist/assets/{DataTableActions-Baa_gpFk.js → DataTableActions-BkI1G_w4.js} +6 -6
- package/dist/assets/{DataTableDetailsView-Csre5EoG.js → DataTableDetailsView-D5XYBEVr.js} +27 -30
- package/dist/assets/{DataTableView-DvZt7cVh.js → DataTableView-U-FAWXix.js} +31 -36
- package/dist/assets/DemoFooter-uIyuy9UT.js +53 -0
- package/dist/assets/{Draggable-wlu-YKYh.js → Draggable-0gyx_CsY.js} +5 -5
- package/dist/assets/{EmptySharedSectionActionBox-BoAVktyy.js → EmptySharedSectionActionBox-DtGMtVsp.js} +5 -5
- package/dist/assets/{EnterpriseEdition.ee-CvUo0Y3B.js → EnterpriseEdition.ee-UhVkBS4f.js} +2 -2
- package/dist/assets/{EntityNotFound-Dk9s3CwF.js → EntityNotFound-qBJJDr9S.js} +9 -12
- package/dist/assets/{EntityUnAuthorised-h6YriaK9.js → EntityUnAuthorised-Ci980jH0.js} +8 -11
- package/dist/assets/{ErrorView-BGXVjv22.js → ErrorView-CPQg7TDd.js} +13 -16
- package/dist/assets/{EvaluationsRootView-CEJYrCEy.js → EvaluationsRootView-CzP9JGh2.js} +34 -36
- package/dist/assets/{EvaluationsView-DmaEZ7wK.js → EvaluationsView-ikx3LyQf.js} +28 -33
- package/dist/assets/{ExecutionsTime-K-nIEY55.js → ExecutionsTime-D5RuLFMY.js} +16 -15
- package/dist/assets/{ExecutionsView-BC4uwKPS.js → ExecutionsView-cMwfmY4W.js} +62 -65
- package/dist/assets/{ExternalSecretsProviderConnectionSwitch.ee-DYabADwO.js → ExternalSecretsProviderConnectionSwitch.ee-BglbvOQG.js} +18 -17
- package/dist/assets/FixedCollectionParameter-COuGvpZ8.css +642 -0
- package/dist/assets/FixedCollectionParameter-rO9blroR.js +1571 -0
- package/dist/assets/FolderBreadcrumbs-DegmC04u.js +187 -0
- package/dist/assets/{SaveButton-Dc01Y2MA.css → FolderBreadcrumbs-eBFopiOp.css} +7 -14
- package/dist/assets/{ForgotMyPasswordView-BxFjt7yf.js → ForgotMyPasswordView-CKDZcZP9.js} +14 -18
- package/dist/assets/{InsightsChartAverageRuntime-mcy8IMaN.js → InsightsChartAverageRuntime-69U4sUmH.js} +10 -11
- package/dist/assets/{InsightsChartFailed-iXvqlU_7.js → InsightsChartFailed-Ct64T5GJ.js} +8 -9
- package/dist/assets/{InsightsChartFailureRate-DzWy07B4.js → InsightsChartFailureRate-BOdV-Q3d.js} +9 -11
- package/dist/assets/{InsightsChartTimeSaved-Db1u-o2U.js → InsightsChartTimeSaved-B83s59mL.js} +9 -11
- package/dist/assets/{InsightsChartTotal-Bge4JSj-.js → InsightsChartTotal-1A5vqW4E.js} +7 -9
- package/dist/assets/{InsightsDashboard-BgxCUZWd.js → InsightsDashboard-Dpwy8q6a.js} +37 -38
- package/dist/assets/{InsightsPaywall-DJIAsFUW.js → InsightsPaywall-iaN7Yt1s.js} +15 -18
- package/dist/assets/{InsightsSummary-uZyetR3b.js → InsightsSummary-UGkz-k9w.js} +11 -11
- package/dist/assets/{InsightsTableWorkflows-9h4pU1WK.js → InsightsTableWorkflows-AP6ddx9D.js} +22 -24
- package/dist/assets/{KeyboardShortcutTooltip-Bpb4SkjE.js → KeyboardShortcutTooltip-Dwz4Hv8g.js} +6 -6
- package/dist/assets/LogsPanel-Cz9qV0gc.js +40 -0
- package/dist/assets/{LogsPanel-BG48JZqa.js → LogsPanel-DuiKN1Na.js} +100 -100
- package/dist/assets/{MCPConnectWorkflowsModal-CWg0xros.js → MCPConnectWorkflowsModal-CrhdbX54.js} +36 -41
- package/dist/assets/{MigrationRuleDetail-Dj4iZ8em.js → MigrationRuleDetail-BXj7ghDO.js} +23 -26
- package/dist/assets/{MigrationRules-CMk4HuMV.js → MigrationRules-CWeHH-jb.js} +21 -24
- package/dist/assets/{Modal-BNJXVsfA.js → Modal-CLJXjbTN.js} +27 -26
- package/dist/assets/{ModelByIdSelectorModal-BwhmTdU4.js → ModelByIdSelectorModal-_Q2e43WD.js} +18 -22
- package/dist/assets/{NDVEmptyState-D9V46oIb.js → NDVEmptyState-CJWa4Aka.js} +15 -12
- package/dist/assets/{NodeCreation-DiAqT9SN.js → NodeCreation-BKxsZGAf.js} +30 -52
- package/dist/assets/{ItemsRenderer-DkobJF9f.css → NodeCreator-039HRrqJ.css} +1525 -6
- package/dist/assets/{NodeCreator-Bjt6BI9v.js → NodeCreator-CRhdWp9N.js} +978 -87
- package/dist/assets/{NodeDetailsView-Ct9i-rTh.js → NodeDetailsView-Cm52jG-U.js} +72 -86
- package/dist/assets/{NodeDetailsViewV2-Dh4gzwFe.js → NodeDetailsViewV2-CqGBXjHp.js} +69 -85
- package/dist/assets/{NodeIcon-t97i3ntx.js → NodeIcon-SaoWBT_U.js} +10 -10
- package/dist/assets/{NodeIcon-BDxr0f30.css → NodeIcon-zqTc5h-V.css} +1 -1
- package/dist/assets/{NodeSettings-Cz9vhjW-.js → NodeSettings-BWWEo77y.js} +73 -73
- package/dist/assets/{NodeView-AuBajxDh.css → NodeView-Xwcu11Wh.css} +11 -11
- package/dist/assets/{NodeView-3Y-9RowK.js → NodeView-xEYRJxA0.js} +171 -148
- package/dist/assets/{OAuthConsentView-Bg5-jLUL.js → OAuthConsentView-D6mfPIJI.js} +14 -17
- package/dist/assets/{ParameterInputList-C1BdtAjc.css → ParameterInputList-BUZ33Aem.css} +717 -208
- package/dist/assets/{ParameterInputList-D3pQ9DPD.js → ParameterInputList-Cb2_SQfz.js} +1864 -1039
- package/dist/assets/{ProjectBreadcrumb-CwG4u83J.js → ProjectBreadcrumb-2BEX5IDD.js} +8 -8
- package/dist/assets/{ProjectCardBadge-DEF5xaop.js → ProjectCardBadge-CTVSam44.js} +10 -10
- package/dist/assets/{ProjectHeader-Ftxgilbl.js → ProjectHeader-BagblRFt.js} +14 -14
- package/dist/assets/{ProjectIcon-CBV14vRK.js → ProjectIcon-gwTM9uPG.js} +8 -8
- package/dist/assets/{ProjectRoleView-DxR_UDnr.js → ProjectRoleView-B5mhpgJj.js} +19 -22
- package/dist/assets/{ProjectRolesView-D5UGjI0u.js → ProjectRolesView-CO-fdyVV.js} +18 -21
- package/dist/assets/{ProjectSettings-DjmRzWiu.js → ProjectSettings-CpdJ0QXS.js} +31 -33
- package/dist/assets/{ProjectSharing-CXtVcK-7.js → ProjectSharing-CgRKQQe4.js} +16 -16
- package/dist/assets/{ProjectVariables-xB0qVBxe.js → ProjectVariables-B7LU3SGS.js} +40 -45
- package/dist/assets/{ProviderSettingsModal-BqKcWfeR.js → ProviderSettingsModal-RmJC0Qwe.js} +20 -25
- package/dist/assets/{PushConnectionTracker-Cwk4a7eu.js → PushConnectionTracker-v1yU_xFk.js} +4 -4
- package/dist/assets/{ResolversView-CnNl-Auj.js → ResolversView-OeI_dYci.js} +20 -23
- package/dist/assets/{ResourceFiltersDropdown-CRkQSQvs.js → ResourceFiltersDropdown-bH--4wBS.js} +12 -12
- package/dist/assets/{ResourcesListLayout-DLAMdJD5.css → ResourcesListLayout-BhnhvHiw.css} +140 -0
- package/dist/assets/{ResourcesListLayout-CreZ1Su6.js → ResourcesListLayout-CS0nUJNt.js} +32 -23
- package/dist/assets/{RunData-Ti8dstr8.js → RunData-B_Vlvf1V.js} +20367 -28266
- package/dist/assets/{RunData-CGWkR8tE.css → RunData-xpRgLK8S.css} +2 -2
- package/dist/assets/{RunDataHtml-S_j2pLRX.js → RunDataHtml-BMxc-zRm.js} +5 -5
- package/dist/assets/RunDataHtml-wQh8fACG.js +5 -0
- package/dist/assets/{RunDataJson-C9RYDf3k.js → RunDataJson-D23jdsWY.js} +31 -31
- package/dist/assets/{RunDataJsonActions-CVkDV_4I.js → RunDataJsonActions-DFa7pezf.js} +19 -22
- package/dist/assets/{RunDataParsedAiContent-B6PgQw1V.js → RunDataParsedAiContent-BCprT0E8.js} +15 -16
- package/dist/assets/RunDataParsedAiContent-o_QkeE0L.js +15 -0
- package/dist/assets/{RunDataSearch-DHw36qjO.js → RunDataSearch-BU2qi4nP.js} +10 -13
- package/dist/assets/{RunDataTable-Co9VAMrg.js → RunDataTable-BDrFzGfU.js} +32 -35
- package/dist/assets/{SamlOnboarding-CpWUC0gl.js → SamlOnboarding-DPYTM0tb.js} +14 -18
- package/dist/assets/{SelectedItemsInfo-wq6nTjan.js → SelectedItemsInfo-CKmcAObD.js} +5 -5
- package/dist/assets/{SettingsApiView-eiQOdjgq.js → SettingsApiView-BowYRtTk.js} +24 -26
- package/dist/assets/{SettingsChatHubView-D4WEo9L3.js → SettingsChatHubView-CObWHU09.js} +18 -23
- package/dist/assets/{SettingsCommunityNodesView-C0AaNOEN.js → SettingsCommunityNodesView-wk9JxXqL.js} +38 -41
- package/dist/assets/{SettingsExternalSecrets-y47selKn.js → SettingsExternalSecrets-C41eND_Y.js} +18 -21
- package/dist/assets/{SettingsLdapView-YMVYMnzw.js → SettingsLdapView-D1L1iyvE.js} +22 -25
- package/dist/assets/{SettingsLogStreamingView-BSzLdWpE.js → SettingsLogStreamingView-BqlK3i3Z.js} +21 -23
- package/dist/assets/{SettingsMCPView-BU0f3ymz.js → SettingsMCPView-CoTmbtV_.js} +42 -45
- package/dist/assets/{SettingsPersonalView-BAfYDXor.js → SettingsPersonalView-BMGG66o5.js} +15 -18
- package/dist/assets/SettingsSidebar-RZssT7t8.js +58 -0
- package/dist/assets/{useCommandBar-eK4Fv9lH.css → SettingsSidebar-hr5ASDKX.css} +22 -24
- package/dist/assets/{SettingsSourceControl-DiTdqVc2.js → SettingsSourceControl-C_XOb728.js} +19 -22
- package/dist/assets/{SettingsSso-D9mWYb6m.js → SettingsSso-DkvVZOSA.js} +26 -28
- package/dist/assets/{SettingsUsageAndPlan-Bhhz0N_R.js → SettingsUsageAndPlan-Cnxx5J_k.js} +20 -22
- package/dist/assets/{SettingsUsersView-Cyv_ZTSa.js → SettingsUsersView-DRFHlEG_.js} +50 -27
- package/dist/assets/{SetupTemplateFormStep-B-OXuIEU.js → SetupTemplateFormStep-DTl-SQ5_.js} +15 -15
- package/dist/assets/{SetupView-BvYO_h_-.js → SetupView-BfCKw7tL.js} +14 -18
- package/dist/assets/{SetupWorkflowCredentialsButton-29sPlZ15.js → SetupWorkflowCredentialsButton-BDNBEpgH.js} +21 -19
- package/dist/assets/{SetupWorkflowFromTemplateView-wGZJlu_v.js → SetupWorkflowFromTemplateView-zNitmbxd.js} +21 -24
- package/dist/assets/{SeverityTag-DiRdnrHj.js → SeverityTag-R-mbBDWg.js} +6 -6
- package/dist/assets/{SigninView-CZmSlJU4.js → SigninView-CspSfYWl.js} +16 -19
- package/dist/assets/{SignoutView-BUsJauew.js → SignoutView-CbmvjLhS.js} +10 -10
- package/dist/assets/{SignupView-CBmZdEUa.js → SignupView-D088WMnK.js} +27 -26
- package/dist/assets/{SkeletonAgentCard-felAhV_j.js → SkeletonAgentCard-DNUy88vs.js} +12 -12
- package/dist/assets/{PageViewLayout-Cn6FD0Wt.css → SlideTransition-Bv5Vx35L.css} +6 -17
- package/dist/assets/SlideTransition-CWSKQ4XI.js +11 -0
- package/dist/assets/{TagsDropdown-B3TllM9L.js → TagsDropdown-998vpfi2.js} +9 -9
- package/dist/assets/{TemplateCard-SxL2lAcu.js → TemplateCard-OCtSSObW.js} +9 -9
- package/dist/assets/{TemplateDetails-joifuvuq.js → TemplateDetails-CExTaNmN.js} +20 -20
- package/dist/assets/{TemplateList-Cr8NzldM.js → TemplateList-CYVIQLBo.js} +44 -44
- package/dist/assets/{TemplatesCollectionView-KlTGNZvL.js → TemplatesCollectionView-J4-MsKaR.js} +22 -25
- package/dist/assets/{TemplatesSearchView-R9w7J_qa.js → TemplatesSearchView-FeOl_F9u.js} +49 -52
- package/dist/assets/{TemplatesView-Cva7ybP0.js → TemplatesView-B2WxZgCT.js} +6 -6
- package/dist/assets/{TemplatesWorkflowView-cZBhTHOi.js → TemplatesWorkflowView-pgmIBnml.js} +23 -26
- package/dist/assets/{TestRunDetailView-C1Pcw196.js → TestRunDetailView-We9DOF3E.js} +20 -24
- package/dist/assets/{TextWithHighlights-CgDEugGZ.js → TextWithHighlights-CH5Zsswa.js} +2 -2
- package/dist/assets/{TimeAgo-D971QnHO.js → TimeAgo-DbbBIULe.js} +4 -4
- package/dist/assets/{ToolsSelectorModal-D4oxUUCF.js → ToolsSelectorModal-D0fzbH8I.js} +20 -23
- package/dist/assets/{TriggerPanel-BkdktrEp.js → TriggerPanel-B3wcn8yr.js} +51 -51
- package/dist/assets/VirtualSchema-C4mYgt95.js +28 -0
- package/dist/assets/{VirtualSchema-Brq3RG-a.js → VirtualSchema-DTit75Ni.js} +60 -61
- package/dist/assets/{VirtualSchema-CwutU4vj.css → VirtualSchema-pdpcVEq9.css} +1 -1
- package/dist/assets/{VueMarkdown-BlVr51fL.js → VueMarkdown-D0Ufjusy.js} +3 -3
- package/dist/assets/{WorkerView-CT6vkOh0.js → WorkerView-BaJG1lYK.js} +38 -42
- package/dist/assets/{WorkflowExecutionsInfoAccordion-DSc_InaM.js → WorkflowExecutionsInfoAccordion-BAgAw-VZ.js} +7 -7
- package/dist/assets/{WorkflowExecutionsLandingPage-CuGCweH0.js → WorkflowExecutionsLandingPage-B5M2M_XO.js} +14 -17
- package/dist/assets/{WorkflowExecutionsPreview-DWGuXXJq.js → WorkflowExecutionsPreview-CGtRdwNt.js} +44 -46
- package/dist/assets/{WorkflowExecutionsView-B4v9ie53.js → WorkflowExecutionsView-R_7zX3VU.js} +60 -61
- package/dist/assets/{WorkflowHistory-BLC1cUoO.js → WorkflowHistory-BS71EB0y.js} +198 -196
- package/dist/assets/{WorkflowHistory-BBHdNsOb.css → WorkflowHistory-dUpsKg3Z.css} +42 -75
- package/dist/assets/{WorkflowLocation-X2ZVBc96.js → WorkflowLocation-CTPWi5M9.js} +18 -18
- package/dist/assets/{WorkflowOnboardingView-CmVI0XDf.js → WorkflowOnboardingView-BroupQUz.js} +10 -10
- package/dist/assets/{WorkflowPreview-CZAcz1Na.js → WorkflowPreview-DLbWDX-7.js} +9 -9
- package/dist/assets/{WorkflowTagsDropdown-DlKqZzjZ.js → WorkflowTagsDropdown-DMBpcKR1.js} +6 -6
- package/dist/assets/{WorkflowsView-C-PD10oe.css → WorkflowsView-0_qNZeIx.css} +32 -42
- package/dist/assets/{WorkflowsView-BDhK0stx.js → WorkflowsView-Bdslfqgx.js} +128 -238
- package/dist/assets/{_MapCache-ficiegRb.js → _MapCache-DkLivSSb.js} +46 -38
- package/dist/assets/{_baseOrderBy-DwurmLcj.js → _baseOrderBy-Cy5MGJv_.js} +8 -13
- package/dist/assets/{_initCloneObject-DPuE6hiH.js → _initCloneObject-DiO9tORE.js} +2 -2
- package/dist/assets/{aiTemplatesStarterCollection.store-B-exu89T.js → aiTemplatesStarterCollection.store-C5UvSRtb.js} +6 -6
- package/dist/assets/{apiKeys.store-DW3qN7-W.js → apiKeys.store-tF_8Mh4s.js} +4 -4
- package/dist/assets/{assistant.store-BWyMPD4R.js → assistant.store-BsyT2BFh.js} +8 -8
- package/dist/assets/{auth.eventBus-BQKtqsAd.js → auth.eventBus-Ce2KL2L4.js} +1 -1
- package/dist/assets/{banners.store-NV1mJdSo.js → banners.store-De4swlHn.js} +7 -7
- package/dist/assets/{buttons.esm-Euf82NbC.js → buttons.esm-DHCtg4os.js} +0 -5
- package/dist/assets/canvas.utils-6yT3qDz5.js +138 -0
- package/dist/assets/{chart-BI8B7UPV.js → chart-BpBZvUkM.js} +0 -6
- package/dist/assets/{chartjs.utils-CZqhhNLn.js → chartjs.utils-B8F_iMP1.js} +5 -5
- package/dist/assets/{chat.store-CIFGQpTZ.js → chat.store-DIrG4eKT.js} +34 -29
- package/dist/assets/{chatPanel.store-gj4bbTwF.js → chatPanel.store-XTtvoDW8.js} +6 -6
- package/dist/assets/{chunk-6z4oVpB-.js → chunk-r2Y0G7H8.js} +3 -2
- package/dist/assets/{col-Cd5kWzv_.js → col-gWKpvp-j.js} +2 -2
- package/dist/assets/collaboration.store-DuCY-6U-.js +287 -0
- package/dist/assets/{constants-vjryKFt3.js → constants-Bgby4me8.js} +12 -3
- package/dist/assets/{constants-B5yiZflE.js → constants-CRdXn3zB.js} +290 -301
- package/dist/assets/core-CKLPLCBJ.js +4 -0
- package/dist/assets/{core-BMwklDiH.js → core-DDiavqSm.js} +1 -1
- package/dist/assets/{dataTable.store-CigyhC-U.js → dataTable.store-DepEpEQf.js} +4 -4
- package/dist/assets/{date-picker-BjmPe_fb.js → date-picker-CutzRF4i.js} +13 -4
- package/dist/assets/{dateFormatter-DjYPheeb.js → dateFormatter-BiQ9pMrA.js} +4 -4
- package/dist/assets/{dateformat-BlfbK1ki.js → dateformat-BeHi9sF4.js} +2 -1
- package/dist/assets/{dialog-CFy8vuwh.js → dialog-ZxkAulrV.js} +4 -4
- package/dist/assets/{dist-BQ7E1jLN.js → dist-C4hPgTYg.js} +3 -3
- package/dist/assets/empty-nq5-pHAR.js +895 -0
- package/dist/assets/en-C4tPMX0d.js +2 -0
- package/dist/assets/{en-CF30SCh2.js → en-PrU4QUr7.js} +10 -2
- package/dist/assets/{es-C2DNxuAa.js → es-347rbIb-.js} +2 -2
- package/dist/assets/{evaluation.constants-CaU1Jek8.js → evaluation.constants-COHKT500.js} +12 -15
- package/dist/assets/{executions.store-BjQUzT_w.js → executions.store-D1BMCixf.js} +4 -4
- package/dist/assets/{exports-C5ncBo9h.js → exports-DwuuoPh-.js} +1 -3
- package/dist/assets/{externalSecrets.ee.store-DS-4lnXS.js → externalSecrets.ee.store-CClIdWWb.js} +4 -4
- package/dist/assets/{folders.store-BqKf5TBS.js → folders.store-DHmLGEYl.js} +4 -4
- package/dist/assets/{index-U6fZiFvz.css → index-BhFfa3xu.css} +3083 -2437
- package/dist/assets/{index-BFqYZQt_.js → index-CZ0ShzXs.js} +4327 -1864
- package/dist/assets/{insights.constants-D63-x9pu.js → insights.constants-98xWnZQu.js} +3 -3
- package/dist/assets/{insights.store-BwsFg9pQ.js → insights.store-B6MSLVpS.js} +7 -7
- package/dist/assets/{insights.utils-CWK5jWpE.js → insights.utils-B0txVt0Q.js} +6 -6
- package/dist/assets/{languageModules-DDJUl1h8.js → languageModules-DyQaii5v.js} +1 -1
- package/dist/assets/{logStreaming.store-BxM1T1ZK.js → logStreaming.store-3rdm0k17.js} +3 -3
- package/dist/assets/{mcp.store-ChjN6nuV.js → mcp.store--DVpfZPc.js} +4 -4
- package/dist/assets/{merge-DjI8TA-7.js → merge-B0-p153C.js} +2 -2
- package/dist/assets/{nodeCreator.store-CXJtK_5o.js → nodeCreator.store-BL_XgPCV.js} +1932 -2216
- package/dist/assets/{nodeIcon-CIlNGIQ6.js → nodeIcon-G45tSifH.js} +3 -3
- package/dist/assets/{nodeTransforms-yL73Ok-c.js → nodeTransforms-CjgwHZte.js} +2 -2
- package/dist/assets/{orderBy-DLgDRKnZ.js → orderBy-CI4ht8Wh.js} +3 -3
- package/dist/assets/{personalizedTemplatesV3.store-Bs_2J_OQ.js → personalizedTemplatesV3.store-EQdiv-tM.js} +4 -4
- package/dist/assets/{pickBy-DYW-ATsL.js → pickBy-CS854Y6u.js} +3 -3
- package/dist/assets/pushConnection.store-Rp8-mZo7.js +496 -0
- package/dist/assets/{radio-BeejvdFG.js → radio-I_Y35sEo.js} +2 -2
- package/dist/assets/{readyToRun.store-DX00OlhN.js → readyToRun.store-i9gaUDlh.js} +17 -8
- package/dist/assets/{readyToRunWorkflows.store-CR7Yn6At.js → readyToRunWorkflows.store-gcTSDf1M.js} +6 -6
- package/dist/assets/{roles.store-DeGSYcWL.js → roles.store-ByEYbWMb.js} +4 -4
- package/dist/assets/{router-CFnjpqoZ.js → router-CmCiJkA0.js} +316 -304
- package/dist/assets/{sanitize-html-BkT1y0bJ.js → sanitize-html-DeDnsMgc.js} +17 -17
- package/dist/assets/{semver-CjLBiqOi.js → semver-DkHAUe3T.js} +6 -8
- package/dist/assets/{sourceControl.eventBus-BlFJV1yj.js → sourceControl.eventBus-l-XuMGfW.js} +1 -1
- package/dist/assets/{sqlite3-worker1-bundler-friendly-BOYmhhGN.js → sqlite3-worker1-bundler-friendly-BvaOkVlV.js} +9 -2
- package/dist/assets/{src-CMoPZtHv.css → src-CUiJtOrW.css} +5070 -4059
- package/dist/assets/{src-BiuB4CZc.js → src-DpZSuyLC.js} +5805 -2547
- package/dist/assets/{sso.store-CgVzmGCn.js → sso.store-B0NxuXiJ.js} +3 -3
- package/dist/assets/{table-fp187Rky.js → table-C3aerURh.js} +5 -5
- package/dist/assets/{templateActions-Dn6PNjyj.js → templateActions-BGHev3SN.js} +5 -5
- package/dist/assets/{templateTransforms-BtbIlupE.js → templateTransforms-B0n1tACx.js} +1 -1
- package/dist/assets/{truncate-B1HVeveJ.js → truncate-BrM_9cme.js} +5 -5
- package/dist/assets/{typescript.worker-CYqLvLHh.js → typescript.worker-DZR6qltN.js} +224 -176
- package/dist/assets/{usage.store-DI2Rilu6.js → usage.store-3GYv6IW-.js} +3 -3
- package/dist/assets/{useActions-B3Tgqfk-.js → useActions-Buaifc4L.js} +5 -5
- package/dist/assets/useBugReporting-D6SXeO6B.js +130 -0
- package/dist/assets/useCalloutHelpers-Cwtyxtsm.js +80 -0
- package/dist/assets/{useCanvasOperations-BttAaAbZ.js → useCanvasOperations-DY9_Vcrs.js} +36 -32
- package/dist/assets/{useClipboard-CurFa2Dj.js → useClipboard-B8OKhRbY.js} +3 -3
- package/dist/assets/{useCredentialResolvers-CJPbKnJV.js → useCredentialResolvers-CCUEZ5V2.js} +5 -5
- package/dist/assets/{useCustomAgent-tUoLIUar.css → useCustomAgent-D8Sw5vcC.css} +32 -9
- package/dist/assets/useCustomAgent-h_FKujBQ.js +630 -0
- package/dist/assets/{useDebounce-BjcMkTu4.js → useDebounce-C4ttil9E.js} +12 -12
- package/dist/assets/{useExecutionData-B5c3pMYr.js → useExecutionData-CAzGOYWw.js} +2 -2
- package/dist/assets/{useExecutionDebugging-BAm9HytR.js → useExecutionDebugging-DQI5yARq.js} +7 -7
- package/dist/assets/{useExecutionHelpers-ClAdmv-B.js → useExecutionHelpers-DWZYR0dg.js} +5 -5
- package/dist/assets/useGlobalEntityCreation-BwX8UUSv.js +192 -0
- package/dist/assets/{useImportCurlCommand-L4oAG6dd.js → useImportCurlCommand-DRS2-Amm.js} +41 -36
- package/dist/assets/{useIntersectionObserver-Bb8gFEHX.js → useIntersectionObserver-CGg561I6.js} +1 -1
- package/dist/assets/{useKeybindings-30WRTvmG.js → useKeybindings-MR6cNtmK.js} +5 -5
- package/dist/assets/{useLogsTreeExpand-6_x7FouR.js → useLogsTreeExpand-CvDEwlbf.js} +41 -41
- package/dist/assets/{useMcp-T0ZvziGl.js → useMcp-BIeH6n02.js} +2 -2
- package/dist/assets/{usePageRedirectionHelper-BJH0h6XA.js → usePageRedirectionHelper-DPAtaAXY.js} +3 -3
- package/dist/assets/{usePinnedData-B88__knO.js → usePinnedData-BFTyeyJG.js} +6 -6
- package/dist/assets/{usePushConnection-O_Sg_NLA.js → usePushConnection-CcijHMYv.js} +12 -16
- package/dist/assets/{useRunWorkflow-BK9B9ALV.js → useRunWorkflow-wOjZEWNr.js} +106 -486
- package/dist/assets/{useSettingsItems-aqm5JSTf.js → useSettingsItems-CaNtH9v0.js} +5 -5
- package/dist/assets/{useTelemetryContext-DoX4HWmg.js → useTelemetryContext-CE5phjaX.js} +4 -4
- package/dist/assets/{useWorkflowsCache-CsbESieM.js → useWorkflowsCache-BBhvuqqB.js} +2 -2
- package/dist/assets/{userRoleProvisioning.store-CK7bojX8.js → userRoleProvisioning.store-COPddaUL.js} +3 -3
- package/dist/assets/{builder.store-CgMqPgnW.js → users.store-KBMG-745.js} +22801 -23949
- package/dist/assets/utils-BCX2a8sC.js +133 -0
- package/dist/assets/{versions.store-CzvzmERa.js → versions.store-BnGZ_WOG.js} +4 -4
- package/dist/assets/{vue-Dd77OcSb.js → vue-atn33zIp.js} +255 -213
- package/dist/assets/{vue-json-pretty-DF-vJpHf.js → vue-json-pretty-CTqCbq0T.js} +1 -1
- package/dist/assets/{vue.runtime.esm-bundler-tP5dCd7J.js → vue.runtime.esm-bundler-XtMkEjzB.js} +703 -538
- package/dist/assets/{worker-CIvWfg3a.js → worker-BnP12nj7.js} +10 -3
- package/dist/index.html +116 -119
- package/package.json +1 -1
- package/tsconfig.json +1 -1
- package/dist/assets/AnimatedSpinner-DBPcagVq.js +0 -15
- package/dist/assets/BottomMenu-CRVyIu-B.css +0 -474
- package/dist/assets/ChatAgentAvatar-DoN0Vr4x.js +0 -67
- package/dist/assets/CollectionParameter-ByVUPeYR.js +0 -49
- package/dist/assets/DemoFooter-u1dOP76h.js +0 -62
- package/dist/assets/FixedCollectionParameter-CkTQ2epJ.js +0 -493
- package/dist/assets/FixedCollectionParameter-DT3ELzS9.css +0 -202
- package/dist/assets/ItemsRenderer-z7cKER1f.js +0 -922
- package/dist/assets/LogsPanel-B9QiohHK.js +0 -49
- package/dist/assets/NodeCreator-OSIpRI6S.css +0 -1649
- package/dist/assets/PageViewLayout-XiCAnPXE.js +0 -12
- package/dist/assets/PrebuiltAgentTemplatesView-B7uXEamJ.js +0 -151
- package/dist/assets/PrebuiltAgentTemplatesView-jF7HvWnL.css +0 -166
- package/dist/assets/RunDataHtml-CMYh4fix.js +0 -6
- package/dist/assets/RunDataParsedAiContent-DI_kumKV.js +0 -23
- package/dist/assets/SaveButton-DFMQz4OO.js +0 -89
- package/dist/assets/SettingsView-Ccz6LsAi.js +0 -87
- package/dist/assets/VirtualSchema-BOm-odEw.js +0 -33
- package/dist/assets/WorkflowActivationErrorMessage-CkxW6ZtU.js +0 -17
- package/dist/assets/WorkflowActivator-BGcCOUCH.css +0 -391
- package/dist/assets/WorkflowActivator-CisdBXpp.js +0 -362
- package/dist/assets/core-DeR-PV8K.js +0 -4
- package/dist/assets/empty-BUjCyq3U.js +0 -2450
- package/dist/assets/en-DyO2pPiC.js +0 -2
- package/dist/assets/schemaPreview.store-Bs_OZUsM.js +0 -113
- package/dist/assets/uniqBy-6k_SZ3dM.js +0 -10
- package/dist/assets/useBeforeUnload-dAltrwFm.js +0 -40
- package/dist/assets/useCommandBar-CXSPJjOq.js +0 -2425
- package/dist/assets/useCustomAgent-CSvOuB6K.js +0 -471
- package/dist/assets/useRecentResources-Dy5vqIyg.js +0 -118
- package/dist/assets/useWorkflowActivate-i3WAlo0M.js +0 -152
- package/dist/assets/utils-CnShVJFh.js +0 -54
- /package/dist/assets/{CalendarDate-zWqgZMlk.js → CalendarDate-CogIFc4_.js} +0 -0
- /package/dist/assets/{_plugin-vue_export-helper-BwBpWJRZ.js → _plugin-vue_export-helper-fRq25RGE.js} +0 -0
- /package/dist/assets/{fileUtils-Bt1vr1SC.js → fileUtils-C-Bxka0b.js} +0 -0
- /package/dist/assets/{mcp.constants-1HQX33wO.js → mcp.constants-Djm5lWYR.js} +0 -0
- /package/dist/assets/{preload-helper-CR0ecmWK.js → preload-helper-D8n1yiy9.js} +0 -0
- /package/dist/assets/{retry-B-tGcWte.js → retry-BLsJRFf0.js} +0 -0
- /package/dist/assets/{smartDecimal-gA9wGEba.js → smartDecimal-D3Shg2YQ.js} +0 -0
- /package/dist/assets/{sortByProperty-C6sPingU.js → sortByProperty-Dip6DXbv.js} +0 -0
- /package/dist/assets/{sqlite3-opfs-async-proxy-vVtmDGHX.js → sqlite3-opfs-async-proxy-BrtqH9Si.js} +0 -0
- /package/dist/assets/{xml-DDfXMqo8.js → xml-Cf0o4TxQ.js} +0 -0
|
@@ -1,36 +1,35 @@
|
|
|
1
|
-
import { o as __toESM } from "./chunk-
|
|
2
|
-
import { A as createStaticVNode, C as computed, Cn as toDisplayString, D as createElementBlock, E as createCommentVNode, Gt as unref, Ht as toRefs, It as ref, J as onBeforeUnmount, M as createVNode, P as defineComponent, Pt as reactive, Q as onUnmounted, St as withMemo, T as createBlock, W as mergeProps, Z as onMounted, _ as Fragment, _t as watch, at as renderSlot, bn as normalizeStyle, bt as withCtx, et as openBlock, h as withModifiers, j as createTextVNode, k as createSlots, n as Transition, st as resolveDirective, vn as normalizeClass, w as createBaseVNode, xt as withDirectives, yn as normalizeProps } from "./vue.runtime.esm-bundler-
|
|
3
|
-
import { _t as useI18n, g as onClickOutside, mt as i18n } from "./_MapCache-
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import { t as
|
|
8
|
-
import "./
|
|
9
|
-
import
|
|
10
|
-
import "./
|
|
11
|
-
import "./
|
|
12
|
-
import "./
|
|
13
|
-
import {
|
|
14
|
-
import "./
|
|
15
|
-
import "./
|
|
16
|
-
import "./
|
|
17
|
-
import
|
|
18
|
-
import "./
|
|
19
|
-
import {
|
|
20
|
-
import
|
|
21
|
-
import "./
|
|
22
|
-
import "./
|
|
23
|
-
import
|
|
24
|
-
import { t as getNodeIconSource } from "./nodeIcon-
|
|
25
|
-
import "./useCanvasOperations-
|
|
26
|
-
import "./folders.store-
|
|
27
|
-
import { t as
|
|
28
|
-
import { t as
|
|
29
|
-
import {
|
|
30
|
-
import "./
|
|
31
|
-
import {
|
|
32
|
-
|
|
33
|
-
var _hoisted_1$5 = ["placeholder", "value"];
|
|
1
|
+
import { o as __toESM } from "./chunk-r2Y0G7H8.js";
|
|
2
|
+
import { A as createStaticVNode, C as computed, Cn as toDisplayString, D as createElementBlock, E as createCommentVNode, Gt as unref, Ht as toRefs, I as guardReactiveProps, It as ref, J as onBeforeUnmount, M as createVNode, P as defineComponent, Pt as reactive, Q as onUnmounted, St as withMemo, T as createBlock, W as mergeProps, Z as onMounted, _ as Fragment, _t as watch, at as renderSlot, bn as normalizeStyle, bt as withCtx, et as openBlock, h as withModifiers, it as renderList, j as createTextVNode, k as createSlots, n as Transition, p as vShow, st as resolveDirective, vn as normalizeClass, w as createBaseVNode, xt as withDirectives, yn as normalizeProps } from "./vue.runtime.esm-bundler-XtMkEjzB.js";
|
|
3
|
+
import { _t as useI18n, g as onClickOutside, mt as i18n } from "./_MapCache-DkLivSSb.js";
|
|
4
|
+
import { A as N8nNotice_default, Dn as N8nCallout_default, M as N8nNodeCreatorNode_default, On as N8nText_default, Ot as N8nIconButton_default, St as N8nTooltip_default, dt as N8nLoading_default, j as N8nNodeIcon_default, jn as N8nIcon_default, kn as N8nButton_default, xt as N8nLink_default, z as N8nInfoTip_default } from "./src-DpZSuyLC.js";
|
|
5
|
+
import { t as __plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-fRq25RGE.js";
|
|
6
|
+
import "./truncate-BrM_9cme.js";
|
|
7
|
+
import { A as getHumanInTheLoopActions, C as useNodeTypesStore, E as filterAndSearchNodes, F as prepareCommunityNodeDetailsViewStack, I as removePreviewToken, Mt as useTelemetry, O as flattenCreateElements, On as getNewNodePosition, P as isNodePreviewKey, R as shouldShowCommunityNodeDetails, Sr as useExternalHooks, V as transformNodeType, _n as DEFAULT_NODE_SIZE, fa as COMMUNITY_NODES_INSTALLATION_DOCS_URL, j as getRootSearchCallouts, nt as useCredentialsStore, r as useUIStore, s as useWorkflowsStore, t as useUsersStore, w as useActionsGenerator } from "./users.store-KBMG-745.js";
|
|
8
|
+
import "./sanitize-html-DeDnsMgc.js";
|
|
9
|
+
import "./empty-nq5-pHAR.js";
|
|
10
|
+
import { Bn as OPEN_AI_NODE_TYPE, Ea as isCommunityPackageName, Et as REQUEST_NODE_FORM_URL, F as CUSTOM_API_CALL_KEY, L as DRAG_EVENT_DATA_KEY, Tt as REGULAR_NODE_CREATOR_VIEW, Wt as CREDENTIAL_ONLY_NODE_PREFIX, _t as DEFAULT_SUBCATEGORY, bt as HITL_SUBCATEGORY, dt as AI_OTHERS_NODE_CREATOR_VIEW, hr as WEBHOOK_NODE_TYPE, kt as TRIGGER_NODE_CREATOR_VIEW, lt as AI_EVALUATION, pn as HTTP_REQUEST_NODE_TYPE, pt as AI_UNCATEGORIZED_CATEGORY, ut as AI_NODE_CREATOR_VIEW, zn as OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE } from "./constants-CRdXn3zB.js";
|
|
11
|
+
import "./merge-B0-p153C.js";
|
|
12
|
+
import "./_baseOrderBy-Cy5MGJv_.js";
|
|
13
|
+
import { t as useBannersStore } from "./banners.store-De4swlHn.js";
|
|
14
|
+
import "./dateformat-BeHi9sF4.js";
|
|
15
|
+
import { t as useDebounce } from "./useDebounce-C4ttil9E.js";
|
|
16
|
+
import "./executions.store-D1BMCixf.js";
|
|
17
|
+
import "./assistant.store-BsyT2BFh.js";
|
|
18
|
+
import { t as useChatPanelStore } from "./chatPanel.store-XTtvoDW8.js";
|
|
19
|
+
import { n as captureException } from "./exports-DwuuoPh-.js";
|
|
20
|
+
import "./semver-DkHAUe3T.js";
|
|
21
|
+
import { n as useNodeType } from "./usePinnedData-BFTyeyJG.js";
|
|
22
|
+
import { a as AIView, c as require_camelCase, i as AINodesView, n as useViewStacks, o as RegularView, r as useKeyboardNavigation, s as TriggerView, t as useNodeCreatorStore } from "./nodeCreator.store-BL_XgPCV.js";
|
|
23
|
+
import "./canvas.utils-6yT3qDz5.js";
|
|
24
|
+
import { t as getNodeIconSource } from "./nodeIcon-G45tSifH.js";
|
|
25
|
+
import "./useCanvasOperations-DY9_Vcrs.js";
|
|
26
|
+
import "./folders.store-DHmLGEYl.js";
|
|
27
|
+
import { a as useInstallNode, i as useInstalledCommunityPackage, n as CommunityNodeFooter_default, r as ContactAdministratorToInstall_default, t as CommunityNodeUpdateInfo_default } from "./CommunityNodeUpdateInfo-BzF3To7U.js";
|
|
28
|
+
import { t as NodeIcon_default } from "./NodeIcon-SaoWBT_U.js";
|
|
29
|
+
import { t as useCalloutHelpers } from "./useCalloutHelpers-Cwtyxtsm.js";
|
|
30
|
+
import { t as useActions } from "./useActions-Buaifc4L.js";
|
|
31
|
+
import { t as SlideTransition_default } from "./SlideTransition-CWSKQ4XI.js";
|
|
32
|
+
var _hoisted_1$10 = ["placeholder", "value"];
|
|
34
33
|
var SearchBar_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
35
34
|
__name: "SearchBar",
|
|
36
35
|
props: {
|
|
@@ -68,7 +67,7 @@ var SearchBar_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defi
|
|
|
68
67
|
}, [
|
|
69
68
|
createBaseVNode("div", { class: normalizeClass({
|
|
70
69
|
[_ctx.$style.prefix]: true,
|
|
71
|
-
[_ctx.$style.active]:
|
|
70
|
+
[_ctx.$style.active]: __props.modelValue.length > 0
|
|
72
71
|
}) }, [createVNode(unref(N8nIcon_default), {
|
|
73
72
|
icon: "search",
|
|
74
73
|
size: "small"
|
|
@@ -76,15 +75,15 @@ var SearchBar_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defi
|
|
|
76
75
|
createBaseVNode("div", { class: normalizeClass(_ctx.$style.text) }, [createBaseVNode("input", {
|
|
77
76
|
ref_key: "inputRef",
|
|
78
77
|
ref: inputRef,
|
|
79
|
-
placeholder:
|
|
80
|
-
value:
|
|
78
|
+
placeholder: __props.placeholder,
|
|
79
|
+
value: __props.modelValue,
|
|
81
80
|
class: normalizeClass(_ctx.$style.input),
|
|
82
81
|
autofocus: "",
|
|
83
82
|
"data-test-id": "node-creator-search-bar",
|
|
84
83
|
tabindex: "0",
|
|
85
84
|
onInput
|
|
86
|
-
}, null, 42, _hoisted_1$
|
|
87
|
-
|
|
85
|
+
}, null, 42, _hoisted_1$10)], 2),
|
|
86
|
+
__props.modelValue.length > 0 ? (openBlock(), createElementBlock("div", {
|
|
88
87
|
key: 0,
|
|
89
88
|
class: normalizeClass([_ctx.$style.suffix, _ctx.$style.clickable]),
|
|
90
89
|
onClick: clear$1
|
|
@@ -106,12 +105,914 @@ var SearchBar_vue_vue_type_style_index_0_lang_module_default = {
|
|
|
106
105
|
clickable: "_clickable_1mhzr_183"
|
|
107
106
|
};
|
|
108
107
|
var SearchBar_default = /* @__PURE__ */ __plugin_vue_export_helper_default(SearchBar_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": SearchBar_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
108
|
+
var _hoisted_1$9 = {
|
|
109
|
+
viewBox: "0 0 24 24",
|
|
110
|
+
width: "1.2em",
|
|
111
|
+
height: "1.2em"
|
|
112
|
+
};
|
|
113
|
+
function render$1(_ctx, _cache) {
|
|
114
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$9, [..._cache[0] || (_cache[0] = [createBaseVNode("path", {
|
|
115
|
+
fill: "currentColor",
|
|
116
|
+
d: "m23 12l-2.44-2.78l.34-3.68l-3.61-.82l-1.89-3.18L12 3L8.6 1.54L6.71 4.72l-3.61.81l.34 3.68L1 12l2.44 2.78l-.34 3.69l3.61.82l1.89 3.18L12 21l3.4 1.46l1.89-3.18l3.61-.82l-.34-3.68zm-13 5l-4-4l1.41-1.41L10 14.17l6.59-6.59L18 9z"
|
|
117
|
+
}, null, -1)])]);
|
|
118
|
+
}
|
|
119
|
+
var verified_default = {
|
|
120
|
+
name: "mdi-verified",
|
|
121
|
+
render: render$1
|
|
122
|
+
};
|
|
123
|
+
var NodeItem_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
124
|
+
__name: "NodeItem",
|
|
125
|
+
props: {
|
|
126
|
+
nodeType: {},
|
|
127
|
+
subcategory: { default: void 0 },
|
|
128
|
+
active: {
|
|
129
|
+
type: Boolean,
|
|
130
|
+
default: false
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
setup(__props) {
|
|
134
|
+
const props = __props;
|
|
135
|
+
const i18n$1 = useI18n();
|
|
136
|
+
const telemetry = useTelemetry();
|
|
137
|
+
const { actions } = useNodeCreatorStore();
|
|
138
|
+
const { getAddedNodesAndConnections } = useActions();
|
|
139
|
+
const { activeViewStack } = useViewStacks();
|
|
140
|
+
const { isSubNodeType } = useNodeType({ nodeType: props.nodeType });
|
|
141
|
+
const nodeTypesStore = useNodeTypesStore();
|
|
142
|
+
const dragging = ref(false);
|
|
143
|
+
const draggablePosition = ref({
|
|
144
|
+
x: -100,
|
|
145
|
+
y: -100
|
|
146
|
+
});
|
|
147
|
+
const draggableDataTransfer$2 = ref(null);
|
|
148
|
+
const description$1 = computed(() => {
|
|
149
|
+
if (isCommunityNodePreview.value) return props.nodeType.description;
|
|
150
|
+
if (isSendAndWaitCategory.value) return "";
|
|
151
|
+
if (props.subcategory === "*" && !props.nodeType.name.startsWith("n8n-creds-base")) return "";
|
|
152
|
+
return i18n$1.headerText({
|
|
153
|
+
key: `headers.${shortNodeType.value}.description`,
|
|
154
|
+
fallback: props.nodeType.description
|
|
155
|
+
});
|
|
156
|
+
});
|
|
157
|
+
const showActionArrow = computed(() => {
|
|
158
|
+
if (shouldShowCommunityNodeDetails(isCommunityNode.value, activeViewStack)) return true;
|
|
159
|
+
return hasActions.value && !isSendAndWaitCategory.value;
|
|
160
|
+
});
|
|
161
|
+
const isSendAndWaitCategory = computed(() => activeViewStack.subcategory === HITL_SUBCATEGORY);
|
|
162
|
+
const dataTestId = computed(() => hasActions.value ? "node-creator-action-item" : "node-creator-node-item");
|
|
163
|
+
const hasActions = computed(() => {
|
|
164
|
+
return nodeActions.value.length > 1 && !activeViewStack.hideActions;
|
|
165
|
+
});
|
|
166
|
+
const nodeActions = computed(() => {
|
|
167
|
+
return actions[props.nodeType.name] || [];
|
|
168
|
+
});
|
|
169
|
+
const shortNodeType = computed(() => i18n$1.shortNodeType(props.nodeType.name) || "");
|
|
170
|
+
const draggableStyle = computed(() => ({
|
|
171
|
+
top: `${draggablePosition.value.y}px`,
|
|
172
|
+
left: `${draggablePosition.value.x}px`
|
|
173
|
+
}));
|
|
174
|
+
const isCommunityNode = computed(() => isCommunityPackageName(props.nodeType.name));
|
|
175
|
+
const isCommunityNodePreview = computed(() => isNodePreviewKey(props.nodeType.name));
|
|
176
|
+
const displayName = computed(() => {
|
|
177
|
+
const trimmedDisplayName = props.nodeType.displayName.trimEnd();
|
|
178
|
+
return i18n$1.headerText({
|
|
179
|
+
key: `headers.${shortNodeType.value}.displayName`,
|
|
180
|
+
fallback: hasActions.value ? trimmedDisplayName.replace("Trigger", "") : trimmedDisplayName
|
|
181
|
+
});
|
|
182
|
+
});
|
|
183
|
+
const isTrigger = computed(() => {
|
|
184
|
+
return props.nodeType.group.includes("trigger") && !hasActions.value;
|
|
185
|
+
});
|
|
186
|
+
const communityNodeType = computed(() => {
|
|
187
|
+
return nodeTypesStore.communityNodeType(removePreviewToken(props.nodeType.name));
|
|
188
|
+
});
|
|
189
|
+
const isOfficial = computed(() => {
|
|
190
|
+
return communityNodeType.value?.isOfficialNode ?? false;
|
|
191
|
+
});
|
|
192
|
+
const author = computed(() => {
|
|
193
|
+
return communityNodeType.value?.displayName ?? displayName.value;
|
|
194
|
+
});
|
|
195
|
+
const tag = computed(() => {
|
|
196
|
+
if (props.nodeType.tag) return props.nodeType.tag;
|
|
197
|
+
if (description$1.value.toLowerCase().includes("deprecated")) return {
|
|
198
|
+
text: i18n$1.baseText("nodeCreator.nodeItem.deprecated"),
|
|
199
|
+
type: "info"
|
|
200
|
+
};
|
|
201
|
+
});
|
|
202
|
+
function onDragStart(event) {
|
|
203
|
+
if (event.dataTransfer) {
|
|
204
|
+
event.dataTransfer.effectAllowed = "copy";
|
|
205
|
+
event.dataTransfer.dropEffect = "copy";
|
|
206
|
+
event.dataTransfer.setDragImage(draggableDataTransfer$2.value, 0, 0);
|
|
207
|
+
event.dataTransfer.setData(DRAG_EVENT_DATA_KEY, JSON.stringify(getAddedNodesAndConnections([{ type: props.nodeType.name }])));
|
|
208
|
+
}
|
|
209
|
+
dragging.value = true;
|
|
210
|
+
}
|
|
211
|
+
function onDragEnd() {
|
|
212
|
+
dragging.value = false;
|
|
213
|
+
setTimeout(() => {
|
|
214
|
+
draggablePosition.value = {
|
|
215
|
+
x: -100,
|
|
216
|
+
y: -100
|
|
217
|
+
};
|
|
218
|
+
}, 300);
|
|
219
|
+
}
|
|
220
|
+
function onCommunityNodeTooltipClick(event) {
|
|
221
|
+
if (event.target.localName === "a") telemetry.track("user clicked cnr docs link", { source: "nodes panel node" });
|
|
222
|
+
}
|
|
223
|
+
return (_ctx, _cache) => {
|
|
224
|
+
const _directive_n8n_html = resolveDirective("n8n-html");
|
|
225
|
+
return openBlock(), createBlock(unref(N8nNodeCreatorNode_default), {
|
|
226
|
+
draggable: !showActionArrow.value,
|
|
227
|
+
class: normalizeClass(_ctx.$style.nodeItem),
|
|
228
|
+
description: description$1.value,
|
|
229
|
+
title: displayName.value,
|
|
230
|
+
"show-action-arrow": showActionArrow.value,
|
|
231
|
+
"is-trigger": isTrigger.value,
|
|
232
|
+
"is-official": isOfficial.value,
|
|
233
|
+
"data-test-id": dataTestId.value,
|
|
234
|
+
tag: tag.value,
|
|
235
|
+
onDragstart: onDragStart,
|
|
236
|
+
onDragend: onDragEnd
|
|
237
|
+
}, createSlots({
|
|
238
|
+
icon: withCtx(() => [unref(isSubNodeType) ? (openBlock(), createElementBlock("div", {
|
|
239
|
+
key: 0,
|
|
240
|
+
class: normalizeClass(_ctx.$style.subNodeBackground)
|
|
241
|
+
}, null, 2)) : createCommentVNode("", true), createVNode(NodeIcon_default, {
|
|
242
|
+
class: normalizeClass(_ctx.$style.nodeIcon),
|
|
243
|
+
"node-type": __props.nodeType,
|
|
244
|
+
"color-default": "var(--color--foreground--shade-2)"
|
|
245
|
+
}, null, 8, ["class", "node-type"])]),
|
|
246
|
+
dragContent: withCtx(() => [withDirectives(createBaseVNode("div", {
|
|
247
|
+
ref_key: "draggableDataTransfer",
|
|
248
|
+
ref: draggableDataTransfer$2,
|
|
249
|
+
class: normalizeClass(_ctx.$style.draggable),
|
|
250
|
+
style: normalizeStyle(draggableStyle.value)
|
|
251
|
+
}, [createVNode(NodeIcon_default, {
|
|
252
|
+
"node-type": __props.nodeType,
|
|
253
|
+
size: 40,
|
|
254
|
+
shrink: false,
|
|
255
|
+
"color-default": "var(--color--foreground--shade-2)",
|
|
256
|
+
onClickCapture: _cache[0] || (_cache[0] = withModifiers(() => {}, ["stop"]))
|
|
257
|
+
}, null, 8, ["node-type"])], 6), [[vShow, dragging.value]])]),
|
|
258
|
+
_: 2
|
|
259
|
+
}, [isOfficial.value ? {
|
|
260
|
+
name: "extraDetails",
|
|
261
|
+
fn: withCtx(() => [createVNode(unref(N8nTooltip_default), {
|
|
262
|
+
placement: "top",
|
|
263
|
+
"show-after": 500
|
|
264
|
+
}, {
|
|
265
|
+
content: withCtx(() => [createTextVNode(toDisplayString(unref(i18n$1).baseText("generic.officialNode.tooltip", { interpolate: { author: author.value } })), 1)]),
|
|
266
|
+
default: withCtx(() => [createVNode(unref(verified_default), { class: normalizeClass([_ctx.$style.icon, _ctx.$style.official]) }, null, 8, ["class"])]),
|
|
267
|
+
_: 1
|
|
268
|
+
})]),
|
|
269
|
+
key: "0"
|
|
270
|
+
} : isCommunityNode.value && !isCommunityNodePreview.value && !unref(activeViewStack)?.communityNodeDetails ? {
|
|
271
|
+
name: "extraDetails",
|
|
272
|
+
fn: withCtx(() => [createVNode(unref(N8nTooltip_default), {
|
|
273
|
+
placement: "top",
|
|
274
|
+
"show-after": 500
|
|
275
|
+
}, {
|
|
276
|
+
content: withCtx(() => [withDirectives(createBaseVNode("p", {
|
|
277
|
+
class: normalizeClass(_ctx.$style.communityNodeIcon),
|
|
278
|
+
onClick: onCommunityNodeTooltipClick
|
|
279
|
+
}, null, 2), [[_directive_n8n_html, unref(i18n$1).baseText("generic.communityNode.tooltip", { interpolate: {
|
|
280
|
+
packageName: __props.nodeType.name.split(".")[0],
|
|
281
|
+
docURL: unref(COMMUNITY_NODES_INSTALLATION_DOCS_URL)
|
|
282
|
+
} })]])]),
|
|
283
|
+
default: withCtx(() => [createVNode(unref(N8nIcon_default), {
|
|
284
|
+
size: "small",
|
|
285
|
+
class: normalizeClass(_ctx.$style.icon),
|
|
286
|
+
icon: "box"
|
|
287
|
+
}, null, 8, ["class"])]),
|
|
288
|
+
_: 1
|
|
289
|
+
})]),
|
|
290
|
+
key: "1"
|
|
291
|
+
} : void 0]), 1032, [
|
|
292
|
+
"draggable",
|
|
293
|
+
"class",
|
|
294
|
+
"description",
|
|
295
|
+
"title",
|
|
296
|
+
"show-action-arrow",
|
|
297
|
+
"is-trigger",
|
|
298
|
+
"is-official",
|
|
299
|
+
"data-test-id",
|
|
300
|
+
"tag"
|
|
301
|
+
]);
|
|
302
|
+
};
|
|
303
|
+
}
|
|
304
|
+
});
|
|
305
|
+
var NodeItem_vue_vue_type_style_index_0_lang_module_default = {
|
|
306
|
+
nodeItem: "_nodeItem_4xp4b_123",
|
|
307
|
+
nodeIcon: "_nodeIcon_4xp4b_131",
|
|
308
|
+
subNodeBackground: "_subNodeBackground_4xp4b_135",
|
|
309
|
+
communityNodeIcon: "_communityNodeIcon_4xp4b_145",
|
|
310
|
+
draggable: "_draggable_4xp4b_149",
|
|
311
|
+
draggableDataTransfer: "_draggableDataTransfer_4xp4b_163",
|
|
312
|
+
icon: "_icon_4xp4b_168",
|
|
313
|
+
official: "_official_4xp4b_173"
|
|
314
|
+
};
|
|
315
|
+
var NodeItem_default = /* @__PURE__ */ __plugin_vue_export_helper_default(NodeItem_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": NodeItem_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
316
|
+
var import_camelCase$1 = /* @__PURE__ */ __toESM(require_camelCase(), 1);
|
|
317
|
+
var SubcategoryItem_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
318
|
+
__name: "SubcategoryItem",
|
|
319
|
+
props: { item: {} },
|
|
320
|
+
setup(__props) {
|
|
321
|
+
const props = __props;
|
|
322
|
+
const i18n$1 = useI18n();
|
|
323
|
+
const subcategoryName = computed(() => (0, import_camelCase$1.default)(props.item.subcategory || props.item.title));
|
|
324
|
+
return (_ctx, _cache) => {
|
|
325
|
+
return openBlock(), createBlock(unref(N8nNodeCreatorNode_default), {
|
|
326
|
+
class: normalizeClass(_ctx.$style.subCategory),
|
|
327
|
+
title: unref(i18n$1).baseText(`nodeCreator.subcategoryNames.${subcategoryName.value}`),
|
|
328
|
+
"is-trigger": false,
|
|
329
|
+
description: unref(i18n$1).baseText(`nodeCreator.subcategoryDescriptions.${subcategoryName.value}`),
|
|
330
|
+
"show-action-arrow": true
|
|
331
|
+
}, {
|
|
332
|
+
icon: withCtx(() => [createVNode(unref(N8nNodeIcon_default), mergeProps({
|
|
333
|
+
type: "icon",
|
|
334
|
+
name: __props.item.icon,
|
|
335
|
+
circle: false,
|
|
336
|
+
"show-tooltip": false
|
|
337
|
+
}, __props.item.iconProps), null, 16, ["name"])]),
|
|
338
|
+
_: 1
|
|
339
|
+
}, 8, [
|
|
340
|
+
"class",
|
|
341
|
+
"title",
|
|
342
|
+
"description"
|
|
343
|
+
]);
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
});
|
|
347
|
+
var SubcategoryItem_vue_vue_type_style_index_0_lang_module_default = { subCategory: "_subCategory_162af_123" };
|
|
348
|
+
var SubcategoryItem_default = /* @__PURE__ */ __plugin_vue_export_helper_default(SubcategoryItem_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": SubcategoryItem_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
349
|
+
var _hoisted_1$8 = ["textContent"];
|
|
350
|
+
var LabelItem_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
351
|
+
__name: "LabelItem",
|
|
352
|
+
props: { item: {} },
|
|
353
|
+
setup(__props) {
|
|
354
|
+
return (_ctx, _cache) => {
|
|
355
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(_ctx.$style.label) }, [createBaseVNode("span", {
|
|
356
|
+
class: normalizeClass(_ctx.$style.name),
|
|
357
|
+
textContent: toDisplayString(__props.item.key)
|
|
358
|
+
}, null, 10, _hoisted_1$8)], 2);
|
|
359
|
+
};
|
|
360
|
+
}
|
|
361
|
+
});
|
|
362
|
+
var LabelItem_vue_vue_type_style_index_0_lang_module_default = { label: "_label_crtw6_123" };
|
|
363
|
+
var LabelItem_default = /* @__PURE__ */ __plugin_vue_export_helper_default(LabelItem_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": LabelItem_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
364
|
+
var ActionItem_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
365
|
+
__name: "ActionItem",
|
|
366
|
+
props: {
|
|
367
|
+
nodeType: {},
|
|
368
|
+
action: {}
|
|
369
|
+
},
|
|
370
|
+
setup(__props) {
|
|
371
|
+
const props = __props;
|
|
372
|
+
const telemetry = useTelemetry();
|
|
373
|
+
const { getActionData, getAddedNodesAndConnections, setAddedNodeActionParameters } = useActions();
|
|
374
|
+
const { activeViewStack } = useViewStacks();
|
|
375
|
+
const state = reactive({
|
|
376
|
+
dragging: false,
|
|
377
|
+
draggablePosition: {
|
|
378
|
+
x: -100,
|
|
379
|
+
y: -100
|
|
380
|
+
},
|
|
381
|
+
storeWatcher: null,
|
|
382
|
+
draggableDataTransfer: null
|
|
383
|
+
});
|
|
384
|
+
const draggableStyle = computed(() => ({
|
|
385
|
+
top: `${state.draggablePosition.y}px`,
|
|
386
|
+
left: `${state.draggablePosition.x}px`
|
|
387
|
+
}));
|
|
388
|
+
const actionData = computed(() => getActionData(props.action));
|
|
389
|
+
const isTriggerAction = (action$2) => action$2.name?.toLowerCase().includes("trigger") || action$2.name === "n8n-nodes-base.webhook";
|
|
390
|
+
function onDragStart(event) {
|
|
391
|
+
document.body.addEventListener("dragover", onDragOver);
|
|
392
|
+
const { pageX: x, pageY: y } = event;
|
|
393
|
+
if (event.dataTransfer && actionData.value.key) {
|
|
394
|
+
event.dataTransfer.effectAllowed = "copy";
|
|
395
|
+
event.dataTransfer.dropEffect = "copy";
|
|
396
|
+
event.dataTransfer.setDragImage(state.draggableDataTransfer, 0, 0);
|
|
397
|
+
event.dataTransfer.setData(DRAG_EVENT_DATA_KEY, JSON.stringify(getAddedNodesAndConnections([{ type: actionData.value.key }])));
|
|
398
|
+
if (telemetry) state.storeWatcher = setAddedNodeActionParameters(actionData.value, telemetry, activeViewStack.rootView);
|
|
399
|
+
document.body.addEventListener("dragend", onDragEnd);
|
|
400
|
+
}
|
|
401
|
+
state.dragging = true;
|
|
402
|
+
state.draggablePosition = {
|
|
403
|
+
x,
|
|
404
|
+
y
|
|
405
|
+
};
|
|
406
|
+
}
|
|
407
|
+
function onDragOver(event) {
|
|
408
|
+
if (!state.dragging || event.pageX === 0 && event.pageY === 0) return;
|
|
409
|
+
const [x, y] = getNewNodePosition([], [event.pageX - DEFAULT_NODE_SIZE[0] / 2, event.pageY - DEFAULT_NODE_SIZE[1] / 2]);
|
|
410
|
+
state.draggablePosition = {
|
|
411
|
+
x,
|
|
412
|
+
y
|
|
413
|
+
};
|
|
414
|
+
}
|
|
415
|
+
function onDragEnd() {
|
|
416
|
+
if (state.storeWatcher) state.storeWatcher();
|
|
417
|
+
document.body.removeEventListener("dragend", onDragEnd);
|
|
418
|
+
document.body.removeEventListener("dragover", onDragOver);
|
|
419
|
+
state.dragging = false;
|
|
420
|
+
setTimeout(() => {
|
|
421
|
+
state.draggablePosition = {
|
|
422
|
+
x: -100,
|
|
423
|
+
y: -100
|
|
424
|
+
};
|
|
425
|
+
}, 300);
|
|
426
|
+
}
|
|
427
|
+
const { draggableDataTransfer: draggableDataTransfer$2, dragging } = toRefs(state);
|
|
428
|
+
return (_ctx, _cache) => {
|
|
429
|
+
return openBlock(), createBlock(unref(N8nNodeCreatorNode_default), {
|
|
430
|
+
draggable: "",
|
|
431
|
+
class: normalizeClass(_ctx.$style.action),
|
|
432
|
+
title: __props.action.displayName,
|
|
433
|
+
"is-trigger": isTriggerAction(__props.action),
|
|
434
|
+
"data-keyboard-nav": "true",
|
|
435
|
+
onDragstart: onDragStart,
|
|
436
|
+
onDragend: onDragEnd
|
|
437
|
+
}, {
|
|
438
|
+
dragContent: withCtx(() => [createBaseVNode("div", {
|
|
439
|
+
ref_key: "draggableDataTransfer",
|
|
440
|
+
ref: draggableDataTransfer$2,
|
|
441
|
+
class: normalizeClass(_ctx.$style.draggableDataTransfer)
|
|
442
|
+
}, null, 2), withDirectives(createBaseVNode("div", {
|
|
443
|
+
class: normalizeClass(_ctx.$style.draggable),
|
|
444
|
+
style: normalizeStyle(draggableStyle.value)
|
|
445
|
+
}, [createVNode(NodeIcon_default, {
|
|
446
|
+
"node-type": __props.nodeType,
|
|
447
|
+
size: 40,
|
|
448
|
+
shrink: false,
|
|
449
|
+
onClickCapture: _cache[0] || (_cache[0] = withModifiers(() => {}, ["stop"]))
|
|
450
|
+
}, null, 8, ["node-type"])], 6), [[vShow, unref(dragging)]])]),
|
|
451
|
+
icon: withCtx(() => [createVNode(NodeIcon_default, { "node-type": __props.action }, null, 8, ["node-type"])]),
|
|
452
|
+
_: 1
|
|
453
|
+
}, 8, [
|
|
454
|
+
"class",
|
|
455
|
+
"title",
|
|
456
|
+
"is-trigger"
|
|
457
|
+
]);
|
|
458
|
+
};
|
|
459
|
+
}
|
|
460
|
+
});
|
|
461
|
+
var ActionItem_vue_vue_type_style_index_0_lang_module_default = {
|
|
462
|
+
action: "_action_26pq8_123",
|
|
463
|
+
nodeIcon: "_nodeIcon_26pq8_135",
|
|
464
|
+
draggable: "_draggable_26pq8_139",
|
|
465
|
+
draggableDataTransfer: "_draggableDataTransfer_26pq8_153"
|
|
466
|
+
};
|
|
467
|
+
var ActionItem_default = /* @__PURE__ */ __plugin_vue_export_helper_default(ActionItem_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": ActionItem_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
468
|
+
var ViewItem_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
469
|
+
__name: "ViewItem",
|
|
470
|
+
props: { view: {} },
|
|
471
|
+
setup(__props) {
|
|
472
|
+
return (_ctx, _cache) => {
|
|
473
|
+
return openBlock(), createBlock(unref(N8nNodeCreatorNode_default), {
|
|
474
|
+
class: normalizeClass(_ctx.$style.view),
|
|
475
|
+
title: __props.view.title,
|
|
476
|
+
tag: __props.view.tag,
|
|
477
|
+
"is-trigger": false,
|
|
478
|
+
description: __props.view.description,
|
|
479
|
+
"show-action-arrow": true
|
|
480
|
+
}, {
|
|
481
|
+
icon: withCtx(() => [createVNode(unref(N8nNodeIcon_default), {
|
|
482
|
+
type: "icon",
|
|
483
|
+
name: __props.view.icon,
|
|
484
|
+
circle: false,
|
|
485
|
+
"show-tooltip": false
|
|
486
|
+
}, null, 8, ["name"])]),
|
|
487
|
+
_: 1
|
|
488
|
+
}, 8, [
|
|
489
|
+
"class",
|
|
490
|
+
"title",
|
|
491
|
+
"tag",
|
|
492
|
+
"description"
|
|
493
|
+
]);
|
|
494
|
+
};
|
|
495
|
+
}
|
|
496
|
+
});
|
|
497
|
+
var ViewItem_vue_vue_type_style_index_0_lang_module_default = { view: "_view_6bjau_123" };
|
|
498
|
+
var ViewItem_default = /* @__PURE__ */ __plugin_vue_export_helper_default(ViewItem_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": ViewItem_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
499
|
+
var LinkItem_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
500
|
+
__name: "LinkItem",
|
|
501
|
+
props: { link: {} },
|
|
502
|
+
setup(__props) {
|
|
503
|
+
return (_ctx, _cache) => {
|
|
504
|
+
return openBlock(), createBlock(unref(N8nNodeCreatorNode_default), {
|
|
505
|
+
class: normalizeClass(_ctx.$style.creatorLink),
|
|
506
|
+
title: __props.link.title,
|
|
507
|
+
"is-trigger": false,
|
|
508
|
+
description: __props.link.description,
|
|
509
|
+
tag: __props.link.tag,
|
|
510
|
+
"show-action-arrow": true
|
|
511
|
+
}, {
|
|
512
|
+
icon: withCtx(() => [createVNode(unref(N8nNodeIcon_default), {
|
|
513
|
+
type: "icon",
|
|
514
|
+
name: __props.link.icon,
|
|
515
|
+
circle: false,
|
|
516
|
+
"show-tooltip": false
|
|
517
|
+
}, null, 8, ["name"])]),
|
|
518
|
+
_: 1
|
|
519
|
+
}, 8, [
|
|
520
|
+
"class",
|
|
521
|
+
"title",
|
|
522
|
+
"description",
|
|
523
|
+
"tag"
|
|
524
|
+
]);
|
|
525
|
+
};
|
|
526
|
+
}
|
|
527
|
+
});
|
|
528
|
+
var LinkItem_vue_vue_type_style_index_0_lang_module_default = { creatorLink: "_creatorLink_g3v4r_123" };
|
|
529
|
+
var LinkItem_default = /* @__PURE__ */ __plugin_vue_export_helper_default(LinkItem_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": LinkItem_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
530
|
+
var CommunityNodeInstallHint_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
531
|
+
__name: "CommunityNodeInstallHint",
|
|
532
|
+
props: { hint: {} },
|
|
533
|
+
setup(__props) {
|
|
534
|
+
const isOwner = computed(() => useUsersStore().isInstanceOwner);
|
|
535
|
+
return (_ctx, _cache) => {
|
|
536
|
+
return isOwner.value ? (openBlock(), createElementBlock("div", {
|
|
537
|
+
key: 0,
|
|
538
|
+
class: normalizeClass(_ctx.$style.container)
|
|
539
|
+
}, [createVNode(unref(N8nIcon_default), {
|
|
540
|
+
color: "text-light",
|
|
541
|
+
icon: "info",
|
|
542
|
+
size: "large"
|
|
543
|
+
}), createVNode(unref(N8nText_default), {
|
|
544
|
+
color: "text-base",
|
|
545
|
+
size: "medium"
|
|
546
|
+
}, {
|
|
547
|
+
default: withCtx(() => [createTextVNode(toDisplayString(__props.hint), 1)]),
|
|
548
|
+
_: 1
|
|
549
|
+
})], 2)) : createCommentVNode("", true);
|
|
550
|
+
};
|
|
551
|
+
}
|
|
552
|
+
});
|
|
553
|
+
var CommunityNodeInstallHint_vue_vue_type_style_index_0_lang_module_default = { container: "_container_ikrhv_123" };
|
|
554
|
+
var CommunityNodeInstallHint_default = /* @__PURE__ */ __plugin_vue_export_helper_default(CommunityNodeInstallHint_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": CommunityNodeInstallHint_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
555
|
+
var CommunityNodeItem_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
556
|
+
__name: "CommunityNodeItem",
|
|
557
|
+
props: { isPreview: { type: Boolean } },
|
|
558
|
+
setup(__props) {
|
|
559
|
+
const i18n$1 = useI18n();
|
|
560
|
+
return (_ctx, _cache) => {
|
|
561
|
+
return openBlock(), createElementBlock("div", null, [__props.isPreview ? (openBlock(), createBlock(CommunityNodeInstallHint_default, {
|
|
562
|
+
key: 0,
|
|
563
|
+
hint: unref(i18n$1).baseText("communityNodeItem.node.hint")
|
|
564
|
+
}, null, 8, ["hint"])) : (openBlock(), createElementBlock("div", {
|
|
565
|
+
key: 1,
|
|
566
|
+
class: normalizeClass(_ctx.$style.marginLeft)
|
|
567
|
+
}, [createVNode(unref(N8nButton_default), {
|
|
568
|
+
size: "medium",
|
|
569
|
+
type: "secondary",
|
|
570
|
+
icon: "plus",
|
|
571
|
+
label: unref(i18n$1).baseText("communityNodeItem.label"),
|
|
572
|
+
outline: ""
|
|
573
|
+
}, null, 8, ["label"])], 2))]);
|
|
574
|
+
};
|
|
575
|
+
}
|
|
576
|
+
});
|
|
577
|
+
var CommunityNodeItem_vue_vue_type_style_index_0_lang_module_default = { marginLeft: "_marginLeft_1q8y4_123" };
|
|
578
|
+
var CommunityNodeItem_default = /* @__PURE__ */ __plugin_vue_export_helper_default(CommunityNodeItem_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": CommunityNodeItem_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
579
|
+
var _hoisted_1$7 = ["textContent"];
|
|
580
|
+
var CategoryItem_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
581
|
+
__name: "CategoryItem",
|
|
582
|
+
props: {
|
|
583
|
+
expanded: {
|
|
584
|
+
type: Boolean,
|
|
585
|
+
default: true
|
|
586
|
+
},
|
|
587
|
+
active: { type: Boolean },
|
|
588
|
+
count: {},
|
|
589
|
+
name: {},
|
|
590
|
+
isTrigger: { type: Boolean }
|
|
591
|
+
},
|
|
592
|
+
setup(__props) {
|
|
593
|
+
const props = __props;
|
|
594
|
+
const categoryName = computed(() => {
|
|
595
|
+
const itemsCount = props.count || 0;
|
|
596
|
+
return itemsCount > 0 ? `${props.name} (${itemsCount})` : props.name;
|
|
597
|
+
});
|
|
598
|
+
return (_ctx, _cache) => {
|
|
599
|
+
return openBlock(), createElementBlock("div", mergeProps({ class: _ctx.$style.categoryWrapper }, _ctx.$attrs, {
|
|
600
|
+
"data-keyboard-nav": "true",
|
|
601
|
+
"data-test-id": "node-creator-category-item"
|
|
602
|
+
}), [createBaseVNode("div", { class: normalizeClass({
|
|
603
|
+
[_ctx.$style.category]: true,
|
|
604
|
+
[_ctx.$style.active]: __props.active
|
|
605
|
+
}) }, [createBaseVNode("span", { class: normalizeClass(_ctx.$style.name) }, [
|
|
606
|
+
createBaseVNode("span", { textContent: toDisplayString(categoryName.value) }, null, 8, _hoisted_1$7),
|
|
607
|
+
__props.isTrigger ? (openBlock(), createBlock(unref(N8nIcon_default), {
|
|
608
|
+
key: 0,
|
|
609
|
+
icon: "bolt-filled",
|
|
610
|
+
size: "xsmall",
|
|
611
|
+
class: normalizeClass(_ctx.$style.triggerIcon)
|
|
612
|
+
}, null, 8, ["class"])) : createCommentVNode("", true),
|
|
613
|
+
renderSlot(_ctx.$slots, "default")
|
|
614
|
+
], 2), __props.expanded ? (openBlock(), createBlock(unref(N8nIcon_default), {
|
|
615
|
+
key: 0,
|
|
616
|
+
icon: "chevron-down",
|
|
617
|
+
color: "text-light",
|
|
618
|
+
size: "large"
|
|
619
|
+
})) : (openBlock(), createBlock(unref(N8nIcon_default), {
|
|
620
|
+
key: 1,
|
|
621
|
+
icon: "chevron-up",
|
|
622
|
+
color: "text-light",
|
|
623
|
+
size: "large"
|
|
624
|
+
}))], 2)], 16);
|
|
625
|
+
};
|
|
626
|
+
}
|
|
627
|
+
});
|
|
628
|
+
var CategoryItem_vue_vue_type_style_index_0_lang_module_default = {
|
|
629
|
+
triggerIcon: "_triggerIcon_2nqmq_123",
|
|
630
|
+
category: "_category_2nqmq_128",
|
|
631
|
+
active: "_active_2nqmq_149",
|
|
632
|
+
name: "_name_2nqmq_153"
|
|
633
|
+
};
|
|
634
|
+
var CategoryItem_default = /* @__PURE__ */ __plugin_vue_export_helper_default(CategoryItem_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": CategoryItem_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
635
|
+
var _hoisted_1$6 = ["data-category-collapsed"];
|
|
636
|
+
var CategorizedItemsRenderer_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
637
|
+
__name: "CategorizedItemsRenderer",
|
|
638
|
+
props: {
|
|
639
|
+
elements: { default: () => [] },
|
|
640
|
+
category: {},
|
|
641
|
+
disabled: { type: Boolean },
|
|
642
|
+
activeIndex: {},
|
|
643
|
+
isTriggerCategory: { type: Boolean },
|
|
644
|
+
mouseOverTooltip: {},
|
|
645
|
+
expanded: { type: Boolean }
|
|
646
|
+
},
|
|
647
|
+
setup(__props) {
|
|
648
|
+
const props = __props;
|
|
649
|
+
const { popViewStack, activeViewStack } = useViewStacks();
|
|
650
|
+
const { registerKeyHook } = useKeyboardNavigation();
|
|
651
|
+
const { workflowId } = useWorkflowsStore();
|
|
652
|
+
const nodeCreatorStore = useNodeCreatorStore();
|
|
653
|
+
const i18n$1 = useI18n();
|
|
654
|
+
const activeItemId = computed(() => useKeyboardNavigation()?.activeItemId);
|
|
655
|
+
const actionCount = computed(() => props.elements.filter(({ type }) => type === "action").length);
|
|
656
|
+
const expanded = ref(props.expanded ?? false);
|
|
657
|
+
const isPreview = computed(() => activeViewStack.communityNodeDetails && !activeViewStack.communityNodeDetails.installed);
|
|
658
|
+
function toggleExpanded() {
|
|
659
|
+
setExpanded(!expanded.value);
|
|
660
|
+
}
|
|
661
|
+
function setExpanded(isExpanded) {
|
|
662
|
+
const prev = expanded.value;
|
|
663
|
+
expanded.value = isExpanded;
|
|
664
|
+
if (expanded.value && !prev) nodeCreatorStore.onCategoryExpanded({
|
|
665
|
+
category_name: props.category,
|
|
666
|
+
workflow_id: workflowId
|
|
667
|
+
});
|
|
668
|
+
}
|
|
669
|
+
function arrowRight() {
|
|
670
|
+
if (expanded.value) return;
|
|
671
|
+
setExpanded(true);
|
|
672
|
+
}
|
|
673
|
+
function arrowLeft() {
|
|
674
|
+
if (!expanded.value) {
|
|
675
|
+
popViewStack();
|
|
676
|
+
return;
|
|
677
|
+
}
|
|
678
|
+
setExpanded(false);
|
|
679
|
+
}
|
|
680
|
+
watch(() => props.elements, () => {
|
|
681
|
+
setExpanded(true);
|
|
682
|
+
});
|
|
683
|
+
registerKeyHook(`CategoryRight_${props.category}`, {
|
|
684
|
+
keyboardKeys: ["ArrowRight"],
|
|
685
|
+
condition: (type, activeItemId$1) => type === "category" && props.category === activeItemId$1,
|
|
686
|
+
handler: arrowRight
|
|
687
|
+
});
|
|
688
|
+
registerKeyHook(`CategoryToggle_${props.category}`, {
|
|
689
|
+
keyboardKeys: ["Enter"],
|
|
690
|
+
condition: (type, activeItemId$1) => type === "category" && props.category === activeItemId$1,
|
|
691
|
+
handler: toggleExpanded
|
|
692
|
+
});
|
|
693
|
+
registerKeyHook(`CategoryLeft_${props.category}`, {
|
|
694
|
+
keyboardKeys: ["ArrowLeft"],
|
|
695
|
+
condition: (type, activeItemId$1) => type === "category" && props.category === activeItemId$1,
|
|
696
|
+
handler: arrowLeft
|
|
697
|
+
});
|
|
698
|
+
return (_ctx, _cache) => {
|
|
699
|
+
const _directive_n8n_html = resolveDirective("n8n-html");
|
|
700
|
+
return openBlock(), createElementBlock("div", {
|
|
701
|
+
class: normalizeClass(_ctx.$style.categorizedItemsRenderer),
|
|
702
|
+
"data-category-collapsed": !expanded.value
|
|
703
|
+
}, [
|
|
704
|
+
createVNode(CategoryItem_default, {
|
|
705
|
+
class: normalizeClass(_ctx.$style.categoryItem),
|
|
706
|
+
name: __props.category,
|
|
707
|
+
disabled: __props.disabled,
|
|
708
|
+
active: activeItemId.value === __props.category,
|
|
709
|
+
count: actionCount.value,
|
|
710
|
+
expanded: expanded.value,
|
|
711
|
+
"is-trigger": __props.isTriggerCategory,
|
|
712
|
+
"data-keyboard-nav-type": "category",
|
|
713
|
+
"data-keyboard-nav-id": __props.category,
|
|
714
|
+
onClick: toggleExpanded
|
|
715
|
+
}, {
|
|
716
|
+
default: withCtx(() => [__props.mouseOverTooltip ? (openBlock(), createElementBlock("span", {
|
|
717
|
+
key: 0,
|
|
718
|
+
class: normalizeClass(_ctx.$style.mouseOverTooltip)
|
|
719
|
+
}, [createVNode(unref(N8nTooltip_default), {
|
|
720
|
+
placement: "top",
|
|
721
|
+
"popper-class": _ctx.$style.tooltipPopper
|
|
722
|
+
}, {
|
|
723
|
+
content: withCtx(() => [withDirectives(createBaseVNode("div", null, null, 512), [[_directive_n8n_html, __props.mouseOverTooltip]])]),
|
|
724
|
+
default: withCtx(() => [createVNode(unref(N8nIcon_default), {
|
|
725
|
+
icon: "circle-help",
|
|
726
|
+
size: "small"
|
|
727
|
+
})]),
|
|
728
|
+
_: 1
|
|
729
|
+
}, 8, ["popper-class"])], 2)) : createCommentVNode("", true)]),
|
|
730
|
+
_: 1
|
|
731
|
+
}, 8, [
|
|
732
|
+
"class",
|
|
733
|
+
"name",
|
|
734
|
+
"disabled",
|
|
735
|
+
"active",
|
|
736
|
+
"count",
|
|
737
|
+
"expanded",
|
|
738
|
+
"is-trigger",
|
|
739
|
+
"data-keyboard-nav-id"
|
|
740
|
+
]),
|
|
741
|
+
expanded.value && actionCount.value > 0 && _ctx.$slots.default ? (openBlock(), createElementBlock("div", {
|
|
742
|
+
key: 0,
|
|
743
|
+
class: normalizeClass(_ctx.$style.contentSlot)
|
|
744
|
+
}, [renderSlot(_ctx.$slots, "default")], 2)) : createCommentVNode("", true),
|
|
745
|
+
isPreview.value && expanded.value ? (openBlock(), createBlock(CommunityNodeInstallHint_default, {
|
|
746
|
+
key: 1,
|
|
747
|
+
hint: unref(i18n$1).baseText("communityNodeItem.actions.hint")
|
|
748
|
+
}, null, 8, ["hint"])) : createCommentVNode("", true),
|
|
749
|
+
expanded.value ? (openBlock(), createBlock(ItemsRenderer_default, mergeProps({ key: 2 }, _ctx.$attrs, {
|
|
750
|
+
elements: __props.elements,
|
|
751
|
+
"is-trigger": __props.isTriggerCategory,
|
|
752
|
+
class: [{ [_ctx.$style.preview]: isPreview.value }]
|
|
753
|
+
}), {
|
|
754
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [])]),
|
|
755
|
+
empty: withCtx(() => [renderSlot(_ctx.$slots, "empty", normalizeProps(guardReactiveProps({ elements: __props.elements })))]),
|
|
756
|
+
_: 3
|
|
757
|
+
}, 16, [
|
|
758
|
+
"elements",
|
|
759
|
+
"is-trigger",
|
|
760
|
+
"class"
|
|
761
|
+
])) : createCommentVNode("", true)
|
|
762
|
+
], 10, _hoisted_1$6);
|
|
763
|
+
};
|
|
764
|
+
}
|
|
765
|
+
});
|
|
766
|
+
var CategorizedItemsRenderer_vue_vue_type_style_index_0_lang_module_default = {
|
|
767
|
+
mouseOverTooltip: "_mouseOverTooltip_1c8sx_123",
|
|
768
|
+
categorizedItemsRenderer: "_categorizedItemsRenderer_1c8sx_131",
|
|
769
|
+
tooltipPopper: "_tooltipPopper_1c8sx_135",
|
|
770
|
+
contentSlot: "_contentSlot_1c8sx_139",
|
|
771
|
+
preview: "_preview_1c8sx_148"
|
|
772
|
+
};
|
|
773
|
+
var CategorizedItemsRenderer_default = /* @__PURE__ */ __plugin_vue_export_helper_default(CategorizedItemsRenderer_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": CategorizedItemsRenderer_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
774
|
+
var OpenTemplateItem_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
775
|
+
__name: "OpenTemplateItem",
|
|
776
|
+
props: { openTemplate: {} },
|
|
777
|
+
setup(__props) {
|
|
778
|
+
return (_ctx, _cache) => {
|
|
779
|
+
return openBlock(), createBlock(unref(N8nNodeCreatorNode_default), {
|
|
780
|
+
class: normalizeClass({
|
|
781
|
+
[_ctx.$style.creatorOpenTemplate]: true,
|
|
782
|
+
[_ctx.$style.compact]: __props.openTemplate.compact
|
|
783
|
+
}),
|
|
784
|
+
title: __props.openTemplate.title,
|
|
785
|
+
description: __props.openTemplate.description,
|
|
786
|
+
tag: __props.openTemplate.tag,
|
|
787
|
+
"show-action-arrow": true,
|
|
788
|
+
"is-trigger": false
|
|
789
|
+
}, createSlots({ _: 2 }, [__props.openTemplate.icon ? {
|
|
790
|
+
name: "icon",
|
|
791
|
+
fn: withCtx(() => [createVNode(unref(N8nNodeIcon_default), {
|
|
792
|
+
type: "icon",
|
|
793
|
+
name: __props.openTemplate.icon,
|
|
794
|
+
circle: false,
|
|
795
|
+
"show-tooltip": false
|
|
796
|
+
}, null, 8, ["name"])]),
|
|
797
|
+
key: "0"
|
|
798
|
+
} : void 0, __props.openTemplate.nodes ? {
|
|
799
|
+
name: "extraDetails",
|
|
800
|
+
fn: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.openTemplate.nodes, (node) => {
|
|
801
|
+
return openBlock(), createBlock(NodeIcon_default, {
|
|
802
|
+
key: node.name,
|
|
803
|
+
"node-type": node,
|
|
804
|
+
size: 16,
|
|
805
|
+
"show-tooltip": true
|
|
806
|
+
}, null, 8, ["node-type"]);
|
|
807
|
+
}), 128))]),
|
|
808
|
+
key: "1"
|
|
809
|
+
} : void 0]), 1032, [
|
|
810
|
+
"class",
|
|
811
|
+
"title",
|
|
812
|
+
"description",
|
|
813
|
+
"tag"
|
|
814
|
+
]);
|
|
815
|
+
};
|
|
816
|
+
}
|
|
817
|
+
});
|
|
818
|
+
var OpenTemplateItem_vue_vue_type_style_index_0_lang_module_default = {
|
|
819
|
+
creatorOpenTemplate: "_creatorOpenTemplate_tyk6y_123",
|
|
820
|
+
compact: "_compact_tyk6y_131"
|
|
821
|
+
};
|
|
822
|
+
var OpenTemplateItem_default = /* @__PURE__ */ __plugin_vue_export_helper_default(OpenTemplateItem_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": OpenTemplateItem_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
823
|
+
var _hoisted_1$5 = { key: 0 };
|
|
824
|
+
var _hoisted_2$3 = [
|
|
825
|
+
"data-keyboard-nav-type",
|
|
826
|
+
"data-keyboard-nav-id",
|
|
827
|
+
"onClick"
|
|
828
|
+
];
|
|
829
|
+
var LAZY_LOAD_THRESHOLD = 20;
|
|
830
|
+
var LAZY_LOAD_ITEMS_PER_TICK = 5;
|
|
831
|
+
var ItemsRenderer_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
832
|
+
__name: "ItemsRenderer",
|
|
833
|
+
props: {
|
|
834
|
+
elements: { default: () => [] },
|
|
835
|
+
activeIndex: {},
|
|
836
|
+
disabled: { type: Boolean },
|
|
837
|
+
lazyRender: {
|
|
838
|
+
type: Boolean,
|
|
839
|
+
default: true
|
|
840
|
+
}
|
|
841
|
+
},
|
|
842
|
+
emits: [
|
|
843
|
+
"selected",
|
|
844
|
+
"dragstart",
|
|
845
|
+
"dragend"
|
|
846
|
+
],
|
|
847
|
+
setup(__props, { emit: __emit }) {
|
|
848
|
+
const props = __props;
|
|
849
|
+
const emit = __emit;
|
|
850
|
+
const renderedItems$1 = ref([]);
|
|
851
|
+
const renderAnimationRequest = ref(0);
|
|
852
|
+
const { activeViewStack } = useViewStacks();
|
|
853
|
+
const activeItemId = computed(() => useKeyboardNavigation()?.activeItemId);
|
|
854
|
+
const communityNode = computed(() => activeViewStack.mode === "community-node");
|
|
855
|
+
const isPreview = computed(() => {
|
|
856
|
+
return communityNode.value && !activeViewStack.communityNodeDetails?.installed;
|
|
857
|
+
});
|
|
858
|
+
const highlightActiveItem = computed(() => {
|
|
859
|
+
if (activeViewStack.communityNodeDetails && !activeViewStack.communityNodeDetails.installed) return false;
|
|
860
|
+
return true;
|
|
861
|
+
});
|
|
862
|
+
function renderItems() {
|
|
863
|
+
if (props.elements.length <= LAZY_LOAD_THRESHOLD || !props.lazyRender) {
|
|
864
|
+
renderedItems$1.value = props.elements;
|
|
865
|
+
return;
|
|
866
|
+
}
|
|
867
|
+
if (renderedItems$1.value.length < props.elements.length) {
|
|
868
|
+
renderedItems$1.value.push(...props.elements.slice(renderedItems$1.value.length, renderedItems$1.value.length + LAZY_LOAD_ITEMS_PER_TICK));
|
|
869
|
+
renderAnimationRequest.value = window.requestAnimationFrame(renderItems);
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
function wrappedEmit(event, element, $e) {
|
|
873
|
+
if (props.disabled) return;
|
|
874
|
+
switch (event) {
|
|
875
|
+
case "dragstart": if ($e) {
|
|
876
|
+
emit("dragstart", element, $e);
|
|
877
|
+
break;
|
|
878
|
+
}
|
|
879
|
+
case "dragend": if ($e) {
|
|
880
|
+
emit("dragend", element, $e);
|
|
881
|
+
break;
|
|
882
|
+
}
|
|
883
|
+
case "selected":
|
|
884
|
+
emit("selected", element, $e);
|
|
885
|
+
break;
|
|
886
|
+
default: emit(event, element, $e);
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
function beforeEnter(el) {
|
|
890
|
+
el.style.height = "0";
|
|
891
|
+
}
|
|
892
|
+
function enter(el) {
|
|
893
|
+
el.style.height = `${el.scrollHeight}px`;
|
|
894
|
+
}
|
|
895
|
+
function beforeLeave(el) {
|
|
896
|
+
el.style.height = `${el.scrollHeight}px`;
|
|
897
|
+
}
|
|
898
|
+
function leave(el) {
|
|
899
|
+
el.style.height = "0";
|
|
900
|
+
}
|
|
901
|
+
onMounted(() => {
|
|
902
|
+
renderItems();
|
|
903
|
+
});
|
|
904
|
+
onUnmounted(() => {
|
|
905
|
+
window.cancelAnimationFrame(renderAnimationRequest.value);
|
|
906
|
+
renderedItems$1.value = [];
|
|
907
|
+
});
|
|
908
|
+
watch(() => props.elements, () => {
|
|
909
|
+
window.cancelAnimationFrame(renderAnimationRequest.value);
|
|
910
|
+
renderedItems$1.value = [];
|
|
911
|
+
renderItems();
|
|
912
|
+
});
|
|
913
|
+
return (_ctx, _cache) => {
|
|
914
|
+
return __props.elements.length > 0 ? (openBlock(), createElementBlock("div", {
|
|
915
|
+
key: 0,
|
|
916
|
+
class: normalizeClass(_ctx.$style.itemsRenderer),
|
|
917
|
+
name: "accordion",
|
|
918
|
+
onBeforeEnter: beforeEnter,
|
|
919
|
+
onEnter: enter,
|
|
920
|
+
onBeforeLeave: beforeLeave,
|
|
921
|
+
onLeave: leave
|
|
922
|
+
}, [renderSlot(_ctx.$slots, "default"), (openBlock(true), createElementBlock(Fragment, null, renderList(__props.elements, (item) => {
|
|
923
|
+
return openBlock(), createElementBlock("div", { key: item.uuid }, [renderedItems$1.value.includes(item) ? (openBlock(), createElementBlock("div", _hoisted_1$5, [item.type === "section" ? (openBlock(), createBlock(CategorizedItemsRenderer_default, {
|
|
924
|
+
key: 0,
|
|
925
|
+
elements: item.children,
|
|
926
|
+
expanded: "",
|
|
927
|
+
category: item.title,
|
|
928
|
+
onSelected: _cache[0] || (_cache[0] = (child) => wrappedEmit("selected", child))
|
|
929
|
+
}, null, 8, ["elements", "category"])) : (openBlock(), createElementBlock("div", {
|
|
930
|
+
key: 1,
|
|
931
|
+
ref_for: true,
|
|
932
|
+
ref: "iteratorItems",
|
|
933
|
+
class: normalizeClass({
|
|
934
|
+
clickable: !__props.disabled,
|
|
935
|
+
[_ctx.$style.active]: activeItemId.value === item.uuid && highlightActiveItem.value,
|
|
936
|
+
[_ctx.$style.iteratorItem]: !communityNode.value,
|
|
937
|
+
[_ctx.$style[item.type]]: true,
|
|
938
|
+
[_ctx.$style.preview]: isPreview.value,
|
|
939
|
+
[_ctx.$style.borderless]: item.type === "view" && item.properties.borderless === true
|
|
940
|
+
}),
|
|
941
|
+
"data-test-id": "item-iterator-item",
|
|
942
|
+
"data-keyboard-nav-type": item.type !== "label" ? item.type : void 0,
|
|
943
|
+
"data-keyboard-nav-id": item.uuid,
|
|
944
|
+
onClick: ($event) => wrappedEmit("selected", item)
|
|
945
|
+
}, [
|
|
946
|
+
item.type === "label" ? (openBlock(), createBlock(LabelItem_default, {
|
|
947
|
+
key: 0,
|
|
948
|
+
item
|
|
949
|
+
}, null, 8, ["item"])) : createCommentVNode("", true),
|
|
950
|
+
item.type === "subcategory" ? (openBlock(), createBlock(SubcategoryItem_default, {
|
|
951
|
+
key: 1,
|
|
952
|
+
item: item.properties
|
|
953
|
+
}, null, 8, ["item"])) : createCommentVNode("", true),
|
|
954
|
+
communityNode.value ? (openBlock(), createBlock(CommunityNodeItem_default, {
|
|
955
|
+
key: 2,
|
|
956
|
+
"is-preview": isPreview.value
|
|
957
|
+
}, null, 8, ["is-preview"])) : createCommentVNode("", true),
|
|
958
|
+
item.type === "node" && !communityNode.value ? (openBlock(), createBlock(NodeItem_default, {
|
|
959
|
+
key: 3,
|
|
960
|
+
"node-type": item.properties,
|
|
961
|
+
active: true,
|
|
962
|
+
subcategory: item.subcategory
|
|
963
|
+
}, null, 8, ["node-type", "subcategory"])) : createCommentVNode("", true),
|
|
964
|
+
item.type === "action" ? (openBlock(), createBlock(ActionItem_default, {
|
|
965
|
+
key: 4,
|
|
966
|
+
"node-type": item.properties,
|
|
967
|
+
action: item.properties,
|
|
968
|
+
active: true
|
|
969
|
+
}, null, 8, ["node-type", "action"])) : item.type === "view" ? (openBlock(), createBlock(ViewItem_default, {
|
|
970
|
+
key: 5,
|
|
971
|
+
view: item.properties,
|
|
972
|
+
class: normalizeClass(_ctx.$style.viewItem)
|
|
973
|
+
}, null, 8, ["view", "class"])) : item.type === "link" ? (openBlock(), createBlock(LinkItem_default, {
|
|
974
|
+
key: 6,
|
|
975
|
+
link: item.properties,
|
|
976
|
+
class: normalizeClass(_ctx.$style.linkItem)
|
|
977
|
+
}, null, 8, ["link", "class"])) : item.type === "openTemplate" ? (openBlock(), createBlock(OpenTemplateItem_default, {
|
|
978
|
+
key: 7,
|
|
979
|
+
"open-template": item.properties,
|
|
980
|
+
class: normalizeClass(_ctx.$style.linkItem)
|
|
981
|
+
}, null, 8, ["open-template", "class"])) : createCommentVNode("", true)
|
|
982
|
+
], 10, _hoisted_2$3))])) : (openBlock(), createBlock(unref(N8nLoading_default), {
|
|
983
|
+
key: 1,
|
|
984
|
+
loading: true,
|
|
985
|
+
rows: 1,
|
|
986
|
+
variant: "p",
|
|
987
|
+
class: normalizeClass(_ctx.$style.itemSkeleton)
|
|
988
|
+
}, null, 8, ["class"]))]);
|
|
989
|
+
}), 128))], 34)) : (openBlock(), createElementBlock("div", {
|
|
990
|
+
key: 1,
|
|
991
|
+
class: normalizeClass(_ctx.$style.empty)
|
|
992
|
+
}, [renderSlot(_ctx.$slots, "empty")], 2));
|
|
993
|
+
};
|
|
994
|
+
}
|
|
995
|
+
});
|
|
996
|
+
var ItemsRenderer_vue_vue_type_style_index_0_lang_module_default = {
|
|
997
|
+
itemSkeleton: "_itemSkeleton_1ehs8_123",
|
|
998
|
+
iteratorItem: "_iteratorItem_1ehs8_127",
|
|
999
|
+
label: "_label_1ehs8_139",
|
|
1000
|
+
category: "_category_1ehs8_139",
|
|
1001
|
+
active: "_active_1ehs8_142",
|
|
1002
|
+
empty: "_empty_1ehs8_146",
|
|
1003
|
+
itemsRenderer: "_itemsRenderer_1ehs8_150",
|
|
1004
|
+
view: "_view_1ehs8_159",
|
|
1005
|
+
link: "_link_1ehs8_177",
|
|
1006
|
+
borderless: "_borderless_1ehs8_195",
|
|
1007
|
+
preview: "_preview_1ehs8_205"
|
|
1008
|
+
};
|
|
1009
|
+
var ItemsRenderer_default = /* @__PURE__ */ __plugin_vue_export_helper_default(ItemsRenderer_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": ItemsRenderer_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
109
1010
|
var OrderSwitcher_default = /* @__PURE__ */ defineComponent({
|
|
110
1011
|
__name: "OrderSwitcher",
|
|
111
1012
|
props: { rootView: {} },
|
|
112
1013
|
setup(__props) {
|
|
113
1014
|
return (_ctx, _cache) => {
|
|
114
|
-
return openBlock(), createElementBlock("div", null, [
|
|
1015
|
+
return openBlock(), createElementBlock("div", null, [__props.rootView === unref("Regular") ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [renderSlot(_ctx.$slots, "actions"), renderSlot(_ctx.$slots, "triggers")], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [renderSlot(_ctx.$slots, "triggers"), renderSlot(_ctx.$slots, "actions")], 64))]);
|
|
115
1016
|
};
|
|
116
1017
|
}
|
|
117
1018
|
});
|
|
@@ -121,10 +1022,10 @@ var _hoisted_1$4 = {
|
|
|
121
1022
|
height: "1.2em"
|
|
122
1023
|
};
|
|
123
1024
|
function render(_ctx, _cache) {
|
|
124
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$4, _cache[0] || (_cache[0] = [createBaseVNode("path", {
|
|
1025
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$4, [..._cache[0] || (_cache[0] = [createBaseVNode("path", {
|
|
125
1026
|
fill: "currentColor",
|
|
126
1027
|
d: "m466.5 83.7l-192-80a48.15 48.15 0 0 0-36.9 0l-192 80C27.7 91.1 16 108.6 16 128c0 198.5 114.5 335.7 221.5 380.3c11.8 4.9 25.1 4.9 36.9 0C360.1 472.6 496 349.3 496 128c0-19.4-11.7-36.9-29.5-44.3M256.1 446.3l-.1-381l175.9 73.3c-3.3 151.4-82.1 261.1-175.8 307.7"
|
|
127
|
-
}, null, -1)]));
|
|
1028
|
+
}, null, -1)])]);
|
|
128
1029
|
}
|
|
129
1030
|
var shield_alt_default = {
|
|
130
1031
|
name: "fa-solid-shield-alt",
|
|
@@ -140,7 +1041,7 @@ var CommunityNodeInfo_vue_vue_type_script_setup_true_lang_default = /* @__PURE__
|
|
|
140
1041
|
const publisherName = ref(void 0);
|
|
141
1042
|
const downloads = ref(null);
|
|
142
1043
|
const verified = ref(false);
|
|
143
|
-
const official = ref(false);
|
|
1044
|
+
const official$1 = ref(false);
|
|
144
1045
|
const { installedPackage, initInstalledPackage, isUpdateCheckAvailable } = useInstalledCommunityPackage(computed(() => communityNodeDetails?.packageName));
|
|
145
1046
|
const nodeTypesStore = useNodeTypesStore();
|
|
146
1047
|
const isOwner = computed(() => useUsersStore().isInstanceOwner);
|
|
@@ -155,7 +1056,7 @@ var CommunityNodeInfo_vue_vue_type_script_setup_true_lang_default = /* @__PURE__
|
|
|
155
1056
|
if (communityNodeAttributes) {
|
|
156
1057
|
publisherName.value = communityNodeAttributes.companyName ?? communityNodeAttributes.authorName;
|
|
157
1058
|
downloads.value = formatNumber(communityNodeAttributes.numberOfDownloads);
|
|
158
|
-
official.value = communityNodeAttributes.isOfficialNode;
|
|
1059
|
+
official$1.value = communityNodeAttributes.isOfficialNode;
|
|
159
1060
|
if (!packageInfo) verified.value = true;
|
|
160
1061
|
else verified.value = (communityNodeAttributes.nodeVersions?.map((v) => v.npmVersion) ?? []).includes(packageInfo.installedVersion);
|
|
161
1062
|
return;
|
|
@@ -208,7 +1109,7 @@ var CommunityNodeInfo_vue_vue_type_script_setup_true_lang_default = /* @__PURE__
|
|
|
208
1109
|
key: 0,
|
|
209
1110
|
placement: "top"
|
|
210
1111
|
}, {
|
|
211
|
-
content: withCtx(() => [createTextVNode(toDisplayString(official.value ? unref(i18n).baseText("communityNodeInfo.officialApproved") : unref(i18n).baseText("communityNodeInfo.approved")), 1)]),
|
|
1112
|
+
content: withCtx(() => [createTextVNode(toDisplayString(official$1.value ? unref(i18n).baseText("communityNodeInfo.officialApproved") : unref(i18n).baseText("communityNodeInfo.approved")), 1)]),
|
|
212
1113
|
default: withCtx(() => [createBaseVNode("div", null, [createVNode(unref(shield_alt_default), { class: normalizeClass(_ctx.$style.tooltipIcon) }, null, 8, ["class"]), createVNode(unref(N8nText_default), {
|
|
213
1114
|
color: "text-light",
|
|
214
1115
|
size: "xsmall",
|
|
@@ -289,7 +1190,7 @@ var ActionsMode_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
|
|
|
289
1190
|
const { registerKeyHook } = useKeyboardNavigation();
|
|
290
1191
|
const { setAddedNodeActionParameters, getActionData, actionDataToNodeTypeSelectedPayload, getPlaceholderTriggerActions, parseCategoryActions, actionsCategoryLocales } = useActions();
|
|
291
1192
|
const nodeCreatorStore = useNodeCreatorStore();
|
|
292
|
-
const
|
|
1193
|
+
const { openSampleWorkflowTemplate } = useCalloutHelpers();
|
|
293
1194
|
const parsedTriggerActions = computed(() => parseActions(actions.value, actionsCategoryLocales.value.triggers, false));
|
|
294
1195
|
const parsedActionActions = computed(() => parseActions(actions.value, actionsCategoryLocales.value.actions, !search.value));
|
|
295
1196
|
const parsedTriggerActionsBaseline = computed(() => parseActions(useViewStacks().activeViewStack.baselineItems || [], actionsCategoryLocales.value.triggers, false));
|
|
@@ -335,7 +1236,7 @@ var ActionsMode_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
|
|
|
335
1236
|
if (activeAction) onSelected(activeAction);
|
|
336
1237
|
}
|
|
337
1238
|
function onSelected(actionCreateElement) {
|
|
338
|
-
if (actionCreateElement.type === "openTemplate")
|
|
1239
|
+
if (actionCreateElement.type === "openTemplate") openSampleWorkflowTemplate(actionCreateElement.properties.templateId, { telemetry: {
|
|
339
1240
|
source: "nodeCreator",
|
|
340
1241
|
section: useViewStacks().activeViewStack.title
|
|
341
1242
|
} });
|
|
@@ -351,10 +1252,10 @@ var ActionsMode_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
|
|
|
351
1252
|
}
|
|
352
1253
|
function trackActionsView() {
|
|
353
1254
|
const activeViewStack = useViewStacks().activeViewStack;
|
|
354
|
-
const trigger_action_count = (activeViewStack.baselineItems || [])?.filter((action$
|
|
1255
|
+
const trigger_action_count = (activeViewStack.baselineItems || [])?.filter((action$2) => action$2.key.toLowerCase().includes("trigger")).length;
|
|
355
1256
|
const trackingPayload = {
|
|
356
1257
|
app_identifier: [...actions.value, ...placeholderTriggerActions][0].key,
|
|
357
|
-
actions: (activeViewStack.baselineItems || [])?.map((action$
|
|
1258
|
+
actions: (activeViewStack.baselineItems || [])?.map((action$2) => action$2.properties.displayName),
|
|
358
1259
|
regular_action_count: (activeViewStack.baselineItems || [])?.length - trigger_action_count,
|
|
359
1260
|
trigger_action_count
|
|
360
1261
|
};
|
|
@@ -380,7 +1281,7 @@ var ActionsMode_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
|
|
|
380
1281
|
onMounted(() => {
|
|
381
1282
|
trackActionsView();
|
|
382
1283
|
});
|
|
383
|
-
const callouts = computed(() =>
|
|
1284
|
+
const callouts = computed(() => []);
|
|
384
1285
|
return (_ctx, _cache) => {
|
|
385
1286
|
const _directive_n8n_html = resolveDirective("n8n-html");
|
|
386
1287
|
return openBlock(), createElementBlock("div", { class: normalizeClass({
|
|
@@ -504,7 +1405,6 @@ var ActionsMode_vue_vue_type_style_index_0_lang_module_default = {
|
|
|
504
1405
|
apiHint: "_apiHint_12w99_159"
|
|
505
1406
|
};
|
|
506
1407
|
var ActionsMode_default = /* @__PURE__ */ __plugin_vue_export_helper_default(ActionsMode_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": ActionsMode_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
507
|
-
var import_camelCase = /* @__PURE__ */ __toESM(require_camelCase());
|
|
508
1408
|
var _sfc_main = {};
|
|
509
1409
|
var _hoisted_1$2 = {
|
|
510
1410
|
width: "75px",
|
|
@@ -515,7 +1415,7 @@ var _hoisted_1$2 = {
|
|
|
515
1415
|
"xmlns:xlink": "http://www.w3.org/1999/xlink"
|
|
516
1416
|
};
|
|
517
1417
|
function _sfc_render(_ctx, _cache) {
|
|
518
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$2, _cache[0] || (_cache[0] = [createStaticVNode("<title>no-nodes-keyart</title><g id=\"Nodes-panel-prototype-V2.1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g id=\"nodes-panel-(component)\" transform=\"translate(-2085.000000, -352.000000)\"><g id=\"nodes_panel\" transform=\"translate(1880.000000, 151.000000)\"><g id=\"Panel\" transform=\"translate(50.000000, 0.000000)\"><g id=\"Group-3\" transform=\"translate(105.000000, 171.000000)\"><g id=\"no-nodes-keyart\" transform=\"translate(50.000000, 30.000000)\"><rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"75\" height=\"75\"></rect><g id=\"Group\" transform=\"translate(6.562500, 8.164062)\" fill=\"#C4C8D1\" fill-rule=\"nonzero\"><polygon id=\"Rectangle\" transform=\"translate(49.192016, 45.302553) rotate(-45.000000) translate(-49.192016, -45.302553) \" points=\"44.5045606 32.0526802 53.8794707 32.0526802 53.8794707 58.5524261 44.5045606 58.5524261\"></polygon><path id=\"Path\" d=\"M48.125,23.0859375 C54.15625,23.0859375 59.0625,18.1796875 59.0625,12.1484375 C59.0625,10.3359375 58.5625,8.6484375 57.78125,7.1484375 L49.34375,15.5859375 L44.6875,10.9296875 L53.125,2.4921875 C51.625,1.7109375 49.9375,1.2109375 48.125,1.2109375 C42.09375,1.2109375 37.1875,6.1171875 37.1875,12.1484375 C37.1875,13.4296875 37.4375,14.6484375 37.84375,15.7734375 L32.0625,21.5546875 L26.5,15.9921875 L28.71875,13.7734375 L24.3125,9.3671875 L30.9375,2.7421875 C27.28125,-0.9140625 21.34375,-0.9140625 17.6875,2.7421875 L6.625,13.8046875 L11.03125,18.2109375 L2.21875,18.2109375 L1.38777878e-15,20.4296875 L11.0625,31.4921875 L13.28125,29.2734375 L13.28125,20.4296875 L17.6875,24.8359375 L19.90625,22.6171875 L25.46875,28.1796875 L2.3125,51.3359375 L8.9375,57.9609375 L44.5,22.4296875 C45.625,22.8359375 46.84375,23.0859375 48.125,23.0859375 Z\"></path></g></g></g></g></g></g></g>", 2)]));
|
|
1418
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$2, [..._cache[0] || (_cache[0] = [createStaticVNode("<title>no-nodes-keyart</title><g id=\"Nodes-panel-prototype-V2.1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g id=\"nodes-panel-(component)\" transform=\"translate(-2085.000000, -352.000000)\"><g id=\"nodes_panel\" transform=\"translate(1880.000000, 151.000000)\"><g id=\"Panel\" transform=\"translate(50.000000, 0.000000)\"><g id=\"Group-3\" transform=\"translate(105.000000, 171.000000)\"><g id=\"no-nodes-keyart\" transform=\"translate(50.000000, 30.000000)\"><rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"75\" height=\"75\"></rect><g id=\"Group\" transform=\"translate(6.562500, 8.164062)\" fill=\"#C4C8D1\" fill-rule=\"nonzero\"><polygon id=\"Rectangle\" transform=\"translate(49.192016, 45.302553) rotate(-45.000000) translate(-49.192016, -45.302553) \" points=\"44.5045606 32.0526802 53.8794707 32.0526802 53.8794707 58.5524261 44.5045606 58.5524261\"></polygon><path id=\"Path\" d=\"M48.125,23.0859375 C54.15625,23.0859375 59.0625,18.1796875 59.0625,12.1484375 C59.0625,10.3359375 58.5625,8.6484375 57.78125,7.1484375 L49.34375,15.5859375 L44.6875,10.9296875 L53.125,2.4921875 C51.625,1.7109375 49.9375,1.2109375 48.125,1.2109375 C42.09375,1.2109375 37.1875,6.1171875 37.1875,12.1484375 C37.1875,13.4296875 37.4375,14.6484375 37.84375,15.7734375 L32.0625,21.5546875 L26.5,15.9921875 L28.71875,13.7734375 L24.3125,9.3671875 L30.9375,2.7421875 C27.28125,-0.9140625 21.34375,-0.9140625 17.6875,2.7421875 L6.625,13.8046875 L11.03125,18.2109375 L2.21875,18.2109375 L1.38777878e-15,20.4296875 L11.0625,31.4921875 L13.28125,29.2734375 L13.28125,20.4296875 L17.6875,24.8359375 L19.90625,22.6171875 L25.46875,28.1796875 L2.3125,51.3359375 L8.9375,57.9609375 L44.5,22.4296875 C45.625,22.8359375 46.84375,23.0859375 48.125,23.0859375 Z\"></path></g></g></g></g></g></g></g>", 2)])]);
|
|
519
1419
|
}
|
|
520
1420
|
var NoResultsIcon_default = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render]]);
|
|
521
1421
|
var _hoisted_1$1 = ["textContent"];
|
|
@@ -533,30 +1433,30 @@ var NoResults_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defi
|
|
|
533
1433
|
return openBlock(), createElementBlock("div", {
|
|
534
1434
|
class: normalizeClass({
|
|
535
1435
|
[_ctx.$style.noResults]: true,
|
|
536
|
-
[_ctx.$style.iconless]: !
|
|
1436
|
+
[_ctx.$style.iconless]: !__props.showIcon
|
|
537
1437
|
}),
|
|
538
1438
|
"data-test-id": "node-creator-no-results"
|
|
539
1439
|
}, [
|
|
540
|
-
|
|
1440
|
+
__props.showIcon ? (openBlock(), createElementBlock("div", {
|
|
541
1441
|
key: 0,
|
|
542
1442
|
class: normalizeClass(_ctx.$style.icon)
|
|
543
1443
|
}, [createVNode(NoResultsIcon_default)], 2)) : createCommentVNode("", true),
|
|
544
1444
|
createBaseVNode("div", { class: normalizeClass(_ctx.$style.title) }, [
|
|
545
1445
|
renderSlot(_ctx.$slots, "title"),
|
|
546
1446
|
createBaseVNode("p", { textContent: toDisplayString(unref(i18n$1).baseText("nodeCreator.noResults.weDidntMakeThatYet")) }, null, 8, _hoisted_1$1),
|
|
547
|
-
|
|
1447
|
+
__props.rootView === unref("Regular") || __props.rootView === unref("Trigger") ? (openBlock(), createElementBlock("div", {
|
|
548
1448
|
key: 0,
|
|
549
1449
|
class: normalizeClass(_ctx.$style.action)
|
|
550
1450
|
}, [
|
|
551
1451
|
createTextVNode(toDisplayString(unref(i18n$1).baseText("nodeCreator.noResults.dontWorryYouCanProbablyDoItWithThe")) + " ", 1),
|
|
552
|
-
|
|
1452
|
+
__props.rootView === unref("Regular") ? (openBlock(), createBlock(unref(N8nLink_default), {
|
|
553
1453
|
key: 0,
|
|
554
1454
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("addHttpNode"))
|
|
555
1455
|
}, {
|
|
556
1456
|
default: withCtx(() => [createTextVNode(toDisplayString(unref(i18n$1).baseText("nodeCreator.noResults.httpRequest")), 1)]),
|
|
557
1457
|
_: 1
|
|
558
1458
|
})) : createCommentVNode("", true),
|
|
559
|
-
|
|
1459
|
+
__props.rootView === unref("Trigger") ? (openBlock(), createBlock(unref(N8nLink_default), {
|
|
560
1460
|
key: 1,
|
|
561
1461
|
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("addWebhookNode"))
|
|
562
1462
|
}, {
|
|
@@ -566,13 +1466,13 @@ var NoResults_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defi
|
|
|
566
1466
|
createTextVNode(" " + toDisplayString(unref(i18n$1).baseText("nodeCreator.noResults.node")), 1)
|
|
567
1467
|
], 2)) : createCommentVNode("", true)
|
|
568
1468
|
], 2),
|
|
569
|
-
|
|
1469
|
+
__props.showRequest ? (openBlock(), createElementBlock("div", {
|
|
570
1470
|
key: 1,
|
|
571
1471
|
class: normalizeClass(_ctx.$style.request)
|
|
572
1472
|
}, [createBaseVNode("p", { textContent: toDisplayString(unref(i18n$1).baseText("nodeCreator.noResults.wantUsToMakeItFaster")) }, null, 8, _hoisted_2$1), createBaseVNode("div", null, [createVNode(unref(N8nLink_default), { to: unref(REQUEST_NODE_FORM_URL) }, {
|
|
573
1473
|
default: withCtx(() => [
|
|
574
1474
|
createBaseVNode("span", null, toDisplayString(unref(i18n$1).baseText("nodeCreator.noResults.requestTheNode")), 1),
|
|
575
|
-
_cache[2] || (_cache[2] = createTextVNode("\xA0 ")),
|
|
1475
|
+
_cache[2] || (_cache[2] = createTextVNode("\xA0 ", -1)),
|
|
576
1476
|
createBaseVNode("span", null, [createVNode(unref(N8nIcon_default), {
|
|
577
1477
|
class: normalizeClass(_ctx.$style.external),
|
|
578
1478
|
icon: "external-link",
|
|
@@ -594,13 +1494,14 @@ var NoResults_vue_vue_type_style_index_0_lang_module_default = {
|
|
|
594
1494
|
external: "_external_1w8hr_168"
|
|
595
1495
|
};
|
|
596
1496
|
var NoResults_default = /* @__PURE__ */ __plugin_vue_export_helper_default(NoResults_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": NoResults_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
1497
|
+
var import_camelCase = /* @__PURE__ */ __toESM(require_camelCase(), 1);
|
|
597
1498
|
var NodesMode_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
598
1499
|
__name: "NodesMode",
|
|
599
1500
|
emits: ["nodeTypeSelected"],
|
|
600
1501
|
setup(__props, { emit: __emit }) {
|
|
601
1502
|
const emit = __emit;
|
|
602
1503
|
const i18n$1 = useI18n();
|
|
603
|
-
const
|
|
1504
|
+
const { isRagStarterCalloutVisible, openSampleWorkflowTemplate } = useCalloutHelpers();
|
|
604
1505
|
const { mergedNodes, actions, onSubcategorySelected } = useNodeCreatorStore();
|
|
605
1506
|
const { pushViewStack, popViewStack, isAiSubcategoryView } = useViewStacks();
|
|
606
1507
|
const { setAddedNodeActionParameters, nodeCreateElementToNodeTypeSelectedPayload } = useActions();
|
|
@@ -621,23 +1522,13 @@ var NodesMode_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defi
|
|
|
621
1522
|
return nodeActions;
|
|
622
1523
|
}
|
|
623
1524
|
function onSelected(item) {
|
|
624
|
-
if (item.key === "pre-built-agents-collection") {
|
|
625
|
-
calloutHelpers.openPreBuiltAgentsCollection({
|
|
626
|
-
telemetry: {
|
|
627
|
-
source: "nodeCreator",
|
|
628
|
-
section: activeViewStack.value.title
|
|
629
|
-
},
|
|
630
|
-
resetStacks: false
|
|
631
|
-
});
|
|
632
|
-
return;
|
|
633
|
-
}
|
|
634
1525
|
if (item.type === "subcategory") {
|
|
635
1526
|
const subcategoryKey = (0, import_camelCase.default)(item.properties.title);
|
|
636
1527
|
const title$3 = i18n$1.baseText(`nodeCreator.subcategoryNames.${subcategoryKey}`);
|
|
637
1528
|
const infoKey = `nodeCreator.subcategoryInfos.${subcategoryKey}`;
|
|
638
1529
|
const info$2 = i18n$1.baseText(infoKey);
|
|
639
1530
|
const extendedInfo = info$2 !== infoKey ? { info: info$2 } : {};
|
|
640
|
-
const nodeIcon$
|
|
1531
|
+
const nodeIcon$5 = item.properties.icon ? {
|
|
641
1532
|
type: "icon",
|
|
642
1533
|
name: item.properties.icon
|
|
643
1534
|
} : void 0;
|
|
@@ -645,7 +1536,7 @@ var NodesMode_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defi
|
|
|
645
1536
|
subcategory: item.key,
|
|
646
1537
|
mode: "nodes",
|
|
647
1538
|
title: title$3,
|
|
648
|
-
nodeIcon: nodeIcon$
|
|
1539
|
+
nodeIcon: nodeIcon$5,
|
|
649
1540
|
...extendedInfo,
|
|
650
1541
|
...item.properties.panelClass ? { panelClass: item.properties.panelClass } : {},
|
|
651
1542
|
rootView: activeViewStack.value.rootView,
|
|
@@ -701,20 +1592,20 @@ var NodesMode_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defi
|
|
|
701
1592
|
console.warn(`No view found for ${itemKey}`);
|
|
702
1593
|
return;
|
|
703
1594
|
}
|
|
704
|
-
const view = matchedView(mergedNodes);
|
|
1595
|
+
const view$2 = matchedView(mergedNodes);
|
|
705
1596
|
pushViewStack({
|
|
706
|
-
title: view.title,
|
|
707
|
-
subtitle: view?.subtitle ?? "",
|
|
708
|
-
info: view?.info ?? "",
|
|
709
|
-
items: view.items,
|
|
1597
|
+
title: view$2.title,
|
|
1598
|
+
subtitle: view$2?.subtitle ?? "",
|
|
1599
|
+
info: view$2?.info ?? "",
|
|
1600
|
+
items: view$2.items,
|
|
710
1601
|
hasSearch: true,
|
|
711
|
-
rootView: view.value,
|
|
1602
|
+
rootView: view$2.value,
|
|
712
1603
|
mode: "nodes",
|
|
713
1604
|
searchItems: mergedNodes
|
|
714
1605
|
});
|
|
715
1606
|
}
|
|
716
1607
|
if (item.type === "link") window.open(item.properties.url, "_blank");
|
|
717
|
-
if (item.type === "openTemplate")
|
|
1608
|
+
if (item.type === "openTemplate") openSampleWorkflowTemplate(item.properties.templateId, { telemetry: {
|
|
718
1609
|
source: "nodeCreator",
|
|
719
1610
|
section: activeViewStack.value.title
|
|
720
1611
|
} });
|
|
@@ -737,7 +1628,7 @@ var NodesMode_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defi
|
|
|
737
1628
|
if (activeViewStack.value.rootView === "Trigger") return hasActions || hasTriggerGroup;
|
|
738
1629
|
return hasActions || !hasTriggerGroup;
|
|
739
1630
|
}
|
|
740
|
-
const globalCallouts = computed(() => [...getRootSearchCallouts(activeViewStack.value.search ?? "", { isRagStarterCalloutVisible:
|
|
1631
|
+
const globalCallouts = computed(() => [...getRootSearchCallouts(activeViewStack.value.search ?? "", { isRagStarterCalloutVisible: isRagStarterCalloutVisible.value })]);
|
|
741
1632
|
function arrowLeft() {
|
|
742
1633
|
popViewStack();
|
|
743
1634
|
}
|
|
@@ -1020,12 +1911,12 @@ var NodesListPanel_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
|
|
|
1020
1911
|
console.warn(`No view found for ${itemKey}`);
|
|
1021
1912
|
return;
|
|
1022
1913
|
}
|
|
1023
|
-
const view = matchedView(mergedNodes);
|
|
1914
|
+
const view$2 = matchedView(mergedNodes);
|
|
1024
1915
|
pushViewStack({
|
|
1025
|
-
title: view.title,
|
|
1026
|
-
subtitle: view?.subtitle ?? "",
|
|
1027
|
-
items: view.items,
|
|
1028
|
-
info: view.info,
|
|
1916
|
+
title: view$2.title,
|
|
1917
|
+
subtitle: view$2?.subtitle ?? "",
|
|
1918
|
+
items: view$2.items,
|
|
1919
|
+
info: view$2.info,
|
|
1029
1920
|
hasSearch: true,
|
|
1030
1921
|
mode: "nodes",
|
|
1031
1922
|
rootView: selectedView,
|
|
@@ -1247,7 +2138,7 @@ var NodeCreator_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
|
|
|
1247
2138
|
[_ctx.$style.nodeCreatorScrim]: true,
|
|
1248
2139
|
[_ctx.$style.active]: showScrim.value
|
|
1249
2140
|
}) }, null, 2),
|
|
1250
|
-
|
|
2141
|
+
__props.active ? (openBlock(), createBlock(unref(N8nIconButton_default), {
|
|
1251
2142
|
key: 0,
|
|
1252
2143
|
class: normalizeClass(_ctx.$style.close),
|
|
1253
2144
|
type: "secondary",
|
|
@@ -1256,7 +2147,7 @@ var NodeCreator_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
|
|
|
1256
2147
|
onClick: _cache[0] || (_cache[0] = ($event) => emit("closeNodeCreator"))
|
|
1257
2148
|
}, null, 8, ["class"])) : createCommentVNode("", true),
|
|
1258
2149
|
createVNode(SlideTransition_default, null, {
|
|
1259
|
-
default: withCtx(() => [
|
|
2150
|
+
default: withCtx(() => [__props.active ? (openBlock(), createElementBlock("div", {
|
|
1260
2151
|
key: 0,
|
|
1261
2152
|
ref_key: "nodeCreator",
|
|
1262
2153
|
ref: nodeCreator$1,
|
|
@@ -1267,7 +2158,7 @@ var NodeCreator_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
|
|
|
1267
2158
|
onDrop,
|
|
1268
2159
|
onMousedown: onMouseDown,
|
|
1269
2160
|
onMouseup: onMouseUp
|
|
1270
|
-
}, [createVNode(NodesListPanel_default, { onNodeTypeSelected:
|
|
2161
|
+
}, [createVNode(NodesListPanel_default, { onNodeTypeSelected: __props.onNodeTypeSelected }, null, 8, ["onNodeTypeSelected"])], 38)) : createCommentVNode("", true)]),
|
|
1271
2162
|
_: 1
|
|
1272
2163
|
})
|
|
1273
2164
|
]);
|