@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,284 @@
1
+ import { o as __toESM } from "./chunk-6z4oVpB-.js";
2
+ import { Cn as toDisplayString, D as createElementBlock, E as createCommentVNode, G as nextTick, Gt as unref, It as ref, M as createVNode, P as defineComponent, T as createBlock, W as mergeProps, _ as Fragment, _t as watch, at as renderSlot, bt as withCtx, c as useCssModule, et as openBlock, it as renderList, vn as normalizeClass, w as createBaseVNode } from "./vue.runtime.esm-bundler-tP5dCd7J.js";
3
+ import { Cn as N8nIcon_default, ht as N8nTooltip_default } from "./src-jviYSG25.js";
4
+ import { t as __plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BwBpWJRZ.js";
5
+ import { n as ElTableColumn, t as ElTable } from "./table-we1DjFMV.js";
6
+ import { ho as require_isEqual } from "./constants-C8OH4tTq.js";
7
+ var LONG_TABLE_CELL_MIN_WIDTH = 250;
8
+ var specialKeys = [
9
+ "promptTokens",
10
+ "completionTokens",
11
+ "totalTokens",
12
+ "executionTime"
13
+ ];
14
+ function getDefaultOrderedColumns(run, filteredTestCases) {
15
+ const metricColumns = Object.keys(run?.metrics ?? {}).filter((key) => !specialKeys.includes(key));
16
+ const specialColumns = specialKeys.filter((key) => run?.metrics ? key in run.metrics : false);
17
+ const inputColumns = getTestCasesColumns(filteredTestCases ?? [], "inputs");
18
+ const outputColumns = getTestCasesColumns(filteredTestCases ?? [], "outputs");
19
+ return [
20
+ ...mapToColumns(inputColumns, "inputs"),
21
+ ...mapToColumns(outputColumns, "outputs"),
22
+ ...mapToColumns(metricColumns, "metrics", true),
23
+ ...mapToColumns(specialColumns, "metrics", true)
24
+ ];
25
+ }
26
+ function applyCachedVisibility(columns, visibility) {
27
+ if (!visibility) return columns;
28
+ return columns.map((column) => column.disabled ? column : {
29
+ ...column,
30
+ visible: visibility.hasOwnProperty(column.key) ? visibility[column.key] : column.visible
31
+ });
32
+ }
33
+ function applyCachedSortOrder(defaultOrder, cachedOrder) {
34
+ if (!cachedOrder?.length) return defaultOrder;
35
+ const result = cachedOrder.map((columnKey) => {
36
+ const matchingColumn = defaultOrder.find((col) => columnKey === col.key);
37
+ if (!matchingColumn) return {
38
+ key: columnKey,
39
+ disabled: true
40
+ };
41
+ return matchingColumn;
42
+ });
43
+ const missingColumns = defaultOrder.filter((defaultCol) => !cachedOrder.includes(defaultCol.key));
44
+ result.push(...missingColumns);
45
+ return result;
46
+ }
47
+ function getTestCasesColumns(cases, columnType) {
48
+ const inputColumnNames = cases.reduce((set, testCase) => {
49
+ Object.keys(testCase[columnType] ?? {}).forEach((key) => set.add(key));
50
+ return set;
51
+ }, /* @__PURE__ */ new Set([]));
52
+ return Array.from(inputColumnNames.keys());
53
+ }
54
+ function mapToColumns(columnNames, columnType, numeric) {
55
+ return columnNames.map((column) => ({
56
+ key: `${columnType}.${column}`,
57
+ label: column,
58
+ visible: true,
59
+ disabled: false,
60
+ columnType,
61
+ numeric
62
+ }));
63
+ }
64
+ function formatValue(key, value, { numeric } = { numeric: false }) {
65
+ let stringValue;
66
+ if (numeric && typeof value === "number" && !specialKeys.includes(key)) stringValue = value.toFixed(2) ?? "-";
67
+ else if (typeof value === "object" && value !== null) stringValue = JSON.stringify(value, null, 2);
68
+ else stringValue = `${value}`;
69
+ return stringValue;
70
+ }
71
+ function getTestTableHeaders(columnNames, testCases) {
72
+ return columnNames.filter((column) => !column.disabled && column.visible).map((column) => {
73
+ const hasLongContent = Boolean(testCases.find((row) => {
74
+ const value = row[column.columnType]?.[column.label];
75
+ return formatValue(column.label, value, { numeric: column.numeric })?.length > 10;
76
+ }));
77
+ return {
78
+ prop: column.key,
79
+ label: column.disabled ? column.key : column.label,
80
+ sortable: true,
81
+ filter: true,
82
+ showHeaderTooltip: true,
83
+ minWidth: hasLongContent ? LONG_TABLE_CELL_MIN_WIDTH : 125,
84
+ formatter: (row) => {
85
+ const value = row[column.columnType]?.[column.label];
86
+ return formatValue(column.label, value, { numeric: column.numeric });
87
+ }
88
+ };
89
+ });
90
+ }
91
+ var import_isEqual = /* @__PURE__ */ __toESM(require_isEqual());
92
+ var TestTableBase_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
93
+ __name: "TestTableBase",
94
+ props: {
95
+ data: {},
96
+ columns: {},
97
+ showControls: { type: Boolean },
98
+ defaultSort: { default: () => ({
99
+ prop: "date",
100
+ order: "descending"
101
+ }) },
102
+ selectable: {
103
+ type: Boolean,
104
+ default: false
105
+ },
106
+ selectableFilter: {
107
+ type: Function,
108
+ default: () => true
109
+ },
110
+ expandedRows: { default: () => /* @__PURE__ */ new Set() }
111
+ },
112
+ emits: ["rowClick", "selectionChange"],
113
+ setup(__props, { emit: __emit }) {
114
+ const props = __props;
115
+ const $style = useCssModule();
116
+ const tableRef = ref();
117
+ const selectedRows = ref([]);
118
+ const localData = ref([]);
119
+ const emit = __emit;
120
+ watch(() => props.data, async (newData) => {
121
+ if (!(0, import_isEqual.default)(localData.value, newData)) {
122
+ const currentSelectionIds = selectedRows.value.map((row) => row.id);
123
+ localData.value = newData;
124
+ await nextTick();
125
+ tableRef.value?.sort(props.defaultSort.prop, props.defaultSort.order);
126
+ currentSelectionIds.forEach((id) => {
127
+ const row = localData.value.find((r) => r.id === id);
128
+ if (row) tableRef.value?.toggleRowSelection(row, true);
129
+ });
130
+ }
131
+ }, {
132
+ immediate: true,
133
+ deep: true
134
+ });
135
+ const handleSelectionChange = (rows) => {
136
+ selectedRows.value = rows;
137
+ emit("selectionChange", rows);
138
+ };
139
+ const handleColumnResize = (newWidth, _oldWidth, column) => {
140
+ if (column.minWidth && newWidth < column.minWidth) column.width = column.minWidth;
141
+ };
142
+ const getCellClassName = ({ row }) => {
143
+ return `${props.expandedRows?.has(row.id) ? $style.expandedCell : $style.baseCell}`;
144
+ };
145
+ const getRowClassName = ({ row }) => {
146
+ return `${"status" in row && row?.status === "error" ? $style.customDisabledRow : $style.customRow} ${props.expandedRows?.has(row.id) ? $style.expandedRow : ""}`;
147
+ };
148
+ return (_ctx, _cache) => {
149
+ return openBlock(), createBlock(unref(ElTable), {
150
+ ref_key: "tableRef",
151
+ ref: tableRef,
152
+ class: normalizeClass(unref($style).table),
153
+ "default-sort": _ctx.defaultSort,
154
+ data: localData.value,
155
+ border: true,
156
+ "cell-class-name": getCellClassName,
157
+ "row-class-name": getRowClassName,
158
+ "scrollbar-always-on": "",
159
+ onSelectionChange: handleSelectionChange,
160
+ onHeaderDragend: handleColumnResize,
161
+ onRowClick: _cache[0] || (_cache[0] = (row) => _ctx.$emit("rowClick", row))
162
+ }, {
163
+ default: withCtx(() => [_ctx.selectable ? (openBlock(), createBlock(unref(ElTableColumn), {
164
+ key: 0,
165
+ type: "selection",
166
+ selectable: _ctx.selectableFilter,
167
+ "data-test-id": "table-column-select",
168
+ width: "46",
169
+ fixed: "",
170
+ align: "center"
171
+ }, null, 8, ["selectable"])) : createCommentVNode("", true), (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.columns, (column) => {
172
+ return openBlock(), createBlock(unref(ElTableColumn), mergeProps({
173
+ key: column.prop,
174
+ ref_for: true
175
+ }, column, {
176
+ resizable: true,
177
+ "data-test-id": "table-column",
178
+ "min-width": column.minWidth ?? unref(125)
179
+ }), {
180
+ header: withCtx((headerProps) => [createVNode(unref(N8nTooltip_default), {
181
+ content: headerProps.column.label,
182
+ placement: "top",
183
+ disabled: !column.showHeaderTooltip
184
+ }, {
185
+ default: withCtx(() => [createBaseVNode("div", { class: normalizeClass(unref($style).customHeaderCell) }, [createBaseVNode("div", { class: normalizeClass(unref($style).customHeaderCellLabel) }, toDisplayString(headerProps.column.label), 3), headerProps.column.sortable && headerProps.column.order ? (openBlock(), createElementBlock("div", {
186
+ key: 0,
187
+ class: normalizeClass(unref($style).customHeaderCellSort)
188
+ }, [createVNode(unref(N8nIcon_default), {
189
+ icon: headerProps.column.order === "descending" ? "arrow-up" : "arrow-down",
190
+ size: "small"
191
+ }, null, 8, ["icon"])], 2)) : createCommentVNode("", true)], 2)]),
192
+ _: 2
193
+ }, 1032, ["content", "disabled"])]),
194
+ default: withCtx(({ row }) => [
195
+ column.prop === "id" ? renderSlot(_ctx.$slots, "id", mergeProps({
196
+ key: 0,
197
+ ref_for: true
198
+ }, { row })) : createCommentVNode("", true),
199
+ column.prop === "index" ? renderSlot(_ctx.$slots, "index", mergeProps({
200
+ key: 1,
201
+ ref_for: true
202
+ }, { row })) : createCommentVNode("", true),
203
+ column.prop === "status" ? renderSlot(_ctx.$slots, "status", mergeProps({
204
+ key: 2,
205
+ ref_for: true
206
+ }, { row })) : createCommentVNode("", true)
207
+ ]),
208
+ _: 2
209
+ }, 1040, ["min-width"]);
210
+ }), 128))]),
211
+ _: 3
212
+ }, 8, [
213
+ "class",
214
+ "default-sort",
215
+ "data"
216
+ ]);
217
+ };
218
+ }
219
+ });
220
+ var TestTableBase_vue_vue_type_style_index_0_lang_module_default = {
221
+ baseCell: "_baseCell_1cahf_123",
222
+ expandedCell: "_expandedCell_1cahf_134",
223
+ customRow: "_customRow_1cahf_144",
224
+ customDisabledRow: "_customDisabledRow_1cahf_149",
225
+ customHeaderCell: "_customHeaderCell_1cahf_154",
226
+ customHeaderCellLabel: "_customHeaderCellLabel_1cahf_159",
227
+ customHeaderCellSort: "_customHeaderCellSort_1cahf_168",
228
+ table: "_table_1cahf_173"
229
+ };
230
+ var TestTableBase_default = /* @__PURE__ */ __plugin_vue_export_helper_default(TestTableBase_vue_vue_type_script_setup_true_lang_default, [["__cssModules", { "$style": TestTableBase_vue_vue_type_style_index_0_lang_module_default }]]);
231
+ var testCaseErrorDictionary = {
232
+ MOCKED_NODE_NOT_FOUND: "evaluation.runDetail.error.mockedNodeMissing",
233
+ FAILED_TO_EXECUTE_WORKFLOW: "evaluation.runDetail.error.executionFailed",
234
+ INVALID_METRICS: "evaluation.runDetail.error.invalidMetrics",
235
+ UNKNOWN_ERROR: "evaluation.runDetail.error.unknownError",
236
+ NO_METRICS_COLLECTED: "evaluation.runDetail.error.noMetricsCollected"
237
+ };
238
+ var testRunErrorDictionary = {
239
+ TEST_CASES_NOT_FOUND: "evaluation.listRuns.error.testCasesNotFound",
240
+ INTERRUPTED: "evaluation.listRuns.error.executionInterrupted",
241
+ UNKNOWN_ERROR: "evaluation.listRuns.error.unknownError",
242
+ EVALUATION_TRIGGER_NOT_FOUND: "evaluation.listRuns.error.evaluationTriggerNotFound",
243
+ EVALUATION_TRIGGER_NOT_CONFIGURED: "evaluation.listRuns.error.evaluationTriggerNotConfigured",
244
+ EVALUATION_TRIGGER_DISABLED: "evaluation.listRuns.error.evaluationTriggerDisabled",
245
+ SET_OUTPUTS_NODE_NOT_CONFIGURED: "evaluation.listRuns.error.setOutputsNodeNotConfigured",
246
+ SET_METRICS_NODE_NOT_FOUND: "evaluation.listRuns.error.setMetricsNodeNotFound",
247
+ SET_METRICS_NODE_NOT_CONFIGURED: "evaluation.listRuns.error.setMetricsNodeNotConfigured",
248
+ CANT_FETCH_TEST_CASES: "evaluation.listRuns.error.cantFetchTestCases",
249
+ PARTIAL_CASES_FAILED: "evaluation.runDetail.error.partialCasesFailed"
250
+ };
251
+ const getErrorBaseKey = (errorCode) => {
252
+ return testCaseErrorDictionary[errorCode] ?? testRunErrorDictionary[errorCode] ?? "";
253
+ };
254
+ const statusDictionary = {
255
+ new: {
256
+ icon: "status-new",
257
+ color: "foreground-xdark"
258
+ },
259
+ running: {
260
+ icon: "spinner",
261
+ color: "secondary"
262
+ },
263
+ completed: {
264
+ icon: "status-completed",
265
+ color: "success"
266
+ },
267
+ error: {
268
+ icon: "triangle-alert",
269
+ color: "danger"
270
+ },
271
+ cancelled: {
272
+ icon: "status-canceled",
273
+ color: "foreground-xdark"
274
+ },
275
+ warning: {
276
+ icon: "status-warning",
277
+ color: "warning"
278
+ },
279
+ success: {
280
+ icon: "status-completed",
281
+ color: "success"
282
+ }
283
+ };
284
+ export { applyCachedVisibility as a, getTestTableHeaders as c, applyCachedSortOrder as i, statusDictionary as n, getDefaultOrderedColumns as o, TestTableBase_default as r, getTestCasesColumns as s, getErrorBaseKey as t };
@@ -0,0 +1,205 @@
1
+ import { C as computed, It as ref } from "./vue.runtime.esm-bundler-tP5dCd7J.js";
2
+ import { Et as executionFilterToQueryFilter, Mt as unflattenExecutionData, Ot as getDefaultExecutionFilters, Zn as useProjectsStore, ms as useSettingsStore } from "./builder.store-Czk2ipDE.js";
3
+ import { k as defineStore, r as useRootStore, u as makeRestApiRequest } from "./_baseOrderBy-N8Be_6z6.js";
4
+ const useExecutionsStore = defineStore("executions", () => {
5
+ const rootStore = useRootStore();
6
+ const projectsStore = useProjectsStore();
7
+ const settingsStore = useSettingsStore();
8
+ const loading = ref(false);
9
+ const itemsPerPage = ref(10);
10
+ const activeExecution = ref(null);
11
+ const filters = ref(getDefaultExecutionFilters());
12
+ const executionsFilters = computed(() => {
13
+ const filter = executionFilterToQueryFilter(filters.value);
14
+ if (projectsStore.currentProjectId) filter.projectId = projectsStore.currentProjectId;
15
+ return filter;
16
+ });
17
+ const currentExecutionsFilters = computed(() => ({ ...filters.value.workflowId !== "all" ? { workflowId: filters.value.workflowId } : {} }));
18
+ const autoRefresh = ref(true);
19
+ const autoRefreshTimeout = ref(null);
20
+ const autoRefreshDelay = ref(4 * 1e3);
21
+ const executionsById = ref({});
22
+ const executionsCount = ref(0);
23
+ const executionsCountEstimated = ref(false);
24
+ const concurrentExecutionsCount = ref(0);
25
+ const executions = computed(() => {
26
+ const data = Object.values(executionsById.value);
27
+ data.sort((a, b) => {
28
+ return new Date(b.createdAt).getTime() - new Date(a.createdAt).getTime();
29
+ });
30
+ return data;
31
+ });
32
+ const executionsByWorkflowId = computed(() => executions.value.reduce((acc, execution) => {
33
+ if (!acc[execution.workflowId]) acc[execution.workflowId] = [];
34
+ acc[execution.workflowId].push(execution);
35
+ return acc;
36
+ }, {}));
37
+ const currentExecutionsById = ref({});
38
+ const startedAtSortFn = (a, b) => new Date(b.startedAt ?? b.createdAt).getTime() - new Date(a.startedAt ?? a.createdAt).getTime();
39
+ const statusThenStartedAtSortFn = (a, b) => {
40
+ if (a.status && b.status) {
41
+ const statusPriority = {
42
+ running: 1,
43
+ new: 2
44
+ };
45
+ const statusComparison = statusPriority[a.status] - statusPriority[b.status];
46
+ if (statusComparison !== 0) return statusComparison;
47
+ }
48
+ return startedAtSortFn(a, b);
49
+ };
50
+ const sortFn = settingsStore.isConcurrencyEnabled ? statusThenStartedAtSortFn : startedAtSortFn;
51
+ const currentExecutions = computed(() => {
52
+ const data = Object.values(currentExecutionsById.value);
53
+ data.sort(sortFn);
54
+ return data;
55
+ });
56
+ const currentExecutionsByWorkflowId = computed(() => currentExecutions.value.reduce((acc, execution) => {
57
+ if (!acc[execution.workflowId]) acc[execution.workflowId] = [];
58
+ acc[execution.workflowId].push(execution);
59
+ return acc;
60
+ }, {}));
61
+ const allExecutions = computed(() => [...currentExecutions.value, ...executions.value]);
62
+ function addExecution(execution) {
63
+ executionsById.value = {
64
+ ...executionsById.value,
65
+ [execution.id]: {
66
+ ...execution,
67
+ mode: execution.mode
68
+ }
69
+ };
70
+ }
71
+ function addCurrentExecution(execution) {
72
+ currentExecutionsById.value[execution.id] = {
73
+ ...execution,
74
+ mode: execution.mode
75
+ };
76
+ }
77
+ function removeExecution(id) {
78
+ const { [id]: _,...rest } = executionsById.value;
79
+ executionsById.value = rest;
80
+ }
81
+ function setFilters(value) {
82
+ filters.value = value;
83
+ }
84
+ async function initialize(workflowId) {
85
+ if (workflowId) filters.value.workflowId = workflowId;
86
+ await fetchExecutions();
87
+ await startAutoRefreshInterval(workflowId);
88
+ }
89
+ async function fetchExecutions(filter = executionsFilters.value, lastId, firstId) {
90
+ loading.value = true;
91
+ try {
92
+ const data = await makeRestApiRequest(rootStore.restApiContext, "GET", "/executions", {
93
+ ...filter ? { filter } : {},
94
+ ...firstId ? { firstId } : {},
95
+ ...lastId ? { lastId } : {},
96
+ limit: itemsPerPage.value
97
+ });
98
+ currentExecutionsById.value = {};
99
+ data.results.forEach((execution) => {
100
+ if (["new", "running"].includes(execution.status)) addCurrentExecution(execution);
101
+ else addExecution(execution);
102
+ });
103
+ executionsCount.value = data.count;
104
+ executionsCountEstimated.value = data.estimated;
105
+ concurrentExecutionsCount.value = data.concurrentExecutionsCount;
106
+ return data;
107
+ } finally {
108
+ loading.value = false;
109
+ }
110
+ }
111
+ async function fetchExecution(id) {
112
+ const response = await makeRestApiRequest(rootStore.restApiContext, "GET", `/executions/${id}`);
113
+ return response ? unflattenExecutionData(response) : void 0;
114
+ }
115
+ async function loadAutoRefresh(workflowId) {
116
+ const autoRefreshExecutionFilters = {
117
+ ...executionsFilters.value,
118
+ ...workflowId ? { workflowId } : {}
119
+ };
120
+ autoRefreshTimeout.value = setTimeout(async () => {
121
+ if (autoRefresh.value) {
122
+ await fetchExecutions(autoRefreshExecutionFilters);
123
+ startAutoRefreshInterval(workflowId);
124
+ }
125
+ }, autoRefreshDelay.value);
126
+ }
127
+ async function startAutoRefreshInterval(workflowId) {
128
+ stopAutoRefreshInterval();
129
+ await loadAutoRefresh(workflowId);
130
+ }
131
+ function stopAutoRefreshInterval() {
132
+ if (autoRefreshTimeout.value) {
133
+ clearTimeout(autoRefreshTimeout.value);
134
+ autoRefreshTimeout.value = null;
135
+ }
136
+ }
137
+ async function annotateExecution(id, data) {
138
+ const updatedExecution = await makeRestApiRequest(rootStore.restApiContext, "PATCH", `/executions/${id}`, data);
139
+ addExecution(updatedExecution);
140
+ if (updatedExecution.id === activeExecution.value?.id) activeExecution.value = updatedExecution;
141
+ }
142
+ async function stopCurrentExecution(executionId) {
143
+ return await makeRestApiRequest(rootStore.restApiContext, "POST", `/executions/${executionId}/stop`);
144
+ }
145
+ async function retryExecution(id, loadWorkflow) {
146
+ return await makeRestApiRequest(rootStore.restApiContext, "POST", `/executions/${id}/retry`, loadWorkflow ? { loadWorkflow: true } : void 0);
147
+ }
148
+ async function deleteExecutions(sendData) {
149
+ await makeRestApiRequest(rootStore.restApiContext, "POST", "/executions/delete", sendData);
150
+ if (sendData.ids) sendData.ids.forEach(removeExecution);
151
+ if (sendData.deleteBefore) {
152
+ const deleteBefore = new Date(sendData.deleteBefore);
153
+ allExecutions.value.forEach((execution) => {
154
+ if (new Date(execution.startedAt ?? execution.createdAt) < deleteBefore) removeExecution(execution.id);
155
+ });
156
+ }
157
+ }
158
+ function resetData() {
159
+ executionsById.value = {};
160
+ currentExecutionsById.value = {};
161
+ executionsCount.value = 0;
162
+ executionsCountEstimated.value = false;
163
+ concurrentExecutionsCount.value = 0;
164
+ }
165
+ function reset() {
166
+ itemsPerPage.value = 10;
167
+ filters.value = getDefaultExecutionFilters();
168
+ autoRefresh.value = true;
169
+ resetData();
170
+ stopAutoRefreshInterval();
171
+ }
172
+ return {
173
+ loading,
174
+ annotateExecution,
175
+ executionsById,
176
+ executions,
177
+ executionsCount,
178
+ executionsCountEstimated,
179
+ concurrentExecutionsCount,
180
+ executionsByWorkflowId,
181
+ currentExecutions,
182
+ currentExecutionsByWorkflowId,
183
+ activeExecution,
184
+ fetchExecutions,
185
+ fetchExecution,
186
+ autoRefresh,
187
+ autoRefreshTimeout,
188
+ startAutoRefreshInterval,
189
+ stopAutoRefreshInterval,
190
+ initialize,
191
+ filters,
192
+ setFilters,
193
+ executionsFilters,
194
+ currentExecutionsFilters,
195
+ allExecutions,
196
+ stopCurrentExecution,
197
+ retryExecution,
198
+ deleteExecutions,
199
+ addExecution,
200
+ resetData,
201
+ reset,
202
+ itemsPerPage
203
+ };
204
+ });
205
+ export { useExecutionsStore as t };