n8n-editor-ui 1.115.0 → 1.116.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.
Files changed (210) hide show
  1. package/.build/cache-marker +1 -1
  2. package/.build/node-popularity.json +1805 -1805
  3. package/dist/assets/{AddDataStoreModal-B7jBhCjt.css → AddDataTableModal-BzS5Yqag.css} +6 -6
  4. package/dist/assets/{AddDataStoreModal-D1m77imr.js → AddDataTableModal-D3lCNgpn.js} +32 -32
  5. package/dist/assets/{AnimatedSpinner-VYZMBdPo.js → AnimatedSpinner-Cr27l8Js.js} +1 -1
  6. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BCZ2z0dw.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BC2t-vmg.js} +1 -1
  7. package/dist/assets/{AuthView-CWVio_MZ.css → AuthView-BvfgleDU.css} +30 -30
  8. package/dist/assets/{AuthView-9wJerlt_.js → AuthView-ByAdS5FY.js} +14 -14
  9. package/dist/assets/{ChangePasswordView-utlA3rSp.js → ChangePasswordView-CQSCgqRg.js} +3 -3
  10. package/dist/assets/ChatSidebar-BIKL7c8K.js +117 -0
  11. package/dist/assets/ChatSidebar-wKAC9nrh.css +165 -0
  12. package/dist/assets/ChatView-ClX1FsZV.css +657 -0
  13. package/dist/assets/ChatView-osetCni7.js +805 -0
  14. package/dist/assets/CollectionParameter-mR4EdrZi.js +4 -0
  15. package/dist/assets/{CredentialsView-BAqjGrNq.css → CredentialsView-C9uo2Njh.css} +14 -14
  16. package/dist/assets/{CredentialsView-BGrARK9E.js → CredentialsView-DhOvzcuF.js} +15 -15
  17. package/dist/assets/{DataStoreActions.vue_vue_type_script_setup_true_lang-BXwhcITi.js → DataTableActions.vue_vue_type_script_setup_true_lang-CPe6URyk.js} +21 -21
  18. package/dist/assets/{DataStoreDetailsView-Bc-J9ZrW.css → DataTableDetailsView-BOmb3x4S.css} +138 -138
  19. package/dist/assets/{DataStoreDetailsView-dtM5J032.js → DataTableDetailsView-DZF8g3WP.js} +538 -525
  20. package/dist/assets/{DataStoreView-BqQv7QeU.css → DataTableView-ByKnlVtU.css} +14 -14
  21. package/dist/assets/{DataStoreView-B8-5z7Dy.js → DataTableView-C4iNAHED.js} +68 -68
  22. package/dist/assets/{DemoFooter-3WCSVnle.js → DemoFooter-B-9EtV0b.js} +5 -5
  23. package/dist/assets/{EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-Cd-GB55Q.js → EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-4ZVwMz6Z.js} +1 -1
  24. package/dist/assets/{EntityNotFound-a7Zjfv_Q.js → EntityNotFound-CZnyKB-G.js} +2 -2
  25. package/dist/assets/EntityNotFound-CargndZm.css +10 -0
  26. package/dist/assets/{EntityUnAuthorised-CSSy_LL9.js → EntityUnAuthorised-CwSJj0Hc.js} +2 -2
  27. package/dist/assets/EntityUnAuthorised-Deb2bHNC.css +10 -0
  28. package/dist/assets/{ErrorView-Cc2B-TJV.js → ErrorView-BontN9_o.js} +4 -4
  29. package/dist/assets/{ErrorView-DPS9icAS.css → ErrorView-D2OMvGTk.css} +8 -8
  30. package/dist/assets/{EvaluationsRootView-B5AhHo41.css → EvaluationsRootView-7FGhfEKm.css} +48 -48
  31. package/dist/assets/{EvaluationsRootView-BwLeozOW.js → EvaluationsRootView-z8nnYDZZ.js} +22 -22
  32. package/dist/assets/{EvaluationsView-D6bBbvU7.js → EvaluationsView-DJXXQS3t.js} +27 -27
  33. package/dist/assets/{EvaluationsView-BTyYfInB.css → EvaluationsView-DsfXDJ-U.css} +35 -35
  34. package/dist/assets/{ExecutionsTime-B5dXCTxD.css → ExecutionsTime-BGpurJsp.css} +41 -41
  35. package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-DMzRtImZ.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-DYd7fiyA.js} +16 -16
  36. package/dist/assets/{ExecutionsView-DGvGJ0Bt.js → ExecutionsView-BNcgqbCI.js} +18 -18
  37. package/dist/assets/{ExecutionsView-BxsSXnlU.css → ExecutionsView-BbH7fInw.css} +14 -14
  38. package/dist/assets/{FixedCollectionParameter-D3u3aCCk.css → FixedCollectionParameter-D82suS6W.css} +43 -43
  39. package/dist/assets/{FixedCollectionParameter-DKedTV0a.js → FixedCollectionParameter-hHCYDL8K.js} +2 -2
  40. package/dist/assets/{ForgotMyPasswordView-DdfSq9PW.js → ForgotMyPasswordView-DNIrSigH.js} +3 -3
  41. package/dist/assets/{InfoAccordion-dxudNqVC.css → InfoAccordion-BuKidEQb.css} +13 -13
  42. package/dist/assets/{InfoAccordion-9dQ3s6Ri.js → InfoAccordion-DZZQAfE2.js} +7 -7
  43. package/dist/assets/{InsightsChartAverageRuntime-BxJoYI__.js → InsightsChartAverageRuntime-0_tQwd14.js} +4 -4
  44. package/dist/assets/{InsightsChartFailed-7oAUrmps.js → InsightsChartFailed-DzwSs_eb.js} +5 -5
  45. package/dist/assets/{InsightsChartFailureRate-CyDHGPRI.js → InsightsChartFailureRate-9NSwJrkn.js} +5 -5
  46. package/dist/assets/{InsightsChartTimeSaved-9qO8Ptw4.js → InsightsChartTimeSaved-yP09tMZN.js} +4 -4
  47. package/dist/assets/{InsightsChartTotal-J5OmwxXQ.js → InsightsChartTotal-_BgplVGB.js} +5 -5
  48. package/dist/assets/{InsightsDashboard-cs0vb9Jp.js → InsightsDashboard-BV1ylSUf.js} +21 -21
  49. package/dist/assets/{InsightsDashboard-CYAx_0X9.css → InsightsDashboard-DyOwzHmP.css} +25 -25
  50. package/dist/assets/{InsightsPaywall-C7JGXL1s.js → InsightsPaywall-Bo-jqjcX.js} +1 -1
  51. package/dist/assets/{InsightsSummary-DTFIhBF3.css → InsightsSummary-BazqPYQ0.css} +52 -52
  52. package/dist/assets/{InsightsSummary-h6J_Z8Ud.js → InsightsSummary-Bg9pnspx.js} +11 -11
  53. package/dist/assets/{InsightsTableWorkflows-B8iwpsKn.js → InsightsTableWorkflows-Cba5zPpi.js} +7 -7
  54. package/dist/assets/{InsightsTableWorkflows-BTHSCwX8.css → InsightsTableWorkflows-D20Yb7ZW.css} +8 -8
  55. package/dist/assets/{Logo-ByixALFX.js → Logo-BCYYCeCH.js} +7 -7
  56. package/dist/assets/{Logo-CSmRCqF2.css → Logo-BU1oDo5-.css} +16 -16
  57. package/dist/assets/{LogsPanel-ff9b0wGV.js → LogsPanel-C6aZbU42.js} +141 -1091
  58. package/dist/assets/{LogsPanel-BE9Gl1z0.css → LogsPanel-DVmpE0zV.css} +160 -592
  59. package/dist/assets/{MainHeader-DIiyDT8d.css → MainHeader-BqJwA1aC.css} +117 -117
  60. package/dist/assets/{MainHeader-Dg9hP4jc.js → MainHeader-CAY1EEEh.js} +45 -45
  61. package/dist/assets/{MainSidebar-DA1oJ2bK.js → MainSidebar-C9gTPkUi.js} +144 -1208
  62. package/dist/assets/{MainSidebar-dxd--qFu.css → MainSidebar-tTEyXOKH.css} +107 -280
  63. package/dist/assets/NavigationDropdown-BmOSJSCn.js +1116 -0
  64. package/dist/assets/NavigationDropdown-Wb7mPGhl.css +187 -0
  65. package/dist/assets/{NodeCreation-C4gQlPqI.css → NodeCreation-B1fOtARK.css} +6 -6
  66. package/dist/assets/{NodeCreation-BzZSLnM4.js → NodeCreation-sJ6PySWn.js} +18 -10
  67. package/dist/assets/{NodeCreator-COTYfPaK.css → NodeCreator-CamUhvMk.css} +175 -174
  68. package/dist/assets/{NodeCreator-CViNdWsL.js → NodeCreator-DXsZEKJK.js} +60 -64
  69. package/dist/assets/{NodeDetailsView-De_K53eb.js → NodeDetailsView-BpyGVsgu.js} +33 -32
  70. package/dist/assets/{NodeDetailsView-CBYV4Rrz.css → NodeDetailsView-D3QAo3SF.css} +61 -61
  71. package/dist/assets/{NodeDetailsViewV2-DmXZQhyi.js → NodeDetailsViewV2-DGkdo0vX.js} +58 -69
  72. package/dist/assets/{NodeDetailsViewV2-J_3cfdea.css → NodeDetailsViewV2-bvXejqU_.css} +67 -60
  73. package/dist/assets/{NodeView-CQ2v8bC9.js → NodeView-B8KEEH6t.js} +112 -102
  74. package/dist/assets/{NodeView-Bsq1Fh0D.css → NodeView-BhF0ieQM.css} +85 -85
  75. package/dist/assets/{PageViewLayout-CJlzbuVj.css → PageViewLayout-BIiboMgG.css} +5 -5
  76. package/dist/assets/{PageViewLayout-D8jFvMb7.js → PageViewLayout-No_pX4Y2.js} +3 -3
  77. package/dist/assets/{PrebuiltAgentTemplatesView-CR6CLuXJ.js → PrebuiltAgentTemplatesView-Byz4ljyp.js} +9 -9
  78. package/dist/assets/{PrebuiltAgentTemplatesView-COxu7Iih.css → PrebuiltAgentTemplatesView-jF7HvWnL.css} +14 -14
  79. package/dist/assets/{ProjectBreadcrumb-B1Hnf5da.css → ProjectBreadcrumb-BNbnf7Ir.css} +96 -96
  80. package/dist/assets/{ProjectBreadcrumb-Crv1wnrE.js → ProjectBreadcrumb-DzdWVcqt.js} +22 -22
  81. package/dist/assets/{ProjectHeader-D_iqfwVY.js → ProjectHeader-C2cvg4nB.js} +36 -18
  82. package/dist/assets/{ProjectHeader-BNMKpvzV.css → ProjectHeader-TKKq6OrY.css} +15 -15
  83. package/dist/assets/{ProjectSettings-El-PDAxt.js → ProjectSettings-DJsTn3lm.js} +26 -26
  84. package/dist/assets/{ProjectSettings-Cj1kC16G.css → ProjectSettings-c2BBLEzY.css} +60 -60
  85. package/dist/assets/ProjectVariables-CrRq7juM.js +532 -0
  86. package/dist/assets/ProjectVariables-DtGcMnSf.css +293 -0
  87. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-DStgRf4U.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-94A3F8Nb.js} +1 -1
  88. package/dist/assets/{ResourcesListLayout-Dm7w49bu.css → ResourcesListLayout-CY-G3BmN.css} +42 -42
  89. package/dist/assets/{ResourcesListLayout-B2CPweh2.js → ResourcesListLayout-U7KWTT3_.js} +25 -21
  90. package/dist/assets/{RunDataJson-BLtNGxk-.js → RunDataJson-DfyidYxR.js} +8 -8
  91. package/dist/assets/{RunDataJson-BH9HLoGC.css → RunDataJson-PAkTmkZf.css} +19 -19
  92. package/dist/assets/{RunDataJsonActions-C0sr7Nk5.js → RunDataJsonActions-CGAwQzcH.js} +2 -2
  93. package/dist/assets/{RunDataJsonActions-B2jW3_UG.css → RunDataJsonActions-CZx7rSSE.css} +2 -2
  94. package/dist/assets/{RunDataParsedAiContent-DZVqW5bO.js → RunDataParsedAiContent-BuF6D9QB.js} +13 -112
  95. package/dist/assets/{RunDataParsedAiContent-wfIiKsq7.css → RunDataParsedAiContent-CvjNCtpG.css} +37 -37
  96. package/dist/assets/{RunDataSearch-2eEalFoi.css → RunDataSearch-CPo36NE_.css} +10 -10
  97. package/dist/assets/{RunDataSearch-Cu-cCgLg.js → RunDataSearch-Dkv8Uspi.js} +4 -4
  98. package/dist/assets/{RunDataTable-BZzteeuj.css → RunDataTable-C4QnrVVF.css} +104 -104
  99. package/dist/assets/{RunDataTable-BD4aYXxc.js → RunDataTable-CMj7faUo.js} +33 -33
  100. package/dist/assets/{SamlOnboarding-SptddJit.js → SamlOnboarding-Y33PQ0MC.js} +3 -3
  101. package/dist/assets/{SelectedItemsInfo-Dl4uynXs.css → SelectedItemsInfo-B6Rq6uIe.css} +7 -7
  102. package/dist/assets/{SelectedItemsInfo-DBZA6jeW.js → SelectedItemsInfo-niTPahiE.js} +3 -3
  103. package/dist/assets/{SettingsApiView-CDhp4ALG.js → SettingsApiView-B1CSPgk9.js} +14 -14
  104. package/dist/assets/{SettingsApiView-k1hALKCX.css → SettingsApiView-Dtl_N9mK.css} +31 -31
  105. package/dist/assets/{SettingsCommunityNodesView-D3MlXkpf.js → SettingsCommunityNodesView-CRAChGuy.js} +21 -21
  106. package/dist/assets/{SettingsCommunityNodesView-CAggjsaT.css → SettingsCommunityNodesView-CVQjV37D.css} +31 -31
  107. package/dist/assets/{SettingsExternalSecrets-BAX9ENm9.css → SettingsExternalSecrets-CaiOf7cD.css} +12 -12
  108. package/dist/assets/{SettingsExternalSecrets-CAG4HMx0.js → SettingsExternalSecrets-CzXAEo07.js} +8 -8
  109. package/dist/assets/{SettingsLdapView-BxrobOk_.js → SettingsLdapView-DSkINX3j.js} +8 -8
  110. package/dist/assets/{SettingsLdapView-D0SUO3ai.css → SettingsLdapView-KgMO_1GA.css} +17 -17
  111. package/dist/assets/{SettingsLogStreamingView-DRKX9mBG.js → SettingsLogStreamingView-Bcc-2zVI.js} +7 -7
  112. package/dist/assets/{SettingsLogStreamingView-CflEMmu9.css → SettingsLogStreamingView-xo-rTSA0.css} +12 -12
  113. package/dist/assets/SettingsMCPView-BBO_ZyBU.css +552 -0
  114. package/dist/assets/{SettingsMCPView-Co3sBz26.js → SettingsMCPView-CHXmiCg2.js} +200 -126
  115. package/dist/assets/{SettingsPersonalView-Bt8bL5tJ.css → SettingsPersonalView-D6LtKnaF.css} +23 -23
  116. package/dist/assets/{SettingsPersonalView-DElt8I_o.js → SettingsPersonalView-SLkmnF62.js} +10 -10
  117. package/dist/assets/{SettingsSourceControl-BBxJXbFC.css → SettingsSourceControl-C6pfOcuv.css} +40 -40
  118. package/dist/assets/{SettingsSourceControl-D3ZRNEN2.js → SettingsSourceControl-D9pU6aTH.js} +15 -15
  119. package/dist/assets/{SettingsSso-CLs1jzzH.js → SettingsSso-BpyLc_nN.js} +7 -7
  120. package/dist/assets/{SettingsSso-D4HKPLvV.css → SettingsSso-w7Iz4Luy.css} +25 -25
  121. package/dist/assets/{SettingsUsageAndPlan-82J0IcdW.css → SettingsUsageAndPlan-Cct79Zta.css} +34 -34
  122. package/dist/assets/{SettingsUsageAndPlan-But48cVS.js → SettingsUsageAndPlan-DuurGlum.js} +13 -13
  123. package/dist/assets/{SettingsUsersView-BG7JdfYz.css → SettingsUsersView-CfJcVjkl.css} +28 -28
  124. package/dist/assets/{SettingsUsersView-BzAy5Xs5.js → SettingsUsersView-Dot7c7Qq.js} +16 -16
  125. package/dist/assets/{SettingsView-BHLJBEJF.css → SettingsView-C4aA4kVV.css} +18 -18
  126. package/dist/assets/{SettingsView-BY4JQ5IA.js → SettingsView-Cf9Z1byg.js} +8 -8
  127. package/dist/assets/{SetupView-B3o2CMK4.js → SetupView-Bd3_I6zI.js} +3 -3
  128. package/dist/assets/{SetupWorkflowCredentialsButton-tIWDDVJQ.js → SetupWorkflowCredentialsButton-CAXEm7u9.js} +1 -1
  129. package/dist/assets/{SetupWorkflowFromTemplateView-ZPJL_m2F.css → SetupWorkflowFromTemplateView-CU2iGJTa.css} +11 -11
  130. package/dist/assets/{SetupWorkflowFromTemplateView-gM1-hQUP.js → SetupWorkflowFromTemplateView-DHDRdPVs.js} +8 -8
  131. package/dist/assets/{SigninView-D57wRRHz.css → SigninView-BQgsTN8o.css} +13 -13
  132. package/dist/assets/{SigninView-CNVb_BTW.js → SigninView-D5tuweUZ.js} +9 -9
  133. package/dist/assets/{SignoutView-COKEosgd.js → SignoutView-DeXygpms.js} +1 -1
  134. package/dist/assets/{SignupView-B6uHvKe8.js → SignupView-CX-Il1Wi.js} +3 -3
  135. package/dist/assets/{TableBase-BRafMJaj.js → TableBase-A3JBly2L.js} +3 -3
  136. package/dist/assets/{TableBase-Bf42_9Yp.css → TableBase-CUZbI5pm.css} +24 -24
  137. package/dist/assets/{Tags-CCemj7t9.css → Tags-6vh_jPIG.css} +4 -4
  138. package/dist/assets/{Tags--2Bb1x68.js → Tags-Mbyj8PZc.js} +2 -2
  139. package/dist/assets/{TemplateDetails-BjAG1AhH.js → TemplateDetails-0MJKz78y.js} +8 -8
  140. package/dist/assets/{TemplateDetails-DyUqVhf2.css → TemplateDetails-DfyKyMyy.css} +13 -13
  141. package/dist/assets/{TemplateList-DtiYmgfN.js → TemplateList-5x22FsDC.js} +24 -24
  142. package/dist/assets/{TemplateList-XNW-2Ugr.css → TemplateList-CNUtq0N7.css} +49 -49
  143. package/dist/assets/{TemplatesCollectionView-D1E61WV0.js → TemplatesCollectionView-CvCuX0Fa.js} +13 -13
  144. package/dist/assets/{TemplatesCollectionView-2q1rzsOG.css → TemplatesCollectionView-klb8FT9y.css} +13 -13
  145. package/dist/assets/{TemplatesSearchView-wLieT1uS.js → TemplatesSearchView-c0i0daNd.js} +18 -18
  146. package/dist/assets/{TemplatesSearchView-DETaMpDt.css → TemplatesSearchView-gPmmtwoU.css} +50 -50
  147. package/dist/assets/{TemplatesView-caW6F-6v.js → TemplatesView-BOOm6xwn.js} +8 -8
  148. package/dist/assets/{TemplatesView-Cyu28Dlo.css → TemplatesView-BgdyYmrL.css} +21 -21
  149. package/dist/assets/{TemplatesWorkflowView-DpIiJjJp.css → TemplatesWorkflowView-CBjRBbmw.css} +17 -17
  150. package/dist/assets/{TemplatesWorkflowView-BtWvF5Nk.js → TemplatesWorkflowView-H8LDxBtL.js} +14 -14
  151. package/dist/assets/{TestRunDetailView-ChL6mhrS.js → TestRunDetailView-BrNWft7p.js} +36 -36
  152. package/dist/assets/{TestRunDetailView--lZbJq4u.css → TestRunDetailView-D_a9QpSQ.css} +93 -93
  153. package/dist/assets/{TriggerPanel-CQgUdcjv.css → TriggerPanel-BbB_P9ZT.css} +158 -236
  154. package/dist/assets/TriggerPanel-DexAqK4Y.js +1633 -0
  155. package/dist/assets/VariablesUsageBadge-C_yi7Lw5.css +129 -0
  156. package/dist/assets/VariablesUsageBadge-DwioJFhQ.js +39 -0
  157. package/dist/assets/{VariablesView-DaDlt9tK.js → VariablesView-CxJyyUeq.js} +11 -52
  158. package/dist/assets/VariablesView-zN910qd9.css +272 -0
  159. package/dist/assets/{WorkerView-BrSoYcbf.css → WorkerView-4m_NaoAx.css} +47 -47
  160. package/dist/assets/{WorkerView-DHOAPxn1.js → WorkerView-CETR714S.js} +39 -39
  161. package/dist/assets/{WorkflowActivator-Dyq4V_Lc.js → WorkflowActivator-B8KHOz1Y.js} +7 -7
  162. package/dist/assets/{WorkflowActivator-DPDRDtQG.css → WorkflowActivator-DBJbtrBD.css} +9 -9
  163. package/dist/assets/{WorkflowExecutionsInfoAccordion-53bC-IXN.css → WorkflowExecutionsInfoAccordion-CEOvJ-SX.css} +11 -11
  164. package/dist/assets/{WorkflowExecutionsInfoAccordion-DSD6hXpM.js → WorkflowExecutionsInfoAccordion-qxgk1h0H.js} +4 -4
  165. package/dist/assets/{WorkflowExecutionsLandingPage-Bm_hJMl4.css → WorkflowExecutionsLandingPage-DMldlKod.css} +8 -8
  166. package/dist/assets/{WorkflowExecutionsLandingPage-njSnPF4Q.js → WorkflowExecutionsLandingPage-HKnqrHXW.js} +6 -6
  167. package/dist/assets/{WorkflowExecutionsPreview-Cd4BrS-0.css → WorkflowExecutionsPreview-CkEakQp2.css} +90 -90
  168. package/dist/assets/{WorkflowExecutionsPreview-CxCC7qGY.js → WorkflowExecutionsPreview-qf-E5Odr.js} +46 -46
  169. package/dist/assets/{WorkflowExecutionsView-iaMuExFz.js → WorkflowExecutionsView-CfqNhuZ6.js} +34 -34
  170. package/dist/assets/{WorkflowExecutionsView-Bjkudb8L.css → WorkflowExecutionsView-CqRMwPwF.css} +82 -82
  171. package/dist/assets/{WorkflowHistory-7Ad0Va7M.css → WorkflowHistory-BmerBiKz.css} +71 -71
  172. package/dist/assets/{WorkflowHistory-Bi8Rq_LG.js → WorkflowHistory-YmqrN3r8.js} +21 -21
  173. package/dist/assets/{WorkflowOnboardingView-BFA7cE40.js → WorkflowOnboardingView-CjlwTouQ.js} +1 -1
  174. package/dist/assets/{WorkflowPreview-CIOAVgxK.css → WorkflowPreview-Bt03akXc.css} +8 -8
  175. package/dist/assets/{WorkflowPreview-3agPtHH6.js → WorkflowPreview-Cq5khFre.js} +8 -8
  176. package/dist/assets/{WorkflowsView-B8UKso1P.css → WorkflowsView-GJhG9SFw.css} +144 -144
  177. package/dist/assets/{WorkflowsView-Dh-y0dX3.js → WorkflowsView-RxnSQ30O.js} +79 -83
  178. package/dist/assets/{chartjs.utils-BF8fqBSo.js → chartjs.utils-D_NRIoXj.js} +10 -10
  179. package/dist/assets/chat.utils-2xG-fh51.js +224 -0
  180. package/dist/assets/{core-DKN4KnQc.js → core-DzD694JE.js} +1 -1
  181. package/dist/assets/{evaluation-ZbMdquW3.css → evaluation-BpIei8SG.css} +26 -26
  182. package/dist/assets/{evaluation.constants-rDR8M-nX.js → evaluation.constants-DtUWL9wd.js} +9 -9
  183. package/dist/assets/{global-link-actions-da8EIYUQ.js → global-link-actions-DY3w9YDm.js} +1 -1
  184. package/dist/assets/{index-2jyPHFNT.js → index-CW8ZBeS3.js} +12868 -14460
  185. package/dist/assets/{index-ChhN_qYc.css → index-DXwb0-8G.css} +6604 -6512
  186. package/dist/assets/{index-K6JU0YBN.js → index-DbuMzHzu.js} +1 -1
  187. package/dist/assets/mcp.store-BgAt-In4.js +85 -0
  188. package/dist/assets/{pickBy-BTqOq58J.js → pickBy-AGrSNJKu.js} +1 -1
  189. package/dist/assets/{readyToRunWorkflows.store-b5xzSTzi.js → readyToRunWorkflows.store-VC9XUBEb.js} +2 -2
  190. package/dist/assets/{readyToRunWorkflowsV2.store-DBbp_mHW.js → readyToRunWorkflowsV2.store-DKvoEeBj.js} +2 -2
  191. package/dist/assets/{templateActions-DChHUJso.js → templateActions-QrGnobip.js} +1 -1
  192. package/dist/assets/{useBeforeUnload-DdVhQ2mY.js → useBeforeUnload-LctWPBl6.js} +1 -1
  193. package/dist/assets/{useExecutionDebugging-DfwTMvVJ.js → useExecutionDebugging-C4qxdFPE.js} +1 -1
  194. package/dist/assets/{useImportCurlCommand-CHKrySex.js → useImportCurlCommand-uW2F30ZA.js} +1 -1
  195. package/dist/assets/useLogsTreeExpand-BZb1m-U7.css +554 -0
  196. package/dist/assets/useLogsTreeExpand-s-Y7s8m-.js +1080 -0
  197. package/dist/assets/{useProjectPages-B4d3gOYv.js → useProjectPages-CGrunDRk.js} +1 -1
  198. package/dist/assets/{usePushConnection-iBOVl6gr.js → usePushConnection-DIHgByHB.js} +17 -19
  199. package/dist/assets/{useWorkflowsCache-B3WOxsd-.js → useWorkflowsCache-DpRrH96r.js} +1 -1
  200. package/dist/index.html +2 -2
  201. package/package.json +1 -1
  202. package/scripts/fetch-node-popularity.mjs +13 -1
  203. package/turbo.json +2 -1
  204. package/dist/assets/CollectionParameter-CNbbhRHp.js +0 -4
  205. package/dist/assets/ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-BQSNGXVy.js +0 -44
  206. package/dist/assets/EntityNotFound-pTnVFOv-.css +0 -10
  207. package/dist/assets/EntityUnAuthorised-CHl9g0Ry.css +0 -10
  208. package/dist/assets/SettingsMCPView-B7NzLvT3.css +0 -378
  209. package/dist/assets/TriggerPanel-DHajDDDp.js +0 -3343
  210. package/dist/assets/VariablesView-BMHdLce7.css +0 -400
@@ -1,1086 +1,6 @@
1
- import { b7 as EVENT_CODE, b8 as triggerEvent, b9 as _export_sfc, d as defineComponent, e as createBlock, g as openBlock, w as withCtx, Y as renderSlot, K as mergeProps, ba as Transition, bb as useNamespace, bc as addClass, bd as hasClass, be as removeClass, x as computed, bf as TinyColor, bg as buildProps, bh as useDeprecated, bi as inject, bj as throwError, r as ref, bk as arrow_down_default, bl as arrow_right_default, bm as reactive, a8 as watch, bn as provide, bo as getCurrentInstance, o as onMounted, X as onBeforeUnmount, aY as h, bp as ElIcon, bq as isString, br as ElTooltip, bs as _CollapseTransition, b4 as withDirectives, b5 as vShow, F as Fragment, bt as useTimeoutFn, bu as iconPropType, bv as isObject, bw as watchEffect, bx as useResizeObserver, by as flattedChildren, bz as more_default, bA as isNil, bB as mutable, bC as definePropType, Z as nextTick, a9 as resolveComponent, h as createElementBlock, j as createBaseVNode, n as normalizeClass, bD as toRef, l as createTextVNode, t as toDisplayString, bE as withNoopInstall, bF as withInstall, i as createVNode, k as unref, A as renderList, bG as _sfc_main$a, f as createCommentVNode, N as N8nIcon, p as N8nText, bH as withKeys, _ as _export_sfc$1, bI as get, bJ as useDebugInfo, v as useSettingsStore, bK as useCloudPlanStore, av as useProjectsStore, af as useSourceControlStore, b as useRouter, a as useToast, bL as sortByProperty, V as VIEWS, c as useI18n, aC as getResourcePermissions, bM as updatedIconSet, aB as usePageRedirectionHelper, a0 as defineStore, au as useRootStore, bN as useStorage, bO as DateTime, a5 as STORES, q as N8nButton, al as useTelemetry, bP as useVersionsStore, Q as useUIStore, C as N8nLink, aa as N8nTooltip, bQ as VERSIONS_MODAL_KEY, bR as usePersonalizedTemplatesV3Store, bS as onUnmounted, ap as normalizeStyle, bT as Teleport, u as useUsersStore, b3 as onBeforeMount, bU as N8nMenuItem, m as N8nHeading, a3 as useRoute, aE as hasPermission, bV as useTemplatesStore, a2 as useWorkflowsStore, bW as usePersonalizedTemplatesV2Store, P as useDebounce, bX as useCalloutHelpers, bY as useKeybindings, bZ as RELEASE_NOTES_URL, b_ as useExternalHooks, b$ as onClickOutside, ac as I18nT, ab as _sfc_main$b, y as N8nPopoverReka, c0 as resolveDynamicComponent, G as N8nAvatar, c1 as N8nScrollArea, c2 as WHATS_NEW_MODAL_KEY, c3 as ABOUT_MODAL_KEY, c4 as EXPERIMENT_TEMPLATE_RECO_V3_KEY, c5 as trackTemplatesClick, c6 as TemplateClickSource, c7 as EXPERIMENT_TEMPLATE_RECO_V2_KEY } from "./index-2jyPHFNT.js";
2
- import { L as Logo } from "./Logo-ByixALFX.js";
3
- let SubMenu$1 = class SubMenu {
4
- constructor(parent, domNode) {
5
- this.parent = parent;
6
- this.domNode = domNode;
7
- this.subIndex = 0;
8
- this.subIndex = 0;
9
- this.init();
10
- }
11
- init() {
12
- this.subMenuItems = this.domNode.querySelectorAll("li");
13
- this.addListeners();
14
- }
15
- gotoSubIndex(idx) {
16
- if (idx === this.subMenuItems.length) {
17
- idx = 0;
18
- } else if (idx < 0) {
19
- idx = this.subMenuItems.length - 1;
20
- }
21
- this.subMenuItems[idx].focus();
22
- this.subIndex = idx;
23
- }
24
- addListeners() {
25
- const parentNode = this.parent.domNode;
26
- Array.prototype.forEach.call(this.subMenuItems, (el) => {
27
- el.addEventListener("keydown", (event) => {
28
- let prevDef = false;
29
- switch (event.code) {
30
- case EVENT_CODE.down: {
31
- this.gotoSubIndex(this.subIndex + 1);
32
- prevDef = true;
33
- break;
34
- }
35
- case EVENT_CODE.up: {
36
- this.gotoSubIndex(this.subIndex - 1);
37
- prevDef = true;
38
- break;
39
- }
40
- case EVENT_CODE.tab: {
41
- triggerEvent(parentNode, "mouseleave");
42
- break;
43
- }
44
- case EVENT_CODE.enter:
45
- case EVENT_CODE.space: {
46
- prevDef = true;
47
- event.currentTarget.click();
48
- break;
49
- }
50
- }
51
- if (prevDef) {
52
- event.preventDefault();
53
- event.stopPropagation();
54
- }
55
- return false;
56
- });
57
- });
58
- }
59
- };
60
- let MenuItem$1 = class MenuItem {
61
- constructor(domNode, namespace) {
62
- this.domNode = domNode;
63
- this.submenu = null;
64
- this.submenu = null;
65
- this.init(namespace);
66
- }
67
- init(namespace) {
68
- this.domNode.setAttribute("tabindex", "0");
69
- const menuChild = this.domNode.querySelector(`.${namespace}-menu`);
70
- if (menuChild) {
71
- this.submenu = new SubMenu$1(this, menuChild);
72
- }
73
- this.addListeners();
74
- }
75
- addListeners() {
76
- this.domNode.addEventListener("keydown", (event) => {
77
- let prevDef = false;
78
- switch (event.code) {
79
- case EVENT_CODE.down: {
80
- triggerEvent(event.currentTarget, "mouseenter");
81
- this.submenu && this.submenu.gotoSubIndex(0);
82
- prevDef = true;
83
- break;
84
- }
85
- case EVENT_CODE.up: {
86
- triggerEvent(event.currentTarget, "mouseenter");
87
- this.submenu && this.submenu.gotoSubIndex(this.submenu.subMenuItems.length - 1);
88
- prevDef = true;
89
- break;
90
- }
91
- case EVENT_CODE.tab: {
92
- triggerEvent(event.currentTarget, "mouseleave");
93
- break;
94
- }
95
- case EVENT_CODE.enter:
96
- case EVENT_CODE.space: {
97
- prevDef = true;
98
- event.currentTarget.click();
99
- break;
100
- }
101
- }
102
- if (prevDef) {
103
- event.preventDefault();
104
- }
105
- });
106
- }
107
- };
108
- let Menu$1 = class Menu {
109
- constructor(domNode, namespace) {
110
- this.domNode = domNode;
111
- this.init(namespace);
112
- }
113
- init(namespace) {
114
- const menuChildren = this.domNode.childNodes;
115
- Array.from(menuChildren).forEach((child) => {
116
- if (child.nodeType === 1) {
117
- new MenuItem$1(child, namespace);
118
- }
119
- });
120
- }
121
- };
122
- const _sfc_main$9 = defineComponent({
123
- name: "ElMenuCollapseTransition",
124
- setup() {
125
- const ns = useNamespace("menu");
126
- const listeners = {
127
- onBeforeEnter: (el) => el.style.opacity = "0.2",
128
- onEnter(el, done) {
129
- addClass(el, `${ns.namespace.value}-opacity-transition`);
130
- el.style.opacity = "1";
131
- done();
132
- },
133
- onAfterEnter(el) {
134
- removeClass(el, `${ns.namespace.value}-opacity-transition`);
135
- el.style.opacity = "";
136
- },
137
- onBeforeLeave(el) {
138
- if (!el.dataset) {
139
- el.dataset = {};
140
- }
141
- if (hasClass(el, ns.m("collapse"))) {
142
- removeClass(el, ns.m("collapse"));
143
- el.dataset.oldOverflow = el.style.overflow;
144
- el.dataset.scrollWidth = el.clientWidth.toString();
145
- addClass(el, ns.m("collapse"));
146
- } else {
147
- addClass(el, ns.m("collapse"));
148
- el.dataset.oldOverflow = el.style.overflow;
149
- el.dataset.scrollWidth = el.clientWidth.toString();
150
- removeClass(el, ns.m("collapse"));
151
- }
152
- el.style.width = `${el.scrollWidth}px`;
153
- el.style.overflow = "hidden";
154
- },
155
- onLeave(el) {
156
- addClass(el, "horizontal-collapse-transition");
157
- el.style.width = `${el.dataset.scrollWidth}px`;
158
- }
159
- };
160
- return {
161
- listeners
162
- };
163
- }
164
- });
165
- function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
166
- return openBlock(), createBlock(Transition, mergeProps({ mode: "out-in" }, _ctx.listeners), {
167
- default: withCtx(() => [
168
- renderSlot(_ctx.$slots, "default")
169
- ]),
170
- _: 3
171
- }, 16);
172
- }
173
- var ElMenuCollapseTransition = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$2], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-collapse-transition.vue"]]);
174
- function useMenu(instance, currentIndex) {
175
- const indexPath = computed(() => {
176
- let parent = instance.parent;
177
- const path = [currentIndex.value];
178
- while (parent.type.name !== "ElMenu") {
179
- if (parent.props.index) {
180
- path.unshift(parent.props.index);
181
- }
182
- parent = parent.parent;
183
- }
184
- return path;
185
- });
186
- const parentMenu = computed(() => {
187
- let parent = instance.parent;
188
- while (parent && !["ElMenu", "ElSubMenu"].includes(parent.type.name)) {
189
- parent = parent.parent;
190
- }
191
- return parent;
192
- });
193
- return {
194
- parentMenu,
195
- indexPath
196
- };
197
- }
198
- function useMenuColor(props) {
199
- const menuBarColor = computed(() => {
200
- const color = props.backgroundColor;
201
- if (!color) {
202
- return "";
203
- } else {
204
- return new TinyColor(color).shade(20).toString();
205
- }
206
- });
207
- return menuBarColor;
208
- }
209
- const useMenuCssVar = (props, level) => {
210
- const ns = useNamespace("menu");
211
- return computed(() => {
212
- return ns.cssVarBlock({
213
- "text-color": props.textColor || "",
214
- "hover-text-color": props.textColor || "",
215
- "bg-color": props.backgroundColor || "",
216
- "hover-bg-color": useMenuColor(props).value || "",
217
- "active-color": props.activeTextColor || "",
218
- level: `${level}`
219
- });
220
- });
221
- };
222
- const subMenuProps = buildProps({
223
- index: {
224
- type: String,
225
- required: true
226
- },
227
- showTimeout: {
228
- type: Number,
229
- default: 300
230
- },
231
- hideTimeout: {
232
- type: Number,
233
- default: 300
234
- },
235
- popperClass: String,
236
- disabled: Boolean,
237
- popperAppendToBody: {
238
- type: Boolean,
239
- default: void 0
240
- },
241
- teleported: {
242
- type: Boolean,
243
- default: void 0
244
- },
245
- popperOffset: {
246
- type: Number,
247
- default: 6
248
- },
249
- expandCloseIcon: {
250
- type: iconPropType
251
- },
252
- expandOpenIcon: {
253
- type: iconPropType
254
- },
255
- collapseCloseIcon: {
256
- type: iconPropType
257
- },
258
- collapseOpenIcon: {
259
- type: iconPropType
260
- }
261
- });
262
- const COMPONENT_NAME$2 = "ElSubMenu";
263
- var SubMenu2 = defineComponent({
264
- name: COMPONENT_NAME$2,
265
- props: subMenuProps,
266
- setup(props, { slots, expose }) {
267
- useDeprecated({
268
- from: "popper-append-to-body",
269
- replacement: "teleported",
270
- scope: COMPONENT_NAME$2,
271
- version: "2.3.0",
272
- ref: "https://element-plus.org/en-US/component/menu.html#submenu-attributes"
273
- }, computed(() => props.popperAppendToBody !== void 0));
274
- const instance = getCurrentInstance();
275
- const { indexPath, parentMenu } = useMenu(instance, computed(() => props.index));
276
- const nsMenu = useNamespace("menu");
277
- const nsSubMenu = useNamespace("sub-menu");
278
- const rootMenu = inject("rootMenu");
279
- if (!rootMenu)
280
- throwError(COMPONENT_NAME$2, "can not inject root menu");
281
- const subMenu = inject(`subMenu:${parentMenu.value.uid}`);
282
- if (!subMenu)
283
- throwError(COMPONENT_NAME$2, "can not inject sub menu");
284
- const items = ref({});
285
- const subMenus = ref({});
286
- let timeout;
287
- const mouseInChild = ref(false);
288
- const verticalTitleRef = ref();
289
- const vPopper = ref(null);
290
- const currentPlacement = computed(() => mode.value === "horizontal" && isFirstLevel.value ? "bottom-start" : "right-start");
291
- const subMenuTitleIcon = computed(() => {
292
- return mode.value === "horizontal" && isFirstLevel.value || mode.value === "vertical" && !rootMenu.props.collapse ? props.expandCloseIcon && props.expandOpenIcon ? opened.value ? props.expandOpenIcon : props.expandCloseIcon : arrow_down_default : props.collapseCloseIcon && props.collapseOpenIcon ? opened.value ? props.collapseOpenIcon : props.collapseCloseIcon : arrow_right_default;
293
- });
294
- const isFirstLevel = computed(() => {
295
- return subMenu.level === 0;
296
- });
297
- const appendToBody = computed(() => {
298
- var _a;
299
- const value = (_a = props.teleported) != null ? _a : props.popperAppendToBody;
300
- return value === void 0 ? isFirstLevel.value : value;
301
- });
302
- const menuTransitionName = computed(() => rootMenu.props.collapse ? `${nsMenu.namespace.value}-zoom-in-left` : `${nsMenu.namespace.value}-zoom-in-top`);
303
- const fallbackPlacements = computed(() => mode.value === "horizontal" && isFirstLevel.value ? [
304
- "bottom-start",
305
- "bottom-end",
306
- "top-start",
307
- "top-end",
308
- "right-start",
309
- "left-start"
310
- ] : [
311
- "right-start",
312
- "right",
313
- "right-end",
314
- "left-start",
315
- "bottom-start",
316
- "bottom-end",
317
- "top-start",
318
- "top-end"
319
- ]);
320
- const opened = computed(() => rootMenu.openedMenus.includes(props.index));
321
- const active = computed(() => {
322
- let isActive = false;
323
- Object.values(items.value).forEach((item2) => {
324
- if (item2.active) {
325
- isActive = true;
326
- }
327
- });
328
- Object.values(subMenus.value).forEach((subItem) => {
329
- if (subItem.active) {
330
- isActive = true;
331
- }
332
- });
333
- return isActive;
334
- });
335
- const mode = computed(() => rootMenu.props.mode);
336
- const item = reactive({
337
- index: props.index,
338
- indexPath,
339
- active
340
- });
341
- const ulStyle = useMenuCssVar(rootMenu.props, subMenu.level + 1);
342
- const doDestroy = () => {
343
- var _a, _b, _c;
344
- return (_c = (_b = (_a = vPopper.value) == null ? void 0 : _a.popperRef) == null ? void 0 : _b.popperInstanceRef) == null ? void 0 : _c.destroy();
345
- };
346
- const handleCollapseToggle = (value) => {
347
- if (!value) {
348
- doDestroy();
349
- }
350
- };
351
- const handleClick = () => {
352
- if (rootMenu.props.menuTrigger === "hover" && rootMenu.props.mode === "horizontal" || rootMenu.props.collapse && rootMenu.props.mode === "vertical" || props.disabled)
353
- return;
354
- rootMenu.handleSubMenuClick({
355
- index: props.index,
356
- indexPath: indexPath.value,
357
- active: active.value
358
- });
359
- };
360
- const handleMouseenter = (event, showTimeout = props.showTimeout) => {
361
- var _a;
362
- if (event.type === "focus") {
363
- return;
364
- }
365
- if (rootMenu.props.menuTrigger === "click" && rootMenu.props.mode === "horizontal" || !rootMenu.props.collapse && rootMenu.props.mode === "vertical" || props.disabled) {
366
- return;
367
- }
368
- subMenu.mouseInChild.value = true;
369
- timeout == null ? void 0 : timeout();
370
- ({ stop: timeout } = useTimeoutFn(() => {
371
- rootMenu.openMenu(props.index, indexPath.value);
372
- }, showTimeout));
373
- if (appendToBody.value) {
374
- (_a = parentMenu.value.vnode.el) == null ? void 0 : _a.dispatchEvent(new MouseEvent("mouseenter"));
375
- }
376
- };
377
- const handleMouseleave = (deepDispatch = false) => {
378
- var _a, _b;
379
- if (rootMenu.props.menuTrigger === "click" && rootMenu.props.mode === "horizontal" || !rootMenu.props.collapse && rootMenu.props.mode === "vertical") {
380
- return;
381
- }
382
- timeout == null ? void 0 : timeout();
383
- subMenu.mouseInChild.value = false;
384
- ({ stop: timeout } = useTimeoutFn(() => !mouseInChild.value && rootMenu.closeMenu(props.index, indexPath.value), props.hideTimeout));
385
- if (appendToBody.value && deepDispatch) {
386
- if (((_a = instance.parent) == null ? void 0 : _a.type.name) === "ElSubMenu") {
387
- (_b = subMenu.handleMouseleave) == null ? void 0 : _b.call(subMenu, true);
388
- }
389
- }
390
- };
391
- watch(() => rootMenu.props.collapse, (value) => handleCollapseToggle(Boolean(value)));
392
- {
393
- const addSubMenu = (item2) => {
394
- subMenus.value[item2.index] = item2;
395
- };
396
- const removeSubMenu = (item2) => {
397
- delete subMenus.value[item2.index];
398
- };
399
- provide(`subMenu:${instance.uid}`, {
400
- addSubMenu,
401
- removeSubMenu,
402
- handleMouseleave,
403
- mouseInChild,
404
- level: subMenu.level + 1
405
- });
406
- }
407
- expose({
408
- opened
409
- });
410
- onMounted(() => {
411
- rootMenu.addSubMenu(item);
412
- subMenu.addSubMenu(item);
413
- });
414
- onBeforeUnmount(() => {
415
- subMenu.removeSubMenu(item);
416
- rootMenu.removeSubMenu(item);
417
- });
418
- return () => {
419
- var _a;
420
- const titleTag = [
421
- (_a = slots.title) == null ? void 0 : _a.call(slots),
422
- h(ElIcon, {
423
- class: nsSubMenu.e("icon-arrow"),
424
- style: {
425
- transform: opened.value ? props.expandCloseIcon && props.expandOpenIcon || props.collapseCloseIcon && props.collapseOpenIcon && rootMenu.props.collapse ? "none" : "rotateZ(180deg)" : "none"
426
- }
427
- }, {
428
- default: () => isString(subMenuTitleIcon.value) ? h(instance.appContext.components[subMenuTitleIcon.value]) : h(subMenuTitleIcon.value)
429
- })
430
- ];
431
- const child = rootMenu.isMenuPopup ? h(ElTooltip, {
432
- ref: vPopper,
433
- visible: opened.value,
434
- effect: "light",
435
- pure: true,
436
- offset: props.popperOffset,
437
- showArrow: false,
438
- persistent: true,
439
- popperClass: props.popperClass,
440
- placement: currentPlacement.value,
441
- teleported: appendToBody.value,
442
- fallbackPlacements: fallbackPlacements.value,
443
- transition: menuTransitionName.value,
444
- gpuAcceleration: false
445
- }, {
446
- content: () => {
447
- var _a2;
448
- return h("div", {
449
- class: [
450
- nsMenu.m(mode.value),
451
- nsMenu.m("popup-container"),
452
- props.popperClass
453
- ],
454
- onMouseenter: (evt) => handleMouseenter(evt, 100),
455
- onMouseleave: () => handleMouseleave(true),
456
- onFocus: (evt) => handleMouseenter(evt, 100)
457
- }, [
458
- h("ul", {
459
- class: [
460
- nsMenu.b(),
461
- nsMenu.m("popup"),
462
- nsMenu.m(`popup-${currentPlacement.value}`)
463
- ],
464
- style: ulStyle.value
465
- }, [(_a2 = slots.default) == null ? void 0 : _a2.call(slots)])
466
- ]);
467
- },
468
- default: () => h("div", {
469
- class: nsSubMenu.e("title"),
470
- onClick: handleClick
471
- }, titleTag)
472
- }) : h(Fragment, {}, [
473
- h("div", {
474
- class: nsSubMenu.e("title"),
475
- ref: verticalTitleRef,
476
- onClick: handleClick
477
- }, titleTag),
478
- h(_CollapseTransition, {}, {
479
- default: () => {
480
- var _a2;
481
- return withDirectives(h("ul", {
482
- role: "menu",
483
- class: [nsMenu.b(), nsMenu.m("inline")],
484
- style: ulStyle.value
485
- }, [(_a2 = slots.default) == null ? void 0 : _a2.call(slots)]), [[vShow, opened.value]]);
486
- }
487
- })
488
- ]);
489
- return h("li", {
490
- class: [
491
- nsSubMenu.b(),
492
- nsSubMenu.is("active", active.value),
493
- nsSubMenu.is("opened", opened.value),
494
- nsSubMenu.is("disabled", props.disabled)
495
- ],
496
- role: "menuitem",
497
- ariaHaspopup: true,
498
- ariaExpanded: opened.value,
499
- onMouseenter: handleMouseenter,
500
- onMouseleave: () => handleMouseleave(true),
501
- onFocus: handleMouseenter
502
- }, [child]);
503
- };
504
- }
505
- });
506
- const menuProps = buildProps({
507
- mode: {
508
- type: String,
509
- values: ["horizontal", "vertical"],
510
- default: "vertical"
511
- },
512
- defaultActive: {
513
- type: String,
514
- default: ""
515
- },
516
- defaultOpeneds: {
517
- type: definePropType(Array),
518
- default: () => mutable([])
519
- },
520
- uniqueOpened: Boolean,
521
- router: Boolean,
522
- menuTrigger: {
523
- type: String,
524
- values: ["hover", "click"],
525
- default: "hover"
526
- },
527
- collapse: Boolean,
528
- backgroundColor: String,
529
- textColor: String,
530
- activeTextColor: String,
531
- collapseTransition: {
532
- type: Boolean,
533
- default: true
534
- },
535
- ellipsis: {
536
- type: Boolean,
537
- default: true
538
- },
539
- popperEffect: {
540
- type: String,
541
- values: ["dark", "light"],
542
- default: "dark"
543
- }
544
- });
545
- const checkIndexPath = (indexPath) => Array.isArray(indexPath) && indexPath.every((path) => isString(path));
546
- const menuEmits = {
547
- close: (index, indexPath) => isString(index) && checkIndexPath(indexPath),
548
- open: (index, indexPath) => isString(index) && checkIndexPath(indexPath),
549
- select: (index, indexPath, item, routerResult) => isString(index) && checkIndexPath(indexPath) && isObject(item) && (routerResult === void 0 || routerResult instanceof Promise)
550
- };
551
- var Menu2 = defineComponent({
552
- name: "ElMenu",
553
- props: menuProps,
554
- emits: menuEmits,
555
- setup(props, { emit, slots, expose }) {
556
- const instance = getCurrentInstance();
557
- const router = instance.appContext.config.globalProperties.$router;
558
- const menu = ref();
559
- const nsMenu = useNamespace("menu");
560
- const nsSubMenu = useNamespace("sub-menu");
561
- const sliceIndex = ref(-1);
562
- const openedMenus = ref(props.defaultOpeneds && !props.collapse ? props.defaultOpeneds.slice(0) : []);
563
- const activeIndex = ref(props.defaultActive);
564
- const items = ref({});
565
- const subMenus = ref({});
566
- const isMenuPopup = computed(() => {
567
- return props.mode === "horizontal" || props.mode === "vertical" && props.collapse;
568
- });
569
- const initMenu = () => {
570
- const activeItem = activeIndex.value && items.value[activeIndex.value];
571
- if (!activeItem || props.mode === "horizontal" || props.collapse)
572
- return;
573
- const indexPath = activeItem.indexPath;
574
- indexPath.forEach((index) => {
575
- const subMenu = subMenus.value[index];
576
- subMenu && openMenu(index, subMenu.indexPath);
577
- });
578
- };
579
- const openMenu = (index, indexPath) => {
580
- if (openedMenus.value.includes(index))
581
- return;
582
- if (props.uniqueOpened) {
583
- openedMenus.value = openedMenus.value.filter((index2) => indexPath.includes(index2));
584
- }
585
- openedMenus.value.push(index);
586
- emit("open", index, indexPath);
587
- };
588
- const close = (index) => {
589
- const i = openedMenus.value.indexOf(index);
590
- if (i !== -1) {
591
- openedMenus.value.splice(i, 1);
592
- }
593
- };
594
- const closeMenu = (index, indexPath) => {
595
- close(index);
596
- emit("close", index, indexPath);
597
- };
598
- const handleSubMenuClick = ({
599
- index,
600
- indexPath
601
- }) => {
602
- const isOpened = openedMenus.value.includes(index);
603
- if (isOpened) {
604
- closeMenu(index, indexPath);
605
- } else {
606
- openMenu(index, indexPath);
607
- }
608
- };
609
- const handleMenuItemClick = (menuItem) => {
610
- if (props.mode === "horizontal" || props.collapse) {
611
- openedMenus.value = [];
612
- }
613
- const { index, indexPath } = menuItem;
614
- if (isNil(index) || isNil(indexPath))
615
- return;
616
- if (props.router && router) {
617
- const route = menuItem.route || index;
618
- const routerResult = router.push(route).then((res) => {
619
- if (!res)
620
- activeIndex.value = index;
621
- return res;
622
- });
623
- emit("select", index, indexPath, { index, indexPath, route }, routerResult);
624
- } else {
625
- activeIndex.value = index;
626
- emit("select", index, indexPath, { index, indexPath });
627
- }
628
- };
629
- const updateActiveIndex = (val) => {
630
- const itemsInData = items.value;
631
- const item = itemsInData[val] || activeIndex.value && itemsInData[activeIndex.value] || itemsInData[props.defaultActive];
632
- if (item) {
633
- activeIndex.value = item.index;
634
- } else {
635
- activeIndex.value = val;
636
- }
637
- };
638
- const calcSliceIndex = () => {
639
- var _a, _b;
640
- if (!menu.value)
641
- return -1;
642
- const items2 = Array.from((_b = (_a = menu.value) == null ? void 0 : _a.childNodes) != null ? _b : []).filter((item) => item.nodeName !== "#comment" && (item.nodeName !== "#text" || item.nodeValue));
643
- const moreItemWidth = 64;
644
- const paddingLeft = Number.parseInt(getComputedStyle(menu.value).paddingLeft, 10);
645
- const paddingRight = Number.parseInt(getComputedStyle(menu.value).paddingRight, 10);
646
- const menuWidth = menu.value.clientWidth - paddingLeft - paddingRight;
647
- let calcWidth = 0;
648
- let sliceIndex2 = 0;
649
- items2.forEach((item, index) => {
650
- calcWidth += item.offsetWidth || 0;
651
- if (calcWidth <= menuWidth - moreItemWidth) {
652
- sliceIndex2 = index + 1;
653
- }
654
- });
655
- return sliceIndex2 === items2.length ? -1 : sliceIndex2;
656
- };
657
- const debounce = (fn, wait = 33.34) => {
658
- let timmer;
659
- return () => {
660
- timmer && clearTimeout(timmer);
661
- timmer = setTimeout(() => {
662
- fn();
663
- }, wait);
664
- };
665
- };
666
- let isFirstTimeRender = true;
667
- const handleResize = () => {
668
- const callback = () => {
669
- sliceIndex.value = -1;
670
- nextTick(() => {
671
- sliceIndex.value = calcSliceIndex();
672
- });
673
- };
674
- isFirstTimeRender ? callback() : debounce(callback)();
675
- isFirstTimeRender = false;
676
- };
677
- watch(() => props.defaultActive, (currentActive) => {
678
- if (!items.value[currentActive]) {
679
- activeIndex.value = "";
680
- }
681
- updateActiveIndex(currentActive);
682
- });
683
- watch(() => props.collapse, (value) => {
684
- if (value)
685
- openedMenus.value = [];
686
- });
687
- watch(items.value, initMenu);
688
- let resizeStopper;
689
- watchEffect(() => {
690
- if (props.mode === "horizontal" && props.ellipsis)
691
- resizeStopper = useResizeObserver(menu, handleResize).stop;
692
- else
693
- resizeStopper == null ? void 0 : resizeStopper();
694
- });
695
- {
696
- const addSubMenu = (item) => {
697
- subMenus.value[item.index] = item;
698
- };
699
- const removeSubMenu = (item) => {
700
- delete subMenus.value[item.index];
701
- };
702
- const addMenuItem = (item) => {
703
- items.value[item.index] = item;
704
- };
705
- const removeMenuItem = (item) => {
706
- delete items.value[item.index];
707
- };
708
- provide("rootMenu", reactive({
709
- props,
710
- openedMenus,
711
- items,
712
- subMenus,
713
- activeIndex,
714
- isMenuPopup,
715
- addMenuItem,
716
- removeMenuItem,
717
- addSubMenu,
718
- removeSubMenu,
719
- openMenu,
720
- closeMenu,
721
- handleMenuItemClick,
722
- handleSubMenuClick
723
- }));
724
- provide(`subMenu:${instance.uid}`, {
725
- addSubMenu,
726
- removeSubMenu,
727
- mouseInChild: ref(false),
728
- level: 0
729
- });
730
- }
731
- onMounted(() => {
732
- if (props.mode === "horizontal") {
733
- new Menu$1(instance.vnode.el, nsMenu.namespace.value);
734
- }
735
- });
736
- {
737
- const open = (index) => {
738
- const { indexPath } = subMenus.value[index];
739
- indexPath.forEach((i) => openMenu(i, indexPath));
740
- };
741
- expose({
742
- open,
743
- close,
744
- handleResize
745
- });
746
- }
747
- return () => {
748
- var _a, _b;
749
- let slot = (_b = (_a = slots.default) == null ? void 0 : _a.call(slots)) != null ? _b : [];
750
- const vShowMore = [];
751
- if (props.mode === "horizontal" && menu.value) {
752
- const originalSlot = flattedChildren(slot);
753
- const slotDefault = sliceIndex.value === -1 ? originalSlot : originalSlot.slice(0, sliceIndex.value);
754
- const slotMore = sliceIndex.value === -1 ? [] : originalSlot.slice(sliceIndex.value);
755
- if ((slotMore == null ? void 0 : slotMore.length) && props.ellipsis) {
756
- slot = slotDefault;
757
- vShowMore.push(h(SubMenu2, {
758
- index: "sub-menu-more",
759
- class: nsSubMenu.e("hide-arrow")
760
- }, {
761
- title: () => h(ElIcon, {
762
- class: nsSubMenu.e("icon-more")
763
- }, { default: () => h(more_default) }),
764
- default: () => slotMore
765
- }));
766
- }
767
- }
768
- const ulStyle = useMenuCssVar(props, 0);
769
- const vMenu = h("ul", {
770
- key: String(props.collapse),
771
- role: "menubar",
772
- ref: menu,
773
- style: ulStyle.value,
774
- class: {
775
- [nsMenu.b()]: true,
776
- [nsMenu.m(props.mode)]: true,
777
- [nsMenu.m("collapse")]: props.collapse
778
- }
779
- }, [...slot, ...vShowMore]);
780
- if (props.collapseTransition && props.mode === "vertical") {
781
- return h(ElMenuCollapseTransition, () => vMenu);
782
- }
783
- return vMenu;
784
- };
785
- }
786
- });
787
- const menuItemProps = buildProps({
788
- index: {
789
- type: definePropType([String, null]),
790
- default: null
791
- },
792
- route: {
793
- type: definePropType([String, Object])
794
- },
795
- disabled: Boolean
796
- });
797
- const menuItemEmits = {
798
- click: (item) => isString(item.index) && Array.isArray(item.indexPath)
799
- };
800
- const COMPONENT_NAME$1 = "ElMenuItem";
801
- const _sfc_main$8 = defineComponent({
802
- name: COMPONENT_NAME$1,
803
- components: {
804
- ElTooltip
805
- },
806
- props: menuItemProps,
807
- emits: menuItemEmits,
808
- setup(props, { emit }) {
809
- const instance = getCurrentInstance();
810
- const rootMenu = inject("rootMenu");
811
- const nsMenu = useNamespace("menu");
812
- const nsMenuItem = useNamespace("menu-item");
813
- if (!rootMenu)
814
- throwError(COMPONENT_NAME$1, "can not inject root menu");
815
- const { parentMenu, indexPath } = useMenu(instance, toRef(props, "index"));
816
- const subMenu = inject(`subMenu:${parentMenu.value.uid}`);
817
- if (!subMenu)
818
- throwError(COMPONENT_NAME$1, "can not inject sub menu");
819
- const active = computed(() => props.index === rootMenu.activeIndex);
820
- const item = reactive({
821
- index: props.index,
822
- indexPath,
823
- active
824
- });
825
- const handleClick = () => {
826
- if (!props.disabled) {
827
- rootMenu.handleMenuItemClick({
828
- index: props.index,
829
- indexPath: indexPath.value,
830
- route: props.route
831
- });
832
- emit("click", item);
833
- }
834
- };
835
- onMounted(() => {
836
- subMenu.addSubMenu(item);
837
- rootMenu.addMenuItem(item);
838
- });
839
- onBeforeUnmount(() => {
840
- subMenu.removeSubMenu(item);
841
- rootMenu.removeMenuItem(item);
842
- });
843
- return {
844
- parentMenu,
845
- rootMenu,
846
- active,
847
- nsMenu,
848
- nsMenuItem,
849
- handleClick
850
- };
851
- }
852
- });
853
- function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
854
- const _component_el_tooltip = resolveComponent("el-tooltip");
855
- return openBlock(), createElementBlock("li", {
856
- class: normalizeClass([
857
- _ctx.nsMenuItem.b(),
858
- _ctx.nsMenuItem.is("active", _ctx.active),
859
- _ctx.nsMenuItem.is("disabled", _ctx.disabled)
860
- ]),
861
- role: "menuitem",
862
- tabindex: "-1",
863
- onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
864
- }, [
865
- _ctx.parentMenu.type.name === "ElMenu" && _ctx.rootMenu.props.collapse && _ctx.$slots.title ? (openBlock(), createBlock(_component_el_tooltip, {
866
- key: 0,
867
- effect: _ctx.rootMenu.props.popperEffect,
868
- placement: "right",
869
- "fallback-placements": ["left"],
870
- persistent: ""
871
- }, {
872
- content: withCtx(() => [
873
- renderSlot(_ctx.$slots, "title")
874
- ]),
875
- default: withCtx(() => [
876
- createBaseVNode("div", {
877
- class: normalizeClass(_ctx.nsMenu.be("tooltip", "trigger"))
878
- }, [
879
- renderSlot(_ctx.$slots, "default")
880
- ], 2)
881
- ]),
882
- _: 3
883
- }, 8, ["effect"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
884
- renderSlot(_ctx.$slots, "default"),
885
- renderSlot(_ctx.$slots, "title")
886
- ], 64))
887
- ], 2);
888
- }
889
- var MenuItem2 = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$1], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item.vue"]]);
890
- const menuItemGroupProps = {
891
- title: String
892
- };
893
- const COMPONENT_NAME = "ElMenuItemGroup";
894
- const _sfc_main$7 = defineComponent({
895
- name: COMPONENT_NAME,
896
- props: menuItemGroupProps,
897
- setup() {
898
- const ns = useNamespace("menu-item-group");
899
- return {
900
- ns
901
- };
902
- }
903
- });
904
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
905
- return openBlock(), createElementBlock("li", {
906
- class: normalizeClass(_ctx.ns.b())
907
- }, [
908
- createBaseVNode("div", {
909
- class: normalizeClass(_ctx.ns.e("title"))
910
- }, [
911
- !_ctx.$slots.title ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
912
- createTextVNode(toDisplayString(_ctx.title), 1)
913
- ], 64)) : renderSlot(_ctx.$slots, "title", { key: 1 })
914
- ], 2),
915
- createBaseVNode("ul", null, [
916
- renderSlot(_ctx.$slots, "default")
917
- ])
918
- ], 2);
919
- }
920
- var MenuItemGroup = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item-group.vue"]]);
921
- const ElMenu = withInstall(Menu2, {
922
- MenuItem: MenuItem2,
923
- MenuItemGroup,
924
- SubMenu: SubMenu2
925
- });
926
- const ElMenuItem = withNoopInstall(MenuItem2);
927
- withNoopInstall(MenuItemGroup);
928
- const ElSubMenu = withNoopInstall(SubMenu2);
929
- const ROOT_MENU_INDEX = "-1";
930
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
931
- ...{
932
- name: "N8nNavigationDropdown"
933
- },
934
- __name: "NavigationDropdown",
935
- props: {
936
- menu: {},
937
- disabled: { type: Boolean },
938
- teleport: { type: Boolean }
939
- },
940
- emits: ["itemClick", "select"],
941
- setup(__props, { expose: __expose, emit: __emit }) {
942
- const menuRef = ref(null);
943
- const emit = __emit;
944
- const close = () => {
945
- menuRef.value?.close(ROOT_MENU_INDEX);
946
- };
947
- const menuTrigger = ref("click");
948
- const onOpen = (index) => {
949
- if (index !== ROOT_MENU_INDEX) return;
950
- menuTrigger.value = "hover";
951
- };
952
- const onClose = (index) => {
953
- if (index !== ROOT_MENU_INDEX) return;
954
- menuTrigger.value = "click";
955
- };
956
- __expose({
957
- close
958
- });
959
- return (_ctx, _cache) => {
960
- return openBlock(), createBlock(unref(ElMenu), {
961
- ref_key: "menuRef",
962
- ref: menuRef,
963
- mode: "horizontal",
964
- "unique-opened": "",
965
- "menu-trigger": menuTrigger.value,
966
- ellipsis: false,
967
- class: normalizeClass(_ctx.$style.dropdown),
968
- onSelect: _cache[1] || (_cache[1] = ($event) => emit("select", $event)),
969
- onKeyup: withKeys(close, ["escape"]),
970
- onOpen,
971
- onClose
972
- }, {
973
- default: withCtx(() => [
974
- createVNode(unref(ElSubMenu), {
975
- index: ROOT_MENU_INDEX,
976
- class: normalizeClass(_ctx.$style.trigger),
977
- "popper-offset": -10,
978
- "popper-class": _ctx.$style.submenu,
979
- disabled: _ctx.disabled,
980
- teleported: _ctx.teleport
981
- }, {
982
- title: withCtx(() => [
983
- renderSlot(_ctx.$slots, "default")
984
- ]),
985
- default: withCtx(() => [
986
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.menu, (item) => {
987
- return openBlock(), createElementBlock(Fragment, {
988
- key: item.id
989
- }, [
990
- item.submenu ? (openBlock(), createBlock(unref(ElSubMenu), {
991
- key: 0,
992
- "popper-class": _ctx.$style.nestedSubmenu,
993
- index: item.id,
994
- "popper-offset": -10,
995
- "data-test-id": "navigation-submenu"
996
- }, {
997
- title: withCtx(() => [
998
- createTextVNode(toDisplayString(item.title), 1)
999
- ]),
1000
- default: withCtx(() => [
1001
- (openBlock(true), createElementBlock(Fragment, null, renderList(item.submenu, (subitem) => {
1002
- return openBlock(), createBlock(unref(_sfc_main$a), {
1003
- key: subitem.id,
1004
- to: !subitem.disabled && subitem.route || void 0
1005
- }, {
1006
- default: withCtx(() => [
1007
- createVNode(unref(ElMenuItem), {
1008
- "data-test-id": "navigation-submenu-item",
1009
- index: subitem.id,
1010
- disabled: subitem.disabled,
1011
- onClick: _cache[0] || (_cache[0] = ($event) => emit("itemClick", $event))
1012
- }, {
1013
- default: withCtx(() => [
1014
- subitem.icon ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
1015
- typeof subitem.icon === "string" || subitem.icon.type === "icon" ? (openBlock(), createBlock(unref(N8nIcon), {
1016
- key: 0,
1017
- class: normalizeClass(_ctx.$style.submenu__icon),
1018
- icon: typeof subitem.icon === "object" ? subitem.icon.value : subitem.icon
1019
- }, null, 8, ["class", "icon"])) : subitem.icon.type === "emoji" ? (openBlock(), createBlock(unref(N8nText), {
1020
- key: 1,
1021
- class: normalizeClass(_ctx.$style.submenu__icon)
1022
- }, {
1023
- default: withCtx(() => [
1024
- createTextVNode(toDisplayString(subitem.icon.value), 1)
1025
- ]),
1026
- _: 2
1027
- }, 1032, ["class"])) : createCommentVNode("", true)
1028
- ], 64)) : createCommentVNode("", true),
1029
- createTextVNode(" " + toDisplayString(subitem.title) + " ", 1),
1030
- renderSlot(_ctx.$slots, `item.append.${item.id}`, mergeProps({ ref_for: true }, { item }))
1031
- ]),
1032
- _: 2
1033
- }, 1032, ["index", "disabled"])
1034
- ]),
1035
- _: 2
1036
- }, 1032, ["to"]);
1037
- }), 128))
1038
- ]),
1039
- _: 2
1040
- }, 1032, ["popper-class", "index"])) : (openBlock(), createBlock(unref(_sfc_main$a), {
1041
- key: 1,
1042
- to: !item.disabled && item.route || void 0
1043
- }, {
1044
- default: withCtx(() => [
1045
- createVNode(unref(ElMenuItem), {
1046
- index: item.id,
1047
- disabled: item.disabled,
1048
- "data-test-id": "navigation-menu-item"
1049
- }, {
1050
- default: withCtx(() => [
1051
- createTextVNode(toDisplayString(item.title) + " ", 1),
1052
- renderSlot(_ctx.$slots, `item.append.${item.id}`, mergeProps({ ref_for: true }, { item }))
1053
- ]),
1054
- _: 2
1055
- }, 1032, ["index", "disabled"])
1056
- ]),
1057
- _: 2
1058
- }, 1032, ["to"]))
1059
- ], 64);
1060
- }), 128))
1061
- ]),
1062
- _: 3
1063
- }, 8, ["class", "popper-class", "disabled", "teleported"])
1064
- ]),
1065
- _: 3
1066
- }, 8, ["menu-trigger", "class"]);
1067
- };
1068
- }
1069
- });
1070
- const dropdown = "_dropdown_1dr86_123";
1071
- const nestedSubmenu = "_nestedSubmenu_1dr86_140";
1072
- const submenu = "_submenu_1dr86_145";
1073
- const submenu__icon = "_submenu__icon_1dr86_173";
1074
- const style0$6 = {
1075
- dropdown,
1076
- nestedSubmenu,
1077
- submenu,
1078
- submenu__icon
1079
- };
1080
- const cssModules$6 = {
1081
- "$style": style0$6
1082
- };
1083
- const N8nNavigationDropdown = /* @__PURE__ */ _export_sfc$1(_sfc_main$6, [["__cssModules", cssModules$6]]);
1
+ import { b7 as get, b8 as useDebugInfo, v as useSettingsStore, b9 as useCloudPlanStore, av as useProjectsStore, af as useSourceControlStore, b as useRouter, a as useToast, r as ref, x as computed, ba as sortByProperty, V as VIEWS, c as useI18n, aC as getResourcePermissions, bb as updatedIconSet, aB as usePageRedirectionHelper, a0 as defineStore, au as useRootStore, bc as useStorage, bd as DateTime, a5 as STORES, d as defineComponent, h as createElementBlock, f as createCommentVNode, k as unref, g as openBlock, n as normalizeClass, j as createBaseVNode, i as createVNode, t as toDisplayString, N as N8nIcon, q as N8nButton, al as useTelemetry, _ as _export_sfc, be as useVersionsStore, Q as useUIStore, w as withCtx, l as createTextVNode, C as N8nLink, aa as N8nTooltip, bf as VERSIONS_MODAL_KEY, bg as usePersonalizedTemplatesV3Store, a8 as watch, o as onMounted, bh as onUnmounted, e as createBlock, ap as normalizeStyle, bi as Teleport, Z as nextTick, u as useUsersStore, b3 as onBeforeMount, bj as N8nMenuItem, m as N8nHeading, F as Fragment, A as renderList, a3 as useRoute, aE as hasPermission, bk as useTemplatesStore, a2 as useWorkflowsStore, bl as usePersonalizedTemplatesV2Store, P as useDebounce, bm as useCalloutHelpers, bn as usePostHog, bo as useKeybindings, bp as PROJECT_VARIABLES_EXPERIMENT, bq as CHAT_VIEW, br as RELEASE_NOTES_URL, bs as useExternalHooks, X as onBeforeUnmount, bt as onClickOutside, ac as I18nT, ab as _sfc_main$6, y as N8nPopoverReka, p as N8nText, bu as resolveDynamicComponent, K as mergeProps, bv as N8nScrollArea, G as N8nAvatar, bw as WHATS_NEW_MODAL_KEY, bx as ABOUT_MODAL_KEY, by as EXPERIMENT_TEMPLATE_RECO_V3_KEY, bz as trackTemplatesClick, bA as TemplateClickSource, bB as EXPERIMENT_TEMPLATE_RECO_V2_KEY } from "./index-CW8ZBeS3.js";
2
+ import { L as Logo } from "./Logo-BCYYCeCH.js";
3
+ import { N as N8nNavigationDropdown } from "./NavigationDropdown-BmOSJSCn.js";
1084
4
  const isCustomMenuItem = (e) => "component" in e;
1085
5
  async function getBecomeCreatorCta(context) {
1086
6
  const response = await get(context.baseUrl, "/cta/become-creator");
@@ -1430,11 +350,11 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1430
350
  };
1431
351
  }
1432
352
  });
1433
- const container$1 = "_container_977ul_123";
1434
- const textAndCloseButton = "_textAndCloseButton_977ul_131";
1435
- const text$1 = "_text_977ul_131";
1436
- const closeButton = "_closeButton_977ul_144";
1437
- const becomeCreatorButton = "_becomeCreatorButton_977ul_156";
353
+ const container$1 = "_container_1ab4u_123";
354
+ const textAndCloseButton = "_textAndCloseButton_1ab4u_131";
355
+ const text$1 = "_text_1ab4u_131";
356
+ const closeButton = "_closeButton_1ab4u_144";
357
+ const becomeCreatorButton = "_becomeCreatorButton_1ab4u_156";
1438
358
  const style0$5 = {
1439
359
  container: container$1,
1440
360
  textAndCloseButton,
@@ -1445,7 +365,7 @@ const style0$5 = {
1445
365
  const cssModules$5 = {
1446
366
  "$style": style0$5
1447
367
  };
1448
- const BecomeTemplateCreatorCta = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["__cssModules", cssModules$5]]);
368
+ const BecomeTemplateCreatorCta = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__cssModules", cssModules$5]]);
1449
369
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1450
370
  __name: "VersionUpdateCTA",
1451
371
  props: {
@@ -1507,8 +427,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1507
427
  };
1508
428
  }
1509
429
  });
1510
- const container = "_container_1xpwi_123";
1511
- const button = "_button_1xpwi_135";
430
+ const container = "_container_5mg6c_123";
431
+ const button = "_button_5mg6c_135";
1512
432
  const style0$4 = {
1513
433
  container,
1514
434
  button
@@ -1516,7 +436,7 @@ const style0$4 = {
1516
436
  const cssModules$4 = {
1517
437
  "$style": style0$4
1518
438
  };
1519
- const VersionUpdateCTA = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["__cssModules", cssModules$4]]);
439
+ const VersionUpdateCTA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__cssModules", cssModules$4]]);
1520
440
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
1521
441
  __name: "TemplateTooltip",
1522
442
  setup(__props) {
@@ -1648,11 +568,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
1648
568
  };
1649
569
  }
1650
570
  });
1651
- const triggerContainer = "_triggerContainer_l9heg_123";
1652
- const tooltipTrigger = "_tooltipTrigger_l9heg_128";
1653
- const tooltipContent = "_tooltipContent_l9heg_134";
1654
- const text = "_text_l9heg_140";
1655
- const dismissButton = "_dismissButton_l9heg_146";
571
+ const triggerContainer = "_triggerContainer_5kwt6_123";
572
+ const tooltipTrigger = "_tooltipTrigger_5kwt6_128";
573
+ const tooltipContent = "_tooltipContent_5kwt6_134";
574
+ const text = "_text_5kwt6_140";
575
+ const dismissButton = "_dismissButton_5kwt6_146";
1656
576
  const style0$3 = {
1657
577
  triggerContainer,
1658
578
  tooltipTrigger,
@@ -1663,7 +583,7 @@ const style0$3 = {
1663
583
  const cssModules$3 = {
1664
584
  "$style": style0$3
1665
585
  };
1666
- const TemplateTooltip = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["__cssModules", cssModules$3]]);
586
+ const TemplateTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__cssModules", cssModules$3]]);
1667
587
  const _hoisted_1$1 = { class: "home" };
1668
588
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1669
589
  __name: "ProjectNavigation",
@@ -1837,13 +757,13 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1837
757
  };
1838
758
  }
1839
759
  });
1840
- const projects = "_projects_ejqc3_123";
1841
- const plusBtn = "_plusBtn_ejqc3_128";
1842
- const projectItems = "_projectItems_ejqc3_132";
1843
- const upgradeLink = "_upgradeLink_ejqc3_136";
1844
- const projectsLabel = "_projectsLabel_ejqc3_141";
1845
- const collapsed$1 = "_collapsed_ejqc3_150";
1846
- const addFirstProjectBtn = "_addFirstProjectBtn_ejqc3_163";
760
+ const projects = "_projects_81iv3_123";
761
+ const plusBtn = "_plusBtn_81iv3_128";
762
+ const projectItems = "_projectItems_81iv3_132";
763
+ const upgradeLink = "_upgradeLink_81iv3_136";
764
+ const projectsLabel = "_projectsLabel_81iv3_141";
765
+ const collapsed$1 = "_collapsed_81iv3_150";
766
+ const addFirstProjectBtn = "_addFirstProjectBtn_81iv3_163";
1847
767
  const style0$2 = {
1848
768
  projects,
1849
769
  plusBtn,
@@ -1856,7 +776,7 @@ const style0$2 = {
1856
776
  const cssModules$2 = {
1857
777
  "$style": style0$2
1858
778
  };
1859
- const ProjectNavigation = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["__cssModules", cssModules$2], ["__scopeId", "data-v-3e39eef7"]]);
779
+ const ProjectNavigation = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__cssModules", cssModules$2], ["__scopeId", "data-v-5d368480"]]);
1860
780
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
1861
781
  __name: "MainSidebarSourceControl",
1862
782
  props: {
@@ -1978,11 +898,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
1978
898
  };
1979
899
  }
1980
900
  });
1981
- const sync = "_sync_fv3ov_123";
1982
- const isConnected = "_isConnected_fv3ov_130";
1983
- const collapsed = "_collapsed_fv3ov_134";
1984
- const branchName = "_branchName_fv3ov_144";
1985
- const connected = "_connected_fv3ov_154";
901
+ const sync = "_sync_1xb4i_123";
902
+ const isConnected = "_isConnected_1xb4i_129";
903
+ const collapsed = "_collapsed_1xb4i_133";
904
+ const branchName = "_branchName_1xb4i_143";
905
+ const connected = "_connected_1xb4i_153";
1986
906
  const style0$1 = {
1987
907
  sync,
1988
908
  isConnected,
@@ -1993,7 +913,7 @@ const style0$1 = {
1993
913
  const cssModules$1 = {
1994
914
  "$style": style0$1
1995
915
  };
1996
- const MainSidebarSourceControl = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["__cssModules", cssModules$1]]);
916
+ const MainSidebarSourceControl = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules$1]]);
1997
917
  const _hoisted_1 = { key: 0 };
1998
918
  const _hoisted_2 = {
1999
919
  class: "ml-3xs",
@@ -2023,6 +943,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2023
943
  const pageRedirectionHelper = usePageRedirectionHelper();
2024
944
  const { getReportingURL } = useBugReporting();
2025
945
  const calloutHelpers = useCalloutHelpers();
946
+ const posthogStore = usePostHog();
2026
947
  useKeybindings({
2027
948
  ctrl_alt_o: () => handleSelect("about")
2028
949
  });
@@ -2046,6 +967,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2046
967
  (article) => !versionsStore.isWhatsNewArticleRead(article.id)
2047
968
  )
2048
969
  );
970
+ const isProjectVariablesEnabled = computed(
971
+ () => posthogStore.isVariantEnabled(
972
+ PROJECT_VARIABLES_EXPERIMENT.name,
973
+ PROJECT_VARIABLES_EXPERIMENT.variant
974
+ )
975
+ );
2049
976
  const mainMenuItems = computed(() => [
2050
977
  {
2051
978
  id: "cloud-admin",
@@ -2060,7 +987,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2060
987
  icon: "package-open",
2061
988
  label: i18n.baseText("mainSidebar.templates"),
2062
989
  position: "bottom",
2063
- available: settingsStore.isTemplatesEnabled && calloutHelpers.isPreBuiltAgentsCalloutVisible.value && !personalizedTemplatesV2Store.isFeatureEnabled(),
990
+ available: settingsStore.isTemplatesEnabled && calloutHelpers.isPreBuiltAgentsCalloutVisible.value && !(personalizedTemplatesV2Store.isFeatureEnabled() || personalizedTemplatesV3Store.isFeatureEnabled()),
2064
991
  route: { to: { name: VIEWS.PRE_BUILT_AGENT_TEMPLATES } }
2065
992
  },
2066
993
  {
@@ -2069,7 +996,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2069
996
  icon: "package-open",
2070
997
  label: i18n.baseText("mainSidebar.templates"),
2071
998
  position: "bottom",
2072
- available: settingsStore.isTemplatesEnabled && !calloutHelpers.isPreBuiltAgentsCalloutVisible.value && (personalizedTemplatesV2Store.isFeatureEnabled() || personalizedTemplatesV3Store.isFeatureEnabled())
999
+ available: settingsStore.isTemplatesEnabled && (personalizedTemplatesV2Store.isFeatureEnabled() || personalizedTemplatesV3Store.isFeatureEnabled())
2073
1000
  },
2074
1001
  {
2075
1002
  // Link to in-app templates, available if custom templates are enabled and experiment is disabled
@@ -2097,7 +1024,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2097
1024
  icon: "variable",
2098
1025
  label: i18n.baseText("mainSidebar.variables"),
2099
1026
  position: "bottom",
2100
- route: { to: { name: VIEWS.VARIABLES } }
1027
+ route: { to: { name: VIEWS.VARIABLES } },
1028
+ available: !isProjectVariablesEnabled.value
2101
1029
  },
2102
1030
  {
2103
1031
  id: "insights",
@@ -2107,6 +1035,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2107
1035
  route: { to: { name: VIEWS.INSIGHTS } },
2108
1036
  available: settingsStore.isModuleActive("insights") && hasPermission(["rbac"], { rbac: { scope: "insights:list" } })
2109
1037
  },
1038
+ {
1039
+ id: "chat",
1040
+ icon: "bot",
1041
+ label: "Chat",
1042
+ position: "bottom",
1043
+ route: { to: { name: CHAT_VIEW } },
1044
+ available: settingsStore.isChatFeatureEnabled && hasPermission(["rbac"], { rbac: { scope: "chatHub:message" } })
1045
+ },
2110
1046
  {
2111
1047
  id: "help",
2112
1048
  icon: "circle-help",
@@ -2493,7 +1429,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2493
1429
  }, 1032, ["content"])) : createCommentVNode("", true)
2494
1430
  ]),
2495
1431
  default: withCtx(() => [
2496
- createVNode(unref(_sfc_main$b), {
1432
+ createVNode(unref(_sfc_main$6), {
2497
1433
  icon: "plus",
2498
1434
  type: "secondary",
2499
1435
  outline: ""
@@ -2515,7 +1451,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2515
1451
  class: normalizeClass(_ctx.$style.bottomMenu)
2516
1452
  }, [
2517
1453
  fullyExpanded.value && !userIsTrialing.value ? (openBlock(), createBlock(BecomeTemplateCreatorCta, { key: 0 })) : createCommentVNode("", true),
2518
- createVNode(MainSidebarSourceControl, { "is-collapsed": isCollapsed.value }, null, 8, ["is-collapsed"]),
2519
1454
  createBaseVNode("div", {
2520
1455
  class: normalizeClass(_ctx.$style.bottomMenuItems)
2521
1456
  }, [
@@ -2576,105 +1511,106 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2576
1511
  ], 64);
2577
1512
  }), 128))
2578
1513
  ], 2)
2579
- ], 2),
2580
- showUserArea.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
2581
- createBaseVNode("div", {
2582
- ref_key: "user",
2583
- ref: user,
2584
- class: normalizeClass(_ctx.$style.userArea)
2585
- }, [
2586
- createVNode(unref(N8nPopoverReka), {
2587
- side: "right",
2588
- align: "end",
2589
- "side-offset": 16
2590
- }, {
2591
- content: withCtx(() => [
2592
- createBaseVNode("div", {
2593
- class: normalizeClass(_ctx.$style.popover)
2594
- }, [
2595
- (openBlock(true), createElementBlock(Fragment, null, renderList(userMenuItems.value, (action) => {
2596
- return openBlock(), createBlock(unref(N8nMenuItem), {
2597
- key: action.id,
2598
- item: action,
2599
- "data-test-id": `user-menu-item-${action.id}`,
2600
- onClick: () => onUserActionToggle(action.id)
2601
- }, null, 8, ["item", "data-test-id", "onClick"]);
2602
- }), 128))
2603
- ], 2)
2604
- ]),
2605
- trigger: withCtx(() => [
2606
- createBaseVNode("div", {
2607
- class: normalizeClass(_ctx.$style.userAreaInner)
2608
- }, [
2609
- createBaseVNode("div", _hoisted_2, [
2610
- createBaseVNode("div", {
2611
- class: normalizeClass({ [_ctx.$style.avatar]: true, ["clickable"]: isCollapsed.value })
2612
- }, [
2613
- createVNode(unref(N8nAvatar), {
2614
- "first-name": unref(usersStore).currentUser?.firstName,
2615
- "last-name": unref(usersStore).currentUser?.lastName,
2616
- size: "small"
2617
- }, null, 8, ["first-name", "last-name"])
2618
- ], 2)
2619
- ]),
2620
- createBaseVNode("div", {
2621
- class: normalizeClass({
2622
- ["ml-2xs"]: true,
2623
- [_ctx.$style.userName]: true,
2624
- [_ctx.$style.expanded]: fullyExpanded.value
2625
- })
2626
- }, [
2627
- createVNode(unref(N8nText), {
2628
- size: "small",
2629
- color: "text-dark"
2630
- }, {
2631
- default: withCtx(() => [
2632
- createTextVNode(toDisplayString(unref(usersStore).currentUser?.fullName), 1)
2633
- ]),
2634
- _: 1
2635
- })
2636
- ], 2),
2637
- createBaseVNode("div", {
2638
- "data-test-id": "user-menu",
2639
- class: normalizeClass({ [_ctx.$style.userActions]: true, [_ctx.$style.expanded]: fullyExpanded.value })
2640
- }, [
2641
- createVNode(unref(_sfc_main$b), {
2642
- icon: "ellipsis",
2643
- text: "",
2644
- square: "",
2645
- type: "tertiary"
2646
- })
2647
- ], 2)
2648
- ], 2)
2649
- ]),
2650
- _: 1
2651
- })
2652
- ], 2)
2653
- ])) : createCommentVNode("", true)
1514
+ ], 2)
2654
1515
  ], 2)
2655
1516
  ]),
2656
1517
  _: 1
2657
1518
  }),
1519
+ createVNode(MainSidebarSourceControl, { "is-collapsed": isCollapsed.value }, null, 8, ["is-collapsed"]),
1520
+ showUserArea.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
1521
+ createBaseVNode("div", {
1522
+ ref_key: "user",
1523
+ ref: user,
1524
+ class: normalizeClass(_ctx.$style.userArea)
1525
+ }, [
1526
+ createVNode(unref(N8nPopoverReka), {
1527
+ side: "right",
1528
+ align: "end",
1529
+ "side-offset": 16
1530
+ }, {
1531
+ content: withCtx(() => [
1532
+ createBaseVNode("div", {
1533
+ class: normalizeClass(_ctx.$style.popover)
1534
+ }, [
1535
+ (openBlock(true), createElementBlock(Fragment, null, renderList(userMenuItems.value, (action) => {
1536
+ return openBlock(), createBlock(unref(N8nMenuItem), {
1537
+ key: action.id,
1538
+ item: action,
1539
+ "data-test-id": `user-menu-item-${action.id}`,
1540
+ onClick: () => onUserActionToggle(action.id)
1541
+ }, null, 8, ["item", "data-test-id", "onClick"]);
1542
+ }), 128))
1543
+ ], 2)
1544
+ ]),
1545
+ trigger: withCtx(() => [
1546
+ createBaseVNode("div", {
1547
+ class: normalizeClass(_ctx.$style.userAreaInner)
1548
+ }, [
1549
+ createBaseVNode("div", _hoisted_2, [
1550
+ createBaseVNode("div", {
1551
+ class: normalizeClass({ [_ctx.$style.avatar]: true, ["clickable"]: isCollapsed.value })
1552
+ }, [
1553
+ createVNode(unref(N8nAvatar), {
1554
+ "first-name": unref(usersStore).currentUser?.firstName,
1555
+ "last-name": unref(usersStore).currentUser?.lastName,
1556
+ size: "small"
1557
+ }, null, 8, ["first-name", "last-name"])
1558
+ ], 2)
1559
+ ]),
1560
+ createBaseVNode("div", {
1561
+ class: normalizeClass({
1562
+ ["ml-2xs"]: true,
1563
+ [_ctx.$style.userName]: true,
1564
+ [_ctx.$style.expanded]: fullyExpanded.value
1565
+ })
1566
+ }, [
1567
+ createVNode(unref(N8nText), {
1568
+ size: "small",
1569
+ color: "text-dark"
1570
+ }, {
1571
+ default: withCtx(() => [
1572
+ createTextVNode(toDisplayString(unref(usersStore).currentUser?.fullName), 1)
1573
+ ]),
1574
+ _: 1
1575
+ })
1576
+ ], 2),
1577
+ createBaseVNode("div", {
1578
+ "data-test-id": "user-menu",
1579
+ class: normalizeClass({ [_ctx.$style.userActions]: true, [_ctx.$style.expanded]: fullyExpanded.value })
1580
+ }, [
1581
+ createVNode(unref(_sfc_main$6), {
1582
+ icon: "ellipsis",
1583
+ text: "",
1584
+ square: "",
1585
+ type: "tertiary"
1586
+ })
1587
+ ], 2)
1588
+ ], 2)
1589
+ ]),
1590
+ _: 1
1591
+ })
1592
+ ], 2)
1593
+ ])) : createCommentVNode("", true),
2658
1594
  createVNode(TemplateTooltip)
2659
1595
  ], 2);
2660
1596
  };
2661
1597
  }
2662
1598
  });
2663
- const sideMenu = "_sideMenu_176p4_123";
2664
- const logo = "_logo_176p4_132";
2665
- const sideMenuCollapsed = "_sideMenuCollapsed_176p4_143";
2666
- const scrollArea = "_scrollArea_176p4_152";
2667
- const sideMenuCollapseButton = "_sideMenuCollapseButton_176p4_158";
2668
- const bottomMenu = "_bottomMenu_176p4_177";
2669
- const bottomMenuItems = "_bottomMenuItems_176p4_183";
2670
- const popover = "_popover_176p4_187";
2671
- const popoverTitle = "_popoverTitle_176p4_192";
2672
- const userArea = "_userArea_176p4_197";
2673
- const userName = "_userName_176p4_203";
2674
- const expanded = "_expanded_176p4_210";
2675
- const userActions = "_userActions_176p4_217";
2676
- const userAreaInner = "_userAreaInner_176p4_224";
2677
- const readOnlyEnvironmentIcon = "_readOnlyEnvironmentIcon_176p4_235";
1599
+ const sideMenu = "_sideMenu_144ie_123";
1600
+ const logo = "_logo_144ie_132";
1601
+ const sideMenuCollapsed = "_sideMenuCollapsed_144ie_143";
1602
+ const scrollArea = "_scrollArea_144ie_152";
1603
+ const sideMenuCollapseButton = "_sideMenuCollapseButton_144ie_158";
1604
+ const bottomMenu = "_bottomMenu_144ie_177";
1605
+ const bottomMenuItems = "_bottomMenuItems_144ie_183";
1606
+ const popover = "_popover_144ie_187";
1607
+ const popoverTitle = "_popoverTitle_144ie_192";
1608
+ const userArea = "_userArea_144ie_197";
1609
+ const userName = "_userName_144ie_203";
1610
+ const expanded = "_expanded_144ie_210";
1611
+ const userActions = "_userActions_144ie_217";
1612
+ const userAreaInner = "_userAreaInner_144ie_224";
1613
+ const readOnlyEnvironmentIcon = "_readOnlyEnvironmentIcon_144ie_235";
2678
1614
  const style0 = {
2679
1615
  sideMenu,
2680
1616
  logo,
@@ -2695,7 +1631,7 @@ const style0 = {
2695
1631
  const cssModules = {
2696
1632
  "$style": style0
2697
1633
  };
2698
- const MainSidebar = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__cssModules", cssModules]]);
1634
+ const MainSidebar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
2699
1635
  export {
2700
1636
  MainSidebar as default
2701
1637
  };