n8n-editor-ui 1.106.3 → 1.107.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/dist/assets/AddDataStoreModal-D3j8deoq.css +133 -0
- package/dist/assets/AddDataStoreModal-DnuHX1S2.js +108 -0
- package/dist/assets/{AnimatedSpinner-D3ljAc96.js → AnimatedSpinner-6v6irDSW.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BnwFrfgh.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-ozlwYXWj.js} +1 -1
- package/dist/assets/{AuthView-Ku2373Sr.js → AuthView-BJQzJmO7.js} +9 -9
- package/dist/assets/{AuthView-DZB9HITQ.css → AuthView-CWVio_MZ.css} +9 -9
- package/dist/assets/{ChangePasswordView-Skwn2QGk.js → ChangePasswordView-AJr06gB_.js} +3 -3
- package/dist/assets/CollectionParameter-78DalTOi.js +4 -0
- package/dist/assets/{ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-BNkO3XxQ.js → ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-BW0CieDo.js} +1 -1
- package/dist/assets/{CredentialsView-C6V_m3u-.js → CredentialsView-CXub2k-f.js} +8 -8
- package/dist/assets/{DataStoreView-5Dr8wZrK.js → DataStoreView-CM5VvI7D.js} +150 -71
- package/dist/assets/{DataStoreView-bZrewhaR.css → DataStoreView-D-Wmcgs5.css} +15 -10
- package/dist/assets/{DemoFooter-Dp-EiWsO.js → DemoFooter-B3t7CS9X.js} +6 -6
- package/dist/assets/{EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-BO3rV-x9.js → EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-xgH7GJvn.js} +1 -1
- package/dist/assets/{EntityNotFound-O4ORqb15.js → EntityNotFound-C3W-Gouk.js} +3 -6
- package/dist/assets/{EntityNotFound-CBu7H3J_.css → EntityNotFound-DvXhVSfv.css} +2 -2
- package/dist/assets/{EntityUnAuthorised-DDEfWc5w.js → EntityUnAuthorised-Du_1dCDH.js} +1 -1
- package/dist/assets/{ErrorView-DQ0b3uWF.js → ErrorView-B4s983XH.js} +1 -1
- package/dist/assets/{EvaluationsRootView-BalOBb-M.js → EvaluationsRootView-2xzNr5pT.js} +19 -5
- package/dist/assets/{EvaluationsView-Dl30Shle.js → EvaluationsView-CWy0SffW.js} +3 -3
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-dShXDoGB.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-DBWrBSV7.js} +2 -2
- package/dist/assets/{ExecutionsView-B5Jh1Slf.js → ExecutionsView-DUoLBkxb.js} +8 -8
- package/dist/assets/{FixedCollectionParameter-CEzpjeQZ.css → FixedCollectionParameter-DTkvAml6.css} +18 -18
- package/dist/assets/{FixedCollectionParameter-4ZwUaGbi.js → FixedCollectionParameter-xSZHY6A2.js} +4 -3
- package/dist/assets/{ForgotMyPasswordView-DynIpDPH.js → ForgotMyPasswordView-DgKin1FL.js} +3 -3
- package/dist/assets/{InfoAccordion-MlURVMcX.js → InfoAccordion-BoIzf-yz.js} +1 -1
- package/dist/assets/{InsightsChartAverageRuntime-BgEppbrD.js → InsightsChartAverageRuntime-CWGu6ocC.js} +4 -4
- package/dist/assets/{InsightsChartFailed-B9pKFsLn.js → InsightsChartFailed-BBlIfrXu.js} +4 -4
- package/dist/assets/{InsightsChartFailureRate-BWblqNp_.js → InsightsChartFailureRate-CXhB2MIz.js} +4 -4
- package/dist/assets/{InsightsChartTimeSaved-Bsjt89_E.js → InsightsChartTimeSaved-C7d5mIdl.js} +4 -4
- package/dist/assets/{InsightsChartTotal-D9mguvTz.js → InsightsChartTotal-DBS3cVYs.js} +4 -4
- package/dist/assets/{InsightsDashboard-BFQzAJ30.js → InsightsDashboard-D2CF6m01.js} +10 -10
- package/dist/assets/{InsightsPaywall-ol8lMMqv.js → InsightsPaywall-CWEHpnSN.js} +1 -1
- package/dist/assets/{InsightsSummary-DuEa77Gq.js → InsightsSummary-7514XMdb.js} +1 -1
- package/dist/assets/{InsightsTableWorkflows-CKfAgykg.js → InsightsTableWorkflows-CQZmCGc2.js} +4 -4
- package/dist/assets/{Logo-BOrUbRLm.js → Logo-CtGKRONY.js} +7 -7
- package/dist/assets/{Logo-DLBj1gMw.css → Logo-DaegEk2m.css} +9 -9
- package/dist/assets/{LogsPanel-lijAjBs3.js → LogsPanel-CIAt3lTg.js} +8 -10
- package/dist/assets/{MainHeader-qSHM1Rvp.css → MainHeader-C7eM_NQZ.css} +203 -115
- package/dist/assets/{MainHeader-CnzavsYg.js → MainHeader-DmIxSulT.js} +435 -66
- package/dist/assets/{MainSidebar-YKfo6G0t.js → MainSidebar-IXI0NYYP.js} +2 -2
- package/dist/assets/{NodeCreation-DfOnzJmi.js → NodeCreation-DqXKrY6w.js} +3 -3
- package/dist/assets/{NodeCreator-NztmH4n_.js → NodeCreator-CI6mRPpP.js} +104 -45
- package/dist/assets/{NodeCreator-Cb92WDsx.css → NodeCreator-COgNP4W1.css} +39 -31
- package/dist/assets/{NodeDetailsView-DzhT36su.js → NodeDetailsView-BLAGih5E.js} +27 -27
- package/dist/assets/{NodeDetailsView-Cam4nPwL.css → NodeDetailsView-CjdovDgq.css} +16 -16
- package/dist/assets/{NodeDetailsViewV2-LzYZcnv5.css → NodeDetailsViewV2-Bn1PbAPe.css} +18 -22
- package/dist/assets/{NodeDetailsViewV2-CVLb9jZL.js → NodeDetailsViewV2-zTI7VLUX.js} +28 -28
- package/dist/assets/{NodeView-CFpi2pKv.js → NodeView-CFuNDv8s.js} +118 -76
- package/dist/assets/{NodeView-BMiOpmk4.css → NodeView-CiaJbQtZ.css} +12 -9
- package/dist/assets/{ProjectHeader-C_V4cUfD.js → ProjectHeader-CIqf2gpl.js} +20 -3
- package/dist/assets/{ProjectSettings-wxEj0vl7.js → ProjectSettings-DGaIUK8h.js} +3 -3
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-DtD6uMAu.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-C3fRIVZH.js} +1 -1
- package/dist/assets/{ResourcesListLayout-6eIqe4Ld.css → ResourcesListLayout-C1JgyGhX.css} +24 -24
- package/dist/assets/{ResourcesListLayout-M_mVBaMn.js → ResourcesListLayout-DM01TqXK.js} +12 -12
- package/dist/assets/{RunDataJson-C6fe3tyE.js → RunDataJson-7m3wHhLP.js} +3 -3
- package/dist/assets/{RunDataJsonActions-Bf40hCdJ.js → RunDataJsonActions-CCs-K7u-.js} +1 -1
- package/dist/assets/{RunDataParsedAiContent-DNxDdAFA.js → RunDataParsedAiContent-qSEryFRl.js} +2 -2
- package/dist/assets/{RunDataSearch-BOHOVGZo.js → RunDataSearch-Cn2iAGkx.js} +1 -1
- package/dist/assets/{RunDataTable-Covbkrbq.js → RunDataTable-CqcDdqpf.js} +1 -1
- package/dist/assets/{SamlOnboarding-DuS7thyH.js → SamlOnboarding-CExc8LrJ.js} +3 -3
- package/dist/assets/{SettingsApiView-DiTe65f0.js → SettingsApiView-CyzaLF2j.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-CyJ8VH0M.js → SettingsCommunityNodesView-Ci1jidLI.js} +4 -4
- package/dist/assets/{SettingsExternalSecrets-DkwQSOWE.js → SettingsExternalSecrets-JWxQMJpD.js} +1 -1
- package/dist/assets/{SettingsLdapView-BqkJjxxG.js → SettingsLdapView-BjZFbcTn.js} +8 -8
- package/dist/assets/{SettingsLdapView-Bx1eqk76.css → SettingsLdapView-D0SUO3ai.css} +10 -10
- package/dist/assets/{SettingsLogStreamingView-kquIKMzZ.js → SettingsLogStreamingView-DvWmdSgA.js} +1 -1
- package/dist/assets/{SettingsPersonalView-_PA-j_XK.js → SettingsPersonalView-DqrkCtlS.js} +1 -1
- package/dist/assets/{SettingsSourceControl-jkTTsdtR.js → SettingsSourceControl-N9lSG0gK.js} +1 -1
- package/dist/assets/{SettingsSso-DAdOHMeU.js → SettingsSso-lzPmnXZl.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-BBp6XwhR.js → SettingsUsageAndPlan-BF2mv_rX.js} +2 -2
- package/dist/assets/{SettingsUsageAndPlan-ZZQpCmyQ.css → SettingsUsageAndPlan-_VxSs28G.css} +3 -3
- package/dist/assets/{SettingsUsersView-RQTdLxyb.css → SettingsUsersView-BG7JdfYz.css} +9 -9
- package/dist/assets/{SettingsUsersView-CiqFBEDz.js → SettingsUsersView-TueQ1ATe.js} +9 -9
- package/dist/assets/{SettingsView-U8wVTFLp.js → SettingsView-TKZutR1C.js} +1 -1
- package/dist/assets/{SetupView-DKS_9Pmw.js → SetupView-DAFe0s88.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-DrvkXjx2.js → SetupWorkflowCredentialsButton-D_e5xPYq.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-CuVhbPBO.js → SetupWorkflowFromTemplateView-C40rZsY1.js} +3 -3
- package/dist/assets/{SigninView-CnPzFRL5.js → SigninView-rw-BhvFO.js} +3 -3
- package/dist/assets/{SignoutView-BOpZmdFV.js → SignoutView-hmcLIumg.js} +1 -1
- package/dist/assets/{SignupView-CRnkvPuS.js → SignupView-B8utUMjA.js} +3 -3
- package/dist/assets/{TableBase-DIje27Wa.js → TableBase-Dg9jrpSs.js} +1 -1
- package/dist/assets/{Tags-B0bIUnzf.css → Tag-Cg-Hqs2H.css} +0 -141
- package/dist/assets/Tag-DBkUcYd_.js +32 -0
- package/dist/assets/{Tags-BjFupN4S.js → Tags-BABZPMfc.js} +6 -33
- package/dist/assets/Tags-CCemj7t9.css +142 -0
- package/dist/assets/{TemplateDetails-mqzPHlzS.js → TemplateDetails-DY7lPygm.js} +3 -10
- package/dist/assets/{TemplateList-Cjo0X1gf.js → TemplateList-UnYTakQQ.js} +8 -8
- package/dist/assets/{TemplateList-DcOqRM10.css → TemplateList-XNW-2Ugr.css} +8 -8
- package/dist/assets/{TemplatesCollectionView-CdqalUWl.js → TemplatesCollectionView-DTVw3VF0.js} +7 -6
- package/dist/assets/{TemplatesSearchView-hZVsLLXI.js → TemplatesSearchView-DolE_9AA.js} +3 -3
- package/dist/assets/{TemplatesView-D8AaaysW.js → TemplatesView-CwNytFHx.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-Df38vzRS.js → TemplatesWorkflowView-iSKd7uht.js} +7 -6
- package/dist/assets/{TriggerPanel-CRLzika6.js → TriggerPanel-BTLbaSMz.js} +34 -29
- package/dist/assets/{TriggerPanel-gMtmEr6n.css → TriggerPanel-DmVMaaLr.css} +25 -45
- package/dist/assets/{VariablesView-BLr_Gtfp.js → VariablesView-Dk54OZ1f.js} +5 -5
- package/dist/assets/{WorkerView-B5OYF2l5.js → WorkerView-CwuTFYrO.js} +6 -6
- package/dist/assets/{WorkflowActivator-DhLX6i1H.css → WorkflowActivator-22RW64G2.css} +3 -4
- package/dist/assets/{WorkflowActivator-D35S71ij.js → WorkflowActivator-DH6Riyap.js} +4 -4
- package/dist/assets/{WorkflowExecutionsInfoAccordion-Cx845yD1.js → WorkflowExecutionsInfoAccordion-CP2uh-PB.js} +2 -2
- package/dist/assets/{WorkflowExecutionsLandingPage-BcJAFFID.js → WorkflowExecutionsLandingPage-BoIaBPDG.js} +3 -3
- package/dist/assets/{WorkflowExecutionsPreview-BVpVifuf.js → WorkflowExecutionsPreview-C11ZxZ-4.js} +4 -4
- package/dist/assets/{WorkflowExecutionsView-bww_ZIUE.js → WorkflowExecutionsView-5rikocSa.js} +7 -6
- package/dist/assets/{WorkflowHistory-B9p3ubCQ.js → WorkflowHistory-Cph_B-2a.js} +2 -2
- package/dist/assets/{WorkflowOnboardingView-CK3btKpS.js → WorkflowOnboardingView-CTo8mbw7.js} +1 -1
- package/dist/assets/{WorkflowPreview-BICG36-Y.js → WorkflowPreview-fJy3X_xW.js} +1 -1
- package/dist/assets/{WorkflowsView-DsJIOJ7h.css → WorkflowsView-eYGsq80b.css} +267 -0
- package/dist/assets/{WorkflowsView-DQBqlF0o.js → WorkflowsView-mdIBSRa_.js} +201 -48
- package/dist/assets/{canvas-BAegJxph.js → canvas-DenCY4AJ.js} +1 -1
- package/dist/assets/{chartjs.utils-BW1BHqON.js → chartjs.utils-BlhTVSE9.js} +2 -2
- package/dist/assets/{VueMarkdown-BXoAxQ2V.js → core-lMJc92pa.js} +26 -26
- package/dist/assets/dataStore.store-CDiWuK8E.js +98 -0
- package/dist/assets/{en-ORjqW56z.js → en-B7EAgfR5.js} +50 -2
- package/dist/assets/{global-link-actions-BLMbNlby.js → global-link-actions-D18bp17X.js} +1 -1
- package/dist/assets/{index-B09aakje.css → index-BFyMw9-0.css} +8121 -7775
- package/dist/assets/{index-BpQz0FGO.js → index-Cpz83ovC.js} +1 -1
- package/dist/assets/{index-DJu2gb_4.js → index-CxleUtlq.js} +57377 -55708
- package/dist/assets/{pickBy-9DlC43KL.js → pickBy-D7GSyF5E.js} +1 -1
- package/dist/assets/{readyToRunWorkflows.store-bkk9BfbV.js → readyToRunWorkflows.store-Dz_KLa8_.js} +3 -3
- package/dist/assets/{templateActions-DWPclqQi.js → templateActions-xbNJmRy6.js} +1 -1
- package/dist/assets/{typescript.worker-KwUz68Jx.js → typescript.worker-ku8s_Oaf.js} +8407 -7241
- package/dist/assets/{useBeforeUnload-hEveYtYY.js → useBeforeUnload-D0WL7mpb.js} +1 -1
- package/dist/assets/{useExecutionDebugging-D0j03ZAv.js → useExecutionDebugging-Bd_2vpLq.js} +4 -4
- package/dist/assets/{useImportCurlCommand-BKQ4XONK.js → useImportCurlCommand-Cyf8dlDO.js} +1 -1
- package/dist/assets/{useProjectPages-CFEdc5ap.js → useProjectPages-BpsdwyKW.js} +1 -1
- package/dist/assets/{usePushConnection-g2LnZI3X.js → usePushConnection-BaTxjUZd.js} +18 -18
- package/dist/assets/{useWorkflowActivate-G9wdzjX4.js → useWorkflowActivate-DrpskU4R.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/stylelint.config.mjs +3 -0
- package/dist/assets/CollectionParameter-BAZmSBB4.js +0 -4
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
-------------------------- */
|
|
302
302
|
/* BEM
|
|
303
303
|
-------------------------- */
|
|
304
|
-
.
|
|
304
|
+
._backdrop_2bzlu_123 {
|
|
305
305
|
position: absolute;
|
|
306
306
|
z-index: var(--z-index-ndv);
|
|
307
307
|
top: 0;
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
bottom: 0;
|
|
311
311
|
background-color: var(--color-ndv-overlay-background);
|
|
312
312
|
}
|
|
313
|
-
.
|
|
313
|
+
._dialog_2bzlu_133 {
|
|
314
314
|
position: absolute;
|
|
315
315
|
z-index: var(--z-index-ndv);
|
|
316
316
|
width: calc(100% - var(--spacing-2xl));
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
margin: 0;
|
|
324
324
|
display: flex;
|
|
325
325
|
}
|
|
326
|
-
.
|
|
326
|
+
._container_2bzlu_147 {
|
|
327
327
|
display: flex;
|
|
328
328
|
flex-direction: column;
|
|
329
329
|
flex-grow: 1;
|
|
@@ -333,48 +333,44 @@
|
|
|
333
333
|
color: var(--color-text-base);
|
|
334
334
|
min-width: 0;
|
|
335
335
|
}
|
|
336
|
-
.
|
|
337
|
-
width:
|
|
336
|
+
._main_2bzlu_158 {
|
|
337
|
+
width: 100%;
|
|
338
338
|
flex-grow: 1;
|
|
339
339
|
display: flex;
|
|
340
340
|
align-items: stretch;
|
|
341
|
+
height: 100%;
|
|
342
|
+
min-height: 0;
|
|
343
|
+
position: relative;
|
|
341
344
|
}
|
|
342
|
-
.
|
|
345
|
+
._column_2bzlu_168 {
|
|
343
346
|
min-width: 0;
|
|
344
347
|
}
|
|
345
|
-
.
|
|
348
|
+
._column_2bzlu_168 + ._column_2bzlu_168 {
|
|
346
349
|
border-left: var(--border-base);
|
|
347
350
|
}
|
|
348
|
-
.
|
|
351
|
+
._column_2bzlu_168:first-child > div {
|
|
349
352
|
border-bottom-left-radius: var(--border-radius-large);
|
|
350
353
|
}
|
|
351
|
-
.
|
|
354
|
+
._column_2bzlu_168:last-child {
|
|
352
355
|
border-bottom-right-radius: var(--border-radius-large);
|
|
353
356
|
}
|
|
354
|
-
.
|
|
355
|
-
.
|
|
357
|
+
._input_2bzlu_181,
|
|
358
|
+
._output_2bzlu_182 {
|
|
356
359
|
min-width: 280px;
|
|
357
360
|
}
|
|
358
|
-
.
|
|
361
|
+
._dataColumn_2bzlu_186 {
|
|
359
362
|
overflow-x: auto;
|
|
360
363
|
}
|
|
361
|
-
.
|
|
364
|
+
._header_2bzlu_190 {
|
|
362
365
|
border-bottom: var(--border-base);
|
|
363
366
|
border-top-left-radius: var(--border-radius-large);
|
|
364
367
|
border-top-right-radius: var(--border-radius-large);
|
|
365
368
|
}
|
|
366
|
-
.
|
|
367
|
-
display: flex;
|
|
368
|
-
width: 100%;
|
|
369
|
-
height: 100%;
|
|
370
|
-
min-height: 0;
|
|
371
|
-
position: relative;
|
|
372
|
-
}
|
|
373
|
-
._settings_vt26y_201 {
|
|
369
|
+
._settings_2bzlu_196 {
|
|
374
370
|
overflow: hidden;
|
|
375
371
|
flex-grow: 1;
|
|
376
372
|
}
|
|
377
|
-
.
|
|
373
|
+
._draggable_2bzlu_201 {
|
|
378
374
|
--draggable-height: 22px;
|
|
379
375
|
position: absolute;
|
|
380
376
|
top: calc(-1 * var(--draggable-height));
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { d as defineComponent, x as computed, c as useI18n, h as createElementBlock, g as openBlock, j as createBaseVNode, i as createVNode, n as normalizeClass, e as createBlock, f as createCommentVNode,
|
|
2
|
-
import { _ as __unplugin_components_0, T as TriggerPanel, O as OutputPanel } from "./TriggerPanel-
|
|
3
|
-
import { u as useWorkflowActivate } from "./useWorkflowActivate-
|
|
4
|
-
import "./RunDataParsedAiContent-
|
|
5
|
-
import "./
|
|
6
|
-
import "./ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import "./NodeView-
|
|
8
|
-
import "./global-link-actions-
|
|
9
|
-
import "./useExecutionDebugging-
|
|
10
|
-
import "./useBeforeUnload-
|
|
11
|
-
import "./canvas-
|
|
12
|
-
import "./readyToRunWorkflows.store-
|
|
13
|
-
import "./InfoAccordion-
|
|
1
|
+
import { d as defineComponent, x as computed, c as useI18n, h as createElementBlock, g as openBlock, j as createBaseVNode, i as createVNode, n as normalizeClass, e as createBlock, f as createCommentVNode, c0 as NodeIcon, aI as InlineRename, l as unref, C as N8nLink, w as withCtx, p as N8nText, k as createTextVNode, t as toDisplayString, N as N8nIcon, a4 as N8nTooltip, a5 as _sfc_main$3, _ as _export_sfc, r as ref, hr as LOCAL_STORAGE_NDV_PANEL_WIDTH, hs as toValue, gd as useElementSize, af as watch, c3 as toRef, dk as jsonParse, g9 as Draggable, ht as FontAwesomeIcon, a_ as useNDVStore, bQ as useNodeHelpers, er as storeToRefs, bO as usePinnedData, ah as useNodeTypesStore, Z as useUIStore, a9 as useWorkflowsStore, cJ as useDeviceSupport, cm as useStyles, aH as useTemplateRef, hu as useNodeDocsUrl, h6 as getNodeOutputs, bD as NodeConnectionTypes, bV as START_NODE_TYPE, h7 as EXECUTABLE_TRIGGER_NODE_TYPES, b2 as STICKY_NODE_TYPE, cz as useKeybindings, o as onMounted, h9 as dataPinningEventBus, P as onBeforeUnmount, U as normalizeStyle, hv as getNodeIconSource, hb as InputPanel, ha as NodeSettings, W as createEventBus, cl as N8nResizeWrapper, hc as APP_MODALS_ELEMENT_ID, hw as Teleport, ap as useTelemetry, aq as useMessage, ar as MODAL_CONFIRM, br as useExternalHooks } from "./index-CxleUtlq.js";
|
|
2
|
+
import { _ as __unplugin_components_0, T as TriggerPanel, O as OutputPanel } from "./TriggerPanel-BTLbaSMz.js";
|
|
3
|
+
import { u as useWorkflowActivate } from "./useWorkflowActivate-DrpskU4R.js";
|
|
4
|
+
import "./RunDataParsedAiContent-qSEryFRl.js";
|
|
5
|
+
import "./core-lMJc92pa.js";
|
|
6
|
+
import "./ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-BW0CieDo.js";
|
|
7
|
+
import "./NodeView-CFuNDv8s.js";
|
|
8
|
+
import "./global-link-actions-D18bp17X.js";
|
|
9
|
+
import "./useExecutionDebugging-Bd_2vpLq.js";
|
|
10
|
+
import "./useBeforeUnload-D0WL7mpb.js";
|
|
11
|
+
import "./canvas-DenCY4AJ.js";
|
|
12
|
+
import "./readyToRunWorkflows.store-Dz_KLa8_.js";
|
|
13
|
+
import "./InfoAccordion-BoIzf-yz.js";
|
|
14
14
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
15
15
|
__name: "NDVHeader",
|
|
16
16
|
props: {
|
|
@@ -905,7 +905,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
905
905
|
onActivate: onWorkflowActivate
|
|
906
906
|
}, null, 8, ["node-name", "push-ref", "class"])) : !isTriggerNode.value ? (openBlock(), createBlock(InputPanel, {
|
|
907
907
|
key: 1,
|
|
908
|
-
workflow: _ctx.workflowObject,
|
|
908
|
+
"workflow-object": _ctx.workflowObject,
|
|
909
909
|
"can-link-runs": canLinkRuns.value,
|
|
910
910
|
"run-index": inputRun.value,
|
|
911
911
|
"linked-runs": linked.value,
|
|
@@ -930,7 +930,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
930
930
|
onItemHover: onInputItemHover,
|
|
931
931
|
onSearch,
|
|
932
932
|
onDisplayModeChange: _cache[1] || (_cache[1] = ($event) => handleChangeDisplayMode("input", $event))
|
|
933
|
-
}, null, 8, ["workflow", "can-link-runs", "run-index", "linked-runs", "active-node-name", "current-node-name", "push-ref", "read-only", "is-production-execution-preview", "is-pane-active", "display-mode", "class", "is-mapping-onboarded", "focused-mappable-input"])) : createCommentVNode("", true)
|
|
933
|
+
}, null, 8, ["workflow-object", "can-link-runs", "run-index", "linked-runs", "active-node-name", "current-node-name", "push-ref", "read-only", "is-production-execution-preview", "is-pane-active", "display-mode", "class", "is-mapping-onboarded", "focused-mappable-input"])) : createCommentVNode("", true)
|
|
934
934
|
], 6)) : createCommentVNode("", true),
|
|
935
935
|
createVNode(_component_N8nResizeWrapper, {
|
|
936
936
|
width: unref(panelWidthPixels).main,
|
|
@@ -986,7 +986,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
986
986
|
}, [
|
|
987
987
|
createVNode(OutputPanel, {
|
|
988
988
|
"data-test-id": "output-panel",
|
|
989
|
-
workflow: _ctx.workflowObject,
|
|
989
|
+
"workflow-object": _ctx.workflowObject,
|
|
990
990
|
"can-link-runs": canLinkRuns.value,
|
|
991
991
|
"run-index": outputRun.value,
|
|
992
992
|
"linked-runs": linked.value,
|
|
@@ -1007,7 +1007,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1007
1007
|
onSearch,
|
|
1008
1008
|
onExecute: onNodeExecute,
|
|
1009
1009
|
onDisplayModeChange: _cache[3] || (_cache[3] = ($event) => handleChangeDisplayMode("output", $event))
|
|
1010
|
-
}, null, 8, ["workflow", "can-link-runs", "run-index", "linked-runs", "push-ref", "is-read-only", "block-u-i", "is-production-execution-preview", "is-pane-active", "display-mode", "class"])
|
|
1010
|
+
}, null, 8, ["workflow-object", "can-link-runs", "run-index", "linked-runs", "push-ref", "is-read-only", "block-u-i", "is-production-execution-preview", "is-pane-active", "display-mode", "class"])
|
|
1011
1011
|
], 6)
|
|
1012
1012
|
], 2)
|
|
1013
1013
|
], 2)
|
|
@@ -1016,17 +1016,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1016
1016
|
};
|
|
1017
1017
|
}
|
|
1018
1018
|
});
|
|
1019
|
-
const backdrop = "
|
|
1020
|
-
const dialog = "
|
|
1021
|
-
const container = "
|
|
1022
|
-
const main = "
|
|
1023
|
-
const column = "
|
|
1024
|
-
const input = "
|
|
1025
|
-
const output = "
|
|
1026
|
-
const dataColumn = "
|
|
1027
|
-
const header = "
|
|
1028
|
-
const settings = "
|
|
1029
|
-
const draggable = "
|
|
1019
|
+
const backdrop = "_backdrop_2bzlu_123";
|
|
1020
|
+
const dialog = "_dialog_2bzlu_133";
|
|
1021
|
+
const container = "_container_2bzlu_147";
|
|
1022
|
+
const main = "_main_2bzlu_158";
|
|
1023
|
+
const column = "_column_2bzlu_168";
|
|
1024
|
+
const input = "_input_2bzlu_181";
|
|
1025
|
+
const output = "_output_2bzlu_182";
|
|
1026
|
+
const dataColumn = "_dataColumn_2bzlu_186";
|
|
1027
|
+
const header = "_header_2bzlu_190";
|
|
1028
|
+
const settings = "_settings_2bzlu_196";
|
|
1029
|
+
const draggable = "_draggable_2bzlu_201";
|
|
1030
1030
|
const style0 = {
|
|
1031
1031
|
backdrop,
|
|
1032
1032
|
dialog,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreation-
|
|
2
|
-
import { d as defineComponent, x as computed, r as ref,
|
|
3
|
-
import { g as globalLinkActionsEventBus } from "./global-link-actions-
|
|
4
|
-
import { u as useExecutionDebugging } from "./useExecutionDebugging-
|
|
5
|
-
import { u as useBeforeUnload } from "./useBeforeUnload-
|
|
6
|
-
import { c as canvasEventBus } from "./canvas-
|
|
7
|
-
import { u as useAITemplatesStarterCollectionStore, a as useReadyToRunWorkflowsStore } from "./readyToRunWorkflows.store-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreation-DqXKrY6w.js","assets/index-CxleUtlq.js","assets/index-BFyMw9-0.css","assets/NodeCreation-CxN6JIS_.css","assets/NodeDetailsView-BLAGih5E.js","assets/TriggerPanel-BTLbaSMz.js","assets/RunDataParsedAiContent-qSEryFRl.js","assets/core-lMJc92pa.js","assets/RunDataParsedAiContent-wfIiKsq7.css","assets/ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-BW0CieDo.js","assets/InfoAccordion-BoIzf-yz.js","assets/InfoAccordion-dxudNqVC.css","assets/TriggerPanel-DmVMaaLr.css","assets/useWorkflowActivate-DrpskU4R.js","assets/global-link-actions-D18bp17X.js","assets/useExecutionDebugging-Bd_2vpLq.js","assets/useBeforeUnload-D0WL7mpb.js","assets/canvas-DenCY4AJ.js","assets/readyToRunWorkflows.store-Dz_KLa8_.js","assets/NodeDetailsView-CjdovDgq.css","assets/NodeDetailsViewV2-zTI7VLUX.js","assets/NodeDetailsViewV2-Bn1PbAPe.css","assets/SetupWorkflowCredentialsButton-D_e5xPYq.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { d as defineComponent, x as computed, r as ref, a_ as useNDVStore, af as watch, h as createElementBlock, g as openBlock, n as normalizeClass, e as createBlock, f as createCommentVNode, l as unref, p as N8nText, w as withCtx, k as createTextVNode, t as toDisplayString, cB as _sfc_main$a, i as createVNode, a5 as _sfc_main$b, _ as _export_sfc, W as createEventBus, as as useCssModule, v as useSettingsStore, cC as useVueFlow, c3 as toRef, cD as useCanvasMapping, cE as refThrottled, j as createBaseVNode, Q as renderSlot, cF as Canvas, K as mergeProps, a9 as useWorkflowsStore, bQ as useNodeHelpers, cG as useFocusPanelStore, ah as useNodeTypesStore, cH as useNodeSettingsParameters, cI as useEnvironmentsStore, cJ as useDeviceSupport, cK as HTML_NODE_TYPE, cL as isValueExpression, cM as isResourceLocatorValue, cN as AI_TRANSFORM_NODE_TYPE, cO as useResolvedExpression, co as useThrottleFn, B as withModifiers, cP as _sfc_main$c, N as N8nIcon, cQ as InfoTip, c as useI18n, cR as __unplugin_components_2, cS as __unplugin_components_3, F as Fragment, cT as __unplugin_components_4, cU as __unplugin_components_5, cV as __unplugin_components_6, cW as __unplugin_components_7, cX as __unplugin_components_8, cY as __unplugin_components_9, cZ as N8nInput, O as N8nRadioButtons, U as normalizeStyle, cm as useStyles, cl as N8nResizeWrapper, c_ as getParameterTypeOption, c$ as htmlEditorEventBus, d0 as parseFromExpression, d1 as isValidParameterOption, d2 as formatAsExpression, ap as useTelemetry, R as nextTick, d3 as hasFocusOnInput, d4 as isFocusableEl, bC as isChatNode, d5 as truncateBeforeLast, q as N8nButton, a6 as I18nT, ck as KeyboardShortcutTooltip, c0 as NodeIcon, aN as N8nActionDropdown, d6 as reactive, o as onMounted, cb as onUnmounted, d7 as _sfc_main$d, D as useI18n$1, b as useRouter, aa as useRoute, a as useToast, ay as useDocumentTitle, aA as useWorkflowHelpers, az as useWorkflowSaving, Z as useUIStore, aj as useSourceControlStore, d8 as useNodeCreatorStore, d9 as useCredentialsStore, da as useExternalSecretsStore, at as useRootStore, a$ as useExecutionsStore, au as useCanvasStore, ax as useNpsSurveyStore, db as useHistoryStore, av as useProjectsStore, u as useUsersStore, X as useTagsStore, a8 as usePushConnectionStore, bp as useTemplatesStore, dc as useBuilderStore, aw as useFoldersStore, dd as usePostHog, de as useAgentRequestStore, bP as useLogsStore, bR as useRunWorkflow, bU as useCanvasOperations, df as useWorkflowExtraction, ce as useClipboard, ab as PLACEHOLDER_EMPTY_WORKFLOW_ID, dg as NEW_WORKFLOW_ID, V as VIEWS, dh as NDV_UI_OVERHAUL_EXPERIMENT, bV as START_NODE_TYPE, di as getNodeViewTab, L as MAIN_HEADER_TABS, dj as VALID_WORKFLOW_IMPORT_URL_REGEX, aq as useMessage, ar as MODAL_CONFIRM, dk as jsonParse, aC as getResourcePermissions, bM as CHAT_TRIGGER_NODE_TYPE, bL as MANUAL_CHAT_TRIGGER_NODE_TYPE, dl as EVALUATION_TRIGGER_NODE_TYPE, dm as getBounds, dn as onBeforeRouteLeave, b3 as onBeforeMount, ao as WORKFLOW_SETTINGS_MODAL_KEY, br as useExternalHooks, dp as onActivated, dq as onDeactivated, P as onBeforeUnmount, dr as Suspense, ds as defineAsyncComponent, z as N8nCallout, aW as __vitePreload, aF as EnterpriseEditionFeature, dt as NODE_CREATOR_OPEN_SOURCES, du as EVALUATION_NODE_TYPE, dv as getSampleWorkflowByTemplateId, dw as tryToParseNumber, aP as nodeViewEventBus, bD as NodeConnectionTypes, dx as createCanvasConnectionHandleString, dy as isValidNodeConnectionType, dz as CanvasConnectionMode, bf as sourceControlEventBus, dA as getNodesWithNormalizedPosition, aY as h, dB as CanvasNodeRenderType, b2 as STICKY_NODE_TYPE, dC as needsAgentInput, dD as FROM_AI_PARAMETERS_MODAL_KEY, dE as historyBus, dF as DRAG_EVENT_DATA_KEY } from "./index-CxleUtlq.js";
|
|
3
|
+
import { g as globalLinkActionsEventBus } from "./global-link-actions-D18bp17X.js";
|
|
4
|
+
import { u as useExecutionDebugging } from "./useExecutionDebugging-Bd_2vpLq.js";
|
|
5
|
+
import { u as useBeforeUnload } from "./useBeforeUnload-D0WL7mpb.js";
|
|
6
|
+
import { c as canvasEventBus } from "./canvas-DenCY4AJ.js";
|
|
7
|
+
import { u as useAITemplatesStarterCollectionStore, a as useReadyToRunWorkflowsStore } from "./readyToRunWorkflows.store-Dz_KLa8_.js";
|
|
8
8
|
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "ExperimentalNodeDetailsDrawer",
|
|
10
10
|
props: {
|
|
@@ -120,6 +120,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
120
120
|
"data-test-id": "canvas-wrapper"
|
|
121
121
|
}, [
|
|
122
122
|
createBaseVNode("div", {
|
|
123
|
+
id: "canvas",
|
|
123
124
|
class: normalizeClass(unref($style).canvas)
|
|
124
125
|
}, [
|
|
125
126
|
workflow.value ? (openBlock(), createBlock(Canvas, mergeProps({
|
|
@@ -198,12 +199,12 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
198
199
|
const nodeSettingsParameters = useNodeSettingsParameters();
|
|
199
200
|
const environmentsStore = useEnvironmentsStore();
|
|
200
201
|
const deviceSupport = useDeviceSupport();
|
|
201
|
-
const { debounce } = useDebounce();
|
|
202
202
|
const styles = useStyles();
|
|
203
203
|
const focusedNodeParameter = computed(() => focusPanelStore.focusedNodeParameters[0]);
|
|
204
204
|
const resolvedParameter = computed(
|
|
205
205
|
() => focusedNodeParameter.value && focusPanelStore.isRichParameter(focusedNodeParameter.value) ? focusedNodeParameter.value : void 0
|
|
206
206
|
);
|
|
207
|
+
const inputValue = ref("");
|
|
207
208
|
const focusPanelActive = computed(() => focusPanelStore.focusPanelActive);
|
|
208
209
|
const focusPanelWidth = computed(() => focusPanelStore.focusPanelWidth);
|
|
209
210
|
const isDisabled = computed(() => {
|
|
@@ -242,7 +243,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
242
243
|
const { workflowRunData } = useExecutionData({ node });
|
|
243
244
|
const hasNodeRun = computed(() => {
|
|
244
245
|
if (!node.value) return true;
|
|
245
|
-
const parentNode = workflowsStore.
|
|
246
|
+
const parentNode = workflowsStore.workflowObject.getParentNodes(node.value.name, "main", 1)[0];
|
|
246
247
|
return Boolean(
|
|
247
248
|
parentNode && workflowRunData.value && Object.prototype.hasOwnProperty.bind(workflowRunData.value)(parentNode)
|
|
248
249
|
);
|
|
@@ -373,7 +374,10 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
373
374
|
focusPanelStore.focusedNodeParametersInTelemetryFormat[0]
|
|
374
375
|
);
|
|
375
376
|
}
|
|
376
|
-
|
|
377
|
+
function onInputChange(val) {
|
|
378
|
+
inputValue.value = val;
|
|
379
|
+
valueChanged(val);
|
|
380
|
+
}
|
|
377
381
|
function focusWithDelay() {
|
|
378
382
|
setTimeout(() => {
|
|
379
383
|
void setFocus();
|
|
@@ -408,6 +412,18 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
408
412
|
},
|
|
409
413
|
{ immediate: true }
|
|
410
414
|
);
|
|
415
|
+
watch(
|
|
416
|
+
() => resolvedParameter.value,
|
|
417
|
+
(newValue) => {
|
|
418
|
+
if (newValue) {
|
|
419
|
+
const value = newValue.value;
|
|
420
|
+
if (typeof value === "string" && value !== inputValue.value) {
|
|
421
|
+
inputValue.value = value;
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
{ immediate: true }
|
|
426
|
+
);
|
|
411
427
|
function onResize(event) {
|
|
412
428
|
focusPanelStore.updateWidth(event.width);
|
|
413
429
|
}
|
|
@@ -427,7 +443,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
427
443
|
return focusPanelActive.value ? (openBlock(), createElementBlock("div", {
|
|
428
444
|
key: 0,
|
|
429
445
|
class: normalizeClass(_ctx.$style.wrapper),
|
|
430
|
-
onKeydown: _cache[
|
|
446
|
+
onKeydown: _cache[9] || (_cache[9] = withModifiers(() => {
|
|
431
447
|
}, ["stop"]))
|
|
432
448
|
}, [
|
|
433
449
|
createVNode(unref(N8nResizeWrapper), {
|
|
@@ -546,93 +562,115 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
546
562
|
key: 1,
|
|
547
563
|
ref_key: "inputField",
|
|
548
564
|
ref: inputField,
|
|
549
|
-
|
|
565
|
+
modelValue: inputValue.value,
|
|
566
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
|
|
550
567
|
class: normalizeClass(_ctx.$style.editor),
|
|
551
568
|
"is-read-only": isReadOnly.value,
|
|
552
569
|
path: resolvedParameter.value.parameterPath,
|
|
553
570
|
"data-test-id": "expression-modal-input",
|
|
554
571
|
"target-node-parameter-context": targetNodeParameterContext.value,
|
|
555
|
-
onChange: _cache[
|
|
556
|
-
}, null, 8, ["
|
|
572
|
+
onChange: _cache[1] || (_cache[1] = ($event) => onInputChange($event.value))
|
|
573
|
+
}, null, 8, ["modelValue", "class", "is-read-only", "path", "target-node-parameter-context"])) : ["json", "string"].includes(resolvedParameter.value.parameter.type) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
557
574
|
editorType.value === "codeNodeEditor" ? (openBlock(), createBlock(_component_CodeNodeEditor, {
|
|
558
575
|
key: 0,
|
|
559
576
|
id: resolvedParameter.value.parameterPath,
|
|
560
577
|
ref_key: "inputField",
|
|
561
578
|
ref: inputField,
|
|
579
|
+
modelValue: inputValue.value,
|
|
580
|
+
"onUpdate:modelValue": [
|
|
581
|
+
_cache[2] || (_cache[2] = ($event) => inputValue.value = $event),
|
|
582
|
+
onInputChange
|
|
583
|
+
],
|
|
562
584
|
class: normalizeClass(_ctx.$style.heightFull),
|
|
563
585
|
mode: codeEditorMode.value,
|
|
564
|
-
"model-value": resolvedParameter.value.value,
|
|
565
586
|
"default-value": resolvedParameter.value.parameter.default,
|
|
566
587
|
language: editorLanguage.value,
|
|
567
588
|
"is-read-only": isReadOnly.value,
|
|
568
589
|
"target-node-parameter-context": targetNodeParameterContext.value,
|
|
569
590
|
"fill-parent": "",
|
|
570
|
-
"disable-ask-ai": true
|
|
571
|
-
|
|
572
|
-
}, null, 8, ["id", "class", "mode", "model-value", "default-value", "language", "is-read-only", "target-node-parameter-context", "onUpdate:modelValue"])) : editorType.value === "htmlEditor" ? (openBlock(), createBlock(_component_HtmlEditor, {
|
|
591
|
+
"disable-ask-ai": true
|
|
592
|
+
}, null, 8, ["id", "modelValue", "class", "mode", "default-value", "language", "is-read-only", "target-node-parameter-context"])) : editorType.value === "htmlEditor" ? (openBlock(), createBlock(_component_HtmlEditor, {
|
|
573
593
|
key: 1,
|
|
574
594
|
ref_key: "inputField",
|
|
575
595
|
ref: inputField,
|
|
576
|
-
|
|
596
|
+
modelValue: inputValue.value,
|
|
597
|
+
"onUpdate:modelValue": [
|
|
598
|
+
_cache[3] || (_cache[3] = ($event) => inputValue.value = $event),
|
|
599
|
+
onInputChange
|
|
600
|
+
],
|
|
577
601
|
"is-read-only": isReadOnly.value,
|
|
578
602
|
rows: editorRows.value,
|
|
579
603
|
"disable-expression-coloring": !isHtmlNode.value,
|
|
580
604
|
"disable-expression-completions": !isHtmlNode.value,
|
|
581
605
|
fullscreen: "",
|
|
582
|
-
"target-node-parameter-context": targetNodeParameterContext.value
|
|
583
|
-
|
|
584
|
-
}, null, 8, ["model-value", "is-read-only", "rows", "disable-expression-coloring", "disable-expression-completions", "target-node-parameter-context", "onUpdate:modelValue"])) : editorType.value === "cssEditor" ? (openBlock(), createBlock(_component_CssEditor, {
|
|
606
|
+
"target-node-parameter-context": targetNodeParameterContext.value
|
|
607
|
+
}, null, 8, ["modelValue", "is-read-only", "rows", "disable-expression-coloring", "disable-expression-completions", "target-node-parameter-context"])) : editorType.value === "cssEditor" ? (openBlock(), createBlock(_component_CssEditor, {
|
|
585
608
|
key: 2,
|
|
586
609
|
ref_key: "inputField",
|
|
587
610
|
ref: inputField,
|
|
588
|
-
|
|
611
|
+
modelValue: inputValue.value,
|
|
612
|
+
"onUpdate:modelValue": [
|
|
613
|
+
_cache[4] || (_cache[4] = ($event) => inputValue.value = $event),
|
|
614
|
+
onInputChange
|
|
615
|
+
],
|
|
589
616
|
"is-read-only": isReadOnly.value,
|
|
590
617
|
rows: editorRows.value,
|
|
591
618
|
fullscreen: "",
|
|
592
|
-
"target-node-parameter-context": targetNodeParameterContext.value
|
|
593
|
-
|
|
594
|
-
}, null, 8, ["model-value", "is-read-only", "rows", "target-node-parameter-context", "onUpdate:modelValue"])) : editorType.value === "sqlEditor" ? (openBlock(), createBlock(_component_SqlEditor, {
|
|
619
|
+
"target-node-parameter-context": targetNodeParameterContext.value
|
|
620
|
+
}, null, 8, ["modelValue", "is-read-only", "rows", "target-node-parameter-context"])) : editorType.value === "sqlEditor" ? (openBlock(), createBlock(_component_SqlEditor, {
|
|
595
621
|
key: 3,
|
|
596
622
|
ref_key: "inputField",
|
|
597
623
|
ref: inputField,
|
|
598
|
-
|
|
624
|
+
modelValue: inputValue.value,
|
|
625
|
+
"onUpdate:modelValue": [
|
|
626
|
+
_cache[5] || (_cache[5] = ($event) => inputValue.value = $event),
|
|
627
|
+
onInputChange
|
|
628
|
+
],
|
|
599
629
|
dialect: getTypeOption("sqlDialect"),
|
|
600
630
|
"is-read-only": isReadOnly.value,
|
|
601
631
|
rows: editorRows.value,
|
|
602
632
|
fullscreen: "",
|
|
603
|
-
"target-node-parameter-context": targetNodeParameterContext.value
|
|
604
|
-
|
|
605
|
-
}, null, 8, ["model-value", "dialect", "is-read-only", "rows", "target-node-parameter-context", "onUpdate:modelValue"])) : editorType.value === "jsEditor" ? (openBlock(), createBlock(_component_JsEditor, {
|
|
633
|
+
"target-node-parameter-context": targetNodeParameterContext.value
|
|
634
|
+
}, null, 8, ["modelValue", "dialect", "is-read-only", "rows", "target-node-parameter-context"])) : editorType.value === "jsEditor" ? (openBlock(), createBlock(_component_JsEditor, {
|
|
606
635
|
key: 4,
|
|
607
636
|
ref_key: "inputField",
|
|
608
637
|
ref: inputField,
|
|
609
|
-
|
|
638
|
+
modelValue: inputValue.value,
|
|
639
|
+
"onUpdate:modelValue": [
|
|
640
|
+
_cache[6] || (_cache[6] = ($event) => inputValue.value = $event),
|
|
641
|
+
onInputChange
|
|
642
|
+
],
|
|
610
643
|
"is-read-only": isReadOnly.value,
|
|
611
644
|
rows: editorRows.value,
|
|
612
645
|
"posthog-capture": shouldCaptureForPosthog.value,
|
|
613
|
-
"fill-parent": ""
|
|
614
|
-
|
|
615
|
-
}, null, 8, ["model-value", "is-read-only", "rows", "posthog-capture", "onUpdate:modelValue"])) : resolvedParameter.value.parameter.type === "json" ? (openBlock(), createBlock(_component_JsonEditor, {
|
|
646
|
+
"fill-parent": ""
|
|
647
|
+
}, null, 8, ["modelValue", "is-read-only", "rows", "posthog-capture"])) : resolvedParameter.value.parameter.type === "json" ? (openBlock(), createBlock(_component_JsonEditor, {
|
|
616
648
|
key: 5,
|
|
617
649
|
ref_key: "inputField",
|
|
618
650
|
ref: inputField,
|
|
619
|
-
|
|
651
|
+
modelValue: inputValue.value,
|
|
652
|
+
"onUpdate:modelValue": [
|
|
653
|
+
_cache[7] || (_cache[7] = ($event) => inputValue.value = $event),
|
|
654
|
+
onInputChange
|
|
655
|
+
],
|
|
620
656
|
"is-read-only": isReadOnly.value,
|
|
621
657
|
rows: editorRows.value,
|
|
622
658
|
fullscreen: "",
|
|
623
|
-
"fill-parent": ""
|
|
624
|
-
|
|
625
|
-
}, null, 8, ["model-value", "is-read-only", "rows", "onUpdate:modelValue"])) : (openBlock(), createBlock(unref(N8nInput), {
|
|
659
|
+
"fill-parent": ""
|
|
660
|
+
}, null, 8, ["modelValue", "is-read-only", "rows"])) : (openBlock(), createBlock(unref(N8nInput), {
|
|
626
661
|
key: 6,
|
|
627
662
|
ref_key: "inputField",
|
|
628
663
|
ref: inputField,
|
|
629
|
-
|
|
664
|
+
modelValue: inputValue.value,
|
|
665
|
+
"onUpdate:modelValue": [
|
|
666
|
+
_cache[8] || (_cache[8] = ($event) => inputValue.value = $event),
|
|
667
|
+
onInputChange
|
|
668
|
+
],
|
|
630
669
|
class: normalizeClass(_ctx.$style.editor),
|
|
631
670
|
readonly: isReadOnly.value,
|
|
632
671
|
type: "textarea",
|
|
633
|
-
resize: "none"
|
|
634
|
-
|
|
635
|
-
}, null, 8, ["model-value", "class", "readonly", "onUpdate:modelValue"]))
|
|
672
|
+
resize: "none"
|
|
673
|
+
}, null, 8, ["modelValue", "class", "readonly"]))
|
|
636
674
|
], 64)) : createCommentVNode("", true)
|
|
637
675
|
], 2)) : createCommentVNode("", true)
|
|
638
676
|
], 2)
|
|
@@ -786,7 +824,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
786
824
|
const [bX, bY] = b.position;
|
|
787
825
|
return aY === bY ? aX - bX : aY - bY;
|
|
788
826
|
}).map((node) => ({
|
|
789
|
-
label: truncateBeforeLast(node.name,
|
|
827
|
+
label: truncateBeforeLast(node.name, 50),
|
|
790
828
|
disabled: !!node.disabled || props.executing,
|
|
791
829
|
id: node.name,
|
|
792
830
|
checked: props.selectedTriggerNodeName === node.name
|
|
@@ -873,6 +911,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
873
911
|
items: actions.value,
|
|
874
912
|
disabled: _ctx.disabled,
|
|
875
913
|
placement: "top",
|
|
914
|
+
"extra-popper-class": _ctx.$style.menuPopper,
|
|
876
915
|
onSelect: _cache[3] || (_cache[3] = ($event) => emit("selectTriggerNode", $event))
|
|
877
916
|
}, {
|
|
878
917
|
activator: withCtx(() => [
|
|
@@ -916,23 +955,24 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
916
955
|
], 2)
|
|
917
956
|
]),
|
|
918
957
|
_: 1
|
|
919
|
-
}, 8, ["class", "items", "disabled"])
|
|
958
|
+
}, 8, ["class", "items", "disabled", "extra-popper-class"])
|
|
920
959
|
], 64)) : createCommentVNode("", true)
|
|
921
960
|
], 2);
|
|
922
961
|
};
|
|
923
962
|
}
|
|
924
963
|
});
|
|
925
|
-
const component = "
|
|
926
|
-
const split = "
|
|
927
|
-
const button = "
|
|
928
|
-
const divider = "
|
|
929
|
-
const chevron = "
|
|
930
|
-
const menu = "
|
|
931
|
-
const
|
|
932
|
-
const
|
|
933
|
-
const
|
|
934
|
-
const
|
|
935
|
-
const
|
|
964
|
+
const component = "_component_3izac_123";
|
|
965
|
+
const split = "_split_3izac_129";
|
|
966
|
+
const button = "_button_3izac_129";
|
|
967
|
+
const divider = "_divider_3izac_137";
|
|
968
|
+
const chevron = "_chevron_3izac_142";
|
|
969
|
+
const menu = "_menu_3izac_148";
|
|
970
|
+
const menuPopper = "_menuPopper_3izac_152";
|
|
971
|
+
const menuItem = "_menuItem_3izac_156";
|
|
972
|
+
const disabled = "_disabled_3izac_162";
|
|
973
|
+
const menuIcon = "_menuIcon_3izac_162";
|
|
974
|
+
const buttonContent = "_buttonContent_3izac_166";
|
|
975
|
+
const subText = "_subText_3izac_173";
|
|
936
976
|
const style0$2 = {
|
|
937
977
|
component,
|
|
938
978
|
split,
|
|
@@ -940,6 +980,7 @@ const style0$2 = {
|
|
|
940
980
|
divider,
|
|
941
981
|
chevron,
|
|
942
982
|
menu,
|
|
983
|
+
menuPopper,
|
|
943
984
|
menuItem,
|
|
944
985
|
disabled,
|
|
945
986
|
menuIcon,
|
|
@@ -1149,16 +1190,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1149
1190
|
__name: "NodeView",
|
|
1150
1191
|
setup(__props) {
|
|
1151
1192
|
const LazyNodeCreation = defineAsyncComponent(
|
|
1152
|
-
async () => await __vitePreload(() => import("./NodeCreation-
|
|
1193
|
+
async () => await __vitePreload(() => import("./NodeCreation-DqXKrY6w.js"), true ? __vite__mapDeps([0,1,2,3]) : void 0)
|
|
1153
1194
|
);
|
|
1154
1195
|
const LazyNodeDetailsView = defineAsyncComponent(
|
|
1155
|
-
async () => await __vitePreload(() => import("./NodeDetailsView-
|
|
1196
|
+
async () => await __vitePreload(() => import("./NodeDetailsView-BLAGih5E.js"), true ? __vite__mapDeps([4,1,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]) : void 0)
|
|
1156
1197
|
);
|
|
1157
1198
|
const LazyNodeDetailsViewV2 = defineAsyncComponent(
|
|
1158
|
-
async () => await __vitePreload(() => import("./NodeDetailsViewV2-
|
|
1199
|
+
async () => await __vitePreload(() => import("./NodeDetailsViewV2-zTI7VLUX.js"), true ? __vite__mapDeps([20,1,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,21]) : void 0)
|
|
1159
1200
|
);
|
|
1160
1201
|
const LazySetupWorkflowCredentialsButton = defineAsyncComponent(
|
|
1161
|
-
async () => await __vitePreload(() => import("./SetupWorkflowCredentialsButton-
|
|
1202
|
+
async () => await __vitePreload(() => import("./SetupWorkflowCredentialsButton-D_e5xPYq.js"), true ? __vite__mapDeps([22,1,2]) : void 0)
|
|
1162
1203
|
);
|
|
1163
1204
|
const $style = useCssModule();
|
|
1164
1205
|
const router = useRouter();
|
|
@@ -1342,25 +1383,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1342
1383
|
if (isBlankRedirect.value) {
|
|
1343
1384
|
isBlankRedirect.value = false;
|
|
1344
1385
|
} else if (route.name === VIEWS.TEMPLATE_IMPORT) {
|
|
1345
|
-
const templateId = route.params.id;
|
|
1346
1386
|
const loadWorkflowFromJSON = route.query.fromJson === "true";
|
|
1387
|
+
const templateId = route.params.id;
|
|
1388
|
+
if (!templateId) {
|
|
1389
|
+
return;
|
|
1390
|
+
}
|
|
1347
1391
|
if (loadWorkflowFromJSON) {
|
|
1348
|
-
const
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
break;
|
|
1357
|
-
default:
|
|
1358
|
-
toast.showError(
|
|
1359
|
-
new Error(i18n.baseText("nodeView.couldntLoadWorkflow.invalidWorkflowObject")),
|
|
1360
|
-
i18n.baseText("nodeView.couldntImportWorkflow")
|
|
1361
|
-
);
|
|
1362
|
-
await router.replace({ name: VIEWS.NEW_WORKFLOW });
|
|
1392
|
+
const workflow = getSampleWorkflowByTemplateId(templateId.toString());
|
|
1393
|
+
if (!workflow) {
|
|
1394
|
+
toast.showError(
|
|
1395
|
+
new Error(i18n.baseText("nodeView.couldntLoadWorkflow.invalidWorkflowObject")),
|
|
1396
|
+
i18n.baseText("nodeView.couldntImportWorkflow")
|
|
1397
|
+
);
|
|
1398
|
+
await router.replace({ name: VIEWS.NEW_WORKFLOW });
|
|
1399
|
+
return;
|
|
1363
1400
|
}
|
|
1401
|
+
await openTemplateFromWorkflowJSON(workflow);
|
|
1364
1402
|
} else {
|
|
1365
1403
|
await openWorkflowTemplate(templateId.toString());
|
|
1366
1404
|
}
|
|
@@ -1509,7 +1547,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1509
1547
|
name: VIEWS.NEW_WORKFLOW,
|
|
1510
1548
|
query: { templateId, parentFolderId }
|
|
1511
1549
|
});
|
|
1512
|
-
await importTemplate({
|
|
1550
|
+
await importTemplate({
|
|
1551
|
+
id: templateId,
|
|
1552
|
+
name: workflow.name,
|
|
1553
|
+
workflow
|
|
1554
|
+
});
|
|
1513
1555
|
uiStore.stateIsDirty = true;
|
|
1514
1556
|
canvasStore.stopLoading();
|
|
1515
1557
|
fitView();
|