n8n-editor-ui 1.76.0 → 1.77.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/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-Bk0ZjgAz.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DI9LKNPl.js} +1 -1
- package/dist/assets/{AuthView-CQW1x21E.js → AuthView-DM7o3O4n.js} +2 -2
- package/dist/assets/{CanvasChat-DuJwpZew.js → CanvasChat-D_6gR76j.js} +4 -4
- package/dist/assets/{CanvasControls-Br7x0c2w.js → CanvasControls-Nhfb4Lvl.js} +1 -1
- package/dist/assets/{ChangePasswordView-Ck-5oU_m.js → ChangePasswordView-BaAm4ZVG.js} +3 -3
- package/dist/assets/CollectionParameter-B6Y-W51v.js +4 -0
- package/dist/assets/{ConcurrentExecutionsHeader-Dfi130Qe.js → ConcurrentExecutionsHeader-DIjBdza6.js} +2 -2
- package/dist/assets/{CredentialsView-D44diL3J.js → CredentialsView-Xu6hENWr.js} +4 -4
- package/dist/assets/{ErrorView-ub9nQRXV.js → ErrorView-DUTGEeMV.js} +1 -1
- package/dist/assets/{ExecutionsView-DsAXYzOp.js → ExecutionsView-BUxJO71n.js} +5 -5
- package/dist/assets/{FileSaver.min-nbqT44De.js → FileSaver.min-BEdek61R.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-DvdC-9QQ.css → FixedCollectionParameter-BReT5syB.css} +18 -18
- package/dist/assets/{FixedCollectionParameter-DwiBHQQW.js → FixedCollectionParameter-C347CzJX.js} +27 -3
- package/dist/assets/{ForgotMyPasswordView-CH0wwots.js → ForgotMyPasswordView-COBAL4BR.js} +3 -3
- package/dist/assets/{Logo-CIYEwVrA.js → Logo-D0YIkpeq.js} +1 -1
- package/dist/assets/{MainHeader-CN6RTCuC.js → MainHeader-C9fFpTj2.js} +9 -9
- package/dist/assets/{MainSidebar-ih4BlE0n.js → MainSidebar-DqTz49bY.js} +37 -3
- package/dist/assets/{NodeCreation-DQUKwvhM.js → NodeCreation-BfPITu8g.js} +4 -4
- package/dist/assets/{NodeCreator-B1R35yuN.js → NodeCreator-CK6kn0Jv.js} +4 -5
- package/dist/assets/{NodeViewSwitcher-TsFkW80s.js → NodeViewSwitcher-Ccwulgc_.js} +97 -57
- package/dist/assets/{NodeViewSwitcher-aJwrKS8o.css → NodeViewSwitcher-DApULbEt.css} +15 -18
- package/dist/assets/{ProjectCardBadge-BcCHZFJ2.js → ProjectCardBadge-Dzk3JBiy.js} +1 -1
- package/dist/assets/{ProjectHeader-CSOMgkVs.js → ProjectHeader-DScDlb97.js} +1 -1
- package/dist/assets/{ProjectSettings-DtqNq5WU.js → ProjectSettings-BKBT1ZQ3.js} +2 -2
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-CZIKiOsY.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-vHkaCcgH.js} +1 -1
- package/dist/assets/{ResourcesListLayout-CvkkebAN.js → ResourcesListLayout-Bm25PbPe.js} +1 -1
- package/dist/assets/{RunDataJson-DA1LNZGU.js → RunDataJson-DdPA-vUg.js} +14 -15
- package/dist/assets/{RunDataJsonActions-DZzYHsR7.js → RunDataJsonActions-DQOpbX-O.js} +2 -2
- package/dist/assets/{RunDataSearch-D6-6kSmI.js → RunDataSearch-CouFZTIv.js} +1 -1
- package/dist/assets/{RunDataTable-bDBgkWN3.js → RunDataTable-BTSlSsV8.js} +18 -20
- package/dist/assets/{SamlOnboarding-ULq0l8s6.js → SamlOnboarding-ByjacAW7.js} +3 -3
- package/dist/assets/{SettingsApiView-CVRk9yEi.js → SettingsApiView-Bcy_zE6E.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-B6We65ta.js → SettingsCommunityNodesView-Cjl8HKbz.js} +4 -4
- package/dist/assets/{SettingsExternalSecrets-wrWe6ob7.js → SettingsExternalSecrets-BdjUgns5.js} +1 -1
- package/dist/assets/{SettingsLdapView-CeKm7XML.js → SettingsLdapView-JZznK2gT.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-DxAoQ7dF.js → SettingsLogStreamingView-Dr-YFp2W.js} +1 -1
- package/dist/assets/{SettingsPersonalView-DFcUFc08.js → SettingsPersonalView-inpY_nzK.js} +1 -1
- package/dist/assets/{SettingsSourceControl-D9u9tDhF.js → SettingsSourceControl-Cg7lS-SE.js} +1 -1
- package/dist/assets/{SettingsSso-gUSJtFP0.js → SettingsSso-NG13hUzi.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-C4rSaxsT.js → SettingsUsageAndPlan-BgSLN2VF.js} +1 -1
- package/dist/assets/{SettingsUsersView-DSaFQg1K.js → SettingsUsersView-DUmnh2jo.js} +1 -1
- package/dist/assets/{SettingsView-BcBZpdTs.js → SettingsView-DdHGr_vR.js} +1 -1
- package/dist/assets/{SetupView-BnZ-D6Jy.js → SetupView-ByLBPzaO.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-B3DfAGgF.js → SetupWorkflowCredentialsButton-Dv3O2B1n.js} +3 -2
- package/dist/assets/{SetupWorkflowFromTemplateView-DVLoF-kN.js → SetupWorkflowFromTemplateView-DFn8kOzj.js} +3 -3
- package/dist/assets/{SigninView-BI4UTqFm.js → SigninView-DIJ4QhSe.js} +3 -3
- package/dist/assets/{SignoutView-4KEfr3ze.js → SignoutView-CzgpQ3SX.js} +1 -1
- package/dist/assets/{SignupView-BdxSQxbe.js → SignupView-Ki2_QcUU.js} +3 -3
- package/dist/assets/{TemplateDetails-BU5E9lAh.js → TemplateDetails-BSeVX-wU.js} +1 -1
- package/dist/assets/{TemplateList-CSyTesvr.js → TemplateList-CM9EZ6da.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-aqqEP8td.js → TemplatesCollectionView-DQMG3Nx0.js} +5 -5
- package/dist/assets/{TemplatesSearchView-BXQw_aAZ.js → TemplatesSearchView-BG5Bfpq9.js} +3 -3
- package/dist/assets/{TemplatesView-BbVjMkgy.js → TemplatesView-D3vhmKK2.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-Cao3RpEd.js → TemplatesWorkflowView-BVZExmo-.js} +5 -5
- package/dist/assets/{TestDefinitionEditView-CgW-4tTx.js → TestDefinitionEditView-DeYXSHuX.js} +62 -12
- package/dist/assets/{TestDefinitionListView-D3eg62pM.js → TestDefinitionListView-Dm0Wfpbk.js} +1 -1
- package/dist/assets/{TestDefinitionRootView-DJdsaL4M.js → TestDefinitionRootView-v_AUC4gJ.js} +1 -1
- package/dist/assets/{VariablesView-2TmNYpas.js → VariablesView-BBjPCn4K.js} +2 -2
- package/dist/assets/{WorkerView-C3LhhFeZ.js → WorkerView-wAx-DxZp.js} +5 -5
- package/dist/assets/{WorkflowActivator-DiOQiQK2.js → WorkflowActivator-KzTynbZM.js} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-BmMiVSHQ.js → WorkflowExecutionsInfoAccordion-BWYv1FIv.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-CxbfP9Kf.js → WorkflowExecutionsLandingPage-LwIHX7rs.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-Cku-ZBQ3.js → WorkflowExecutionsPreview-D68OCpWf.js} +8 -7
- package/dist/assets/{WorkflowExecutionsView-C0CnXLDW.js → WorkflowExecutionsView-C47WjaF2.js} +5 -5
- package/dist/assets/{WorkflowHistory-Bg6AIKXX.js → WorkflowHistory-VBfitRhR.js} +3 -3
- package/dist/assets/{WorkflowOnboardingView-LXWyp2is.js → WorkflowOnboardingView-X9Yz2kZe.js} +1 -31
- package/dist/assets/{WorkflowPreview-CsR9t5iY.js → WorkflowPreview-D0IqMbWq.js} +24 -6
- package/dist/assets/{WorkflowsView-DQJAEKqk.js → WorkflowsView-CXhmco5U.js} +7 -7
- package/dist/assets/{easyAiWorkflowUtils-D3El0FyE.js → easyAiWorkflowUtils-B7xBZAZO.js} +1 -1
- package/dist/assets/{index-DvkbRfZN.js → index-BW7gX0J2.js} +231609 -231351
- package/dist/assets/{index-DsHZ4yOE.css → index-Bs_8II2j.css} +7 -7
- package/dist/assets/{pushConnection.store-5KniMGTZ.js → pushConnection.store-C6PSl50Z.js} +1 -1
- package/dist/assets/{templateActions-UGDN8R7F.js → templateActions-BHlzMnfj.js} +1 -1
- package/dist/assets/{useBeforeUnload-BwgAu_Gm.js → useBeforeUnload-BudMrcxz.js} +1 -1
- package/dist/assets/{useCanvasOperations-Bjf582lB.css → useCanvasOperations-CEWecDkR.css} +4 -4
- package/dist/assets/{useCanvasOperations-Cw1yjntX.js → useCanvasOperations-ZjLeZwpS.js} +11 -41
- package/dist/assets/{useExecutionDebugging-CTzUvS-m.js → useExecutionDebugging-C_Y6ee_L.js} +1 -1
- package/dist/assets/{useExecutionHelpers-ts_ANr0X.js → useExecutionHelpers-MX6P-wr8.js} +1 -1
- package/dist/assets/{usePinnedData-CAHmwr13.js → usePinnedData-CHMuwypo.js} +1 -1
- package/dist/assets/{usePushConnection-BcVRW8VB.js → usePushConnection-3HzYJp1-.js} +3 -3
- package/dist/assets/{useRunWorkflow-DZq8rmMi.js → useRunWorkflow-DUK8ev8x.js} +15 -6
- package/dist/assets/{useWorkflowActivate-y3uHMZeh.js → useWorkflowActivate-BjJ3P-qa.js} +1 -1
- package/dist/index.html +2 -2
- package/dist/static/n8n-logo.png +0 -0
- package/package.json +1 -1
- package/dist/assets/CollectionParameter-DRNykodC.js +0 -4
- package/dist/assets/useBugReporting-Bqv4ngy7.js +0 -39
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, b as useRouter, a4 as useWorkflowHelpers, p as useSettingsStore, K as useUIStore, T as useWorkflowsStore, a2 as useNpsSurveyStore, r as ref, q as computed, H as watch, o as onMounted, c as openBlock, e as createBlock, w as withCtx, j as createBaseVNode, k as createTextVNode, t as toDisplayString, l as unref, i as createVNode, I as withModifiers, n as normalizeClass, g as useI18n, af as WORKFLOW_SETTINGS_MODAL_KEY, m as resolveComponent,
|
|
1
|
+
import { d as defineComponent, b as useRouter, a4 as useWorkflowHelpers, p as useSettingsStore, K as useUIStore, T as useWorkflowsStore, a2 as useNpsSurveyStore, r as ref, q as computed, H as watch, o as onMounted, c as openBlock, e as createBlock, w as withCtx, j as createBaseVNode, k as createTextVNode, t as toDisplayString, l as unref, i as createVNode, I as withModifiers, n as normalizeClass, g as useI18n, af as WORKFLOW_SETTINGS_MODAL_KEY, m as resolveComponent, c0 as deepCopy, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, _ as _export_sfc } from "./index-BW7gX0J2.js";
|
|
2
2
|
const _hoisted_1 = { class: "mt-2xs" };
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "WorkflowExecutionsInfoAccordion",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as defineComponent, b as useRouter, U as useRoute, K as useUIStore, T as useWorkflowsStore, q as computed, c as openBlock, h as createElementBlock, n as normalizeClass, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, f as createCommentVNode, g as useI18n, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, V as VIEWS, m as resolveComponent, _ as _export_sfc } from "./index-
|
|
2
|
-
import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-
|
|
1
|
+
import { d as defineComponent, b as useRouter, U as useRoute, K as useUIStore, T as useWorkflowsStore, q as computed, c as openBlock, h as createElementBlock, n as normalizeClass, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, f as createCommentVNode, g as useI18n, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, V as VIEWS, m as resolveComponent, _ as _export_sfc } from "./index-BW7gX0J2.js";
|
|
2
|
+
import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-BWYv1FIv.js";
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
key: 0,
|
|
5
5
|
"data-test-id": "workflow-execution-no-trigger-content"
|
package/dist/assets/{WorkflowExecutionsPreview-Cku-ZBQ3.js → WorkflowExecutionsPreview-D68OCpWf.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as defineComponent, m as resolveComponent, c as openBlock, h as createElementBlock, i as createVNode, n as normalizeClass, _ as _export_sfc, at as useExecutionsStore, a as useToast, r as ref, q as computed,
|
|
2
|
-
import { u as useExecutionDebugging } from "./useExecutionDebugging-
|
|
3
|
-
import { _ as _sfc_main$3 } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { W as WorkflowPreview } from "./WorkflowPreview-
|
|
5
|
-
import { u as useExecutionHelpers } from "./useExecutionHelpers-
|
|
1
|
+
import { d as defineComponent, m as resolveComponent, c as openBlock, h as createElementBlock, i as createVNode, n as normalizeClass, _ as _export_sfc, at as useExecutionsStore, a as useToast, r as ref, q as computed, cO as resolveDirective, j as createBaseVNode, t as toDisplayString, l as unref, e as createBlock, F as Fragment, A as renderList, w as withCtx, k as createTextVNode, ax as withDirectives, g as useI18n, C as createEventBus, U as useRoute, T as useWorkflowsStore, p as useSettingsStore, f as createCommentVNode, V as VIEWS, f2 as ElDropdown, ae as MODAL_CONFIRM, ak as useMessage, al as getResourcePermissions, a8 as EnterpriseEditionFeature } from "./index-BW7gX0J2.js";
|
|
2
|
+
import { u as useExecutionDebugging } from "./useExecutionDebugging-C_Y6ee_L.js";
|
|
3
|
+
import { _ as _sfc_main$3 } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DI9LKNPl.js";
|
|
4
|
+
import { W as WorkflowPreview } from "./WorkflowPreview-D0IqMbWq.js";
|
|
5
|
+
import { u as useExecutionHelpers } from "./useExecutionHelpers-MX6P-wr8.js";
|
|
6
6
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "VoteButtons",
|
|
8
8
|
props: {
|
|
@@ -632,12 +632,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
632
632
|
}, null, 8, ["title", "disabled"])
|
|
633
633
|
])
|
|
634
634
|
], 10, _hoisted_1)) : createCommentVNode("", true),
|
|
635
|
-
|
|
635
|
+
(openBlock(), createBlock(WorkflowPreview, {
|
|
636
|
+
key: executionId.value,
|
|
636
637
|
mode: "execution",
|
|
637
638
|
"loader-type": "spinner",
|
|
638
639
|
"execution-id": executionId.value,
|
|
639
640
|
"execution-mode": _ctx.execution?.mode || ""
|
|
640
|
-
}, null, 8, ["execution-id", "execution-mode"])
|
|
641
|
+
}, null, 8, ["execution-id", "execution-mode"]))
|
|
641
642
|
], 2)) : createCommentVNode("", true);
|
|
642
643
|
};
|
|
643
644
|
}
|
package/dist/assets/{WorkflowExecutionsView-C0CnXLDW.js → WorkflowExecutionsView-C47WjaF2.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as defineComponent, U as useRoute, T as useWorkflowsStore, p as useSettingsStore, q as computed, o as onMounted, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, j as createBaseVNode, e as createBlock, k as createTextVNode, t as toDisplayString, l as unref, n as normalizeClass, f as createCommentVNode, V as VIEWS, g as useI18n, m as resolveComponent, a8 as EnterpriseEditionFeature, _ as _export_sfc, b as useRouter, at as useExecutionsStore, a5 as usePageRedirectionHelper, r as ref, H as watch, F as Fragment, A as renderList,
|
|
2
|
-
import { _ as _sfc_main$4, C as ConcurrentExecutionsHeader, E as ExecutionsFilter } from "./ConcurrentExecutionsHeader-
|
|
3
|
-
import { u as useExecutionHelpers, t as toDayMonth, a as toTime } from "./useExecutionHelpers-
|
|
4
|
-
import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-
|
|
5
|
-
import "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { d as defineComponent, U as useRoute, T as useWorkflowsStore, p as useSettingsStore, q as computed, o as onMounted, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, j as createBaseVNode, e as createBlock, k as createTextVNode, t as toDisplayString, l as unref, n as normalizeClass, f as createCommentVNode, V as VIEWS, g as useI18n, m as resolveComponent, a8 as EnterpriseEditionFeature, _ as _export_sfc, b as useRouter, at as useExecutionsStore, a5 as usePageRedirectionHelper, r as ref, H as watch, F as Fragment, A as renderList, e$ as TransitionGroup, f0 as isComponentPublicInstance, al as getResourcePermissions, a4 as useWorkflowHelpers, eR as onBeforeRouteLeave, dK as getNodeViewTab, an as MAIN_HEADER_TABS, bo as useNodeTypesStore, a as useToast, J as useDebounce, bp as useNodeHelpers, x as onBeforeUnmount, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, f1 as NO_NETWORK_ERROR_CODE, aj as useTelemetry, eM as NEW_WORKFLOW_ID } from "./index-BW7gX0J2.js";
|
|
2
|
+
import { _ as _sfc_main$4, C as ConcurrentExecutionsHeader, E as ExecutionsFilter } from "./ConcurrentExecutionsHeader-DIjBdza6.js";
|
|
3
|
+
import { u as useExecutionHelpers, t as toDayMonth, a as toTime } from "./useExecutionHelpers-MX6P-wr8.js";
|
|
4
|
+
import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-BWYv1FIv.js";
|
|
5
|
+
import "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DI9LKNPl.js";
|
|
6
6
|
const _hoisted_1$1 = { key: 2 };
|
|
7
7
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "WorkflowExecutionsCard",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as defineComponent, r as ref, q as computed, o as onMounted, c as openBlock, h as createElementBlock, s as renderSlot, j as createBaseVNode, t as toDisplayString, i as createVNode, w as withCtx, k as createTextVNode, e as createBlock, l as unref, f as createCommentVNode, n as normalizeClass, I as withModifiers, g as useI18n, m as resolveComponent, gm as dateformat, _ as _export_sfc, F as Fragment, A as renderList, aG as get, R as defineStore, Z as useRootStore, p as useSettingsStore, T as useWorkflowsStore,
|
|
2
|
-
import { W as WorkflowPreview } from "./WorkflowPreview-
|
|
3
|
-
import { F as FileSaver_minExports } from "./FileSaver.min-
|
|
1
|
+
import { d as defineComponent, r as ref, q as computed, o as onMounted, c as openBlock, h as createElementBlock, s as renderSlot, j as createBaseVNode, t as toDisplayString, i as createVNode, w as withCtx, k as createTextVNode, e as createBlock, l as unref, f as createCommentVNode, n as normalizeClass, I as withModifiers, g as useI18n, m as resolveComponent, gm as dateformat, _ as _export_sfc, F as Fragment, A as renderList, aG as get, R as defineStore, Z as useRootStore, p as useSettingsStore, T as useWorkflowsStore, fG as getNewWorkflow, U as useRoute, b as useRouter, a as useToast, a5 as usePageRedirectionHelper, K as useUIStore, aw as onBeforeMount, V as VIEWS, bn as watchEffect, fX as telemetry, al as getResourcePermissions, ap as h, hR as WORKFLOW_HISTORY_VERSION_RESTORE } from "./index-BW7gX0J2.js";
|
|
2
|
+
import { W as WorkflowPreview } from "./WorkflowPreview-D0IqMbWq.js";
|
|
3
|
+
import { F as FileSaver_minExports } from "./FileSaver.min-BEdek61R.js";
|
|
4
4
|
const _hoisted_1$2 = ["datetime"];
|
|
5
5
|
const _hoisted_2$1 = ["value"];
|
|
6
6
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
package/dist/assets/{WorkflowOnboardingView-LXWyp2is.js → WorkflowOnboardingView-X9Yz2kZe.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, aC as useLoadingService,
|
|
1
|
+
import { d as defineComponent, aC as useLoadingService, aM as useTemplatesStore, T as useWorkflowsStore, b as useRouter, U as useRoute, o as onMounted, V as VIEWS, c as openBlock, h as createElementBlock, g as useI18n } from "./index-BW7gX0J2.js";
|
|
2
2
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3
3
|
__name: "WorkflowOnboardingView",
|
|
4
4
|
setup(__props) {
|
|
@@ -9,10 +9,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
9
9
|
const route = useRoute();
|
|
10
10
|
const i18n = useI18n();
|
|
11
11
|
const openWorkflowTemplate = async (templateId) => {
|
|
12
|
-
if (templateId === SAMPLE_SUBWORKFLOW_WORKFLOW.meta.templateId) {
|
|
13
|
-
await openSampleSubworkflow();
|
|
14
|
-
return;
|
|
15
|
-
}
|
|
16
12
|
try {
|
|
17
13
|
loadingService.startLoading();
|
|
18
14
|
const template = await templateStore.getFixedWorkflowTemplate(templateId);
|
|
@@ -44,32 +40,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
44
40
|
throw new Error(`Could not load onboarding template ${templateId}`);
|
|
45
41
|
}
|
|
46
42
|
};
|
|
47
|
-
const openSampleSubworkflow = async () => {
|
|
48
|
-
try {
|
|
49
|
-
loadingService.startLoading();
|
|
50
|
-
const projectId = route.query?.projectId;
|
|
51
|
-
const sampleSubWorkflows = Number(route.query?.sampleSubWorkflows ?? 0);
|
|
52
|
-
const workflowName = `${SAMPLE_SUBWORKFLOW_WORKFLOW.name} ${sampleSubWorkflows + 1}`;
|
|
53
|
-
const workflow = {
|
|
54
|
-
...SAMPLE_SUBWORKFLOW_WORKFLOW,
|
|
55
|
-
name: workflowName
|
|
56
|
-
};
|
|
57
|
-
if (projectId) {
|
|
58
|
-
workflow.projectId = projectId;
|
|
59
|
-
}
|
|
60
|
-
const newWorkflow = await workflowsStore.createNewWorkflow(workflow);
|
|
61
|
-
const sampleSubworkflowChannel = new BroadcastChannel(NEW_SAMPLE_WORKFLOW_CREATED_CHANNEL);
|
|
62
|
-
sampleSubworkflowChannel.postMessage({ workflowId: newWorkflow.id });
|
|
63
|
-
await router.replace({
|
|
64
|
-
name: VIEWS.WORKFLOW,
|
|
65
|
-
params: { name: newWorkflow.id }
|
|
66
|
-
});
|
|
67
|
-
loadingService.stopLoading();
|
|
68
|
-
} catch (e) {
|
|
69
|
-
await router.replace({ name: VIEWS.NEW_WORKFLOW });
|
|
70
|
-
loadingService.stopLoading();
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
43
|
onMounted(async () => {
|
|
74
44
|
const templateId = route.params.id;
|
|
75
45
|
if (!templateId || typeof templateId !== "string") {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, a as useToast, at as useExecutionsStore, r as ref, q as computed, o as onMounted, x as onBeforeUnmount, H as watch, c as openBlock, h as createElementBlock, n as normalizeClass, i as createVNode, f as createCommentVNode, j as createBaseVNode, m as resolveComponent, g as useI18n, _ as _export_sfc } from "./index-
|
|
1
|
+
import { d as defineComponent, a as useToast, at as useExecutionsStore, r as ref, q as computed, o as onMounted, x as onBeforeUnmount, H as watch, c as openBlock, h as createElementBlock, n as normalizeClass, i as createVNode, f as createCommentVNode, j as createBaseVNode, m as resolveComponent, g as useI18n, _ as _export_sfc } from "./index-BW7gX0J2.js";
|
|
2
2
|
const _hoisted_1 = ["src"];
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "WorkflowPreview",
|
|
@@ -10,7 +10,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
10
10
|
executionMode: { default: void 0 },
|
|
11
11
|
loaderType: { default: "image" },
|
|
12
12
|
canOpenNDV: { type: Boolean, default: true },
|
|
13
|
-
hideNodeIssues: { type: Boolean, default: false }
|
|
13
|
+
hideNodeIssues: { type: Boolean, default: false },
|
|
14
|
+
focusOnLoad: { type: Boolean, default: true }
|
|
14
15
|
},
|
|
15
16
|
emits: ["close"],
|
|
16
17
|
setup(__props, { emit: __emit }) {
|
|
@@ -102,18 +103,35 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
102
103
|
try {
|
|
103
104
|
const json = JSON.parse(data);
|
|
104
105
|
if (json.command === "n8nReady") {
|
|
105
|
-
|
|
106
|
+
onReady();
|
|
106
107
|
} else if (json.command === "openNDV") {
|
|
107
|
-
|
|
108
|
+
onOpenNDV();
|
|
108
109
|
} else if (json.command === "closeNDV") {
|
|
109
|
-
|
|
110
|
+
onCloseNDV();
|
|
110
111
|
} else if (json.command === "error") {
|
|
111
|
-
|
|
112
|
+
onError();
|
|
112
113
|
}
|
|
113
114
|
} catch (e) {
|
|
114
115
|
console.error(e);
|
|
115
116
|
}
|
|
116
117
|
};
|
|
118
|
+
const onReady = () => {
|
|
119
|
+
ready.value = true;
|
|
120
|
+
if (props.focusOnLoad) {
|
|
121
|
+
setTimeout(() => {
|
|
122
|
+
iframeRef.value?.contentWindow?.focus();
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
const onOpenNDV = () => {
|
|
127
|
+
nodeViewDetailsOpened.value = true;
|
|
128
|
+
};
|
|
129
|
+
const onCloseNDV = () => {
|
|
130
|
+
nodeViewDetailsOpened.value = false;
|
|
131
|
+
};
|
|
132
|
+
const onError = () => {
|
|
133
|
+
emit("close");
|
|
134
|
+
};
|
|
117
135
|
const onDocumentScroll = () => {
|
|
118
136
|
if (insideIframe.value) {
|
|
119
137
|
window.scrollTo(scrollX.value, scrollY.value);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { R as ResourcesListLayout, p as pickBy } from "./ResourcesListLayout-
|
|
2
|
-
import { d as defineComponent, a as useToast, b as useRouter, p as useSettingsStore, K as useUIStore, u as useUsersStore, T as useWorkflowsStore, a1 as useProjectsStore, q as computed, al as getResourcePermissions, gm as dateformat, m as resolveComponent, c as openBlock, e as createBlock, w as withCtx, i as createVNode, n as normalizeClass, k as createTextVNode, t as toDisplayString, l as unref, f as createCommentVNode, j as createBaseVNode, I as withModifiers,
|
|
3
|
-
import { W as WorkflowActivator } from "./WorkflowActivator-
|
|
4
|
-
import { P as ProjectCardBadge } from "./ProjectCardBadge-
|
|
5
|
-
import { P as ProjectHeader } from "./ProjectHeader-
|
|
6
|
-
import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-
|
|
7
|
-
import "./useWorkflowActivate-
|
|
1
|
+
import { R as ResourcesListLayout, p as pickBy } from "./ResourcesListLayout-Bm25PbPe.js";
|
|
2
|
+
import { d as defineComponent, a as useToast, b as useRouter, p as useSettingsStore, K as useUIStore, u as useUsersStore, T as useWorkflowsStore, a1 as useProjectsStore, q as computed, al as getResourcePermissions, gm as dateformat, m as resolveComponent, c as openBlock, e as createBlock, w as withCtx, i as createVNode, n as normalizeClass, k as createTextVNode, t as toDisplayString, l as unref, f as createCommentVNode, j as createBaseVNode, I as withModifiers, h_ as ResourceType, ax as withDirectives, fy as _sfc_main$2, ay as vShow, h as createElementBlock, g as useI18n, V as VIEWS, ab as WORKFLOW_SHARE_MODAL_KEY, ai as DUPLICATE_MODAL_KEY, ae as MODAL_CONFIRM, h$ as PROJECT_MOVE_RESOURCE_MODAL, ak as useMessage, aj as useTelemetry, _ as _export_sfc, U as useRoute, a0 as useSourceControlStore, au as usePostHog, D as useTagsStore, a3 as useDocumentTitle, r as ref, a8 as EnterpriseEditionFeature, i0 as EASY_AI_WORKFLOW_EXPERIMENT, H as watch, o as onMounted, i1 as N8nIcon, fC as N8nHeading, ci as N8nText, i2 as N8nCard, fQ as N8nInputLabel, a7 as _sfc_main$3, cu as N8nSelect, F as Fragment, A as renderList, cA as _sfc_main$4, bT as AI_CREDITS_EXPERIMENT } from "./index-BW7gX0J2.js";
|
|
3
|
+
import { W as WorkflowActivator } from "./WorkflowActivator-KzTynbZM.js";
|
|
4
|
+
import { P as ProjectCardBadge } from "./ProjectCardBadge-Dzk3JBiy.js";
|
|
5
|
+
import { P as ProjectHeader } from "./ProjectHeader-DScDlb97.js";
|
|
6
|
+
import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-B7xBZAZO.js";
|
|
7
|
+
import "./useWorkflowActivate-BjJ3P-qa.js";
|
|
8
8
|
const _hoisted_1$1 = { key: 0 };
|
|
9
9
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "WorkflowCard",
|