@atom8n/n8n-editor-ui 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.
Files changed (310) hide show
  1. package/.stylelintcache +1 -0
  2. package/README.md +59 -0
  3. package/biome.jsonc +8 -0
  4. package/build.log +55 -0
  5. package/data/node-popularity.json +3998 -0
  6. package/dist/assets/AddDataTableModal-UINkk54_.js +1555 -0
  7. package/dist/assets/AgentEditorModal-CVww87TJ.js +358 -0
  8. package/dist/assets/Alert-Dy86dyOr.js +102 -0
  9. package/dist/assets/AnimatedSpinner-DmPN4poP.js +15 -0
  10. package/dist/assets/AnnotationTagsDropdown.ee-BJ7N9lek.js +71 -0
  11. package/dist/assets/AuthView-D2LWHrMp.js +106 -0
  12. package/dist/assets/BottomMenu-CIQiK_dJ.js +532 -0
  13. package/dist/assets/CalendarDate-DgQUMbNo.js +875 -0
  14. package/dist/assets/ChangePasswordView-Z6tUkw0u.js +133 -0
  15. package/dist/assets/ChatAgentAvatar-50YBnv3N.js +67 -0
  16. package/dist/assets/ChatFile-xZxmc2nV.js +146 -0
  17. package/dist/assets/ChatLayout-CTE_5SiM.js +96 -0
  18. package/dist/assets/ChatPersonalAgentsView-BGpHk03K.js +149 -0
  19. package/dist/assets/ChatSidebar-BkVwIypC.js +528 -0
  20. package/dist/assets/ChatView-BbbdeU9x.js +1559 -0
  21. package/dist/assets/ChatWorkflowAgentsView-BtunOxlC.js +116 -0
  22. package/dist/assets/CollectionParameter-BdcPG1lu.js +52 -0
  23. package/dist/assets/CommitMonoVariable-ytizKI8U.woff2 +0 -0
  24. package/dist/assets/CommunityNodeUpdateInfo-C37kca4W.js +273 -0
  25. package/dist/assets/CopyInput-DDZVu2iU.js +74 -0
  26. package/dist/assets/CredentialIcon-8YdTTFZ1.js +80 -0
  27. package/dist/assets/CredentialPicker-DWtj314o.js +293 -0
  28. package/dist/assets/CredentialSelectorModal-DTW2fKh0.js +138 -0
  29. package/dist/assets/CredentialsView-BjUchcCu.js +480 -0
  30. package/dist/assets/DataTableActions-DpAkoxg_.js +95 -0
  31. package/dist/assets/DataTableDetailsView-Coq7zdW5.js +41922 -0
  32. package/dist/assets/DataTableView-Cs-BIkzw.js +293 -0
  33. package/dist/assets/DemoFooter-Cga3jvi-.js +65 -0
  34. package/dist/assets/Draggable-vfvXl9Sp.js +105 -0
  35. package/dist/assets/EmptySharedSectionActionBox-DOXZtTCv.js +36 -0
  36. package/dist/assets/EnterpriseEdition.ee-D_rCFexM.js +15 -0
  37. package/dist/assets/EntityNotFound-3dhTRWsE.js +85 -0
  38. package/dist/assets/EntityUnAuthorised-ChJYZakE.js +66 -0
  39. package/dist/assets/ErrorView-zT9cX76a.js +61 -0
  40. package/dist/assets/EvaluationsRootView-C-OVWYnY.js +523 -0
  41. package/dist/assets/EvaluationsView-CJwJTruc.js +469 -0
  42. package/dist/assets/ExecutionsTime-DEQiyozR.js +573 -0
  43. package/dist/assets/ExecutionsView-Bd5Oh8TH.js +791 -0
  44. package/dist/assets/ExternalSecretsProviderConnectionSwitch.ee-C7Ih-uRo.js +191 -0
  45. package/dist/assets/FixedCollectionParameter-CYuTDW9t.js +496 -0
  46. package/dist/assets/ForgotMyPasswordView-Bs_L9P27.js +102 -0
  47. package/dist/assets/InsightsChartAverageRuntime-Bp3VA8_7.js +62 -0
  48. package/dist/assets/InsightsChartFailed-KPaNWoEr.js +52 -0
  49. package/dist/assets/InsightsChartFailureRate-DE6kE3FM.js +54 -0
  50. package/dist/assets/InsightsChartTimeSaved-auABNZlc.js +68 -0
  51. package/dist/assets/InsightsChartTotal-BKzYRKE7.js +56 -0
  52. package/dist/assets/InsightsDashboard-JWx4W6Db.js +473 -0
  53. package/dist/assets/InsightsPaywall-C8zLLKe8.js +63 -0
  54. package/dist/assets/InsightsSummary-cmN1lHDm.js +210 -0
  55. package/dist/assets/InsightsTableWorkflows-CqcC3IbQ.js +203 -0
  56. package/dist/assets/InterVariable-DiVDrmQJ.woff2 +0 -0
  57. package/dist/assets/InterVariable-Italic-FCBEiFp6.woff2 +0 -0
  58. package/dist/assets/ItemsRenderer-DC8WVyMv.js +922 -0
  59. package/dist/assets/KeyboardShortcutTooltip-D8PAK5JP.js +31 -0
  60. package/dist/assets/LogsPanel-BR06u9RK.js +52 -0
  61. package/dist/assets/LogsPanel-C-_acMHp.js +2325 -0
  62. package/dist/assets/MCPConnectWorkflowsModal-3g8_iUa4.js +303 -0
  63. package/dist/assets/MainHeader-DiQc1edn.js +2153 -0
  64. package/dist/assets/MainSidebar-CoPGG5Ea.js +804 -0
  65. package/dist/assets/MigrationRuleDetail-BAxk1Pvl.js +295 -0
  66. package/dist/assets/MigrationRules-IW9lZMpE.js +285 -0
  67. package/dist/assets/Modal-CIzXlZdZ.js +204 -0
  68. package/dist/assets/ModelByIdSelectorModal-DLvBjzJO.js +115 -0
  69. package/dist/assets/NDVEmptyState-33UoX00I.js +19743 -0
  70. package/dist/assets/NodeCreation-BNzbSWSB.js +240 -0
  71. package/dist/assets/NodeCreator-BftgCKx7.js +1288 -0
  72. package/dist/assets/NodeDetailsView-CsoQCpcF.js +1075 -0
  73. package/dist/assets/NodeDetailsViewV2-C_wNQR_3.js +981 -0
  74. package/dist/assets/NodeIcon-B9VW6tX6.js +87 -0
  75. package/dist/assets/NodeSettings-ZwVip6VR.js +1872 -0
  76. package/dist/assets/NodeView-D4WUEvLB.js +2452 -0
  77. package/dist/assets/OAuthConsentView-DlrUqZbT.js +230 -0
  78. package/dist/assets/PageViewLayout-NT1KPFgy.js +12 -0
  79. package/dist/assets/ParameterInputList-sG2nz-Jo.js +38091 -0
  80. package/dist/assets/PrebuiltAgentTemplatesView-Csi5U8dc.js +154 -0
  81. package/dist/assets/ProjectBreadcrumb-C_XiY7sc.js +98 -0
  82. package/dist/assets/ProjectCardBadge-t_hs7vzx.js +209 -0
  83. package/dist/assets/ProjectHeader-Dq5Ihb26.js +549 -0
  84. package/dist/assets/ProjectIcon-DY8gGuHX.js +64 -0
  85. package/dist/assets/ProjectRoleView-Du-KTrAC.js +435 -0
  86. package/dist/assets/ProjectRolesView-DjxM_y4u.js +239 -0
  87. package/dist/assets/ProjectSettings-C6kWuV21.js +966 -0
  88. package/dist/assets/ProjectSharing-CVUgNWAY.js +262 -0
  89. package/dist/assets/ProjectVariables-CJlAo3dv.js +467 -0
  90. package/dist/assets/ProviderSettingsModal-BUFC2ZLv.js +307 -0
  91. package/dist/assets/PushConnectionTracker-DPBnGV0v.js +27 -0
  92. package/dist/assets/ResolversView-3BdkvvYA.js +209 -0
  93. package/dist/assets/ResourceFiltersDropdown-dgyXpcEX.js +159 -0
  94. package/dist/assets/ResourcesListLayout-qBLtomK6.js +631 -0
  95. package/dist/assets/RunDataHtml-BrW0OQra.js +7 -0
  96. package/dist/assets/RunDataHtml-Cleia4Cj.js +40 -0
  97. package/dist/assets/RunDataJson-uxkrhYRK.js +227 -0
  98. package/dist/assets/RunDataJsonActions-DkPk7E8d.js +5007 -0
  99. package/dist/assets/RunDataParsedAiContent-CtPRjig-.js +26 -0
  100. package/dist/assets/RunDataParsedAiContent-WAuqLQ5M.js +192 -0
  101. package/dist/assets/RunDataSearch-YBWUr93C.js +141 -0
  102. package/dist/assets/RunDataTable-DcXaBynW.js +631 -0
  103. package/dist/assets/SamlOnboarding-BTdQ_hr3.js +78 -0
  104. package/dist/assets/SaveButton-D5sQSxIk.js +89 -0
  105. package/dist/assets/SelectedItemsInfo-BHZ-NvF5.js +58 -0
  106. package/dist/assets/SettingsApiView-IfZTMXx1.js +313 -0
  107. package/dist/assets/SettingsChatHubView-gWh2X6vX.js +285 -0
  108. package/dist/assets/SettingsCommunityNodesView-D8VQtpGY.js +349 -0
  109. package/dist/assets/SettingsExternalSecrets-CpMc7mkW.js +233 -0
  110. package/dist/assets/SettingsLdapView-CU5a2MAy.js +2553 -0
  111. package/dist/assets/SettingsLogStreamingView-uojTe-oX.js +375 -0
  112. package/dist/assets/SettingsMCPView-B5Swp1C_.js +1214 -0
  113. package/dist/assets/SettingsPersonalView-Cr3aGood.js +402 -0
  114. package/dist/assets/SettingsSourceControl-DXOvFDEY.js +547 -0
  115. package/dist/assets/SettingsSso-27MfU1HV.js +1032 -0
  116. package/dist/assets/SettingsUsageAndPlan-DqIO-G46.js +419 -0
  117. package/dist/assets/SettingsUsersView-DfHB4_Kh.js +833 -0
  118. package/dist/assets/SettingsView-C4sA7Uny.js +90 -0
  119. package/dist/assets/SetupTemplateFormStep-BmiSzZin.js +258 -0
  120. package/dist/assets/SetupView-VORZ-L_u.js +112 -0
  121. package/dist/assets/SetupWorkflowCredentialsButton-DTmkOAW5.js +73 -0
  122. package/dist/assets/SetupWorkflowFromTemplateView-B9NupdJE.js +286 -0
  123. package/dist/assets/SeverityTag-CX1qTTNA.js +45 -0
  124. package/dist/assets/SigninView-D9_Pm16j.js +358 -0
  125. package/dist/assets/SignoutView-BFsjEAGz.js +19 -0
  126. package/dist/assets/SignupView-Am4ot0QZ.js +137 -0
  127. package/dist/assets/SkeletonAgentCard-C5TL-h8F.js +191 -0
  128. package/dist/assets/TagsDropdown-Bvx_Hd6Q.js +230 -0
  129. package/dist/assets/TemplateCard-CyQ1GuVz.js +105 -0
  130. package/dist/assets/TemplateDetails-CZRusTxE.js +124 -0
  131. package/dist/assets/TemplateList-DKvbwuiY.js +333 -0
  132. package/dist/assets/TemplatesCollectionView-D8dxU8By.js +184 -0
  133. package/dist/assets/TemplatesSearchView-CebC_GLs.js +1230 -0
  134. package/dist/assets/TemplatesView-025CcmIY.js +57 -0
  135. package/dist/assets/TemplatesWorkflowView-C2JfwJAn.js +170 -0
  136. package/dist/assets/TestRunDetailView-Ck78TTWO.js +395 -0
  137. package/dist/assets/TextWithHighlights-BxumwGnv.js +57 -0
  138. package/dist/assets/TimeAgo-C6EN4lCs.js +123 -0
  139. package/dist/assets/ToolsSelectorModal-8QJoUvRL.js +368 -0
  140. package/dist/assets/TriggerPanel-B6pacLkk.js +1225 -0
  141. package/dist/assets/VirtualSchema-B3zGe_8b.js +2402 -0
  142. package/dist/assets/VirtualSchema-Dkh0Cu5z.js +37 -0
  143. package/dist/assets/VueMarkdown-CQqJL9vK.js +28 -0
  144. package/dist/assets/WorkerView-Caznsljo.js +563 -0
  145. package/dist/assets/WorkflowActivationErrorMessage-CGrfPi9O.js +17 -0
  146. package/dist/assets/WorkflowActivator-BINnz0f7.js +362 -0
  147. package/dist/assets/WorkflowExecutionsInfoAccordion-Dg37yEfT.js +166 -0
  148. package/dist/assets/WorkflowExecutionsLandingPage-V2wdubhK.js +93 -0
  149. package/dist/assets/WorkflowExecutionsPreview-DdJaqYV6.js +616 -0
  150. package/dist/assets/WorkflowExecutionsView-DV8ySTfn.js +808 -0
  151. package/dist/assets/WorkflowHistory-GtaBMzIM.js +973 -0
  152. package/dist/assets/WorkflowLocation-CQ9Sq-2y.js +164 -0
  153. package/dist/assets/WorkflowOnboardingView-C49gt0Jr.js +61 -0
  154. package/dist/assets/WorkflowPreview-CXdvv4Nq.js +186 -0
  155. package/dist/assets/WorkflowTagsDropdown-QwbICWjN.js +71 -0
  156. package/dist/assets/WorkflowsView-B-MWIECO.js +3253 -0
  157. package/dist/assets/_MapCache-CcdIl4Ae.js +363 -0
  158. package/dist/assets/_baseOrderBy-N8Be_6z6.js +2989 -0
  159. package/dist/assets/_initCloneObject-viQQyT6o.js +80 -0
  160. package/dist/assets/_plugin-vue_export-helper-BwBpWJRZ.js +6 -0
  161. package/dist/assets/aiTemplatesStarterCollection.store-nL9nePkK.js +656 -0
  162. package/dist/assets/apiKeys.store-BhOFmP2j.js +51 -0
  163. package/dist/assets/assistant.store-CNywgN4S.js +518 -0
  164. package/dist/assets/auth.eventBus-CWXS0Qp7.js +5 -0
  165. package/dist/assets/banners.store-CGEcBTDn.js +195 -0
  166. package/dist/assets/builder.store-Czk2ipDE.js +31417 -0
  167. package/dist/assets/buttons.esm-yintpW2E.js +364 -0
  168. package/dist/assets/chart-CNvyywtJ.js +10958 -0
  169. package/dist/assets/chartjs.utils-BAE52Cv9.js +155 -0
  170. package/dist/assets/chat.store-290YeyrQ.js +865 -0
  171. package/dist/assets/chatPanel.store-NDaawEZL.js +118 -0
  172. package/dist/assets/chunk-6z4oVpB-.js +36 -0
  173. package/dist/assets/col-Cmt4cmuS.js +158 -0
  174. package/dist/assets/constants-C8OH4tTq.js +106256 -0
  175. package/dist/assets/constants-DMrsrpD7.js +32 -0
  176. package/dist/assets/core-B9gt_4yk.js +4 -0
  177. package/dist/assets/core-CP5FY4aX.js +1202 -0
  178. package/dist/assets/core-CRbPymLT.js +9741 -0
  179. package/dist/assets/dataTable.store-DmipQsol.js +207 -0
  180. package/dist/assets/date-picker-2IDsBs2n.js +4115 -0
  181. package/dist/assets/dateFormatter-ik4-9_9r.js +33 -0
  182. package/dist/assets/dateformat-hG8NERse.js +181 -0
  183. package/dist/assets/dialog-lMho1TD8.js +425 -0
  184. package/dist/assets/dist-Cw46Is-h.js +151 -0
  185. package/dist/assets/doppler-B__k0MeW.webp +0 -0
  186. package/dist/assets/element-icons-B-tDfklg.woff +0 -0
  187. package/dist/assets/element-icons-_lZGOqcG.ttf +0 -0
  188. package/dist/assets/empty-BuGRxzl4.js +2210 -0
  189. package/dist/assets/en-CF30SCh2.js +95 -0
  190. package/dist/assets/en-DyO2pPiC.js +2 -0
  191. package/dist/assets/es-BkUFJVtD.js +43338 -0
  192. package/dist/assets/evaluation.constants-GYAwmJnh.js +284 -0
  193. package/dist/assets/executions.store-B9uRYwgv.js +205 -0
  194. package/dist/assets/exports-Crx_gvt_.js +1799 -0
  195. package/dist/assets/externalSecrets.ee.store-BJh4a_6G.js +118 -0
  196. package/dist/assets/fileUtils-CRWqOQje.js +20 -0
  197. package/dist/assets/folders.store-yAFj-5Vl.js +235 -0
  198. package/dist/assets/get-BcEmeOxn.js +2781 -0
  199. package/dist/assets/index-SL8542zQ.js +28372 -0
  200. package/dist/assets/insights.constants-BkJCYJTL.js +55 -0
  201. package/dist/assets/insights.store-BFc3kDUo.js +61 -0
  202. package/dist/assets/insights.utils-CcLXdrrz.js +77 -0
  203. package/dist/assets/isEmpty-C3XXoHqJ.js +35216 -0
  204. package/dist/assets/languageModules-9LyndCqU.js +13862 -0
  205. package/dist/assets/logStreaming.store-IZhWe_VK.js +190 -0
  206. package/dist/assets/mcp.constants-_Jcn7fPq.js +10 -0
  207. package/dist/assets/mcp.store-B9yfcAN9.js +116 -0
  208. package/dist/assets/merge-DhuTk1HM.js +564 -0
  209. package/dist/assets/nodeCreator.store-Bpnrwp2l.js +5444 -0
  210. package/dist/assets/nodeIcon-D6X-ENYt.js +102 -0
  211. package/dist/assets/nodeTransforms-RzcOM0v2.js +42 -0
  212. package/dist/assets/orderBy-Cu9F9DU_.js +15 -0
  213. package/dist/assets/path-browserify-RUt2u7iT.js +328 -0
  214. package/dist/assets/personalizedTemplatesV3.store-BGYp0YBN.js +334 -0
  215. package/dist/assets/pickBy-UI0Jt4wC.js +18 -0
  216. package/dist/assets/preload-helper-dyVz7ck7.js +59 -0
  217. package/dist/assets/radio-CSce3UT0.js +262 -0
  218. package/dist/assets/readyToRun.store-YEMvPUqo.js +626 -0
  219. package/dist/assets/readyToRunWorkflows.store-G3srgIze.js +1319 -0
  220. package/dist/assets/retry-BgHaYzbB.js +23 -0
  221. package/dist/assets/roles.store-CRf_zJTb.js +51 -0
  222. package/dist/assets/router-DNpzz3GH.js +2631 -0
  223. package/dist/assets/sanitize-html-CbW56HUN.js +10758 -0
  224. package/dist/assets/schemaPreview.store-DUgN1yVE.js +113 -0
  225. package/dist/assets/semver-Bk6DGseV.js +1306 -0
  226. package/dist/assets/smartDecimal-DAZl4HKA.js +6 -0
  227. package/dist/assets/sortByProperty-Cn7iGKYu.js +8 -0
  228. package/dist/assets/sourceControl.eventBus-D47xXSc_.js +3 -0
  229. package/dist/assets/sqlite3-DBpDb1lf.wasm +0 -0
  230. package/dist/assets/sqlite3-opfs-async-proxy-vVtmDGHX.js +461 -0
  231. package/dist/assets/sqlite3-worker1-bundler-friendly-DLarOZDL.js +9405 -0
  232. package/dist/assets/src-jviYSG25.js +55454 -0
  233. package/dist/assets/sso.store-DyApJwhx.js +139 -0
  234. package/dist/assets/style-E3CrYFV8.css +111829 -0
  235. package/dist/assets/table-we1DjFMV.js +3944 -0
  236. package/dist/assets/templateActions-bEDSARw2.js +65 -0
  237. package/dist/assets/templateTransforms-BHWiRbtR.js +43 -0
  238. package/dist/assets/truncate-C0KYt7i3.js +4176 -0
  239. package/dist/assets/typescript.worker-CYqLvLHh.js +152048 -0
  240. package/dist/assets/uniqBy-xDyuCRP0.js +10 -0
  241. package/dist/assets/usage.store-CU5J_nGm.js +100 -0
  242. package/dist/assets/useActions-B1JckIRj.js +255 -0
  243. package/dist/assets/useBeforeUnload-DiDkvI8p.js +40 -0
  244. package/dist/assets/useCanvasMapping-BXT7rGhC.js +12570 -0
  245. package/dist/assets/useCanvasOperations-8ULLtMkY.js +1765 -0
  246. package/dist/assets/useClipboard-DvjhVHqJ.js +39 -0
  247. package/dist/assets/useCommandBar-C4tLJbKt.js +2425 -0
  248. package/dist/assets/useCredentialResolvers-BKeFGJnY.js +78 -0
  249. package/dist/assets/useCustomAgent-DpILEt5e.js +471 -0
  250. package/dist/assets/useDebounce-Br5_1ug-.js +147 -0
  251. package/dist/assets/useExecutionData-M5iKsX6z.js +23 -0
  252. package/dist/assets/useExecutionDebugging-8azMzbnd.js +191 -0
  253. package/dist/assets/useExecutionHelpers-BgRRhpBM.js +91 -0
  254. package/dist/assets/useImportCurlCommand-CKiEmX5P.js +8891 -0
  255. package/dist/assets/useIntersectionObserver-BWMwOueh.js +33 -0
  256. package/dist/assets/useKeybindings-B2jfN6rd.js +62 -0
  257. package/dist/assets/useLogsTreeExpand-sZViUfdM.js +843 -0
  258. package/dist/assets/useMcp-DoMOIfqT.js +27 -0
  259. package/dist/assets/usePageRedirectionHelper-DjkznpX6.js +51 -0
  260. package/dist/assets/usePinnedData-BhZkqttf.js +203 -0
  261. package/dist/assets/usePushConnection-DMS-F_IW.js +513 -0
  262. package/dist/assets/useRecentResources-BVORr7eM.js +118 -0
  263. package/dist/assets/useRunWorkflow-LO7ffLp9.js +950 -0
  264. package/dist/assets/useSettingsItems-BhZXwMZn.js +144 -0
  265. package/dist/assets/useTelemetryContext-V6bv4YRq.js +34 -0
  266. package/dist/assets/useWorkflowActivate-DeSmDXjI.js +152 -0
  267. package/dist/assets/useWorkflowsCache-DtcEEAIR.js +179 -0
  268. package/dist/assets/userRoleProvisioning.store-kkSIdeTo.js +33 -0
  269. package/dist/assets/utils-DI7dLldp.js +54 -0
  270. package/dist/assets/versions.store-B1z2OrLE.js +191 -0
  271. package/dist/assets/vue-CydWIhxN.js +4378 -0
  272. package/dist/assets/vue-json-pretty-CsGX66mG.js +1130 -0
  273. package/dist/assets/vue.runtime.esm-bundler-tP5dCd7J.js +7325 -0
  274. package/dist/assets/xml-B_oj6Mle.js +2060 -0
  275. package/dist/favicon.ico +0 -0
  276. package/dist/index.html +157 -0
  277. package/dist/static/base-path.js +1 -0
  278. package/dist/static/community_package_tooltip_img.png +0 -0
  279. package/dist/static/data-mapping-gif.gif +0 -0
  280. package/dist/static/form-grey.svg +1 -0
  281. package/dist/static/google-auth/disabled.dark.png +0 -0
  282. package/dist/static/google-auth/disabled.png +0 -0
  283. package/dist/static/google-auth/focus.dark.png +0 -0
  284. package/dist/static/google-auth/focus.png +0 -0
  285. package/dist/static/google-auth/normal.dark.png +0 -0
  286. package/dist/static/google-auth/normal.png +0 -0
  287. package/dist/static/google-auth/pressed.dark.png +0 -0
  288. package/dist/static/google-auth/pressed.png +0 -0
  289. package/dist/static/n8n-logo.png +0 -0
  290. package/dist/static/og_image.png +0 -0
  291. package/dist/static/open-ai.svg +1 -0
  292. package/dist/static/openChat.png +0 -0
  293. package/dist/static/posthog.init.js +41 -0
  294. package/dist/static/prefers-color-scheme.css +5 -0
  295. package/dist/static/webhook-icon.svg +1 -0
  296. package/dist/tree-sitter-bash.wasm +0 -0
  297. package/dist/tree-sitter.wasm +0 -0
  298. package/eslint.config.mjs +59 -0
  299. package/index.html +45 -0
  300. package/index.js +0 -0
  301. package/package.json +147 -0
  302. package/postcss.config.cjs +6 -0
  303. package/scripts/fetch-node-popularity.mjs +102 -0
  304. package/stylelint.config.mjs +9 -0
  305. package/tailwind.config.js +8 -0
  306. package/tsconfig.json +36 -0
  307. package/vite/i18n-locales-hmr-helpers.ts +19 -0
  308. package/vite/source-map-js-shim.ts +1 -0
  309. package/vite/vite-plugin-node-popularity.mts +32 -0
  310. package/vite.config.mts +304 -0
@@ -0,0 +1,295 @@
1
+ import { o as __toESM } from "./chunk-6z4oVpB-.js";
2
+ import { C as computed, Cn as toDisplayString, D as createElementBlock, E as createCommentVNode, Gt as unref, It as ref, M as createVNode, P as defineComponent, T as createBlock, _ as Fragment, bt as withCtx, et as openBlock, h as withModifiers, it as renderList, j as createTextVNode, vn as normalizeClass, w as createBaseVNode } from "./vue.runtime.esm-bundler-tP5dCd7J.js";
3
+ import { W as useDebounceFn, rt as useI18n, s as useAsyncState } from "./core-CRbPymLT.js";
4
+ import { $ as N8nInputLabel_default, Cn as N8nIcon_default, J as N8nSelect_default, Y as N8nOption_default, at as N8nLoading_default, bn as N8nText_default, mt as N8nLink_default, u as N8nDataTableServer_default, x as N8nTag_default, xn as N8nButton_default, yt as N8nInput_default } from "./src-jviYSG25.js";
5
+ import "./en-CF30SCh2.js";
6
+ import "./preload-helper-dyVz7ck7.js";
7
+ import { t as __plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BwBpWJRZ.js";
8
+ import "./truncate-C0KYt7i3.js";
9
+ import "./builder.store-Czk2ipDE.js";
10
+ import "./empty-BuGRxzl4.js";
11
+ import { v as useRouter } from "./get-BcEmeOxn.js";
12
+ import "./sanitize-html-CbW56HUN.js";
13
+ import "./CalendarDate-DgQUMbNo.js";
14
+ import "./path-browserify-RUt2u7iT.js";
15
+ import "./_MapCache-CcdIl4Ae.js";
16
+ import { Ro as VIEWS } from "./constants-C8OH4tTq.js";
17
+ import "./merge-DhuTk1HM.js";
18
+ import { r as useRootStore } from "./_baseOrderBy-N8Be_6z6.js";
19
+ import "./dateformat-hG8NERse.js";
20
+ import "./useDebounce-Br5_1ug-.js";
21
+ import "./ProjectIcon-DY8gGuHX.js";
22
+ import "./EnterpriseEdition.ee-D_rCFexM.js";
23
+ import { t as TimeAgo_default } from "./TimeAgo-C6EN4lCs.js";
24
+ import { t as require_orderBy } from "./orderBy-Cu9F9DU_.js";
25
+ import "./ProjectSharing-CVUgNWAY.js";
26
+ import { t as ResourceFiltersDropdown_default } from "./ResourceFiltersDropdown-dgyXpcEX.js";
27
+ import { r as getReportForRule, t as SeverityTag_default } from "./SeverityTag-CX1qTTNA.js";
28
+ var import_orderBy = /* @__PURE__ */ __toESM(require_orderBy());
29
+ var _hoisted_1 = { class: "mb-2xs" };
30
+ var _hoisted_2 = { class: "mb-2xl" };
31
+ var _hoisted_3 = { style: {
32
+ "white-space": "nowrap",
33
+ "overflow": "hidden",
34
+ "text-overflow": "ellipsis"
35
+ } };
36
+ var _hoisted_4 = { key: 1 };
37
+ var MigrationRuleDetail_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
38
+ __name: "MigrationRuleDetail",
39
+ props: { migrationRuleId: {} },
40
+ setup(__props) {
41
+ const i18n = useI18n();
42
+ const props = __props;
43
+ const router = useRouter();
44
+ const { state, isLoading } = useAsyncState(async () => {
45
+ return await getReportForRule(useRootStore().restApiContext, props.migrationRuleId);
46
+ }, {
47
+ ruleId: "",
48
+ ruleTitle: "",
49
+ ruleDescription: "",
50
+ ruleSeverity: "low",
51
+ affectedWorkflows: [],
52
+ recommendations: []
53
+ });
54
+ const tableHeaders = ref([
55
+ {
56
+ title: i18n.baseText("settings.migrationReport.detail.table.name"),
57
+ key: "name",
58
+ width: 200
59
+ },
60
+ {
61
+ title: i18n.baseText("settings.migrationReport.detail.table.status"),
62
+ key: "active",
63
+ value: (row) => row.active ? i18n.baseText("settings.migrationReport.detail.table.active") : i18n.baseText("settings.migrationReport.detail.table.deactivated"),
64
+ width: 40
65
+ },
66
+ {
67
+ title: i18n.baseText("settings.migrationReport.detail.table.nodesAffected"),
68
+ key: "issues"
69
+ },
70
+ {
71
+ title: i18n.baseText("settings.migrationReport.detail.table.numberOfExecutions"),
72
+ key: "numberOfExecutions",
73
+ width: 40
74
+ },
75
+ {
76
+ title: i18n.baseText("settings.migrationReport.detail.table.lastExecuted"),
77
+ key: "lastExecutedAt",
78
+ width: 40
79
+ },
80
+ {
81
+ title: i18n.baseText("settings.migrationReport.detail.table.lastUpdated"),
82
+ key: "lastUpdatedAt",
83
+ width: 40
84
+ }
85
+ ]);
86
+ function handleRowClick(_event, { item }) {
87
+ window.open(router.resolve({
88
+ name: VIEWS.WORKFLOW,
89
+ params: { name: item.id }
90
+ }).href, "_blank");
91
+ }
92
+ const sortBy = ref([{
93
+ id: "numberOfExecutions",
94
+ desc: true
95
+ }]);
96
+ const searchInput = ref("");
97
+ const searchQuery = ref("");
98
+ const statusFilter = ref("");
99
+ const debouncedSearch = useDebounceFn((value) => {
100
+ searchQuery.value = value;
101
+ }, 300);
102
+ const onSearchInput = (value) => {
103
+ searchInput.value = value;
104
+ debouncedSearch(value);
105
+ };
106
+ const statusOptions = computed(() => [
107
+ {
108
+ value: "",
109
+ label: i18n.baseText("settings.migrationReport.detail.filter.status.all")
110
+ },
111
+ {
112
+ value: "active",
113
+ label: i18n.baseText("settings.migrationReport.detail.filter.status.active")
114
+ },
115
+ {
116
+ value: "deactivated",
117
+ label: i18n.baseText("settings.migrationReport.detail.filter.status.deactivated")
118
+ }
119
+ ]);
120
+ const filters = computed(() => ({
121
+ search: searchInput.value,
122
+ status: statusFilter.value
123
+ }));
124
+ const filterKeys = computed(() => ["status"]);
125
+ const wasJustReset = ref(false);
126
+ const resetFilters = () => {
127
+ statusFilter.value = "";
128
+ wasJustReset.value = true;
129
+ };
130
+ const onUpdateFilters = (newFilters) => {
131
+ if (wasJustReset.value) {
132
+ wasJustReset.value = false;
133
+ return;
134
+ }
135
+ statusFilter.value = newFilters.status || "";
136
+ };
137
+ const filteredWorkflows = computed(() => {
138
+ let workflows = state.value.affectedWorkflows;
139
+ if (searchQuery.value) {
140
+ const query = searchQuery.value.toLowerCase();
141
+ workflows = workflows.filter((workflow) => workflow.name.toLowerCase().includes(query));
142
+ }
143
+ if (statusFilter.value !== "") workflows = workflows.filter((workflow) => {
144
+ if (statusFilter.value === "active") return workflow.active;
145
+ else if (statusFilter.value === "deactivated") return !workflow.active;
146
+ return true;
147
+ });
148
+ return workflows;
149
+ });
150
+ const sortedWorkflows = computed(() => {
151
+ if (!sortBy.value.length) return filteredWorkflows.value;
152
+ return (0, import_orderBy.default)(filteredWorkflows.value, [sortBy.value[0].id], [sortBy.value[0].desc ? "desc" : "asc"]);
153
+ });
154
+ return (_ctx, _cache) => {
155
+ return openBlock(), createElementBlock("div", null, [
156
+ createVNode(unref(N8nButton_default), {
157
+ class: normalizeClass([_ctx.$style.backButton, "mb-xs"]),
158
+ type: "secondary",
159
+ text: "",
160
+ icon: "arrow-left",
161
+ label: unref(i18n).baseText("generic.back"),
162
+ onClick: _cache[0] || (_cache[0] = ($event) => unref(router).push({ name: unref(VIEWS).MIGRATION_REPORT }))
163
+ }, null, 8, ["class", "label"]),
164
+ unref(isLoading) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createBaseVNode("div", _hoisted_1, [createVNode(unref(N8nLoading_default), { variant: "h1" })]), createBaseVNode("div", _hoisted_2, [createVNode(unref(N8nLoading_default), {
165
+ variant: "p",
166
+ rows: 2
167
+ })])], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createVNode(unref(N8nText_default), {
168
+ tag: "h2",
169
+ size: "xlarge",
170
+ color: "text-dark",
171
+ class: "mb-2xs",
172
+ style: {
173
+ "display": "flex",
174
+ "align-items": "center",
175
+ "gap": "4px"
176
+ }
177
+ }, {
178
+ default: withCtx(() => [
179
+ createTextVNode(toDisplayString(unref(state).ruleTitle) + " ", 1),
180
+ createVNode(SeverityTag_default, { severity: unref(state).ruleSeverity }, null, 8, ["severity"]),
181
+ createVNode(unref(N8nTag_default), {
182
+ text: unref(i18n).baseText("settings.migrationReport.detail.affectedTag", { interpolate: { count: String(unref(state).affectedWorkflows.length) } }),
183
+ clickable: false
184
+ }, null, 8, ["text"])
185
+ ]),
186
+ _: 1
187
+ }), createVNode(unref(N8nText_default), {
188
+ tag: "p",
189
+ color: "text-base",
190
+ class: "mb-2xl"
191
+ }, {
192
+ default: withCtx(() => [createTextVNode(toDisplayString(unref(state).ruleDescription) + toDisplayString(unref(state).ruleDescription.endsWith(".") ? "" : ".") + " ", 1), unref(state).ruleDocumentationUrl ? (openBlock(), createBlock(unref(N8nLink_default), {
193
+ key: 0,
194
+ theme: "text",
195
+ href: unref(state).ruleDocumentationUrl,
196
+ target: "_blank",
197
+ rel: "noopener noreferrer",
198
+ class: normalizeClass(_ctx.$style.NoLineBreak)
199
+ }, {
200
+ default: withCtx(() => [createBaseVNode("span", { class: normalizeClass(_ctx.$style.UnderlinedText) }, toDisplayString(unref(i18n).baseText("settings.migrationReport.documentation")), 3), _cache[4] || (_cache[4] = createTextVNode(" ↗ "))]),
201
+ _: 1
202
+ }, 8, ["href", "class"])) : createCommentVNode("", true)]),
203
+ _: 1
204
+ })], 64)),
205
+ createBaseVNode("div", { class: normalizeClass(_ctx.$style.filterControls) }, [createVNode(unref(N8nInput_default), {
206
+ "model-value": filters.value.search,
207
+ placeholder: unref(i18n).baseText("settings.migrationReport.detail.search.placeholder"),
208
+ size: "small",
209
+ clearable: "",
210
+ "data-test-id": "migration-rule-search",
211
+ "onUpdate:modelValue": onSearchInput
212
+ }, {
213
+ prefix: withCtx(() => [createVNode(unref(N8nIcon_default), { icon: "search" })]),
214
+ _: 1
215
+ }, 8, ["model-value", "placeholder"]), createVNode(ResourceFiltersDropdown_default, {
216
+ keys: filterKeys.value,
217
+ reset: resetFilters,
218
+ "model-value": filters.value,
219
+ shareable: false,
220
+ "data-test-id": "migration-rule-filters",
221
+ "onUpdate:modelValue": onUpdateFilters
222
+ }, {
223
+ default: withCtx(() => [createVNode(unref(N8nInputLabel_default), {
224
+ label: unref(i18n).baseText("settings.migrationReport.detail.filter.status.label"),
225
+ bold: false,
226
+ size: "small",
227
+ color: "text-base",
228
+ class: "mb-3xs"
229
+ }, null, 8, ["label"]), createVNode(unref(N8nSelect_default), {
230
+ modelValue: statusFilter.value,
231
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => statusFilter.value = $event),
232
+ size: "small",
233
+ "data-test-id": "migration-rule-status-filter"
234
+ }, {
235
+ default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(statusOptions.value, (option) => {
236
+ return openBlock(), createBlock(unref(N8nOption_default), {
237
+ key: option.value,
238
+ value: option.value,
239
+ label: option.label
240
+ }, null, 8, ["value", "label"]);
241
+ }), 128))]),
242
+ _: 1
243
+ }, 8, ["modelValue"])]),
244
+ _: 1
245
+ }, 8, ["keys", "model-value"])], 2),
246
+ createVNode(unref(N8nDataTableServer_default), {
247
+ "sort-by": sortBy.value,
248
+ "onUpdate:sortBy": _cache[3] || (_cache[3] = ($event) => sortBy.value = $event),
249
+ "items-per-page": sortedWorkflows.value.length + 1,
250
+ items: sortedWorkflows.value,
251
+ "items-length": sortedWorkflows.value.length,
252
+ headers: tableHeaders.value,
253
+ "row-props": { class: _ctx.$style.clickableRow },
254
+ loading: unref(isLoading),
255
+ "onClick:row": handleRowClick
256
+ }, {
257
+ [`item.issues`]: withCtx(({ item }) => [createBaseVNode("div", _hoisted_3, [(openBlock(true), createElementBlock(Fragment, null, renderList(item.issues, (issue, index) => {
258
+ return openBlock(), createElementBlock(Fragment, { key: issue.nodeId }, [createVNode(unref(N8nLink_default), {
259
+ theme: "text",
260
+ to: `/workflow/${item.id}/${issue.nodeId}`,
261
+ "new-window": "",
262
+ onClickCapture: _cache[2] || (_cache[2] = withModifiers(() => {}, ["stop"]))
263
+ }, {
264
+ default: withCtx(() => [createTextVNode(toDisplayString(issue.nodeName), 1)]),
265
+ _: 2
266
+ }, 1032, ["to"]), index < item.issues.length - 1 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createTextVNode(", ")], 64)) : createCommentVNode("", true)], 64);
267
+ }), 128))])]),
268
+ [`item.lastExecutedAt`]: withCtx(({ item }) => [item.lastExecutedAt ? (openBlock(), createBlock(TimeAgo_default, {
269
+ key: 0,
270
+ date: item.lastExecutedAt.toString()
271
+ }, null, 8, ["date"])) : (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(unref(i18n).baseText("settings.migrationReport.detail.table.never")), 1))]),
272
+ [`item.lastUpdatedAt`]: withCtx(({ item }) => [createVNode(TimeAgo_default, { date: item.lastUpdatedAt.toString() }, null, 8, ["date"])]),
273
+ _: 2
274
+ }, 1032, [
275
+ "sort-by",
276
+ "items-per-page",
277
+ "items",
278
+ "items-length",
279
+ "headers",
280
+ "row-props",
281
+ "loading"
282
+ ])
283
+ ]);
284
+ };
285
+ }
286
+ });
287
+ var MigrationRuleDetail_vue_vue_type_style_index_0_lang_module_default = {
288
+ backButton: "_backButton_1kw04_2",
289
+ clickableRow: "_clickableRow_1kw04_6",
290
+ filterControls: "_filterControls_1kw04_10",
291
+ NoLineBreak: "_NoLineBreak_1kw04_23",
292
+ UnderlinedText: "_UnderlinedText_1kw04_27"
293
+ };
294
+ var MigrationRuleDetail_default = /* @__PURE__ */ __plugin_vue_export_helper_default(MigrationRuleDetail_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": MigrationRuleDetail_vue_vue_type_style_index_0_lang_module_default }]]);
295
+ export { MigrationRuleDetail_default as default };
@@ -0,0 +1,285 @@
1
+ import { o as __toESM } from "./chunk-6z4oVpB-.js";
2
+ import { C as computed, Cn as toDisplayString, D as createElementBlock, E as createCommentVNode, Gt as unref, It as ref, M as createVNode, P as defineComponent, T as createBlock, _ as Fragment, at as renderSlot, bt as withCtx, c as useCssModule, et as openBlock, it as renderList, j as createTextVNode, vn as normalizeClass, w as createBaseVNode } from "./vue.runtime.esm-bundler-tP5dCd7J.js";
3
+ import { rt as useI18n, s as useAsyncState } from "./core-CRbPymLT.js";
4
+ import { Cn as N8nIcon_default, at as N8nLoading_default, bn as N8nText_default, ht as N8nTooltip_default, mt as N8nLink_default, xn as N8nButton_default, y as N8nTabs_default } from "./src-jviYSG25.js";
5
+ import "./en-CF30SCh2.js";
6
+ import "./preload-helper-dyVz7ck7.js";
7
+ import { t as __plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BwBpWJRZ.js";
8
+ import "./truncate-C0KYt7i3.js";
9
+ import "./empty-BuGRxzl4.js";
10
+ import "./get-BcEmeOxn.js";
11
+ import "./sanitize-html-CbW56HUN.js";
12
+ import "./CalendarDate-DgQUMbNo.js";
13
+ import "./path-browserify-RUt2u7iT.js";
14
+ import "./_MapCache-CcdIl4Ae.js";
15
+ import { Ro as VIEWS } from "./constants-C8OH4tTq.js";
16
+ import "./merge-DhuTk1HM.js";
17
+ import { r as useRootStore } from "./_baseOrderBy-N8Be_6z6.js";
18
+ import { t as require_orderBy } from "./orderBy-Cu9F9DU_.js";
19
+ import { i as refreshReport, n as getReport, t as SeverityTag_default } from "./SeverityTag-CX1qTTNA.js";
20
+ var import_orderBy = /* @__PURE__ */ __toESM(require_orderBy());
21
+ var EmptyTab_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
22
+ __name: "EmptyTab",
23
+ setup(__props) {
24
+ return (_ctx, _cache) => {
25
+ return openBlock(), createElementBlock("div", { class: normalizeClass(_ctx.$style.NoIssuesContainer) }, [createVNode(unref(N8nText_default), {
26
+ tag: "h3",
27
+ size: "large",
28
+ color: "text-base",
29
+ class: "mb-2xs"
30
+ }, {
31
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title")]),
32
+ _: 3
33
+ }), createVNode(unref(N8nText_default), {
34
+ tag: "p",
35
+ size: "medium",
36
+ color: "text-light",
37
+ class: "mb-2xl"
38
+ }, {
39
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description")]),
40
+ _: 3
41
+ })], 2);
42
+ };
43
+ }
44
+ });
45
+ var EmptyTab_vue_vue_type_style_index_0_lang_module_default = { NoIssuesContainer: "_NoIssuesContainer_1o8ra_2" };
46
+ var EmptyTab_default = /* @__PURE__ */ __plugin_vue_export_helper_default(EmptyTab_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": EmptyTab_vue_vue_type_style_index_0_lang_module_default }]]);
47
+ var _hoisted_1 = { style: {
48
+ "max-width": "700px",
49
+ "margin": "0 auto",
50
+ "padding-bottom": "40px"
51
+ } };
52
+ var MigrationRules_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
53
+ __name: "MigrationRules",
54
+ setup(__props) {
55
+ const $style = useCssModule();
56
+ const rootStore = useRootStore();
57
+ const i18n = useI18n();
58
+ const currentTab = ref("workflow-issues");
59
+ const shouldShowRefreshButton = ref(false);
60
+ const { state, isLoading, execute } = useAsyncState(async (refresh = false) => {
61
+ if (refresh) {
62
+ const response$1 = await refreshReport(rootStore.restApiContext);
63
+ if (response$1.report.workflowResults.length === 0 && response$1.report.instanceResults.length > 0) currentTab.value = "instance-issues";
64
+ shouldShowRefreshButton.value = response$1.shouldCache;
65
+ return response$1;
66
+ }
67
+ const response = await getReport(rootStore.restApiContext);
68
+ shouldShowRefreshButton.value = response.shouldCache;
69
+ return response;
70
+ }, void 0);
71
+ async function refreshReport$1() {
72
+ await execute(0, true);
73
+ }
74
+ const tabs = computed(() => {
75
+ return [{
76
+ label: i18n.baseText("settings.migrationReport.tabs.workflowIssues"),
77
+ value: "workflow-issues",
78
+ tag: state.value?.report.workflowResults.length ? String(state.value.report.workflowResults.length) : void 0
79
+ }, {
80
+ label: i18n.baseText("settings.migrationReport.tabs.instanceIssues"),
81
+ value: "instance-issues",
82
+ tag: state.value?.report.instanceResults.length ? String(state.value.report.instanceResults.length) : void 0
83
+ }];
84
+ });
85
+ const workflowTooltips = computed(() => {
86
+ return {
87
+ critical: i18n.baseText("settings.migrationReport.workflowTooltip.critical"),
88
+ medium: i18n.baseText("settings.migrationReport.workflowTooltip.medium"),
89
+ low: i18n.baseText("settings.migrationReport.workflowTooltip.low")
90
+ };
91
+ });
92
+ const instanceTooltips = computed(() => {
93
+ return {
94
+ critical: i18n.baseText("settings.migrationReport.instanceTooltip.critical"),
95
+ medium: i18n.baseText("settings.migrationReport.instanceTooltip.medium"),
96
+ low: i18n.baseText("settings.migrationReport.instanceTooltip.low")
97
+ };
98
+ });
99
+ const compatibleWorkflowsCount = computed(() => {
100
+ if (!state.value) return 0;
101
+ return state.value.totalWorkflows - state.value.report.workflowResults.reduce((acc, issue) => acc + issue.nbAffectedWorkflows, 0);
102
+ });
103
+ const severityOrder = {
104
+ critical: 0,
105
+ medium: 1,
106
+ low: 2
107
+ };
108
+ const sortedWorkflowResults = computed(() => {
109
+ if (!state.value?.report.workflowResults) return [];
110
+ return (0, import_orderBy.default)(state.value.report.workflowResults, [(issue) => severityOrder[issue.ruleSeverity]], ["asc"]);
111
+ });
112
+ const sortedInstanceResults = computed(() => {
113
+ if (!state.value?.report.instanceResults) return [];
114
+ return (0, import_orderBy.default)(state.value.report.instanceResults, [(issue) => severityOrder[issue.ruleSeverity]], ["asc"]);
115
+ });
116
+ return (_ctx, _cache) => {
117
+ return openBlock(), createElementBlock("div", _hoisted_1, [
118
+ createVNode(unref(N8nText_default), {
119
+ tag: "h2",
120
+ size: "xlarge",
121
+ color: "text-dark",
122
+ class: "mb-2xs"
123
+ }, {
124
+ default: withCtx(() => [createTextVNode(toDisplayString(unref(i18n).baseText("settings.migrationReport.title")), 1)]),
125
+ _: 1
126
+ }),
127
+ createVNode(unref(N8nText_default), {
128
+ tag: "p",
129
+ color: "text-base",
130
+ class: "mb-2xl"
131
+ }, {
132
+ default: withCtx(() => [createTextVNode(toDisplayString(unref(i18n).baseText("settings.migrationReport.description", { interpolate: {
133
+ compatibleCount: String(compatibleWorkflowsCount.value),
134
+ totalCount: String(unref(state)?.totalWorkflows ?? 0)
135
+ } })) + " ", 1), createVNode(unref(N8nLink_default), {
136
+ theme: "text",
137
+ href: "https://docs.n8n.io/2-0-breaking-changes/",
138
+ target: "_blank",
139
+ rel: "noopener noreferrer"
140
+ }, {
141
+ default: withCtx(() => [createBaseVNode("span", { class: normalizeClass(unref($style).UnderlinedText) }, toDisplayString(unref(i18n).baseText("settings.migrationReport.documentationLink")), 3), _cache[1] || (_cache[1] = createTextVNode(" ↗ "))]),
142
+ _: 1
143
+ })]),
144
+ _: 1
145
+ }),
146
+ createBaseVNode("div", { class: normalizeClass(unref($style).ActionBar) }, [createVNode(unref(N8nTabs_default), {
147
+ modelValue: currentTab.value,
148
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => currentTab.value = $event),
149
+ options: tabs.value,
150
+ variant: "modern"
151
+ }, null, 8, ["modelValue", "options"]), shouldShowRefreshButton.value ? (openBlock(), createBlock(unref(N8nButton_default), {
152
+ key: 0,
153
+ label: unref(i18n).baseText("settings.migrationReport.refreshButton"),
154
+ icon: "refresh-cw",
155
+ type: "secondary",
156
+ loading: unref(isLoading),
157
+ disabled: unref(isLoading),
158
+ onClick: refreshReport$1
159
+ }, null, 8, [
160
+ "label",
161
+ "loading",
162
+ "disabled"
163
+ ])) : createCommentVNode("", true)], 2),
164
+ unref(isLoading) ? (openBlock(), createElementBlock("div", {
165
+ key: 0,
166
+ class: normalizeClass(unref($style).CardContainer)
167
+ }, [(openBlock(), createElementBlock(Fragment, null, renderList(4, (i) => {
168
+ return createBaseVNode("div", {
169
+ key: i,
170
+ class: normalizeClass(unref($style).Card)
171
+ }, [createBaseVNode("div", null, [createVNode(unref(N8nLoading_default), {
172
+ variant: "p",
173
+ rows: 3,
174
+ class: normalizeClass(unref($style).PLoading)
175
+ }, null, 8, ["class"])]), createVNode(unref(N8nLoading_default), { variant: "button" })], 2);
176
+ }), 64))], 2)) : currentTab.value === "workflow-issues" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [unref(state)?.report.workflowResults.length === 0 ? (openBlock(), createBlock(EmptyTab_default, { key: 0 }, {
177
+ title: withCtx(() => [createTextVNode(toDisplayString(unref(i18n).baseText("settings.migrationReport.emptyWorkflowIssues.title")), 1)]),
178
+ description: withCtx(() => [createTextVNode(toDisplayString(unref(i18n).baseText("settings.migrationReport.emptyWorkflowIssues.description")), 1)]),
179
+ _: 1
180
+ })) : (openBlock(), createElementBlock("div", {
181
+ key: 1,
182
+ class: normalizeClass(unref($style).CardContainer)
183
+ }, [(openBlock(true), createElementBlock(Fragment, null, renderList(sortedWorkflowResults.value, (issue) => {
184
+ return openBlock(), createElementBlock("div", {
185
+ key: issue.ruleId,
186
+ class: normalizeClass(unref($style).Card)
187
+ }, [createBaseVNode("div", null, [createBaseVNode("div", { class: normalizeClass(unref($style).CardTitleContainer) }, [createVNode(unref(N8nText_default), {
188
+ tag: "h3",
189
+ size: "medium",
190
+ color: "text-dark"
191
+ }, {
192
+ default: withCtx(() => [createTextVNode(toDisplayString(issue.ruleTitle), 1)]),
193
+ _: 2
194
+ }, 1024), createVNode(unref(N8nTooltip_default), {
195
+ content: workflowTooltips.value[issue.ruleSeverity],
196
+ placement: "top",
197
+ enterable: false
198
+ }, {
199
+ default: withCtx(() => [createVNode(SeverityTag_default, { severity: issue.ruleSeverity }, null, 8, ["severity"])]),
200
+ _: 2
201
+ }, 1032, ["content"])], 2), createVNode(unref(N8nText_default), {
202
+ tag: "p",
203
+ color: "text-base"
204
+ }, {
205
+ default: withCtx(() => [createTextVNode(toDisplayString(issue.ruleDescription) + toDisplayString(issue.ruleDescription.endsWith(".") ? "" : ".") + " ", 1), issue.ruleDocumentationUrl ? (openBlock(), createBlock(unref(N8nLink_default), {
206
+ key: 0,
207
+ theme: "text",
208
+ href: issue.ruleDocumentationUrl,
209
+ target: "_blank",
210
+ rel: "noopener noreferrer",
211
+ class: normalizeClass(unref($style).NoLineBreak)
212
+ }, {
213
+ default: withCtx(() => [createBaseVNode("span", { class: normalizeClass(unref($style).UnderlinedText) }, toDisplayString(unref(i18n).baseText("settings.migrationReport.documentation")), 3), _cache[2] || (_cache[2] = createTextVNode(" ↗ "))]),
214
+ _: 2
215
+ }, 1032, ["href", "class"])) : createCommentVNode("", true)]),
216
+ _: 2
217
+ }, 1024)]), createVNode(unref(N8nLink_default), {
218
+ class: normalizeClass(unref($style).NoLineBreak),
219
+ theme: "text",
220
+ to: {
221
+ name: unref(VIEWS).MIGRATION_RULE_REPORT,
222
+ params: { migrationRuleId: issue.ruleId }
223
+ }
224
+ }, {
225
+ default: withCtx(() => [createBaseVNode("span", { class: normalizeClass(unref($style).NoLineBreak) }, [createTextVNode(toDisplayString(unref(i18n).baseText("settings.migrationReport.workflowsCount", { interpolate: { count: issue.nbAffectedWorkflows } })) + " ", 1), createVNode(unref(N8nIcon_default), {
226
+ icon: "chevron-right",
227
+ size: 24
228
+ })], 2)]),
229
+ _: 2
230
+ }, 1032, ["class", "to"])], 2);
231
+ }), 128))], 2))], 64)) : currentTab.value === "instance-issues" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [unref(state)?.report.instanceResults.length === 0 ? (openBlock(), createBlock(EmptyTab_default, { key: 0 }, {
232
+ title: withCtx(() => [createTextVNode(toDisplayString(unref(i18n).baseText("settings.migrationReport.emptyInstanceIssues.title")), 1)]),
233
+ description: withCtx(() => [createTextVNode(toDisplayString(unref(i18n).baseText("settings.migrationReport.emptyInstanceIssues.description")), 1)]),
234
+ _: 1
235
+ })) : (openBlock(), createElementBlock("div", {
236
+ key: 1,
237
+ class: normalizeClass(unref($style).CardContainer)
238
+ }, [(openBlock(true), createElementBlock(Fragment, null, renderList(sortedInstanceResults.value, (issue) => {
239
+ return openBlock(), createElementBlock("div", {
240
+ key: issue.ruleId,
241
+ class: normalizeClass(unref($style).Card)
242
+ }, [createBaseVNode("div", null, [createBaseVNode("div", { class: normalizeClass(unref($style).CardTitleContainer) }, [createVNode(unref(N8nText_default), { tag: "h3" }, {
243
+ default: withCtx(() => [createTextVNode(toDisplayString(issue.ruleTitle), 1)]),
244
+ _: 2
245
+ }, 1024), createVNode(unref(N8nTooltip_default), {
246
+ content: instanceTooltips.value[issue.ruleSeverity],
247
+ placement: "top",
248
+ enterable: false
249
+ }, {
250
+ default: withCtx(() => [createVNode(SeverityTag_default, { severity: issue.ruleSeverity }, null, 8, ["severity"])]),
251
+ _: 2
252
+ }, 1032, ["content"])], 2), createVNode(unref(N8nText_default), {
253
+ tag: "p",
254
+ color: "text-base"
255
+ }, {
256
+ default: withCtx(() => [createTextVNode(toDisplayString(issue.ruleDescription) + toDisplayString(issue.ruleDescription.endsWith(".") ? "" : ".") + " ", 1), issue.ruleDocumentationUrl ? (openBlock(), createBlock(unref(N8nLink_default), {
257
+ key: 0,
258
+ theme: "text",
259
+ href: issue.ruleDocumentationUrl,
260
+ target: "_blank",
261
+ rel: "noopener noreferrer",
262
+ class: normalizeClass(unref($style).NoLineBreak)
263
+ }, {
264
+ default: withCtx(() => [createBaseVNode("span", { class: normalizeClass(unref($style).UnderlinedText) }, toDisplayString(unref(i18n).baseText("settings.migrationReport.documentation")), 3), _cache[3] || (_cache[3] = createTextVNode(" ↗ "))]),
265
+ _: 2
266
+ }, 1032, ["href", "class"])) : createCommentVNode("", true)]),
267
+ _: 2
268
+ }, 1024)])], 2);
269
+ }), 128))], 2))], 64)) : createCommentVNode("", true)
270
+ ]);
271
+ };
272
+ }
273
+ });
274
+ var MigrationRules_vue_vue_type_style_index_0_lang_module_default = {
275
+ CardContainer: "_CardContainer_i8nk0_2",
276
+ Card: "_Card_i8nk0_2",
277
+ CardTitleContainer: "_CardTitleContainer_i8nk0_32",
278
+ NoLineBreak: "_NoLineBreak_i8nk0_39",
279
+ ActionBar: "_ActionBar_i8nk0_46",
280
+ NoIssuesContainer: "_NoIssuesContainer_i8nk0_53",
281
+ PLoading: "_PLoading_i8nk0_62",
282
+ UnderlinedText: "_UnderlinedText_i8nk0_68"
283
+ };
284
+ var MigrationRules_default = /* @__PURE__ */ __plugin_vue_export_helper_default(MigrationRules_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": MigrationRules_vue_vue_type_style_index_0_lang_module_default }]]);
285
+ export { MigrationRules_default as default };