n8n-editor-ui 1.92.0 → 1.93.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-CtKKeDrz.js → AnimatedSpinner-hbTZDd93.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DR6h_xsK.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-CYzc5StE.js} +1 -1
- package/dist/assets/{AuthView-mKkzBRxh.js → AuthView-8SLMP0H_.js} +2 -2
- package/dist/assets/{CanvasChatSwitch-Bu2VD2kp.js → CanvasChatSwitch-Dt8TgNJg.js} +10 -10
- package/dist/assets/{ChangePasswordView-D5UI1v-J.js → ChangePasswordView-DIRyDp89.js} +3 -3
- package/dist/assets/CollectionParameter-Cj4t6-hd.js +4 -0
- package/dist/assets/{CredentialsView-B78eNJO5.js → CredentialsView-B6-VxAJ6.js} +26 -11
- package/dist/assets/{DemoFooter-DP26HpCu.js → DemoFooter-CIHwH5PG.js} +8 -8
- package/dist/assets/{ErrorView-C3fvEdCg.js → ErrorView-C7i0TZwT.js} +1 -1
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-BBpwYdHY.js → ExecutionsTime.vue_vue_type_script_setup_true_lang--2G21NNR.js} +2 -2
- package/dist/assets/{ExecutionsView-BvlDZwIs.js → ExecutionsView-C_YtciAr.js} +10 -9
- package/dist/assets/{FileSaver.min-BzAtcQXX.js → FileSaver.min-bgn7Q9Gt.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-CS5zXMAh.js → FixedCollectionParameter-BPCJ5aaq.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-CVQ7pcIG.js → ForgotMyPasswordView-DyUaGd6Z.js} +3 -3
- package/dist/assets/{InsightsChartAverageRuntime-Boh0SMb3.js → InsightsChartAverageRuntime-BB2I2vpV.js} +4 -4
- package/dist/assets/{InsightsChartFailed-IZ-KYOU9.js → InsightsChartFailed-CN_Rl3Bl.js} +4 -4
- package/dist/assets/{InsightsChartFailureRate-2fWw3p0L.js → InsightsChartFailureRate-CHKlg6tg.js} +4 -4
- package/dist/assets/{InsightsChartTimeSaved-B2pLVys1.js → InsightsChartTimeSaved-Cd05cM8q.js} +4 -4
- package/dist/assets/{InsightsChartTotal-2QD4wPLR.js → InsightsChartTotal-ChAO7myf.js} +4 -4
- package/dist/assets/{InsightsDashboard-CbiFbJ8w.js → InsightsDashboard-BeCfBVUz.js} +10 -10
- package/dist/assets/{InsightsPaywall-5d-cSdiS.js → InsightsPaywall-Chz8CDc3.js} +1 -1
- package/dist/assets/{InsightsSummary-gldDQ9rg.js → InsightsSummary-MECenLJQ.js} +1 -1
- package/dist/assets/{InsightsTableWorkflows-_eTCUNCX.js → InsightsTableWorkflows-5rpYY7YT.js} +2 -2
- package/dist/assets/{Logo-Dl2xVRIu.js → Logo-DUDCllkm.js} +1 -1
- package/dist/assets/{LogsPanel-JnYirDqa.js → LogsPanel-D9r5AcQH.js} +7 -6
- package/dist/assets/{MainHeader-CEPLiR-5.css → MainHeader-CEMGASqv.css} +18 -11
- package/dist/assets/{MainHeader-Bk29pgmL.js → MainHeader-DkKOOZ_D.js} +145 -79
- package/dist/assets/{MainSidebar-zZpP3qQ0.css → MainSidebar-D1_1YFQZ.css} +2 -2
- package/dist/assets/{MainSidebar-BM5ku_wM.js → MainSidebar-ZUBIWeXm.js} +28 -11
- package/dist/assets/{NodeCreation-BEjdAYc_.js → NodeCreation-DCfAFuL5.js} +10 -5
- package/dist/assets/{NodeCreator-D9fmPdS2.css → NodeCreator-D18StsVZ.css} +1021 -174
- package/dist/assets/{NodeCreator-cEUgbAI9.js → NodeCreator-a0YVv1IE.js} +863 -418
- package/dist/assets/{NodeDetailsView-D4O9dKTA.js → NodeDetailsView-C5_hVJzj.js} +13 -15
- package/dist/assets/{NodeDetailsView-DsFLtbxi.css → NodeDetailsView-pYP-34nS.css} +16 -16
- package/dist/assets/{NodeView-DDSOUm8E.js → NodeView-Bk9h8GYy.js} +36 -25
- package/dist/assets/{ProjectCardBadge-BNn2hiMe.js → ProjectCardBadge-DRlDZx3d.js} +38 -2
- package/dist/assets/{ProjectHeader-CaEZ2OPj.js → ProjectHeader-DNm605Kk.js} +106 -64
- package/dist/assets/{ProjectSettings-otA8E-yW.js → ProjectSettings-Dge_6KaR.js} +3 -2
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-C3JbZMCk.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-CUf0LkWR.js} +1 -1
- package/dist/assets/{ResourcesListLayout-1d9Ic6VX.js → ResourcesListLayout-Bbl-1i4l.js} +156 -53
- package/dist/assets/{ResourcesListLayout-CtGME7aU.css → ResourcesListLayout-DuNjbsMn.css} +8 -8
- package/dist/assets/{RunData-BjlZgIyx.css → RunData-DQeENuzG.css} +2 -2
- package/dist/assets/{RunData-Bx47sNQp.js → RunData-b0RE2JWc.js} +46 -29
- package/dist/assets/{RunDataAi-DOac7nwD.js → RunDataAi-DnWcCR_0.js} +4 -4
- package/dist/assets/{RunDataJson-Pev6yNEV.js → RunDataJson-CptVuHuA.js} +7 -7
- package/dist/assets/{RunDataJsonActions-Co4xgmVq.js → RunDataJsonActions-3jjDztw7.js} +1 -1
- package/dist/assets/{RunDataParsedAiContent-D6MNLmT3.js → RunDataParsedAiContent-BbXv-NPD.js} +5 -5
- package/dist/assets/{RunDataSearch-C8orcAlP.js → RunDataSearch-B90wjsDA.js} +1 -1
- package/dist/assets/{RunDataTable-oi_l8dhA.js → RunDataTable-CpS78GlT.js} +3 -3
- package/dist/assets/{SamlOnboarding-CT5J6dx0.js → SamlOnboarding-Ch9K5rRW.js} +3 -3
- package/dist/assets/{SettingsApiView-CupjcI9v.js → SettingsApiView-9GU5n_rm.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-B5K2VLyJ.js → SettingsCommunityNodesView-CPnVRzNX.js} +24 -11
- package/dist/assets/{SettingsExternalSecrets-BidJCf_t.js → SettingsExternalSecrets-D7xTMV9h.js} +1 -1
- package/dist/assets/{SettingsLdapView-Cva6akhW.js → SettingsLdapView-OfrjGKkt.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-Cy-rAKUO.js → SettingsLogStreamingView-C_VnOaeX.js} +1 -1
- package/dist/assets/{SettingsPersonalView-ZJ1Syok2.js → SettingsPersonalView-Dm24akPV.js} +1 -1
- package/dist/assets/{SettingsSourceControl-CMtqqlkO.js → SettingsSourceControl-DDCmL82j.js} +1 -1
- package/dist/assets/{SettingsSso-Bi3OpykL.js → SettingsSso-BGGQ0Cpg.js} +14 -1
- package/dist/assets/{SettingsUsageAndPlan-C5TbwZhP.js → SettingsUsageAndPlan-BzO_zdkH.js} +1 -1
- package/dist/assets/{SettingsUsersView-BHuP5k0A.js → SettingsUsersView-DHQUqhqB.js} +1 -1
- package/dist/assets/{SettingsView-DPIIqaKN.js → SettingsView-CbtAqjOX.js} +1 -1
- package/dist/assets/{SetupView-C4V9j6sh.js → SetupView-BME1OE6U.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-BZ9ILQUp.js → SetupWorkflowCredentialsButton-DZr4TCPC.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-3uV3zSU2.js → SetupWorkflowFromTemplateView-CPkKEY04.js} +3 -3
- package/dist/assets/{SigninView-DWZHdCjG.js → SigninView-DUeRvOiY.js} +3 -3
- package/dist/assets/{SignoutView-DbduXAir.js → SignoutView-BC7SBunZ.js} +1 -1
- package/dist/assets/{SignupView-DWq6VACk.js → SignupView-B5ecYJ2q.js} +3 -3
- package/dist/assets/{TemplateDetails-BckqE6GK.js → TemplateDetails-DjanZgC1.js} +1 -1
- package/dist/assets/{TemplateList-Bw0JeBMP.js → TemplateList-8TyNGxY-.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-CAKT-mpV.js → TemplatesCollectionView-BkH4pJCv.js} +5 -5
- package/dist/assets/{TemplatesSearchView-I2a5us58.js → TemplatesSearchView-Bcdhi1SL.js} +3 -3
- package/dist/assets/{TemplatesView-6EwGFFJK.js → TemplatesView-De2XB6We.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-C8xYMhwu.js → TemplatesWorkflowView-BVnwtrMa.js} +5 -5
- package/dist/assets/{TestDefinitionEditView-CNd3Cuzq.js → TestDefinitionEditView-DjmPnrTk.js} +7 -7
- package/dist/assets/{TestDefinitionListView-BwTWIaAM.js → TestDefinitionListView-BL2s_qBZ.js} +1 -1
- package/dist/assets/{TestDefinitionNewView-BQas0_G1.js → TestDefinitionNewView-B9BqJZST.js} +2 -2
- package/dist/assets/{TestDefinitionRootView-D971MFye.js → TestDefinitionRootView-AlWyxbc0.js} +1 -1
- package/dist/assets/{VariablesView-DcBBuFxh.js → VariablesView-BZCvPfan.js} +4 -3
- package/dist/assets/{WorkerView-DSgBNIeb.js → WorkerView-CigxqnWi.js} +6 -6
- package/dist/assets/{WorkflowActivator-CPCbgb_n.js → WorkflowActivator-B7jRy4L1.js} +8 -4
- package/dist/assets/{WorkflowActivator-DAyH7N29.css → WorkflowActivator-DrMTmuTZ.css} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-Bc6vzAZu.js → WorkflowExecutionsInfoAccordion-C_ZycbsF.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-BPPS4V9i.js → WorkflowExecutionsLandingPage-DOqrfKlC.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-Bbb5MB8Z.js → WorkflowExecutionsPreview-B4Cj2gXW.js} +6 -6
- package/dist/assets/{WorkflowExecutionsView-Pz-7iHJY.js → WorkflowExecutionsView-RXfP7zkJ.js} +8 -8
- package/dist/assets/{WorkflowHistory-Czo9IuI6.js → WorkflowHistory-DrXrRwIS.js} +37 -19
- package/dist/assets/{WorkflowOnboardingView-B8DdkfJ5.js → WorkflowOnboardingView-CXH1vCW2.js} +1 -1
- package/dist/assets/{WorkflowPreview-eVlO1itk.js → WorkflowPreview-B_MuFEV8.js} +1 -1
- package/dist/assets/{WorkflowsView-B2_HJCJ5.css → WorkflowsView-CQvTAWQ0.css} +24 -13
- package/dist/assets/{WorkflowsView-Cr2D0vym.js → WorkflowsView-D90hfJ35.js} +299 -157
- package/dist/assets/{chartjs.utils-Dk1WO3Mr.js → chartjs.utils-DalQn9bk.js} +2 -2
- package/dist/assets/{dateFormatter-C8N5khiG.js → dateFormatter-BPfJSa6q.js} +1 -1
- package/dist/assets/{easyAiWorkflowUtils-CLqHnasO.js → easyAiWorkflowUtils-kgtpBx2h.js} +1 -1
- package/dist/assets/{global-link-actions-BvoZh8u9.js → global-link-actions-CnWOMvqA.js} +1 -1
- package/dist/assets/{import-curl-BpxkGYMX.js → import-curl-BvX_O56D.js} +1 -1
- package/dist/assets/{index-Br8T1Gn6.js → index-Bb2NNknG.js} +1 -1
- package/dist/assets/{index-B6eunbxp.js → index-DZ6VpjNj.js} +3686 -2273
- package/dist/assets/{index-DCpy4nCU.css → index-yNaoC3fo.css} +239 -97
- package/dist/assets/{pickBy-8Urz9lDY.js → pickBy-B_HGYyxS.js} +1 -1
- package/dist/assets/{templateActions-DzjysjbQ.js → templateActions-DQfZ3ni5.js} +1 -1
- package/dist/assets/{useBeforeUnload-DxrN8vOO.js → useBeforeUnload-Cu0LPVWe.js} +1 -1
- package/dist/assets/{useCanvasMapping-C2BQB9QB.js → useCanvasMapping-CTTq6x8X.js} +47 -28
- package/dist/assets/{useCanvasMapping-cuXLM-h-.css → useCanvasMapping-VtpW_QZA.css} +6 -5
- package/dist/assets/{useCanvasOperations-DaP5jKbH.js → useCanvasOperations-u8oSDa_u.js} +95 -444
- package/dist/assets/{useClearExecutionButtonVisible-BV-jMf2m.js → useClearExecutionButtonVisible-Dwc1_eG9.js} +2 -2
- package/dist/assets/{useExecutionDebugging-0pPCimcw.js → useExecutionDebugging-rc72wLIp.js} +1 -1
- package/dist/assets/{useExecutionHelpers-DIvhViMz.js → useExecutionHelpers-DqwMonFW.js} +2 -2
- package/dist/assets/{useImportCurlCommand-BWf4R83s.js → useImportCurlCommand-D_onuFvo.js} +2 -2
- package/dist/assets/useProjectPages-e8b03-5_.js +17 -0
- package/dist/assets/{usePushConnection-Pobjq0U9.js → usePushConnection-wm-7Id6Q.js} +22 -25
- package/dist/assets/{useTestDefinitionForm-BA3IS_2B.js → useTestDefinitionForm-DlUOnNC0.js} +1 -1
- package/dist/assets/{useWorkflowActivate-DFqvrpj6.js → useWorkflowActivate-65xML23U.js} +1 -1
- package/dist/assets/{useWorkflowSaving-BACesUoL.js → useWorkflowSaving-CUel20JA.js} +2 -2
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/dist/assets/CollectionParameter-BeCTpZ-q.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { gF as arrayMap, gG as getAllKeysIn, gH as baseIteratee, gI as basePickBy } from "./index-DZ6VpjNj.js";
|
|
2
2
|
function pickBy(object, predicate) {
|
|
3
3
|
if (object == null) {
|
|
4
4
|
return {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cY as assert, db as doesNodeHaveCredentialsToFill, V as VIEWS, c7 as tryToParseNumber, dc as getNewWorkflow, dd as replaceAllTemplateNodeCredentials, cb as getNodesWithNormalizedPosition } from "./index-DZ6VpjNj.js";
|
|
2
2
|
async function createWorkflowFromTemplate(opts) {
|
|
3
3
|
const { credentialOverrides, nodeTypeProvider, rootStore, template, workflowsStore } = opts;
|
|
4
4
|
const workflowData = await getNewWorkflow(rootStore.restApiContext, { name: template.name });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as useUIStore, $ as useCanvasStore, r as ref, q as computed, V as VIEWS, c as useI18n } from "./index-
|
|
1
|
+
import { H as useUIStore, $ as useCanvasStore, r as ref, q as computed, V as VIEWS, c as useI18n } from "./index-DZ6VpjNj.js";
|
|
2
2
|
function useBeforeUnload({ route }) {
|
|
3
3
|
const uiStore = useUIStore();
|
|
4
4
|
const canvasStore = useCanvasStore();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _export_sfc$1, i as createElementBlock, g as openBlock, k as createBaseVNode, d as defineComponent,
|
|
2
|
-
import { p as parseCanvasConnectionHandleString,
|
|
1
|
+
import { _ as _export_sfc$1, i as createElementBlock, g as openBlock, k as createBaseVNode, d as defineComponent, fX as getCurrentScope, b0 as inject, fY as effectScope, X as watch, cZ as getCurrentInstance, fZ as useSlots, bb as onUnmounted, j as createVNode, x as renderSlot, w as withCtx, m as unref, r as ref, f_ as useAttrs, f as createCommentVNode, e as createBlock, b7 as mergeProps, F as Fragment, bO as toRef, f$ as Teleport, g0 as createPropsRestProxy, q as computed, o as onMounted, n as normalizeClass, bR as reactive, g1 as onScopeDispose, az as onBeforeMount, D as renderList, B as normalizeStyle, z as nextTick, y as onBeforeUnmount, g2 as isMemoSame, t as toDisplayString, b6 as resolveDynamicComponent, l as createTextVNode, b1 as isRef, b3 as toRefs$1, g3 as customRef, bh as provide, h as resolveComponent, aq as h, g4 as toValue$1, g5 as markRaw, g6 as readonly, c as useI18n, bQ as KeyboardShortcutTooltip, bm as NodeConnectionTypes, g7 as CanvasKey, Y as useCssModule, H as useUIStore, bz as useNodeTypesStore, Q as useWorkflowsStore, a0 as useSourceControlStore, a7 as getResourcePermissions, g8 as EXECUTE_WORKFLOW_NODE_TYPE, fD as getSubworkflowId, el as isPresent, g9 as getMousePosition$1, ay as STICKY_NODE_TYPE, bq as usePinnedData, ga as NOT_DUPLICATABLE_NODE_TYPES, gb as isExecutable, bK as useStyles, gc as N8nActionDropdown, cx as getDefaultExportFromCjs, fT as NODE_SIZE, cd as CanvasNodeRenderType, fU as GRID_SIZE, bN as useThrottleFn, gd as useActiveElement, ge as useDeviceSupport, gf as useEventListener$1, gg as onKeyDown, gh as onKeyUp, a_ as watchEffect, b4 as normalizeProps, aV as createSlots, c8 as isValidNodeConnectionType, c9 as CanvasConnectionMode, gi as CanvasNodeKey, gj as mergeModels, gk as useModel, bA as useNodeHelpers, gl as TitledList, aR as N8nTooltip, gm as CanvasNodeDirtiness, bC as _sfc_main$A, b2 as withModifiers, ah as nodeViewEventBus, cc as NODE_CREATOR_OPEN_SOURCES, bW as useBuilderStore, bd as withKeys, gn as CanvasNodeHandleKey, aA as withDirectives, aB as vShow, go as Transition$2, b as useRouter, bB as useRunWorkflow, aZ as LOGS_PANEL_STATE, bk as CHAT_TRIGGER_NODE_TYPE, C as createEventBus, eq as isEqual, p as useSettingsStore, c4 as Suspense, b5 as guardReactiveProps, gp as useNodeDirtiness, fC as CUSTOM_API_CALL_KEY, bw as getNodeInputs, by as getNodeOutputs, dB as getTriggerNodeServiceName, cu as sanitizeHtml, gq as WAIT_NODE_TYPE, gr as SEND_AND_WAIT_OPERATION, gs as FORM_NODE_TYPE, gt as WAIT_INDEFINITELY, gu as SIMULATE_NODE_TYPE, gv as SIMULATE_TRIGGER_NODE_TYPE, gw as getNodeIconSource } from "./index-DZ6VpjNj.js";
|
|
2
|
+
import { p as parseCanvasConnectionHandleString, u as useNodeCreatorStore, a as useCanvasOperations, i as insertSpacersBetweenEndpoints, c as createCanvasConnectionHandleString, m as mapLegacyEndpointsToCanvasConnectionPort, d as checkOverlap, e as mapLegacyConnectionsToCanvasConnections } from "./useCanvasOperations-u8oSDa_u.js";
|
|
3
3
|
const _sfc_main$z = {};
|
|
4
4
|
const _hoisted_1$d = {
|
|
5
5
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -10073,8 +10073,14 @@ const useContextMenu = (onAction = () => {
|
|
|
10073
10073
|
() => getResourcePermissions(workflowsStore.workflow.scopes).workflow
|
|
10074
10074
|
);
|
|
10075
10075
|
const isReadOnly = computed(
|
|
10076
|
-
() => sourceControlStore.preferences.branchReadOnly || uiStore.isReadOnlyView || !workflowPermissions.value.update
|
|
10076
|
+
() => sourceControlStore.preferences.branchReadOnly || uiStore.isReadOnlyView || !workflowPermissions.value.update || workflowsStore.workflow.isArchived
|
|
10077
10077
|
);
|
|
10078
|
+
const canOpenSubworkflow = computed(() => {
|
|
10079
|
+
if (targetNodes.value.length !== 1) return false;
|
|
10080
|
+
const node2 = targetNodes.value[0];
|
|
10081
|
+
if (node2.type !== EXECUTE_WORKFLOW_NODE_TYPE) return false;
|
|
10082
|
+
return getSubworkflowId(node2);
|
|
10083
|
+
});
|
|
10078
10084
|
const targetNodeIds = computed(() => {
|
|
10079
10085
|
if (!isOpen.value || !target.value) return [];
|
|
10080
10086
|
const currentTarget = target.value;
|
|
@@ -10113,7 +10119,7 @@ const useContextMenu = (onAction = () => {
|
|
|
10113
10119
|
};
|
|
10114
10120
|
const open = (event, menuTarget) => {
|
|
10115
10121
|
event.stopPropagation();
|
|
10116
|
-
if (isOpen.value && menuTarget.source === target.value?.source) {
|
|
10122
|
+
if (isOpen.value && menuTarget.source === target.value?.source && menuTarget.nodeId === target.value?.nodeId) {
|
|
10117
10123
|
close();
|
|
10118
10124
|
return;
|
|
10119
10125
|
}
|
|
@@ -10207,6 +10213,7 @@ const useContextMenu = (onAction = () => {
|
|
|
10207
10213
|
}
|
|
10208
10214
|
].filter(Boolean);
|
|
10209
10215
|
if (nodes.length === 1) {
|
|
10216
|
+
const isExecuteWorkflowNode = nodes[0].type === EXECUTE_WORKFLOW_NODE_TYPE;
|
|
10210
10217
|
const singleNodeActions = onlyStickies ? [
|
|
10211
10218
|
{
|
|
10212
10219
|
id: "open",
|
|
@@ -10233,10 +10240,18 @@ const useContextMenu = (onAction = () => {
|
|
|
10233
10240
|
{
|
|
10234
10241
|
id: "rename",
|
|
10235
10242
|
label: i18n.baseText("contextMenu.rename"),
|
|
10236
|
-
shortcut: { keys: ["
|
|
10243
|
+
shortcut: { keys: ["Space"] },
|
|
10237
10244
|
disabled: isReadOnly.value
|
|
10238
10245
|
}
|
|
10239
10246
|
];
|
|
10247
|
+
if (isExecuteWorkflowNode) {
|
|
10248
|
+
singleNodeActions.push({
|
|
10249
|
+
id: "open_sub_workflow",
|
|
10250
|
+
label: i18n.baseText("contextMenu.openSubworkflow"),
|
|
10251
|
+
shortcut: { shiftKey: true, metaKey: true, keys: ["O"] },
|
|
10252
|
+
disabled: !canOpenSubworkflow.value
|
|
10253
|
+
});
|
|
10254
|
+
}
|
|
10240
10255
|
menuActions.unshift(...singleNodeActions);
|
|
10241
10256
|
}
|
|
10242
10257
|
actions.value = menuActions;
|
|
@@ -17416,7 +17431,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17416
17431
|
};
|
|
17417
17432
|
}
|
|
17418
17433
|
});
|
|
17419
|
-
const canvasEdgeToolbar = "
|
|
17434
|
+
const canvasEdgeToolbar = "_canvasEdgeToolbar_1d3yh_123";
|
|
17420
17435
|
const style0$m = {
|
|
17421
17436
|
canvasEdgeToolbar
|
|
17422
17437
|
};
|
|
@@ -17426,7 +17441,7 @@ const cssModules$m = {
|
|
|
17426
17441
|
const CanvasEdgeToolbar = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["__cssModules", cssModules$m]]);
|
|
17427
17442
|
const _hoisted_1$6 = ["data-source-node-name", "data-target-node-name"];
|
|
17428
17443
|
const _hoisted_2$3 = ["data-source-node-name", "data-target-node-name", "data-edge-status"];
|
|
17429
|
-
const delayedHoveredTimeout =
|
|
17444
|
+
const delayedHoveredTimeout = 600;
|
|
17430
17445
|
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
17431
17446
|
__name: "CanvasEdge",
|
|
17432
17447
|
props: {
|
|
@@ -17819,9 +17834,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17819
17834
|
const workflowsStore = useWorkflowsStore();
|
|
17820
17835
|
const nodeTypesStore = useNodeTypesStore();
|
|
17821
17836
|
const node2 = computed(() => !!name.value && workflowsStore.getNodeByName(name.value));
|
|
17822
|
-
const
|
|
17823
|
-
() => !!node2.value && nodeTypesStore.isNodesAsToolNode(node2.value.type)
|
|
17824
|
-
);
|
|
17837
|
+
const isToolNode = computed(() => !!node2.value && nodeTypesStore.isToolNode(node2.value.type));
|
|
17825
17838
|
const nodeDisabledTitle = computed(() => {
|
|
17826
17839
|
return isDisabled.value ? i18n.baseText("node.enable") : i18n.baseText("node.disable");
|
|
17827
17840
|
});
|
|
@@ -17833,7 +17846,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17833
17846
|
[$style.forceVisible]: isHovered.value || isStickyColorSelectorOpen.value
|
|
17834
17847
|
}));
|
|
17835
17848
|
const isExecuteNodeVisible = computed(() => {
|
|
17836
|
-
return !props.readOnly && render2.value.type === CanvasNodeRenderType.Default && "configuration" in render2.value.options && (!render2.value.options.configuration ||
|
|
17849
|
+
return !props.readOnly && render2.value.type === CanvasNodeRenderType.Default && "configuration" in render2.value.options && (!render2.value.options.configuration || isToolNode.value);
|
|
17837
17850
|
});
|
|
17838
17851
|
const isDisableNodeVisible = computed(() => {
|
|
17839
17852
|
return !props.readOnly && render2.value.type === CanvasNodeRenderType.Default;
|
|
@@ -18319,8 +18332,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18319
18332
|
function openContextMenu(event) {
|
|
18320
18333
|
emit("open:contextmenu", event);
|
|
18321
18334
|
}
|
|
18322
|
-
function onActivate() {
|
|
18323
|
-
emit("activate", id2.value);
|
|
18335
|
+
function onActivate(event) {
|
|
18336
|
+
emit("activate", id2.value, event);
|
|
18324
18337
|
}
|
|
18325
18338
|
return (_ctx, _cache) => {
|
|
18326
18339
|
const _component_CanvasNodeTooltip = __unplugin_components_0$3;
|
|
@@ -20936,8 +20949,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
20936
20949
|
function onDisabledToggle() {
|
|
20937
20950
|
emit("toggle", props.id);
|
|
20938
20951
|
}
|
|
20939
|
-
function onActivate() {
|
|
20940
|
-
emit("activate",
|
|
20952
|
+
function onActivate(id22, event) {
|
|
20953
|
+
emit("activate", id22, event);
|
|
20941
20954
|
}
|
|
20942
20955
|
function onDeactivate() {
|
|
20943
20956
|
emit("deactivate", props.id);
|
|
@@ -21144,7 +21157,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21144
21157
|
keyBindings: { type: Boolean, default: true },
|
|
21145
21158
|
loading: { type: Boolean, default: false }
|
|
21146
21159
|
},
|
|
21147
|
-
emits: ["update:modelValue", "update:node:position", "update:nodes:position", "update:node:activated", "update:node:deactivated", "update:node:enabled", "update:node:selected", "update:node:name", "update:node:parameters", "update:node:inputs", "update:node:outputs", "click:node", "click:node:add", "run:node", "delete:node", "create:node", "create:sticky", "delete:nodes", "update:nodes:enabled", "copy:nodes", "duplicate:nodes", "update:nodes:pin", "cut:nodes", "delete:connection", "create:connection:start", "create:connection", "create:connection:end", "create:connection:cancelled", "click:connection:add", "click:pane", "run:workflow", "save:workflow", "create:workflow", "drag-and-drop", "tidy-up"],
|
|
21160
|
+
emits: ["update:modelValue", "update:node:position", "update:nodes:position", "update:node:activated", "update:node:deactivated", "update:node:enabled", "update:node:selected", "update:node:name", "update:node:parameters", "update:node:inputs", "update:node:outputs", "click:node", "click:node:add", "run:node", "delete:node", "create:node", "create:sticky", "delete:nodes", "update:nodes:enabled", "copy:nodes", "duplicate:nodes", "update:nodes:pin", "cut:nodes", "delete:connection", "create:connection:start", "create:connection", "create:connection:end", "create:connection:cancelled", "click:connection:add", "click:pane", "run:workflow", "save:workflow", "create:workflow", "drag-and-drop", "tidy-up", "open:sub-workflow"],
|
|
21148
21161
|
setup(__props, { emit: __emit }) {
|
|
21149
21162
|
const $style = useCssModule();
|
|
21150
21163
|
const emit = __emit;
|
|
@@ -21260,6 +21273,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21260
21273
|
}
|
|
21261
21274
|
const keyMap = computed(() => {
|
|
21262
21275
|
const readOnlyKeymap = {
|
|
21276
|
+
ctrl_shift_o: emitWithLastSelectedNode((id2) => emit("open:sub-workflow", id2)),
|
|
21263
21277
|
ctrl_c: emitWithSelectedNodes((ids) => emit("copy:nodes", ids)),
|
|
21264
21278
|
enter: emitWithLastSelectedNode((id2) => onSetNodeActivated(id2)),
|
|
21265
21279
|
ctrl_a: () => addSelectedNodes(graphNodes.value),
|
|
@@ -21341,9 +21355,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21341
21355
|
nodesSelectionActive.value = false;
|
|
21342
21356
|
}
|
|
21343
21357
|
}
|
|
21344
|
-
function onSetNodeActivated(id2) {
|
|
21358
|
+
function onSetNodeActivated(id2, event) {
|
|
21345
21359
|
props.eventBus.emit("nodes:action", { ids: [id2], action: "update:node:activated" });
|
|
21346
|
-
emit("update:node:activated", id2);
|
|
21360
|
+
emit("update:node:activated", id2, event);
|
|
21347
21361
|
}
|
|
21348
21362
|
function onSetNodeDeactivated(id2) {
|
|
21349
21363
|
emit("update:node:deactivated", id2);
|
|
@@ -21503,23 +21517,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21503
21517
|
}, {});
|
|
21504
21518
|
});
|
|
21505
21519
|
const contextMenu2 = useContextMenu();
|
|
21506
|
-
function onOpenContextMenu(event) {
|
|
21520
|
+
function onOpenContextMenu(event, target2) {
|
|
21507
21521
|
contextMenu2.open(event, {
|
|
21508
21522
|
source: "canvas",
|
|
21509
|
-
nodeIds: selectedNodeIds.value
|
|
21523
|
+
nodeIds: selectedNodeIds.value,
|
|
21524
|
+
...target2
|
|
21510
21525
|
});
|
|
21511
21526
|
}
|
|
21512
21527
|
function onOpenSelectionContextMenu({ event }) {
|
|
21513
|
-
|
|
21514
|
-
source: "canvas",
|
|
21515
|
-
nodeIds: selectedNodeIds.value
|
|
21516
|
-
});
|
|
21528
|
+
onOpenContextMenu(event);
|
|
21517
21529
|
}
|
|
21518
21530
|
function onOpenNodeContextMenu(id2, event, source) {
|
|
21519
|
-
if (
|
|
21520
|
-
|
|
21531
|
+
if (source === "node-button") {
|
|
21532
|
+
contextMenu2.open(event, { source, nodeId: id2 });
|
|
21533
|
+
} else if (selectedNodeIds.value.length > 1 && selectedNodeIds.value.includes(id2)) {
|
|
21534
|
+
onOpenContextMenu(event, { nodeId: id2 });
|
|
21535
|
+
} else {
|
|
21536
|
+
onSelectNodes({ ids: [id2] });
|
|
21537
|
+
contextMenu2.open(event, { source, nodeId: id2 });
|
|
21521
21538
|
}
|
|
21522
|
-
contextMenu2.open(event, { source, nodeId: id2 });
|
|
21523
21539
|
}
|
|
21524
21540
|
async function onContextMenuAction(action, nodeIds) {
|
|
21525
21541
|
switch (action) {
|
|
@@ -21551,6 +21567,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21551
21567
|
return props.eventBus.emit("nodes:action", { ids: nodeIds, action: "update:sticky:color" });
|
|
21552
21568
|
case "tidy_up":
|
|
21553
21569
|
return await onTidyUp({ source: "context-menu" });
|
|
21570
|
+
case "open_sub_workflow": {
|
|
21571
|
+
return emit("open:sub-workflow", nodeIds[0]);
|
|
21572
|
+
}
|
|
21554
21573
|
}
|
|
21555
21574
|
}
|
|
21556
21575
|
async function onTidyUp(payload) {
|
|
@@ -21775,7 +21794,7 @@ const style0 = {
|
|
|
21775
21794
|
const cssModules = {
|
|
21776
21795
|
"$style": style0
|
|
21777
21796
|
};
|
|
21778
|
-
const Canvas = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-
|
|
21797
|
+
const Canvas = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-d4a7c14c"]]);
|
|
21779
21798
|
function useCanvasMapping({
|
|
21780
21799
|
nodes,
|
|
21781
21800
|
connections,
|
|
@@ -637,12 +637,13 @@ path[data-v-161512f5] {
|
|
|
637
637
|
-------------------------- */
|
|
638
638
|
/* BEM
|
|
639
639
|
-------------------------- */
|
|
640
|
-
.
|
|
640
|
+
._canvasEdgeToolbar_1d3yh_123 {
|
|
641
641
|
display: flex;
|
|
642
642
|
justify-content: center;
|
|
643
643
|
align-items: center;
|
|
644
644
|
gap: var(--spacing-2xs);
|
|
645
645
|
pointer-events: all;
|
|
646
|
+
padding: var(--spacing-l);
|
|
646
647
|
}/* BEM support Func
|
|
647
648
|
-------------------------- */
|
|
648
649
|
/* Transition
|
|
@@ -4496,11 +4497,11 @@ body:not([data-theme]) .canvas-edge-toolbar-button {
|
|
|
4496
4497
|
-------------------------- */
|
|
4497
4498
|
/* BEM
|
|
4498
4499
|
-------------------------- */
|
|
4499
|
-
.minimap-enter-active[data-v-
|
|
4500
|
-
.minimap-leave-active[data-v-
|
|
4500
|
+
.minimap-enter-active[data-v-d4a7c14c],
|
|
4501
|
+
.minimap-leave-active[data-v-d4a7c14c] {
|
|
4501
4502
|
transition: opacity 0.3s ease;
|
|
4502
4503
|
}
|
|
4503
|
-
.minimap-enter-from[data-v-
|
|
4504
|
-
.minimap-leave-to[data-v-
|
|
4504
|
+
.minimap-enter-from[data-v-d4a7c14c],
|
|
4505
|
+
.minimap-leave-to[data-v-d4a7c14c] {
|
|
4505
4506
|
opacity: 0;
|
|
4506
4507
|
}
|