n8n-editor-ui 1.95.2 → 1.97.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/{AnimatedSpinner-D09KQgNn.js → AnimatedSpinner-BbE6jHOu.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-ChBsrua8.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BZ2GH0iH.js} +1 -1
- package/dist/assets/{AuthView-6CzmMUBa.js → AuthView-CrlqfMI5.js} +2 -2
- package/dist/assets/{CanvasChatSwitch-DIB31bT-.js → CanvasChatSwitch-C3NWFgk4.js} +8 -8
- package/dist/assets/{ChangePasswordView-CFiLUetz.js → ChangePasswordView-DBFF8086.js} +3 -3
- package/dist/assets/CollectionParameter-BKrbv9MJ.js +4 -0
- package/dist/assets/{CredentialsView-balupUNg.js → CredentialsView-B9s5TscM.js} +7 -7
- package/dist/assets/{DemoFooter-DjYHmYtW.js → DemoFooter-DZ9uJIf9.js} +6 -6
- package/dist/assets/{ErrorView-Bp0CSaqz.js → ErrorView-B6u3dXpH.js} +1 -1
- package/dist/assets/{EvaluationsRootView-DEsxvX2-.js → EvaluationsRootView-C1FnaqZ_.js} +1 -1
- package/dist/assets/{EvaluationsView-sNn1fW5k.js → EvaluationsView-CYXSwzgF.js} +3 -3
- package/dist/assets/{ExecutionsTime-BuE0lHT6.css → ExecutionsTime--_6xBkkx.css} +6 -6
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-CBWKO-F8.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-Ceq2psmv.js} +3 -3
- package/dist/assets/{ExecutionsView-CwEhanCC.js → ExecutionsView-Cc64SfIc.js} +9 -9
- package/dist/assets/{ExecutionsView-ByQf9yli.css → ExecutionsView-ChOXAON3.css} +1 -1
- package/dist/assets/{FileSaver.min-BXNSdnef.js → FileSaver.min-Disj8eb5.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-BATXrzXI.css → FixedCollectionParameter-CgLfAVkQ.css} +18 -18
- package/dist/assets/{FixedCollectionParameter-D3k10_sC.js → FixedCollectionParameter-DrqR-CZn.js} +6 -5
- package/dist/assets/{ForgotMyPasswordView-DIjgKwbk.js → ForgotMyPasswordView-DnoUd6bs.js} +3 -3
- package/dist/assets/{InsightsChartAverageRuntime-BR-ZZhu2.js → InsightsChartAverageRuntime-BaVGCN4s.js} +4 -4
- package/dist/assets/{InsightsChartFailed-Bn6t9gYW.js → InsightsChartFailed--Ck66zdr.js} +4 -4
- package/dist/assets/{InsightsChartFailureRate-BESq19BT.js → InsightsChartFailureRate-BEnyD778.js} +4 -4
- package/dist/assets/{InsightsChartTimeSaved-Mk7RZWZj.js → InsightsChartTimeSaved-Chx9AJ6h.js} +4 -4
- package/dist/assets/{InsightsChartTotal-1eD2ZnHA.js → InsightsChartTotal-BNA21_XU.js} +4 -4
- package/dist/assets/{InsightsDashboard-804Vx8G8.js → InsightsDashboard-Bsy2cANM.js} +11 -11
- package/dist/assets/{InsightsDashboard-BSrakbzr.css → InsightsDashboard-CXbI-Jyg.css} +2 -2
- package/dist/assets/{InsightsPaywall-DlHIW8n4.js → InsightsPaywall-GPfXhmE2.js} +1 -1
- package/dist/assets/{InsightsSummary-iMjpjBTf.js → InsightsSummary-B5VSOlKK.js} +1 -1
- package/dist/assets/{InsightsTableWorkflows-CVdwME8T.js → InsightsTableWorkflows-6-29Fbmj.js} +3 -3
- package/dist/assets/{InsightsTableWorkflows-DfTZQkWL.css → InsightsTableWorkflows-DJhX6bQW.css} +3 -3
- package/dist/assets/{Logo-AVqgKHpt.js → Logo-Bt_6IpKO.js} +1 -1
- package/dist/assets/{LogsPanel-zME_gghi.js → LogsPanel-BOr-dFe3.js} +3 -3
- package/dist/assets/{MainHeader-CYSc9eyv.js → MainHeader-C6Jx0rXI.js} +10 -10
- package/dist/assets/{MainHeader-Y95RcfHb.css → MainHeader-CGwvFs2B.css} +12 -12
- package/dist/assets/{MainSidebar-CFL8ain5.js → MainSidebar-BXXytBar.js} +13 -13
- package/dist/assets/{MainSidebar-D1_1YFQZ.css → MainSidebar-DrjvHIqG.css} +22 -23
- package/dist/assets/{NodeCreation-Cc0NdFhH.js → NodeCreation-BIfVMPa7.js} +3 -3
- package/dist/assets/{NodeCreator-Bci2BsOB.js → NodeCreator-DLiTvqLI.js} +2 -2
- package/dist/assets/{NodeDetailsView-BtWGMS7Y.css → NodeDetailsView-6JHPI3t-.css} +34 -34
- package/dist/assets/{NodeDetailsView-B9Fh0Dl2.js → NodeDetailsView-BDF0fGMs.js} +11 -11
- package/dist/assets/{NodeView-U4YkXSfU.css → NodeView-BdvXMmMp.css} +4 -4
- package/dist/assets/{NodeView-CvKozVnV.js → NodeView-DgdMFdhk.js} +51 -18
- package/dist/assets/{ProjectCardBadge-bSiwmeA8.js → ProjectCardBadge-CofRlXsk.js} +8 -5
- package/dist/assets/{ProjectHeader-CXCEIwvg.js → ProjectHeader-BvA7Wpwr.js} +2 -2
- package/dist/assets/{ProjectSettings-BKismuHe.js → ProjectSettings-CrDC-3_3.js} +91 -71
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-BWW4AwS8.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-DxNGSSoO.js} +1 -1
- package/dist/assets/{ResourcesListLayout-DuNjbsMn.css → ResourcesListLayout-CPwJc792.css} +8 -8
- package/dist/assets/{ResourcesListLayout-CITg4uZY.js → ResourcesListLayout-qljecvR-.js} +3 -3
- package/dist/assets/{RunData-fnv6lb8C.js → RunData-CYDMlaQ6.js} +29 -29
- package/dist/assets/{RunData-CE5FsU6k.css → RunData-XsmLcFYS.css} +2 -2
- package/dist/assets/{RunDataAi-CNLso3N1.js → RunDataAi-CxdjuP0A.js} +3 -3
- package/dist/assets/{RunDataJson-DZx-k1wX.js → RunDataJson-D5izLqQI.js} +6 -6
- package/dist/assets/{RunDataJsonActions-D-3T61BD.js → RunDataJsonActions-DAaYLHZc.js} +1 -1
- package/dist/assets/{RunDataParsedAiContent-CW7ypFU2.js → RunDataParsedAiContent-DHxyWJHq.js} +4 -4
- package/dist/assets/{RunDataSearch-BjjTiewM.js → RunDataSearch-TEurtb6F.js} +1 -1
- package/dist/assets/{RunDataTable-CLptnyhW.js → RunDataTable-s1WZYFih.js} +2 -2
- package/dist/assets/{SamlOnboarding-DvgrlSpN.js → SamlOnboarding-DiA_qmVn.js} +3 -3
- package/dist/assets/{SettingsApiView-28hAZ8AX.js → SettingsApiView-DeQV4O5K.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-B4BhERDL.js → SettingsCommunityNodesView-C6qJjOCf.js} +4 -4
- package/dist/assets/{SettingsExternalSecrets-wExeq2SD.js → SettingsExternalSecrets-kDlbID-f.js} +1 -1
- package/dist/assets/{SettingsLdapView-DQTjIidN.js → SettingsLdapView-C3NEUPyD.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-S2HFXugB.js → SettingsLogStreamingView-BgCKenqc.js} +1 -1
- package/dist/assets/{SettingsPersonalView-K4xmPv1e.js → SettingsPersonalView-Dp-2_nD5.js} +1 -1
- package/dist/assets/{SettingsSourceControl-DBnFHiuT.js → SettingsSourceControl-BV2_t2Wa.js} +1 -1
- package/dist/assets/{SettingsSso-CETLXK4v.js → SettingsSso-D_XFdxcB.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-PCXLyHHP.js → SettingsUsageAndPlan-BAVUu2N4.js} +2 -2
- package/dist/assets/{SettingsUsageAndPlan-b3WY2Ea_.css → SettingsUsageAndPlan-Bc3LLaWe.css} +3 -3
- package/dist/assets/{SettingsUsersView-BkFwmQy2.js → SettingsUsersView-CQapkyv7.js} +1 -1
- package/dist/assets/{SettingsView-eJwgU7re.js → SettingsView--1XR6uFD.js} +1 -1
- package/dist/assets/{SetupView-BGrZbWPZ.js → SetupView-DG1s9QDh.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-DDCGrXlU.js → SetupWorkflowCredentialsButton-ZIVPumDO.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-mnJoSkOi.js → SetupWorkflowFromTemplateView-D7uZMweH.js} +3 -3
- package/dist/assets/{SigninView-BEMlYSwD.js → SigninView-KCgNlhVY.js} +3 -3
- package/dist/assets/{SignoutView-Ck7XUEL0.js → SignoutView-pE0DDq5n.js} +1 -1
- package/dist/assets/{SignupView-BNUCUdim.js → SignupView-D2f_BLTD.js} +3 -3
- package/dist/assets/{TemplateDetails-CCRZDyX3.js → TemplateDetails-BSsv4B85.js} +1 -1
- package/dist/assets/{TemplateList-q5CwO2jW.js → TemplateList-B1Ar74SB.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-BwB7WjdW.js → TemplatesCollectionView-BZGuPEOb.js} +5 -5
- package/dist/assets/{TemplatesSearchView-LFLxcdyJ.js → TemplatesSearchView-qjVhluXk.js} +3 -3
- package/dist/assets/{TemplatesView-DLb7_qKl.js → TemplatesView-ubkT9s02.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-BuQ8AVbV.js → TemplatesWorkflowView-Cyp0osv7.js} +5 -5
- package/dist/assets/{VariablesView-ATWfdJsE.css → VariablesView-BrzvF0ZW.css} +8 -8
- package/dist/assets/{VariablesView-nl7-bLzd.js → VariablesView-DqqeMAgz.js} +7 -7
- package/dist/assets/{WorkerView-C3tVMzJo.js → WorkerView-BupSGWdO.js} +6 -6
- package/dist/assets/{WorkflowActivator-DrMTmuTZ.css → WorkflowActivator-CL2wacc7.css} +2 -2
- package/dist/assets/{WorkflowActivator-BLSUnRBS.js → WorkflowActivator-D-Hnqidn.js} +3 -3
- package/dist/assets/{WorkflowExecutionsInfoAccordion-DGOugxD_.js → WorkflowExecutionsInfoAccordion-DbWLcKUA.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-5BG_WCTQ.js → WorkflowExecutionsLandingPage-LVa1eb_l.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-CpA6P8Yr.js → WorkflowExecutionsPreview-BxTjr1vz.js} +5 -5
- package/dist/assets/{WorkflowExecutionsView-BISf8FRD.js → WorkflowExecutionsView-BZSYh9z9.js} +7 -7
- package/dist/assets/{WorkflowExecutionsView-BjdRnQOE.css → WorkflowExecutionsView-CZziPgtr.css} +2 -2
- package/dist/assets/{WorkflowHistory-BHB0q8xi.js → WorkflowHistory-JVBDHINt.js} +3 -3
- package/dist/assets/{WorkflowOnboardingView-B_vEpWHk.js → WorkflowOnboardingView-Dy-1IC0L.js} +1 -1
- package/dist/assets/{WorkflowPreview-VAzNZwE4.js → WorkflowPreview-Cigbt4bL.js} +1 -1
- package/dist/assets/{WorkflowsView-DfQLvTjD.js → WorkflowsView-CT_wTBkN.js} +110 -26
- package/dist/assets/{canvas-ak0Yge56.js → canvas-hESuR4Ii.js} +1 -1
- package/dist/assets/{chartjs.utils-BEhsQkbh.js → chartjs.utils-B_2Gs6jF.js} +2 -2
- package/dist/assets/{easyAiWorkflowUtils-C-Dw5dJK.js → easyAiWorkflowUtils-Cr-_M_d8.js} +1 -1
- package/dist/assets/{global-link-actions-BjgA0KBu.js → global-link-actions-kPS4H23l.js} +1 -1
- package/dist/assets/{import-curl-Dlras8xY.js → import-curl-DF3kL2Uq.js} +1 -1
- package/dist/assets/{index-DH8MNLw5.css → index-B4xpaMaK.css} +1908 -1735
- package/dist/assets/{index-yHq_9MHK.js → index-CYJmC7Ra.js} +129726 -120552
- package/dist/assets/{index-DkgqLbzL.js → index-CnOUgoOS.js} +1 -1
- package/dist/assets/{pickBy-BygwtxG8.js → pickBy-BJdh6yK0.js} +1 -1
- package/dist/assets/{templateActions-D1Jiffto.js → templateActions-k3pgfZxR.js} +1 -1
- package/dist/assets/{useBeforeUnload-Bjelqp3f.js → useBeforeUnload-BUo1Q8qu.js} +1 -1
- package/dist/assets/{useExecutionDebugging-DeAtI2kq.js → useExecutionDebugging-D7uUVejC.js} +2 -2
- package/dist/assets/{useExecutionHelpers-CV0xvJ9R.js → useExecutionHelpers-C3ME9bsC.js} +1 -1
- package/dist/assets/{useImportCurlCommand-xECJDM0l.js → useImportCurlCommand-CAgwrnW9.js} +2 -2
- package/dist/assets/{useProjectPages-B2uri9MQ.js → useProjectPages-vmgKLBn6.js} +1 -1
- package/dist/assets/{usePushConnection-CPQ9WY2r.js → usePushConnection-v75Wib9I.js} +27 -22
- package/dist/assets/{useWorkflowActivate-B1fEJW3D.js → useWorkflowActivate-CDImNya8.js} +1 -1
- package/dist/assets/{useWorkflowSaving-DvqGBgRP.js → useWorkflowSaving-C8feAx2_.js} +1 -1
- package/dist/index.html +3 -3
- package/package.json +1 -1
- package/tsconfig.json +1 -0
- package/vite.config.mts +4 -0
- package/dist/assets/CollectionParameter-aAB2XEgJ.js +0 -4
- package/dist/assets/{polyfills-J2x06Gdp.js → polyfills-CcXIOoWM.js} +3935 -3935
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as __unplugin_components_1 } from "./TemplateDetails-
|
|
2
|
-
import { W as WorkflowPreview } from "./WorkflowPreview-
|
|
3
|
-
import {
|
|
4
|
-
import { u as useTemplateWorkflow } from "./templateActions-
|
|
5
|
-
import { T as TemplatesView } from "./TemplatesView-
|
|
1
|
+
import { _ as __unplugin_components_1 } from "./TemplateDetails-BSsv4B85.js";
|
|
2
|
+
import { W as WorkflowPreview } from "./WorkflowPreview-Cigbt4bL.js";
|
|
3
|
+
import { A as defineComponent, au as useTemplatesStore, aq as useNodeTypesStore, a6 as useRoute, j as useRouter, aJ as useDocumentTitle, r as ref, c as computed, ae as watch, ac as onMounted, C as resolveComponent, $ as createBlock, H as openBlock, aW as createSlots, K as withCtx, L as createBaseVNode, aF as normalizeClass, an as createCommentVNode, J as createVNode, Q as unref, b as useI18n, G as createElementBlock, N as createTextVNode, O as toDisplayString, o as useTelemetry, U as useExternalHooks, av as _export_sfc } from "./index-CYJmC7Ra.js";
|
|
4
|
+
import { u as useTemplateWorkflow } from "./templateActions-k3pgfZxR.js";
|
|
5
|
+
import { T as TemplatesView } from "./TemplatesView-ubkT9s02.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "TemplatesWorkflowView",
|
|
8
8
|
setup(__props) {
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
-------------------------- */
|
|
121
121
|
/* BEM
|
|
122
122
|
-------------------------- */
|
|
123
|
-
.usageSyntax[data-v-
|
|
123
|
+
.usageSyntax[data-v-1846b5c0] {
|
|
124
124
|
cursor: pointer;
|
|
125
125
|
background: var(--color-variables-usage-syntax-bg);
|
|
126
126
|
color: var(--color-variables-usage-font);
|
|
@@ -248,11 +248,11 @@
|
|
|
248
248
|
-------------------------- */
|
|
249
249
|
/* BEM
|
|
250
250
|
-------------------------- */
|
|
251
|
-
.value-cell[data-v-
|
|
251
|
+
.value-cell[data-v-4921ff8f] {
|
|
252
252
|
width: 100%;
|
|
253
253
|
max-width: 50%;
|
|
254
254
|
}
|
|
255
|
-
.key-input[data-v-
|
|
255
|
+
.key-input[data-v-4921ff8f] textarea {
|
|
256
256
|
min-height: 40px !important;
|
|
257
257
|
resize: none;
|
|
258
258
|
}/* BEM support Func
|
|
@@ -377,21 +377,21 @@
|
|
|
377
377
|
-------------------------- */
|
|
378
378
|
/* BEM
|
|
379
379
|
-------------------------- */
|
|
380
|
-
.action-buttons[data-v-
|
|
380
|
+
.action-buttons[data-v-05cf95e9] {
|
|
381
381
|
opacity: 0;
|
|
382
382
|
transition: opacity 0.2s ease;
|
|
383
383
|
}
|
|
384
|
-
[data-v-
|
|
384
|
+
[data-v-05cf95e9] .datatable {
|
|
385
385
|
white-space: nowrap;
|
|
386
386
|
}
|
|
387
|
-
[data-v-
|
|
387
|
+
[data-v-05cf95e9] .datatable table tr:hover .action-buttons {
|
|
388
388
|
opacity: 1;
|
|
389
389
|
}
|
|
390
390
|
@media screen and (max-width: 992px) {
|
|
391
|
-
[data-v-
|
|
391
|
+
[data-v-05cf95e9] .datatable table tr th:nth-child(3),[data-v-05cf95e9] .datatable table tr td:nth-child(3) {
|
|
392
392
|
display: none;
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
|
-
[data-v-
|
|
395
|
+
[data-v-05cf95e9] .datatable .variables-actions-column {
|
|
396
396
|
width: 170px;
|
|
397
397
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { R as ResourcesListLayout } from "./ResourcesListLayout-
|
|
3
|
-
import { p as pickBy } from "./pickBy-
|
|
4
|
-
import "./useProjectPages-
|
|
1
|
+
import { A as defineComponent, aS as useClipboard, k as useToast, c as computed, $ as createBlock, H as openBlock, Q as unref, bj as N8nTooltip, K as withCtx, L as createBaseVNode, O as toDisplayString, N as createTextVNode, b as useI18n, av as _export_sfc, a7 as reactive, af as toRaw, r as ref, G as createElementBlock, J as createVNode, dg as N8nFormInput, an as createCommentVNode, b9 as N8nButton, l as useSettingsStore, cT as useEnvironmentsStore, al as useUsersStore, u as useUIStore, ao as useSourceControlStore, a6 as useRoute, j as useRouter, cm as useTemplateRef, bt as getResourcePermissions, dz as useAsyncState, E as EnterpriseEditionFeature, m as usePageRedirectionHelper, ac as onMounted, aJ as useDocumentTitle, C as resolveComponent, aW as createSlots, dA as N8nActionBox, bA as mergeProps, dB as normalizeProps, aN as Fragment, dC as N8nBadge, b5 as N8nInputLabel, cR as N8nCheckbox, dD as uid, o as useTelemetry, g as useMessage, i as MODAL_CONFIRM } from "./index-CYJmC7Ra.js";
|
|
2
|
+
import { R as ResourcesListLayout } from "./ResourcesListLayout-qljecvR-.js";
|
|
3
|
+
import { p as pickBy } from "./pickBy-BJdh6yK0.js";
|
|
4
|
+
import "./useProjectPages-vmgKLBn6.js";
|
|
5
5
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "VariablesUsageBadge",
|
|
7
7
|
props: {
|
|
@@ -36,7 +36,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
|
-
const VariablesUsageBadge = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
39
|
+
const VariablesUsageBadge = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-1846b5c0"]]);
|
|
40
40
|
const _hoisted_1$1 = { class: "key-cell" };
|
|
41
41
|
const _hoisted_2$1 = {
|
|
42
42
|
class: "value-cell",
|
|
@@ -157,7 +157,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
157
157
|
};
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
|
-
const VariablesForm = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
160
|
+
const VariablesForm = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-4921ff8f"]]);
|
|
161
161
|
const _hoisted_1 = { key: 0 };
|
|
162
162
|
const _hoisted_2 = { key: 1 };
|
|
163
163
|
const _hoisted_3 = { class: "mb-s" };
|
|
@@ -534,7 +534,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
534
534
|
};
|
|
535
535
|
}
|
|
536
536
|
});
|
|
537
|
-
const VariablesView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
537
|
+
const VariablesView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-05cf95e9"]]);
|
|
538
538
|
export {
|
|
539
539
|
VariablesView as default
|
|
540
540
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as _sfc_main$7 } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import {
|
|
3
|
-
import { a as useOrchestrationStore, W as WORKER_HISTORY_LENGTH, u as usePushConnection } from "./usePushConnection-
|
|
4
|
-
import { C as Chart } from "./index-
|
|
5
|
-
import "./easyAiWorkflowUtils-
|
|
6
|
-
import "./global-link-actions-
|
|
1
|
+
import { _ as _sfc_main$7 } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-DxNGSSoO.js";
|
|
2
|
+
import { A as defineComponent, r as ref, C as resolveComponent, G as createElementBlock, H as openBlock, aF as normalizeClass, L as createBaseVNode, an as createCommentVNode, J as createVNode, K as withCtx, I as renderSlot, av as _export_sfc, $ as createBlock, aN as Fragment, aO as renderList, O as toDisplayString, N as createTextVNode, Q as unref, b as useI18n, aS as useClipboard, k as useToast, c as computed, er as sortByProperty, ac as onMounted, ad as onBeforeUnmount, j as useRouter, aJ as useDocumentTitle, p as useRootStore, B as usePushConnectionStore, o as useTelemetry, b3 as onBeforeMount, l as useSettingsStore, m as usePageRedirectionHelper } from "./index-CYJmC7Ra.js";
|
|
3
|
+
import { a as useOrchestrationStore, W as WORKER_HISTORY_LENGTH, u as usePushConnection } from "./usePushConnection-v75Wib9I.js";
|
|
4
|
+
import { C as Chart } from "./index-CnOUgoOS.js";
|
|
5
|
+
import "./easyAiWorkflowUtils-Cr-_M_d8.js";
|
|
6
|
+
import "./global-link-actions-kPS4H23l.js";
|
|
7
7
|
function averageWorkerLoadFromLoads(loads) {
|
|
8
8
|
return loads.reduce((prev, curr) => prev + curr, 0) / loads.length;
|
|
9
9
|
}
|
|
@@ -1072,12 +1072,12 @@ input[disabled][data-v-7df19a7a] {
|
|
|
1072
1072
|
-------------------------- */
|
|
1073
1073
|
/* BEM
|
|
1074
1074
|
-------------------------- */
|
|
1075
|
-
.workflow-activator[data-v-
|
|
1075
|
+
.workflow-activator[data-v-4e5451a1] {
|
|
1076
1076
|
display: inline-flex;
|
|
1077
1077
|
flex-wrap: nowrap;
|
|
1078
1078
|
align-items: center;
|
|
1079
1079
|
}
|
|
1080
|
-
.could-not-be-started[data-v-
|
|
1080
|
+
.could-not-be-started[data-v-4e5451a1] {
|
|
1081
1081
|
display: inline-block;
|
|
1082
1082
|
color: var(--color-text-danger);
|
|
1083
1083
|
margin-left: 0.5em;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as useWorkflowActivate } from "./useWorkflowActivate-
|
|
1
|
+
import { A as defineComponent, c as computed, bx as ProjectTypes, b as useI18n, C as resolveComponent, G as createElementBlock, H as openBlock, aF as normalizeClass, J as createVNode, K as withCtx, bB as ProjectIcon, N as createTextVNode, O as toDisplayString, av as _export_sfc, cK as useProjectsStore, dS as useFoldersStore, r as ref, ae as watch, ad as onBeforeUnmount, $ as createBlock, an as createCommentVNode, aW as createSlots, I as renderSlot, ac as onMounted, eu as onClickOutside, L as createBaseVNode, eM as withKeys, aH as withModifiers, T as createEventBus, Q as unref, k as useToast, u as useUIStore, j as useRouter, f as useWorkflowHelpers, e as useWorkflowsStore, bm as useCredentialsStore, eN as getActivatableTriggerNodes, eO as EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE, P as PLACEHOLDER_EMPTY_WORKFLOW_ID, F as resolveDirective, R as withDirectives, eP as OPEN_AI_API_CREDENTIAL_TYPE, eQ as WORKFLOW_ACTIVATION_CONFLICTING_WEBHOOK_MODAL_KEY, n as h } from "./index-CYJmC7Ra.js";
|
|
2
|
+
import { u as useWorkflowActivate } from "./useWorkflowActivate-CDImNya8.js";
|
|
3
3
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "ProjectBreadcrumb",
|
|
5
5
|
props: {
|
|
@@ -774,7 +774,7 @@ const style0 = {
|
|
|
774
774
|
const cssModules = {
|
|
775
775
|
"$style": style0
|
|
776
776
|
};
|
|
777
|
-
const WorkflowActivator = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-
|
|
777
|
+
const WorkflowActivator = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-4e5451a1"]]);
|
|
778
778
|
export {
|
|
779
779
|
InlineTextEdit as I,
|
|
780
780
|
WorkflowActivator as W,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as defineComponent, j as useRouter, f as useWorkflowHelpers, l as useSettingsStore, u as useUIStore, e as useWorkflowsStore, d as useNpsSurveyStore, r as ref, c as computed, b as useI18n, aG as deepCopy, P as PLACEHOLDER_EMPTY_WORKFLOW_ID, ae as watch, ac as onMounted, C as resolveComponent, $ as createBlock, H as openBlock, K as withCtx, L as createBaseVNode, N as createTextVNode, J as createVNode, O as toDisplayString, Q as unref, aH as withModifiers, aF as normalizeClass, aI as WORKFLOW_SETTINGS_MODAL_KEY, av as _export_sfc } from "./index-CYJmC7Ra.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 {
|
|
2
|
-
import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-
|
|
1
|
+
import { A as defineComponent, j as useRouter, a6 as useRoute, u as useUIStore, e as useWorkflowsStore, c as computed, C as resolveComponent, G as createElementBlock, H as openBlock, an as createCommentVNode, aF as normalizeClass, J as createVNode, K as withCtx, N as createTextVNode, O as toDisplayString, Q as unref, b as useI18n, P as PLACEHOLDER_EMPTY_WORKFLOW_ID, V as VIEWS, av as _export_sfc } from "./index-CYJmC7Ra.js";
|
|
2
|
+
import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-DbWLcKUA.js";
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
key: 0,
|
|
5
5
|
"data-test-id": "workflow-execution-no-trigger-content"
|
package/dist/assets/{WorkflowExecutionsPreview-CpA6P8Yr.js → WorkflowExecutionsPreview-BxTjr1vz.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as _sfc_main$3 } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { W as WorkflowPreview } from "./WorkflowPreview-
|
|
4
|
-
import { u as useExecutionDebugging } from "./useExecutionDebugging-
|
|
5
|
-
import { u as useExecutionHelpers } from "./useExecutionHelpers-
|
|
1
|
+
import { A as defineComponent, C as resolveComponent, G as createElementBlock, H as openBlock, aF as normalizeClass, J as createVNode, av as _export_sfc, a$ as useExecutionsStore, k as useToast, r as ref, c as computed, F as resolveDirective, L as createBaseVNode, O as toDisplayString, Q as unref, b as useI18n, $ as createBlock, T as createEventBus, aN as Fragment, aO as renderList, K as withCtx, N as createTextVNode, R as withDirectives, o as useTelemetry, a6 as useRoute, e as useWorkflowsStore, l as useSettingsStore, bt as getResourcePermissions, E as EnterpriseEditionFeature, an as createCommentVNode, b4 as N8nText, b9 as N8nButton, dv as RouterLink, V as VIEWS, a_ as _sfc_main$4, dw as ElDropdownMenu, dx as ElDropdownItem, dy as ElDropdown, g as useMessage, i as MODAL_CONFIRM } from "./index-CYJmC7Ra.js";
|
|
2
|
+
import { _ as _sfc_main$3 } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BZ2GH0iH.js";
|
|
3
|
+
import { W as WorkflowPreview } from "./WorkflowPreview-Cigbt4bL.js";
|
|
4
|
+
import { u as useExecutionDebugging } from "./useExecutionDebugging-D7uUVejC.js";
|
|
5
|
+
import { u as useExecutionHelpers } from "./useExecutionHelpers-C3ME9bsC.js";
|
|
6
6
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "VoteButtons",
|
|
8
8
|
props: {
|
package/dist/assets/{WorkflowExecutionsView-BISf8FRD.js → WorkflowExecutionsView-BZSYh9z9.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as _sfc_main$4, C as ConcurrentExecutionsHeader, E as ExecutionsFilter } from "./ExecutionsTime.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as useExecutionHelpers } from "./useExecutionHelpers-
|
|
4
|
-
import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-
|
|
5
|
-
import { u as useWorkflowSaving } from "./useWorkflowSaving-
|
|
6
|
-
import "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { A as defineComponent, a6 as useRoute, e as useWorkflowsStore, l as useSettingsStore, c as computed, E as EnterpriseEditionFeature, b as useI18n, ac as onMounted, C as resolveComponent, G as createElementBlock, H as openBlock, aF as normalizeClass, J as createVNode, Q as unref, V as VIEWS, K as withCtx, L as createBaseVNode, $ as createBlock, an as createCommentVNode, N as createTextVNode, O as toDisplayString, dI as toDayMonth, dJ as toTime, av as _export_sfc, j as useRouter, a$ as useExecutionsStore, m as usePageRedirectionHelper, r as ref, bt as getResourcePermissions, ae as watch, dK as TransitionGroup, aN as Fragment, aO as renderList, dL as isComponentPublicInstance, dM as onBeforeRouteLeave, dN as getNodeViewTab, dO as MAIN_HEADER_TABS, aq as useNodeTypesStore, k as useToast, be as useDebounce, ap as useCanvasOperations, P as PLACEHOLDER_EMPTY_WORKFLOW_ID, dP as NEW_WORKFLOW_ID, ad as onBeforeUnmount, dQ as NO_NETWORK_ERROR_CODE, o as useTelemetry, dR as executionRetryMessage } from "./index-CYJmC7Ra.js";
|
|
2
|
+
import { _ as _sfc_main$4, C as ConcurrentExecutionsHeader, E as ExecutionsFilter } from "./ExecutionsTime.vue_vue_type_script_setup_true_lang-Ceq2psmv.js";
|
|
3
|
+
import { u as useExecutionHelpers } from "./useExecutionHelpers-C3ME9bsC.js";
|
|
4
|
+
import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-DbWLcKUA.js";
|
|
5
|
+
import { u as useWorkflowSaving } from "./useWorkflowSaving-C8feAx2_.js";
|
|
6
|
+
import "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BZ2GH0iH.js";
|
|
7
7
|
const _hoisted_1$1 = { key: 2 };
|
|
8
8
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "WorkflowExecutionsCard",
|
|
@@ -559,7 +559,7 @@ const style0$1 = {
|
|
|
559
559
|
const cssModules$1 = {
|
|
560
560
|
"$style": style0$1
|
|
561
561
|
};
|
|
562
|
-
const WorkflowExecutionsSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__cssModules", cssModules$1], ["__scopeId", "data-v-
|
|
562
|
+
const WorkflowExecutionsSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__cssModules", cssModules$1], ["__scopeId", "data-v-f1e1d0a3"]]);
|
|
563
563
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
564
564
|
__name: "WorkflowExecutionsList",
|
|
565
565
|
props: {
|
package/dist/assets/{WorkflowExecutionsView-BjdRnQOE.css → WorkflowExecutionsView-CZziPgtr.css}
RENAMED
|
@@ -529,11 +529,11 @@
|
|
|
529
529
|
-------------------------- */
|
|
530
530
|
/* BEM
|
|
531
531
|
-------------------------- */
|
|
532
|
-
.executions-sidebar[data-v-
|
|
532
|
+
.executions-sidebar[data-v-f1e1d0a3] .el-skeleton__item {
|
|
533
533
|
height: 60px;
|
|
534
534
|
border-radius: 0;
|
|
535
535
|
}
|
|
536
|
-
[data-v-
|
|
536
|
+
[data-v-f1e1d0a3] .el-checkbox {
|
|
537
537
|
display: flex;
|
|
538
538
|
align-items: center;
|
|
539
539
|
}/* BEM support Func
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { W as WorkflowPreview } from "./WorkflowPreview-
|
|
3
|
-
import { F as FileSaver_minExports } from "./FileSaver.min-
|
|
1
|
+
import { A as defineComponent, r as ref, c as computed, cL as dateFormat, b as useI18n, ac as onMounted, C as resolveComponent, G as createElementBlock, H as openBlock, aF as normalizeClass, I as renderSlot, L as createBaseVNode, J as createVNode, O as toDisplayString, K as withCtx, N as createTextVNode, $ as createBlock, an as createCommentVNode, Q as unref, aH as withModifiers, av as _export_sfc, aN as Fragment, aO as renderList, ek as get, bl as defineStore, p as useRootStore, l as useSettingsStore, e as useWorkflowsStore, x as getNewWorkflow, a6 as useRoute, j as useRouter, k as useToast, m as usePageRedirectionHelper, u as useUIStore, V as VIEWS, bt as getResourcePermissions, b3 as onBeforeMount, dn as watchEffect, bd as telemetry, n as h, el as WORKFLOW_HISTORY_VERSION_RESTORE } from "./index-CYJmC7Ra.js";
|
|
2
|
+
import { W as WorkflowPreview } from "./WorkflowPreview-Cigbt4bL.js";
|
|
3
|
+
import { F as FileSaver_minExports } from "./FileSaver.min-Disj8eb5.js";
|
|
4
4
|
const _hoisted_1$3 = ["datetime"];
|
|
5
5
|
const _hoisted_2$1 = ["value"];
|
|
6
6
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
package/dist/assets/{WorkflowOnboardingView-B_vEpWHk.js → WorkflowOnboardingView-Dy-1IC0L.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as defineComponent, at as useLoadingService, au as useTemplatesStore, e as useWorkflowsStore, j as useRouter, a6 as useRoute, ac as onMounted, V as VIEWS, G as createElementBlock, H as openBlock, b as useI18n } from "./index-CYJmC7Ra.js";
|
|
2
2
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3
3
|
__name: "WorkflowOnboardingView",
|
|
4
4
|
setup(__props) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as defineComponent, k as useToast, a$ as useExecutionsStore, r as ref, c as computed, ac as onMounted, ad as onBeforeUnmount, ae as watch, C as resolveComponent, G as createElementBlock, H as openBlock, an as createCommentVNode, L as createBaseVNode, aF as normalizeClass, J as createVNode, b as useI18n, av as _export_sfc } from "./index-CYJmC7Ra.js";
|
|
2
2
|
const _hoisted_1 = ["src"];
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "WorkflowPreview",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { P as ProjectCardBadge, _ as _sfc_main$4 } from "./ProjectCardBadge-
|
|
2
|
-
import {
|
|
3
|
-
import { W as WorkflowActivator, _ as __unplugin_components_0, I as InlineTextEdit } from "./WorkflowActivator-
|
|
4
|
-
import { R as ResourcesListLayout } from "./ResourcesListLayout-
|
|
5
|
-
import { P as ProjectHeader } from "./ProjectHeader-
|
|
6
|
-
import { u as useProjectPages } from "./useProjectPages-
|
|
7
|
-
import { I as InsightsSummary } from "./InsightsSummary-
|
|
8
|
-
import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-
|
|
9
|
-
import "./useWorkflowActivate-
|
|
1
|
+
import { P as ProjectCardBadge, _ as _sfc_main$4 } from "./ProjectCardBadge-CofRlXsk.js";
|
|
2
|
+
import { A as defineComponent, a6 as useRoute, j as useRouter, dS as useFoldersStore, r as ref, c as computed, b as useI18n, bx as ProjectTypes, V as VIEWS, C as resolveComponent, G as createElementBlock, H as openBlock, J as createVNode, K as withCtx, aF as normalizeClass, L as createBaseVNode, an as createCommentVNode, $ as createBlock, Q as unref, bz as ResourceType, aH as withModifiers, N as createTextVNode, O as toDisplayString, cM as _sfc_main$3, av as _export_sfc, k as useToast, l as useSettingsStore, u as useUIStore, al as useUsersStore, e as useWorkflowsStore, cK as useProjectsStore, bt as getResourcePermissions, cL as dateFormat, R as withDirectives, aY as vShow, dT as WORKFLOW_SHARE_MODAL_KEY, o as useTelemetry, dU as DUPLICATE_MODAL_KEY, g as useMessage, i as MODAL_CONFIRM, cO as PROJECT_MOVE_RESOURCE_MODAL, dV as FOLDER_NAME_ILLEGAL_CHARACTERS_REGEX, dW as ILLEGAL_FOLDER_CHARACTERS, dX as FOLDER_NAME_ONLY_DOTS_REGEX, dY as FOLDER_NAME_MAX_LENGTH, ao as useSourceControlStore, dq as usePostHog, dZ as useTagsStore, bs as useUsageStore, cP as useInsightsStore, aJ as useDocumentTitle, be as useDebounce, E as EnterpriseEditionFeature, d_ as EASY_AI_WORKFLOW_EXPERIMENT, ae as watch, ac as onMounted, T as createEventBus, ad as onBeforeUnmount, d$ as debounce, e0 as PROJECT_ROOT, aW as createSlots, b5 as N8nInputLabel, du as _sfc_main$5, bb as N8nSelect, aN as Fragment, aO as renderList, ba as _sfc_main$6, br as N8nHeading, b4 as N8nText, e1 as N8nCard, e2 as N8nIcon, bG as Draggable, e3 as DEFAULT_WORKFLOW_PAGE_SIZE, bw as COMMUNITY_PLUS_ENROLLMENT_MODAL } from "./index-CYJmC7Ra.js";
|
|
3
|
+
import { W as WorkflowActivator, _ as __unplugin_components_0, I as InlineTextEdit } from "./WorkflowActivator-D-Hnqidn.js";
|
|
4
|
+
import { R as ResourcesListLayout } from "./ResourcesListLayout-qljecvR-.js";
|
|
5
|
+
import { P as ProjectHeader } from "./ProjectHeader-BvA7Wpwr.js";
|
|
6
|
+
import { u as useProjectPages } from "./useProjectPages-vmgKLBn6.js";
|
|
7
|
+
import { I as InsightsSummary } from "./InsightsSummary-B5VSOlKK.js";
|
|
8
|
+
import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-Cr-_M_d8.js";
|
|
9
|
+
import "./useWorkflowActivate-CDImNya8.js";
|
|
10
10
|
const FOLDER_LIST_ITEM_ACTIONS = {
|
|
11
11
|
OPEN: "open",
|
|
12
12
|
CREATE: "create",
|
|
@@ -390,18 +390,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
390
390
|
value: WORKFLOW_LIST_ITEM_ACTIONS.DUPLICATE
|
|
391
391
|
});
|
|
392
392
|
}
|
|
393
|
-
if (workflowPermissions.value.update && showFolders.value &&
|
|
393
|
+
if ((workflowPermissions.value.update && !props.readOnly || workflowPermissions.value.move && projectsStore.isTeamProjectFeatureEnabled) && showFolders.value && route.name !== VIEWS.SHARED_WORKFLOWS) {
|
|
394
394
|
items.push({
|
|
395
395
|
label: locale.baseText("folders.actions.moveToFolder"),
|
|
396
396
|
value: WORKFLOW_LIST_ITEM_ACTIONS.MOVE_TO_FOLDER
|
|
397
397
|
});
|
|
398
398
|
}
|
|
399
|
-
if (workflowPermissions.value.move && projectsStore.isTeamProjectFeatureEnabled) {
|
|
400
|
-
items.push({
|
|
401
|
-
label: locale.baseText("workflows.item.changeOwner"),
|
|
402
|
-
value: WORKFLOW_LIST_ITEM_ACTIONS.MOVE
|
|
403
|
-
});
|
|
404
|
-
}
|
|
405
399
|
if (workflowPermissions.value.delete && !props.readOnly) {
|
|
406
400
|
if (!props.data.isArchived) {
|
|
407
401
|
items.push({
|
|
@@ -498,7 +492,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
498
492
|
emit("action:move-to-folder", {
|
|
499
493
|
id: props.data.id,
|
|
500
494
|
name: props.data.name,
|
|
501
|
-
parentFolderId: props.data.parentFolder?.id
|
|
495
|
+
parentFolderId: props.data.parentFolder?.id,
|
|
496
|
+
sharedWithProjects: props.data.sharedWithProjects
|
|
502
497
|
});
|
|
503
498
|
break;
|
|
504
499
|
}
|
|
@@ -1096,7 +1091,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1096
1091
|
createdAt: resource.createdAt.toString(),
|
|
1097
1092
|
updatedAt: resource.updatedAt.toString(),
|
|
1098
1093
|
homeProject: resource.homeProject,
|
|
1099
|
-
sharedWithProjects: resource.sharedWithProjects,
|
|
1100
1094
|
workflowCount: resource.workflowCount,
|
|
1101
1095
|
subFolderCount: resource.subFolderCount,
|
|
1102
1096
|
parentFolder: resource.parentFolder
|
|
@@ -1213,14 +1207,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1213
1207
|
workflowListEventBus.on("workflow-duplicated", fetchWorkflows);
|
|
1214
1208
|
workflowListEventBus.on("folder-deleted", onFolderDeleted);
|
|
1215
1209
|
workflowListEventBus.on("folder-moved", moveFolder);
|
|
1210
|
+
workflowListEventBus.on("folder-transferred", onFolderTransferred);
|
|
1216
1211
|
workflowListEventBus.on("workflow-moved", onWorkflowMoved);
|
|
1212
|
+
workflowListEventBus.on("workflow-transferred", onWorkflowTransferred);
|
|
1217
1213
|
});
|
|
1218
1214
|
onBeforeUnmount(() => {
|
|
1219
1215
|
workflowListEventBus.off("resource-moved", fetchWorkflows);
|
|
1220
1216
|
workflowListEventBus.off("workflow-duplicated", fetchWorkflows);
|
|
1221
1217
|
workflowListEventBus.off("folder-deleted", onFolderDeleted);
|
|
1222
1218
|
workflowListEventBus.off("folder-moved", moveFolder);
|
|
1219
|
+
workflowListEventBus.off("folder-transferred", onFolderTransferred);
|
|
1223
1220
|
workflowListEventBus.off("workflow-moved", onWorkflowMoved);
|
|
1221
|
+
workflowListEventBus.off("workflow-transferred", onWorkflowTransferred);
|
|
1224
1222
|
});
|
|
1225
1223
|
const initialize = async () => {
|
|
1226
1224
|
loading.value = true;
|
|
@@ -1713,7 +1711,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1713
1711
|
createdAt: newFolder.createdAt,
|
|
1714
1712
|
updatedAt: newFolder.updatedAt,
|
|
1715
1713
|
homeProject: projectsStore.currentProject,
|
|
1716
|
-
sharedWithProjects: [],
|
|
1717
1714
|
workflowCount: 0,
|
|
1718
1715
|
subFolderCount: 0
|
|
1719
1716
|
}
|
|
@@ -1802,14 +1799,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1802
1799
|
await foldersStore.moveFolder(
|
|
1803
1800
|
route.params.projectId,
|
|
1804
1801
|
payload.folder.id,
|
|
1805
|
-
payload.newParent.type === "
|
|
1802
|
+
payload.newParent.type === "folder" ? payload.newParent.id : "0"
|
|
1806
1803
|
);
|
|
1807
1804
|
const isCurrentFolder = currentFolderId.value === payload.folder.id;
|
|
1808
1805
|
const newFolderURL = router.resolve({
|
|
1809
1806
|
name: VIEWS.PROJECTS_FOLDERS,
|
|
1810
1807
|
params: {
|
|
1811
1808
|
projectId: route.params.projectId,
|
|
1812
|
-
folderId: payload.newParent.type === "
|
|
1809
|
+
folderId: payload.newParent.type === "folder" ? payload.newParent.id : void 0
|
|
1813
1810
|
}
|
|
1814
1811
|
}).href;
|
|
1815
1812
|
if (isCurrentFolder && !payload.options?.skipNavigation) {
|
|
@@ -1818,7 +1815,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1818
1815
|
toast.showToast({
|
|
1819
1816
|
title: i18n.baseText("folders.move.success.title"),
|
|
1820
1817
|
message: i18n.baseText("folders.move.success.message", {
|
|
1821
|
-
interpolate: {
|
|
1818
|
+
interpolate: {
|
|
1819
|
+
folderName: payload.folder.name,
|
|
1820
|
+
newFolderName: payload.newParent.name
|
|
1821
|
+
}
|
|
1822
1822
|
}),
|
|
1823
1823
|
onClick: (event) => {
|
|
1824
1824
|
if (event?.target instanceof HTMLAnchorElement) {
|
|
@@ -1836,6 +1836,45 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1836
1836
|
toast.showError(error, i18n.baseText("folders.move.error.title"));
|
|
1837
1837
|
}
|
|
1838
1838
|
};
|
|
1839
|
+
const onFolderTransferred = async (payload) => {
|
|
1840
|
+
const destinationParentFolderId = payload.newParent.type === "folder" ? payload.newParent.id : void 0;
|
|
1841
|
+
await foldersStore.moveFolderToProject(
|
|
1842
|
+
payload.projectId,
|
|
1843
|
+
payload.folder.id,
|
|
1844
|
+
payload.destinationProjectId,
|
|
1845
|
+
destinationParentFolderId,
|
|
1846
|
+
payload.shareCredentials
|
|
1847
|
+
);
|
|
1848
|
+
const isCurrentFolder = currentFolderId.value === payload.folder.id;
|
|
1849
|
+
const newFolderURL = router.resolve({
|
|
1850
|
+
name: VIEWS.PROJECTS_FOLDERS,
|
|
1851
|
+
params: {
|
|
1852
|
+
projectId: payload.destinationProjectId,
|
|
1853
|
+
folderId: destinationParentFolderId
|
|
1854
|
+
}
|
|
1855
|
+
}).href;
|
|
1856
|
+
if (isCurrentFolder) {
|
|
1857
|
+
void router.push(newFolderURL);
|
|
1858
|
+
} else {
|
|
1859
|
+
toast.showToast({
|
|
1860
|
+
title: i18n.baseText("folders.move.success.title"),
|
|
1861
|
+
message: i18n.baseText("folders.move.success.message", {
|
|
1862
|
+
interpolate: {
|
|
1863
|
+
folderName: payload.folder.name,
|
|
1864
|
+
newFolderName: payload.newParent.name
|
|
1865
|
+
}
|
|
1866
|
+
}),
|
|
1867
|
+
onClick: (event) => {
|
|
1868
|
+
if (event?.target instanceof HTMLAnchorElement) {
|
|
1869
|
+
event.preventDefault();
|
|
1870
|
+
void router.push(newFolderURL);
|
|
1871
|
+
}
|
|
1872
|
+
},
|
|
1873
|
+
type: "success"
|
|
1874
|
+
});
|
|
1875
|
+
await fetchWorkflows();
|
|
1876
|
+
}
|
|
1877
|
+
};
|
|
1839
1878
|
const moveWorkflowToFolder = async (payload) => {
|
|
1840
1879
|
if (showRegisteredCommunityCTA.value) {
|
|
1841
1880
|
uiStore.openModalWithData({
|
|
@@ -1846,10 +1885,52 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1846
1885
|
}
|
|
1847
1886
|
uiStore.openMoveToFolderModal(
|
|
1848
1887
|
"workflow",
|
|
1849
|
-
{
|
|
1888
|
+
{
|
|
1889
|
+
id: payload.id,
|
|
1890
|
+
name: payload.name,
|
|
1891
|
+
parentFolderId: payload.parentFolderId,
|
|
1892
|
+
sharedWithProjects: payload.sharedWithProjects
|
|
1893
|
+
},
|
|
1850
1894
|
workflowListEventBus
|
|
1851
1895
|
);
|
|
1852
1896
|
};
|
|
1897
|
+
const onWorkflowTransferred = async (payload) => {
|
|
1898
|
+
const parentFolderId = payload.newParent.type === "folder" ? payload.newParent.id : void 0;
|
|
1899
|
+
await projectsStore.moveResourceToProject(
|
|
1900
|
+
"workflow",
|
|
1901
|
+
payload.workflow.id,
|
|
1902
|
+
payload.projectId,
|
|
1903
|
+
parentFolderId,
|
|
1904
|
+
payload.shareCredentials
|
|
1905
|
+
);
|
|
1906
|
+
await fetchWorkflows();
|
|
1907
|
+
try {
|
|
1908
|
+
toast.showToast({
|
|
1909
|
+
title: i18n.baseText("folders.move.workflow.success.title"),
|
|
1910
|
+
message: i18n.baseText("folders.move.workflow.success.message", {
|
|
1911
|
+
interpolate: {
|
|
1912
|
+
workflowName: payload.workflow.name,
|
|
1913
|
+
newFolderName: payload.newParent.name
|
|
1914
|
+
}
|
|
1915
|
+
}),
|
|
1916
|
+
onClick: (event) => {
|
|
1917
|
+
if (event?.target instanceof HTMLAnchorElement) {
|
|
1918
|
+
event.preventDefault();
|
|
1919
|
+
void router.push({
|
|
1920
|
+
name: VIEWS.PROJECTS_FOLDERS,
|
|
1921
|
+
params: {
|
|
1922
|
+
projectId: payload.projectId,
|
|
1923
|
+
folderId: payload.newParent.type === "folder" ? payload.newParent.id : void 0
|
|
1924
|
+
}
|
|
1925
|
+
});
|
|
1926
|
+
}
|
|
1927
|
+
},
|
|
1928
|
+
type: "success"
|
|
1929
|
+
});
|
|
1930
|
+
} catch (error) {
|
|
1931
|
+
toast.showError(error, i18n.baseText("folders.move.workflow.error.title"));
|
|
1932
|
+
}
|
|
1933
|
+
};
|
|
1853
1934
|
const onWorkflowMoved = async (payload) => {
|
|
1854
1935
|
if (!route.params.projectId) return;
|
|
1855
1936
|
try {
|
|
@@ -1857,14 +1938,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1857
1938
|
name: VIEWS.PROJECTS_FOLDERS,
|
|
1858
1939
|
params: {
|
|
1859
1940
|
projectId: route.params.projectId,
|
|
1860
|
-
folderId: payload.newParent.type === "
|
|
1941
|
+
folderId: payload.newParent.type === "folder" ? payload.newParent.id : void 0
|
|
1861
1942
|
}
|
|
1862
1943
|
}).href;
|
|
1863
1944
|
const workflowResource = workflowsAndFolders.value.find(
|
|
1864
1945
|
(resource) => resource.id === payload.workflow.id
|
|
1865
1946
|
);
|
|
1866
1947
|
await workflowsStore.updateWorkflow(payload.workflow.id, {
|
|
1867
|
-
parentFolderId: payload.newParent.type === "
|
|
1948
|
+
parentFolderId: payload.newParent.type === "folder" ? payload.newParent.id : "0",
|
|
1868
1949
|
versionId: workflowResource?.versionId
|
|
1869
1950
|
});
|
|
1870
1951
|
if (!payload.options?.skipFetch) {
|
|
@@ -1873,7 +1954,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1873
1954
|
toast.showToast({
|
|
1874
1955
|
title: i18n.baseText("folders.move.workflow.success.title"),
|
|
1875
1956
|
message: i18n.baseText("folders.move.workflow.success.message", {
|
|
1876
|
-
interpolate: {
|
|
1957
|
+
interpolate: {
|
|
1958
|
+
workflowName: payload.workflow.name,
|
|
1959
|
+
newFolderName: payload.newParent.name
|
|
1960
|
+
}
|
|
1877
1961
|
}),
|
|
1878
1962
|
onClick: (event) => {
|
|
1879
1963
|
if (event?.target instanceof HTMLAnchorElement) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a6 as useRoute, ao as useSourceControlStore, e as useWorkflowsStore, c as computed, j as useRouter, ap as useCanvasOperations, aq as useNodeTypesStore, ar as START_NODE_TYPE, T as createEventBus } from "./index-CYJmC7Ra.js";
|
|
2
2
|
function useClearExecutionButtonVisible() {
|
|
3
3
|
const route = useRoute();
|
|
4
4
|
const sourceControlStore = useSourceControlStore();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as smartDecimal } from "./InsightsSummary-
|
|
1
|
+
import { aj as useCssVar, ak as merge } from "./index-CYJmC7Ra.js";
|
|
2
|
+
import { s as smartDecimal } from "./InsightsSummary-B5VSOlKK.js";
|
|
3
3
|
const generateLinearGradient = (ctx, height) => {
|
|
4
4
|
const gradient = ctx.createLinearGradient(0, 0, 0, height);
|
|
5
5
|
gradient.addColorStop(0, "rgba(255, 111,92, 1)");
|