n8n-editor-ui 2.3.1 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/node-popularity.json +1920 -1916
- package/dist/assets/{AddDataTableModal-DnW0v2OC.js → AddDataTableModal-Y13E7Akf.js} +18 -22
- package/dist/assets/{AgentEditorModal-CnYw6elM.css → AgentEditorModal-9v5_7c4M.css} +11 -7
- package/dist/assets/{AgentEditorModal-Djnq_0FY.js → AgentEditorModal-BrMkCIu5.js} +34 -38
- package/dist/assets/{Alert-KBN7v2aB.js → Alert-C0sX2MmC.js} +9 -9
- package/dist/assets/AnimatedSpinner-B25lpnvb.js +15 -0
- package/dist/assets/{AnnotationTagsDropdown.ee-QStDN6Th.js → AnnotationTagsDropdown.ee-D52VzZRF.js} +6 -6
- package/dist/assets/{MainHeader-D7esq2FA.js → AppHeader-BMRzlZ88.js} +359 -529
- package/dist/assets/{MainHeader-CSaAWCWj.css → AppHeader-CiEVBSe4.css} +42 -160
- package/dist/assets/{MainSidebar-BehIhk7J.js → AppSidebar-B88OkpG6.js} +107 -84
- package/dist/assets/{MainSidebar-CEsQ8o1Y.css → AppSidebar-qYnACKTG.css} +13 -4
- package/dist/assets/{AuthView-8nC1kvaA.js → AuthView-B28bjxIF.js} +12 -12
- package/dist/assets/{SettingsView-6sirGv9l.css → BottomMenu-CYgiV90C.css} +57 -37
- package/dist/assets/{BottomMenu-B-HQRX4l.js → BottomMenu-CfzAqh6J.js} +70 -168
- package/dist/assets/{useCanvasMapping-Cl6iFzZx.js → CanvasRunWorkflowButton-CLV9eJ9R.js} +268 -262
- package/dist/assets/{useCanvasMapping-CyDAqgNV.css → CanvasRunWorkflowButton-D_Rqnskj.css} +203 -203
- package/dist/assets/{ChangePasswordView-B4U_r0Av.js → ChangePasswordView-CXDHJS_U.js} +14 -19
- package/dist/assets/ChatAgentAvatar-BqR7_kd_.js +67 -0
- package/dist/assets/{ChatAgentAvatar-B68ZZ295.css → ChatAgentAvatar-D94COYC_.css} +10 -13
- package/dist/assets/{ChatFile-Dtf_b24Y.js → ChatFile-DGN9Z6P_.js} +17 -17
- package/dist/assets/{ChatLayout-CxM-3LAt.css → ChatLayout-C5Cltxb6.css} +1 -8
- package/dist/assets/{ChatLayout-BfWVFhWE.js → ChatLayout-IMyTW2P2.js} +11 -15
- package/dist/assets/{ChatPersonalAgentsView-DTF6JtUh.js → ChatPersonalAgentsView-PT_0eEaD.js} +19 -25
- package/dist/assets/{ChatSidebar-DU5x3UPL.js → ChatSidebar-CG-7B_hY.js} +56 -72
- package/dist/assets/{ChatSidebar-DcNxY7Pt.css → ChatSidebar-D-hWKn7w.css} +126 -0
- package/dist/assets/{ChatView-D8ScSRRr.js → ChatView-DaUB9Ecc.js} +113 -113
- package/dist/assets/{ChatView-DrZ9gYjI.css → ChatView-DjGNW1KJ.css} +58 -50
- package/dist/assets/{ChatWorkflowAgentsView-Kiqxl5Dz.js → ChatWorkflowAgentsView-Dv-lY297.js} +19 -25
- package/dist/assets/CollectionParameter-CEz9OjV2.js +42 -0
- package/dist/assets/{CommunityNodeUpdateInfo-DsR3DdTu.js → CommunityNodeUpdateInfo-CauvhKGq.js} +13 -13
- package/dist/assets/{CopyInput-DJ2yTciL.js → CopyInput-B4eaHdxj.js} +15 -15
- package/dist/assets/{CredentialIcon-DJybkA4h.js → CredentialIcon-BtjftPax.js} +6 -6
- package/dist/assets/{CredentialPicker-Bao3p-41.js → CredentialPicker-BFTsdquZ.js} +8 -8
- package/dist/assets/{CredentialSelectorModal-DaRU1zXR.js → CredentialSelectorModal-y04x0moO.js} +22 -27
- package/dist/assets/{CredentialsView-wSH7BheV.js → CredentialsView-CbhjEdy6.js} +46 -52
- package/dist/assets/{DataTableActions-BMf3BHPM.js → DataTableActions-V_mGpWNk.js} +6 -6
- package/dist/assets/{DataTableDetailsView-CSIqpXLA.js → DataTableDetailsView-BaCljaXy.js} +27 -31
- package/dist/assets/{DataTableView-Blgv7Ln8.js → DataTableView-DtSSvuD-.js} +31 -37
- package/dist/assets/DemoFooter-2XBpYf-9.js +53 -0
- package/dist/assets/{Draggable-DQjeTEFr.js → Draggable-uo-iesAL.js} +5 -5
- package/dist/assets/{EmptySharedSectionActionBox-CogY0uW5.js → EmptySharedSectionActionBox-BoSKCX6d.js} +5 -5
- package/dist/assets/{EnterpriseEdition.ee-CFcDsU4a.js → EnterpriseEdition.ee-CyI_U9yB.js} +2 -2
- package/dist/assets/{EntityNotFound-DmFtFwaH.js → EntityNotFound-qBJJDr9S.js} +9 -13
- package/dist/assets/{EntityUnAuthorised-CoFxjgq9.js → EntityUnAuthorised-Ci980jH0.js} +8 -12
- package/dist/assets/{ErrorView-fGVmNs6l.js → ErrorView-D33JJAX4.js} +13 -17
- package/dist/assets/{EvaluationsRootView-CnsgFQrF.js → EvaluationsRootView-B2SD_0sA.js} +34 -37
- package/dist/assets/{EvaluationsView-V0hiFoAc.js → EvaluationsView-D9anu-so.js} +28 -34
- package/dist/assets/{ExecutionsTime-SXIffRZe.js → ExecutionsTime-Co23FVKL.js} +16 -15
- package/dist/assets/{ExecutionsView-1YV6qmab.js → ExecutionsView-BYR0BCB9.js} +62 -66
- package/dist/assets/{ExternalSecretsProviderConnectionSwitch.ee-CwhFUTJx.js → ExternalSecretsProviderConnectionSwitch.ee-DaF1WXYB.js} +18 -17
- package/dist/assets/FixedCollectionParameter-COuGvpZ8.css +642 -0
- package/dist/assets/FixedCollectionParameter-DDwNWqZ8.js +1571 -0
- package/dist/assets/FolderBreadcrumbs-CqjobwTB.js +187 -0
- package/dist/assets/{SaveButton-Dc01Y2MA.css → FolderBreadcrumbs-eBFopiOp.css} +7 -14
- package/dist/assets/{ForgotMyPasswordView-Bgtqx-Pb.js → ForgotMyPasswordView-CcxGYqHh.js} +14 -19
- package/dist/assets/{InsightsChartAverageRuntime-gpxjFP2f.js → InsightsChartAverageRuntime-69U4sUmH.js} +10 -11
- package/dist/assets/{InsightsChartFailed-DBcygly6.js → InsightsChartFailed-Ct64T5GJ.js} +8 -9
- package/dist/assets/{InsightsChartFailureRate-CY3HP65L.js → InsightsChartFailureRate-BOdV-Q3d.js} +9 -11
- package/dist/assets/{InsightsChartTimeSaved-DAfnPiRJ.js → InsightsChartTimeSaved-B83s59mL.js} +9 -11
- package/dist/assets/{InsightsChartTotal-CLtcCYXo.js → InsightsChartTotal-1A5vqW4E.js} +7 -9
- package/dist/assets/{InsightsDashboard-D3vC4R1n.js → InsightsDashboard-BgxhoT5G.js} +37 -39
- package/dist/assets/{InsightsPaywall-0gL3KDRU.js → InsightsPaywall-DlLnPCl2.js} +15 -19
- package/dist/assets/{InsightsSummary-CnIu-BEq.js → InsightsSummary-BB8IwI5i.js} +11 -11
- package/dist/assets/{InsightsTableWorkflows-BIKybxql.js → InsightsTableWorkflows-Dnldlw-H.js} +22 -25
- package/dist/assets/{KeyboardShortcutTooltip-Bg_9TS__.js → KeyboardShortcutTooltip-Dwz4Hv8g.js} +6 -6
- package/dist/assets/LogsPanel-C9bshHRi.js +40 -0
- package/dist/assets/{LogsPanel-CeaPnpLp.js → LogsPanel-CfaRZWyh.js} +100 -100
- package/dist/assets/{MCPConnectWorkflowsModal-Td3mGUN9.js → MCPConnectWorkflowsModal-DgeHxB8D.js} +36 -42
- package/dist/assets/{MigrationRuleDetail-ChDD18D8.js → MigrationRuleDetail-CtWwVzUC.js} +23 -27
- package/dist/assets/{MigrationRules-Bx-faTM3.js → MigrationRules-Om8sz8NC.js} +21 -25
- package/dist/assets/{Modal-DbNRq20p.js → Modal-DDyUIg-j.js} +27 -26
- package/dist/assets/{ModelByIdSelectorModal-Zys7oCrF.js → ModelByIdSelectorModal-DOo5k-Da.js} +18 -23
- package/dist/assets/{NDVEmptyState-DLSJV_-K.js → NDVEmptyState-CJWa4Aka.js} +15 -12
- package/dist/assets/{NodeCreation-D-51ue5r.js → NodeCreation-ClTqHJhs.js} +30 -53
- package/dist/assets/{ItemsRenderer-DkobJF9f.css → NodeCreator-039HRrqJ.css} +1525 -6
- package/dist/assets/{NodeCreator-DNZlk7YI.js → NodeCreator-BHs8o7J3.js} +978 -88
- package/dist/assets/{NodeDetailsView-Bx2kED62.js → NodeDetailsView-Cr9dlkiW.js} +72 -87
- package/dist/assets/{NodeDetailsViewV2-Cs-DNkN8.js → NodeDetailsViewV2-D_UwwehT.js} +69 -86
- package/dist/assets/{NodeIcon-BbsF7HzQ.js → NodeIcon-CXamMxe5.js} +10 -10
- package/dist/assets/{NodeIcon-BDxr0f30.css → NodeIcon-zqTc5h-V.css} +1 -1
- package/dist/assets/{NodeSettings-CihRSGnT.js → NodeSettings-DiMGfIPh.js} +73 -73
- package/dist/assets/{NodeView-C6e9qYIb.js → NodeView-CqK4OOpZ.js} +171 -149
- package/dist/assets/{NodeView-AuBajxDh.css → NodeView-Xwcu11Wh.css} +11 -11
- package/dist/assets/{OAuthConsentView-DgEpMzqe.js → OAuthConsentView-D4rD7kPg.js} +14 -18
- package/dist/assets/{ParameterInputList-C1BdtAjc.css → ParameterInputList-BUZ33Aem.css} +717 -208
- package/dist/assets/{ParameterInputList-BdolYdHT.js → ParameterInputList-DlsnXTOE.js} +1864 -1039
- package/dist/assets/{ProjectBreadcrumb-C78U49qA.js → ProjectBreadcrumb-D9hS-MYJ.js} +8 -8
- package/dist/assets/{ProjectCardBadge-BJrdwkUy.js → ProjectCardBadge-BE0KUpWh.js} +10 -10
- package/dist/assets/{ProjectHeader-BWd_Jpki.js → ProjectHeader-C_C9sbjt.js} +14 -14
- package/dist/assets/{ProjectIcon-CNEqHlzp.js → ProjectIcon-gwTM9uPG.js} +8 -8
- package/dist/assets/{ProjectRoleView-DgDH-CAz.js → ProjectRoleView-Bf4zP3qm.js} +19 -23
- package/dist/assets/{ProjectRolesView-lS6Xs6d0.js → ProjectRolesView-DhAgSeyy.js} +18 -22
- package/dist/assets/{ProjectSettings-BBjtsGXK.js → ProjectSettings-C687D50w.js} +31 -34
- package/dist/assets/{ProjectSharing-BEcymROT.js → ProjectSharing-C8e9oK7q.js} +16 -16
- package/dist/assets/{ProjectVariables-BYbTctFU.js → ProjectVariables-Bjvk3j7l.js} +40 -46
- package/dist/assets/{ProviderSettingsModal-COAKwlLh.js → ProviderSettingsModal-D7PL4Ovf.js} +20 -26
- package/dist/assets/{PushConnectionTracker-CY-LPI6v.js → PushConnectionTracker-BLfijnvC.js} +4 -4
- package/dist/assets/{ResolversView-CxbdIBE2.js → ResolversView-wd5fu-tV.js} +20 -24
- package/dist/assets/{ResourceFiltersDropdown-BlSZzGLj.js → ResourceFiltersDropdown-B9N5y-vt.js} +12 -12
- package/dist/assets/{ResourcesListLayout-DLAMdJD5.css → ResourcesListLayout-BhnhvHiw.css} +140 -0
- package/dist/assets/{ResourcesListLayout-Ej5Hcdb7.js → ResourcesListLayout-O9_3CxcA.js} +32 -23
- package/dist/assets/{RunData-CSkVEMJc.js → RunData-BhqFCEeO.js} +20367 -28266
- package/dist/assets/{RunData-CGWkR8tE.css → RunData-xpRgLK8S.css} +2 -2
- package/dist/assets/{RunDataHtml-CS6G8R8Z.js → RunDataHtml-BMxc-zRm.js} +5 -5
- package/dist/assets/RunDataHtml-wQh8fACG.js +5 -0
- package/dist/assets/{RunDataJson-BoMj9Y4H.js → RunDataJson-DXh-JzHh.js} +31 -31
- package/dist/assets/{RunDataJsonActions-BYw5OJyd.js → RunDataJsonActions-jMhBcnZ4.js} +19 -23
- package/dist/assets/{RunDataParsedAiContent-Cci_idnL.js → RunDataParsedAiContent-BbTgNtPy.js} +15 -16
- package/dist/assets/RunDataParsedAiContent-CcCTmhG0.js +15 -0
- package/dist/assets/{RunDataSearch-Cl17NZ8f.js → RunDataSearch-BVW7uE4N.js} +10 -14
- package/dist/assets/{RunDataTable-ldjWmEyj.js → RunDataTable-DUJIxl0f.js} +32 -36
- package/dist/assets/{SamlOnboarding-B4udEOGL.js → SamlOnboarding-CxYoa2cp.js} +14 -19
- package/dist/assets/{SelectedItemsInfo-0qmaX5TI.js → SelectedItemsInfo-CKmcAObD.js} +5 -5
- package/dist/assets/{SettingsApiView-DWWkTI8H.js → SettingsApiView-D3gPC7wS.js} +24 -27
- package/dist/assets/{SettingsChatHubView-DdY-v1Oz.js → SettingsChatHubView-Dyl6agLq.js} +18 -24
- package/dist/assets/{SettingsCommunityNodesView-Bh_N6Npj.js → SettingsCommunityNodesView-esGDUBkV.js} +38 -42
- package/dist/assets/{SettingsExternalSecrets-D1ahXEoY.js → SettingsExternalSecrets-BRP-TFnF.js} +18 -22
- package/dist/assets/{SettingsLdapView-BDKazZKJ.js → SettingsLdapView-BiLAMZMp.js} +22 -26
- package/dist/assets/{SettingsLogStreamingView-Rq7vLTVL.js → SettingsLogStreamingView-ByUHLila.js} +21 -24
- package/dist/assets/{SettingsMCPView-DKx7RcRB.js → SettingsMCPView-ByBI3gAH.js} +42 -46
- package/dist/assets/{SettingsPersonalView-5d6_p-hw.js → SettingsPersonalView-PuPbUFF4.js} +15 -19
- package/dist/assets/SettingsSidebar-DWKnhzbu.js +58 -0
- package/dist/assets/{useCommandBar-eK4Fv9lH.css → SettingsSidebar-hr5ASDKX.css} +22 -24
- package/dist/assets/{SettingsSourceControl-CTzXIqE3.js → SettingsSourceControl-e3k-B-T-.js} +19 -23
- package/dist/assets/{SettingsSso-CUrz-7l8.js → SettingsSso-ELd6d7Cd.js} +26 -29
- package/dist/assets/{SettingsUsageAndPlan-R9q7LfRv.js → SettingsUsageAndPlan-DTbcjDth.js} +20 -23
- package/dist/assets/{SettingsUsersView-DcmC9oO-.js → SettingsUsersView-CLdVPGwv.js} +50 -28
- package/dist/assets/{SetupTemplateFormStep-C0bRvmcc.js → SetupTemplateFormStep-CRd1UZx9.js} +15 -15
- package/dist/assets/{SetupView-Bpj6SVkS.js → SetupView-BWvvVJ_i.js} +14 -19
- package/dist/assets/{SetupWorkflowCredentialsButton-CZpFSpx5.js → SetupWorkflowCredentialsButton-Dh4fkO6K.js} +21 -20
- package/dist/assets/{SetupWorkflowFromTemplateView-DhK63ZNL.js → SetupWorkflowFromTemplateView-C5i9N-Xc.js} +21 -25
- package/dist/assets/{SeverityTag-4JkejesH.js → SeverityTag-CO2h99Dy.js} +6 -6
- package/dist/assets/{SigninView-D3PBF8fA.js → SigninView-BU__AvOm.js} +16 -20
- package/dist/assets/{SignoutView-DZcfsILm.js → SignoutView-BOMbF2VO.js} +10 -10
- package/dist/assets/{SignupView-D2QARHWC.js → SignupView-Cqs9OeBV.js} +27 -27
- package/dist/assets/{SkeletonAgentCard-BhJ27v2W.js → SkeletonAgentCard-BKWUxHb9.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-8x1FnXzA.js → TagsDropdown-DGbottaK.js} +9 -9
- package/dist/assets/{TemplateCard-DxKAmiWm.js → TemplateCard-XTHKCDKs.js} +9 -9
- package/dist/assets/{TemplateDetails-bBAnDzfL.js → TemplateDetails-DSp01RKG.js} +20 -20
- package/dist/assets/{TemplateList-DxQ3fBxn.js → TemplateList-rOlAyX39.js} +44 -44
- package/dist/assets/{TemplatesCollectionView-DCJk2jwq.js → TemplatesCollectionView-BVfAAgHo.js} +22 -26
- package/dist/assets/{TemplatesSearchView-Bh8wuhTx.js → TemplatesSearchView-BRZPm62G.js} +49 -53
- package/dist/assets/{TemplatesView-w-y6NvIc.js → TemplatesView-B2WxZgCT.js} +6 -6
- package/dist/assets/{TemplatesWorkflowView-eo3ddDao.js → TemplatesWorkflowView-HRwmMyaL.js} +23 -27
- package/dist/assets/{TestRunDetailView-DGEhYj5_.js → TestRunDetailView-D5RXX1zN.js} +20 -25
- package/dist/assets/{TextWithHighlights-DjzuDrgO.js → TextWithHighlights-CH5Zsswa.js} +2 -2
- package/dist/assets/{TimeAgo-0Rdm0Kiq.js → TimeAgo-i_jQQBzo.js} +4 -4
- package/dist/assets/{ToolsSelectorModal-SnNw9Jip.js → ToolsSelectorModal-Cr50cu-v.js} +20 -24
- package/dist/assets/{TriggerPanel-ChJuzrpN.js → TriggerPanel-DsPiGMWb.js} +51 -51
- package/dist/assets/{VirtualSchema-wgdUJECR.js → VirtualSchema-DUQ68BrH.js} +60 -61
- package/dist/assets/{VirtualSchema-CwutU4vj.css → VirtualSchema-pdpcVEq9.css} +1 -1
- package/dist/assets/VirtualSchema-vD1WN6xC.js +28 -0
- package/dist/assets/{VueMarkdown-BRiaIhX9.js → VueMarkdown-D0Ufjusy.js} +3 -3
- package/dist/assets/{WorkerView-DPgZMV-u.js → WorkerView-tKUhJ5Dl.js} +38 -43
- package/dist/assets/{WorkflowExecutionsInfoAccordion-tLNnztlE.js → WorkflowExecutionsInfoAccordion-hO-vNiAf.js} +7 -7
- package/dist/assets/{WorkflowExecutionsLandingPage-DzSdsRSM.js → WorkflowExecutionsLandingPage-DzrSOo1F.js} +14 -18
- package/dist/assets/{WorkflowExecutionsPreview-DcRbTjpx.js → WorkflowExecutionsPreview-CizWQG9x.js} +44 -47
- package/dist/assets/{WorkflowExecutionsView-BvQhNwyi.js → WorkflowExecutionsView-DJ27bPYq.js} +60 -62
- package/dist/assets/{WorkflowHistory-C7k0u5n4.js → WorkflowHistory-CD8N5qTi.js} +198 -197
- package/dist/assets/{WorkflowHistory-BBHdNsOb.css → WorkflowHistory-dUpsKg3Z.css} +42 -75
- package/dist/assets/{WorkflowLocation-DU_oqOxw.js → WorkflowLocation-ChaEWxVS.js} +18 -18
- package/dist/assets/{WorkflowOnboardingView-DsT28Lna.js → WorkflowOnboardingView-COBDyXiZ.js} +10 -10
- package/dist/assets/{WorkflowPreview-Cv_yCx4J.js → WorkflowPreview-pbJ_UfWP.js} +9 -9
- package/dist/assets/{WorkflowTagsDropdown-BHpackqb.js → WorkflowTagsDropdown-C0g5t367.js} +6 -6
- package/dist/assets/{WorkflowsView-C-PD10oe.css → WorkflowsView-0_qNZeIx.css} +32 -42
- package/dist/assets/{WorkflowsView-CA_-v3jL.js → WorkflowsView-mroD5hze.js} +128 -239
- package/dist/assets/{_MapCache-ficiegRb.js → _MapCache-DkLivSSb.js} +46 -38
- package/dist/assets/{_baseOrderBy-UJkFlXQy.js → _baseOrderBy-DvuuRU7J.js} +8 -13
- package/dist/assets/{_initCloneObject-C3audwCb.js → _initCloneObject-DiO9tORE.js} +2 -2
- package/dist/assets/{aiTemplatesStarterCollection.store-BuNUUCwa.js → aiTemplatesStarterCollection.store-DUkMK-jk.js} +6 -6
- package/dist/assets/{apiKeys.store-DpzwcWGM.js → apiKeys.store-C0NHEBJ6.js} +4 -4
- package/dist/assets/{assistant.store-CiyiixCh.js → assistant.store-2i2uoZtV.js} +8 -8
- package/dist/assets/{auth.eventBus-B77G38R7.js → auth.eventBus-Ce2KL2L4.js} +1 -1
- package/dist/assets/{banners.store-D47aZI1r.js → banners.store-CxccIpTM.js} +7 -7
- package/dist/assets/{buttons.esm-CT4flsfB.js → buttons.esm-DHCtg4os.js} +0 -5
- package/dist/assets/canvas.utils-Dv0fD5Il.js +138 -0
- package/dist/assets/{chart-CE3HWIkr.js → chart-BpBZvUkM.js} +0 -6
- package/dist/assets/{chartjs.utils-CeXvwL6J.js → chartjs.utils-B8F_iMP1.js} +5 -5
- package/dist/assets/{chat.store-D1BqW7ao.js → chat.store-Crdaw-Cp.js} +34 -29
- package/dist/assets/{chatPanel.store-ChAzL_xE.js → chatPanel.store-oWfjNSnl.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-BbSwTk_d.js +287 -0
- package/dist/assets/{constants-DLTaaipl.js → constants-Bgby4me8.js} +12 -3
- package/dist/assets/{constants-DRIItkNt.js → constants-D48cSFnx.js} +921 -931
- package/dist/assets/core-CKLPLCBJ.js +4 -0
- package/dist/assets/{core-6W4wWNc1.js → core-DDiavqSm.js} +1 -1
- package/dist/assets/{dataTable.store-CkhtfeY0.js → dataTable.store-_wAVMcbO.js} +4 -4
- package/dist/assets/{date-picker-DsgFTiIp.js → date-picker-CutzRF4i.js} +13 -4
- package/dist/assets/{dateFormatter-DDfPHI9I.js → dateFormatter-BiQ9pMrA.js} +4 -4
- package/dist/assets/{dateformat-CM9k0--B.js → dateformat-BeHi9sF4.js} +2 -1
- package/dist/assets/{dialog-O4ZP7Mjj.js → dialog-D6bnhGrj.js} +4 -4
- package/dist/assets/{dist-DP_8je0B.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-DlTgUi2w.js → es-347rbIb-.js} +2 -2
- package/dist/assets/{evaluation.constants-DbxnAcTc.js → evaluation.constants-CSD02Lo1.js} +12 -15
- package/dist/assets/{executions.store-a5l7sYPn.js → executions.store-SHgwsnWe.js} +4 -4
- package/dist/assets/{exports-hpMZaOPT.js → exports-DwuuoPh-.js} +1 -3
- package/dist/assets/{externalSecrets.ee.store-HP2ldANj.js → externalSecrets.ee.store-Zyuqq2w2.js} +4 -4
- package/dist/assets/{folders.store-j6Xz9xvI.js → folders.store-D8rP_Hdz.js} +4 -4
- package/dist/assets/{index-B2rFJ2JV.js → index-BYX1_H81.js} +4327 -1865
- package/dist/assets/{index-U6fZiFvz.css → index-BhFfa3xu.css} +3083 -2437
- package/dist/assets/{insights.constants-C8GITe6H.js → insights.constants-98xWnZQu.js} +3 -3
- package/dist/assets/{insights.store-EBGeDNzp.js → insights.store-BtoZsG-U.js} +7 -7
- package/dist/assets/{insights.utils-B7OXsqrQ.js → insights.utils-B0txVt0Q.js} +6 -6
- package/dist/assets/{languageModules-D_uyjb6R.js → languageModules-DyQaii5v.js} +1 -1
- package/dist/assets/{logStreaming.store-C8IxWNZB.js → logStreaming.store-7BkB5s2r.js} +3 -3
- package/dist/assets/{mcp.store-BLq1CDNz.js → mcp.store-G7xff9jI.js} +4 -4
- package/dist/assets/{merge-k8vSyyXH.js → merge-B0-p153C.js} +2 -2
- package/dist/assets/{nodeCreator.store-DTc1zzIQ.js → nodeCreator.store-Dl91ajnd.js} +1932 -2216
- package/dist/assets/{nodeIcon-BWuZ9Qxh.js → nodeIcon-CUi9_d-e.js} +3 -3
- package/dist/assets/{nodeTransforms-A9ckRbW1.js → nodeTransforms-D71MPFbn.js} +2 -2
- package/dist/assets/{orderBy-BCjtsqzS.js → orderBy-zIIUzfE0.js} +3 -3
- package/dist/assets/{personalizedTemplatesV3.store-DBi4yorm.js → personalizedTemplatesV3.store-CwD8voN0.js} +4 -4
- package/dist/assets/{pickBy-1X5wiyPT.js → pickBy-BpQ_nS0j.js} +3 -3
- package/dist/assets/pushConnection.store-DEMBEciq.js +496 -0
- package/dist/assets/{radio-BeejvdFG.js → radio-I_Y35sEo.js} +2 -2
- package/dist/assets/{readyToRun.store-DfU30_Nq.js → readyToRun.store-D7MVH-Yc.js} +17 -8
- package/dist/assets/{readyToRunWorkflows.store-DgUOIs41.js → readyToRunWorkflows.store-CTCJvvBk.js} +6 -6
- package/dist/assets/{roles.store-W8yXuo53.js → roles.store-eBIJuaNR.js} +4 -4
- package/dist/assets/{router-RpMr830s.js → router-zEaOc-tq.js} +316 -304
- package/dist/assets/{sanitize-html-fRP2gWb9.js → sanitize-html-DeDnsMgc.js} +17 -18
- package/dist/assets/{semver-mGRAx708.js → semver-Bz8_abNa.js} +6 -8
- package/dist/assets/{sourceControl.eventBus-Bry8gLG7.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-XLGanEOK.js → src-DpZSuyLC.js} +5805 -2547
- package/dist/assets/{sso.store-B7JPsojt.js → sso.store-9EWHvrSy.js} +3 -3
- package/dist/assets/{table-Dl2CV3mu.js → table-C3aerURh.js} +5 -5
- package/dist/assets/{templateActions-CjSRb54_.js → templateActions-qowBM3Zz.js} +5 -5
- package/dist/assets/{templateTransforms-Cr1Vxjyo.js → templateTransforms-CU4zdmOp.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-7DVTEzLA.js → usage.store-BDZxETBd.js} +3 -3
- package/dist/assets/{useActions-BVMLDnB7.js → useActions-BItklJWS.js} +5 -5
- package/dist/assets/useBugReporting-Bi1700UJ.js +130 -0
- package/dist/assets/useCalloutHelpers-DSFmB8y4.js +80 -0
- package/dist/assets/{useCanvasOperations-DmDkQZsZ.js → useCanvasOperations-DVIzBTSq.js} +36 -32
- package/dist/assets/{useClipboard-DAKz3pSk.js → useClipboard-CTTDlv6b.js} +3 -3
- package/dist/assets/{useCredentialResolvers-Bib-mabw.js → useCredentialResolvers-0jZuH4WO.js} +5 -5
- package/dist/assets/useCustomAgent-CjjqdMoN.js +630 -0
- package/dist/assets/{useCustomAgent-tUoLIUar.css → useCustomAgent-D8Sw5vcC.css} +32 -9
- package/dist/assets/{useDebounce-Bnb8W2LR.js → useDebounce-C4ttil9E.js} +12 -12
- package/dist/assets/{useExecutionData-DWNDlbxK.js → useExecutionData-BLsmVbDx.js} +2 -2
- package/dist/assets/{useExecutionDebugging-C3LhPoKB.js → useExecutionDebugging-unzyZJSo.js} +7 -7
- package/dist/assets/{useExecutionHelpers-ZH8Lpu7H.js → useExecutionHelpers-VADBx6Yx.js} +5 -5
- package/dist/assets/useGlobalEntityCreation-5MrJOTFc.js +192 -0
- package/dist/assets/{useImportCurlCommand-UjbNISl9.js → useImportCurlCommand-I3o_giV2.js} +41 -37
- package/dist/assets/{useIntersectionObserver-DXKoRNFj.js → useIntersectionObserver-CGg561I6.js} +1 -1
- package/dist/assets/{useKeybindings-DDEBPDlo.js → useKeybindings-CKjI_jnI.js} +5 -5
- package/dist/assets/{useLogsTreeExpand-DBG-3__y.js → useLogsTreeExpand-BfExNgUz.js} +41 -41
- package/dist/assets/{useMcp-zjwReQ-Q.js → useMcp-BL9EJIG9.js} +2 -2
- package/dist/assets/{usePageRedirectionHelper-w7WYnki8.js → usePageRedirectionHelper--cm71zDE.js} +3 -3
- package/dist/assets/{usePinnedData-FgnIiWSJ.js → usePinnedData-D1DKG6vB.js} +6 -6
- package/dist/assets/{usePushConnection-DL83_AN-.js → usePushConnection-DbVAGHmZ.js} +12 -16
- package/dist/assets/{useRunWorkflow-DfbxLgl-.js → useRunWorkflow-CBEpMo-i.js} +106 -486
- package/dist/assets/{useSettingsItems-CNv2tIdk.js → useSettingsItems-DDLH7vvJ.js} +5 -5
- package/dist/assets/{useTelemetryContext-B3sCbxNK.js → useTelemetryContext-s869bjx6.js} +4 -4
- package/dist/assets/{useWorkflowsCache-BG2C8qik.js → useWorkflowsCache-Cwc7AaSS.js} +2 -2
- package/dist/assets/{userRoleProvisioning.store-6aoaalkv.js → userRoleProvisioning.store-r3gAhXvj.js} +3 -3
- package/dist/assets/{builder.store-D6GyopzN.js → users.store-Dh2O3NbU.js} +22801 -23949
- package/dist/assets/utils-5SA0VwN3.js +133 -0
- package/dist/assets/{versions.store-a3DCEQMP.js → versions.store-BIW6cbdc.js} +4 -4
- package/dist/assets/{vue-Dg_43WEg.js → vue-atn33zIp.js} +255 -213
- package/dist/assets/{vue-json-pretty-DGKuDe33.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 -120
- package/package.json +1 -1
- package/tsconfig.json +1 -1
- package/dist/assets/AnimatedSpinner-wiGFgffA.js +0 -15
- package/dist/assets/BottomMenu-CRVyIu-B.css +0 -474
- package/dist/assets/ChatAgentAvatar-DAg-f4vg.js +0 -67
- package/dist/assets/CollectionParameter-Y2KojQS6.js +0 -50
- package/dist/assets/DemoFooter-CySiu1O2.js +0 -63
- package/dist/assets/FixedCollectionParameter-B__avC2s.js +0 -494
- package/dist/assets/FixedCollectionParameter-DT3ELzS9.css +0 -202
- package/dist/assets/ItemsRenderer-B8E9eO9o.js +0 -922
- package/dist/assets/LogsPanel-Cei4fiyW.js +0 -50
- package/dist/assets/NodeCreator-OSIpRI6S.css +0 -1649
- package/dist/assets/PageViewLayout-BHSzOio1.js +0 -12
- package/dist/assets/PrebuiltAgentTemplatesView-C274fvLb.js +0 -152
- package/dist/assets/PrebuiltAgentTemplatesView-jF7HvWnL.css +0 -166
- package/dist/assets/RunDataHtml-CX8Hqg6s.js +0 -7
- package/dist/assets/RunDataParsedAiContent-C3de0i2J.js +0 -24
- package/dist/assets/SaveButton-DGuEjyOq.js +0 -89
- package/dist/assets/SettingsView-Clf40hKH.js +0 -88
- package/dist/assets/VirtualSchema-zUWStOer.js +0 -34
- package/dist/assets/WorkflowActivationErrorMessage-v37Lr_Ej.js +0 -17
- package/dist/assets/WorkflowActivator-BGcCOUCH.css +0 -391
- package/dist/assets/WorkflowActivator-DW5QJWKR.js +0 -362
- package/dist/assets/core-BbiIkN91.js +0 -4
- package/dist/assets/empty-DUjwPfU3.js +0 -2125
- package/dist/assets/en-DyO2pPiC.js +0 -2
- package/dist/assets/path-browserify-CJwRhuT8.js +0 -328
- package/dist/assets/schemaPreview.store-ngPsbwff.js +0 -113
- package/dist/assets/uniqBy-BInks7VO.js +0 -10
- package/dist/assets/useBeforeUnload-BNDKBmDK.js +0 -40
- package/dist/assets/useCommandBar-Ddao4vJv.js +0 -2425
- package/dist/assets/useCustomAgent-DA57piBT.js +0 -471
- package/dist/assets/useRecentResources-D-zHnbqB.js +0 -118
- package/dist/assets/useWorkflowActivate-Ct_BovMQ.js +0 -152
- package/dist/assets/utils-C2GPI2gK.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-D_SiS8no.js → fileUtils-C-Bxka0b.js} +0 -0
- /package/dist/assets/{mcp.constants-DQPD3Ntp.js → mcp.constants-Djm5lWYR.js} +0 -0
- /package/dist/assets/{preload-helper-CR0ecmWK.js → preload-helper-D8n1yiy9.js} +0 -0
- /package/dist/assets/{retry-dP46utx2.js → retry-BLsJRFf0.js} +0 -0
- /package/dist/assets/{smartDecimal-DK6-_VSq.js → smartDecimal-D3Shg2YQ.js} +0 -0
- /package/dist/assets/{sortByProperty-CV1aCzkS.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-B6veOr9z.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-Dh2O3NbU.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-D48cSFnx.js";
|
|
7
|
+
import { f as request, k as defineStore, r as useRootStore } from "./_baseOrderBy-DvuuRU7J.js";
|
|
8
|
+
import { t as useExecutionsStore } from "./executions.store-SHgwsnWe.js";
|
|
9
|
+
import { t as useCanvasOperations } from "./useCanvasOperations-DVIzBTSq.js";
|
|
10
|
+
import { t as usePushConnectionStore } from "./pushConnection.store-DEMBEciq.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-Dh2O3NbU.js";
|
|
5
|
+
import { zo as VIEWS } from "./constants-D48cSFnx.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-D48cSFnx.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
|
});
|