n8n-editor-ui 1.106.1 → 1.107.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/dist/assets/AddDataStoreModal-D3j8deoq.css +133 -0
- package/dist/assets/AddDataStoreModal-DDkecCS5.js +108 -0
- package/dist/assets/{AnimatedSpinner-CNelXJxW.js → AnimatedSpinner-t1RMMNSe.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BptELjdm.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DabixM3K.js} +1 -1
- package/dist/assets/{AuthView-CPPbhtGS.js → AuthView-CFu30WWc.js} +9 -9
- package/dist/assets/{AuthView-DZB9HITQ.css → AuthView-CWVio_MZ.css} +9 -9
- package/dist/assets/{ChangePasswordView-Cmby8zoY.js → ChangePasswordView-CBig4YKe.js} +3 -3
- package/dist/assets/CollectionParameter-B1j_IqMK.js +4 -0
- package/dist/assets/{ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-Dqqp4ac7.js → ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-B9z4PBYx.js} +1 -1
- package/dist/assets/{CredentialsView-CJXL-1bL.js → CredentialsView-DDmJWE2r.js} +8 -8
- package/dist/assets/{DataStoreView-bZrewhaR.css → DataStoreView-D-Wmcgs5.css} +15 -10
- package/dist/assets/{DataStoreView-_YRbyjCa.js → DataStoreView-DgRkOh3I.js} +150 -71
- package/dist/assets/{DemoFooter-B15mfkPV.js → DemoFooter-BQH8fgeu.js} +6 -6
- package/dist/assets/{EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-DI7KmJ0_.js → EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-DWVikcET.js} +1 -1
- package/dist/assets/{EntityNotFound-CcFUGyDP.js → EntityNotFound-Dpf5mlyK.js} +3 -6
- package/dist/assets/{EntityNotFound-CBu7H3J_.css → EntityNotFound-DvXhVSfv.css} +2 -2
- package/dist/assets/{EntityUnAuthorised-BG-TRxIJ.js → EntityUnAuthorised-L-jtBCQ8.js} +1 -1
- package/dist/assets/{ErrorView-D48KsENu.js → ErrorView-KCU75Yt8.js} +1 -1
- package/dist/assets/{EvaluationsRootView-LdGwrJIs.js → EvaluationsRootView-v4H83Kch.js} +19 -5
- package/dist/assets/{EvaluationsView-DsmpZjlG.js → EvaluationsView-HlmYxGFH.js} +3 -3
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-a16EyLIx.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-HcTP3r42.js} +2 -2
- package/dist/assets/{ExecutionsView-CLWAKvdy.js → ExecutionsView-B1cATP_0.js} +8 -8
- package/dist/assets/{FixedCollectionParameter-CR8LTPoG.js → FixedCollectionParameter-CzvWd64p.js} +4 -3
- package/dist/assets/{FixedCollectionParameter-CEzpjeQZ.css → FixedCollectionParameter-DTkvAml6.css} +18 -18
- package/dist/assets/{ForgotMyPasswordView-5tgaN8ke.js → ForgotMyPasswordView-DKVL1kSx.js} +3 -3
- package/dist/assets/{InfoAccordion-DeO6hC1F.js → InfoAccordion-Ba-DFW30.js} +1 -1
- package/dist/assets/{InsightsChartAverageRuntime-YWhQCYJi.js → InsightsChartAverageRuntime-BiePIN7b.js} +4 -4
- package/dist/assets/{InsightsChartFailed-BKdlXvoJ.js → InsightsChartFailed-BD0nZHgc.js} +4 -4
- package/dist/assets/{InsightsChartFailureRate-BQM3KyGw.js → InsightsChartFailureRate-D9mgJ-JO.js} +4 -4
- package/dist/assets/{InsightsChartTimeSaved-B9ZGnk2Y.js → InsightsChartTimeSaved-CMF8Ix5Z.js} +4 -4
- package/dist/assets/{InsightsChartTotal-B_QgLNJe.js → InsightsChartTotal-DpXyQHic.js} +4 -4
- package/dist/assets/{InsightsDashboard-DpKFXx1_.js → InsightsDashboard-DXaQjC5E.js} +10 -10
- package/dist/assets/{InsightsPaywall-BEnBA_oG.js → InsightsPaywall-BuclvKbC.js} +1 -1
- package/dist/assets/{InsightsSummary-C2OXzc3_.js → InsightsSummary-B-mKtkfy.js} +1 -1
- package/dist/assets/{InsightsTableWorkflows-CHgPK1AG.js → InsightsTableWorkflows-CJQBR7-b.js} +4 -4
- package/dist/assets/{Logo-BoIqUrfh.js → Logo-DDLQ8kqu.js} +7 -7
- package/dist/assets/{Logo-DLBj1gMw.css → Logo-DaegEk2m.css} +9 -9
- package/dist/assets/{LogsPanel-wngrETx-.js → LogsPanel-BqOUfEMV.js} +8 -10
- package/dist/assets/{MainHeader-qSHM1Rvp.css → MainHeader-C7eM_NQZ.css} +203 -115
- package/dist/assets/{MainHeader-CTjEFOEQ.js → MainHeader-D4ZAxLz1.js} +435 -66
- package/dist/assets/{MainSidebar-D5-JTqU5.js → MainSidebar-CTA14T_8.js} +2 -2
- package/dist/assets/{NodeCreation-Dx_ZFP4I.js → NodeCreation-DbkQpvFw.js} +3 -3
- package/dist/assets/{NodeCreator-Cb92WDsx.css → NodeCreator-COgNP4W1.css} +39 -31
- package/dist/assets/{NodeCreator-EZL35vF_.js → NodeCreator-DcZOynzf.js} +104 -45
- package/dist/assets/{NodeDetailsView-Cam4nPwL.css → NodeDetailsView-CjdovDgq.css} +16 -16
- package/dist/assets/{NodeDetailsView-D_zBP3Bb.js → NodeDetailsView-F-sJxxhM.js} +27 -27
- package/dist/assets/{NodeDetailsViewV2-LzYZcnv5.css → NodeDetailsViewV2-Bn1PbAPe.css} +18 -22
- package/dist/assets/{NodeDetailsViewV2-CAJnQ07m.js → NodeDetailsViewV2-Cbnea1wY.js} +28 -28
- package/dist/assets/{NodeView-BvMrPj18.js → NodeView-CATT0f4w.js} +118 -76
- package/dist/assets/{NodeView-BMiOpmk4.css → NodeView-CiaJbQtZ.css} +12 -9
- package/dist/assets/{ProjectHeader-CPQrclqi.js → ProjectHeader-BmTqrjC0.js} +20 -3
- package/dist/assets/{ProjectSettings-DgMto7tc.js → ProjectSettings-DIA0ABl-.js} +3 -3
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-BZtkrOl0.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-alP-LQay.js} +1 -1
- package/dist/assets/{ResourcesListLayout-6eIqe4Ld.css → ResourcesListLayout-C1JgyGhX.css} +24 -24
- package/dist/assets/{ResourcesListLayout-DwQ-KO8O.js → ResourcesListLayout-DBQ41l-N.js} +12 -12
- package/dist/assets/{RunDataJson-NKGXU_0S.js → RunDataJson-CnlaOCHR.js} +3 -3
- package/dist/assets/{RunDataJsonActions-DWu07Sg3.js → RunDataJsonActions-CHGX_9mu.js} +1 -1
- package/dist/assets/{RunDataParsedAiContent-CbuJCBp_.js → RunDataParsedAiContent-CBGmuTeK.js} +2 -2
- package/dist/assets/{RunDataSearch-CyaajiwJ.js → RunDataSearch-cdg3lZXl.js} +1 -1
- package/dist/assets/{RunDataTable-DnoqsyNq.js → RunDataTable-COnddmnl.js} +1 -1
- package/dist/assets/{SamlOnboarding-BRzm3bo_.js → SamlOnboarding-_aN-z5D5.js} +3 -3
- package/dist/assets/{SettingsApiView-ivqbOHhT.js → SettingsApiView-CT74ox3y.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-Cx8vBXR6.js → SettingsCommunityNodesView-YYL8cuGm.js} +4 -4
- package/dist/assets/{SettingsExternalSecrets-Wn429MD6.js → SettingsExternalSecrets-uqxymPTo.js} +1 -1
- package/dist/assets/{SettingsLdapView-Bx1eqk76.css → SettingsLdapView-D0SUO3ai.css} +10 -10
- package/dist/assets/{SettingsLdapView-DCtzJ_64.js → SettingsLdapView-x9Q_FpS3.js} +8 -8
- package/dist/assets/{SettingsLogStreamingView-DKXo0eU8.js → SettingsLogStreamingView-DsLgQaW0.js} +1 -1
- package/dist/assets/{SettingsPersonalView-VzUT1CPv.js → SettingsPersonalView-DdlnYUxs.js} +1 -1
- package/dist/assets/{SettingsSourceControl-HcZJv6oW.js → SettingsSourceControl-BVdy4OjU.js} +1 -1
- package/dist/assets/{SettingsSso-Cfx5v2kB.js → SettingsSso-DNXYB15P.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-V2l1gNEl.js → SettingsUsageAndPlan-C-feEdnA.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-2-bhlusf.js → SettingsUsersView-BQz_83Ye.js} +9 -9
- package/dist/assets/{SettingsView-fv8tG-N8.js → SettingsView-Dn44WuGS.js} +1 -1
- package/dist/assets/{SetupView-B_8QsEwf.js → SetupView-D7gW-X-t.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-YvSvOa40.js → SetupWorkflowCredentialsButton-BiHvkCQe.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-DHUtu9hz.js → SetupWorkflowFromTemplateView-xhqOvVy6.js} +3 -3
- package/dist/assets/{SigninView-DnY5XrJt.js → SigninView-CE7Z5QNy.js} +3 -3
- package/dist/assets/{SignoutView-DBW6U-W1.js → SignoutView-BNsjaEt2.js} +1 -1
- package/dist/assets/{SignupView-B2k8UZuK.js → SignupView-B_JgbfoK.js} +3 -3
- package/dist/assets/{TableBase-j-43b-BE.js → TableBase-IV317tIn.js} +1 -1
- package/dist/assets/Tag-Bs4tMVi1.js +32 -0
- package/dist/assets/{Tags-B0bIUnzf.css → Tag-Cg-Hqs2H.css} +0 -141
- package/dist/assets/{Tags-DgGumzup.js → Tags-BDQ6pSco.js} +6 -33
- package/dist/assets/Tags-CCemj7t9.css +142 -0
- package/dist/assets/{TemplateDetails-CXGIerQ_.js → TemplateDetails-CIut2d5l.js} +3 -10
- package/dist/assets/{TemplateList-Do4Ut3DG.js → TemplateList-MF9qk_Mr.js} +8 -8
- package/dist/assets/{TemplateList-DcOqRM10.css → TemplateList-XNW-2Ugr.css} +8 -8
- package/dist/assets/{TemplatesCollectionView-DLhzSdM1.js → TemplatesCollectionView-Divk1M5I.js} +7 -6
- package/dist/assets/{TemplatesSearchView-CfkkwaEu.js → TemplatesSearchView-DShAFA6Z.js} +3 -3
- package/dist/assets/{TemplatesView-DIc4T7Sq.js → TemplatesView-FzgXsHss.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-DykWFToE.js → TemplatesWorkflowView-B-6ubwdm.js} +7 -6
- package/dist/assets/{TriggerPanel-gMtmEr6n.css → TriggerPanel-DmVMaaLr.css} +25 -45
- package/dist/assets/{TriggerPanel-CawHOOEB.js → TriggerPanel-W_Nbke2V.js} +34 -29
- package/dist/assets/{VariablesView-8ufP_Pbm.js → VariablesView-BN0j_wjI.js} +5 -5
- package/dist/assets/{WorkerView-4N9b1GrL.js → WorkerView-CvQXBJAT.js} +6 -6
- package/dist/assets/{WorkflowActivator-DhLX6i1H.css → WorkflowActivator-22RW64G2.css} +3 -4
- package/dist/assets/{WorkflowActivator-By2YPIxR.js → WorkflowActivator-Gdx2psBe.js} +4 -4
- package/dist/assets/{WorkflowExecutionsInfoAccordion-Dq5uAvFb.js → WorkflowExecutionsInfoAccordion-Qy1H_aGh.js} +2 -2
- package/dist/assets/{WorkflowExecutionsLandingPage-qTq7jXZd.js → WorkflowExecutionsLandingPage-VyfOoFBc.js} +3 -3
- package/dist/assets/{WorkflowExecutionsPreview-DH0t9oMG.js → WorkflowExecutionsPreview-BTPy5UO3.js} +4 -4
- package/dist/assets/{WorkflowExecutionsView-CvcWVL1q.js → WorkflowExecutionsView-D0jk13yH.js} +7 -6
- package/dist/assets/{WorkflowHistory-BoPbDI2w.js → WorkflowHistory-K7vjdmt1.js} +2 -2
- package/dist/assets/{WorkflowOnboardingView-CfdRMdb_.js → WorkflowOnboardingView-DNnkrH0z.js} +1 -1
- package/dist/assets/{WorkflowPreview-CRcYeBph.js → WorkflowPreview-DwjOC1mA.js} +1 -1
- package/dist/assets/{WorkflowsView-Dp2UtSsK.js → WorkflowsView-Cj7NMxOp.js} +201 -48
- package/dist/assets/{WorkflowsView-DsJIOJ7h.css → WorkflowsView-eYGsq80b.css} +267 -0
- package/dist/assets/{canvas-FB8uqaY-.js → canvas-DQItRt4U.js} +1 -1
- package/dist/assets/{chartjs.utils-CDdXZsf8.js → chartjs.utils-UQDAHC5I.js} +2 -2
- package/dist/assets/{VueMarkdown-CXxTuRRR.js → core-Bo_NVe2z.js} +26 -26
- package/dist/assets/dataStore.store-DKjB6WKV.js +98 -0
- package/dist/assets/{en-ORjqW56z.js → en-B7EAgfR5.js} +50 -2
- package/dist/assets/{global-link-actions-CLAUq-Uc.js → global-link-actions-By3D6cvY.js} +1 -1
- package/dist/assets/{index-B09aakje.css → index-BFyMw9-0.css} +8121 -7775
- package/dist/assets/{index-C7wt32Q4.js → index-D5oI3RTP.js} +1 -1
- package/dist/assets/{index-BoUr_2PB.js → index-DDSBmiav.js} +62368 -60942
- package/dist/assets/{pickBy-BEyZL_eY.js → pickBy-DatIkmCi.js} +1 -1
- package/dist/assets/{readyToRunWorkflows.store-BujC1ADB.js → readyToRunWorkflows.store-6LXk59HV.js} +1 -1
- package/dist/assets/{templateActions-bUKZTAXx.js → templateActions-DPAnbELi.js} +1 -1
- package/dist/assets/{typescript.worker-KwUz68Jx.js → typescript.worker-ku8s_Oaf.js} +8407 -7241
- package/dist/assets/{useBeforeUnload-CvFcYuae.js → useBeforeUnload-D0W7T4lC.js} +1 -1
- package/dist/assets/{useExecutionDebugging-CuyWUrpA.js → useExecutionDebugging-_kB4yo21.js} +4 -4
- package/dist/assets/{useImportCurlCommand-KUrfAIVU.js → useImportCurlCommand-BL_O7m5M.js} +1 -1
- package/dist/assets/{useProjectPages-BJ7N1xfl.js → useProjectPages-CGM579dS.js} +1 -1
- package/dist/assets/{usePushConnection-klqSpf_T.js → usePushConnection-Bl528ZwO.js} +18 -18
- package/dist/assets/{useWorkflowActivate-DZbVs_iD.js → useWorkflowActivate-DVGKXFvY.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/stylelint.config.mjs +3 -0
- package/dist/assets/CollectionParameter-mnvV48iw.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-DDSBmiav.js";
|
|
2
|
+
import { _ as __unplugin_components_0, T as TriggerPanel, O as OutputPanel } from "./TriggerPanel-W_Nbke2V.js";
|
|
3
|
+
import { u as useWorkflowActivate } from "./useWorkflowActivate-DVGKXFvY.js";
|
|
4
|
+
import "./RunDataParsedAiContent-CBGmuTeK.js";
|
|
5
|
+
import "./core-Bo_NVe2z.js";
|
|
6
|
+
import "./ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-B9z4PBYx.js";
|
|
7
|
+
import "./NodeView-CATT0f4w.js";
|
|
8
|
+
import "./global-link-actions-By3D6cvY.js";
|
|
9
|
+
import "./useExecutionDebugging-_kB4yo21.js";
|
|
10
|
+
import "./useBeforeUnload-D0W7T4lC.js";
|
|
11
|
+
import "./canvas-DQItRt4U.js";
|
|
12
|
+
import "./readyToRunWorkflows.store-6LXk59HV.js";
|
|
13
|
+
import "./InfoAccordion-Ba-DFW30.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-DbkQpvFw.js","assets/index-DDSBmiav.js","assets/index-BFyMw9-0.css","assets/NodeCreation-CxN6JIS_.css","assets/NodeDetailsView-F-sJxxhM.js","assets/TriggerPanel-W_Nbke2V.js","assets/RunDataParsedAiContent-CBGmuTeK.js","assets/core-Bo_NVe2z.js","assets/RunDataParsedAiContent-wfIiKsq7.css","assets/ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-B9z4PBYx.js","assets/InfoAccordion-Ba-DFW30.js","assets/InfoAccordion-dxudNqVC.css","assets/TriggerPanel-DmVMaaLr.css","assets/useWorkflowActivate-DVGKXFvY.js","assets/global-link-actions-By3D6cvY.js","assets/useExecutionDebugging-_kB4yo21.js","assets/useBeforeUnload-D0W7T4lC.js","assets/canvas-DQItRt4U.js","assets/readyToRunWorkflows.store-6LXk59HV.js","assets/NodeDetailsView-CjdovDgq.css","assets/NodeDetailsViewV2-Cbnea1wY.js","assets/NodeDetailsViewV2-Bn1PbAPe.css","assets/SetupWorkflowCredentialsButton-BiHvkCQe.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-DDSBmiav.js";
|
|
3
|
+
import { g as globalLinkActionsEventBus } from "./global-link-actions-By3D6cvY.js";
|
|
4
|
+
import { u as useExecutionDebugging } from "./useExecutionDebugging-_kB4yo21.js";
|
|
5
|
+
import { u as useBeforeUnload } from "./useBeforeUnload-D0W7T4lC.js";
|
|
6
|
+
import { c as canvasEventBus } from "./canvas-DQItRt4U.js";
|
|
7
|
+
import { u as useAITemplatesStarterCollectionStore, a as useReadyToRunWorkflowsStore } from "./readyToRunWorkflows.store-6LXk59HV.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-DbkQpvFw.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-F-sJxxhM.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-Cbnea1wY.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-BiHvkCQe.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();
|