n8n-editor-ui 2.3.3 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/node-popularity.json +1920 -1916
- package/dist/assets/{AddDataTableModal-BYsEOjtf.js → AddDataTableModal-BWxuL_U1.js} +18 -21
- package/dist/assets/{AgentEditorModal-CnYw6elM.css → AgentEditorModal-9v5_7c4M.css} +11 -7
- package/dist/assets/{AgentEditorModal-CdUKcN7b.js → AgentEditorModal-ClIVB6be.js} +34 -37
- package/dist/assets/{Alert-BSiQ7W4W.js → Alert-C0sX2MmC.js} +9 -9
- package/dist/assets/AnimatedSpinner-B25lpnvb.js +15 -0
- package/dist/assets/{AnnotationTagsDropdown.ee-CPHqM0oA.js → AnnotationTagsDropdown.ee-bqrzcFvD.js} +6 -6
- package/dist/assets/{MainHeader-KNrtVK1m.js → AppHeader-Bk2_Gkdr.js} +359 -528
- package/dist/assets/{MainHeader-CSaAWCWj.css → AppHeader-CiEVBSe4.css} +42 -160
- package/dist/assets/{MainSidebar-BvZcZjNQ.js → AppSidebar-DVQtWhNG.js} +107 -83
- package/dist/assets/{MainSidebar-CEsQ8o1Y.css → AppSidebar-qYnACKTG.css} +13 -4
- package/dist/assets/{AuthView-DBipI9XX.js → AuthView-B70yKQIj.js} +12 -12
- package/dist/assets/{SettingsView-6sirGv9l.css → BottomMenu-CYgiV90C.css} +57 -37
- package/dist/assets/{BottomMenu-n6wDMblT.js → BottomMenu-Zsty8SFw.js} +70 -168
- package/dist/assets/{useCanvasMapping-BLB5IFnL.js → CanvasRunWorkflowButton-D05EeNT9.js} +268 -262
- package/dist/assets/{useCanvasMapping-CyDAqgNV.css → CanvasRunWorkflowButton-D_Rqnskj.css} +203 -203
- package/dist/assets/{ChangePasswordView-N8tRCxXS.js → ChangePasswordView-B5SZMMPu.js} +14 -18
- package/dist/assets/{ChatAgentAvatar-B68ZZ295.css → ChatAgentAvatar-D94COYC_.css} +10 -13
- package/dist/assets/ChatAgentAvatar-lJduQjSM.js +67 -0
- package/dist/assets/{ChatFile-B6hcldJk.js → ChatFile-DGN9Z6P_.js} +17 -17
- package/dist/assets/{ChatLayout-ZIIWLYox.js → ChatLayout-B3HCEtmF.js} +11 -15
- package/dist/assets/{ChatLayout-CxM-3LAt.css → ChatLayout-C5Cltxb6.css} +1 -8
- package/dist/assets/{ChatPersonalAgentsView-CHjVJlH9.js → ChatPersonalAgentsView-CfuU16Wx.js} +19 -24
- package/dist/assets/{ChatSidebar-DcNxY7Pt.css → ChatSidebar-D-hWKn7w.css} +126 -0
- package/dist/assets/{ChatSidebar-D1wzPLte.js → ChatSidebar-DxXP8jvn.js} +56 -71
- package/dist/assets/{ChatView-CEdaGOiq.js → ChatView-DGO5M0-j.js} +113 -112
- package/dist/assets/{ChatView-DrZ9gYjI.css → ChatView-DjGNW1KJ.css} +58 -50
- package/dist/assets/{ChatWorkflowAgentsView-DDoSKFjL.js → ChatWorkflowAgentsView-BDUzYR0a.js} +19 -24
- package/dist/assets/CollectionParameter-CX0d0ppe.js +42 -0
- package/dist/assets/{CommunityNodeUpdateInfo-D_fpxg7T.js → CommunityNodeUpdateInfo-BzF3To7U.js} +13 -13
- package/dist/assets/{CopyInput-CkRSExvb.js → CopyInput-B3eGtGOr.js} +15 -15
- package/dist/assets/{CredentialIcon-CsmA8n5q.js → CredentialIcon-Co-DgDkv.js} +6 -6
- package/dist/assets/{CredentialPicker-Dc9_fQqB.js → CredentialPicker-xUgsLzd_.js} +8 -8
- package/dist/assets/{CredentialSelectorModal-CrHTSX3D.js → CredentialSelectorModal-te4cxLHY.js} +22 -26
- package/dist/assets/{CredentialsView-BHjKX7p7.js → CredentialsView-CSMNv5Qi.js} +46 -51
- package/dist/assets/{DataTableActions-Baa_gpFk.js → DataTableActions-BkI1G_w4.js} +6 -6
- package/dist/assets/{DataTableDetailsView-Csre5EoG.js → DataTableDetailsView-D5XYBEVr.js} +27 -30
- package/dist/assets/{DataTableView-DvZt7cVh.js → DataTableView-U-FAWXix.js} +31 -36
- package/dist/assets/DemoFooter-uIyuy9UT.js +53 -0
- package/dist/assets/{Draggable-wlu-YKYh.js → Draggable-0gyx_CsY.js} +5 -5
- package/dist/assets/{EmptySharedSectionActionBox-BoAVktyy.js → EmptySharedSectionActionBox-DtGMtVsp.js} +5 -5
- package/dist/assets/{EnterpriseEdition.ee-CvUo0Y3B.js → EnterpriseEdition.ee-UhVkBS4f.js} +2 -2
- package/dist/assets/{EntityNotFound-Dk9s3CwF.js → EntityNotFound-qBJJDr9S.js} +9 -12
- package/dist/assets/{EntityUnAuthorised-h6YriaK9.js → EntityUnAuthorised-Ci980jH0.js} +8 -11
- package/dist/assets/{ErrorView-BGXVjv22.js → ErrorView-CPQg7TDd.js} +13 -16
- package/dist/assets/{EvaluationsRootView-CEJYrCEy.js → EvaluationsRootView-CzP9JGh2.js} +34 -36
- package/dist/assets/{EvaluationsView-DmaEZ7wK.js → EvaluationsView-ikx3LyQf.js} +28 -33
- package/dist/assets/{ExecutionsTime-K-nIEY55.js → ExecutionsTime-D5RuLFMY.js} +16 -15
- package/dist/assets/{ExecutionsView-BC4uwKPS.js → ExecutionsView-cMwfmY4W.js} +62 -65
- package/dist/assets/{ExternalSecretsProviderConnectionSwitch.ee-DYabADwO.js → ExternalSecretsProviderConnectionSwitch.ee-BglbvOQG.js} +18 -17
- package/dist/assets/FixedCollectionParameter-COuGvpZ8.css +642 -0
- package/dist/assets/FixedCollectionParameter-rO9blroR.js +1571 -0
- package/dist/assets/FolderBreadcrumbs-DegmC04u.js +187 -0
- package/dist/assets/{SaveButton-Dc01Y2MA.css → FolderBreadcrumbs-eBFopiOp.css} +7 -14
- package/dist/assets/{ForgotMyPasswordView-BxFjt7yf.js → ForgotMyPasswordView-CKDZcZP9.js} +14 -18
- package/dist/assets/{InsightsChartAverageRuntime-mcy8IMaN.js → InsightsChartAverageRuntime-69U4sUmH.js} +10 -11
- package/dist/assets/{InsightsChartFailed-iXvqlU_7.js → InsightsChartFailed-Ct64T5GJ.js} +8 -9
- package/dist/assets/{InsightsChartFailureRate-DzWy07B4.js → InsightsChartFailureRate-BOdV-Q3d.js} +9 -11
- package/dist/assets/{InsightsChartTimeSaved-Db1u-o2U.js → InsightsChartTimeSaved-B83s59mL.js} +9 -11
- package/dist/assets/{InsightsChartTotal-Bge4JSj-.js → InsightsChartTotal-1A5vqW4E.js} +7 -9
- package/dist/assets/{InsightsDashboard-BgxCUZWd.js → InsightsDashboard-Dpwy8q6a.js} +37 -38
- package/dist/assets/{InsightsPaywall-DJIAsFUW.js → InsightsPaywall-iaN7Yt1s.js} +15 -18
- package/dist/assets/{InsightsSummary-uZyetR3b.js → InsightsSummary-UGkz-k9w.js} +11 -11
- package/dist/assets/{InsightsTableWorkflows-9h4pU1WK.js → InsightsTableWorkflows-AP6ddx9D.js} +22 -24
- package/dist/assets/{KeyboardShortcutTooltip-Bpb4SkjE.js → KeyboardShortcutTooltip-Dwz4Hv8g.js} +6 -6
- package/dist/assets/LogsPanel-Cz9qV0gc.js +40 -0
- package/dist/assets/{LogsPanel-BG48JZqa.js → LogsPanel-DuiKN1Na.js} +100 -100
- package/dist/assets/{MCPConnectWorkflowsModal-CWg0xros.js → MCPConnectWorkflowsModal-CrhdbX54.js} +36 -41
- package/dist/assets/{MigrationRuleDetail-Dj4iZ8em.js → MigrationRuleDetail-BXj7ghDO.js} +23 -26
- package/dist/assets/{MigrationRules-CMk4HuMV.js → MigrationRules-CWeHH-jb.js} +21 -24
- package/dist/assets/{Modal-BNJXVsfA.js → Modal-CLJXjbTN.js} +27 -26
- package/dist/assets/{ModelByIdSelectorModal-BwhmTdU4.js → ModelByIdSelectorModal-_Q2e43WD.js} +18 -22
- package/dist/assets/{NDVEmptyState-D9V46oIb.js → NDVEmptyState-CJWa4Aka.js} +15 -12
- package/dist/assets/{NodeCreation-DiAqT9SN.js → NodeCreation-BKxsZGAf.js} +30 -52
- package/dist/assets/{ItemsRenderer-DkobJF9f.css → NodeCreator-039HRrqJ.css} +1525 -6
- package/dist/assets/{NodeCreator-Bjt6BI9v.js → NodeCreator-CRhdWp9N.js} +978 -87
- package/dist/assets/{NodeDetailsView-Ct9i-rTh.js → NodeDetailsView-Cm52jG-U.js} +72 -86
- package/dist/assets/{NodeDetailsViewV2-Dh4gzwFe.js → NodeDetailsViewV2-CqGBXjHp.js} +69 -85
- package/dist/assets/{NodeIcon-t97i3ntx.js → NodeIcon-SaoWBT_U.js} +10 -10
- package/dist/assets/{NodeIcon-BDxr0f30.css → NodeIcon-zqTc5h-V.css} +1 -1
- package/dist/assets/{NodeSettings-Cz9vhjW-.js → NodeSettings-BWWEo77y.js} +73 -73
- package/dist/assets/{NodeView-AuBajxDh.css → NodeView-Xwcu11Wh.css} +11 -11
- package/dist/assets/{NodeView-3Y-9RowK.js → NodeView-xEYRJxA0.js} +171 -148
- package/dist/assets/{OAuthConsentView-Bg5-jLUL.js → OAuthConsentView-D6mfPIJI.js} +14 -17
- package/dist/assets/{ParameterInputList-C1BdtAjc.css → ParameterInputList-BUZ33Aem.css} +717 -208
- package/dist/assets/{ParameterInputList-D3pQ9DPD.js → ParameterInputList-Cb2_SQfz.js} +1864 -1039
- package/dist/assets/{ProjectBreadcrumb-CwG4u83J.js → ProjectBreadcrumb-2BEX5IDD.js} +8 -8
- package/dist/assets/{ProjectCardBadge-DEF5xaop.js → ProjectCardBadge-CTVSam44.js} +10 -10
- package/dist/assets/{ProjectHeader-Ftxgilbl.js → ProjectHeader-BagblRFt.js} +14 -14
- package/dist/assets/{ProjectIcon-CBV14vRK.js → ProjectIcon-gwTM9uPG.js} +8 -8
- package/dist/assets/{ProjectRoleView-DxR_UDnr.js → ProjectRoleView-B5mhpgJj.js} +19 -22
- package/dist/assets/{ProjectRolesView-D5UGjI0u.js → ProjectRolesView-CO-fdyVV.js} +18 -21
- package/dist/assets/{ProjectSettings-DjmRzWiu.js → ProjectSettings-CpdJ0QXS.js} +31 -33
- package/dist/assets/{ProjectSharing-CXtVcK-7.js → ProjectSharing-CgRKQQe4.js} +16 -16
- package/dist/assets/{ProjectVariables-xB0qVBxe.js → ProjectVariables-B7LU3SGS.js} +40 -45
- package/dist/assets/{ProviderSettingsModal-BqKcWfeR.js → ProviderSettingsModal-RmJC0Qwe.js} +20 -25
- package/dist/assets/{PushConnectionTracker-Cwk4a7eu.js → PushConnectionTracker-v1yU_xFk.js} +4 -4
- package/dist/assets/{ResolversView-CnNl-Auj.js → ResolversView-OeI_dYci.js} +20 -23
- package/dist/assets/{ResourceFiltersDropdown-CRkQSQvs.js → ResourceFiltersDropdown-bH--4wBS.js} +12 -12
- package/dist/assets/{ResourcesListLayout-DLAMdJD5.css → ResourcesListLayout-BhnhvHiw.css} +140 -0
- package/dist/assets/{ResourcesListLayout-CreZ1Su6.js → ResourcesListLayout-CS0nUJNt.js} +32 -23
- package/dist/assets/{RunData-Ti8dstr8.js → RunData-B_Vlvf1V.js} +20367 -28266
- package/dist/assets/{RunData-CGWkR8tE.css → RunData-xpRgLK8S.css} +2 -2
- package/dist/assets/{RunDataHtml-S_j2pLRX.js → RunDataHtml-BMxc-zRm.js} +5 -5
- package/dist/assets/RunDataHtml-wQh8fACG.js +5 -0
- package/dist/assets/{RunDataJson-C9RYDf3k.js → RunDataJson-D23jdsWY.js} +31 -31
- package/dist/assets/{RunDataJsonActions-CVkDV_4I.js → RunDataJsonActions-DFa7pezf.js} +19 -22
- package/dist/assets/{RunDataParsedAiContent-B6PgQw1V.js → RunDataParsedAiContent-BCprT0E8.js} +15 -16
- package/dist/assets/RunDataParsedAiContent-o_QkeE0L.js +15 -0
- package/dist/assets/{RunDataSearch-DHw36qjO.js → RunDataSearch-BU2qi4nP.js} +10 -13
- package/dist/assets/{RunDataTable-Co9VAMrg.js → RunDataTable-BDrFzGfU.js} +32 -35
- package/dist/assets/{SamlOnboarding-CpWUC0gl.js → SamlOnboarding-DPYTM0tb.js} +14 -18
- package/dist/assets/{SelectedItemsInfo-wq6nTjan.js → SelectedItemsInfo-CKmcAObD.js} +5 -5
- package/dist/assets/{SettingsApiView-eiQOdjgq.js → SettingsApiView-BowYRtTk.js} +24 -26
- package/dist/assets/{SettingsChatHubView-D4WEo9L3.js → SettingsChatHubView-CObWHU09.js} +18 -23
- package/dist/assets/{SettingsCommunityNodesView-C0AaNOEN.js → SettingsCommunityNodesView-wk9JxXqL.js} +38 -41
- package/dist/assets/{SettingsExternalSecrets-y47selKn.js → SettingsExternalSecrets-C41eND_Y.js} +18 -21
- package/dist/assets/{SettingsLdapView-YMVYMnzw.js → SettingsLdapView-D1L1iyvE.js} +22 -25
- package/dist/assets/{SettingsLogStreamingView-BSzLdWpE.js → SettingsLogStreamingView-BqlK3i3Z.js} +21 -23
- package/dist/assets/{SettingsMCPView-BU0f3ymz.js → SettingsMCPView-CoTmbtV_.js} +42 -45
- package/dist/assets/{SettingsPersonalView-BAfYDXor.js → SettingsPersonalView-BMGG66o5.js} +15 -18
- package/dist/assets/SettingsSidebar-RZssT7t8.js +58 -0
- package/dist/assets/{useCommandBar-eK4Fv9lH.css → SettingsSidebar-hr5ASDKX.css} +22 -24
- package/dist/assets/{SettingsSourceControl-DiTdqVc2.js → SettingsSourceControl-C_XOb728.js} +19 -22
- package/dist/assets/{SettingsSso-D9mWYb6m.js → SettingsSso-DkvVZOSA.js} +26 -28
- package/dist/assets/{SettingsUsageAndPlan-Bhhz0N_R.js → SettingsUsageAndPlan-Cnxx5J_k.js} +20 -22
- package/dist/assets/{SettingsUsersView-Cyv_ZTSa.js → SettingsUsersView-DRFHlEG_.js} +50 -27
- package/dist/assets/{SetupTemplateFormStep-B-OXuIEU.js → SetupTemplateFormStep-DTl-SQ5_.js} +15 -15
- package/dist/assets/{SetupView-BvYO_h_-.js → SetupView-BfCKw7tL.js} +14 -18
- package/dist/assets/{SetupWorkflowCredentialsButton-29sPlZ15.js → SetupWorkflowCredentialsButton-BDNBEpgH.js} +21 -19
- package/dist/assets/{SetupWorkflowFromTemplateView-wGZJlu_v.js → SetupWorkflowFromTemplateView-zNitmbxd.js} +21 -24
- package/dist/assets/{SeverityTag-DiRdnrHj.js → SeverityTag-R-mbBDWg.js} +6 -6
- package/dist/assets/{SigninView-CZmSlJU4.js → SigninView-CspSfYWl.js} +16 -19
- package/dist/assets/{SignoutView-BUsJauew.js → SignoutView-CbmvjLhS.js} +10 -10
- package/dist/assets/{SignupView-CBmZdEUa.js → SignupView-D088WMnK.js} +27 -26
- package/dist/assets/{SkeletonAgentCard-felAhV_j.js → SkeletonAgentCard-DNUy88vs.js} +12 -12
- package/dist/assets/{PageViewLayout-Cn6FD0Wt.css → SlideTransition-Bv5Vx35L.css} +6 -17
- package/dist/assets/SlideTransition-CWSKQ4XI.js +11 -0
- package/dist/assets/{TagsDropdown-B3TllM9L.js → TagsDropdown-998vpfi2.js} +9 -9
- package/dist/assets/{TemplateCard-SxL2lAcu.js → TemplateCard-OCtSSObW.js} +9 -9
- package/dist/assets/{TemplateDetails-joifuvuq.js → TemplateDetails-CExTaNmN.js} +20 -20
- package/dist/assets/{TemplateList-Cr8NzldM.js → TemplateList-CYVIQLBo.js} +44 -44
- package/dist/assets/{TemplatesCollectionView-KlTGNZvL.js → TemplatesCollectionView-J4-MsKaR.js} +22 -25
- package/dist/assets/{TemplatesSearchView-R9w7J_qa.js → TemplatesSearchView-FeOl_F9u.js} +49 -52
- package/dist/assets/{TemplatesView-Cva7ybP0.js → TemplatesView-B2WxZgCT.js} +6 -6
- package/dist/assets/{TemplatesWorkflowView-cZBhTHOi.js → TemplatesWorkflowView-pgmIBnml.js} +23 -26
- package/dist/assets/{TestRunDetailView-C1Pcw196.js → TestRunDetailView-We9DOF3E.js} +20 -24
- package/dist/assets/{TextWithHighlights-CgDEugGZ.js → TextWithHighlights-CH5Zsswa.js} +2 -2
- package/dist/assets/{TimeAgo-D971QnHO.js → TimeAgo-DbbBIULe.js} +4 -4
- package/dist/assets/{ToolsSelectorModal-D4oxUUCF.js → ToolsSelectorModal-D0fzbH8I.js} +20 -23
- package/dist/assets/{TriggerPanel-BkdktrEp.js → TriggerPanel-B3wcn8yr.js} +51 -51
- package/dist/assets/VirtualSchema-C4mYgt95.js +28 -0
- package/dist/assets/{VirtualSchema-Brq3RG-a.js → VirtualSchema-DTit75Ni.js} +60 -61
- package/dist/assets/{VirtualSchema-CwutU4vj.css → VirtualSchema-pdpcVEq9.css} +1 -1
- package/dist/assets/{VueMarkdown-BlVr51fL.js → VueMarkdown-D0Ufjusy.js} +3 -3
- package/dist/assets/{WorkerView-CT6vkOh0.js → WorkerView-BaJG1lYK.js} +38 -42
- package/dist/assets/{WorkflowExecutionsInfoAccordion-DSc_InaM.js → WorkflowExecutionsInfoAccordion-BAgAw-VZ.js} +7 -7
- package/dist/assets/{WorkflowExecutionsLandingPage-CuGCweH0.js → WorkflowExecutionsLandingPage-B5M2M_XO.js} +14 -17
- package/dist/assets/{WorkflowExecutionsPreview-DWGuXXJq.js → WorkflowExecutionsPreview-CGtRdwNt.js} +44 -46
- package/dist/assets/{WorkflowExecutionsView-B4v9ie53.js → WorkflowExecutionsView-R_7zX3VU.js} +60 -61
- package/dist/assets/{WorkflowHistory-BLC1cUoO.js → WorkflowHistory-BS71EB0y.js} +198 -196
- package/dist/assets/{WorkflowHistory-BBHdNsOb.css → WorkflowHistory-dUpsKg3Z.css} +42 -75
- package/dist/assets/{WorkflowLocation-X2ZVBc96.js → WorkflowLocation-CTPWi5M9.js} +18 -18
- package/dist/assets/{WorkflowOnboardingView-CmVI0XDf.js → WorkflowOnboardingView-BroupQUz.js} +10 -10
- package/dist/assets/{WorkflowPreview-CZAcz1Na.js → WorkflowPreview-DLbWDX-7.js} +9 -9
- package/dist/assets/{WorkflowTagsDropdown-DlKqZzjZ.js → WorkflowTagsDropdown-DMBpcKR1.js} +6 -6
- package/dist/assets/{WorkflowsView-C-PD10oe.css → WorkflowsView-0_qNZeIx.css} +32 -42
- package/dist/assets/{WorkflowsView-BDhK0stx.js → WorkflowsView-Bdslfqgx.js} +128 -238
- package/dist/assets/{_MapCache-ficiegRb.js → _MapCache-DkLivSSb.js} +46 -38
- package/dist/assets/{_baseOrderBy-DwurmLcj.js → _baseOrderBy-Cy5MGJv_.js} +8 -13
- package/dist/assets/{_initCloneObject-DPuE6hiH.js → _initCloneObject-DiO9tORE.js} +2 -2
- package/dist/assets/{aiTemplatesStarterCollection.store-B-exu89T.js → aiTemplatesStarterCollection.store-C5UvSRtb.js} +6 -6
- package/dist/assets/{apiKeys.store-DW3qN7-W.js → apiKeys.store-tF_8Mh4s.js} +4 -4
- package/dist/assets/{assistant.store-BWyMPD4R.js → assistant.store-BsyT2BFh.js} +8 -8
- package/dist/assets/{auth.eventBus-BQKtqsAd.js → auth.eventBus-Ce2KL2L4.js} +1 -1
- package/dist/assets/{banners.store-NV1mJdSo.js → banners.store-De4swlHn.js} +7 -7
- package/dist/assets/{buttons.esm-Euf82NbC.js → buttons.esm-DHCtg4os.js} +0 -5
- package/dist/assets/canvas.utils-6yT3qDz5.js +138 -0
- package/dist/assets/{chart-BI8B7UPV.js → chart-BpBZvUkM.js} +0 -6
- package/dist/assets/{chartjs.utils-CZqhhNLn.js → chartjs.utils-B8F_iMP1.js} +5 -5
- package/dist/assets/{chat.store-CIFGQpTZ.js → chat.store-DIrG4eKT.js} +34 -29
- package/dist/assets/{chatPanel.store-gj4bbTwF.js → chatPanel.store-XTtvoDW8.js} +6 -6
- package/dist/assets/{chunk-6z4oVpB-.js → chunk-r2Y0G7H8.js} +3 -2
- package/dist/assets/{col-Cd5kWzv_.js → col-gWKpvp-j.js} +2 -2
- package/dist/assets/collaboration.store-DuCY-6U-.js +287 -0
- package/dist/assets/{constants-vjryKFt3.js → constants-Bgby4me8.js} +12 -3
- package/dist/assets/{constants-B5yiZflE.js → constants-CRdXn3zB.js} +290 -301
- package/dist/assets/core-CKLPLCBJ.js +4 -0
- package/dist/assets/{core-BMwklDiH.js → core-DDiavqSm.js} +1 -1
- package/dist/assets/{dataTable.store-CigyhC-U.js → dataTable.store-DepEpEQf.js} +4 -4
- package/dist/assets/{date-picker-BjmPe_fb.js → date-picker-CutzRF4i.js} +13 -4
- package/dist/assets/{dateFormatter-DjYPheeb.js → dateFormatter-BiQ9pMrA.js} +4 -4
- package/dist/assets/{dateformat-BlfbK1ki.js → dateformat-BeHi9sF4.js} +2 -1
- package/dist/assets/{dialog-CFy8vuwh.js → dialog-ZxkAulrV.js} +4 -4
- package/dist/assets/{dist-BQ7E1jLN.js → dist-C4hPgTYg.js} +3 -3
- package/dist/assets/empty-nq5-pHAR.js +895 -0
- package/dist/assets/en-C4tPMX0d.js +2 -0
- package/dist/assets/{en-CF30SCh2.js → en-PrU4QUr7.js} +10 -2
- package/dist/assets/{es-C2DNxuAa.js → es-347rbIb-.js} +2 -2
- package/dist/assets/{evaluation.constants-CaU1Jek8.js → evaluation.constants-COHKT500.js} +12 -15
- package/dist/assets/{executions.store-BjQUzT_w.js → executions.store-D1BMCixf.js} +4 -4
- package/dist/assets/{exports-C5ncBo9h.js → exports-DwuuoPh-.js} +1 -3
- package/dist/assets/{externalSecrets.ee.store-DS-4lnXS.js → externalSecrets.ee.store-CClIdWWb.js} +4 -4
- package/dist/assets/{folders.store-BqKf5TBS.js → folders.store-DHmLGEYl.js} +4 -4
- package/dist/assets/{index-U6fZiFvz.css → index-BhFfa3xu.css} +3083 -2437
- package/dist/assets/{index-BFqYZQt_.js → index-CZ0ShzXs.js} +4327 -1864
- package/dist/assets/{insights.constants-D63-x9pu.js → insights.constants-98xWnZQu.js} +3 -3
- package/dist/assets/{insights.store-BwsFg9pQ.js → insights.store-B6MSLVpS.js} +7 -7
- package/dist/assets/{insights.utils-CWK5jWpE.js → insights.utils-B0txVt0Q.js} +6 -6
- package/dist/assets/{languageModules-DDJUl1h8.js → languageModules-DyQaii5v.js} +1 -1
- package/dist/assets/{logStreaming.store-BxM1T1ZK.js → logStreaming.store-3rdm0k17.js} +3 -3
- package/dist/assets/{mcp.store-ChjN6nuV.js → mcp.store--DVpfZPc.js} +4 -4
- package/dist/assets/{merge-DjI8TA-7.js → merge-B0-p153C.js} +2 -2
- package/dist/assets/{nodeCreator.store-CXJtK_5o.js → nodeCreator.store-BL_XgPCV.js} +1932 -2216
- package/dist/assets/{nodeIcon-CIlNGIQ6.js → nodeIcon-G45tSifH.js} +3 -3
- package/dist/assets/{nodeTransforms-yL73Ok-c.js → nodeTransforms-CjgwHZte.js} +2 -2
- package/dist/assets/{orderBy-DLgDRKnZ.js → orderBy-CI4ht8Wh.js} +3 -3
- package/dist/assets/{personalizedTemplatesV3.store-Bs_2J_OQ.js → personalizedTemplatesV3.store-EQdiv-tM.js} +4 -4
- package/dist/assets/{pickBy-DYW-ATsL.js → pickBy-CS854Y6u.js} +3 -3
- package/dist/assets/pushConnection.store-Rp8-mZo7.js +496 -0
- package/dist/assets/{radio-BeejvdFG.js → radio-I_Y35sEo.js} +2 -2
- package/dist/assets/{readyToRun.store-DX00OlhN.js → readyToRun.store-i9gaUDlh.js} +17 -8
- package/dist/assets/{readyToRunWorkflows.store-CR7Yn6At.js → readyToRunWorkflows.store-gcTSDf1M.js} +6 -6
- package/dist/assets/{roles.store-DeGSYcWL.js → roles.store-ByEYbWMb.js} +4 -4
- package/dist/assets/{router-CFnjpqoZ.js → router-CmCiJkA0.js} +316 -304
- package/dist/assets/{sanitize-html-BkT1y0bJ.js → sanitize-html-DeDnsMgc.js} +17 -17
- package/dist/assets/{semver-CjLBiqOi.js → semver-DkHAUe3T.js} +6 -8
- package/dist/assets/{sourceControl.eventBus-BlFJV1yj.js → sourceControl.eventBus-l-XuMGfW.js} +1 -1
- package/dist/assets/{sqlite3-worker1-bundler-friendly-BOYmhhGN.js → sqlite3-worker1-bundler-friendly-BvaOkVlV.js} +9 -2
- package/dist/assets/{src-CMoPZtHv.css → src-CUiJtOrW.css} +5070 -4059
- package/dist/assets/{src-BiuB4CZc.js → src-DpZSuyLC.js} +5805 -2547
- package/dist/assets/{sso.store-CgVzmGCn.js → sso.store-B0NxuXiJ.js} +3 -3
- package/dist/assets/{table-fp187Rky.js → table-C3aerURh.js} +5 -5
- package/dist/assets/{templateActions-Dn6PNjyj.js → templateActions-BGHev3SN.js} +5 -5
- package/dist/assets/{templateTransforms-BtbIlupE.js → templateTransforms-B0n1tACx.js} +1 -1
- package/dist/assets/{truncate-B1HVeveJ.js → truncate-BrM_9cme.js} +5 -5
- package/dist/assets/{typescript.worker-CYqLvLHh.js → typescript.worker-DZR6qltN.js} +224 -176
- package/dist/assets/{usage.store-DI2Rilu6.js → usage.store-3GYv6IW-.js} +3 -3
- package/dist/assets/{useActions-B3Tgqfk-.js → useActions-Buaifc4L.js} +5 -5
- package/dist/assets/useBugReporting-D6SXeO6B.js +130 -0
- package/dist/assets/useCalloutHelpers-Cwtyxtsm.js +80 -0
- package/dist/assets/{useCanvasOperations-BttAaAbZ.js → useCanvasOperations-DY9_Vcrs.js} +36 -32
- package/dist/assets/{useClipboard-CurFa2Dj.js → useClipboard-B8OKhRbY.js} +3 -3
- package/dist/assets/{useCredentialResolvers-CJPbKnJV.js → useCredentialResolvers-CCUEZ5V2.js} +5 -5
- package/dist/assets/{useCustomAgent-tUoLIUar.css → useCustomAgent-D8Sw5vcC.css} +32 -9
- package/dist/assets/useCustomAgent-h_FKujBQ.js +630 -0
- package/dist/assets/{useDebounce-BjcMkTu4.js → useDebounce-C4ttil9E.js} +12 -12
- package/dist/assets/{useExecutionData-B5c3pMYr.js → useExecutionData-CAzGOYWw.js} +2 -2
- package/dist/assets/{useExecutionDebugging-BAm9HytR.js → useExecutionDebugging-DQI5yARq.js} +7 -7
- package/dist/assets/{useExecutionHelpers-ClAdmv-B.js → useExecutionHelpers-DWZYR0dg.js} +5 -5
- package/dist/assets/useGlobalEntityCreation-BwX8UUSv.js +192 -0
- package/dist/assets/{useImportCurlCommand-L4oAG6dd.js → useImportCurlCommand-DRS2-Amm.js} +41 -36
- package/dist/assets/{useIntersectionObserver-Bb8gFEHX.js → useIntersectionObserver-CGg561I6.js} +1 -1
- package/dist/assets/{useKeybindings-30WRTvmG.js → useKeybindings-MR6cNtmK.js} +5 -5
- package/dist/assets/{useLogsTreeExpand-6_x7FouR.js → useLogsTreeExpand-CvDEwlbf.js} +41 -41
- package/dist/assets/{useMcp-T0ZvziGl.js → useMcp-BIeH6n02.js} +2 -2
- package/dist/assets/{usePageRedirectionHelper-BJH0h6XA.js → usePageRedirectionHelper-DPAtaAXY.js} +3 -3
- package/dist/assets/{usePinnedData-B88__knO.js → usePinnedData-BFTyeyJG.js} +6 -6
- package/dist/assets/{usePushConnection-O_Sg_NLA.js → usePushConnection-CcijHMYv.js} +12 -16
- package/dist/assets/{useRunWorkflow-BK9B9ALV.js → useRunWorkflow-wOjZEWNr.js} +106 -486
- package/dist/assets/{useSettingsItems-aqm5JSTf.js → useSettingsItems-CaNtH9v0.js} +5 -5
- package/dist/assets/{useTelemetryContext-DoX4HWmg.js → useTelemetryContext-CE5phjaX.js} +4 -4
- package/dist/assets/{useWorkflowsCache-CsbESieM.js → useWorkflowsCache-BBhvuqqB.js} +2 -2
- package/dist/assets/{userRoleProvisioning.store-CK7bojX8.js → userRoleProvisioning.store-COPddaUL.js} +3 -3
- package/dist/assets/{builder.store-CgMqPgnW.js → users.store-KBMG-745.js} +22801 -23949
- package/dist/assets/utils-BCX2a8sC.js +133 -0
- package/dist/assets/{versions.store-CzvzmERa.js → versions.store-BnGZ_WOG.js} +4 -4
- package/dist/assets/{vue-Dd77OcSb.js → vue-atn33zIp.js} +255 -213
- package/dist/assets/{vue-json-pretty-DF-vJpHf.js → vue-json-pretty-CTqCbq0T.js} +1 -1
- package/dist/assets/{vue.runtime.esm-bundler-tP5dCd7J.js → vue.runtime.esm-bundler-XtMkEjzB.js} +703 -538
- package/dist/assets/{worker-CIvWfg3a.js → worker-BnP12nj7.js} +10 -3
- package/dist/index.html +116 -119
- package/package.json +1 -1
- package/tsconfig.json +1 -1
- package/dist/assets/AnimatedSpinner-DBPcagVq.js +0 -15
- package/dist/assets/BottomMenu-CRVyIu-B.css +0 -474
- package/dist/assets/ChatAgentAvatar-DoN0Vr4x.js +0 -67
- package/dist/assets/CollectionParameter-ByVUPeYR.js +0 -49
- package/dist/assets/DemoFooter-u1dOP76h.js +0 -62
- package/dist/assets/FixedCollectionParameter-CkTQ2epJ.js +0 -493
- package/dist/assets/FixedCollectionParameter-DT3ELzS9.css +0 -202
- package/dist/assets/ItemsRenderer-z7cKER1f.js +0 -922
- package/dist/assets/LogsPanel-B9QiohHK.js +0 -49
- package/dist/assets/NodeCreator-OSIpRI6S.css +0 -1649
- package/dist/assets/PageViewLayout-XiCAnPXE.js +0 -12
- package/dist/assets/PrebuiltAgentTemplatesView-B7uXEamJ.js +0 -151
- package/dist/assets/PrebuiltAgentTemplatesView-jF7HvWnL.css +0 -166
- package/dist/assets/RunDataHtml-CMYh4fix.js +0 -6
- package/dist/assets/RunDataParsedAiContent-DI_kumKV.js +0 -23
- package/dist/assets/SaveButton-DFMQz4OO.js +0 -89
- package/dist/assets/SettingsView-Ccz6LsAi.js +0 -87
- package/dist/assets/VirtualSchema-BOm-odEw.js +0 -33
- package/dist/assets/WorkflowActivationErrorMessage-CkxW6ZtU.js +0 -17
- package/dist/assets/WorkflowActivator-BGcCOUCH.css +0 -391
- package/dist/assets/WorkflowActivator-CisdBXpp.js +0 -362
- package/dist/assets/core-DeR-PV8K.js +0 -4
- package/dist/assets/empty-BUjCyq3U.js +0 -2450
- package/dist/assets/en-DyO2pPiC.js +0 -2
- package/dist/assets/schemaPreview.store-Bs_OZUsM.js +0 -113
- package/dist/assets/uniqBy-6k_SZ3dM.js +0 -10
- package/dist/assets/useBeforeUnload-dAltrwFm.js +0 -40
- package/dist/assets/useCommandBar-CXSPJjOq.js +0 -2425
- package/dist/assets/useCustomAgent-CSvOuB6K.js +0 -471
- package/dist/assets/useRecentResources-Dy5vqIyg.js +0 -118
- package/dist/assets/useWorkflowActivate-i3WAlo0M.js +0 -152
- package/dist/assets/utils-CnShVJFh.js +0 -54
- /package/dist/assets/{CalendarDate-zWqgZMlk.js → CalendarDate-CogIFc4_.js} +0 -0
- /package/dist/assets/{_plugin-vue_export-helper-BwBpWJRZ.js → _plugin-vue_export-helper-fRq25RGE.js} +0 -0
- /package/dist/assets/{fileUtils-Bt1vr1SC.js → fileUtils-C-Bxka0b.js} +0 -0
- /package/dist/assets/{mcp.constants-1HQX33wO.js → mcp.constants-Djm5lWYR.js} +0 -0
- /package/dist/assets/{preload-helper-CR0ecmWK.js → preload-helper-D8n1yiy9.js} +0 -0
- /package/dist/assets/{retry-B-tGcWte.js → retry-BLsJRFf0.js} +0 -0
- /package/dist/assets/{smartDecimal-gA9wGEba.js → smartDecimal-D3Shg2YQ.js} +0 -0
- /package/dist/assets/{sortByProperty-C6sPingU.js → sortByProperty-Dip6DXbv.js} +0 -0
- /package/dist/assets/{sqlite3-opfs-async-proxy-vVtmDGHX.js → sqlite3-opfs-async-proxy-BrtqH9Si.js} +0 -0
- /package/dist/assets/{xml-DDfXMqo8.js → xml-Cf0o4TxQ.js} +0 -0
|
@@ -1,501 +1,120 @@
|
|
|
1
|
-
import { o as __toESM } from "./chunk-
|
|
2
|
-
import { C as computed,
|
|
3
|
-
import { M as useLocalStorage, _t as useI18n } from "./_MapCache-
|
|
4
|
-
import { r as require_get } from "./truncate-
|
|
5
|
-
import { $r as
|
|
6
|
-
import {
|
|
7
|
-
import { k as defineStore, r as useRootStore } from "./_baseOrderBy-
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const startHeartbeat = () => {
|
|
15
|
-
heartbeatTimer.value = setInterval(onHeartbeat, interval);
|
|
16
|
-
};
|
|
17
|
-
const stopHeartbeat = () => {
|
|
18
|
-
if (heartbeatTimer.value) {
|
|
19
|
-
clearInterval(heartbeatTimer.value);
|
|
20
|
-
heartbeatTimer.value = null;
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
return {
|
|
24
|
-
startHeartbeat,
|
|
25
|
-
stopHeartbeat
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
const useReconnectTimer = ({ onAttempt, onAttemptScheduled }) => {
|
|
29
|
-
const initialReconnectDelay = 1e3;
|
|
30
|
-
const maxReconnectDelay = 15e3;
|
|
31
|
-
const reconnectTimer = ref(null);
|
|
32
|
-
const reconnectAttempts = ref(0);
|
|
33
|
-
const scheduleReconnect = () => {
|
|
34
|
-
const delay = Math.min(initialReconnectDelay * 2 ** reconnectAttempts.value, maxReconnectDelay);
|
|
35
|
-
reconnectAttempts.value++;
|
|
36
|
-
onAttemptScheduled(delay);
|
|
37
|
-
reconnectTimer.value = setTimeout(() => {
|
|
38
|
-
onAttempt();
|
|
39
|
-
}, delay);
|
|
40
|
-
};
|
|
41
|
-
const stopReconnectTimer = () => {
|
|
42
|
-
if (reconnectTimer.value) {
|
|
43
|
-
clearTimeout(reconnectTimer.value);
|
|
44
|
-
reconnectTimer.value = null;
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
const resetConnectionAttempts = () => {
|
|
48
|
-
reconnectAttempts.value = 0;
|
|
49
|
-
};
|
|
50
|
-
return {
|
|
51
|
-
scheduleReconnect,
|
|
52
|
-
stopReconnectTimer,
|
|
53
|
-
resetConnectionAttempts
|
|
54
|
-
};
|
|
1
|
+
import { o as __toESM } from "./chunk-r2Y0G7H8.js";
|
|
2
|
+
import { C as computed, Pt as reactive } from "./vue.runtime.esm-bundler-XtMkEjzB.js";
|
|
3
|
+
import { M as useLocalStorage, _t as useI18n } from "./_MapCache-DkLivSSb.js";
|
|
4
|
+
import { r as require_get } from "./truncate-BrM_9cme.js";
|
|
5
|
+
import { $r as useHistoryStore, It as injectWorkflowState, Ki as isEmpty, Mt as useTelemetry, Sr as useExternalHooks, Zr as CanvasNodeDirtiness, an as useDocumentTitle, br as useToast, ei as AddConnectionCommand, ii as EnableNodeToggleCommand, jt as useNodeHelpers, ls as useSettingsStore, m as displayForm, ni as BulkCommand, oi as RemoveConnectionCommand, on as useWorkflowSaving, s as useWorkflowsStore, si as RemoveNodeCommand, ti as AddNodeCommand, wt as useWorkflowHelpers } from "./users.store-KBMG-745.js";
|
|
6
|
+
import { M as IN_PROGRESS_EXECUTION_ID, Rt as CHAT_TRIGGER_NODE_TYPE, Ti as createResultOk, Vi as createRunExecutionData, Wa as NodeConnectionTypes, qi as generateNodesGraph, wi as createResultError } from "./constants-CRdXn3zB.js";
|
|
7
|
+
import { f as request, k as defineStore, r as useRootStore } from "./_baseOrderBy-Cy5MGJv_.js";
|
|
8
|
+
import { t as useExecutionsStore } from "./executions.store-D1BMCixf.js";
|
|
9
|
+
import { t as useCanvasOperations } from "./useCanvasOperations-DY9_Vcrs.js";
|
|
10
|
+
import { t as usePushConnectionStore } from "./pushConnection.store-Rp8-mZo7.js";
|
|
11
|
+
import { t as retry } from "./retry-BLsJRFf0.js";
|
|
12
|
+
var padVersion = (version) => {
|
|
13
|
+
return version.toString().split(".").concat(["0", "0"]).slice(0, 3).join(".");
|
|
55
14
|
};
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
const socket = ref(null);
|
|
59
|
-
const { startHeartbeat, stopHeartbeat } = useHeartbeat({
|
|
60
|
-
interval: 3e4,
|
|
61
|
-
onHeartbeat: () => {
|
|
62
|
-
socket.value?.send(JSON.stringify(createHeartbeatMessage()));
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
const onConnected = () => {
|
|
66
|
-
socket.value?.removeEventListener("open", onConnected);
|
|
67
|
-
isConnected.value = true;
|
|
68
|
-
startHeartbeat();
|
|
69
|
-
reconnectTimer.resetConnectionAttempts();
|
|
70
|
-
};
|
|
71
|
-
const onConnectionLost = (event) => {
|
|
72
|
-
console.warn(`[WebSocketClient] Connection lost, code=${event.code ?? "unknown"}`);
|
|
73
|
-
disconnect();
|
|
74
|
-
reconnectTimer.scheduleReconnect();
|
|
75
|
-
};
|
|
76
|
-
const onMessage = (event) => {
|
|
77
|
-
options.onMessage(event.data);
|
|
78
|
-
};
|
|
79
|
-
const onError = (error) => {
|
|
80
|
-
console.warn("[WebSocketClient] Connection error:", error);
|
|
81
|
-
};
|
|
82
|
-
const disconnect = () => {
|
|
83
|
-
if (socket.value) {
|
|
84
|
-
stopHeartbeat();
|
|
85
|
-
reconnectTimer.stopReconnectTimer();
|
|
86
|
-
socket.value.removeEventListener("message", onMessage);
|
|
87
|
-
socket.value.removeEventListener("error", onError);
|
|
88
|
-
socket.value.removeEventListener("close", onConnectionLost);
|
|
89
|
-
socket.value.close(1e3);
|
|
90
|
-
socket.value = null;
|
|
91
|
-
}
|
|
92
|
-
isConnected.value = false;
|
|
93
|
-
};
|
|
94
|
-
const connect = () => {
|
|
95
|
-
disconnect();
|
|
96
|
-
socket.value = new WebSocket(options.url);
|
|
97
|
-
socket.value.addEventListener("open", onConnected);
|
|
98
|
-
socket.value.addEventListener("message", onMessage);
|
|
99
|
-
socket.value.addEventListener("error", onError);
|
|
100
|
-
socket.value.addEventListener("close", onConnectionLost);
|
|
101
|
-
socket.value.binaryType = "arraybuffer";
|
|
102
|
-
};
|
|
103
|
-
const reconnectTimer = useReconnectTimer({
|
|
104
|
-
onAttempt: connect,
|
|
105
|
-
onAttemptScheduled: (delay) => {
|
|
106
|
-
console.log(`[WebSocketClient] Attempting to reconnect in ${delay}ms`);
|
|
107
|
-
}
|
|
108
|
-
});
|
|
109
|
-
const sendMessage = (serializedMessage) => {
|
|
110
|
-
if (!isConnected.value || !socket.value) throw new Error("Not connected to the server");
|
|
111
|
-
socket.value.send(serializedMessage);
|
|
112
|
-
};
|
|
113
|
-
return {
|
|
114
|
-
isConnected,
|
|
115
|
-
connect,
|
|
116
|
-
disconnect,
|
|
117
|
-
sendMessage
|
|
118
|
-
};
|
|
15
|
+
var isNonEmptyJsonSchema = (response) => {
|
|
16
|
+
return !!response && typeof response === "object" && "type" in response && "properties" in response && !isEmpty(response.properties);
|
|
119
17
|
};
|
|
120
|
-
const
|
|
121
|
-
const
|
|
122
|
-
const
|
|
123
|
-
const
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
};
|
|
135
|
-
const disconnect = () => {
|
|
136
|
-
if (eventSource.value) {
|
|
137
|
-
reconnectTimer.stopReconnectTimer();
|
|
138
|
-
eventSource.value.close();
|
|
139
|
-
eventSource.value = null;
|
|
140
|
-
}
|
|
141
|
-
isConnected.value = false;
|
|
142
|
-
};
|
|
143
|
-
const connect = () => {
|
|
144
|
-
disconnect();
|
|
145
|
-
eventSource.value = new EventSource(options.url, { withCredentials: true });
|
|
146
|
-
eventSource.value.addEventListener("open", onConnected);
|
|
147
|
-
eventSource.value.addEventListener("message", onMessage);
|
|
148
|
-
eventSource.value.addEventListener("close", onConnectionLost);
|
|
149
|
-
};
|
|
150
|
-
const reconnectTimer = useReconnectTimer({
|
|
151
|
-
onAttempt: connect,
|
|
152
|
-
onAttemptScheduled: (delay) => {
|
|
153
|
-
console.log(`[EventSourceClient] Attempting to reconnect in ${delay}ms`);
|
|
154
|
-
}
|
|
18
|
+
const getSchemaPreview = async (baseUrl, options) => {
|
|
19
|
+
const { nodeType, version, resource, operation } = options;
|
|
20
|
+
const versionString = padVersion(version);
|
|
21
|
+
const response = await request({
|
|
22
|
+
method: "GET",
|
|
23
|
+
baseURL: baseUrl,
|
|
24
|
+
endpoint: `${[
|
|
25
|
+
"schemas",
|
|
26
|
+
nodeType.replace("@n8n/", ""),
|
|
27
|
+
versionString,
|
|
28
|
+
resource,
|
|
29
|
+
operation
|
|
30
|
+
].filter(Boolean).join("/")}.json`,
|
|
31
|
+
withCredentials: false
|
|
155
32
|
});
|
|
156
|
-
|
|
157
|
-
return
|
|
158
|
-
isConnected,
|
|
159
|
-
connect,
|
|
160
|
-
disconnect,
|
|
161
|
-
sendMessage
|
|
162
|
-
};
|
|
33
|
+
if (!isNonEmptyJsonSchema(response)) throw new Error("Invalid JSON schema");
|
|
34
|
+
return response;
|
|
163
35
|
};
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
* Copyright 2019 Google LLC
|
|
167
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
168
|
-
*/
|
|
169
|
-
var proxyMarker = Symbol("Comlink.proxy");
|
|
170
|
-
var createEndpoint = Symbol("Comlink.endpoint");
|
|
171
|
-
var releaseProxy = Symbol("Comlink.releaseProxy");
|
|
172
|
-
var finalizer = Symbol("Comlink.finalizer");
|
|
173
|
-
var throwMarker = Symbol("Comlink.thrown");
|
|
174
|
-
var isObject = (val) => typeof val === "object" && val !== null || typeof val === "function";
|
|
175
|
-
var transferHandlers = new Map([["proxy", {
|
|
176
|
-
canHandle: (val) => isObject(val) && val[proxyMarker],
|
|
177
|
-
serialize(obj) {
|
|
178
|
-
const { port1, port2 } = new MessageChannel();
|
|
179
|
-
expose(obj, port1);
|
|
180
|
-
return [port2, [port2]];
|
|
181
|
-
},
|
|
182
|
-
deserialize(port) {
|
|
183
|
-
port.start();
|
|
184
|
-
return wrap(port);
|
|
185
|
-
}
|
|
186
|
-
}], ["throw", {
|
|
187
|
-
canHandle: (value) => isObject(value) && throwMarker in value,
|
|
188
|
-
serialize({ value }) {
|
|
189
|
-
let serialized;
|
|
190
|
-
if (value instanceof Error) serialized = {
|
|
191
|
-
isError: true,
|
|
192
|
-
value: {
|
|
193
|
-
message: value.message,
|
|
194
|
-
name: value.name,
|
|
195
|
-
stack: value.stack
|
|
196
|
-
}
|
|
197
|
-
};
|
|
198
|
-
else serialized = {
|
|
199
|
-
isError: false,
|
|
200
|
-
value
|
|
201
|
-
};
|
|
202
|
-
return [serialized, []];
|
|
203
|
-
},
|
|
204
|
-
deserialize(serialized) {
|
|
205
|
-
if (serialized.isError) throw Object.assign(new Error(serialized.value.message), serialized.value);
|
|
206
|
-
throw serialized.value;
|
|
207
|
-
}
|
|
208
|
-
}]]);
|
|
209
|
-
function isAllowedOrigin(allowedOrigins, origin) {
|
|
210
|
-
for (const allowedOrigin of allowedOrigins) {
|
|
211
|
-
if (origin === allowedOrigin || allowedOrigin === "*") return true;
|
|
212
|
-
if (allowedOrigin instanceof RegExp && allowedOrigin.test(origin)) return true;
|
|
213
|
-
}
|
|
214
|
-
return false;
|
|
36
|
+
function generateJsonSchema(json) {
|
|
37
|
+
return inferType(json);
|
|
215
38
|
}
|
|
216
|
-
function
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
}
|
|
223
|
-
const { id, type, path } = Object.assign({ path: [] }, ev.data);
|
|
224
|
-
const argumentList = (ev.data.argumentList || []).map(fromWireValue);
|
|
225
|
-
let returnValue;
|
|
226
|
-
try {
|
|
227
|
-
const parent = path.slice(0, -1).reduce((obj$1, prop) => obj$1[prop], obj);
|
|
228
|
-
const rawValue = path.reduce((obj$1, prop) => obj$1[prop], obj);
|
|
229
|
-
switch (type) {
|
|
230
|
-
case "GET":
|
|
231
|
-
returnValue = rawValue;
|
|
232
|
-
break;
|
|
233
|
-
case "SET":
|
|
234
|
-
parent[path.slice(-1)[0]] = fromWireValue(ev.data.value);
|
|
235
|
-
returnValue = true;
|
|
236
|
-
break;
|
|
237
|
-
case "APPLY":
|
|
238
|
-
returnValue = rawValue.apply(parent, argumentList);
|
|
239
|
-
break;
|
|
240
|
-
case "CONSTRUCT":
|
|
241
|
-
returnValue = proxy(new rawValue(...argumentList));
|
|
242
|
-
break;
|
|
243
|
-
case "ENDPOINT":
|
|
244
|
-
{
|
|
245
|
-
const { port1, port2 } = new MessageChannel();
|
|
246
|
-
expose(obj, port2);
|
|
247
|
-
returnValue = transfer(port1, [port1]);
|
|
248
|
-
}
|
|
249
|
-
break;
|
|
250
|
-
case "RELEASE":
|
|
251
|
-
returnValue = void 0;
|
|
252
|
-
break;
|
|
253
|
-
default: return;
|
|
254
|
-
}
|
|
255
|
-
} catch (value) {
|
|
256
|
-
returnValue = {
|
|
257
|
-
value,
|
|
258
|
-
[throwMarker]: 0
|
|
259
|
-
};
|
|
260
|
-
}
|
|
261
|
-
Promise.resolve(returnValue).catch((value) => {
|
|
262
|
-
return {
|
|
263
|
-
value,
|
|
264
|
-
[throwMarker]: 0
|
|
265
|
-
};
|
|
266
|
-
}).then((returnValue$1) => {
|
|
267
|
-
const [wireValue, transferables] = toWireValue(returnValue$1);
|
|
268
|
-
ep.postMessage(Object.assign(Object.assign({}, wireValue), { id }), transferables);
|
|
269
|
-
if (type === "RELEASE") {
|
|
270
|
-
ep.removeEventListener("message", callback);
|
|
271
|
-
closeEndPoint(ep);
|
|
272
|
-
if (finalizer in obj && typeof obj[finalizer] === "function") obj[finalizer]();
|
|
273
|
-
}
|
|
274
|
-
}).catch((error) => {
|
|
275
|
-
const [wireValue, transferables] = toWireValue({
|
|
276
|
-
value: /* @__PURE__ */ new TypeError("Unserializable return value"),
|
|
277
|
-
[throwMarker]: 0
|
|
278
|
-
});
|
|
279
|
-
ep.postMessage(Object.assign(Object.assign({}, wireValue), { id }), transferables);
|
|
280
|
-
});
|
|
281
|
-
});
|
|
282
|
-
if (ep.start) ep.start();
|
|
283
|
-
}
|
|
284
|
-
function isMessagePort(endpoint) {
|
|
285
|
-
return endpoint.constructor.name === "MessagePort";
|
|
286
|
-
}
|
|
287
|
-
function closeEndPoint(endpoint) {
|
|
288
|
-
if (isMessagePort(endpoint)) endpoint.close();
|
|
289
|
-
}
|
|
290
|
-
function wrap(ep, target) {
|
|
291
|
-
return createProxy(ep, [], target);
|
|
292
|
-
}
|
|
293
|
-
function throwIfProxyReleased(isReleased) {
|
|
294
|
-
if (isReleased) throw new Error("Proxy has been released and is not useable");
|
|
295
|
-
}
|
|
296
|
-
function releaseEndpoint(ep) {
|
|
297
|
-
return requestResponseMessage(ep, { type: "RELEASE" }).then(() => {
|
|
298
|
-
closeEndPoint(ep);
|
|
299
|
-
});
|
|
39
|
+
function isPrimitive(type) {
|
|
40
|
+
return [
|
|
41
|
+
"string",
|
|
42
|
+
"number",
|
|
43
|
+
"boolean"
|
|
44
|
+
].includes(type);
|
|
300
45
|
}
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
const
|
|
304
|
-
|
|
305
|
-
if (
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
const newCount = (proxyCounter.get(ep) || 0) + 1;
|
|
309
|
-
proxyCounter.set(ep, newCount);
|
|
310
|
-
if (proxyFinalizers) proxyFinalizers.register(proxy$1, ep, proxy$1);
|
|
311
|
-
}
|
|
312
|
-
function unregisterProxy(proxy$1) {
|
|
313
|
-
if (proxyFinalizers) proxyFinalizers.unregister(proxy$1);
|
|
314
|
-
}
|
|
315
|
-
function createProxy(ep, path = [], target = function() {}) {
|
|
316
|
-
let isProxyReleased = false;
|
|
317
|
-
const proxy$1 = new Proxy(target, {
|
|
318
|
-
get(_target, prop) {
|
|
319
|
-
throwIfProxyReleased(isProxyReleased);
|
|
320
|
-
if (prop === releaseProxy) return () => {
|
|
321
|
-
unregisterProxy(proxy$1);
|
|
322
|
-
releaseEndpoint(ep);
|
|
323
|
-
isProxyReleased = true;
|
|
324
|
-
};
|
|
325
|
-
if (prop === "then") {
|
|
326
|
-
if (path.length === 0) return { then: () => proxy$1 };
|
|
327
|
-
const r = requestResponseMessage(ep, {
|
|
328
|
-
type: "GET",
|
|
329
|
-
path: path.map((p) => p.toString())
|
|
330
|
-
}).then(fromWireValue);
|
|
331
|
-
return r.then.bind(r);
|
|
332
|
-
}
|
|
333
|
-
return createProxy(ep, [...path, prop]);
|
|
334
|
-
},
|
|
335
|
-
set(_target, prop, rawValue) {
|
|
336
|
-
throwIfProxyReleased(isProxyReleased);
|
|
337
|
-
const [value, transferables] = toWireValue(rawValue);
|
|
338
|
-
return requestResponseMessage(ep, {
|
|
339
|
-
type: "SET",
|
|
340
|
-
path: [...path, prop].map((p) => p.toString()),
|
|
341
|
-
value
|
|
342
|
-
}, transferables).then(fromWireValue);
|
|
343
|
-
},
|
|
344
|
-
apply(_target, _thisArg, rawArgumentList) {
|
|
345
|
-
throwIfProxyReleased(isProxyReleased);
|
|
346
|
-
const last = path[path.length - 1];
|
|
347
|
-
if (last === createEndpoint) return requestResponseMessage(ep, { type: "ENDPOINT" }).then(fromWireValue);
|
|
348
|
-
if (last === "bind") return createProxy(ep, path.slice(0, -1));
|
|
349
|
-
const [argumentList, transferables] = processArguments(rawArgumentList);
|
|
350
|
-
return requestResponseMessage(ep, {
|
|
351
|
-
type: "APPLY",
|
|
352
|
-
path: path.map((p) => p.toString()),
|
|
353
|
-
argumentList
|
|
354
|
-
}, transferables).then(fromWireValue);
|
|
355
|
-
},
|
|
356
|
-
construct(_target, rawArgumentList) {
|
|
357
|
-
throwIfProxyReleased(isProxyReleased);
|
|
358
|
-
const [argumentList, transferables] = processArguments(rawArgumentList);
|
|
359
|
-
return requestResponseMessage(ep, {
|
|
360
|
-
type: "CONSTRUCT",
|
|
361
|
-
path: path.map((p) => p.toString()),
|
|
362
|
-
argumentList
|
|
363
|
-
}, transferables).then(fromWireValue);
|
|
364
|
-
}
|
|
365
|
-
});
|
|
366
|
-
registerProxy(proxy$1, ep);
|
|
367
|
-
return proxy$1;
|
|
368
|
-
}
|
|
369
|
-
function myFlat(arr) {
|
|
370
|
-
return Array.prototype.concat.apply([], arr);
|
|
371
|
-
}
|
|
372
|
-
function processArguments(argumentList) {
|
|
373
|
-
const processed = argumentList.map(toWireValue);
|
|
374
|
-
return [processed.map((v) => v[0]), myFlat(processed.map((v) => v[1]))];
|
|
46
|
+
function inferType(value) {
|
|
47
|
+
if (value === null) return { type: "null" };
|
|
48
|
+
const type = typeof value;
|
|
49
|
+
if (isPrimitive(type)) return { type };
|
|
50
|
+
if (Array.isArray(value)) return inferArrayType(value);
|
|
51
|
+
if (value && type === "object") return inferObjectType(value);
|
|
52
|
+
return { type: "string" };
|
|
375
53
|
}
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
}
|
|
381
|
-
function proxy(obj) {
|
|
382
|
-
return Object.assign(obj, { [proxyMarker]: true });
|
|
383
|
-
}
|
|
384
|
-
function toWireValue(value) {
|
|
385
|
-
for (const [name, handler] of transferHandlers) if (handler.canHandle(value)) {
|
|
386
|
-
const [serializedValue, transferables] = handler.serialize(value);
|
|
387
|
-
return [{
|
|
388
|
-
type: "HANDLER",
|
|
389
|
-
name,
|
|
390
|
-
value: serializedValue
|
|
391
|
-
}, transferables];
|
|
392
|
-
}
|
|
393
|
-
return [{
|
|
394
|
-
type: "RAW",
|
|
395
|
-
value
|
|
396
|
-
}, transferCache.get(value) || []];
|
|
397
|
-
}
|
|
398
|
-
function fromWireValue(value) {
|
|
399
|
-
switch (value.type) {
|
|
400
|
-
case "HANDLER": return transferHandlers.get(value.name).deserialize(value.value);
|
|
401
|
-
case "RAW": return value.value;
|
|
402
|
-
}
|
|
54
|
+
function inferArrayType(arr) {
|
|
55
|
+
return {
|
|
56
|
+
type: "array",
|
|
57
|
+
items: arr.length > 0 ? inferType(arr[0]) : {}
|
|
58
|
+
};
|
|
403
59
|
}
|
|
404
|
-
function
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
if (!ev.data || !ev.data.id || ev.data.id !== id) return;
|
|
409
|
-
ep.removeEventListener("message", l);
|
|
410
|
-
resolve(ev.data);
|
|
411
|
-
});
|
|
412
|
-
if (ep.start) ep.start();
|
|
413
|
-
ep.postMessage(Object.assign({ id }, msg), transfers);
|
|
60
|
+
function inferObjectType(obj) {
|
|
61
|
+
const properties = {};
|
|
62
|
+
Object.entries(obj).forEach(([key, value]) => {
|
|
63
|
+
properties[key] = inferType(value);
|
|
414
64
|
});
|
|
65
|
+
return {
|
|
66
|
+
type: "object",
|
|
67
|
+
properties
|
|
68
|
+
};
|
|
415
69
|
}
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
}
|
|
419
|
-
const runDataWorker = wrap(new Worker(new URL(
|
|
420
|
-
/* @vite-ignore */
|
|
421
|
-
"/%7B%7BBASE_PATH%7D%7D/assets/worker-CIvWfg3a.js",
|
|
422
|
-
"" + import.meta.url
|
|
423
|
-
), { type: "module" }));
|
|
424
|
-
const usePushConnectionStore = defineStore(STORES.PUSH, () => {
|
|
70
|
+
const useSchemaPreviewStore = defineStore("schemaPreview", () => {
|
|
71
|
+
const schemaPreviews = reactive(/* @__PURE__ */ new Map());
|
|
425
72
|
const rootStore = useRootStore();
|
|
426
|
-
const
|
|
427
|
-
const
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
if (index !== -1) onMessageReceivedHandlers.value.splice(index, 1);
|
|
436
|
-
};
|
|
437
|
-
};
|
|
438
|
-
const useWebSockets = computed(() => settingsStore.pushBackend === "websocket");
|
|
439
|
-
const getConnectionUrl = () => {
|
|
440
|
-
const restUrl = rootStore.restUrl;
|
|
441
|
-
const url$1 = `/push?pushRef=${rootStore.pushRef}`;
|
|
442
|
-
if (useWebSockets.value) {
|
|
443
|
-
const { protocol, host } = window.location;
|
|
444
|
-
return `${restUrl.startsWith("http") ? restUrl.replace(/^http/, "ws") : `${protocol === "https:" ? "wss" : "ws"}://${host + restUrl}`}${url$1}`;
|
|
445
|
-
} else return `${restUrl}${url$1}`;
|
|
446
|
-
};
|
|
447
|
-
async function onMessage(data) {
|
|
448
|
-
if (data instanceof ArrayBuffer) if (isRunDataWorkerEnabled.value) {
|
|
449
|
-
await runDataWorker.onNodeExecuteAfterData(data);
|
|
450
|
-
return;
|
|
451
|
-
} else data = new TextDecoder("utf-8").decode(new Uint8Array(data));
|
|
452
|
-
let parsedData;
|
|
73
|
+
const telemetry = useTelemetry();
|
|
74
|
+
const workflowsStore = useWorkflowsStore();
|
|
75
|
+
function getSchemaPreviewKey({ nodeType, version, operation, resource }) {
|
|
76
|
+
return `${nodeType}_${version}_${resource?.toString() ?? "all"}_${operation?.toString() ?? "all"}`;
|
|
77
|
+
}
|
|
78
|
+
async function getSchemaPreview$1(options) {
|
|
79
|
+
const key = getSchemaPreviewKey(options);
|
|
80
|
+
const cached = schemaPreviews.get(key);
|
|
81
|
+
if (cached) return cached;
|
|
453
82
|
try {
|
|
454
|
-
|
|
83
|
+
const result = createResultOk(await getSchemaPreview(rootStore.baseUrl, options));
|
|
84
|
+
schemaPreviews.set(key, result);
|
|
85
|
+
return result;
|
|
455
86
|
} catch (error) {
|
|
456
|
-
|
|
87
|
+
const result = createResultError(error);
|
|
88
|
+
schemaPreviews.set(key, result);
|
|
89
|
+
return result;
|
|
457
90
|
}
|
|
458
|
-
onMessageReceivedHandlers.value.forEach((handler) => handler(parsedData));
|
|
459
91
|
}
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
92
|
+
async function trackSchemaPreviewExecution(pushEvent) {
|
|
93
|
+
if (schemaPreviews.size === 0 || pushEvent.data.executionStatus !== "success") return;
|
|
94
|
+
const node = workflowsStore.getNodeByName(pushEvent.nodeName);
|
|
95
|
+
if (!node) return;
|
|
96
|
+
const { id, type, typeVersion, parameters: { resource, operation } } = node;
|
|
97
|
+
const result = schemaPreviews.get(getSchemaPreviewKey({
|
|
98
|
+
nodeType: type,
|
|
99
|
+
version: typeVersion,
|
|
100
|
+
resource,
|
|
101
|
+
operation
|
|
102
|
+
}));
|
|
103
|
+
if (!result?.ok) return;
|
|
104
|
+
telemetry.track("User executed node with schema preview", {
|
|
105
|
+
node_id: id,
|
|
106
|
+
node_type: type,
|
|
107
|
+
node_version: typeVersion,
|
|
108
|
+
node_resource: resource,
|
|
109
|
+
node_operation: operation,
|
|
110
|
+
schema_preview: JSON.stringify(result.result),
|
|
111
|
+
output_schema: JSON.stringify(generateJsonSchema(pushEvent.data.data?.main?.[0]?.[0]?.json)),
|
|
112
|
+
workflow_id: workflowsStore.workflowId
|
|
113
|
+
});
|
|
471
114
|
}
|
|
472
|
-
const pushConnect = () => {
|
|
473
|
-
isConnectionRequested.value = true;
|
|
474
|
-
client.value.connect();
|
|
475
|
-
};
|
|
476
|
-
const pushDisconnect = () => {
|
|
477
|
-
isConnectionRequested.value = false;
|
|
478
|
-
client.value.disconnect();
|
|
479
|
-
};
|
|
480
|
-
watch(() => client.value.isConnected.value, (didConnect) => {
|
|
481
|
-
if (!didConnect) return;
|
|
482
|
-
if (outgoingQueue.value.length) {
|
|
483
|
-
for (const message of outgoingQueue.value) serializeAndSend(message);
|
|
484
|
-
outgoingQueue.value = [];
|
|
485
|
-
}
|
|
486
|
-
});
|
|
487
|
-
const clearQueue = () => {
|
|
488
|
-
outgoingQueue.value = [];
|
|
489
|
-
};
|
|
490
115
|
return {
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
onMessageReceivedHandlers,
|
|
494
|
-
addEventListener,
|
|
495
|
-
pushConnect,
|
|
496
|
-
pushDisconnect,
|
|
497
|
-
send: serializeAndSend,
|
|
498
|
-
clearQueue
|
|
116
|
+
getSchemaPreview: getSchemaPreview$1,
|
|
117
|
+
trackSchemaPreviewExecution
|
|
499
118
|
};
|
|
500
119
|
});
|
|
501
120
|
function shouldCommandMarkDirty(command, nodeName, siblingCommands, getIncomingConnections, getOutgoingConnectors) {
|
|
@@ -614,11 +233,11 @@ const useAgentRequestStore = defineStore("agentRequest", () => {
|
|
|
614
233
|
if (typeof query === "string") return;
|
|
615
234
|
return query?.[paramName];
|
|
616
235
|
};
|
|
617
|
-
const setAgentRequestForNode = (workflowId, nodeId, request) => {
|
|
236
|
+
const setAgentRequestForNode = (workflowId, nodeId, request$1) => {
|
|
618
237
|
ensureWorkflowAndNodeExist(workflowId, nodeId);
|
|
619
238
|
agentRequests.value[workflowId][nodeId] = {
|
|
620
|
-
...request,
|
|
621
|
-
query: typeof request.query === "string" ? request.query : { ...request.query }
|
|
239
|
+
...request$1,
|
|
240
|
+
query: typeof request$1.query === "string" ? request$1.query : { ...request$1.query }
|
|
622
241
|
};
|
|
623
242
|
};
|
|
624
243
|
const clearAgentRequests = (workflowId, nodeId) => {
|
|
@@ -641,7 +260,7 @@ const useAgentRequestStore = defineStore("agentRequest", () => {
|
|
|
641
260
|
getAgentRequest
|
|
642
261
|
};
|
|
643
262
|
});
|
|
644
|
-
var import_get = /* @__PURE__ */ __toESM(require_get());
|
|
263
|
+
var import_get = /* @__PURE__ */ __toESM(require_get(), 1);
|
|
645
264
|
function useRunWorkflow(useRunWorkflowOpts) {
|
|
646
265
|
const workflowHelpers = useWorkflowHelpers();
|
|
647
266
|
const i18n = useI18n();
|
|
@@ -828,6 +447,7 @@ function useRunWorkflow(useRunWorkflowOpts) {
|
|
|
828
447
|
});
|
|
829
448
|
return runWorkflowApiResponse;
|
|
830
449
|
} catch (error) {
|
|
450
|
+
console.error(error);
|
|
831
451
|
workflowState.setWorkflowExecutionData(null);
|
|
832
452
|
useDocumentTitle().setDocumentTitle(workflowObject.value.name, "ERROR");
|
|
833
453
|
toast.showError(error, i18n.baseText("workflowRun.showError.title"));
|
|
@@ -928,4 +548,4 @@ function useRunWorkflow(useRunWorkflowOpts) {
|
|
|
928
548
|
sortNodesByYPosition
|
|
929
549
|
};
|
|
930
550
|
}
|
|
931
|
-
export {
|
|
551
|
+
export { useSchemaPreviewStore as i, useAgentRequestStore as n, useNodeDirtiness as r, useRunWorkflow as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as computed } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { _t as useI18n } from "./_MapCache-
|
|
3
|
-
import { y as useRouter } from "./truncate-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { C as computed } from "./vue.runtime.esm-bundler-XtMkEjzB.js";
|
|
2
|
+
import { _t as useI18n } from "./_MapCache-DkLivSSb.js";
|
|
3
|
+
import { y as useRouter } from "./truncate-BrM_9cme.js";
|
|
4
|
+
import { ls as useSettingsStore, r as useUIStore, rr as hasPermission } from "./users.store-KBMG-745.js";
|
|
5
|
+
import { zo as VIEWS } from "./constants-CRdXn3zB.js";
|
|
6
6
|
function useUserHelpers(router) {
|
|
7
7
|
const canUserAccessRouteByName = (name) => {
|
|
8
8
|
return canUserAccessRoute(router.resolve({ name }));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as createElementBlock, P as defineComponent, et as openBlock, nt as provide, st as resolveDirective, vn as normalizeClass, xt as withDirectives, z as inject } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { t as __plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-
|
|
3
|
-
import {
|
|
1
|
+
import { D as createElementBlock, P as defineComponent, et as openBlock, nt as provide, st as resolveDirective, vn as normalizeClass, xt as withDirectives, z as inject } from "./vue.runtime.esm-bundler-XtMkEjzB.js";
|
|
2
|
+
import { t as __plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-fRq25RGE.js";
|
|
3
|
+
import { nc as TelemetryContextSymbol } from "./constants-CRdXn3zB.js";
|
|
4
4
|
var MappingPill_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "MappingPill",
|
|
6
6
|
props: {
|
|
@@ -13,7 +13,7 @@ var MappingPill_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
|
|
|
13
13
|
setup(__props) {
|
|
14
14
|
return (_ctx, _cache) => {
|
|
15
15
|
const _directive_n8n_html = resolveDirective("n8n-html");
|
|
16
|
-
return withDirectives((openBlock(), createElementBlock("div", { class: normalizeClass([_ctx.$style.dragPill,
|
|
16
|
+
return withDirectives((openBlock(), createElementBlock("div", { class: normalizeClass([_ctx.$style.dragPill, __props.canDrop ? _ctx.$style.droppablePill : _ctx.$style.defaultPill]) }, null, 2)), [[_directive_n8n_html, __props.html]]);
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
});
|