n8n-editor-ui 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/node-popularity.json +0 -4
- package/dist/assets/{AddDataTableModal-CuIZMTon.js → AddDataTableModal-C07v9Nxn.js} +18 -19
- package/dist/assets/{AgentEditorModal-BhJTzrI3.js → AgentEditorModal-BrtNn_I9.js} +51 -62
- package/dist/assets/{AgentEditorModal-CzlIqORm.css → AgentEditorModal-CnYw6elM.css} +7 -13
- package/dist/assets/{Alert-0hwMnhqx.js → Alert-CjCTAWnZ.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee-DKZ0VLjm.js → AnnotationTagsDropdown.ee-BLpUZufe.js} +2 -2
- package/dist/assets/{AuthView-dLOShGBB.js → AuthView-CqAePJa9.js} +5 -5
- package/dist/assets/BottomMenu-CRVyIu-B.css +474 -0
- package/dist/assets/BottomMenu-Cej7gwr4.js +547 -0
- package/dist/assets/{ChangePasswordView-BBwHcO1t.js → ChangePasswordView-BuzmSLJ8.js} +15 -15
- package/dist/assets/{ChatAgentAvatar-BK95BHUo.css → ChatAgentAvatar-B68ZZ295.css} +18 -9
- package/dist/assets/{ChatAgentAvatar-DErShgau.js → ChatAgentAvatar-CwpeLqqo.js} +17 -16
- package/dist/assets/{ChatSidebarOpener-B_fYs0MW.js → ChatLayout-Baw4DF5I.js} +9 -28
- package/dist/assets/{ChatPersonalAgentsView-FV6Fmhk8.js → ChatPersonalAgentsView-B9Pt0vxY.js} +29 -34
- package/dist/assets/ChatPersonalAgentsView-BiiyFIRl.css +159 -0
- package/dist/assets/ChatSidebar-Cmc2-HvU.js +526 -0
- package/dist/assets/{ChatSidebar-D0f-W0S9.css → ChatSidebar-DcNxY7Pt.css} +61 -336
- package/dist/assets/{ChatView-aZxNyOXr.js → ChatView-C2ezV2fz.js} +125 -144
- package/dist/assets/{ChatView-mTIZIDr3.css → ChatView-DZODCD2o.css} +4 -4
- package/dist/assets/{ChatWorkflowAgentsView-BP_kY_ye.js → ChatWorkflowAgentsView-DBmwl58I.js} +22 -23
- package/dist/assets/CollectionParameter-DvlRV-HR.js +50 -0
- package/dist/assets/{CommunityNodeUpdateInfo-B8p9USAR.js → CommunityNodeUpdateInfo-DjXh6DHu.js} +8 -8
- package/dist/assets/{CopyInput-VHRnOH9J.js → CopyInput-D-Z7pmxS.js} +4 -4
- package/dist/assets/{CredentialIcon-BuTzTX1f.js → CredentialIcon-ClX-2bGh.js} +3 -3
- package/dist/assets/{CredentialPicker-BU1pDir0.js → CredentialPicker-CrCc144c.js} +5 -6
- package/dist/assets/{CredentialSelectorModal-DKTzrT02.js → CredentialSelectorModal-Da2na5my.js} +18 -20
- package/dist/assets/{CredentialsView-DV-FX_N9.js → CredentialsView-CqNF_Gka.js} +34 -37
- package/dist/assets/{DataTableActions-CkNGn5Up.js → DataTableActions-D0ibHSoF.js} +5 -6
- package/dist/assets/{DataTableDetailsView-D8yVEj5C.js → DataTableDetailsView-BRY9rVV1.js} +22 -24
- package/dist/assets/{DataTableView-Cp41ZcKb.js → DataTableView-D4ujwn7I.js} +31 -34
- package/dist/assets/DemoFooter-fhB0ZsZi.js +63 -0
- package/dist/assets/{Draggable-CMR9ctz-.js → Draggable-Bs1jTk_8.js} +1 -1
- package/dist/assets/{EmptySharedSectionActionBox-CXrEGDHJ.js → EmptySharedSectionActionBox-BBB3j3rf.js} +4 -4
- package/dist/assets/{EnterpriseEdition.ee-Cq_v3iMz.js → EnterpriseEdition.ee-_BSL-rxT.js} +1 -1
- package/dist/assets/{EntityNotFound-5i3KSEDe.js → EntityNotFound-8qJnYCXt.js} +7 -7
- package/dist/assets/{EntityUnAuthorised-DHAtMGRv.js → EntityUnAuthorised-CYu0UXzr.js} +7 -7
- package/dist/assets/{ErrorView-WLZWaLMd.js → ErrorView-CrDo6qHL.js} +9 -9
- package/dist/assets/{EvaluationsRootView-Q_gMKb8B.js → EvaluationsRootView-C_7tPZ3q.js} +36 -36
- package/dist/assets/{EvaluationsView-AV-VL2Le.js → EvaluationsView-DTmT_Mjm.js} +21 -21
- package/dist/assets/{ExecutionsTime-CNz8UC7l.css → ExecutionsTime-CMAp2_xF.css} +24 -21
- package/dist/assets/{ExecutionsTime-C6Fc0Xu4.js → ExecutionsTime-ncZBFujs.js} +37 -28
- package/dist/assets/{ExecutionsView-C9GRf5XG.js → ExecutionsView-DKx5PCwr.js} +34 -37
- package/dist/assets/{ExternalSecretsProviderConnectionSwitch.ee-vSVmIUzv.js → ExternalSecretsProviderConnectionSwitch.ee-DQZ57stj.js} +4 -4
- package/dist/assets/{FixedCollectionParameter-5C6wv5y4.js → FixedCollectionParameter-BJZ0eM-5.js} +45 -53
- package/dist/assets/{ForgotMyPasswordView-D5uF1smv.js → ForgotMyPasswordView-D_k_YvIG.js} +15 -15
- package/dist/assets/{InsightsChartAverageRuntime-Bm0c6_UE.js → InsightsChartAverageRuntime-Cljk8p2A.js} +10 -10
- package/dist/assets/{InsightsChartFailed-D6TI96gu.js → InsightsChartFailed-DTmTcxHp.js} +8 -8
- package/dist/assets/{InsightsChartFailureRate-BXjbwEEr.js → InsightsChartFailureRate-BKL-1iTZ.js} +10 -10
- package/dist/assets/{InsightsChartTimeSaved-BPUaaTg8.js → InsightsChartTimeSaved-CIxYU033.js} +10 -10
- package/dist/assets/{InsightsChartTotal-D3aCqsFD.js → InsightsChartTotal-_2DLJIdR.js} +8 -8
- package/dist/assets/{InsightsDashboard-CQoIVhso.js → InsightsDashboard--1f1U32C.js} +32 -34
- package/dist/assets/{InsightsPaywall-Sg6VouYw.js → InsightsPaywall-DwtdewB6.js} +15 -16
- package/dist/assets/{InsightsSummary-C_N5DTxk.js → InsightsSummary-DWzL1ePo.js} +8 -8
- package/dist/assets/{InsightsTableWorkflows-B-Eghvqb.js → InsightsTableWorkflows-CHoJdUEl.js} +18 -18
- package/dist/assets/{ItemsRenderer-qqlnyEcv.js → ItemsRenderer-Bju44b_S.js} +10 -10
- package/dist/assets/{ItemsRenderer-Cr6c6uYy.css → ItemsRenderer-DkobJF9f.css} +4 -2
- package/dist/assets/{KeyboardShortcutTooltip-BSbSC7ko.js → KeyboardShortcutTooltip-srIzApSu.js} +1 -1
- package/dist/assets/{LogsPanel-32PVgZio.js → LogsPanel-C9nCXiIh.js} +24 -25
- package/dist/assets/LogsPanel-z0W4CHve.js +50 -0
- package/dist/assets/MCPConnectWorkflowsModal-CR5hRPTJ.js +301 -0
- package/dist/assets/MCPConnectWorkflowsModal-CS2q8ice.css +275 -0
- package/dist/assets/{MainHeader-DJA_Afhq.css → MainHeader-CSaAWCWj.css} +13 -13
- package/dist/assets/{MainHeader-D64ay8wr.js → MainHeader-Dtf7ohow.js} +97 -101
- package/dist/assets/{MainSidebar-bwCkn71q.css → MainSidebar-CEsQ8o1Y.css} +84 -304
- package/dist/assets/{MainSidebar-BUBrCesJ.js → MainSidebar-_37xftBv.js} +222 -694
- package/dist/assets/{MigrationRuleDetail-ZhGa7Xyk.js → MigrationRuleDetail-CCO__jC7.js} +20 -20
- package/dist/assets/{MigrationRules-bMR2Ua5Z.js → MigrationRules-B0SPwFyT.js} +12 -12
- package/dist/assets/{Modal-BnubMpYE.js → Modal-DrkMFWe3.js} +4 -4
- package/dist/assets/{ModelByIdSelectorModal-CINzSzeY.js → ModelByIdSelectorModal-CoQLLeXk.js} +17 -18
- package/dist/assets/{NDVEmptyState-ClE3eiVz.js → NDVEmptyState-DKrc1TFh.js} +1 -1
- package/dist/assets/{NodeCreation-5He1y6KH.js → NodeCreation-k3pkIHZY.js} +41 -49
- package/dist/assets/{NodeCreator-1WQtM6k5.js → NodeCreator-B6D9_1wn.js} +47 -50
- package/dist/assets/{NodeCreator-C-ckvxD7.css → NodeCreator-OSIpRI6S.css} +25 -25
- package/dist/assets/{NodeDetailsView-DXFliu3P.js → NodeDetailsView-DfMYS7Pz.js} +60 -68
- package/dist/assets/{NodeDetailsViewV2-DqUhlqL1.js → NodeDetailsViewV2-DOCw_zWY.js} +61 -69
- package/dist/assets/{ModalDrawer-B-12esvU.css → NodeIcon-BDxr0f30.css} +5 -6
- package/dist/assets/{NodeIcon-DKFrufUm.js → NodeIcon-DL6ucXJC.js} +4 -4
- package/dist/assets/{NodeSettings-Dxu4dYM2.js → NodeSettings-CS2iUNwL.js} +17 -17
- package/dist/assets/{NodeView-CflD3BIb.js → NodeView-0XOeMCB7.js} +111 -106
- package/dist/assets/{OAuthConsentView-B_geMUgf.js → OAuthConsentView-WGFrtRYZ.js} +14 -14
- package/dist/assets/{ParameterInputList-CXEjv4Ky.css → ParameterInputList-0YoVowEI.css} +10 -7
- package/dist/assets/{ParameterInputList-vjOxrGN1.js → ParameterInputList-DTEJwrQm.js} +59 -56
- package/dist/assets/{PrebuiltAgentTemplatesView-C0-XwSIu.js → PrebuiltAgentTemplatesView-CJ6VJ0XJ.js} +17 -19
- package/dist/assets/{ProjectBreadcrumb-BigR4bXU.js → ProjectBreadcrumb-FtcudW_2.js} +4 -4
- package/dist/assets/{ProjectCardBadge-DBExASTm.js → ProjectCardBadge-C42B_oyx.js} +5 -5
- package/dist/assets/{ProjectHeader-Chcw-5iC.js → ProjectHeader-UBLuSGFT.js} +8 -8
- package/dist/assets/{ProjectIcon-Biy_-Ssg.js → ProjectIcon-CEp8nyYM.js} +1 -1
- package/dist/assets/{ProjectRoleView-C5y4uOer.js → ProjectRoleView-BQvsQqjp.js} +15 -16
- package/dist/assets/{ProjectRolesView-BTYgQZEb.js → ProjectRolesView-CksItD9m.js} +16 -19
- package/dist/assets/{ProjectSettings-DGaQU11k.js → ProjectSettings-DUSQ3i-j.js} +26 -28
- package/dist/assets/{ProjectSharing-BPuoZzCz.js → ProjectSharing-DcKfaqUD.js} +5 -5
- package/dist/assets/{ProjectVariables-CJwvD2Zp.js → ProjectVariables-BEwMAsZl.js} +32 -35
- package/dist/assets/{ProviderSettingsModal-CCSi77gL.js → ProviderSettingsModal-D9LOoiTP.js} +21 -23
- package/dist/assets/{PushConnectionTracker-CRYM3Vtb.js → PushConnectionTracker-CYhR1yeo.js} +3 -3
- package/dist/assets/{ResolversView-AW_6JE1C.js → ResolversView-MhtoNdHP.js} +15 -17
- package/dist/assets/{ResourceFiltersDropdown-BACE5ZTX.css → ResourceFiltersDropdown-Cma1Lj9J.css} +12 -9
- package/dist/assets/{ResourceFiltersDropdown-QUn2x3Bh.js → ResourceFiltersDropdown-DJG8zh1q.js} +18 -18
- package/dist/assets/{ResourcesListLayout-Ca_StuHS.js → ResourcesListLayout-CBYWFTvd.js} +9 -9
- package/dist/assets/{RunDataHtml-DhjduYN-.js → RunDataHtml-B4A7gRBL.js} +3 -3
- package/dist/assets/{RunDataHtml-_b8v7-9v.js → RunDataHtml-CkjC7YuF.js} +1 -1
- package/dist/assets/{RunDataJson-CQzsp53k.js → RunDataJson-hUd8I9Iw.js} +14 -14
- package/dist/assets/{RunDataJsonActions-DYuehkje.js → RunDataJsonActions-mj5kInPr.js} +15 -15
- package/dist/assets/{RunDataParsedAiContent-PeROyr39.js → RunDataParsedAiContent-DQYrKUHo.js} +8 -8
- package/dist/assets/RunDataParsedAiContent-DhKdg7Ux.js +24 -0
- package/dist/assets/{RunDataSearch-CHpgjaXw.js → RunDataSearch-BanmtjON.js} +10 -10
- package/dist/assets/{RunDataTable-CYK7wMVo.js → RunDataTable-CLw-U45I.js} +18 -18
- package/dist/assets/{SamlOnboarding-DLuOxA1h.js → SamlOnboarding-CL7FFqOA.js} +15 -15
- package/dist/assets/{SaveButton-CKB6EQNE.js → SaveButton-DdOVpjST.js} +3 -3
- package/dist/assets/{SelectedItemsInfo-BvVqSABb.js → SelectedItemsInfo-DBuH5w0D.js} +2 -2
- package/dist/assets/{SettingsApiView-530q1i_m.js → SettingsApiView-C0aDHviI.js} +17 -20
- package/dist/assets/{SettingsChatHubView-DTfYScWP.js → SettingsChatHubView-xXbgxwbM.js} +20 -20
- package/dist/assets/{SettingsCommunityNodesView-CEkBS-n3.js → SettingsCommunityNodesView-BAxes_Db.js} +29 -36
- package/dist/assets/{SettingsExternalSecrets-DWmNushg.js → SettingsExternalSecrets-B6jdgfB7.js} +17 -18
- package/dist/assets/{SettingsLdapView-BA_rrOsm.js → SettingsLdapView-CR2IAnRQ.js} +19 -22
- package/dist/assets/{SettingsLogStreamingView-BzS7Rk_k.js → SettingsLogStreamingView-DSRc5q9w.js} +17 -20
- package/dist/assets/{SettingsMCPView-CrY6qFtu.js → SettingsMCPView-C7HQFidB.js} +136 -164
- package/dist/assets/{SettingsMCPView-CuJwNWhp.css → SettingsMCPView-DIdodQTu.css} +28 -41
- package/dist/assets/{SettingsPersonalView-Dzs0wJy5.js → SettingsPersonalView-DOH_Ml9N.js} +15 -16
- package/dist/assets/{SettingsSourceControl-DqxyElas.js → SettingsSourceControl-DH0mZaa0.js} +19 -21
- package/dist/assets/{SettingsSso-DZGvnd66.js → SettingsSso-CrWkteb1.js} +21 -24
- package/dist/assets/{SettingsUsageAndPlan-CFqo5bjc.js → SettingsUsageAndPlan-DQzF59ve.js} +17 -19
- package/dist/assets/{SettingsUsersView-ZXkY8lOk.js → SettingsUsersView-BZrQxtA7.js} +22 -25
- package/dist/assets/{SettingsView-Dvi58KSf.js → SettingsView-LDjLlP2V.js} +14 -14
- package/dist/assets/{SetupTemplateFormStep-YceNY0Wy.js → SetupTemplateFormStep-CwgC9pY3.js} +7 -7
- package/dist/assets/{SetupView-CEhMhQ-x.js → SetupView-wJeD4wwM.js} +15 -15
- package/dist/assets/{SetupWorkflowCredentialsButton-D-WhRVmE.js → SetupWorkflowCredentialsButton-kVNSvjYZ.js} +14 -14
- package/dist/assets/{SetupWorkflowFromTemplateView-DxBRJzNj.js → SetupWorkflowFromTemplateView-CBTduGfH.js} +21 -25
- package/dist/assets/{SeverityTag-fmR9_nbe.js → SeverityTag-CuF3dVKd.js} +2 -2
- package/dist/assets/{SigninView-DmeaxGTh.js → SigninView-DjWIkUJe.js} +16 -16
- package/dist/assets/{SignoutView-Ds9n2CzI.js → SignoutView-CP6UttCg.js} +8 -8
- package/dist/assets/{SignupView-1gamElom.js → SignupView-DKWZNap-.js} +15 -15
- package/dist/assets/{SkeletonAgentCard-BJex2Lyu.js → SkeletonAgentCard-DcV1dSF-.js} +8 -8
- package/dist/assets/{TagsDropdown-u4tMd12i.js → TagsDropdown-CuT_jHbX.js} +3 -3
- package/dist/assets/{TemplateCard-B4F-XvsD.js → TemplateCard-DY1aPA-a.js} +6 -7
- package/dist/assets/{TemplateDetails-BKKfnaff.js → TemplateDetails-Cstu-YNP.js} +6 -7
- package/dist/assets/{TemplateList-CMtMo5k1.js → TemplateList-BfBs1Bpa.js} +5 -5
- package/dist/assets/{TemplatesCollectionView-Cd-HGCH0.js → TemplatesCollectionView-DgKv-274.js} +22 -24
- package/dist/assets/{TemplatesSearchView-CIo8cLBH.js → TemplatesSearchView-BgdaZIha.js} +19 -21
- package/dist/assets/{TemplatesView-DRX4MxqG.js → TemplatesView-HPIEGoX2.js} +3 -3
- package/dist/assets/{TemplatesWorkflowView-CRaFmEOk.js → TemplatesWorkflowView-3-fxkWIH.js} +23 -25
- package/dist/assets/{TestRunDetailView-ChwnIP5p.js → TestRunDetailView-D9tH7Ptp.js} +19 -19
- package/dist/assets/{TimeAgo-DAiwB89s.js → TimeAgo-BpAJIqal.js} +3 -3
- package/dist/assets/{ToolsSelectorModal-BOGI0a8n.js → ToolsSelectorModal-DSyXV7Ag.js} +17 -18
- package/dist/assets/{TriggerPanel-BiMxO993.js → TriggerPanel-DDzH4j34.js} +18 -19
- package/dist/assets/{VirtualSchema-DBG6207l.js → VirtualSchema-BN0NQDyh.js} +15 -16
- package/dist/assets/VirtualSchema-rizWsPXH.js +35 -0
- package/dist/assets/{VueMarkdown-Cpmboohi.js → VueMarkdown-D7yo0t2n.js} +1 -1
- package/dist/assets/{WorkerView-C51ge4b7.js → WorkerView-DeYRT0mS.js} +34 -41
- package/dist/assets/{WorkflowActivationErrorMessage-CQe9ZG_g.js → WorkflowActivationErrorMessage-D9ktIWO1.js} +1 -1
- package/dist/assets/{WorkflowActivator-xCBwqG20.css → WorkflowActivator-BGcCOUCH.css} +2 -2
- package/dist/assets/{WorkflowActivator-BBKWeo24.js → WorkflowActivator-Cj1x_nLm.js} +13 -11
- package/dist/assets/{WorkflowExecutionsInfoAccordion-CHxJyPWc.js → WorkflowExecutionsInfoAccordion-DOW8-lUO.js} +11 -15
- package/dist/assets/{WorkflowExecutionsLandingPage-Bc76eEI8.js → WorkflowExecutionsLandingPage-D-k97H81.js} +19 -33
- package/dist/assets/{WorkflowExecutionsPreview-_k32TAQx.js → WorkflowExecutionsPreview-bwSmtqxL.js} +22 -25
- package/dist/assets/{WorkflowExecutionsView-BtPQdaUI.js → WorkflowExecutionsView-BoJYR4A-.js} +50 -46
- package/dist/assets/{WorkflowExecutionsView-J4lWGYW8.css → WorkflowExecutionsView-DzHhxp4K.css} +2 -2
- package/dist/assets/{WorkflowHistory-D3BhOWlD.css → WorkflowHistory-BBHdNsOb.css} +147 -98
- package/dist/assets/{WorkflowHistory-TqV7hl7y.js → WorkflowHistory-DDwFxfgs.js} +329 -273
- package/dist/assets/WorkflowLocation-6rp_-CuW.css +164 -0
- package/dist/assets/WorkflowLocation-BcPFmw0j.js +164 -0
- package/dist/assets/{WorkflowOnboardingView-DSG-2KfF.js → WorkflowOnboardingView-CQjMFn6h.js} +8 -10
- package/dist/assets/{WorkflowPreview-Bb-j_vKv.js → WorkflowPreview-C2LPnLG1.js} +4 -4
- package/dist/assets/{WorkflowTagsDropdown-N-OFfXUv.js → WorkflowTagsDropdown-ChfpozQB.js} +2 -2
- package/dist/assets/{WorkflowsView-d5GNiTzz.js → WorkflowsView-C3nCkxzz.js} +65 -84
- package/dist/assets/{_MapCache-BXj4WgHo.js → _MapCache-0zNxISSG.js} +78 -8
- package/dist/assets/{_baseOrderBy-DocZGYxF.js → _baseOrderBy-CesQfsb9.js} +4 -4
- package/dist/assets/{_initCloneObject-GPxNDW5O.js → _initCloneObject-DrYdt_vX.js} +2 -2
- package/dist/assets/{aiTemplatesStarterCollection.store-DAVh8dHH.js → aiTemplatesStarterCollection.store-Bz4IH9Sr.js} +5 -5
- package/dist/assets/{apiKeys.store-U364pJfj.js → apiKeys.store-W8uXGfoe.js} +2 -2
- package/dist/assets/{assistant.store-Cz4nIRHi.js → assistant.store-Cn9sEjYD.js} +6 -6
- package/dist/assets/{auth.eventBus-BD50qglP.js → auth.eventBus-D9L5FHI4.js} +1 -1
- package/dist/assets/{banners.store-ex1PTUk7.js → banners.store-CRNqMmnn.js} +4 -4
- package/dist/assets/{builder.store-CAubedr_.js → builder.store-YujiPssa.js} +5780 -164
- package/dist/assets/{chartjs.utils-BuKhcKwM.js → chartjs.utils-CoNBCTXc.js} +3 -3
- package/dist/assets/{chat.store-CBMr_Pqd.js → chat.store-YbHxxnni.js} +136 -91
- package/dist/assets/{chatPanel.store-5rL60x8w.js → chatPanel.store-DmxMXfyE.js} +17 -11
- package/dist/assets/{col-D5wesaQA.js → col-oSGwUVsR.js} +1 -2
- package/dist/assets/{constants-CYvY1HoE.js → constants-D52YoOSp.js} +18 -18
- package/dist/assets/{constants-qk3hx0l8.js → constants-DLTaaipl.js} +2 -1
- package/dist/assets/{core-CiWhevuy.js → core-BbiIkN91.js} +1 -1
- package/dist/assets/{dataTable.store-B95C_g-m.js → dataTable.store-CUsh5p9b.js} +3 -3
- package/dist/assets/{date-picker-ZPBpyB3m.js → date-picker-DeUybCvv.js} +2 -2
- package/dist/assets/{dateFormatter-DqsBbNBt.js → dateFormatter-DzJiM44k.js} +2 -2
- package/dist/assets/{dialog-DJAwPy6j.js → dialog-C4MrWHj5.js} +3 -3
- package/dist/assets/{dist-JIm44DPf.js → dist-DP_8je0B.js} +1 -1
- package/dist/assets/{en-b3uD8cvU.js → en-CF30SCh2.js} +11 -1
- package/dist/assets/en-DyO2pPiC.js +2 -0
- package/dist/assets/{es-BskBLtZB.js → es-DlTgUi2w.js} +1 -1
- package/dist/assets/{evaluation.constants-F0c_I-kV.js → evaluation.constants-0Qe9Ioy2.js} +3 -3
- package/dist/assets/{executions.store-C4mu7EN_.js → executions.store-Dodf4hZt.js} +2 -2
- package/dist/assets/{externalSecrets.ee.store-Ds5jjnbH.js → externalSecrets.ee.store-CRomIb5E.js} +3 -3
- package/dist/assets/{folders.store-CuCrgN0-.js → folders.store-Bld2a-oS.js} +3 -3
- package/dist/assets/{index-OYuYUvLQ.js → index-BFbfC2Dj.js} +478 -172
- package/dist/assets/{index-BkLJ6ICr.css → index-Bl6XoGDE.css} +155 -24
- package/dist/assets/{insights.constants-B7y0cvTb.js → insights.constants-C8GITe6H.js} +1 -1
- package/dist/assets/{insights.store-CqFEtmFW.js → insights.store-CwovPTtG.js} +5 -5
- package/dist/assets/{insights.utils-Dc4VSauh.js → insights.utils-BjffJfoC.js} +4 -4
- package/dist/assets/{isEmpty-Cvua03C8.js → isEmpty-OfTBXDAe.js} +26 -27
- package/dist/assets/{languageModules-CLe6cIYW.js → languageModules-D_uyjb6R.js} +1 -1
- package/dist/assets/{logStreaming.store-BvsIXizk.js → logStreaming.store-fF1gjMD8.js} +2 -2
- package/dist/assets/mcp.constants-DQPD3Ntp.js +10 -0
- package/dist/assets/{mcp.store-Cgk1Y3cg.js → mcp.store-CaNRXC4L.js} +14 -3
- package/dist/assets/{merge-BfSiz1ty.js → merge-BmWPLD5Q.js} +1 -1
- package/dist/assets/{nodeCreator.store-ByBNDHDU.js → nodeCreator.store-CnQC3Thy.js} +11 -16
- package/dist/assets/{nodeIcon-C-dkL8Fd.js → nodeIcon-Bcr-G7rB.js} +3 -3
- package/dist/assets/{nodeTransforms-tTQ2gB1N.js → nodeTransforms-DK79e95H.js} +2 -2
- package/dist/assets/{orderBy-BBt186Rx.js → orderBy-YGC4g6w9.js} +2 -2
- package/dist/assets/{personalizedTemplatesV3.store-8gqUNWYR.js → personalizedTemplatesV3.store-BKxUzmKZ.js} +3 -5
- package/dist/assets/{pickBy-B-V25TGC.js → pickBy-BnWwuV2u.js} +2 -2
- package/dist/assets/{radio-_dKLhwOP.js → radio-DyB--77Q.js} +1 -2
- package/dist/assets/{readyToRun.store-Do8-C5FX.js → readyToRun.store-BRvUlRSD.js} +190 -230
- package/dist/assets/{readyToRunWorkflows.store-D1IPhYoo.js → readyToRunWorkflows.store-BNsVPNB9.js} +5 -6
- package/dist/assets/{roles.store-n83e09_t.js → roles.store-pbRRxt0E.js} +3 -3
- package/dist/assets/{router-CHJ3JyBP.js → router-nTea-Urj.js} +111 -90
- package/dist/assets/{sanitize-html-Cft-jOcY.js → sanitize-html-Cc45ZKm8.js} +1 -1
- package/dist/assets/{schemaPreview.store-BhyHWf7E.js → schemaPreview.store-D6CQiOeI.js} +3 -3
- package/dist/assets/{semver-Cp_WpVPO.js → semver-CrR9VADA.js} +2 -2
- package/dist/assets/{sourceControl.eventBus-Cvxq2KVt.js → sourceControl.eventBus-KIeXsiU7.js} +1 -1
- package/dist/assets/{src-DS0bffpn.css → src-CWWagUhy.css} +729 -81
- package/dist/assets/{src-RwnQoRPP.js → src-DTY1hJHs.js} +1675 -3573
- package/dist/assets/{sso.store-cqjdz_2u.js → sso.store-Di00dtDC.js} +2 -2
- package/dist/assets/{table-8YZ1ENjX.js → table-VmuGzK7A.js} +3 -3
- package/dist/assets/{templateActions-enJitM-t.js → templateActions-DIWkQgOn.js} +5 -5
- package/dist/assets/{templateTransforms-DQ7WCXTt.js → templateTransforms-BYfEDiSK.js} +1 -1
- package/dist/assets/{truncate-BmR9EyjG.js → truncate-ByNK2lRy.js} +2266 -27
- package/dist/assets/{uniqBy-CwukEo9t.js → uniqBy-CJFaA-UD.js} +1 -1
- package/dist/assets/{usage.store-BfUdTqsB.js → usage.store-BY4g7MNp.js} +2 -2
- package/dist/assets/{useActions-DQI9KLjd.js → useActions-CBZGt3Kf.js} +4 -4
- package/dist/assets/{useBeforeUnload-D_U2Zy8a.js → useBeforeUnload-CQAM_lAW.js} +3 -3
- package/dist/assets/{useCanvasMapping-qW6Bypew.js → useCanvasMapping-C0deX2fv.js} +35 -32
- package/dist/assets/{useCanvasOperations-BK5Ruww4.js → useCanvasOperations-BQyHvbXi.js} +141 -29
- package/dist/assets/{useClipboard-DTcHaFEK.js → useClipboard-CqFyEHaX.js} +2 -2
- package/dist/assets/{useCommandBar-BHz7uJzq.js → useCommandBar-I9Rh00u6.js} +26 -30
- package/dist/assets/{useCredentialResolvers-Bpp_HV9G.js → useCredentialResolvers-CaMKldsZ.js} +4 -5
- package/dist/assets/{useCustomAgent-6jtxXrFo.js → useCustomAgent-DLwpqJcm.js} +25 -15
- package/dist/assets/{useDebounce-Cisb25yt.js → useDebounce-DGSOfe85.js} +2 -2
- package/dist/assets/{useExecutionData-BKeTOhoX.js → useExecutionData-BocEX1BJ.js} +1 -1
- package/dist/assets/{useExecutionDebugging-D40mIqVy.js → useExecutionDebugging-CsWzUsUi.js} +6 -7
- package/dist/assets/{useExecutionHelpers-B32gpNcR.js → useExecutionHelpers-BWgzEc86.js} +5 -5
- package/dist/assets/{useImportCurlCommand-Dwkg4gxb.js → useImportCurlCommand-DGIgJik0.js} +9 -9
- package/dist/assets/{useKeybindings-B82i0gwd.js → useKeybindings-DD-ZZkmj.js} +4 -4
- package/dist/assets/{useLogsTreeExpand-a_nQHbuO.js → useLogsTreeExpand-BQmkJc3D.js} +13 -13
- package/dist/assets/{useMcp-G0hcPb2G.js → useMcp-CtPU_6al.js} +2 -2
- package/dist/assets/{usePageRedirectionHelper-CRhI7kEV.js → usePageRedirectionHelper-TzgTKFxt.js} +3 -4
- package/dist/assets/{usePinnedData-DbJIdcH9.js → usePinnedData-Dztv0dCp.js} +4 -4
- package/dist/assets/{usePushConnection-S6ZzSxmg.js → usePushConnection-Ce3EppRV.js} +19 -16
- package/dist/assets/{useRecentResources-BPctttxN.js → useRecentResources-fniP3oOE.js} +9 -8
- package/dist/assets/{useRunWorkflow-A9HrZtf9.js → useRunWorkflow-CJgkc0Iq.js} +9 -10
- package/dist/assets/{useSettingsItems-CrZVWQtF.js → useSettingsItems-Ds8JJZE_.js} +4 -4
- package/dist/assets/{useTelemetryContext-CqZT5h1F.js → useTelemetryContext-Ds7-s6ZC.js} +1 -1
- package/dist/assets/{useWorkflowActivate-CAf_ZVge.js → useWorkflowActivate-DocAQ9u8.js} +7 -8
- package/dist/assets/{useWorkflowsCache-BWNobE2Z.js → useWorkflowsCache-BXhjK2ZF.js} +1 -1
- package/dist/assets/{userRoleProvisioning.store-BajXGuB0.js → userRoleProvisioning.store-DNmA1ftX.js} +2 -2
- package/dist/assets/utils-C2GPI2gK.js +54 -0
- package/dist/assets/{versions.store-XAfp7S_I.js → versions.store-qQUmfjg3.js} +3 -3
- package/dist/index.html +109 -119
- package/package.json +1 -1
- package/dist/assets/ChatSidebar-CImrJ1wq.js +0 -555
- package/dist/assets/CollectionParameter-XxYjJM8n.js +0 -58
- package/dist/assets/DemoFooter-CyiCV2u7.js +0 -71
- package/dist/assets/FileSaver.min--9uV1QmK.js +0 -72
- package/dist/assets/LogsPanel-VCY0eldj.js +0 -58
- package/dist/assets/ModalDrawer-BmpoiTtU.js +0 -277
- package/dist/assets/NodeIcon-eaW3atZy.css +0 -125
- package/dist/assets/RunDataParsedAiContent-DI84m3cU.js +0 -24
- package/dist/assets/VirtualSchema-BgGTE1g9.js +0 -42
- package/dist/assets/cloudPlan.store-DjB3bVSl.js +0 -185
- package/dist/assets/en-BD3FHSTF.js +0 -2
- package/dist/assets/focusPanel.store-kzoWYFw_.js +0 -208
- package/dist/assets/mcp.constants-svQUbNx5.js +0 -8
- package/dist/assets/npsSurvey.store-DztaTi-T.js +0 -98
- package/dist/assets/overlay-Bil1NnPh.js +0 -165
- package/dist/assets/templates.store-BVbL58Kw.js +0 -3915
- package/dist/assets/useChatHubSidebarState-CBF0kF34.js +0 -29
- package/dist/assets/useMessage-CPC9wpAB.js +0 -610
- package/dist/assets/useWorkflowSaving-CfItkcry.js +0 -229
- package/dist/assets/utils-BLHsa_NJ.js +0 -18
- /package/dist/assets/{AnimatedSpinner-g6zev3_N.js → AnimatedSpinner-wiGFgffA.js} +0 -0
- /package/dist/assets/{CalendarDate-B-JEhNYg.js → CalendarDate-zWqgZMlk.js} +0 -0
- /package/dist/assets/{ChatFile-8ik4bOn3.js → ChatFile-cnNK8Kf8.js} +0 -0
- /package/dist/assets/{ChatSidebarOpener-CxM-3LAt.css → ChatLayout-CxM-3LAt.css} +0 -0
- /package/dist/assets/{ChatPersonalAgentsView-BBfu-g98.css → ChatWorkflowAgentsView-BBfu-g98.css} +0 -0
- /package/dist/assets/{PageViewLayout-B889Bfwc.js → PageViewLayout-BHSzOio1.js} +0 -0
- /package/dist/assets/{TextWithHighlights-C4QSPTGM.js → TextWithHighlights-DjzuDrgO.js} +0 -0
- /package/dist/assets/{buttons.esm-CZxEX89d.js → buttons.esm-CT4flsfB.js} +0 -0
- /package/dist/assets/{chart-BxWK2ZOo.js → chart-CE3HWIkr.js} +0 -0
- /package/dist/assets/{core-CXk6RNMV.js → core-6W4wWNc1.js} +0 -0
- /package/dist/assets/{dateformat-hG8NERse.js → dateformat-CM9k0--B.js} +0 -0
- /package/dist/assets/{exports-CdZcr9ah.js → exports-hpMZaOPT.js} +0 -0
- /package/dist/assets/{fileUtils-D3GQ2UWQ.js → fileUtils-D_SiS8no.js} +0 -0
- /package/dist/assets/{path-browserify-BgjP7RyT.js → path-browserify-BtCDmZ3_.js} +0 -0
- /package/dist/assets/{retry-CMAFrhVi.js → retry-dP46utx2.js} +0 -0
- /package/dist/assets/{smartDecimal-Bi50OE4b.js → smartDecimal-DK6-_VSq.js} +0 -0
- /package/dist/assets/{sortByProperty-DAqnDMg7.js → sortByProperty-CV1aCzkS.js} +0 -0
- /package/dist/assets/{useIntersectionObserver-BZ6Jqnr3.js → useIntersectionObserver-DXKoRNFj.js} +0 -0
- /package/dist/assets/{vue-0rlD32wK.js → vue-Dg_43WEg.js} +0 -0
- /package/dist/assets/{vue-json-pretty-B9qWbmOF.js → vue-json-pretty-DGKuDe33.js} +0 -0
- /package/dist/assets/{xml-DSIt30t0.js → xml-B6veOr9z.js} +0 -0
|
@@ -1,340 +1,48 @@
|
|
|
1
|
-
import { C as computed, Cn as toDisplayString, D as createElementBlock, E as createCommentVNode, G as nextTick, Gt as unref, It as ref, J as onBeforeUnmount, M as createVNode, P as defineComponent, Q as onUnmounted, T as createBlock,
|
|
2
|
-
import { _t as
|
|
3
|
-
import { C as N8nResizeWrapper_default,
|
|
4
|
-
import "./en-
|
|
1
|
+
import { C as computed, Cn as toDisplayString, D as createElementBlock, E as createCommentVNode, G as nextTick, Gt as unref, It as ref, J as onBeforeUnmount, M as createVNode, P as defineComponent, Q as onUnmounted, T as createBlock, Z as onMounted, _ as Fragment, _t as watch, b as Teleport, bn as normalizeStyle, bt as withCtx, et as openBlock, it as renderList, j as createTextVNode, q as onBeforeMount, vn as normalizeClass, w as createBaseVNode } from "./vue.runtime.esm-bundler-tP5dCd7J.js";
|
|
2
|
+
import { _t as useI18n, mt as i18n } from "./_MapCache-0zNxISSG.js";
|
|
3
|
+
import { C as N8nResizeWrapper_default, N as N8nMenuItem_default, Sn as N8nButton_default, ht as N8nTooltip_default, s as N8nScrollArea_default, wn as N8nIcon_default, xn as N8nText_default } from "./src-DTY1hJHs.js";
|
|
4
|
+
import "./en-CF30SCh2.js";
|
|
5
5
|
import "./preload-helper-CR0ecmWK.js";
|
|
6
6
|
import { t as __plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BwBpWJRZ.js";
|
|
7
|
-
import { b as useRouter, y as useRoute } from "./truncate-
|
|
8
|
-
import "./
|
|
7
|
+
import { b as useRouter, y as useRoute } from "./truncate-ByNK2lRy.js";
|
|
8
|
+
import { Dr as useUsersStore, N as useWorkflowsStore, O as useTelemetry, Xn as useProjectsStore, Zn as useSourceControlStore, c as useTemplatesStore, d as trackTemplatesClick, f as useTemplatesDataQualityStore, hs as useSettingsStore, l as TemplateClickSource, oa as useUIStore, p as useCloudPlanStore, vr as hasPermission } from "./builder.store-YujiPssa.js";
|
|
9
9
|
import "./empty-BuGRxzl4.js";
|
|
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 "./
|
|
25
|
-
import "./
|
|
26
|
-
import "./
|
|
27
|
-
import "./
|
|
28
|
-
import "./
|
|
29
|
-
import
|
|
30
|
-
import "./
|
|
31
|
-
import "./
|
|
32
|
-
import "./
|
|
33
|
-
import "./
|
|
34
|
-
import "./
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import "./
|
|
39
|
-
import
|
|
40
|
-
import "./
|
|
41
|
-
import "./
|
|
42
|
-
import "./
|
|
43
|
-
import "./
|
|
44
|
-
import "./
|
|
45
|
-
import {
|
|
46
|
-
import "./useRecentResources-BPctttxN.js";
|
|
47
|
-
import { t as sourceControlEventBus } from "./sourceControl.eventBus-Cvxq2KVt.js";
|
|
48
|
-
import { t as useKeybindings } from "./useKeybindings-B82i0gwd.js";
|
|
49
|
-
import { n as usePersonalizedTemplatesV2Store, t as usePersonalizedTemplatesV3Store } from "./personalizedTemplatesV3.store-8gqUNWYR.js";
|
|
50
|
-
import "./chat.store-CBMr_Pqd.js";
|
|
51
|
-
import "./fileUtils-D3GQ2UWQ.js";
|
|
52
|
-
import { t as useSettingsItems } from "./useSettingsItems-CrZVWQtF.js";
|
|
53
|
-
const isCustomMenuItem = (e) => "component" in e;
|
|
54
|
-
var LOCAL_STORAGE_KEY = "N8N_BECOME_TEMPLATE_CREATOR_CTA_DISMISSED_AT";
|
|
55
|
-
var RESHOW_DISMISSED_AFTER_DAYS = 30;
|
|
56
|
-
var POLL_INTERVAL_IN_MS = 900 * 1e3;
|
|
57
|
-
const useBecomeTemplateCreatorStore = defineStore(STORES.BECOME_TEMPLATE_CREATOR, () => {
|
|
58
|
-
const cloudPlanStore = useCloudPlanStore();
|
|
59
|
-
const rootStore = useRootStore();
|
|
60
|
-
const dismissedAt = useStorage(LOCAL_STORAGE_KEY);
|
|
61
|
-
const ctaMeetsCriteria = ref(false);
|
|
62
|
-
const monitorCtasTimer = ref(null);
|
|
63
|
-
const isDismissed = computed(() => {
|
|
64
|
-
return dismissedAt.value ? !hasEnoughTimePassedSinceDismissal(dismissedAt.value) : false;
|
|
65
|
-
});
|
|
66
|
-
const showBecomeCreatorCta = computed(() => {
|
|
67
|
-
return ctaMeetsCriteria.value && !cloudPlanStore.userIsTrialing && !isDismissed.value;
|
|
68
|
-
});
|
|
69
|
-
const dismissCta = () => {
|
|
70
|
-
dismissedAt.value = DateTime.now().toISO();
|
|
71
|
-
};
|
|
72
|
-
const fetchBecomeCreatorCta = async () => {
|
|
73
|
-
ctaMeetsCriteria.value = await getBecomeCreatorCta(rootStore.restApiContext);
|
|
74
|
-
};
|
|
75
|
-
const fetchUserCtasIfNeeded = async () => {
|
|
76
|
-
if (isDismissed.value || cloudPlanStore.userIsTrialing || ctaMeetsCriteria.value) return;
|
|
77
|
-
await fetchBecomeCreatorCta();
|
|
78
|
-
};
|
|
79
|
-
const startMonitoringCta = () => {
|
|
80
|
-
if (monitorCtasTimer.value) return;
|
|
81
|
-
setTimeout(fetchUserCtasIfNeeded, 1e3);
|
|
82
|
-
monitorCtasTimer.value = setInterval(fetchUserCtasIfNeeded, POLL_INTERVAL_IN_MS);
|
|
83
|
-
};
|
|
84
|
-
const stopMonitoringCta = () => {
|
|
85
|
-
if (!monitorCtasTimer.value) return;
|
|
86
|
-
clearInterval(monitorCtasTimer.value);
|
|
87
|
-
monitorCtasTimer.value = null;
|
|
88
|
-
};
|
|
89
|
-
return {
|
|
90
|
-
showBecomeCreatorCta,
|
|
91
|
-
dismissCta,
|
|
92
|
-
startMonitoringCta,
|
|
93
|
-
stopMonitoringCta
|
|
94
|
-
};
|
|
95
|
-
});
|
|
96
|
-
function hasEnoughTimePassedSinceDismissal(dismissedAt) {
|
|
97
|
-
return DateTime.fromISO(dismissedAt).plus({ days: RESHOW_DISMISSED_AFTER_DAYS }) <= DateTime.now();
|
|
98
|
-
}
|
|
99
|
-
var BecomeTemplateCreatorCta_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
100
|
-
__name: "BecomeTemplateCreatorCta",
|
|
101
|
-
setup(__props) {
|
|
102
|
-
const i18n$1 = useI18n();
|
|
103
|
-
const store = useBecomeTemplateCreatorStore();
|
|
104
|
-
const telemetry = useTelemetry();
|
|
105
|
-
const onClick = () => {
|
|
106
|
-
telemetry.track("User clicked become creator CTA");
|
|
107
|
-
};
|
|
108
|
-
return (_ctx, _cache) => {
|
|
109
|
-
return unref(store).showBecomeCreatorCta ? (openBlock(), createElementBlock("div", {
|
|
110
|
-
key: 0,
|
|
111
|
-
class: normalizeClass(_ctx.$style.container),
|
|
112
|
-
"data-test-id": "become-template-creator-cta"
|
|
113
|
-
}, [createBaseVNode("div", { class: normalizeClass(_ctx.$style.textAndCloseButton) }, [createVNode(unref(N8nText_default), { size: "small" }, {
|
|
114
|
-
default: withCtx(() => [createTextVNode(toDisplayString(unref(i18n$1).baseText("becomeCreator.text")), 1)]),
|
|
115
|
-
_: 1
|
|
116
|
-
}), createBaseVNode("button", {
|
|
117
|
-
class: normalizeClass(_ctx.$style.closeButton),
|
|
118
|
-
"data-test-id": "close-become-template-creator-cta",
|
|
119
|
-
onClick: _cache[0] || (_cache[0] = ($event) => unref(store).dismissCta())
|
|
120
|
-
}, [createVNode(unref(N8nIcon_default), {
|
|
121
|
-
icon: "x",
|
|
122
|
-
title: unref(i18n$1).baseText("generic.close")
|
|
123
|
-
}, null, 8, ["title"])], 2)], 2), createVNode(unref(N8nButton_default), {
|
|
124
|
-
class: normalizeClass(_ctx.$style.becomeCreatorButton),
|
|
125
|
-
label: unref(i18n$1).baseText("becomeCreator.buttonText"),
|
|
126
|
-
type: "secondary",
|
|
127
|
-
element: "a",
|
|
128
|
-
href: "https://creators.n8n.io/hub",
|
|
129
|
-
target: "_blank",
|
|
130
|
-
onClick
|
|
131
|
-
}, null, 8, ["class", "label"])], 2)) : createCommentVNode("", true);
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
});
|
|
135
|
-
var BecomeTemplateCreatorCta_vue_vue_type_style_index_0_lang_module_default = {
|
|
136
|
-
container: "_container_1yloq_123",
|
|
137
|
-
textAndCloseButton: "_textAndCloseButton_1yloq_132",
|
|
138
|
-
text: "_text_1yloq_132",
|
|
139
|
-
closeButton: "_closeButton_1yloq_145",
|
|
140
|
-
becomeCreatorButton: "_becomeCreatorButton_1yloq_157"
|
|
141
|
-
};
|
|
142
|
-
var BecomeTemplateCreatorCta_default = /* @__PURE__ */ __plugin_vue_export_helper_default(BecomeTemplateCreatorCta_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": BecomeTemplateCreatorCta_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
143
|
-
var VersionUpdateCTA_default = /* @__PURE__ */ defineComponent({
|
|
144
|
-
__name: "VersionUpdateCTA",
|
|
145
|
-
props: {
|
|
146
|
-
disabled: {
|
|
147
|
-
type: Boolean,
|
|
148
|
-
default: false
|
|
149
|
-
},
|
|
150
|
-
tooltipText: { default: void 0 }
|
|
151
|
-
},
|
|
152
|
-
setup(__props) {
|
|
153
|
-
const props = __props;
|
|
154
|
-
const i18n$1 = useI18n();
|
|
155
|
-
const versionsStore = useVersionsStore();
|
|
156
|
-
const pageRedirectionHelper = usePageRedirectionHelper();
|
|
157
|
-
const telemetry = useTelemetry();
|
|
158
|
-
const onUpdateClick = async () => {
|
|
159
|
-
telemetry.track("User clicked on update button", { source: "main-sidebar" });
|
|
160
|
-
await pageRedirectionHelper.goToVersions();
|
|
161
|
-
};
|
|
162
|
-
return (_ctx, _cache) => {
|
|
163
|
-
return openBlock(), createBlock(unref(N8nMenuItem_default), {
|
|
164
|
-
"data-test-id": "version-update-cta-button",
|
|
165
|
-
item: {
|
|
166
|
-
id: "version-update-cta",
|
|
167
|
-
icon: {
|
|
168
|
-
value: "status-warning",
|
|
169
|
-
type: "icon",
|
|
170
|
-
color: "primary"
|
|
171
|
-
},
|
|
172
|
-
disabled: props.disabled,
|
|
173
|
-
label: unref(i18n$1).baseText("whatsNew.versionsBehind", { interpolate: { count: unref(versionsStore).nextVersions.length > 99 ? "99+" : unref(versionsStore).nextVersions.length } })
|
|
174
|
-
},
|
|
175
|
-
onClick: onUpdateClick
|
|
176
|
-
}, null, 8, ["item"]);
|
|
177
|
-
};
|
|
178
|
-
}
|
|
179
|
-
});
|
|
180
|
-
var ProjectNavigation_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
181
|
-
__name: "ProjectNavigation",
|
|
182
|
-
props: {
|
|
183
|
-
collapsed: { type: Boolean },
|
|
184
|
-
planName: {}
|
|
185
|
-
},
|
|
186
|
-
setup(__props) {
|
|
187
|
-
const props = __props;
|
|
188
|
-
const locale = useI18n();
|
|
189
|
-
const globalEntityCreation = useGlobalEntityCreation();
|
|
190
|
-
const projectsStore = useProjectsStore();
|
|
191
|
-
const settingsStore = useSettingsStore();
|
|
192
|
-
const usersStore = useUsersStore();
|
|
193
|
-
const displayProjects = computed(() => globalEntityCreation.displayProjects.value);
|
|
194
|
-
const isFoldersFeatureEnabled = computed(() => settingsStore.isFoldersFeatureEnabled);
|
|
195
|
-
const isChatLinkAvailable = computed(() => settingsStore.isChatFeatureEnabled && hasPermission(["rbac"], { rbac: { scope: "chatHub:message" } }));
|
|
196
|
-
const hasMultipleVerifiedUsers = computed(() => usersStore.allUsers.filter((user) => !user.isPendingUser).length > 1);
|
|
197
|
-
const home$1 = computed(() => ({
|
|
198
|
-
id: "home",
|
|
199
|
-
label: locale.baseText("projects.menu.overview"),
|
|
200
|
-
icon: "house",
|
|
201
|
-
route: { to: { name: VIEWS.HOMEPAGE } }
|
|
202
|
-
}));
|
|
203
|
-
const shared = computed(() => ({
|
|
204
|
-
id: "shared",
|
|
205
|
-
label: locale.baseText("projects.menu.shared"),
|
|
206
|
-
icon: "share",
|
|
207
|
-
route: { to: { name: VIEWS.SHARED_WITH_ME } }
|
|
208
|
-
}));
|
|
209
|
-
const getProjectMenuItem = (project) => ({
|
|
210
|
-
id: project.id,
|
|
211
|
-
label: project.name ?? "",
|
|
212
|
-
icon: project.icon,
|
|
213
|
-
route: { to: {
|
|
214
|
-
name: VIEWS.PROJECTS_WORKFLOWS,
|
|
215
|
-
params: { projectId: project.id }
|
|
216
|
-
} }
|
|
217
|
-
});
|
|
218
|
-
const personalProject = computed(() => ({
|
|
219
|
-
id: projectsStore.personalProject?.id ?? "",
|
|
220
|
-
label: locale.baseText("projects.menu.personal"),
|
|
221
|
-
icon: "user",
|
|
222
|
-
route: { to: {
|
|
223
|
-
name: VIEWS.PROJECTS_WORKFLOWS,
|
|
224
|
-
params: { projectId: projectsStore.personalProject?.id }
|
|
225
|
-
} }
|
|
226
|
-
}));
|
|
227
|
-
const activeTabId = computed(() => {
|
|
228
|
-
return (Array.isArray(projectsStore.projectNavActiveId) ? projectsStore.projectNavActiveId[0] : projectsStore.projectNavActiveId) ?? void 0;
|
|
229
|
-
});
|
|
230
|
-
const chat = computed(() => ({
|
|
231
|
-
id: "chat",
|
|
232
|
-
icon: "message-circle",
|
|
233
|
-
label: locale.baseText("projects.menu.chat"),
|
|
234
|
-
position: "bottom",
|
|
235
|
-
route: { to: { name: CHAT_VIEW } }
|
|
236
|
-
}));
|
|
237
|
-
async function onSourceControlPull() {
|
|
238
|
-
await projectsStore.getMyProjects();
|
|
239
|
-
}
|
|
240
|
-
onBeforeMount(async () => {
|
|
241
|
-
await usersStore.fetchUsers();
|
|
242
|
-
sourceControlEventBus.on("pull", onSourceControlPull);
|
|
243
|
-
});
|
|
244
|
-
onBeforeUnmount(() => {
|
|
245
|
-
sourceControlEventBus.off("pull", onSourceControlPull);
|
|
246
|
-
});
|
|
247
|
-
return (_ctx, _cache) => {
|
|
248
|
-
return openBlock(), createElementBlock("div", { class: normalizeClass(_ctx.$style.projects) }, [
|
|
249
|
-
createBaseVNode("div", { class: normalizeClass([_ctx.$style.home, props.collapsed ? _ctx.$style.collapsed : ""]) }, [
|
|
250
|
-
createVNode(unref(N8nMenuItem_default), {
|
|
251
|
-
item: home$1.value,
|
|
252
|
-
compact: props.collapsed,
|
|
253
|
-
active: activeTabId.value === "home",
|
|
254
|
-
"data-test-id": "project-home-menu-item"
|
|
255
|
-
}, null, 8, [
|
|
256
|
-
"item",
|
|
257
|
-
"compact",
|
|
258
|
-
"active"
|
|
259
|
-
]),
|
|
260
|
-
unref(projectsStore).isTeamProjectFeatureEnabled || isFoldersFeatureEnabled.value ? (openBlock(), createBlock(unref(N8nMenuItem_default), {
|
|
261
|
-
key: 0,
|
|
262
|
-
item: personalProject.value,
|
|
263
|
-
compact: props.collapsed,
|
|
264
|
-
active: activeTabId.value === personalProject.value.id,
|
|
265
|
-
"data-test-id": "project-personal-menu-item"
|
|
266
|
-
}, null, 8, [
|
|
267
|
-
"item",
|
|
268
|
-
"compact",
|
|
269
|
-
"active"
|
|
270
|
-
])) : createCommentVNode("", true),
|
|
271
|
-
(unref(projectsStore).isTeamProjectFeatureEnabled || isFoldersFeatureEnabled.value) && hasMultipleVerifiedUsers.value ? (openBlock(), createBlock(unref(N8nMenuItem_default), {
|
|
272
|
-
key: 1,
|
|
273
|
-
item: shared.value,
|
|
274
|
-
compact: props.collapsed,
|
|
275
|
-
active: activeTabId.value === "shared",
|
|
276
|
-
"data-test-id": "project-shared-menu-item"
|
|
277
|
-
}, null, 8, [
|
|
278
|
-
"item",
|
|
279
|
-
"compact",
|
|
280
|
-
"active"
|
|
281
|
-
])) : createCommentVNode("", true),
|
|
282
|
-
isChatLinkAvailable.value ? (openBlock(), createBlock(unref(N8nMenuItem_default), {
|
|
283
|
-
key: 2,
|
|
284
|
-
item: chat.value,
|
|
285
|
-
compact: props.collapsed,
|
|
286
|
-
active: activeTabId.value === "chat",
|
|
287
|
-
"data-test-id": "project-chat-menu-item"
|
|
288
|
-
}, null, 8, [
|
|
289
|
-
"item",
|
|
290
|
-
"compact",
|
|
291
|
-
"active"
|
|
292
|
-
])) : createCommentVNode("", true)
|
|
293
|
-
], 2),
|
|
294
|
-
!props.collapsed && unref(projectsStore).isTeamProjectFeatureEnabled && displayProjects.value.length > 0 ? (openBlock(), createBlock(unref(N8nText_default), {
|
|
295
|
-
key: 0,
|
|
296
|
-
class: normalizeClass([_ctx.$style.projectsLabel]),
|
|
297
|
-
size: "small",
|
|
298
|
-
bold: "",
|
|
299
|
-
role: "heading",
|
|
300
|
-
color: "text-light"
|
|
301
|
-
}, {
|
|
302
|
-
default: withCtx(() => [createTextVNode(toDisplayString(unref(locale).baseText("projects.menu.title")), 1)]),
|
|
303
|
-
_: 1
|
|
304
|
-
}, 8, ["class"])) : createCommentVNode("", true),
|
|
305
|
-
unref(projectsStore).isTeamProjectFeatureEnabled || isFoldersFeatureEnabled.value ? (openBlock(), createElementBlock("div", {
|
|
306
|
-
key: 1,
|
|
307
|
-
class: normalizeClass(_ctx.$style.projectItems)
|
|
308
|
-
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(displayProjects.value, (project) => {
|
|
309
|
-
return openBlock(), createBlock(unref(N8nMenuItem_default), {
|
|
310
|
-
key: project.id,
|
|
311
|
-
class: normalizeClass({ [_ctx.$style.collapsed]: props.collapsed }),
|
|
312
|
-
item: getProjectMenuItem(project),
|
|
313
|
-
compact: props.collapsed,
|
|
314
|
-
active: activeTabId.value === project.id,
|
|
315
|
-
"data-test-id": "project-menu-item"
|
|
316
|
-
}, null, 8, [
|
|
317
|
-
"class",
|
|
318
|
-
"item",
|
|
319
|
-
"compact",
|
|
320
|
-
"active"
|
|
321
|
-
]);
|
|
322
|
-
}), 128))], 2)) : createCommentVNode("", true)
|
|
323
|
-
], 2);
|
|
324
|
-
};
|
|
325
|
-
}
|
|
326
|
-
});
|
|
327
|
-
var ProjectNavigation_vue_vue_type_style_index_0_lang_module_default = {
|
|
328
|
-
projects: "_projects_cvp5s_123",
|
|
329
|
-
plusBtn: "_plusBtn_cvp5s_128",
|
|
330
|
-
projectItems: "_projectItems_cvp5s_132",
|
|
331
|
-
upgradeLink: "_upgradeLink_cvp5s_136",
|
|
332
|
-
projectsLabel: "_projectsLabel_cvp5s_141",
|
|
333
|
-
collapsed: "_collapsed_cvp5s_150",
|
|
334
|
-
addFirstProjectBtn: "_addFirstProjectBtn_cvp5s_163",
|
|
335
|
-
home: "_home_cvp5s_172"
|
|
336
|
-
};
|
|
337
|
-
var ProjectNavigation_default = /* @__PURE__ */ __plugin_vue_export_helper_default(ProjectNavigation_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": ProjectNavigation_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
10
|
+
import "./sanitize-html-Cc45ZKm8.js";
|
|
11
|
+
import "./CalendarDate-zWqgZMlk.js";
|
|
12
|
+
import "./path-browserify-BtCDmZ3_.js";
|
|
13
|
+
import { i as useBecomeTemplateCreatorStore, n as MainSidebarHeader_default, r as useSidebarLayout, t as BottomMenu_default } from "./BottomMenu-Cej7gwr4.js";
|
|
14
|
+
import { Jo as EXPERIMENT_TEMPLATE_RECO_V3_KEY, Ko as EXPERIMENT_TEMPLATES_DATA_QUALITY_KEY, Oo as getResourcePermissions, Ro as VIEWS, ds as WHATS_NEW_MODAL_KEY, qo as EXPERIMENT_TEMPLATE_RECO_V2_KEY, zo as ABOUT_MODAL_KEY } from "./constants-D52YoOSp.js";
|
|
15
|
+
import "./merge-BmWPLD5Q.js";
|
|
16
|
+
import { r as useRootStore } from "./_baseOrderBy-CesQfsb9.js";
|
|
17
|
+
import "./dateformat-CM9k0--B.js";
|
|
18
|
+
import "./useDebounce-DGSOfe85.js";
|
|
19
|
+
import "./retry-dP46utx2.js";
|
|
20
|
+
import "./executions.store-Dodf4hZt.js";
|
|
21
|
+
import "./useRunWorkflow-CJgkc0Iq.js";
|
|
22
|
+
import "./usePinnedData-Dztv0dCp.js";
|
|
23
|
+
import { _ as useCalloutHelpers } from "./nodeCreator.store-CnQC3Thy.js";
|
|
24
|
+
import "./nodeIcon-Bcr-G7rB.js";
|
|
25
|
+
import "./useClipboard-CqFyEHaX.js";
|
|
26
|
+
import "./useCanvasOperations-BQyHvbXi.js";
|
|
27
|
+
import "./folders.store-Bld2a-oS.js";
|
|
28
|
+
import "./NodeIcon-DL6ucXJC.js";
|
|
29
|
+
import "./KeyboardShortcutTooltip-srIzApSu.js";
|
|
30
|
+
import { t as useVersionsStore } from "./versions.store-qQUmfjg3.js";
|
|
31
|
+
import { t as usePageRedirectionHelper } from "./usePageRedirectionHelper-TzgTKFxt.js";
|
|
32
|
+
import "./dataTable.store-CUsh5p9b.js";
|
|
33
|
+
import { i as useGlobalEntityCreation, n as useBugReporting, r as EXTERNAL_LINKS } from "./useCommandBar-I9Rh00u6.js";
|
|
34
|
+
import "./uniqBy-CJFaA-UD.js";
|
|
35
|
+
import "./ProjectIcon-CEp8nyYM.js";
|
|
36
|
+
import "./CredentialIcon-ClX-2bGh.js";
|
|
37
|
+
import "./sortByProperty-CV1aCzkS.js";
|
|
38
|
+
import { u as CHAT_VIEW } from "./constants-DLTaaipl.js";
|
|
39
|
+
import "./useRecentResources-fniP3oOE.js";
|
|
40
|
+
import { t as sourceControlEventBus } from "./sourceControl.eventBus-KIeXsiU7.js";
|
|
41
|
+
import { t as useKeybindings } from "./useKeybindings-DD-ZZkmj.js";
|
|
42
|
+
import { n as usePersonalizedTemplatesV2Store, t as usePersonalizedTemplatesV3Store } from "./personalizedTemplatesV3.store-BKxUzmKZ.js";
|
|
43
|
+
import "./chat.store-YbHxxnni.js";
|
|
44
|
+
import "./fileUtils-D_SiS8no.js";
|
|
45
|
+
import { t as useSettingsItems } from "./useSettingsItems-Ds8JJZE_.js";
|
|
338
46
|
var MainSidebarSourceControl_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
339
47
|
__name: "MainSidebarSourceControl",
|
|
340
48
|
props: { isCollapsed: { type: Boolean } },
|
|
@@ -540,6 +248,165 @@ var MainSidebarTrialUpgrade_vue_vue_type_style_index_0_lang_module_default = {
|
|
|
540
248
|
mainSidebarTrialMessage: "_mainSidebarTrialMessage_1yg9r_134"
|
|
541
249
|
};
|
|
542
250
|
var MainSidebarTrialUpgrade_default = /* @__PURE__ */ __plugin_vue_export_helper_default(MainSidebarTrialUpgrade_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": MainSidebarTrialUpgrade_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
251
|
+
var ProjectNavigation_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
252
|
+
__name: "ProjectNavigation",
|
|
253
|
+
props: {
|
|
254
|
+
collapsed: { type: Boolean },
|
|
255
|
+
planName: {}
|
|
256
|
+
},
|
|
257
|
+
setup(__props) {
|
|
258
|
+
const props = __props;
|
|
259
|
+
const locale = useI18n();
|
|
260
|
+
const globalEntityCreation = useGlobalEntityCreation();
|
|
261
|
+
const projectsStore = useProjectsStore();
|
|
262
|
+
const settingsStore = useSettingsStore();
|
|
263
|
+
const usersStore = useUsersStore();
|
|
264
|
+
const displayProjects = computed(() => globalEntityCreation.displayProjects.value);
|
|
265
|
+
const isFoldersFeatureEnabled = computed(() => settingsStore.isFoldersFeatureEnabled);
|
|
266
|
+
const isChatLinkAvailable = computed(() => settingsStore.isChatFeatureEnabled && hasPermission(["rbac"], { rbac: { scope: "chatHub:message" } }));
|
|
267
|
+
const hasMultipleVerifiedUsers = computed(() => usersStore.allUsers.filter((user) => !user.isPendingUser).length > 1);
|
|
268
|
+
const home$1 = computed(() => ({
|
|
269
|
+
id: "home",
|
|
270
|
+
label: locale.baseText("projects.menu.overview"),
|
|
271
|
+
icon: "house",
|
|
272
|
+
route: { to: { name: VIEWS.HOMEPAGE } }
|
|
273
|
+
}));
|
|
274
|
+
const shared = computed(() => ({
|
|
275
|
+
id: "shared",
|
|
276
|
+
label: locale.baseText("projects.menu.shared"),
|
|
277
|
+
icon: "share",
|
|
278
|
+
route: { to: { name: VIEWS.SHARED_WITH_ME } }
|
|
279
|
+
}));
|
|
280
|
+
const getProjectMenuItem = (project) => ({
|
|
281
|
+
id: project.id,
|
|
282
|
+
label: project.name ?? "",
|
|
283
|
+
icon: project.icon,
|
|
284
|
+
route: { to: {
|
|
285
|
+
name: VIEWS.PROJECTS_WORKFLOWS,
|
|
286
|
+
params: { projectId: project.id }
|
|
287
|
+
} }
|
|
288
|
+
});
|
|
289
|
+
const personalProject = computed(() => ({
|
|
290
|
+
id: projectsStore.personalProject?.id ?? "",
|
|
291
|
+
label: locale.baseText("projects.menu.personal"),
|
|
292
|
+
icon: "user",
|
|
293
|
+
route: { to: {
|
|
294
|
+
name: VIEWS.PROJECTS_WORKFLOWS,
|
|
295
|
+
params: { projectId: projectsStore.personalProject?.id }
|
|
296
|
+
} }
|
|
297
|
+
}));
|
|
298
|
+
const activeTabId = computed(() => {
|
|
299
|
+
return (Array.isArray(projectsStore.projectNavActiveId) ? projectsStore.projectNavActiveId[0] : projectsStore.projectNavActiveId) ?? void 0;
|
|
300
|
+
});
|
|
301
|
+
const chat = computed(() => ({
|
|
302
|
+
id: "chat",
|
|
303
|
+
icon: "message-circle",
|
|
304
|
+
label: locale.baseText("projects.menu.chat"),
|
|
305
|
+
position: "bottom",
|
|
306
|
+
route: { to: { name: CHAT_VIEW } },
|
|
307
|
+
beta: true
|
|
308
|
+
}));
|
|
309
|
+
async function onSourceControlPull() {
|
|
310
|
+
await projectsStore.getMyProjects();
|
|
311
|
+
}
|
|
312
|
+
onBeforeMount(async () => {
|
|
313
|
+
await usersStore.fetchUsers();
|
|
314
|
+
sourceControlEventBus.on("pull", onSourceControlPull);
|
|
315
|
+
});
|
|
316
|
+
onBeforeUnmount(() => {
|
|
317
|
+
sourceControlEventBus.off("pull", onSourceControlPull);
|
|
318
|
+
});
|
|
319
|
+
return (_ctx, _cache) => {
|
|
320
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(_ctx.$style.projects) }, [
|
|
321
|
+
createBaseVNode("div", { class: normalizeClass([_ctx.$style.home, props.collapsed ? _ctx.$style.collapsed : ""]) }, [
|
|
322
|
+
createVNode(unref(N8nMenuItem_default), {
|
|
323
|
+
item: home$1.value,
|
|
324
|
+
compact: props.collapsed,
|
|
325
|
+
active: activeTabId.value === "home",
|
|
326
|
+
"data-test-id": "project-home-menu-item"
|
|
327
|
+
}, null, 8, [
|
|
328
|
+
"item",
|
|
329
|
+
"compact",
|
|
330
|
+
"active"
|
|
331
|
+
]),
|
|
332
|
+
unref(projectsStore).isTeamProjectFeatureEnabled || isFoldersFeatureEnabled.value ? (openBlock(), createBlock(unref(N8nMenuItem_default), {
|
|
333
|
+
key: 0,
|
|
334
|
+
item: personalProject.value,
|
|
335
|
+
compact: props.collapsed,
|
|
336
|
+
active: activeTabId.value === personalProject.value.id,
|
|
337
|
+
"data-test-id": "project-personal-menu-item"
|
|
338
|
+
}, null, 8, [
|
|
339
|
+
"item",
|
|
340
|
+
"compact",
|
|
341
|
+
"active"
|
|
342
|
+
])) : createCommentVNode("", true),
|
|
343
|
+
(unref(projectsStore).isTeamProjectFeatureEnabled || isFoldersFeatureEnabled.value) && hasMultipleVerifiedUsers.value ? (openBlock(), createBlock(unref(N8nMenuItem_default), {
|
|
344
|
+
key: 1,
|
|
345
|
+
item: shared.value,
|
|
346
|
+
compact: props.collapsed,
|
|
347
|
+
active: activeTabId.value === "shared",
|
|
348
|
+
"data-test-id": "project-shared-menu-item"
|
|
349
|
+
}, null, 8, [
|
|
350
|
+
"item",
|
|
351
|
+
"compact",
|
|
352
|
+
"active"
|
|
353
|
+
])) : createCommentVNode("", true),
|
|
354
|
+
isChatLinkAvailable.value ? (openBlock(), createBlock(unref(N8nMenuItem_default), {
|
|
355
|
+
key: 2,
|
|
356
|
+
item: chat.value,
|
|
357
|
+
compact: props.collapsed,
|
|
358
|
+
active: activeTabId.value === "chat",
|
|
359
|
+
"data-test-id": "project-chat-menu-item"
|
|
360
|
+
}, null, 8, [
|
|
361
|
+
"item",
|
|
362
|
+
"compact",
|
|
363
|
+
"active"
|
|
364
|
+
])) : createCommentVNode("", true)
|
|
365
|
+
], 2),
|
|
366
|
+
!props.collapsed && unref(projectsStore).isTeamProjectFeatureEnabled && displayProjects.value.length > 0 ? (openBlock(), createBlock(unref(N8nText_default), {
|
|
367
|
+
key: 0,
|
|
368
|
+
class: normalizeClass([_ctx.$style.projectsLabel]),
|
|
369
|
+
size: "small",
|
|
370
|
+
bold: "",
|
|
371
|
+
role: "heading",
|
|
372
|
+
color: "text-light"
|
|
373
|
+
}, {
|
|
374
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(locale).baseText("projects.menu.title")), 1)]),
|
|
375
|
+
_: 1
|
|
376
|
+
}, 8, ["class"])) : createCommentVNode("", true),
|
|
377
|
+
unref(projectsStore).isTeamProjectFeatureEnabled || isFoldersFeatureEnabled.value ? (openBlock(), createElementBlock("div", {
|
|
378
|
+
key: 1,
|
|
379
|
+
class: normalizeClass(_ctx.$style.projectItems)
|
|
380
|
+
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(displayProjects.value, (project) => {
|
|
381
|
+
return openBlock(), createBlock(unref(N8nMenuItem_default), {
|
|
382
|
+
key: project.id,
|
|
383
|
+
class: normalizeClass({ [_ctx.$style.collapsed]: props.collapsed }),
|
|
384
|
+
item: getProjectMenuItem(project),
|
|
385
|
+
compact: props.collapsed,
|
|
386
|
+
active: activeTabId.value === project.id,
|
|
387
|
+
"data-test-id": "project-menu-item"
|
|
388
|
+
}, null, 8, [
|
|
389
|
+
"class",
|
|
390
|
+
"item",
|
|
391
|
+
"compact",
|
|
392
|
+
"active"
|
|
393
|
+
]);
|
|
394
|
+
}), 128))], 2)) : createCommentVNode("", true)
|
|
395
|
+
], 2);
|
|
396
|
+
};
|
|
397
|
+
}
|
|
398
|
+
});
|
|
399
|
+
var ProjectNavigation_vue_vue_type_style_index_0_lang_module_default = {
|
|
400
|
+
projects: "_projects_cvp5s_123",
|
|
401
|
+
plusBtn: "_plusBtn_cvp5s_128",
|
|
402
|
+
projectItems: "_projectItems_cvp5s_132",
|
|
403
|
+
upgradeLink: "_upgradeLink_cvp5s_136",
|
|
404
|
+
projectsLabel: "_projectsLabel_cvp5s_141",
|
|
405
|
+
collapsed: "_collapsed_cvp5s_150",
|
|
406
|
+
addFirstProjectBtn: "_addFirstProjectBtn_cvp5s_163",
|
|
407
|
+
home: "_home_cvp5s_172"
|
|
408
|
+
};
|
|
409
|
+
var ProjectNavigation_default = /* @__PURE__ */ __plugin_vue_export_helper_default(ProjectNavigation_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": ProjectNavigation_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
543
410
|
var TemplateTooltip_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
544
411
|
__name: "TemplateTooltip",
|
|
545
412
|
setup(__props) {
|
|
@@ -651,44 +518,6 @@ var TemplateTooltip_vue_vue_type_style_index_0_lang_module_default = {
|
|
|
651
518
|
dismissButton: "_dismissButton_5kwt6_146"
|
|
652
519
|
};
|
|
653
520
|
var TemplateTooltip_default = /* @__PURE__ */ __plugin_vue_export_helper_default(TemplateTooltip_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": TemplateTooltip_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
654
|
-
function useSidebarLayout() {
|
|
655
|
-
const uiStore = useUIStore();
|
|
656
|
-
const isCollapsed = computed(() => uiStore.sidebarMenuCollapsed);
|
|
657
|
-
const sidebarWidth = useLocalStorage(LOCAL_STORAGE_SIDEBAR_WIDTH, isCollapsed.value ? 42 : 300);
|
|
658
|
-
const toggleCollapse = () => {
|
|
659
|
-
uiStore.toggleSidebarMenuCollapse();
|
|
660
|
-
if (!isCollapsed.value) sidebarWidth.value = 200;
|
|
661
|
-
else sidebarWidth.value = 42;
|
|
662
|
-
};
|
|
663
|
-
const isResizing = ref(false);
|
|
664
|
-
function onResizeStart() {
|
|
665
|
-
isResizing.value = true;
|
|
666
|
-
}
|
|
667
|
-
function onResize(event) {
|
|
668
|
-
if (isCollapsed.value && event.x > 100) {
|
|
669
|
-
toggleCollapse();
|
|
670
|
-
return;
|
|
671
|
-
}
|
|
672
|
-
if (isCollapsed.value) return;
|
|
673
|
-
if (event.x < 100 && !isCollapsed.value) {
|
|
674
|
-
toggleCollapse();
|
|
675
|
-
return;
|
|
676
|
-
}
|
|
677
|
-
sidebarWidth.value = event.width;
|
|
678
|
-
}
|
|
679
|
-
function onResizeEnd() {
|
|
680
|
-
isResizing.value = false;
|
|
681
|
-
}
|
|
682
|
-
return {
|
|
683
|
-
isCollapsed,
|
|
684
|
-
toggleCollapse,
|
|
685
|
-
sidebarWidth,
|
|
686
|
-
isResizing,
|
|
687
|
-
onResizeStart,
|
|
688
|
-
onResize,
|
|
689
|
-
onResizeEnd
|
|
690
|
-
};
|
|
691
|
-
}
|
|
692
521
|
var MainSidebar_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
693
522
|
__name: "MainSidebar",
|
|
694
523
|
setup(__props) {
|
|
@@ -698,10 +527,8 @@ var MainSidebar_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
|
|
|
698
527
|
const settingsStore = useSettingsStore();
|
|
699
528
|
const templatesStore = useTemplatesStore();
|
|
700
529
|
const uiStore = useUIStore();
|
|
701
|
-
const usersStore = useUsersStore();
|
|
702
530
|
const versionsStore = useVersionsStore();
|
|
703
531
|
const workflowsStore = useWorkflowsStore();
|
|
704
|
-
const sourceControlStore = useSourceControlStore();
|
|
705
532
|
const personalizedTemplatesV2Store = usePersonalizedTemplatesV2Store();
|
|
706
533
|
const personalizedTemplatesV3Store = usePersonalizedTemplatesV3Store();
|
|
707
534
|
const templatesDataQualityStore = useTemplatesDataQualityStore();
|
|
@@ -712,11 +539,6 @@ var MainSidebar_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
|
|
|
712
539
|
const { getReportingURL } = useBugReporting();
|
|
713
540
|
const calloutHelpers = useCalloutHelpers();
|
|
714
541
|
const { isCollapsed, sidebarWidth, onResizeStart, onResize, onResizeEnd, toggleCollapse } = useSidebarLayout();
|
|
715
|
-
useKeybindings({
|
|
716
|
-
ctrl_alt_o: () => handleSelect("about"),
|
|
717
|
-
["bracketleft"]: () => toggleCollapse()
|
|
718
|
-
});
|
|
719
|
-
const { isEnabled: isCommandBarEnabled } = useCommandBar();
|
|
720
542
|
const { settingsItems } = useSettingsItems();
|
|
721
543
|
const basePath = ref("");
|
|
722
544
|
const showWhatsNewNotification = computed(() => versionsStore.hasVersionUpdates || versionsStore.whatsNewArticles.some((article) => !versionsStore.isWhatsNewArticleRead(article.id)));
|
|
@@ -842,41 +664,6 @@ var MainSidebar_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
|
|
|
842
664
|
}
|
|
843
665
|
]);
|
|
844
666
|
const visibleMenuItems = computed(() => mainMenuItems.value.filter((item) => item.available !== false));
|
|
845
|
-
const whatsNewItems = computed(() => ({
|
|
846
|
-
available: versionsStore.hasVersionUpdates || versionsStore.whatsNewArticles.length > 0,
|
|
847
|
-
children: [
|
|
848
|
-
...versionsStore.whatsNewArticles.map((article) => ({
|
|
849
|
-
id: `whats-new-article-${article.id}`,
|
|
850
|
-
label: article.title,
|
|
851
|
-
size: "small",
|
|
852
|
-
customIconSize: "small",
|
|
853
|
-
icon: {
|
|
854
|
-
type: "emoji",
|
|
855
|
-
value: "•",
|
|
856
|
-
color: !versionsStore.isWhatsNewArticleRead(article.id) ? "primary" : "text-light"
|
|
857
|
-
}
|
|
858
|
-
})),
|
|
859
|
-
{
|
|
860
|
-
id: "full-changelog",
|
|
861
|
-
icon: "external-link",
|
|
862
|
-
label: i18n$1.baseText("mainSidebar.whatsNew.fullChangelog"),
|
|
863
|
-
link: {
|
|
864
|
-
href: RELEASE_NOTES_URL,
|
|
865
|
-
target: "_blank"
|
|
866
|
-
},
|
|
867
|
-
size: "small",
|
|
868
|
-
customIconSize: "small"
|
|
869
|
-
},
|
|
870
|
-
{
|
|
871
|
-
id: "version-upgrade-cta",
|
|
872
|
-
component: VersionUpdateCTA_default,
|
|
873
|
-
available: versionsStore.hasVersionUpdates && usersStore.canUserUpdateVersion,
|
|
874
|
-
props: { tooltipText: !usersStore.canUserUpdateVersion ? i18n$1.baseText("whatsNew.updateNudgeTooltip") : void 0 }
|
|
875
|
-
}
|
|
876
|
-
]
|
|
877
|
-
}));
|
|
878
|
-
const createBtn = ref();
|
|
879
|
-
const userIsTrialing = computed(() => cloudPlanStore.userIsTrialing);
|
|
880
667
|
onMounted(() => {
|
|
881
668
|
basePath.value = rootStore.baseUrl;
|
|
882
669
|
becomeTemplateCreatorStore.startMonitoringCta();
|
|
@@ -937,7 +724,9 @@ var MainSidebar_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
|
|
|
937
724
|
case "examples":
|
|
938
725
|
trackHelpItemClick(key);
|
|
939
726
|
break;
|
|
940
|
-
case "insights":
|
|
727
|
+
case "insights":
|
|
728
|
+
telemetry.track("User clicked insights link from side menu");
|
|
729
|
+
break;
|
|
941
730
|
default:
|
|
942
731
|
if (key.startsWith("whats-new-article-")) {
|
|
943
732
|
const articleId = Number(key.replace("whats-new-article-", ""));
|
|
@@ -950,13 +739,13 @@ var MainSidebar_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
|
|
|
950
739
|
break;
|
|
951
740
|
}
|
|
952
741
|
};
|
|
953
|
-
const { menu, handleSelect: handleMenuSelect, createProjectAppendSlotName, createWorkflowsAppendSlotName, createCredentialsAppendSlotName, projectsLimitReachedMessage, upgradeLabel, hasPermissionToCreateProjects } = useGlobalEntityCreation();
|
|
954
|
-
onClickOutside(createBtn, () => {
|
|
955
|
-
createBtn.value?.close();
|
|
956
|
-
});
|
|
957
742
|
const onLogout = () => {
|
|
958
743
|
router.push({ name: VIEWS.SIGNOUT });
|
|
959
744
|
};
|
|
745
|
+
useKeybindings({
|
|
746
|
+
ctrl_alt_o: () => handleSelect("about"),
|
|
747
|
+
["bracketleft"]: () => toggleCollapse()
|
|
748
|
+
});
|
|
960
749
|
return (_ctx, _cache) => {
|
|
961
750
|
return openBlock(), createBlock(unref(N8nResizeWrapper_default), {
|
|
962
751
|
id: "side-menu",
|
|
@@ -975,274 +764,21 @@ var MainSidebar_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
|
|
|
975
764
|
onResizeend: unref(onResizeEnd)
|
|
976
765
|
}, {
|
|
977
766
|
default: withCtx(() => [
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
collapsed: unref(isCollapsed),
|
|
984
|
-
"release-channel": unref(settingsStore).settings.releaseChannel
|
|
985
|
-
}, {
|
|
986
|
-
default: withCtx(() => [unref(sourceControlStore).preferences.branchReadOnly && !unref(isCollapsed) ? (openBlock(), createBlock(unref(N8nTooltip_default), {
|
|
987
|
-
key: 0,
|
|
988
|
-
placement: "bottom"
|
|
989
|
-
}, {
|
|
990
|
-
content: withCtx(() => [createVNode(unref(I18nT), {
|
|
991
|
-
keypath: "readOnlyEnv.tooltip",
|
|
992
|
-
scope: "global"
|
|
993
|
-
}, {
|
|
994
|
-
link: withCtx(() => [createVNode(unref(N8nLink_default), {
|
|
995
|
-
to: "https://docs.n8n.io/source-control-environments/setup/#step-4-connect-n8n-and-configure-your-instance",
|
|
996
|
-
size: "small"
|
|
997
|
-
}, {
|
|
998
|
-
default: withCtx(() => [createTextVNode(toDisplayString(unref(i18n$1).baseText("readOnlyEnv.tooltip.link")), 1)]),
|
|
999
|
-
_: 1
|
|
1000
|
-
})]),
|
|
1001
|
-
_: 1
|
|
1002
|
-
})]),
|
|
1003
|
-
default: withCtx(() => [createVNode(unref(N8nIcon_default), {
|
|
1004
|
-
"data-test-id": "read-only-env-icon",
|
|
1005
|
-
icon: "lock",
|
|
1006
|
-
class: normalizeClass(_ctx.$style.readOnlyEnvironmentIcon)
|
|
1007
|
-
}, null, 8, ["class"])]),
|
|
1008
|
-
_: 1
|
|
1009
|
-
})) : createCommentVNode("", true)]),
|
|
1010
|
-
_: 1
|
|
1011
|
-
}, 8, [
|
|
1012
|
-
"class",
|
|
1013
|
-
"collapsed",
|
|
1014
|
-
"release-channel"
|
|
1015
|
-
])) : createCommentVNode("", true),
|
|
1016
|
-
createVNode(KeyboardShortcutTooltip_default, {
|
|
1017
|
-
placement: unref(isCollapsed) ? "right" : "bottom",
|
|
1018
|
-
label: unref(isCollapsed) ? unref(i18n$1).baseText("mainSidebar.state.expand") : unref(i18n$1).baseText("mainSidebar.state.collapse"),
|
|
1019
|
-
"show-after": "500",
|
|
1020
|
-
shortcut: { keys: ["["] }
|
|
1021
|
-
}, {
|
|
1022
|
-
default: withCtx(() => [createVNode(unref(N8nIconButton_default), {
|
|
1023
|
-
id: "toggle-sidebar-button",
|
|
1024
|
-
size: "small",
|
|
1025
|
-
type: "highlight",
|
|
1026
|
-
icon: "panel-left",
|
|
1027
|
-
"icon-size": "large",
|
|
1028
|
-
"aria-label": "Toggle sidebar",
|
|
1029
|
-
onClick: unref(toggleCollapse)
|
|
1030
|
-
}, null, 8, ["onClick"])]),
|
|
1031
|
-
_: 1
|
|
1032
|
-
}, 8, ["placement", "label"]),
|
|
1033
|
-
createVNode(unref(N8nNavigationDropdown_default), {
|
|
1034
|
-
ref_key: "createBtn",
|
|
1035
|
-
ref: createBtn,
|
|
1036
|
-
"data-test-id": "universal-add",
|
|
1037
|
-
menu: unref(menu),
|
|
1038
|
-
onSelect: unref(handleMenuSelect)
|
|
1039
|
-
}, {
|
|
1040
|
-
[unref(createWorkflowsAppendSlotName)]: withCtx(() => [unref(sourceControlStore).preferences.branchReadOnly ? (openBlock(), createBlock(unref(N8nTooltip_default), {
|
|
1041
|
-
key: 0,
|
|
1042
|
-
placement: "right",
|
|
1043
|
-
content: unref(i18n$1).baseText("readOnlyEnv.cantAdd.workflow")
|
|
1044
|
-
}, {
|
|
1045
|
-
default: withCtx(() => [createVNode(unref(N8nIcon_default), {
|
|
1046
|
-
style: {
|
|
1047
|
-
"margin-left": "auto",
|
|
1048
|
-
"margin-right": "5px"
|
|
1049
|
-
},
|
|
1050
|
-
icon: "lock",
|
|
1051
|
-
size: "xsmall"
|
|
1052
|
-
})]),
|
|
1053
|
-
_: 1
|
|
1054
|
-
}, 8, ["content"])) : createCommentVNode("", true)]),
|
|
1055
|
-
[unref(createCredentialsAppendSlotName)]: withCtx(() => [unref(sourceControlStore).preferences.branchReadOnly ? (openBlock(), createBlock(unref(N8nTooltip_default), {
|
|
1056
|
-
key: 0,
|
|
1057
|
-
placement: "right",
|
|
1058
|
-
content: unref(i18n$1).baseText("readOnlyEnv.cantAdd.credential")
|
|
1059
|
-
}, {
|
|
1060
|
-
default: withCtx(() => [createVNode(unref(N8nIcon_default), {
|
|
1061
|
-
style: {
|
|
1062
|
-
"margin-left": "auto",
|
|
1063
|
-
"margin-right": "5px"
|
|
1064
|
-
},
|
|
1065
|
-
icon: "lock",
|
|
1066
|
-
size: "xsmall"
|
|
1067
|
-
})]),
|
|
1068
|
-
_: 1
|
|
1069
|
-
}, 8, ["content"])) : createCommentVNode("", true)]),
|
|
1070
|
-
[unref(createProjectAppendSlotName)]: withCtx(({ item }) => [unref(sourceControlStore).preferences.branchReadOnly ? (openBlock(), createBlock(unref(N8nTooltip_default), {
|
|
1071
|
-
key: 0,
|
|
1072
|
-
placement: "right",
|
|
1073
|
-
content: unref(i18n$1).baseText("readOnlyEnv.cantAdd.project")
|
|
1074
|
-
}, {
|
|
1075
|
-
default: withCtx(() => [createVNode(unref(N8nIcon_default), {
|
|
1076
|
-
style: {
|
|
1077
|
-
"margin-left": "auto",
|
|
1078
|
-
"margin-right": "5px"
|
|
1079
|
-
},
|
|
1080
|
-
icon: "lock",
|
|
1081
|
-
size: "xsmall"
|
|
1082
|
-
})]),
|
|
1083
|
-
_: 1
|
|
1084
|
-
}, 8, ["content"])) : item.disabled ? (openBlock(), createBlock(unref(N8nTooltip_default), {
|
|
1085
|
-
key: 1,
|
|
1086
|
-
placement: "right",
|
|
1087
|
-
content: unref(projectsLimitReachedMessage)
|
|
1088
|
-
}, {
|
|
1089
|
-
default: withCtx(() => [!unref(hasPermissionToCreateProjects) ? (openBlock(), createBlock(unref(N8nIcon_default), {
|
|
1090
|
-
key: 0,
|
|
1091
|
-
style: {
|
|
1092
|
-
"margin-left": "auto",
|
|
1093
|
-
"margin-right": "5px"
|
|
1094
|
-
},
|
|
1095
|
-
icon: "lock",
|
|
1096
|
-
size: "xsmall"
|
|
1097
|
-
})) : (openBlock(), createBlock(unref(N8nButton_default), {
|
|
1098
|
-
key: 1,
|
|
1099
|
-
size: "mini",
|
|
1100
|
-
style: { "margin-left": "auto" },
|
|
1101
|
-
type: "tertiary",
|
|
1102
|
-
onClick: ($event) => unref(handleMenuSelect)(item.id)
|
|
1103
|
-
}, {
|
|
1104
|
-
default: withCtx(() => [createTextVNode(toDisplayString(unref(upgradeLabel)), 1)]),
|
|
1105
|
-
_: 2
|
|
1106
|
-
}, 1032, ["onClick"]))]),
|
|
1107
|
-
_: 2
|
|
1108
|
-
}, 1032, ["content"])) : createCommentVNode("", true)]),
|
|
1109
|
-
default: withCtx(() => [createVNode(unref(N8nIconButton_default), {
|
|
1110
|
-
size: "small",
|
|
1111
|
-
type: "highlight",
|
|
1112
|
-
icon: "plus",
|
|
1113
|
-
"icon-size": "large",
|
|
1114
|
-
"aria-label": "Add new item"
|
|
1115
|
-
})]),
|
|
1116
|
-
_: 2
|
|
1117
|
-
}, 1032, ["menu", "onSelect"]),
|
|
1118
|
-
unref(isCommandBarEnabled) ? (openBlock(), createBlock(KeyboardShortcutTooltip_default, {
|
|
1119
|
-
key: 1,
|
|
1120
|
-
placement: unref(isCollapsed) ? "right" : "bottom",
|
|
1121
|
-
"show-after": "500",
|
|
1122
|
-
label: unref(i18n$1).baseText("nodeView.openCommandBar"),
|
|
1123
|
-
shortcut: {
|
|
1124
|
-
keys: ["k"],
|
|
1125
|
-
metaKey: true
|
|
1126
|
-
}
|
|
1127
|
-
}, {
|
|
1128
|
-
default: withCtx(() => [createVNode(unref(N8nIconButton_default), {
|
|
1129
|
-
size: "small",
|
|
1130
|
-
type: "highlight",
|
|
1131
|
-
icon: "search",
|
|
1132
|
-
"icon-size": "large",
|
|
1133
|
-
"aria-label": "Open command palette",
|
|
1134
|
-
onClick: openCommandBar
|
|
1135
|
-
})]),
|
|
1136
|
-
_: 1
|
|
1137
|
-
}, 8, ["placement", "label"])) : createCommentVNode("", true)
|
|
1138
|
-
], 2),
|
|
767
|
+
createVNode(MainSidebarHeader_default, {
|
|
768
|
+
"is-collapsed": unref(isCollapsed),
|
|
769
|
+
onCollapse: unref(toggleCollapse),
|
|
770
|
+
onOpenCommandBar: openCommandBar
|
|
771
|
+
}, null, 8, ["is-collapsed", "onCollapse"]),
|
|
1139
772
|
createVNode(unref(N8nScrollArea_default), { "as-child": "" }, {
|
|
1140
773
|
default: withCtx(() => [createBaseVNode("div", { class: normalizeClass(_ctx.$style.scrollArea) }, [createVNode(ProjectNavigation_default, {
|
|
1141
774
|
collapsed: unref(isCollapsed),
|
|
1142
775
|
"plan-name": unref(cloudPlanStore).currentPlanData?.displayName
|
|
1143
|
-
}, null, 8, ["collapsed", "plan-name"]),
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
}, {
|
|
1150
|
-
content: withCtx(() => [createBaseVNode("div", { class: normalizeClass(_ctx.$style.popover) }, [
|
|
1151
|
-
!unref(isCollapsed) && !userIsTrialing.value ? (openBlock(), createBlock(BecomeTemplateCreatorCta_default, { key: 0 })) : createCommentVNode("", true),
|
|
1152
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(item.children, (child) => {
|
|
1153
|
-
return openBlock(), createElementBlock(Fragment, { key: child.id }, [unref(isCustomMenuItem)(child) ? (openBlock(), createBlock(resolveDynamicComponent(child.component), mergeProps({
|
|
1154
|
-
key: 0,
|
|
1155
|
-
ref_for: true
|
|
1156
|
-
}, child.props), null, 16)) : (openBlock(), createBlock(unref(N8nMenuItem_default), {
|
|
1157
|
-
key: 1,
|
|
1158
|
-
item: child,
|
|
1159
|
-
onClick: () => handleSelect(child.id)
|
|
1160
|
-
}, null, 8, ["item", "onClick"]))], 64);
|
|
1161
|
-
}), 128)),
|
|
1162
|
-
whatsNewItems.value.available ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [createVNode(unref(N8nText_default), {
|
|
1163
|
-
bold: "",
|
|
1164
|
-
size: "small",
|
|
1165
|
-
class: normalizeClass(_ctx.$style.popoverTitle),
|
|
1166
|
-
color: "text-light"
|
|
1167
|
-
}, {
|
|
1168
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [createTextVNode("What's new")])),
|
|
1169
|
-
_: 1
|
|
1170
|
-
}, 8, ["class"]), (openBlock(true), createElementBlock(Fragment, null, renderList(whatsNewItems.value.children, (child) => {
|
|
1171
|
-
return openBlock(), createElementBlock(Fragment, { key: child.id }, [unref(isCustomMenuItem)(child) ? (openBlock(), createBlock(resolveDynamicComponent(child.component), mergeProps({
|
|
1172
|
-
key: 0,
|
|
1173
|
-
ref_for: true
|
|
1174
|
-
}, child.props), null, 16)) : (openBlock(), createBlock(unref(N8nMenuItem_default), {
|
|
1175
|
-
key: 1,
|
|
1176
|
-
item: child,
|
|
1177
|
-
onClick: () => handleSelect(child.id)
|
|
1178
|
-
}, null, 8, ["item", "onClick"]))], 64);
|
|
1179
|
-
}), 128))], 64)) : createCommentVNode("", true)
|
|
1180
|
-
], 2)]),
|
|
1181
|
-
trigger: withCtx(() => [createVNode(unref(N8nMenuItem_default), {
|
|
1182
|
-
"data-test-id": `main-sidebar-${item.id}`,
|
|
1183
|
-
item,
|
|
1184
|
-
compact: unref(isCollapsed),
|
|
1185
|
-
onClick: () => handleSelect(item.id)
|
|
1186
|
-
}, null, 8, [
|
|
1187
|
-
"data-test-id",
|
|
1188
|
-
"item",
|
|
1189
|
-
"compact",
|
|
1190
|
-
"onClick"
|
|
1191
|
-
])]),
|
|
1192
|
-
_: 2
|
|
1193
|
-
}, 1024)) : item.children && item.id === "settings" ? (openBlock(), createBlock(unref(N8nPopoverReka_default), {
|
|
1194
|
-
key: "settings",
|
|
1195
|
-
side: "right",
|
|
1196
|
-
align: "end",
|
|
1197
|
-
"side-offset": 12
|
|
1198
|
-
}, {
|
|
1199
|
-
content: withCtx(() => [createBaseVNode("div", { class: normalizeClass(_ctx.$style.popover) }, [
|
|
1200
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(item.children, (child) => {
|
|
1201
|
-
return openBlock(), createElementBlock(Fragment, { key: child.id }, [unref(isCustomMenuItem)(child) ? (openBlock(), createBlock(resolveDynamicComponent(child.component), mergeProps({
|
|
1202
|
-
key: 0,
|
|
1203
|
-
ref_for: true
|
|
1204
|
-
}, child.props), null, 16)) : (openBlock(), createBlock(unref(N8nMenuItem_default), {
|
|
1205
|
-
key: 1,
|
|
1206
|
-
item: child,
|
|
1207
|
-
onClick: () => handleSelect(child.id)
|
|
1208
|
-
}, null, 8, ["item", "onClick"]))], 64);
|
|
1209
|
-
}), 128)),
|
|
1210
|
-
createBaseVNode("span", { class: normalizeClass(_ctx.$style.divider) }, null, 2),
|
|
1211
|
-
createVNode(unref(N8nMenuItem_default), {
|
|
1212
|
-
"data-test-id": "main-sidebar-log-out",
|
|
1213
|
-
item: {
|
|
1214
|
-
id: "sign-out",
|
|
1215
|
-
label: "Sign out",
|
|
1216
|
-
icon: "door-open"
|
|
1217
|
-
},
|
|
1218
|
-
onClick: onLogout
|
|
1219
|
-
})
|
|
1220
|
-
], 2)]),
|
|
1221
|
-
trigger: withCtx(() => [createVNode(unref(N8nMenuItem_default), {
|
|
1222
|
-
"data-test-id": `main-sidebar-${item.id}`,
|
|
1223
|
-
item,
|
|
1224
|
-
compact: unref(isCollapsed),
|
|
1225
|
-
onClick: () => handleSelect(item.id)
|
|
1226
|
-
}, null, 8, [
|
|
1227
|
-
"data-test-id",
|
|
1228
|
-
"item",
|
|
1229
|
-
"compact",
|
|
1230
|
-
"onClick"
|
|
1231
|
-
])]),
|
|
1232
|
-
_: 2
|
|
1233
|
-
}, 1024)) : (openBlock(), createBlock(unref(N8nMenuItem_default), {
|
|
1234
|
-
key: 2,
|
|
1235
|
-
"data-test-id": `main-sidebar-${item.id}`,
|
|
1236
|
-
item,
|
|
1237
|
-
compact: unref(isCollapsed),
|
|
1238
|
-
onClick: () => handleSelect(item.id)
|
|
1239
|
-
}, null, 8, [
|
|
1240
|
-
"data-test-id",
|
|
1241
|
-
"item",
|
|
1242
|
-
"compact",
|
|
1243
|
-
"onClick"
|
|
1244
|
-
]))], 64);
|
|
1245
|
-
}), 128))], 2)], 2)], 2)]),
|
|
776
|
+
}, null, 8, ["collapsed", "plan-name"]), createVNode(BottomMenu_default, {
|
|
777
|
+
items: visibleMenuItems.value,
|
|
778
|
+
"is-collapsed": unref(isCollapsed),
|
|
779
|
+
onLogout,
|
|
780
|
+
onSelect: handleSelect
|
|
781
|
+
}, null, 8, ["items", "is-collapsed"])], 2)]),
|
|
1246
782
|
_: 1
|
|
1247
783
|
}),
|
|
1248
784
|
createVNode(MainSidebarSourceControl_default, { "is-collapsed": unref(isCollapsed) }, null, 8, ["is-collapsed"]),
|
|
@@ -1262,17 +798,9 @@ var MainSidebar_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
|
|
|
1262
798
|
}
|
|
1263
799
|
});
|
|
1264
800
|
var MainSidebar_vue_vue_type_style_index_0_lang_module_default = {
|
|
1265
|
-
sideMenu: "
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
logo: "_logo_1g1dy_154",
|
|
1269
|
-
scrollArea: "_scrollArea_1g1dy_158",
|
|
1270
|
-
bottomMenu: "_bottomMenu_1g1dy_164",
|
|
1271
|
-
bottomMenuItems: "_bottomMenuItems_1g1dy_174",
|
|
1272
|
-
popover: "_popover_1g1dy_178",
|
|
1273
|
-
divider: "_divider_1g1dy_185",
|
|
1274
|
-
popoverTitle: "_popoverTitle_1g1dy_194",
|
|
1275
|
-
readOnlyEnvironmentIcon: "_readOnlyEnvironmentIcon_1g1dy_206"
|
|
801
|
+
sideMenu: "_sideMenu_18grn_123",
|
|
802
|
+
sideMenuCollapsed: "_sideMenuCollapsed_18grn_131",
|
|
803
|
+
scrollArea: "_scrollArea_18grn_136"
|
|
1276
804
|
};
|
|
1277
805
|
var MainSidebar_default = /* @__PURE__ */ __plugin_vue_export_helper_default(MainSidebar_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": MainSidebar_vue_vue_type_style_index_0_lang_module_default }]]);
|
|
1278
806
|
export { MainSidebar_default as default };
|